/*
Theme Name: Bali Creative Classes
Theme URI: https://balicreativeclasses.com/
Author: Bali Creative Classes
Description: Lightweight, responsive WordPress theme for Bali Creative Classes — authentic Balinese cooking experiences near Ubud. Built for Gutenberg, accessibility, performance and SEO.
Version: 1.1.8
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: bali-creative-classes
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Additional creative classes on homepage; isolated from existing cards and booking layouts. */
.bcc-more-classes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; margin-inline: auto; align-items: stretch; }
.bcc-more-class { background: var(--bcc-paper); border: 1px solid var(--bcc-border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.bcc-more-class-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.bcc-more-class-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.bcc-more-class-image:hover img { transform: scale(1.035); }
.bcc-more-class-body { padding: 14px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.bcc-more-class h3 { margin: 6px 0 10px; font-size: 1.08rem; line-height: 1.4; }
.bcc-more-class p:not(.eyebrow) { margin-bottom: 20px; }
.bcc-more-class .button { margin-top: auto; }
@media (max-width: 900px) { .bcc-more-classes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .bcc-more-classes { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; padding-bottom: 12px; } .bcc-more-class { flex: 0 0 min(78vw, 270px); scroll-snap-align: start; } }

/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */

:root {
    /* Colors */
    --bcc-cream: #f7f2e8;
    --bcc-paper: #fffdf8;
    --bcc-green: #234d3c;
    --bcc-green-2: #35614f;
    --bcc-terracotta: #bd684d;
    --bcc-terracotta-dark: #a55a41;
    --bcc-ink: #252622;
    --bcc-muted: #66665f;
    --bcc-border: #ddd7ca;

    /* Layout */
    --bcc-radius: 18px;
    --bcc-radius-sm: 10px;
    --bcc-shadow: 0 10px 30px rgba(37, 38, 34, 0.08);
    --bcc-shadow-sm: 0 5px 18px rgba(37, 38, 34, 0.04);
    --bcc-max: 1180px;

    /* Typography — System Font Stacks */
    --bcc-font-heading: Georgia, Cambria, 'Times New Roman', Times, serif;
    --bcc-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bcc-paper);
    color: var(--bcc-ink);
    font-family: var(--bcc-font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--bcc-font-heading);
    color: var(--bcc-green);
    line-height: 1.15;
    font-weight: 400;
}

a {
    color: var(--bcc-green);
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

a:hover {
    text-decoration-thickness: 2px;
}

a:focus-visible {
    outline: 3px solid var(--bcc-terracotta);
    outline-offset: 2px;
    border-radius: 3px;
}

p {
    margin: 0 0 1em;
}

/* ==========================================================================
   4. Layout
   ========================================================================== */

.container {
    width: min(calc(100% - 40px), var(--bcc-max));
    margin-inline: auto;
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--bcc-terracotta);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.15s ease;
    line-height: 1.3;
}

.button:hover {
    filter: brightness(0.92);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.button:focus-visible {
    outline: 3px solid var(--bcc-ink);
    outline-offset: 2px;
}

.button:active {
    transform: translateY(0);
}

.button-secondary {
    background: transparent;
    color: var(--bcc-green);
    border-color: var(--bcc-green);
}

.button-secondary:hover {
    background: var(--bcc-green);
    color: #fff;
}

.button-white {
    background: #fff;
    color: var(--bcc-green);
}

.button-white:hover {
    background: var(--bcc-cream);
    color: var(--bcc-green);
}

/* ==========================================================================
   6. Header & Navigation
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    background: var(--bcc-paper);
    border-bottom: 1px solid rgba(221, 215, 202, 0.75);
    z-index: 50;
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--bcc-green);
    font-family: var(--bcc-font-heading);
    font-size: 1.35rem;
    font-weight: 400;
    text-decoration: none;
    line-height: 1.1;
}

.site-brand:hover {
    text-decoration: none;
}

.site-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bcc-green);
    display: grid;
    place-items: center;
    color: #fff;
    font-family: var(--bcc-font-heading);
    font-size: 13px;
    flex-shrink: 0;
}

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav a {
    color: var(--bcc-ink);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.primary-nav a:hover {
    color: var(--bcc-terracotta);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--bcc-border);
    background: transparent;
    border-radius: var(--bcc-radius-sm);
    padding: 9px 14px;
    color: var(--bcc-green);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    min-height: 44px;
}

.menu-toggle:focus-visible {
    outline: 3px solid var(--bcc-terracotta);
    outline-offset: 2px;
}

.header-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bcc-terracotta);
    color: #fff !important;
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 700;
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: filter 0.2s ease;
    white-space: nowrap;
}

.header-book:hover {
    filter: brightness(0.92);
}

/* ==========================================================================
   7. Hero Section
   ========================================================================== */

.hero {
    background: var(--bcc-cream);
    padding: 72px 0 80px;
}

/* Future slider architecture: each .hero-slide can be a slide within a
   .hero-slider container. Currently only one slide is shown. */
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--bcc-terracotta);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
}

.hero h1,
.page-hero h1 {
    font-family: var(--bcc-font-heading);
    color: var(--bcc-green);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.05;
    margin: 0.15em 0 0.35em;
    letter-spacing: -0.03em;
}

.hero-copy {
    font-size: 1.1rem;
    color: #4f514b;
    max-width: 620px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.hero-media {
    min-height: 420px;
    border-radius: 30px;
    overflow: hidden;
    background: #e8e0d1;
    box-shadow: var(--bcc-shadow);
}

.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

/* ==========================================================================
   8. Sections
   ========================================================================== */

.section {
    padding: 76px 0;
}

.section-alt {
    background: var(--bcc-cream);
}

.section-green {
    background: var(--bcc-green);
    color: #fff;
}

.section-green h2,
.section-green h3 {
    color: #fff;
}

.section-green p {
    color: #dbe6dd;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 32px;
}

.section-heading h2 {
    font-family: var(--bcc-font-heading);
    color: var(--bcc-green);
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.1;
    margin: 0.15em 0;
}

.section-heading p {
    color: var(--bcc-muted);
    margin: 0;
}

.section-heading-center {
    text-align: center;
    margin-inline: auto;
}

/* ==========================================================================
   9. Trust Grid
   ========================================================================== */

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.trust-item {
    padding: 20px 18px;
    border: 1px solid var(--bcc-border);
    border-radius: 14px;
    background: var(--bcc-paper);
    font-weight: 700;
    color: var(--bcc-green);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.trust-icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
}

/* ==========================================================================
   10. Experience Cards
   ========================================================================== */

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.card {
    background: var(--bcc-paper);
    border: 1px solid var(--bcc-border);
    border-radius: var(--bcc-radius);
    overflow: hidden;
    box-shadow: var(--bcc-shadow-sm);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
    box-shadow: var(--bcc-shadow);
    transform: translateY(-3px);
}

.card-media {
    aspect-ratio: 4 / 3;
    background: #e9e1d4;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .card-media img {
    transform: scale(1.03);
}

.card-body {
    padding: 23px;
}

.card h3 {
    font-family: var(--bcc-font-heading);
    font-size: 1.45rem;
    line-height: 1.2;
    color: var(--bcc-green);
    margin: 0 0 6px;
}

.card-price {
    color: var(--bcc-terracotta);
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 0 10px;
}

.card p {
    color: var(--bcc-muted);
    margin: 0 0 16px;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.card-features li {
    padding: 4px 0;
    color: var(--bcc-muted);
    font-size: 0.9rem;
}

.card-features li::before {
    content: "✓ ";
    color: var(--bcc-green);
    font-weight: 700;
}

.card-link {
    font-weight: 800;
    text-decoration: none;
    color: var(--bcc-terracotta);
}

.card-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   11. Story / About Grid
   ========================================================================== */

.story-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 54px;
    align-items: center;
}

.story-media {
    border-radius: 26px;
    overflow: hidden;
    background: #e8e0d1;
    min-height: 420px;
}

.story-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   12. Content / Prose
   ========================================================================== */

.prose {
    max-width: 780px;
}

.prose h2,
.prose h3 {
    font-family: var(--bcc-font-heading);
    color: var(--bcc-green);
    line-height: 1.2;
}

.prose h2 {
    font-size: 2.2rem;
    margin-top: 1.5em;
}

.prose h3 {
    font-size: 1.5rem;
    margin-top: 1.2em;
}

.prose p,
.prose li {
    color: #4f514b;
    line-height: 1.8;
}

.prose img {
    border-radius: var(--bcc-radius);
    margin: 1.5em 0;
}

.prose blockquote {
    border-left: 4px solid var(--bcc-terracotta);
    margin: 1.5em 0;
    padding: 0.5em 1.5em;
    color: var(--bcc-muted);
    font-style: italic;
}

/* ==========================================================================
   13. Blog Post Grid
   ========================================================================== */

.post-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.post-card {
    border: 1px solid var(--bcc-border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bcc-paper);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.post-card:hover {
    box-shadow: var(--bcc-shadow);
    transform: translateY(-2px);
}

.post-card .card-media {
    aspect-ratio: 16 / 10;
}

.post-card-body {
    padding: 17px;
}

.post-card h3 {
    font-family: var(--bcc-font-heading);
    color: var(--bcc-green);
    font-size: 1.15rem;
    line-height: 1.25;
    margin: 5px 0 10px;
}

.post-card h3 a {
    color: inherit;
    text-decoration: none;
}

.post-card h3 a:hover {
    color: var(--bcc-terracotta);
}

.post-meta {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bcc-terracotta);
    font-weight: 800;
}

.post-excerpt {
    color: var(--bcc-muted);
    font-size: 0.9rem;
    margin: 0 0 10px;
}

/* ==========================================================================
   14. FAQ Section
   ========================================================================== */

.faq-list {
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid var(--bcc-border);
}

.faq-item details {
    padding: 0;
}

.faq-item summary {
    padding: 20px 0;
    font-family: var(--bcc-font-heading);
    font-size: 1.15rem;
    color: var(--bcc-green);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 48px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-family: var(--bcc-font-body);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--bcc-terracotta);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item details[open] summary::after {
    content: "−";
}

.faq-item summary:focus-visible {
    outline: 3px solid var(--bcc-terracotta);
    outline-offset: 2px;
    border-radius: 4px;
}

.faq-answer {
    padding: 0 0 20px;
    color: #4f514b;
    line-height: 1.7;
}

/* ==========================================================================
   15. CTA Section
   ========================================================================== */

.cta {
    background: var(--bcc-green);
    color: #fff;
    padding: 65px 0;
}

.cta h2 {
    font-family: var(--bcc-font-heading);
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.1;
    margin: 0 0 12px;
    color: #fff;
}

.cta p {
    max-width: 680px;
    color: #e8eee9;
}

.cta .button {
    background: var(--bcc-terracotta);
}

.cta .eyebrow {
    color: #c7daca;
}

/* ==========================================================================
   16. Page Hero
   ========================================================================== */

.page-hero {
    background: var(--bcc-cream);
    padding: 60px 0;
}

.page-hero .hero-copy {
    margin-top: 10px;
}

/* ==========================================================================
   17. Breadcrumbs
   ========================================================================== */

.breadcrumbs {
    font-size: 0.85rem;
    color: var(--bcc-muted);
    margin-bottom: 18px;
}

.breadcrumbs a {
    color: inherit;
    text-decoration: underline;
}

.breadcrumbs a:hover {
    color: var(--bcc-terracotta);
}

.breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.breadcrumbs li::after {
    content: " / ";
    color: var(--bcc-border);
}

.breadcrumbs li:last-child::after {
    content: "";
}

/* ==========================================================================
   18. Content Area
   ========================================================================== */

.content-area {
    padding: 65px 0;
}

/* ==========================================================================
   19. Booking Form & Estimate
   ========================================================================== */

.booking-wrap {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: start;
}

.booking-card {
    background: #fff;
    border: 1px solid var(--bcc-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--bcc-shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 17px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.field label {
    font-weight: 700;
    color: var(--bcc-green);
    font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #cfc9bd;
    border-radius: var(--bcc-radius-sm);
    background: #fff;
    color: var(--bcc-ink);
    font: inherit;
    transition: border-color 0.2s ease;
    min-height: 48px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--bcc-green);
    outline: 3px solid rgba(35, 77, 60, 0.15);
    outline-offset: 0;
}

.field textarea {
    min-height: 110px;
    resize: vertical;
}

.quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity button {
    width: 44px;
    height: 44px;
    border-radius: var(--bcc-radius-sm);
    border: 1px solid var(--bcc-border);
    background: var(--bcc-cream);
    font-size: 1.2rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.15s ease;
    color: var(--bcc-ink);
}

.quantity button:hover {
    background: var(--bcc-border);
}

.quantity button:focus-visible {
    outline: 3px solid var(--bcc-terracotta);
    outline-offset: 2px;
}

.quantity output {
    min-width: 28px;
    text-align: center;
    font-weight: 800;
    font-size: 1.05rem;
}

.form-section-heading {
    margin-top: 10px;
}

/* Estimate Sidebar */
.estimate {
    position: sticky;
    top: 100px;
    background: var(--bcc-green);
    color: #fff;
    border-radius: 20px;
    padding: 28px;
}

.estimate h2 {
    font-family: var(--bcc-font-heading);
    margin-top: 0;
    color: #fff;
    font-size: 1.3rem;
}

.estimate-total {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 8px 0 18px;
}

.estimate-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 9px 0;
    font-size: 0.92rem;
}

.small-note {
    font-size: 0.85rem;
    color: var(--bcc-muted);
}

.estimate .small-note {
    color: #dbe6dd;
}

.estimate .eyebrow {
    color: #c7daca;
}

/* ==========================================================================
   20. Footer
   ========================================================================== */

.site-footer {
    background: #19382d;
    color: #eaf0ea;
    padding: 55px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--bcc-terracotta);
}

.site-footer h2,
.site-footer h3 {
    font-family: var(--bcc-font-heading);
    color: #fff;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    padding: 3px 0;
}

.footer-bottom {
    margin-top: 35px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
    color: #cbd6cc;
}

/* ==========================================================================
   21. Post Navigation
   ========================================================================== */

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 0;
    border-top: 1px solid var(--bcc-border);
    margin-top: 40px;
}

