/* Lone Warrior Foundation: styles for the pages rebuilt from the original
   Squarespace content, the giving store, and the shared header/footer
   additions. Loaded after style.css. */

/* --- Header dropdowns --- */
.site-nav__list li.has-sub > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.7em;
    margin-left: 6px;
    opacity: 0.6;
}
.site-nav__list li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.site-nav__list > li > a { white-space: nowrap; padding: 8px 12px; }
.site-nav__list .sub-menu { z-index: 1001; min-width: 240px; }
.site-nav__list .sub-menu a { white-space: nowrap; font-size: 0.88rem; }
@media (max-width: 1180px) {
    .site-nav__list a { padding: 8px 10px; }
    .site-header__social { display: none; }
}
@media (max-width: 768px) {
    .site-nav__list li.has-sub > a::after { content: none; }
    .site-nav.active .sub-menu a { font-size: 0.98rem; padding: 10px 0; color: var(--color-text-light); }
}

/* --- Footer: explore row --- */
.site-footer__explore { padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; gap: 24px; align-items: baseline; }
.site-footer__explore h4 { margin: 0; white-space: nowrap; }
.site-footer__explore ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer__explore a { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.site-footer__explore a:hover { color: var(--color-accent-light); }
.site-footer__bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 768px) { .site-footer__explore { flex-direction: column; gap: 12px; } }

/* --- Spam trap, never visible --- */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* --- Form status (shared by every form) --- */
.form-status { margin-top: 14px; font-size: 0.92rem; line-height: 1.55; }
.form-status.success { color: var(--color-success); }
.form-status.error { color: var(--color-danger); }
.form-status a { color: inherit; text-decoration: underline; font-weight: 600; }
.site-footer .form-status.error { color: #f3b4ab; }
.site-footer .form-status.success { color: #9be3b6; }
form[aria-busy="true"] button[type="submit"] { opacity: 0.6; pointer-events: none; }

/* --- Rebuilt content sections --- */
.sq-sec { padding: 72px 0; position: relative; }
.sq-sec + .sq-sec { padding-top: 56px; }
.sq-sec--light { background: var(--color-white); color: var(--color-text); }
.sq-sec--light:nth-of-type(even) { background: var(--color-off-white); }
.sq-sec--dark { background: var(--color-primary); color: rgba(255,255,255,0.88); }
.sq-sec--dark h2, .sq-sec--dark h3, .sq-sec--dark h4 { color: var(--color-white); }
.sq-sec--dark p, .sq-sec--dark li, .sq-sec--bg p, .sq-sec--bg li { color: rgba(255,255,255,0.86); }
.sq-sec--dark blockquote, .sq-sec--bg blockquote { color: var(--color-accent-light); }
.sq-sec--dark a:not(.btn) { color: var(--color-accent-light); }
.sq-sec--bg { background-image: linear-gradient(135deg, rgba(26,41,18,0.92), rgba(44,62,31,0.82)), var(--bg); background-size: cover; background-position: center; color: rgba(255,255,255,0.9); }
.sq-sec--bg h2, .sq-sec--bg h3, .sq-sec--bg h4 { color: var(--color-white); }
.sq-sec--bg a:not(.btn) { color: var(--color-accent-light); }

.sq-row { margin: 0 auto 32px; }
.sq-row:last-child { margin-bottom: 0; }
.sq-row--single { max-width: min(100%, calc(var(--span, 20) / 24 * 1200px)); }
.sq-row--cols { display: grid; grid-template-columns: var(--cols); gap: 40px; align-items: center; }
.sq-col > * + * { margin-top: 18px; }
.sq-row--single > * + * { margin-top: 18px; }

.sq-row h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.sq-row h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); margin-bottom: 10px; }
.sq-row h4 { font-size: 1.05rem; margin-bottom: 8px; }
.sq-row p { margin-bottom: 14px; line-height: 1.75; }
.sq-row ul, .sq-row ol { margin: 10px 0 16px; padding-left: 22px; }
.sq-row ul { list-style: disc; }
.sq-row ol { list-style: decimal; }
.sq-row li { margin-bottom: 6px; line-height: 1.65; }
.sq-row li p { margin: 0; }
.sq-row a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.sq-row blockquote { border-left: 4px solid var(--color-accent); padding: 4px 0 4px 20px; font-family: var(--font-heading); font-size: 1.25rem; font-style: italic; }
.ta-c { text-align: center; }
.ta-r { text-align: right; }
.ta-l { text-align: left; }
.lead { font-size: 1.15rem; }
.small { font-size: 0.88rem; }

.sq-figure { margin: 0; }
.sq-figure img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.sq-figure figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--color-gray-500); text-align: center; }
.sq-sec--dark .sq-figure figcaption, .sq-sec--bg .sq-figure figcaption { color: rgba(255,255,255,0.75); }
.sq-figure__card { margin-top: 14px; text-align: center; }
.sq-figure__card h3 { margin-bottom: 6px; }
.sq-figure img[src$=".png"] { box-shadow: none; border-radius: 0; }

