
/* ============================================================
   main.css — Global + Homepage styles
   ============================================================ */

/* ── Design tokens ── */
:root {
    /* Brand colours (from wireframe) */
    --color-hero-bg:        #d4a9a9;   /* blush/dusty pink */
    --color-highlight-bg:   #009aA0;   /* teal */
    --color-highlight-text: #003d3f;
    --color-cta-bg:         #fae8c8;   /* pale peach/cream */
    --color-cta-text:       var(--color-purple);
    --color-footer-bg:      #e8e8e8;
    --color-heading-accent: #3d1a6e;   /* deep purple */
    --color-body:           var(--color-purple);

    --color-teal: #54D3D8;
    --color-teal-dark: #40C0C7;
    --color-orange: #FFA571;
    --color-purple: #49176D;
    --color-purple-light: #765191;
    --color-green: #008834;
    --color-peach: #F4EBEB;
    --color-blue-light: #DCF5F6;
    
    --color-orange-tag: #F09720;
    --color-blue-tag: #1BADCD;
    
    /* Spacing */
    --section-gap: 1.5rem;
    --section-gap-2: 3rem;
    --section-gap-4: 6rem;
    --corner: 20px;
}

/* ── Base reset ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--color-body);
  overflow-x: hidden;
}
img {
    width: 100%;
    height: auto;
}
a, a:visited {
    text-decoration: none;
    color:  var(--color-teal-dark);
}
.font-alt {
  font-family: "Urbanist", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

@media (min-width: 991px) and (max-width: 1199px) {
  .container {
    padding-left: 0;
    padding-right: 0;
  }
}

/* -----  Helpers  ------------------------------------------- */

.no-break {
  word-break: normal;
    white-space: nowrap;
  hyphens: none;
}
section {
    margin-bottom: var(--section-gap);
}
section.x2 {
    margin-bottom: var(--section-gap-2);
}
section.x4 {
    margin-bottom: var(--section-gap-4);
}

/* ── Header ── */
#mainHeader {
  position: relative;
  padding: clamp(1.75rem, 2.5vw, 3rem) 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 900;
}

#headerLogo img {
  height: clamp(42px, 3.5vw, 65px);
  width: auto;
  display: block;
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dl-pdf {
   background: white;
}


.page-cta-item {
  background: var(--color-cta-bg);
  color: var(--color-cta-text);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--corner);
}


/* ── FOOTER ── */
#mainFooter {
  background: var(--color-footer-bg);
  padding: 5rem 0 4rem;
  margin-top: var(--section-gap);
}

#mainFooter .footer-logo img {
  height: clamp(36px, 3vw, 42px);
  width: auto;
}

#mainFooter .footer-copy p {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
}
#mainFooter .footer-copy a {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}
#mainFooter .footer-links a {
  display: inline-block;
  margin-left: 1rem;
  font-size: 0.85rem;
  color: var(--color-body);
  text-decoration: none;
}
#mainFooter .footer-links a:hover {
  text-decoration: underline;
}

#mainFooter .footer-links-sec {
  display: flex;
  
}
#mainFooter .footer-links-sec a {
  padding-right: 15px;
  padding-bottom: 2px;
}
#mainFooter .pagination__line {
    border-top: 1px solid var(--color-purple-light)
}

#mainFooter .footer-qlink a {
  color: var(--color-purple) !important;
	text-decoration: underline 1px;
}
#mainFooter .footer-qlink a.active {
	color: var(--color-purple) !important;
	text-decoration: none;
	font-weight: bold;
}

@media (max-width: 1199px) {
    .footer_credits {
        text-align: left !important;
    }
}
@media (max-width: 991px) {
  #mainFooter {
    padding: 4rem 0 4rem;
  }
#mainFooter .footer-qlink {
  text-align: center;
}
  #mainFooter .footer-logo,
  #mainFooter .footer-copy,
  #mainFooter .footer-links {
    text-align: center !important;
    margin-bottom: 1rem;
  }
  #mainFooter .footer-links-sec {
    display: inline-block;

  }
  #mainFooter .footer-links-sec a {
    padding-right: 15px;

  }
}


.button {
    display: inline-block;
    padding: 5px 25px 4px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--color-purple);
    overflow: hidden;
}
a .button {
    color: var(--color-purple);
}
.button:hover {
    border: 1px solid var(--color-purple);
    background: var(--color-purple);
    color: white;
}

@media (max-width: 767px) {
    .dl-pdf .button {
        padding: 6px 16px 5px;
        border-radius: 16px;
        font-size: 0.85rem;
        background: white;
    }
}
.dl-pdf {
    background: none;
}
.dl-pdf .button {
    font-weight: 600 !important;
    background: none;
}
.dl-pdf .button:hover {
    background: var(--color-purple);
}
#mainFooter .dl-pdf .button {
    color: white;
    background: var(--color-purple);
}
.tag {
    font-size: 0.85rem;
    margin-top: 2px;
    text-transform: uppercase;
    font-weight: 500;
}
.tag-ico {
    height: 18px;
    width: auto;
    transform: translateY(-10%);
    margin-right: 4px;
}
.tag-planet {
    color: var(--color-green);
}
.tag-planet:before {
    content: '';
}
.tag-people {
    color: var(--color-orange-tag);
}
.tag-peace {
    color: var(--color-purple);
}
.tag-progress {
    color: var(--color-blue-tag);
}

/* -----  Menu  ------------------------------------------- */

.menu-toggle {
    cursor: pointer;
}
#mainMenu {
    position: fixed;
    top:0;
    z-index: 9009;
    width: 100%;
    background: var(--color-teal);
    transform: translateY(-105%);
    transition: transform .3s;
}
#mainMenu .font-alt a {
    color: var(--color-purple);
}
#mainMenu .font-alt h4 a:hover {
    color: white;
}
#mainMenu.active {
    transform: translateY(0);
}
#mainMenu.invis {
    visibility: hidden;
}
#mainMenu a {
    color: white;
    text-decoration: none;
    font-weight: 350;
    letter-spacing: 0.03rem;
}
#mainMenu h4 {
    font-size: clamp(21px, 1vw, 24px);
}
#mainMenu .button {
    color: white;
    background: var(--color-purple-light);
    border: none;
}
#mainMenu .menu-toggle.close {
    padding: 0;
    margin-right: 1rem;
    color: var(--color-purple);
    border: 0px solid var(--color-purple);
    background: none;
}

.menu-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9005;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity .5s;
}
.menu-bg.active {
    opacity: 1;
}
#mainMenu a.active {
    color: white;
}
@media (max-width: 767px) {
    #mainMenu a {
        font-weight: 400;
    }
    #mainMenu h4 {
        padding-bottom: 5px;
    }
    #mainMenu  {
        text-align: center;
        padding: 0 10%;
    }
    #mainMenu .text-end  {
        text-align: center !important;
    }
    #mainMenu .menu-toggle.close {
        margin-right: 0;
    }
}

.pg-equatic #mainMenu h4 {
    color: white !important;
}

