/* ==========================================================================
   Bayr.im - Site Styles
   Extracted from reference-design.html + inner page styles from brief
   ========================================================================== */

/* 0. Self-hosted Fonts (no external Google Fonts dependency)
   ========================================================================== */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/playfair-display-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/playfair-display-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/playfair-display-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/playfair-display-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/source-sans-3-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/source-sans-3-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/source-sans-3-700.woff2') format('woff2');
}

/* 1. Reset & Variables
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ocean: #1E3A5F;
    --ocean-light: #2E5A8F;
    --manx-red: #E63946;
    --heather: #2D6A4F;
    --sand: #F4E8D5;
    --white: #FFFFFF;
    --text: #2D3436;
    --text-light: #636E72;
    --border: rgba(0,0,0,0.08);
}

html {
    scroll-behavior: smooth;
}

/* 2. Typography
   ========================================================================== */
body {
    font-family: 'Source Sans Pro', -apple-system, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

/* 3. Container / Layout
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 4. Navigation
   ========================================================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ocean);
}

.logo-img {
    height: 60px;
    width: auto;
}

@media (min-width: 768px) {
    .logo-img {
        height: 100px;
    }
}

.footer .logo-img {
    height: 80px;
}

@media (min-width: 768px) {
    .footer .logo-img {
        height: 120px;
    }
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--ocean);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-links {
    display: none;
    gap: 2.5rem;
    font-size: 1.1rem;
}

/* Hamburger button */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
    position: relative;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ocean);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile nav menu */
@media (max-width: 1439px) {
    /* When menu is open, expand the nav itself to full screen */
    .nav.menu-open {
        bottom: 0;
        background: #ffffff;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        font-size: 1.3rem;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .nav.menu-open .nav-links {
        display: flex;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 0 24px;
    }

    .nav-links a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 18px 0;
        border-bottom: 1px solid var(--border);
        font-weight: 600;
        color: var(--ocean);
        transition: color 0.2s, background 0.2s;
    }

    .nav-links a:first-child {
        border-top: 1px solid var(--border);
    }

    .nav-links a:hover,
    .nav-links a:active {
        color: var(--manx-red);
        background: var(--sand);
    }

    .nav-inner {
        padding: 0.5rem 12px;
    }

    .logo {
        flex-shrink: 0;
    }

    .logo-img {
        height: 50px;
    }

    .nav-right {
        gap: 8px;
        flex-shrink: 1;
        min-width: 0;
    }

    .nav-cta {
        font-size: clamp(0.55rem, 2vw, 0.75rem);
        padding: 6px 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-shrink: 1;
        min-width: 0;
    }

    .hamburger {
        flex-shrink: 0;
    }

    body.nav-open {
        overflow: hidden;
    }
}

@media (max-width: 374px) {
    .logo-img {
        height: 45px;
    }

    .nav-cta {
        display: none;
    }
}

@media (min-width: 1440px) {
    .nav-links {
        display: flex;
    }

    .hamburger {
        display: none;
    }
}

.nav-links a {
    color: var(--text);
    font-weight: 600;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--manx-red);
}

/* 5. Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

@media (min-width: 768px) {
    .btn {
        padding: 14px 28px;
        font-size: 1.05rem;
    }
}

@media (max-width: 350px) {
    .btn {
        padding: 10px 18px;
        font-size: 0.65rem;
    }
}

.btn-primary {
    background: var(--manx-red);
    color: white;
}

.btn-primary:hover {
    background: #c62e3a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.btn-secondary {
    background: var(--ocean);
    color: white;
}

.btn-secondary:hover {
    background: var(--ocean-light);
}

.btn-outline {
    background: transparent;
    color: var(--ocean);
    border: 2px solid var(--ocean);
}

.btn-outline:hover {
    background: var(--ocean);
    color: white;
}

/* 6. Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: min(100vh, 800px);
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--manx-red) 0%, #c62828 50%, #a11d2a 100%);
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(230, 57, 70, 0.85) 0%, rgba(161, 29, 42, 0.9) 100%);
}

.hero-bg-image--img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: none;
    z-index: 0;
}

.hero-bg-photo {
    position: absolute;
    top: 50%;
    left: 3%;
    transform: translateY(-50%);
    width: 24%;
    object-fit: contain;
    z-index: 0;
}

.hero-bg-svg {
    position: absolute;
    top: 50%;
    right: 3%;
    left: auto;
    transform: translateY(-50%);
    width: 27.5%;
    max-height: 75%;
    object-fit: contain;
    z-index: 0;
}

.hero:has(.hero-bg-image--img)::before {
    background: linear-gradient(180deg, rgba(230, 57, 70, 0.55) 0%, rgba(161, 29, 42, 0.65) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    color: white;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 7vw, 4rem);
    color: white;
    margin-bottom: 24px;
    text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

.hero h1 span {
    color: var(--sand);
}

.hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero p {
        font-size: 1.25rem;
        margin-bottom: 40px;
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .hero-buttons {
        gap: 16px;
        margin-bottom: 60px;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 500px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
    text-align: center;
    color: white;
}

.hero-stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
}

.hero-stat-label {
    font-size: 0.85rem;
    opacity: 0.7;
}

.hero-next-event {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
}

.hero-event-slide {
    display: none;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    animation: eventFadeIn 0.5s ease;
}

.hero-event-slide.active {
    display: inline-flex;
}

@keyframes eventFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-event-slide:hover .hero-next-event-title {
    text-decoration: underline;
}

.hero-next-event-label {
    background: var(--manx-red);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-next-event-title {
    font-weight: 600;
}

.hero-next-event-meta {
    opacity: 0.8;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .hero-next-event {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 12px 20px;
        font-size: 0.85rem;
        border-radius: 16px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-event-slide {
        flex-direction: column;
        align-items: center;
        gap: 4px;
        text-align: center;
    }

    .hero-bg-photo,
    .hero-bg-svg {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .hero-bg-photo {
        width: 18%;
        opacity: 0.3;
    }

    .hero-bg-svg {
        width: 20%;
        opacity: 0.3;
    }
}

/* ===== Getting Here Page ===== */

