/* =========================================================
 * AKCIE (PROMOTIONS) — styles for archive-akcia.php + single-akcia.php
 * Положить в: /wp-content/themes/<child-theme>/assets/css/akcie.css
 * Палитра взята из уже используемых на сайте цветов (#10532d / #e9bb96 / #d4a07a)
 * ========================================================= */

/* Убираем стандартный "Archív" title-bar темы Leonie (qodef-page-title)
   на архиве и на одиночной странице Akcia — тот же приём, что уже
   применяется в functions.php для single-portfolio-item-sluzba.php */
body.post-type-archive-akcia #qodef-page-outer > .qodef-page-title,
body.single-akcia #qodef-page-outer > .qodef-page-title {
    display: none !important;
}

.dr-akcie {
    --dr-green: #10532d;
    --dr-green-dark: #0c3d22;
    --dr-tan: #e9bb96;
    --dr-tan-dark: #d4a07a;
    --dr-cream: #faf6f0;
    --dr-cream-2: #f5efe6;
    --dr-text: #1a1a1a;
    --dr-text-muted: #5a655e;
    --dr-border: #e6ded0;
    font-family: 'Proxima Nova', 'Helvetica Neue', Arial, sans-serif;
    color: var(--dr-text);
}

.dr-akcie a { text-decoration: none; }
.dr-akcie h1, .dr-akcie h2, .dr-akcie h3 { color: var(--dr-green); margin: 0; }

/* ---------- shared: eyebrow / buttons ---------- */
.dr-akcie__eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dr-tan-dark);
    margin-bottom: 14px;
}
.dr-akcie__eyebrow--light { color: var(--dr-tan); }

.dr-akcie__eyebrow-pill {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 22px;
}

.dr-akcie__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 26px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: opacity .25s ease, background-color .25s ease;
}
.dr-akcie__btn--filled { background: var(--dr-tan); color: var(--dr-green); }
.dr-akcie__btn--filled:hover { opacity: .88; }
.dr-akcie__btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.dr-akcie__btn--outline:hover { background: rgba(255,255,255,.08); }
.dr-akcie__btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.dr-akcie__btn--outline-light:hover { background: rgba(255,255,255,.08); }

/* ---------- hero ---------- */
.dr-akcie__hero { background: var(--dr-green); }
.dr-akcie__hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 560px;
}
.dr-akcie__hero-left { padding: 90px 60px; align-self: center; }
.dr-akcie__hero-left h1 { font-size: 54px; line-height: 1.15; font-weight: 600; color: #fff; margin-bottom: 20px; }
.dr-akcie__hero-sub { font-size: 19px; color: var(--dr-tan); font-weight: 500; margin: 0 0 18px; }
.dr-akcie__hero-text { font-size: 15.5px; line-height: 1.7; color: rgba(255,255,255,.82); max-width: 480px; margin: 0 0 28px; }

.dr-akcie__badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.dr-akcie__badges span {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 30px;
    font-size: 12.5px; font-weight: 600; color: #fff;
    background: rgba(255,255,255,.04);
}

.dr-akcie__hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.dr-akcie__hero-right { background-size: cover; background-position: center; min-height: 320px; }
.dr-akcie__hero-right img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- breadcrumb ---------- */
.dr-akcie__breadcrumb { background: var(--dr-cream); border-bottom: 1px solid var(--dr-border); }
.dr-akcie__breadcrumb-inner { max-width: 1200px; margin: 0 auto; padding: 20px 40px; font-size: 13px; color: var(--dr-text-muted); }
.dr-akcie__breadcrumb-inner a { color: var(--dr-tan-dark); }
.dr-akcie__breadcrumb-inner span { color: var(--dr-green); font-weight: 600; }

/* ---------- cards list ---------- */
.dr-akcie__list { background: var(--dr-cream); padding: 70px 40px 90px; }
.dr-akcie__list-inner { max-width: 1200px; margin: 0 auto; }
.dr-akcie__section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.dr-akcie__section-head p { font-size: 15.5px; line-height: 1.7; color: var(--dr-text-muted); margin: 0; }

.dr-akcie__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 900px) { .dr-akcie__grid { grid-template-columns: 1fr; } }

.dr-akcie__card {
    display: block;
    background: #fff;
    border: 1px solid var(--dr-border);
    overflow: hidden;
    transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
}
.dr-akcie__card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(16,83,45,.12); }
.dr-akcie__card-image { aspect-ratio: 1 / 1; background: var(--dr-cream-2); overflow: hidden; }
.dr-akcie__card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dr-akcie__card-noimg { width: 100%; height: 100%; background: var(--dr-cream-2); }
.dr-akcie__card-body { padding: 26px 24px 28px; }
.dr-akcie__card-eyebrow {
    display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--dr-tan-dark); margin-bottom: 10px;
}
.dr-akcie__card-body h3 { font-size: 25px; font-weight: 600; margin-bottom: 16px; }
.dr-akcie__card-link { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dr-green); }

