/*
 * ============================================================
 *  PMH – Kontakt stránka
 *  Soubor: kontakt.css
 *
 *  JAK NAHRÁT:
 *  1. Tento soubor nahraj na server do složky /css/
 *  2. Do <head> šablony (header.php nebo ekvivalent) přidej:
 *     <link rel="stylesheet" href="/css/kontakt.css">
 *  3. HTML obsah nech beze změny – styly se propíší přes třídy.
 * ============================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

.page-wrapper {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 80px 48px;
  box-sizing: border-box;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

/* ── LEFT ── */

.info-col {
  padding-top: 0;
}

.info-col h1 {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #1c1c1c;
  margin-bottom: 18px;
}

.info-col .lead {
  font-size: 0.94rem;
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-items {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-items li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
  color: #4a4a4a;
  line-height: 1.5;
}

.contact-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #2478cc;
}

.hours-block h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 6px;
}

.hours-block p {
  font-size: 0.91rem;
  color: #4a4a4a;
  line-height: 1.8;
}

/* ── FORM ── */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field-group {
  display: flex;
  flex-direction: column;
}

.field-group label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #e0dcd7;
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 0.94rem;
  color: #1c1c1c;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaaaaa;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2478cc;
  box-shadow: 0 0 0 3px rgba(36, 120, 204, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.submit-btn {
  width: 100%;
  padding: 17px 24px;
  background-image: linear-gradient(90deg, #006AA5 0%, #006AA5 50%, #A32A27 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 4px;
  font-family: inherit;
  transition: background-position 0.45s ease, transform 0.12s;
}

.submit-btn:hover {
  background-position: 0% 0;
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(0);
}

/* ── POZADÍ ── */

body {
  background-color: #f0ede8;
}

/* ── RESPONZIVITA ── */

@media (max-width: 760px) {
  .page-wrapper {
    padding: 48px 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .info-col .lead {
    margin-bottom: 28px;
  }

  .contact-items {
    margin-bottom: 28px;
  }
}




/*
 * PMH – Stránka Ke stažení
 * Soubor:  page-downloads.css
 * Scope:   pouze .pmh-downloads-* selektory
 * Bez globálních reset pravidel, bez destruktivních selektorů.
 */

/* ─── Typografie ──────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swapdisplay=swap');

/* ─── Proměnné ────────────────────────────────────────────────────────────── */

/* 2026-05-12 — variables declared on BOTH .pmh-downloads-page and
   .pmh-downloads-wrapper. The hardcoded page-downloads.php template
   wraps its markup in .pmh-downloads-page; the live CMS rendering
   (page-single.php echoing pages_cs.content) starts at
   .pmh-downloads-wrapper. Without the wrapper in this declaration
   every var(--pmh-dl-*) on the tile / heading / label rules below
   silently fell back to its initial value and the page lost all
   its colours, borders and the Inter typeface. No new rules added —
   just unblocking the existing ones for the CMS-rendered DOM. */
.pmh-downloads-page,
.pmh-downloads-wrapper {
  --pmh-dl-font:              'Inter', sans-serif;

  /* Barvy */
  --pmh-dl-bg-page:           #ffffff;
  --pmh-dl-bg-tile:           #ffffff;
  --pmh-dl-color-navy:        #0f1e2e;
  --pmh-dl-color-accent:      #1a5fa8;   /* modrá linka pod nadpisem */
  --pmh-dl-color-label:       #6b7280;
  --pmh-dl-color-icon:        #1a5fa8;
  --pmh-dl-color-cta:         #1a5fa8;

  /* Karty */
  --pmh-dl-border:            1px solid #e8eaed;
  --pmh-dl-border-hover:      1px solid #1a5fa8;
  --pmh-dl-radius:            12px;
  --pmh-dl-shadow:            0 2px 12px rgba(0, 0, 0, 0.07);
  --pmh-dl-shadow-hover:      0 8px 28px rgba(26, 95, 168, 0.14);

  /* Přechody */
  --pmh-dl-transition:        220ms ease;
}

/* ─── Stránka ─────────────────────────────────────────────────────────────── */

.pmh-downloads-page,
.pmh-downloads-wrapper {
  display: block;
  width: 100%;
  background-color: var(--pmh-dl-bg-page);
  font-family: var(--pmh-dl-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--pmh-dl-color-navy);
}

/* ─── Wrapper ─────────────────────────────────────────────────────────────── */

.pmh-downloads-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}

/* ─── Header sekce ────────────────────────────────────────────────────────── */

.pmh-downloads-header {
  margin-bottom: 52px;
}

/* ─── Nadpis H1 ───────────────────────────────────────────────────────────── */

.pmh-downloads-heading {
  font-family: var(--pmh-dl-font);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--pmh-dl-color-navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 14px;
  padding: 0;
}

/* ─── Modrá linka pod nadpisem ────────────────────────────────────────────── */

.pmh-downloads-heading-line {
  display: block;
  width: 44px;
  height: 3px;
  background-color: var(--pmh-dl-color-accent);
  border-radius: 2px;
}

/* ─── Grid dlaždic ────────────────────────────────────────────────────────── */

.pmh-downloads-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* ─── Dlaždice – základní stav ────────────────────────────────────────────── */

.pmh-downloads-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: var(--pmh-dl-bg-tile);
  border: var(--pmh-dl-border);
  border-radius: var(--pmh-dl-radius);
  box-shadow: var(--pmh-dl-shadow);
  transition:
    transform        var(--pmh-dl-transition),
    box-shadow       var(--pmh-dl-transition),
    border-color     var(--pmh-dl-transition);
  outline: none;
}

/* ─── Dlaždice – hover ────────────────────────────────────────────────────── */

.pmh-downloads-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--pmh-dl-shadow-hover);
  border: var(--pmh-dl-border-hover);
}