.getting-here {
    background: var(--sand);
}

.gh-hero {
    background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-light) 100%);
    padding: 80px 20px 60px;
    text-align: center;
    color: white;
}

.gh-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.gh-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.gh-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin: 0 0 16px;
    color: white;
}

.gh-hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.gh-quick-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.gh-quick-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gh-quick-stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
}

.gh-quick-stat-label {
    font-size: 0.8rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gh-intro {
    max-width: 800px;
    margin: 48px auto 0;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

/* Transport Cards */
.gh-transport-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1100px;
    margin: 48px auto;
    padding: 0 20px;
}

.gh-card {
    background: white;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gh-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.gh-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.gh-card-icon {
    font-size: 2rem;
}

.gh-card-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--ocean);
    margin: 0;
}

.gh-card-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Route Pills */
.gh-routes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.gh-route-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--sand);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
}

.gh-route-from {
    font-weight: 700;
    color: var(--ocean);
}

.gh-route-arrow {
    color: var(--manx-red);
    font-weight: 700;
}

.gh-route-to {
    font-weight: 700;
    color: var(--ocean);
}

.gh-route-duration {
    margin-left: auto;
    font-size: 0.85rem;
    color: #888;
    background: white;
    padding: 3px 10px;
    border-radius: 20px;
}

/* Flight Routes */
.gh-flight-routes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.gh-flight-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--sand);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
}

.gh-flight-city {
    font-weight: 700;
    color: var(--ocean);
    white-space: nowrap;
}

.gh-flight-detail {
    font-size: 0.8rem;
    color: #888;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gh-flight-time {
    font-size: 0.8rem;
    color: #666;
    background: white;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Info Items */
.gh-card-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.gh-info-item {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
}

.gh-info-item strong {
    min-width: 70px;
    color: var(--ocean);
}

.gh-info-item span {
    color: #555;
}

/* CTA Button */
.gh-card-cta {
    display: inline-block;
    text-align: center;
    padding: 14px 28px;
    background: var(--manx-red);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.2s, transform 0.1s;
    margin-top: auto;
}

.gh-card-cta:hover {
    background: #c62828;
    transform: translateY(-2px);
}

.gh-card-cta-secondary {
    background: transparent;
    color: var(--ocean);
    border: 1px solid #ddd;
    font-size: 0.9rem;
    margin-top: 10px;
}

.gh-card-cta-secondary:hover {
    background: var(--sand);
    border-color: var(--ocean);
}

.gh-search-widget {
    max-width: 1100px;
    margin: 0 auto 48px;
    text-align: center;
    padding: 0 20px;
}

.gh-search-widget h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--ocean);
    margin: 0 0 12px;
}

.gh-search-widget > p {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.gh-widget {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Getting Around */
.gh-getting-around {
    max-width: 1100px;
    margin: 0 auto 64px;
    padding: 48px 20px 0;
    text-align: center;
}

.gh-getting-around h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--ocean);
    margin: 0 0 12px;
}

.gh-getting-around > p {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 36px;
}

.gh-around-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.gh-around-option {
    background: white;
    padding: 28px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
}

.gh-around-option:hover {
    transform: translateY(-4px);
}

.gh-around-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
}

.gh-around-option h3 {
    font-family: 'Playfair Display', serif;
    color: var(--ocean);
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.gh-around-option p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .gh-transport-cards {
        grid-template-columns: 1fr;
    }

    .gh-hero h1 {
        font-size: 2.2rem;
    }

    .gh-quick-stats {
        gap: 24px;
    }

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

@media (max-width: 600px) {
    .gh-hero {
        padding: 60px 16px 40px;
    }

    .gh-quick-stats {
        flex-direction: column;
        gap: 16px;
    }

    .gh-around-options {
        grid-template-columns: 1fr;
    }

    .gh-card {
        padding: 24px;
    }
}

/* 7. Categories Section
   ========================================================================== */
.categories {
    padding: 48px 0;
    background: var(--sand);
}

@media (min-width: 768px) {
    .categories {
        padding: 80px 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--ocean);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 24px;
    }
}

