:root {
  --mansa-green: #08734c;
  --mansa-green-dark: #07583d;
  --mansa-green-deep: #064b35;
  --mansa-green-soft: #e8f4ed;
  --mansa-yellow: #ffd32a;
  --mansa-ink: #243340;
  --mansa-muted: #69757d;
  --mansa-border: #e5ebe8;
  --mansa-paper: #ffffff;
  --mansa-soft: #f6f8f7;
  --mansa-radius: 10px;
  --mansa-shadow: 0 8px 28px rgba(23, 51, 39, .065);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--mansa-ink); font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif; font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--mansa-green); text-decoration: none; transition: color .18s ease, background .18s ease, transform .18s ease; }
a:hover { color: var(--mansa-green-dark); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(255, 211, 42, .9); outline-offset: 3px; }
h1, h2, h3, h4, p { margin-top: 0; }
.site-container { width: min(1300px, calc(100% - 48px)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; width: auto; height: auto; clip: auto; padding: 12px 18px; margin: 8px; background: #fff; color: #111; }
.skip-link { top: 0; left: 0; }

/* Top utility row and brand header */
.topbar { min-height: 38px; background: var(--mansa-green-dark); color: #fff; font-size: 12px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 38px; }
.topbar-date, .topbar-links { display: flex; align-items: center; gap: 14px; }
.topbar-date { font-weight: 600; }
.topbar-date svg { width: 15px; height: 15px; flex: 0 0 auto; }
.topbar-links { gap: 0; }
.topbar-links > a { color: #f8fffb; padding: 2px 12px; border-right: 1px solid rgba(255,255,255,.4); line-height: 1.2; }
.topbar-links > a:first-child { padding-left: 0; }
.topbar-links > a:last-child { border-right: 0; }
.topbar-links > a:hover { color: var(--mansa-yellow); }
.topbar-links .topbar-search { display: inline-flex; padding: 2px 0 2px 18px; border-right: 0; }
.topbar-search svg { width: 17px; height: 17px; }
.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.98); border-bottom: 1px solid #f0f3f1; box-shadow: 0 3px 14px rgba(16, 58, 39, .025); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 92px; }
.site-branding { min-width: 260px; display: flex; align-items: center; gap: 16px; }
.custom-logo-wrap { flex: 0 0 auto; display: flex; align-items: center; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-width: 80px; max-height: 72px; object-fit: contain; }
.brand-monogram, .footer-brand-monogram { display: grid; place-items: center; width: 62px; height: 62px; flex: 0 0 62px; background: var(--mansa-green); color: #fff; font-weight: 900; font-size: 24px; letter-spacing: -2px; border: 3px solid var(--mansa-yellow); clip-path: polygon(50% 0%, 95% 25%, 85% 83%, 50% 100%, 15% 83%, 5% 25%); }
.brand-monogram span { color: var(--mansa-yellow); }
.brand-monogram:hover { color: white; }
.brand-copy { min-width: 0; }
.site-title { margin: 0; font-size: clamp(19px, 1.8vw, 26px); line-height: 1.22; font-weight: 800; letter-spacing: -.6px; }
.site-title a { color: var(--mansa-green); }
.site-tagline { margin: 5px 0 0; color: #48535a; font-size: 12.5px; font-style: italic; line-height: 1.35; }
.primary-navigation { display: flex; align-items: center; justify-content: flex-end; gap: 15px; }
.menu-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu-list li { position: relative; }
.menu-list > li > a { display: inline-flex; align-items: center; gap: 5px; padding: 12px 13px; color: #253542; border-radius: 7px; font-weight: 650; font-size: 13px; white-space: nowrap; }
.menu-list > li.current-menu-item > a, .menu-list > li.current_page_item > a, .menu-list > li > a:hover { background: var(--mansa-green); color: white; }
.menu-list li.menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.menu-list .sub-menu { position: absolute; z-index: 30; top: 100%; left: 0; display: none; min-width: 210px; padding: 8px; margin: 0; background: white; border: 1px solid var(--mansa-border); border-radius: 9px; box-shadow: var(--mansa-shadow); list-style: none; }
.menu-list li:hover > .sub-menu, .menu-list li:focus-within > .sub-menu { display: block; }
.menu-list .sub-menu a { display: block; padding: 9px 11px; color: var(--mansa-ink); border-radius: 5px; font-size: 13px; }
.menu-list .sub-menu a:hover { color: var(--mansa-green); background: var(--mansa-green-soft); }
.header-search { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; color: var(--mansa-green); }
.header-search svg { width: 23px; height: 23px; stroke-width: 2.4; }
.nav-toggle { display: none; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--mansa-border); border-radius: 8px; padding: 8px 12px; color: var(--mansa-green); background: #fff; cursor: pointer; font-size: 13px; font-weight: 700; }
.nav-toggle svg { width: 20px; height: 20px; }

/* Homepage hero */
.hero-banner { position: relative; isolation: isolate; min-height: 365px; overflow: hidden; background-color: var(--mansa-green-dark); background-image: linear-gradient(90deg, rgba(5, 83, 57, .99) 0%, rgba(6, 104, 69, .96) 34%, rgba(5, 103, 67, .7) 46%, rgba(5, 103, 67, .06) 73%), var(--hero-image); background-size: cover; background-position: center 48%; color: #fff; }
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: 365px; padding-top: 26px; padding-bottom: 34px; }
.hero-copy { width: min(535px, 49%); padding-left: 12px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; color: #d0f2dd; font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.hero-eyebrow::before { content: ""; width: 27px; height: 2px; background: var(--mansa-yellow); }
.hero-copy h1 { max-width: 560px; margin: 0 0 11px; color: #fff; font-size: clamp(31px, 3.05vw, 44px); line-height: 1.08; font-weight: 850; letter-spacing: -.9px; }
.hero-copy h1 span { display: block; margin-top: 4px; color: var(--mansa-yellow); }
.hero-description { max-width: 440px; margin: 0 0 19px; color: rgba(255,255,255,.95); font-size: 16px; line-height: 1.55; font-weight: 500; }
.button { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 30px; padding: 10px 20px; font-size: 12.5px; line-height: 1.3; font-weight: 800; }
.button span { font-size: 18px; line-height: .8; transition: transform .18s ease; }
.button:hover span { transform: translateX(3px); }
.button-yellow { background: var(--mansa-yellow); color: #182d25; box-shadow: 0 5px 12px rgba(0,0,0,.08); }
.button-yellow:hover { color: #182d25; background: #ffe15f; transform: translateY(-1px); }
.button-green { background: var(--mansa-green); color: white; }
.button-green:hover { color: white; background: var(--mansa-green-dark); }
.hero-shape { position: absolute; z-index: 1; pointer-events: none; }
.hero-shape-one { top: -100px; left: 38%; width: 150px; height: 580px; background: rgba(5, 105, 68, .42); transform: skewX(-28deg); }
.hero-shape-two { right: -50px; bottom: -95px; width: 245px; height: 240px; border: 15px solid var(--mansa-yellow); border-left: 0; border-top: 0; border-radius: 0 0 180px 0; transform: rotate(-18deg); opacity: .92; }
.hero-image-overlay { position: absolute; z-index: -1; right: 0; top: 0; width: 55%; height: 100%; background: linear-gradient(0deg, rgba(0,62,39,.13), transparent 40%); }
.hero-bottom-line { position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--mansa-yellow); opacity: .9; }

/* Service shortcut bar */
.shortcuts-section { position: relative; z-index: 5; margin-top: 16px; margin-bottom: 27px; }
.shortcuts-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; padding: 14px 8px; background: #f5f8f6; border: 1px solid #eff3f0; border-radius: 9px; }
.shortcut-item { display: flex; position: relative; align-items: center; gap: 13px; min-width: 0; padding: 7px 19px; border-right: 1px solid #e5ece7; color: var(--mansa-ink); }
.shortcut-item:last-child { border-right: 0; }
.shortcut-item:hover { color: var(--mansa-green); }
.shortcut-icon { display: grid; place-items: center; width: 37px; min-width: 37px; height: 38px; color: var(--mansa-green); }
.shortcut-icon svg { width: 30px; height: 30px; stroke-width: 2; }
.shortcut-text { display: flex; flex-direction: column; min-width: 0; }
.shortcut-text strong { color: inherit; font-size: 13.5px; font-weight: 800; line-height: 1.3; }
.shortcut-text small { color: #5d6870; margin-top: 3px; font-size: 10.8px; line-height: 1.3; }
.shortcut-arrow { display: none; margin-left: auto; }

/* News and right-side modules */
.homepage-content-grid { display: grid; grid-template-columns: minmax(0, 2.12fr) minmax(290px, .96fr); gap: 22px; padding-top: 0; padding-bottom: 52px; }
.news-column, .home-sidebar { min-width: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.section-heading h2 { position: relative; margin: 0; padding-left: 15px; color: #263641; font-size: 23px; line-height: 1.25; font-weight: 850; letter-spacing: -.45px; }
.section-heading h2::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 6px; border-radius: 3px; background: var(--mansa-green); }
.section-heading > a { flex: 0 0 auto; color: var(--mansa-green); font-size: 12px; font-weight: 800; }
.section-heading > a span { font-size: 16px; margin-left: 3px; }
.featured-news { display: grid; grid-template-columns: minmax(230px, 1.03fr) minmax(0, 1fr); gap: 20px; min-width: 0; margin-bottom: 17px; padding: 0; border-radius: var(--mansa-radius); background: #f8faf9; overflow: hidden; }
.featured-news-image, .news-card-image, .archive-card-image { position: relative; display: block; min-width: 0; overflow: hidden; background: #e7f0e9; }
.featured-news-image { min-height: 218px; border-radius: 8px; }
.featured-news-image img, .news-card-image img, .archive-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.featured-news-image img { position: absolute; inset: 0; }
.featured-news-image:hover img, .news-card-image:hover img, .archive-card-image:hover img { transform: scale(1.035); }
.date-badge { position: absolute; z-index: 2; top: 9px; left: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 47px; min-height: 51px; padding: 4px 3px; border-radius: 6px; color: white; background: var(--mansa-green); box-shadow: 0 4px 12px rgba(0,0,0,.15); line-height: 1.1; }
.date-badge strong { font-size: 20px; font-weight: 850; }
.date-badge small { margin-top: 2px; font-size: 10px; font-weight: 700; }
.featured-news-copy { align-self: center; min-width: 0; padding: 14px 18px 14px 0; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; color: var(--mansa-muted); font-size: 11px; line-height: 1.4; }
.meta-category { padding: 3px 7px; color: var(--mansa-green); background: #e6f3ec; border-radius: 4px; font-size: 10px; font-weight: 750; }
.featured-news-copy h3 { margin: 0 0 10px; color: #243541; font-size: clamp(18px, 1.55vw, 22px); font-weight: 850; line-height: 1.25; letter-spacing: -.35px; }
.featured-news-copy h3 a, .news-card h3 a, .archive-card h2 a { color: inherit; }
.featured-news-copy h3 a:hover, .news-card h3 a:hover, .archive-card h2 a:hover { color: var(--mansa-green); }
.featured-news-copy > p { margin: 0 0 14px; color: #535e66; font-size: 13px; line-height: 1.5; }
.featured-news-copy .button { padding: 9px 17px; }
.news-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.news-card { min-width: 0; padding: 8px 8px 12px; background: #f8faf9; border: 1px solid #f2f5f3; border-radius: 8px; }
.news-card-image { height: 104px; margin-bottom: 10px; border-radius: 5px; }
.news-card-image img { position: absolute; inset: 0; }
.news-card .date-badge { top: 6px; left: 6px; width: 40px; min-height: 45px; border-radius: 5px; }
.news-card .date-badge strong { font-size: 17px; }
.news-card h3 { margin: 0 0 7px; color: #243541; font-size: 13.5px; line-height: 1.35; font-weight: 800; }
.news-card .card-meta { margin: 0; color: #758078; font-size: 10px; }
.image-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; color: #51916e; background: linear-gradient(140deg, #edf7ef 0%, #cfe6d7 50%, #e5f0e9 100%); }
.image-placeholder svg { width: 35px; height: 35px; }
.image-placeholder small { font-size: 11px; font-weight: 750; }
.empty-news { border: 1px dashed #c7d9ce; border-radius: 9px; padding: 28px; background: #f8fbf9; }
.empty-news h3 { margin-bottom: 6px; font-size: 17px; }
.empty-news p { margin-bottom: 0; color: var(--mansa-muted); font-size: 13px; }
.home-sidebar { display: flex; flex-direction: column; gap: 16px; }
.home-widget-slot { min-width: 0; }
.mansa-info-widget { overflow: hidden; border: 1px solid var(--mansa-border); border-radius: 8px; background: #fff; }
.info-widget-heading { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 8px 14px; background: var(--mansa-green); color: #fff; }
.info-widget-heading svg { flex: 0 0 auto; width: 22px; height: 22px; stroke-width: 2.1; }
.info-widget-heading h2 { margin: 0; color: #fff; font-size: 17px; line-height: 1.25; font-weight: 850; }
.info-widget-body { padding: 5px 13px 7px; }
.announcement-list, .agenda-list { list-style: none; margin: 0; padding: 0; }
.announcement-list li { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; align-items: start; gap: 9px; padding: 8px 0; border-bottom: 1px solid #f0f2f1; font-size: 11.5px; line-height: 1.4; }
.announcement-list li:last-child, .agenda-list li:last-child { border-bottom: 0; }
.announcement-dot { width: 9px; height: 9px; margin-top: 4px; border-radius: 50%; background: var(--mansa-yellow); }
.announcement-copy { color: #293743; font-weight: 700; }
.announcement-copy a { color: inherit; }
.announcement-copy a:hover { color: var(--mansa-green); }
.announcement-list time { margin-left: 4px; color: #79828a; font-size: 10.5px; white-space: nowrap; }
.agenda-list li { display: grid; grid-template-columns: 53px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid #edf1ee; }
.agenda-date { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 56px; border-radius: 6px; background: #f0f5f2; color: var(--mansa-green); line-height: 1.05; }
.agenda-date strong { font-size: 23px; font-weight: 850; }
.agenda-date span { margin-top: 4px; font-size: 10px; font-weight: 750; }
.agenda-copy { min-width: 0; align-self: center; }
.agenda-title { display: block; margin-bottom: 4px; color: #283642; font-size: 12px; line-height: 1.35; font-weight: 800; }
.agenda-place { display: flex; align-items: flex-start; gap: 4px; color: #69737a; font-size: 11px; line-height: 1.35; }
.agenda-place svg { flex: 0 0 auto; width: 13px; height: 13px; color: var(--mansa-green); }
.widget-empty-note { margin: 0; padding: 12px 0; color: #77827b; font-size: 12px; }
.home-extra-widgets { display: flex; flex-direction: column; gap: 14px; }
.home-after-news { margin-top: 22px; }

/* Standard WordPress content and archive screens */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; padding-top: 48px; padding-bottom: 65px; }
.page-layout:not(:has(.page-sidebar)) { grid-template-columns: minmax(0, 1fr); }
.content-area { min-width: 0; }
.entry-header { margin-bottom: 26px; }
.entry-kicker { margin-bottom: 8px; color: var(--mansa-green); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; font-weight: 850; }
.entry-title, .archive-header h1 { margin: 0; color: #243541; font-size: clamp(29px, 3vw, 42px); line-height: 1.16; letter-spacing: -.8px; font-weight: 850; }
.entry-summary { margin: 15px 0 0; color: #657079; font-size: 17px; }
.entry-featured-image { margin: 26px 0; border-radius: 10px; overflow: hidden; }
.entry-featured-image img { display: block; width: 100%; max-height: 580px; object-fit: cover; }
.entry-content { color: #36434c; font-size: 16px; line-height: 1.85; overflow-wrap: break-word; }
.entry-content > * { max-width: 100%; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.6em; color: #243541; line-height: 1.3; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 6px; }
.entry-content blockquote { margin: 25px 0; padding: 8px 22px; border-left: 4px solid var(--mansa-green); background: #f5f9f6; color: #4e6157; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 22px 0; }
.entry-content th, .entry-content td { border: 1px solid var(--mansa-border); padding: 9px 12px; text-align: left; }
.entry-content th { background: #f3f8f5; }
.entry-content .alignwide { width: min(1100px, calc(100vw - 60px)); max-width: min(1100px, calc(100vw - 60px)); margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.page-links { margin: 25px 0; font-weight: 700; }
.entry-footer { margin-top: 35px; padding-top: 22px; border-top: 1px solid var(--mansa-border); }
.entry-categories { display: flex; flex-wrap: wrap; gap: 7px; }
.entry-categories a { display: inline-block; padding: 5px 9px; border-radius: 4px; background: #eaf5ee; font-size: 11px; font-weight: 750; }
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 25px; font-size: 13px; font-weight: 700; }
.post-navigation > div:last-child { text-align: right; }
.page-sidebar { min-width: 0; }
.page-sidebar .widget { margin-bottom: 20px; padding: 19px; border: 1px solid var(--mansa-border); border-radius: 8px; }
.widget-title { font-size: 17px; line-height: 1.3; font-weight: 850; color: #263741; }
.page-sidebar ul { padding-left: 20px; }
.archive-header { margin-bottom: 26px; }
.archive-description { margin-top: 12px; color: #5c6870; }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.archive-card { overflow: hidden; border: 1px solid var(--mansa-border); border-radius: 9px; background: #fff; }
.archive-card-image { height: 210px; }
.archive-card-image img { position: absolute; inset: 0; }
.archive-card-content { padding: 17px; }
.archive-card h2 { margin: 0 0 9px; color: #253741; font-size: 20px; line-height: 1.3; font-weight: 850; }
.archive-card-content > p:not(.post-meta) { color: #657079; font-size: 13px; }
.text-link { font-size: 12px; font-weight: 800; }
.pagination { margin-top: 28px; }
.pagination .nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--mansa-border); border-radius: 6px; color: var(--mansa-green); }
.pagination .page-numbers.current, .pagination .page-numbers:hover { color: white; border-color: var(--mansa-green); background: var(--mansa-green); }
.search-form { display: flex; width: min(100%, 480px); margin: 20px 0; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 43px; padding: 10px 13px; border: 1px solid #dce5df; border-right: 0; border-radius: 7px 0 0 7px; color: var(--mansa-ink); background: white; }
.search-submit { display: inline-flex; align-items: center; justify-content: center; width: 47px; border: 0; border-radius: 0 7px 7px 0; background: var(--mansa-green); color: white; cursor: pointer; }
.search-submit svg { width: 19px; height: 19px; }
.error-page { display: flex; min-height: 55vh; flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 65px; padding-bottom: 65px; }
.error-code { color: var(--mansa-green); font-size: clamp(70px, 12vw, 130px); font-weight: 900; line-height: .95; letter-spacing: -5px; }
.error-page h1 { margin-top: 18px; margin-bottom: 6px; font-size: 32px; }
.error-page > p { color: #66717a; }

/* Footer */
.site-footer { background: #073f2e; color: #d5e5dc; }
.footer-widgets { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 45px; padding-top: 42px; padding-bottom: 36px; }
.footer-widget-column { min-width: 0; }
.footer-school { max-width: 360px; }
.footer-brand-monogram { width: 50px; height: 50px; font-size: 20px; flex-basis: 50px; margin-bottom: 13px; }
.footer-school h2, .site-footer .widget-title { color: white; font-size: 16px; font-weight: 850; }
.footer-school p, .footer-widget-column > p, .site-footer .textwidget { color: #bdcfc4; font-size: 12.5px; line-height: 1.7; }
.site-footer .widget { margin-bottom: 12px; }
.site-footer .widget-title { margin-bottom: 12px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 7px; }
.site-footer li a, .site-footer a { color: #d4e7dc; font-size: 12.5px; }
.site-footer a:hover { color: var(--mansa-yellow); }
.site-footer .menu-list { display: block; }
.site-footer .menu-list > li > a { display: inline-block; padding: 0; background: transparent; color: #d4e7dc; font-weight: 500; }
.site-footer .menu-list > li > a:hover { color: var(--mansa-yellow); }
.footer-bottom { background: #053325; border-top: 1px solid rgba(255,255,255,.09); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 13px; padding-bottom: 13px; }
.footer-bottom p { margin: 0; color: #c1d6ca; font-size: 11px; }
.footer-bottom .back-to-top { color: #e7f1eb; font-size: 11px; font-weight: 700; white-space: nowrap; }
.comments-area { margin-top: 38px; padding-top: 25px; border-top: 1px solid var(--mansa-border); }
.comment-list { padding-left: 22px; }
.comment-body { margin-bottom: 20px; }
.comment-form input:not([type="checkbox"]), .comment-form textarea { width: 100%; max-width: 520px; padding: 10px; border: 1px solid #dce5df; border-radius: 6px; }
.comment-form .submit { padding: 10px 16px; border: 0; border-radius: 22px; background: var(--mansa-green); color: #fff; cursor: pointer; }

@media (max-width: 1120px) {
  .site-container { width: min(100% - 36px, 1300px); }
  .header-inner { gap: 14px; }
  .site-branding { min-width: 220px; gap: 10px; }
  .custom-logo { max-width: 65px; max-height: 62px; }
  .brand-monogram { width: 54px; height: 54px; flex-basis: 54px; font-size: 21px; }
  .site-title { font-size: 21px; }
  .menu-list > li > a { padding: 10px 9px; font-size: 12px; }
  .primary-navigation { gap: 7px; }
  .shortcut-item { gap: 9px; padding-inline: 12px; }
  .shortcut-icon { width: 30px; min-width: 30px; }
  .shortcut-icon svg { width: 26px; height: 26px; }
  .shortcut-text strong { font-size: 12px; }
  .shortcut-text small { font-size: 10px; }
  .homepage-content-grid { grid-template-columns: minmax(0, 1.7fr) minmax(270px, .9fr); gap: 18px; }
  .featured-news { gap: 15px; }
  .featured-news-image { min-height: 230px; }
  .featured-news-copy h3 { font-size: 18px; }
  .featured-news-copy > p { font-size: 12px; }
  .news-card-image { height: 92px; }
}

@media (max-width: 920px) {
  .topbar-inner { min-height: 36px; }
  .header-inner { min-height: 82px; flex-wrap: wrap; }
  .site-branding { flex: 1; }
  .nav-toggle { display: inline-flex; }
  .primary-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 20px; background: white; border-top: 1px solid var(--mansa-border); box-shadow: 0 15px 24px rgba(0,0,0,.08); }
  .primary-navigation.is-open { display: flex; }
  .primary-navigation .menu-list { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-navigation .menu-list > li > a { display: flex; width: 100%; justify-content: space-between; padding: 12px; font-size: 14px; }
 /* Submenu tertutup secara default pada tablet dan mobile */
.primary-navigation .menu-list li > .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 4px 8px 7px 18px;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Tampilkan submenu hanya jika dibuka */
.primary-navigation .menu-list li.submenu-open > .sub-menu {
    display: block;
}

/* Tombol panah submenu */
.primary-navigation .submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    min-height: 42px;
    margin-left: 8px;
    border: 0;
    background: transparent;
    color: var(--mansa-green);
    cursor: pointer;
}

.primary-navigation .submenu-toggle::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .18s ease;
}

.primary-navigation li.submenu-open > .submenu-toggle::before {
    transform: rotate(225deg);
}


/* Tombol panah submenu */
.primary-navigation .submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    min-height: 42px;
    margin-left: 8px;
    border: 0;
    background: transparent;
    color: var(--mansa-green);
    cursor: pointer;
}

/* Bentuk panah */
.primary-navigation .submenu-toggle::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .18s ease;
}

/* Panah berputar ketika submenu terbuka */
.primary-navigation li.submenu-open > .submenu-toggle::before {
    transform: rotate(225deg);
}

/* Atur posisi tautan induk dan tombol panah */
.primary-navigation .menu-list li.menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.primary-navigation .menu-list li.menu-item-has-children > a {
    flex: 1 1 0;
    min-width: 0;
}

/* Submenu memenuhi lebar menu */
.primary-navigation .menu-list li.menu-item-has-children > .sub-menu {
    flex: 0 0 100%;
    width: 100%;
}

/* Sembunyikan panah bawaan agar tidak muncul dua panah */
.primary-navigation .menu-list li.menu-item-has-children > a::after {
    display: none;
}

.primary-navigation .menu-list li.menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.primary-navigation .menu-list li.menu-item-has-children > a {
    flex: 1 1 0;
    min-width: 0;
}

.primary-navigation .menu-list li.menu-item-has-children > .sub-menu {
    flex: 0 0 100%;
    width: 100%;
}

  .primary-navigation .menu-list .sub-menu a { padding: 8px; }
  .header-search { display: none; }
  .hero-banner, .hero-inner { min-height: 340px; }
  .hero-copy { width: min(510px, 63%); }
  .hero-banner { background-position: 60% center; background-image: linear-gradient(90deg, rgba(5, 83, 57, .99) 0%, rgba(6, 104, 69, .91) 48%, rgba(5, 103, 67, .26) 100%), var(--hero-image); }
  .shortcuts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 7px; }
  .shortcut-item { padding: 10px 12px; }
  .shortcut-item:nth-child(3) { border-right: 0; }
  .shortcut-item:nth-child(4), .shortcut-item:nth-child(5) { border-top: 1px solid #e5ece7; }
  .homepage-content-grid { grid-template-columns: 1fr; }
  .home-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .home-extra-widgets { grid-column: 1 / -1; }
  .page-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 25px; }
  .footer-widgets { gap: 25px; }
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  .site-container { width: calc(100% - 28px); }
  .topbar { font-size: 10px; }
  .topbar-inner { gap: 8px; }
  .topbar-date { gap: 6px; white-space: nowrap; font-size: 10px; }
  .topbar-date svg { width: 13px; height: 13px; }
  .topbar-links > a { padding: 2px 7px; }
  .topbar-links > a:nth-child(2), .topbar-links > a:nth-child(3) { display: none; }
  .topbar-links .topbar-search { padding-left: 8px; }
  .topbar-search svg { width: 15px; height: 15px; }
  .header-inner { min-height: 76px; gap: 8px; }
  .site-branding { min-width: 0; gap: 9px; }
  .custom-logo { max-width: 48px; max-height: 54px; }
  .brand-monogram { width: 45px; height: 45px; flex-basis: 45px; font-size: 18px; border-width: 2px; }
  .site-title { font-size: 17px; line-height: 1.2; letter-spacing: -.35px; }
  .site-tagline { margin-top: 3px; font-size: 10px; }
  .nav-toggle { padding: 8px; gap: 5px; }
  .nav-toggle span { font-size: 0; }
  .nav-toggle svg { width: 22px; height: 22px; }
  .primary-navigation { padding-inline: 14px; }
  .hero-banner, .hero-inner { min-height: 370px; }
  .hero-banner { background-position: 64% center; background-image: linear-gradient(90deg, rgba(4, 78, 52, .96), rgba(5, 98, 64, .80) 68%, rgba(5, 103, 67, .52)), var(--hero-image); }
  .hero-inner { align-items: flex-end; padding-top: 38px; padding-bottom: 32px; }
  .hero-copy { width: 100%; padding-left: 0; }
  .hero-eyebrow { margin-bottom: 9px; font-size: 10px; }
  .hero-copy h1 { max-width: 460px; margin-bottom: 12px; font-size: clamp(30px, 8vw, 39px); }
  .hero-description { max-width: 420px; margin-bottom: 17px; font-size: 14px; line-height: 1.55; }
  .hero-shape-one { left: 10%; opacity: .5; }
  .hero-shape-two { right: -125px; bottom: -100px; transform: scale(.75) rotate(-18deg); }
  .shortcuts-section { margin-top: 12px; margin-bottom: 25px; }
  .shortcuts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 5px; }
  .shortcut-item { min-height: 66px; gap: 8px; padding: 8px; border-right: 1px solid #e5ece7; }
  .shortcut-item:nth-child(2), .shortcut-item:nth-child(4) { border-right: 0; }
  .shortcut-item:nth-child(3) { border-right: 1px solid #e5ece7; border-top: 1px solid #e5ece7; }
  .shortcut-item:nth-child(4), .shortcut-item:nth-child(5) { border-top: 1px solid #e5ece7; }
  .shortcut-item:last-child { grid-column: 1 / -1; border-right: 0; }
  .shortcut-icon { width: 27px; min-width: 27px; height: 28px; }
  .shortcut-icon svg { width: 24px; height: 24px; }
  .shortcut-text strong { font-size: 11.5px; }
  .shortcut-text small { font-size: 9.5px; line-height: 1.25; }
  .section-heading { margin-bottom: 12px; }
  .section-heading h2 { font-size: 21px; }
  .section-heading > a { font-size: 11px; }
  .homepage-content-grid { gap: 23px; padding-bottom: 38px; }
  .featured-news { grid-template-columns: 1fr; gap: 0; }
  .featured-news-image { min-height: 0; height: 220px; }
  .featured-news-copy { padding: 16px; }
  .featured-news-copy h3 { font-size: 20px; }
  .featured-news-copy > p { font-size: 13px; }
  .news-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .news-card { padding: 6px 6px 10px; }
  .news-card-image { height: 100px; margin-bottom: 8px; }
  .news-card h3 { font-size: 12.5px; }
  .news-card:nth-child(3) { display: none; }
  .home-sidebar { grid-template-columns: 1fr; gap: 13px; }
  .info-widget-heading h2 { font-size: 16px; }
  .announcement-list li { font-size: 12px; }
  .agenda-title { font-size: 12.5px; }
  .page-layout { display: block; padding-top: 32px; padding-bottom: 45px; }
  .page-sidebar { margin-top: 34px; }
  .entry-title, .archive-header h1 { font-size: 29px; }
  .entry-content { font-size: 15px; }
  .archive-grid { grid-template-columns: 1fr; gap: 16px; }
  .archive-card-image { height: 210px; }
  .archive-card h2 { font-size: 18px; }
  .footer-widgets { grid-template-columns: 1fr; gap: 25px; padding-top: 30px; padding-bottom: 26px; }
  .footer-school { max-width: none; }
  .footer-bottom-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-bottom p { font-size: 10.5px; }
  .post-navigation { grid-template-columns: 1fr; gap: 12px; }
  .post-navigation > div:last-child { text-align: left; }
  .entry-content .alignwide { width: calc(100vw - 28px); max-width: calc(100vw - 28px); }
}


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

.shortcut-item-disabled { cursor: default; }
.shortcut-item-disabled:hover { color: var(--mansa-ink); }



/* ==================================================
   MANSA MODERN — FOOTER DAN KATEGORI HOMEPAGE
   ================================================== */

/*
 * Samakan batas kiri-kanan area hijau footer
 * dengan area hijau topbar/header.
 * Gunakan ukuran .site-container yang sama.
 */
.topbar,
.site-footer {
    width: min(1300px, calc(100% - 48px));
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Hero tetap mengikuti batas kontainer tema */
.hero-banner {
    width: min(1300px, calc(100% - 48px));
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Isi footer mengikuti lebar bagian hijau */
.site-footer {
    margin-top: 48px;
    overflow: hidden;
    background: #064b35;
    color: #f5f8f6;
}

.site-footer .footer-widgets {
    display: grid;
    grid-template-columns: 1.15fr 0.9fr 1.1fr;
    gap: 36px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 38px 36px;
    box-sizing: border-box;
}

.site-footer .footer-widget-column {
    min-width: 0;
    box-sizing: border-box;
}

.site-footer .footer-widget-column + .footer-widget-column {
    border-left: 1px solid rgba(255,255,255,.24);
    padding-left: 32px;
}

.site-footer .widget-title {
    color: #ffcf24;
    font-size: 20px;
    margin: 0 0 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.25);
}

/* Identitas madrasah */
.site-footer .footer-identity .footer-brand {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.site-footer .footer-identity .footer-logo {
    flex: 0 0 auto;
}

.site-footer .footer-identity .footer-logo img.custom-logo {
    display: block;
    width: 58px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.site-footer .footer-identity .footer-brand-copy {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 3px;
}

.site-footer .footer-identity .footer-school-name {
    display: block;
    margin: 0 0 7px;
    color: #ffd52a;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;
}

.site-footer .footer-identity .footer-school-name a {
    color: #ffd52a;
}

.site-footer .footer-identity .footer-slogan {
    color: rgba(255,255,255,.9);
    font-size: 13px;
    line-height: 1.7;
}

/* Media sosial */
.site-footer .footer-identity .footer-socials {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
}

.site-footer .footer-identity .footer-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    color: #fff;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.site-footer .footer-identity .footer-social:hover {
    color: #ffd52a;
}

.site-footer .footer-identity .footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    color: #ffd52a;
}

/* Peta */
.site-footer .footer-map {
    height: 260px;
    overflow: hidden;
    border-radius: 12px;
    background: #e9efeb;
}

.site-footer .footer-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Bagian hak cipta */
.site-footer .footer-bottom {
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
    background: rgba(0,0,0,.17);
}

.site-footer .footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    min-height: 64px;
    margin: 0;
    padding: 16px 0;
    box-sizing: border-box;
    text-align: center;
}

.site-footer .footer-bottom-inner p {
    width: 100%;
    margin: 0;
    color: #c1d6ca;
    font-size: 13px;
    text-align: center;
}

.site-footer .footer-bottom-inner .back-to-top {
    display: none !important;
}

/* Tombol kembali ke atas */
.mansa-back-to-top {
    position: fixed;
    right: 24px;
    bottom: 76px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #08784f;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,.22);
}

.mansa-back-to-top:hover {
    background: #ffd52a;
    color: #064b35;
}

/* Garis dan judul kategori */
.home-category-section {
    clear: both;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 28px 0;
    padding-bottom: 28px;
    border-bottom: 1px solid #e1e9e3;
    box-sizing: border-box;
}

.home-category-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    margin-bottom: 18px;
    background: #edf7f0;
    border-left: 4px solid #08794f;
    border-radius: 6px;
    box-sizing: border-box;
}

.home-category-heading h2 {
    margin: 0;
    color: #183b30;
}

.home-category-heading p {
    margin: 4px 0 0;
    color: #52665c;
}

/* Tiga kartu artikel kategori */
.home-category-section .home-category-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    box-sizing: border-box;
}

.home-category-section .home-category-card {
    min-width: 0;
    box-sizing: border-box;
}


/* Samakan proporsi foto kategori dengan kartu Berita Terbaru */
.home-category-section .home-category-card .news-card-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
    margin-bottom: 10px;
}

.home-category-section .home-category-card .news-card-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}


.home-category-section .home-category-card h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

/* Tablet */
@media (max-width: 1120px) {
    .topbar,
    .site-footer,
    .hero-banner {
        width: min(1300px, calc(100% - 36px));
    }
}

@media (max-width: 900px) {
    .site-footer .footer-widgets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

    .site-footer .footer-location {
        grid-column: 1 / -1;
    }

    .site-footer .footer-widget-column + .footer-widget-column {
        padding-left: 20px;
    }

    .home-category-section .home-category-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Ponsel */
@media (max-width: 640px) {
    .topbar,
    .site-footer,
    .hero-banner {
        width: calc(100% - 28px);
    }

    .site-footer {
        margin-top: 32px;
    }

    .site-footer .footer-widgets {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding: 28px 20px;
    }

    .site-footer .footer-widget-column + .footer-widget-column {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.2);
        padding: 24px 0 0;
    }

    .site-footer .footer-location {
        grid-column: auto;
    }

    .site-footer .footer-identity .footer-school-name {
        font-size: 19px;
    }

    .site-footer .footer-map {
        height: 240px;
    }

    .site-footer .footer-bottom {
        padding: 0 16px;
    }

    .mansa-back-to-top {
        right: 16px;
        bottom: 72px;
        width: 44px;
        height: 44px;
    }

    .home-category-heading {
        padding: 12px;
    }

    .home-category-heading h2 {
        font-size: 17px;
    }

    .home-category-heading p {
        font-size: 12px;
    }

    .home-category-section .home-category-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-category-section .home-category-card h3 {
        font-size: 13px;
    }
}


/* Tombol pencarian di menu utama */
button.header-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 8px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    flex-shrink: 0;
}

button.header-search:hover,
button.header-search:focus-visible {
    color: var(--primary, #08794f);
}

/* Formulir pencarian */
.header-search-form[hidden] {
    display: none !important;
}

.header-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    z-index: 1000;
    top: calc(100% + 8px);
    right: 0;
    width: min(360px, calc(100vw - 32px));
    padding: 12px;
    background: #fff;
    border: 1px solid #e0e8e3;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.primary-navigation {
    position: relative;
}

.header-search-form input[type="search"] {
    min-width: 0;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccd8d1;
    border-radius: 6px;
    font: inherit;
}

.header-search-form button[type="submit"] {
    padding: 10px 14px;
    border: 0;
    border-radius: 6px;
    background: #08794f;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.header-search-form button[type="submit"]:hover {
    background: #065d3d;
}

@media (max-width: 920px) {
    .header-search-form {
        right: 0;
        max-width: calc(100vw - 32px);
    }
}


/* Running text MANSA Modern */
.mansa-running-section {
    position: relative;
    z-index: 5;
    margin-top: 16px;
    margin-bottom: 27px;
}

.mansa-running-bar {
    display: flex;
    align-items: stretch;
    min-height: 56px;
    overflow: hidden;
    border: 1px solid #e5ebe8;
    border-radius: 9px;
    background: #f5f8f6;
    box-shadow: 0 4px 14px rgba(23, 51, 39, .04);
}

.mansa-running-label {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    padding: 0 18px;
    color: #fff;
    background: var(--mansa-green);
}

.mansa-running-label::after {
    position: absolute;
    top: 0;
    right: -5px;
    width: 5px;
    height: 100%;
    background: var(--mansa-yellow);
    content: "";
}

.mansa-running-label svg {
    width: 21px;
    height: 21px;
    color: var(--mansa-yellow);
}

.mansa-running-label strong {
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.mansa-running-window {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-width: 0;
    overflow: hidden;
}

.mansa-running-track {
    display: flex;
    width: max-content;
    flex: 0 0 auto;
    animation: mansa-running-scroll var(--mansa-running-duration, 30s) linear infinite;
    will-change: transform;
}

.mansa-running-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
}

.mansa-running-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    color: #243340;
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
}

.mansa-running-item::after {
    color: var(--mansa-green);
    font-size: 18px;
    font-weight: 900;
    content: "•";
}

.mansa-running-bar:hover .mansa-running-track,
.mansa-running-bar:focus-within .mansa-running-track {
    animation-play-state: paused;
}

@keyframes mansa-running-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mansa-running-track {
        animation: none;
        transform: none;
    }

    .mansa-running-window {
        overflow-x: auto;
    }
}

@media (max-width: 600px) {
    .mansa-running-section {
        margin-top: 12px;
        margin-bottom: 22px;
    }

    .mansa-running-bar {
        min-height: 48px;
    }

    .mansa-running-label {
        gap: 6px;
        padding: 0 10px;
    }

    .mansa-running-label svg {
        width: 18px;
        height: 18px;
    }

    .mansa-running-label strong {
        max-width: 105px;
        overflow: hidden;
        font-size: 10px;
        text-overflow: ellipsis;
    }

    .mansa-running-item {
        padding-inline: 12px;
        font-size: 11px;
    }
}


/* Paksa animasi running text berjalan */
.mansa-running-window {
    overflow: hidden !important;
    white-space: nowrap !important;
}

.mansa-running-track {
    display: flex !important;
    width: max-content !important;
    animation: mansa-running-scroll 30s linear infinite !important;
    animation-play-state: running !important;
}

.mansa-running-group {
    display: flex !important;
    flex: 0 0 auto !important;
    width: max-content !important;
}

@keyframes mansa-running-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


/* Perbaikan: sembunyikan tombol panah submenu di desktop */
@media (min-width: 921px) {
    .primary-navigation .submenu-toggle {
        display: none !important;
    }
}


.topbar-hijri-date {
    display: inline-flex;
    align-items: center;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .topbar-hijri-date {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
        font-size: 11px;
    }
}
