/* ==========================================================================
   YMGR UI — Design System
   Yayasan Mega Gotong Royong
   Complete modern stylesheet (loads after style.css)
   ========================================================================== */

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

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  --ymgr-primary: #0A1628;
  --ymgr-primary-mid: #152238;
  --ymgr-accent: #E11D48;
  --ymgr-accent-2: #F97316;
  --ymgr-gold: #FBBF24;
  --ymgr-surface: #F1F5F9;
  --ymgr-text: #1E293B;
  --ymgr-muted: #64748B;
  --ymgr-radius: 16px;
  --ymgr-radius-lg: 24px;
  --ymgr-header-h: 56px;
  --ymgr-hero-aspect: 3 / 2;

  --ymgr-font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --ymgr-font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --ymgr-border: rgba(10, 22, 40, 0.08);
  --ymgr-border-strong: rgba(10, 22, 40, 0.14);
  --ymgr-shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --ymgr-shadow: 0 8px 32px rgba(10, 22, 40, 0.08);
  --ymgr-shadow-lg: 0 16px 48px rgba(10, 22, 40, 0.12);
  --ymgr-shadow-glow: 0 8px 28px rgba(225, 29, 72, 0.35);
  --ymgr-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ymgr-transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --ymgr-glass: rgba(255, 255, 255, 0.82);
  --ymgr-glass-dark: rgba(10, 22, 40, 0.94);
  --ymgr-gradient-accent: linear-gradient(135deg, var(--ymgr-accent) 0%, var(--ymgr-accent-2) 100%);
  --ymgr-gradient-hero: linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(21, 34, 56, 0.78) 50%, rgba(225, 29, 72, 0.55) 100%);
  --ymgr-gradient-footer: linear-gradient(180deg, var(--ymgr-primary-mid) 0%, var(--ymgr-primary) 100%);
  --ymgr-focus-ring: 0 0 0 3px rgba(225, 29, 72, 0.25);
  --ymgr-container-max: 1400px;
  --ymgr-z-header: 100050;
  --ymgr-z-mega: 99999;
  --ymgr-z-drawer: 100060;
  --ymgr-z-popup: 100100;
  --ymgr-z-fab: 99998;
}

/* --------------------------------------------------------------------------
   2. KEYFRAMES
   -------------------------------------------------------------------------- */
@keyframes ymgr-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ymgr-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes ymgr-scale-in {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ymgr-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes ymgr-scroll-donatur {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes ymgr-pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.4); }
  50%      { box-shadow: 0 0 0 8px rgba(225, 29, 72, 0); }
}

@keyframes ymgr-wave-drift {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }

  .donatur-scroll-inner {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   4. BASE / RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ymgr-font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ymgr-text);
  background: #fff;
  min-height: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ymgr-primary);
  text-decoration: none;
  transition: color var(--ymgr-transition-fast);
}

a:hover,
a:focus {
  color: var(--ymgr-accent);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ymgr-font-display);
  font-weight: 700;
  color: var(--ymgr-primary);
  line-height: 1.25;
  margin-top: 0;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.85rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin-bottom: 0.65rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p {
  margin: 0 0 1rem;
  color: var(--ymgr-text);
}

::selection {
  background: var(--ymgr-accent);
  color: #fff;
}

/* --------------------------------------------------------------------------
   5. SCROLL REVEAL
   -------------------------------------------------------------------------- */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade"] {
  transform: none;
}

[data-animate="scale"] {
  transform: scale(0.94);
}

[data-animate="scale"].is-visible {
  transform: scale(1);
}

[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }
[data-animate-delay="4"] { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   6. LEGACY NEUTRALIZATION (style.css overrides)
   -------------------------------------------------------------------------- */
html,
body {
  overflow-x: hidden !important;
  font-family: var(--ymgr-font-body) !important;
  background: #fff !important;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--ymgr-font-display) !important;
}

h3:hover {
  color: var(--ymgr-accent);
}

.header-wrapper {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  z-index: var(--ymgr-z-header) !important;
  background: var(--ymgr-glass) !important;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--ymgr-border) !important;
  box-shadow: none !important;
  transition: box-shadow var(--ymgr-transition), background var(--ymgr-transition);
}

.content-wrapper {
  position: relative;
  margin-top: 0 !important;
  margin-bottom: 0;
  padding-top: 0;
}

.page-content {
  margin-bottom: 48px;
}

/* main-nav mobile drawer rules are in section 9 — do not set static here */

#main-nav-mobile {
  display: none;
}

.main-nav-desktop span {
  font-size: inherit;
  cursor: pointer;
  color: inherit;
  display: inline-flex;
  align-items: center;
  padding: 0;
}

.main-nav-desktop a {
  color: inherit;
}

.main-nav-desktop span:hover {
  color: var(--ymgr-accent);
  text-decoration: none;
}

.main-nav-button {
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--ymgr-primary);
  background: none;
  border: none;
  padding: 4px;
  line-height: 1;
  border-radius: var(--ymgr-radius);
  transition: background var(--ymgr-transition-fast), color var(--ymgr-transition-fast);
}

.main-nav-button:hover {
  background: var(--ymgr-surface);
  color: var(--ymgr-accent);
}

.mega-dropdown {
  font-family: var(--ymgr-font-body) !important;
  font-size: 14px !important;
  width: 100% !important;
  position: fixed !important;
  top: var(--ymgr-header-h) !important;
  left: 0 !important;
  right: 0 !important;
  text-align: left !important;
  padding: 32px 0 !important;
  background: var(--ymgr-glass-dark) !important;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  z-index: var(--ymgr-z-mega) !important;
  display: none;
  visibility: hidden;
  opacity: 0;
  cursor: default;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.mega-dropdown h2 {
  color: #fff !important;
  font-family: var(--ymgr-font-display) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 12px !important;
  margin-bottom: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.mega-dropdown a {
  color: rgba(255, 255, 255, 0.78) !important;
  cursor: pointer;
  display: block;
  line-height: 1.5;
  margin-bottom: 6px;
  padding: 4px 0;
  font-size: 14px;
  transition: color var(--ymgr-transition-fast), transform var(--ymgr-transition-fast);
}

.mega-dropdown a:hover {
  background: none !important;
  background-image: none !important;
  text-decoration: none !important;
  color: #fff !important;
  transform: translateX(4px);
}

.mainNav-content {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 0 32px !important;
  width: min(400px, 92vw) !important;
  max-width: 100%;
  background: #fff !important;
  height: 100%;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -8px 0 40px rgba(10, 22, 40, 0.15);
}

.mainNav-content hr {
  border: none;
  border-top: 1px solid var(--ymgr-border);
  margin: 12px 0;
}

.mainNav-content .search-wrapper {
  width: 100%;
  margin: 16px 0;
  padding: 10px 14px;
  background: var(--ymgr-surface);
  border-radius: var(--ymgr-radius);
  border: 1px solid var(--ymgr-border);
}

.mainNav-content .search-wrapper .searchbox {
  width: 80%;
  display: inline-block;
  border: none;
  background: transparent;
  font-family: var(--ymgr-font-body);
}

.mainNav-content .search-wrapper .searchbutton {
  width: 20%;
  float: right;
  text-align: right;
  display: inline-block;
  border: none;
  background: transparent;
  color: var(--ymgr-accent);
  cursor: pointer;
}

.mainNav-content .social-wrapper {
  font-size: 1.25rem;
  color: var(--ymgr-muted);
}

.mainNav-content .social-wrapper .fa {
  margin-right: 12px;
}

.sidenav-closebutton-wrapper {
  padding-left: calc(100% - 56px) !important;
}

.sidenav-closebutton-wrapper span {
  font-size: 2.5rem !important;
  font-weight: 300 !important;
  color: var(--ymgr-muted) !important;
  cursor: pointer;
  font-family: var(--ymgr-font-body) !important;
  line-height: 1;
  transition: color var(--ymgr-transition-fast);
}

.sidenav-closebutton-wrapper span:hover {
  color: var(--ymgr-accent) !important;
}

.mobile-nav a {
  padding: 0;
  text-decoration: none;
  font-size: inherit;
  color: inherit;
  transition: color var(--ymgr-transition-fast);
}

.mobile-collapse {
  font-size: 13px;
  line-height: 1.6;
  padding: 0 0 16px 16px;
  border-left: 2px solid var(--ymgr-surface);
  margin-left: 12px;
}

.mobile-collapse hr {
  margin: 10px 0;
  padding: 0;
  border-color: var(--ymgr-border);
}

.mobile-collapse h2 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ymgr-muted);
  margin: 12px 0 6px;
  padding: 0;
}

.mobile-collapse a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  color: var(--ymgr-text);
}

.mobile-collapse a:hover {
  color: var(--ymgr-accent);
}

.switch-language,
.switch-language-mobile {
  font-family: var(--ymgr-font-body);
}

.social-media-desktop {
  color: var(--ymgr-muted);
  font-size: 1rem;
}

.social-media-desktop a {
  font-family: var(--ymgr-font-body);
  color: var(--ymgr-text);
  padding: 4px 6px;
  border-radius: 8px;
  transition: color var(--ymgr-transition-fast), background var(--ymgr-transition-fast);
}

.social-media-desktop a:hover {
  color: var(--ymgr-accent);
  background: var(--ymgr-surface);
}

/* --------------------------------------------------------------------------
   7. SITE HEADER (glass sticky)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--ymgr-z-header);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 0;
  padding: 2px 0;
}

.site-header--scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: var(--ymgr-shadow-sm) !important;
}

.site-header__brand img,
.logo img {
  max-height: 40px !important;
  width: auto !important;
  height: auto !important;
  transition: transform var(--ymgr-transition);
}

.site-header__brand img:hover,
.logo img:hover {
  transform: scale(1.02);
}

.header {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

@media screen and (min-width: 1600px) {
  .container { width: var(--ymgr-container-max); }
}

/* --------------------------------------------------------------------------
   8. DESKTOP NAV (.site-nav)
   -------------------------------------------------------------------------- */
.site-nav,
.main-nav-desktop {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
}

.site-nav__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-nav__item > a,
.site-nav__label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  font-family: var(--ymgr-font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ymgr-text);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--ymgr-transition-fast),
              color var(--ymgr-transition-fast),
              box-shadow var(--ymgr-transition-fast);
  white-space: nowrap;
}

.site-nav__item > a > span,
.site-nav__label > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.site-nav__item > a:hover,
.site-nav__item:hover .site-nav__label,
.site-nav__item > a:focus {
  background: var(--ymgr-surface);
  color: var(--ymgr-primary);
  text-decoration: none;
}