.category-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.category-image {
    height: 180px;
    background: linear-gradient(135deg, var(--ocean), var(--ocean-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    overflow: hidden;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.category-content {
    padding: 24px;
}

.category-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text);
}

.category-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.category-link {
    color: var(--manx-red);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
}

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

/* 8. Featured Section
   ========================================================================== */
.featured {
    padding: 48px 0;
}

@media (min-width: 768px) {
    .featured {
        padding: 80px 0;
    }
}

.featured-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .featured-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.featured-main {
    background: linear-gradient(135deg, var(--ocean) 0%, #0f3460 100%);
    border-radius: 16px;
    padding: 28px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .featured-main {
        border-radius: 20px;
        padding: 48px;
        min-height: 400px;
    }
}

.featured-main::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 200px;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='20' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='0.5'/%3E%3C/svg%3E") no-repeat;
    opacity: 0.5;
}

.featured-badge {
    display: inline-flex;
    padding: 6px 12px;
    background: var(--manx-red);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    width: fit-content;
}

.featured-main h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.featured-main p {
    opacity: 0.85;
    margin-bottom: 24px;
    max-width: 400px;
}

.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.featured-small {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    flex: 1;
    transition: all 0.3s;
}

.featured-small:hover {
    border-color: var(--ocean);
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.1);
}

.featured-small-icon {
    width: 48px;
    height: 48px;
    background: var(--sand);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.featured-small h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.featured-small p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 9. Newsletter Section
   ========================================================================== */
.newsletter {
    padding: 48px 0;
    background: var(--ocean);
    color: white;
}

@media (min-width: 768px) {
    .newsletter {
        padding: 80px 0;
    }
}

.newsletter-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 16px;
}

.newsletter p {
    opacity: 0.85;
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 480px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.newsletter-btn {
    padding: 16px 32px;
    background: var(--manx-red);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #c62e3a;
}

.newsletter-note {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 16px;
}

/* Success message */
.success-message {
    padding: 16px 24px;
    background: var(--heather);
    color: white;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
}

/* 10. About Section
   ========================================================================== */
.about {
    padding: 48px 0;
}

@media (min-width: 768px) {
    .about {
        padding: 80px 0;
    }
}

.about-grid {
    display: grid;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--ocean);
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    gap: 16px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature-icon {
    width: 32px;
    height: 32px;
    background: var(--sand);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--heather);
}

.about-feature div h4 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.about-feature div p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about-image {
    background: linear-gradient(135deg, var(--sand), #e8dcc8);
    border-radius: 16px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .about-image {
        border-radius: 20px;
        height: 400px;
    }
}

.about-image::before {
    content: '\1F3DD\FE0F';
    font-size: 8rem;
    opacity: 0.3;
}

/* 11. Footer
   ========================================================================== */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 40px 0 24px;
}

@media (min-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 40px;
        margin-bottom: 40px;
    }
}

.footer-brand {
    max-width: 280px;
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .footer-brand {
        grid-column: auto;
    }
}

.footer-brand .logo {
    color: white;
    margin-bottom: 0;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.6;
}

.footer-links h4 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-trademark {
    font-size: 0.75rem;
    opacity: 0.5;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
}

.footer-affiliate-disclosure {
    font-size: 0.72rem;
    opacity: 0.4;
    text-align: center;
    padding: 0 0 12px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    opacity: 0.6;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        padding-top: 30px;
        flex-direction: row;
        justify-content: space-between;
        font-size: 0.85rem;
        gap: 16px;
        text-align: left;
    }
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--manx-red);
}

/* 12. Listing Page Styles
   ========================================================================== */
.breadcrumbs {
    padding: 24px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--ocean);
}

.breadcrumbs a:hover {
    color: var(--manx-red);
}

.breadcrumbs span {
    margin: 0 8px;
    opacity: 0.5;
}

.listing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .listing-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }
}

.listing-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.listing-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
}

.listing-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.listing-card-content {
    padding: 24px;
}

.listing-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.listing-card-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text);
}

.listing-card-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* ===== Listing List (Horizontal Row Layout) ===== */

.listing-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.listing-row {
    display: flex;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.listing-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.listing-row-image {
    flex: 0 0 320px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.listing-row-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.listing-row-content {
    flex: 1;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.listing-row-content h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--text);
    font-family: 'Playfair Display', serif;
}

.listing-row-summary {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-row-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.listing-row-meta-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.listing-row-meta .category-link {
    flex-shrink: 0;
    white-space: nowrap;
}

.listing-row .badge-sponsored {
    align-self: flex-start;
    margin-bottom: 8px;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
    .listing-row {
        flex-direction: column;
    }

    .listing-row-image {
        flex: none;
        width: 100%;
        height: 200px;
    }

    .listing-row-image img {
        object-fit: cover;
    }

    .listing-row-content {
        padding: 20px 24px;
    }

    .listing-row-meta {
        flex-wrap: wrap;
    }
}

/* ===== Rooms Section ===== */

.rooms-section {
    padding: 40px 0;
    background: var(--sand);
}

@media (min-width: 768px) {
    .rooms-section {
        padding: 60px 0;
    }
}

.rooms-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--ocean);
    margin-bottom: 32px;
}

.rooms-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .rooms-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }
}

.room-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.room-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.room-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.room-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.room-card-content {
    padding: 20px 24px;
}

.room-card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 8px;
}

.room-card-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.room-price {
    display: inline-block;
    font-weight: 600;
    color: var(--ocean);
    font-size: 0.95rem;
}

