/* Lanka Logbook Theme Styles
/* ------------------------------------------------------------
   Brand: Lanka Logbook - Analytical, rugged off-road explorer
   Colors: Forest Green #4a5d4e, Slate Blue #414b56, Off-White #f5f2eb
*/

:root {
    --llb-forest-green: #4a5d4e;
    --llb-slate-blue: #414b56;
    --llb-off-white: #f5f2eb;
    --llb-nav-dark: #3a4045;
    --llb-font-serif: Georgia, 'Times New Roman', serif;
}

/* Body & Background - prevent horizontal scroll on mobile */
body {
    background-color: var(--llb-off-white);
    overflow-x: hidden;
}

/* Typography - Force classic Serif for Site Title, all Headings, subtitles */
.llb-theme .gh-head-logo,
.llb-theme .llb-hero-title,
.llb-theme .llb-hero-subtitle,
.llb-theme .llb-hero-description,
.llb-theme h1,
.llb-theme h2,
.llb-theme h3,
.llb-theme h4,
.llb-theme h5,
.llb-theme h6,
.llb-theme .llb-section-title,
.llb-theme .llb-stats-main,
.llb-theme .llb-stats-sub,
.llb-theme .post-card-title,
.llb-theme .article-title {
    font-family: var(--llb-font-serif) !important;
}

/* Navigation Bar - Slim top bar, separate from hero */
.gh-head {
    position: relative !important;
    background-color: var(--llb-nav-dark) !important;
    color: #fff !important;
    min-height: 56px !important;
    height: auto !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    align-items: center;
    border-bottom: none !important;
}

/* Ensure header is never transparent over hero */
.llb-theme .has-cover .gh-head {
    position: relative !important;
    background-color: var(--llb-nav-dark) !important;
}

.gh-head-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    min-height: 32px;
    max-width: 1200px;
    width: 100%;
}

/* Navigation aligned to far right */
.gh-head-menu {
    margin-left: auto;
}

/* Override Casper: nav items hidden until dropdown loads - force visible */
.llb-theme .gh-head-menu .nav > li {
    opacity: 1 !important;
}

.gh-head a,
.gh-head .gh-head-logo {
    color: #fff !important;
}

.llb-logo-uppercase {
    text-transform: uppercase !important;
    letter-spacing: 0.02em;
    font-family: var(--llb-font-serif) !important;
}

.gh-head-menu .nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.gh-head-menu .nav li:not(:first-child)::before {
    content: " | ";
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.gh-head-menu .nav a {
    color: rgba(255, 255, 255, 0.95) !important;
}

.gh-head-menu .nav a:hover {
    color: #fff !important;
}

/* Hero Section - Full width below nav, min 60vh */
.llb-hero {
    position: relative;
    min-height: 60vh;
    overflow: hidden;
}

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

.llb-hero-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--llb-slate-blue) 0%, var(--llb-forest-green) 100%);
}

/* Dark gradient overlay for readable white text */
.llb-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
}

