/* Variables */
:root {
    --primary-bg: #5B8FB9;
    --card-overlay: rgba(0, 0, 0, 0.4);
    --text-white: #ffffff;
    --text-gray: #cccccc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: transparent !important;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #2c3e50;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background: transparent !important;
}

/* FIXED BACKGROUND OVERLAY */
.site-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -999;
    
    /* Single background image, no tiling */
    background-image: url('https://parker-travel.ghost.io/content/images/2026/01/Laurie-and-Matt-Travel-Media.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-color: #000000;
}

/* Dark overlay that fades the background */
.site-bg-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300vh;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.3) 0%, 
        rgba(0, 0, 0, 0.4) 50vh,
        rgba(0, 0, 0, 0.7) 100vh,
        rgba(0, 0, 0, 1) 150vh
    );
    z-index: -998;
}

/* On home page, lighter overlay so background is more visible */
body.home-template .site-bg-overlay::after,
body.paged .site-bg-overlay::after {
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.3) 0%, 
        rgba(0, 0, 0, 0.5) 80vh,
        rgba(0, 0, 0, 1) 120vh
    );
}

/* Ensure content containers are forced onto their own rendering layer */
.site-main {
    position: relative;
    z-index: 10;
}

.post,
.page {
    background: white;
    position: relative;
    z-index: 10;
}

.post-feed {
    position: relative;
    z-index: 10;
    background: transparent !important;
}

/* TAG PAGE FEATURE FIX (Ensures background shows behind Tag Title) */
.tag-template .page-header {
    background: transparent !important;
    padding-bottom: 20px;
}

/* Match Tag Page Title style to Home Page Title */
.tag-template .page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    -webkit-animation: fadeInDown 1s ease-out;
    animation: fadeInDown 1s ease-out;
}

/* Header Section */
.site-header {
    position: relative;
    padding: 120px 20px 180px;
    text-align: center;
}

/* Navigation Menu */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
}

.nav-hamburger {
    display: none;
}

.site-nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-nav-left {
    flex: 1;
}

.site-nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.site-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.site-nav-menu li {
    position: relative;
}

.site-nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.site-nav-menu a:hover {
    opacity: 0.7;
}

.site-nav-menu .nav-item-submenu {
    position: relative;
}

.site-nav-menu .nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    min-width: 200px;
    padding: 10px 0;
    margin-top: 0;
    list-style: none;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.site-nav-menu .nav-item-submenu:hover > .nav-submenu {
    display: block;
}

.site-nav-menu .nav-submenu a {
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
}

.site-nav-menu .nav-submenu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Nested submenu (cities under countries) */
.nav-submenu-main {
    min-width: 220px;
}

.nav-submenu-main .nav-item-submenu {
    position: relative;
}

.nav-submenu-nested {
    left: 100%;
    top: 0;
    margin-left: 2px;
}

.nav-submenu-main .nav-item-submenu:hover > .nav-submenu-nested {
    display: block;
}

/* Header Content */
.site-header-content {
    position: relative;
    z-index: 10;
    margin-top: 60px;
}

.site-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    margin: 0;
    text-transform: uppercase;
    -webkit-animation: fadeInDown 1s ease-out;
    animation: fadeInDown 1s ease-out;
    color: white;
}

