@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--ink:#101b1a;--lime:#d4ff44;--cream:#f2f0e9;--muted:#666e68}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans',Arial,sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}.container{width:min(1200px,calc(100% - 64px));margin:auto}.skip{position:absolute;left:-9999px;top:0;background:white;padding:12px;z-index:50}.skip:focus{left:10px}.header{height:88px;position:absolute;top:0;left:0;right:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:0 4.3%;color:white;border-bottom:1px solid #ffffff40}.brand{display:flex;align-items:center;gap:10px}.brand-mark{font:900 43px 'Roboto Condensed',sans-serif;letter-spacing:-5px}.brand-mark span{font-size:20px;color:var(--lime);vertical-align:top;letter-spacing:0}.brand-name{font:800 24px 'Roboto Condensed',sans-serif;letter-spacing:2px;line-height:.82}.brand-name small{display:block;font:600 10px 'DM Sans',sans-serif;letter-spacing:4.3px;margin-top:8px}.nav{display:flex;gap:30px;align-items:center;font-size:13px;font-weight:700}.nav>a:not(.nav-cta):hover{color:var(--lime)}.nav-cta{background:var(--lime);color:var(--ink);padding:14px 18px}.menu-toggle{display:none;border:0;background:none;color:white;font-size:28px}.hero{height:min(900px,100svh);min-height:670px;background:#294f52;position:relative;overflow:hidden;color:white}.hero-video,.hero-overlay,.hero-grain{position:absolute;inset:0;width:100%;height:100%}.hero-video{object-fit:cover;background:#24494b url('assets/hero-poster.svg') center/cover no-repeat}.hero-overlay{background:linear-gradient(90deg,rgba(5,20,22,.77),rgba(5,20,22,.12) 78%),linear-gradient(0deg,#071c2077,transparent 32%)}.hero-grain{opacity:.18;background-image:radial-gradient(#fff 0.6px,transparent 0.7px);background-size:5px 5px;pointer-events:none}.hero-content{position:relative;z-index:2;padding-top:205px}.eyebrow{font-size:12px;letter-spacing:2.8px;font-weight:800;margin:0 0 28px}.eyebrow.light{color:#f5f8ec}.pulse{display:inline-block;width:8px;height:8px;background:var(--lime);border-radius:50%;margin-right:8px}.hero h1,h2,h3,.status-title{font-family:'Roboto Condensed',Impact,sans-serif;text-transform:uppercase}.hero h1{font-size:clamp(86px,11vw,174px);line-height:.78;letter-spacing:-2px;margin:0;font-weight:900}.hero h1 em,.event-banner h2 em{font-style:normal;color:var(--lime)}.period{color:var(--lime)}.hero-sub{max-width:440px;font-size:17px;line-height:1.65;margin:34px 0}.hero-actions,.social-actions{display:flex;flex-wrap:wrap;gap:12px}.btn{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;padding:17px 24px;font-weight:800;font-size:13px;transition:transform .2s}.btn:hover{transform:translateY(-3px)}.btn-lime{background:var(--lime);color:var(--ink)}.btn-outline{border:1px solid #ffffffaa;color:white}.btn-dark{background:var(--ink);color:white}.btn-ghost{border:1px solid var(--ink)}.hero-bottom{position:absolute;z-index:2;bottom:28px;left:4.3%;right:4.3%;display:flex;justify-content:space-between;font-size:10px;letter-spacing:2px;font-weight:700}.ticker{background:var(--lime);overflow:hidden;padding:13px 0;font:900 24px 'Roboto Condensed',sans-serif;letter-spacing:3px;white-space:nowrap}.ticker div{width:max-content;animation:move 22s linear infinite}@keyframes move{to{transform:translateX(-40%)}}.section{padding:125px 0}.about{display:grid;grid-template-columns:1.2fr .8fr;gap:80px;align-items:start}.section h2{font-size:clamp(58px,7vw,102px);line-height:.88;margin:0;letter-spacing:-1px}.accent{color:#789a20}.about-copy{max-width:450px}.about-copy p,.visit-lead{font-size:19px;line-height:1.7}.text-link{display:inline-block;font-weight:800;border-bottom:2px solid var(--ink);padding-bottom:8px;margin-top:15px}.dark-section{background:var(--ink);color:white}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:35px;margin-bottom:55px}.section-heading>p{max-width:300px;line-height:1.7;color:#9ca6a0}.line-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.line-card{height:550px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:30px;background:linear-gradient(150deg,#477c83,#153d44)}.line-card.rookie{background:radial-gradient(circle at 75% 22%,#a2c4b3 0,#468078 28%,#193f47 75%)}.line-card.pro{background:radial-gradient(circle at 70% 25%,#8a9e76 0,#546a51 30%,#202f2b 75%)}.line-card:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(-17deg,transparent 0 45px,#ffffff10 46px 47px);transform:scale(1.2)}.line-card-top,.line-card-content{position:relative;z-index:1}.line-card-top{display:flex;justify-content:space-between}.chip,.line-tag{font-size:11px;letter-spacing:2px;font-weight:800}.chip{border:1px solid #ffffff88;padding:10px}.line-arrow{font-size:30px}.line-card h3{font-size:105px;line-height:.78;margin:16px 0}.line-card p{max-width:270px;line-height:1.6}.visit-section{background:#e4e9d9}.visit-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:90px;align-items:center}.visit-lead{max-width:570px;margin:35px 0}.note{font-size:12px;color:#59635b;line-height:1.6;margin-top:25px}.status-panel{background:var(--lime);padding:36px;min-height:430px;display:flex;flex-direction:column}.status-top{display:flex;justify-content:space-between;font-size:12px;font-weight:800;letter-spacing:1.5px}.status-dot{width:12px;height:12px;background:var(--ink);border-radius:50%}.status-title{font-size:100px;font-weight:900;line-height:.85;margin:70px 0 20px}.status-rule{height:2px;background:var(--ink)}.status-panel>p:not(.status-title){line-height:1.7}.status-bottom{margin-top:auto;font-size:11px;font-weight:800;letter-spacing:2px}.prices .section-heading>p{color:var(--muted)}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.info-grid article{padding:32px;border-top:3px solid var(--ink);background:#e8e8e1;min-height:260px}.info-no{font-size:12px;font-weight:800}.info-grid h3{font-size:34px;margin:38px 0 10px}.info-grid p{line-height:1.65;color:#4f5952}.event-banner{padding:110px 0;background:linear-gradient(125deg,#193e45,#0d1b1d);color:white}.event-banner h2{font:900 clamp(75px,10vw,145px)/.84 'Roboto Condensed',sans-serif;margin:0}.event-banner p:not(.eyebrow){margin:35px 0;font-size:18px}.contact{display:grid;grid-template-columns:1.2fr .8fr;gap:50px}.contact-details h3{font-size:32px;margin:0}.contact-details p{line-height:1.6}.contact-small{margin-top:35px;color:var(--muted);font-size:14px}footer{background:var(--ink);color:white;padding:35px 0}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:11px;letter-spacing:2px;font-weight:800}.footer-logo{font:900 40px 'Roboto Condensed',sans-serif;letter-spacing:0}.footer-logo span{color:var(--lime)}.editor-toggle{position:fixed;right:20px;bottom:20px;z-index:40;background:var(--lime);border:2px solid var(--ink);padding:13px 17px;font-weight:800;box-shadow:0 4px 20px #0004}.video-editor{position:fixed;right:20px;bottom:80px;z-index:40;width:min(360px,calc(100% - 40px));background:white;padding:24px;box-shadow:0 8px 40px #0005}.video-editor h3{margin:0 0 8px}.video-editor p{font-size:13px;line-height:1.5}.video-editor input{width:100%;font-size:12px}.upload-label{display:block;font-weight:800;margin:15px 0 6px}.video-editor button{background:var(--ink);color:white;border:0;padding:10px 14px}.video-editor code{overflow-wrap:anywhere}.video-editor[hidden]{display:none}@media(max-width:900px){.menu-toggle{display:block}.nav{display:none;position:absolute;top:88px;left:0;right:0;background:#142c2b;padding:25px;flex-direction:column;align-items:stretch;gap:22px}.nav.open{display:flex}.about,.visit-grid,.contact{grid-template-columns:1fr;gap:35px}.section-heading{align-items:start;flex-direction:column}.line-card{height:470px}.line-card h3{font-size:80px}.status-panel{max-width:600px}.hero h1{font-size:clamp(78px,12vw,130px)}}@media(max-width:620px){.container{width:calc(100% - 36px)}.header{height:76px;padding:0 18px}.nav{top:76px}.hero{min-height:640px;height:90svh}.hero-content{padding-top:180px}.hero h1{font-size:clamp(64px,15vw,100px)}.hero-sub{font-size:15px}.hero-bottom{left:18px;right:18px}.hero-bottom span:last-child{display:none}.section{padding:80px 0}.section h2{font-size:clamp(56px,13vw,80px)}.line-grid,.info-grid{grid-template-columns:1fr}.line-card{height:400px}.line-card h3{font-size:78px}.status-title{font-size:86px}.event-banner h2{font-size:70px}.footer-inner{flex-wrap:wrap}.about-copy p,.visit-lead{font-size:17px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ticker div{animation:none}.btn{transition:none}}
/* Gallery and editorial events */
.gallery-section{background:#e7ebe3}.gallery-section .section-heading>p,.events-section .section-heading>p{color:#58645d}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.gallery-item{border:0;padding:0;background:#152c2d;position:relative;overflow:hidden;aspect-ratio:1.2;cursor:zoom-in}.gallery-item:first-child{grid-column:span 2;grid-row:span 2;aspect-ratio:auto}.gallery-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.gallery-item:hover img{transform:scale(1.04)}.gallery-item span{position:absolute;bottom:15px;left:17px;color:white;font-weight:800;text-shadow:0 2px 8px #000}.gallery-note{font-size:12px;color:#56635c;margin-top:20px}.gallery-note code{font-weight:700}.events-section{background:#f2f0e9}.event-filters{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:30px}.filter-btn{background:transparent;border:1px solid #8b978b;padding:12px 19px;font-weight:800}.filter-btn.active,.filter-btn:hover{background:var(--ink);color:white}.events-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.event-card{background:#fff;display:flex;flex-direction:column;min-width:0}.event-card img{width:100%;aspect-ratio:1.5;object-fit:cover}.event-card-content{padding:25px;display:flex;flex-direction:column;flex:1}.event-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:11px;font-weight:800;letter-spacing:.5px}.event-state{background:#e3e8da;padding:6px 9px}.event-card h3{font-size:37px;line-height:1;margin:20px 0 10px}.event-card p{line-height:1.6;color:#59645c}.event-read{align-self:start;margin-top:auto;padding:12px 0 5px;border:0;border-bottom:2px solid var(--ink);background:none;font-weight:800}.gallery-dialog,.event-dialog{border:0;padding:0;background:#f2f0e9;color:var(--ink);max-width:min(900px,94vw);max-height:90vh;box-shadow:0 20px 80px #0007}.gallery-dialog::backdrop,.event-dialog::backdrop{background:#071819c9}.gallery-dialog img{max-width:100%;max-height:75vh;display:block;object-fit:contain}.gallery-dialog p{padding:0 22px}.dialog-close{position:absolute;right:10px;top:10px;background:var(--lime);border:0;padding:11px 15px;font-size:20px;z-index:1}.event-dialog{width:min(720px,94vw)}.event-dialog-inner{padding:55px 38px}.event-dialog h2{font:900 clamp(46px,8vw,76px)/.9 'Roboto Condensed',sans-serif;margin:0 0 30px}.event-dialog-body p,.event-dialog-inner p:not(.eyebrow){font-size:17px;line-height:1.7}@media(max-width:900px){.events-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gallery-item:first-child{grid-column:span 2;aspect-ratio:1.5}.events-grid{grid-template-columns:1fr}.event-dialog-inner{padding:55px 23px 30px}}

/* Original Welldoers brand assets */
.site-logo{display:block;width:auto;object-fit:contain;object-position:left center}
.header-logo{height:68px;max-width:170px}
.footer-brand-logo{height:78px;max-width:190px}
@media(max-width:620px){.header-logo{height:58px;max-width:135px}.footer-brand-logo{height:64px}}

.footer-extra{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.footer-extra a{color:inherit}.admin-link{position:fixed;bottom:14px;left:14px;z-index:30;background:#d8f76a;color:#13221f;padding:8px 12px;border-radius:10px;text-decoration:none;font-size:12px;font-weight:700}@media(max-width:700px){.footer-extra{justify-content:center}}
/* Sticky navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}
/* Remove header separator */
header.header {
    border-bottom: 0 !important;
    box-shadow: none !important;
}
/* Floating Back to Top */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1100;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 20px;
    background: #d4ff43;
    color: #101b1a;
    border: 2px solid #101b1a;
    border-radius: 4px;

    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 1px;

    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: #ffffff;
}

html {
    scroll-behavior: smooth;
}
/* Minimal floating arrow */
.back-to-top {
    width: 48px;
    height: 48px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: #C5D99B;
}

.back-to-top:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-5px);
}
.back-to-top {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.about-intro {
    font-size: 26px !important;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.4px;
    color: #7d7d7d;
}

@media (max-width: 600px) {
    .about-intro {
        font-size: 20px;
    }
}
:root {
    --lime: #C5D99B;
}
/* ROOKIE & PRO LINE — снимки */

.line-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    height: auto;
    min-height: 0;
}