.llb-hero-overlay {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;    /* Vertical middle alignment */
    align-items: flex-start;   /* Horizontal left alignment */
    min-height: 60vh;
    padding: 60px max(4vmin, 20px);
    color: #fff;
    text-align: left;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.llb-hero-title {
    margin: 0 0 8px;
    font-size: clamp(3.2rem, 8vw, 5.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.llb-hero-subtitle {
    margin: 0 0 16px;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 400;
    opacity: 0.98;
}

.llb-hero-description {
    margin: 0;
    max-width: 560px;
    font-size: clamp(1.3rem, 1.8vw, 1.5rem);
    line-height: 1.5;
    opacity: 0.9;
}

/* Logbook page - hero with search and tag filter */
.llb-logbook-hero {
    position: relative;
    min-height: 42vh;
}

.llb-logbook-hero .llb-hero-image,
.llb-logbook-hero .llb-hero-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.llb-logbook-hero-overlay {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 42vh;
    padding: 48px max(4vmin, 20px);
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.llb-logbook-hero-overlay .llb-hero-title {
    margin: 0 0 12px;
}

.llb-logbook-hero-desc {
    margin: 0 0 28px;
    max-width: 560px;
    font-size: clamp(1.2rem, 1.6vw, 1.4rem);
    line-height: 1.5;
    opacity: 0.95;
}

.llb-logbook-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    max-width: 640px;
}

.llb-logbook-search-wrap {
    flex: 1 1 280px;
    min-width: 0;
}

.llb-logbook-search {
    width: 100%;
    padding: 14px 18px;
    font-size: 1.5rem;
    font-family: inherit;
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.llb-logbook-search::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.llb-logbook-search:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.45);
}

.llb-logbook-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.llb-logbook-tag {
    padding: 10px 18px;
    font-size: 1.3rem;
    font-family: inherit;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.llb-logbook-tag:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.llb-logbook-tag.is-active {
    background: rgba(255, 255, 255, 0.95);
    border-color: #fff;
    color: var(--llb-slate-blue);
}

.llb-logbook-list {
    padding: max(4vmin, 32px) 0;
}

.llb-logbook-post-wrap {
    min-width: 0;
}

.llb-logbook-no-results {
    margin: 32px 0 0;
    font-size: 1.6rem;
    color: var(--llb-slate-blue);
    opacity: 0.8;
    text-align: center;
}

.ghost {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Site Main - same width as inner (1200px) */
.llb-main-overlap .site-main.outer {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Main Content Overlap Container - Slides up over hero, same width as content */
.llb-main-overlap {
    position: relative;
    z-index: 10;
    margin-top: -40px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    background-color: #f5f2eb;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    padding-top: 1px; /* Prevent margin collapse */
}

/* Stats Bar - Inside .inner, same width as featured section */
.llb-stats-bar {
    padding: max(4vmin, 28px) 0;
    margin-bottom: max(6vmin, 48px);
    text-align: center;
}

.llb-stats-main {
    margin: 0 0 4px;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--llb-slate-blue);
}

.llb-stats-sub {
    margin: 0;
    font-size: 1.5rem;
    color: var(--llb-slate-blue);
    opacity: 0.8;
}

/* Site Main - constrain width to match inner */
.llb-main-overlap .site-main.outer {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Titles */
.llb-section-title {
    margin: 0 0 24px;
    font-size: clamp(1.6rem, 2vw, 1.8rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--llb-slate-blue);
}

/* Featured Grid - 3 columns, mockup styling */
.llb-featured-section {
    margin-bottom: max(8vmin, 64px);
}

.llb-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Card container - no white bg, borders, or default padding */
.llb-featured-card {
    position: relative;
    min-width: 0; /* allow grid item to shrink below content size */
    aspect-ratio: 4 / 3;
    min-height: 250px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--llb-slate-blue);
}

.llb-featured-card-link {
    display: block;
    position: absolute;
    inset: 0;
    text-decoration: none;
}

/* Image - absolute, fills entire card */
.llb-featured-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.llb-featured-card-link:hover .llb-featured-card-image {
    transform: scale(1.03);
}

.llb-featured-card-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--llb-slate-blue) 0%, var(--llb-forest-green) 100%);
}

/* Dark gradient overlay - transparent top to dark bottom */
.llb-featured-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(58, 64, 69, 0.95), rgba(0, 0, 0, 0.4) 40%, transparent);
    color: #ffffff;
    overflow: hidden;
}

/* Title - serif, white, left-aligned, contained */
.llb-featured-card-title {
    margin: 0 0 4px;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
    text-align: left;
    overflow: hidden;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Optional secondary line (tag) */
.llb-featured-card-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Explicitly hide date and excerpt - these are not in the partial */
.llb-featured-card .post-card-meta,
.llb-featured-card .post-card-excerpt {
    display: none !important;
}

/* Two Column Layout */
.llb-two-column-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: max(8vmin, 64px);
    padding: max(4vmin, 32px) 0;
}

.llb-about-text {
    margin: 0 0 16px;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--llb-slate-blue);
}

.llb-about-text p {
    margin: 0 0 12px;
}

.llb-about-text p:last-child {
    margin-bottom: 0;
}

.llb-link-arrow {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--llb-forest-green);
    text-decoration: none;
}

.llb-link-arrow:hover {
    text-decoration: underline;
}

/* Category Pills - border-radius 50px */
.llb-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.llb-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    color: #fff;
    transition: opacity 0.2s, transform 0.2s;
}

.llb-pill:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.llb-pill-green {
    background-color: var(--llb-forest-green);
}

.llb-pill-slate {
    background-color: var(--llb-slate-blue);
}

/* Category pill icons - match common tag slugs */
.llb-pill-icon {
    display: inline-block;
    margin-right: 8px;
    font-size: 1.2em;
    line-height: 1;
}

.llb-icon-waterfalls::before,
.llb-icon-waterfall::before {
    content: "💧";
}