/* Rating Stars */
.rating {
    display: inline-flex;
    gap: 2px;
    color: #f59e0b;
}

/* Price Range */
.price-range {
    color: var(--heather);
    font-weight: 600;
}

.price-range .inactive {
    opacity: 0.3;
}

/* Sponsored Badge */
.badge-sponsored {
    display: inline-block;
    padding: 4px 8px;
    background: var(--sand);
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
}

/* 13. Article / Listing Detail Page
   ========================================================================== */
.detail-header {
    padding: 80px 0 36px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
}

@media (min-width: 768px) {
    .detail-header {
        padding: 120px 0 60px;
    }
}

.detail-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 16px;
}

.detail-header .subtitle {
    font-size: 1.2rem;
    opacity: 0.85;
    margin-bottom: 24px;
}

.detail-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.detail-layout {
    display: grid;
    gap: 32px;
    padding: 36px 0;
}

@media (min-width: 768px) {
    .detail-layout {
        gap: 48px;
        padding: 60px 0;
    }
}

@media (min-width: 768px) {
    .detail-layout {
        grid-template-columns: 2fr 1fr;
    }
}

.detail-content {
    padding: 0;
}

.detail-content h2 {
    font-size: 1.5rem;
    color: var(--ocean);
    margin: 32px 0 16px;
}

.detail-content h2:first-child {
    margin-top: 0;
}

.detail-content p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.detail-content h3 {
    font-size: 1.2rem;
    color: var(--ocean);
    margin: 24px 0 12px;
    font-family: 'Playfair Display', serif;
}

.detail-content strong {
    color: var(--ocean);
    font-weight: 600;
}

.detail-content em {
    font-style: italic;
}

.detail-content ul,
.detail-content ol {
    color: var(--text-light);
    margin: 16px 0;
    padding-left: 24px;
}

.detail-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.detail-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 24px 0;
}

.detail-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--ocean);
}

.sidebar-card-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.sidebar-card-row:last-child {
    border-bottom: none;
}

.sidebar-card-row .label {
    color: var(--text-light);
    flex-shrink: 0;
}

.sidebar-card-row > span:last-child {
    text-align: right;
}

.sidebar-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: 16px;
}

/* Hide inline source link in article body (now shown in sidebar) */
.detail-content > p:last-child > em:only-child > a[target="_blank"] {
    display: none;
}
.detail-content > p:last-child:has(> em:only-child > a[target="_blank"]) {
    display: none;
}

/* Source Article Card */
.source-card {
    background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-light) 100%);
    color: white;
    border: none;
}

.source-card h3 {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.source-card .source-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: white;
}

.source-card .source-domain {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 20px 0;
}

.source-btn {
    background: white !important;
    color: var(--ocean) !important;
    font-weight: 700;
    border-radius: 8px;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-top: 0 !important;
}

.source-btn:hover {
    background: var(--sand) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.gallery-item {
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: scale(1.02);
}

/* Related Items */
.related-section {
    padding: 40px 0;
    background: var(--sand);
}

@media (min-width: 768px) {
    .related-section {
        padding: 60px 0;
    }
}

.related-section h2 {
    font-size: 1.75rem;
    color: var(--ocean);
    text-align: center;
    margin-bottom: 32px;
}

/* 14. Filters & Pagination
   ========================================================================== */

/* --- Listing Layout (Sidebar + Content) --- */

.listing-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.filter-sidebar {
    flex: 0 0 260px;
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 100px;
}

.filter-sidebar h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--ocean);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--sand);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--ocean);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.filter-clear {
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.filter-clear:hover {
    background: var(--sand);
    border-color: var(--ocean-light);
    color: var(--ocean);
}

.listing-layout .listing-list {
    flex: 1;
    min-width: 0;
}

.no-results {
    text-align: center;
    padding: 48px 24px;
    background: white;
    border-radius: 16px;
    color: var(--text-light);
    font-size: 1.05rem;
}

@media (max-width: 900px) {
    .listing-layout {
        flex-direction: column;
    }

    .filter-sidebar {
        flex: none;
        width: 100%;
        position: static;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a, .pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
}

.pagination a {
    background: white;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.pagination a:hover {
    border-color: var(--ocean);
    color: var(--ocean);
}

.pagination .current {
    background: var(--ocean);
    color: white;
}

/* Category Landing Hero */
.category-hero {
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-hero--image {
    position: relative;
    overflow: hidden;
    height: 500px;
    min-height: unset;
    padding: 0;
}

.category-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.category-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30,58,95,0.45), rgba(15,52,96,0.65));
    z-index: 1;
}

.category-hero__content {
    position: relative;
    z-index: 2;
}

.category-hero__content {
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .category-hero {
        padding: 140px 0 120px;
        min-height: 600px;
    }
}

.category-hero .icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.category-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 12px;
}

.category-hero p {
    font-size: 1.15rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Page */
.content-page {
    padding: 80px 0 40px;
}

@media (min-width: 768px) {
    .content-page {
        padding: 120px 0 60px;
    }
}

.content-page-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 0;
}

.content-page-body h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--ocean);
    margin-bottom: 32px;
}