.line-card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    flex-shrink: 0;
}

.line-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}

.line-card-top,
.line-card-content {
    position: relative;
    z-index: 1;
}
/* ROOKIE & PRO — оформление на съдържанието */

.line-card-content {
    padding: 28px 32px 36px;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
}

.line-card-content p {
    max-width: 100%;
    line-height: 1.6;
    margin: 0 0 16px;
}

.line-card-content .line-subtitle {
    font-weight: 700;
    margin: 12px 0 20px;
}

.line-card h3 {
    margin: 12px 0 18px;
}
/* Скриване на диагоналните стрелки в ROOKIE и PRO */
.line-card .line-arrow {
    display: none !important;
}
/* ROOKIE & PRO — финално подравняване */

.line-card-content {
    padding: 24px 30px 36px !important;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    flex: 1;
}

.line-card-top {
    margin: 0 0 18px;
}

.line-card-content h3 {
    margin: 8px 0 16px;
    line-height: 0.95;
}

.line-card-content p {
    max-width: 100%;
    margin: 0 0 18px;
    line-height: 1.6;
}

.line-card-content .line-subtitle {
    font-weight: 700;
    margin-bottom: 20px;
}
.line-card-top {
    padding: 20px 30px 0;
    margin-bottom: 18px;
    box-sizing: border-box;
}
/* Секция 04 — фоново изображение с паралакс */
#useful {
    background-image:
        linear-gradient(
            rgba(245, 244, 236, 0.25),
            rgba(245, 244, 236, 0.25)
        ),
        url("assets/backgrounds/riding-info.jpg");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#prices {
    background: #f5f4ec;
}

