/* Sidebar submenu: indented left, stays open after click */
.has-submenu {
    position: relative;
}
    .has-submenu > .submenu {
        display: block;
        position: static;
        background: none;
        margin: 0;
        padding: 0 0 0 24px;
        list-style: none;
        border-left: 2px solid var(--border-color);
    }
.submenu li a {
    padding: 12px 30px;
    font-size: 0.9rem;
    color: var(--text-color);
    background: none;
    border: none;
    font-weight: 400;
    transition: background 0.2s, color 0.2s, font-weight 0.2s;
}
.submenu li a:hover {
    background: var(--secondary-color);
    color: #000;
    font-weight: 400;
}
.submenu li a.active {
    background: var(--secondary-color);
    color: #000;
    font-weight: bold;
}
/* Submenu Styles */
.has-submenu {
    position: relative;
}


.submenu {
    display: none;
    position: static;
    background: var(--secondary-color);
    margin: 0;
    padding: 0 0 0 20px;
    list-style: none;
    border-left: 2px solid var(--border-color);
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
    display: block;
}

.submenu li a {
    padding: 12px 30px;
    font-size: 0.9rem;
    color: var(--text-color);
    background: none;
    border: none;
    transition: background 0.2s, color 0.2s;
}

/* Ezh Clay - Main Stylesheet */
/* Sidebar Navigation Layout */

/* Import Inter font - consistent across all browsers and devices */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap');

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Remove borders and outlines from images */
img {
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Root Variables */
:root {
    --primary-color: #2c2c2c;
    --secondary-color: #f5f5f5;
    --accent-color: #8b7355;
    --text-color: #333;
    --light-text: #666;
    --border-color: #ddd;
    --background: #ffffff;
    --sidebar-width: 200px;
    /* Height of the homepage carousel. Adjust this single value to taste. */
    --carousel-height: 440px;
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: 0.02em;
}

h2 {
    font-size: 2rem;
    letter-spacing: 0.01em;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.video-links {
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.video-link {
    margin-bottom: 0;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Special styling for external/content links */
.about-preview a:not(.btn),
.about-section a:not(.btn),
.page-section a:not(.btn),
.contact-intro a:not(.btn) {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.about-preview a:not(.btn):hover,
.about-section a:not(.btn):hover,
.page-section a:not(.btn):hover,
.contact-intro a:not(.btn):hover {
    text-decoration: underline;
    color: #5568d3;
}

.about-preview a.etsy-link,
.about-section a.etsy-link,
.page-section a.etsy-link {
    font-weight: 700;
    font-style: italic;
}

/* ---- About page: inline photos + video thumbnails ---- */
.about-story {
    width: 100%;
    max-width: none;
    margin: 0 0 28px;
}

.about-story p {
    width: 100%;
    max-width: none;
    margin: 0 0 28px;
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-color);
}

.about-story .about-lead {
    max-width: none;
}

.about-story .about-wide {
    max-width: none;
}

.about-intro-grid,
.about-secondary-grid {
    display: grid;
    gap: 30px;
    align-items: start;
    margin-bottom: 30px;
}

.about-intro-grid {
    grid-template-columns: minmax(260px, 360px) minmax(380px, 1fr);
}

.about-secondary-grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
}

.about-left-figure,
.about-secondary-image figure {
    margin: 0;
}

.about-left-figure img,
.about-secondary-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.about-left-figure figcaption,
.about-secondary-image figcaption {
    margin-top: 0.8rem;
    font-size: 0.95rem;
    font-style: italic;
    color: var(--light-text);
    text-align: center;
}

.about-secondary-text {
    display: grid;
    gap: 20px;
    min-width: 0;
    width: 100%;
}

.about-secondary-text p {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.about-secondary-image {
    width: 100%;
    max-width: 300px;
    justify-self: end;
}

.about-seto-videos {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .about-intro-grid,
    .about-secondary-grid {
        grid-template-columns: 1fr;
    }

    .about-secondary-text {
        width: 100%;
        max-width: none;
    }

    .about-secondary-image {
        justify-self: stretch;
        max-width: none;
    }
}

.about-figure {
    margin: 2.6rem auto;
}

.about-figure img {
    width: 100%;
    height: auto;
    display: block;
}

/* Portraits shouldn't tower over the column */
.about-figure--portrait {
    max-width: 540px;
}

.about-figure figcaption {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--light-text);
    text-align: center;
}

/* Video thumbnail grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
    max-width: 720px;
    margin: 1.75rem auto 2.6rem;
}

/* Override the generic blue page-section link styling for cards */
.page-section a.video-card,
.page-section a.video-card:hover {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    display: block;
}

.video-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1b1b1b;
}

.video-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none; /* clicks fall through to the card link */
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    transition: background 0.25s ease, transform 0.25s ease;
}

.video-play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent #ffffff;
}