.content-page-body h2 {
    font-size: 1.5rem;
    color: var(--ocean);
    margin: 32px 0 16px;
}

.content-page-body p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.content-page-body ul, .content-page-body ol {
    color: var(--text-light);
    margin-bottom: 16px;
    padding-left: 24px;
}

.content-page-body li {
    margin-bottom: 8px;
}

/* Contact Form */
.contact-form-section {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.contact-form-section h2 {
    margin-top: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form label {
    font-weight: 600;
    color: var(--ocean);
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--ocean);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    align-self: flex-start;
    padding: 12px 32px;
    font-size: 1rem;
}

.contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.contact-success {
    display: none;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 20px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 24px;
}

.contact-error {
    display: none;
    background: #fbe9e7;
    color: #c62828;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
}

/* ===== Cookie Consent Banner ===== */

/* Backdrop overlay */
.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    animation: cookieFadeIn 0.3s ease;
}

@keyframes cookieFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes cookieSlideUp {
    from { transform: translate(-50%, 100%); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 620px;
    background: white;
    color: #2D3436;
    z-index: 10000;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
    animation: cookieSlideUp 0.4s ease;
}

.cookie-banner-inner {
    padding: 28px 28px 20px;
    text-align: center;
}

.cookie-banner-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.cookie-banner-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    color: var(--ocean);
    margin: 0 0 10px;
}

.cookie-banner-content p {
    margin: 0 0 8px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

.cookie-banner-content p:last-child {
    margin-bottom: 0;
}

.cookie-banner-content a {
    color: var(--ocean);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-content a:hover {
    color: var(--manx-red);
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    padding: 0 28px 24px;
    justify-content: center;
}

.cookie-btn {
    border: none;
    border-radius: 8px;
    padding: 11px 22px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-btn-accept {
    background: var(--manx-red);
    color: white;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}

.cookie-btn-accept:hover {
    background: #c62d3a;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.4);
}

.cookie-btn-manage {
    background: transparent;
    color: var(--ocean);
    border: 1px solid #ddd;
}

.cookie-btn-manage:hover {
    background: #f8f8f8;
    border-color: var(--ocean);
}

/* Preferences panel */
.cookie-preferences {
    border-top: 1px solid #eee;
    padding: 20px 28px 24px;
}

.cookie-pref-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.cookie-pref-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 16px;
    background: #f8f7f5;
    border-radius: 10px;
}

.cookie-pref-row strong {
    display: block;
    font-size: 0.95rem;
    color: var(--ocean);
    margin-bottom: 4px;
}

.cookie-pref-row p {
    margin: 0;
    font-size: 0.82rem;
    color: #888;
}

.cookie-always-on {
    font-size: 0.8rem;
    color: #aaa;
    white-space: nowrap;
    font-weight: 600;
}

.cookie-pref-actions {
    display: flex;
    justify-content: flex-end;
}

/* Toggle switch */
.cookie-toggle {
    position: relative;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 26px;
    cursor: pointer;
    transition: background 0.2s;
}

.cookie-toggle-slider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: var(--manx-red);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(22px);
}

/* Settings button (bottom-left after consent given) */
.cookie-settings-btn {
    position: fixed;
    bottom: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ocean);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease;
}

.cookie-settings-btn:hover {
    background: var(--ocean-light);
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 12px;
        width: calc(100% - 24px);
        max-width: none;
    }

    .cookie-banner-inner {
        padding: 24px 20px 16px;
    }

    .cookie-banner-actions {
        flex-direction: column;
        padding: 0 20px 20px;
    }

    .cookie-btn {
        text-align: center;
    }
}

/* Triskelion animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.triskelion {
    animation: spin 20s linear infinite;
}

/* 15. Responsive — Global mobile overrides
   ========================================================================== */

/* --- Small mobile (≤480px) --- */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .hero-stat-value {
        font-size: 1.35rem;
    }

    .hero-stat-label {
        font-size: 0.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        justify-content: center;
    }

    .detail-header-meta {
        flex-direction: column;
        gap: 8px;
    }

    .detail-header h1 {
        font-size: 1.6rem;
    }

    .category-hero h1 {
        font-size: 1.6rem;
    }

    .category-hero .icon {
        font-size: 2.5rem;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .featured-main h3 {
        font-size: 1.35rem;
    }

    .featured-main p {
        font-size: 0.9rem;
    }

    .breadcrumbs {
        font-size: 0.8rem;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .listing-row-content h3 {
        font-size: 1.1rem;
    }

    .listing-row-content {
        padding: 16px;
    }

    .sidebar-card {
        padding: 20px;
    }

    .tidal-card {
        padding: 16px;
    }

    .weather-card {
        padding: 14px 8px;
    }

    .weather-icon {
        font-size: 1.5rem;
    }

    .latest-news-grid {
        grid-template-columns: 1fr;
    }

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

    .gallery-item {
        height: 140px;
    }
}

/* --- Tablets and below (≤768px) — supplementary overrides --- */
@media (max-width: 768px) {
    .breadcrumbs {
        font-size: 0.85rem;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .weather-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .weather-card:nth-child(n+7) {
        display: none;
    }

    .article-hero-image img {
        border-radius: 8px;
        max-height: 300px;
    }

    .content-page-body {
        padding: 28px 0;
    }

    .content-page-body h1 {
        font-size: 1.75rem;
    }
}

/* ===== Weather Section ===== */

.weather {
    padding: 40px 0;
    background: var(--sand);
}

@media (min-width: 768px) {
    .weather {
        padding: 60px 0;
    }
}

.weather-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-top: 30px;
}

.weather-card {
    background: white;
    border-radius: 12px;
    padding: 20px 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease;
}

.weather-card:hover {
    transform: translateY(-2px);
}

.weather-card--today {
    border: 2px solid var(--ocean);
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.03), rgba(46, 90, 143, 0.06));
}