/* WELLDOERS — MONTHLY MEMBERSHIPS */

#prices .membership-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

#prices .membership-grid article {
    background: #14211f;
    color: #f5f4ec;
    padding: 32px 24px;
    border: 1px solid #34433d;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#prices .membership-grid article h3 {
    color: #b4d454;
    margin-bottom: 24px;
}

#prices .membership-grid article h2 {
    color: #ffffff;
    font-size: clamp(40px, 4vw, 64px);
    line-height: 1;
    margin: 0 0 28px;
}

#prices .membership-grid article p {
    color: #d6dfd9;
    font-size: 15px;
    line-height: 1.6;
}

#prices .membership-grid article p + p {
    border-top: 1px solid #34433d;
    padding-top: 14px;
    margin-top: 14px;
}

@media (max-width: 1100px) {
    #prices .membership-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    #prices .membership-grid {
        grid-template-columns: 1fr;
    }
}
/* Единичните посещения остават светли */
#prices .single-prices-grid article {
    background: #e8e8e1;
    color: #14211f;
    border-top: 3px solid #14211f;
}

#prices .single-prices-grid article h3,
#prices .single-prices-grid article h2 {
    color: #14211f;
}

#prices .single-prices-grid article p {
    color: #48534e;
    margin-top:2px;
}
#prices .membership-grid article h2 {
    margin: 0 0 18px;
    font-size: clamp(48px, 4vw, 64px);
    line-height: 1;
}

