/* ==========================================================================
   Sušická veřejnost — doplňkové styly pro kampaň 2026 (custom.css)
   Přidáno 2026-07-03. Paleta tématu: zelená #00aa55, modrá #00324d/#093765,
   akcent #32ba9f. Tento soubor je načítán až za style.css, takže lze bezpečně
   dolaďovat bez zásahu do původních stylů.
   ========================================================================== */

/* ---------- CTA tlačítka ---------- */
.cta-btn {
    display: inline-block;
    padding: 15px 34px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s ease;
    border: 2px solid transparent;
}
.cta-btn.cta-primary {
    background: #00aa55;
    color: #fff !important;
    box-shadow: 0 8px 20px -6px rgba(0, 170, 85, .55);
}
.cta-btn.cta-primary:hover {
    background: #008a45;
    transform: translateY(-2px);
}
.cta-btn.cta-secondary {
    background: transparent;
    color: #00324d !important;
    border-color: #00324d;
}
.cta-btn.cta-secondary:hover {
    background: #00324d;
    color: #fff !important;
    transform: translateY(-2px);
}
.cta-center {
    text-align: center;
    margin-top: 25px;
}

/* ---------- Homepage: hero text ---------- */
.dsaw .hero-brand {
    display: block;
    font-variant: all-small-caps;
    letter-spacing: 1px;
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}
.dsaw .hero-brand-sub {
    display: block;
    font-size: 18px;
    color: #e7f4eb;
    margin-bottom: 22px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}
.dsaw .hero-claim {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, .6);
}
.dsaw .hero-lead {
    color: #fff;
    font-size: 19px;
    line-height: 1.5;
    max-width: 760px;
    margin: 0 auto 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
@media (max-width: 767px) {
    .dsaw .hero-claim { font-size: 30px; }
    .dsaw .hero-brand { font-size: 26px; }
    .dsaw .hero-lead { font-size: 16px; }
}

/* ---------- Homepage: dvě CTA "krabice" místo služeb ---------- */
.services-area.services-area-style-two .single-services-box.cta-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 26px 24px;
    cursor: pointer;
    text-decoration: none;
}
.services-area.services-area-style-two .single-services-box.cta-box h3 {
    color: #fff;
    font-size: 20px !important;
    font-weight: 700;
    margin: 0 !important;
}
.services-area.services-area-style-two .single-services-box.cta-box-primary {
    background-image: linear-gradient(to right, #00aa55, #32ba9f);
}
.services-area.services-area-style-two .single-services-box.cta-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px -6px rgba(0, 0, 0, .4);
}

