/*
Theme Name: Большие дела — Вместе
Theme URI: https://bolshie-dela.com/
Author: Проект восстановления «Большие дела»
Description: Авторская тема благотворительного фонда «Большие дела»: активные и закрытые сборы, статьи о здоровье, проекты, управление карточками через редактор страниц и подготовка к подключению Mixplat.
Version: 2.6.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: bolshie-dela-vmeste
*/

:root {
  --ink: #123336;
  --ink-soft: #3f5b5d;
  --teal: #137c82;
  --teal-deep: #0b545d;
  --teal-pale: #e8f3f1;
  --coral: #f48054;
  --coral-dark: #dd6338;
  --cream: #fcfaf5;
  --warm: #f6f2e9;
  --paper: #ffffff;
  --line: #dde7e3;
  --shadow: 0 22px 55px rgba(17, 56, 58, .075);
  --round: 26px;
  --shell: 1220px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--coral-dark); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
::selection { background: #f5c9b4; color: var(--ink); }
.bdd-shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.bdd-sr-only { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.bdd-skip { position: fixed; top: -200px; left: 20px; z-index: 9999; padding: 12px 20px; background: var(--ink); color: #fff; }
.bdd-skip:focus { top: 15px; }

/* Shared elements */
.bdd-eyebrow { color: var(--teal); text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: 12px; line-height: 1.5; }
.bdd-eyebrow--light { color: #b5e9de; }
.bdd-h2 { font-size: clamp(29px, 3.9vw, 49px); line-height: 1.12; letter-spacing: -.045em; margin: 12px 0 18px; font-weight: 780; }
.bdd-muted { color: var(--ink-soft); }
.bdd-section { padding-block: 88px; }
.bdd-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 34px; }
.bdd-section-head p { margin: 0; max-width: 550px; color: var(--ink-soft); }
.bdd-section-head .bdd-h2 { margin-bottom: 0; }
.bdd-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bdd-button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 50px; border: 2px solid transparent; border-radius: 100px; font-size: 15px; font-weight: 800; padding: 12px 24px; text-align: center; line-height: 1.35; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.bdd-button:hover { transform: translateY(-2px); }
.bdd-button svg { width: 18px; height: 18px; flex: 0 0 18px; }
.bdd-button--orange { background: var(--coral); color: #1f2a2a; box-shadow: 0 11px 26px rgba(244,128,84,.21); }
.bdd-button--orange:hover { background: #ffa177; color: #192d2e; }
.bdd-button--teal { background: var(--teal); color: #fff; }
.bdd-button--teal:hover { background: var(--teal-deep); color: #fff; }
.bdd-button--outline { border-color: var(--line); background: #fff; color: var(--ink); }
.bdd-button--outline:hover { border-color: var(--teal); color: var(--teal-deep); }
.bdd-button--white { background: #fff; color: var(--teal-deep); }
.bdd-button--white:hover { background: #f8eade; color: var(--teal-deep); }
.bdd-text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--teal); }
.bdd-text-link:hover { gap: 12px; }
.bdd-text-link svg { width: 18px; height: 18px; }

/* Top bar and header */
.bdd-topline { background: #0c3e43; color: #d6eeea; font-size: 12px; font-weight: 650; }
.bdd-topline-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.bdd-topline a { color: #f5ffff; }
.bdd-topline-contact { display: flex; gap: 22px; align-items: center; }
.bdd-topline-contact a:hover { color: #ffc4a8; }
.bdd-site-header { position: relative; z-index: 100; background: rgba(255,255,255,.98); border-bottom: 1px solid #ebefed; }
.bdd-header-inner { display: flex; min-height: 86px; gap: 22px; align-items: center; justify-content: space-between; }
.bdd-brand { display: inline-flex; gap: 11px; align-items: center; color: var(--ink); flex: 0 0 auto; }
.bdd-brand:hover { color: var(--ink); }
.bdd-brand-mark { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 16px; background: var(--teal); transform: rotate(-8deg); }
.bdd-brand-mark svg { width: 27px; height: 27px; fill: none; stroke: white; stroke-width: 2.1; transform: rotate(8deg); }
.bdd-brand-words { display: flex; flex-direction: column; gap: 1px; line-height: 1; }
.bdd-brand-words b { font-size: 20px; font-weight: 890; letter-spacing: -.045em; }
.bdd-brand-words span { font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-top: 5px; }
.bdd-custom-logo { display: block; width: auto; max-width: 190px; max-height: 66px; object-fit: contain; }
.bdd-main-nav { display: flex; align-items: center; margin-left: auto; }
.bdd-main-nav ul { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; gap: 2px; }
.bdd-main-nav li { position: relative; }
.bdd-main-nav a { color: #284649; font-size: 13px; line-height: 1.25; font-weight: 750; padding: 13px 10px; display: inline-flex; align-items: center; border-radius: 8px; }
.bdd-main-nav a:hover, .bdd-main-nav .current-menu-item > a, .bdd-main-nav .current_page_item > a { background: var(--teal-pale); color: var(--teal-deep); }
.bdd-main-nav .sub-menu, .bdd-main-nav .children { display: none; position: absolute; left: 0; top: 100%; min-width: 220px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); border-radius: 14px; padding: 8px; z-index: 10; }
.bdd-main-nav li:hover > .sub-menu, .bdd-main-nav li:focus-within > .sub-menu, .bdd-main-nav li:hover > .children, .bdd-main-nav li:focus-within > .children { display: block; }
.bdd-main-nav .sub-menu li, .bdd-main-nav .children li { display: block; }
.bdd-main-nav .sub-menu a, .bdd-main-nav .children a { display: block; padding: 12px; }
.bdd-header-cta { white-space: nowrap; font-size: 13px; padding: 11px 19px; }
.bdd-mobile-toggle { display: none; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 12px; align-items: center; justify-content: center; }
.bdd-mobile-toggle svg { width: 23px; height: 23px; }

/* Homepage hero */
.bdd-hero { position: relative; overflow: hidden; background: linear-gradient(117deg,#f5faf6 0%,#fcfaf5 63%,#fff0e9 100%); }
.bdd-hero:before { content: ''; position: absolute; right: -180px; top: -170px; width: 700px; height: 700px; border: 1px solid rgba(19,124,130,.08); border-radius: 50%; box-shadow: 0 0 0 100px rgba(19,124,130,.025), 0 0 0 200px rgba(19,124,130,.025); }
.bdd-hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(26px,5vw,78px); min-height: 660px; padding-block: 70px 84px; position: relative; }
.bdd-hero-copy { position: relative; z-index: 1; }
.bdd-hero-label { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 30px; color: var(--teal-deep); background: #e4f3ed; font-size: 12px; font-weight: 800; }
.bdd-hero-label:before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.bdd-hero h1 { font-size: clamp(43px, 5.25vw, 74px); font-weight: 830; line-height: 1.065; letter-spacing: -.058em; margin: 28px 0 24px; max-width: 750px; }
.bdd-hero h1 em { color: var(--teal); font-style: normal; }
.bdd-hero-lead { color: #50676a; font-size: 18px; line-height: 1.75; max-width: 570px; margin: 0 0 30px; }
.bdd-hero-fine { display: flex; gap: 9px; align-items: center; margin-top: 38px; font-size: 13px; color: #5f7475; font-weight: 650; }
.bdd-hero-fine svg { width: 20px; height: 20px; color: var(--coral-dark); }
.bdd-hero-visual { min-width: 0; height: 525px; position: relative; }
.bdd-hero-photo { position: absolute; inset: 24px 17px 15px 48px; overflow: hidden; border-radius: 170px 36px 120px 36px; box-shadow: 0 27px 75px rgba(19,78,83,.17); background: #dae9e4; }
.bdd-hero-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 44%; }
.bdd-hero-bubble { position: absolute; top: 16px; right: -2px; background: var(--coral); color: #192e31; height: 120px; width: 120px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; font-weight: 850; transform: rotate(12deg); box-shadow: 0 15px 25px rgba(230,121,86,.23); }
.bdd-hero-bubble svg { position: absolute; left: 15px; top: 13px; width: 18px; height: 18px; opacity: .7; }
.bdd-hero-card { position: absolute; bottom: 34px; left: -5px; background: #fff; border-radius: 22px; padding: 18px 21px; box-shadow: 0 20px 45px rgba(15,59,62,.14); max-width: 232px; display: flex; gap: 12px; align-items: center; }
.bdd-hero-card-mark { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; background: #fce8dd; display: grid; place-items: center; color: var(--coral-dark); }
.bdd-hero-card strong { display: block; font-size: 15px; line-height: 1.25; }
.bdd-hero-card span { display: block; color: #7b8b8b; font-size: 11px; line-height: 1.4; margin-top: 4px; }

/* Directions and stories */
.bdd-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.bdd-feature-card { min-height: 304px; position: relative; overflow: hidden; padding: 32px 30px; border: 1px solid #e3e9e4; background: #fff; border-radius: var(--round); box-shadow: 0 12px 32px rgba(30,61,61,.035); display: flex; flex-direction: column; align-items: flex-start; transition: transform .22s ease, box-shadow .22s ease; }
.bdd-feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.bdd-feature-card:nth-child(2) { background: #eff5f1; }
.bdd-feature-card:nth-child(3) { background: #fff4eb; }
.bdd-feature-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 17px; background: #eaf4f2; color: var(--teal); margin-bottom: 28px; }
.bdd-feature-card:nth-child(2) .bdd-feature-icon { background: #d6ece6; }
.bdd-feature-card:nth-child(3) .bdd-feature-icon { background: #fce4d4; color: #d46643; }
.bdd-feature-icon svg { width: 30px; height: 30px; }
.bdd-feature-card h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.035em; margin: 0 0 10px; }
.bdd-feature-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.65; margin: 0 0 22px; }
.bdd-feature-card .bdd-text-link { margin-top: auto; font-size: 14px; }
.bdd-feature-card:after { content: ''; position: absolute; width: 130px; height: 130px; border: 18px solid rgba(19,124,130,.028); border-radius: 50%; right: -57px; top: -50px; pointer-events: none; }
.bdd-story-section { background: var(--warm); }
.bdd-story-layout { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(35px,6vw,100px); }
.bdd-story-image { border-radius: 42px 160px 42px 42px; width: 100%; height: 450px; object-fit: cover; box-shadow: var(--shadow); }
.bdd-story-text .bdd-h2 { max-width: 550px; }
.bdd-story-text p { max-width: 590px; color: var(--ink-soft); font-size: 16px; margin: 0 0 25px; }
.bdd-points { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; gap: 12px; }
.bdd-points li { display: flex; align-items: flex-start; gap: 12px; font-weight: 660; color: #345658; }
.bdd-points li:before { content: '✓'; font-size: 12px; line-height: 22px; text-align: center; border-radius: 50%; width: 22px; height: 22px; flex: 0 0 22px; color: var(--teal); background: #d4eae2; font-weight: 900; }
.bdd-story-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.bdd-story-card { background: #fff; border: 1px solid #e4ebe8; border-radius: 22px; overflow: hidden; box-shadow: 0 9px 26px rgba(19,61,59,.045); }
.bdd-story-card-media { display: block; height: 205px; overflow: hidden; background: #e9f2ef; }
.bdd-story-card-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .3s ease; }
.bdd-story-card:hover .bdd-story-card-media img { transform: scale(1.045); }
.bdd-story-card-body { padding: 22px 24px 27px; }
.bdd-story-card-tag { font-size: 11px; color: var(--teal); font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.bdd-story-card h3 { font-size: 19px; margin: 9px 0 11px; line-height: 1.3; letter-spacing: -.015em; }
.bdd-story-card h3 a { color: var(--ink); }
.bdd-story-card h3 a:hover { color: var(--teal); }
.bdd-story-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; margin: 0 0 15px; }
.bdd-trust { background: #f0f7f4; }
.bdd-trust-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.bdd-trust-item { padding: 26px 28px; background: #fff; border-radius: 22px; border: 1px solid #e1ece7; }
.bdd-trust-item svg { width: 26px; height: 26px; color: var(--teal); }
.bdd-trust-item h3 { font-size: 19px; margin: 16px 0 8px; }
.bdd-trust-item p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 15px; }
.bdd-donate-banner { background: var(--teal-deep); color: #fff; border-radius: 32px; padding: 58px 64px; display: flex; align-items: center; justify-content: space-between; gap: 26px; position: relative; overflow: hidden; }
.bdd-donate-banner:after { content: '♡'; font-size: 330px; line-height: 1; font-weight: 200; position: absolute; right: 23%; top: -100px; opacity: .08; transform: rotate(-20deg); }
.bdd-donate-banner > * { position: relative; z-index: 1; }
.bdd-donate-banner h2 { margin: 10px 0 14px; font-size: clamp(27px,3.5vw,44px); letter-spacing: -.04em; line-height: 1.16; }
.bdd-donate-banner p { margin: 0; color: #d4e8e5; max-width: 600px; }
.bdd-donate-banner .bdd-actions { flex: 0 0 auto; }

/* Inner pages */
.bdd-page-hero { background: linear-gradient(112deg,#eff8f4,#fffaf1); border-bottom: 1px solid var(--line); padding: 49px 0 52px; }
.bdd-breadcrumb { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; font-size: 12px; color: #718586; margin-bottom: 18px; }
.bdd-breadcrumb a { color: var(--teal); font-weight: 700; }
.bdd-breadcrumb .bdd-sep { color: #9bafad; }
.bdd-page-hero h1 { max-width: 1050px; font-size: clamp(29px,4.5vw,52px); font-weight: 780; line-height: 1.17; letter-spacing: -.045em; margin: 0; overflow-wrap: anywhere; }
.bdd-page-grid { display: grid; grid-template-columns: minmax(0,1fr) 286px; gap: 36px; align-items: start; padding-block: 46px 90px; }
.bdd-article { min-width: 0; background: #fff; border: 1px solid #e9eeea; border-radius: 24px; padding: clamp(23px,3.6vw,48px); box-shadow: 0 12px 50px rgba(12,46,48,.035); }
.bdd-page-sidebar { position: sticky; top: 26px; display: grid; gap: 18px; }
.bdd-side-panel { background: #eff7f3; border-radius: 22px; padding: 25px; }
.bdd-side-panel--light { background: #fff; border: 1px solid var(--line); }
.bdd-side-panel-icon { width: 46px; height: 46px; background: #d9ede5; color: var(--teal); border-radius: 13px; display: grid; place-items: center; margin-bottom: 17px; }
.bdd-side-panel h3 { font-size: 19px; line-height: 1.27; margin: 0 0 10px; }
.bdd-side-panel p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 15px; }
.bdd-side-panel .bdd-button { font-size: 13px; min-height: 44px; padding: 10px 15px; width: 100%; }
.bdd-side-links { list-style: none; padding: 0; margin: 0; }
.bdd-side-links li + li { border-top: 1px solid var(--line); }
.bdd-side-links a { color: var(--ink); font-size: 13px; font-weight: 700; display: block; padding: 11px 0; }
.bdd-side-links a:hover { color: var(--teal); }
.bdd-article-body { min-width: 0; overflow-wrap: anywhere; color: #334749; font-size: 16px; line-height: 1.83; }
.bdd-article-body > :first-child { margin-top: 0; }
.bdd-article-body p { margin: 0 0 1.25em; }
.bdd-article-body h2 { font-size: clamp(23px,2.7vw,30px); line-height: 1.3; margin: 1.6em 0 .65em; letter-spacing: -.025em; color: var(--ink); }
.bdd-article-body h3 { font-size: 22px; line-height: 1.3; margin: 1.4em 0 .5em; color: var(--ink); }
.bdd-article-body h4 { font-size: 18px; line-height: 1.3; margin: 1.2em 0 .5em; }
.bdd-article-body a { text-decoration: underline; text-decoration-color: rgba(19,124,130,.4); text-underline-offset: 3px; }
.bdd-article-body a:hover { text-decoration-color: var(--coral); }
.bdd-article-body ul, .bdd-article-body ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.bdd-article-body li + li { margin-top: .35em; }
.bdd-article-body img { display: inline-block; max-width: 100%; height: auto; border-radius: 11px; vertical-align: middle; }
.bdd-article-body a img { text-decoration: none; }
.bdd-article-body figure { margin: 25px 0; }
.bdd-article-body figcaption { font-size: 13px; color: #6c7e80; margin-top: 7px; }
.bdd-article-body blockquote { margin: 32px 0; padding: 15px 25px; border-left: 4px solid var(--coral); background: #fff8f0; border-radius: 0 12px 12px 0; font-size: 18px; }
.bdd-article-body hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.bdd-article-body table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin: 25px 0; font-size: 14px; }
.bdd-article-body th,.bdd-article-body td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; min-width: 75px; }
.bdd-article-body th { background: #f0f5f2; color: var(--ink); }
.bdd-article-body iframe { display: block; max-width: 100%; width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 12px; margin: 22px 0; }
.bdd-article-body .rtecenter, .bdd-article-body .text-center { text-align: center; }
.bdd-article-body .rteright { text-align: right; }
.bdd-article-body .field-image { margin-bottom: 16px; }
.bdd-article-body .field-item img { max-width: 100%; }
.bdd-article-body .node-teaser { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 22px; margin: 0; min-width: 0; }
.bdd-news-list .bdd-article-body { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.bdd-news-list .bdd-article-body > .node-teaser { height: 100%; }
.bdd-news-list .bdd-article-body > .term-listing-heading { display: none; }
.bdd-article-body .node-teaser h2 { margin: 5px 0 13px; font-size: 19px; }
.bdd-article-body .node-teaser img { max-height: 240px; width: auto; object-fit: contain; }
.bdd-article-body .views-row { min-width: 0; }
.bdd-article-body .view-content { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 16px; }
.bdd-article-body .view-content > .views-row { padding: 0; }
.bdd-article-body .view-content > .views-row > .node-teaser { height: 100%; }
.bdd-article-body .pager { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; padding: 0; }
.bdd-article-body .pager li { margin: 0; }
.bdd-article-body .pager a, .bdd-article-body .pager-current { padding: 8px 14px; border-radius: 8px; background: #e8f3f1; font-weight: 750; text-decoration: none; }
.bdd-article-body .node-info, .bdd-article-body .element-hidden, .bdd-article-body .field-label-hidden > .field-label { display: none; }
.bdd-article-body .node-teaser .node-info { display: block; }
.bdd-article-body .bdd-missing-image { display: inline-flex; min-height: 150px; width: min(100%,440px); align-items: center; justify-content: center; color: #709093; background: #ecf3f1 url('assets/images/photo-placeholder.svg') center/100px no-repeat; border: 1px dashed #c7dcda; border-radius: 12px; font-size: 0; }
.bdd-content-note { padding: 17px 20px; border: 1px solid #f3dbc6; background: #fff8ef; border-radius: 13px; font-size: 14px; color: #846243; }
.bdd-empty { padding: 40px; text-align: center; color: var(--ink-soft); }
.bdd-pagination { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 32px; }
.bdd-pagination .page-numbers { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 4px 11px; border-radius: 11px; color: var(--ink); background: #fff; border: 1px solid var(--line); }
.bdd-pagination .page-numbers.current { background: var(--teal); color: #fff; border-color: var(--teal); }
.bdd-search-form { display: flex; gap: 10px; margin-top: 20px; }
.bdd-search-form input { flex: 1; min-width: 0; border: 1px solid #cfdfda; border-radius: 12px; padding: 13px 16px; }
.bdd-search-form button { border: 0; border-radius: 12px; padding: 13px 19px; color: #fff; background: var(--teal); font-weight: 800; }

/* Footer */
.bdd-site-footer { margin-top: 10px; background: #0b3d43; color: #dbece9; }
.bdd-footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-block: 68px 55px; }
.bdd-site-footer .bdd-brand { color: #fff; }
.bdd-site-footer .bdd-brand-mark { background: var(--coral); }
.bdd-site-footer .bdd-brand-words span { color: #aee4d9; }
.bdd-footer-about { font-size: 14px; line-height: 1.75; color: #bcd3d0; max-width: 320px; margin-top: 20px; }
.bdd-footer-title { margin: 5px 0 19px; font-size: 14px; font-weight: 850; color: #fff; }
.bdd-footer-list { padding: 0; list-style: none; margin: 0; display: grid; gap: 10px; }
.bdd-footer-list a { color: #cce1de; font-size: 13px; }
.bdd-footer-list a:hover { color: #fff0d8; }
.bdd-footer-contact { font-size: 14px; color: #cce1de; display: grid; gap: 9px; }
.bdd-footer-contact a { color: #fff; overflow-wrap: anywhere; }
.bdd-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: 12px; color: #a6c6c2; }
.bdd-footer-bottom .bdd-shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bdd-footer-bottom a { color: #d4ebe6; }

@media (max-width: 1120px) {
  .bdd-header-inner { gap: 13px; }
  .bdd-main-nav a { padding: 12px 7px; font-size: 12px; }
  .bdd-brand-words b { font-size: 18px; }
  .bdd-brand-mark { width: 42px; height: 42px; flex-basis: 42px; }
  .bdd-hero-inner { min-height: 620px; }
  .bdd-hero-visual { height: 470px; }
}
@media (max-width: 960px) {
  .bdd-shell { width: min(calc(100% - 36px),var(--shell)); }
  .bdd-mobile-toggle { display: flex; margin-left: auto; }
  .bdd-site-header { position: relative; }
  .bdd-header-inner { min-height: 73px; }
  .bdd-main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 17px 30px rgba(19,58,58,.09); padding: 14px 18px 22px; }
  .bdd-main-nav.is-open { display: block; }
  .bdd-main-nav ul { display: block; }
  .bdd-main-nav li { display: block; }
  .bdd-main-nav a { width: 100%; display: block; font-size: 15px; padding: 13px 10px; }
  .bdd-main-nav .sub-menu, .bdd-main-nav .children { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .bdd-header-cta { margin-left: 0; }
  .bdd-hero-inner { grid-template-columns: 1.02fr .98fr; gap: 15px; }
  .bdd-hero h1 { font-size: clamp(39px,5vw,56px); }
  .bdd-hero-photo { inset: 35px 6px 12px 21px; }
  .bdd-hero-card { left: 0; }
  .bdd-story-layout { gap: 35px; }
  .bdd-page-grid { grid-template-columns: minmax(0,1fr) 235px; gap: 22px; }
  .bdd-footer-main { gap: 24px; }
}
@media (max-width: 760px) {
  .bdd-topline-contact a:first-child { display: none; }
  .bdd-hero-inner { display: flex; flex-direction: column; align-items: stretch; padding-block: 48px 65px; gap: 25px; }
  .bdd-hero h1 { font-size: clamp(41px,8vw,64px); }
  .bdd-hero-visual { height: 430px; max-width: 540px; width: 100%; margin-inline: auto; }
  .bdd-hero-photo { inset: 8px 25px 10px 45px; }
  .bdd-hero-card { left: 5px; bottom: 20px; }
  .bdd-hero-bubble { right: 0; }
  .bdd-card-grid, .bdd-story-cards, .bdd-trust-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bdd-story-layout { display: flex; flex-direction: column; align-items: stretch; }
  .bdd-story-image { height: 340px; }
  .bdd-page-grid { display: block; }
  .bdd-page-sidebar { position: static; grid-template-columns: 1fr 1fr; margin-top: 25px; }
  .bdd-donate-banner { padding: 39px 31px; display: block; }
  .bdd-donate-banner .bdd-actions { margin-top: 23px; }
  .bdd-footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 32px; }
}
@media (max-width: 520px) {
  .bdd-shell { width: min(calc(100% - 28px),var(--shell)); }
  .bdd-topline { font-size: 11px; }
  .bdd-topline-inner { justify-content: center; }
  .bdd-topline-contact { display: none; }
  .bdd-header-inner { min-height: 69px; gap: 8px; }
  .bdd-brand-words b { font-size: 17px; }
  .bdd-brand-words span { font-size: 8px; }
  .bdd-brand-mark { width: 40px; height: 40px; flex-basis: 40px; border-radius: 13px; }
  .bdd-header-cta { display: none; }
  .bdd-section { padding-block: 60px; }
  .bdd-section-head { display: block; }
  .bdd-section-head p { margin-top: 12px; }
  .bdd-h2 { font-size: 31px; }
  .bdd-hero-inner { padding-block: 35px 47px; }
  .bdd-hero h1 { font-size: clamp(38px,10vw,49px); margin-top: 20px; }
  .bdd-hero-lead { font-size: 16px; }
  .bdd-hero-visual { height: 345px; }
  .bdd-hero-photo { inset: 14px 22px 9px 24px; border-radius: 110px 30px 88px 30px; }
  .bdd-hero-bubble { width: 97px; height: 97px; font-size: 11px; }
  .bdd-hero-card { max-width: 194px; padding: 13px; }
  .bdd-hero-card-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .bdd-hero-card strong { font-size: 12px; }
  .bdd-hero-card span { font-size: 10px; }
  .bdd-hero-fine { margin-top: 23px; }
  .bdd-card-grid, .bdd-story-cards, .bdd-trust-grid { grid-template-columns: 1fr; }
  .bdd-feature-card { min-height: 0; padding: 27px; }
  .bdd-feature-icon { margin-bottom: 18px; }
  .bdd-story-image { height: 270px; }
  .bdd-donate-banner { border-radius: 22px; padding: 29px 23px; }
  .bdd-donate-banner .bdd-button { width: 100%; }
  .bdd-page-hero { padding: 30px 0 34px; }
  .bdd-page-grid { padding-block: 23px 59px; }
  .bdd-article { padding: 22px 17px; border-radius: 16px; }
  .bdd-article-body .view-content { grid-template-columns: 1fr; }
  .bdd-news-list .bdd-article-body { grid-template-columns: 1fr; }
  .bdd-page-sidebar { grid-template-columns: 1fr; }
  .bdd-footer-main { grid-template-columns: 1fr; padding-block: 46px; }
  .bdd-footer-bottom .bdd-shell { display: block; }
  .bdd-footer-bottom .bdd-shell > * + * { display: block; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto!important; transition-duration: .01ms!important; animation-duration: .01ms!important; }
}