.post-navigation a {
    font-weight: 600;
}

.nav-previous,
.nav-next {
    max-width: 45%;
}

.nav-next {
    text-align: right;
    margin-left: auto;
}

/* ==========================================================================
   22. Pagination
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 40px 0 0;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--bcc-border);
    border-radius: var(--bcc-radius-sm);
    text-decoration: none;
    font-weight: 600;
    color: var(--bcc-ink);
    transition: background 0.15s ease;
}

.pagination .page-numbers:hover {
    background: var(--bcc-cream);
}

.pagination .page-numbers.current {
    background: var(--bcc-green);
    color: #fff;
    border-color: var(--bcc-green);
}

/* ==========================================================================
   23. Search Form
   ========================================================================== */

.search-form {
    display: flex;
    gap: 8px;
    max-width: 500px;
}

.search-form .search-field {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--bcc-border);
    border-radius: var(--bcc-radius-sm);
    font: inherit;
    min-height: 48px;
}

.search-form .search-field:focus {
    border-color: var(--bcc-green);
    outline: 3px solid rgba(35, 77, 60, 0.15);
}

.search-form .search-submit {
    min-height: 48px;
    padding: 12px 20px;
    background: var(--bcc-terracotta);
    color: #fff;
    border: none;
    border-radius: var(--bcc-radius-sm);
    font-weight: 700;
    cursor: pointer;
}