#prices .membership-grid article p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.55;
}

#prices .membership-grid article p + p {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #42534c;
}
#prices .single-prices-grid .info-no {
    display: none;
}
#prices .single-prices-grid article {
    padding-top: 20px;
    min-height: 0;
    padding-bottom: 5px;
    border-top: 4px solid #789a20;
}

#prices .single-prices-grid article h3 {
    margin-top: 10px;
    margin-bottom: 6px;
    border-bottom: 2px solid #14211f;
    padding-bottom: 8px;
}
#prices .single-prices-grid article h2 {
    margin-top: 34px;
    margin-bottom: 0;
}
/* Еднакво подравняване на светлите карти */

#prices .single-prices-grid article p {
    min-height: 52px;
}

#prices .single-prices-grid article h2 {
    margin-top: 12px;
}

/* Еднакъв шрифт за заглавията */

#prices .single-prices-grid article h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 900;
    font-synthesis: none;
}
#prices .single-prices-grid article p {
    height: 52px;
    min-height: 52px;
    margin-bottom: 0;
}

#prices .single-prices-grid article h2 {
    margin-top: 12px;
}
/* WELLDOERS — подравняване на единичните карти */

#prices .single-prices-grid {
    align-items: stretch;
}

#prices .single-prices-grid article {
    display: grid;
    grid-template-rows: auto 1fr auto;
}