.video-card:hover .video-play,
.video-card:focus-visible .video-play {
    background: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.06);
}

.video-card:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.video-caption {
    display: block;
    margin-top: 0.55rem;
    font-size: 0.9rem;
    line-height: 1.35;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .about-story p { font-size: 1.05rem; }
    .about-figure { margin: 1.8rem auto; }
    .about-figure--portrait { max-width: 100%; }
    .video-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .video-caption { font-size: 0.8rem; }
}

/* Hamburger Menu (Mobile Only) */
.hamburger {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 4px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-4px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-4px, -5px);
}

/* Left Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background-color: var(--background);
    border-right: 1px solid var(--border-color);
    padding: 40px 0 40px 0;
    z-index: 100;
}

/* Logo container - hidden in sidebar on desktop, shown at top center */
.sidebar .logo-container {
    display: none;
}

/* Desktop: Logo and title at top center */
.desktop-header {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    background-color: var(--background);
    border-bottom: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 99;
    padding-top: 20px;
    padding-bottom: 10px;
}

.desktop-header .logo {
    height: 60px;
    width: auto;
    margin-bottom: 10px;
    margin-top: 0;
    border: none;
    outline: none;
}

.desktop-header .site-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0;
    color: var(--primary-color);
}

.shared-inline-header,
.home-inline-header {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.shared-inline-header .logo,
.home-inline-header .logo {
    margin-bottom: 0;
}

.home-main-content {
    padding-top: 64px;
}

.home-main-content .hero {
    margin-top: 0;
}

.title-symbol-wrap {
    display: inline-block;
    vertical-align: baseline;
    margin: 0 0.03em 0 0.005em;
}

.title-symbol {
    height: 2.4em;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    transform: translateY(0.08em);
}

.title-h {
    display: inline-block;
    transform: translateX(0.1em);
}

.shared-title,
.home-title {
    text-transform: none !important;
}

.desktop-header.shared-inline-header .site-title.shared-title,
.mobile-header.shared-inline-mobile .mobile-title.shared-title,
.desktop-header.home-inline-header .site-title.home-title,
.mobile-header.home-inline-mobile .mobile-title.home-title {
    text-transform: none !important;
}


.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    margin: 0;
}

.sidebar a {
    display: block;
    padding: 15px 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 400;
    color: var(--text-color);
    background: none;
    transition: all 0.3s ease;
}

.sidebar a:hover,
.sidebar a.active {
    background-color: var(--secondary-color);
    color: var(--text-color);
    font-weight: bold;
}

.sidebar .nav-menu {
    list-style: none;
    padding: 0;
}

/* Main Content Area */
.main-content {
    margin-left: var(--sidebar-width);
    padding-top: 100px;
    min-height: 100vh;
}

/* Home page: keep more padding */
.home-main-content {
    padding-top: 90px;
}

/* Header with Centered Logo */
.site-header {
    text-align: center;
    padding: 60px 20px 40px;
    border-bottom: 1px solid var(--border-color);
}

.logo-container {
    display: inline-block;
}

.logo-container img {
    height: 120px;
    width: auto;
    margin: 0 auto 20px;
    display: block;
}

.logo-container h1 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Hero/Slideshow Section */
.hero {
    padding: 0;
    text-align: center;
    max-width: 100%;
    margin: 0 0 0 0;
}

.slideshow {
    margin: 0;
    position: relative;
    overflow: hidden;
}

.slideshow img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

/* Continuous filmstrip gallery (homepage hero):
   faded tiles butt edge-to-edge with no gaps; the centred tile zooms
   up out of the strip at full opacity. */
.carousel {
    position: relative;
    width: 100%;
    margin: 0 auto;
    --gallery-height: 520px;        /* full area; the zoomed tile lives here */
    --strip-height: 240px;          /* height of the faded filmstrip tiles */
    --tile-width: clamp(162px, 19vw, 210px);
    --feature-scale: 2;             /* how much the centre tile zooms up */
    --thumb-opacity: 0.6;           /* faded tiles (Irina: 60–70%) */
    --ease: cubic-bezier(0.65, 0, 0.35, 1); /* smooth ease-in-out */
    --dur: 850ms;                   /* gentle, not abrupt */
}