.weather-day {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ocean);
}

.weather-date {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
}

.weather-icon {
    font-size: 2rem;
    margin: 8px 0;
}

.weather-desc {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 8px;
    min-height: 2em;
}

.weather-temps {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
}

.weather-high {
    font-weight: 700;
    color: var(--ocean);
    font-size: 1.1rem;
}

.weather-low {
    color: #999;
    font-size: 1.1rem;
}

.weather-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.75rem;
    color: #777;
}

@media (max-width: 768px) {
    .weather-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .weather-card:nth-child(n+7) {
        display: none;
    }
}

/* ===== Tidal Section ===== */

.tidal {
    padding: 40px 0;
    background: white;
}

@media (min-width: 768px) {
    .tidal {
        padding: 60px 0;
    }
}

.tidal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.tidal-card {
    background: var(--sand);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tidal-station {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ocean);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ocean);
}

.tidal-day-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 12px 0 6px;
}

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

.tidal-event {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.tidal-event--high {
    background: rgba(30, 58, 95, 0.08);
}

.tidal-event--low {
    background: rgba(45, 106, 79, 0.08);
}

.tidal-type {
    font-weight: 600;
    min-width: 70px;
    color: var(--ocean);
}

.tidal-event--low .tidal-type {
    color: var(--heather);
}

.tidal-time {
    font-weight: 700;
    color: var(--text-dark);
}

.tidal-height {
    color: #666;
    margin-left: auto;
}

.tidal-caveat {
    margin-top: 24px;
    font-size: 0.85rem;
    color: #888;
    text-align: center;
}

.tidal-card--links {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tidal-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.tidal-links a {
    display: block;
    padding: 10px 16px;
    background: rgba(30, 58, 95, 0.06);
    border-radius: 8px;
    color: var(--ocean);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.tidal-links a:hover {
    background: rgba(30, 58, 95, 0.12);
}

.tidal-links a::after {
    content: " \2197";
    font-size: 0.8em;
}

.tidal-links-note {
    margin-top: 12px;
    font-size: 0.8rem;
    color: #888;
}

@media (max-width: 768px) {
    .tidal-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Latest News (Homepage) ===== */

.latest-news {
    padding: 40px 0;
    background: var(--sand);
}

@media (min-width: 768px) {
    .latest-news {
        padding: 60px 0;
    }
}

.latest-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.latest-news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.latest-news-image {
    height: 160px;
    overflow: hidden;
}

.latest-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-news-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ocean), var(--ocean-light));
}

.latest-news-content {
    padding: 16px;
}

.latest-news-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--ocean);
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-news-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-news-meta {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: #888;
}

@media (max-width: 768px) {
    .latest-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .latest-news-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Article Hero Image ===== */

.article-hero-image {
    background: var(--sand);
    padding: 0 0 32px;
}

.article-hero-image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}


.image-credit {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    line-height: 1.4;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10;
    pointer-events: auto;
}

.image-credit a {
    color: #fff;
    text-decoration: none;
    pointer-events: auto;
    cursor: pointer;
}

.image-credit a:hover {
    color: #7eb8da;
    text-decoration: underline;
}

/* ===== Article Cards (News listing — masonry) ===== */

.categories-grid.masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    display: block;
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.masonry .article-card {
    display: flex;
    flex-direction: column;
}

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

.article-card-image {
    width: 100%;
    max-height: 240px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 240px;
}

.article-card-placeholder {
    width: 100%;
    height: 160px;
}

.article-card-content {
    padding: 20px;
}

.article-card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--ocean);
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-card-content p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.78rem;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 12px;
}

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

@media (max-width: 768px) {
    .categories-grid.masonry {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   EVENT PAGES & CARDS
   ============================================ */

/* Event card on category landing */
.event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.event-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.event-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.event-card-date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--manx-red);
    color: white;
    border-radius: 8px;
    padding: 6px 10px;
    text-align: center;
    min-width: 48px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.event-card-date-badge .event-date-day {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.event-card-date-badge .event-date-month {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-card-body {
    padding: 16px 20px 20px;
}

.event-card-body h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    color: var(--ocean);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.event-card-venue {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 8px 0;
}

.event-card-venue::before {
    content: "\1F4CD";
    margin-right: 4px;
}

.event-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: #888;
}

.event-meta-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Event detail page */
.event-hero-image {
    position: relative;
}

.event-detail-date-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--manx-red);
    color: white;
    border-radius: 10px;
    padding: 10px 14px;
    text-align: center;
    min-width: 60px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.event-detail-date-badge .event-date-day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.event-detail-date-badge .event-date-month {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Event detail page — two column layout (mirrors tour page) */
.event-top-fold {
    display: flex;
    gap: 32px;
    margin: 32px 0;
    align-items: flex-start;
}

.event-top-left {
    flex: 1;
    min-width: 0;
}

.event-top-right {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.event-top-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.event-top-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.event-top-image .event-card-date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
}

.event-description-section {
    margin: 32px 0;
}

.event-description-section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--ocean);
    font-size: 1.5rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--manx-red);
}