/* ---------- odborný prístup ---------- */
.dr-akcie__expert { padding: 90px 40px; background: #fff; }
.dr-akcie__expert-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.dr-akcie__expert-left h2 { font-size: 34px; font-weight: 600; margin-bottom: 20px; }
.dr-akcie__expert-left p { font-size: 15.5px; line-height: 1.75; color: var(--dr-text-muted); }
.dr-akcie__expert-right ul { list-style: none; margin: 0; padding: 0; }
.dr-akcie__expert-right li {
    display: flex; align-items: center; gap: 12px;
    padding: 18px 20px;
    background: var(--dr-cream);
    border-left: 3px solid var(--dr-tan);
    font-size: 14.5px; font-weight: 600; color: var(--dr-green);
    margin-bottom: 10px;
}
@media (max-width: 900px) { .dr-akcie__expert-inner { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.dr-akcie__cta { background: var(--dr-green); padding: 80px 40px; text-align: center; }
.dr-akcie__cta-inner { max-width: 720px; margin: 0 auto; }
.dr-akcie__cta h2 { font-size: 34px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.dr-akcie__cta p { font-size: 15.5px; line-height: 1.7; color: rgba(255,255,255,.8); margin-bottom: 30px; }
.dr-akcie__cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.dr-akcie__cta-info {
    display: flex; gap: 30px; justify-content: center; flex-wrap: wrap;
    padding-top: 26px; border-top: 1px solid rgba(255,255,255,.15);
    font-size: 14px; color: rgba(255,255,255,.85);
}

/* ---------- FAQ ---------- */
.dr-akcie__faq { background: var(--dr-cream); padding: 90px 40px; }
.dr-akcie__faq-inner { max-width: 820px; margin: 0 auto; }
.dr-akcie__faq-inner > .dr-akcie__eyebrow { text-align: center; }
.dr-akcie__faq-inner > h2 { font-size: 34px; font-weight: 600; text-align: center; margin-bottom: 40px; }

.dr-akcie__faq-item { border-bottom: 1px solid var(--dr-border); }
.dr-akcie__faq-q { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; }
.dr-akcie__faq-q h3 { font-size: 17px; font-weight: 600; }
.dr-akcie__faq-toggle {
    flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
    background: var(--dr-tan); color: var(--dr-green);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 600; transition: transform .25s ease;
}
.dr-akcie__faq-item.is-open .dr-akcie__faq-toggle { transform: rotate(45deg); }
.dr-akcie__faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.dr-akcie__faq-a p { font-size: 15px; line-height: 1.7; color: var(--dr-text-muted); padding-bottom: 24px; margin: 0; }

/* ---------- bottom text ---------- */
.dr-akcie__bottom-text { background: #fff; padding: 70px 40px; }
.dr-akcie__bottom-text-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; }
.dr-akcie__bottom-text-inner h2 { font-size: 26px; font-weight: 600; }
.dr-akcie__bottom-text-inner p { font-size: 14.5px; line-height: 1.75; color: var(--dr-text-muted); margin: 0; }
@media (max-width: 900px) { .dr-akcie__bottom-text-inner { grid-template-columns: 1fr; } }

/* ---------- single akcia ---------- */
.dr-akcie--single .dr-akcie__hero-left { padding: 70px 60px; }
.dr-akcie__single-content { padding: 70px 40px; background: #fff; }
.dr-akcie__single-content-inner { max-width: 780px; margin: 0 auto; font-size: 16px; line-height: 1.8; color: var(--dr-text); }
.dr-akcie__single-content-inner h2 { font-size: 26px; margin: 34px 0 14px; }
.dr-akcie__single-content-inner p { margin: 0 0 18px; }

/* ---------- responsive hero ---------- */
@media (max-width: 900px) {
    .dr-akcie__hero-inner { grid-template-columns: 1fr; }
    .dr-akcie__hero-left { padding: 60px 24px; }
    .dr-akcie__hero-left h1 { font-size: 36px; }
    .dr-akcie__hero-right { min-height: 260px; }
    .dr-akcie__list, .dr-akcie__expert, .dr-akcie__cta, .dr-akcie__faq, .dr-akcie__bottom-text { padding-left: 20px; padding-right: 20px; }
}

div#qodef-page-inner {
    display: none;
}
section.dr-akcie__hero {
    padding-top: 130px;
}