.site-nav__caret {
  font-size: 10px;
  opacity: 0.6;
  transition: transform var(--ymgr-transition-fast);
}

.site-nav__item--dropdown:hover .site-nav__caret {
  transform: rotate(180deg);
}

.site-nav__item--dropdown:hover > .mega-dropdown {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.site-nav__donate {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px !important;
  font-family: var(--ymgr-font-display) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: var(--ymgr-gradient-accent) !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow: var(--ymgr-shadow-glow);
  transition: transform var(--ymgr-transition-fast),
              box-shadow var(--ymgr-transition-fast),
              filter var(--ymgr-transition-fast) !important;
  text-decoration: none !important;
}

.site-nav__donate:hover,
.site-nav__donate:focus {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(225, 29, 72, 0.45);
  filter: brightness(1.05);
  text-decoration: none !important;
}

.site-nav__item--cta {
  margin-left: 4px;
  padding-left: 10px;
  border-left: 1px solid var(--ymgr-border);
}

/* --------------------------------------------------------------------------
   9. MOBILE DRAWER
   -------------------------------------------------------------------------- */
.main-nav {
  position: fixed !important;
  top: 0;
  right: 0;
  width: 0;
  height: 100vh;
  height: 100dvh;
  z-index: var(--ymgr-z-drawer);
  background: transparent;
  overflow: hidden;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav.nav-open {
  width: min(400px, 100vw) !important;
}

body.mobile-nav-open {
  overflow: hidden;
}

body.mobile-nav-open::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.5);
  z-index: calc(var(--ymgr-z-drawer) - 1);
  animation: ymgr-fade-in 0.3s ease;
}

body.mobile-nav-open .site-header {
  z-index: calc(var(--ymgr-z-drawer) + 1);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  font-family: var(--ymgr-font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ymgr-text);
  border-radius: var(--ymgr-radius);
  transition: background var(--ymgr-transition-fast),
              color var(--ymgr-transition-fast);
  text-decoration: none;
}

.mobile-nav__link span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav__link i:first-child {
  width: 20px;
  text-align: center;
  color: var(--ymgr-muted);
}

.mobile-nav__link:hover,
.mobile-nav__link:focus {
  background: var(--ymgr-surface);
  color: var(--ymgr-primary);
  text-decoration: none;
}

.mobile-nav__link--donate {
  margin-top: 8px;
  background: var(--ymgr-gradient-accent) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: var(--ymgr-shadow-glow);
}

.mobile-nav__link--donate:hover {
  color: #fff !important;
  filter: brightness(1.05);
}

.mobile-nav__link--donate i:first-child {
  color: #fff;
}

.mobile-nav__caret {
  font-size: 11px;
  color: var(--ymgr-muted);
  transition: transform var(--ymgr-transition-fast);
}

.mobile-nav__toggle[aria-expanded="true"] .mobile-nav__caret {
  transform: rotate(180deg);
}

.mobile-nav__sub-all {
  display: block;
  padding: 8px 0;
  font-weight: 600;
  color: var(--ymgr-accent);
}

/* --------------------------------------------------------------------------
   10. SITE FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--ymgr-gradient-footer);
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,24 C200,48 400,0 600,24 C800,48 1000,0 1200,24 L1200,0 L0,0 Z'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
  pointer-events: none;
}

.site-footer__main {
  padding: 72px 0 48px;
  position: relative;
  z-index: 1;
}

.site-footer__grid {
  row-gap: 32px;
}

.site-footer__brand {
  margin-bottom: 8px;
}

.site-footer__logo {
  max-height: 56px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.site-footer__tagline {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 320px;
}

.site-footer__heading {
  font-family: var(--ymgr-font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 0 0 20px;
}

.site-footer__links,
.site-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li,
.site-footer__contact li {
  margin-bottom: 10px;
}

.site-footer__links a,
.site-footer__contact a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  transition: color var(--ymgr-transition-fast);
}

.site-footer__links a:hover,
.site-footer__contact a:hover {
  color: var(--ymgr-gold);
}

.site-footer__contact li {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__social-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  font-size: 18px;
  transition: background var(--ymgr-transition-fast),
              transform var(--ymgr-transition-fast),
              box-shadow var(--ymgr-transition-fast);
}

.site-footer__social-link:hover {
  background: var(--ymgr-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.4);
  color: #fff !important;
}

.site-footer__social-link--facebook:hover { background: #1877F2; }
.site-footer__social-link--youtube:hover  { background: #FF0000; }
.site-footer__social-link--instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  position: relative;
  z-index: 1;
}

/* Legacy footer class mapping */
.footer {
  background: var(--ymgr-gradient-footer) !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

.footer-content {
  color: rgba(255, 255, 255, 0.85) !important;
  font-family: var(--ymgr-font-body) !important;
  font-size: 14px;
  padding-bottom: 0;
}

.footer-content hr {
  border-color: rgba(255, 255, 255, 0.15);
}

.footer-copyright {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-collapse {
  font-family: var(--ymgr-font-display);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  padding-bottom: 12px;
  color: #fff;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   11. HOMEPAGE — HERO BANNER
   -------------------------------------------------------------------------- */
.hero-banner {
  position: relative;
  overflow: hidden;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100%;
  margin-top: calc(-1 * var(--ymgr-header-h));
  aspect-ratio: var(--ymgr-hero-aspect);
  height: auto;
  min-height: 0;
  max-height: none;
  isolation: isolate;
}

/* Overlay handled per-slide via .ymgr-hero-slide__overlay — no global ::after */

.hero-banner .flexslider,
.hero-banner .slider {
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  z-index: 1;
}

.hero-banner .flexslider .slides,
.hero-banner .flexslider .slides > li {
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
}

.hero-banner .flexslider .slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1 !important;
}

.hero-banner .flex-direction-nav a {
  width: 48px;
  height: 48px;
  margin-top: -24px;
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(8px);
  border-radius: 50%;
  opacity: 0.8;
  transition: background var(--ymgr-transition-fast), opacity var(--ymgr-transition-fast);
}

.hero-banner .flex-direction-nav a:hover {
  background: var(--ymgr-accent) !important;
  opacity: 1;
}

.hero-banner .flex-control-paging li a {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.hero-banner .flex-control-paging li a.flex-active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

.hero-banner .slider-text-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.85) 0%, transparent 100%);
  padding: 80px 48px 48px;
}

.hero-banner .slider-text p,
.hero-banner .slider-text h6 {
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  margin: 0;
}

.hero-banner .slider-text p {
  font-family: var(--ymgr-font-display);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.hero-banner .slider-text h6 {
  font-family: var(--ymgr-font-body);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 400;
  opacity: 0.9;
}

.banner2-section {
  margin-bottom: 0;
}

.banner2-section .flexslider {
  margin: 0;
  border: none;
  border-radius: var(--ymgr-radius-lg);
  overflow: hidden;
  box-shadow: var(--ymgr-shadow);
}

/* --------------------------------------------------------------------------
   12. HOMEPAGE — ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-section {
  background: var(--ymgr-surface);
  padding: 96px 0;
  position: relative;
}

.about-section .row-align-center {
  align-items: center;
}

.about-img-wrapper {
  border-radius: var(--ymgr-radius-lg);
  overflow: hidden;
  box-shadow: var(--ymgr-shadow-lg);
  position: relative;
}

.about-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(10, 22, 40, 0.06);
  pointer-events: none;
}

.about-img-wrapper img {
  width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-img-wrapper:hover img {
  transform: scale(1.04);
}

.about-text h2 {
  font-family: var(--ymgr-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--ymgr-primary);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 16px;
}

.about-text h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  background: var(--ymgr-gradient-accent);
  border-radius: 2px;
}

.about-text p {
  text-align: justify;
  line-height: 1.85;
  color: var(--ymgr-muted);
  font-size: 15px;
}

.ymgr-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-family: var(--ymgr-font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ymgr-accent);
  background: rgba(225, 29, 72, 0.08);
  border-radius: 999px;
  margin-bottom: 16px;
}

.ymgr-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ymgr-accent);
}

/* --------------------------------------------------------------------------
   13. HOMEPAGE — MISSION SECTION (bento grid)
   -------------------------------------------------------------------------- */
.mission-section {
  background: #fff;
  padding: 96px 0;
}

.mission-text {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ymgr-muted);
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.mission-icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  padding: 24px 0;
  max-width: 1000px;
  margin: 0 auto;
}

.mission-card {
  background: #fff;
  border: 1px solid var(--ymgr-border);
  border-radius: var(--ymgr-radius-lg);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--ymgr-shadow-sm);
  transition: transform var(--ymgr-transition),
              box-shadow var(--ymgr-transition),
              border-color var(--ymgr-transition);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ymgr-gradient-accent);
  opacity: 0;
  transition: opacity var(--ymgr-transition);
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ymgr-shadow-lg);
  border-color: transparent;
}

.mission-card:hover::before {
  opacity: 1;
}

.mission-card .icon-wrap {
  font-size: 48px;
  color: var(--ymgr-primary);
  margin-bottom: 14px;
  line-height: 1;
  transition: transform var(--ymgr-transition), color var(--ymgr-transition);
}

.mission-card:hover .icon-wrap {
  transform: scale(1.1);
  color: var(--ymgr-accent);
}

.mission-card p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ymgr-text);
}

.mission-card p a {
  color: inherit;
  text-decoration: none;
}

.mission-card p a:hover {
  color: var(--ymgr-accent);
}

.link-more,
.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-weight: 600;
  color: var(--ymgr-primary);
  text-decoration: none;
  transition: color var(--ymgr-transition-fast), gap var(--ymgr-transition-fast);
}

.link-more:hover,
.read-more-link:hover {
  color: var(--ymgr-accent);
  gap: 12px;
}

/* --------------------------------------------------------------------------
   14. HOMEPAGE — DONATION CTA
   -------------------------------------------------------------------------- */
.donation-cta {
  position: relative;
  padding: 96px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.donation-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(10, 22, 40, 0.92) 0%,
    rgba(21, 34, 56, 0.85) 40%,
    rgba(225, 29, 72, 0.75) 100%);
  z-index: 1;
}

.donation-cta .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.donation-cta h2 {
  color: #fff;
  font-family: var(--ymgr-font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 16px;
}

.donation-cta p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 24px;
}

.donasi-background {
  background-size: cover !important;
  background-position: center !important;
}

/* --------------------------------------------------------------------------
   15. HOMEPAGE — ARTICLES SECTION
   -------------------------------------------------------------------------- */
.articles-section {
  background: var(--ymgr-surface);
  padding: 96px 0;
}

.articles-section .col-md-4 {
  display: flex;
}