.carousel-viewport {
    position: relative;
    width: 100%;
    height: var(--gallery-height);
    overflow: hidden;
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 0;                          /* continuous strip — no white space */
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    will-change: transform;
}

.carousel-slide {
    position: relative;
    flex: 0 0 var(--tile-width);
    width: var(--tile-width);
    height: var(--strip-height);
    margin: 0;
    padding: 0;
    overflow: hidden;
    opacity: var(--thumb-opacity);
    transform: scale(1);
    transform-origin: center center;
    cursor: pointer;
    z-index: 0;
    transition: transform var(--dur) var(--ease),
                opacity var(--dur) var(--ease);
}

/* The centred piece zooms up out of the strip and is fully opaque. */
.carousel-slide.is-center {
    transform: scale(var(--feature-scale));
    opacity: 1;
    z-index: 3;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;               /* fill the tile so the strip is seamless */
    object-position: center;
    display: block;
    pointer-events: none;            /* clicks register on the slide */
}

.carousel-slide:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.hero h2 {
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--light-text);
    width: 100%;
    max-width: none;
    margin: 0 0 28px;
}

/* Universal Page Section - Used by all content pages */
.page-section {
    padding: 0 40px 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Featured Products Section */
.featured-section {
    padding: 0 40px 30px 40px;
    background-color: var(--background);
}

.section-title {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 20px;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 300;
    color: var(--primary-color);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    text-align: center;
    transition: none;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
}

.product-card:hover {
    transform: none !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.product-card:focus,
.product-card:active,
.product-card:focus-visible {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 12px;
    background-color: #fff;
    transition: none;
    outline: none !important;
    border: none !important;
}

.product-name {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 400;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
}

/* Product Card Button - Reasonable Width */
.product-card .btn-primary {
    width: auto;
    min-width: 140px;
    display: block;
    margin: 0 auto;
    align-self: end;
}

/* Sold Badge */
.product-image-container {
    position: relative;
    margin-bottom: 12px;
}

.product-card.sold .product-image {
    margin-bottom: 0;
}

.sold-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff6b35;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.product-card.sold .btn-primary {
    display: none;
}

.product-price {
    color: var(--light-text);
    font-size: 1rem;
}

/* About Preview Section */
.about-preview {
    padding: 10px 40px 15px 40px;
    width: 100%;
    max-width: none;
    margin: 0 0 28px;
}

.about-preview p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-section {
    padding: 0 40px 60px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-section h3 {
    margin-top: 60px;
    margin-bottom: 30px;
    font-size: 1.3rem;
    font-weight: 400;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
}

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

.btn-primary {
        border-radius: 2px;
    background-color: #515151;
    color: white;
    width: auto;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #000000;
    border-color: #000000;
}

/* Footer */
footer {
    padding: 20px 40px 15px;
    border-top: 1px solid var(--border-color);
    margin-top: -15px;
}

footer p {
    text-align: center;
    color: var(--light-text);
    font-size: 0.85rem;
}

.footer-bottom {
    text-align: center;
    color: var(--light-text);
    font-size: 0.85rem;
}

.copyright::after {
    content: "© 2026 EZH CLAY. All rights reserved.";
}

.footer p.copyright::after {
    content: "© 2026 EZH CLAY. All rights reserved.";
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide desktop header on mobile */
    .desktop-header {
        display: none;
    }
    
    /* Show hamburger menu on mobile */
    .hamburger {
        display: block;
    }
    
    /* Hide sidebar by default on mobile */
    .sidebar {
        left: -100%;
        right: auto;
        transition: left 0.3s ease;
        width: 250px;
    }
    
    /* Show sidebar when active */
    .sidebar.active {
        left: 0;
        right: auto;
    }
    
    /* Show logo in mobile sidebar menu */
    .sidebar .logo-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        text-align: center;
        padding: 0 16px 20px;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 20px;
    }
    
    .sidebar .logo {
        height: 55px !important;
        max-height: 55px;
        width: auto !important;
        display: block;
        margin: 0;
    }
    
    .sidebar .site-title {
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 1.5rem;
        font-weight: 500;
        letter-spacing: 0.15em;
        text-transform: none;
        margin: 0;
        line-height: 1.2;
    }
    
    /* Reduce menu item spacing on mobile */
    .sidebar a {
        padding: 8px 30px;
    }
    
    /* Mobile header - real HTML element */
    .mobile-header {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        min-height: 92px;
        background-color: var(--background);
        border-bottom: none;
        z-index: 99;
        text-align: center;
        padding: 8px 20px 10px 20px;
    }
    
    .mobile-logo {
        width: 55px;
        height: 55px;
        display: block;
        margin: 0 auto 10px;
        border: none;
        outline: none;
    }
    
    .mobile-title {
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 1.25rem;
        font-weight: 700;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        margin: 0;
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }

    .shared-inline-mobile,
    .home-inline-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 0 20px;
    }

    .shared-inline-mobile .mobile-logo,
    .home-inline-mobile .mobile-logo {
        width: 55px;
        height: 55px;
        display: block;
        margin: 0;
    }

    .shared-inline-mobile .mobile-title,
    .home-inline-mobile .mobile-title {
        font-size: 1.5rem;
        font-weight: 500;
        line-height: 1.2;
    }
    
    /* Main content starts just below the shorter fixed header */
    .main-content {
        margin-left: 0;
        margin-top: 96px;
        padding-top: 0;
    }
    
    /* Remove ALL padding and margin from hero section */
    .hero {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }
    
    .hero .slideshow {
        margin: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .hero .slideshow img {
        display: block;
        margin: 0;
        width: 100%;
    }

    /* Carousel: shorter strip and smaller tiles on phones */
    .hero .carousel {
        --gallery-height: 92vw;
        --strip-height: 43vw;
        --tile-width: 36vw;
        --feature-scale: 2;
    }

    .hero .carousel-track {
        gap: 0;
    }
    
    /* Minimal top padding for shop pages */
    .featured-section {
        padding: 0 20px 40px 20px;
    }
    
    .about-preview {
        padding: 20px 20px 40px 20px;
    }
    
    /* Section title spacing for mobile */
    .section-title {
        margin-top: 0;
        margin-bottom: 20px;
        padding-top: 0;
        font-size: 1.8rem;
        line-height: 1.4;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 25px;
    }
    
    .product-image {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        aspect-ratio: auto;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

@media (min-width: 769px) {
    /* Hide mobile header on desktop */
    .mobile-header {
        display: none;
    }
}

/* Contact Page Styles */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px 60px 40px;
}

.contact-intro {
    margin-bottom: 40px;
}

.contact-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: center;
}

@media (min-width: 769px) and (max-width: 1024px) {
    :root {
        --sidebar-width: 180px;
    }
    
    .sidebar a {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}

/* Home header recovery: keep this after responsive rules so Chrome cannot
   apply the shared/refactored title treatment over the tuned home header. */
.desktop-header.shared-inline-header .site-title.shared-title,
.mobile-header.shared-inline-mobile .mobile-title.shared-title,
.desktop-header.home-inline-header .site-title.home-title,
.mobile-header.home-inline-mobile .mobile-title.home-title {
    text-transform: none !important;
}

.shared-title .title-symbol-wrap,
.home-title .title-symbol-wrap {
    display: inline-block !important;
    vertical-align: baseline !important;
    margin: 0 0.03em 0 0.005em !important;
}

.shared-title .title-symbol,
.home-title .title-symbol {
    height: 1.4em !important;
    width: auto !important;
    display: inline-block !important;
    vertical-align: middle !important;
    transform: translateY(0.08em) !important;
    margin: 0 !important;
}

.sidebar .shared-title .title-symbol {
    transform: translateY(0.08em) !important;
}

.shared-title .title-h,
.home-title .title-h {
    display: inline-block !important;
    transform: translateX(0.1em) !important;
}

/* SEO intro + cross-link blocks for category pages */
.section-intro {
    width: 100%;
    max-width: none;
    margin: 0 0 28px;
    text-align: left;
    line-height: 1.7;
    color: var(--text-color);
    opacity: 0.85;
}

.category-hero-image {
    width: 100%;
    max-width: 480px;
    margin: 0 auto 28px;
}

.teapots-hero-image {
    max-width: 600px;
}

.category-hero-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.section-links {
    text-align: left;
    margin-top: 32px;
    font-size: 0.95rem;
    opacity: 0.9;
}