@media (max-width: 900px) {
    .event-top-fold {
        flex-direction: column;
    }

    .event-top-right {
        width: 100%;
        position: static;
    }
}

.event-age-badge {
    display: inline-block;
    background: var(--manx-red);
    color: white;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Ticket card in sidebar */
.event-ticket-card {
    background: linear-gradient(135deg, var(--manx-red) 0%, #c62d3a 100%) !important;
    color: white;
}

.event-ticket-card h3 {
    color: white !important;
    border-bottom-color: rgba(255, 255, 255, 0.3) !important;
}

.event-price {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.event-ticket-cta {
    display: block;
    background: white;
    color: var(--manx-red);
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.event-ticket-cta:hover {
    background: var(--sand);
    transform: translateY(-1px);
}

/* Event cards grid on landing */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card-image {
        height: 160px;
    }
}

/* Skiddle attribution */
.skiddle-attribution {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #ddd;
    font-size: 0.85rem;
    color: #888;
}

.skiddle-attribution a {
    display: inline-flex;
    align-items: center;
}

.skiddle-logo {
    height: 20px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.skiddle-logo:hover {
    opacity: 1;
}

.detail-sidebar .skiddle-attribution {
    margin-top: 16px;
    padding: 12px 0 0;
    justify-content: center;
    font-size: 0.8rem;
}

.event-disclaimer {
    margin-top: 32px;
    padding: 16px 20px;
    background: #f0ede8;
    border-radius: 8px;
    border-left: 3px solid #ccc;
}

.event-disclaimer p {
    margin: 0;
    font-size: 0.82rem;
    color: #888;
    line-height: 1.5;
    font-style: italic;
}

/* ============================================
   TOUR / EXPERIENCE PAGES
   ============================================ */

/* Top fold layout */
.tour-top-fold {
    display: flex;
    gap: 24px;
    margin: 32px 0;
    align-items: flex-start;
}

.tour-top-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tour-top-image {
    border-radius: 12px;
    overflow: hidden;
}

.tour-top-image img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* Booking card */
.tour-booking-card {
    width: 340px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-light) 100%) !important;
    color: white;
}

.tour-booking-card h3 {
    color: white !important;
}

.tour-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: white;
}

.tour-quick-facts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.tour-fact {
    display: flex;
    align-items: baseline;
    gap: 16px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tour-fact:last-child {
    border-bottom: none;
}

.tour-fact-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.tour-fact-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
    width: 90px;
    flex-shrink: 0;
}

.tour-book-cta {
    display: block;
    background: var(--manx-red);
    color: white;
    text-align: center;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tour-book-cta:hover {
    background: #c62d3a;
    transform: translateY(-1px);
}

.tour-gyg-note {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 10px 0 0 0;
}

/* Mid fold: Highlights + GYG Calendar side by side */
.tour-mid-fold {
    display: flex;
    gap: 32px;
    margin: 32px 0;
    align-items: flex-start;
}

.tour-mid-left {
    flex: 1;
    min-width: 0;
}

.tour-mid-left .tour-section {
    margin: 0 0 32px 0;
}

.tour-mid-left .tour-section:last-child {
    margin-bottom: 0;
}

/* GYG Availability Calendar Widget */
.tour-availability-widget {
    width: 340px;
    position: sticky;
    top: 100px;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .tour-mid-fold {
        flex-direction: column;
    }

    .tour-availability-widget {
        width: 100%;
    }
}

/* Content sections */
.tour-section {
    margin: 48px 0;
}

.tour-section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--ocean);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--manx-red);
}

.tour-description {
    max-width: 800px;
    line-height: 1.8;
    color: var(--text);
}

/* Highlights - green checkmarks */
.tour-highlights ul {
    list-style: none;
    padding: 0;
}

.tour-highlights li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.tour-highlights li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--heather);
    font-weight: 700;
    font-size: 1.1rem;
    width: 22px;
    height: 22px;
    background: rgba(45, 106, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Itinerary - vertical timeline */
.tour-itinerary ol,
.tour-itinerary ul {
    list-style: none;
    padding: 0;
    position: relative;
}

.tour-itinerary ol::before,
.tour-itinerary ul::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--ocean), var(--ocean-light));
    border-radius: 2px;
}

.tour-itinerary li {
    position: relative;
    padding-left: 48px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.tour-itinerary li::before {
    content: counter(timeline-counter);
    counter-increment: timeline-counter;
    position: absolute;
    left: 4px;
    top: 0;
    width: 26px;
    height: 26px;
    background: var(--ocean);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 1;
}

.tour-itinerary ol {
    counter-reset: timeline-counter;
}

.tour-itinerary ul li::before {
    content: "";
    width: 14px;
    height: 14px;
    left: 10px;
    top: 4px;
    background: var(--manx-red);
}

/* What's Included - tick icons */
.tour-included ul {
    list-style: none;
    padding: 0;
    columns: 2;
    column-gap: 32px;
}

.tour-included li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    break-inside: avoid;
    line-height: 1.6;
}