/* Post Grid */
.post-feed {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.post-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    min-height: 320px; /* Fallback for older Safari */
    aspect-ratio: 1;
    cursor: pointer;
    -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    -webkit-animation: fadeInUp 0.6s ease-out backwards;
    animation: fadeInUp 0.6s ease-out backwards;
    background: white;
    /* Safari/Firefox rendering fix */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

.post-card:nth-child(1) { -webkit-animation-delay: 0.1s; animation-delay: 0.1s; }
.post-card:nth-child(2) { -webkit-animation-delay: 0.2s; animation-delay: 0.2s; }
.post-card:nth-child(3) { -webkit-animation-delay: 0.3s; animation-delay: 0.3s; }
.post-card:nth-child(4) { -webkit-animation-delay: 0.4s; animation-delay: 0.4s; }
.post-card:nth-child(5) { -webkit-animation-delay: 0.5s; animation-delay: 0.5s; }
.post-card:nth-child(6) { -webkit-animation-delay: 0.6s; animation-delay: 0.6s; }

.post-card:hover {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.post-card-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

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

.post-card-image-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.post-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
}

.post-card-date {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    opacity: 0.9;
    font-weight: 500;
    color: white;
}

.post-card-title {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 8px 0;
    line-height: 1.2;
    color: white;
}

.post-card-title a {
    color: white;
    text-decoration: none;
}

.post-card-location {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    font-weight: 400;
    color: white;
}

/* Individual Post Page */
.post,
.page {
    background: white;
    max-width: 900px;
    margin: 80px auto 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.post-header {
    position: relative;
    background: white;
}

.post-date-top {
    padding: 40px 40px 20px;
    text-align: center;
    background: white;
    display: block;
}

.post-date-top time {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
    font-weight: 500;
    visibility: visible;
}

.post-feature-image-wrapper {
    position: relative;
    margin: 0;
    height: 500px;
    overflow: hidden;
    background: #000;
}

.post-feature-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    z-index: 10;
}

.post-title-overlay h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.post-tag-overlay {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
}

.page-header {
    padding: 80px 40px 40px;
    text-align: center;
    background: linear-gradient(135deg, #5B8FB9 0%, #6BA3C9 100%);
    color: white;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: white;
    margin: 0 0 20px 0;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.page-feature-image {
    margin: 0;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.page-feature-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.page-feature-image figcaption {
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.875rem;
    font-style: italic;
    text-align: center;
}

.post-meta {
    color: #666;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.post-content,
.page-content {
    padding: 60px 40px;
    color: #2c3e50 !important;
    font-size: 1.125rem;
    line-height: 1.8;
    background: white;
    min-height: 200px;
    display: block;
    width: 100%;
}

.post-content > *,
.page-content > * {
    max-width: 100%;
    display: block;
    margin-bottom: 20px;
}

.post-content p,
.page-content p {
    display: block;
    visibility: visible;
    opacity: 1;
}

.post-content h2,
.post-content h3,
.post-content h4,
.page-content h2,
.page-content h3,
.page-content h4 {
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.post-content h2,
.page-content h2 {
    font-size: 2rem;
    border-bottom: 2px solid #5B8FB9;
    padding-bottom: 10px;
}

.post-content h3,
.page-content h3 {
    font-size: 1.5rem;
}

.post-content p,
.page-content p {
    margin-bottom: 24px;
}

.post-content img,
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-content figure,
.page-content figure {
    margin: 40px 0;
}

.post-content figcaption,
.page-content figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: #666;
    font-style: italic;
    margin-top: 12px;
}

/* Responsive Video Embeds (Vimeo, YouTube, etc.) */
.post-content iframe,
.page-content iframe {
    max-width: 100%;
    margin: 30px auto;
    display: block;
}

/* Video wrapper for 16:9 aspect ratio */
.post-content .kg-embed-card,
.page-content .kg-embed-card,
.post-content .fluid-width-video-wrapper,
.page-content .fluid-width-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 40px 0;
}

.post-content .kg-embed-card iframe,
.page-content .kg-embed-card iframe,
.post-content .fluid-width-video-wrapper iframe,
.page-content .fluid-width-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border: none;
}

/* For bare iframe embeds without wrapper */
.post-content > iframe[src*="vimeo"],
.post-content > iframe[src*="youtube"],
.page-content > iframe[src*="vimeo"],
.page-content > iframe[src*="youtube"] {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

/* Ghost Gallery Cards - REQUIRED */
.post-content .kg-gallery-container,
.page-content .kg-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px 0;
}

.post-content .kg-gallery-row,
.page-content .kg-gallery-row {
    display: flex;
    gap: 20px;
}

.post-content .kg-gallery-image,
.page-content .kg-gallery-image {
    flex: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.post-content .kg-gallery-image:hover,
.page-content .kg-gallery-image:hover {
    transform: scale(1.02);
}

.post-content .kg-gallery-image img,
.page-content .kg-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 20px;
}

/* Ghost Image Cards */
.post-content .kg-image-card,
.post-content .kg-card,
.page-content .kg-image-card,
.page-content .kg-card {
    margin: 40px 0;
}

.post-content .kg-image,
.page-content .kg-image {
    max-width: 100%;
    height: auto;
}

.post-content .kg-image-card figcaption,
.post-content .kg-card figcaption,
.page-content .kg-image-card figcaption,
.page-content .kg-card figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: #666;
    font-style: italic;
    margin-top: 12px;
}

/* REQUIRED: Wide and Full Width Images */
.kg-width-wide {
    margin-left: -80px;
    margin-right: -80px;
    max-width: calc(100% + 160px);
}

.kg-width-full {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
}

.post-content a,
.page-content a {
    color: #5B8FB9;
    text-decoration: none;
    border-bottom: 2px solid #5B8FB9;
    transition: opacity 0.3s ease;
}

.post-content a:hover,
.page-content a:hover {
    opacity: 0.7;
}

.post-content ul,
.post-content ol,
.page-content ul,
.page-content ol {
    margin: 24px 0;
    padding-left: 40px;
}

.post-content li,
.page-content li {
    margin-bottom: 12px;
}

.post-content blockquote,
.page-content blockquote {
    margin: 40px 0;
    padding: 20px 30px;
    border-left: 4px solid #5B8FB9;
    background: #f8f9fa;
    font-style: italic;
    font-size: 1.25rem;
}

.post-footer,
.page-footer {
    padding: 40px;
    border-top: 1px solid #e0e0e0;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.post-tag-link {
    display: inline-block;
    padding: 8px 16px;
    background: #f0f0f0;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.3s ease;
}

.post-tag-link:hover {
    background: #5B8FB9;
    color: white;
}

.post-navigation,
.page-navigation {
    text-align: center;
    margin-top: 30px;
}

.post-navigation-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.post-nav-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 45%;
}

.post-nav-link:hover {
    background: #5B8FB9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-nav-prev {
    align-items: flex-start;
}

.post-nav-next {
    align-items: flex-end;
}

.post-nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
}

