.martinborough-page {
    color: rgba(255, 255, 255, 0.9);
}

.martinborough-content {
    padding: 3rem 0 5rem;
}

.martinborough-content > .section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.martinborough-intro,
.martinborough-glance,
.martinborough-section,
.martinborough-cta {
    margin-bottom: 3.5rem;
    line-height: 1.7;
}

.martinborough-intro p,
.martinborough-section p,
.martinborough-cta p {
    margin: 0 0 1.15rem;
    font-size: 1.05rem;
}

.martinborough-byline {
    margin-top: 1.5rem !important;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.7);
}

.martinborough-page h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2.4rem;
    letter-spacing: 0.5px;
    color: #fff;
    margin: 0 0 1.25rem;
    line-height: 1.15;
}

.martinborough-page h3 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.55rem;
    letter-spacing: 0.4px;
    color: #fff;
    margin: 0 0 0.65rem;
}

.martinborough-page a {
    color: #7a9e06;
    text-decoration: none;
}

.martinborough-page a:hover {
    color: #9bc40d;
}

.martinborough-table-wrap,
.planner-controls,
.planner-stage,
.cellar-card,
.stay-card,
.todo-grid article,
.martinborough-ride {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
}

.martinborough-table-wrap {
    overflow-x: auto;
}

.martinborough-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.martinborough-table th,
.martinborough-table td {
    text-align: left;
    padding: 0.95rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
}

.martinborough-table tr:last-child th,
.martinborough-table tr:last-child td {
    border-bottom: none;
}

.martinborough-table th {
    width: 34%;
    color: #7a9e06;
    font-weight: 600;
}

.martinborough-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: -1.5rem 0 2.5rem;
}

.martinborough-jump a,
.cellar-filters button,
.martinborough-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.martinborough-jump a:hover,
.cellar-filters button:hover,
.cellar-filters button.is-active {
    border-color: #7a9e06;
    color: #fff;
}

.martinborough-btn {
    background: #7a9e06;
    border-color: #7a9e06;
    border-radius: 6px;
    padding: 0.75rem 1.2rem;
    font-weight: 600;
    color: #fff !important;
}

.martinborough-btn:hover {
    background: #8bb20a;
    color: #fff !important;
}

.martinborough-btn--ghost {
    background: transparent;
    color: #fff !important;
}

.martinborough-photo-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 0 0 2.5rem;
}

.martinborough-photo-row figure,
.martinborough-figure {
    margin: 0;
}

.martinborough-photo-row img,
.martinborough-figure img,
.martinborough-video iframe {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

.martinborough-figure {
    margin-bottom: 1.25rem;
}

.martinborough-figure img {
    height: auto;
    max-height: 460px;
}

.martinborough-photo-row figcaption,
.martinborough-figure figcaption {
    margin-top: 0.5rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
}

.martinborough-video {
    position: relative;
    padding-top: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
}

.martinborough-video iframe {
    position: absolute;
    inset: 0;
    height: 100%;
    border: 0;
    border-radius: 0;
}

.planner-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 1.25rem;
    align-items: start;
}

.planner-controls,
.planner-stage {
    padding: 1.1rem;
}

.planner-field,
.planner-field-row {
    margin-bottom: 0.85rem;
}

.planner-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.planner-field label,
.planner-picks legend {
    display: block;
    margin-bottom: 0.35rem;
    color: #fff;
    font-weight: 600;
}

.planner-controls select,
.planner-controls input[type="time"] {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font: inherit;
}

.planner-check {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    margin: 0.4rem 0 0.9rem;
    font-size: 0.92rem;
}

.planner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.planner-picks {
    border: 0;
    margin: 0;
    padding: 0;
}