#prices .single-prices-grid article h3 {
    margin-top: 10px;
    line-height: 0.94;
}

#prices .single-prices-grid article p {
    height: auto;
    min-height: 0;
    margin: 0;
}

#prices .single-prices-grid article h2 {
    align-self: end;
    margin: 24px 0 10px;
}
#prices .prices-subheading {
    letter-spacing: 2px;
}
#prices .membership-grid article {
    border-top: 4px solid #789a20;
}
/* Заглавия */
#prices .membership-grid article h3 {
    align-self: flex-start;
    letter-spacing: 2px;
    margin: 10px 0 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ffffff;
    text-decoration: none;
}

/* Допълнителен текст */
#prices .membership-grid article p {
    margin: 0 0 8px;
    line-height: 1.5;
}

/* Цени */
#prices .membership-grid article h2 {
    margin: auto 0 5px;
    padding-top: 24px;
    align-self: flex-start;
}

/* WELLDOERS — ПОЛЕЗНО */

#useful .useful-grid {
    align-items: stretch;
}

#useful .useful-grid article {
    border-top: 4px solid #789a20;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Заглавия като при ценовите карти */
#useful .useful-grid article h3 {
    margin: 10px 0 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #14211f;
    text-decoration: none;
    line-height: 0.95;
}

/* Текст */
#useful .useful-grid article p {
    line-height: 1.6;
    margin: 0 0 14px;
}

/* GALLERY — PREVIOUS / NEXT BUTTONS */

#galleryDialog {
  position: fixed;
}

#galleryDialog .gallery-prev,
#galleryDialog .gallery-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: 52px;
  height: 52px;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(20, 33, 31, 0.8);
  color: #fff;

  font-size: 38px;
  line-height: 1;
  cursor: pointer;

  transition: background 0.2s ease, border-color 0.2s ease;
}

#galleryDialog .gallery-prev {
  left: 24px;
}

#galleryDialog .gallery-next {
  right: 24px;
}

#galleryDialog .gallery-prev:hover,
#galleryDialog .gallery-next:hover {
  background: #789a20;
  border-color: #789a20;
}

#galleryDialog .gallery-prev:focus-visible,
#galleryDialog .gallery-next:focus-visible {
  outline: 3px solid #b5d94c;
  outline-offset: 3px;
}

/* MOBILE */

@media (max-width: 600px) {
  #galleryDialog .gallery-prev,
  #galleryDialog .gallery-next {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }

  #galleryDialog .gallery-prev {
    left: 8px;
  }

  #galleryDialog .gallery-next {
    right: 8px;
  }
}
/* GALLERY — REMOVE WHITE SPACE */

#galleryDialog {
  padding: 0;
  border: none;
  background: transparent;
  overflow: visible;
}

#galleryDialog #galleryFull {
  display: block;
  margin: 0;
  padding: 0;
}

/* GALLERY — MINIMAL CLOSE BUTTON */

#galleryDialog .dialog-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 20;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;
  padding: 0;

  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;

  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;
  transition: color 0.2s ease;
}

#galleryDialog .dialog-close:hover {
  background: transparent;
  color: #b5d94c;
}