.tour-included li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--heather);
    font-weight: 700;
}

/* Gallery grid */
.tour-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.tour-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.tour-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-gallery-item:hover img {
    transform: scale(1.05);
}

/* Tour card on landing/subcategory pages */
.tour-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.tour-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.tour-card-image {
    height: 200px;
    overflow: hidden;
}

.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.tour-card-body {
    padding: 16px 20px 20px;
}

.tour-card-body h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    color: var(--ocean);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.tour-card-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.tour-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: #888;
}

@media (max-width: 900px) {
    .tour-top-fold {
        flex-direction: column;
    }

    .tour-booking-card {
        width: 100%;
    }

    .tour-included ul {
        columns: 1;
    }

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

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

/* ==========================================================================
   List Your Business Form
   ========================================================================== */

.list-business-form-section {
    margin-top: 32px;
    margin-bottom: 48px;
}

/* Progress Steps */
.lyb-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    padding: 0 20px;
}

.lyb-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.lyb-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.lyb-step.active .lyb-step-number {
    background: var(--ocean);
    color: var(--white);
}

.lyb-step.completed .lyb-step-number {
    background: var(--heather);
    color: var(--white);
}

.lyb-step-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
    transition: color 0.3s ease;
}

.lyb-step.active .lyb-step-label {
    color: var(--ocean);
}

.lyb-step.completed .lyb-step-label {
    color: var(--heather);
}

.lyb-step-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin: 0 8px;
    margin-bottom: 28px;
    min-width: 40px;
}

/* Form Panels */
.lyb-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
}

.lyb-panel h2 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--ocean);
    font-size: 24px;
    margin-bottom: 8px;
}

.lyb-panel > p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 15px;
}

/* Form Fields (reuse existing form-group pattern) */
.list-business-form-section .form-group {
    margin-bottom: 20px;
}

.list-business-form-section label {
    display: block;
    font-weight: 600;
    color: var(--ocean);
    margin-bottom: 6px;
    font-size: 14px;
}

.list-business-form-section input[type="text"],
.list-business-form-section input[type="email"],
.list-business-form-section input[type="tel"],
.list-business-form-section input[type="url"],
.list-business-form-section input[type="datetime-local"],
.list-business-form-section textarea,
.list-business-form-section select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 15px;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.list-business-form-section input:focus,
.list-business-form-section textarea:focus,
.list-business-form-section select:focus {
    outline: none;
    border-color: var(--ocean);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.list-business-form-section select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23636E72' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.list-business-form-section select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    color: var(--text-light);
}

.required {
    color: var(--manx-red);
}

/* Two-column rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

/* Navigation buttons */
.lyb-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 2px solid var(--ocean);
    background: transparent;
    color: var(--ocean);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--ocean);
    color: var(--white);
}

.lyb-submit-btn {
    min-width: 160px;
}

.lyb-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Image Upload */
.lyb-image-upload-area {
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    background: #fafafa;
}

.lyb-image-upload-area.lyb-dragover {
    border-color: var(--ocean);
    background: rgba(30, 58, 95, 0.03);
}

.lyb-upload-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.lyb-image-upload-area p {
    color: var(--text-light);
    margin-bottom: 12px;
}

.lyb-browse-btn {
    display: inline-block;
    cursor: pointer;
}

.lyb-upload-hint {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 8px;
}

/* Image Previews */
.lyb-image-previews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .lyb-image-previews {
        grid-template-columns: repeat(2, 1fr);
    }
}

.lyb-preview {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #f5f5f5;
}

.lyb-preview-loading,
.lyb-preview-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-light);
    background-size: cover;
    background-position: center;
}

.lyb-preview-loading {
    animation: lyb-pulse 1.5s ease-in-out infinite;
}

@keyframes lyb-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.lyb-preview-name {
    display: block;
    padding: 8px;
    font-size: 12px;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lyb-preview-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--manx-red);
    color: var(--white);
    border: none;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.lyb-preview-remove:hover {
    transform: scale(1.1);
}

/* Terms checkbox */
.lyb-terms {
    margin-top: 20px;
}

.lyb-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 400 !important;
    color: var(--text) !important;
}

.lyb-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--ocean);
}

.lyb-checkbox-label a {
    color: var(--manx-red);
    text-decoration: none;
}

.lyb-checkbox-label a:hover {
    text-decoration: underline;
}

/* Success / Error */
.lyb-success {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.lyb-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--heather);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.lyb-success h2 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--ocean);
    font-size: 28px;
    margin-bottom: 12px;
}

.lyb-success p {
    color: var(--text-light);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.lyb-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 14px;
}

/* Turnstile widget spacing */
.list-business-form-section .cf-turnstile {
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .lyb-panel {
        padding: 24px 16px;
    }

    .lyb-progress {
        padding: 0;
    }

    .lyb-step-label {
        font-size: 11px;
    }

    .lyb-step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .lyb-step-line {
        min-width: 20px;
    }
}
