@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
    --b2a-ink: #19130e;
    --b2a-paper: #fbf5ea;
    --b2a-sand: #f2e3c7;
    --b2a-mist: #ede3d4;
    --b2a-forest: #173025;
    --b2a-green: #29513d;
    --b2a-gold: #b88a34;
    --b2a-gold-deep: #8f6823;
    --b2a-clay: #7a4530;
    --b2a-burgundy: #57211f;
    --b2a-line: rgba(25, 19, 14, 0.12);
    --b2a-line-strong: rgba(25, 19, 14, 0.2);
    --b2a-shadow: 0 20px 55px rgba(39, 27, 17, 0.12);
    --b2a-heading: "Cormorant Garamond", Georgia, serif;
    --b2a-body: "Source Sans 3", "Segoe UI", sans-serif;
}

body {
    background:
        radial-gradient(circle at top left, rgba(184, 138, 52, 0.2), transparent 28%),
        radial-gradient(circle at top right, rgba(41, 81, 61, 0.14), transparent 26%),
        linear-gradient(180deg, #fbf7ef 0%, #f0e4d0 52%, #e6dac8 100%);
    color: var(--b2a-ink);
    font-family: var(--b2a-body);
}

.wp-site-blocks {
    min-height: 100vh;
}

header.wp-block-template-part,
footer.wp-block-template-part {
    background: rgba(251, 245, 234, 0.76);
    backdrop-filter: blur(12px);
}

header.wp-block-template-part {
    border-bottom: 1px solid rgba(25, 19, 14, 0.08);
}

footer.wp-block-template-part {
    border-top: 1px solid rgba(25, 19, 14, 0.08);
}

.wp-block-site-title a,
.wp-block-post-title,
h1,
h2,
h3,
h4 {
    font-family: var(--b2a-heading);
    letter-spacing: 0.01em;
}

.wp-block-site-title a {
    color: var(--b2a-forest);
    font-weight: 700;
}

.wp-block-navigation-item__content {
    color: var(--b2a-forest);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.wp-block-navigation-item__content:hover,
.wp-block-navigation-item__content:focus {
    color: var(--b2a-clay);
}

a {
    color: var(--b2a-gold-deep);
}

a:hover,
a:focus {
    color: var(--b2a-clay);
}

body:not(.home) article .entry-content {
    max-width: 920px;
    padding: clamp(1.5rem, 2vw, 2.3rem);
    border: 1px solid var(--b2a-line);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(184, 138, 52, 0.15), transparent 20%),
        linear-gradient(180deg, rgba(255, 251, 245, 0.96) 0%, rgba(244, 234, 215, 0.98) 100%);
    box-shadow: var(--b2a-shadow);
}

body:not(.home) article .entry-content > h2:first-child {
    margin-top: 0;
    margin-bottom: 1.3rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(25, 19, 14, 0.14);
    font-size: clamp(2.1rem, 4.4vw, 3.3rem);
    color: var(--b2a-forest);
    line-height: 0.98;
}

body:not(.home) article .entry-content h3 {
    margin-top: 1.6rem;
    margin-bottom: 0.35rem;
    font-size: clamp(1.55rem, 3vw, 2rem);
    color: var(--b2a-burgundy);
}

body:not(.home) article .entry-content h4 {
    margin-top: 1.2rem;
    margin-bottom: 0.25rem;
    font-size: 1.28rem;
    color: var(--b2a-gold-deep);
}

body:not(.home) article .entry-content p,
body:not(.home) article .entry-content li {
    font-size: 1.04rem;
    line-height: 1.6;
}

body:not(.home) article .entry-content ul,
body:not(.home) article .entry-content ol {
    padding-left: 1.2rem;
}

body:not(.home) article .entry-content li::marker {
    color: var(--b2a-gold-deep);
}

.b2a-shell {
    color: var(--b2a-ink);
    font-family: var(--b2a-body);
}

.b2a-shell h1,
.b2a-shell h2,
.b2a-shell h3,
.b2a-shell h4 {
    color: var(--b2a-forest);
    font-family: var(--b2a-heading);
}

.b2a-home {
    padding: 2rem 0 3rem;
}

.b2a-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.82fr);
    gap: 1.35rem;
    padding: clamp(1.6rem, 3vw, 2.6rem);
    overflow: hidden;
    border: 1px solid var(--b2a-line);
    border-radius: 30px;
    background:
        radial-gradient(circle at 84% 14%, rgba(184, 138, 52, 0.3), transparent 18%),
        radial-gradient(circle at 10% 80%, rgba(41, 81, 61, 0.18), transparent 28%),
        linear-gradient(140deg, rgba(255, 250, 241, 0.98) 0%, rgba(239, 226, 199, 0.98) 100%);
    box-shadow: 0 22px 60px rgba(39, 27, 17, 0.12);
}