#galleryDialog .dialog-close:focus-visible {
  outline: 2px solid #b5d94c;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  #galleryDialog .dialog-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 30px;
  }
}

/* EVENTS — ARTICLE READING VIEW */

#eventDialog {
  width: min(760px, calc(100% - 32px));
  max-width: 760px;
  max-height: 90dvh;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 48px;
  background: #f4f2eb;
  color: #14211f;
  border: none;
}

#eventDialog .event-dialog-inner {
  width: 100%;
  max-width: 100%;
}

#eventDialog #eventDialogBody p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  overflow-wrap: break-word;
}

@media (max-width: 600px) {
  #eventDialog {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100dvh;
    margin: 0;
    padding: 70px 22px 40px;
    border-radius: 0;
  }

  #eventDialog .event-dialog-inner {
    padding: 0;
    margin: 0;
  }

  #eventDialog #eventDialogBody p {
    font-size: 16px;
    line-height: 1.75;
  }

  #eventDialog .dialog-close {
    position: fixed;
    top: 16px;
    right: 18px;
    z-index: 20;
  }
}

/* ARTICLE PAGE */

#articleContent {
  max-width: 820px;
  margin: 48px auto 0;
}

#articleContent .eyebrow {
  margin-bottom: 20px;
}

#articleContent h1 {
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -1.5px;
  margin: 0 0 36px;
}

#articleContent .article-hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  margin-bottom: 36px;
}

#articleContent .article-paragraph {
  font-size: 18px;
  line-height: 1.8;
  font-weight: 400;
  color: #252b28;
  margin: 0 0 24px;
  overflow-wrap: break-word;
}

/* MOBILE ARTICLE */

@media (max-width: 600px) {
  #articleContent {
    margin-top: 32px;
  }

  #articleContent h1 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.05;
    margin-bottom: 24px;
  }

  #articleContent .article-hero-image {
    max-height: none;
    margin-bottom: 28px;
  }

  #articleContent .article-paragraph {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 20px;
  }
}

/* ARTICLE — BACK LINK ALIGNMENT */

body:has(#articleContent) main.container > a[href="/#events"] {
  display: block;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* ARTICLE — BACK LINK HOVER */

body:has(#articleContent) main.container > a[href="/#events"] {
  width: fit-content;
  color: #14211f;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.25s ease, transform 0.25s ease;
}

body:has(#articleContent) main.container > a[href="/#events"]:hover {
  color: #789a20;
  transform: translateX(-5px);
}

body:has(#articleContent) main.container > a[href="/#events"]:focus-visible {
  color: #789a20;
  outline: 2px solid #789a20;
  outline-offset: 5px;
}
/* ARTICLE — FIX BACK LINK ALIGNMENT */

body:has(#articleContent) main.container > a[href="/#events"] {
  width: auto;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* CONTACT — PHOTO BACKGROUND */


/* CONTACT — reset old grid layout */
#contact.contact {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
}

#contact {
  position: relative;
  background:
    linear-gradient(
      rgba(12, 28, 25, 0.42),
      rgba(12, 28, 25, 0.42)
    ),
    url("assets/backgrounds/contact-bg.jpg")
    center / cover no-repeat;
}

#contact .contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
  padding-top: 90px;
  padding-bottom: 90px;
}

#contact .contact-heading .eyebrow,
#contact .contact-heading h2 {
  color: #ffffff;
}

#contact .contact-heading .accent {
  color: #b8d779;
}

/* Светла контактна карта */

#contact .contact-details {
  background: #f4f2eb;
  color: #14211f;
  padding: 40px;
  border-top: 4px solid #789a20;
}

#contact .contact-details h3 {
  color: #14211f;
  margin-bottom: 20px;
}

#contact .contact-details .text-link {
  color: #14211f;
  transition: color 0.25s ease;
}

#contact .contact-details .text-link:hover {
  color: #789a20;
}
#contact .contact-heading h2 {
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.025em;
}

#contact .contact-details {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  #contact .contact-layout {
    grid-template-columns: 1fr;
  }

  #contact .contact-heading h2 {
    font-size: clamp(40px, 10vw, 64px);
  }
}

/* MOBILE */

@media (max-width: 768px) {
  #contact .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  #contact .contact-details {
    padding: 28px;
  }
}
/* ARTICLE — EDITORIAL HEADER */