/* ==========================================================================
   24. Comments
   ========================================================================== */

.comments-area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--bcc-border);
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    padding: 20px 0;
    border-bottom: 1px solid var(--bcc-border);
}

.comment-meta {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--bcc-muted);
}

.comment-author .fn {
    font-weight: 700;
    color: var(--bcc-ink);
}

.comment-respond .comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--bcc-green);
}

.comment-respond .comment-form input,
.comment-respond .comment-form textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid var(--bcc-border);
    border-radius: var(--bcc-radius-sm);
    font: inherit;
    margin-bottom: 14px;
}

.comment-respond .comment-form .submit {
    background: var(--bcc-terracotta);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    min-height: 48px;
}

 .prose .bcc-check-item {
    margin: 0.45rem 0;
    padding: 0.7rem 0.9rem;
    border-left: 3px solid var(--bcc-terracotta);
    background: var(--bcc-cream);
    border-radius: 0 var(--bcc-radius-sm) var(--bcc-radius-sm) 0;
    font-weight: 600;
}

/* ==========================================================================
   25. Utilities
   ========================================================================== */

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 10px 15px;
    background: #fff;
    color: var(--bcc-green);
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--bcc-green);
    border-radius: var(--bcc-radius-sm);
}

.skip-link:focus {
    left: 10px;
    top: 10px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Scroll animation classes */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   26. Gutenberg / Block Editor Compatibility
   ========================================================================== */

.entry-content > .alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.entry-content > .alignfull {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

.wp-block-image img {
    border-radius: var(--bcc-radius-sm);
}

.wp-block-button__link {
    background: var(--bcc-terracotta);
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 700;
}

.wp-block-quote {
    border-left: 4px solid var(--bcc-terracotta);
    padding-left: 1.5em;
    color: var(--bcc-muted);
    font-style: italic;
}

.wp-block-separator {
    border-color: var(--bcc-border);
}

/* ==========================================================================
   27. Mobile Sticky Booking CTA
   ========================================================================== */

.mobile-book {
    display: none;
}

/* ==========================================================================
   28. Responsive — Tablet (max-width: 980px)
   ========================================================================== */

@media (max-width: 980px) {
    .primary-nav ul {
        gap: 15px;
    }

    .hero-grid,
    .story-grid,
    .booking-wrap {
        grid-template-columns: 1fr;
    }

    .hero-media,
    .story-media {
        min-height: 340px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .estimate {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   29. Responsive — Mobile (max-width: 760px)
   ========================================================================== */

@media (max-width: 760px) {
    body {
        font-size: 15.5px;
        padding-bottom: 70px;
    }

    .container {
        width: min(calc(100% - 28px), var(--bcc-max));
    }

    .header-inner {
        min-height: 68px;
    }

    /* Mobile Menu */
    .menu-toggle {
        display: inline-flex;
    }

    .primary-nav {
        display: none;
        position: absolute;
        left: 14px;
        right: 14px;
        top: 68px;
        background: #fff;
        border: 1px solid var(--bcc-border);
        border-radius: 15px;
        padding: 10px;
        box-shadow: var(--bcc-shadow);
        z-index: 100;
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav ul {
        display: block;
    }

    .primary-nav li {
        padding: 2px;
    }

    .primary-nav a {
        display: block;
        padding: 12px;
        border-radius: 8px;
    }

    .primary-nav a:hover,
    .primary-nav a:focus {
        background: var(--bcc-cream);
    }

    .header-book {
        display: none;
    }

    /* Hero */
    .hero {
        padding: 42px 0 50px;
    }

    .hero-grid {
        gap: 28px;
    }

    .hero-media {
        min-height: 280px;
        border-radius: 22px;
    }

    .hero-media img {
        min-height: 280px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    /* Sections */
    .section {
        padding: 55px 0;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    /* Booking */
    .form-grid {
        grid-template-columns: 1fr;
    }

    .field-full {
        grid-column: auto;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .site-footer {
        padding-bottom: 90px;
    }

    /* Mobile Booking CTA */
    .mobile-book {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 60;
        display: flex;
        justify-content: center;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

    .mobile-book .button {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
    }

    /* Post navigation stacks */
    .post-navigation {
        flex-direction: column;
    }

    .nav-previous,
    .nav-next {
        max-width: 100%;
        text-align: left;
    }

    /* Search form stacks */
    .search-form {
        flex-direction: column;
    }
}

/* Desktop: hide mobile CTA */
@media (min-width: 761px) {
    .mobile-book {
        display: none !important;
    }
}

/* ==========================================================================
   30. Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fade-in-section {
        opacity: 1;
        transform: none;
    }

    .card:hover {
        transform: none;
    }

    .post-card:hover {
        transform: none;
    }
}

/* ==========================================================================
   31. Print Styles
   ========================================================================== */

@media print {
    .site-header,
    .site-footer,
    .mobile-book,
    .menu-toggle,
    .primary-nav,
    .header-book,
    .cta,
    .skip-link {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .container {
        max-width: 100%;
    }
}

/* Contextual SEO links: useful to people first, with descriptive anchors. */
.bcc-related-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.bcc-related-links .button{margin:0}
.bcc-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;list-style:none;margin:24px 0 0;padding:0}
.bcc-resource-grid li{margin:0}
.bcc-resource-link{display:flex;align-items:center;min-height:100%;padding:18px 20px;border:1px solid var(--bcc-border);border-radius:var(--bcc-radius-sm);background:var(--bcc-paper);color:var(--bcc-green);font-family:var(--bcc-font-heading);font-size:1.05rem;font-weight:700;line-height:1.4;text-decoration:none;box-shadow:var(--bcc-shadow-sm);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.bcc-resource-link:hover,.bcc-resource-link:focus-visible{transform:translateY(-2px);border-color:var(--bcc-green-2);box-shadow:var(--bcc-shadow)}
@media (max-width:720px){.bcc-resource-grid{grid-template-columns:1fr}}
.article-cluster-links{margin-top:48px;padding:28px;border:1px solid var(--bcc-border);border-radius:var(--bcc-radius);background:var(--bcc-paper)}
.article-cluster-links h2,.article-primary-cta h2{margin-top:0;color:var(--bcc-green)}
.article-cluster-links ul{display:grid;gap:10px;margin:18px 0 0;padding-left:22px}
.article-cluster-links a{color:var(--bcc-green);font-weight:700}
.article-primary-cta{margin-top:24px;padding:34px;border:1px solid var(--bcc-border);border-radius:var(--bcc-radius);background:var(--bcc-cream);text-align:center}
.article-primary-cta p{max-width:680px;margin:0 auto 22px;color:var(--bcc-muted)}
.article-primary-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.article-primary-actions .button{margin:0}
.bcc-section-media{margin:30px auto 4px;overflow:hidden;border-radius:var(--bcc-radius);box-shadow:var(--bcc-shadow);background:var(--bcc-cream)}
.bcc-section-media img{width:100%;height:clamp(280px,48vw,520px);object-fit:cover}
