/*
Theme Name: ACC
Author: Strode Media Co.
Author URI: https://www.strodemedia.com
Description: A nature-first WordPress block theme for the Arlington Conservation Council — North Texas's longest-standing environmental nonprofit. Features dynamic board, speaker, member, and sponsor management with a Cross Timbers-inspired design system.
Version: 1.8
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: block-patterns, custom-logo, editor-style, full-site-editing, style-variations, translation-ready, one-column, environmental, nonprofit
Text Domain: acc
Domain Path: /languages

This theme, like WordPress, is licensed under the GPL.
*/

/* ============================================================
   CSS Reset
   Modern, minimal reset as a foundation.
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    min-height: 100svh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

p {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

button {
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

/* ============================================================
   WordPress Block Theme Foundation
   ============================================================ */

.wp-site-blocks {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
}

:where(.wp-site-blocks) > * {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* Navigation */
.wp-block-navigation-item a {
    text-decoration: none;
    color: inherit;
}

/* ============================================================
   Accessibility: Focus styles
   ============================================================ */

:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

a:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
    border-radius: 2px;
}

button:focus-visible,
input[type="submit"]:focus-visible,
input[type="reset"]:focus-visible,
input[type="button"]:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
    border-radius: 2px;
}

input:not([type="submit"]):not([type="reset"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 0;
    border-radius: 2px;
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

/* Navigation responsive open/close icons */
.wp-block-navigation__responsive-container-close svg,
.wp-block-navigation__responsive-container-open svg {
    width: 2rem;
    height: 2rem;
}

/* ============================================================
   Header
   ============================================================ */

.acc-header {
    background-color: #0d2b12;
    background-color: var(--wp--custom--chrome--background);
    color: #f6f8f6;
    color: var(--wp--custom--chrome--text);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Fixed header site-wide */
header.wp-block-template-part {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    margin: 0 !important;
    padding: 0 !important;
}

.admin-bar header.wp-block-template-part {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar header.wp-block-template-part {
        top: 46px;
    }
}

/* Push page content below the fixed header (non-front pages) */
body:not(.acc-front-page) .acc-main {
    padding-top: 70px;
}

.acc-header .wp-block-site-title,
.acc-header .wp-block-site-title a {
    color: #ffffff;
    color: var(--wp--preset--color--background);
    text-decoration: none;
    transition: color 0.3s ease;
}

.acc-header .acc-header-tagline {
    color: #94a3b8;
    color: var(--wp--custom--chrome--muted);
    transition: color 0.3s ease;
}

.acc-header .wp-block-navigation,
.acc-header .wp-block-navigation a {
    color: #f6f8f6;
    color: var(--wp--custom--chrome--text);
    transition: color 0.3s ease;
}

.acc-header .wp-block-navigation a:hover {
    color: #13ec13;
    color: var(--wp--custom--chrome--accent);
}

.acc-header .acc-donate-btn .wp-block-button__link {
    animation: donate-pulse 2s ease-in-out infinite;
    overflow: hidden;
    position: relative;
}

@keyframes donate-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.acc-header .acc-donate-btn .wp-block-button__link::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: none;
}

.acc-header .acc-donate-btn .wp-block-button__link:hover {
    animation-play-state: paused;
    box-shadow: 0 4px 15px rgba(19, 236, 19, 0.3);
}

.acc-header .acc-donate-btn .wp-block-button__link:hover::after {
    left: 100%;
    transition: left 0.6s ease;
}

/* Header search (icon-only button) */
.acc-header-search .wp-block-search__inside-wrapper {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.acc-header-search .wp-block-search__button {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 0.4em;
    cursor: pointer;
    transition: color 0.2s ease;
}

.acc-header-search .wp-block-search__button:hover {
    color: #ffffff;
}

.acc-header-search .wp-block-search__button svg {
    width: 18px;
    height: 18px;
}

.acc-front-page .acc-header.is-scrolled .acc-header-search .wp-block-search__button {
    color: #64748b;
}

.acc-front-page .acc-header.is-scrolled .acc-header-search .wp-block-search__button:hover {
    color: #0d2b12;
}

/* ----------------------------------------------------------
   Front page: transparent → sticky white header on scroll
   ---------------------------------------------------------- */

.acc-front-page .acc-header {
    background-color: transparent !important;
}

.acc-front-page .acc-header .wp-block-site-title,
.acc-front-page .acc-header .wp-block-site-title a {
    color: #ffffff;
}

.acc-front-page .acc-header .acc-header-tagline {
    color: rgba(255, 255, 255, 0.7);
}

.acc-front-page .acc-header .wp-block-navigation,
.acc-front-page .acc-header .wp-block-navigation a {
    color: #ffffff;
}

/* Scrolled state */
.acc-front-page .acc-header.is-scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.acc-front-page .acc-header.is-scrolled .wp-block-site-title,
.acc-front-page .acc-header.is-scrolled .wp-block-site-title a {
    color: #0d2b12;
}

.acc-front-page .acc-header.is-scrolled .acc-header-tagline {
    color: #64748b;
}

.acc-front-page .acc-header.is-scrolled .wp-block-navigation,
.acc-front-page .acc-header.is-scrolled .wp-block-navigation a {
    color: #0d2b12;
}

.acc-front-page .acc-header.is-scrolled .wp-block-navigation a:hover {
    color: #13ec13;
}

/* ============================================================
   Partners
   ============================================================ */

.acc-partner-logo {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.acc-partner-logo:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* ============================================================
   Footer
   ============================================================ */

.acc-footer.wp-block-group {
    background-color: #0d2b12;
    background-color: var(--wp--custom--chrome--background);
    color: #f6f8f6;
    color: var(--wp--custom--chrome--text);
}

.acc-footer-links {
    list-style: none;
    padding-left: 0 !important;
}

.acc-footer-links li {
    list-style: none;
}

.acc-footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.acc-footer-links a:hover {
    color: #13ec13;
    color: var(--wp--custom--chrome--accent);
}

.acc-footer-policy-link a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.acc-footer-policy-link a:hover {
    color: #13ec13;
    color: var(--wp--custom--chrome--accent);
}

/* Social links */
.acc-social-links.wp-block-social-links .wp-block-social-link a {
    color: #94a3b8;
    color: var(--wp--custom--chrome--muted);
    transition: color 0.2s ease;
}

.acc-social-links.wp-block-social-links .wp-block-social-link a:hover {
    color: #13ec13;
    color: var(--wp--custom--chrome--accent);
}

.acc-social-links.wp-block-social-links.is-style-logos-only .wp-block-social-link-anchor svg {
    fill: currentColor;
}

/* ============================================================
   Main content area
   ============================================================ */

.acc-main.wp-block-group {
    flex: 1;
    margin: 0 auto;
    width: 100%;
}

/* ============================================================
   Hero section (Cover block)
   ============================================================ */

.acc-hero.wp-block-cover {
    margin-bottom: 0;
    border-bottom: 3px solid var(--wp--preset--color--accent, #13ec13);
}

/* Remove ALL white gaps between homepage sections */
.wp-block-post-content > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.acc-sponsors {
    margin: 0 !important;
}

p:has(> .acc-sponsors) {
    margin: 0 !important;
    margin-block: 0 !important;
    padding: 0 !important;
    line-height: 0;
    font-size: 0;
}

/* Thick borders between sections */
p:has(> .acc-sponsors) {
    border-bottom: 4px solid #b8a98a;
}

.acc-advocacy-grid {
    border-top: 4px solid #a89878;
    border-bottom: 4px solid #a89878;
}

p:has(> .acc-speakers),
.wp-block-post-content > .acc-speakers {
    border-top: 4px solid #a89878;
    border-bottom: 4px solid var(--wp--preset--color--primary, #0d2b12);
}

/* Hero — use same dynamic padding as advocacy so edges align */
.acc-hero.wp-block-cover {
    padding-top: clamp(5rem, 12vh, 8rem) !important;
    padding-bottom: clamp(3rem, 8vh, 5rem) !important;
    padding-left: max(var(--wp--preset--spacing--50, 2rem), calc((100vw - var(--wp--style--global--wide-size, 1280px)) / 2 + var(--wp--preset--spacing--50, 2rem))) !important;
    padding-right: max(var(--wp--preset--spacing--50, 2rem), calc((100vw - var(--wp--style--global--wide-size, 1280px)) / 2 + var(--wp--preset--spacing--50, 2rem))) !important;
}

.acc-hero .wp-block-cover__inner-container {
    width: 100%;
    padding: 0;
}

/* Override constrained layout centering — left-align flush to padding edge */
.acc-hero .wp-block-cover__inner-container > .wp-block-group {
    margin-left: 0 !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.acc-hero .wp-block-cover__image-background {
    object-position: center bottom;
}

.acc-hero .wp-block-cover__inner-container > .wp-block-group > p:first-child {
    width: fit-content;
}

/* Hero CTA — pulse & glow like Donate button */
.acc-hero .wp-block-button.is-style-fill .wp-block-button__link {
    animation: donate-pulse 4s ease-in-out infinite;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 20px rgba(19, 236, 19, 0.3);
}

.acc-hero .wp-block-button.is-style-fill .wp-block-button__link::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: none;
}

.acc-hero .wp-block-button.is-style-fill .wp-block-button__link:hover {
    animation-play-state: paused;
    box-shadow: 0 4px 25px rgba(19, 236, 19, 0.5);
}

.acc-hero .wp-block-button.is-style-fill .wp-block-button__link:hover::after {
    left: 100%;
    transition: left 0.6s ease;
}

/* ============================================================
   Post Oak Hub section
   ============================================================ */

.acc-hub-home-query {
    position: relative;
    z-index: 1;
}

.has-primary-background-color:has(.acc-hub-home-query) {
    position: relative;
}

.has-primary-background-color:has(.acc-hub-home-query)::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/2026/03/asfalt-light.png');
    background-repeat: repeat;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.has-primary-background-color:has(.acc-hub-home-query) > * {
    position: relative;
    z-index: 1;
}

/* ============================================================
   Post Oak Hub cards
   ============================================================ */

.acc-hub-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.acc-hub-card:hover {
    transform: translateY(-8px);
}

.acc-hub-card-image img {
    transition: transform 0.5s ease;
}

.acc-hub-card:hover .acc-hub-card-image img {
    transform: scale(1.05);
}

.acc-hub-card-image {
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Dynamic query card images (post-featured-image inside hub cards) */
.acc-hub-card .wp-block-post-featured-image {
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    margin: 0;
}

.acc-hub-card .wp-block-post-featured-image img {
    transition: transform 0.5s ease;
}

.acc-hub-card:hover .wp-block-post-featured-image img {
    transform: scale(1.05);
}

.acc-hub-card .wp-block-post-title a {
    color: inherit;
    text-decoration: none;
}

.acc-hub-card .wp-block-post-terms a {
    text-decoration: none;
}

.acc-hub-card .wp-block-post-excerpt__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

/* Hub home query grid gap */
.acc-hub-home-query .wp-block-post-template {
    gap: var(--wp--preset--spacing--50);
}

.acc-explore-link a {
    color: inherit;
    text-decoration: none;
}

/* ============================================================
   Advocacy section
   ============================================================ */

/* Unified advocacy section — full-bleed bg, constrained inner content */
.acc-advocacy-grid {
    background-color: #d0c4ac;
    position: relative;
    padding: var(--wp--preset--spacing--80, 5rem) var(--wp--preset--spacing--40, 1.5rem) !important;
    margin: 0 !important;
    gap: 0 !important;
    max-width: none !important;
    flex-wrap: nowrap !important;
}

.acc-advocacy-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/2026/03/cartographer.png');
    background-repeat: repeat;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.acc-advocacy-grid > * {
    position: relative;
    z-index: 1;
}

/* Inner wrapper to constrain content like speaker section */
.acc-advocacy-grid > .wp-block-column {
    flex-basis: 50% !important;
    flex-grow: 0 !important;
    max-width: calc(var(--wp--style--global--wide-size, 1280px) / 2);
}

.acc-advocacy-grid > .wp-block-column:first-child {
    margin-left: auto;
    position: relative;
    padding-right: var(--wp--preset--spacing--70, 4rem);
}

.acc-advocacy-grid > .wp-block-column:last-child {
    margin-right: auto;
    padding-left: var(--wp--preset--spacing--70, 4rem);
}

/* Vertical divider — 70% height, dark green */
.acc-advocacy-grid > .wp-block-column:first-child::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(13, 43, 18, 0.25);
    z-index: 2;
}

.acc-advocacy-grid > .wp-block-column > .wp-block-group {
    min-height: 100%;
    position: relative;
    background: transparent !important;
    padding: 0 !important;
}

/* Size overrides to match Speaker Series section */
.acc-advocacy-grid .wp-block-heading {
    font-size: var(--wp--preset--font-size--4xl, clamp(1.875rem, 1.8rem + 0.38vw, 2.25rem)) !important;
}

/* Facebook buttons */
.acc-fb-btn .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.5em 1.25em !important;
    font-size: 0.8125rem !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.acc-fb-btn .wp-block-button__link::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E") no-repeat center / contain;
    flex-shrink: 0;
}

.acc-fb-btn .wp-block-button__link:hover {
    background-color: #1565c0 !important;
    transform: translateY(-1px);
}

/* Focus areas list — prevent overflow */
.acc-fa-row {
    min-width: 0;
}

.acc-fa-info {
    min-width: 0;
    overflow: hidden;
}

.acc-fa-title {
    white-space: normal !important;
    word-wrap: break-word;
}

.acc-fa-desc {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
}

@media (max-width: 781px) {
    .acc-advocacy-grid {
        padding-left: var(--wp--preset--spacing--40, 1.5rem) !important;
        padding-right: var(--wp--preset--spacing--40, 1.5rem) !important;
    }
    .acc-advocacy-grid > .wp-block-column:first-child {
        padding-right: 0;
        border-right: none;
    }
    .acc-advocacy-grid > .wp-block-column:first-child::after {
        display: none;
    }
    .acc-advocacy-grid > .wp-block-column:last-child {
        padding-left: 0;
    }
}

/* Individual column textures removed — unified texture on .acc-advocacy-grid::before */

.acc-advocacy-item {
    transition: background-color 0.2s ease;
}

.acc-advocacy-item:hover {
    background-color: rgba(255, 255, 255, 0.6) !important;
}

/* ============================================================
   Partners row
   ============================================================ */

.acc-partners-row {
    opacity: 0.6;
    filter: grayscale(100%);
    transition: opacity 0.5s ease, filter 0.5s ease;
}

.acc-partners-row:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ============================================================
   Membership tier cards
   ============================================================ */

.acc-membership-row {
    gap: 12px !important;
}

.acc-tier-cell {
    perspective: 800px;
}

.acc-tier-inner {
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 2px solid #c9a84c;
    border-radius: 16px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease, border-color 0.3s ease, border-width 0.3s ease;
}

.acc-tier-inner:hover {
    transform: translateY(-8px) rotateX(2deg);
    border-width: 3px;
    border-color: #e6be4a;
    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.06),
        0 0 20px rgba(201, 168, 76, 0.35);
}

/* Sheen overlay — one-shot sweep, no reverse */
.acc-tier-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 255, 255, 0.18) 45%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.18) 55%,
        transparent 80%
    );
    pointer-events: none;
    z-index: 1;
}