#articleContent .article-header {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #c9cec5;
}

#articleContent .article-category {
  color: #789a20;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 0 0 25px;
}

#articleContent .article-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: clamp(46px, 5.5vw, 56px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

#articleContent .article-subtitle {
  font-size: clamp(19px, 2.2vw, 18px);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 1px;
  color: #59645c;
  margin: 0 0 8px;
  margin-top: -10px;
}

#articleContent .article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: #66716b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

@media (max-width: 600px) {
  #articleContent .article-header {
    padding-bottom: 26px;
    margin-bottom: 28px;
  }

  #articleContent .article-title {
    font-size: clamp(46px, 5.5vw, 76px);
  }

  #articleContent .article-meta {
    gap: 8px 20px;
  }
}
#articleContent .article-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 12px;
  font-weight: 400;
  color: #777;
  letter-spacing: 0.02em;
}
#articleContent .article-inline-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 36px 0;
  border-radius: 4px;
  object-fit: cover;
}
#articleContent .article-back-link {
  display: inline-flex;
  align-items: center;
  margin-top: 32px;
  padding: 12px 20px;
  border: 1px solid #252b28;
  border-radius: 4px;
  color: #252b28;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

#articleContent .article-back-link:hover {
  background: #252b28;
  color: #fff;
}
.hero h1,
h2,
h3,
.status-title {
  font-family: 'Roboto Condensed', Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

/* WELLDOERS FOOTER REDESIGN */

.welldoers-footer {
  position: relative;
  background: #101b1a;
  color: #fff;
  padding: 35px 0 25px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.welldoers-footer .footer-brand-logo {
  height: 50px;
  max-width: 240px;
  width: auto;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.footer-social a:hover {
  color: #c5d99b;
}

.footer-statement {
  margin-top: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid #52615a;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  font-size: clamp(12px, 7vw, 25px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: #c5d99b;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 25px;
  color: #a5b2a8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

@media (max-width: 620px) {
  .welldoers-footer {
    padding-top: 45px;
  }

  .welldoers-footer .footer-brand-logo {
    height: 85px;
    max-width: 160px;
  }

  .footer-social {
    font-size: 11px;
    gap: 12px;
  }

  .footer-statement {
    margin-top: 50px;
    font-size: clamp(38px, 10vw, 65px);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* =====================================
   WELLDOERS — PART OF THE CREW
===================================== */

.partners-section {
  background: #e5e5dc;
  padding: 100px 0 110px;
}

.partners-heading {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 65px;
}

.partners-heading .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}

.partners-heading h2 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: clamp(48px, 6vw, 90px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 25px;
}

.partners-heading h2 em {
  font-style: normal;
  color: #7b9b50;
}

.partners-heading > p:last-child {
  font-size: 16px;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.partner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 25px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.25s ease;
}

.partner-link:hover {
  transform: translateY(-5px);
}

.partner-link img {
  display: block;
  width: 100%;
  max-width: 170px;
  max-height: 85px;
  object-fit: contain;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.18));
transition: filter 0.3s ease;
}

.partner-link:hover img {
  filter: drop-shadow(0 9px 9px rgba(0, 0, 0, 0.25));
}

@media (max-width: 900px) {
  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .partners-section {
    padding: 70px 0 80px;
  }

  .partners-heading {
    margin-bottom: 40px;
  }

  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .partner-link {
    min-height: 115px;
    padding: 20px;
  }

  .partner-link img {
    max-height: 65px;
  }
}
.partner-link img {
  background: transparent;
  border: none;
  box-shadow: none;
}
/* WELLDOERS — STICKY HEADER BACKGROUND */

.header {
  transition: background-color 0.35s ease,
              box-shadow 0.35s ease;
}

.header.header-scrolled {
  background-color: rgba(120, 154, 32, 0.3);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
/* WELLDOERS — CLICKABLE HEADER LOGO */

.header .brand {
  position: relative;
  z-index: 20;
  cursor: pointer;
}
/* WELLDOERS — BEYOND THE RIDE */

#beyond {
  position: relative;
  padding: 110px 0;
  color: #fff;

  background-image:
    linear-gradient(
      rgba(10, 20, 18, 0.4),
      rgba(10, 20, 18, 0.4)
    ),
    url("assets/backgrounds/beyond-bg.jpg");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

#beyond .beyond-heading {
  text-align: center;
  margin-bottom: 55px;
}

#beyond .beyond-heading h2 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 900;
  line-height: 0.95;
  margin: 0 0 20px;
}

#beyond .beyond-heading em {
  font-style: normal;
  color: #C5D99B;
}

#beyond .beyond-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

#beyond .beyond-card {
  background: rgba(10, 20, 18, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 35px 28px;
  border-top: 4px solid #789a20;
}

#beyond .beyond-card h3 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1;
  margin: 15px 0 20px;
}

