:root {
  --av-navy: #0a326c;
  --av-navy-deep: #062654;
  --av-blue: #1268d7;
  --av-blue-bright: #1976e9;
  --av-blue-soft: #eaf3ff;
  --av-ink: #102f5f;
  --av-text: #4d6382;
  --av-muted: #7d90ab;
  --av-line: #dce7f5;
  --av-surface: #ffffff;
  --av-bg: #f6f9fd;
  --av-radius: 18px;
  --av-shadow: 0 16px 44px rgba(20, 64, 122, 0.08);
}

.ccm-page, .ccm-page * { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--av-bg); }
.ccm-page {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--av-text);
  background: var(--av-bg);
  -webkit-font-smoothing: antialiased;
}
.ccm-page a { color: inherit; text-decoration: none; }
.ccm-page img { max-width: 100%; height: auto; }
.av-container { width: min(1540px, calc(100% - 48px)); margin: 0 auto; }
.av-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Header */
.av-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(211,225,242,.9);
  backdrop-filter: blur(14px);
}
.ccm-toolbar-visible .av-header { top: 48px; }
.av-header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.av-brand { display: flex; align-items: center; gap: 14px; min-width: 330px; }
.av-brand img { width: 68px; height: 68px; object-fit: contain; border-radius: 18px; }
.av-brand-copy { display: flex; flex-direction: column; gap: 3px; }
.av-brand-copy strong { font-size: 26px; line-height: 1; letter-spacing: .02em; color: var(--av-navy); font-weight: 800; }
.av-brand-copy small { color: #7184a0; font-size: 13px; font-weight: 500; white-space: nowrap; }
.av-nav { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #294c78; }
.av-nav > a, .av-nav-item > button { border: 0; background: transparent; padding: 14px 11px; border-radius: 10px; color: inherit; font: inherit; cursor: pointer; white-space: nowrap; }
.av-nav > a:hover, .av-nav-item > button:hover { color: var(--av-blue); background: #f4f8fe; }
.av-nav-item { position: relative; }
.av-nav-item > button span:not(.av-nav-chevron) { margin-left: 4px; font-size: 12px; }
.av-submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  padding: 10px; background: #fff; border: 1px solid var(--av-line); border-radius: 14px;
  box-shadow: 0 18px 45px rgba(9,48,101,.14); opacity: 0; visibility: hidden; transform: translateY(7px); transition: .18s ease;
}
.has-submenu:hover .av-submenu, .has-submenu:focus-within .av-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.av-submenu a { display: block; padding: 11px 12px; border-radius: 9px; color: #36587f; }
.av-submenu a:hover { background: var(--av-blue-soft); color: var(--av-blue); }
.av-nav .av-nav-cta { margin-left: 7px; padding: 13px 18px; color: #fff; background: var(--av-blue); border: 1px solid var(--av-blue); }
.av-nav .av-nav-cta:hover { color: #fff; background: #0b5fc9; }
.av-menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--av-line); background: #fff; padding: 10px; }
.av-menu-toggle span:not(.av-sr-only) { display: block; height: 2px; background: var(--av-navy); margin: 5px 0; border-radius: 4px; }

/* Hero */
.av-hero { position: relative; overflow: hidden; min-height: 515px; color: #fff; background: linear-gradient(118deg, #082d66 0%, #0d4d9d 48%, #1973de 100%); }
.av-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 82% 18%, rgba(255,255,255,.13), transparent 31%), linear-gradient(90deg, rgba(4,31,72,.25), transparent 60%); pointer-events: none; }
.av-hero-shape { position: absolute; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; z-index: 1; }
.av-hero-shape-one { width: 520px; height: 520px; right: -130px; top: -260px; background: rgba(255,255,255,.05); }
.av-hero-shape-two { width: 370px; height: 370px; right: 150px; bottom: -250px; }
.av-hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.av-hero-media:empty { display: none; }
.av-hero-media .ccm-block-image, .av-hero-media .ccm-block-image img, .av-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.av-hero-media:not(:empty)::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,40,85,.93) 0%, rgba(5,40,85,.72) 45%, rgba(5,40,85,.25) 78%, rgba(5,40,85,.18) 100%); }
.av-hero-grid { position: relative; z-index: 2; min-height: 515px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 72px; padding-top: 60px; padding-bottom: 60px; }
.av-hero-content { max-width: 760px; }
.av-eyebrow { margin: 0 0 16px; color: #cbe0ff; font-size: 14px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.av-eyebrow-dark { color: #6280a8; }
.av-hero-content h1 { margin: 0 0 18px; color: #fff; font-size: clamp(42px, 4.1vw, 68px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; max-width: 760px; }
.av-hero-content p:not(.av-eyebrow) { max-width: 690px; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.92); }
.av-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 10px; font-weight: 700; margin: 8px 10px 0 0; transition: .2s ease; }
.av-btn-primary { background: #fff; color: var(--av-navy); box-shadow: 0 12px 28px rgba(4,25,56,.18); }
.av-btn-primary:hover { transform: translateY(-1px); color: var(--av-blue); }
.av-btn-ghost { border: 1px solid rgba(255,255,255,.72); color: #fff; }
.av-btn-ghost:hover { background: rgba(255,255,255,.12); }
.av-hero-visual { align-self: end; min-height: 290px; position: relative; display: flex; align-items: flex-end; justify-content: center; opacity: .93; }
.av-temple-line { width: 420px; height: 220px; border-bottom: 4px solid rgba(255,255,255,.38); display: flex; justify-content: center; gap: 24px; align-items: flex-end; filter: drop-shadow(0 12px 30px rgba(0,0,0,.12)); }
.av-temple-line span { display: block; width: 42px; height: 180px; border: 4px solid rgba(255,255,255,.38); border-bottom: 0; position: relative; }
.av-temple-line span::before { content: ''; position: absolute; left: -11px; right: -11px; top: -17px; height: 12px; border: 4px solid rgba(255,255,255,.38); }
.av-hero-location { position: absolute; right: 0; bottom: 12px; padding: 9px 14px; border-radius: 999px; background: rgba(5,38,83,.35); border: 1px solid rgba(255,255,255,.18); color: #dbe9ff; font-size: 11px; letter-spacing: .13em; font-weight: 700; }

/* Quick links */
.av-quick-wrap { position: relative; z-index: 5; margin-top: -26px; padding-bottom: 34px; }
.av-quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.av-quick-card { min-height: 118px; display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: center; background: rgba(255,255,255,.98); border: 1px solid #e0eaf6; border-radius: 16px; padding: 22px 24px; box-shadow: var(--av-shadow); }
.av-icon-ring, .av-info-icon, .av-stat-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #edf5ff; color: var(--av-navy); font-size: 26px; font-weight: 700; }
.av-quick-card h3 { margin: 0 0 5px; color: var(--av-navy); font-size: 19px; }
.av-quick-card p { margin: 3px 0; line-height: 1.45; }
.av-quick-card a { color: var(--av-blue); font-weight: 700; }

/* Sections */
.av-section { padding: 78px 0; }
.av-section h2 { margin: 0 0 18px; color: var(--av-navy); font-size: clamp(34px, 3vw, 52px); line-height: 1.05; letter-spacing: -.025em; font-weight: 800; }
.av-about-section { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f8fbff 100%); border-top: 1px solid #edf3fa; border-bottom: 1px solid #edf3fa; }
.av-about-art { position: absolute; right: 0; top: 0; width: 55%; height: 100%; opacity: .5; background: radial-gradient(circle at 70% 35%, rgba(25,118,233,.08), transparent 34%), linear-gradient(135deg, transparent 45%, rgba(18,104,215,.06) 45% 46%, transparent 46% 56%, rgba(18,104,215,.05) 56% 57%, transparent 57%); }
.av-about-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }
.av-about-copy p { font-size: 16px; line-height: 1.75; max-width: 610px; }
.av-text-link { color: var(--av-navy); font-weight: 800; }
.av-text-link:hover { color: var(--av-blue); }
.av-about-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.av-info-card { min-height: 220px; background: rgba(255,255,255,.94); border: 1px solid #e2ebf6; border-radius: 16px; padding: 26px 20px; box-shadow: 0 12px 30px rgba(20,64,122,.05); }
.av-info-card h3 { color: var(--av-navy); font-size: 17px; margin: 18px 0 8px; }
.av-info-card p { font-size: 13px; line-height: 1.55; margin: 0; }
.av-info-icon { width: 46px; height: 46px; font-size: 20px; }
.av-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 28px; }
.av-section-heading h2 { margin-bottom: 0; }
.av-announcements { background: #fff; }
.av-announcement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.av-announcement-card { overflow: hidden; background: #fff; border: 1px solid #e0eaf6; border-radius: 16px; box-shadow: 0 10px 28px rgba(20,64,122,.06); }
.av-announcement-image { height: 190px; display: flex; align-items: flex-end; padding: 18px; color: rgba(255,255,255,.85); font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.av-announcement-image-1 { background: linear-gradient(135deg, #0a326c, #1976e9); }
.av-announcement-image-2 { background: linear-gradient(135deg, #27486e, #879bb6); }
.av-announcement-image-3 { background: linear-gradient(135deg, #b4782b, #0a326c); }
.av-announcement-body { padding: 22px; }
.av-card-date { color: #7288a5; font-size: 12px; font-weight: 700; }
.av-announcement-card h3 { color: var(--av-navy); margin: 8px 0 10px; font-size: 19px; line-height: 1.25; }
.av-announcement-card p { line-height: 1.55; }
.av-announcement-card a { color: var(--av-navy); font-weight: 800; }

/* Stats */
.av-stats-section { background: #f7faff; }
.av-stats-heading > p { max-width: 520px; margin: 0; line-height: 1.6; }
.av-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.av-stat-card { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 16px; min-height: 116px; background: #fff; border: 1px solid var(--av-line); border-radius: 16px; padding: 20px; }
.av-stat-content .ccm-block-content { display: flex; flex-direction: column; gap: 4px; }
.av-stat-content strong { display: block; color: var(--av-navy); font-size: 28px; line-height: 1; }
.av-stat-content span { color: #536a89; font-size: 14px; font-weight: 700; }
.av-stat-content small { display: block; margin-top: 2px; color: #7a8ca6; font-size: 11px; line-height: 1.35; font-weight: 600; }

/* Inner pages */
.av-page-hero { position: relative; overflow: hidden; padding: 86px 0 76px; color: #fff; background: linear-gradient(115deg, #082f6d, #0d56b0 62%, #1976e9); }
.av-page-hero h1 { margin: 0; color: #fff; font-size: clamp(38px, 4vw, 60px); line-height: 1.05; letter-spacing: -.03em; }
.av-page-hero .ccm-block-content { max-width: 720px; color: #e1eeff; margin-top: 18px; }
.av-page-hero-orb { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); }
.av-page-hero-orb-1 { width: 420px; height: 420px; right: -80px; top: -220px; background: rgba(255,255,255,.05); }
.av-page-hero-orb-2 { width: 290px; height: 290px; right: 160px; bottom: -220px; }
.av-page-hero-small { padding: 62px 0; }
.av-inner-section { min-height: 420px; }
.av-content-card { background: #fff; border: 1px solid var(--av-line); border-radius: 20px; padding: clamp(28px, 5vw, 62px); box-shadow: var(--av-shadow); }
.av-content-card h2, .av-content-card h3 { color: var(--av-navy); }
.av-content-card p, .av-content-card li { line-height: 1.75; }
.av-content-card a { color: var(--av-blue); text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.av-footer { background: linear-gradient(120deg, #062650, #092f63 58%, #0b3d78); color: #dbe7f7; padding: 58px 0 0; }
.av-footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.15fr; gap: 48px; }
.av-footer h3 { color: #fff; font-size: 15px; margin: 0 0 16px; }
.av-footer a { display: block; color: #dbe7f7; margin: 8px 0; font-size: 14px; }
.av-footer a:hover { color: #fff; }
.av-footer-brand-row { display: flex; align-items: center; gap: 14px; }
.av-footer-brand-row img { width: 58px; height: 58px; border-radius: 15px; }
.av-footer-brand-row strong { display: block; color: #fff; font-size: 20px; }
.av-footer-brand-row span { display: block; font-size: 12px; color: #aabbd2; margin-top: 3px; }
.av-footer-brand > p, .av-footer p { font-size: 13px; line-height: 1.65; color: #b8c9df; }
.av-footer-button { display: inline-flex !important; padding: 11px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 9px; margin-top: 8px !important; }
.av-footer-bottom { margin-top: 42px; min-height: 62px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; align-items: center; gap: 24px; color: #91a7c4; font-size: 12px; }
.av-footer-bottom a { display: inline; font-size: inherit; margin: 0; }

/* Concrete editing */
.ccm-edit-mode .av-hero-content, .ccm-edit-mode .av-quick-content, .ccm-edit-mode .av-about-copy, .ccm-edit-mode .av-info-card, .ccm-edit-mode .av-announcement-body, .ccm-edit-mode .av-stat-content { outline: 1px dashed rgba(25,118,233,.45); outline-offset: 5px; }

@media (max-width: 1280px) {
  .av-brand { min-width: 280px; }
  .av-brand-copy small { display: none; }
  .av-about-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1120px) {
  .av-header-inner { min-height: 82px; }
  .av-menu-toggle { display: block; }
  .av-nav { position: absolute; top: 100%; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 4px; background: #fff; border: 1px solid var(--av-line); border-radius: 16px; padding: 12px; box-shadow: 0 20px 50px rgba(9,48,101,.15); }
  .av-nav.is-open { display: flex; }
  .av-nav > a, .av-nav-item > button { width: 100%; text-align: left; }
  .av-nav .av-nav-cta { margin-left: 0; }
  .av-submenu { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin-top: 4px; border-radius: 10px; }
  .av-nav-item.is-open .av-submenu { display: block; }
  .av-hero-grid { grid-template-columns: 1fr; min-height: 560px; }
  .av-hero-visual { display: none; }
  .av-about-grid { grid-template-columns: 1fr; }
  .av-footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .av-footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .av-container { width: min(100% - 30px, 1540px); }
  .av-brand { min-width: 0; }
  .av-brand img { width: 54px; height: 54px; }
  .av-brand-copy strong { font-size: 21px; }
  .av-hero { min-height: auto; }
  .av-hero-grid { min-height: 520px; padding-top: 60px; padding-bottom: 75px; }
  .av-hero-content h1 { font-size: clamp(38px, 11vw, 54px); }
  .av-hero-content p:not(.av-eyebrow) { font-size: 16px; }
  .av-quick-wrap { margin-top: -38px; }
  .av-quick-grid, .av-announcement-grid, .av-stats-grid { grid-template-columns: 1fr; }
  .av-section { padding: 58px 0; }
  .av-about-cards { grid-template-columns: 1fr 1fr; }
  .av-section-heading { align-items: flex-start; flex-direction: column; }
  .av-stats-heading > p { max-width: none; }
  .av-footer-grid { grid-template-columns: 1fr 1fr; }
  .av-footer-grid > div:first-child, .av-footer-grid > div:last-child { grid-column: 1 / -1; }
  .av-footer-bottom { flex-direction: column; align-items: flex-start; padding: 18px 0; }
}

@media (max-width: 520px) {
  .av-brand-copy small { display: none; }
  .av-brand-copy strong { font-size: 19px; }
  .av-about-cards { grid-template-columns: 1fr; }
  .av-quick-card { grid-template-columns: 48px 1fr; padding: 19px; }
  .av-icon-ring { width: 46px; height: 46px; }
  .av-footer-grid { grid-template-columns: 1fr; }
  .av-footer-grid > div { grid-column: auto !important; }
  .av-content-card { padding: 24px 20px; }
}

/* v1.2 - Slider + dynamic announcements */
.av-slider { min-height: 515px; }
.av-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .55s ease, visibility .55s ease; }
.av-slide.is-active { position: relative; opacity: 1; visibility: visible; pointer-events: auto; }
.av-slider.is-edit-mode { min-height: auto; }
.av-slider.is-edit-mode .av-slide { position: relative; opacity: 1; visibility: visible; pointer-events: auto; border-bottom: 1px solid rgba(255,255,255,.22); }
.av-slider-controls { position: absolute; z-index: 8; left: 50%; transform: translateX(-50%); bottom: 42px; display: flex; align-items: center; gap: 12px; }
.av-slider-dots { display: flex; align-items: center; gap: 8px; }
.av-slider-dot { width: 28px; height: 5px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.45); cursor: pointer; transition: .2s ease; }
.av-slider-dot.is-active { width: 46px; background: #fff; }
.av-slider-arrow { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(4,37,80,.25); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.av-slider-arrow:hover { background: rgba(255,255,255,.16); }
.av-page-date { margin: 16px 0 0; color: #dceaff; font-size: 14px; font-weight: 700; }
.av-announcement-image { text-decoration: none !important; }
.av-announcement-image:hover { filter: brightness(1.04); }
.av-announcement-grid-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.av-empty-state { min-height: 160px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 30px; border: 1px dashed #c9d9ed; border-radius: 16px; background: #f8fbff; color: #6b819e; }
.av-empty-state strong { color: var(--av-navy); font-size: 18px; }
.av-pagination { margin-top: 32px; }
.av-pagination .pagination { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.av-pagination .page-link { display: grid; min-width: 40px; height: 40px; place-items: center; border: 1px solid var(--av-line); border-radius: 10px; background: #fff; color: var(--av-navy); }
.av-pagination .active .page-link { background: var(--av-blue); color: #fff; border-color: var(--av-blue); }
.ccm-edit-mode .av-slide { padding-top: 12px; }
.ccm-edit-mode .av-hero-media { min-height: 90px; position: relative; outline: 1px dashed rgba(255,255,255,.45); }

@media (max-width: 820px) {
  .av-slider-controls { bottom: 54px; }
  .av-slider-arrow { display: none; }
  .av-announcement-grid-index { grid-template-columns: 1fr; }
}


/* v1.3 - Legacy content migration + long-form pages */
.av-kicker {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px;
  border-radius: 999px; background: #edf5ff; color: var(--av-blue);
  font-size: 11px; font-weight: 800; letter-spacing: .13em;
}
.av-page-intro { max-width: 820px; margin-bottom: 34px; }
.av-page-intro h2, .av-document-intro h2, .av-contact-card h2, .av-donation-panel h2 {
  margin: 14px 0 12px; color: var(--av-navy); font-size: clamp(30px, 3vw, 44px); line-height: 1.08;
}
.av-page-intro p, .av-document-intro p { color: #5a718f; font-size: 16px; line-height: 1.75; }

.av-board-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.av-person-card { min-height: 118px; padding: 22px; border: 1px solid var(--av-line); border-radius: 16px; background: #f9fbff; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.av-person-card span { color: #7186a2; font-size: 11px; font-weight: 800; letter-spacing: .11em; }
.av-person-card strong { color: var(--av-navy); font-size: 18px; }

.av-name-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.av-name-grid > div { padding: 16px 18px; border: 1px solid var(--av-line); border-radius: 13px; background: #f9fbff; color: var(--av-navy); font-weight: 700; }

.av-document { max-width: 1040px; margin: 0 auto; }
.av-document-intro { padding-bottom: 24px; border-bottom: 1px solid var(--av-line); }
.av-document-note { margin-bottom: 0; padding: 12px 14px; border-radius: 12px; background: #f4f8fe; border: 1px solid #dce9f8; color: #607795 !important; font-size: 14px !important; }
.av-document-toc { margin: 28px 0 42px; padding: 22px; border: 1px solid var(--av-line); border-radius: 16px; background: #f8fbff; }
.av-document-toc > strong { display: block; margin-bottom: 12px; color: var(--av-navy); font-size: 14px; }
.av-document-toc > div { display: flex; flex-wrap: wrap; gap: 8px; }
.av-document-toc a { display: inline-flex; padding: 9px 12px; border: 1px solid #d7e5f5; border-radius: 999px; background: #fff; color: #31577f; font-size: 13px; font-weight: 700; text-decoration: none; }
.av-document-toc a:hover { border-color: #a9c9ee; color: var(--av-blue); }
.av-document-body { color: #243b59; }
.av-doc-section { scroll-margin-top: 120px; margin: 52px 0 16px !important; padding: 15px 18px; border-left: 4px solid var(--av-blue); background: #f4f8fe; border-radius: 0 12px 12px 0; font-size: 24px !important; }
.av-doc-heading { margin: 30px 0 10px !important; color: var(--av-navy); font-size: 18px !important; letter-spacing: .02em; }
.av-legal-article { margin: 10px 0; padding: 14px 16px; border-radius: 12px; background: #fbfdff; border: 1px solid #edf3fa; }
.av-legal-article strong { color: var(--av-navy); }
.av-legal-subitem { position: relative; margin: 6px 0 6px 20px; padding-left: 14px; border-left: 2px solid #d9e7f6; }
.av-doc-lead { color: var(--av-navy); }

.av-protocol-list { display: grid; gap: 12px; margin-top: 28px; }
.av-protocol-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 18px; border: 1px solid var(--av-line); border-radius: 15px; background: #fbfdff; }
.av-protocol-item > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #eaf3ff; color: var(--av-blue); font-weight: 900; }
.av-protocol-item p { margin: 5px 0 0; }

.av-table-tools { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding: 16px; border: 1px solid var(--av-line); border-radius: 14px; background: #f8fbff; }
.av-table-tools label { color: var(--av-navy); font-weight: 800; white-space: nowrap; }
.av-table-tools input { width: 100%; min-height: 44px; padding: 0 14px; border: 1px solid #cdddf0; border-radius: 10px; background: #fff; color: var(--av-text); font: inherit; outline: none; }
.av-table-tools input:focus { border-color: #78aeea; box-shadow: 0 0 0 3px rgba(25,118,233,.10); }
.av-table-wrap { overflow: auto; border: 1px solid var(--av-line); border-radius: 16px; }
.av-data-table { width: 100%; border-collapse: collapse; background: #fff; }
.av-data-table th { position: sticky; top: 0; z-index: 1; padding: 13px 16px; background: #0b3977; color: #fff; text-align: left; font-size: 12px; letter-spacing: .06em; }
.av-data-table td { padding: 12px 16px; border-top: 1px solid #edf2f8; }
.av-data-table tbody tr:nth-child(even) { background: #f9fbfe; }
.av-data-table tbody tr:hover { background: #eef6ff; }
.av-data-table td:first-child { width: 110px; color: #6d829e; font-weight: 700; }
.av-table-count { color: #6c829f; font-size: 13px; }

.av-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.av-contact-card { padding: 30px; border: 1px solid var(--av-line); border-radius: 18px; background: #fbfdff; }
.av-contact-card p { margin: 14px 0; }
.av-bank-card { background: linear-gradient(145deg, #f7fbff, #eef6ff); }
.av-bank-card dl { margin: 22px 0 0; }
.av-bank-card dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 12px 0; border-top: 1px solid #dce8f6; }
.av-bank-card dt { color: #6d829f; font-weight: 700; }
.av-bank-card dd { margin: 0; color: var(--av-navy); font-weight: 800; word-break: break-word; }

.av-donation-panel { padding: clamp(26px, 5vw, 50px); border-radius: 20px; background: linear-gradient(135deg, #f5f9ff, #eaf4ff); border: 1px solid #d8e8fa; }
.av-donation-panel > p { max-width: 760px; }
.av-btn-blue { background: var(--av-blue); color: #fff !important; text-decoration: none !important; }
.av-btn-blue:hover { background: #0b5fc9; }
.av-btn-outline-dark { border: 1px solid #8da9c9; color: var(--av-navy) !important; text-decoration: none !important; }
.av-btn-outline-dark:hover { background: #fff; }

.av-notice-card { display: flex; flex-direction: column; gap: 7px; padding: 22px; border: 1px dashed #b9cde5; border-radius: 15px; background: #f8fbff; }
.av-notice-card strong { color: var(--av-navy); font-size: 17px; }
.av-notice-card span { color: #647b98; }

@media (max-width: 820px) {
  .av-board-grid, .av-name-grid, .av-contact-grid { grid-template-columns: 1fr; }
  .av-table-tools { align-items: stretch; flex-direction: column; }
  .av-bank-card dl > div { grid-template-columns: 1fr; gap: 4px; }
  .av-doc-section { font-size: 21px !important; }
}


/* v1.4 - Social media links */
.av-social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.av-social-link { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff !important; text-decoration: none !important; font-size: 13px; font-weight: 700; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.av-social-link:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.32); transform: translateY(-1px); }
.av-social-link svg { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; }

/* v1.6 - Duyurular: kapak, etiketler, arama ve filtreleme */
.av-announcement-heading { align-items: flex-end; }
.av-section-heading-copy > p:last-child { max-width: 680px; margin: 12px 0 0; line-height: 1.65; color: #667e9b; }
.av-all-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 15px; border: 1px solid #d7e5f5; border-radius: 12px; background: #fff; color: var(--av-navy); font-size: 13px; font-weight: 800; transition: .2s ease; }
.av-all-link:hover { border-color: #a8c8ed; color: var(--av-blue); transform: translateY(-1px); }

.av-announcement-card { display: flex; flex-direction: column; min-width: 0; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.av-announcement-card:hover { transform: translateY(-4px); border-color: #cbdff5; box-shadow: 0 18px 42px rgba(20,64,122,.12); }
.av-announcement-image { position: relative; height: auto; aspect-ratio: 1 / 1; align-items: stretch; padding: 0; overflow: hidden; background-size: cover !important; background-position: center !important; }
.av-announcement-image.has-cover { background-color: #dfeafb; }
.av-announcement-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,29,67,.04) 28%, rgba(4,29,67,.78) 100%); pointer-events: none; }
.av-announcement-image:not(.has-cover)::before { content: ''; position: absolute; width: 210px; height: 210px; right: -55px; top: -75px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255,255,255,.045); }
.av-announcement-tags { position: absolute; left: 16px; top: 16px; z-index: 2; display: flex; flex-wrap: wrap; gap: 7px; }
.av-announcement-tag, .av-detail-tag { display: inline-flex; align-items: center; min-height: 27px; padding: 0 10px; border-radius: 999px; font-size: 10px; line-height: 1; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.av-announcement-tag { color: #fff; background: rgba(5,43,93,.72); border: 1px solid rgba(255,255,255,.26); backdrop-filter: blur(8px); }
.av-featured-label { position: absolute; right: 16px; top: 16px; z-index: 2; display: inline-flex; align-items: center; min-height: 27px; padding: 0 10px; border-radius: 999px; background: #fff; color: var(--av-navy); font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.av-announcement-fallback-mark { position: absolute; left: 18px; bottom: 16px; z-index: 2; color: rgba(255,255,255,.9); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.av-announcement-body { display: flex; flex-direction: column; flex: 1; padding: 23px 23px 22px; }
.av-announcement-meta { display: flex; align-items: center; gap: 8px; color: #7a8fa9; font-size: 12px; font-weight: 700; }
.av-announcement-meta time::before { content: '•'; margin-right: 7px; color: #8db7e6; }
.av-announcement-card h3 { margin: 10px 0 10px; font-size: 20px; line-height: 1.32; letter-spacing: -.012em; }
.av-announcement-card h3 a { font-weight: 800; }
.av-announcement-summary { margin: 0 0 20px; color: #637a97; font-size: 14px; line-height: 1.65 !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.av-announcement-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid #edf2f8; color: var(--av-blue) !important; font-size: 13px; font-weight: 800 !important; }
.av-announcement-more span { transition: transform .2s ease; }
.av-announcement-card:hover .av-announcement-more span { transform: translateX(3px); }

.av-announcements-hero .av-page-hero-lead, .av-page-hero-lead { max-width: 760px; margin: 16px 0 0; color: #d9e8fc; font-size: 17px; line-height: 1.65; }
.av-announcement-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 28px; padding: 14px; border: 1px solid var(--av-line); border-radius: 16px; background: #f8fbff; }
.av-announcement-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.av-filter-chip { min-height: 36px; padding: 0 13px; border: 1px solid #d4e2f3; border-radius: 999px; background: #fff; color: #4e6b8e; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; transition: .18s ease; }
.av-filter-chip:hover { border-color: #9fc2eb; color: var(--av-blue); }
.av-filter-chip.is-active { background: var(--av-navy); border-color: var(--av-navy); color: #fff; }
.av-announcement-search { flex: 0 1 310px; }
.av-announcement-search input { width: 100%; min-height: 42px; padding: 0 14px 0 40px; border: 1px solid #cadbef; border-radius: 11px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236a84a3' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E") no-repeat 13px center; color: var(--av-text); font: inherit; font-size: 13px; outline: none; }
.av-announcement-search input:focus { border-color: #79ace6; box-shadow: 0 0 0 3px rgba(25,118,233,.09); }
.av-filter-empty { margin-top: 22px; }

.av-detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.av-detail-meta time { display: inline-flex; align-items: center; min-height: 29px; padding: 0 11px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); color: #e3efff; font-size: 12px; font-weight: 800; }
.av-detail-tag { background: #fff; color: var(--av-navy); }
.av-announcement-detail .av-content-card { max-width: 1080px; }
.av-detail-cover { margin: -8px -8px 30px; overflow: hidden; border-radius: 16px; background: #eaf2fc; }
.av-detail-cover { max-width: 760px; aspect-ratio: 1 / 1; }
.av-detail-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.av-detail-lead { margin: 0 0 26px; padding: 0 0 24px; border-bottom: 1px solid var(--av-line); color: #496887; font-size: 19px; line-height: 1.7; font-weight: 500; }
.av-detail-back { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--av-line); }
.av-detail-back a { color: var(--av-blue); font-weight: 800; }

@media (max-width: 820px) {
  .av-announcement-toolbar { align-items: stretch; flex-direction: column; }
  .av-announcement-search { flex-basis: auto; width: 100%; }
  .av-announcement-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: thin; }
  .av-filter-chip { flex: 0 0 auto; }
  .av-announcement-heading { align-items: flex-start; }
}

/* ============================================================
   v1.8 UI POLISH — 30.09.2026
   Duyurular archive, icons, navigation and responsive cleanup.
   ============================================================ */
:root {
  --av-container: 1280px;
  --av-radius-sm: 12px;
  --av-radius-md: 16px;
  --av-radius-lg: 22px;
  --av-shadow-soft: 0 12px 34px rgba(20, 64, 122, .07);
  --av-shadow-hover: 0 20px 50px rgba(20, 64, 122, .13);
}

.av-container { width: min(var(--av-container), calc(100% - 48px)); }
.av-icon-ring svg, .av-info-icon svg, .av-stat-icon svg { width: 25px; height: 25px; }
.av-icon-ring, .av-info-icon, .av-stat-icon { font-size: 0; }
.av-all-link svg, .av-footer-button svg, .av-announcement-more svg, .av-detail-back svg, .av-breadcrumb svg { width: 16px; height: 16px; flex: 0 0 auto; }

/* Header polish */
.av-header { box-shadow: 0 1px 0 rgba(9, 48, 101, .02); }
.av-header-inner { min-height: 86px; }
.av-brand { min-width: 315px; gap: 13px; }
.av-brand img { width: 62px; height: 62px; border-radius: 16px; }
.av-brand-copy strong { font-size: 24px; }
.av-brand-copy small { font-size: 12.5px; }
.av-nav { gap: 3px; }
.av-nav > a, .av-nav-item > button { position: relative; padding: 12px 10px; }
.av-nav > a.is-active, .av-nav-item.is-active > button { color: var(--av-blue); background: #f3f7fd; }
.av-nav > a.is-active::after, .av-nav-item.is-active > button::after {
  content: ''; position: absolute; left: 11px; right: 11px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--av-blue);
}
.av-nav-chevron { width: 14px; height: 14px; margin-left: 2px; vertical-align: -2px; transition: transform .18s ease; }
.has-submenu:hover > button .av-nav-chevron, .has-submenu.is-open > button .av-nav-chevron { transform: rotate(180deg); }
.av-nav .av-nav-cta::after { display: none !important; }
.av-nav .av-nav-cta { box-shadow: 0 7px 17px rgba(18,104,215,.18); }
.av-submenu { min-width: 270px; padding: 9px; border-radius: 13px; }
.av-submenu a { font-size: 13.5px; }

/* General section rhythm */
.av-section { padding: 70px 0; }
.av-section h2 { font-size: clamp(32px, 2.8vw, 48px); }
.av-content-card { border-radius: 18px; box-shadow: var(--av-shadow-soft); }
.av-page-hero { padding: 68px 0 62px; }
.av-page-hero h1 { max-width: 970px; font-size: clamp(36px, 3.4vw, 54px); }

/* Home cards and icons */
.av-quick-card, .av-info-card, .av-stat-card { box-shadow: 0 8px 24px rgba(20,64,122,.045); }
.av-icon-ring, .av-info-icon, .av-stat-icon { background: #edf5ff; border: 1px solid #deebfa; }
.av-quick-card:hover, .av-info-card:hover, .av-stat-card:hover { border-color: #cbdff5; box-shadow: 0 14px 34px rgba(20,64,122,.08); }
.av-hero-location { display: inline-flex; align-items: center; gap: 7px; }
.av-hero-location svg { width: 14px; height: 14px; }
.av-slider-arrow { font-size: 0; }
.av-slider-arrow svg { width: 18px; height: 18px; }

/* Footer/social icons */
.av-footer { background: linear-gradient(118deg, #05234a, #082f63 55%, #0b3b74); }
.av-footer-grid { gap: 42px; }
.av-social-links { gap: 9px; }
.av-social-link {
  min-height: 40px; padding: 8px 13px; gap: 9px;
  background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.15);
}
.av-social-link svg { width: 18px; height: 18px; flex: 0 0 auto; }
.av-social-link:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.32); }
.av-footer-button { align-items: center; gap: 8px; }

/* Duyurular — target mockup inspired */
.av-announcements { background: #fff; }
.av-announcement-heading { margin-bottom: 30px; }
.av-announcement-heading h2 { margin-top: 0; }
.av-section-heading-copy > p:last-child { max-width: 640px; }
.av-all-link { border-radius: 10px; min-height: 42px; padding: 0 14px; }

.av-announcements-hero {
  padding: 60px 0 56px;
  background: linear-gradient(118deg, #092f6d 0%, #0f55ad 62%, #1b72d8 100%);
}
.av-announcements-hero .av-page-hero-lead { max-width: 680px; }
.av-breadcrumb {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 16px;
  color: #dceaff; font-size: 13px; font-weight: 700;
}
.av-breadcrumb:hover { color: #fff; }
.av-announcements-hero .av-breadcrumb { display: none; }

.av-announcements-index { background: #f8fbff; padding-top: 52px; }
.av-announcement-archive-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px;
}
.av-announcement-archive-head h2 { margin: 0; font-size: clamp(30px, 2.6vw, 42px); }
.av-announcement-count {
  display: inline-flex; min-height: 34px; align-items: center; padding: 0 12px;
  border-radius: 999px; background: #eaf3ff; color: #3c618d; font-size: 12px; font-weight: 800;
}
.av-editor-note {
  display: flex; gap: 8px; align-items: flex-start; margin-bottom: 22px; padding: 14px 16px;
  border: 1px dashed #9ebee5; border-radius: 12px; background: #eef6ff; color: #4f6d90; font-size: 13px; line-height: 1.55;
}
.av-editor-note strong { color: var(--av-navy); white-space: nowrap; }

.av-announcement-toolbar {
  margin-bottom: 26px; padding: 12px 14px; border-radius: 14px;
  background: #fff; border-color: #dce8f6; box-shadow: 0 5px 18px rgba(20,64,122,.035);
}
.av-filter-chip { min-height: 34px; padding: 0 12px; border-radius: 9px; }
.av-filter-chip.is-active { background: #0c3978; border-color: #0c3978; }
.av-announcement-search { position: relative; }
.av-announcement-search-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); z-index: 1; color: #6d86a4; pointer-events: none; }
.av-announcement-search-icon svg { width: 17px; height: 17px; }
.av-announcement-search input { padding-left: 40px; background-image: none; border-radius: 10px; }

.av-announcement-grid { gap: 22px; }
.av-announcement-grid-index { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.av-announcement-card {
  overflow: hidden; border-radius: 15px; border: 1px solid #dde8f4; box-shadow: 0 8px 24px rgba(20,64,122,.055);
  background: #fff;
}
.av-announcement-card:hover { transform: translateY(-3px); box-shadow: var(--av-shadow-hover); border-color: #c7dbf1; }
.av-announcement-image {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; padding: 0;
  overflow: hidden; background: #dce9f8;
}
.av-announcement-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.av-announcement-card:hover .av-announcement-image img { transform: scale(1.025); }
.av-announcement-image.is-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px;
  background: linear-gradient(140deg, #0b3977, #176fda);
}
.av-announcement-image-2.is-placeholder { background: linear-gradient(140deg, #496784, #8ca1b8); }
.av-announcement-image-3.is-placeholder { background: linear-gradient(140deg, #ad7a32, #0e477f); }
.av-announcement-image.is-placeholder::before {
  content: ''; position: absolute; width: 220px; height: 220px; right: -75px; top: -100px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 0 0 42px rgba(255,255,255,.04);
}
.av-announcement-placeholder-icon {
  position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px;
  border-radius: 18px; background: rgba(255,255,255,.13); color: #fff; border: 1px solid rgba(255,255,255,.21);
}
.av-announcement-placeholder-icon svg { width: 31px; height: 31px; }
.av-announcement-placeholder-label { position: relative; z-index: 1; color: rgba(255,255,255,.88); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.av-featured-label {
  left: 13px; right: auto; top: 13px; min-height: 26px; padding: 0 9px; border-radius: 8px;
  background: rgba(255,255,255,.94); color: #0b3977; box-shadow: 0 4px 12px rgba(6,39,82,.12);
}
.av-announcement-body { padding: 19px 20px 20px; }
.av-announcement-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 26px; }
.av-announcement-meta-row time { display: inline-flex; align-items: center; gap: 6px; color: #778ca6; font-size: 11.5px; font-weight: 700; }
.av-announcement-meta-row time svg { width: 14px; height: 14px; }
.av-announcement-tags-inline { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.av-announcement-tag-inline {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 999px;
  background: #edf5ff; color: #43688f; font-size: 9.5px; line-height: 1; font-weight: 800; letter-spacing: .025em;
}
.av-announcement-card h3 { margin: 11px 0 8px; font-size: 19px; line-height: 1.34; }
.av-announcement-card h3 a { color: var(--av-navy); }
.av-announcement-summary { margin-bottom: 17px; font-size: 13.5px; line-height: 1.62 !important; -webkit-line-clamp: 3; }
.av-announcement-more {
  gap: 7px; padding-top: 13px; border-top-color: #edf2f7; font-size: 12.5px;
}
.av-announcement-more svg { transition: transform .2s ease; }
.av-announcement-card:hover .av-announcement-more svg { transform: translateX(3px); }

.av-filter-empty { margin-top: 24px; }
.av-empty-state { border-radius: 14px; background: #fff; }

/* Duyuru detail */
.av-announcement-detail-hero { padding-bottom: 56px; }
.av-announcement-detail-hero h1 { max-width: 950px; }
.av-detail-meta time { gap: 6px; }
.av-detail-meta time svg { width: 14px; height: 14px; }
.av-detail-tag { min-height: 28px; padding: 0 10px; border-radius: 8px; }
.av-announcement-detail-card { max-width: 980px !important; padding: clamp(24px, 4vw, 48px); }
.av-detail-cover { margin: 0 0 30px; border-radius: 14px; }
.av-detail-lead { font-size: 18px; }
.av-detail-back a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }

/* Remove old overlay artifacts left from v1.6 markup rules */
.av-announcement-shade, .av-announcement-fallback-mark, .av-announcement-tags { display: none !important; }

/* Long content/list pages */
.av-name-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.av-name-grid > div { padding: 14px 16px; background: #fbfdff; }
.av-board-grid { gap: 12px; }
.av-person-card { background: #fbfdff; }
.av-document { max-width: 980px; }
.av-document-body { font-size: 15.5px; }

@media (max-width: 1180px) {
  .av-container { width: min(var(--av-container), calc(100% - 36px)); }
  .av-brand { min-width: 265px; }
  .av-brand-copy small { display: none; }
  .av-announcement-grid-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .av-name-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .av-container { width: min(100% - 30px, var(--av-container)); }
  .av-section { padding: 54px 0; }
  .av-page-hero, .av-announcements-hero { padding: 50px 0 46px; }
  .av-announcement-archive-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .av-announcement-toolbar { padding: 11px; }
  .av-announcement-grid-index { grid-template-columns: 1fr; }
  .av-announcement-meta-row { align-items: flex-start; flex-direction: column; }
  .av-announcement-tags-inline { justify-content: flex-start; }
  .av-name-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .av-editor-note { flex-direction: column; }
}

@media (max-width: 520px) {
  .av-brand img { width: 50px; height: 50px; }
  .av-brand-copy strong { font-size: 18px; }
  .av-header-inner { min-height: 72px; }
  .av-name-grid { grid-template-columns: 1fr; }
  .av-announcement-image { aspect-ratio: 1 / 1; }
  .av-social-link span { display: none; }
  .av-social-link { width: 40px; padding: 0; justify-content: center; }
}

/* ============================================================
   v1.9 UI FIXES — footer, icons, filtering and animated stats
   ============================================================ */

/* Native [hidden] can be overridden by author display rules (cards are flex/grid).
   Keep filtering/search behaviour reliable. */
.ccm-page .av-announcement-card[hidden],
.ccm-page .av-filter-empty[hidden],
.ccm-page .av-data-table tr[hidden] { display: none !important; }

/* Consistent SVG rendering everywhere */
.av-icon-svg {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  overflow: visible;
  shape-rendering: geometricPrecision;
}
.av-icon-ring .av-icon-svg,
.av-info-icon .av-icon-svg,
.av-stat-icon .av-icon-svg { width: 25px; height: 25px; }
.av-icon-facebook { fill: currentColor; stroke: none; }
.av-icon-instagram { fill: none; stroke: currentColor; }

/* Footer: repair alignment/specificity conflicts from generic .av-footer a rules */
.av-footer { overflow: hidden; }
.av-footer-grid {
  grid-template-columns: minmax(300px, 1.65fr) minmax(150px, .8fr) minmax(170px, .9fr) minmax(210px, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 52px);
}
.av-footer-grid > div { min-width: 0; }
.av-footer-brand { max-width: 560px; }
.av-footer-brand-row { align-items: center; }
.av-footer-brand-row img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
}
.av-footer-brand-row > div { min-width: 0; }
.av-footer-brand-row strong { line-height: 1.1; }
.av-footer-brand-row span { line-height: 1.45; }
.av-footer-brand > p { max-width: 560px; margin: 22px 0 0; }

.av-footer .av-social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.av-footer .av-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  min-height: 42px;
  width: auto;
  padding: 0 15px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.av-footer .av-social-link:hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.36);
  transform: translateY(-1px);
}
.av-footer .av-social-link .av-icon-svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.av-footer .av-social-facebook .av-icon-facebook { fill: currentColor; stroke: none; }
.av-footer .av-social-instagram .av-icon-instagram { fill: none; stroke: currentColor; stroke-width: 1.8; }
.av-footer .av-social-instagram .av-icon-instagram circle:last-child { fill: currentColor; stroke: none; }
.av-footer .av-footer-button { display: inline-flex !important; margin: 8px 0 0 !important; }

/* Announcement toolbar/filter polish */
.av-announcement-toolbar { overflow: visible; }
.av-announcement-filters { min-width: 0; }
.av-filter-chip { appearance: none; -webkit-appearance: none; }
.av-filter-chip:focus-visible,
.av-announcement-search input:focus-visible {
  outline: 3px solid rgba(25,118,233,.16);
  outline-offset: 2px;
}
.av-announcement-search { min-width: min(310px, 100%); }
.av-announcement-search input { display: block; }
.av-announcement-card { min-width: 0; }
.av-announcement-card[hidden] { visibility: hidden; }

/* Animated stats */
.av-stat-card {
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.av-stat-card::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  right: -68px;
  top: -72px;
  border-radius: 50%;
  background: rgba(18,104,215,.045);
  pointer-events: none;
}
.av-stat-content strong {
  display: block;
  min-width: 5ch;
  color: var(--av-navy);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -.025em;
  transition: transform .2s ease;
}
.av-stat-card.is-counting .av-stat-content strong { transform: translateY(-1px); }
.av-stat-card.has-counted { border-color: #cfe1f5; }

@media (max-width: 1120px) {
  .av-footer-grid {
    grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 1fr));
  }
  .av-footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .av-footer-grid { grid-template-columns: 1fr 1fr; }
  .av-footer-grid > div:first-child,
  .av-footer-grid > div:last-child { grid-column: 1 / -1; }
  .av-footer-brand { max-width: 100%; }
  .av-announcement-search { min-width: 0; }
}

@media (max-width: 520px) {
  .av-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .av-footer-grid > div { grid-column: auto !important; }
  .av-footer-brand-row img { width: 52px; height: 52px; flex-basis: 52px; }
  .av-footer .av-social-link { width: 42px; height: 42px; min-height: 42px; padding: 0; }
  .av-footer .av-social-link span { display: none; }
}

/* ============================================================
   v1.9.2 — Concrete UI isolation, header chevrons and hero fixes
   ============================================================ */

/* Important: Concrete's toolbar/panels are rendered outside .ccm-page in footer.php.
   Keep every visual theme rule inside the site wrapper. */
.ccm-page .av-nav-item > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  line-height: 1.2;
}

/* CSS chevron: avoids baseline/viewBox differences between browsers and CMS UI. */
.ccm-page .av-nav-chevron {
  display: inline-block !important;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin: -4px 1px 0 1px !important;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transform-origin: center;
  font-size: 0 !important;
  line-height: 0;
}

/* The generic .ccm-page a rule has higher specificity than .av-btn-primary.
   Make the white hero CTA text explicitly navy instead of white-on-white. */
.ccm-page .av-hero a.av-btn-primary,
.ccm-page .av-hero a.av-btn-primary:visited {
  color: var(--av-navy) !important;
}
.ccm-page .av-hero a.av-btn-primary:hover,
.ccm-page .av-hero a.av-btn-primary:focus-visible {
  color: var(--av-blue) !important;
}
.ccm-page .av-hero a.av-btn-ghost,
.ccm-page .av-hero a.av-btn-ghost:visited {
  color: #fff !important;
}

/* Inline theme SVGs only. Never target Concrete core toolbar SVGs. */
.ccm-page .av-icon-svg {
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 1120px) {
  .ccm-page .av-nav-item > button {
    justify-content: space-between;
  }
  .ccm-page .av-nav-chevron {
    margin-left: auto !important;
    margin-right: 4px !important;
  }
}



/* v1.10.0 — edit-mode media labels and announcement gallery */
.av-editor-area-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 8px 12px;
    border: 1px dashed rgba(20, 78, 146, .34);
    border-radius: 10px;
    background: rgba(239, 246, 255, .96);
    color: #174b88;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}
.ccm-edit-mode .av-hero-media .av-editor-area-label-hero {
    position: relative;
    z-index: 4;
    margin: 12px;
    background: rgba(255, 255, 255, .94);
    color: #0d3c78;
    border-color: rgba(255, 255, 255, .65);
}
.av-announcement-gallery-area {
    margin-top: 30px;
}
.av-announcement-gallery-area .ccm-block-image,
.av-announcement-gallery-area .ccm-block-image img,
.av-announcement-gallery-area img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}
.av-announcement-gallery-area .ccm-image-slider-container,
.av-announcement-gallery-area .ccm-image-slider,
.av-announcement-gallery-area .flexslider,
.av-announcement-gallery-area .rslides,
.av-announcement-gallery-area ul {
    overflow: hidden;
    border-radius: 18px;
}
.av-announcement-gallery-area .ccm-image-slider-container,
.av-announcement-gallery-area .ccm-image-slider,
.av-announcement-gallery-area .flexslider {
    margin: 0;
    border: 0;
    box-shadow: none;
    background: #f4f7fb;
}
.av-announcement-gallery-area figure,
.av-announcement-gallery-area .ccm-image-slider-image {
    margin: 0;
}
.av-announcement-gallery-area figcaption,
.av-announcement-gallery-area .ccm-image-slider-text {
    padding: 12px 16px;
    color: #4c6381;
    font-size: 14px;
    line-height: 1.55;
}
@media (max-width: 767px) {
    .av-announcement-gallery-area { margin-top: 22px; }
    .av-editor-area-label { font-size: 12px; padding: 7px 10px; }
}

/* ============================================================
   v1.11.0 — single editable hero slider block
   ============================================================ */
.ccm-page .av-home-slider-area { position: relative; }
.ccm-page .av-custom-slider .av-hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; }
.ccm-page .av-custom-slider .av-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ccm-page .av-custom-slider .av-slider-edit-hint {
  position: absolute; z-index: 12; top: 14px; left: 50%; transform: translateX(-50%);
  padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.96);
  border: 1px solid rgba(13,76,157,.22); color: #123f78; font-size: 12px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(7,35,72,.12); pointer-events: none;
}
.ccm-page .av-custom-slider.is-edit-mode .av-slide { display: none; }
.ccm-page .av-custom-slider.is-edit-mode .av-slide.is-active { display: block; border-bottom: 0; }
.ccm-page .av-custom-slider.is-edit-mode { min-height: 515px; outline: 2px dashed rgba(25,118,233,.35); outline-offset: -2px; }
@media (max-width: 760px) {
  .ccm-page .av-custom-slider .av-hero-buttons { gap: 10px; }
  .ccm-page .av-custom-slider .av-slider-edit-hint { width: calc(100% - 28px); text-align: center; }
}

/* ============================================================
   v1.11.1 — Concrete toolbar SVG isolation/fallback support
   ============================================================ */
/* Theme SVG rules are intentionally scoped to .ccm-page and .av-* classes.
   The Concrete toolbar lives outside .ccm-page; never style its raw SVG/use. */
#av-concrete-toolbar-icon-fallback {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}


/* v1.13 — form shortcuts + presidents timeline */
.av-menu-file-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: .45rem;
    padding: .14rem .38rem;
    border-radius: .35rem;
    background: rgba(28, 112, 214, .10);
    color: #1c70d6;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .04em;
    vertical-align: middle;
}

.av-form-download-card {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.65rem;
    margin: 1.25rem 0 1rem;
    border: 1px solid #dce7f4;
    border-radius: 20px;
    background: linear-gradient(135deg, #f7fbff 0%, #ffffff 72%);
    box-shadow: 0 14px 36px rgba(20, 62, 112, .08);
}
.av-form-download-icon {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf3ff;
    color: #0b3a78;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .08em;
    border: 1px solid #cfe0f5;
}
.av-form-download-copy h3 {
    margin: .28rem 0 .42rem;
    color: #102a46;
    font-size: clamp(1.18rem, 2vw, 1.45rem);
}
.av-form-download-copy p { margin: 0; color: #62748a; line-height: 1.7; }
.av-form-download-button { white-space: nowrap; }
.av-form-note { margin-top: .8rem; }

.av-presidents-intro { max-width: 760px; }
.av-presidents-timeline {
    position: relative;
    margin: 2rem 0 .5rem;
    padding-left: 2.1rem;
}
.av-presidents-timeline::before {
    content: '';
    position: absolute;
    left: .58rem;
    top: .7rem;
    bottom: .7rem;
    width: 2px;
    background: linear-gradient(180deg, #1f7ae0 0%, #d7e5f5 100%);
}
.av-president-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 0 1rem;
}
.av-president-marker {
    position: absolute;
    left: -2.1rem;
    top: 1.45rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #8eb9ea;
    box-shadow: 0 0 0 5px #f4f8fd;
}
.av-president-card.is-current .av-president-marker { border-color: #176cc7; }
.av-president-card-body {
    padding: 1.25rem 1.4rem;
    border: 1px solid #e0e8f2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(20, 62, 112, .05);
}
.av-president-card.is-current .av-president-card-body {
    border-color: #bcd7f5;
    background: linear-gradient(135deg, #f2f8ff 0%, #ffffff 85%);
}
.av-president-card h3 {
    margin: 0 0 .3rem;
    color: #132f4e;
    font-size: 1.12rem;
    font-weight: 800;
}
.av-president-card p {
    margin: 0;
    color: #657a91;
    font-size: .95rem;
    font-weight: 600;
}
.av-president-status {
    display: inline-flex;
    width: fit-content;
    margin-bottom: .55rem;
    padding: .24rem .55rem;
    border-radius: 999px;
    background: #e6f2ff;
    color: #0b5db5;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .05em;
}

@media (max-width: 780px) {
    .av-form-download-card {
        grid-template-columns: 58px minmax(0, 1fr);
        padding: 1.25rem;
    }
    .av-form-download-icon { width: 58px; height: 58px; border-radius: 14px; }
    .av-form-download-button { grid-column: 1 / -1; width: 100%; justify-content: center; }
    .av-presidents-timeline { padding-left: 1.75rem; }
    .av-president-marker { left: -1.75rem; }
}

/* v1.13.1 — hero slider: only one background image, no decorative overlay artwork */
.ccm-page .av-custom-slider {
  background: #082f68;
}
.ccm-page .av-custom-slider::after {
  display: none;
}
.ccm-page .av-custom-slider .av-slide {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.ccm-page .av-custom-slider .av-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5,31,68,.88) 0%, rgba(5,31,68,.68) 44%, rgba(5,31,68,.30) 72%, rgba(5,31,68,.16) 100%);
}
.ccm-page .av-custom-slider .av-hero-grid {
  grid-template-columns: minmax(0, 1fr);
}
.ccm-page .av-custom-slider .av-hero-content {
  position: relative;
  z-index: 2;
}
.ccm-page .av-custom-slider .av-hero-media,
.ccm-page .av-custom-slider .av-hero-visual,
.ccm-page .av-custom-slider .av-hero-shape,
.ccm-page .av-custom-slider .av-temple-line,
.ccm-page .av-custom-slider .av-hero-location {
  display: none !important;
}
@media (max-width: 820px) {
  .ccm-page .av-custom-slider .av-slide { background-position: center center; }
  .ccm-page .av-custom-slider .av-slide::before {
    background: linear-gradient(90deg, rgba(5,31,68,.90) 0%, rgba(5,31,68,.66) 70%, rgba(5,31,68,.45) 100%);
  }
}


/* v1.13.2 — Burs Ver banka hesap kartı */
.av-burs-give-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 1.25rem;
    align-items: stretch;
    margin: 1.25rem 0 1rem;
}
.av-burs-give-grid .av-form-download-card {
    margin: 0;
    height: 100%;
}
.av-burs-bank-card {
    margin: 0;
    height: 100%;
}
.av-burs-bank-card dl {
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .av-burs-give-grid {
        grid-template-columns: 1fr;
    }
}


/* v1.15 — Yönetim Kurulu geçmiş dönem arşivi */
.av-board-current { margin-top: 8px; }
.av-section-heading { margin: 0 0 22px; }
.av-section-heading > span { display: inline-block; margin-bottom: 7px; color: var(--av-blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.av-section-heading h3 { margin: 0; color: var(--av-navy); font-size: clamp(23px, 2.4vw, 32px); line-height: 1.15; }
.av-section-heading p { margin: 10px 0 0; color: #637a97; line-height: 1.65; }
.av-board-history { margin-top: 46px; }
.av-section-heading-history { padding-top: 38px; border-top: 1px solid var(--av-line); }
.av-board-period { margin: 0 0 12px; border: 1px solid var(--av-line); border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 8px 28px rgba(12, 50, 97, .045); }
.av-board-period summary { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 70px; padding: 18px 22px; color: var(--av-navy); font-weight: 800; cursor: pointer; list-style: none; user-select: none; }
.av-board-period summary::-webkit-details-marker { display: none; }
.av-board-period summary:hover { background: #f8fbff; }
.av-board-period-title { font-size: 18px; }
.av-board-period-action { position: relative; flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid #cfe0f4; border-radius: 50%; background: #f4f8fd; }
.av-board-period-action::before, .av-board-period-action::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--av-blue); transform: translate(-50%, -50%); }
.av-board-period-action::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.av-board-period[open] .av-board-period-action::after { transform: translate(-50%, -50%) rotate(0deg); }
.av-board-period[open] summary { border-bottom: 1px solid var(--av-line); background: #f8fbff; }
.av-board-period-content { padding: 24px 22px 26px; }
.av-board-period-content > h4, .av-board-subsection h4 { margin: 0 0 14px; color: var(--av-navy); font-size: 15px; font-weight: 800; }
.av-board-subsection { margin-top: 26px; padding-top: 24px; border-top: 1px solid #e8eff8; }
.av-board-note { margin-bottom: 22px; padding: 15px 17px; border-left: 4px solid var(--av-blue); border-radius: 10px; background: #f3f8ff; color: #516a88; line-height: 1.65; }
.av-board-date-note { display: inline-flex; gap: 5px; margin: 0 0 18px; padding: 8px 11px; border-radius: 999px; background: #eef5ff; color: #526d90; font-size: 12px; }
.av-board-name-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.av-board-name-grid > div { min-height: 58px; display: flex; align-items: center; padding: 13px 15px; text-align: left; }
@media (max-width: 900px) {
  .av-board-name-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .av-board-history { margin-top: 34px; }
  .av-board-period summary { min-height: 62px; padding: 15px 16px; }
  .av-board-period-title { font-size: 16px; }
  .av-board-period-content { padding: 18px 16px 20px; }
  .av-board-name-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   v1.16 — Official Aydın Vakfı logo + footer alignment
   ========================================================= */
.av-brand {
  align-items: center;
}
.av-brand img {
  width: 64px;
  height: 64px;
  display: block;
  object-fit: contain;
  object-position: center;
  flex: 0 0 64px;
  border-radius: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
}

.av-footer-brand-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  min-height: 76px;
}
.av-footer-brand-row img {
  width: 76px;
  height: 76px;
  display: block;
  object-fit: contain;
  object-position: center;
  align-self: center;
  justify-self: start;
  flex: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
}
.av-footer-brand-row > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 76px;
}
.av-footer-brand-row strong {
  margin: 0;
  line-height: 1.15;
}
.av-footer-brand-row span {
  margin-top: 5px;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .av-brand img {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }
  .av-footer-brand-row {
    grid-template-columns: 62px minmax(0, 1fr);
    min-height: 62px;
    column-gap: 14px;
  }
  .av-footer-brand-row img {
    width: 62px;
    height: 62px;
  }
  .av-footer-brand-row > div {
    min-height: 62px;
  }
}

/* =========================================================
   v1.16.1 — PNG logo, responsive full subtitle, hover zoom
   ========================================================= */
.av-brand {
  min-width: 0;
  max-width: min(560px, 48vw);
  flex: 0 1 auto;
  gap: 13px;
}
.av-brand img,
.av-footer-brand-row img {
  object-fit: contain;
  object-position: center;
  background: #fff;
  border: 1px solid rgba(17, 78, 151, .10);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 8px 22px rgba(15, 57, 111, .08);
  transition: transform .22s ease, box-shadow .22s ease;
  transform-origin: center;
}
.av-brand:hover img,
.av-brand:focus-visible img,
.av-footer-brand-row:hover img {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(15, 57, 111, .14);
}
.av-brand-copy {
  min-width: 0;
  max-width: 470px;
}
.av-brand-copy small {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.32;
  max-width: 100%;
}
.av-footer-brand-row > div {
  min-width: 0;
}
.av-footer-brand-row span {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

@media (max-width: 1180px) {
  .av-brand {
    min-width: 0 !important;
    max-width: calc(100% - 64px);
    flex: 1 1 auto;
  }
  .av-brand-copy small {
    display: block !important;
    font-size: 11px;
    line-height: 1.25;
  }
  .av-brand-copy strong {
    font-size: 21px;
  }
}

@media (max-width: 820px) {
  .av-header-inner {
    gap: 10px;
  }
  .av-brand {
    max-width: calc(100% - 56px);
    gap: 10px;
  }
  .av-brand img {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    padding: 5px;
    border-radius: 14px;
  }
  .av-brand-copy strong {
    font-size: 19px;
    line-height: 1.05;
  }
  .av-brand-copy small {
    font-size: 10.5px;
    line-height: 1.22;
  }
  .av-menu-toggle {
    flex: 0 0 44px;
  }
}

@media (max-width: 520px) {
  .av-header-inner {
    min-height: 78px;
  }
  .av-brand {
    max-width: calc(100% - 50px);
    gap: 8px;
  }
  .av-brand img {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    padding: 4px;
    border-radius: 13px;
  }
  .av-brand-copy strong {
    font-size: 17px;
  }
  .av-brand-copy small {
    display: block !important;
    font-size: 9.4px;
    line-height: 1.18;
  }
  .av-footer-brand-row {
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 12px;
    min-height: 58px;
  }
  .av-footer-brand-row img {
    width: 58px;
    height: 58px;
    padding: 5px;
    border-radius: 14px;
  }
  .av-footer-brand-row > div {
    min-height: 58px;
  }
  .av-footer-brand-row strong {
    font-size: 18px;
  }
  .av-footer-brand-row span {
    font-size: 10.5px;
    line-height: 1.28;
  }
}

@media (prefers-reduced-motion: reduce) {
  .av-brand img,
  .av-footer-brand-row img {
    transition: none;
  }
  .av-brand:hover img,
  .av-brand:focus-visible img,
  .av-footer-brand-row:hover img {
    transform: none;
  }
}


/* =========================================================
   v1.16.2 — Exact user-supplied SVG logo, centered in white tile
   ========================================================= */
.av-brand .av-logo-box,
.av-footer-brand-row .av-logo-box {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid rgba(17, 78, 151, .10);
  box-shadow: 0 8px 22px rgba(15, 57, 111, .08);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
  transform-origin: center;
}
.av-brand .av-logo-box {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  padding: 4px;
}
.av-footer-brand-row .av-footer-logo-box {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  padding: 5px;
  justify-self: start;
}
.av-brand .av-logo-box img,
.av-footer-brand-row .av-logo-box img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block !important;
  object-fit: contain !important;
  object-position: 50% 50% !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
.av-brand:hover .av-logo-box,
.av-brand:focus-visible .av-logo-box,
.av-footer-brand-row:hover .av-logo-box {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(15, 57, 111, .14);
}
/* Neutralize the old direct-img flex sizing now that the image lives inside a tile. */
.av-brand > img,
.av-footer-brand-row > img { display: none !important; }

@media (max-width: 820px) {
  .av-brand .av-logo-box {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    padding: 3px;
  }
  .av-footer-brand-row {
    grid-template-columns: 62px minmax(0, 1fr);
  }
  .av-footer-brand-row .av-footer-logo-box {
    width: 62px;
    height: 62px;
    border-radius: 15px;
    padding: 4px;
  }
}
@media (max-width: 520px) {
  .av-brand .av-logo-box {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    padding: 3px;
  }
  .av-footer-brand-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }
  .av-footer-brand-row .av-footer-logo-box {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    padding: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .av-brand .av-logo-box,
  .av-footer-brand-row .av-logo-box { transition: none; }
  .av-brand:hover .av-logo-box,
  .av-brand:focus-visible .av-logo-box,
  .av-footer-brand-row:hover .av-logo-box { transform: none; }
}


/* v1.17 — 2026 güncel Yönetim Kurulu */
.av-board-current-grid { align-items: stretch; }
.av-person-card-current { border-color: #bfd8fb; background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%); }
.av-board-updating {
  min-height: 118px; padding: 22px; border: 1px dashed #b8cce5; border-radius: 16px;
  background: #f8fbff; display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.av-board-updating-badge {
  align-self: flex-start; display: inline-flex; align-items: center; min-height: 25px; padding: 4px 9px;
  border-radius: 999px; background: #eaf3ff; color: var(--av-blue); font-size: 10px; font-weight: 800; letter-spacing: .09em;
}
.av-board-updating strong { color: var(--av-navy); font-size: 18px; }
.av-board-updating p { margin: 0; color: #667e9b; font-size: 14px; line-height: 1.55; }


/* v1.18 — Vakıf Hakkında */
.av-about-intro { max-width: 900px; }
.av-about-lead-card {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; align-items: start;
  margin: 10px 0 28px; padding: 34px; border: 1px solid var(--av-line); border-radius: 20px;
  background: linear-gradient(135deg, #f7fbff 0%, #eef6ff 100%);
}
.av-about-lead-card h3 { margin: 8px 0 0; color: var(--av-navy); font-size: clamp(24px, 3vw, 34px); line-height: 1.18; }
.av-about-lead-card p { margin: 0; color: #526b89; font-size: 16px; line-height: 1.8; }
.av-about-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 34px; }
.av-about-pillar { min-height: 230px; padding: 24px; border: 1px solid var(--av-line); border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(20,64,122,.045); }
.av-about-pillar-no { display: inline-flex; margin-bottom: 30px; color: var(--av-blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.av-about-pillar h3 { margin: 0 0 10px; color: var(--av-navy); font-size: 18px; }
.av-about-pillar p { margin: 0; color: #647b98; font-size: 14px; line-height: 1.7; }
.av-about-principles { display: grid; grid-template-columns: 1.35fr .65fr; gap: 22px; margin: 8px 0 34px; }
.av-about-principles-copy { padding: 30px; border: 1px solid var(--av-line); border-radius: 18px; background: #fff; }
.av-about-principles-copy h3 { margin: 8px 0 16px; color: var(--av-navy); font-size: 24px; line-height: 1.3; }
.av-about-principles-copy p { color: #596f8b; line-height: 1.8; }
.av-about-quote { display: flex; flex-direction: column; justify-content: center; padding: 30px; border-radius: 18px; background: linear-gradient(145deg, #082f63 0%, #0c4e9a 100%); color: #fff; }
.av-about-quote > span { margin-bottom: 18px; color: #a9cfff; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.av-about-quote strong { font-size: 22px; line-height: 1.35; }
.av-about-quote p { margin: 16px 0 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.65; }
.av-about-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.av-about-link-card { display: flex; flex-direction: column; min-height: 138px; padding: 22px; border: 1px solid var(--av-line); border-radius: 16px; background: #fff; text-decoration: none !important; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.av-about-link-card:hover { transform: translateY(-3px); border-color: #bdd5f1; box-shadow: 0 14px 34px rgba(20,64,122,.08); }
.av-about-link-card span { color: #7890ac; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.av-about-link-card strong { margin: 9px 0 6px; color: var(--av-navy); font-size: 18px; }
.av-about-link-card small { margin-top: auto; color: var(--av-blue); font-size: 13px; font-weight: 700; }
@media (max-width: 980px) {
  .av-about-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .av-about-principles { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .av-about-lead-card { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .av-about-pillars, .av-about-links { grid-template-columns: 1fr; }
  .av-about-pillar { min-height: auto; }
  .av-about-pillar-no { margin-bottom: 18px; }
}

/* ============================================================
   v1.18.1 — Ana sayfa Vakfımız Hakkında mobil/tablet bağlantıları
   ============================================================ */
.ccm-page .av-about-art { pointer-events: none; }
.ccm-page .av-about-grid { z-index: 1; }

/* Eski başlangıç bloğundaki /vakif-hakkinda bağlantısı /demo kurulumunda
   yanlış köke gidebildiği için ziyaretçi görünümünde tema tarafından üretilen
   canonical bağlantıyı kullanıyoruz. Edit modunda eski blok bağlantısı görünür
   kalır ve düzenlenebilir. */
.ccm-page:not(.ccm-edit-mode) .av-about-copy .ccm-block-content a.av-text-link[href="/vakif-hakkinda"] {
  display: none !important;
}
.ccm-page .av-about-template-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  min-height: 44px;
  text-decoration: none !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(18,104,215,.10);
}
.ccm-page .av-about-template-link svg { width: 16px; height: 16px; }

/* Dört kurumsal kart masaüstü, tablet ve mobilde kartın tamamı tıklanabilir. */
.ccm-page .av-info-card-link {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none !important;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(18,104,215,.10);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ccm-page .av-info-card-link:hover,
.ccm-page .av-info-card-link:focus-visible {
  transform: translateY(-3px);
  border-color: #bdd5f1;
  box-shadow: 0 14px 34px rgba(20,64,122,.09);
  outline: none;
}
.ccm-page .av-info-card-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(25,118,233,.16), 0 14px 34px rgba(20,64,122,.09);
}
.ccm-page .av-info-card-link h3,
.ccm-page .av-info-card-link p { pointer-events: none; }
.ccm-page .av-info-card-arrow {
  position: absolute;
  right: 18px;
  bottom: 17px;
  display: inline-flex;
  color: var(--av-blue);
  opacity: .72;
  transition: transform .2s ease, opacity .2s ease;
  pointer-events: none;
}
.ccm-page .av-info-card-arrow svg { width: 18px; height: 18px; }
.ccm-page .av-info-card-link:hover .av-info-card-arrow,
.ccm-page .av-info-card-link:focus-visible .av-info-card-arrow { transform: translateX(3px); opacity: 1; }

@media (max-width: 1120px) {
  .ccm-page .av-info-card-link { min-height: 220px; }
}
@media (max-width: 820px) {
  .ccm-page .av-info-card-link { min-height: 210px; padding-bottom: 52px; }
  .ccm-page .av-about-template-link { margin-top: 8px; }
}
@media (max-width: 520px) {
  .ccm-page .av-info-card-link { min-height: 0; padding: 22px 20px 50px; }
}

/* v1.19 – Aydın menüsü: uzun alt menü masaüstü/tablette taşmadan kaydırılabilir. */
.av-submenu-scroll {
  max-height: min(70vh, 620px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.av-submenu-scroll::-webkit-scrollbar { width: 7px; }
.av-submenu-scroll::-webkit-scrollbar-thumb { background: #c9d8ea; border-radius: 999px; }
.av-submenu-scroll::-webkit-scrollbar-track { background: transparent; }
@media (max-width: 1120px) {
  .av-submenu-scroll { max-height: 52vh; overflow-y: auto; }
}


/* v1.20 - Aydın Hakkında */
.av-aydin-about { display: grid; gap: clamp(38px, 6vw, 72px); }
.av-aydin-hero-media { margin: 0; overflow: hidden; border-radius: 22px; border: 1px solid var(--av-line); background: #edf4fb; box-shadow: 0 18px 44px rgba(12,55,108,.10); }
.av-aydin-hero-media img { display: block; width: 100%; aspect-ratio: 16 / 8.4; object-fit: cover; }
.av-aydin-hero-media figcaption, .av-aydin-map-card figcaption { padding: 9px 12px; color: #7185a0; background: #fff; font-size: 11px; line-height: 1.45; }
.av-aydin-lead { max-width: 980px; }
.av-aydin-lead h2, .av-aydin-section-head h2 { margin: 14px 0 18px; color: var(--av-navy); line-height: 1.12; }
.av-aydin-lead h2 { font-size: clamp(30px, 4vw, 48px); }
.av-aydin-lead p { color: #405875; font-size: 16px; line-height: 1.8; }
.av-aydin-section-head { margin-bottom: 22px; }
.av-aydin-section-head h2 { font-size: clamp(26px, 3vw, 38px); }
.av-aydin-facts-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 18px; align-items: stretch; }
.av-aydin-facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.av-aydin-facts-grid article { min-height: 128px; padding: 20px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--av-line); border-radius: 16px; background: linear-gradient(145deg,#fbfdff,#f4f9ff); }
.av-aydin-facts-grid strong { color: var(--av-navy); font-size: clamp(22px, 2.4vw, 31px); line-height: 1.05; }
.av-aydin-facts-grid span { margin-top: 8px; color: #4e6684; font-weight: 800; }
.av-aydin-facts-grid small { margin-top: 4px; color: #8193aa; }
.av-aydin-map-card { margin: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--av-line); border-radius: 16px; background: #fff; }
.av-aydin-map-card img { width: 100%; min-height: 100%; flex: 1; object-fit: contain; padding: 20px; background: #f7fbff; }
.av-aydin-data-note { margin: 14px 0 0; padding: 14px 16px; border-left: 3px solid var(--av-blue); border-radius: 0 10px 10px 0; background: #f4f8fe; color: #617793; font-size: 13px; line-height: 1.6; }
.av-aydin-pillar-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.av-aydin-pillar-grid article { position: relative; min-height: 250px; padding: 26px; border: 1px solid var(--av-line); border-radius: 18px; background: #fbfdff; }
.av-aydin-pillar-number { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 12px; background: #eaf3ff; color: var(--av-blue); font-weight: 900; }
.av-aydin-pillar-grid h3 { margin: 0 0 10px; color: var(--av-navy); font-size: 20px; }
.av-aydin-pillar-grid p { color: #5b718d; line-height: 1.7; }
.av-aydin-pillar-grid a { display: inline-flex; margin-top: 8px; color: var(--av-blue) !important; font-weight: 800; text-decoration: none !important; }
.av-aydin-link-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.av-aydin-link-grid a { min-height: 125px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--av-line); border-radius: 15px; background: #fff; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.av-aydin-link-grid a:hover { transform: translateY(-2px); border-color: #bfd7f1; box-shadow: 0 12px 28px rgba(20,64,122,.08); }
.av-aydin-link-grid strong { color: var(--av-navy); font-size: 15px; }
.av-aydin-link-grid span { margin-top: 12px; color: #7286a1; font-size: 12px; line-height: 1.5; }
.av-aydin-sources { padding: 24px; border: 1px solid var(--av-line); border-radius: 16px; background: #f8fbff; }
.av-aydin-sources h3 { margin: 0 0 8px; color: var(--av-navy); }
.av-aydin-sources p { margin: 0 0 14px; color: #667c98; }
.av-aydin-sources ul { margin: 0; padding-left: 20px; }
.av-aydin-sources li { margin: 8px 0; }
.av-aydin-sources a { color: var(--av-blue) !important; overflow-wrap: anywhere; }
@media (max-width: 1080px) {
  .av-aydin-facts-layout { grid-template-columns: 1fr; }
  .av-aydin-link-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .av-aydin-about { gap: 38px; }
  .av-aydin-hero-media { border-radius: 16px; }
  .av-aydin-hero-media img { aspect-ratio: 4 / 3; }
  .av-aydin-facts-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .av-aydin-pillar-grid { grid-template-columns: 1fr; }
  .av-aydin-link-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .av-aydin-facts-grid, .av-aydin-link-grid { grid-template-columns: 1fr; }
  .av-aydin-facts-grid article { min-height: 104px; }
}

/* v1.27.7 - announcement covers are always true 1:1 squares */
.av-announcement-card .av-announcement-image { width:100% !important; height:auto !important; min-height:0 !important; aspect-ratio:1 / 1 !important; flex:0 0 auto !important; padding:0 !important; overflow:hidden !important; }
.av-announcement-card .av-announcement-image img { position:absolute !important; inset:0 !important; width:100% !important; height:100% !important; object-fit:cover !important; }
