:root{
    --red: #C8102E;
    --red-dark: #9E0C22;
    --blue: #020065;
    --blue-dark: #004E96;
    --black: #15130F;
    --white: #FFFFFF;
    --offwhite: #F6F3EE;
    --gold: #AD8A4E;
    --line: rgba(21,19,15,0.12);
    --maxw: 1180px;
  }

  *{ box-sizing: border-box; margin:0; padding:0; }

  html{ scroll-behavior: smooth; }

  body{
    font-family: 'Work Sans', sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.55;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
  }

  h1,h2,h3,h4{
    font-family: 'Fraunces', serif;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.01em;
  }

  a{ color: inherit; text-decoration: none; }

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

  .wrap{
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 28px;
  }

  .flag-rule{
    height: 4px;
    display: flex;
    width: 100%;
  }
  .flag-rule span{ flex:1; }
  .flag-rule .r{ background: var(--red); }
  .flag-rule .w{ background: var(--white); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
  .flag-rule .b{ background: var(--black); }

  /* visually hidden skip link etc not needed for prototype */

  :focus-visible{
    outline: 3px solid var(--blue);
    outline-offset: 2px;
  }
html {
  scroll-behavior: smooth;
	scroll-padding-top: 130px;
}
  /* ================= HEADER ================= */

  header.site{
    border-bottom: 1px solid var(--line);
    background: var(--white);
    position: sticky;
    top:0;
    z-index: 50;
  }

  .header-top{
    display:flex;
    align-items:center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 24px;
  }

  .brand{
    display:flex;
    align-items:center;
    gap: 14px;
  }
.brand img{width: 70px;}
  .brand svg{ width:42px; height:42px; flex-shrink:0; }
.brand-name span{
    font-size: 13px;
}
  .brand-name{
    font-family:'Fraunces', serif;
    font-weight:600;
    font-size: 1.05rem;
    line-height:1.2;
  }
  .brand-name small{
    display:block;
    font-family:'Work Sans', sans-serif;
    font-weight:500;
    font-size: 0.72rem;
    color: var(--red);
    margin-top:2px;color: #69747b;
    font-size: 11px;
  }

  nav.main-nav{
    display:flex;
    gap: 25px;
    flex: 1;
    justify-content:center;
  }
  nav.main-nav a{
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 2px;
    position: relative;
    color: var(--black);
  }
  nav.main-nav a::after{
    content:"";
    position:absolute;
    left:0; right:0; bottom:0;
    height:2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .18s ease;
  }
  nav.main-nav a:hover::after{ transform: scaleX(1); }
  nav.main-nav .mobile-cta{ display:none; }

  .header-actions{
    display:flex;
    align-items:center;
    gap: 18px;
  }

  .lang-select{
    display:flex;
    border: 1px solid var(--line);
    border-radius: 3px;
    overflow:hidden;
    font-size: 0.8rem;
    font-weight:600;
  }
  .lang-select button{
    padding: 6px 11px;
    background: var(--white);
    border:none;
    cursor:pointer;
    font-family:inherit;
    font-weight:inherit;
    color: var(--black);
  }
  .lang-select button.active{
    background: var(--black);
    color: var(--white);
  }

  .icon-btn{
    background:none;
    border:none;
    cursor:pointer;
    width: 34px; height:34px;
    display:flex; align-items:center; justify-content:center;
    color: var(--black);
  }
  .icon-btn svg{ width:19px; height:19px; }

  .btn-join{
    background: var(--red);
    color: var(--white);
    padding: 9px 18px;
    border-radius: 3px;
    font-size: 0.86rem;
    font-weight: 600;
    white-space: nowrap;
  }
  .btn-join:hover{ background: var(--red-dark); }

  .mobile-toggle{ display:none; }

  @media (max-width: 1180px){
    nav.main-nav{
      display:none;
      position:absolute;
      top:100%;
      left:0;
      right:0;
      flex-direction:column;
      gap:0;
      justify-content:flex-start;
      background: var(--white);
      border-bottom:1px solid var(--line);
      padding: 8px 28px 20px;        height: 100vh;
    }
    nav.main-nav.open{ display:flex; }
    nav.main-nav a{
      padding: 13px 0;
      border-bottom: 1px solid var(--line);
      font-size: 0.98rem;
      font-weight: 500;
    }
    nav.main-nav a::after{ display:none; }
    nav.main-nav a:last-of-type{ border-bottom: none; }
    nav.main-nav .mobile-cta{
      display:block;
      text-align:center;
      margin-top: 14px;
      padding: 12px 0;
      background: var(--red);
      color: var(--white);
      border-radius: 3px;
      font-weight: 600;
      border-bottom: none;
    }
    nav.main-nav .mobile-cta:hover{ background: var(--red-dark); }
    .header-actions .btn-join{ display:none; }
    .mobile-toggle{
      display:flex;
      background:none; border:none; cursor:pointer;
      width:36px; height:36px; align-items:center; justify-content:center;
    }
  }

  /* ================= HERO ================= */

  .hero{
    position: relative;
    overflow:hidden;

    min-height: 620px;
    display:flex;
    align-items:flex-end;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  @media (max-width: 650px){
    .hero{ min-height: 480px; }
  }
  @media (max-width: 900px) and (max-height: 480px) and (orientation: landscape){
    .hero{ min-height: 340px; }
  }

  .hero-illustration{
    position:absolute;
    inset:0;
    width:100%; height:100%;
  }

  .hero-scrim{
    position:absolute;
    inset:0;
    background: linear-gradient(180deg, rgba(10,20,30,0.05) 0%, rgba(8,12,18,0.55) 62%, rgba(6,8,10,0.82) 100%);
  }

  .hero-content{
    position:relative;
    z-index:2;
    color: var(--white);
    padding: 90px 28px 64px;
    max-width: var(--maxw);
    margin:0 auto;
    width:100%;
  }

  .hero-content .eyebrow-line{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom: 22px;
  }
  .eyebrow-line .dash{ width:34px; height:3px; background: var(--red); }
  .eyebrow-line span{
    font-size: 0.85rem;
    font-weight:600;
    letter-spacing: 0.02em;
    color: #E9D9B6;
  }

  .hero-ar{
    font-family: 'Fraunces', serif;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 500;
    margin-bottom: 14px;
    max-width: 780px;
    direction: rtl;
    color: #F3E8CE;
  }

  .hero h1{
    font-size: clamp(2.3rem, 4.6vw, 4rem);
    max-width: 820px;
    margin-bottom: 22px;
  }

  .hero p.lede{
    max-width: 620px;
    font-size: 1.06rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 34px;
  }

  .hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap: 14px;
  }

  .btn{
    display:inline-flex;
    align-items:center;
    padding: 13px 24px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 0.94rem;
    border: 1.5px solid transparent;
    cursor:pointer;
  }
  .btn-primary{ background: var(--red); color: var(--white); }
  .btn-primary:hover{ background: var(--red-dark); }
  .btn-outline{ border-color: rgba(255,255,255,0.55); color: var(--white); }
  .btn-outline:hover{ border-color: var(--white); background: rgba(255,255,255,0.08); }
  .btn-secondary{ background: var(--blue); color: var(--white); }
  .btn-secondary:hover{ background: var(--blue-dark); }
  .btn-dark{ background: var(--black); color: var(--white); }
  .btn-dark:hover{ background:#000; }
  .btn-ghost{ border-color: var(--line); color: var(--black); }
  .btn-ghost:hover{ background: var(--offwhite); }

  /* ================= INTRO GATEWAY ================= */

  .gateway{
    background: var(--black);
    color: var(--white);
    padding: 68px 0;
  }

  .gateway h2{
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    color: var(--white);
 
  }

  .gateway p{
    color: rgba(255,255,255,0.78);
    font-size: 1rem;
    margin-top: 16px;
  }
  .gateway-cta{ flex-shrink:0; }

  /* ================= SECTION GENERIC ================= */

  section{ padding: 84px 0; }
  section.tight{ padding: 64px 0; }
  section.offwhite{ background: var(--offwhite); }

  .section-head{
    max-width: 100%;
    margin-bottom: 24px;
  }
  .section-head .kicker{
    color: var(--red);
    font-weight: 600;
    font-size: 0.86rem;
    margin-bottom: 10px;
  }
  .section-head h2{
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  }
  .section-head p{
    margin-top: 14px;
    color: #444;
    font-size: 1.02rem;
  }

  /* ================= VALUES ================= */

  .values-grid{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  .value-card{
    background: var(--white);
    padding: 34px 28px;
  }
  .value-card .mark{
    width: 30px; height:3px;
    margin-bottom: 22px;
  }
  .value-card:nth-child(1) .mark{ background: var(--red); }
  .value-card:nth-child(2) .mark{ background: var(--blue); }
  .value-card:nth-child(3) .mark{ background: var(--gold); }
  .value-card:nth-child(4) .mark{ background: var(--black); }
  .value-card h3{
    font-size: 1.18rem;
    margin-bottom: 12px;
  }
  .value-card p{ color:#444; font-size: 0.95rem; }

  @media (max-width: 900px){
    .values-grid{ grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 560px){
    .values-grid{ grid-template-columns: 1fr; }
  }

  /* ================= VISION ================= */

  .vision{
    display:flex;
    gap: 30px;
    align-items:flex-start;
    flex-wrap:wrap;
  }
  .vision-label{
    flex: 0 0 220px;
  }
  .vision-label h2{ font-size: 1.9rem; }
.vision-body {
    flex: 1;
    min-width: 300px;
    max-width: max-content;
}
  .vision-body p{ font-size: 1.08rem; color:#333; }
  .vision-body .btn{ margin-top: 26px; }

  /* ================= POLICY PAPERS ================= */

  .papers-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }
  .paper-card{
    border: 1px solid var(--line);
    padding: 30px 26px;
    background: var(--white);
    transition: border-color .15s ease;
  }
  .paper-card:hover{ border-color: var(--black); }
  .paper-num{
    font-family:'Fraunces', serif;
    font-size: 2.3rem;
    font-weight:600;
    color: var(--red);
    line-height:1;
    margin-bottom: 18px;
  }
  .paper-card h3{
    font-size: 1.08rem;
    margin-bottom: 10px;
  }
  .paper-card p{ font-size: 0.9rem; color:#555; }

  @media (max-width: 900px){
    .papers-grid{ grid-template-columns: 1fr; }
  }

  /* ---- Policy Papers Swiper ---- */

  .papers-swiper{
    padding: 8px 4px 22px;
    margin: 0 -4px;
  }
  .papers-swiper .swiper-slide{
    height: auto;
    display:flex;
  }
  .papers-swiper .paper-card{
    display:flex;
    flex-direction:column;
    width:100%;
  }
  .papers-swiper .paper-card p{ flex:1; }
  .papers-swiper .swiper-pagination{
    bottom: 8px;
  }
  .papers-swiper .swiper-pagination-bullet{
    background: var(--black);
    opacity: 0.25;
    width:8px;
    height:8px;
  }
  .papers-swiper .swiper-pagination-bullet-active{
    background: var(--red);
    opacity: 1;
  }
  .papers-nav{
    display:flex;
    justify-content:flex-end;
    gap: 10px;
    margin-bottom: 22px;position:absolute;right:28px;top:0;
  }
  .papers-nav .swiper-btn{
    width: 40px; height:40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display:flex; align-items:center; justify-content:center;
    background: var(--white);
    cursor:pointer;
    color: var(--black);
    transition: border-color .15s ease, background .15s ease, color .15s ease;
  }
  .papers-nav .swiper-btn:hover{
    border-color: var(--red);
    background: var(--red);
    color: var(--white);
  }
  .papers-nav .swiper-btn svg{ width:18px; height:18px; }

  @media (max-width: 700px){
    .papers-nav{
      position: static;
      justify-content: flex-start;
      margin-top: 18px;
    }
  }

  /* ================= DOCUMENTS ================= */

  .documents{
    background: linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: var(--white);
    padding: 70px 0;
  }
  .documents .wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 48px;
    flex-wrap:wrap;
  }
  .documents .section-head{
    margin-bottom:0;
    flex: 1 1 480px;
    min-width: 260px;
    max-width: 640px;
  }
  .documents .section-head p{ color: rgba(255,255,255,0.8); }
  .documents .section-head .kicker{
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .doc-buttons{
    display:flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 14px;
    flex: 1 1 auto;
    max-width: 100%;
  }
  .doc-buttons .btn{
    background: var(--white);
    color: var(--black);
    border: none;
    border-left: 4px solid var(--red);
    border-radius: 3px;
    padding: 18px 26px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .doc-buttons .btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    background: var(--white);
  }

  @media (max-width: 700px){
    .documents{ padding: 52px 0; }
    .documents .wrap{ flex-direction: column; align-items:flex-start; }
    .doc-buttons{ width:100%; }
    .doc-buttons .btn{ width:100%; white-space: normal; text-align:center; }
  }

  /* ================= CONTRIBUTIONS ================= */

  .contrib-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }
  .contrib-card{
    border-top: 3px solid var(--line);
    padding-top: 20px;
  }
  .contrib-card:nth-child(1){ border-top-color: var(--red); }
  .contrib-card:nth-child(2){ border-top-color: var(--blue); }
  .contrib-card:nth-child(3){ border-top-color: var(--gold); }
  .contrib-tag{
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #666;
    margin-bottom: 10px;
    display:block;
  }
  .contrib-card h3{ font-size: 1.05rem; margin-bottom: 8px; }
  .contrib-card p{ font-size: 0.92rem; color:#555; margin-bottom: 10px; }
  .contrib-meta{ font-size: 0.8rem; color:#888; }
  .official-badge{
    display:inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--red);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 2px;
    margin-bottom: 10px;
  }

  @media (max-width: 900px){
    .contrib-grid{ grid-template-columns: 1fr; gap: 34px; }
  }

  /* ================= MEMBERSHIP ================= */

  .membership-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  .membership-card{
    background: var(--white);
    padding: 38px 30px;
    display:flex;
    flex-direction:column;
  }
  .membership-card h3{ font-size: 1.2rem; margin-bottom: 12px; }
  .membership-card p{ color:#444; font-size: 0.94rem; flex:1; margin-bottom: 24px; }
  .membership-card:nth-child(1) .btn{ background: var(--red); color:var(--white); }
  .membership-card:nth-child(2) .btn{ background: var(--blue); color:var(--white); }
  .membership-card:nth-child(3) .btn{ background: var(--black); color:var(--white); }

  @media (max-width: 900px){
    .membership-grid{ grid-template-columns: 1fr; }
  }

  /* ================= APPLY MEMBERSHIP MODAL ================= */

  .modal-overlay{
    position: fixed;
    inset: 0;
    background: rgba(15,13,9,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 200;
  }
  .modal-overlay[hidden]{ display:none; }

  .modal-card{
    background: var(--white);
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    border-radius: 12px;
    padding: 34px 32px;
    position: relative;
    box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  }

  .modal-close{
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px; height:32px;
    border: none;
    background: var(--offwhite);
    border-radius: 50%;
    display:flex; align-items:center; justify-content:center;
    cursor: pointer;
    color: var(--black);
  }
  .modal-close svg{ width:16px; height:16px; }

  .modal-card h3{
    font-size: 1.5rem;
    margin-bottom: 8px;
    padding-right: 30px;
  }
  .modal-card h3.modal-title-red{
    color: var(--blue);
  }
  .modal-card > p{
    color:#555;
    font-size: 0.94rem;
    margin-bottom: 26px;
  }

  .modal-form{
    display:flex;
    flex-direction:column;
    gap: 18px;
  }
  .modal-form .form-row{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .modal-form .form-group{
    display:flex;
    flex-direction:column;
    gap: 6px;
  }
  .modal-form label{
    font-size: 0.86rem;
    font-weight: 600;
  }
  label{font-weight: 600;}
  .modal-form input,
  .modal-form textarea{
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 0.94rem;
    color: var(--black);
    background: var(--white);
  }
  .modal-form textarea{
    resize: vertical;
    min-height: 90px;
  }
  .modal-form input:focus,
  .modal-form textarea:focus{
    outline: none;
    border-color: var(--blue);
  }
  .modal-submit-btn{
    margin-top: 6px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 30px;
    padding: 14px 24px;
    font-size: 1rem;
     font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background .15s ease;
  }
  .modal-submit-btn:hover{ background: var(--red-dark); }

  @media (max-width: 560px){
    .modal-card{ padding: 28px 22px; }
    .modal-form .form-row{ grid-template-columns: 1fr; }
  }

  /* ================= NEWS ================= */

  .news-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 34px;
  }
  .news-card{
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
  }
  .news-kind{
    font-size: 0.76rem;
    font-weight:700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 10px;
    display:block;
  }
  .news-card h3{ font-size: 1.02rem; margin-bottom: 8px; }
  .news-card p{ font-size: 0.9rem; color:#555; }
  .news-actions{
    display:flex;
    gap:14px;
  }

  @media (max-width: 900px){
    .news-grid{ grid-template-columns: 1fr; }
  }

  /* ================= EXPERTS ================= */

  .experts{
    background: linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: var(--white);
    padding: 70px 0;
  }
  .experts .wrap{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap: 50px;
    flex-wrap:wrap;
  }
  .experts h2{ color: var(--white); font-size: clamp(1.5rem,2.6vw,2rem); max-width: 460px; }
  .experts p{ color: rgba(255,255,255,0.86); margin-top: 14px; max-width: 460px; }
  .experts-cta{ display:flex; gap:14px; flex-wrap:wrap; }

  /* ================= FOOTER ================= */

  footer.site{
    background: #0E0C09;
    color: rgba(255,255,255,0.78);
    padding: 64px 0 30px;
  }
  .footer-grid{
    display:grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .footer-brand{
    display:flex;
    align-items:flex-start;
    gap: 12px;
  }
  .footer-brand svg{ width:36px; height:36px; flex-shrink:0; }
  .footer-brand p{ font-size: 0.88rem; margin-top: 3px; color: rgba(255,255,255,0.6); max-width: 260px; }
  .footer-brand img{
    width: 80px;
    margin-bottom: 10px;
}
  .footer-col h4{
    font-family:'Work Sans', sans-serif;
    font-size: 0.82rem;
    font-weight:700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
  }
  .footer-col a{
    display:block;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 11px;
  }
  .footer-col a:hover{ color: var(--white); }
  .footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-top: 28px;
    flex-wrap:wrap;
    gap: 16px;
  }
  .footer-bottom p{ font-size: 0.82rem; color: rgba(255,255,255,0.5); }
  .socials{ display:flex; gap: 14px; }
  .socials a{
    width:32px; height:32px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display:flex; align-items:center; justify-content:center;
  }
  .socials svg{ width:14px; height:14px; }

  @media (max-width: 900px){
    .footer-grid{ grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 560px){
    .footer-grid{ grid-template-columns: 1fr; }
  }

  @media (prefers-reduced-motion: reduce){
    html{ scroll-behavior:auto; }
    *{ transition:none !important; animation:none !important; }
  }

  /* ================= RTL / ARABIC ================= */

  html[dir="rtl"] body{
    font-family: 'Cairo', 'Work Sans', sans-serif;
  }
  html[dir="rtl"] h1,
  html[dir="rtl"] h2,
  html[dir="rtl"] h3,
  html[dir="rtl"] h4,
  html[dir="rtl"] .brand-name,
  html[dir="rtl"] .footer-brand > div > div{
    font-family: 'Cairo', 'Fraunces', serif;
    letter-spacing: 0;
  }
  html[dir="rtl"] .hero-ar{
    direction: ltr;
    text-align: left;
    font-family: 'Fraunces', serif;
  }
  html[dir="rtl"] .eyebrow-line .dash{ order: 2; }

.swiper-pagination.swiper-pagination-clickable{display:none !important;}
.membership-grid a{text-align:center;    display: block;}
.btn-ghost.btn-view{    padding: 10px 34px;}

  /* ================= FLAG STORY ================= */

 
  .story-copy p{
    color:#333;
    font-size: 1.05rem;
    margin-bottom: 20px;
  }
  .story-copy p:last-child{ margin-bottom:0; }

  .story-quote{
    margin-top: 36px;
    padding: 6px 0 6px 28px;
    border-left: 4px solid var(--blue);
  }
  .story-quote p{
    font-family:'Fraunces', serif;
    font-size: 1.28rem;
    font-weight:500;
    line-height:1.5;
    color: var(--black);
    margin-bottom: 16px;
  }
  .story-quote p:last-child{ margin-bottom:0; }

  @media (max-width: 560px){
    .story-quote{ padding-left:18px; border-left-width:3px; }
    .story-quote p{ font-size:1.1rem; }
  }

  /* ================= FLAG MEANING ================= */

  .flag-intro{
    display:flex;
    align-items:center;
    gap: 56px;
    flex-wrap:wrap;
    margin-bottom: 56px;
  }
  .flag-visual{
    flex: 0 0 320px;
    background: var(--offwhite);
    padding: 16px;
  }
  .flag-visual img{
    display:block;
    width:100%;
  }
  .inner-hero{
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .flag-text{ flex: 1 1 380px; }
  .flag-text .kicker{
    display:block;
    color: var(--blue);
    font-weight:600;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
  }
  .flag-text h2{
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    margin-bottom: 16px;
  }
  .flag-text p{
    color:#444;
    font-size: 1.02rem;
  }

  .flag-meaning-grid{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  .flag-meaning-card {
    background: var(--white);
    padding: 25px 18px;
}
  .flag-meaning-swatch{
    display:block;
    width: 30px; height: 3px;
    margin-bottom: 22px;
  }
  .flag-meaning-swatch.swatch-red{ background: var(--red); }
  .flag-meaning-swatch.swatch-white{ background: #cfcfcf; }
  .flag-meaning-swatch.swatch-black{ background: var(--black); }
  .flag-meaning-swatch.swatch-blue{ background: var(--blue); }
  .flag-meaning-card h3{
    font-size: 1.18rem;
    margin-bottom: 12px;
  }
  .flag-meaning-card p{ color:#444; font-size: 0.95rem; }

  @media (max-width: 900px){
    .flag-meaning-grid{ grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 560px){
    .flag-meaning-grid{ grid-template-columns: 1fr; }
    .flag-intro{ gap: 28px; }
    .flag-visual{ flex: 0 0 100%; max-width: 320px; }
  }

  /* ================= CONTACT PAGE ================= */

  .contact-grid{
    display:grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items:start;
  }
  .contact-card{
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 34px 32px;
  }
  .contact-card h3{
    font-size: 1.3rem;
    margin-bottom: 6px;
  }
  .contact-card > p{
    color:#555;
    font-size: 0.94rem;
    margin-bottom: 24px;
  }
  .contact-info{
    background: var(--offwhite);
    border-radius: 12px;
    padding: 34px 32px;
  }
  .contact-info h3{
    font-size: 1.3rem;
    margin-bottom: 22px;
  }
  .contact-info-item{
    display:flex;
    gap: 14px;
    align-items:flex-start;
    margin-bottom: 22px;
  }
  .contact-info-item:last-of-type{ margin-bottom:0; }
  .contact-info-item .icon{
    flex-shrink:0;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--line);
    display:flex; align-items:center; justify-content:center;
    color: var(--red);
  }
  .contact-info-item .icon svg{ width:17px; height:17px; }
  .contact-info-item h4{
    font-family: 'Work Sans', sans-serif;
    font-size: 0.94rem;
    font-weight: 600;
    margin-bottom: 3px;
  }
  .contact-info-item p,
  .contact-info-item a{
    font-size: 0.92rem;
    color: #444;
  }
  .contact-info-item a:hover{ color: var(--red); }

  .contact-socials{
    display:flex;
    gap: 12px;
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
  }
  .contact-socials a{
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--line);
    display:flex; align-items:center; justify-content:center;
    color: var(--black);
  }
  .contact-socials svg{ width:16px; height:16px; }

  .form-note{
    display:none;
  }
  .form-note.show{
    display:block;
    margin-top: -6px;
    color: var(--blue);
    font-size: 0.9rem;
    font-weight: 600;
  }

  @media (max-width: 900px){
    .contact-grid{ grid-template-columns: 1fr; }
  }
  @media (max-width: 560px){
    .contact-card, .contact-info{ padding: 26px 22px; }
  }

  /* ================= POLICY FRAMEWORK PAGE ================= */

  .policy-jump{
    display:flex;
    flex-wrap:wrap;
    gap: 10px;
    margin-top: 26px;
    position: sticky;
    top: 78px;
    z-index: 40;
    background: var(--offwhite);
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .policy-jump a{
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--black);
    background: var(--white);
    transition: background .15s ease, color .15s ease, border-color .15s ease;
  }
  .policy-jump a:hover{
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
  }

  @media (max-width: 900px){
    .policy-jump{ top: 98px; }
  }

  .policy-table-wrap{
    margin-top: 28px;
    overflow-x: auto;
    border: 1px solid var(--line);
  }
  .policy-table{
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 520px;
  }
  .policy-table th{
    background: var(--blue);
    color: var(--white);
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
  .policy-table td{
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    color: #333;
  }
  .policy-table tr:nth-child(odd) td{ background: var(--offwhite); }

  .policy-list{
    list-style: none;
    display: grid;
    gap: 14px;
    margin-top: 22px;
  }
  .policy-list li{
    position: relative;
    padding-left: 26px;
    color: #333;
    font-size: 0.97rem;
    line-height: 1.5;
  }
  .policy-list li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
  }

  .policy-notice{
    background: #FBF3E4;
    border-left: 4px solid var(--gold);
    padding: 22px 26px;
    margin-top: 28px;
    border-radius: 4px;
  }
  .policy-notice p{
    font-size: 0.96rem;
    font-style: italic;
    color: #333;
  }
  .policy-notice strong{
    font-style: normal;
    color: var(--black);
  }

  .policy-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
  }
  .policy-tag{
    background: var(--white);
    border: 1px solid var(--line);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--black);
  }

  .subject-group{ margin-top: 54px; scroll-margin-top: 130px; }
  .subject-group:first-child{ margin-top: 0; }
  .subject-group-title{
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 1.28rem;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--line);
  }
  .subject-group-title .letter{
    color: var(--red);
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Work Sans', sans-serif;
  }
  .subject-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .subject-card{
    border: 1px solid var(--line);
    background: var(--white);
    padding: 24px 22px;
  }
  .subject-card h4{
    font-size: 1.02rem;
    line-height: 1.3;
    margin-bottom: 10px;
  }
  .subject-card p{
    font-size: 0.88rem;
    color: #555;
  }

  @media (max-width: 900px){
    .subject-grid{ grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 650px){
    .subject-grid{ grid-template-columns: 1fr; }
    .policy-notice{ padding: 18px 20px; }
  }

  /* ================= APPROACH (ABOUT PAGE) ================= */

  .approach-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }
  .approach-item{
    border-top: 2px solid var(--line);
    padding-top: 20px;
  }
  .approach-item .num{
    display:block;
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 14px;
  }
  .approach-item h3{ font-size: 1.1rem; margin-bottom: 10px; }
  .approach-item p{ color:#444; font-size: 0.95rem; }
  @media (max-width: 1400px){
    .wrap {
    max-width: 90%;}
    section {
    padding: 60px 0;
}}
  @media (max-width: 900px){
.section-head {
    max-width: 100%;
}
.doc-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;}
    .wrap {
    padding: 0 0px;
}
.experts p {
    max-width: 100%;
}
header.site {
    padding: 10px 0px;
}
.documents .section-head {
    margin-bottom: 0;
    flex: auto;
    min-width: auto;
    max-width: max-content;
}

  }
  @media (max-width: 900px){
    .approach-grid{ grid-template-columns: 1fr 1fr; gap: 28px; }
  }
  @media (max-width: 650px){
    .approach-grid{ grid-template-columns: 1fr; }
    .hero-content {
        padding: 0px 20px 0px 20px;
    }
    .gateway {
    padding: 40px 0;
}
.vision {
    gap: 20px;}
        .doc-buttons {
        flex-direction: column;
    }
    .policy-jump a {
    padding: 5px 9px;
    font-size: 0.6rem;
    font-weight: 400;
}
    .policy-jump {
        top: 69px;gap: 6px;
    margin-top: 16px;
    top: 78px;
    padding: 10px 0;
    }
  }

  /* ================= BLOG LISTING PAGE ================= */

  .blog-intro-row{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap: 24px;
    flex-wrap:wrap;
  }

  .blog-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .blog-card{
    display:flex;
    flex-direction:column;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 3px solid var(--line);
    padding: 26px 24px;
    transition: border-color .15s ease, transform .15s ease;
  }
  .blog-card:hover{ border-color: var(--black); transform: translateY(-2px); }
  .blog-grid .blog-card:nth-child(3n+1){ border-top-color: var(--red); }
  .blog-grid .blog-card:nth-child(3n+2){ border-top-color: var(--blue); }
  .blog-grid .blog-card:nth-child(3n+3){ border-top-color: var(--gold); }
  .blog-tag{
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--red);
    margin-bottom: 12px;
    display:block;
  }
  .blog-card h3{ font-size: 1.08rem; margin-bottom: 10px; line-height:1.35; }
  .blog-card p{ font-size: 0.92rem; color:#555; flex:1; margin-bottom: 20px; }
  .blog-card-foot{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
    color:#888;
  }
  .blog-card-foot .read-more{
    font-weight: 700;
    color: var(--red);
  }

  @media (max-width: 900px){
    .blog-grid{ grid-template-columns: 1fr 1fr; }
    .hero-content {
    padding: 19px 28px 12px;}
  }
  @media (max-width: 650px){
    .blog-grid{ grid-template-columns: 1fr; }
  }

  /* ================= BLOG DETAIL PAGE ================= */

  .breadcrumb{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 18px;
  }
  .breadcrumb a{ color: rgba(255,255,255,0.85); }
  .breadcrumb a:hover{ color: var(--white); }
  .breadcrumb span{ color: rgba(255,255,255,0.5); }

  .article-meta-row{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 0.86rem;
    color:#666;
  }
  .article-meta-row .blog-tag{ margin-bottom:0; }
  .article-meta-row .dot{ color: var(--line); }


  .article-body p{
    font-size: 1.05rem;
    color:#333;
    margin-bottom: 22px;
  }
  .article-body p:last-child{ margin-bottom:0; }

  .article-share{
    display:flex;
    align-items:center;
    gap: 14px;
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
  }
  .article-share span{
    font-size: 0.82rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.03em;
    color:#888;
  }
  .article-share a{
    width: 36px; height:36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display:flex; align-items:center; justify-content:center;
    color: var(--black);
  }
  .article-share a:hover{ background: var(--offwhite); }
  .article-share svg{ width:15px; height:15px; }

  @media (max-width: 650px){
    .article-body p{ font-size: 1rem; }
    .hero h1 {
     font-size: clamp(1.8rem, 4.6vw, 4rem);}
     .footer-brand img {
    width: 40px;}
    .footer-grid {
    gap: 20px;}
    .footer-grid {
        padding: 40px 0 0 !important;
    }
    section {
        padding: 40px 0;
    }
        .documents {
        padding: 40px 0;
    }
    .value-card {
    padding: 24px 18px;
}
.paper-card {
    padding: 24px 20px;}
    .section-head h2 {
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}
.brand img {
    width: 50px;
}
.news-grid {
    gap: 16px;
    margin-bottom: 20px;
}
.experts {
    padding: 30px 0;
}
.documents .wrap {
    gap: 20px;}
    section.tight {
    padding: 40px 0;
}
.experts .wrap {
    gap: 20px;}
    footer.site {
    padding: 14px 0 30px;
}
.footer-grid {
        gap: 10px;
    }
    .footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}
.mg-top{margin-top: 20px !important;}
.section-head {
    max-width: 100%;
    margin-bottom: 15px;
}
.subject-group {
    margin-top: 24px;}
    .btn {
    width: 100%;
    text-align: center;
    margin: auto;
    display: block;
}
.btn svg{margin-right: 3px !important;}
.footer-brand {
    margin-bottom: 10px;
}
.footer-col a {
    margin-bottom: 6px;
}
  }

/* ================= STANDALONE FORM PAGES =================
   Used by: apply-membership.html, register-supporter.html,
   request-information.html, expert-group-application.html
   All selectors are scoped under .reg-page / .reg-card so they
   never collide with the classes above (e.g. .brand, .card, .grid). */

.reg-page{
  background: var(--offwhite);
  padding: 48px 14px 64px;
}

.reg-card{
  width: min(920px,100%);
  margin: auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.06);    padding: 40px 0;
}

.reg-card--narrow{ width: min(800px,100%); }

.reg-card .intro{
  padding: 0px 42px 25px;
  background: linear-gradient(180deg,#fff,#fafafa);
}

.reg-card h1 {
    margin: 0 0 12px;
    font: 500 clamp(28px, 5vw, 33px) 'Fraunces', Georgia, serif;
    color: var(--ink, #181818);
    letter-spacing: -.02em;
}

.reg-card--navy h1{ color: var(--navy, #071943); }

.reg-card .intro p{
  margin: 0;
  max-width: 780px;
  color: #62666d;
  font-size: 17px;
}

.reg-card .note{
  margin-top: 16px !important;
  padding: 13px 16px;
  border-left: 4px solid var(--blue);
  background: #eef8fd;
  color: #16344d !important;
  font-size: 15px !important;
}

.reg-card form{ padding: 0 42px 0px; }

.reg-card fieldset{
  margin: 0;
  padding: 28px 0;
  border: 0;
  border-top: 1px solid #ececef;
}

.reg-card legend {
    width: 100%;
    padding: 0 0 0px;
    color: #111;
    font: 500 20px 'Fraunces', Georgia, serif;
}

.reg-card--navy legend{ color: var(--navy, #071943); }

.reg-card .grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
}

.reg-card .full{ grid-column: 1 / -1; }

.reg-card label,
.reg-card .label{
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
}

.reg-card .required:after{
  content: " *";
  color: var(--red);
}

.reg-card input, .reg-card select, .reg-card textarea {
    width: 100%;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: #181818;
    font: inherit;
}
.reg-card input:focus, .reg-card select:focus, .reg-card textarea:focus {
    outline: 1px solid rgba(21, 159, 227, .2);
    /* border-color: var(--blue); */
}

.reg-card textarea{ min-height: 115px; resize: vertical; }

.reg-card .hint{
  margin: 6px 0 0;
  color: #62666d;
  font-size: 13px;
  font-weight: 400;
}

.reg-card .choices{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--offwhite);
}

.reg-card--stacked .choices{ grid-template-columns: 1fr; }

.reg-card .choice{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-weight: 400;
}

.reg-card .choice input{
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--blue);
  flex: 0 0 auto;
}

.reg-card .uploads{ display: grid; gap: 14px; }

.reg-card .upload{
  padding: 18px;
  border: 2px dashed #b9c5d0;
  border-radius: 12px;
  background: #fafcfe;
}

.reg-card .upload input{ margin-top: 10px; padding: 9px; background: #fff; }

.reg-card .declaration{
  padding: 18px;
  border-radius: 12px;
  background: #f3f4f6;
  color: #30343a;
  font-size: 14px;
}

.reg-card .declaration .choice + .choice{ margin-top: 13px; }

.reg-card .actions{ padding-top: 8px; }

.reg-card button{
  width: 100%;
  padding: 16px 24px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
}

.reg-card--navy button{ background: var(--navy, #071943); }
.reg-card--navy button:hover{ background: #0a2c68; }

.reg-card .privacy{
  margin: 12px 0 0;
  text-align: center;
  color: #62666d;
  font-size: 13px;
}

.reg-card .form-note{
  display: none;
  margin-top: 16px;
  padding: 18px;
  border-radius: 12px;
  background: #eef8fd;
  color: #16344d;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.reg-card .form-note.show{ display: block; }
@media (max-width: 1180px){
  .section-head {max-width: 100%;}
  .hero-content {
        padding: 60px 28px 64px;
    }
    .hero h1 {
    font-size: clamp(2.3rem, 4vw, 4rem);
    max-width: 100%;
    margin-bottom: 18px;
}
.gateway {
    padding: 50px 0;
}
.value-card {
    padding: 25px 20px;
}
section {
        padding: 40px 0;
    }
    .experts p {
    margin-top: 4px;
    max-width: 100%;
}
.footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-bottom: 24px;
}
.hero {
    width: 100%;
}
.modal-form input, .modal-form textarea {
    width: 100%;
}
}



@media (max-width: 680px){
  .reg-card .intro,
  .reg-card form{ padding-left: 22px; padding-right: 22px; }
  .reg-card .grid,
  .reg-card .choices{ grid-template-columns: 1fr; }
  .reg-card .full{ grid-column: auto; }
  .footer-grid {
        grid-template-columns: 1fr;
    }
        .hero h1 {
        font-size: clamp(2rem, 4vw, 4rem);}
    .footer-grid {
        gap: 15px;}
        .article-body p {
    margin-bottom: 11px;
}
}


/* ================= CONSTITUTION & REGULATIONS PAGE ================= */
.doc-library .wrap{ display:block; }
.doc-library .section-head{ max-width: 760px; margin-bottom: 36px; }
.doc-library .doc-library-note{
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(255,255,255,0.65) !important;
}
.doc-list{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 22px;
}
.doc-item{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap: 16px;
  background: var(--white);
  color: var(--black);
  border-left: 4px solid var(--red);
  border-radius: 3px;
  padding: 28px 26px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.doc-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.doc-item-icon{
  flex-shrink:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  color: var(--red);
}
.doc-item-icon svg{ width:34px; height:34px; }
.doc-item-icon small{ font-size: 0.68rem; font-weight:700; letter-spacing:0.08em; }
.doc-item-text{ flex:1; min-width:0; }
.doc-item-text h3{ font-size: 1.2rem; margin-bottom: 8px; color: var(--black); }
.doc-item-text p{
  font-size: 0.9rem;
  color:#555;
  margin:0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.doc-item .doc-view-btn{ white-space:nowrap; margin-top:auto; }
.doc-item .doc-view-btn svg{ margin-right: 8px; }

/* Viewer overlay */
.doc-viewer{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display:flex;
  flex-direction:column;
  background: rgba(10,10,30,0.94);
}
.doc-viewer[hidden]{ display:none; }
.doc-viewer-bar{
  display:flex;
  align-items:center;
  gap: 16px;
  padding: 14px 24px;
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-bottom: 3px solid var(--red);
  color: var(--white);
}
.doc-viewer-bar h3{ font-size: 1.1rem; color: var(--white); flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.doc-viewer-pages{ font-size: 0.85rem; color: rgba(255,255,255,0.75); white-space:nowrap; }
.doc-viewer-close{
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: 3px;
  color: var(--white);
  width: 38px; height: 38px;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
}
.doc-viewer-close:hover{ border-color: var(--white); background: rgba(255,255,255,0.08); }
.doc-viewer-close svg{ width:20px; height:20px; }
.doc-viewer-body{
  flex:1;
  overflow-y:auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 16px;
  padding: 24px 16px;
  user-select: none;
  -webkit-user-select: none;
}
.doc-viewer-body canvas{
  display:block;
  max-width:100%;
  height:auto;
  background: var(--white);
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}
.doc-viewer-status{ color: rgba(255,255,255,0.8); margin-top: 40px; }

@media (max-width: 700px){
  .doc-item{ flex-direction:column; align-items:flex-start; gap: 14px; padding: 20px; }
  .doc-item .doc-view-btn{ width:100%; justify-content:center; }
  .doc-viewer-bar{ padding: 12px 16px; }
  .doc-viewer-pages{ display:none; }
}
@media print{
  .doc-viewer{ display:none !important; }
}

/* ================= CONTRIBUTIONS LISTING ================= */
.contrib-pagination{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap: 8px;
  margin-top: 44px;
}
.contrib-pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--black);
}
.contrib-pagination a.page-numbers:hover{ background: var(--offwhite); border-color: var(--black); }
.contrib-pagination .page-numbers.current{ background: var(--red); border-color: var(--red); color: var(--white); }
.contrib-pagination .page-numbers.dots{ border-color: transparent; }
.contrib-empty{ margin-top: 40px; color:#555; font-size: 1rem; }
.article-body .story-quote{ margin-bottom: 24px; }

/* Homepage news cards are links to the article */
a.news-card{ display:block; color: inherit; transition: border-color .15s ease, transform .15s ease; }
a.news-card:hover{ border-color: var(--black); transform: translateY(-2px); }
.map-home{
    padding: 10px 0px;
    margin: auto;
    border: 1px solid #ccc;
}
.map-home img{
    margin: auto;
    display: block;
    width: 40%;
}
@media(max-width:767px){
.map-home img {
    width: 70%;
}}
/* ================= CONTACT FORM 7 =================
   Maps Contact Form 7 markup onto the existing .reg-card and .modal-form designs. */
.wpcf7 .hidden-fields-container{ display:none; border:0; padding:0; margin:0; }
.wpcf7-form-control-wrap{ display:block; }

/* Checkbox groups (.choices) and declarations */
.reg-card .choices .wpcf7-form-control-wrap,
.reg-card .choices .wpcf7-checkbox{ display: contents; }
.reg-card .wpcf7-list-item{ display:block; margin:0; }
.reg-card .wpcf7-list-item label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:0;
  font-weight:400;
  cursor:pointer;
}
.reg-card .wpcf7-list-item input{
  width:18px;
  height:18px;
  margin-top:3px;
  padding:0;
  accent-color: var(--blue);
  flex:0 0 auto;
}
.reg-card .declaration .wpcf7-form-control-wrap + .wpcf7-form-control-wrap{ margin-top:13px; }
.reg-card .choices .wpcf7-not-valid-tip{ grid-column: 1 / -1; }

/* Validation */
.wpcf7-not-valid-tip{
  display:block;
  margin-top:6px;
  color: var(--red);
  font-size: 13px;
  font-weight: 500;
}
.reg-card .wpcf7-not-valid,
.modal-form .wpcf7-not-valid{ border-color: var(--red) !important; }

/* Submit state */
.wpcf7 form.submitting button[type="submit"]{ opacity:.6; pointer-events:none; cursor:wait; }
.reg-card button[type="submit"]{ margin-top: 4px; }

/* Response message (success / error) */
.wpcf7 form .wpcf7-response-output{
  margin: 16px 0 0;
  padding: 16px 18px;
  border: 0;
  border-radius: 12px;
  background: #eef8fd;
  color: #16344d;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output{
  background: #fdeef0;
  color: var(--red-dark);
}

/* Contact page and subscribe popup (.modal-form) */
.modal-form .wpcf7-form-control-wrap input,
.modal-form .wpcf7-form-control-wrap textarea{ width:100%; box-sizing:border-box; }
.modal-form input[type="file"]{ padding: 9px 12px; background:#fff; }
.modal-form label span{ font-weight:400; color:#62666d; font-size:0.8rem; }
.modal-form .form-privacy{ text-align:center; color:#62666d; font-size:0.82rem; margin-top:-6px; }
.wpcf7 form.modal-form .wpcf7-response-output{ margin-top: 0 !important; font-size: 0.9rem !important; }
/* Contact Form 7 sets rows="10" on textareas; keep the original compact height */
.reg-card textarea.wpcf7-textarea{ height: 115px; }
/* Contact Form 7's stylesheet loads after this file, so its message box defaults need !important */
.wpcf7 form .wpcf7-response-output{
  margin: 16px 0 0 !important;
  padding: 16px 18px !important;
  border: 0 !important;
}

/* ================= LEGAL PAGES (Privacy, Terms, Publication Policy) ================= */
.legal-body{
  max-width: 860px;
  color: #333;
  font-size: 1.02rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.legal-body h2{
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  margin: 40px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--black);
}
.legal-body p{ margin: 0 0 16px; }
.legal-body a{ color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover{ color: var(--red); }
.legal-body .legal-effective{
  display: inline-block;
  margin: 0 0 8px;
  padding: 8px 14px;
  border-left: 3px solid var(--red);
  background: var(--offwhite);
  font-size: 0.92rem;
}
.legal-body > .legal-effective:last-child{ margin-top: 24px; }
.legal-body .legal-callout{
  padding: 14px 18px;
  border-left: 4px solid var(--blue);
  background: #eef8fd;
  color: #16344d;
  font-weight: 600;
}
@media (max-width: 650px){
  .legal-body{ font-size: 0.97rem; line-height: 1.7; }
  .legal-body h2{ margin-top: 30px; padding-top: 20px; }
}

/* Sub-headings inside news / contribution articles */
.article-body h2{
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  margin: 40px 0 14px;
  color: var(--black);
}
.article-body h2:first-child{ margin-top: 0; }

/* ================= LANGUAGE MENU (English / Arabic pages) ================= */
.lang-switch{
  position: relative;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
}
.lang-switch summary{
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  color: var(--black);
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.lang-switch summary::-webkit-details-marker{ display: none; }
.lang-switch summary::after{
  content: "";
  width: 6px; height: 6px;
  margin-inline-start: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .15s ease;
}
.lang-switch[open] summary::after{ transform: rotate(-135deg) translateX(-2px); }
.lang-switch summary:hover,
.lang-switch[open] summary{ background: var(--offwhite); }
.lang-switch summary svg{ width: 16px; height: 16px; flex-shrink: 0; }
html[dir="rtl"] .lang-switch summary span{ font-family: 'Cairo', 'Work Sans', sans-serif; }
.lang-menu{
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  z-index: 60;
  min-width: 132px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
.lang-menu a{
  display: block;
  padding: 8px 12px;
  border-radius: 2px;
  color: var(--black);
  white-space: nowrap;
}
.lang-menu a[lang="ar"]{ font-family: 'Cairo', 'Work Sans', sans-serif; text-align: right; }
.lang-menu a:hover{ background: var(--offwhite); }
.lang-menu a.is-active{ background: var(--black); color: var(--white); }
@media (max-width: 1180px){
  .header-actions{ gap: 10px; }
}

/* ================= ARABIC (RIGHT-TO-LEFT) ================= */
html[dir="rtl"] body{ text-align: right; }
html[dir="rtl"] nav.main-nav a::after{ transform-origin: right; }

/* Accent borders move to the right-hand side */
html[dir="rtl"] .doc-buttons .btn,
html[dir="rtl"] .doc-item,
html[dir="rtl"] .reg-card .note,
html[dir="rtl"] .story-quote,
html[dir="rtl"] .policy-notice,
html[dir="rtl"] .legal-body .legal-effective,
html[dir="rtl"] .legal-body .legal-callout{
  border-left: 0;
  border-right-style: solid;
}
html[dir="rtl"] .doc-buttons .btn,
html[dir="rtl"] .doc-item{ border-right-width: 4px; border-right-color: var(--red); }
html[dir="rtl"] .reg-card .note,
html[dir="rtl"] .legal-body .legal-callout{ border-right-width: 4px; border-right-color: var(--blue); }
html[dir="rtl"] .story-quote{ border-right-width: 4px; border-right-color: var(--blue); padding-left: 0; padding-right: 26px; }
html[dir="rtl"] .policy-notice{ border-right-width: 4px; border-right-color: var(--gold); }
html[dir="rtl"] .legal-body .legal-effective{ border-right-width: 3px; border-right-color: var(--red); }

/* Lists, tables, icons and buttons */
html[dir="rtl"] .policy-list li{ padding-left: 0; padding-right: 26px; }
html[dir="rtl"] .policy-list li::before{ left: auto; right: 0; }
html[dir="rtl"] .policy-table th{ text-align: right; }
html[dir="rtl"] .btn svg{ margin-right: 0 !important; margin-left: 8px !important; }
html[dir="rtl"] .doc-item .doc-view-btn svg{ margin-right: 0; margin-left: 8px; }
html[dir="rtl"] .modal-close{ right: auto; left: 18px; }
html[dir="rtl"] .modal-card h3{ padding-right: 0; padding-left: 30px; }
html[dir="rtl"] .read-more,
html[dir="rtl"] .breadcrumb{ unicode-bidi: plaintext; }

/* Policy carousel: keep the slider mechanics left-to-right, text inside right-to-left */
html[dir="rtl"] .papers-swiper{ direction: ltr; }
html[dir="rtl"] .papers-swiper .swiper-slide{ direction: rtl; text-align: right; }
html[dir="rtl"] .papers-nav{ right: auto; left: 28px; }

/* Forms */
html[dir="rtl"] .reg-card .required:after{ content: " *"; }
html[dir="rtl"] .modal-form input[type="email"],
html[dir="rtl"] .modal-form input[type="url"],
html[dir="rtl"] .reg-card input[type="email"],
html[dir="rtl"] .reg-card input[type="url"],
html[dir="rtl"] .reg-card input[type="tel"]{ direction: ltr; text-align: right; }

/* PDF viewer */
html[dir="rtl"] .doc-viewer-bar{ direction: rtl; }
@media (max-width: 680px){
  html[dir="rtl"] .papers-nav{ left: 0; }
}

.footer-brand-name{ font-family:'Fraunces', serif; font-weight:600; color:#fff; font-size:1rem; }
html[dir="rtl"] .footer-brand-name{ font-family:'Cairo', 'Fraunces', serif; }

/* ================= DOCUMENT CARDS ================= */
.doc-item-ref{
  display:inline-block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--red);
  direction: ltr;
}
.doc-item-lang{
  display:inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--offwhite);
  color: #555;
  font-size: 0.78rem;
  font-weight: 600;
}
.wpcf7-response-output {
    font-weight: 400 !important;
}

/* ================= DOCUMENT READER (Founding Document, Constitution, regulations) ================= */
.doc-reader{ padding: 56px 0 88px; }
.doc-reader-grid{
  display:grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 56px;
  align-items:start;
}
.doc-reader-grid.no-toc{ grid-template-columns: minmax(0, 1fr); }
.doc-reader-grid[dir="ltr"]{ text-align: left; }
.doc-reader-grid[dir="rtl"]{ text-align: right; }
/* Shown when the document isn't available in the page's language */
.doc-lang-note{
  margin-bottom: 28px;
  padding: 12px 16px;
  border-left: 4px solid var(--gold);
  background: var(--offwhite);
  font-size: 0.92rem;
}
html[dir="rtl"] .doc-lang-note{ border-left: 0; border-right: 4px solid var(--gold); }
/* A document shown in its original HTML design (in a frame that takes its full height) */
.doc-original{ padding: 0 0 72px; background: #f3f5f8; }
.doc-original .doc-lang-note{ margin: 28px 0 0; }
.doc-original-frame{ display: block; width: 100%; min-height: 70vh; border: 0; background: #f3f5f8; }
.doc-original .doc-pager{ margin-top: 24px; }
/* Document page: the supplied HTML file as designed, full width on white */
.doc-original-bare,
.doc-original-bare .doc-original-frame{ background: #fff; }
.doc-original-bare .wrap{ max-width: none; padding: 0; }
.doc-original-bare .doc-pager{ max-width: 960px; margin: 24px auto 0; padding: 0 26px; }
@media (max-width: 650px){
  .doc-original .wrap{ padding: 0; }
  .doc-original .doc-pager{ padding: 24px 16px 0; }
}

/* Client-supplied documents: figures, and documents published as page images */
.doc-body figure{ margin: 25px 0 35px; text-align: center; }
.doc-body figure img{ display: inline-block; max-width: 100%; max-height: 340px; object-fit: contain; }
.doc-body .page{
  margin: 0 0 18px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.doc-body .page img{ display: block; width: 100%; height: auto; }
.doc-body .page-label{ margin-bottom: 6px; font-size: 12px; color: #777; }
@media print{
  .doc-body .page{ border: 0; box-shadow: none; padding: 0; margin: 0; break-after: page; }
  .doc-body .page-label{ display: none; }
}

/* Inside a document: a passage translated from the other language, awaiting the Party's review */
.doc-body .doc-translation-note{
  margin: 0 0 18px;
  padding: 10px 14px;
  border-left: 3px solid var(--gold);
  background: #fbf7ef;
  color: #5b4a2b;
  font-size: 0.86rem;
  line-height: 1.6;
}
.doc-reader-grid[dir="rtl"] .doc-body .doc-translation-note{ border-left: 0; border-right: 3px solid var(--gold); }

/* Table of contents */
.doc-toc{ position: sticky; top: 124px; }
.doc-toc-box{
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 3px;
}
.doc-toc-box summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 16px 20px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}
.doc-toc-box summary::-webkit-details-marker{ display:none; }
.doc-toc-box summary::after{
  content:"";
  width: 9px; height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform .15s ease;
}
.doc-toc-box[open] summary::after{ transform: rotate(-135deg) translateX(-3px); }
.doc-toc nav{
  position: relative;
  max-height: calc(100vh - 230px);
  overflow-y: auto;
  padding: 0 10px 14px;
  overscroll-behavior: contain;
}
.doc-toc-list, .doc-toc-sub{ list-style:none; }
.doc-toc-list a{
  display:block;
  padding: 7px 10px;
  border-left: 2px solid transparent;
  border-radius: 2px;
  font-size: 0.88rem;
  line-height: 1.35;
  color: #3d3d3d;
}
.doc-toc-list a:hover{ background: rgba(21,19,15,0.05); color: var(--black); }
.doc-toc-list a.is-active{
  border-left-color: var(--red);
  background: var(--white);
  color: var(--red);
  font-weight: 600;
}
.doc-toc-section > a{ font-weight: 600; color: var(--black); }
.doc-toc-sub{ display:none; margin: 2px 0 8px 12px; }
.doc-toc-section.is-open > .doc-toc-sub,
.doc-toc-loose > .doc-toc-sub{ display:block; }
.doc-toc-sub a{ padding: 5px 10px; font-size: 0.82rem; }

/* Document text */
.doc-article{ min-width:0; max-width: 800px; }
.doc-article-head{
  margin-bottom: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.doc-ref{
  display:inline-block;
  margin-bottom: 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
  direction: ltr;
  unicode-bidi: isolate;
}
.doc-article-title{ font-size: clamp(1.55rem, 3vw, 2.25rem); color: var(--blue); }
.doc-status{ list-style:none; display:flex; flex-wrap:wrap; gap: 8px; margin-top: 16px; }
.doc-status li{
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--offwhite);
  color: #555;
  font-size: 0.82rem;
  font-weight: 600;
}
.doc-body{
  font-size: 1.04rem;
  line-height: 1.8;
  color: #2b2b2b;
  overflow-wrap: anywhere;
}
.doc-body p{ margin: 0 0 18px; }
.doc-body strong{ color: var(--black); }
.doc-body h2{
  margin: 50px 0 16px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  color: var(--black);
  scroll-margin-top: 130px;
}
.doc-body > h2:first-child{ margin-top: 0; padding-top: 0; border-top: 0; }
.doc-body h3{
  margin: 34px 0 10px;
  font-size: 1.16rem;
  color: var(--blue);
  scroll-margin-top: 130px;
}
.doc-body h4{ margin: 26px 0 8px; font-size: 1.02rem; }
/* "Chapter One", "Article 1", "First": the number label of a heading */
.doc-body .doc-num{
  display:block;
  margin-bottom: 6px;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.doc-body h3 .doc-num{
  display:inline-block;
  margin: 0 10px 0 0;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(200,16,46,0.08);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: none;
  vertical-align: 2px;
}
.doc-body ul, .doc-body ol{ margin: 0 0 20px; padding-left: 24px; }
.doc-body li{ margin-bottom: 8px; }
.doc-body ul li::marker{ color: var(--red); }
.doc-table-wrap{
  margin: 8px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.doc-body table{ width:100%; min-width: 520px; border-collapse: collapse; font-size: 0.92rem; line-height: 1.5; }
.doc-body th{ padding: 12px 14px; background: var(--blue); color: var(--white); font-weight: 600; text-align: left; vertical-align: bottom; }
.doc-body td{ padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.doc-body tbody tr:nth-child(even) td{ background: var(--offwhite); }

/* Previous / next document */
.doc-pager{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.doc-pager-prev, .doc-pager-next{
  display:flex;
  flex-direction:column;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: border-color .15s ease, transform .15s ease;
}
.doc-pager-prev:hover, .doc-pager-next:hover{ border-color: var(--black); transform: translateY(-2px); }
.doc-pager small{ font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.doc-pager span{ font-family: 'Fraunces', serif; font-weight: 600; line-height: 1.3; }
.doc-pager-next{ grid-column: 2; text-align: right; }
.doc-pager-back{ grid-column: 1 / -1; justify-self: start; }

/* Back to top */
.doc-top{
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display:flex;
  align-items:center;
  justify-content:center;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  cursor: pointer;
}
.doc-top[hidden]{ display:none; }
.doc-top:hover{ background: var(--red-dark); }
.doc-top svg{ width: 22px; height: 22px; }

/* Arabic text */
.doc-reader-grid[lang="ar"],
.doc-reader-grid[lang="ar"] h2,
.doc-reader-grid[lang="ar"] h3,
.doc-reader-grid[lang="ar"] h4,
.doc-reader-grid[lang="ar"] summary,
.doc-reader-grid[lang="ar"] .doc-pager span{ font-family: 'Cairo', 'Work Sans', sans-serif; }
.doc-reader-grid[lang="ar"] .doc-body{ font-size: 1.08rem; line-height: 2; }
.doc-reader-grid[lang="ar"] .doc-body h2,
.doc-reader-grid[lang="ar"] .doc-body h3{ line-height: 1.5; }
.doc-reader-grid[dir="rtl"] .doc-toc-list a{ border-left: 0; border-right: 2px solid transparent; }
.doc-reader-grid[dir="rtl"] .doc-toc-list a.is-active{ border-right-color: var(--red); }
.doc-reader-grid[dir="rtl"] .doc-toc-sub{ margin: 2px 12px 8px 0; }
.doc-reader-grid[dir="rtl"] .doc-body ul,
.doc-reader-grid[dir="rtl"] .doc-body ol{ padding-left: 0; padding-right: 24px; }
.doc-reader-grid[dir="rtl"] .doc-body th{ text-align: right; }
.doc-reader-grid[dir="rtl"] .doc-body h3 .doc-num{ margin: 0 0 0 10px; }
.doc-reader-grid[dir="rtl"] .doc-pager-next{ text-align: left; }
.doc-reader-grid[dir="rtl"] .doc-pager-back{ justify-self: end; }
html[dir="rtl"] .doc-top{ right: auto; left: 24px; }
section#founding-convention {
    background: #02006508;
}
@media (max-width: 999px){
  .doc-reader{ padding: 36px 0 64px; }
  .doc-reader-grid{ grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .doc-toc{ position: static; }
  .doc-toc nav{ max-height: 60vh; }
}
@media (max-width: 650px){
  .doc-reader{ padding: 28px 0 56px; }
  .doc-body{ font-size: 1rem; line-height: 1.75; }
  .doc-reader-grid[lang="ar"] .doc-body{ font-size: 1.02rem; line-height: 1.9; }
  .doc-body h2{ margin-top: 38px; padding-top: 24px; }
  .doc-pager{ grid-template-columns: minmax(0, 1fr); }
  .doc-pager-next{ grid-column: auto; text-align: inherit; }
  .doc-reader-grid[dir="rtl"] .doc-pager-next{ text-align: inherit; }
  .doc-top{ right: 16px; bottom: 16px; }
  html[dir="rtl"] .doc-top{ left: 16px; }
}
@media print{
  header.site, footer.site, .inner-hero, .flag-rule, .doc-toc, .doc-pager, .doc-top, .modal-overlay{ display:none !important; }
  .doc-reader{ padding: 0; }
  .doc-reader-grid{ display:block; }
}


h2.map-home__title {
    text-align: center;
    margin-bottom: 50px;
}