.articles-section .article-card {
  width: 100%;
}

.section-title {
  font-family: var(--ymgr-font-display);
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--ymgr-primary);
  margin-bottom: 32px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  background: var(--ymgr-gradient-accent);
  border-radius: 2px;
}

.section-heading {
  font-family: var(--ymgr-font-display);
  font-size: clamp(1.35rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--ymgr-primary);
  text-align: center;
  margin-bottom: 32px;
}

.section-heading::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--ymgr-gradient-accent);
  border-radius: 2px;
  margin: 12px auto 0;
}

.home-tabs-wrap {
  margin: 24px 0 36px;
  text-align: center;
}

.home-tab .btn-lg {
  padding: 10px 20px;
}

.tab-btn {
  display: inline-block;
  padding: 10px 22px;
  margin: 4px;
  border: 2px solid var(--ymgr-primary);
  border-radius: 999px;
  background: #fff;
  color: var(--ymgr-primary);
  font-family: var(--ymgr-font-body);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background var(--ymgr-transition-fast),
              color var(--ymgr-transition-fast),
              border-color var(--ymgr-transition-fast),
              transform var(--ymgr-transition-fast);
}

.tab-btn:hover,
.tab-btn.active,
.home-tab .active .tab-btn {
  background: var(--ymgr-primary) !important;
  color: #fff !important;
  border-color: var(--ymgr-primary) !important;
  text-decoration: none;
  transform: translateY(-1px);
}

.home-tab .active {
  border: 0 !important;
}

.berita-filter {
  padding: 4px;
}

/* --------------------------------------------------------------------------
   16. HOMEPAGE — VIDEO SECTION
   -------------------------------------------------------------------------- */
.video-section {
  background: #fff;
  padding: 96px 0;
}

.video-section .col-sm-4 {
  display: flex;
}

.video-section .video-card {
  width: 100%;
}

.home-row-spaced {
  margin-top: 32px;
}

.home-row-spaced-sm {
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   17. INNER PAGES — PAGE HERO & BREADCRUMB
   -------------------------------------------------------------------------- */
.ymgr-page-hero {
  background: linear-gradient(135deg, var(--ymgr-primary) 0%, var(--ymgr-primary-mid) 60%, rgba(225, 29, 72, 0.25) 100%);
  padding: 40px 0 36px;
  margin-top: 0;
  padding-top: calc(var(--ymgr-header-h) + 36px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ymgr-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(225, 29, 72, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 20% 80%, rgba(251, 191, 36, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.ymgr-page-hero__title {
  font-family: var(--ymgr-font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.ymgr-page-hero__subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  position: relative;
  z-index: 1;
}

.ymgr-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 28px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--ymgr-border);
  border-radius: var(--ymgr-radius);
  box-shadow: var(--ymgr-shadow-sm);
  font-size: 14px;
}

.ymgr-breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: var(--ymgr-muted);
}

.ymgr-breadcrumb li + li::before {
  content: '/';
  margin-right: 8px;
  color: #CBD5E1;
  font-weight: 400;
}

.ymgr-breadcrumb a {
  color: var(--ymgr-primary);
  font-weight: 500;
}

.ymgr-breadcrumb a:hover {
  color: var(--ymgr-accent);
}

.ymgr-breadcrumb li:last-child {
  color: var(--ymgr-accent);
  font-weight: 600;
}

.ymgr-page-body {
  padding: 40px 0 64px;
}

.page-inner {
  padding-top: 32px;
  padding-bottom: 48px;
}

/* Legacy page hero mapping */
.page-hero,
.page-hero-title,
.about-header h1,
.vm-header h1,
.image-detail-title,
.video-detail-title {
  font-family: var(--ymgr-font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--ymgr-primary);
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.page-hero h1 { margin-bottom: 8px; }

.page-hero h5,
.about-header h3,
.vm-header h4,
.page-hero-subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ymgr-muted);
  margin: 0;
}

.page-hero-title::after,
.page-hero h1::after,
.about-header h3::after,
.vm-header h4::after,
.page-hero-subtitle::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: var(--ymgr-gradient-accent);
  border-radius: 2px;
  margin: 14px auto 0;
}

.page-hero {
  text-align: center;
  margin-bottom: 40px;
  padding: 24px 0;
}

.about-header,
.vm-header {
  text-align: center;
  margin-bottom: 36px;
}

.modern-breadcrumb {
  background: #fff;
  border: 1px solid var(--ymgr-border);
  border-radius: var(--ymgr-radius);
  box-shadow: var(--ymgr-shadow-sm);
  padding: 14px 20px;
  margin-bottom: 28px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.modern-breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: var(--ymgr-muted);
}

.modern-breadcrumb li + li::before {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 9px;
  color: #CBD5E1;
  margin-right: 8px;
}

.modern-breadcrumb a {
  color: var(--ymgr-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--ymgr-transition-fast);
}

.modern-breadcrumb a:hover {
  color: var(--ymgr-accent);
  text-decoration: none;
}

.modern-breadcrumb li:last-child {
  color: var(--ymgr-accent);
  font-weight: 600;
}

.breadcrumb {
  background: none !important;
  font-size: 14px;
  color: var(--ymgr-muted);
  padding: 0;
  margin-bottom: 24px;
}

.page-title {
  display: block;
  font-family: var(--ymgr-font-display);
  font-weight: 800;
  color: var(--ymgr-primary);
}

.page-title::after {
  content: '';
  display: block;
  margin: 20px auto 28px;
  border: none;
  width: 56px;
  height: 4px;
  background: var(--ymgr-gradient-accent);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   18. CARDS — SHARED
   -------------------------------------------------------------------------- */
.article-card,
.donasi-intro-card,
.donasi-section-card,
.donatur-list-card,
.gallery-card,
.video-card,
.content-card,
.detail-card,
.about-content-card,
.office-card,
.map-card,
.vm-card,
.image-detail-card,
.video-detail-card {
  background: #fff;
  border: 1px solid var(--ymgr-border);
  border-radius: var(--ymgr-radius-lg);
  box-shadow: var(--ymgr-shadow-sm);
  overflow: hidden;
  transition: transform var(--ymgr-transition),
              box-shadow var(--ymgr-transition);
}

.article-card,
.gallery-card,
.video-card {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card:hover,
.gallery-card:hover,
.video-card:hover,
.office-card:hover,
.vm-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ymgr-shadow-lg);
}

/* Article card */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.article-card .card-image,
.article-card .card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
  flex-shrink: 0;
}

.article-card .card-image img,
.article-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card:hover .card-image img,
.article-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.article-card .card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card .card-body h3 {
  font-family: var(--ymgr-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ymgr-text);
  margin: 0 0 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card .card-body h3 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ymgr-transition-fast);
}

.article-card .card-body h3 a:hover {
  color: var(--ymgr-accent);
}

.article-card .card-date {
  font-size: 13px;
  color: var(--ymgr-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-card .card-excerpt {
  font-size: 14px;
  color: var(--ymgr-muted);
  line-height: 1.65;
  text-align: justify;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Gallery card */
.gallery-card .gallery-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.gallery-card .gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img-wrapper img {
  transform: scale(1.06);
}

.gallery-card .gallery-img-wrapper .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.7), rgba(249, 115, 22, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--ymgr-transition);
}

.gallery-card:hover .gallery-img-wrapper .gallery-overlay {
  opacity: 1;
}

.gallery-card .gallery-img-wrapper .gallery-overlay i {
  color: #fff;
  font-size: 28px;
  transform: scale(0.8);
  transition: transform var(--ymgr-transition);
}

.gallery-card:hover .gallery-img-wrapper .gallery-overlay i {
  transform: scale(1);
}

.gallery-card-body {
  padding: 18px 22px 22px;
}

.gallery-card-body h3 {
  font-family: var(--ymgr-font-display);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.4;
}

.gallery-card-body h3 a {
  color: var(--ymgr-text);
  text-decoration: none;
  transition: color var(--ymgr-transition-fast);
}

.gallery-card-body h3 a:hover {
  color: var(--ymgr-accent);
}

.gallery-card-body .gallery-date {
  display: inline-block;
  font-size: 12px;
  color: var(--ymgr-muted);
  margin-bottom: 8px;
}

.gallery-card-body p {
  font-size: 13px;
  color: var(--ymgr-muted);
  line-height: 1.6;
  margin: 0;
}

.album-filter-card {
  background: #fff;
  border: 1px solid var(--ymgr-border);
  border-radius: var(--ymgr-radius);
  box-shadow: var(--ymgr-shadow-sm);
  padding: 22px 26px;
  margin-bottom: 32px;
}

/* Video card */
.video-card .video-iframe-wrapper,
.video-detail-card .video-iframe-wrapper,
.video-card .video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--ymgr-primary);
}

.video-card .video-iframe-wrapper iframe,
.video-detail-card .video-iframe-wrapper iframe,
.video-card .video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card-body,
.video-card .video-body,
.video-detail-card .video-detail-body {
  padding: 18px 22px 22px;
}

.video-card-body .video-date,
.video-card .video-body .video-date {
  display: inline-block;
  font-size: 12px;
  color: var(--ymgr-muted);
  margin-bottom: 6px;
}

.video-card-body h3,
.video-card .video-body h3 {
  font-family: var(--ymgr-font-display);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.4;
}

.video-card-body h3 a,
.video-card .video-body h3 a {
  color: var(--ymgr-text);
  text-decoration: none;
  transition: color var(--ymgr-transition-fast);
}

.video-card-body h3 a:hover,
.video-card .video-body h3 a:hover {
  color: var(--ymgr-accent);
}

.video-card-body .video-category,
.video-card .video-body .video-category {
  display: inline-block;
  background: var(--ymgr-surface);
  color: var(--ymgr-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Image / video detail */
.image-detail-card .image-wrapper {
  text-align: center;
  background: var(--ymgr-surface);
  padding: 24px;
}

.image-detail-card .image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: var(--ymgr-radius);
  box-shadow: var(--ymgr-shadow);
}

.image-detail-card .image-detail-body,
.video-detail-card .video-detail-body {
  padding: 28px 32px 36px;
}

.image-detail-card .image-detail-body p,
.video-detail-card .video-detail-body p {
  text-align: justify;
  line-height: 1.85;
  color: var(--ymgr-text);
  font-size: 15px;
}

/* About / VM cards */
.about-content-card {
  padding: 40px 48px;
  margin-bottom: 40px;
}

.about-content-card .about-text {
  text-align: justify;
  line-height: 1.9;
  color: var(--ymgr-muted);
  font-size: 15px;
}

.about-content-card .about-text img {
  max-width: 100%;
  height: auto;
  border-radius: var(--ymgr-radius);
  margin: 16px 0;
}

.vm-card {
  padding: 36px 32px;
  height: 100%;
  position: relative;
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--ymgr-gradient-accent);
  border-radius: var(--ymgr-radius-lg) var(--ymgr-radius-lg) 0 0;
}

