/*
Theme Name: Tamegonit Lodge & Chapter Hosting
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Tamegonit Lodge & Chapter Hosting is a child theme of Hello Elementor for Tamegonit Lodge & Chapter use.
Author: Tamegonit Lodge, Order of the Arrow, Scouting America
Author URI: https://tamegonit.net/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Add your custom styles here */

/* =================================================
   ORDER OF THE ARROW — GLOBAL THEME
   Heritage • Service • Ceremony • Outdoors
================================================= */

:root {
  --oa-bg-dark: #1e1e1e;
  --oa-bg-panel: #ffffff;
  --oa-bg-muted: #f6f4ef;

  --oa-text-dark: #1f1f1f;
  --oa-text-muted: #555;
  --oa-text-light: #ffffff;

  --oa-red: #b11226;
  --oa-red-dark: #8e0e1e;
  --oa-gold: #c7a44a;

  --oa-border: rgba(0,0,0,0.12);
}


#wpadminbar {
    background: #212a30;
}

.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
    color: #fff;
}

#wpadminbar .ab-top-menu>li.hover>.ab-item,
#wpadminbar .nojq .quicklinks .ab-top-menu>li>.ab-item:focus,
#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,
#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus {
    color: #fff;
    background-color: #E31837;
}

#wpadminbar .menupop .ab-sub-wrapper, #wpadminbar .shortlink-input {
    background-color: #212a30;
}

#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,
#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label,
#wpadminbar>#wp-toolbar li.hover span.ab-label {
    color: #fff;
}

#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,
#wpadminbar .quicklinks .menupop ul li a:focus,
#wpadminbar .quicklinks .menupop ul li a:focus strong,
#wpadminbar .quicklinks .menupop ul li a:hover,
#wpadminbar .quicklinks .menupop ul li a:hover strong,
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
#wpadminbar .quicklinks .menupop.hover ul li div[tabindex]:focus,
#wpadminbar .quicklinks .menupop.hover ul li div[tabindex]:hover,
#wpadminbar li #adminbarsearch.adminbar-focused:before,
#wpadminbar li .ab-item:focus .ab-icon:before,
#wpadminbar li .ab-item:focus:before,
#wpadminbar li a:focus .ab-icon:before,
#wpadminbar li.hover .ab-icon:before,
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before,
#wpadminbar li:hover .ab-icon:before,
#wpadminbar li:hover .ab-item:before,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover {
    color: #fff;
}



/* =================================================
   NAVBAR / HEADER
================================================= */

#masthead {
  background: #ffffff;
  border-bottom: 4px solid var(--oa-red);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

nav a {
  color: var(--oa-text-dark);
  text-decoration: none;
  margin: 0 14px;
  font-weight: 600;
  position: relative;
}


/* =========================================================
   TAMEGONIT LODGE — GLOBAL UI STYLESHEET
========================================================= */


/* =========================================================
   HERO — TAMEGONIT LODGE
========================================================= */

.oa-hero {
  position: relative;
  color: var(--oa-text-light);
  min-height: 55vh;
  border-bottom: 4px solid var(--oa-red);
  background-color: var(--oa-bg-dark);
}

/* Dark overlay for readability */
.oa-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  );
  z-index: 1;
}

/* Ensure content layers above overlay */
.oa-hero > .elementor-container {
  position: relative;
  z-index: 2;
}


/* =========================================================
   HERO INNER CONTAINER
========================================================= */

.oa-hero__wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 60px;
  padding-bottom: 60px;
}

.oa-hero__container {
  z-index: 2;
}


/* =========================================================
   HERO TEXT STYLES
========================================================= */

.oa-hero__title {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  color: var(--oa-red);
}

.oa-hero__subtitle {
  font-size: 1.1rem;
  color: var(--oa-text-light);
  opacity: 0.92;
  margin-bottom: 6px;
}

.oa-hero__mission {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--oa-gold);
  margin-bottom: 22px;
}


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

.oa-hero__mascot {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: right;
}

.oa-hero__mascot img {
  max-width: 240px;
  opacity: 0.82;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.35));
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Subtle hover life */
.oa-hero__mascot img:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}


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

.oa-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}

/* Normalize Elementor hero buttons */
.oa-hero__buttons .elementor-button {
  padding: 12px 20px;
  font-size: 0.95rem !important;
  font-weight: 700;
  border-radius: 6px;
  line-height: 1.2;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-width: 2px;
  min-height: 48px;
}


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