.acc-tier-inner:hover::after {
    animation: tier-sheen 0.7s ease forwards;
}

@keyframes tier-sheen {
    from { left: -100%; }
    to   { left: 120%; }
}

/* --- Flat earth-tone card backgrounds --- */

/* Meadow — Individual */
.acc-tier-cell:nth-child(1) .acc-tier-inner {
    background-color: #dce8d4 !important;
    border-color: #c9a84c !important;
}

/* Fern — Family */
.acc-tier-cell:nth-child(2) .acc-tier-inner {
    background-color: #cddec2 !important;
    border-color: #c9a84c !important;
}

/* Sage — Supporting */
.acc-tier-cell:nth-child(3) .acc-tier-inner {
    background-color: #bed4b0 !important;
    border-color: #c9a84c !important;
}

/* Forest — Sponsor */
.acc-tier-cell:nth-child(4) .acc-tier-inner {
    background-color: #aeca9c !important;
    border-color: #c9a84c !important;
}

/* Evergreen — Lifetime */
.acc-tier-cell:nth-child(5) .acc-tier-inner {
    background-color: #9ec08a !important;
    border-color: #c9a84c !important;
}

/* Keep all card content above the sheen */
.acc-tier-inner > * {
    position: relative;
    z-index: 2;
}

/* --- Text colors (dark green on all cards) --- */