.vm-card .vm-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--ymgr-radius);
  background: rgba(225, 29, 72, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.vm-card .vm-icon i {
  font-size: 24px;
  color: var(--ymgr-accent);
}

.vm-card h2 {
  font-family: var(--ymgr-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ymgr-primary);
  margin-bottom: 16px;
}

.vm-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vm-card ul li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--ymgr-surface);
  line-height: 1.65;
  color: var(--ymgr-muted);
  font-size: 15px;
}

.vm-card ul li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--ymgr-accent);
  font-size: 14px;
}

/* Office card */
.office-card {
  padding: 32px;
  height: 100%;
}

.office-card h3 {
  font-family: var(--ymgr-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ymgr-accent);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ymgr-surface);
}

.office-info {
  margin-bottom: 18px;
  padding: 16px 18px;
  background: var(--ymgr-surface);
  border-radius: var(--ymgr-radius);
  border-left: 3px solid var(--ymgr-accent);
}

.office-info b {
  display: block;
  font-size: 15px;
  color: var(--ymgr-text);
  margin-bottom: 8px;
}

.office-info span {
  display: block;
  font-size: 14px;
  color: var(--ymgr-muted);
  line-height: 1.7;
}

.office-info a {
  color: var(--ymgr-accent);
}

.office-info a:hover {
  text-decoration: underline;
}

.office-info__icon {
  color: var(--ymgr-accent);
  margin-right: 6px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: none;
  display: block;
  border-radius: 0 0 var(--ymgr-radius-lg) var(--ymgr-radius-lg);
}

/* --------------------------------------------------------------------------
   19. DONASI
   -------------------------------------------------------------------------- */
.donasi-intro-card,
.donasi-section-card {
  padding: 36px;
  margin-bottom: 28px;
}

.donasi-intro-card p {
  line-height: 1.85;
  color: var(--ymgr-muted);
  font-size: 15px;
}

.donatur-list-card {
  padding: 28px;
  height: 100%;
}

.donatur-list-card h4 {
  font-family: var(--ymgr-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ymgr-primary);
  margin-bottom: 16px;
}

.donasi-heart-icon {
  color: var(--ymgr-accent);
  margin-right: 6px;
}

.donatur-scroll-wrapper {
  height: 360px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
}

.donatur-scroll-inner {
  display: flex;
  flex-direction: column;
  animation: ymgr-scroll-donatur 30s linear infinite;
}

.donatur-scroll-inner:hover {
  animation-play-state: paused;
}

.donatur-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--ymgr-surface);
  font-size: 14px;
  color: var(--ymgr-muted);
  line-height: 1.5;
}

.donasi-step {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.donasi-step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ymgr-gradient-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: var(--ymgr-shadow-glow);
}

.donasi-step-title {
  font-family: var(--ymgr-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ymgr-text);
}

.donasi-section {
  border-top: 1px solid var(--ymgr-border);
  margin: 24px 0 32px;
  padding-top: 24px;
}

.donasi-section-number {
  width: 56px;
  height: 56px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  background: var(--ymgr-primary);
  border-radius: var(--ymgr-radius);
}

.donasi-section-title {
  display: inline-block;
  max-width: none;
  padding-left: 14px;
  font-family: var(--ymgr-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  vertical-align: middle;
}

.donasi-container {
  background: #fff;
  padding: 36px;
  margin-top: 0;
  border-radius: var(--ymgr-radius-lg);
  box-shadow: var(--ymgr-shadow-lg);
}

.donasi-row-intro {
  margin-bottom: 16px;
}

.btn-amount-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-amount-grid .btn-amount-item {
  flex: 1 1 calc(20% - 12px);
  min-width: 110px;
}

.btn-amount-grid .btn {
  border-radius: var(--ymgr-radius);
  font-weight: 600;
  padding: 12px 8px;
  width: 100%;
  border: 2px solid var(--ymgr-border);
  background: #fff;
  color: var(--ymgr-text);
  transition: border-color var(--ymgr-transition-fast),
              background var(--ymgr-transition-fast),
              color var(--ymgr-transition-fast);
}

.btn-amount-grid .btn:hover,
.btn-amount-grid .btn.active {
  border-color: var(--ymgr-accent);
  background: rgba(225, 29, 72, 0.06);
  color: var(--ymgr-accent);
}

/* --------------------------------------------------------------------------
   20. FORMS
   -------------------------------------------------------------------------- */
.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="url"],
select,
textarea {
  font-family: var(--ymgr-font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ymgr-text);
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: var(--ymgr-radius);
  padding: 12px 16px;
  width: 100%;
  transition: border-color var(--ymgr-transition-fast),
              box-shadow var(--ymgr-transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--ymgr-accent);
  box-shadow: var(--ymgr-focus-ring);
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
  color: #94A3B8;
}

.donasi-section-card .form-group label,
.label-form {
  display: block;
  font-weight: 600;
  color: var(--ymgr-text);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group-center {
  text-align: center;
}

.form-group-mt {
  margin-top: 16px;
}

.album-filter-card .form-control {
  border-radius: var(--ymgr-radius);
}

.btn-filter-submit {
  border-radius: var(--ymgr-radius);
}

.clear-input,
.clear-input:hover,
.clear-input:focus {
  border: none !important;
  outline: 0 !important;
  box-shadow: none !important;
  -webkit-appearance: none;
}

.clear-button,
.clear-button:hover,
.clear-button:focus {
  border: none;
  background: none;
  outline: 0 !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  cursor: pointer;
  color: var(--ymgr-muted);
}

/* --------------------------------------------------------------------------
   21. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--ymgr-font-body);
  font-weight: 600;
  border-radius: var(--ymgr-radius) !important;
  transition: transform var(--ymgr-transition-fast),
              box-shadow var(--ymgr-transition-fast),
              background var(--ymgr-transition-fast),
              border-color var(--ymgr-transition-fast),
              color var(--ymgr-transition-fast);
}

.btn-round {
  border-radius: 999px !important;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 16px;
}

.btn-wide {
  padding-left: 28px;
  padding-right: 28px;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--ymgr-primary);
  color: #fff !important;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--ymgr-font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform var(--ymgr-transition-fast),
              box-shadow var(--ymgr-transition-fast),
              background var(--ymgr-transition-fast);
  margin-top: 12px;
  text-decoration: none;
}

.btn-read-more:hover,
.btn-read-more:focus {
  background: var(--ymgr-accent);
  transform: translateY(-2px);
  box-shadow: var(--ymgr-shadow-glow);
  color: #fff !important;
  text-decoration: none;
}

.btn-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  background: #fff;
  color: var(--ymgr-accent) !important;
  border: none;
  border-radius: 999px;
  font-family: var(--ymgr-font-display);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--ymgr-transition-fast),
              box-shadow var(--ymgr-transition-fast),
              background var(--ymgr-transition-fast),
              color var(--ymgr-transition-fast);
  margin-top: 12px;
}

.btn-donate:hover,
.btn-donate:focus {
  background: var(--ymgr-accent);
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: var(--ymgr-shadow-glow);
  text-decoration: none;
}

.btn-submit-donasi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  background: var(--ymgr-gradient-accent) !important;
  border: none !important;
  border-radius: var(--ymgr-radius) !important;
  font-family: var(--ymgr-font-display);
  font-weight: 700;
  font-size: 16px;
  color: #fff !important;
  cursor: pointer;
  box-shadow: var(--ymgr-shadow-glow);
  transition: transform var(--ymgr-transition-fast),
              box-shadow var(--ymgr-transition-fast),
              filter var(--ymgr-transition-fast);
}

.btn-submit-donasi:hover,
.btn-submit-donasi:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(225, 29, 72, 0.45);
  filter: brightness(1.05);
  color: #fff !important;
}

.btn-danger,
.btn-blue {
  background: var(--ymgr-gradient-accent) !important;
  border-color: var(--ymgr-accent) !important;
  border-radius: var(--ymgr-radius) !important;
  font-weight: 700;
  color: #fff !important;
}

.btn-white,
.btn-white:visited {
  background: #fff;
  border: 2px solid var(--ymgr-border);
  color: var(--ymgr-text) !important;
}

.btn-white:hover,
.btn-white.hover,
.btn-white:focus,
.btn-white:active,
.btn-white.active {
  background: var(--ymgr-accent) !important;
  border-color: var(--ymgr-accent) !important;
  color: #fff !important;
}

.btn-blue:hover,
.btn-blue.hover,
.btn-blue:focus,
.btn-blue:active,
.btn-blue.active {
  background: var(--ymgr-primary) !important;
  border-color: var(--ymgr-primary) !important;
  color: #fff !important;
}

a.btn.btn-default.btn-xs.btn-round:hover {
  background: var(--ymgr-accent) !important;
  border-color: var(--ymgr-accent) !important;
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   22. WELCOME POPUP
   -------------------------------------------------------------------------- */
.ymgr-welcome-popup {
  position: fixed;
  inset: 0;
  z-index: var(--ymgr-z-popup);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: ymgr-fade-in 0.35s ease;
}

.ymgr-welcome-popup.is-hidden,
.ymgr-welcome-popup[hidden] {
  display: none !important;
}

.ymgr-welcome-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ymgr-welcome-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: var(--ymgr-radius-lg);
  box-shadow: var(--ymgr-shadow-lg);
  animation: ymgr-scale-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0;
}

.ymgr-welcome-popup__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--ymgr-radius-lg) var(--ymgr-radius-lg) 0 0;
}

.ymgr-welcome-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background var(--ymgr-transition-fast),
              transform var(--ymgr-transition-fast);
  z-index: 2;
}

.ymgr-welcome-popup__close:hover,
.ymgr-welcome-popup__close:focus {
  background: var(--ymgr-accent);
  transform: scale(1.08);
  outline: none;
}

.popup_content {
  margin: 0;
  padding: 0;
  width: auto;
  border: none;
  background: transparent;
  height: auto;
}

.btn-close-popup {
  font-size: 2rem;
  color: var(--ymgr-muted);
  border: none;
  background: none;
  cursor: pointer;
  transition: color var(--ymgr-transition-fast);
}

.btn-close-popup:hover {
  color: var(--ymgr-accent);
}

/* --------------------------------------------------------------------------
   23. SCROLL TO TOP FAB
   -------------------------------------------------------------------------- */
