/* ==========================================================================
   Contact (/contact/). Layout only; buttons, labels, frames and targets come from
   components.css. The email slip in the head, the topic cards on the lightbox
   (the one dark band) and the postal address label.
   ========================================================================== */

/* ---- head: the address as a link in the lead and as plain text on the slip ------- */
.ct-head .page-head__lead a { color: var(--ink); font-weight: var(--fw-semi); text-decoration-color: var(--cobalt-line); text-underline-offset: .2em; }
.ct-head .page-head__lead a:hover { color: var(--cobalt); }
.ct-slip {
  --cm-o: 8px; --cm-l: 12px;
  display: grid; gap: var(--sp-4); justify-items: start;
  padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-3);
  background: var(--sheet); box-shadow: var(--sh-2);
}
@media (min-width: 981px) { .ct-head.page-head--split > .ct-slip { align-self: end; } }
@media (max-width: 980px) { .ct-slip { max-width: 520px; } }
.ct-slip__addr {
  font-family: var(--ff-mono); font-size: clamp(1.125rem, .95rem + .8vw, 1.625rem); font-weight: var(--fw-medium);
  letter-spacing: -.01em; line-height: 1.2; color: var(--ink);
  overflow-wrap: anywhere; user-select: all; -webkit-user-select: all;
}
.ct-slip__btn .icon { width: 18px; height: 18px; }

/* ---- 02 topics: five cards on the lightbox ------------------------------------------- */
.ct-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-5); }
.ct-card {
  grid-column: span 2; position: relative; display: flex; flex-direction: column; gap: var(--sp-3); min-width: 0;
  padding: 22px 22px 18px; border-radius: var(--r-3); background: var(--sheet); box-shadow: var(--sh-1);
}
.ct-card--wide { grid-column: span 3; }
.ct-card::before { content: ""; position: absolute; left: 22px; top: 0; width: 40px; height: 3px; border-radius: 0 0 2px 2px; background: var(--cobalt); }
.ct-card__n { font-family: var(--ff-mono); font-size: 11px; font-weight: var(--fw-medium); letter-spacing: .1em; color: var(--ink-3); }
.ct-card__t { font-size: var(--fs-h4); font-weight: var(--fw-semi); line-height: 1.25; letter-spacing: var(--tr-tight); color: var(--ink); }
.ct-card__d { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); max-width: 48ch; }
.ct-card__acts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: auto; padding-top: var(--sp-3); border-top: 1px solid var(--line); }
.ct-act {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px;
  font-size: 14.5px; font-weight: var(--fw-semi); color: var(--cobalt); text-decoration: none;
}
.ct-act:hover { color: var(--cobalt-2); text-decoration: underline; text-underline-offset: .2em; }
.ct-act .icon { transition: transform var(--dur-2) var(--ease-out); }
.ct-act:not(.ct-act--mail):hover .icon { transform: translateX(3px); }
/* an email subject line, set like a form field so it can be read and copied */
.ct-act--subject {
  padding: 0 12px 0 10px; border-radius: var(--r-2); box-shadow: inset 0 0 0 1px var(--line-2);
  font-family: var(--ff-mono); font-size: 13px; font-weight: var(--fw-medium); letter-spacing: .02em; color: var(--ink);
}
.ct-act--subject:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--cobalt); text-decoration: none; }
.ct-act--subject .icon { color: var(--cobalt); }
.ct-act__k { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.ct-lang {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px;
  margin-top: var(--sp-7); padding-top: var(--sp-4); border-top: 1px solid var(--line-2);
  font-size: 16px; color: var(--ink);
}
@media (max-width: 1100px) {
  .ct-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-card, .ct-card--wide { grid-column: auto; }
  .ct-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ct-cards { grid-template-columns: minmax(0, 1fr); }
}

/* ---- 03 postal address: a label with a registration mark ------------------------------- */
/* the section head grid carries the label in its right column: title left, label right, both under the tab rule */
.sec-head.ct-post__in { margin-bottom: 0; align-items: start; }
.ct-post__copy { min-width: 0; }
.ct-post__copy > .sec-head__title { padding-top: 6px; }
/* the register record next to the address: the IČO can be checked */
.ct-post__check { margin-top: var(--sp-5); }
.ct-post__check .btn--text { font-size: 16px; }
@media (min-width: 981px) { .ct-post__in > .ct-label { margin-top: var(--sp-3); } }
.ct-label {
  --cm-o: 8px; --cm-l: 12px;
  position: relative; padding: clamp(22px, 2.6vw, 30px) clamp(22px, 2.6vw, 30px) clamp(18px, 2vw, 24px);
  border-radius: var(--r-2); background: var(--sheet); box-shadow: var(--sh-2);
}
.ct-label__mark { position: absolute; right: 16px; top: 16px; color: var(--ink-4); }
.ct-label__addr { font-style: normal; display: grid; gap: 2px; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.4; color: var(--ink); }
.ct-label__addr span:first-child { font-weight: var(--fw-semi); }
.ct-label__id {
  margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1px dashed var(--line-2);
  font-family: var(--ff-mono); font-size: 13px; letter-spacing: .06em; color: var(--ink-2);
}
@media (max-width: 980px) {
  .ct-label { max-width: 480px; margin-top: var(--sp-2); }
}

/* v3: no numbered cards with a coloured tab. Who writes to us, as ruled rows. */
.ct-cards { display: block; border-top: 1px solid var(--ink); }
.ct-card, .ct-card--wide { display: grid; gap: 6px var(--col-gap); padding: 20px 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; box-shadow: none; }
.ct-card::before { display: none; }
.ct-card__n { display: none; }
.ct-card__t { font-family: var(--ff-serif); font-size: 1.375rem; font-weight: 500; letter-spacing: -.008em; }
.ct-card__acts { margin-top: 0; padding-top: 0; border-top: 0; align-items: center; }
@media (min-width: 861px) { .ct-card, .ct-card--wide { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); align-items: baseline; } }
.ct-slip__addr { font-family: var(--ff-serif); letter-spacing: 0; }
.ct-act--subject { font-family: var(--ff-sans); letter-spacing: 0; }
.ct-label__id { font-family: var(--ff-sans); letter-spacing: 0; }
