:root {
    --color-base-primary: #2D4739;
    --color-base-secondary: #1F2421;
    --color-base-darkGray: #C5BEA5;
    --color-base-gray: #F7F5F0;
    --color-base-lightGray: #EBE7DF;
    --color-base-lightGold: #D4A340;
    --color-base-darkGold: #B88628;
    --color-base-lightGreen: #4A6B56;
}

.site-logo-text {
    font-family: var(--font-secondary, 'Fraunces', serif);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff;
    white-space: nowrap;
    line-height: 1.2;
    transition: color 0.3s ease-in-out;
}

@media (min-width: 640px) {
    .site-logo-text {
        font-size: 1.35rem;
        letter-spacing: 0.16em;
    }
}

@media (min-width: 1024px) {
    .site-logo-text {
        font-size: 1.5rem;
        letter-spacing: 0.18em;
    }
}

.site-logo-text:hover,
a:hover .site-logo-text {
    color: var(--color-base-lightGold, #D4A340);
}

.bg-base-lightGreen\/98 {
    background-color: rgba(74, 107, 86, 0.98) !important;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

[x-cloak] {
    display: none !important;
}

#app {
    min-height: 100vh;
    background: #fff;
}

main#main {
    background: #fff;
}

.termly-display-preferences {
    cursor: pointer;
}

.cookie-consent-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 2147483646;
    width: auto;
    max-width: 46rem;
    margin: 0 auto;
    background: var(--color-base-secondary, #1F2421);
    color: #fff;
    border-radius: 0.9rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
    .cookie-consent-banner {
        padding: 1.25rem 1.5rem;
    }
}

.block-form .form-shell {
    display: grid;
    gap: 1rem;
}

.block-form .form-shell--inline {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.block-form .form-shell--stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.block-form .field--full {
    grid-column: 1 / -1;
}

.block-form .form-shell input,
.block-form .form-shell textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: #fff;
    color: var(--color-base-secondary, #1F2421);
    border-radius: 999px;
    padding: 0.95rem 1.25rem;
    font-family: 'Albert Sans', sans-serif;
    font-size: 1rem;
}

.block-form .form-shell textarea {
    min-height: 10rem;
    border-radius: 1.5rem;
    resize: vertical;
}

.block-form .form-shell input::placeholder,
.block-form .form-shell textarea::placeholder {
    color: var(--color-base-primary, #2D4739);
}

.block-form .form-shell button {
    white-space: nowrap;
    border: 0;
    cursor: pointer;
}

@media (max-width: 767px) {
    .block-form .form-shell--inline,
    .block-form .form-shell--stack {
        grid-template-columns: 1fr;
    }
}

/* Policy and Legal Pages Styling */
.policy-card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 1.75rem;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
    .policy-card {
        padding: 2.5rem;
    }
}

.policy-table-wrapper {
    overflow-x: auto;
    border-radius: 0.85rem;
    border: 1px solid #EBE7DF;
    background: #ffffff;
}

.policy-table {
    width: 100%;
    min-width: 580px;
    text-align: left;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.policy-table th {
    background: #F7F5F0;
    color: #2D4739;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    padding: 0.9rem 1.15rem;
    border-bottom: 1px solid #EBE7DF;
    white-space: nowrap;
}

.policy-table td {
    padding: 0.9rem 1.15rem;
    border-bottom: 1px solid #F7F5F0;
    color: #1F2421;
    font-family: 'Albert Sans', sans-serif;
    vertical-align: top;
}

.policy-table tr:last-child td {
    border-bottom: none;
}
