*,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    :root {
      --blue-dark: #1a2d4a;
      --blue-mid: #2c4a6e;
      --blue-light: #e8f2f8;
      --blue-accent: #3b6ea8;
      --cream: #f5f0e8;
      --bg-light: #f5f6f8;
      --bg-white: #ffffff;
      --text-dark: #1a2d4a;
      --text-muted: #5a6a7e;
      --text-light: #ffffff;
      --border: #e2e6ec;
      --container: 1100px;
    }

    body {
      margin: 0;
      font-family: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
      color: var(--text-dark);
      line-height: 1.8;
      background: var(--bg-white);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .container {
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* ── Header ── */
    .site-header {
      background: var(--bg-white);
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 0;
      gap: 1rem;
    }

    .header-right {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .logo-mark {
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.75rem;
      font-weight: 700;
      color: var(--blue-dark);
      line-height: 1;
    }

    .logo-text strong {
      display: block;
      font-size: 0.88rem;
      font-weight: 700;
      color: var(--blue-dark);
    }

    .logo-text span {
      display: block;
      font-size: 0.68rem;
      color: var(--text-muted);
      margin-top: 0.15rem;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 0.15rem;
      flex-wrap: wrap;
    }

    .nav a {
      padding: 0.45rem 0.7rem;
      font-size: 0.8rem;
      font-weight: 500;
      color: var(--text-dark);
      position: relative;
      transition: color 0.2s;
    }

    .nav a:hover {
      color: var(--blue-accent);
    }

    .nav a.active {
      color: var(--blue-dark);
      font-weight: 600;
    }

    .nav a.active::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0.7rem;
      right: 0.7rem;
      height: 2px;
      background: var(--blue-dark);
    }

    .search-btn {
      background: none;
      border: none;
      color: var(--text-dark);
      cursor: pointer;
      padding: 0.4rem;
      display: flex;
      align-items: center;
    }

    .search-btn:hover {
      color: var(--blue-accent);
    }

    .search-btn svg {
      width: 20px;
      height: 20px;
    }

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      color: var(--text-dark);
      cursor: pointer;
      padding: 0.4rem;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .menu-toggle svg {
      width: 24px;
      height: 24px;
    }

    .menu-toggle:hover {
      color: var(--blue-accent);
    }

    /* ── Hero ── */
    .page-hero {
      position: relative;
      min-height: 360px;
      display: flex;
      align-items: center;
      overflow: hidden;
    }

    .page-hero-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: 22% center;
      background: #f0ece6;
      z-index: 0;
    }

    .page-hero-overlay {
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      background: linear-gradient(
        to left,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.5) 30%,
        rgba(255, 255, 255, 0.1) 52%,
        transparent 70%
      );
    }

    .page-hero .container {
      position: relative;
      z-index: 2;
      width: 100%;
      display: flex;
      justify-content: flex-start;
    }

    .page-hero-content {
      max-width: 420px;
      text-align: center;
    }

    .page-hero h1 {
      font-size: 2.1rem;
      font-weight: 700;
      color: var(--blue-dark);
      margin: 0 0 0.75rem;
      text-align: center;
    }

    .page-hero-line {
      width: 48px;
      height: 3px;
      background: var(--blue-accent);
      margin: 0 auto 1rem;
    }

    .page-hero p {
      font-size: 0.95rem;
      color: var(--text-muted);
      margin: 0;
      line-height: 1.9;
      text-align: center;
    }

    /* ── Topics ── */
    .topics {
      padding: 3rem 0;
      background: var(--bg-white);
    }

    .section-heading {
      text-align: center;
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--blue-dark);
      margin: 0 0 2rem;
      position: relative;
      padding-bottom: 0.75rem;
    }

    .section-heading::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 40px;
      height: 3px;
      background: var(--blue-accent);
    }

    .topics-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 0;
    }

    .topic-item {
      text-align: center;
      padding: 1rem 0.75rem;
      border-inline-start: 1px solid var(--border);
    }

    .topic-item:first-child {
      border-inline-start: none;
    }

    .topic-icon {
      width: 40px;
      height: 40px;
      color: var(--blue-dark);
      margin: 0 auto 0.75rem;
      stroke-width: 1.5;
    }

    .topic-item h3 {
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--blue-dark);
      margin: 0 0 0.35rem;
    }

    .topic-item p {
      font-size: 0.75rem;
      color: var(--text-muted);
      margin: 0;
      line-height: 1.6;
    }

    /* ── Stats bar ── */
    .stats-bar {
      background: var(--blue-light);
      padding: 2rem 0;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
    }

    .stat-item {
      text-align: center;
      padding: 0.5rem;
    }

    .stat-item strong {
      display: block;
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--blue-dark);
      margin-bottom: 0.35rem;
    }

    .stat-item span {
      font-size: 0.82rem;
      color: var(--text-muted);
    }

    .stat-line {
      width: 32px;
      height: 2px;
      background: var(--blue-accent);
      margin: 0.75rem auto 0;
      opacity: 0.5;
    }

    /* ── Speeches list ── */
    .speeches {
      padding: 3rem 0 4rem;
      background: var(--bg-white);
    }

    .speeches-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 1.5rem;
      gap: 1rem;
    }

    .speeches-header h2 {
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--blue-dark);
      margin: 0;
    }

    .view-all {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--blue-dark);
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      transition: color 0.2s;
    }

    .view-all:hover {
      color: var(--blue-accent);
    }

    .view-all .arrow {
      color: var(--blue-accent);
    }

    .speech-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .speech-item {
      display: grid;
      grid-template-columns: 1fr auto auto;
      gap: 1.25rem;
      align-items: center;
      padding: 1rem;
      border: 1px solid var(--border);
      border-radius: 6px;
      background: var(--bg-white);
      transition: box-shadow 0.2s;
    }

    .speech-item:hover {
      box-shadow: 0 4px 16px rgba(26, 45, 74, 0.08);
    }

    .speech-thumb {
      width: 140px;
      height: 90px;
      border-radius: 4px;
      overflow: hidden;
      flex-shrink: 0;
    }

    .speech-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .speech-body h3 {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--blue-dark);
      margin: 0 0 0.5rem;
      line-height: 1.5;
    }

    .speech-meta {
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    .speech-meta span:not(:last-child)::after {
      content: "|";
      margin: 0 0.5rem;
      opacity: 0.5;
    }

    .speech-arrow {
      color: var(--blue-accent);
      font-size: 1.1rem;
      padding: 0.5rem;
    }

    /* ── Quote ── */
    .quote-box {
      background: var(--cream);
      padding: 2.5rem 0;
      margin: 0 1.5rem 0;
      border-radius: 8px;
      max-width: calc(var(--container) - 3rem);
      margin-left: auto;
      margin-right: auto;
    }

    .quote-inner {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
      max-width: 720px;
      margin: 0 auto;
      padding: 0 1.5rem;
      text-align: center;
    }

    .quote-mark {
      font-size: 3rem;
      line-height: 1;
      color: var(--blue-accent);
      opacity: 0.4;
      font-family: Georgia, serif;
      flex-shrink: 0;
    }

    .quote-inner p {
      font-size: 1.05rem;
      color: var(--blue-dark);
      margin: 0;
      font-weight: 500;
      line-height: 1.9;
    }

    /* ── Newsletter ── */
    .newsletter {
      background: var(--blue-light);
      padding: 2rem 0;
      margin-top: 3rem;
    }

    .newsletter-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

    .newsletter-text {
      font-size: 0.9rem;
      color: var(--text-dark);
      margin: 0;
      flex: 1;
      min-width: 200px;
    }

    .newsletter-form {
      display: flex;
      gap: 0;
      flex: 1;
      max-width: 400px;
    }

    .newsletter-form input {
      flex: 1;
      padding: 0.65rem 1rem;
      border: 1px solid var(--border);
      border-radius: 4px 0 0 4px;
      font-family: inherit;
      font-size: 0.85rem;
      background: var(--bg-white);
    }

    .newsletter-form input:focus {
      outline: none;
      border-color: var(--blue-accent);
    }

    .btn-primary {
      padding: 0.65rem 1.5rem;
      background: var(--blue-dark);
      color: var(--text-light);
      font-family: inherit;
      font-size: 0.88rem;
      font-weight: 600;
      border: none;
      border-radius: 0 4px 4px 0;
      cursor: pointer;
      transition: background 0.2s;
    }

    .btn-primary:hover {
      background: var(--blue-mid);
    }

    .newsletter-icon {
      width: 40px;
      height: 40px;
      color: var(--blue-accent);
      flex-shrink: 0;
    }

    /* ── Footer ── */
    .site-footer {
      background: var(--blue-dark);
      color: rgba(255, 255, 255, 0.85);
      padding: 2rem 0 0;
    }

    .footer-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
      padding-bottom: 1.5rem;
      flex-wrap: wrap;
    }

    .footer-logo .logo-mark {
      color: var(--text-light);
    }

    .footer-logo .logo-text strong {
      color: var(--text-light);
    }

    .footer-logo .logo-text span {
      color: rgba(255, 255, 255, 0.6);
    }

    .footer-nav {
      display: flex;
      gap: 0.25rem;
      flex-wrap: wrap;
    }

    .footer-nav a {
      padding: 0.35rem 0.6rem;
      font-size: 0.78rem;
      color: rgba(255, 255, 255, 0.8);
      transition: color 0.2s;
    }

    .footer-nav a:hover {
      color: var(--text-light);
    }

    .social-links {
      display: flex;
      gap: 0.75rem;
    }

    .social-links a {
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255, 255, 255, 0.85);
      transition: color 0.2s;
    }

    .social-links a:hover {
      color: var(--text-light);
    }

    .social-links svg {
      width: 18px;
      height: 18px;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding: 1rem 0;
      text-align: center;
      font-size: 0.75rem;
      color: rgba(255, 255, 255, 0.5);
    }

    /* ── Responsive ── */
    @media (max-width: 960px) {
      .header-inner {
        padding: 0.75rem 0;
        flex-wrap: wrap;
        gap: 0.5rem;
      }

      .header-right {
        flex: 1;
        gap: 0.75rem;
        flex-wrap: wrap;
        min-width: 0;
      }

      .header-right .nav {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        background: var(--bg-white);
        border-top: 1px solid var(--border);
        padding: 0.5rem 0 0.75rem;
        gap: 0;
        margin-top: 0.25rem;
        box-shadow: 0 8px 20px rgba(26, 45, 74, 0.08);
      }

      .header-right .nav.is-open {
        display: flex;
      }

      .header-right .nav a {
        padding: 0.65rem 0.5rem;
        border-bottom: 1px solid var(--border);
      }

      .header-right .nav a:last-child {
        border-bottom: none;
      }

      .header-right .nav a.active::after {
        display: none;
      }

      .menu-toggle {
        display: flex;
      }

      .site-header .search-btn,
      .site-header .menu-toggle {
        flex-shrink: 0;
      }

      .topics-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .topic-item {
        border-inline-start: none;
        border-bottom: 1px solid var(--border);
      }

      .topic-item:last-child {
        border-bottom: none;
      }

      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .speech-item {
        grid-template-columns: 1fr;
      }

      .speech-thumb {
        width: 100%;
        height: 160px;
      }

      .speech-arrow {
        display: none;
      }

      .footer-top {
        flex-direction: column;
        text-align: center;
      }

      .newsletter-inner {
        flex-direction: column;
      }

      .newsletter-form {
        max-width: 100%;
        width: 100%;
      }
    }

    @media (max-width: 560px) {
      .container {
        padding: 0 1rem;
      }

      .header-right .logo-text span {
        display: none;
      }

      .topics-grid,
      .stats-grid {
        grid-template-columns: 1fr;
      }

      .page-hero-content {
        max-width: 100%;
      }

      .page-hero-bg {
        object-position: 30% center;
      }

      .page-hero h1 {
        font-size: 1.65rem;
      }
    }
