/* JustBeGreen World News — readable, responsive stylesheet */
:root {
  --navy: #14223a;
  --green: #217b28;
  --deep-green: #075c26;
  --light-green: #9bd976;
  --blue: #93d9f2;
  --text: #202a39;
  --container: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--text); background: #fff; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(calc(100% - 64px), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 12px; padding: 12px; background: #fff; z-index: 100; }
.skip-link:focus { top: 10px; }

/* Translation strip */
.translate-bar { background: linear-gradient(90deg, #087237, #4c8e24); color: #fff; min-height: 36px; }
.translate-inner { min-height: 36px; display: flex; align-items: center; gap: 12px; font-size: 12px; }
.translate-label { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.translate-label > span:first-child { font-size: 23px; line-height: 1; }
.translate-credit { border-left: 1px solid #ffffff88; padding-left: 12px; opacity: .92; }
.social-links { margin-left: auto; }
.social-links a { color: #fff; text-decoration: none; font-size: 18px; }
#google_translate_element { min-width: 100px; }
#google_translate_element select { max-width: 160px; border: 0; border-radius: 3px; padding: 3px; color: #172c1c; background: #fff; }
.goog-te-gadget { color: transparent !important; font-size: 0 !important; }
.goog-te-gadget span, .goog-te-gadget a { font-size: 0 !important; }
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }

/* Header */
.site-header { background: #fff; position: relative; z-index: 20; }
.header-inner { min-height: 146px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { flex: 0 1 430px; }
.brand img { width: 100%; height: auto; }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: clamp(12px, 1.7vw, 28px); }
.primary-nav a { text-decoration: none; color: var(--navy); text-transform: uppercase; font-size: 12px; font-weight: 700; padding: 10px 0; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav a.active { color: var(--deep-green); border-bottom-color: var(--green); }
.menu-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 12px; }
.menu-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--navy); border-radius: 3px; }

/* Hero */
.hero { min-height: 460px; position: relative; display: flex; align-items: center; background: linear-gradient(90deg, rgba(0, 20, 30, .58), rgba(0, 0, 0, .02) 75%), url('images/hero_bkgd.png') center center / cover no-repeat; color: #fff; overflow: hidden; }
.hero-content { position: relative; z-index: 1; padding-block: 45px 55px; }
.eyebrow { margin: 0 0 15px; font-size: 13px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; }
.hero-eyebrow { font-size: clamp(10px, 1vw, 13px); text-shadow: 0 1px 5px #0009; }
.hero h1 { margin: 0; line-height: .98; letter-spacing: -.055em; text-shadow: 0 2px 9px #0006; }
.hero-name { display: block; font-size: clamp(46px, 6.5vw, 91px); font-weight: 800; }
.hero-world { display: block; font-size: clamp(43px, 6vw, 84px); font-weight: 400; letter-spacing: -.045em; }
.hero .blue { color: var(--blue); }
.hero .green { color: var(--light-green); }
.hero-description { margin: 19px 0 20px; font-size: clamp(17px, 1.8vw, 23px); line-height: 1.35; text-shadow: 0 2px 5px #0009; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 14px 23px; border-radius: 6px; color: #fff; text-decoration: none; text-transform: uppercase; font-size: 13px; font-weight: 800; transition: transform .2s, filter .2s; }
.button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.button-primary { background: linear-gradient(#5b9d3b, #126328); border: 1px solid #a6d98d; box-shadow: 0 3px 8px #0002; }
.hero-script { position: absolute; right: max(3%, calc((100% - var(--container)) / 2)); bottom: 20px; margin: 0; text-align: center; font-family: 'Brush Script MT', 'Segoe Script', cursive; font-style: italic; font-size: clamp(21px, 2.5vw, 36px); line-height: 1.05; transform: rotate(-8deg); text-shadow: 0 2px 5px #000; }

/* Five feature pillars */
.pillars { padding: 30px 0 28px; background: #fff; }
.pillars-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.pillar { min-height: 145px; padding: 0 15px; text-align: center; border-right: 1px solid #d5d9df; }
.pillar:last-child { border: 0; }
.pillar-icon { display: block; height: 53px; font-family: Georgia, serif; font-size: 54px; line-height: 1; color: #26912f; }
.pillar h2 { margin: 5px 0 7px; text-transform: uppercase; color: var(--navy); font-size: 16px; line-height: 1.12; }
.pillar p { margin: 0; font-size: 14px; line-height: 1.32; }

/* Mission */
.mission { min-height: 315px; display: flex; align-items: center; background: url('images/mission_bkgd.png') center / cover no-repeat; }
.mission-inner { display: flex; justify-content: flex-end; }
.mission-copy { width: 52%; padding: 35px 0; }
.section-eyebrow { color: var(--deep-green); margin-bottom: 12px; }
.mission h2 { margin: 0 0 16px; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.1; letter-spacing: -.04em; color: var(--navy); }
.mission h2 span { color: var(--green); }
.mission p:not(.eyebrow) { font-size: 16px; line-height: 1.4; margin: 0 0 16px; }

/* Categories */
.content-section { padding: 26px 0 34px; background: #f9fafb; }
.section-title { margin: 0 0 28px; text-align: center; color: var(--navy); text-transform: uppercase; letter-spacing: .42em; font-size: 15px; }
.section-title::after { content: ''; display: block; width: 50px; height: 2px; margin: 13px auto 0; background: var(--green); }
.category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.category-card { display: block; background: #fff; text-decoration: none; text-align: center; box-shadow: 0 3px 14px #1b34400a; transition: transform .2s, box-shadow .2s; }
.category-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px #1b344022; }
.category-card img { width: 100%; aspect-ratio: 1.4; object-fit: cover; }
.category-card h3 { margin: 12px 6px 9px; color: var(--navy); text-transform: uppercase; font-size: 12px; line-height: 1.15; }
.category-card p { margin: 0; padding: 0 10px 18px; font-size: 13px; line-height: 1.4; }

/* Landscape call to action and footer */
.movement { min-height: 150px; background: linear-gradient(#ffffff30, #0000001c), url('images/footer_bkgd.png') center 57% / cover no-repeat; }
.movement-inner { min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; text-align: center; }
.movement h2 { margin: 0; color: #18243b; font-size: clamp(18px, 2vw, 25px); text-shadow: 0 1px 8px #fff; }
.site-footer { padding: 25px 0 14px; color: #fff; background: #202425; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { width: 245px; flex: 0 0 245px; background: #fff; padding: 4px; border-radius: 3px; }
.footer-main nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.footer-main nav a, .footer-email { color: #fff; font-size: 11px; text-transform: uppercase; text-decoration: none; }
.footer-main a:hover, .footer-bottom a:hover { text-decoration: underline; }
.footer-email { font-size: 24px; }
.division { margin: 7px 0 20px; text-align: center; text-transform: uppercase; letter-spacing: .28em; font-size: 10px; color: #d0d0d0; }
.footer-bottom { border-top: 1px solid #555; padding-top: 12px; display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: #ddd; }
.footer-bottom a { color: #fff; }

@media (max-width: 1050px) {
  .header-inner { min-height: 110px; }
  .brand { flex-basis: 320px; }
  .primary-nav { gap: 11px; }
  .primary-nav a { font-size: 10px; }
  .hero { min-height: 410px; }
  .hero-script { right: 25px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-card img { aspect-ratio: 1.8; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .translate-inner { gap: 6px; flex-wrap: wrap; padding-block: 5px; }
  .translate-credit, .social-links { display: none; }
  .header-inner { min-height: 84px; }
  .brand { flex: 0 1 280px; }
  .menu-toggle { display: block; flex-shrink: 0; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 10px 20px 20px; background: #fff; box-shadow: 0 8px 16px #0002; flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { font-size: 14px; padding: 13px 8px; border-bottom: 1px solid #e5e5e5; }
  .hero { min-height: 470px; background-position: 57% center; }
  .hero-content { padding-block: 45px 90px; }
  .hero-name { font-size: clamp(42px, 8.5vw, 65px); }
  .hero-world { font-size: clamp(38px, 8vw, 60px); }
  .hero-description { font-size: 17px; }
  .hero-script { right: 22px; bottom: 15px; font-size: 22px; }
  .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
  .pillar:nth-child(2n) { border-right: 0; }
  .pillar:last-child { grid-column: 1 / -1; }
  .mission { background-position: 28% center; position: relative; }
  .mission::before { content: ''; position: absolute; inset: 0; background: #ffffffc9; }
  .mission-inner { position: relative; }
  .mission-copy { width: 100%; padding: 45px 0; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { flex-direction: column; }
  .footer-main nav { gap: 15px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

@media (max-width: 420px) {
  .brand { flex-basis: 230px; }
  .hero-name { font-size: 40px; }
  .hero-world { font-size: 36px; }
  .hero-eyebrow { letter-spacing: .18em; }
  .desktop-break { display: none; }
  .category-grid { gap: 8px; }
  .category-card h3 { font-size: 11px; }
  .category-card p { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