@media (max-width: 900px) {
  .oa-hero__mascot {
    display: none;
  }

  .oa-hero__container {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}


/* =========================================================
   OA SECTION BASE
========================================================= */

.oa-section {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Vertical spacing only — DO NOT reset X padding */
.section-tight {
  padding-top: 40px;
  padding-bottom: 40px;
}

.section-normal {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section-spacious {
  padding-top: 96px;
  padding-bottom: 96px;
}

/* Tablet */
@media (max-width: 1024px) {
  .oa-section {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .oa-section {
    padding-left: 18px;
    padding-right: 18px;
  }
}

.oa-section__title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--oa-text-dark);
  margin-bottom: 8px;
}

.oa-section__subtitle {
  font-size: 1.05rem;
  color: var(--oa-text-muted);
  margin-bottom: 32px;
  max-width: 720px;
}


/* =========================================================
   SECTION BACKGROUNDS & DIVIDERS
========================================================= */

.oa-section.section-bg--secondary {
  background: #e6e7e8;
}

.oa-section.section-bg--forest {
  background: url(https://tamegonit.net/wp-content/uploads/2026/01/forest-bg.png);
  background-position: 0% 83%;
  background-size: cover;
  min-height: 80vh;
}

.oa-section.section-bg--muted {
  background: var(--oa-bg-muted);
}

.oa-section.border-shadow {
  box-shadow: inset 0 -6px 16px rgba(0,0,0,0.06),
              inset 0  6px 16px rgba(0,0,0,0.06);
  border-top: 2px solid var(--oa-red);
  border-bottom: 2px solid var(--oa-red);
}


/* =========================================================
   OA CARD GRID
========================================================= */

.oa-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}


/* =========================================================
   OA CARD BASE
========================================================= */

.oa-card {
  background: var(--oa-bg-panel);
  border: 1px solid var(--oa-border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.oa-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(0,0,0,0.16);
}


/* =========================================================
   CARD VARIANTS — BANNER
========================================================= */

.card-banner {
  padding: 0;
  padding-bottom: 72px;
}

.card-banner .oa-card__content {
  padding: 28px 24px;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.oa-card__icon img {
  max-width: 100px;
  margin-bottom: 14px;
}

.oa-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--oa-red);
  margin-bottom: 10px;
}

.oa-card__text {
  font-size: 0.95rem;
  color: var(--oa-text-muted);
  line-height: 1.55;
}

/* Fix list wrapping inside OA cards */
.oa-card ul,
.oa-card ol {
  padding-left: 1.2em;
  margin: 0.6em 0;
}

.oa-card li {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.5;
}
.oa-card a {
  word-break: break-word;
  overflow-wrap: anywhere;
}
.oa-card ul {
  list-style: none;
  padding-left: 0;
}

.oa-card li {
  padding-left: 0.4em;
}

.oa-card .a-button {
  margin-top: auto; /* pushes button to bottom */
}
.disable-buttons .a-button {
  pointer-events: none;
  cursor: default;
  opacity: 0.5;
}


/* =========================================================
   OA PRICE — BASE
========================================================= */

.oa-card .oa-card__price {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--oa-text-dark);
  margin: 6px 0 2px;
  line-height: 1.1;
}

/* Old price (hidden unless tier enabled) */
.oa-card .price--old {
  display: none;
  font-size: 0.95rem;
  text-decoration: line-through;
  opacity: 0.55;
  margin-top: 2px;
  line-height: 1;
}

/* Show old price for discount/free */
.oa-card.oa-card--discount .price--old,
.oa-card.oa-card--special .price--old,
.oa-card.oa-card--free .price--old {
  display: block;
}

/* =========================================================
   OA CARD — TIER STYLES (HIGH SPECIFICITY)
========================================================= */

/* DISCOUNT */
.oa-card.oa-card--discount {
  border: 2px solid var(--oa-red);
  box-shadow: 0 10px 26px rgba(177, 18, 38, 0.18);
}

/* FEATURED */
.oa-card.oa-card--featured {
  border: 2px solid var(--oa-gold);
  box-shadow: 0 14px 34px rgba(199, 164, 74, 0.28);
  transform: translateY(-3px);
}

/* FREE */
.oa-card.oa-card--free {
  border: 2px solid #2ea44f;
  box-shadow: 0 10px 24px rgba(46, 164, 79, 0.18);
}

/* SPECIAL */
.oa-card.oa-card--special {
  border: 2px solid #7c3aed;
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.22);
}

/* POPULAR */
.oa-card.oa-card--popular {
  border: 2px solid #f59e0b;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.22);
}

/* LIMITED */
.oa-card.oa-card--limited {
  border: 2px solid #dc2626;
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.22);
}

/* STAFF */
.oa-card.oa-card--staff {
  border: 2px solid #64748b;
  box-shadow: 0 10px 22px rgba(100, 116, 139, 0.2);
}

/* SOLD OUT */
.oa-card.oa-card--soldout {
  border: 1px dashed rgba(0,0,0,0.25);
  opacity: 0.55;
  pointer-events: none;
}

/* =========================================================
   OA PRICE BADGE — BASE
========================================================= */

.oa-card .oa-price__badge {
  display: none;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white !important;
  margin-bottom: 10px;
  line-height: 1;
  white-space: nowrap;
  height:25px;
}

/* Default empty label */
.oa-card .oa-price__badge::before {
  content: "";
}

/* =========================================================
   OA PRICE BADGE — LABELS BY TIER
========================================================= */