.b2a-hero.has-site-hero {
    background:
        linear-gradient(90deg, rgba(251, 245, 234, 0.94) 0%, rgba(251, 245, 234, 0.82) 36%, rgba(23, 48, 37, 0.28) 100%),
        radial-gradient(circle at 84% 14%, rgba(184, 138, 52, 0.26), transparent 18%),
        radial-gradient(circle at 10% 80%, rgba(41, 81, 61, 0.14), transparent 28%),
        var(--b2a-hero-image),
        linear-gradient(140deg, rgba(255, 250, 241, 0.98) 0%, rgba(239, 226, 199, 0.98) 100%);
    background-position: center center, 84% 14%, 10% 80%, center center, center center;
    background-repeat: no-repeat;
    background-size: auto, auto, auto, cover, auto;
}

.b2a-hero.has-site-hero .b2a-hero-aside {
    background: rgba(255, 250, 243, 0.9);
    box-shadow: 0 14px 36px rgba(31, 22, 14, 0.12);
}

.b2a-hero::before {
    content: "";
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(184, 138, 52, 0.22);
    border-radius: 24px;
    pointer-events: none;
}

.b2a-hero::after {
    content: "";
    position: absolute;
    right: -5rem;
    top: -4rem;
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 138, 52, 0.23) 0%, rgba(184, 138, 52, 0) 70%);
    pointer-events: none;
}

.b2a-hero-copy,
.b2a-hero-aside {
    position: relative;
    z-index: 1;
}

.b2a-eyebrow,
.b2a-panel-kicker,
.b2a-event-type,
.b2a-hero-aside-kicker {
    margin: 0 0 0.7rem;
    color: var(--b2a-clay);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.b2a-hero-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.9rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(122, 69, 48, 0.12);
    border-radius: 999px;
    background: rgba(255, 250, 243, 0.72);
    color: var(--b2a-gold-deep);
    font-size: 0.96rem;
    font-weight: 600;
}

.b2a-hero h1 {
    max-width: 12ch;
    margin: 0;
    color: var(--b2a-forest);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.94;
    text-wrap: balance;
}

.b2a-lead {
    max-width: 52rem;
    margin: 1rem 0 0;
    color: #3f3329;
    font-size: 1.08rem;
}

.b2a-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.b2a-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.84rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(39, 27, 17, 0.08);
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease;
}

.b2a-button:hover,
.b2a-button:focus {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(39, 27, 17, 0.12);
}

.b2a-button-primary {
    background: linear-gradient(135deg, #1b382b 0%, #29513d 100%);
    color: #fffaf3;
}

.b2a-button-secondary {
    border-color: rgba(41, 81, 61, 0.25);
    background: rgba(255, 251, 245, 0.85);
    color: var(--b2a-forest);
}

.b2a-button-tertiary {
    border-color: rgba(184, 138, 52, 0.24);
    background: rgba(184, 138, 52, 0.12);
    color: var(--b2a-gold-deep);
}

.b2a-hero-aside {
    align-self: stretch;
    padding: 1.25rem 1.2rem;
    border: 1px solid rgba(25, 19, 14, 0.1);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 252, 246, 0.92) 0%, rgba(246, 235, 213, 0.95) 100%);
}

.b2a-hero-aside h2 {
    margin: 0;
    color: var(--b2a-burgundy);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 0.98;
}

.b2a-feature-list {
    display: grid;
    gap: 0.9rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.b2a-feature-list li {
    position: relative;
    padding-left: 1.4rem;
    color: #43372b;
}

.b2a-feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--b2a-gold) 0%, var(--b2a-clay) 100%);
    box-shadow: 0 0 0 4px rgba(184, 138, 52, 0.14);
}

.b2a-home-grid,
.b2a-join-grid,
.b2a-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.b2a-panel,
.b2a-event-card,
.b2a-detail-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--b2a-line);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(184, 138, 52, 0.14), transparent 24%),
        linear-gradient(180deg, rgba(255, 251, 245, 0.97) 0%, rgba(244, 234, 215, 0.97) 100%);
    box-shadow: 0 18px 42px rgba(39, 27, 17, 0.08);
}

.b2a-panel::before,
.b2a-event-card::before,
.b2a-detail-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, rgba(184, 138, 52, 0) 0%, rgba(184, 138, 52, 0.65) 50%, rgba(184, 138, 52, 0) 100%);
}

.b2a-panel,
.b2a-event-card,
.b2a-detail-card,
.b2a-join-card {
    padding: 1.4rem;
}