#beyond .beyond-card p {
  line-height: 1.65;
}

#beyond .beyond-card .eyebrow {
  color: #C5D99B;
}

@media (max-width: 900px) {
  #beyond .beyond-grid {
    grid-template-columns: 1fr;
  }

  #beyond {
    padding: 75px 0;
    background-attachment: scroll;
  }
}
#beyond .beyond-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#beyond .beyond-card .btn {
  margin-top: auto;
}

#beyond .beyond-heading > p:last-child {
  color: #fff;
  font-size: 18px;
  margin-top: 18px;
}


/* BEYOND THE RIDE — снимки на картите */

#beyond .beyond-card {
  position: relative;
  min-height: 480px;
  padding: 36px 28px;
  overflow: hidden;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-top: 4px solid #789a20;
  transition: background-size .4s ease, transform .4s ease;
}

/* Снимка 1 */
#beyond .beyond-chill {
  background-image:
    linear-gradient(
      rgba(10,20,18,.55),
      rgba(10,20,18,.82)
    ),
    url("assets/backgrounds/chill-play.jpg");
}

/* Снимка 2 */
#beyond .beyond-learn {
  background-image:
    linear-gradient(
      rgba(10,20,18,.55),
      rgba(10,20,18,.82)
    ),
    url("assets/backgrounds/learn-progress.jpg");
}

/* Снимка 3 */
#beyond .beyond-events {
  background-image:
    linear-gradient(
      rgba(10,20,18,.55),
      rgba(10,20,18,.82)
    ),
    url("assets/backgrounds/make-it-a-day.jpg");
}

/* Съдържанието остава над снимката */
#beyond .beyond-card > * {
  position: relative;
  z-index: 1;
}

/* Деликатно повдигане при hover */
@media (hover: hover) {
  #beyond .beyond-card:hover {
    transform: translateY(-6px);
  }
}

/* Мобилна версия */
@media (max-width: 900px) {
  #beyond .beyond-card {
    min-height: 420px;
  }
}
/* BEYOND THE RIDE — зелени бутони */

#beyond .beyond-card .btn {
    background-color: #c5d99b;
    color: #14211f;
    border: 2px solid #c5d99b;
    transition: background-color .3s ease,
                border-color .3s ease;
}

#beyond .beyond-card .btn:hover {
    background-color: #C5D99B;
    border-color: #C5D99B;
    color: #ffffff;
}
/* EVENTS — subtle image zoom on hover */

.event-image-link {
  display: block;
  overflow: hidden;
  cursor: pointer;
}

.event-image-link img {
  display: block;
  width: 100%;
  transition: transform 0.5s ease;
  transform: scale(1);
}

.event-image-link:hover img {
  transform: scale(1.045);
}
.event-image-link {
  display: block;
  cursor: pointer;
}

.event-image-link img {
  display: block;
  width: 100%;
}
/* ARTICLE — responsive images */

#articleContent .article-hero-image,
#articleContent .article-inline-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 32px auto;
  object-fit: contain;
}

/* Portrait images */
#articleContent img.article-portrait {
  width: auto;
  max-width: min(520px, 100%);
  max-height: 780px;
  object-fit: contain;
}

/* Landscape images */
#articleContent img.article-landscape {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
}
/* ARTICLE EDITOR — scrollable preview */

#articlePreview {
  height: 450px;
  max-height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  color: #222;
  overscroll-behavior: contain;
  resize: vertical;
}

#articlePreview img {
  max-width: 100%;
  height: auto;
}
.contact-email {
  color: inherit;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.contact-email::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: #C5D99B;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: #C5D99B;
}

.contact-email:hover::after,
.contact-email:focus-visible::after {
  transform: scaleX(1);
}