.planner-stop {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.15rem 0.55rem;
    align-items: center;
    padding: 0.45rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.planner-stop input {
    grid-row: 1 / span 2;
}

.planner-stop em {
    grid-column: 2;
    font-style: normal;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

.planner-stop.is-closed {
    opacity: 0.55;
}

.planner-map-wrap {
    position: relative;
    z-index: 1;
    border-radius: 10px;
    overflow: hidden;
    background: #d5d8d0;
}

.planner-map-wrap .leaflet-pane,
.planner-map-wrap .leaflet-top,
.planner-map-wrap .leaflet-bottom {
    z-index: 2;
}

#planner-map {
    width: 100%;
    height: 460px;
    background: #d7dbd4;
}

#planner-map .leaflet-tile {
    max-width: none !important;
    max-height: none !important;
}

.planner-marker {
    box-sizing: border-box;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #5c6560;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    text-align: center;
    line-height: 24px;
}

.planner-marker.is-on,
.planner-marker.is-start {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7a9e06;
    border-color: #fff;
    color: #1c1c1c;
    font-weight: 700;
    font-size: 12px;
    font-family: "Raleway", sans-serif;
}

.planner-marker.is-start {
    background: #c4a35a;
}

.planner-map-wrap .leaflet-tooltip.planner-tooltip {
    background: rgba(20, 20, 20, 0.9);
    color: #fff;
    border: 0;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: none;
}

.planner-map-wrap .leaflet-tooltip.planner-tooltip::before {
    border-right-color: rgba(20, 20, 20, 0.9);
}

.planner-output {
    margin-top: 1rem;
}

.planner-empty,
.planner-tip {
    color: rgba(255, 255, 255, 0.75);
}

.planner-summary {
    font-size: 1.05rem;
}

.planner-timeline {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.planner-timeline li {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.planner-timeline span {
    color: #7a9e06;
    font-weight: 600;
}

.planner-timeline p {
    margin: 0.2rem 0 0;
    font-size: 0.92rem !important;
    color: rgba(255, 255, 255, 0.75);
}

.cellar-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cellar-grid,
.stay-list,
.todo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.cellar-card,
.stay-card,
.todo-grid article {
    padding: 1.15rem 1.2rem 0.4rem;
}

.cellar-card[hidden] {
    display: none;
}

.cellar-card.is-closed-day {
    outline: 1px dashed rgba(196, 163, 90, 0.45);
}

.cellar-address,
.cellar-hours {
    margin-top: 0 !important;
}

.cellar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0 0 0.8rem;
}

.cellar-tags li {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #d7e7a4;
    border: 1px solid rgba(122, 158, 6, 0.45);
    border-radius: 999px;
    padding: 0.15rem 0.5rem;
}

.martinborough-callout,
.planner-tip {
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    border-left: 3px solid #7a9e06;
    background: rgba(122, 158, 6, 0.12);
    border-radius: 0 8px 8px 0;
}

.martinborough-ride {
    padding: 1.25rem;
    margin-top: 1.25rem;
}

.martinborough-ride .martinborough-photo-row {
    margin-bottom: 0;
}

.martinborough-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.martinborough-faq-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.martinborough-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1rem 2.6rem 1rem 1.15rem;
    font-weight: 600;
    color: #fff;
    position: relative;
}

.martinborough-faq-item summary::-webkit-details-marker {
    display: none;
}

.martinborough-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #7a9e06;
    font-size: 1.3rem;
}

.martinborough-faq-item[open] summary::after {
    content: "–";
}

.martinborough-faq-answer {
    padding: 0 1.15rem 1rem;
}

.martinborough-cta {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(122, 158, 6, 0.18), rgba(255, 255, 255, 0.04));
}

.martinborough-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

@media (max-width: 900px) {
    .planner-layout,
    .cellar-grid,
    .stay-list,
    .todo-grid,
    .martinborough-photo-row,
    .planner-field-row {
        grid-template-columns: 1fr;
    }

    .martinborough-content > .section-container {
        padding: 0 1rem;
    }

    .martinborough-page h2 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .martinborough-content {
        padding: 1.5rem 0 3.5rem;
    }

    .martinborough-btn,
    .martinborough-cta-actions .martinborough-btn {
        width: 100%;
    }

    .planner-timeline li {
        grid-template-columns: 3.6rem 1fr;
    }
}
