/* Public site styles extracted from organization/public_base.html. */
:root {
      --dvfu-blue: #003366;
      --dvfu-bright-blue: #0066cc;
      --dvfu-light-blue: #e6f2ff;
      --dvfu-sky: #cfe7ff;
      --dvfu-accent: #00a3e0;
      --dvfu-gold: #ffc627;
      --dvfu-gold-dark: #e6a800;
      --ink: #1e2b4f;
      --muted: #4a627a;
      --line: #e3edf8;
      --soft: #f5f9ff;
      --surface: #ffffff;
      --shadow: 0 18px 45px rgba(0, 51, 102, .08);
      --nav-width: 248px;
      --radius-xl: 34px;
      --radius-lg: 24px;
      --radius-md: 16px;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      font-family: "Montserrat", sans-serif;
      color: var(--ink);
      background:
        radial-gradient(circle at 92% 6%, rgba(0, 163, 224, .10), transparent 32%),
        linear-gradient(180deg, #fff 0%, #f5f9ff 48%, #fff 100%);
      line-height: 1.55;
      overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; }
    button, select { font-family: inherit; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 22px; }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 900;
      background: rgba(255, 255, 255, .9);
      border-bottom: 1px solid rgba(0, 51, 102, .08);
      backdrop-filter: blur(16px);
    }
    .topbar-inner {
      min-height: 70px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }
    .nav-toggle {
      width: 44px;
      height: 44px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #fff;
      color: var(--dvfu-blue);
      display: inline-grid;
      place-items: center;
      cursor: pointer;
      box-shadow: 0 8px 22px rgba(0, 51, 102, .08);
    }
    .logo-area,
    .side-brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }
    .logo-icon {
      width: 48px;
      height: 48px;
      display: grid;
      place-items: center;
      border-radius: 15px;
      background: var(--dvfu-blue);
      border: 2px solid var(--dvfu-gold);
      color: var(--dvfu-gold);
      font-weight: 900;
      font-size: .95rem;
      box-shadow: 0 8px 18px rgba(0, 51, 102, .12);
      overflow: hidden;
      flex: 0 0 auto;
    }
    .logo-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .logo-text { min-width: 0; }
    .logo-text h1 {
      font-size: clamp(.95rem, 1.8vw, 1.16rem);
      font-weight: 900;
      color: var(--dvfu-blue);
      line-height: 1.12;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 430px;
    }

    .side-nav {
      position: fixed;
      left: 18px;
      top: 18px;
      bottom: 18px;
      width: calc(var(--nav-width) - 28px);
      z-index: 1100;
      background: rgba(255, 255, 255, .96);
      border: 1px solid rgba(0, 51, 102, .10);
      border-radius: 28px;
      box-shadow: var(--shadow);
      backdrop-filter: blur(18px);
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      transform: translateX(-125%);
      transition: transform .25s ease;
    }
    body.side-nav-open .side-nav { transform: translateX(0); }
    .side-nav-backdrop {
      position: fixed;
      inset: 0;
      z-index: 1000;
      background: rgba(0, 27, 54, .30);
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s ease;
    }
    body.side-nav-open .side-nav-backdrop { opacity: 1; pointer-events: auto; }
    .side-brand { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
    .side-brand .logo-icon { width: 54px; height: 54px; border-radius: 17px; }
    .side-brand small {
      display: block;
      margin-top: 3px;
      color: var(--muted);
      font-size: .72rem;
      font-weight: 800;
      letter-spacing: .02em;
    }
    .side-nav-links {
      display: grid;
      gap: 8px;
    }
    .side-link {
      display: flex;
      align-items: center;
      gap: 11px;
      padding: 12px 13px;
      border-radius: 16px;
      color: var(--dvfu-blue);
      font-size: .9rem;
      font-weight: 850;
      transition: .2s ease;
    }
    .side-link i { width: 18px; color: var(--dvfu-accent); }
    .side-link:hover,
    .side-link.active {
      background: var(--dvfu-light-blue);
      color: var(--dvfu-blue);
      transform: translateX(3px);
    }
    .side-link.active { box-shadow: inset 4px 0 0 var(--dvfu-gold); }
    .side-nav-footer {
      margin-top: auto;
      display: grid;
      gap: 12px;
      min-width: 0;
    }
    .side-nav-footer .btn-lk {
      width: 100%;
      min-width: 0;
      padding: 10px 12px;
      font-size: .8rem;
      white-space: normal;
      text-align: center;
      line-height: 1.2;
    }
    .side-socials { display: flex; gap: 8px; }
    .side-socials a,
    .social-icon {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      display: inline-grid;
      place-items: center;
      background: var(--dvfu-light-blue);
      color: var(--dvfu-blue);
      font-size: 1.15rem;
    }
    .side-note {
      color: var(--muted);
      font-size: .78rem;
      font-weight: 700;
    }

    .btn-primary,
    .btn-outline,
    .btn-lk,
    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border-radius: 999px;
      font-weight: 900;
      text-decoration: none;
      transition: .2s ease;
      cursor: pointer;
      font-size: .92rem;
      border: 0;
    }
    .btn-primary,
    .button.primary {
      background: var(--dvfu-gold);
      color: var(--dvfu-blue);
      padding: 12px 28px;
      box-shadow: 0 12px 28px rgba(255, 198, 39, .28);
    }
    .btn-primary:hover,
    .button.primary:hover { background: var(--dvfu-gold-dark); color: #fff; transform: translateY(-2px); }
    .btn-outline,
    .button {
      border: 2px solid var(--dvfu-gold);
      color: var(--dvfu-blue);
      background: #fff;
      padding: 10px 24px;
    }
    .btn-outline:hover,
    .button:hover { background: var(--dvfu-gold); color: var(--dvfu-blue); }
    .btn-lk {
      background: var(--dvfu-blue);
      color: #fff;
      padding: 11px 22px;
      box-shadow: 0 12px 28px rgba(0, 51, 102, .16);
      white-space: nowrap;
    }
    .btn-lk:hover { background: var(--dvfu-bright-blue); transform: translateY(-2px); }

    .preview {
      margin: 18px auto 0;
      max-width: 1200px;
      border: 1px solid #ffd778;
      background: #fff7de;
      color: #7b5a00;
      border-radius: 16px;
      padding: 12px 16px;
      font-weight: 800;
    }
    section { padding: 80px 0; }
    .hero { background: linear-gradient(105deg, #ffffff 0%, #f5f9ff 100%); padding: 80px 0 100px; }
    .hero .container { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
    .hero-content { flex: 1 1 400px; }
    .hero-badge {
      background: var(--dvfu-blue);
      color: #fff;
      font-weight: 800;
      padding: 8px 20px;
      border-radius: 999px;
      display: inline-block;
      margin-bottom: 20px;
      font-size: .95rem;
    }
    .hero-content h2,
    .page-title {
      font-size: clamp(2.35rem, 5vw, 3.55rem);
      font-weight: 900;
      color: var(--dvfu-blue);
      margin-bottom: 20px;
      line-height: 1.08;
      letter-spacing: -.035em;
    }
    .hero-desc,
    .page-lead,
    .lead {
      font-size: clamp(1.06rem, 2vw, 1.22rem);
      margin-bottom: 30px;
      color: #2c3e50;
      white-space: pre-line;
    }
    .hero-buttons,
    .hero-actions,
    .page-actions { display: flex; gap: 16px; flex-wrap: wrap; }
    .hero-slider,
    .hero-visual {
      flex: 1 1 500px;
      border-radius: 40px;
      overflow: hidden;
      box-shadow: 20px 20px 40px rgba(0, 51, 102, .10);
      border: 2px solid var(--dvfu-gold);
      min-height: 380px;
      position: relative;
      background: linear-gradient(-45deg, #d4e6ff, #c5ddff, #b8d4f5, #c5ddff);
      background-size: 400% 400%;
      animation: gradient-shift-soft 15s ease infinite;
    }
    @keyframes gradient-shift-soft {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
    .hero-slide {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      text-align: center;
      opacity: 0;
      transform: translateY(10px);
      transition: .35s ease;
      padding: 34px;
      background-size: cover;
      background-position: center;
    }
    .hero-slide.active { opacity: 1; transform: none; }
    .slide-content i,
    .hero-slide > i {
      font-size: clamp(4.5rem, 10vw, 9rem);
      color: #fff;
      text-shadow: 0 10px 20px rgba(0, 51, 102, .15);
      margin-bottom: 20px;
    }
    .slide-content h3,
    .hero-slide h3 { color: var(--dvfu-blue); margin-bottom: 10px; font-size: 1.5rem; }
    .slide-content p,
    .hero-slide p { color: #334b68; font-weight: 650; }
    .slider-dots,
    .hero-dots {
      position: absolute;
      left: 50%;
      bottom: 18px;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
    }
    .slider-dots button,
    .hero-dots button {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      border: 0;
      background: var(--dvfu-blue);
      opacity: .5;
      cursor: pointer;
    }
    .slider-dots button.active,
    .hero-dots button.active { opacity: 1; background: var(--dvfu-gold); transform: scale(1.2); }

    .public-page { padding-bottom: 70px; }
    .page-hero {
      padding: 74px 0 46px;
      background:
        radial-gradient(circle at 85% 20%, rgba(255, 198, 39, .18), transparent 26%),
        linear-gradient(135deg, #ffffff 0%, #eef7ff 100%);
      border-bottom: 1px solid rgba(0, 51, 102, .06);
    }
    .page-hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
      align-items: center;
      gap: 42px;
    }
    .page-kicker,
    .eyebrow {
      display: inline-flex;
      color: var(--dvfu-blue);
      font-weight: 900;
      letter-spacing: .08em;
      text-transform: uppercase;
      font-size: .78rem;
      margin-bottom: 18px;
    }
    .page-card {
      background: rgba(255, 255, 255, .82);
      border: 1px solid rgba(0, 51, 102, .10);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow);
      padding: clamp(24px, 4vw, 42px);
    }
    .page-orbit {
      min-height: 360px;
      display: grid;
      place-items: center;
      text-align: center;
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(circle at 30% 26%, rgba(255, 198, 39, .30), transparent 24%),
        linear-gradient(135deg, #d4e6ff, #b8d4f5);
      border: 2px solid var(--dvfu-gold);
      border-radius: 42px;
      box-shadow: 18px 18px 44px rgba(0, 51, 102, .10);
      padding: 34px;
    }
    .page-orbit::before {
      content: "";
      position: absolute;
      width: 240px;
      height: 240px;
      border-radius: 50%;
      border: 34px solid rgba(255,255,255,.45);
      transform: rotate(-18deg);
    }
    .page-orbit-content { position: relative; z-index: 1; }
    .page-orbit i {
      color: #fff;
      font-size: clamp(4.2rem, 9vw, 7rem);
      text-shadow: 0 15px 28px rgba(0, 51, 102, .16);
      margin-bottom: 20px;
    }
    .page-orbit h3 { color: var(--dvfu-blue); font-size: 1.55rem; margin-bottom: 8px; }
    .page-orbit p { color: #2f4b67; font-weight: 700; }

    .section,
    .content-section { padding: 58px 0; }
    .section .container,
    .content-section .container { max-width: 1120px; }
    .section h2,
    .content-section h2,
    .section-title {
      font-size: clamp(1.85rem, 3.5vw, 2.65rem);
      font-weight: 900;
      color: var(--dvfu-blue);
      margin-bottom: 28px;
      position: relative;
      display: inline-block;
      line-height: 1.12;
      letter-spacing: -.025em;
    }
    .section h2::after,
    .content-section h2::after,
    .section-title::after {
      content: "";
      position: absolute;
      bottom: -10px;
      left: 0;
      width: 80px;
      height: 4px;
      background: var(--dvfu-gold);
      border-radius: 2px;
    }
    .section p,
    .content-section p { color: var(--muted); font-size: 1.04rem; }
    .section-subtitle { font-size: 1.15rem; color: var(--muted); margin: 26px 0 42px; max-width: 760px; white-space: pre-line; }
    .grid,
    .cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
    .tile,
    .feature-card,
    .team-card,
    .contact-card,
    .faq-card,
    .rating-table-wrapper,
    .impact-item,
    .info-card {
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: 0 10px 30px rgba(0, 51, 102, .05);
    }
    .tile,
    .info-card {
      border-radius: var(--radius-lg);
      padding: 26px;
    }
    .tile h3,
    .info-card h3 { color: var(--dvfu-blue); margin-bottom: 10px; font-size: 1.2rem; }
    .feature-card {
      padding: 30px 25px;
      border-radius: 20px;
      transition: all .3s ease;
      position: relative;
      overflow: hidden;
      background-size: cover;
      background-position: center;
    }
    .feature-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 30px 40px rgba(0, 51, 102, .15); }
    .feature-icon { font-size: 2.5rem; color: var(--dvfu-gold); margin-bottom: 20px; transition: transform .2s ease; }
    .feature-card:hover .feature-icon { transform: scale(1.15) rotate(5deg); }
    .feature-card h3 { color: var(--dvfu-blue); margin-bottom: 10px; font-size: 1.25rem; }
    .feature-card p { color: var(--muted); }

    .list,
    .step-list {
      list-style: none;
      counter-reset: steps;
      display: grid;
      gap: 14px;
      margin-top: 12px;
    }
    .list li,
    .step-list li {
      counter-increment: steps;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 20px;
      padding: 18px 20px 18px 72px;
      position: relative;
      color: var(--ink);
      font-weight: 650;
      box-shadow: 0 10px 26px rgba(0, 51, 102, .04);
    }
    .list li::before,
    .step-list li::before {
      content: counter(steps);
      position: absolute;
      left: 18px;
      top: 15px;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: var(--dvfu-gold);
      color: var(--dvfu-blue);
      display: grid;
      place-items: center;
      font-weight: 900;
    }

    .impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
    .impact-item { padding: 35px 25px; border-radius: 20px; transition: all .3s ease; }
    .impact-item:hover { transform: scale(1.05); }
    .stat-number { font-size: 3rem; font-weight: 900; color: var(--dvfu-gold); display: inline-block; }
    .rating-section,
    .team-section { background: linear-gradient(135deg, #f8fbff 0%, #eaf3ff 100%); padding: 60px 0; }
    .rating-toolbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      margin: 24px 0 18px;
    }
    .rating-tabs,
    .view-toggle,
    .filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
    .rating-tab,
    .view-btn,
    .filter-btn {
      padding: 10px 20px;
      border: 2px solid var(--dvfu-blue);
      background: #fff;
      border-radius: 999px;
      cursor: pointer;
      font-weight: 800;
      color: var(--dvfu-blue);
      transition: all .2s ease;
    }
    .rating-tab.active,
    .view-btn.active,
    .filter-btn.active { background: var(--dvfu-blue); color: #fff; }
    .rating-month-form select {
      border: 2px solid var(--dvfu-gold);
      color: var(--dvfu-blue);
      background: #fff;
      border-radius: 18px;
      padding: 10px 16px;
      font-weight: 800;
    }
    .rating-panel { display: none; }
    .rating-panel.active { display: block; }
    .rating-table-wrapper { border-radius: 25px; padding: 30px; overflow-x: auto; border-color: rgba(255, 198, 39, .2); }
    .rating-table { width: 100%; border-collapse: collapse; text-align: left; }
    .rating-table th { padding: 15px; color: var(--dvfu-blue); font-weight: 900; border-bottom: 2px solid var(--dvfu-gold); }
    .rating-table td { padding: 15px; border-bottom: 1px solid #e9f0f5; color: #333; }
    .rating-table tr:hover td { background: var(--dvfu-light-blue); }
    .rating-avatar {
      width: 35px;
      height: 35px;
      background: var(--dvfu-gold);
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--dvfu-blue);
      font-weight: 900;
      margin-right: 10px;
    }
    .rating-empty {
      background: #fff;
      border: 1px dashed rgba(0, 51, 102, .18);
      border-radius: 25px;
      padding: 38px;
      text-align: center;
      color: var(--muted);
    }
    .rating-empty i { color: var(--dvfu-gold); font-size: 2.3rem; margin-bottom: 12px; }
    .rating-empty h3 { color: var(--dvfu-blue); margin-bottom: 8px; }
    .rating-gold { color: #ffd700; }
    .rating-silver { color: #c0c0c0; }
    .rating-bronze { color: #cd7f32; }
    .rating-top1 { background: #ffd700; }
    .rating-top2 { background: #c0c0c0; }
    .rating-top3 { background: #cd7f32; }

    .events-section {
      background: linear-gradient(135deg, #d4e6ff 0%, #b8d4f5 100%);
      border: 2px solid rgba(0, 51, 102, .15);
      border-radius: 40px;
      margin: 20px;
      padding: 40px 20px;
    }
    .events-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; }
    .filter-tabs { margin-bottom: 20px; }
    .filter-btn { padding: 8px 20px; border-width: 1px; font-weight: 700; }
    .calendar-view,
    .list-view { display: none; }
    .calendar-view.active,
    .list-view.active { display: block; }
    .calendar-wrapper { background: #fff; border-radius: 25px; padding: 30px; }
    .calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
    .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
    .calendar-day-name { text-align: center; font-weight: 800; color: var(--dvfu-blue); padding: 10px; }
    .calendar-day {
      background: #fff;
      border: 1px solid #e9f0f5;
      border-radius: 10px;
      padding: 15px 10px;
      text-align: center;
      cursor: pointer;
      transition: all .2s ease;
      min-height: 80px;
    }
    .calendar-day:hover { background: var(--dvfu-light-blue); }
    .calendar-day.has-event { border-color: var(--dvfu-gold); border-width: 2px; }
    .calendar-day .event-indicator { font-size: .7rem; color: var(--dvfu-accent); margin-top: 5px; font-weight: 900; }
    .events-scroll-container { max-height: 500px; overflow-y: auto; padding-right: 10px; }
    .events-list { display: flex; flex-direction: column; gap: 20px; }
    .event-item {
      background: #fff;
      border-radius: 20px;
      overflow: hidden;
      transition: all .3s ease;
      border: 1px solid rgba(255, 198, 39, .2);
      box-shadow: 0 5px 15px rgba(0, 51, 102, .03);
      cursor: pointer;
    }
    .event-item:hover,
    .event-item.active { background: var(--dvfu-blue); border-color: var(--dvfu-gold); transform: translateX(5px); }
    .event-header { padding: 20px 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
    .event-date {
      background: var(--dvfu-gold);
      color: var(--dvfu-blue);
      padding: 10px 20px;
      border-radius: 999px;
      font-weight: 900;
      min-width: 110px;
      text-align: center;
      text-transform: uppercase;
    }
    .event-info { flex: 1; }
    .event-info h4 { font-size: 1.2rem; color: var(--dvfu-blue); margin-bottom: 5px; }
    .event-info p { color: #666; font-size: .9rem; }
    .event-item:hover .event-info h4,
    .event-item:hover .event-info p,
    .event-item.active .event-info h4,
    .event-item.active .event-info p { color: #fff; }
    .event-expand { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
    .event-item.active .event-expand { max-height: 400px; }
    .event-expand-content {
      padding: 25px 30px;
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      background: #f8fbff;
      align-items: center;
      justify-content: space-between;
    }
    .stats-container {
      background: #fff;
      border-radius: 30px;
      padding: 30px;
      margin-bottom: 30px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      box-shadow: 0 10px 30px rgba(0,51,102,.08);
      border: 1px solid rgba(255,198,39,.2);
    }
    .stat-item { text-align: center; }
    .team-grid-inline { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-bottom: 40px; }
    .team-card { border-radius: 25px; padding: 30px 25px; text-align: center; border-color: rgba(255,198,39,.3); transition: transform .3s ease; }
    .team-card:hover { transform: translateY(-10px); }
    .avatar {
      width: 130px;
      height: 130px;
      border-radius: 50%;
      margin: 0 auto 20px;
      overflow: hidden;
      border: 3px solid var(--dvfu-gold);
      background: var(--dvfu-light-blue);
      display: grid;
      place-items: center;
      color: var(--dvfu-blue);
      font-size: 2rem;
      font-weight: 900;
    }
    .avatar img,
    .contact-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .team-card h3 { color: var(--dvfu-blue); margin-bottom: 5px; font-size: 1.3rem; }
    .team-card .role { color: var(--dvfu-accent); font-weight: 800; margin-bottom: 12px; font-size: .9rem; }
    .join-card {
      background: linear-gradient(135deg, var(--dvfu-blue) 0%, var(--dvfu-bright-blue) 100%);
      border-radius: 30px;
      padding: 50px 40px;
      text-align: center;
      border: 2px solid var(--dvfu-gold);
      margin-top: 20px;
    }
    .join-card h2 { color: #fff; font-size: 2rem; margin-bottom: 15px; }
    .join-card p { color: rgba(255,255,255,.9); font-size: 1.1rem; margin-bottom: 25px; }
    .map-container {
      width: 100%;
      height: 250px;
      border-radius: 20px;
      overflow: hidden;
      margin-top: 20px;
      border: 2px solid var(--dvfu-gold);
      background: linear-gradient(135deg, #d4e6ff, #b8d4f5);
      display: grid;
      place-items: center;
      color: var(--dvfu-blue);
      font-weight: 900;
      text-align: center;
      padding: 20px;
    }
    .contacts-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
    .contact-card,
    .faq-card { padding: 35px; border-radius: 25px; border-color: rgba(255, 198, 39, .15); }
    .contact-person { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid #e9f0f5; }
    .contact-avatar {
      width: 70px;
      height: 70px;
      background: var(--dvfu-gold);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--dvfu-blue);
      font-size: 1.5rem;
      font-weight: 900;
      overflow: hidden;
      flex: 0 0 auto;
    }
    .contact-info h4,
    .address-block h4 { color: var(--dvfu-blue); margin-bottom: 8px; font-size: 1.15rem; }
    .contact-info p,
    .address-block p { color: #555; margin-bottom: 6px; }
    .contact-info i,
    .address-block i { color: var(--dvfu-gold); width: 20px; margin-right: 8px; }
    .faq-item { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid #e9f0f5; }
    .faq-question,
    .faq-q {
      color: var(--dvfu-blue);
      font-weight: 900;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      gap: 16px;
      border: 0;
      background: transparent;
      width: 100%;
      text-align: left;
      font-size: 1rem;
    }
    .faq-answer,
    .faq-a { color: var(--muted); max-height: 0; overflow: hidden; transition: max-height .25s ease, margin-top .25s ease; }
    .faq-item.active .faq-answer,
    .faq-item.active .faq-a { max-height: 260px; margin-top: 10px; }

    footer { background: var(--dvfu-blue); color: #fff; padding: 50px 0 24px; }
    .footer-content { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; margin-bottom: 28px; }
    footer h3,
    footer h4 { color: var(--dvfu-gold); margin-bottom: 14px; }
    footer p,
    footer a { color: rgba(255, 255, 255, .88); }
    .useful-links { display: grid; gap: 9px; }
    .footer-copy { border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; text-align: center; color: rgba(255,255,255,.7); font-size: .9rem; }

    @media (min-width: 1100px) {
      body { padding-left: var(--nav-width); }
      .side-nav { transform: none; }
      .side-nav-backdrop,
      .nav-toggle { display: none; }
      .topbar { margin-left: calc(var(--nav-width) * -1); padding-left: var(--nav-width); }
      .topbar .logo-area { visibility: hidden; }
      .topbar-inner { justify-content: flex-end; }
    }
    @media (max-width: 900px) {
      .hero .container,
      .page-hero-grid,
      .contacts-faq-grid,
      .footer-content { grid-template-columns: 1fr; }
      .hero .container { display: grid; }
      .impact-grid,
      .stats-container { grid-template-columns: 1fr; }
      section { padding: 56px 0; }
      .page-orbit { min-height: 280px; }
    }
    @media (max-width: 620px) {
      .container { padding: 0 16px; }
      .topbar-inner { min-height: 64px; }
      .logo-text h1 { max-width: 48vw; }
      .btn-lk { padding: 10px 14px; font-size: .82rem; }
      .hero-slider,
      .hero-visual { min-height: 280px; border-radius: 28px; }
      .events-section { margin: 10px; border-radius: 28px; }
      .page-title { font-size: 2.25rem; }
      .side-nav { left: 10px; right: 10px; top: 10px; bottom: 10px; width: auto; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: .001ms;
        animation-iteration-count: 1;
        scroll-behavior: auto;
        transition-duration: .001ms;
      }
    }

/* Public utility classes replacing static inline styles in templates. */
.public-title-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.public-title-flush {
  margin-bottom: 0;
}

.public-title-center {
  display: block;
  text-align: center;
}

.public-card-heading {
  color: var(--dvfu-blue);
  margin-bottom: 25px;
}

.public-card-heading i {
  color: var(--dvfu-gold);
}

.public-accent-text {
  color: var(--dvfu-accent);
}

.public-stack-top {
  margin-top: 25px;
}

.public-social-row {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}

.public-note-spaced {
  margin-top: 8px;
}

.public-footer-location {
  margin-top: 14px;
}

.public-footer-location i {
  color: var(--dvfu-gold);
}

.public-description-spaced {
  margin-top: 10px;
}

/* Public visual alignment overrides from shared UI foundation. */
.hero,
.page-hero,
.rating-section,
.team-section,
.events-section {
  background: transparent;
}

.hero-slider,
.hero-visual,
.page-orbit {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(215, 237, 255, .74)),
    radial-gradient(circle at 25% 25%, rgba(255, 194, 26, .28), transparent 16rem);
  border-color: rgba(255, 194, 26, .72);
  box-shadow: var(--cpv-shadow);
}

.hero-badge,
.page-kicker,
.eyebrow {
  color: var(--cpv-blue);
  font-weight: 750;
}

.hero-badge {
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--cpv-line);
  box-shadow: var(--cpv-soft-shadow);
}

.hero-content h2,
.page-title,
.section-title,
.section h2,
.content-section h2,
.join-card h2,
.auth-copy h2,
.auth-card h2 {
  color: var(--cpv-blue);
  font-weight: 850;
  letter-spacing: -.055em;
}

.section-title::after,
.section h2::after,
.content-section h2::after {
  background: var(--cpv-gold);
}

.feature-icon,
.contact-info i,
.address-block i,
.faq-card h3 i,
.contact-card h3 i,
.rating-empty i {
  color: var(--cpv-gold);
}

.stat-number {
  color: var(--cpv-gold);
  font-weight: 850;
}

.rating-tab,
.view-btn,
.filter-btn {
  border-color: var(--cpv-blue);
  color: var(--cpv-blue);
  font-weight: 700;
}

.rating-tab.active,
.view-btn.active,
.filter-btn.active {
  background: var(--cpv-blue);
  color: #fff;
}

.rating-table th,
.event-info h4,
.contact-info h4,
.address-block h4,
.faq-question,
.faq-q,
.tile h3,
.info-card h3,
.feature-card h3,
.team-card h3 {
  color: var(--cpv-blue);
  font-weight: 800;
}

.join-card {
  background: linear-gradient(135deg, var(--cpv-blue), var(--cpv-blue-2));
  box-shadow: var(--cpv-shadow);
}

.join-card h2,
.join-card p { color: #fff; }

footer {
  background: var(--cpv-blue);
}

@media (min-width: 1100px) {
  body.public-site { padding-left: var(--cpv-sidebar-width); }
  body.public-site .topbar { display: none; }
}

/* Public shell unification: keep navigation and page background aligned with the LK shell. */
body.public-site {
  padding-left: 0;
  color: var(--cpv-text);
  font-family: var(--cpv-font-body);
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 194, 26, .22), transparent 24rem),
    radial-gradient(circle at 90% 8%, rgba(67, 183, 239, .22), transparent 28rem),
    linear-gradient(135deg, #ffffff 0%, #eef8ff 48%, #ffffff 100%);
}

body.public-site .side-nav {
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 30px;
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--cpv-shadow);
  backdrop-filter: blur(18px);
}

body.public-site .side-brand {
  gap: 12px;
  padding: 8px;
  border: 0;
  border-radius: 22px;
}

body.public-site .side-brand .logo-icon,
body.public-site .logo-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 18px;
  border-color: var(--cpv-gold);
  background: var(--cpv-blue);
  box-shadow: 0 12px 28px rgba(23, 74, 156, .16);
}

body.public-site .logo-text h1 {
  color: var(--cpv-blue);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
}

body.public-site .side-nav-links {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
  padding-right: 2px;
}

body.public-site .side-link {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid transparent;
  border-radius: 17px;
  background: transparent;
  color: var(--cpv-blue);
  font-family: var(--cpv-font-heading);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.2;
  transform: none;
  box-shadow: none;
}

body.public-site .side-link i {
  width: 22px;
  flex: 0 0 22px;
  color: var(--cpv-blue-2);
  text-align: center;
}

body.public-site .side-link:hover,
body.public-site .side-link.active {
  border-color: rgba(255, 194, 26, .68);
  background: linear-gradient(135deg, rgba(215, 237, 255, .9), rgba(255, 255, 255, .82));
  color: var(--cpv-blue);
  transform: translateX(2px);
  box-shadow: none;
}

body.public-site .side-link.active {
  box-shadow: none;
}

body.public-site .side-link-accent {
  margin-top: 4px;
  border-color: transparent;
  background: var(--cpv-blue);
  color: #fff;
  box-shadow: 0 16px 36px rgba(23, 74, 156, .16);
}

body.public-site .side-link-accent i {
  color: #fff;
}

body.public-site .side-link-accent:hover,
body.public-site .side-link-accent.active {
  border-color: transparent;
  background: var(--cpv-blue-2);
  color: #fff;
  box-shadow: 0 16px 36px rgba(23, 74, 156, .16);
}

body.public-site .side-nav-footer {
  margin-top: auto;
  display: grid;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--cpv-line);
}

body.public-site .side-socials a {
  border: 1px solid rgba(23, 74, 156, .12);
  background: rgba(234, 246, 255, .72);
  color: var(--cpv-blue);
}

body.public-site .side-note {
  color: var(--cpv-muted);
  font-size: .78rem;
  font-weight: 700;
}

body.public-site .topbar {
  background: rgba(255, 255, 255, .72);
  border-bottom: 1px solid rgba(23, 74, 156, .09);
  backdrop-filter: blur(18px);
}

body.public-site .nav-toggle {
  border-color: var(--cpv-line);
  background: #fff;
  color: var(--cpv-blue);
  box-shadow: 0 12px 30px rgba(23, 74, 156, .08);
}

body.public-site .btn-lk {
  background: var(--cpv-blue);
  color: #fff;
  box-shadow: 0 16px 36px rgba(23, 74, 156, .16);
}

@media (min-width: 1100px) {
  body.public-site {
    padding-left: var(--cpv-sidebar-width);
  }

  body.public-site .side-nav {
    left: 18px;
    top: 18px;
    bottom: 18px;
    width: calc(var(--cpv-sidebar-width) - 36px);
    transform: none;
  }
}

@media (max-width: 1099px) {
  body.public-site .side-nav {
    left: 18px;
    right: auto;
    top: 18px;
    bottom: 18px;
    width: min(312px, calc(100vw - 34px));
    max-width: none;
    transform: translateX(-106%);
  }

  body.public-site.side-nav-open .side-nav {
    transform: translateX(0);
  }
}