.acc-tier-inner h3 {
    color: #1a3a12 !important;
}

.acc-tier-inner .acc-tier-stars p {
    color: inherit !important;
}

/* --- Pricing emphasis --- */

.acc-tier-inner .has-3-xl-font-size {
    color: #122a0c !important;
    font-size: clamp(2rem, 2.5vw, 2.75rem) !important;
    font-weight: 800 !important;
    text-shadow: none;
    letter-spacing: -0.02em;
}

/* "per year" / "one-time" label */
.acc-tier-inner .has-3-xl-font-size + .has-text-align-center {
    color: #3d6630 !important;
    font-weight: 600 !important;
}

/* --- Buttons: dark green fill for all tiers --- */

.acc-tier-cell .wp-block-button__link {
    background-color: #1a3a12 !important;
    color: #ffffff !important;
    border-color: #1a3a12 !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.acc-tier-cell .wp-block-button__link:hover {
    background-color: #122a0c !important;
}

.acc-tier-stars {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 2;
    background: linear-gradient(45deg, #f0c84a, #e6b830, #f5d96b, #e6b830) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.acc-tier-stars {
    margin-bottom: var(--wp--preset--spacing--30) !important;
}

.acc-tier-stars p {
    transition: opacity 0.2s ease;
    font-size: 2rem !important;
}

.acc-tier-inner:hover .acc-tier-stars {
    background: linear-gradient(45deg, #f5d96b, #e6be4a, #fae68c, #e6be4a) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

@media (max-width: 781px) {
    .acc-membership-row {
        gap: 12px !important;
    }

    .acc-tier-cell {
        margin-bottom: 0;
    }
}

/* ============================================================
   Featured image: fallback placeholder
   ============================================================ */

.acc-no-thumbnail {
    aspect-ratio: 16 / 9;
    background-color: #f6f8f6;
    background-color: var(--wp--preset--color--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    overflow: hidden;
}

.acc-no-thumbnail .acc-thumbnail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    opacity: 0.3;
    color: #0d2b12;
    color: var(--wp--preset--color--primary);
}

.acc-no-thumbnail .acc-thumbnail-placeholder svg {
    width: 100%;
    height: 100%;
}

/* ============================================================
   Post list: front page & archive
   ============================================================ */

.acc-monotone {
    overflow: hidden;
    border-radius: 0.25rem;
}

.acc-monotone img {
    filter: grayscale(100%);
    transform: scale(1);
    transition: filter 0.5s ease-in-out, transform 0.7s ease;
}

.acc-article:hover .acc-monotone img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.acc-article .wp-block-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.acc-article:hover .wp-block-post-title a {
    color: #0d2b12;
    color: var(--wp--preset--color--primary);
}

.acc-post-excerpt .wp-block-post-excerpt__excerpt {
    padding: 0 1rem;
    color: var(--wp--preset--color--muted);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

/* Read More button */
.acc-read-more.wp-block-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #0d2b12;
    color: var(--wp--preset--color--primary);
    border: 1px solid rgba(13, 43, 18, 0.25);
    border-radius: 0.25rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.acc-read-more.wp-block-read-more:hover {
    background-color: #0d2b12;
    background-color: var(--wp--preset--color--primary);
    color: #ffffff;
    color: var(--wp--preset--color--background);
    border-color: #0d2b12;
    border-color: var(--wp--preset--color--primary);
}

/* Article meta: dot separator between date and category */
.acc-article-meta {
    display: flex;
    align-items: flex-start;
}

.acc-article-meta .wp-block-post-terms {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.acc-article-meta .wp-block-post-date {
    flex-shrink: 0;
    white-space: nowrap;
    color: var(--wp--preset--color--muted);
    min-width: max-content;
}

.acc-article-meta .wp-block-post-terms::before {
    content: '';
    display: block;
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 50%;
    background-color: rgba(13, 43, 18, 0.3);
    flex-shrink: 0;
}

/* ============================================================
   Post list: index (text-only list)
   ============================================================ */

.acc-list-item .wp-block-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.acc-list-item:hover .wp-block-post-title a {
    color: #0d2b12;
    color: var(--wp--preset--color--primary);
}

.acc-list-excerpt .wp-block-post-excerpt__excerpt {
    color: var(--wp--preset--color--muted);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

/* ============================================================
   Search Results
   ============================================================ */

/* Hero search input */
.acc-search-hero__input .wp-block-search__inside-wrapper {
    border-radius: 100px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    max-width: 560px;
    margin: 0 auto;
}

.acc-search-hero__input input.wp-block-search__input {
    border: none !important;
    background: transparent;
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
}

.acc-search-hero__input input.wp-block-search__input::placeholder {
    color: #94a3b8;
}

.acc-search-hero__input .wp-block-search__button {
    background: transparent;
    border: none;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.acc-search-hero__input .wp-block-search__button:hover {
    color: #ffffff;
}

/* Result cards */
.acc-search-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.acc-search-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.acc-search-card .wp-block-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.acc-search-card:hover .wp-block-post-title a {
    color: var(--wp--preset--color--primary, #0d2b12);
}

.acc-search-card .wp-block-post-excerpt__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

/* No-results search input */
.acc-search-no-results .wp-block-search__inside-wrapper {
    border-radius: 100px !important;
    border: 1px solid var(--wp--preset--color--border, #e2e8f0) !important;
}

.acc-search-no-results input.wp-block-search__input {
    border: none !important;
    padding: 0.6rem 1rem;
}

.acc-search-no-results .wp-block-search__button {
    background: var(--wp--preset--color--primary, #0d2b12);
    border: none;
    color: #ffffff;
    border-radius: 0 100px 100px 0 !important;
    padding: 0.6rem 1rem;
}

/* Search grid responsive */
@media (max-width: 781px) {
    .acc-search-grid.is-layout-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Query pagination spacing */
.wp-block-query-pagination {
    margin-top: 3rem;
    padding: 3rem 0;
    gap: 1rem;
}

.wp-block-query-pagination .wp-block-query-pagination-numbers .page-numbers {
    margin-left: 1rem;
}

/* ============================================================
   Single post
   ============================================================ */

.acc-single-article.wp-block-group {
    width: 100%;
    margin: 0 auto;
    max-width: var(--wp--style--global--wide-size);
}

/* Category badge */
.acc-category-badge.wp-block-post-terms a {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background-color: rgba(13, 43, 18, 0.08);
    color: #0d2b12;
    color: var(--wp--preset--color--primary);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-decoration: none;
    border-radius: 0.125rem;
}

/* Post body: serif font */
.acc-post-content p,
.acc-post-content li,
.acc-post-content blockquote {
    font-family: var(--wp--preset--font-family--serif);
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Pullquote / blockquote styling */
.acc-post-content .wp-block-pullquote,
.acc-post-content .wp-block-quote {
    border-color: #d1d5db;
    border-color: var(--wp--preset--color--border);
    font-family: var(--wp--preset--font-family--serif);
    font-style: italic;
    color: #0d2b12;
    color: var(--wp--preset--color--primary);
}

.acc-post-content.wp-block-post-content .wp-block-paragraph {
    max-width: var(--wp--style--global--wide-size);
}

/* Post navigation */
.acc-post-nav.wp-block-post-navigation-link a {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-decoration: none;
}

.acc-post-nav.wp-block-post-navigation-link .wp-block-post-navigation-link__label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #6b7280;
    color: var(--wp--preset--color--muted);
    transition: color 0.2s ease;
}

.acc-post-nav.wp-block-post-navigation-link a:hover .wp-block-post-navigation-link__label {
    color: #0d2b12;
    color: var(--wp--preset--color--primary);
}

.acc-post-nav.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow {
    display: none;
}

.wp-block-separator {
    border-color: #0d2b12;
    border-color: var(--wp--preset--color--primary);
    border-top-width: 2px;
    margin-inline: auto;
    opacity: 1;
    margin: 3rem 0;
}

.acc-more-posts.wp-block-query {
    padding: 2rem 0;
}

.acc-more-post.wp-block-group {
    border: 1px solid var(--wp--preset--color--border);
    border-radius: .5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.acc-more-post.wp-block-group .wp-block-post-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    min-height: calc(1.4 * 2em);
}

.acc-more-post.wp-block-group .wp-block-post-title a {
    display: block;
}

.acc-more-post.wp-block-group .wp-block-post-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    line-height: 1.4;
    min-height: calc(1.4 * 3em);
}

.wp-block-post-author {
    border: 1px solid var(--wp--preset--color--border);
    border-radius: .5rem;
    padding: 1rem;
}

/* ============================================================
   Comments
   ============================================================ */

.acc-comments {
    margin-top: 3rem;
    margin-top: var(--wp--preset--spacing--60);
}

.acc-comment-list {
    list-style: none;
}

.acc-comment {
    padding-bottom: 1.5rem;
    padding-bottom: var(--wp--preset--spacing--40);
    margin-bottom: 1.5rem;
    margin-bottom: var(--wp--preset--spacing--40);
}

.acc-comment-avatar {
    flex-shrink: 0;
}

.acc-comment-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.acc-comment .wp-block-comment-author-name a {
    color: inherit;
    text-decoration: none;
}

.acc-comment .wp-block-comment-author-name a:hover {
    color: #0d2b12;
    color: var(--wp--preset--color--primary);
}

.acc-comment .wp-block-comment-content p {
    line-height: 1.7;
}

.acc-comment-actions a {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
    color: var(--wp--preset--color--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.acc-comment-actions a:hover {
    color: #0d2b12;
    color: var(--wp--preset--color--primary);
}

.wp-block-comment-template .wp-block-comment-template {
    margin-left: 2rem;
    padding-left: 1.5rem;
    border-left: 2px solid #d1d5db;
    border-left: 2px solid var(--wp--preset--color--border);
}

/* ============================================================
   Comment form
   ============================================================ */

.acc-comment-form {
    margin-top: 3rem;
    margin-top: var(--wp--preset--spacing--60);
    padding-top: 3rem;
    padding-top: var(--wp--preset--spacing--60);
    border-top: 1px solid #d1d5db;
    border-top: 1px solid var(--wp--preset--color--border);
}

.acc-comment-form .comment-reply-title {
    font-size: 1.5rem;
    font-size: var(--wp--preset--font-size--2xl);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.acc-comment-form .comment-form label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
    color: var(--wp--preset--color--muted);
    margin-bottom: 0.375rem;
}

.acc-comment-form .comment-form input[type="text"],
.acc-comment-form .comment-form input[type="email"],
.acc-comment-form .comment-form input[type="url"],
.acc-comment-form .comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-color: var(--wp--preset--color--border);
    border-radius: 0.25rem;
    background-color: #ffffff;
    background-color: var(--wp--preset--color--background);
    font-size: 0.875rem;
    font-size: var(--wp--preset--font-size--sm);
    color: #000000;
    color: var(--wp--preset--color--foreground);
    transition: border-color 0.2s ease;
    line-height: 1.6;
}

.acc-comment-form .comment-form input[type="text"]:focus,
.acc-comment-form .comment-form input[type="email"]:focus,
.acc-comment-form .comment-form input[type="url"]:focus,
.acc-comment-form .comment-form textarea:focus {
    border-color: #0d2b12;
    border-color: var(--wp--preset--color--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 43, 18, 0.12);
}

.acc-comment-form .comment-form textarea {
    min-height: 10rem;
    resize: vertical;
}

.acc-comment-form .comment-form p {
    margin-bottom: 1.25rem;
}

.acc-comment-form .comment-form .form-submit .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #ffffff;
    background-color: #0d2b12;
    background-color: var(--wp--preset--color--primary);
    border: 1px solid transparent;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.acc-comment-form .comment-form .form-submit .submit:hover {
    background-color: #164a1e;
    background-color: var(--wp--preset--color--primary-light);
}

.acc-comment-form .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.acc-comment-form .comment-form-cookies-consent label {
    display: inline;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    font-size: 0.875rem;
    color: #6b7280;
    color: var(--wp--preset--color--muted);
    margin-bottom: 0;
}

/* ============================================================
   Post Oak Hub: Blog Archive Layout
   ============================================================ */

/* Category filter chips */
.acc-chip {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #94a3b8;
    transition: all 0.2s ease;
}

.acc-chip:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.acc-chip--active,
.acc-chip--active:hover {
    background-color: #13ec13;
    background-color: var(--wp--preset--color--accent);
    color: #0d2b12;
    color: var(--wp--preset--color--primary);
    border-color: #13ec13;
    border-color: var(--wp--preset--color--accent);
}

/* Hub search bar */
.acc-hub-search .wp-block-search__inside-wrapper {
    border-radius: 100px !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.acc-hub-search input.wp-block-search__input {
    border: none !important;
    background: #f6f8f6;
    background: var(--wp--preset--color--surface);
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.acc-hub-search input.wp-block-search__input {
    background: transparent;
    color: #ffffff;
}

.acc-hub-search input.wp-block-search__input::placeholder {
    color: #94a3b8;
}

.acc-hub-search .wp-block-search__button {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 0.5rem 0.75rem;
}

/* Hub grid: post template */
.acc-hub-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
}

.acc-hub-grid > .wp-block-post:first-child {
    grid-column: 1 / -1;
}

.acc-hub-grid > .wp-block-post:first-child .wp-block-post-featured-image {
    aspect-ratio: 21 / 9 !important;
}

.acc-hub-grid > .wp-block-post:first-child .wp-block-post-featured-image img {
    aspect-ratio: 21 / 9;
    object-fit: cover;
    height: auto;
}

.acc-hub-grid > .wp-block-post:first-child .wp-block-post-title {
    font-size: clamp(1.5rem, 1.3rem + 0.5vw, 2rem) !important;
}

@media (max-width: 781px) {
    .acc-hub-grid {
        grid-template-columns: 1fr;
    }
}

/* Hub article card */
.acc-hub-article {
    cursor: pointer;
}

.acc-hub-article .wp-block-post-title a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.acc-hub-article:hover .wp-block-post-title a {
    color: #4a3728;
    color: var(--wp--preset--color--cedar);
}

/* Hub article image container with overlaid badge */
.acc-hub-article-image {
    position: relative;
}

.acc-hub-article-image .wp-block-post-featured-image {
    overflow: hidden;
    border-radius: 1rem;
    margin: 0;
}

.acc-hub-article-image .wp-block-post-featured-image img {
    transition: transform 0.5s ease;
    border-radius: 1rem;
}

.acc-hub-article:hover .wp-block-post-featured-image img {
    transform: scale(1.05);
}

/* Category badge overlaid on image */
.acc-hub-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1;
}

.acc-hub-badge a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: #0d2b12;
    color: var(--wp--preset--color--primary);
    border-radius: 100px;
    text-decoration: none;
}

/* Hub excerpt */
.acc-hub-excerpt .wp-block-post-excerpt__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    padding: 0;
}

/* Sidebar: Topic tags */
.acc-topic-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background-color: #f6f8f6;
    background-color: var(--wp--preset--color--surface);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
}

.acc-topic-tag:hover {
    background-color: #0d2b12;
    background-color: var(--wp--preset--color--primary);
    color: #ffffff;
    color: var(--wp--preset--color--background);
}

/* Sidebar: Newsletter subscribe form */
.acc-hub-subscribe .wp-block-search__inside-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: none !important;
}

.acc-hub-subscribe input.wp-block-search__input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #ffffff;
}

.acc-hub-subscribe input.wp-block-search__input::placeholder {
    color: #94a3b8;
}

.acc-hub-subscribe .wp-block-search__button {
    background: #13ec13;
    background: var(--wp--preset--color--accent);
    color: #0d2b12;
    color: var(--wp--preset--color--primary);
    font-weight: 700;
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem;
    width: 100%;
    transition: filter 0.2s ease;
}

.acc-hub-subscribe .wp-block-search__button:hover {
    filter: brightness(1.1);
}

/* Sidebar: CTA card link */
.acc-hub-cta a {
    color: #0d2b12;
    color: var(--wp--preset--color--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.acc-hub-cta a:hover {
    text-decoration: underline;
}

/* ============================================================
   Page Header Gradient
   Subtle gradient on full-width primary-background sections
   (hero bars, membership, sponsorship, contact, etc.)
   ============================================================ */

.acc-main .wp-block-group.alignfull.has-primary-background-color.has-background,
.acc-hub-hero.has-primary-background-color.has-background {
    background: linear-gradient(
        180deg,
        #153a1c 0%,
        #0d2b12 100%
    ) !important;
}

/* ============================================================
   Speaker Series — Video Grid
   ============================================================ */

.acc-video-archive {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.acc-video-channel-link {
    margin-bottom: 2.5rem;
}

.acc-video-channel-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.25rem;
    background: var(--wp--preset--color--surface, #f6f8f6);
    border: 1px solid var(--wp--preset--color--border, #d1d5db);
    border-radius: 100px;
    text-decoration: none;
    color: var(--wp--preset--color--primary, #0d2b12);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.acc-video-channel-link a:hover {
    background: var(--wp--preset--color--primary, #0d2b12);
    border-color: var(--wp--preset--color--primary, #0d2b12);
    color: #fff;
}

.acc-yt-icon {
    width: 1.5rem;
    height: auto;
    flex-shrink: 0;
}

.acc-yt-arrow {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.acc-video-channel-link a:hover .acc-yt-arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}

.acc-video-year + .acc-video-year {
    margin-top: 3rem;
}

.acc-video-year-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--wp--preset--color--primary, #0d2b12);
}

.acc-video-year-title {
    font-family: var(--wp--preset--font-family--serif, 'Lora', serif);
    font-size: clamp(1.5rem, 1.3rem + 0.5vw, 2rem);
    font-weight: 700;
    color: var(--wp--preset--color--primary, #0d2b12);
    margin: 0;
    line-height: 1.2;
}

.acc-video-year-count {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--wp--preset--color--muted, #6b7280);
}

.acc-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .acc-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.acc-video-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--wp--preset--color--background, #fff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.acc-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Thumbnail container */
.acc-video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--wp--preset--color--surface, #f6f8f6);
}

.acc-video-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.acc-video-card:hover .acc-video-thumb img {
    transform: scale(1.05);
}

/* Play button overlay */
.acc-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.acc-video-card:hover .acc-video-play {
    opacity: 1;
}

.acc-video-play svg {
    width: 56px;
    height: 40px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.2s ease;
}

.acc-video-card:hover .acc-video-play svg {
    transform: scale(1.1);
}

/* Text area below thumbnail */
.acc-video-meta {
    padding: 0.875rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.acc-video-title {
    font-family: var(--wp--preset--font-family--sans-serif, 'Lexend', sans-serif);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--wp--preset--color--primary, #0d2b12);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    margin: 0;
    transition: color 0.2s ease;
}

.acc-video-card:hover .acc-video-title {
    color: var(--wp--preset--color--primary-light, #164a1e);
}

.acc-video-date {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--wp--preset--color--muted, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================================
   Sponsorship page
   ============================================================ */

/* Remove gaps between full-width sections */
.page-id-36 .acc-main > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

/* Hero anchor link */
.acc-hero-anchor {
    color: var(--wp--preset--color--surface) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}
.acc-hero-anchor:hover {
    opacity: 0.8;
}

/* Benefit cards — hover lift */
.acc-benefit-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.acc-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Pricing card — elevated */
.acc-pricing-card {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}
.acc-pricing-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Pricing checklist — green checkmarks */
.acc-pricing-checklist {
    list-style: none;
    padding-left: 0 !important;
}
.acc-pricing-checklist li {
    padding-left: 1.75em;
    position: relative;
}
.acc-pricing-checklist li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--wp--preset--color--accent);
    font-weight: 700;
}

/* Short decorative rule */
.acc-short-rule {
    width: 48px !important;
    border-width: 2px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Partners section on sponsorship page */
.acc-sponsorship-partners .acc-sponsors {
    background-color: transparent !important;
    padding: 0 !important;
    max-width: var(--wp--style--global--wide-size, 1280px);
    margin: 0 auto !important;
}
.acc-sponsorship-partners .acc-sponsors__label {
    display: none;
}
.acc-sponsorship-partners .acc-sponsors__grid {
    justify-content: center;
    gap: 1.5rem;
}
.acc-sponsorship-partners .acc-sponsors__link {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    transition: background 0.2s ease;
}
.acc-sponsorship-partners .acc-sponsors__link:hover {
    background: rgba(255, 255, 255, 0.2);
}
.acc-sponsorship-partners .acc-sponsors__logo {
    filter: brightness(0) invert(1);
    opacity: 0.85;
    max-width: 140px;
    max-height: 48px;
}
.acc-sponsorship-partners .acc-sponsors__link:hover .acc-sponsors__logo {
    filter: brightness(0) invert(1);
    opacity: 1;
}
/* Remove wrapping paragraph constraints */
.acc-sponsorship-partners p:has(> .acc-sponsors) {
    margin: 0 !important;
    padding: 0 !important;
    line-height: normal;
    font-size: inherit;
    max-width: 100%;
}

/* ============================================================
   Contact page
   ============================================================ */

/* Remove gaps between full-width sections */
.page-template-page-contact .acc-main > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

/* Contact form */
.acc-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.acc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.acc-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
.acc-form-field label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--wp--preset--color--foreground);
}
.acc-form-field input,
.acc-form-field textarea {
    background: var(--wp--preset--color--surface);
    border: 1px solid var(--wp--preset--color--border);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-family: var(--wp--preset--font-family--sans-serif);
    font-size: 0.9375rem;
    color: var(--wp--preset--color--foreground);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}
.acc-form-field input::placeholder,
.acc-form-field textarea::placeholder {
    color: var(--wp--preset--color--muted);
}
.acc-form-field input:focus,
.acc-form-field textarea:focus {
    outline: none;
    border-color: var(--wp--preset--color--accent);
    box-shadow: 0 0 0 3px rgba(19, 236, 19, 0.15);
}
.acc-form-submit {
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--background);
    border: none;
    border-radius: 8px;
    padding: 0.85em 2em;
    font-family: var(--wp--preset--font-family--sans-serif);
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
}
.acc-form-submit:hover {
    background: var(--wp--preset--color--primary-light);
}
.acc-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.acc-form-note {
    font-size: 0.8125rem;
    color: var(--wp--preset--color--muted);
    margin-top: -0.5rem;
    font-style: italic;
}
@media (max-width: 640px) {
    .acc-form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Membership page — Members section (green bg with texture)
   ============================================================ */

.acc-members-section {
    position: relative;
    border-top: 4px solid #a89878;
}

.acc-members-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/2026/03/concrete-wall.png');
    background-repeat: repeat;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.acc-members-section > * {
    position: relative;
    z-index: 1;
}

/* Membership tiers section — shared base */
.acc-membership-tiers-section {
    position: relative;
    overflow: hidden;
}

.acc-membership-tiers-section > * {
    position: relative;
    z-index: 1;
}

/* Bluebonnet — bottom left on HOME PAGE only */
.acc-front-page .acc-membership-tiers-section::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 500px;
    height: 500px;
    background: url('/wp-content/uploads/2026/03/bluebonnet.png') no-repeat center / contain;
    pointer-events: none;
    z-index: 0;
}

/* Prickly-pear — bottom right on MEMBERSHIP PAGE only */
body:not(.acc-front-page) .acc-membership-tiers-section::after {
    content: "";
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 500px;
    height: 500px;
    background: url('/wp-content/uploads/2026/03/prickly-pear.png') no-repeat center / contain;
    pointer-events: none;
    z-index: 0;
}

/* Membership page — remove spacing between sections */
.acc-membership-benefits {
    border-top: 4px solid #a89878;
    border-bottom: 4px solid #a89878;
}

/* ============================================================
   Header / Footer logo images
   ============================================================ */

.acc-header-logo,
.acc-footer-logo {
    margin: 0 !important;
}

.acc-header-logo img,
.acc-footer-logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* Center nav links between logo and actions */
.acc-header-bar .acc-main-nav {
    flex: 1;
    justify-content: center;
}

/* Search button — make it stand out */
.acc-header-search .wp-block-search__button {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 100px !important;
    color: #ffffff !important;
    padding: 0.5em 0.75em !important;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.acc-header-search .wp-block-search__button:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Header logo — white/black swap */
.acc-header-logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* Both black logos hidden by default (white shown) */
.acc-logo-black {
    display: none !important;
}

/* Both compact logos hidden by default (full shown on desktop) */

/* Scrolled state: swap to black logo (full logo only — compact handled in mobile section) */
.acc-front-page .acc-header.is-scrolled .acc-logo-white.acc-logo-full {
    display: none !important;
}

.acc-front-page .acc-header.is-scrolled .acc-logo-black.acc-logo-full {
    display: block !important;
}

/* Scrolled search button — dark style */
.acc-front-page .acc-header.is-scrolled .acc-header-search .wp-block-search__button {
    background: rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: #0d2b12 !important;
}

.acc-front-page .acc-header.is-scrolled .acc-header-search .wp-block-search__button:hover {
    background: rgba(0, 0, 0, 0.12) !important;
    border-color: rgba(0, 0, 0, 0.25) !important;
}

/* Non-front pages use dark green header, so white logo is correct by default.
   If a page ever gets a white/light header, the black logo shows via the rule above. */

/* ============================================================
   Mobile Navigation Overlay
   ============================================================ */

.wp-block-navigation__responsive-container.is-menu-open {
    background-color: #0d2b12 !important;
    padding: 2rem;
}

/* Center nav links in the mobile overlay */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    align-items: center !important;
    justify-content: center !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    text-align: center;
    width: 100%;
    justify-content: center !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
    color: #ffffff !important;
    font-size: 1.25rem;
    padding: 0.75rem 0;
    justify-content: center;
    width: 100%;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a:hover {
    color: #13ec13 !important;
}

/* Hamburger and close button colors */
.acc-header .wp-block-navigation__responsive-container-open,
.acc-header .wp-block-navigation__responsive-container-close {
    color: #ffffff;
}

.acc-front-page .acc-header.is-scrolled .wp-block-navigation__responsive-container-open {
    color: #0d2b12;
}

/* ============================================================
   Mobile Responsive — Comprehensive
   ============================================================ */

/* ---------- Tap targets (all screens) ---------- */
.wp-element-button,
.wp-block-button__link,
button,
input[type="submit"] {
    min-height: 44px;
}

/* ---------- Tablet (max-width: 1024px) ---------- */
@media (max-width: 1024px) {

    /* Membership tier cards — 2-column grid on tablet */
    .acc-membership-row {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .acc-membership-row .acc-tier-cell {
        flex-basis: calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
    }

    /* Sponsorship stats bar — 2x2 grid on tablet */
    .acc-stats-bar.is-layout-flex {
        flex-wrap: wrap !important;
    }

    .acc-stats-bar.is-layout-flex > * {
        flex-basis: calc(50% - 1rem) !important;
        max-width: calc(50% - 1rem) !important;
    }
}

/* Compact logo — hidden by default on desktop */
.acc-logo-compact {
    display: none !important;
}

/* ---------- Mobile (max-width: 781px) ---------- */
@media (max-width: 781px) {

    /* --- Header: swap to compact logo mark --- */
    .acc-header-logo .acc-logo-full,
    .acc-front-page .acc-header .acc-header-logo .acc-logo-full,
    .acc-front-page .acc-header.is-scrolled .acc-header-logo .acc-logo-full,
    .acc-front-page .acc-header.is-scrolled .acc-header-logo .acc-logo-black.acc-logo-full {
        display: none !important;
    }
    .acc-header-logo .acc-logo-compact.acc-logo-white {
        display: block !important;
    }
    .acc-header-logo .acc-logo-compact.acc-logo-black {
        display: none !important;
    }
    /* Scrolled front-page: swap compact logo colors */
    .acc-front-page .acc-header.is-scrolled .acc-header-logo .acc-logo-compact.acc-logo-white {
        display: none !important;
    }
    .acc-front-page .acc-header.is-scrolled .acc-header-logo .acc-logo-compact.acc-logo-black {
        display: block !important;
    }

    .acc-header-logo {
        width: 90px !important;
    }

    .acc-header-bar {
        gap: 0.5rem !important;
    }

    /* Hide Donate button on mobile */
    .acc-header .acc-header-actions {
        display: none !important;
    }

    /* Push hamburger menu button to the right */
    .acc-header .acc-main-nav {
        flex: 0 0 auto !important;
        margin-left: auto !important;
        justify-content: flex-end !important;
    }

    /* Reduce fixed header height awareness */
    body:not(.acc-front-page) .acc-main {
        padding-top: 56px;
    }

    /* --- Hero --- */
    .acc-hero.wp-block-cover {
        padding-top: clamp(5rem, 12vh, 7rem) !important;
        padding-bottom: clamp(2rem, 6vh, 4rem) !important;
        padding-left: var(--wp--preset--spacing--40, 1.5rem) !important;
        padding-right: var(--wp--preset--spacing--40, 1.5rem) !important;
    }

    .acc-hero .wp-block-heading {
        font-size: clamp(1.75rem, 5vw, 2.5rem) !important;
    }

    .acc-hero .wp-block-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .acc-hero .wp-block-buttons .wp-block-button {
        width: 100%;
    }

    .acc-hero .wp-block-buttons .wp-block-button__link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* --- Advocacy section --- */
    .acc-advocacy-grid {
        flex-wrap: wrap !important;
        padding: var(--wp--preset--spacing--60, 3rem) var(--wp--preset--spacing--40, 1.5rem) !important;
    }

    .acc-advocacy-grid > .wp-block-column {
        flex-basis: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .acc-advocacy-grid > .wp-block-column:first-child {
        padding-right: 0;
        margin-bottom: var(--wp--preset--spacing--50, 2rem);
    }

    .acc-advocacy-grid > .wp-block-column:last-child {
        padding-left: 0;
    }

    /* Hide vertical divider on mobile */
    .acc-advocacy-grid > .wp-block-column:first-child::after {
        display: none;
    }

    /* --- Membership tier cards — horizontal scroll on phone --- */
    .acc-membership-row {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem !important;
        gap: 12px !important;
    }

    .acc-membership-row .acc-tier-cell {
        flex: 0 0 260px !important;
        max-width: 260px !important;
        scroll-snap-align: start;
    }

    /* Scroll hint shadow */
    .acc-membership-tiers-section {
        position: relative;
    }

    /* First-year discount banner — stack vertically */
    .acc-membership-banner.is-layout-flex,
    .acc-membership-banner .is-layout-flex {
        flex-direction: column !important;
        text-align: center;
        gap: 1rem !important;
    }

    /* --- Footer — single column --- */
    .acc-footer .is-layout-flex.are-vertically-aligned-top,
    .acc-footer .wp-block-columns {
        flex-direction: column !important;
        gap: var(--wp--preset--spacing--50, 2rem) !important;
    }

    .acc-footer .wp-block-columns > .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
        text-align: center;
    }

    .acc-footer .acc-footer-links {
        text-align: center;
    }

    .acc-footer .acc-social-links {
        justify-content: center;
    }

    .acc-footer-logo {
        margin: 0 auto !important;
    }

    /* Footer bottom bar */
    .acc-footer .is-layout-flex[style*="space-between"] {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
        text-align: center;
    }

    /* --- Sponsorship page --- */

    /* Stats bar — 2x2 grid */
    .acc-stats-bar.is-layout-flex {
        flex-wrap: wrap !important;
        gap: 1rem !important;
    }

    .acc-stats-bar.is-layout-flex > * {
        flex-basis: calc(50% - 0.5rem) !important;
        max-width: calc(50% - 0.5rem) !important;
        text-align: center;
    }

    /* Benefits cards — single column */
    .acc-benefits-grid.is-layout-grid,
    .acc-benefits-grid.wp-block-columns {
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
    }

    .acc-benefits-grid > .wp-block-column {
        flex-basis: 100% !important;
    }

    /* Process steps — single column */
    .acc-process-steps.is-layout-grid,
    .acc-process-steps.wp-block-columns {
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
    }

    .acc-process-steps > .wp-block-column {
        flex-basis: 100% !important;
    }

    /* Pricing card — reduce padding */
    .acc-pricing-card {
        padding: var(--wp--preset--spacing--40, 1.5rem) !important;
    }

    /* --- Contact page --- */

    /* Stack columns */
    .page-template-page-contact .wp-block-columns {
        flex-direction: column !important;
    }

    .page-template-page-contact .wp-block-columns > .wp-block-column {
        flex-basis: 100% !important;
    }

    /* Contact cards before form — reorder */
    .page-template-page-contact .wp-block-columns.acc-contact-layout {
        display: flex !important;
        flex-direction: column-reverse !important;
    }

    /* Form row — single column on mobile */
    .acc-form-row {
        grid-template-columns: 1fr;
    }

    /* --- Board Members --- */
    .acc-board-grid.is-layout-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* --- General typography scale-down --- */
    .acc-main .wp-block-heading.has-4-xl-font-size,
    .acc-main .has-4-xl-font-size {
        font-size: clamp(1.5rem, 4vw, 2rem) !important;
    }

    .acc-main .wp-block-heading.has-3-xl-font-size,
    .acc-main .has-3-xl-font-size {
        font-size: clamp(1.25rem, 3.5vw, 1.75rem) !important;
    }

    /* --- General spacing reduction on mobile --- */
    .alignfull > .wp-block-group__inner-container,
    .alignfull > .wp-block-cover__inner-container {
        padding-left: var(--wp--preset--spacing--40, 1.5rem) !important;
        padding-right: var(--wp--preset--spacing--40, 1.5rem) !important;
    }
}

/* ---------- Small phones (max-width: 480px) ---------- */
@media (max-width: 480px) {

    /* Header — compact logo slightly smaller on tiny screens */
    .acc-header-logo {
        width: 75px !important;
    }

    /* Hero buttons stack */
    .acc-hero .wp-block-button__link {
        font-size: 0.8125rem !important;
        padding: 0.75em 1.25em !important;
    }

    /* Membership cards slightly narrower */
    .acc-membership-row .acc-tier-cell {
        flex: 0 0 230px !important;
        max-width: 230px !important;
    }

    /* Board members — single column on very small */
    .acc-board-grid.is-layout-grid {
        grid-template-columns: 1fr !important;
    }

    /* Sponsorship stats — single column */
    .acc-stats-bar.is-layout-flex > * {
        flex-basis: 100% !important;
        max-width: 100% !important;
    }

    /* Reduce section padding */
    .acc-advocacy-grid {
        padding: var(--wp--preset--spacing--50, 2rem) var(--wp--preset--spacing--30, 1rem) !important;
    }

    /* Footer reduce padding */
    .acc-footer.wp-block-group {
        padding-left: var(--wp--preset--spacing--30, 1rem) !important;
        padding-right: var(--wp--preset--spacing--30, 1rem) !important;
    }
}