/* ---------- Obecné textové sekce (petice, program, kandidáti) ---------- */
.petice-text p { font-size: 17px; line-height: 1.7; margin-bottom: 15px; }
.petice-text .lead { font-size: 20px; }
.petice-text .bold, .petice-text span.bold { font-weight: 700; }
.program-perex-title { font-size: 24px; font-weight: 700; margin-bottom: 16px; color: #00324d; }

/* ---------- Petice: místa k podpisu ---------- */
.petice-misto {
    background: #fff;
    border: 1px solid #e7f4eb;
    border-radius: 8px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 10px 30px 0 rgba(50, 50, 50, .10);
    transition: all .3s ease;
}
.petice-misto:hover { transform: translateY(-3px); box-shadow: 0 14px 34px 0 rgba(50, 50, 50, .16); }
.petice-misto .petice-pin { font-size: 34px; line-height: 1; margin-bottom: 12px; }
.petice-misto h4 { color: #00324d; font-size: 19px; margin-bottom: 6px; }
.petice-misto p { color: #6b6b6b; margin: 0; }
.petice-diky {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #00aa55;
    margin-top: 40px;
}

/* ---------- Nejčastější otázky (FAQ) ---------- */
.faq-list { margin-top: 10px; }
.faq-item {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    margin-bottom: 14px;
    padding: 0 22px;
    box-shadow: 0 6px 18px 0 rgba(50, 50, 50, .06);
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 30px 18px 0;
    font-weight: 700;
    font-size: 17px;
    color: #00324d;
    position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 16px;
    font-size: 24px;
    color: #00aa55;
    transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding: 0 0 20px; margin: 0; color: #6b6b6b; line-height: 1.65; }

/* ---------- Program: pět oblastí ---------- */
.oblast-box {
    background: #fff;
    border: 1px solid #e7f4eb;
    border-radius: 8px;
    padding: 30px 26px 26px;
    box-shadow: 0 10px 30px 0 rgba(50, 50, 50, .10);
    transition: all .3s ease;
}
.oblast-box:hover { transform: translateY(-3px); box-shadow: 0 14px 34px 0 rgba(50, 50, 50, .16); }
.oblast-box .oblast-cislo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #00aa55;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.oblast-box h4 { color: #00324d; font-size: 19px; margin-bottom: 10px; }
.oblast-box p { color: #6b6b6b; margin: 0; line-height: 1.6; }

/* ---------- Kandidáti: tabulka ---------- */
.kandidati-tabulka { margin-top: 30px; overflow-x: auto; }
.kandidati-tabulka table { width: 100%; border-collapse: collapse; background: #fff; }
.kandidati-tabulka th, .kandidati-tabulka td {
    text-align: left;
    padding: 14px 18px;
    border-bottom: 1px solid #eeeeee;
}
.kandidati-tabulka thead th {
    background: #00324d;
    color: #fff;
    font-weight: 700;
}
.kandidati-tabulka .kandidati-pripravujeme {
    text-align: center;
    color: #6b6b6b;
    font-style: italic;
    padding: 26px 18px;
}

/* ---------- Facebook feed pás ---------- */
.fb-feed-strip {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.fb-feed-strip iframe {
    width: 500px;
    max-width: 100%;
}
.fb-feed-cta { text-align: center; margin-top: 26px; }

/* ---------- Sjednocení výšky karet ---------- */
.single-event-box.h-100 { display: flex; flex-direction: column; height: 100%; }
.single-event-box.h-100 .event-content { flex: 1 1 auto; }

/* ---------- Archivní stránky ---------- */
.archiv-banner{max-width:1140px;margin:0 auto 8px;padding:10px 15px;background:#e7f4eb;border-left:4px solid #00aa55;border-radius:4px;color:#00324d;font-size:15px;}
.archiv-banner a{color:#008a45;font-weight:700;text-decoration:none;}
.archiv-banner a:hover{text-decoration:underline;}
.archiv-rok{color:#6b6b6b;font-weight:400;font-size:.7em;}

/* ---------- Facebook feed – vlastní karty (Graph API) ---------- */
.fb-posts{margin-top:10px}
.fb-post-card{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid #e7f4eb;border-radius:8px;overflow:hidden;box-shadow:0 10px 30px 0 rgba(50,50,50,.10);text-decoration:none;transition:all .3s ease}
.fb-post-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px 0 rgba(50,50,50,.16)}
.fb-post-img{height:200px;background-size:cover;background-position:center;background-color:#e7f4eb}
.fb-post-body{padding:18px 20px;display:flex;flex-direction:column;flex:1 1 auto}
.fb-post-date{color:#00aa55;font-weight:700;font-size:13px;margin-bottom:8px}
.fb-post-text{color:#3a3650;font-size:15px;line-height:1.55;flex:1 1 auto;white-space:pre-line;margin:0}
.fb-post-more{color:#00324d;font-weight:700;font-size:14px;margin-top:12px}

/* ================= HERO-RESP-v1 : jednotná proporční výška hero + větší náhledy ================= */
/* Hero: obsah řídí výšku (min-height), vertikálně vycentrováno, text se vždy vejde a nepřeteče. */
.hero-slider-item{
    height:auto !important;
    min-height:60vh;
    display:flex;
    align-items:center;
    padding:80px 0;
}
.hero-slider-item .d-table,
.hero-slider-item .d-table-cell{
    display:block !important;
    height:auto !important;
    width:100%;
}
.hero-slider-item .dsaw{ padding-left:18px; padding-right:18px; }

/* Velké obrazovky – nižší hero dle přání */
@media only screen and (min-width:1500px){
    .hero-slider-item{ min-height:40vh; }
}
/* Tablet – konzistentní výška, dost místa nahoře kvůli hlavičce */
@media only screen and (max-width:991px){
    .hero-slider-item{ min-height:55vh; padding:120px 0 70px; }
}
/* Mobil – ať se text pohodlně vejde a není u okraje */
@media only screen and (max-width:575px){
    .hero-slider-item{ min-height:60vh; padding:110px 0 60px; }
    .dsaw .hero-claim{ font-size:26px; }
    .dsaw .hero-lead{ font-size:15px; }
}

/* Větší náhledy příspěvků, ať jsou dobře vidět */
.fb-post-img{ height:300px; }
@media only screen and (max-width:991px){ .fb-post-img{ height:320px; } }

/* HERO-TWEAK-v1 */
.hero-slider-item .dsaw{ margin-top:-45px; }
.cc.swqs{ padding-top:21px; }

/* ================= HERO-TWEAK-v2 : mobil, centrování, jemnější zelená, barva data ================= */

/* Mobil: posun hero obsahu výš */
@media only screen and (max-width:575px){
    .hero-slider-item .dsaw{ margin-top:-68px; }
}

/* Vycentrovat texty obou CTA krabic na homepage (i při zalomení na více řádků) */
.services-area.services-area-style-two .single-services-box.cta-box h3{
    text-align:center;
}

/* Jemnější, méně křiklavá zelená (hlubší smaragdová + tlumený přechod, bez zeleného "glow") */
.cta-btn.cta-primary{
    background:#12855a;
    box-shadow:0 8px 20px -8px rgba(0,0,0,.28);
}
.cta-btn.cta-primary:hover{
    background:#0d6a48;
}
.services-area.services-area-style-two .single-services-box.cta-box-primary{
    background-image:linear-gradient(135deg,#12855a,#2a9d8f);
}
.oblast-box .oblast-cislo{ background:#12855a; }

/* Datum u novinek stejnou barvou jako odkaz „Zobrazit na Facebooku" */
.fb-post-date{ color:#00324d; }

/* ================= FB-CARD-v2 : nadpis příspěvku + zrušení mezer z odřádkování ================= */
.fb-post-title{ color:#00324d; font-size:19px; font-weight:700; line-height:1.3; margin:0 0 8px; }
.fb-post-text{ white-space:normal; margin:0; color:#3a3650; font-size:15px; line-height:1.55; }
.fb-post-more{ margin-top:auto; padding-top:14px; }

/* ================= KAND-v2 : vzdušnější stránka Naši kandidáti ================= */
.center-text{ text-align:center; }

/* Tabulka kandidátů – zaoblená, jemný stín, hezčí prázdný stav */
.kandidati-tabulka{
    margin-top:40px;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 12px 30px 0 rgba(50,50,50,.08);
    border:1px solid #eef1f0;
}
.kandidati-tabulka thead th{ padding:16px 22px; }
.kandidati-tabulka tbody tr:last-child td{ border-bottom:none; }
.kandidati-tabulka .kandidati-pripravujeme{
    padding:48px 22px;
    background:#f6faf8;
    font-style:normal;
    color:#5b6b64;
    font-size:16px;
}
.pripravujeme-ikona{ display:block; font-size:34px; margin-bottom:12px; line-height:1; }

/* ================= FB-PAGER : stránkování novinek ================= */
.fb-pager{ display:flex; justify-content:center; flex-wrap:wrap; gap:8px; margin-top:35px; }
.fb-pager-link{
    min-width:44px; height:44px; padding:0 12px;
    display:inline-flex; align-items:center; justify-content:center;
    border-radius:8px; background:#fff; border:1px solid #dfe6e2;
    color:#00324d; font-weight:700; text-decoration:none;
    transition:all .2s ease;
}
.fb-pager-link:hover{ background:#eef6f1; border-color:#12855a; }
.fb-pager-link.is-active{ background:#12855a; border-color:#12855a; color:#fff; }
.fb-pager-nav{ font-size:20px; line-height:1; }

/* ================= CO-POVEDLO-v2 : výraznější karty + vzduch ================= */
.mt-50{ margin-top:50px; }

.single-event-box.h-100{
    border:1px solid #eef1f0;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 12px 30px 0 rgba(50,50,50,.10);
}
.single-event-box.h-100 img{
    width:100%;
    height:210px;
    object-fit:cover;
    display:block;
}
.single-event-box.h-100 .event-content{ padding:24px 26px 28px; }
.single-event-box.h-100 .event-content h3{
    color:#00324d;
    font-size:20px;
    line-height:1.3;
    margin:0 0 12px;
}
.single-event-box.h-100 .event-content p{
    color:#5b6b64;
    line-height:1.65;
    margin:0;
}
.cta-center{ margin-top:35px; }

/* ================= CO-POVEDLO-v3 : flex mřížka s gap, výška = nejdelší text v řádku ================= */
.co-cards-row{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:stretch;
    gap:30px;
    margin-top:50px;
}
.co-card{
    flex:1 1 320px;
    max-width:360px;
    display:flex;
}
.co-card .single-event-box.h-100{
    width:100%;
    margin-bottom:0;        /* zruší inflaci výšky, karta = nejvyšší obsah v řádku */
}

/* ================= CO-POVEDLO-v4 : přesně 3 karty na řádek (2/1 responsivně) ================= */
.co-card{
    flex:0 0 calc(33.333% - 20px);
    max-width:calc(33.333% - 20px);
    display:flex;
}
@media (max-width:991px){
    .co-card{ flex-basis:calc(50% - 15px); max-width:calc(50% - 15px); }
}
@media (max-width:575px){
    .co-card{ flex-basis:100%; max-width:100%; }
}
.co-card .single-event-box.h-100{ width:100%; margin-bottom:0; }

/* ================= CO-POVEDLO-v5 : přirozená výška karet (zruší mezeru pod textem) ================= */
.co-cards-row{ align-items:flex-start; }
.co-card .single-event-box.h-100{ height:auto; }
.co-card .single-event-box.h-100 .event-content{ flex:0 0 auto; }

/* ================= CO-POVEDLO-v6 : odebrání margin-bottom z event-content + zpět stejná výška ================= */
.co-cards-row{ align-items:stretch; }
.co-card .single-event-box.h-100{ height:100%; }
.co-card .single-event-box.h-100 .event-content{ margin-bottom:0; flex:1 1 auto; }

/* PROGRAM-PODNADPIS */
.program-perex-title{ text-align:center; }

/* PROGRAM-INTRO-CENTER */
#nasprogram .petice-text{ text-align:center; }

/* ================= HERO-BUTTONS : dvě CTA tlačítka v hero nad posuvníkem ================= */
.hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    justify-content:center;
    margin:30px 0 6px;
}
.hero-buttons .cta-btn{ font-size:16px; }
.hero-btn-outline{
    background:rgba(255,255,255,.12);
    color:#fff !important;
    border:2px solid #fff;
}
.hero-btn-outline:hover{
    background:#fff;
    color:#00324d !important;
    transform:translateY(-2px);
}
@media (max-width:575px){
    .hero-buttons{ gap:12px; }
    .hero-buttons .cta-btn{ width:100%; font-size:15px; padding:13px 20px; }
}

/* HERO-BUTTONS-STACK : tlačítka pod sebe, stejná šířka */
.hero-buttons{
    flex-direction:column;
    align-items:stretch;
    width:max-content;
    max-width:100%;
    margin-left:auto;
    margin-right:auto;
    gap:14px;
}

/* HERO-DARKEN-DSAW : tmavší hero, odsazení spodního tlačítka, desktop dsaw margin */
.hero-slider-item{ box-shadow: inset 0 0 0 100vmax rgba(0,18,35,.45); }
.hero-buttons .hero-btn-outline{ margin-bottom:30px; }
@media (min-width:576px){
    .hero-slider-item .dsaw{ margin-top:-15px; }
}

/* BR-MOBIL : zalomení textu tlačítka jen na mobilu */
.br-mobil{ display:none; }
@media (max-width:575px){ .br-mobil{ display:inline; } }

/* HERO-BRAND-TIGHT : stáhnout mezeru mezi názvem a podtitulem v hero */
.dsaw .hero-brand{ line-height:1.12; }
.dsaw .hero-brand-sub{ line-height:1.2; margin-top:-4px; }