.sq-button { margin: 8px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sq-button.ta-l { justify-content: flex-start; }
.sq-sec--dark .btn--secondary, .sq-sec--bg .btn--secondary { background: transparent; border-color: var(--color-white); }

.sq-rule { border: 0; border-top: 1px solid var(--color-gray-200); margin: 24px 0; }
.sq-sec--dark .sq-rule { border-top-color: rgba(255,255,255,0.2); }

.sq-video { position: relative; padding-bottom: 56.25%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.sq-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.sq-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.sq-gallery figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-md); background: var(--color-warm-gray); }
.sq-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.sq-gallery figure:hover img { transform: scale(1.04); }

.sq-social { display: flex; gap: 10px; justify-content: center; }
.sq-social a { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-white); text-decoration: none !important; }

.sq-cta-card, .sq-form-card { background: var(--color-white); color: var(--color-text); border-radius: var(--radius-xl); padding: 36px; box-shadow: var(--shadow-lg); text-align: left; }
.sq-cta-card { text-align: center; border-top: 5px solid var(--color-accent); }
.sq-cta-card h3, .sq-form-card h3 { color: var(--color-primary) !important; }
.sq-cta-card a:not(.btn), .sq-form-card a:not(.btn) { color: var(--color-accent-dark) !important; }
.sq-form-card--newsletter .newsletter-form input { background: var(--color-off-white); border: 1px solid var(--color-gray-200); color: var(--color-text); }

@media (max-width: 768px) {
    .sq-sec { padding: 52px 0; }
    .sq-row--cols { grid-template-columns: 1fr !important; gap: 24px; }
    .sq-row--single { max-width: 100%; }
    .sq-cta-card, .sq-form-card { padding: 24px; }
}

/* --- Giving store --- */
.give-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 8px 0 36px; }
.give-chip { padding: 8px 16px; border-radius: var(--radius-full); border: 1px solid var(--color-gray-200); font-size: 0.85rem; font-weight: 500; color: var(--color-gray-700); background: var(--color-white); }
.give-chip:hover, .give-chip.is-active { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }
.give-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.give-card { display: flex; flex-direction: column; background: var(--color-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: transform var(--transition), box-shadow var(--transition); color: var(--color-text); }
.give-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.give-card__img { aspect-ratio: 1 / 1; background: var(--color-warm-gray); display: block; }
.give-card__img img { width: 100%; height: 100%; object-fit: cover; }
.give-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.give-card__title { font-family: var(--font-heading); font-size: 1.15rem; color: var(--color-primary); font-weight: 600; }
.give-card__price { font-weight: 700; color: var(--color-accent-dark); }
.give-empty { text-align: center; padding: 40px 0; }
.give-note { display: flex; gap: 14px; align-items: flex-start; margin: 40px auto 0; max-width: 820px; padding: 18px 22px; background: var(--color-warm-gray); border-radius: var(--radius-md); font-size: 0.92rem; line-height: 1.6; color: var(--color-text); }
.give-note i { color: var(--color-accent); margin-top: 4px; }
.give-note a { color: var(--color-accent-dark); text-decoration: underline; }
.give-product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.give-product__media { display: grid; gap: 14px; }
.give-product__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.give-product__info h2 { margin-bottom: 8px; }
.give-price { font-size: 1.6rem; font-weight: 700; color: var(--color-accent-dark); margin-bottom: 16px; }
.give-options { margin: 8px 0 20px; border: 1px solid var(--color-gray-100); border-radius: var(--radius-md); overflow: hidden; }
.give-options li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--color-gray-100); font-size: 0.95rem; }
.give-options li:last-child { border-bottom: 0; }
.give-options strong { color: var(--color-accent-dark); white-space: nowrap; }
.give-product__desc { margin: 12px 0 24px; line-height: 1.7; }
.give-product__desc p { margin-bottom: 8px; }
.give-product__desc ul { list-style: disc; padding-left: 22px; margin: 8px 0 16px; }
.give-product__info > p { margin-bottom: 12px; }
.give-product .give-note { margin-top: 24px; }
@media (max-width: 1024px) { .give-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .give-product { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 520px) { .give-grid { grid-template-columns: 1fr; } }
.give-grid--inline { grid-template-columns: minmax(0, 360px); justify-content: center; }
.give-card__img--logo { display: flex; align-items: center; justify-content: center; background: var(--color-primary); }
.give-card__img--logo img { width: 70%; height: auto; object-fit: contain; }
.give-product__logo { background: var(--color-primary); border-radius: var(--radius-lg); padding: 15%; }
.give-product__logo img { box-shadow: none !important; }
.sq-gallery--collapsed figure:nth-child(n+25) { display: none; }
.sq-row li.ta-c, .sq-row li .ta-c, .sq-row ul.ta-c li { text-align: left; }
.sq-row--single ul, .sq-row--single ol { max-width: 720px; margin-left: auto; margin-right: auto; }
main { overflow-x: clip; }
@media (max-width: 768px) { .site-nav.active .site-nav__list > li { width: 100%; } }
@media (max-width: 1100px) and (min-width: 769px) { .logo-name { display: none; } .site-nav__list > li > a { padding: 8px 8px; font-size: 0.86rem; } .btn--donate { padding: 10px 18px; } }