.llb-icon-mountains::before,
.llb-icon-mountain::before {
    content: "⛰️";
}

.llb-icon-rail-routes::before,
.llb-icon-rail::before,
.llb-icon-trains::before {
    content: "🛤️";
}

.llb-icon-roads::before,
.llb-icon-roads-access::before {
    content: "🛣️";
}

.llb-icon-family-friendly::before,
.llb-icon-family::before {
    content: "👨‍👩‍👧";
}

/* Post Feed Section - list layout: small thumbnail + excerpt side by side */
.llb-post-feed-section {
    padding-top: max(4vmin, 32px);
}

.llb-post-feed-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.llb-post-list-item {
    min-width: 0;
    border-bottom: 1px solid rgba(65, 75, 86, 0.15);
}

.llb-post-list-item:last-child {
    border-bottom: none;
}

.llb-post-list-item-link {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.llb-post-list-item-link:hover {
    opacity: 0.85;
}

.llb-post-list-item-thumb {
    flex-shrink: 0;
    width: 177px;
    height: 132px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--llb-slate-blue);
}

.llb-post-list-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.llb-post-list-item-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--llb-slate-blue) 0%, var(--llb-forest-green) 100%);
}

.llb-post-list-item-body {
    flex: 1;
    min-width: 0;
}

.llb-post-list-item-title {
    margin: 0 0 4px;
    font-family: var(--llb-font-serif) !important;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--llb-slate-blue);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.llb-post-list-item-excerpt {
    margin: 0 0 4px;
    font-size: 1.35rem;
    line-height: 1.4;
    color: var(--llb-slate-blue);
    opacity: 0.85;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.llb-post-list-item-tag {
    font-size: 1.2rem;
    color: var(--llb-forest-green);
    font-weight: 500;
}

@media (min-width: 768px) {
    .llb-post-feed-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 24px;
    }
    
    .llb-post-list-item {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .llb-post-list-item-link {
        padding-bottom: 0;
    }
    
    .llb-post-list-item-thumb {
        width: 240px;
        height: 180px;
    }
}

/* Footer - four columns: brand | Explore | signup | Let's Connect, left-aligned */
.site-footer.llb-footer {
    background-color: var(--llb-slate-blue) !important;
    color: #fff;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.llb-footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px 40px;
    align-items: start;
    padding: 0 max(4vmin, 20px);
    max-width: 1200px;
    margin: 0 auto;
}

.llb-footer-brand {
    min-width: 0;
}

.llb-footer-logo {
    display: inline-block;
    color: #fff !important;
    text-decoration: none;
    font-family: var(--llb-font-serif);
    font-size: 2.2rem;
    font-weight: 700;
}

.llb-footer-logo img {
    max-height: 100px;
    width: auto;
    display: block;
}

.llb-footer-title {
    display: block;
}

.llb-footer-desc {
    margin: 8px 0 0;
    font-size: 1.3rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.85);
}

.llb-footer-legal {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.llb-footer-legal a {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
}

.llb-footer-legal a:hover {
    color: #fff !important;
}

.llb-footer-copyright {
    margin: 20px 0 0;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

.llb-footer-explore {
    text-align: center;
}

.llb-footer-heading {
    margin: 0 0 14px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
}

.llb-footer-tags {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.llb-footer-tag-link {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
}

.llb-footer-tag-link:hover {
    color: #fff !important;
}

.llb-footer-signup-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 0;
}

.llb-footer-signup-disclaimer {
    margin: 10px 0 0;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.llb-footer-connect {
    min-width: 0;
    margin-top: 24px;
}

.llb-footer-connect-link {
    display: block;
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    margin-bottom: 14px;
}

.llb-footer-connect-link:hover {
    color: #fff !important;
}

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

.llb-footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transition: color 0.2s, border-color 0.2s;
}

.llb-footer-social-icon:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

.llb-footer-social-icon .icon {
    width: 20px;
    height: 20px;
}

.llb-footer-signup-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    max-width: 340px;
    margin: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.llb-footer-signup-input {
    flex: 1 1 160px;
    min-width: 0;
    padding: 10px 14px;
    font-size: 1.35rem;
    font-family: inherit;
    color: var(--llb-slate-blue);
    background: #fff;
    border: none;
    outline: none;
}

.llb-footer-signup-input::placeholder {
    color: rgba(65, 75, 86, 0.6);
}

.llb-footer-signup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    background: var(--llb-forest-green);
    border: none;
    border-radius: 0;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.llb-footer-signup-btn:hover {
    background: #3d5140;
    color: #fff;
}

.llb-footer-cta-subtext {
    margin: 10px auto 0;
    max-width: 360px;
    font-size: 1.15rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}

.llb-footer-bottom .llb-footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.llb-footer-nav li {
    display: inline-flex;
    align-items: center;
}

.llb-footer-nav li:not(:first-child)::before {
    content: " | ";
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.6);
}

.llb-footer-nav a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.llb-footer-copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.llb-footer-copyright a {
    color: #fff !important;
}

.site-footer a:hover {
    color: #fff !important;
}

/* Legal pages - Privacy Policy, Terms of Use */
.llb-legal-page .article-title {
    font-family: var(--llb-font-serif) !important;
    color: var(--llb-slate-blue);
}

.llb-legal-updated {
    margin: 4px 0 0;
    font-size: 1.4rem;
    color: var(--llb-slate-blue);
    opacity: 0.8;
}

.llb-legal-content h2 {
    margin: 2em 0 0.6em;
    font-family: var(--llb-font-serif) !important;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--llb-slate-blue);
}