.site-scroll-top,
#scroll {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  width: 52px !important;
  height: 52px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--ymgr-gradient-accent) !important;
  background-image: none !important;
  border: none !important;
  border-radius: 50% !important;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  z-index: var(--ymgr-z-fab) !important;
  box-shadow: var(--ymgr-shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity var(--ymgr-transition),
              visibility var(--ymgr-transition),
              transform var(--ymgr-transition),
              box-shadow var(--ymgr-transition-fast);
  text-indent: 0 !important;
}

.site-scroll-top::before,
#scroll::before {
  content: '\f062';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 16px;
  color: #fff;
}

.site-scroll-top.is-visible,
#scroll.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.site-scroll-top:hover,
#scroll:hover {
  background: var(--ymgr-primary) !important;
  box-shadow: 0 12px 28px rgba(10, 22, 40, 0.3);
  transform: translateY(-3px) scale(1);
}

/* --------------------------------------------------------------------------
   24. ARTICLE READER & PAGINATION
   -------------------------------------------------------------------------- */
.article-reader {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}

.article-reader .article-title {
  font-family: var(--ymgr-font-display);
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--ymgr-primary);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.3;
}

.article-reader .article-featured-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--ymgr-radius-lg);
  margin-bottom: 32px;
  display: block;
  box-shadow: var(--ymgr-shadow);
}

.article-reader .article-content {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ymgr-text);
  text-align: justify;
  margin-bottom: 40px;
}

.article-reader .article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--ymgr-radius);
  margin: 16px 0;
}

.related-section {
  border-top: 2px solid var(--ymgr-surface);
  padding-top: 40px;
  margin-top: 24px;
  margin-bottom: 40px;
}

.related-section .section-title {
  margin-bottom: 32px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.related-block {
  margin-top: 40px;
}

.pagination-area,
.pagination-wrapper {
  display: flex;
  justify-content: center;
  padding: 24px 0 48px;
}

.pagination-area .pagination,
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.pagination-area .pagination .page-link,
.pagination > li > a,
.pagination > li > span {
  border-radius: 10px !important;
  border: 1px solid var(--ymgr-border) !important;
  padding: 10px 16px !important;
  color: var(--ymgr-text) !important;
  font-weight: 500;
  background: #fff;
  transition: background var(--ymgr-transition-fast),
              color var(--ymgr-transition-fast),
              border-color var(--ymgr-transition-fast);
}

.pagination-area .pagination .page-link:hover,
.pagination > li > a:hover {
  background: var(--ymgr-surface) !important;
  color: var(--ymgr-primary) !important;
  border-color: var(--ymgr-border-strong) !important;
}

.pagination-area .pagination .page-item.active .page-link,
.pagination-wrapper .pagination .page-item.active .page-link,
.pagination > .active > a,
.pagination > .active > span {
  background: var(--ymgr-primary) !important;
  border-color: var(--ymgr-primary) !important;
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   25. SECTIONS & UTILITIES
   -------------------------------------------------------------------------- */
.section {
  padding: 48px 0;
}

.section-fluid {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.section-grey {
  background-color: var(--ymgr-surface) !important;
}

.section-light-grey {
  background-color: #F8FAFC !important;
}

.section a {
  color: var(--ymgr-primary);
}

.section a:hover {
  color: var(--ymgr-accent);
  text-decoration: none;
}

.content-wrapper .section-grey,
.content-wrapper .section-light-grey {
  border-radius: var(--ymgr-radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}

.text-grey {
  color: var(--ymgr-muted) !important;
}

.subtitle {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ymgr-muted);
}

.mb-0 { margin-bottom: 0 !important; }

.row-align-center {
  align-items: center;
}

#more,
.more,
.jagoankodekeren {
  display: none;
}

.input-group-inline {
  display: inline-block;
}

/* Image overlay (legacy gallery) */
.image-overlay {
  position: relative;
  border-radius: var(--ymgr-radius);
  overflow: hidden;
}

.image-overlay img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.image-overlay .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.8), transparent);
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: height 0.35s ease;
}

.image-overlay:hover .overlay {
  height: 100%;
}

.image-overlay:hover img {
  transform: scale(1.04);
}

.image-overlay .text {
  color: #fff;
  font-size: 18px;
  font-family: var(--ymgr-font-display);
  font-weight: 600;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

/* Share article */
.share_article {
  margin-top: 20px;
  text-align: right;
}

.share-article-button {
  background: var(--ymgr-muted);
  border-radius: 999px;
  border: none;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--ymgr-transition-fast);
}

.share-article-button:hover {
  background: var(--ymgr-primary);
}

.share_article #share-article-button-set {
  position: absolute;
  float: right;
  padding-right: 14px;
  right: 0;
  margin-top: 10px;
}

#share-article-button-set a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  background: var(--ymgr-muted);
  color: #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 16px;
  text-align: center;
  transition: background var(--ymgr-transition-fast), transform var(--ymgr-transition-fast);
}

#share-article-button-set a:hover {
  background: var(--ymgr-accent);
  transform: scale(1.1);
}

/* Perenungan / quotes */
.perenungan-wrapper {
  padding: 56px 0 40px;
  background: var(--ymgr-gradient-accent);
  color: #fff;
}

.perenungan-wrapper .social-icon {
  width: 40px;
  height: 40px;
  text-align: center;
  padding-top: 6px;
  font-size: 16px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  color: #fff;
  transition: background var(--ymgr-transition-fast), border-color var(--ymgr-transition-fast);
}

.perenungan-wrapper .social-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.perenungan-wrapper .social-icon a {
  color: #fff;
}

.random-quotes {
  color: var(--ymgr-text);
  font-size: 16px;
}

.random-quotes-owner {
  color: var(--ymgr-muted);
  margin-top: 8px;
  margin-bottom: 24px;
  font-style: italic;
  font-size: 14px;
}

.powered {
  color: var(--ymgr-muted);
  font-size: 13px;
}

/* Tables / panels */
.table > thead > tr > th {
  background: var(--ymgr-surface);
  color: var(--ymgr-primary);
  font-family: var(--ymgr-font-display);
  font-weight: 600;
  border-bottom: 2px solid var(--ymgr-border);
}

.panel-default > .panel-heading {
  background: var(--ymgr-surface);
  color: var(--ymgr-primary);
  font-family: var(--ymgr-font-display);
  font-weight: 600;
  border-radius: var(--ymgr-radius) var(--ymgr-radius) 0 0;
}

/* 5-column grid */
.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.col-xs-5ths { width: 20%; float: left; }

@media (min-width: 768px) {
  .col-sm-5ths { width: 20%; float: left; }
}

@media (min-width: 992px) {
  .col-md-5ths { width: 20%; float: left; }
}

@media (min-width: 1200px) {
  .col-lg-5ths { width: 20%; float: left; }
}

/* Carousel */
.carousel-control.left,
.carousel-control.right {
  background: none !important;
  filter: none !important;
  background-image: none !important;
  outline: 0;
  opacity: 0.8;
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(10, 22, 40, 0.5) !important;
  border-radius: 50%;
  transition: opacity var(--ymgr-transition-fast), background var(--ymgr-transition-fast);
}

.carousel-control.left:hover,
.carousel-control.right:hover {
  opacity: 1;
  background-color: var(--ymgr-accent) !important;
}

.carousel-control.left  { margin-left: -60px; }
.carousel-control.right { margin-right: -60px; }

.container-banner {
  height: 400px;
  border-radius: var(--ymgr-radius-lg);
  overflow: hidden;
}

.container-white {
  background: rgba(255, 255, 255, 0.85);
  width: 100%;
  height: 100%;
  padding: 24px;
  border-radius: var(--ymgr-radius);
}

/* Shimmer loading skeleton */
.ymgr-skeleton {
  background: linear-gradient(90deg,
    var(--ymgr-surface) 25%,
    #E2E8F0 50%,
    var(--ymgr-surface) 75%);
  background-size: 200% 100%;
  animation: ymgr-shimmer 1.5s infinite;
  border-radius: var(--ymgr-radius);
}

/* --------------------------------------------------------------------------
   26. RESPONSIVE — TABLET (max 991px)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  :root {
    --ymgr-header-h: 50px;
  }

  #main-nav-mobile {
    display: block !important;
  }

  .main-nav-desktop,
  .site-nav,
  .btn-smat-vis,
  .social-media-desktop {
    display: none !important;
  }

  .header-wrapper .container {
    width: 100%;
  }

  .article-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .mission-icons-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .map-card {
    margin-top: 24px;
  }

  .map-card iframe {
    min-height: 300px;
  }

  .vm-card {
    margin-bottom: 24px;
  }

  .hero-banner,
  .hero-banner .flexslider,
  .hero-banner .flexslider .slides,
  .hero-banner .flexslider .slides > li,
  .hero-banner .flexslider .slides img {
    min-height: 0;
    max-height: none;
  }

  .hero-banner .slider-text-wrapper {
    padding: 60px 32px 32px;
  }

  .about-section,
  .mission-section,
  .donation-cta,
  .articles-section,
  .video-section {
    padding: 72px 0;
  }

  .donation-cta {
    background-attachment: scroll;
  }

  .site-footer__main {
    padding: 56px 0 40px;
  }

  .donasi-container {
    margin-top: 0;
    padding: 28px;
  }

  .mega-dropdown {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   27. RESPONSIVE — MOBILE (max 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .about-section,
  .mission-section,
  .donation-cta,
  .articles-section,
  .video-section {
    padding: 56px 0;
  }

  .donasi-intro-card,
  .donasi-section-card,
  .about-content-card {
    padding: 22px;
  }

  .btn-amount-grid .btn-amount-item {
    flex: 1 1 calc(50% - 12px);
  }

  .page-inner {
    padding-top: 20px;
    padding-bottom: 32px;
  }

  .ymgr-page-body {
    padding: 28px 0 48px;
  }

  .ymgr-page-hero {
    padding-top: calc(var(--ymgr-header-h) + 32px);
    padding-bottom: 28px;
  }

  .hero-banner .slider-text-wrapper {
    padding: 40px 20px 24px;
  }

  .hero-banner .slider-text p {
    font-size: 1.15rem;
  }

  .mission-icons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .mission-card {
    padding: 24px 16px;
  }

  .mission-card .icon-wrap {
    font-size: 40px;
  }

  .tab-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .site-footer__main {
    padding: 48px 0 32px;
  }

  .site-footer__social-link {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .share_article {
    height: auto;
    text-align: center;
  }

  #share-article-button-set {
    position: relative;
    float: none;
    padding-right: 0;
    right: auto;
    margin-top: 12px;
  }

  .carousel-control.left  { margin-left: 0; }
  .carousel-control.right { margin-right: 0; }

  .donasi-container {
    margin-top: 0;
    padding: 20px;
  }

  .image-detail-card .image-detail-body,
  .video-detail-card .video-detail-body {
    padding: 20px;
  }

  .site-scroll-top,
  #scroll {
    right: 16px !important;
    bottom: 16px !important;
    width: 46px !important;
    height: 46px !important;
  }

  .ymgr-welcome-popup {
    padding: 16px;
  }

  .ymgr-welcome-popup__dialog {
    border-radius: var(--ymgr-radius);
  }

  .section-fluid {
    background-size: auto 100%;
    background-position: left bottom;
  }

  .section-fluid-right {
    background-position: right center;
  }
}

/* --------------------------------------------------------------------------
   28. RESPONSIVE — SMALL MOBILE (max 575px)
   -------------------------------------------------------------------------- */