/* DISCOUNT */
.oa-card.oa-card--discount .oa-price__badge {
  display: block;
  background: var(--oa-red);
}
.oa-card.oa-card--discount .oa-price__badge::before {
  content: "Discount";
}

/* FEATURED */
.oa-card.oa-card--featured .oa-price__badge {
  display: block;
  background: var(--oa-gold);
  color: black;
}
.oa-card.oa-card--featured .oa-price__badge::before {
  content: "Featured";
}

/* FREE */
.oa-card.oa-card--free .oa-price__badge {
  display: block;
  background: #2ea44f;
}
.oa-card.oa-card--free .oa-price__badge::before {
  content: "Free";
}

/* SPECIAL */
.oa-card.oa-card--special .oa-price__badge {
  display: block;
  background: #7c3aed;
}
.oa-card.oa-card--special .oa-price__badge::before {
  content: "Special";
}

/* POPULAR */
.oa-card.oa-card--popular .oa-price__badge {
  display: block;
  background: #f59e0b;
}
.oa-card.oa-card--popular .oa-price__badge::before {
  content: "Popular";
}

/* LIMITED */
.oa-card.oa-card--limited .oa-price__badge {
  display: block;
  background: #dc2626;
}
.oa-card.oa-card--limited .oa-price__badge::before {
  content: "Limited";
}

/* SOLD OUT */
.oa-card.oa-card--soldout .oa-price__badge {
  display: block;
  background: #777;
}
.oa-card.oa-card--soldout .oa-price__badge::before {
  content: "Sold Out";
}

/* STAFF */
.oa-card.oa-card--staff .oa-price__badge {
  display: block;
  background: #64748b;
}
.oa-card.oa-card--staff .oa-price__badge::before {
  content: "Staff";
}





/* =========================================================
   CARD RESPONSIVE
========================================================= */

@media (max-width: 1050px) {
  .oa-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .oa-card-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   INTRO BLURB / MISSION BLOCK
========================================================= */

.oa-intro-blurb {
  padding: 28px 20px 12px;
}

.oa-intro-blurb p {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--oa-text-muted);
}

.oa-intro-blurb::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  background: var(--oa-gold);
  margin: 16px auto 0;
}


/* =========================================================
   ABOUT CTA BUTTON STYLE
========================================================= */

.oa-about-btn .elementor-button-link,
.a-button.btn-outline .elementor-button-link {
  background: transparent !important;
  color: var(--oa-red) !important;
  border: 2px solid var(--oa-red) !important;
  padding: 10px 22px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.oa-about-btn .elementor-button-link:hover,
.a-button.btn-outline .elementor-button-link{
  background: var(--oa-red) !important;
  border-color: var(--oa-red) !important;
  color: white !important;
}


/* =========================================================
   SECTION G6 — WIDE FEATURE CARD
========================================================= */

/* Base wide card */
.oa-card--wide.g6-callout {
  width: 100%;
  max-width: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
}

/* Left image/logo */
.g6-media img {
  max-width: 140px;
  height: auto;
  display: block;
}

/* Text content */
.g6-content {
  flex: 1;
}

.g6-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--oa-text-dark);
}

.g6-text {
  color: var(--oa-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* CTA Button */
.g6-button {
  display: inline-block;
  background: var(--oa-red);
  color: white;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
}

.g6-button:hover {
  background: var(--oa-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* =========================================================
   Newsletter styling
========================================================= */

.newsletter-month-item {
    transition: 0.5s ease;
}
.newsletter-month-item:hover {
    filter: brightness(1.17);
    transform: scale(1.02);
}
.newsletter-month-item img {
    box-shadow: 0 14px 36px rgba(0,0,0,0.35);
border-radius: 8px;
}
.newsletter-box {
    background: radial-gradient(circle at top, rgba(255,160,80,0.08), transparent 65%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: inset 0 -80px 80px rgba(0,0,0,0.15);
}
/* Container card feel */
.oa-newsletter .ml-block-form {
  background: var(--oa-bg-panel);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--oa-border);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
  max-width: 420px;
  margin: auto;
}

/* Input field */
.oa-newsletter input.form-control {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--oa-border);
  font-size: 1rem;
  background: white;
  color: var(--oa-text-dark);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.oa-newsletter input.form-control:focus {
  outline: none;
  border-color: var(--oa-red);
  box-shadow: 0 0 0 3px rgba(177, 18, 38, 0.12);
}

/* Submit button */
.oa-newsletter .ml-form-embedSubmit button.primary {
  width: 100%;
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  border: none;
  background: var(--oa-red);
  color: white;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.oa-newsletter .ml-form-embedSubmit button.primary:hover {
  background: var(--oa-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* Hide MailerLite loading junk if desired */
.oa-newsletter .ml-form-embedSubmitLoad {
  display: none;
}
.oa-newsletter .ml-field-group::before {
  content: "Email Address";
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: var(--oa-text-muted);
}