/* ============================================================
   Grand Canyon Foundation — static site base stylesheet
   Mini-Flatsome grid + brand tokens (Poppins / #b85511 / #000)
   ============================================================ */

/* ---------- tokens & reset ---------- */
:root {
  --primary: #000000;
  --secondary: #b85511;
  --success: #627D47;
  --alert: #b20000;
  --ink: #1d1d1d;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --bg-soft: #f1f1f1;
  --line: #e5e5e5;
  --header-h: 80px;
  --radius: 5px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400; font-style: normal;
  color: var(--ink); background: var(--bg);
  line-height: 1.6; font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
ul, ol { padding-left: 1.4em; }
li { margin: .3em 0; }
h1, h2, h3, h4, h5, h6, .heading-font {
  font-family: 'Poppins', sans-serif; font-weight: 700; color: #000;
  line-height: 1.25; margin: .6em 0 .4em;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.08rem; }
h5 { font-size: .95rem; }
h6 { font-size: .82rem; letter-spacing: .08em; }
p { margin: .7em 0; }
.alt-font { font-family: 'Dancing Script', cursive; font-weight: 400 !important; }
.uppercase { text-transform: uppercase; }
.is-smaller, .is-small-label { font-size: .8rem; }
strong { color: inherit; }
blockquote {
  border-left: 3px solid var(--secondary); padding: .5em 1.2em;
  margin: 1em 0; color: var(--muted); font-style: italic; background: #fafafa;
}
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5em 0; }
code, pre { font-family: ui-monospace, monospace; font-size: .9em; }

