/* CSS RESET & BASE TYPOGRAPHY ------------------------------------ */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #21263a;
  background: #f6f7fa;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #1A3A6B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #F2AC09;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A3A6B;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 28px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
section h1, section h2, section h3 {
  margin-top: 0;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 1em;
}

/* BASE CONTAINER & WRAPPERS ------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* GRADIENT MODERN THEME COLORS & EFFECTS ----------------------------- */
:root {
  --primary: #1A3A6B;
  --secondary: #EAEAEA;
  --accent: #F2AC09;
  --gradient-hero: linear-gradient(90deg, #EAEAEA 0%, #e7f0fd 100%);
  --gradient-card: linear-gradient(120deg, #fff 60%, #e9f2fb 100%);
  --gradient-accent: linear-gradient(90deg, #1A3A6B 60%, #3f6cb7);
  --shadow-md: 0 2px 24px rgba(26,58,107,0.07);
}

/* MAIN NAVIGATION + HEADER ------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(26, 58, 107, 0.035);
  padding: 0;
  z-index: 40;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-links a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.5px;
  color: #1A3A6B;
  padding: 8px 6px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover,
.nav-links a:focus {
  background: #e7f0fd;
  color: #F2AC09;
  outline: none;
}
.cta.primary {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(90deg, #1A3A6B 70%, #F2AC09);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  border-radius: 32px;
  box-shadow: 0 2px 8px rgba(26,58,107,0.04);
  margin-left: 20px;
  transition: background 0.25s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.cta.primary:hover,
.cta.primary:focus {
  background: linear-gradient(90deg, #F2AC09 0%, #1A3A6B 100%);
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(26, 58, 107, 0.13);
}

/* MOBILE MENU ---------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: #1A3A6B;
  color: #fff;
  font-size: 2rem;
  border: none;
  padding: 10px 16px;
  border-radius: 12px;
  margin-left: 20px;
  cursor: pointer;
  z-index: 103;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #16315a;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 8px 32px rgba(30,48,91,0.18);
  z-index: 120;
  transition: transform 0.33s cubic-bezier(.55,.09,.68,.53);
  transform: translateX(-105vw);
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 32px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #1A3A6B;
  cursor: pointer;
  margin-bottom: 16px;
  padding: 6px;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F2AC09;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a {
  color: #1A3A6B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  padding: 12px 6px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #e7f0fd;
  color: #F2AC09;
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 16px;
  }
  .container {
    padding: 0 12px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
  }
  .nav-links {
    gap: 18px;
  }
  .cta.primary {
    padding: 10px 18px;
    font-size: 1rem;
  }
}
@media (max-width: 830px) {
  .main-nav {
    gap: 0;
  }
  .nav-links {
    gap: 5px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
  }
  .nav-links,
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* GRADIENT HERO/SECTION BACKGROUNDS ----------------------------------- */
.hero {
  background: var(--gradient-hero);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: 0 6px 64px 0 rgba(26,58,107,0.06);
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 40px 0;
}
.hero .content-wrapper {
  max-width: 660px;
  gap: 18px;
}

/* SECTIONS, FLEX SPACING PATTERNS (MANDATORY) -------------------------- */
.section,
.about-section,
.team-section,
.values-section,
.confirmation-section,
.contact-section,
.faq-section,
.privacy-policy,
.cookies-policy,
.gdpr-info,
.terms,
.news-highlights,
.features,
.subscribe,
.regions-overview,
.regional-news,
.news-overview,
.editor-picks,
.opinions,
.in-depth-reporting {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 32px;
  box-shadow: var(--shadow-md);
}
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #f7fafc;
  border-radius: 32px;
}

.card-container,
.news-teaser-grid,
.feature-grid,
.editor-profiles,
.regional-news-grid,
.opinion-articles-grid,
.featured-articles,
.featured-reports-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section,
.contact-info.support-channels,
.map-location {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(26,58,107,0.06);
  position: relative;
  border: 1px solid #edf1f6;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CARDS -------------------------------------------------------------- */
.news-teaser-grid article,
.regional-news-grid article,
.latest-news-list li,
.opinion-articles-grid article,
.featured-articles article,
.featured-reports-list article,
.editor-profiles > div {
  margin-bottom: 20px;
  background: var(--gradient-card);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 24px 20px 20px 20px;
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.news-teaser-grid article:hover,
.regional-news-grid article:hover,
.latest-news-list li:hover,
.opinion-articles-grid article:hover,
.featured-articles article:hover,
.featured-reports-list article:hover,
.editor-profiles > div:hover {
  box-shadow: 0 8px 24px 0 rgba(30,48,91,0.12);
  transform: translateY(-4px) scale(1.025);
}

/* CATEGORY TAGS & METADATA ------------------------------------------- */
.category-tag {
  background: #e7f0fd;
  color: #20539c;
  font-size: 0.87rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 5px 12px;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 5px;
}

/* BUTTONS ----------------------------------------------------------- */
button,
input[type="button"],
input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 28px;
  border-radius: 24px;
  border: none;
  color: #fff;
  background: var(--gradient-accent);
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(26,58,107,0.08);
  margin-right: 8px;
  margin-bottom: 8px;
  transition: background 0.2s, color 0.2s, transform 0.16s;
}
button:hover,
button:focus,
input[type="button"]:hover,
input[type="submit"]:hover {
  background: linear-gradient(90deg, #F2AC09 0%, #1A3A6B 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.025);
}
.news-categories-tabs button,
.sort-and-filter-controls button,
.topic-filters button {
  background: #e7f0fd;
  color: #1A3A6B;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 20px;
  border: none;
  box-shadow: none;
  margin-bottom: 0;
  margin-right: 8px;
  margin-top: 10px;
  transition: background 0.18s, color 0.18s;
}
.news-categories-tabs button:hover,
.news-categories-tabs button:focus,
.sort-and-filter-controls button:hover,
.sort-and-filter-controls button:focus,
.topic-filters button:hover,
.topic-filters button:focus {
  background: #1A3A6B;
  color: #fff;
}

/* FORMS & SELECTS ---------------------------------------------------- */
select {
  appearance: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 24px 8px 12px;
  border: 1px solid #d4deee;
  border-radius: 18px;
  background: #f6f7fa url('data:image/svg+xml;utf8,<svg fill="%231A3A6B" height="20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 12px center/16px 16px;
  color: #1A3A6B;
  margin-bottom: 20px;
  min-width: 180px;
  transition: border 0.18s;
}
select:focus {
  border-color: #1A3A6B;
  outline: none;
}

input, textarea {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid #e1e8f0;
  padding: 9px 14px;
  margin-bottom: 14px;
  background: #f6f7fa;
  color: #21324a;
  transition: border 0.2s;
}
input:focus, textarea:focus {
  border-color: #1A3A6B;
  outline: none;
}

/* LISTS ------------------------------------------------------------- */
.latest-news-list,
.region-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 32px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.latest-news-list li,
.region-list li {
  flex: 1 1 310px;
  margin-bottom: 0px;
  border-radius: 18px;
  background: var(--gradient-card);
  box-shadow: 0 2px 16px rgba(30,48,91,0.06);
  padding: 18px;
  min-width: 200px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.region-list a {
  color: #1A3A6B;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  display: inline-block;
  padding: 10px 8px;
  border-radius: 10px;
  background: #f6f8fc;
  margin-bottom: 0px;
  transition: background 0.15s, color 0.18s;
}
.region-list a:hover,
.region-list a:focus {
  background: #1A3A6B;
  color: #fff;
}

/***** TESTIMONIALS CARDS – HIGH CONTRAST FOR READABILITY *************/
.testimonials {
  background: #f7fafc;
}
.testimonial-card {
  background: #fff;
  color: #21263a;
  border: 1px solid #e1e8f0;
}
.testimonial-card p {
  color: #21263a;
  font-size: 1.09rem;
  font-style: italic;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #1A3A6B;
  margin-left: 16px;
}

/* FOOTER ------------------------------------------------------------ */
footer {
  background: #1A3A6B;
  color: #fff;
  padding: 40px 0 20px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-bottom: 26px;
}
.footer-nav a {
  color: #F2AC09;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-right: 6px;
  transition: color 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
}
.footer-contact img {
  margin-bottom: 10px;
  max-width: 120px;
}
.footer-contact p {
  color: #f9ede0;
  font-size: 1rem;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 7px;
}

/* QUICK LINKS SECTION ------------------------------------------------- */
.quick-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 28px 0 0 0;
}
.quick-links a {
  background: #1A3A6B;
  color: #fff;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 18px;
  border-radius: 16px;
  transition: background 0.15s, color 0.18s;
}
.quick-links a:hover,
.quick-links a:focus {
  background: #F2AC09;
  color: #1A3A6B;
}

/* SMALL|GENERAL SECTIONS --------------------------------------------- */
.region-map,
.map-location {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.author-bios ul {
  padding-left: 24px;
}
.support-channels p,
.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.confirmation-section,
.about-section,
.team-section,
.values-section,
.privacy-policy,
.cookies-policy,
.gdpr-info,
.terms {
  background: #fff;
}

/* RESPONSIVE FLEXBOX OVERRIDES --------------------------------------- */
@media (max-width: 1000px) {
  .card-container,
  .news-teaser-grid,
  .feature-grid,
  .editor-profiles,
  .regional-news-grid,
  .opinion-articles-grid,
  .featured-articles,
  .featured-reports-list,
  .content-grid, .region-list, .latest-news-list {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15.6px;
  }
  .section,
  .about-section,
  .team-section, .values-section, .contact-section,
  .confirmation-section,
  .privacy-policy, .cookies-policy, .gdpr-info, .terms,
  .news-highlights,
  .features,
  .subscribe,
  .regions-overview,
  .regional-news,
  .news-overview,
  .editor-picks,
  .opinions,
  .in-depth-reporting {
    padding: 28px 8px;
    border-radius: 18px;
    margin-bottom: 36px;
  }
  .testimonials {
    padding: 24px 5px;
    border-radius: 15px;
    margin-bottom: 36px;
  }
  .hero {
    border-radius: 15px;
    min-height: 170px;
    padding: 28px 0;
    margin-bottom: 36px;
  }
  .footer-contact img {
    max-width: 100px;
  }
}
@media (max-width: 768px) {
  .text-image-section,
  .contact-info.support-channels,
  .map-location {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
  }
}
@media (max-width: 560px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.27rem;
  }
  .container {
    padding: 0 4px;
  }
}


/* SMOOTH TRANSITIONS ON SECTION ENTRIES ------------------------------- */
.section, .hero, .card-container > *,
.news-teaser-grid > *, .feature-grid > *, .testimonial-card {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.75s cubic-bezier(.66,-0.07,.48,1.13), opacity 0.7s;
}
.section[data-animate], .hero[data-animate], .card-container > *[data-animate],
.testimonial-card[data-animate] {
  opacity: 0;
  transform: translateY(40px);
}

/* COOKIE CONSENT BANNER (FIXED) --------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  width: 95vw;
  max-width: 660px;
  background: #fff;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -6px 36px 0 rgba(26,58,107,0.18);
  padding: 24px 30px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #1A3A6B;
  opacity: 1;
  transition: transform 0.4s, opacity 0.36s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(80px);
}
.cookie-consent-message {
  flex: 1 0 0;
  margin-right: 20px;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-consent-banner button,
.cookie-consent-banner .cta-primary {
  padding: 8px 20px;
  border-radius: 22px;
  font-size: 0.98rem;
  min-width: 120px;
  margin-right: 0;
  margin-bottom: 0;
  background: linear-gradient(90deg, #1A3A6B 60%, #F2AC09 100%);
  color: #fff;
  border: none;
}
.cookie-consent-banner button.settings {
  background: #e7f0fd;
  color: #1A3A6B;
  font-weight: 600;
}
.cookie-consent-banner button.settings:hover, .cookie-consent-banner button.settings:focus {
  background: #1A3A6B;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 18px;
    padding: 18px 8px;
    font-size: 0.98rem;
  }
  .cookie-consent-message {
    margin-right: 0;
  }
  .cookie-consent-actions {
    flex-direction: row;
    gap: 10px;
  }
}
/* COOKIE MODAL OVERLAY/POPUP ------------------------------------------ */
.cookie-modal-backdrop {
  position: fixed;
  left:0; top:0; right:0; bottom:0;
  background: rgba(36,58,107,0.44);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.23s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 2px 32px 0 rgba(26,58,107,0.11);
  padding: 40px 32px 32px 32px;
  min-width: 320px;
  max-width: 98vw;
  font-size: 1rem;
  z-index: 2210;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: cookie-modal-appear 0.35s cubic-bezier(.63,-0.05,.42,1.09);
}
@keyframes cookie-modal-appear {
  from { opacity: 0; transform: translateY(50px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.33rem;
  color: #1A3A6B;
  margin-bottom: 10px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.cookie-modal-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #F2AC09;
  width: 22px;
  height: 22px;
}
.cookie-modal-category .always-on {
  padding: 3px 22px;
  background: #ebebeb;
  border-radius: 16px;
  color: #1A3A6B;
  font-size: 0.92rem;
  margin-left: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  padding: 8px 18px;
  border-radius: 18px;
  min-width: 110px;
}

@media (max-width: 520px) {
  .cookie-modal {
    padding: 22px 6px 10px 6px;
    border-radius: 20px;
    min-width: 0;
  }
}

/* MISC. --------------------------------------------------------------*/

body::-webkit-scrollbar {
  width: 10px;
  background: #EAEAEA;
}
body::-webkit-scrollbar-thumb {
  background: #b7c5dc;
  border-radius: 6px;
}

::-selection {
  background: #F2AC09;
  color: #fff;
}

/* Utility Classes --------------------------------------------------- */
.mt-16 { margin-top: 16px; }
.mb-24 { margin-bottom: 24px; }
.d-flex { display: flex; }
.items-center { align-items: center; }
.gap-20 { gap: 20px; }


/*************************************************************/
/*                  END OF STYLE.CSS                        */
/*************************************************************/
