/*
Theme Name: SDSG School
Description: Website theme for Sant Dariya Saheb Gyanasthali (LKG to Class 10), Dharkhandha, Bihar. Activating it creates Home, About Us, Academics, Gallery, Blog and Contact Us pages with the menu. Contact details are set in Appearance → Customize → School Details.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
Author: SKP DigitX Marketing Solution
License: GPL-2.0-or-later
Text Domain: sdsg
*/

:root {
	--sdsg-teal: #0b3b36;
	--sdsg-dark: #062521;
	--sdsg-saffron: #f29f05;
	--sdsg-red: #c8401c;
	--sdsg-ink: #10201d;
	--sdsg-muted: #4b5d59;
	--sdsg-tint: #eef6f3;
	--sdsg-line: #dbe7e3;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--sdsg-ink); background: #fff; font-size: 16px; line-height: 1.55; overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--sdsg-teal); }
a:hover { color: var(--sdsg-dark); }
input, select, textarea, button { font: inherit; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--sdsg-saffron); outline-offset: 1px; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--sdsg-saffron); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; width: auto; height: auto; clip: auto; padding: 12px 18px; background: #fff; border-radius: 8px; }
.sdsg-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- animations (from the design) ---------- */
@keyframes up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-16px) rotate(8deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes mq { to { transform: translateX(-50%); } }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.up { animation: up .9s cubic-bezier(.2,.7,.2,1) both; } .d1 { animation-delay: .12s; } .d2 { animation-delay: .24s; } .d3 { animation-delay: .36s; }
@supports (animation-timeline: view()) { .reveal { animation: up linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; } }
.float { animation: float 7s ease-in-out infinite; } .spin { animation: spin 36s linear infinite; }
.mq { display: flex; width: max-content; animation: mq 34s linear infinite; } .mq:hover { animation-play-state: paused; }
.kb { animation: kb 7s ease-out both; }
.lift { transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s; } .lift:hover { transform: translateY(-8px); box-shadow: 0 28px 56px rgba(6,37,33,.16); }
.lift img { transition: transform .7s cubic-bezier(.2,.7,.2,1); } .lift:hover img { transform: scale(1.06); }
.btn { transition: transform .25s, box-shadow .25s; } .btn:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(200,64,28,.32); }

/* ---------- top bar + header ---------- */
.sdsg-topbar { background: var(--sdsg-dark); color: #cfe3dd; font-size: 14px; font-weight: 600; }
.sdsg-topbar .sdsg-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 9px; padding-bottom: 9px; }
.sdsg-topbar strong { color: var(--sdsg-saffron); }
.sdsg-topbar a { color: #cfe3dd; text-decoration: none; }
.sdsg-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--sdsg-line); }
.admin-bar .sdsg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sdsg-header { top: 0; } }
.sdsg-header .sdsg-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.sdsg-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.sdsg-brand img { width: 60px; height: 60px; object-fit: contain; flex: none; }
.sdsg-brand-name { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 21px; line-height: 1.1; color: var(--sdsg-teal); display: block; }
.sdsg-brand-sub { font-size: 13px; color: var(--sdsg-muted); display: block; }
.sdsg-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.sdsg-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.sdsg-menu a { position: relative; display: block; padding: 12px 14px; text-decoration: none; font-weight: 600; font-size: 16px; color: var(--sdsg-ink); }
.sdsg-menu a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--sdsg-saffron); transform: scaleX(0); transition: transform .3s; }
.sdsg-menu a:hover::after, .sdsg-menu .current-menu-item > a::after { transform: scaleX(1); }
.sdsg-menu .current-menu-item > a, .sdsg-menu .current_page_item > a, .sdsg-menu .current_page_parent > a { color: var(--sdsg-teal); font-weight: 800; }
.sdsg-menu .sub-menu { display: none; }
.sdsg-cta { margin-left: 8px; padding: 12px 20px; border-radius: 999px; background: var(--sdsg-red); color: #fff !important; text-decoration: none; font-weight: 800; font-size: 16px; white-space: nowrap; }
.sdsg-toggle { display: none; width: 48px; height: 48px; border: 1.5px solid #c6d8d2; border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; flex: none; }
.sdsg-toggle span, .sdsg-toggle span::before, .sdsg-toggle span::after { display: block; width: 22px; height: 2px; background: var(--sdsg-ink); position: relative; content: ""; transition: transform .3s; }
.sdsg-toggle span::before { position: absolute; top: -7px; } .sdsg-toggle span::after { position: absolute; top: 7px; }
.sdsg-nav-open .sdsg-toggle span { background: transparent; }
.sdsg-nav-open .sdsg-toggle span::before { transform: translateY(7px) rotate(45deg); }
.sdsg-nav-open .sdsg-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1100px) {
	.sdsg-toggle { display: inline-flex; }
	.sdsg-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--sdsg-line); box-shadow: 0 20px 40px rgba(6,37,33,.12); flex-direction: column; align-items: stretch; padding: 8px 24px 20px; }
	.sdsg-nav-open .sdsg-nav { display: flex; }
	.sdsg-menu { flex-direction: column; align-items: stretch; }
	.sdsg-menu a { padding: 14px 4px; border-bottom: 1px solid var(--sdsg-line); }
	.sdsg-menu a::after { display: none; }
	.sdsg-cta { margin: 12px 0 0; text-align: center; }
}
@media (max-width: 480px) { .sdsg-brand-name { font-size: 17px; } .sdsg-brand img { width: 48px; height: 48px; } .sdsg-brand-sub { display: none; } }