@media (max-width: 575px) {
  :root {
    --ymgr-header-h: 46px;
  }

  .header {
    padding-top: 0 !important;
  }

  .site-header__brand img,
  .logo img {
    max-height: 36px !important;
  }

  .main-nav-button {
    font-size: 1.2rem;
  }

  .mainNav-content {
    width: 100% !important;
    padding: 20px 20px 28px !important;
  }

  .nav-open {
    width: 100% !important;
  }

  .sidenav-closebutton-wrapper {
    padding-left: calc(100% - 48px) !important;
  }

  #main-nav-mobile {
    margin-top: 4px;
    margin-right: 4px;
  }

  .article-grid,
  .related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mission-icons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .mission-card {
    min-width: 0;
    flex: 1 1 calc(50% - 8px);
  }

  .donatur-scroll-wrapper {
    height: 260px;
  }

  .col-md-offset-1 {
    margin-left: 0;
  }

  .btn-amount-grid .btn-amount-item {
    flex: 1 1 100%;
  }

  .btn-donate,
  .btn-read-more {
    width: 100%;
    justify-content: center;
  }

  .modern-breadcrumb,
  .ymgr-breadcrumb {
    padding: 12px 14px;
    font-size: 13px;
  }

  .pagination-area .pagination .page-link,
  .pagination > li > a,
  .pagination > li > span {
    padding: 8px 12px !important;
    font-size: 13px;
  }

  .about-text h2 {
    font-size: 1.35rem;
  }

  .hero-banner,
  .hero-banner .flexslider,
  .hero-banner .flexslider .slides,
  .hero-banner .flexslider .slides > li,
  .hero-banner .flexslider .slides img {
    min-height: 0;
    max-height: none;
  }

  .ymgr-page-hero__title {
    font-size: 1.5rem;
  }

  .donasi-step {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* --------------------------------------------------------------------------
   29. DESKTOP ENHANCEMENTS (min 992px)
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  #main-nav-mobile {
    display: none !important;
  }

  .main-nav-desktop {
    display: flex !important;
  }

  #mainNav,
  .main-nav {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   30. TEMPLATE EXTENSIONS (topbar, drawer, footer wave, hamburger)
   -------------------------------------------------------------------------- */
.ymgr-topbar {
  background: var(--ymgr-primary);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.35;
  padding: 3px 0;
}

.ymgr-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ymgr-topbar__inner > span .fa-heart {
  color: var(--ymgr-accent);
  margin-right: 6px;
}

.ymgr-topbar__link i {
  color: inherit;
}

.ymgr-topbar__link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ymgr-topbar__link:hover {
  color: var(--ymgr-gold);
}

.ymgr-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
}

.ymgr-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.mobile-nav-open .ymgr-hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.mobile-nav-open .ymgr-hamburger span:nth-child(2) {
  opacity: 0;
}

body.mobile-nav-open .ymgr-hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.ymgr-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--ymgr-border);
  margin-bottom: 8px;
}

.ymgr-drawer-head__title {
  font-family: var(--ymgr-font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ymgr-primary);
}

.ymgr-drawer-head .sidenav-closebutton-wrapper {
  position: static;
  padding: 0 !important;
}

.ymgr-drawer-head #close-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--ymgr-surface);
  color: var(--ymgr-primary);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.ymgr-drawer-head #close-nav:hover {
  background: var(--ymgr-accent);
  color: #fff;
}

.site-footer__wave {
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath fill='%23F1F5F9' d='M0,32 C200,0 400,48 600,24 C800,0 1000,40 1200,16 L1200,48 L0,48 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  margin-bottom: -1px;
}

.site-footer__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ymgr-gradient-accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: var(--ymgr-shadow-glow);
  transition: transform var(--ymgr-transition-fast), filter var(--ymgr-transition-fast);
}

.site-footer__cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  color: #fff !important;
}

.ymgr-home .content-wrapper {
  margin-top: 0 !important;
  padding-top: 0;
}

.ymgr-hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--ymgr-primary);
}

.ymgr-hero-slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.ymgr-hero-slide__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.25) 0%, rgba(10, 22, 40, 0.55) 45%, rgba(10, 22, 40, 0.92) 100%);
}

.ymgr-hero-slide__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  max-width: var(--ymgr-container-max);
  margin: 0 auto;
  padding: calc(var(--ymgr-header-h) + 16px) 24px 56px;
  color: #fff;
  text-shadow: 0 1px 12px rgba(10, 22, 40, 0.35);
}

.ymgr-hero-slide__lead {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin: 0 0 8px;
  opacity: 0.95;
}

.ymgr-hero-slide__title {
  font-family: var(--ymgr-font-display);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  max-width: 720px;
  color: #fff !important;
}