/* ─── Dlaždice – focus (klávesnice) ──────────────────────────────────────── */

.pmh-downloads-tile:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--pmh-dl-shadow-hover);
  outline: 2px solid var(--pmh-dl-color-accent);
  outline-offset: 3px;
}

/* ─── Vnitřní layout dlaždice ─────────────────────────────────────────────── */

.pmh-downloads-tile__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 36px 36px;
  gap: 8px;
}

/* ─── Ikona ───────────────────────────────────────────────────────────────── */

.pmh-downloads-tile__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pmh-dl-color-icon);
  margin-bottom: 12px;
  flex-shrink: 0;
  transition: transform var(--pmh-dl-transition);
}

.pmh-downloads-tile:hover .pmh-downloads-tile__icon {
  transform: scale(1.08);
}

/* ─── Label (nadpis kategorie, malý) ──────────────────────────────────────── */

.pmh-downloads-tile__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pmh-dl-color-label);
}

/* ─── Název dlaždice ──────────────────────────────────────────────────────── */

.pmh-downloads-tile__title {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pmh-dl-color-navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 20px;
}

/* ─── CTA řádek ───────────────────────────────────────────────────────────── */

.pmh-downloads-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pmh-dl-color-cta);
  transition:
    gap var(--pmh-dl-transition),
    opacity var(--pmh-dl-transition);
}

.pmh-downloads-tile:hover .pmh-downloads-tile__cta {
  gap: 10px;
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 680px) {
  .pmh-downloads-wrapper {
    padding: 40px 20px 72px;
  }

  .pmh-downloads-header {
    margin-bottom: 36px;
  }

  .pmh-downloads-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pmh-downloads-tile__inner {
    padding: 32px 28px 28px;
  }

  .pmh-downloads-tile__title {
    font-size: 1.3rem;
  }
}


/* ============================================================
   PMH Letáky — /ke-stazeni/letaky/ (id 1109)

   Mirrors the design from include/css/page-downloads-leaflets.css
   but with the class names actually used in pages_cs.content for
   id=1109:
     .pmh-leaflets-*           → .pmh-letaky-*
     .pmh-leaflets-card__media → .pmh-letaky-card__cover
     .pmh-leaflets-btn--primary  / --secondary
       →                       .pmh-letaky-btn--filled / --outlined
   The legacy .pmh-leaflets-page parent scope is dropped because
   page-single.php (the actual renderer) does NOT wrap the
   DB content in a corresponding .pmh-letaky-page element.
   ============================================================ */