.llb-legal-content h2:first-of-type {
    margin-top: 1.5em;
}

.llb-legal-content p {
    margin: 0 0 1em;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--llb-slate-blue);
}

/* Post signup CTA widget - explorer copy */
.llb-cta .footer-cta-title {
    font-family: var(--llb-font-serif) !important;
    color: var(--llb-slate-blue);
}

.footer-cta-subtext {
    margin: 0 0 min(28px, 6vmin);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--llb-slate-blue);
    opacity: 0.9;
}

.footer-cta-privacy {
    margin: min(20px, 4vmin) 0 0;
    font-size: 1.3rem;
    color: var(--llb-slate-blue);
    opacity: 0.75;
}

.llb-cta .footer-cta-button span {
    background: var(--llb-forest-green);
}

/* Navigation - Mobile: keep slim height */
@media (max-width: 767px) {
    .gh-head {
        min-height: 52px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
}

/* Responsive - Tablets: one card per row for post/featured grids (no horizontal scroll) */
@media (max-width: 991px) {
    .llb-main-overlap {
        margin-top: -30px;
        border-top-left-radius: 32px;
        border-top-right-radius: 32px;
    }
    
    .llb-featured-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    
    .llb-featured-card:nth-child(3) {
        grid-column: auto;
    }
    
    .llb-logbook-grid .llb-logbook-post-wrap:nth-child(3) {
        grid-column: auto;
    }
    
    .llb-two-column-section {
        grid-template-columns: 1fr;
    }
    
    .llb-footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }
    
    .llb-footer-brand {
        text-align: center;
    }
    
    .llb-footer-logo {
        display: inline-block;
    }
    
    .llb-footer-explore {
        text-align: center;
    }
    
    .llb-footer-tags {
        justify-content: center;
    }
    
    .llb-footer-connect {
        text-align: center;
    }
    
    .llb-footer-social {
        justify-content: center;
    }
    
    .llb-footer-signup-wrap {
        align-items: center;
    }
    
    .llb-footer-signup-wrap .llb-footer-signup-form {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .llb-hero {
        min-height: 50vh;
    }
    
    .llb-hero-overlay {
        min-height: 50vh;
        padding: 40px max(4vmin, 20px);
    }
    
    .llb-main-overlap {
        margin-top: -25px;
        border-top-left-radius: 28px;
        border-top-right-radius: 28px;
    }
    
    .llb-stats-bar {
        margin-bottom: max(5vmin, 36px);
    }
    
    .llb-featured-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        max-width: 100%;
    }
    
    .llb-featured-card:nth-child(3) {
        grid-column: auto;
    }
    
    .site-content,
    .llb-main-overlap,
    .site-main.outer,
    .inner {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .llb-logbook-hero-overlay {
        padding: 36px max(4vmin, 16px);
    }
    
    .llb-logbook-filters {
        flex-direction: column;
        gap: 14px;
    }
    
    .llb-logbook-search-wrap {
        width: 100%;
    }
    
    .llb-featured-card-title {
        font-size: 1.4rem;
        -webkit-line-clamp: 2;
    }
    
    .llb-two-column-section {
        gap: 36px;
        margin-bottom: max(6vmin, 48px);
    }
    
    .llb-category-pills {
        gap: 10px;
    }
    
    .llb-pill {
        padding: 8px 16px;
        font-size: 1.3rem;
    }
}
