@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700;800&display=swap');

/* Darul Abedeen — emerald editorial visual system */
:root {
  --sd-wine: #087f68;
  --sd-wine-dark: #073f3b;
  --sd-gold: #d8ad5b;
  --sd-cream: #f4f5ef;
  --sd-ink: #102d2a;
  --sd-muted: #657773;
  --sd-line: rgba(16, 58, 53, .12);
  --sd-shadow: 0 18px 55px rgba(9, 54, 49, .11);
}

html { scroll-behavior: smooth; }
body {
  background: var(--sd-cream);
  color: var(--sd-ink);
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body, h1, h2, h3, h4, h5, h6, p, a, label, button, input, select, textarea, table, th, td {
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif !important;
}
a { color: var(--sd-wine); transition: color .2s ease, background .2s ease, transform .2s ease; }
a:hover, a:focus { color: var(--sd-wine-dark); text-decoration: none; }

.site-topbar { background: var(--sd-wine-dark); color: rgba(255,255,255,.78); font-size: 12px; letter-spacing: .02em; }
.site-topbar-inner { min-height: 34px; display: flex; justify-content: space-between; align-items: center; }
.site-topbar a { color: rgba(255,255,255,.82); margin-left: 24px; }
.site-topbar i { color: var(--sd-gold); margin-right: 6px; }
.site-topbar .site-login-link { display: inline-flex; align-items: center; min-height: 26px; margin-left: 18px; padding: 3px 12px; border: 1px solid rgba(240,207,139,.4); border-radius: 100px; color: #fff; font-weight: 700; }
.site-topbar .site-login-link:hover, .site-topbar .site-login-link:focus { color: var(--sd-wine-dark); background: var(--sd-gold); border-color: var(--sd-gold); }
.site-topbar .site-login-link:hover i, .site-topbar .site-login-link:focus i { color: var(--sd-wine-dark); }

#navbar-section.navbar {
  min-height: 82px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255,255,255,.97);
  box-shadow: 0 8px 30px rgba(7, 63, 59, .08);
  z-index: 1000;
  position: sticky;
  top: 0;
}
#navbar-section .navbar-header { min-height: 82px; }
#navbar-section .navbar-brand {
  height: 82px;
  padding: 8px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark { position: relative; flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px 15px 15px 4px; background: var(--sd-wine); color: #fff; box-shadow: 0 10px 24px rgba(8,127,104,.22); }
.brand-mark i { position: absolute; left: 8px; top: 7px; color: #f3d99d; font-size: 13px; }
.brand-mark b { font-size: 16px; font-weight: 750; letter-spacing: -.04em; }
.brand-emblem { flex: 0 0 48px; width: 48px; height: 66px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.brand-emblem img { display: block; width: auto; height: 64px; max-width: 46px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; color: var(--sd-ink); white-space: nowrap; }
.brand-copy strong { font-size: 19px; font-weight: 750; letter-spacing: -.015em; }
.brand-copy small { color: var(--sd-wine); font-size: 9px; margin-top: 6px; letter-spacing: .16em; font-weight: 700; }
#navbar-section .navbar-nav > li > a {
  color: #36534f;
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  border: 0;
  margin: 0;
  position: relative;
}
#navbar-section .navbar-nav > li > a:after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 0;
  height: 3px; background: var(--sd-gold);
  transform: scaleX(0); transition: transform .2s ease;
}
#navbar-section .navbar-nav > li > a:hover:after,
#navbar-section .navbar-nav > li.active > a:after { transform: scaleX(1); }
#navbar-section .navbar-nav > .active > a,
#navbar-section .navbar-nav > .active > a:hover,
#navbar-section .navbar-nav > .active > a:focus { background: transparent; color: var(--sd-wine); }
#navbar-section .navbar-nav > li.active { background: transparent !important; color: inherit; }
#navbar-section .dropdown-menu { border: 0; border-radius: 12px; padding: 8px; box-shadow: var(--sd-shadow); }
#navbar-section .dropdown-menu > li > a { border-radius: 8px; padding: 9px 14px; }
#navbar-section .navbar-toggle { margin-top: 23px; border: 0; background: #e8f1ed; border-radius: 10px; padding: 11px; }
#navbar-section .navbar-toggle .icon-bar { background: var(--sd-wine); }
#navbar-section .nav-login-item { display: none; }

.home-hero {
  min-height: 650px;
  height: calc(100vh - 116px);
  max-height: 820px;
  position: relative;
  display: flex;
  align-items: center;
  background: #073f3b url('../img/slider/Office4.jpg') center center / cover no-repeat;
  color: #fff;
  isolation: isolate;
}
.home-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,36,35,.94) 0%, rgba(5,71,64,.75) 44%, rgba(7,63,59,.14) 78%), linear-gradient(0deg, rgba(3,31,30,.52), transparent 48%); }
.home-hero-content { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; width: 100%; }
.home-hero-copy { max-width: 720px; }
.hero-kicker, .section-kicker { display: inline-flex; align-items: center; gap: 10px; color: #f2d99c; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-kicker:before, .section-kicker:before { content: ""; width: 34px; height: 1px; background: currentColor; }
.home-hero h1 { color: #fff; font-size: clamp(48px, 6.2vw, 88px); line-height: 1.04; font-weight: 700; letter-spacing: -.035em; margin: 18px 0 22px; text-shadow: 0 5px 30px rgba(0,0,0,.25); }
.home-hero h1 span { color: #f0cf8b; }
.home-hero-copy > p { max-width: 660px; color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.8; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-btn { min-height: 50px; padding: 13px 22px; border-radius: 100px; font-weight: 700; display: inline-flex; gap: 10px; align-items: center; justify-content: center; }
.hero-btn-primary { background: #f0cf8b; color: #173a34; box-shadow: 0 12px 32px rgba(216,173,91,.28); }
.hero-btn-primary:hover { color: #102d2a; background: #ffe1a0; transform: translateY(-2px); }
.hero-btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.hero-btn-ghost:hover { color: #fff; background: rgba(255,255,255,.16); }
.hero-fact { width: 300px; display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 18px; background: rgba(3,45,42,.44); backdrop-filter: blur(10px); }
.hero-fact-icon { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #2b190b; background: var(--sd-gold); font-size: 19px; }
.hero-fact small, .hero-fact strong { display: block; }
.hero-fact small { color: #f0dcae; font-size: 11px; margin-bottom: 3px; }
.hero-fact strong { font-size: 14px; line-height: 1.45; }
.hero-scroll { position: absolute; bottom: 20px; left: 50%; width: 38px; height: 38px; margin-left: -19px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; display: grid; place-items: center; color: #fff; animation: sd-bob 1.8s ease-in-out infinite; }
.hero-scroll:hover { color: #fff; background: rgba(255,255,255,.12); }
@keyframes sd-bob { 50% { transform: translateY(5px); } }

.quick-access { position: relative; z-index: 5; margin-top: -46px; }
.quick-access-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--sd-shadow); border: 1px solid rgba(255,255,255,.7); }
.quick-card { min-height: 118px; display: flex; align-items: center; gap: 14px; padding: 22px; color: var(--sd-ink); border-right: 1px solid var(--sd-line); }
.quick-card:last-child { border-right: 0; }
.quick-card:hover { color: var(--sd-wine); background: #f7fbf8; }
.quick-icon { flex: 0 0 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #e8f4ef; color: var(--sd-wine); font-size: 18px; }
.quick-card small, .quick-card strong { display: block; }
.quick-card small { color: #8a9a96; font-size: 10px; margin-bottom: 4px; }
.quick-card strong { font-size: 14px; line-height: 1.35; }
.quick-arrow { margin-left: auto; color: #a1afac; }
.highlights-section { padding: 80px 0 35px; background: var(--sd-cream); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-heading .section-kicker { color: var(--sd-wine); }
.section-heading h2 { font-size: 34px; line-height: 1.25; font-weight: 750; margin: 8px 0 0; color: var(--sd-ink); }
.section-heading > a { font-size: 14px; font-weight: 700; padding-bottom: 7px; border-bottom: 1px solid rgba(8,127,104,.28); }
#carousel-section .row { margin: 0; }
#carousel-1 { border-radius: 24px; overflow: hidden; background: var(--sd-wine-dark); box-shadow: var(--sd-shadow); }
#carousel-1 .carousel-inner > .item { height: 460px; background: #082f2c; }
#carousel-1 .carousel-inner > .item > img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .9; }
#carousel-1 .carousel-caption { left: 0; right: 0; bottom: 0; padding: 70px 7% 30px; text-align: left; background: linear-gradient(transparent, rgba(3,34,32,.9)); text-shadow: none; }
#carousel-1 .carousel-title { font-size: 25px; font-weight: 700; color: #fff; }
#carousel-1 .carousel-body { color: rgba(255,255,255,.78); }
#carousel-1 .carousel-control { width: 8%; opacity: .82; background: none; }
#carousel-1 .carousel-indicators { bottom: 12px; text-align: right; width: 86%; left: 7%; margin: 0; }
#carousel-1 .carousel-indicators li { width: 22px; height: 4px; margin: 0 3px; border: 0; border-radius: 5px; background: rgba(255,255,255,.45); }
#carousel-1 .carousel-indicators .active { background: var(--sd-gold); }

#services.services-section { padding: 60px 0 90px; background: var(--sd-cream); }
.world-catagory-area { border: 1px solid var(--sd-line); border-radius: 20px; background: #fff; padding: 24px; box-shadow: 0 10px 35px rgba(9,54,49,.06); margin-bottom: 28px; }
.world-catagory-area .nav-tabs { height: auto; min-height: 44px; border-bottom: 1px solid var(--sd-line); margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; }
.world-catagory-area .nav-tabs .title { font-size: 24px; font-weight: 750; color: var(--sd-ink); line-height: 1.3; }
.btn.world-btn { border: 0; border-radius: 100px; background: #e8f4ef; color: var(--sd-wine); font-size: 12px; font-weight: 700; padding: 8px 16px; min-width: auto; height: auto; line-height: 1.4; }
.btn.world-btn:hover { background: var(--sd-wine); color: #fff; }
.single-blog-post { border-radius: 16px; overflow: hidden; background: #fff; margin-bottom: 22px; }
.single-blog-post .post-thumbnail { border-radius: 14px; overflow: hidden; background: #eee; }
.single-blog-post .post-thumbnail img { width: 100%; object-fit: cover; transition: transform .35s ease; }
.single-blog-post:hover .post-thumbnail img { transform: scale(1.035); }
.single-blog-post .post-content { padding-top: 14px; }
.single-blog-post .post-content .headline h5 { color: var(--sd-ink); font-size: 17px; font-weight: 700; line-height: 1.45; }
.single-blog-post .post-content p { color: var(--sd-muted); line-height: 1.65; }
.single-blog-post .post-content .post-meta p { color: var(--sd-wine); font-size: 12px; }
.single-blog-post.post-style-2 { border: 1px solid var(--sd-line); padding: 10px; border-radius: 14px; }
.services-row { margin-top: 24px; }
.services-group { min-height: 240px; padding: 32px !important; border-radius: 20px; background: #fff; border: 1px solid var(--sd-line); box-shadow: 0 10px 35px rgba(9,54,49,.06); text-align: left !important; }
.services-group .services-icon { color: var(--sd-gold) !important; }
.services-group .services-title { color: var(--sd-ink); font-size: 21px; font-weight: 700; }
.services-group .services-body { color: var(--sd-muted); }
.services-group .services-more a { color: var(--sd-wine); font-weight: 700; }

.sidebar-widget-area { border: 1px solid var(--sd-line); border-radius: 18px; background: #fff; padding: 20px; margin-bottom: 22px !important; box-shadow: 0 10px 35px rgba(9,54,49,.06); }
.sidebar-widget-area .title { font-size: 19px; color: var(--sd-ink); font-weight: 750; border-bottom-color: var(--sd-line); }
.card-radio { width: 100% !important; height: auto !important; min-height: 510px; margin: 0 !important; padding: 28px 18px !important; border-radius: 20px !important; background: radial-gradient(circle at 50% 18%, #0d8874, #074b44 62%, #052f2d) !important; box-shadow: none !important; }
.play-btn { color: #fff; transition: transform .2s ease; }
.play-btn:hover { transform: scale(1.06); }
.fb-page, .fb-page span, .fb-page iframe { max-width: 100% !important; }

.site-footer { padding: 60px 0 35px; background: #062f2e; color: rgba(255,255,255,.7); }
.footer-brand-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 28px; margin-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand-mark { background: rgba(255,255,255,.1); box-shadow: none; border: 1px solid rgba(255,255,255,.12); }
.footer-brand-emblem { position: relative; flex: 0 0 62px; width: 62px; height: 70px; display: block; padding: 4px; overflow: hidden; border-radius: 15px; background: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.16); }
.footer-brand-emblem img { position: absolute; left: 50%; top: 50%; display: block; width: auto; height: 62px; max-width: 52px; margin: 0 !important; object-fit: contain; object-position: center; transform: translate(-50%, -50%); }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: #fff; font-size: 20px; }
.footer-brand span { color: rgba(255,255,255,.55); font-size: 12px; }
.footer-map-link { border: 1px solid rgba(255,255,255,.18); color: #fff; border-radius: 100px; padding: 10px 17px; font-size: 13px; }
.footer-map-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-footer h3 { color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .03em; margin: 0 0 18px; }
.site-footer p, .site-footer .footer-contact { color: rgba(255,255,255,.62); font-size: 14px; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: #f0c870; }
.site-footer .footer-note { max-width: 440px; color: rgba(255,255,255,.43); font-size: 13px; }
.site-footer .footer-links { display: flex; flex-direction: column; gap: 9px; }
.site-footer .footer-links h3 { margin-bottom: 10px; }
.site-footer .footer-links a { display: block; font-size: 14px; }
.site-footer .footer-links i { width: 20px; color: var(--sd-gold); }
.copyright { background: #042422; padding: 15px; }
.copyright p { color: rgba(255,255,255,.46); margin: 0; font-size: 12px; }
.scroll-top-btn { position: fixed; right: 22px; bottom: 22px; z-index: 1200; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: var(--sd-wine); box-shadow: 0 12px 30px rgba(7,63,59,.25); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.scroll-top-btn.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--sd-wine-dark); }

/* Floating radio player */
.floating-radio { position: fixed; z-index: 1350; right: 20px; top: 50%; width: 78px; height: 70px; transform: translateY(-50%); }
.floating-radio-toggle { position: relative; width: 78px; height: 70px; padding: 0 0 17px; border: 0; border-radius: 22px 22px 22px 7px; color: #fff; background: linear-gradient(145deg, #b51d2c, #700912); box-shadow: 0 14px 35px rgba(90,7,18,.32); transition: transform .25s ease, box-shadow .25s ease, border-radius .25s ease; }
.floating-radio-toggle:hover, .floating-radio-toggle:focus { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 40px rgba(90,7,18,.42); outline: none; }
.floating-radio-toggle i { position: relative; z-index: 2; color: #f4cc72; font-size: 22px; }
.floating-radio-toggle small { position: absolute; z-index: 3; left: 5px; right: 5px; bottom: 6px; padding: 3px 2px; border: 1px solid rgba(255,255,255,.2); border-radius: 100px; color: #fff; background: rgba(66,2,9,.42); font-size: 8px; line-height: 1; font-weight: 800; letter-spacing: .015em; white-space: nowrap; }
.floating-radio-toggle-ring { position: absolute; inset: 7px; border: 1px solid rgba(255,255,255,.2); border-radius: 17px 17px 17px 4px; }
.floating-radio.is-playing .floating-radio-toggle-ring { animation: radio-ring 1.8s ease-out infinite; }
.floating-radio-panel { position: absolute; top: 50%; right: 92px; width: 350px; min-height: 500px; padding: 30px 28px 27px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 30px; color: #fff; background: radial-gradient(circle at 50% 18%, #68131c 0%, #3b080d 42%, #210306 100%); box-shadow: 0 25px 65px rgba(39,2,8,.34); opacity: 0; visibility: hidden; pointer-events: none; transform: translate(40px, -50%) scale(.96); transform-origin: right center; transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .25s ease, visibility .35s; text-align: center; }
.floating-radio-panel:before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(145deg, rgba(255,255,255,.08), transparent 38%); }
.floating-radio.is-open .floating-radio-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(0, -50%) scale(1); }
.floating-radio.is-open .floating-radio-toggle { border-radius: 50%; transform: rotate(-8deg); }
.floating-radio-close { position: absolute; z-index: 2; top: 15px; right: 15px; width: 34px; height: 34px; padding: 0; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; color: rgba(255,255,255,.74); background: rgba(255,255,255,.07); }
.floating-radio-close:hover, .floating-radio-close:focus { color: #fff; background: rgba(255,255,255,.15); outline: none; }
.floating-radio-live { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 100px; color: #ffd88a; background: rgba(255,216,138,.1); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.floating-radio-live i { width: 7px; height: 7px; border-radius: 50%; background: #ff4052; box-shadow: 0 0 0 5px rgba(255,64,82,.1); }
.floating-radio-panel h2 { position: relative; margin: 17px 0 0; color: #fff; font-size: 23px; font-weight: 750; }
.floating-radio-frequency { position: relative; display: block; margin-top: 2px; color: #f4cc72; font-size: 30px; line-height: 1.25; letter-spacing: -.02em; }
.floating-radio-frequency small { font-size: 12px; letter-spacing: .08em; }
.floating-radio-visual { position: relative; height: 70px; margin: 14px auto 6px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.floating-radio-visual span { width: 6px; height: 15px; border-radius: 10px; background: linear-gradient(#ffd984, #ff4656); transform-origin: center; }
.floating-radio-visual span:nth-child(2), .floating-radio-visual span:nth-child(6) { height: 28px; }
.floating-radio-visual span:nth-child(3), .floating-radio-visual span:nth-child(5) { height: 44px; }
.floating-radio-visual span:nth-child(4) { height: 60px; }
.floating-radio.is-playing .floating-radio-visual span { animation: radio-bar .85s ease-in-out infinite alternate; }
.floating-radio.is-playing .floating-radio-visual span:nth-child(2), .floating-radio.is-playing .floating-radio-visual span:nth-child(6) { animation-delay: -.2s; }
.floating-radio.is-playing .floating-radio-visual span:nth-child(3), .floating-radio.is-playing .floating-radio-visual span:nth-child(5) { animation-delay: -.45s; }
.floating-radio.is-playing .floating-radio-visual span:nth-child(4) { animation-delay: -.65s; }
.floating-radio-listener-info { position: relative; margin: 0 0 14px; padding: 12px 14px; border: 1px solid rgba(255,216,138,.16); border-radius: 14px; background: rgba(23,1,4,.32); }
.floating-radio-listener-info strong, .floating-radio-listener-info span { display: block; }
.floating-radio-listener-info strong { overflow: hidden; color: #fff; font-size: 12px; line-height: 1.55; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.floating-radio-listener-info span { margin-top: 4px; color: rgba(255,255,255,.6); font-size: 10px; }
.floating-radio-status { min-height: 21px; margin: 0 0 10px; color: rgba(255,255,255,.77); font-size: 12px; }
.floating-radio-play { position: relative; width: 62px; height: 62px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #ff293d, #c70818); box-shadow: 0 12px 28px rgba(255,25,50,.3); transition: transform .2s ease; }
.floating-radio-play:hover, .floating-radio-play:focus { color: #fff; transform: scale(1.06); outline: none; }
.floating-radio-play i { margin-left: 3px; font-size: 18px; }
.floating-radio-play .fa-pause { margin-left: 0; }
.floating-radio-meta { margin-top: 15px; color: #f2bdca; font-size: 11px; }
.floating-radio-meta i { margin-right: 5px; color: #f4cc72; }
.floating-radio-location { margin: 18px 0 0; color: rgba(255,255,255,.82); font-size: 13px; line-height: 1.55; }
@keyframes radio-bar { from { transform: scaleY(.38); opacity: .55; } to { transform: scaleY(1); opacity: 1; } }
@keyframes radio-ring { 0% { box-shadow: 0 0 0 0 rgba(255,216,138,.4); } 70%,100% { box-shadow: 0 0 0 13px rgba(255,216,138,0); } }

@media (max-width: 767px) {
  .floating-radio { right: 12px; width: 72px; height: 66px; }
  .floating-radio-toggle { width: 72px; height: 66px; padding-bottom: 16px; border-radius: 19px 19px 19px 6px; }
  .floating-radio-toggle i { font-size: 19px; }
  .floating-radio-toggle small { left: 4px; right: 4px; bottom: 5px; font-size: 7.5px; }
  .floating-radio-panel { right: 82px; width: min(320px, calc(100vw - 102px)); min-height: 470px; padding: 26px 20px 23px; border-radius: 24px; }
  .floating-radio-panel h2 { font-size: 20px; }
  .floating-radio-frequency { font-size: 27px; }
  .floating-radio-visual { height: 60px; }
  .floating-radio-play { width: 58px; height: 58px; }
}

/* Modern news and activity detail pages */
.article-modern-page { background: #f5f4ee; }
.article-detail-hero { position: relative; overflow: hidden; padding: 66px 0 78px; color: #fff; background: linear-gradient(118deg, #073d39 0%, #08745f 70%, #17876a 100%); }
.article-news-page .article-detail-hero { background: linear-gradient(118deg, #073d39 0%, #096c5d 68%, #168066 100%); }
.article-detail-hero:before { content: ""; position: absolute; right: -110px; top: -210px; width: 510px; height: 510px; border: 1px solid rgba(240,207,139,.24); border-radius: 50%; box-shadow: 0 0 0 72px rgba(240,207,139,.045), 0 0 0 144px rgba(240,207,139,.025); }
.article-detail-hero-inner { position: relative; z-index: 1; max-width: 980px; }
.article-breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 24px; color: rgba(255,255,255,.58); font-size: 12px; }
.article-breadcrumb a { color: rgba(255,255,255,.78); }
.article-breadcrumb a:hover { color: #f4d58f; }
.article-type { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 13px; color: #f2cd7d; font-size: 12px; font-weight: 750; letter-spacing: .05em; }
.article-detail-hero h1 { max-width: 880px; margin: 0; color: #fff; font-size: clamp(34px, 4.1vw, 55px); line-height: 1.28; font-weight: 780; letter-spacing: -.025em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 11px 25px; margin-top: 24px; color: rgba(255,255,255,.7); font-size: 13px; }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta i { color: #f2cd7d; }
.article-detail-main { position: relative; z-index: 2; padding: 0 0 90px; }
.article-detail-container { max-width: 980px; }
.article-detail-card { margin-top: -38px; padding: 34px; border: 1px solid rgba(8,84,73,.1); border-radius: 28px; background: #fff; box-shadow: 0 24px 70px rgba(5,57,52,.12); }
.article-slider { margin-bottom: 34px; outline: 0; }
.article-slider-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid #d8e5df; border-radius: 22px; background: #e9efeb; }
.article-slide { position: absolute; inset: 0; display: block; animation: article-slide-in .32s ease; }
.article-slide[hidden] { display: none; }
.article-slide img { width: 100%; height: 100%; object-fit: contain; }
.article-slide span { position: absolute; inset: auto 0 0; padding: 65px 24px 20px; color: #fff; background: linear-gradient(transparent, rgba(3,42,39,.82)); font-size: 13px; line-height: 1.55; }
.article-slider-arrow { position: absolute; z-index: 3; top: 50%; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: #fff; background: rgba(4,55,51,.72); box-shadow: 0 10px 25px rgba(0,0,0,.2); transform: translateY(-50%); transition: background .2s ease, transform .2s ease; }
.article-slider-arrow:hover { background: var(--sd-wine); transform: translateY(-50%) scale(1.06); }
.article-slider-arrow.is-prev { left: 18px; }
.article-slider-arrow.is-next { right: 18px; }
.article-slider-arrow i { font-size: 25px; }
.article-slider-count { position: absolute; z-index: 3; right: 17px; bottom: 16px; padding: 7px 12px; border-radius: 20px; color: #fff; background: rgba(3,42,39,.78); font-size: 11px; }
.article-slider-thumbs { display: flex; gap: 9px; overflow-x: auto; padding: 12px 2px 4px; scrollbar-width: thin; scrollbar-color: #8eaaa3 transparent; }
.article-slider-thumb { flex: 0 0 92px; width: 92px; height: 68px; overflow: hidden; padding: 3px; border: 2px solid transparent; border-radius: 12px; background: #edf2ef; opacity: .68; transition: border-color .2s ease, opacity .2s ease, transform .2s ease; }
.article-slider-thumb:hover { opacity: 1; transform: translateY(-2px); }
.article-slider-thumb.is-active { border-color: var(--sd-gold); opacity: 1; }
.article-slider-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
@keyframes article-slide-in { from { opacity: .25; transform: scale(1.012); } to { opacity: 1; transform: scale(1); } }
.article-lightbox-open { overflow: hidden; }
.article-lightbox { position: fixed; z-index: 10050; inset: 0; display: none; align-items: center; justify-content: center; padding: 58px 82px; background: rgba(1,20,19,.94); backdrop-filter: blur(8px); }
.article-lightbox.is-open { display: flex; animation: article-lightbox-in .22s ease; }
.article-lightbox figure { position: relative; max-width: min(1180px, 100%); max-height: 100%; margin: 0; text-align: center; }
.article-lightbox figure img { display: block; max-width: 100%; max-height: calc(100vh - 116px); margin: auto; border-radius: 12px; box-shadow: 0 25px 70px rgba(0,0,0,.45); }
.article-lightbox figcaption { position: absolute; inset: auto 0 0; padding: 55px 18px 17px; border-radius: 0 0 12px 12px; color: #fff; background: linear-gradient(transparent, rgba(1,26,24,.88)); font-size: 13px; }
.article-lightbox-close, .article-lightbox-arrow { position: absolute; z-index: 2; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; background: rgba(255,255,255,.1); transition: background .2s ease, transform .2s ease; }
.article-lightbox-close:hover, .article-lightbox-arrow:hover { color: #fff; background: var(--sd-wine); }
.article-lightbox-close { top: 20px; right: 24px; width: 44px; height: 44px; }
.article-lightbox-arrow { top: 50%; width: 50px; height: 50px; transform: translateY(-50%); }
.article-lightbox-arrow:hover { transform: translateY(-50%) scale(1.06); }
.article-lightbox-arrow.is-prev { left: 22px; }
.article-lightbox-arrow.is-next { right: 22px; }
.article-lightbox-arrow[hidden] { display: none; }
.article-lightbox-count { position: absolute; left: 50%; bottom: 18px; padding: 7px 13px; border-radius: 20px; color: #fff; background: rgba(255,255,255,.12); font-size: 11px; transform: translateX(-50%); }
@keyframes article-lightbox-in { from { opacity: 0; } to { opacity: 1; } }
.article-lead { margin: 0 0 27px; padding: 19px 22px; border-left: 4px solid var(--sd-gold); border-radius: 0 14px 14px 0; color: #31524d; background: #edf5f1; font-size: 18px; line-height: 1.8; font-weight: 600; }
.article-body { color: #405b57; font-size: 16px; line-height: 1.95; overflow-wrap: anywhere; }
.article-body:after { content: ""; display: table; clear: both; }
.article-body h1, .article-body h2, .article-body h3, .article-body h4 { color: var(--sd-ink); line-height: 1.45; font-weight: 750; }
.article-body h2 { font-size: 27px; margin: 34px 0 14px; }
.article-body h3 { font-size: 22px; margin: 30px 0 12px; }
.article-body p { margin: 0 0 18px; }
.article-body img { max-width: 100% !important; height: auto !important; border-radius: 15px; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-body td, .article-body th { padding: 10px 12px; border: 1px solid var(--sd-line); }
.article-body a { color: var(--sd-wine); text-decoration: underline; text-underline-offset: 3px; }
.article-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 38px; padding: 20px; border: 1px solid #d8e8e1; border-radius: 17px; background: linear-gradient(135deg, #edf6f2, #f7faf7); }
.article-activity-page .article-actions { border-color: #ead9ad; background: linear-gradient(135deg, #fbf4e3, #f8faf5); }
.article-back, .article-facebook, .article-share { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 11px 17px; border: 0; border-radius: 13px; font-size: 13px; font-weight: 750; cursor: pointer; }
.article-back { color: var(--sd-wine); background: #e9f3ee; }
.article-back:hover { color: #fff; background: var(--sd-wine); }
.article-facebook { margin-left: auto; color: #fff; background: #1877f2; }
.article-facebook:hover { color: #fff; background: #0c64d6; }
.facebook-embed-card { margin: 0 0 30px; overflow: hidden; border: 1px solid #d8e3ef; border-radius: 20px; background: linear-gradient(145deg, #f7fbff, #f8faf7); }
.facebook-embed-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; border-bottom: 1px solid #d8e3ef; color: #173b5e; font-size: 13px; font-weight: 750; }
.facebook-embed-heading span { display: inline-flex; align-items: center; gap: 8px; }
.facebook-embed-heading span i { color: #1877f2; font-size: 18px; }
.facebook-embed-heading a { color: #1877f2; font-weight: 700; }
.facebook-embed-frame { display: flex; justify-content: center; min-height: 620px; padding: 22px 12px; overflow: hidden; background: #fff; }
.facebook-embed-frame iframe { display: block; max-width: 100%; border: 0; }
.facebook-embed-loading { align-self: center; display: flex; align-items: center; gap: 9px; color: var(--sd-muted); font-size: 13px; }
.facebook-embed-frame.is-unavailable { min-height: 255px; align-items: center; background: linear-gradient(145deg, #f7fbff, #fff); }
.facebook-embed-unavailable { display: flex; align-items: center; flex-direction: column; max-width: 460px; padding: 25px; text-align: center; }
.facebook-embed-unavailable > i { margin-bottom: 13px; color: #1877f2; font-size: 42px; }
.facebook-embed-unavailable strong { margin-bottom: 5px; color: var(--sd-ink); font-size: 18px; }
.facebook-embed-unavailable span { margin-bottom: 18px; color: var(--sd-muted); font-size: 13px; }
.facebook-embed-unavailable a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 11px 18px; border-radius: 12px; color: #fff; background: #1877f2; font-size: 13px; font-weight: 750; box-shadow: 0 10px 22px rgba(24,119,242,.2); }
.facebook-embed-unavailable a:hover { color: #fff; background: #0c64d6; }
.article-share { color: #2f2513; background: var(--sd-gold); }
.article-share:hover { background: #efc66e; }
.article-empty { padding: 55px 20px; text-align: center; }
.article-empty > i { width: 74px; height: 74px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 22px; color: var(--sd-wine); background: #e9f3ee; font-size: 26px; }
.article-empty h2 { color: var(--sd-ink); font-size: 28px; margin: 0 0 8px; }
.article-empty p { color: var(--sd-muted); margin-bottom: 24px; }

@media (max-width: 767px) {
  .facebook-embed-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .facebook-embed-frame { min-height: 560px; padding: 14px 5px; }
  .article-detail-hero { padding: 46px 0 62px; }
  .article-breadcrumb { margin-bottom: 18px; }
  .article-detail-hero h1 { font-size: 31px; }
  .article-meta { display: grid; gap: 8px; margin-top: 18px; }
  .article-detail-main { padding-bottom: 60px; }
  .article-detail-card { margin-top: -25px; padding: 17px; border-radius: 21px; }
  .article-slider { margin-bottom: 24px; }
  .article-slider-stage { aspect-ratio: 4 / 3; border-radius: 15px; }
  .article-slider-arrow { width: 40px; height: 40px; }
  .article-slider-arrow.is-prev { left: 10px; }
  .article-slider-arrow.is-next { right: 10px; }
  .article-slide span { padding: 48px 15px 14px; font-size: 11px; }
  .article-slider-count { right: 10px; bottom: 10px; }
  .article-slider-thumb { flex-basis: 76px; width: 76px; height: 58px; }
  .article-lightbox { padding: 68px 12px 74px; }
  .article-lightbox figure img { max-height: calc(100vh - 142px); border-radius: 8px; }
  .article-lightbox figcaption { padding: 42px 12px 12px; font-size: 11px; }
  .article-lightbox-close { top: 13px; right: 13px; }
  .article-lightbox-arrow { top: auto; bottom: 13px; width: 43px; height: 43px; transform: none; }
  .article-lightbox-arrow:hover { transform: scale(1.04); }
  .article-lightbox-arrow.is-prev { left: 13px; }
  .article-lightbox-arrow.is-next { right: 13px; }
  .article-lightbox-count { bottom: 22px; }
  .article-lead { padding: 15px 16px; font-size: 15px; }
  .article-body { font-size: 15px; line-height: 1.85; }
  .article-actions { align-items: stretch; flex-direction: column; }
  .article-back, .article-facebook, .article-share { width: 100%; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .floating-radio-panel, .floating-radio-toggle, .floating-radio-play { transition: none; }
  .floating-radio.is-playing .floating-radio-toggle-ring, .floating-radio.is-playing .floating-radio-visual span { animation: none; }
}

/* Modern about collection */
.about-modern-page { background: #f3f5f0; }
.about-modern-page .page-hero { padding-top: 82px; padding-bottom: 78px; }
.about-mosque-page .page-hero { background-image: linear-gradient(110deg, rgba(3,48,46,.97), rgba(7,116,96,.87)), url('../img/radio.jpg'); }
.about-school-page .page-hero { background-image: linear-gradient(110deg, rgba(35,51,39,.96), rgba(122,104,45,.82)), url('../img/slider/Office4.jpg'); }
.about-radio-page .page-hero { background-image: linear-gradient(110deg, rgba(52,5,12,.97), rgba(130,18,31,.84)), url('../img/radio.jpg'); }
.about-modern-main { position: relative; padding: 64px 0 96px; }
.about-modern-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; align-items: start; }
.about-story-card { overflow: hidden; border: 1px solid var(--sd-line); border-radius: 28px; background: #fff; box-shadow: 0 22px 60px rgba(9,54,49,.09); }
.about-story-heading { padding: 48px 52px 38px; }
.about-label { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 17px; color: var(--sd-wine); font-size: 12px; font-weight: 800; letter-spacing: .07em; }
.about-label i { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; color: #fff; background: var(--sd-wine); }
.about-story-heading h2 { max-width: 680px; margin: 0 0 18px; color: var(--sd-ink); font-size: 38px; line-height: 1.3; font-weight: 780; letter-spacing: -.025em; }
.about-story-heading p { max-width: 680px; margin: 0; color: var(--sd-muted); font-size: 16px; line-height: 1.8; }
.about-feature-media { position: relative; height: 390px; margin: 0 24px; overflow: hidden; border-radius: 22px; background: #dfe8e3; }
.about-feature-media:after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(3,38,35,.72)); }
.about-feature-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-feature-media figcaption { position: absolute; z-index: 2; left: 22px; bottom: 18px; display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 100px; color: #fff; background: rgba(3,42,39,.43); backdrop-filter: blur(8px); font-size: 12px; }
.about-school-media img { object-position: center 42%; }
.about-radio-media:before { content: "FM 100.75"; position: absolute; z-index: 2; right: 22px; top: 20px; padding: 8px 13px; border-radius: 100px; color: #fff; background: #8d1422; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.about-prose { padding: 48px 52px 34px; color: #3c5954; font-size: 16px; line-height: 1.95; }
.about-prose:before { content: ""; display: block; width: 54px; height: 3px; margin-bottom: 28px; border-radius: 4px; background: var(--sd-gold); }
.about-prose p { margin: 0 0 20px; color: #3c5954; font: inherit; line-height: 1.95; }
.about-prose h1, .about-prose h2, .about-prose h3, .about-prose h4, .about-prose h5 { margin: 34px 0 15px; color: var(--sd-ink); font-family: inherit; font-weight: 750; line-height: 1.45; }
.about-prose h1 { font-size: 31px; }
.about-prose h2 { font-size: 27px; }
.about-prose h3 { font-size: 22px; }
.about-prose img { max-width: 100%; height: auto; margin: 20px auto; border-radius: 16px; }
.about-prose table { display: block; width: 100% !important; overflow-x: auto; border-collapse: collapse; }
.about-prose td, .about-prose th { padding: 10px 12px; border: 1px solid var(--sd-line); }
.about-prose a { font-weight: 700; text-decoration: underline; text-decoration-color: rgba(8,127,104,.28); text-underline-offset: 3px; }
.about-prose font { font-family: inherit !important; }
.about-article-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 52px; padding: 22px 0 32px; border-top: 1px solid var(--sd-line); color: var(--sd-muted); background: #fff; font-size: 12px; }
.about-article-footer span { display: inline-flex; align-items: center; gap: 7px; }
.about-article-footer strong { color: var(--sd-wine); font-weight: 750; }
.about-side-rail { position: sticky; top: 108px; display: grid; gap: 22px; }
.about-community-card, .about-values-card, .about-radio-live-card, .about-explore-card { overflow: hidden; border-radius: 24px; }
.about-community-card { position: relative; padding: 34px; color: #fff; background: linear-gradient(145deg, #073f3b, #0f8b72); box-shadow: 0 20px 50px rgba(7,63,59,.18); }
.about-community-card:after { content: ""; position: absolute; right: -70px; top: -80px; width: 190px; height: 190px; border: 1px solid rgba(240,207,139,.19); border-radius: 50%; box-shadow: 0 0 0 32px rgba(240,207,139,.04), 0 0 0 65px rgba(240,207,139,.025); }
.about-card-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 28px; border-radius: 15px; color: #193b35; background: var(--sd-gold); font-size: 18px; }
.about-card-kicker { position: relative; z-index: 1; display: block; margin-bottom: 9px; color: #e8bd68; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.about-community-card h2, .about-values-card h2 { position: relative; z-index: 1; margin: 0 0 25px; color: #fff; font-size: 27px; line-height: 1.4; font-weight: 750; }
.about-stat-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; margin: 0 -10px 18px; }
.about-stat-grid div { padding: 0 10px; border-right: 1px solid rgba(255,255,255,.16); }
.about-stat-grid div:last-child { border-right: 0; }
.about-stat-grid strong, .about-stat-grid span { display: block; }
.about-stat-grid strong { color: #fff; font-size: 31px; line-height: 1.1; }
.about-stat-grid span { margin-top: 5px; color: rgba(255,255,255,.66); font-size: 11px; }
.about-community-card > p { position: relative; z-index: 1; margin: 0; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.65; }
.about-explore-card { padding: 24px; border: 1px solid var(--sd-line); background: #fff; box-shadow: 0 14px 38px rgba(9,54,49,.07); }
.about-explore-card .about-card-kicker { color: var(--sd-wine); margin: 0 4px 11px; }
.about-explore-card a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 54px; padding: 10px 12px; border-bottom: 1px solid var(--sd-line); border-radius: 11px; color: #47615d; font-size: 13px; font-weight: 650; }
.about-explore-card a:last-child { border-bottom-color: transparent; }
.about-explore-card a > span { display: flex; align-items: center; gap: 11px; }
.about-explore-card a > span i { width: 17px; color: var(--sd-wine); text-align: center; }
.about-explore-card a.active, .about-explore-card a:hover { color: var(--sd-wine); background: #edf6f2 !important; }
.about-values-card { padding: 34px; color: #fff; background: linear-gradient(145deg, #4f4a2b, #92803e); box-shadow: 0 20px 50px rgba(84,73,34,.18); }
.about-values-card .about-card-icon { color: #4e4625; background: #f1d58c; }
.about-values-card .about-card-kicker { color: #f1d58c; }
.about-values-card ul { list-style: none; padding: 0; margin: 0; }
.about-values-card li { display: flex; align-items: center; gap: 13px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.13); }
.about-values-card li > i { display: grid; place-items: center; flex: 0 0 37px; height: 37px; border-radius: 11px; color: #594e23; background: #f1d58c; }
.about-values-card li span, .about-values-card li strong, .about-values-card li small { display: block; }
.about-values-card li strong { color: #fff; font-size: 13px; }
.about-values-card li small { margin-top: 3px; color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.5; }
.about-radio-live-card { position: relative; padding: 32px; color: #fff; text-align: center; background: radial-gradient(circle at 50% 12%, #6d1721, #3c080e 50%, #230307); box-shadow: 0 20px 52px rgba(57,4,11,.23); }
.about-radio-onair { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 25px; padding: 5px 10px; border-radius: 100px; color: #ffd984; background: rgba(255,217,132,.1); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.about-radio-onair i { width: 7px; height: 7px; border-radius: 50%; background: #ff3f50; box-shadow: 0 0 0 5px rgba(255,63,80,.1); }
.about-radio-live-card .about-card-kicker { color: #f4b9c0; }
.about-radio-live-card h2 { margin: 0; color: #f4cc72; font-size: 38px; line-height: 1.2; font-weight: 800; }
.about-radio-live-card h2 small { font-size: 11px; letter-spacing: .08em; }
.about-radio-bars { height: 58px; display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 8px; }
.about-radio-bars i { width: 5px; height: 18px; border-radius: 10px; background: linear-gradient(#ffd984, #ff4656); animation: about-radio-bar .9s ease-in-out infinite alternate; }
.about-radio-bars i:nth-child(2), .about-radio-bars i:nth-child(4) { height: 36px; animation-delay: -.25s; }
.about-radio-bars i:nth-child(3) { height: 50px; animation-delay: -.55s; }
.about-radio-live-card > strong, .about-radio-live-card > span:not(.about-radio-onair):not(.about-card-kicker) { display: block; }
.about-radio-live-card > strong { overflow: hidden; color: #fff; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.about-radio-live-card > span:not(.about-radio-onair):not(.about-card-kicker) { min-height: 18px; margin-top: 4px; color: rgba(255,255,255,.56); font-size: 10px; }
.about-radio-live-card button { width: 100%; min-height: 49px; margin-top: 21px; border: 0; border-radius: 100px; color: #311009; background: #f4cc72; font-size: 12px; font-weight: 800; box-shadow: 0 12px 28px rgba(244,204,114,.18); }
.about-radio-live-card button i { margin-right: 7px; }
.about-radio-live-card button:hover, .about-radio-live-card button:focus { background: #ffe09a; outline: none; }
@keyframes about-radio-bar { from { transform: scaleY(.42); opacity: .55; } to { transform: scaleY(1); opacity: 1; } }

@media (max-width: 991px) {
  .about-modern-grid { grid-template-columns: 1fr; }
  .about-side-rail { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .about-modern-page .page-hero { padding-top: 48px; padding-bottom: 46px; }
  .about-modern-main { padding: 34px 0 62px; }
  .about-modern-grid { gap: 22px; }
  .about-story-card { border-radius: 21px; }
  .about-story-heading { padding: 32px 23px 26px; }
  .about-story-heading h2 { font-size: 29px; }
  .about-story-heading p { font-size: 14px; }
  .about-feature-media { height: 240px; margin: 0 12px; border-radius: 16px; }
  .about-feature-media figcaption { left: 12px; right: 12px; bottom: 12px; justify-content: center; }
  .about-prose { padding: 34px 23px 24px; font-size: 15px; line-height: 1.85; }
  .about-prose p { line-height: 1.85; }
  .about-article-footer { align-items: flex-start; flex-direction: column; margin: 0 23px; padding-bottom: 26px; }
  .footer-brand-emblem { flex-basis: 54px; width: 54px; height: 62px; border-radius: 13px; }
  .footer-brand-emblem img { height: 54px; max-width: 45px; }
  .about-side-rail { grid-template-columns: 1fr; }
  .about-community-card, .about-values-card, .about-radio-live-card { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .about-radio-bars i { animation: none; }
}

/* News, activity and document indexes */
.content-index-page { background: #f3f5f0; }
.content-index-page .page-hero { padding-top: 74px; padding-bottom: 70px; }
.news-index-page .page-hero { background-image: linear-gradient(110deg, rgba(3,48,46,.97), rgba(7,116,96,.86)), url('../img/slider/Office4.jpg'); }
.activity-index-page .page-hero { background-image: linear-gradient(110deg, rgba(29,50,42,.96), rgba(129,103,34,.78)), url('../img/slider/slide4.jpg'); }
.documents-index-page .page-hero { background-image: linear-gradient(110deg, rgba(22,47,50,.97), rgba(38,116,108,.86)), url('../img/radio.jpg'); }
.content-index-main { padding: 62px 0 92px; }
.content-index-shell { padding: 38px; border: 1px solid var(--sd-line); border-radius: 28px; background: #fff; box-shadow: 0 22px 60px rgba(9,54,49,.09); }
.content-index-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 7px 4px 34px; }
.content-index-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--sd-wine); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.content-index-heading h2 { margin: 0 0 10px; color: var(--sd-ink); font-size: 34px; line-height: 1.3; font-weight: 780; letter-spacing: -.025em; }
.content-index-heading p { max-width: 650px; margin: 0; color: var(--sd-muted); font-size: 14px; line-height: 1.75; }
.content-heading-icon { flex: 0 0 70px; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 21px 21px 21px 7px; color: #fff; background: var(--sd-wine); box-shadow: 0 14px 30px rgba(8,127,104,.2); font-size: 25px; }
.activity-index-page .content-heading-icon { color: #403619; background: var(--sd-gold); box-shadow: 0 14px 30px rgba(216,173,91,.24); }
.content-index-toolbar { min-height: 60px; margin: 0 0 28px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--sd-line); border-bottom: 1px solid var(--sd-line); color: var(--sd-muted); }
.content-index-toolbar p { margin: 0; font-size: 12px; }
.content-index-toolbar p strong { color: var(--sd-wine); }
.content-index-toolbar label { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--sd-muted); font-size: 11px; font-weight: 650; }
.content-index-toolbar select { min-width: 104px; height: 36px; padding: 0 32px 0 12px; border: 1px solid var(--sd-line); border-radius: 10px; color: var(--sd-ink); background: #f8faf7; font-size: 12px; outline: none; }
.content-index-toolbar select:focus { border-color: var(--sd-wine); box-shadow: 0 0 0 3px rgba(8,127,104,.1); }
.content-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; min-height: 260px; }
.content-story-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--sd-line); border-radius: 20px; background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.content-story-card:hover { transform: translateY(-4px); border-color: rgba(8,127,104,.25); box-shadow: 0 18px 38px rgba(9,54,49,.1); }
.content-story-image { position: relative; display: block; height: 215px; overflow: hidden; background: #e4ece8; }
.content-story-image:after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(3,38,35,.48)); }
.content-story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.content-story-card:hover .content-story-image img { transform: scale(1.035); }
.content-story-play { position: absolute; z-index: 3; left: 50%; top: 50%; width: 54px; height: 54px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.9); border-radius: 50%; color: #fff; background: rgba(24,119,242,.88); box-shadow: 0 10px 25px rgba(0,0,0,.22); transform: translate(-50%, -50%); }
.content-story-play i { margin-left: 3px; }
.content-story-tag { position: absolute; z-index: 2; left: 15px; bottom: 14px; padding: 6px 11px; border-radius: 100px; color: #fff; background: rgba(3,54,49,.72); backdrop-filter: blur(7px); font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.activity-index-page .content-story-tag { color: #352d17; background: rgba(242,210,135,.9); }
.content-story-body { display: flex; flex: 1; flex-direction: column; padding: 23px; }
.content-story-date { color: var(--sd-wine); font-size: 10px; font-weight: 700; }
.content-story-date i { margin-right: 4px; color: var(--sd-gold); }
.content-story-body h3 { margin: 10px 0 10px; font-size: 19px; line-height: 1.5; font-weight: 750; }
.content-story-body h3 a { color: var(--sd-ink); }
.content-story-body h3 a:hover { color: var(--sd-wine); }
.content-story-body p { display: -webkit-box; overflow: hidden; min-height: 50px; margin: 0 0 18px; color: var(--sd-muted); font-size: 13px; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.content-read-more { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; color: var(--sd-wine); font-size: 11px; font-weight: 800; }
.content-read-more i { transition: transform .2s ease; }
.content-read-more:hover i { transform: translateX(3px); }
.document-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-height: 220px; }
.document-download-card { min-width: 0; min-height: 112px; padding: 18px; display: flex; align-items: center; gap: 15px; border: 1px solid var(--sd-line); border-radius: 17px; color: var(--sd-ink); background: #fff; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.document-download-card:hover, .document-download-card:focus { color: var(--sd-ink); transform: translateY(-3px); border-color: rgba(8,127,104,.28); box-shadow: 0 14px 32px rgba(9,54,49,.09); outline: none; }
.document-file-icon { flex: 0 0 52px; height: 60px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: var(--sd-wine); font-size: 23px; }
.document-type-pdf .document-file-icon { background: #9e2230; }
.document-type-doc .document-file-icon, .document-type-docx .document-file-icon { background: #2865a8; }
.document-type-xls .document-file-icon, .document-type-xlsx .document-file-icon, .document-type-xlsm .document-file-icon { background: #217346; }
.document-type-ppt .document-file-icon, .document-type-pptx .document-file-icon, .document-type-pptm .document-file-icon { background: #c64b2d; }
.document-file-copy { min-width: 0; flex: 1; }
.document-file-copy small, .document-file-copy strong { display: block; }
.document-file-copy small { margin-bottom: 5px; color: var(--sd-wine); font-size: 9px; font-weight: 800; letter-spacing: .09em; }
.document-file-copy strong { overflow: hidden; color: var(--sd-ink); font-size: 13px; line-height: 1.55; font-weight: 700; text-overflow: ellipsis; }
.document-download-action { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; color: var(--sd-wine); font-size: 10px; font-weight: 750; }
.content-loading, .content-empty-state { grid-column: 1 / -1; min-height: 240px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; color: var(--sd-muted); text-align: center; }
.content-loading i { color: var(--sd-wine); font-size: 27px; }
.content-loading span { font-size: 12px; }
.content-empty-state > i { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 5px; border-radius: 18px; color: var(--sd-wine); background: #eaf4ef; font-size: 22px; }
.content-empty-state strong { color: var(--sd-ink); font-size: 17px; }
.content-empty-state span { color: var(--sd-muted); font-size: 12px; }
.content-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 34px; padding-top: 27px; border-top: 1px solid var(--sd-line); }
.content-pagination button { width: 40px; height: 40px; padding: 0; border: 1px solid var(--sd-line); border-radius: 11px; color: var(--sd-wine); background: #fff; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.content-pagination button:hover:not(:disabled), .content-pagination button:focus:not(:disabled) { color: #fff; background: var(--sd-wine); border-color: var(--sd-wine); outline: none; }
.content-pagination button:disabled { color: #b7c2bf; background: #f3f5f2; cursor: not-allowed; }
.content-pagination span { min-width: 110px; color: var(--sd-muted); font-size: 11px; font-weight: 700; text-align: center; }

@media (max-width: 767px) {
  .content-index-page .page-hero { padding-top: 48px; padding-bottom: 46px; }
  .content-index-main { padding: 32px 0 62px; }
  .content-index-shell { padding: 23px 16px; border-radius: 21px; }
  .content-index-heading { align-items: flex-start; padding: 3px 4px 26px; }
  .content-index-heading h2 { font-size: 27px; }
  .content-heading-icon { flex-basis: 50px; width: 50px; height: 50px; border-radius: 15px 15px 15px 5px; font-size: 19px; }
  .content-index-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; padding: 12px 5px; }
  .content-index-toolbar label { width: 100%; justify-content: space-between; }
  .content-index-toolbar select { min-width: 120px; }
  .content-card-grid, .document-card-grid { grid-template-columns: 1fr; }
  .content-story-image { height: 205px; }
  .content-story-body { padding: 20px; }
  .document-download-card { min-height: 104px; padding: 15px; }
  .document-download-action span { display: none; }
  .content-pagination { gap: 5px; }
  .content-pagination button { width: 38px; height: 38px; }
  .content-pagination span { min-width: 94px; }
}

/* Committee and gallery directories */
.directory-modern-page { background: #f3f5f0; }
.directory-modern-page .page-hero { padding-top: 74px; padding-bottom: 70px; }
.team-modern-page .page-hero { background-image: linear-gradient(110deg, rgba(3,48,46,.97), rgba(7,116,96,.85)), url('../img/slider/Office4.jpg'); }
.gallery-modern-page .page-hero { background-image: linear-gradient(110deg, rgba(30,48,40,.94), rgba(129,102,29,.76)), url('../img/slider/slide4.jpg'); }
.directory-modern-main { padding: 62px 0 94px; }
.directory-modern-shell { padding: 40px; border: 1px solid var(--sd-line); border-radius: 28px; background: #fff; box-shadow: 0 22px 60px rgba(9,54,49,.09); }
.directory-modern-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 34px; padding: 4px 4px 31px; border-bottom: 1px solid var(--sd-line); }
.directory-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--sd-wine); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.directory-modern-heading h2 { margin: 0 0 10px; color: var(--sd-ink); font-size: 35px; line-height: 1.3; font-weight: 780; letter-spacing: -.025em; }
.directory-modern-heading p { max-width: 650px; margin: 0; color: var(--sd-muted); font-size: 14px; line-height: 1.75; }
.directory-count { flex: 0 0 94px; width: 94px; height: 94px; display: flex; align-items: center; justify-content: center; flex-direction: column; border-radius: 28px 28px 28px 8px; color: #fff; background: var(--sd-wine); box-shadow: 0 15px 34px rgba(8,127,104,.2); }
.directory-count strong, .directory-count span { display: block; }
.directory-count strong { font-size: 30px; line-height: 1; }
.directory-count span { margin-top: 6px; color: rgba(255,255,255,.68); font-size: 10px; }
.gallery-count { color: #3e3416; background: var(--sd-gold); box-shadow: 0 15px 34px rgba(216,173,91,.24); }
.gallery-count span { color: rgba(62,52,22,.66); }
.team-modern-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; min-height: 300px; }
.team-person-card { min-width: 0; padding: 27px 21px 24px; overflow: hidden; border: 1px solid var(--sd-line); border-radius: 20px; background: #fff; text-align: center; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.team-person-card:hover { transform: translateY(-4px); border-color: rgba(8,127,104,.25); box-shadow: 0 18px 38px rgba(9,54,49,.1); }
.team-leadership-card { background: linear-gradient(180deg, #f5faf7, #fff 60%); }
.team-person-photo { position: relative; display: block; width: 144px; height: 144px; margin: 0 auto 21px; overflow: hidden; border: 6px solid #fff; border-radius: 50%; background: #e6eeea; box-shadow: 0 0 0 1px var(--sd-line), 0 13px 30px rgba(9,54,49,.13); }
.team-person-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.team-photo-expand { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(3,54,49,.54); opacity: 0; transition: opacity .2s ease; }
.team-person-photo:hover .team-photo-expand, .team-person-photo:focus .team-photo-expand { opacity: 1; }
.team-position { display: inline-block; margin-bottom: 10px; padding: 5px 10px; border-radius: 100px; color: var(--sd-wine); background: #eaf4ef; font-size: 9px; font-weight: 800; letter-spacing: .05em; }
.team-leadership-card .team-position { color: #584719; background: #f6e7bd; }
.team-person-card h3 { overflow: hidden; margin: 0; color: var(--sd-ink); font-size: 17px; line-height: 1.45; font-weight: 750; text-overflow: ellipsis; }
.team-arabic-name { margin: 5px 0 0; color: var(--sd-wine); font-size: 12px; }
.team-position-full { min-height: 18px; margin: 8px 0 0; color: var(--sd-muted); font-size: 10px; }
.gallery-modern-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; min-height: 300px; }
.gallery-album-card { position: relative; display: block; min-height: 355px; overflow: hidden; border-radius: 22px; color: #fff; background: #dce6e1; box-shadow: 0 14px 36px rgba(9,54,49,.1); }
.gallery-album-card:first-child { grid-column: span 2; min-height: 460px; }
.gallery-album-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-album-card:hover img { transform: scale(1.045); }
.gallery-album-overlay { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: flex-end; flex-direction: column; padding: 32px; color: #fff; background: linear-gradient(180deg, rgba(3,33,31,.04) 28%, rgba(3,38,35,.88)); }
.gallery-album-overlay small { margin-bottom: 9px; color: #efd088; font-size: 10px; font-weight: 700; }
.gallery-album-overlay strong { max-width: 700px; color: #fff; font-size: 23px; line-height: 1.45; font-weight: 750; }
.gallery-album-card:first-child .gallery-album-overlay strong { font-size: 30px; }
.gallery-open-label { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: rgba(255,255,255,.76); font-size: 11px; font-weight: 700; }
.gallery-open-label i { transition: transform .2s ease; }
.gallery-album-card:hover .gallery-open-label i { transform: translateX(4px); }
.directory-loading, .directory-empty { grid-column: 1 / -1; min-height: 290px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; color: var(--sd-muted); text-align: center; }
.directory-loading i { color: var(--sd-wine); font-size: 28px; }
.directory-loading span { font-size: 12px; }
.directory-empty > i { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 5px; border-radius: 19px; color: var(--sd-wine); background: #eaf4ef; font-size: 23px; }
.directory-empty strong { color: var(--sd-ink); font-size: 17px; }
.directory-empty span { color: var(--sd-muted); font-size: 12px; }

/* Contact page */
.contact-modern-page { background: #f3f5f0; }
.contact-modern-page .page-hero { padding-top: 74px; padding-bottom: 70px; background-image: linear-gradient(110deg, rgba(3,48,46,.97), rgba(7,116,96,.84)), url('../img/radio.jpg'); }
.contact-modern-main { padding: 62px 0 94px; }
.contact-modern-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, .75fr); gap: 28px; align-items: stretch; }
.contact-map-card, .contact-information-card { overflow: hidden; border: 1px solid var(--sd-line); border-radius: 27px; background: #fff; box-shadow: 0 20px 55px rgba(9,54,49,.09); }
.contact-map-card { min-height: 610px; display: flex; flex-direction: column; }
.contact-map-heading { min-height: 70px; padding: 15px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--sd-ink); border-bottom: 1px solid var(--sd-line); font-size: 13px; font-weight: 750; }
.contact-map-heading > span { display: flex; align-items: center; gap: 9px; }
.contact-map-heading > span i { color: var(--sd-wine); }
.contact-map-heading a { padding: 8px 12px; border-radius: 100px; color: var(--sd-wine); background: #edf6f2; font-size: 10px; }
.contact-map-heading a i { margin-left: 5px; }
.contact-map-card iframe { display: block; flex: 1; width: 100%; min-height: 540px; border: 0; }
.contact-information-card { position: relative; padding: 35px 31px; }
.contact-information-card:after { content: ""; position: absolute; right: -100px; top: -100px; width: 240px; height: 240px; border: 1px solid rgba(216,173,91,.18); border-radius: 50%; box-shadow: 0 0 0 40px rgba(216,173,91,.035), 0 0 0 80px rgba(216,173,91,.02); pointer-events: none; }
.contact-emblem { position: relative; z-index: 1; width: 66px; height: 78px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; padding: 5px; overflow: hidden; border: 1px solid var(--sd-line); border-radius: 17px; background: #fff; box-shadow: 0 10px 28px rgba(9,54,49,.1); }
.contact-emblem img { width: auto; height: 68px; max-width: 54px; object-fit: contain; }
.contact-kicker { position: relative; z-index: 1; display: block; margin-bottom: 8px; color: var(--sd-wine); font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.contact-information-card h2 { position: relative; z-index: 1; margin: 0 0 21px; color: var(--sd-ink); font-size: 27px; line-height: 1.4; font-weight: 780; }
.contact-information-card h2 small { color: var(--sd-wine); font-size: 15px; }
.contact-address { position: relative; z-index: 1; display: flex; gap: 12px; margin: 0 0 27px; color: var(--sd-muted); font-size: 13px; line-height: 1.8; }
.contact-address > i { flex: 0 0 38px; height: 38px; display: grid; place-items: center; margin-top: 2px; border-radius: 12px; color: var(--sd-wine); background: #eaf4ef; }
.contact-action-list { position: relative; z-index: 1; display: grid; gap: 10px; }
.contact-action-list > a, .contact-action-list > button { width: 100%; min-height: 66px; padding: 11px 13px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 16px; align-items: center; gap: 10px; border: 1px solid var(--sd-line); border-radius: 15px; color: var(--sd-ink); background: #fff; text-align: left; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.contact-action-list > a:hover, .contact-action-list > a:focus, .contact-action-list > button:hover, .contact-action-list > button:focus { color: var(--sd-ink); transform: translateX(3px); border-color: rgba(8,127,104,.28); background: #f7faf8; outline: none; }
.contact-action-list > .primary { color: #fff; background: var(--sd-wine); border-color: var(--sd-wine); }
.contact-action-list > .primary:hover, .contact-action-list > .primary:focus { color: #fff; background: var(--sd-wine-dark); }
.contact-action-list > .line-contact { color: #fff; background: #06c755; border-color: #06c755; }
.contact-action-list > .line-contact:hover, .contact-action-list > .line-contact:focus { color: #fff; background: #05ad49; border-color: #05ad49; }
.contact-action-list > a > i:first-child, .contact-action-list > button > i:first-child { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--sd-wine); background: #eaf4ef; font-size: 15px; }
.contact-action-list > .primary > i:first-child { color: #403518; background: var(--sd-gold); }
.contact-action-list > .line-contact > i:first-child { color: #06a946; background: #fff; }
.contact-action-list span, .contact-action-list strong, .contact-action-list small { display: block; min-width: 0; }
.contact-action-list strong { color: inherit; font-size: 11px; }
.contact-action-list small { margin-top: 3px; color: var(--sd-muted); font-size: 9px; }
.contact-action-list .primary small { color: rgba(255,255,255,.64); }
.contact-action-list .line-contact small { color: rgba(255,255,255,.78); }
.contact-action-list > a > i:last-child, .contact-action-list > button > i:last-child { color: #9aaba7; }
.contact-action-list > .primary > i:last-child { color: rgba(255,255,255,.62); }
.contact-action-list > .line-contact > i:last-child { color: rgba(255,255,255,.72); }

@media (max-width: 991px) {
  .team-modern-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-modern-grid { grid-template-columns: 1fr; }
  .contact-map-card { min-height: 520px; }
  .contact-information-card { padding: 36px; }
}

@media (max-width: 767px) {
  .directory-modern-page .page-hero, .contact-modern-page .page-hero { padding-top: 48px; padding-bottom: 46px; }
  .directory-modern-main, .contact-modern-main { padding: 32px 0 62px; }
  .directory-modern-shell { padding: 24px 16px; border-radius: 21px; }
  .directory-modern-heading { align-items: flex-start; margin-bottom: 24px; padding: 3px 4px 24px; }
  .directory-modern-heading h2 { font-size: 27px; }
  .directory-count { flex-basis: 66px; width: 66px; height: 66px; border-radius: 20px 20px 20px 6px; }
  .directory-count strong { font-size: 23px; }
  .team-modern-grid, .gallery-modern-grid { grid-template-columns: 1fr; }
  .team-person-card { padding: 24px 18px; }
  .gallery-album-card, .gallery-album-card:first-child { grid-column: auto; min-height: 320px; }
  .gallery-album-overlay { padding: 23px; }
  .gallery-album-card:first-child .gallery-album-overlay strong, .gallery-album-overlay strong { font-size: 21px; }
  .contact-modern-grid { gap: 20px; }
  .contact-map-card, .contact-information-card { border-radius: 21px; }
  .contact-map-card { min-height: 450px; }
  .contact-map-heading { align-items: flex-start; flex-direction: column; padding: 17px; }
  .contact-map-card iframe { min-height: 370px; }
  .contact-information-card { padding: 28px 22px; }
  .contact-information-card h2 { font-size: 24px; }
}

/* Shared inner-page layout */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 64px;
  color: #fff;
  background: linear-gradient(110deg, rgba(3,48,46,.97), rgba(7,116,96,.9)), url('../img/slider/Office4.jpg') center 47% / cover no-repeat;
}
.page-hero:after { content: ""; position: absolute; right: -80px; bottom: -150px; width: 360px; height: 360px; border: 1px solid rgba(232,191,108,.22); border-radius: 50%; box-shadow: 0 0 0 54px rgba(232,191,108,.045), 0 0 0 108px rgba(232,191,108,.025); }
.page-hero-inner { display: flex; align-items: center; gap: 24px; position: relative; z-index: 1; }
.page-hero-icon { flex: 0 0 64px; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; color: #2a180b; background: var(--sd-gold); font-size: 24px; box-shadow: 0 15px 35px rgba(0,0,0,.2); }
.page-breadcrumb { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.58); font-size: 12px; margin-bottom: 8px; }
.page-breadcrumb a { color: #f1d59a; }
.page-hero h1 { color: #fff; margin: 0 0 8px; font-size: 40px; line-height: 1.2; font-weight: 750; letter-spacing: -.02em; }
.page-hero p { color: rgba(255,255,255,.7); margin: 0; font-size: 15px; }
body > .row.container-kamn { display: none; }
#banners { height: 42px; }
.page-hero ~ #banners { height: 42px; }

.single-blog-content,
.post-content-area > .world-catagory-area {
  border: 1px solid var(--sd-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sd-shadow);
}
.single-blog-content { padding: 32px; margin-bottom: 42px; }
.single-blog-content .blog-title { color: var(--sd-ink); font-size: 30px; font-weight: 750; line-height: 1.35; margin: 0 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--sd-line); }
.single-blog-content .post-content { color: #405b57; font-size: 16px; line-height: 1.9; }
.single-blog-content .post-content h1,
.single-blog-content .post-content h2,
.single-blog-content .post-content h3,
.single-blog-content .post-content h4 { color: var(--sd-ink); font-weight: 700; line-height: 1.4; }
.single-blog-content .post-content img { max-width: 100%; height: auto; border-radius: 14px; }
.single-blog-content .post-content table { width: 100% !important; max-width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--sd-line); border-radius: 12px; }
.single-blog-content .post-content td,
.single-blog-content .post-content th { padding: 10px 12px; border-color: var(--sd-line); }
.single-blog-content .post-meta { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--sd-line); }
.single-blog-content .fb-like,
.single-blog-content .fb-share-button { margin-top: 16px; }
.fb-comments, .fb-comments span, .fb-comments iframe { max-width: 100% !important; }

.post-content-area { margin-bottom: 42px; }
.post-content-area > .world-catagory-area { padding: 28px; }
.post-content-area .single-blog-post.post-style-4 { display: flex; min-height: 150px; gap: 20px; padding: 14px; border: 1px solid var(--sd-line); border-radius: 16px; margin-bottom: 14px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.post-content-area .single-blog-post.post-style-4:hover { transform: translateY(-2px); border-color: rgba(8,127,104,.28); box-shadow: 0 14px 30px rgba(9,54,49,.09); }
.post-content-area .single-blog-post.post-style-4 .post-thumbnail { flex: 0 0 180px; width: 180px; height: 122px; margin: 0; }
.post-content-area .single-blog-post.post-style-4 .post-thumbnail img { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: cover; border-radius: 11px; }
.post-content-area .single-blog-post.post-style-4 .post-content { flex: 1; padding: 8px 8px 4px; }
.post-content-area .single-blog-post.post-style-4 .post-content h5 { margin-top: 0; font-size: 18px; }
.post-content-area .single-blog-post.post-style-4 .post-meta { margin-top: 14px; }

.list-paging { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 18px 0; color: var(--sd-muted); font-size: 13px; }
.paging-action { margin-left: auto; }
.nav-page { display: flex; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0; }
.nav-page li a, .nav-page select { min-width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--sd-line); border-radius: 9px; background: #fff; color: var(--sd-wine); }
.nav-page select { padding: 0 10px; }
.preloading { min-height: 160px; }

/* People and gallery cards */
#listTeam { display: block; padding-bottom: 42px; }
#listTeam > .row { display: flex; flex-wrap: wrap; }
#listTeam .col-md-4 { display: flex; }
.blockquote-box { width: 100%; min-height: 285px; padding: 25px; margin: 0 0 24px; text-align: center; border: 1px solid var(--sd-line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(9,54,49,.07); }
.blockquote-box .square { float: none !important; width: 132px; height: 132px; margin: 0 auto 18px; overflow: hidden; border-radius: 50%; background: #e5f0ec; border: 5px solid #fff; box-shadow: 0 0 0 1px var(--sd-line), 0 12px 30px rgba(9,54,49,.13); }
.blockquote-box .square img { width: 100%; height: 100%; object-fit: cover; }
.blockquote-box h4 { color: var(--sd-wine); font-size: 18px; font-weight: 750; }
.blockquote-box p { color: var(--sd-muted); }
.blockquote-box2 { width: 100%; overflow: hidden; margin: 0 0 26px; border-radius: 18px; background: #fff; border: 1px solid var(--sd-line); box-shadow: 0 12px 35px rgba(9,54,49,.09); transition: transform .25s ease, box-shadow .25s ease; }
.blockquote-box2:hover { transform: translateY(-5px); box-shadow: 0 20px 42px rgba(9,54,49,.15); }
.blockquote-box2 .square { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.blockquote-box2 .square img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.blockquote-box2 .image-info { position: absolute; z-index: 2; inset: auto 0 0; padding: 70px 20px 18px; background: linear-gradient(transparent, rgba(3,39,37,.9)); }
.blockquote-box2 .image-info h2 { color: #fff; font-size: 19px; line-height: 1.4; margin: 0; }

/* Contact page */
.page-hero + .container-fluid-kamn { background: var(--sd-cream); padding: 48px max(15px, calc((100vw - 1170px)/2)) 70px; }
.page-hero + .container-fluid-kamn > .row { margin: 0; display: flex; flex-wrap: wrap; gap: 28px; }
.page-hero + .container-fluid-kamn > .row > div:first-child { flex: 1 1 680px; overflow: hidden; border-radius: 22px; box-shadow: var(--sd-shadow); background: #fff; }
.page-hero + .container-fluid-kamn iframe { display: block; min-height: 460px; }
.page-hero + .container-fluid-kamn .col-lg-4 { flex: 1 1 320px; width: auto; margin: 0; padding: 32px; border-radius: 22px; background: #fff; border: 1px solid var(--sd-line); box-shadow: var(--sd-shadow); }
.page-hero + .container-fluid-kamn .col-lg-4 h4 { color: var(--sd-wine); font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.page-hero + .container-fluid-kamn .col-lg-4 .block-author { color: var(--sd-ink); font-size: 21px; font-weight: 750; }

#jssor_1 { max-width: 100% !important; left: 0 !important; border-radius: 16px; }

@media (max-width: 767px) {
  .page-hero { padding: 45px 0 42px; }
  .page-hero-inner { align-items: flex-start; gap: 15px; }
  .page-hero-icon { flex-basis: 50px; width: 50px; height: 50px; border-radius: 14px; font-size: 19px; }
  .page-hero h1 { font-size: 29px; }
  .page-hero p { font-size: 13px; line-height: 1.6; }
  #banners, .page-hero ~ #banners { height: 25px; }
  .single-blog-content { padding: 20px; border-radius: 17px; }
  .single-blog-content .blog-title { font-size: 24px; }
  .single-blog-content .post-content { font-size: 15px; }
  .post-content-area > .world-catagory-area { padding: 17px; }
  .post-content-area .single-blog-post.post-style-4 { min-height: 0; gap: 12px; }
  .post-content-area .single-blog-post.post-style-4 .post-thumbnail { flex-basis: 105px; width: 105px; height: 90px; }
  .post-content-area .single-blog-post.post-style-4 .post-content { padding: 2px; }
  .post-content-area .single-blog-post.post-style-4 .post-content h5 { font-size: 14px; }
  .list-paging { flex-direction: column; align-items: flex-start; }
  .paging-action { margin-left: 0; align-self: stretch; }
  .nav-page { justify-content: center; }
  #listTeam > .row { display: block; }
  #listTeam .col-md-4 { display: block; }
  .blockquote-box { min-height: 0; }
  .page-hero + .container-fluid-kamn { padding-top: 28px; padding-bottom: 45px; }
  .page-hero + .container-fluid-kamn iframe { min-height: 320px; height: 320px; }
  .page-hero + .container-fluid-kamn .col-lg-4 { padding: 23px; }
}

@media (max-width: 991px) {
  #navbar-section .navbar-nav > li > a { padding: 0 7px; font-size: 12px; }
  .brand-copy strong { font-size: 16px; }
  .home-hero { min-height: 600px; }
  .hero-fact { display: none; }
  .home-hero-copy { max-width: 620px; }
  .quick-access-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-card:nth-child(2) { border-right: 0; }
  .quick-card:nth-child(-n+2) { border-bottom: 1px solid var(--sd-line); }
  #carousel-1 .carousel-inner > .item { height: 380px; }
}

@media (max-width: 767px) {
  .site-topbar { display: block; font-size: 10px; }
  .site-topbar-inner { min-height: 0; padding-top: 7px; padding-bottom: 7px; align-items: stretch; flex-direction: column; gap: 6px; }
  .site-topbar-inner > span:first-child { text-align: center; }
  .site-topbar-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .site-topbar a, .site-topbar .site-login-link { display: inline-flex; align-items: center; justify-content: center; min-width: 0; min-height: 32px; margin: 0; padding: 4px 5px; border: 1px solid rgba(255,255,255,.13); border-radius: 9px; text-align: center; white-space: nowrap; }
  .site-topbar .site-login-link { min-height: 32px; border-color: rgba(240,207,139,.4); }
  .site-topbar a i { flex: 0 0 auto; margin-right: 4px; }
  #navbar-section.navbar, #navbar-section .navbar-header { min-height: 72px; }
  #navbar-section .navbar-brand { height: 72px; padding: 7px 15px; }
  .brand-mark { flex-basis: 42px; width: 42px; height: 42px; border-radius: 13px 13px 13px 4px; }
  .brand-emblem { flex-basis: 40px; width: 40px; height: 56px; }
  .brand-emblem img { height: 54px; max-width: 38px; }
  .brand-copy strong { font-size: 15px; }
  .brand-copy small { font-size: 10px; }
  #navbar-section .navbar-toggle { margin-top: 16px; }
  #navbar-section .navbar-collapse { background: #fff; border: 0; box-shadow: 0 15px 25px rgba(9,54,49,.09); }
  #navbar-section .navbar-nav { margin: 8px 0 14px; float: none !important; }
  #navbar-section .navbar-nav > li > a { min-height: 46px; padding: 0 18px; font-size: 14px; }
  #navbar-section .navbar-nav > li > a:after { display: none; }
  #navbar-section .nav-login-item { display: block; margin: 8px 12px 2px; }
  #navbar-section .nav-login-item > a { min-height: 46px; justify-content: center; gap: 9px; border-radius: 100px; color: #fff; background: var(--sd-wine); font-weight: 700; }
  #navbar-section .nav-login-item > a:hover, #navbar-section .nav-login-item > a:focus { color: #fff; background: var(--sd-wine-dark); }
  .home-hero { height: 670px; min-height: 0; background-position: 60% center; }
  .home-hero-shade { background: linear-gradient(90deg, rgba(3,36,35,.94), rgba(5,78,70,.62)), linear-gradient(0deg, rgba(3,31,30,.48), transparent); }
  .home-hero-content { align-items: center; }
  .home-hero h1 { font-size: 46px; margin-top: 14px; }
  .home-hero-copy > p { font-size: 16px; line-height: 1.7; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 290px; }
  .quick-access { margin-top: -32px; }
  .quick-card { min-height: 104px; padding: 17px; gap: 11px; }
  .quick-icon { flex-basis: 40px; height: 40px; border-radius: 12px; }
  .quick-card strong { font-size: 13px; }
  .quick-arrow { display: none; }
  .highlights-section { padding: 60px 0 22px; }
  .section-heading { align-items: flex-start; }
  .section-heading h2 { font-size: 26px; }
  .section-heading > a { display: none; }
  #carousel-1 { border-radius: 16px; }
  #carousel-1 .carousel-inner > .item { height: 300px; }
  #carousel-1 .carousel-caption { padding: 60px 24px 25px; }
  #services.services-section { padding: 38px 0 60px; }
  .world-catagory-area { padding: 17px; border-radius: 16px; }
  .world-catagory-area .nav-tabs .title { font-size: 20px; }
  .services-group { margin-bottom: 16px; }
  .footer-brand-row { align-items: flex-start; flex-direction: column; }
}

/* Reference-inspired landing page */
.reference-home .legacy-home-section { display: none; }
.reference-home .home-hero { height: auto; min-height: 620px; max-height: none; padding: 70px 0 105px; background: linear-gradient(125deg, #073f3b 0%, #08745f 62%, #1f8a68 100%); }
.reference-home .home-hero-shade { background: radial-gradient(circle at 86% 16%, rgba(255,255,255,.13), transparent 28%), radial-gradient(circle at 0 100%, rgba(216,173,91,.16), transparent 36%); }
.reference-home .home-hero-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr); align-items: center; gap: 70px; width: 1170px; max-width: calc(100% - 30px); }
.reference-home .home-hero-copy { max-width: 690px; }
.reference-home .home-hero h1 { font-size: clamp(48px, 5.3vw, 76px); }
.hero-visual { position: relative; padding: 14px; border: 1px solid rgba(255,255,255,.24); border-radius: 32px; background: rgba(255,255,255,.1); box-shadow: 0 30px 70px rgba(1,35,32,.32); transform: rotate(1deg); }
.hero-visual img { display: block; width: 100%; height: 350px; object-fit: cover; border-radius: 23px; }
.hero-visual-label { position: absolute; left: -24px; bottom: 35px; min-width: 250px; display: flex; align-items: center; gap: 13px; padding: 15px 18px; border-radius: 17px; color: var(--sd-ink); background: #fff; box-shadow: 0 18px 45px rgba(2,39,36,.22); }
.hero-visual-label > i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: var(--sd-wine); }
.hero-visual-label small, .hero-visual-label strong { display: block; }
.hero-visual-label small { color: var(--sd-muted); font-size: 10px; }
.hero-visual-label strong { font-size: 14px; margin-top: 2px; }
.reference-home .hero-scroll { display: none; }

.reference-home .quick-access { margin-top: -52px; }
.reference-home .quick-access-grid { grid-template-columns: repeat(3, 1fr); }
.reference-home .quick-card { border-bottom: 1px solid var(--sd-line); }
.reference-home .quick-card:nth-child(3n) { border-right: 0; }
.reference-home .quick-card:nth-child(n+4) { border-bottom: 0; }

.home-about, .home-news-section, .home-events-section, .imam-message, .home-gallery-section, .home-radio-section, .home-service-section { padding: 90px 0; }
.home-split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); align-items: center; gap: 80px; }
.home-about-image { position: relative; padding: 14px; border-radius: 28px; background: #fff; box-shadow: var(--sd-shadow); }
.home-about-image img { width: 100%; height: 390px; object-fit: cover; border-radius: 20px; }
.image-badge { position: absolute; right: -28px; bottom: 30px; display: flex; align-items: center; gap: 10px; padding: 14px 19px; border-radius: 16px; background: #fff; color: var(--sd-muted); box-shadow: 0 16px 40px rgba(9,54,49,.16); font-size: 12px; }
.image-badge b { color: var(--sd-wine); font-size: 24px; }
.home-eyebrow { display: block; color: #b78936; font-size: 12px; font-weight: 750; letter-spacing: .1em; margin-bottom: 10px; }
.home-copy-block h2, .home-section-head h2, .events-intro h2, .imam-card h2, .home-radio-card h2, .home-service-card h2 { color: var(--sd-ink); font-size: 34px; line-height: 1.35; font-weight: 750; margin: 0 0 18px; letter-spacing: -.02em; }
.home-copy-block p, .events-intro p, .imam-card p, .home-radio-card p, .home-service-card p { color: var(--sd-muted); font-size: 16px; line-height: 1.85; margin-bottom: 24px; }
.outline-link, .solid-link { display: inline-flex; align-items: center; gap: 10px; border-radius: 14px; font-weight: 700; }
.outline-link { padding: 11px 0; color: var(--sd-wine); border-bottom: 1px solid rgba(8,127,104,.25); border-radius: 0; }
.solid-link { padding: 12px 18px; color: #fff; background: var(--sd-wine); }
.solid-link:hover { color: #fff; background: var(--sd-wine-dark); transform: translateY(-2px); }

.home-news-section { background: #fff; }
.home-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; margin-bottom: 34px; }
.home-section-head h2 { margin-bottom: 0; }
.home-section-head > a { color: var(--sd-wine); font-weight: 700; }
.home-section-head.centered { justify-content: center; text-align: center; }
.home-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-news-card { overflow: hidden; border: 1px solid var(--sd-line); border-radius: 24px; background: #fff; box-shadow: 0 9px 28px rgba(9,54,49,.06); transition: transform .25s ease, box-shadow .25s ease; }
.home-news-card:hover { transform: translateY(-5px); box-shadow: var(--sd-shadow); }
.home-news-image { position: relative; display: block; height: 210px; overflow: hidden; background: #e9f1ed; }
.home-news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.home-news-card:hover .home-news-image img { transform: scale(1.04); }
.home-news-play { position: absolute; inset: 0; display: grid; place-items: center; margin: auto; width: 54px; height: 54px; border: 3px solid rgba(255,255,255,.94); border-radius: 50%; color: #fff; background: #1877f2; box-shadow: 0 10px 28px rgba(0,0,0,.28); }
.home-news-play i { margin-left: 3px; font-size: 16px; }
.home-news-content { padding: 23px; }
.news-date { color: #b78936; font-size: 12px; font-weight: 700; }
.home-news-content h3 { font-size: 19px; line-height: 1.55; font-weight: 750; margin: 10px 0; }
.home-news-content h3 a { color: var(--sd-ink); }
.home-news-content p { height: 52px; overflow: hidden; color: var(--sd-muted); font-size: 13px; line-height: 1.65; }
.card-read-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 13px; font-weight: 700; }

.home-events-section { background: #e9f2ee; }
.home-events-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.event-list { display: flex; flex-direction: column; gap: 13px; }
.event-row { display: grid; grid-template-columns: 118px 1fr 26px; align-items: center; gap: 20px; min-height: 122px; padding: 14px 20px 14px 14px; overflow: hidden; border: 1px solid rgba(9,54,49,.06); border-radius: 22px; color: var(--sd-ink); background: #fff; box-shadow: 0 8px 24px rgba(9,54,49,.06); }
.event-row:hover { color: var(--sd-wine); transform: translateX(4px); box-shadow: 0 14px 34px rgba(9,54,49,.11); }
.event-thumb { position: relative; display: block; height: 94px; overflow: hidden; border-radius: 15px; background: #dce9e3; }
.event-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.event-row:hover .event-thumb img { transform: scale(1.06); }
.event-play { position: absolute; inset: 0; display: grid; place-items: center; margin: auto; width: 38px; height: 38px; border: 2px solid rgba(255,255,255,.92); border-radius: 50%; color: #fff; background: #1877f2; box-shadow: 0 7px 18px rgba(0,0,0,.24); }
.event-play i { margin-left: 2px; font-size: 12px; }
.event-info { display: grid; grid-template-columns: 78px minmax(0, 1fr); align-items: center; gap: 20px; min-width: 0; }
.event-date { padding-right: 16px; text-align: center; border-right: 1px solid var(--sd-line); }
.event-date b, .event-date small { display: block; }
.event-date b { color: var(--sd-wine); font-size: 30px; line-height: 1; }
.event-date small { color: var(--sd-muted); font-size: 9px; margin-top: 7px; }
.event-copy { min-width: 0; }
.event-copy strong, .event-copy small { display: block; }
.event-copy strong { font-size: 17px; line-height: 1.45; }
.event-copy small { max-height: 40px; overflow: hidden; color: var(--sd-muted); font-size: 12px; line-height: 1.65; margin-top: 6px; }
.event-arrow { color: var(--sd-wine); }

.imam-message { background: var(--sd-cream); }
.imam-card { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 50px; padding: 50px 60px; border-radius: 30px; color: #fff; background: linear-gradient(125deg, #063b39, #08745f); box-shadow: var(--sd-shadow); }
.imam-symbol { width: 150px; height: 150px; display: grid; place-items: center; margin: auto; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(255,255,255,.08); color: #f0cf8b; font-size: 58px; }
.imam-card h2, .home-radio-card h2 { color: #fff; }
.imam-card p, .home-radio-card p { color: rgba(255,255,255,.76); margin-bottom: 14px; }
.imam-card a { color: #f0cf8b; font-weight: 700; }

.home-gallery-section { background: #fff; }
.home-gallery-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.home-gallery-grid a { position: relative; height: 300px; overflow: hidden; border-radius: 22px; background: #e5eeea; }
.home-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.home-gallery-grid a:hover img { transform: scale(1.045); }
.home-gallery-grid span { position: absolute; left: 20px; bottom: 20px; padding: 9px 14px; border-radius: 11px; color: #fff; background: rgba(5,58,54,.85); font-weight: 700; }


.home-service-section { padding-top: 20px; background: var(--sd-cream); }
.home-service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.home-service-card { padding: 38px; border: 1px solid var(--sd-line); border-radius: 26px; background: #fff; box-shadow: 0 9px 28px rgba(9,54,49,.05); }
.home-service-card.contact-card { background: #e9f2ee; }
.home-service-card h2 { font-size: 27px; }

/* Bootstrap 3 clearfix pseudo-elements become unwanted grid/flex items. */
.site-topbar-inner::before, .site-topbar-inner::after,
.home-hero-content::before, .home-hero-content::after,
.home-split::before, .home-split::after,
.home-events-layout::before, .home-events-layout::after,
.home-service-grid::before, .home-service-grid::after,
.page-hero-inner::before, .page-hero-inner::after { display: none !important; content: none !important; }
.reference-home .tab-pane.active,
.reference-home .carousel .item.active { background: transparent !important; color: inherit; }

@media (max-width: 991px) {
  .reference-home .home-hero { padding: 60px 0 90px; }
  .reference-home .home-hero-content { grid-template-columns: 1fr; gap: 45px; }
  .hero-visual { max-width: 650px; }
  .home-split, .home-events-layout { grid-template-columns: 1fr; gap: 45px; }
  .home-news-grid { grid-template-columns: repeat(2, 1fr); }
  .home-news-card:last-child { display: none; }
  .imam-card { grid-template-columns: 130px 1fr; padding: 40px; gap: 35px; }
  .imam-symbol { width: 120px; height: 120px; }
}

@media (max-width: 767px) {
  .reference-home .home-hero { height: auto; min-height: 0; padding: 52px 0 75px; }
  .reference-home .home-hero h1 { font-size: 43px; }
  .hero-visual { padding: 9px; border-radius: 22px; }
  .hero-visual img { height: 250px; border-radius: 16px; }
  .hero-visual-label { left: 14px; right: 14px; bottom: 20px; min-width: 0; }
  .reference-home .quick-access { margin-top: -35px; }
  .reference-home .quick-access-grid { grid-template-columns: 1fr 1fr; }
  .reference-home .quick-card { min-height: 112px; border-right: 1px solid var(--sd-line); border-bottom: 1px solid var(--sd-line); }
  .reference-home .quick-card:nth-child(2n) { border-right: 0; }
  .reference-home .quick-card:nth-child(n+5) { border-bottom: 0; }
  .home-about, .home-news-section, .home-events-section, .imam-message, .home-gallery-section, .home-radio-section, .home-service-section { padding: 58px 0; }
  .home-about-image img { height: 270px; }
  .image-badge { right: 10px; bottom: 18px; }
  .home-copy-block h2, .home-section-head h2, .events-intro h2, .imam-card h2, .home-radio-card h2 { font-size: 27px; }
  .home-section-head { align-items: flex-start; }
  .home-section-head > a { display: none; }
  .home-news-grid { grid-template-columns: 1fr; }
  .home-news-card:last-child { display: block; }
  .event-row { grid-template-columns: 86px 1fr; gap: 14px; min-height: 112px; padding: 12px; }
  .event-thumb { height: 86px; border-radius: 13px; }
  .event-info { display: block; }
  .event-date { display: flex; align-items: center; gap: 7px; padding: 0; margin-bottom: 5px; text-align: left; border: 0; }
  .event-date b, .event-date small { display: inline; margin: 0; }
  .event-date b { font-size: 14px; }
  .event-date small { font-size: 9px; }
  .event-row > i { display: none; }
  .event-copy strong { font-size: 14px; }
  .event-copy small { max-height: 34px; font-size: 11px; line-height: 1.55; margin-top: 3px; }
  .imam-card { grid-template-columns: 1fr; padding: 32px 25px; text-align: center; }
  .imam-symbol { width: 100px; height: 100px; font-size: 38px; }
  .home-gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .home-gallery-grid a { height: 180px; }
  .home-gallery-grid a:first-child { grid-column: 1 / -1; height: 230px; }
  .home-service-grid { grid-template-columns: 1fr; }
  .home-service-card { padding: 28px 23px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