.post-nav-link:hover .post-nav-label {
    color: white;
}

.post-nav-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
}

.post-nav-link:hover .post-nav-title {
    color: white;
}

.back-home {
    display: inline-block;
    padding: 14px 32px;
    background: #5B8FB9;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.back-home:hover {
    background: #4a7a9a;
}

/* Arrow Navigation Between Posts */
.post-arrow-navigation {
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 500;
    pointer-events: none;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.post-arrow {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    pointer-events: auto;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-arrow:hover {
    background: #5B8FB9;
    transform: translateX(0) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.post-arrow-prev {
    left: 0;
    transform: translateX(-10px);
}

.post-arrow-prev:hover {
    transform: translateX(0) scale(1.05);
}

.post-arrow-next {
    right: 0;
    transform: translateX(10px);
}

.post-arrow-next:hover {
    transform: translateX(0) scale(1.05);
}

.post-arrow .arrow-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.post-arrow .arrow-label {
    font-size: 0.75rem;
}

/* Hide arrow labels on smaller screens */
@media (max-width: 1200px) {
    .post-arrow {
        padding: 12px 16px;
    }
    
    .post-arrow .arrow-label {
        display: none;
    }
}

@media (max-width: 768px) {
    .post-arrow-navigation {
        display: none;
    }
}

/* Footer */
.site-footer {
    background: #2c3e50;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-gray);
}

.site-footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer-content p {
    margin: 0;
    font-size: 0.875rem;
}

/* Pagination */
.pagination {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.pagination a,
.pagination .page-number {
    display: inline-block;
    padding: 12px 20px;
    background: white;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pagination a:hover {
    background: #5B8FB9;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pagination .page-number {
    background: transparent;
    box-shadow: none;
    color: white;
}

/* Animations */
@-webkit-keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    .post-feed {
        grid-template-columns: 1fr;
        margin-top: -50px;
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .post-card {
        min-height: 300px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
    }
    
    .site-main {
        display: block !important;
        visibility: visible !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    .site-header {
        padding: 40px 20px 60px;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .post-content,
    .page-content {
        padding: 40px 20px;
        font-size: 1rem;
    }
    
    /* Mobile video embed fixes */
    .post-content iframe,
    .page-content iframe {
        margin: 20px 0;
    }
    
    .post-content .kg-embed-card,
    .page-content .kg-embed-card {
        margin: 30px 0;
    }
    
    .post-header,
    .page-header {
        padding: 60px 20px 30px;
    }
    
    .kg-width-wide {
        margin-left: -20px;
        margin-right: -20px;
        max-width: calc(100% + 40px);
    }
    
    .site-nav {
        padding: 12px 0;
        position: sticky;
        max-height: none;
        overflow: visible;
    }
    
    .site-nav-content {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 15px;
    }
    
    .site-nav-logo {
        font-size: 1rem;
    }
    
    .site-nav-menu .nav-item-submenu:hover > .nav-submenu {
        display: none !important;
    }
    
    .nav-submenu-main .nav-item-submenu:hover > .nav-submenu-nested {
        display: none !important;
    }
    
    .nav-hamburger {
        display: block;
        width: 30px;
        height: 25px;
        position: relative;
        cursor: pointer;
        z-index: 10001;
    }
    
    .nav-hamburger span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: white;
        border-radius: 3px;
        opacity: 1;
        left: 0;
        transition: 0.25s ease-in-out;
    }
    
    .nav-hamburger span:nth-child(1) { top: 0px; }
    .nav-hamburger span:nth-child(2) { top: 10px; }
    .nav-hamburger span:nth-child(3) { top: 20px; }
    
    .nav-hamburger.active span:nth-child(1) {
        top: 10px;
        transform: rotate(135deg);
    }
    
    .nav-hamburger.active span:nth-child(2) {
        opacity: 0;
        left: -30px;
    }
    
    .nav-hamburger.active span:nth-child(3) {
        top: 10px;
        transform: rotate(-135deg);
    }
    
    .site-nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        min-height: 100vh;
        background: #000000;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        overflow-y: scroll;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        z-index: 10000;
        padding: 80px 0 40px 0;
        margin: 0;
    }
    
    .site-nav-menu.mobile-active {
        display: flex;
    }
    
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
    }
    
    .site-nav-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block;
        flex-shrink: 0;
    }
    
    .site-nav-menu > li > a {
        display: block;
        padding: 20px;
        text-align: left;
        font-size: 1.2rem;
        color: white;
    }
    
    .site-nav-menu .nav-submenu {
        display: none;
        position: static;
        background: #ffffff;
        margin: 0;
        padding: 15px 0;
        border-radius: 8px;
        margin: 10px 15px;
    }
    
    .site-nav-menu .nav-item-submenu.mobile-open > .nav-submenu {
        display: block;
    }
    
    .site-nav-menu .nav-submenu-main {
        padding: 0;
    }
    
    .site-nav-menu .nav-submenu-main > li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        display: block;
    }
    
    .site-nav-menu .nav-submenu-main > li:last-child {
        border-bottom: none;
    }
    
    .site-nav-menu .nav-submenu-main > li > a {
        padding: 15px 20px;
        font-size: 1rem;
        display: block;
        color: #333;
        font-weight: 600;
    }
    
    .site-nav-menu .nav-submenu-nested {
        background: #f5f5f5;
        margin: 0;
        padding: 5px 0;
        border-radius: 4px;
    }
    
    .site-nav-menu .nav-submenu-nested a {
        padding: 10px 30px;
        font-size: 0.9rem;
        display: block;
        color: #666;
        font-weight: 400;
    }
    
    .nav-trips > a::after {
        content: ' ▼';
        font-size: 0.7rem;
        float: right;
    }
    
    .nav-trips.mobile-open > a::after {
        content: ' ▲';
    }
    
    .post-feature-image-wrapper {
        height: 400px;
    }
    
    .post-title-overlay h1 {
        font-size: 1.75rem;
    }
    
    .post-navigation-links {
        flex-direction: column;
    }
    
    .post-nav-link {
        max-width: 100%;
    }
    
    .post-nav-prev,
    .post-nav-next {
        align-items: flex-start;
    }
}