.b2a-panel h2,
.b2a-event-card h2 {
    margin-top: 0;
    margin-bottom: 0.45rem;
    font-size: clamp(1.9rem, 4vw, 2.5rem);
    line-height: 0.98;
}

.b2a-panel h2 a,
.b2a-event-card h2 a {
    color: var(--b2a-forest);
    text-decoration: none;
}

.b2a-panel h2 a:hover,
.b2a-event-card h2 a:hover {
    color: var(--b2a-clay);
}

.b2a-empty-state {
    display: grid;
    gap: 0.6rem;
    padding: 1.2rem;
    border: 1px dashed rgba(122, 69, 48, 0.2);
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.72);
}

.b2a-empty-title {
    margin: 0;
    color: var(--b2a-burgundy);
    font-family: var(--b2a-heading);
    font-size: 1.55rem;
    line-height: 1;
}

.b2a-join-list {
    display: grid;
    gap: 0.9rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: b2a-join;
}

.b2a-join-list li {
    position: relative;
    padding: 0.95rem 1rem 0.95rem 3.7rem;
    border: 1px solid rgba(25, 19, 14, 0.08);
    border-radius: 18px;
    background: rgba(255, 252, 247, 0.74);
}

.b2a-join-list li::before {
    counter-increment: b2a-join;
    content: counter(b2a-join);
    position: absolute;
    left: 1rem;
    top: 0.9rem;
    width: 1.8rem;
    height: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--b2a-gold) 0%, var(--b2a-clay) 100%);
    color: #fffaf3;
    font-weight: 700;
}

.b2a-list {
    display: grid;
    gap: 0.95rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.b2a-list-item {
    padding: 1rem 1.05rem;
    border: 1px solid rgba(25, 19, 14, 0.08);
    border-radius: 18px;
    background: rgba(255, 252, 247, 0.74);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.b2a-list-item:hover,
.b2a-list-item:focus-within {
    transform: translateY(-1px);
    border-color: rgba(184, 138, 52, 0.25);
    box-shadow: 0 14px 28px rgba(39, 27, 17, 0.08);
}

.b2a-list-date {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: var(--b2a-clay);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.b2a-list-item a {
    color: var(--b2a-forest);
    font-family: var(--b2a-heading);
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 0.98;
    text-decoration: none;
}

.b2a-list-item p {
    margin-bottom: 0;
    color: #4a3f34;
}

.b2a-event-purpose {
    color: #43372b;
    font-size: 1.04rem;
}

.b2a-event-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 0.75rem;
    margin: 1rem 0 1.1rem;
}

.b2a-event-meta div {
    padding: 0.78rem 0.85rem;
    border: 1px solid rgba(25, 19, 14, 0.08);
    border-radius: 16px;
    background: rgba(255, 252, 247, 0.76);
}

.b2a-join-card {
    border: 1px solid rgba(25, 19, 14, 0.08);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 254, 250, 0.96) 0%, rgba(248, 239, 221, 0.94) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.b2a-join-card h3,
.b2a-detail-card h3 {
    margin-top: 0;
    margin-bottom: 0.45rem;
    color: var(--b2a-burgundy);
    font-size: 1.55rem;
}

.b2a-plain-text {
    padding: 1rem;
    overflow-x: auto;
    border: 1px solid rgba(25, 19, 14, 0.08);
    border-radius: 14px;
    background: #fffdf8;
    color: #2c241c;
    white-space: pre-wrap;
}

.b2a-muted,
.b2a-inline-note {
    color: #65594c;
}

.b2a-inline-note {
    display: block;
    margin-top: 0.8rem;
}

@media (prefers-reduced-motion: no-preference) {
    .b2a-hero,
    .b2a-panel,
    .b2a-event-card,
    .b2a-detail-card,
    body:not(.home) article .entry-content {
        animation: b2a-rise 700ms ease both;
    }
}

@keyframes b2a-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .b2a-hero {
        grid-template-columns: 1fr;
    }

    .b2a-hero h1 {
        max-width: none;
    }
}

@media (max-width: 880px) {
    body:not(.home) article .entry-content {
        padding: 1.25rem;
        border-radius: 22px;
    }

    .b2a-home-grid,
    .b2a-join-grid,
    .b2a-detail-grid {
        grid-template-columns: 1fr;
    }

    .b2a-hero {
        padding: 1.35rem;
        border-radius: 24px;
    }

    .b2a-panel,
    .b2a-event-card,
    .b2a-detail-card,
    .b2a-join-card {
        padding: 1.1rem;
    }
}

@media (max-width: 640px) {
    .b2a-home {
        padding-top: 1.2rem;
    }

    .b2a-hero-actions {
        flex-direction: column;
    }

    .b2a-button {
        width: 100%;
    }

    .b2a-list-item a {
        font-size: 1.35rem;
    }
}