/* ---------- layout: container / section / row / col ---------- */
.container { max-width: 1270px; margin: 0 auto; padding: 0 30px; }
.container-width, .full-width .ubermenu-nav, .row { max-width: 1270px; }
.section { position: relative; padding: 40px 0; }
.section-content { position: relative; }
.section-bg, .section-bg-overlay { position: absolute; inset: 0; }
.section-bg img { width: 100%; height: 100%; object-fit: cover; }
.section-bg-overlay { background: rgba(0,0,0,.5); }
.section.dark { color: #fff; }
.section.dark h1, .section.dark h2, .section.dark h3,
.section.dark h4, .section.dark h5, .section.dark h6 { color: #fff; }

.row { display: flex; flex-wrap: wrap; margin: 0 -15px; width: calc(100% + 30px); }
.row-collapse { margin: 0; width: 100%; }
.row-small { margin: 0 -5px; width: calc(100% + 10px); }
.row-large { margin: 0 -20px; width: calc(100% + 40px); }
.col { position: relative; width: 100%; padding: 0 15px; }
.row-collapse > .col { padding: 0; }
.row-small > .col { padding: 0 5px; }
.row-large > .col { padding: 0 20px; }
.col-inner { position: relative; }
.gap-element { display: block; }

@media (min-width: 550px) {
  .medium-1 { width: 8.33%; } .medium-2 { width: 16.66%; }
  .medium-3 { width: 25%; }   .medium-4 { width: 33.33%; }
  .medium-5 { width: 41.66%; } .medium-6 { width: 50%; }
  .medium-7 { width: 58.33%; } .medium-8 { width: 66.66%; }
  .medium-9 { width: 75%; }   .medium-10 { width: 83.33%; }
  .medium-11 { width: 91.66%; } .medium-12 { width: 100%; }
}
@media (min-width: 850px) {
  .large-1 { width: 8.33%; } .large-2 { width: 16.66%; }
  .large-3 { width: 25%; }   .large-4 { width: 33.33%; }
  .large-5 { width: 41.66%; } .large-6 { width: 50%; }
  .large-7 { width: 58.33%; } .large-8 { width: 66.66%; }
  .large-9 { width: 75%; }   .large-10 { width: 83.33%; }
  .large-11 { width: 91.66%; } .large-12 { width: 100%; }
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.align-center { align-items: center; }
.align-middle { align-items: center; }
.hide-for-small { display: none; }
.show-for-small { display: block; }
@media (min-width: 550px) { .hide-for-small { display: block; } .show-for-small { display: none; } }
@media (max-width: 549px) { .res-text h1 { font-size: 1.6rem; } }

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  position: relative; margin: .35em .35em .35em 0; padding: .62em 1.25em;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .03em; line-height: 1.2;
  background: var(--primary); color: #fff; border: 2px solid var(--primary);
  border-radius: 4px; cursor: pointer; transition: all .2s; vertical-align: middle;
}
.button:hover { background: #222; color: #fff; }
.button.secondary { background: var(--secondary); border-color: var(--secondary); }
.button.secondary:hover { background: #9c470d; border-color: #9c470d; }
.button.white { background: #fff; border-color: #fff; color: #000; }
.button.white:hover { background: #eee; color: #000; }
.button.is-outline { background: transparent; color: var(--primary); }
.button.is-outline:hover { background: var(--primary); color: #fff; }
.button.secondary.is-outline { color: var(--secondary); border-color: var(--secondary); }
.button.secondary.is-outline:hover { background: var(--secondary); color: #fff; }
.button.white.is-outline { color: #fff; border-color: #fff; }
.button.is-link { background: none; border: 0; color: inherit; text-decoration: underline; padding: .2em 0; }
.button.is-link:hover { color: var(--secondary); }
.button.is-small { font-size: .72rem; padding: .5em 1em; }
.button.is-smaller { font-size: .64rem; padding: .4em .85em; }
.button.is-large { font-size: .95rem; padding: .8em 1.6em; }
.button.expand { width: 100%; margin-right: 0; }
.button.box-shadow-4-hover:hover { box-shadow: 0 8px 22px rgba(0,0,0,.28); transform: translateY(-1px); }
.button.reveal-icon i { transition: transform .2s; }
.button.reveal-icon:hover i { transform: translateX(3px); }
.icon-angle-right::after { content: "\203A"; font-style: normal; font-weight: 700; }

/* ---------- dividers / misc ---------- */
.is-divider { height: 2px; width: 56px; display: block; background: var(--secondary); margin: .8em 0; }
.is-divider.small { width: 30px; }
.label .label-new, .label-new.menu-item > a:after {
  content: "New"; background: var(--secondary); color: #fff; font-size: .6rem;
  padding: .15em .5em; border-radius: 3px; margin-left: .5em; vertical-align: middle;
}

/* ---------- boxes (cards / gallery) ---------- */
.box { position: relative; margin: 0 auto; }
.box a { display: block; color: inherit; }
.box-image img { width: 100%; transition: transform .35s ease; }
.box:hover .box-image img { transform: scale(1.04); }
.box-text { padding-top: 12px; }
.box-text h3, .box-text h4 { margin: .2em 0; }
.box-shadow-2 { box-shadow: 0 3px 12px rgba(0,0,0,.12); }
.row-box-shadow-2 .col { box-shadow: 0 3px 12px rgba(0,0,0,.12); }
.box-none { box-shadow: none; }
.box-overlay .box-text {
  position: absolute; inset: auto 0 0 0; padding: 14px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
}
.box-overlay .box-text h3, .box-overlay .box-text h4,
.box-overlay .box-text a, .box-overlay .box-text p { color: #fff; }
.box-overlay:hover .overlay { opacity: 1; }
.box .overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.28);
  opacity: 0; transition: opacity .3s;
}
.gallery-box { margin-bottom: 1em; }
.gallery-col { margin-bottom: .6em; }
.lightbox-gallery, .image-lightbox { cursor: zoom-in; }
.attachment-medium, .size-medium { max-width: 100%; }

/* ---------- tables / documents ---------- */
table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .92rem; }
td, th { padding: .55em .7em; border: 1px solid var(--line); text-align: left; vertical-align: top; }
tr:nth-child(even) td { background: #fafafa; }

/* ---------- video embeds ---------- */
.video, .video-fit { position: relative; padding-top: 56.25%; height: 0; overflow: hidden; margin: .6em 0; }
.video iframe, .video-fit iframe, .wp-embedded-content iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}
iframe { max-width: 100%; }

/* ---------- page header band (subpages) ---------- */
.page-head {
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
              url('/wp-content/uploads/2024/08/GCF-2024-08-29-2.jpg') center 30%/cover no-repeat;
  color: #fff; text-align: center; padding: 64px 0 56px;
}
.page-head h1 { color: #fff; font-size: 2.2rem; letter-spacing: .04em; text-transform: uppercase; }
.page-head .crumb { color: rgba(255,255,255,.8); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: #fff; box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.header-logo img { max-height: 58px; width: auto; }
.nav-wrap { display: none; }
@media (min-width: 1000px) { .nav-wrap { display: block; } }
.nav-main { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-main > li { position: relative; margin: 0; }
.nav-main > li > a {
  display: flex; align-items: center; gap: 5px; padding: 10px 11px;
  color: #000; font-weight: 700; font-size: .72rem; letter-spacing: .04em;
  text-transform: uppercase; border-bottom: 2px solid transparent;
}
.nav-main > li > a:hover, .nav-main > li.active > a { color: var(--secondary); }
.nav-main > li > a .caret { font-size: .6rem; opacity: .6; }
.nav-main > li > ul {
  position: absolute; top: 100%; left: 0; min-width: 230px; list-style: none;
  background: #fff; border: 1px solid #000; border-radius: var(--radius);
  padding: 8px 0; margin: 0; box-shadow: 0 10px 26px rgba(0,0,0,.14);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .18s ease; z-index: 99;
}
.nav-main > li:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-main li ul li { position: relative; }
.nav-main li ul li ul {
  position: absolute; top: -9px; left: 100%; min-width: 230px; list-style: none;
  background: #fff; border: 1px solid #000; border-radius: var(--radius);
  padding: 8px 0; margin: 0; box-shadow: 0 10px 26px rgba(0,0,0,.14);
  opacity: 0; visibility: hidden; transition: all .18s ease; z-index: 99;
}
.nav-main li ul li:hover > ul { opacity: 1; visibility: visible; }
.nav-main li ul a {
  display: block; padding: 9px 18px; color: #000; font-weight: 700;
  font-size: .74rem; letter-spacing: .04em; text-transform: uppercase;
}
.nav-main li ul a:hover { color: var(--secondary); background: #fafafa; }

/* burger + mobile nav */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
}
.burger span { display: block; height: 2px; width: 100%; background: #000; transition: all .2s; }
@media (min-width: 1000px) { .burger { display: none; } }
.mobile-nav-panel {
  position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px); background: #fff;
  z-index: 200; padding: 24px; overflow-y: auto; transform: translateX(100%);
  transition: transform .25s ease; box-shadow: -8px 0 30px rgba(0,0,0,.2);
}
.mobile-nav-panel.open { transform: translateX(0); }
.mobile-nav-panel .m-close {
  position: absolute; top: 10px; right: 10px; font-size: 1.6rem; background: none;
  border: 0; cursor: pointer; line-height: 1; padding: 8px;
}
.mobile-nav { list-style: none; margin: 18px 0 0; padding: 0; }
.mobile-nav li { margin: 0; border-bottom: 1px solid var(--line); }
.mobile-nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 4px; color: #000; font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .03em;
}
.mobile-nav .m-sub { list-style: none; margin: 0; padding: 0 0 8px 14px; }
.mobile-nav .m-sub a { font-weight: 400; text-transform: none; font-size: .86rem; color: var(--ink); }
.nav-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 150; opacity: 0; pointer-events: none; transition: opacity .25s; }
.nav-scrim.show { opacity: 1; pointer-events: auto; }

/* ---------- hero slider ---------- */
.hero { position: relative; overflow: hidden; background: #111; }
.hero-track { display: flex; transition: transform .55s ease; }
.hero-slide { position: relative; min-width: 100%; aspect-ratio: 16 / 9; }
@media (max-width: 700px) { .hero-slide { aspect-ratio: 4 / 5; } }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide .hero-shade { position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.hero-copy {
  position: absolute; left: 50%; top: 24%; transform: translateX(-50%);
  width: 80%; text-align: center; color: #fff; z-index: 2;
}
.hero-copy h6 {
  color: #fff; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: .5em; text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.hero-copy h1 {
  color: #fff; text-transform: uppercase; font-size: clamp(1.5rem, 4.4vw, 3rem);
  letter-spacing: .03em; margin: 0 0 .6em; text-shadow: 0 3px 16px rgba(0,0,0,.55);
}
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.85); color: #000; font-size: 1.25rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.hero-nav:hover { background: #fff; }
.hero-nav.prev { left: 14px; } .hero-nav.next { right: 14px; }
.hero-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 9px; z-index: 5; }
.hero-dots button {
  width: 11px; height: 11px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.5); transition: all .2s; padding: 0;
}
.hero-dots button.on { background: #fff; transform: scale(1.25); }

/* ---------- newsletter / forms ---------- */
.news-band { background: #111; color: #fff; padding: 56px 0; }
.news-band h2 { color: #fff; }
.news-band .sub { color: rgba(255,255,255,.75); max-width: 560px; margin: .4em auto 1.4em; font-size: .92rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: left; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.f-label { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 5px; }
.f-label .req { color: var(--secondary); }
.form-grid input[type=text], .form-grid input[type=email], .form-grid input[type=tel],
.form-grid textarea {
  width: 100%; padding: 12px 14px; border-radius: 4px; border: 1px solid #444;
  background: #1b1b1b; color: #fff; font-family: inherit; font-size: .92rem;
}
.form-grid input:focus, .form-grid textarea:focus { outline: 2px solid var(--secondary); border-color: var(--secondary); }
.form-grid textarea { min-height: 96px; resize: vertical; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: rgba(255,255,255,.75); margin: 6px 0 2px; }
.form-check input { margin-top: 3px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-note { font-size: .78rem; color: rgba(255,255,255,.65); margin-top: 10px; }
.form-ok, .form-err { border-radius: 4px; padding: 12px 16px; margin: 12px 0; font-size: .9rem; }
.form-ok { background: var(--success); color: #fff; }
.form-err { background: var(--alert); color: #fff; }

/* light-theme form (contact page) */
.form-light .f-label { color: var(--muted); }
.form-light input[type=text], .form-light input[type=email],
.form-light input[type=tel], .form-light textarea {
  background: #fff; color: var(--ink); border-color: #ccc;
}
.form-light .form-check { color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { position: relative; color: #d9d9d9; background: #111; }
.site-footer .footer-bg { position: absolute; inset: 0; overflow: hidden; }
.site-footer .footer-bg img { width: 100%; height: 100%; object-fit: cover; }
.site-footer .footer-inner { position: relative; padding: 64px 0 0; background: rgba(0,0,0,.72); }
.footer-logo img { max-height: 66px; margin: 0 auto 14px; }
.footer-tag { text-align: center; font-size: .84rem; color: #bbb; max-width: 620px; margin: 0 auto 30px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-links a { color: #eee; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 700; }
.footer-links a:hover { color: var(--secondary); }
.footer-social { display: flex; justify-content: center; gap: 14px; margin: 26px 0 8px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; color: #fff;
  background: rgba(255,255,255,.12); transition: all .2s;
}
.footer-social a:hover { background: var(--secondary); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.pay-row { display: flex; justify-content: center; gap: 10px; margin: 18px 0 24px; }
.pay-badge {
  font-size: .6rem; font-weight: 700; letter-spacing: .05em; color: #ddd;
  border: 1px solid rgba(255,255,255,.28); border-radius: 3px; padding: 4px 8px;
  text-transform: uppercase;
}
.copyright { text-align: center; font-size: .76rem; color: #999; padding: 18px 0 22px; }

/* ---------- lightbox ---------- */
.lb-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 300;
  display: none; align-items: center; justify-content: center; cursor: zoom-out;
}
.lb-backdrop.open { display: flex; }
.lb-backdrop img { max-width: 92vw; max-height: 90vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.6); }

/* ---------- 404 ---------- */
.err-wrap { text-align: center; padding: 110px 20px; }
.err-wrap .code { font-size: 5rem; font-weight: 700; color: var(--secondary); line-height: 1; }
.err-wrap h1 { font-size: 1.4rem; text-transform: uppercase; letter-spacing: .06em; }
.err-wrap p { color: var(--muted); margin: .8em 0 1.6em; }

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.wpcf7, .forminator-ui { all: unset; }
.forminator-module-edit-link, .forminator-edit-module { display: none !important; }
img attachment-original { max-width: 100%; }