.ymgr-hero-slide__highlight {
  color: #fff;
  background: var(--ymgr-accent);
  padding: 0.06em 0.38em;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.ymgr-hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ymgr-hero-slide__actions .btn-read-more {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.ymgr-hero-slide__actions .btn-read-more:hover {
  background: #fff;
  color: var(--ymgr-primary);
}

.ymgr-badge--light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.ymgr-section-head--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.ymgr-section {
  position: relative;
}

.hero-banner .flexslider,
.banner2-section .flexslider {
  margin: 0;
  border: none;
  border-radius: 0;
  overflow: hidden;
}

.hero-banner .flex-direction-nav a,
.banner2-section .flex-direction-nav a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}

.ymgr-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.ymgr-section-head .ymgr-badge {
  display: inline-block;
  margin-bottom: 12px;
}

.ymgr-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.1);
  color: var(--ymgr-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ymgr-section-head h2 {
  font-family: var(--ymgr-font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--ymgr-primary);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.ymgr-section-head p {
  color: var(--ymgr-muted);
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 991px) {
  .ymgr-topbar {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   31. BUGFIX PASS 20260907h — spacing, mobile, hero, legacy
   -------------------------------------------------------------------------- */
#content {
  overflow: visible !important;
}

.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
}

.ymgr-home .content-wrapper,
.content-wrapper.ymgr-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.ymgr-home .hero-banner {
  margin-top: calc(-1 * var(--ymgr-header-h));
  padding-top: 0;
}

.ymgr-hero-slide__title:empty {
  display: none;
}

.hero-banner .flex-control-nav,
.banner2-section .flex-control-nav {
  display: block !important;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 10;
  width: 100%;
}

.hero-banner .flex-direction-nav a {
  z-index: 10;
}

.ymgr-page-hero .ymgr-breadcrumb,
.ymgr-page-hero .modern-breadcrumb {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none !important;
  margin-left: auto;
  margin-right: auto;
}

.ymgr-page-hero .ymgr-breadcrumb li,
.ymgr-page-hero .modern-breadcrumb li {
  color: rgba(255, 255, 255, 0.72) !important;
}

.ymgr-page-hero .ymgr-breadcrumb a,
.ymgr-page-hero .modern-breadcrumb a {
  color: rgba(255, 255, 255, 0.92) !important;
}

.ymgr-page-hero .ymgr-breadcrumb a:hover,
.ymgr-page-hero .modern-breadcrumb a:hover {
  color: #fff !important;
}

.ymgr-page-hero .ymgr-breadcrumb li:last-child,
.ymgr-page-hero .modern-breadcrumb li:last-child {
  color: #fff !important;
}

.ymgr-page-hero .ymgr-breadcrumb li + li::before,
.ymgr-page-hero .modern-breadcrumb li + li::before {
  color: rgba(255, 255, 255, 0.45) !important;
}

.ymgr-page-hero .ymgr-page-hero__title,
.ymgr-page-hero .page-hero-title,
.ymgr-page-hero .image-detail-title,
.ymgr-page-hero .video-detail-title {
  color: #fff !important;
}

.ymgr-page-hero .page-hero-title::after,
.ymgr-page-hero .ymgr-page-hero__title::after,
.ymgr-page-hero .image-detail-title::after,
.ymgr-page-hero .video-detail-title::after {
  display: none !important;
}

.ymgr-page-body .page-inner {
  padding-top: 32px;
  padding-bottom: 48px;
}

.ymgr-page-body .image-detail-title,
.ymgr-page-body .video-detail-title,
.ymgr-page-body .page-hero-title {
  display: none;
}

@media (max-width: 991px) {
  #main-nav-mobile {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border-radius: 12px;
    background: var(--ymgr-surface);
  }

  .main-nav.nav-open {
    width: min(400px, 100vw) !important;
  }

  .mainNav-content {
    width: 100% !important;
    max-width: 100% !important;
  }

  .mobile-nav {
    padding: 0 16px 16px;
  }

  .ymgr-page-hero {
    padding-top: calc(var(--ymgr-header-h) + 24px);
    padding-bottom: 28px;
  }

  .ymgr-page-hero .ymgr-breadcrumb,
  .ymgr-page-hero .modern-breadcrumb {
    width: 100%;
    justify-content: flex-start;
    font-size: 13px;
    padding: 10px 14px;
    margin-bottom: 18px;
  }

  .ymgr-hero-slide__content {
    padding: calc(var(--ymgr-header-h) + 16px) 16px 56px;
  }

  .ymgr-hero-slide__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ymgr-hero-slide__actions .btn-read-more,
  .ymgr-hero-slide__actions .btn-donate {
    width: 100%;
    text-align: center;
  }

  .tab-btn {
    display: block;
    width: 100%;
    margin: 6px 0 !important;
  }

  .home-tabs-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .site-footer__cta-btn {
    width: 100%;
  }

  .donasi-intro-card,
  .donasi-section-card,
  .about-content-card {
    padding: 20px 16px !important;
  }

  .btn-amount-grid .btn-amount-item {
    flex: 1 1 100% !important;
  }
}

@media (max-width: 575px) {
  .gallery-card .gallery-img-wrapper,
  .article-card .card-image,
  .article-card .card-img-wrap {
    height: 180px;
  }

  .ymgr-welcome-popup__dialog {
    padding: max(56px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  }

  .ymgr-welcome-popup__close {
    top: max(12px, env(safe-area-inset-top, 12px));
    right: max(12px, env(safe-area-inset-right, 12px));
  }
}

/* Neutralize remaining style.css conflicts */
.header-wrapper {
  height: auto !important;
  min-height: 0 !important;
}

.content-wrapper {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.logo img {
  max-height: 40px !important;
  width: auto !important;
  height: auto !important;
}

.page-title::after {
  background: var(--ymgr-gradient-accent) !important;
}

.social-media-desktop,
.social-wrapper,
.perenungan-wrapper {
  display: none !important;
}

/* --------------------------------------------------------------------------
   32. BUGFIX PASS 20260907j — HTML layout, desktop drawer, album subtitle
   -------------------------------------------------------------------------- */
.ymgr-page-body .page-hero-subtitle {
  text-align: center;
  margin: 0 0 28px;
  font-family: var(--ymgr-font-display);
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 700;
  color: var(--ymgr-primary);
}

.ymgr-page-body .page-hero-subtitle::after {
  margin-left: auto;
  margin-right: auto;
}

.baca-artikel .ymgr-page-hero .ymgr-breadcrumb,
.baca-artikel .ymgr-page-hero .modern-breadcrumb,
.ymgr-article-page .ymgr-page-hero .ymgr-breadcrumb,
.ymgr-article-page .ymgr-page-hero .modern-breadcrumb {
  margin-bottom: 18px;
}

.ymgr-article-page .ymgr-page-hero__title {
  word-break: break-word;
  hyphens: auto;
}

.ymgr-article-page .article-content {
  word-break: break-word;
}

@media (max-width: 991px) {
  .donasi-row-intro > [class*="col-"] + [class*="col-"] {
    margin-top: 20px;
  }

  .donatur-scroll-wrapper {
    height: 280px;
  }

  .album-filter-card .btn-filter-submit {
    margin-top: 12px;
  }

  .related-block,
  .related-section {
    margin-top: 40px;
  }
}

@media (max-width: 575px) {
  .mission-icons-grid {
    grid-template-columns: 1fr;
  }

  .article-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .vm-card ul li {
    font-size: 14px;
  }

  .office-info {
    font-size: 14px;
    line-height: 1.65;
  }
}

/* --------------------------------------------------------------------------
   33. BUGFIX PASS 20260907k — hero FOUC, popup scroll, flexslider, pagination
   -------------------------------------------------------------------------- */
body.ymgr-popup-open {
  overflow: hidden !important;
}

.ymgr-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ymgr-pagination .page-link {
  border-radius: 10px !important;
}

@media (max-width: 991px) {
  .site-header .container,
  .site-header__inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .site-header__inner {
    gap: 10px;
  }

  .video-section .col-sm-4,
  .articles-section .col-md-4,
  .ymgr-page-body .row > [class*="col-"] {
    margin-bottom: 20px;
  }
}

@media (max-width: 575px) {
  .ymgr-pagination .page-link {
    padding: 8px 11px !important;
    font-size: 12px !important;
  }

  .pagination-wrapper,
  .pagination-area {
    padding-left: 8px;
    padding-right: 8px;
  }

  .hero-banner,
  .hero-banner .flexslider,
  .hero-banner .flexslider .slides,
  .hero-banner .flexslider .slides > li.ymgr-hero-slide {
    min-height: 0;
    max-height: none;
  }

  .ymgr-hero-slide__title {
    font-size: clamp(1.35rem, 7vw, 2rem);
  }

  .ymgr-hero-slide__lead {
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   34. BUGFIX PASS 20260907l — final mobile polish, forms, a11y, cleanup
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .donatur-scroll-inner {
    animation: none !important;
  }
}

select.form-control,
.form-control[type="select"],
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748B' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 40px;
}

.album-filter-card .navbar-form,
.album-filter-card form {
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.ymgr-empty-state {
  text-align: center;
  padding: 48px 24px;
  background: var(--ymgr-surface);
  border: 1px dashed var(--ymgr-border);
  border-radius: var(--ymgr-radius-lg);
  color: var(--ymgr-muted);
}

.ymgr-empty-state i {
  font-size: 2rem;
  color: var(--ymgr-accent);
  margin-bottom: 12px;
}

.ymgr-empty-state p {
  margin: 0;
  font-size: 15px;
}

.form-group-center .g-recaptcha {
  display: inline-block;
  max-width: 100%;
}

.ymgr-article-page .article-reader {
  padding-top: 0;
}

.ymgr-page-hero .ymgr-breadcrumb li:last-child,
.ymgr-page-hero .modern-breadcrumb li:last-child {
  max-width: 100%;
}

.related-block .section-heading,
.related-section .section-title {
  text-align: center;
}

.banner2-section {
  padding: 0 16px 48px;
}

.banner2-section .flexslider {
  max-width: var(--ymgr-container-max);
  margin: 0 auto;
}

@media (max-width: 991px) {
  .col-md-offset-3,
  .col-md-offset-1 {
    margin-left: 0 !important;
  }

  .donasi-section-card hr {
    margin: 20px 0;
  }

  .form-group-center {
    text-align: center;
  }

  .form-group-center .g-recaptcha {
    transform-origin: center top;
    transform: scale(0.92);
  }

  .site-footer__grid > [class*="col-"] {
    margin-bottom: 24px;
  }

  .ymgr-page-hero .ymgr-breadcrumb li:last-child,
  .ymgr-page-hero .modern-breadcrumb li:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: min(100%, 260px);
  }
}

@media (max-width: 575px) {
  .form-group-center .g-recaptcha {
    transform: scale(0.82);
  }

  .donasi-intro-card,
  .donasi-section-card,
  .donatur-list-card {
    padding: 20px 16px !important;
  }

  .album-filter-card {
    padding: 16px;
  }

  .banner2-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .related-grid,
  .article-grid {
    gap: 20px;
  }

  .section-heading,
  .section-title {
    font-size: 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   35. BUGFIX PASS 20260907m — detail pages, related cards, rich content
   -------------------------------------------------------------------------- */
.ymgr-page-hero:has(.ymgr-page-hero__title) .ymgr-breadcrumb li:last-child,
.ymgr-page-hero:has(.ymgr-page-hero__title) .modern-breadcrumb li:last-child {
  display: none;
}

.related-block .row > [class*="col-"],
.ymgr-page-body .row > [class*="col-"] {
  display: flex;
}

.related-block .row > [class*="col-"] > .gallery-card,
.related-block .row > [class*="col-"] > .video-card,
.ymgr-page-body .row > [class*="col-"] > .gallery-card,
.ymgr-page-body .row > [class*="col-"] > .video-card {
  width: 100%;
}

.article-reader .article-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  margin: 16px 0;
}

.article-reader .article-content iframe,
.image-detail-card .image-detail-body iframe,
.video-detail-card .video-detail-body iframe {
  max-width: 100%;
}

.image-detail-card .image-detail-body,
.video-detail-card .video-detail-body {
  overflow-wrap: anywhere;
}

@media (max-width: 991px) {
  .image-detail-card .image-wrapper {
    padding: 16px;
  }

  .image-detail-card .image-detail-body,
  .video-detail-card .video-detail-body {
    padding: 20px 16px 24px;
  }

  .ymgr-page-body .col-md-10 {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .related-block .row > [class*="col-"]:last-child,
  .ymgr-page-body .row > [class*="col-"]:last-child {
    margin-bottom: 0;
  }

  .article-reader .article-featured-image {
    max-height: 240px;
    object-fit: cover;
  }
}

/* --------------------------------------------------------------------------
   36. BUGFIX PASS 20260907n — album hero, instant detail, alerts, polish
   -------------------------------------------------------------------------- */
.swal2-container {
  z-index: 100090 !important;
}

.ymgr-page-hero__subtitle + .ymgr-page-hero__title,
.ymgr-page-hero__title + .ymgr-page-hero__subtitle {
  margin-top: 0;
}

.image-detail-card,
.video-detail-card,
.article-reader {
  opacity: 1;
  transform: none;
}

.ymgr-page .content-wrapper.ymgr-main {
  min-height: 40vh;
}

@media (max-width: 991px) {
  .article-grid .article-card,
  .related-grid .article-card {
    margin-bottom: 0;
  }

  .navbar-form .form-group,
  .album-filter-card .form-group {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .ymgr-page-hero__subtitle {
    font-size: 0.95rem;
  }

  .gallery-card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* --------------------------------------------------------------------------
   37. BUGFIX PASS 20260907o — hero slider display polish
   -------------------------------------------------------------------------- */
.hero-banner.ymgr-slider-pending,
.banner2-section.ymgr-slider-pending {
  background-color: transparent !important;
  color: inherit !important;
}

.hero-banner .slider-content > li.ymgr-hero-slide,
.banner2-section .slider-content > li.ymgr-hero-slide {
  height: 100% !important;
  min-height: 0 !important;
}

.hero-banner .flex-viewport,
.banner2-section .flex-viewport {
  height: 100%;
}

.hero-banner .flex-direction-nav,
.banner2-section .flex-direction-nav {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.hero-banner .flex-direction-nav a,
.banner2-section .flex-direction-nav a {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  margin-top: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  text-indent: 0;
  font-size: 0;
  line-height: 1;
}

.hero-banner .flex-direction-nav .flex-prev,
.banner2-section .flex-direction-nav .flex-prev {
  left: max(12px, env(safe-area-inset-left, 12px));
}

.hero-banner .flex-direction-nav .flex-next,
.banner2-section .flex-direction-nav .flex-next {
  right: max(12px, env(safe-area-inset-right, 12px));
}

.hero-banner .flex-direction-nav .flex-prev::before,
.banner2-section .flex-direction-nav .flex-prev::before {
  content: '\2039';
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.hero-banner .flex-direction-nav .flex-next::before,
.banner2-section .flex-direction-nav .flex-next::before {
  content: '\203A';
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.ymgr-hero-slide__content {
  padding-bottom: 72px;
}

.ymgr-hero-slide--compact {
  min-height: 0 !important;
}

.banner2-section .flexslider {
  position: relative;
  aspect-ratio: var(--ymgr-hero-aspect);
  height: auto;
  min-height: 0;
}

.banner2-section .flex-viewport {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.banner2-section .flexslider .slides > li.ymgr-hero-slide--compact {
  min-height: 0;
  height: 100% !important;
}

.banner2-section .ymgr-hero-slide--compact .ymgr-hero-slide__content {
  padding-top: 32px;
  padding-bottom: 56px;
}

.banner2-section .ymgr-hero-slide--compact .ymgr-hero-slide__title {
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  margin-bottom: 0;
}

@media (max-width: 575px) {
  .hero-banner .flex-direction-nav a,
  .banner2-section .flex-direction-nav a {
    width: 40px;
    height: 40px;
  }

  .hero-banner .flex-control-nav,
  .banner2-section .flex-control-nav {
    bottom: 12px;
  }

  .ymgr-hero-slide__content {
    padding-bottom: 64px;
  }
}

/* --------------------------------------------------------------------------
   38. BUGFIX PASS 20260907p — hero height follows photo ratio (3:2)
   -------------------------------------------------------------------------- */
.hero-banner,
.hero-banner .flexslider,
.hero-banner .flex-viewport,
.hero-banner .flexslider .slides,
.hero-banner .flexslider .slides > li.ymgr-hero-slide {
  min-height: 0 !important;
  max-height: none !important;
}

.hero-banner .flex-viewport {
  height: 100% !important;
}

/* Legacy flexslider.css forces 500px slide height */
.hero-banner .slider-content > li.ymgr-hero-slide,
.banner2-section .slider-content > li.ymgr-hero-slide {
  height: 100% !important;
}

/* --------------------------------------------------------------------------
   39. BUGFIX PASS 20260907r — compact header (logo + menu)
   -------------------------------------------------------------------------- */
.site-header__inner {
  min-height: 0 !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}

.site-header__brand {
  line-height: 0;
}

.site-header__brand a {
  display: inline-flex;
  align-items: center;
}

.ymgr-topbar__inner {
  min-height: 0;
  padding: 0;
}

.site-nav__item > a span,
.site-nav__label span {
  line-height: 1.2;
}

@media (min-width: 992px) {
  .site-header .container {
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* --------------------------------------------------------------------------
   40. BUGFIX PASS 20260907s — even desktop/mobile nav spacing
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .site-nav,
  .main-nav-desktop {
    gap: 6px;
  }

  .site-nav__item > a,
  .site-nav__label,
  .site-nav__donate {
    min-height: 34px;
  }

  .site-nav__item--cta {
    margin-left: 2px;
    padding-left: 10px;
  }
}

.mobile-nav__link--donate {
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   41. BUGFIX PASS 20260907t — flexslider fade, layout, controls
   -------------------------------------------------------------------------- */
.hero-banner .flex-viewport,
.banner2-section .flex-viewport {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.hero-banner .flexslider .slides,
.banner2-section .flexslider .slides {
  height: 100% !important;
}

.hero-banner .flexslider .slides > li.ymgr-hero-slide,
.banner2-section .flexslider .slides > li.ymgr-hero-slide,
.flexslider .slides > li.ymgr-hero-slide {
  width: 100% !important;
  height: 100% !important;
}

.hero-banner.is-ready .flexslider .slides > li.ymgr-hero-slide,
.banner2-section.is-ready .flexslider .slides > li.ymgr-hero-slide {
  float: left !important;
  margin-right: -100% !important;
  position: relative !important;
}

.hero-banner.ymgr-slider-pending:not(.is-ready) .flexslider .slides > li.ymgr-hero-slide:first-child,
.banner2-section.ymgr-slider-pending:not(.is-ready) .flexslider .slides > li.ymgr-hero-slide:first-child {
  display: block !important;
  float: none !important;
  margin-right: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-banner.is-ready .flexslider .slides > li.ymgr-hero-slide,
.banner2-section.is-ready .flexslider .slides > li.ymgr-hero-slide {
  display: block !important;
}

.hero-banner.ymgr-slider-pending:not(.is-ready) .flexslider .slides > li.ymgr-hero-slide:not(:first-child),
.banner2-section.ymgr-slider-pending:not(.is-ready) .flexslider .slides > li.ymgr-hero-slide:not(:first-child) {
  display: none !important;
}

.hero-banner .slider-content > li.ymgr-hero-slide,
.banner2-section .slider-content > li.ymgr-hero-slide {
  height: 100% !important;
}

.slider-content > li.ymgr-hero-slide {
  height: 100% !important;
}

.hero-banner .flex-control-nav,
.banner2-section .flex-control-nav {
  bottom: 16px !important;
  z-index: 12 !important;
  line-height: 1;
}

.hero-banner .flex-control-paging li,
.banner2-section .flex-control-paging li {
  margin: 0 4px !important;
}

.hero-banner .flex-control-paging li a,
.banner2-section .flex-control-paging li a {
  width: 8px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.45) !important;
  box-shadow: none !important;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-banner .flex-control-paging li a.flex-active,
.banner2-section .flex-control-paging li a.flex-active {
  width: 24px !important;
  background: #fff !important;
}

.hero-banner.is-ready .flex-direction-nav a,
.banner2-section.is-ready .flex-direction-nav a {
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hero-banner.is-ready:hover .flex-direction-nav a,
.banner2-section.is-ready:hover .flex-direction-nav a,
.hero-banner.is-ready .flex-direction-nav a:focus-visible,
.banner2-section.is-ready .flex-direction-nav a:focus-visible {
  opacity: 0.92;
}

.banner2-section .flexslider {
  overflow: hidden;
  border-radius: var(--ymgr-radius-lg);
  box-shadow: var(--ymgr-shadow);
}

.banner2-section .ymgr-hero-slide--compact .ymgr-hero-slide__content {
  padding-top: 24px;
  padding-bottom: 48px;
}

@media (max-width: 767px) {
  .ymgr-hero-slide__content {
    padding: calc(var(--ymgr-header-h) + 12px) 16px 48px !important;
  }

  .hero-banner.is-ready .flex-direction-nav a,
  .banner2-section.is-ready .flex-direction-nav a {
    opacity: 0.85;
  }

  .hero-banner .flex-control-nav,
  .banner2-section .flex-control-nav {
    bottom: 10px !important;
  }
}

/* --------------------------------------------------------------------------
   42. BUGFIX PASS 20260907u — neutralize legacy flexslider.css conflicts
   -------------------------------------------------------------------------- */
.hero-banner .slider-content li.ymgr-hero-slide,
.banner2-section .slider-content li.ymgr-hero-slide {
  height: 100% !important;
  min-height: 0 !important;
}

.hero-banner .flex-viewport,
.banner2-section .flex-viewport,
.hero-banner.ymgr-slider-pending .flex-viewport,
.banner2-section.ymgr-slider-pending .flex-viewport {
  max-height: none !important;
}

.hero-banner .flexslider,
.banner2-section .flexslider,
.hero-banner .flexslider .slides,
.banner2-section .flexslider .slides {
  background: var(--ymgr-primary) !important;
}

.hero-banner .flex-control-paging li a,
.banner2-section .flex-control-paging li a {
  text-indent: -9999px;
  overflow: hidden;
}

.ymgr-hero-slide__lead,
.ymgr-hero-slide__lead strong,
.ymgr-hero-slide__content p {
  color: #fff !important;
}

.banner2-section {
  padding: 0 16px 40px;
}

.banner2-section .flex-direction-nav a {
  width: 40px;
  height: 40px;
}

/* --------------------------------------------------------------------------
   43. BUGFIX PASS 20260907v — fix white slides (fade stack + img media)
   -------------------------------------------------------------------------- */
.hero-banner.is-ready .flexslider .slides > li.ymgr-hero-slide,
.banner2-section.is-ready .flexslider .slides > li.ymgr-hero-slide {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.ymgr-hero-slide__overlay,
.ymgr-hero-slide__content {
  pointer-events: none;
}

.ymgr-hero-slide__actions a {
  pointer-events: auto;
}

.hero-banner .flexslider .slides > li.ymgr-hero-slide .ymgr-hero-slide__img,
.banner2-section .flexslider .slides > li.ymgr-hero-slide .ymgr-hero-slide__img {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   44. BUGFIX PASS 20260908a — mobile hero flexslider layout
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .hero-banner {
    aspect-ratio: auto;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-height: clamp(400px, 118vw, 520px);
    height: clamp(400px, 118vw, 520px);
  }

  .hero-banner .flexslider,
  .hero-banner .flexslider .slides,
  .hero-banner .flexslider .slides > li.ymgr-hero-slide {
    min-height: 100% !important;
    height: 100% !important;
  }

  .hero-banner .slider-content li.ymgr-hero-slide,
  .banner2-section .slider-content li.ymgr-hero-slide {
    height: 100% !important;
    min-height: 100% !important;
  }

  .ymgr-hero-slide__content {
    padding: 12px 16px max(52px, calc(env(safe-area-inset-bottom, 0px) + 44px)) !important;
  }

  .ymgr-hero-slide__title {
    font-size: clamp(1.2rem, 6.2vw, 1.65rem) !important;
    margin-bottom: 10px;
    line-height: 1.2;
  }

  .ymgr-hero-slide__lead {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .ymgr-hero-slide .ymgr-badge--light {
    font-size: 10px;
    padding: 4px 10px;
    margin-bottom: 8px;
  }

  .ymgr-hero-slide__actions {
    gap: 8px;
  }

  .ymgr-hero-slide__actions .btn-read-more,
  .ymgr-hero-slide__actions .btn-donate {
    padding: 10px 14px;
    font-size: 14px;
  }

  .hero-banner .flex-control-nav {
    bottom: max(8px, env(safe-area-inset-bottom, 8px)) !important;
  }

  .hero-banner .flex-direction-nav .flex-prev {
    left: max(4px, env(safe-area-inset-left, 4px));
  }

  .hero-banner .flex-direction-nav .flex-next {
    right: max(4px, env(safe-area-inset-right, 4px));
  }

  .banner2-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .banner2-section .flexslider {
    aspect-ratio: auto;
    min-height: clamp(220px, 68vw, 300px);
    height: clamp(220px, 68vw, 300px);
  }

  .banner2-section .ymgr-hero-slide--compact .ymgr-hero-slide__content {
    padding: 12px 14px 44px !important;
  }

  .banner2-section .ymgr-hero-slide--compact .ymgr-hero-slide__title {
    font-size: clamp(1.05rem, 5vw, 1.35rem) !important;
  }
}

@media (max-width: 767px) and (max-height: 700px) {
  .hero-banner {
    min-height: clamp(360px, 105vw, 440px);
    height: clamp(360px, 105vw, 440px);
  }

  .ymgr-hero-slide__actions .btn-read-more,
  .ymgr-hero-slide__actions .btn-donate {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* --------------------------------------------------------------------------
   END YMGR UI DESIGN SYSTEM
   ========================================================================== */