/* ---------- hero slider ---------- */
.sdsg-slides { display: grid; }
.sdsg-slide { grid-area: 1 / 1; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; opacity: 0; transform: translateY(24px); visibility: hidden; pointer-events: none; transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1), visibility .9s; }
.sdsg-slide.is-active { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.sdsg-slide-img { transform: scale(1.12); transition: transform 6.5s ease-out; }
.sdsg-slide.is-active .sdsg-slide-img { transform: scale(1); }
.sdsg-dots { display: flex; gap: 10px; flex: 1 1 300px; max-width: 480px; }
.sdsg-dot { flex: 1 1 0; min-height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; flex-direction: column; justify-content: center; gap: 8px; text-align: left; color: #cfe3dd; font-size: 13px; font-weight: 700; }
.sdsg-track { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); overflow: hidden; }
.sdsg-fill { display: block; height: 100%; background: var(--sdsg-saffron); transform: scaleX(0); transform-origin: left; }
.sdsg-dot.is-active .sdsg-fill { animation: bar 6s linear both; }
.sdsg-hero.is-paused .sdsg-dot.is-active .sdsg-fill { animation-play-state: paused; }

/* ---------- gallery ---------- */
.sdsg-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.sdsg-filter { min-height: 46px; padding: 0 20px; border-radius: 999px; border: 2px solid #c6d8d2; background: #fff; color: var(--sdsg-ink); font-weight: 800; font-size: 16px; cursor: pointer; }
.sdsg-filter.is-active { border-color: var(--sdsg-teal); background: var(--sdsg-teal); color: #fff; }
.sdsg-gitem[hidden] { display: none; }

/* ---------- enquiry form ---------- */
.sdsg-form-card { background: #fff; border-radius: 24px; padding: clamp(20px, 3vw, 36px); box-shadow: 0 20px 50px rgba(6,37,33,.16); display: flex; flex-direction: column; gap: 18px; color: var(--sdsg-ink); }
.sdsg-form { display: flex; flex-direction: column; gap: 16px; }
.sdsg-form h3, .sdsg-sent h3 { margin: 0; font-family: 'Fraunces', Georgia, serif; font-size: 28px; color: var(--sdsg-teal); }
.sdsg-form-note { margin: 0; font-size: 15px; color: var(--sdsg-muted); }
.sdsg-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.sdsg-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.sdsg-field label { font-weight: 700; font-size: 15px; }
.sdsg-field input, .sdsg-field select, .sdsg-field textarea { width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid #c6d8d2; border-radius: 12px; font-size: 16px; background: #fff; color: var(--sdsg-ink); }
.sdsg-field textarea { padding: 12px 14px; resize: vertical; }
.sdsg-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--sdsg-muted); }
.sdsg-consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; }
.sdsg-submit { min-height: 54px; border: 0; border-radius: 999px; background: var(--sdsg-red); color: #fff; font-size: 18px; font-weight: 800; cursor: pointer; }
.sdsg-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sdsg-error { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fde4dc; color: #8a2410; font-weight: 700; }
.sdsg-sent { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 24px 0; }
.sdsg-tick { width: 64px; height: 64px; border-radius: 50%; background: #e3f5e1; color: #2e7d32; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; }
.sdsg-outline-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 2px solid var(--sdsg-teal); border-radius: 999px; background: #fff; color: var(--sdsg-teal); font-weight: 800; text-decoration: none; }

/* ---------- map ---------- */
.sdsg-map { flex: 1 1 auto; min-height: 320px; border-radius: 24px; overflow: hidden; background: #e0efea; }
.sdsg-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.sdsg-map-empty { border: 2px dashed #9cc3b8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; }
.sdsg-map-empty strong { font-family: 'Fraunces', Georgia, serif; font-size: 24px; color: var(--sdsg-teal); }
.sdsg-map-empty span { color: var(--sdsg-muted); font-size: 15px; }
.sdsg-dir { align-self: flex-start; padding: 12px 22px; border-radius: 999px; background: var(--sdsg-teal); color: #fff !important; text-decoration: none; font-weight: 800; }

/* ---------- blog ---------- */
.sdsg-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.sdsg-card { background: #fff; border: 1px solid var(--sdsg-line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.sdsg-card-img { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--sdsg-tint); }
.sdsg-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sdsg-card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sdsg-tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: #e0efea; color: var(--sdsg-teal); font-size: 13px; font-weight: 800; text-decoration: none; }
.sdsg-card h3 { margin: 0; font-family: 'Fraunces', Georgia, serif; font-size: 22px; line-height: 1.2; }
.sdsg-card h3 a { color: var(--sdsg-ink); text-decoration: none; }
.sdsg-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sdsg-muted); }
.sdsg-meta { font-size: 14px; font-weight: 700; color: var(--sdsg-muted); }
.sdsg-more { font-weight: 800; text-decoration: none; margin-top: auto; }
.sdsg-featured { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; background: var(--sdsg-tint); border-radius: 28px; padding: clamp(20px, 3vw, 36px); }
.sdsg-featured-img { flex: 1 1 380px; max-width: 560px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; }
.sdsg-featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sdsg-featured-text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 14px; }
.sdsg-featured h2 { margin: 0; font-family: 'Fraunces', Georgia, serif; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; }
.sdsg-featured h2 a { color: var(--sdsg-ink); text-decoration: none; }
.sdsg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sdsg-chip { padding: 8px 16px; border-radius: 999px; background: var(--sdsg-tint); font-weight: 700; font-size: 15px; text-decoration: none; color: var(--sdsg-ink); }
.sdsg-chip.is-active { background: var(--sdsg-teal); color: #fff; }
.sdsg-btn { display: inline-flex; align-items: center; align-self: flex-start; padding: 12px 22px; border-radius: 999px; background: var(--sdsg-teal); color: #fff !important; text-decoration: none; font-weight: 800; }
.sdsg-pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.sdsg-pager .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 999px; border: 1.5px solid #c6d8d2; text-decoration: none; font-weight: 800; color: var(--sdsg-ink); }
.sdsg-pager .current { background: var(--sdsg-teal); border-color: var(--sdsg-teal); color: #fff; }
.sdsg-empty { padding: 20px; border-radius: 16px; background: var(--sdsg-tint); color: var(--sdsg-muted); font-weight: 600; }

/* ---------- reading pages (posts, plain pages) ---------- */
.sdsg-section { padding: clamp(40px, 6vw, 80px) 0; }
.sdsg-entry { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.75; }
.sdsg-entry > * + * { margin-top: 1.1em; }
.sdsg-entry h2, .sdsg-entry h3 { font-family: 'Fraunces', Georgia, serif; line-height: 1.2; color: var(--sdsg-ink); margin-top: 1.6em; }
.sdsg-entry img { border-radius: 16px; }
.sdsg-entry blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--sdsg-saffron); color: var(--sdsg-muted); }
.sdsg-entry .alignwide { max-width: 1100px; margin-left: 50%; transform: translateX(-50%); width: 100vw; }
.sdsg-entry-hero { max-width: 1000px; margin: 0 auto 40px; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; }
.sdsg-entry-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sdsg-post-nav { max-width: 760px; margin: 48px auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-weight: 800; }

/* ---------- footer ---------- */
.sdsg-footer { background: var(--sdsg-dark); color: #cfe3dd; }
.sdsg-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding-top: 56px; padding-bottom: 32px; }
.sdsg-footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.sdsg-footer-col h2 { margin: 0 0 4px; font-size: 16px; font-weight: 800; color: var(--sdsg-saffron); }
.sdsg-footer-name { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 22px; color: #fff; }
.sdsg-footer p { margin: 0; line-height: 1.6; }
.sdsg-footer a { color: #cfe3dd; text-decoration: none; }
.sdsg-footer a:hover { color: #fff; }
.sdsg-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sdsg-footer-cta { align-self: flex-start; padding: 12px 20px; border-radius: 999px; background: var(--sdsg-saffron); color: var(--sdsg-ink) !important; font-weight: 800; }
.sdsg-footer-bottom { border-top: 1px solid #174a43; }
.sdsg-footer-bottom .sdsg-wrap { padding-top: 16px; padding-bottom: 16px; font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .sdsg-slide-img { transform: none; } }

/* ---------- home hero (big name + building) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes lift { from { opacity: 0; transform: translate(-50%, 40px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes fade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes turn { to { transform: rotate(360deg); } }
.hx-l { display: inline-block; animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.hx-b { animation: lift 1.2s .35s cubic-bezier(.2,.7,.2,1) both; }
.hx-f { animation: fade .9s 1s both; } .hx-f2 { animation: fade .9s 1.15s both; } .hx-f3 { animation: fade .9s 1.3s both; }
.hx-turn { animation: turn 18s linear infinite; }
.sdsg-hero2 a:hover { color: inherit; }
@media (max-width: 900px) {
	.hx-word { font-size: 12vw !important; top: 170px !important; letter-spacing: 0 !important; }
	.hx-b { width: 125vw !important; }
	.hx-badge { display: none !important; }
	.hx-hero { height: 700px !important; }
}

/* ---------- transparent header over the home hero ---------- */
body .sdsg-topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 60; background: rgba(6,37,33,.55); }
body .sdsg-header { position: fixed; left: 0; right: 0; top: calc(var(--sdsg-tb, 38px) + var(--sdsg-ab, 0px)); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: rgba(255,255,255,.18); transition: background .3s, top .3s, box-shadow .3s; }
body.sdsg-stuck .sdsg-header { top: var(--sdsg-ab, 0px); background: rgba(255,255,255,.95); border-bottom-color: var(--sdsg-line); box-shadow: 0 10px 30px rgba(6,37,33,.08); }
body:not(.sdsg-stuck) .sdsg-brand-name { color: #fff; }
body:not(.sdsg-stuck) .sdsg-brand-sub { color: #d7e9e4; }
body:not(.sdsg-stuck) .sdsg-cta { background: var(--sdsg-saffron); color: var(--sdsg-ink) !important; }
body:not(.sdsg-stuck) .sdsg-toggle { background: transparent; border-color: rgba(255,255,255,.6); }
body:not(.sdsg-stuck) .sdsg-header:not(.sdsg-nav-open) .sdsg-toggle span,
body:not(.sdsg-stuck) .sdsg-header:not(.sdsg-nav-open) .sdsg-toggle span::before,
body:not(.sdsg-stuck) .sdsg-header:not(.sdsg-nav-open) .sdsg-toggle span::after { background: #fff; }
@media (min-width: 1101px) {
	body:not(.sdsg-stuck) .sdsg-menu a { color: #fff; }
}

/* brand like the hero: small saffron line + big name */
.sdsg-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.sdsg-brand-kicker { font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #a86b00; }
.sdsg-brand-text .sdsg-brand-name { font-size: 24px; }
body:not(.sdsg-stuck) .sdsg-brand-kicker { color: #ffd27a; }
.sdsg-menu .current-menu-item > a::after, .sdsg-menu .current_page_parent > a::after { transform: scaleX(1); }
@media (max-width: 900px) { .hx-inner-body, .hx-inner > div[style*="padding: 200px"] { padding-top: 170px !important; } .hx-ghost { display: none; } }
@media (max-width: 480px) { .sdsg-brand-text .sdsg-brand-name { font-size: 20px; } .sdsg-brand-kicker { font-size: 11px; } }

/* ---------- Social media (v1.2.0) ---------- */
.sdsg-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sdsg-social a { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.sdsg-social a:hover { transform: translateY(-2px); }
.sdsg-social a:focus-visible, .sdsg-follow-btn:focus-visible, .sdsg-share-btn:focus-visible, .sdsg-wa-float:focus-visible { outline: 3px solid var(--sdsg-saffron); outline-offset: 3px; }
.sdsg-footer ul.sdsg-social { flex-direction: row; gap: 10px; }
.sdsg-social-footer a { width: 44px; height: 44px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff !important; }
.sdsg-social-footer a:hover { background: var(--sdsg-saffron); border-color: var(--sdsg-saffron); color: var(--sdsg-ink) !important; }
.sdsg-footer-follow { margin-top: 10px; font-weight: 800; color: var(--sdsg-saffron); font-size: 15px; }
.sdsg-topbar .sdsg-wrap > span:last-child { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.sdsg-social-top { display: inline-flex; gap: 4px; margin-left: 10px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.25); vertical-align: middle; }
.sdsg-social-top a { width: 28px; height: 28px; color: #cfe3dd !important; }
.sdsg-social-top a:hover { color: var(--sdsg-saffron) !important; background: rgba(255,255,255,.1); }
@media (max-width: 640px) { .sdsg-social-top { display: none; } }

/* Follow us card (Contact page / [sdsg_social]) */
.sdsg-follow { padding: 0 0 72px; }
.sdsg-follow-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: linear-gradient(120deg, var(--sdsg-dark), #0b3b36 60%, #134d45); color: #d7e9e4; }
.sdsg-follow-text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; }
.sdsg-follow-kicker { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sdsg-saffron); }
.sdsg-follow h2 { margin: 0; font-family: 'Fraunces', Georgia, serif; font-size: clamp(26px, 3vw, 34px); color: #fff; line-height: 1.15; }
.sdsg-follow p { margin: 0; font-size: 16px; }
.sdsg-follow-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.sdsg-follow-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px; border-radius: 999px; background: #fff; color: var(--sdsg-ink) !important; font-weight: 800; text-decoration: none !important; transition: transform .2s; }
.sdsg-follow-btn:hover { transform: translateY(-2px); }
.sdsg-follow-btn.sdsg-soc-facebook svg { color: #1877f2; }
.sdsg-follow-btn.sdsg-soc-instagram svg { color: #d62976; }
.sdsg-follow-btn.sdsg-soc-youtube svg { color: #ff0000; }
.sdsg-follow-btn.sdsg-soc-whatsapp { background: #25d366; color: #0b2b1a !important; }
.sdsg-follow-btn.sdsg-soc-review { background: var(--sdsg-saffron); }

/* Blog share */
.sdsg-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px !important; padding-top: 24px; border-top: 1px solid #dbe7e3; font-size: 15px; font-weight: 700; }
.sdsg-share > span { margin-right: 4px; color: var(--sdsg-muted, #4b5d59); }
.sdsg-share-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid #dbe7e3; background: #fff; color: var(--sdsg-ink) !important; font: inherit; font-weight: 800; text-decoration: none !important; cursor: pointer; }
.sdsg-share-btn.sdsg-soc-whatsapp svg { color: #25d366; }
.sdsg-share-btn.sdsg-soc-facebook svg { color: #1877f2; }

/* Floating WhatsApp */
.sdsg-wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px 0 15px; border-radius: 999px; background: #25d366; color: #fff !important; font-weight: 800; font-size: 15px; text-decoration: none !important; box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: transform .2s; }
.sdsg-wa-float:hover { transform: translateY(-3px); }
@media (max-width: 640px) { .sdsg-wa-float { right: 14px; bottom: 14px; width: 58px; padding: 0; justify-content: center; } .sdsg-wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .sdsg-social a, .sdsg-follow-btn, .sdsg-wa-float { transition: none; } }
@media print { .sdsg-wa-float, .sdsg-share { display: none !important; } }