/* ─── Grid — 3 sloupce ────────────────────────────────────────────────────── */
.pmh-letaky-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

/* ─── Card ────────────────────────────────────────────────────────────────── */
.pmh-letaky-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.pmh-letaky-card:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

/* ─── Preview image — A5 portrait ─────────────────────────────────────────── */
.pmh-letaky-card__cover {
  width: 100%;
  background: #f3f4f6;
  overflow: hidden;
  aspect-ratio: 1 / 1.35;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pmh-letaky-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.pmh-letaky-card:hover .pmh-letaky-card__img {
  transform: scale(1.02);
}

/* ─── Card body ───────────────────────────────────────────────────────────── */
.pmh-letaky-card__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}
.pmh-letaky-card__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #111827;
}
.pmh-letaky-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.pmh-letaky-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.pmh-letaky-btn--filled {
  background-image: linear-gradient(90deg, #006AA5 0%, #006AA5 50%, #A32A27 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  color: #ffffff;
  border: 1.5px solid transparent;
  transition: background-position 0.45s ease, transform 0.12s;
}
.pmh-letaky-btn--filled:hover {
  background-position: 0% 0;
  transform: translateY(-1px);
}
.pmh-letaky-btn--outlined {
  background: transparent;
  color: #374151;
  border: 1.5px solid #d1d5db;
}
.pmh-letaky-btn--outlined:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #111827;
}
.pmh-letaky-btn:focus-visible {
  outline: 2px solid #006AA5;
  outline-offset: 3px;
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pmh-letaky-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 560px) {
  .pmh-letaky-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pmh-letaky-card__body {
    padding: 20px 20px 24px;
  }
  .pmh-letaky-btn {
    flex: 1;
    justify-content: center;
  }
}


/* ============================================================
   PMH Katalogy — /ke-stazeni/katalogy/ (id 1110)

   Mirrors include/css/page-downloads-catalogs.css with the class
   names actually used in pages_cs.content for id=1110
   (.pmh-katalogy-* / __cover / --filled / --outlined). Same
   reasoning as the .pmh-letaky-* block above.
   ============================================================ */

/* ─── Grid — 4 sloupce ────────────────────────────────────────────────────── */
.pmh-katalogy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

/* ─── Card ────────────────────────────────────────────────────────────────── */
.pmh-katalogy-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.pmh-katalogy-card:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

/* ─── Preview image — A4 portrait ─────────────────────────────────────────── */
.pmh-katalogy-card__cover {
  width: 100%;
  background: #f3f4f6;
  overflow: hidden;
  aspect-ratio: 1 / 1.41;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pmh-katalogy-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.pmh-katalogy-card:hover .pmh-katalogy-card__img {
  transform: scale(1.02);
}

/* ─── Card body ───────────────────────────────────────────────────────────── */
.pmh-katalogy-card__body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.pmh-katalogy-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #111827;
}
.pmh-katalogy-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.pmh-katalogy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}
.pmh-katalogy-btn--filled {
  background-image: linear-gradient(90deg, #006AA5 0%, #006AA5 50%, #A32A27 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  color: #ffffff;
  border: 1.5px solid transparent;
  transition: background-position 0.45s ease, transform 0.12s;
}
.pmh-katalogy-btn--filled:hover {
  background-position: 0% 0;
  transform: translateY(-1px);
}
.pmh-katalogy-btn--outlined {
  background: transparent;
  color: #374151;
  border: 1.5px solid #d1d5db;
}
.pmh-katalogy-btn--outlined:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #111827;
}
.pmh-katalogy-btn:focus-visible {
  outline: 2px solid #006AA5;
  outline-offset: 3px;
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .pmh-katalogy-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 560px) {
  .pmh-katalogy-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pmh-katalogy-card__body {
    padding: 16px 16px 20px;
  }
  .pmh-katalogy-btn {
    flex: 1;
    justify-content: center;
  }
}

/* ============================================================
   Bílé pozadí pro vybrané podstránky (1105–1108)
   ============================================================ */
body.pmh-page-white {
  background: #fff;
}
body.pmh-page-white .pmh-content {
  background: #fff;
}
body.pmh-page-white .pmh-footer {
  margin-top: 0;
}
