/* ============================================
   PinVibe — Main Stylesheet
   Editorial Magazine Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Primary */
    --cream: #FDF8F4;
    --warm-white: #FEFCFA;
    --dusty-rose: #D4A0A0;

    /* Accent */
    --deep-mauve: #8B5E6B;
    --soft-blush: #F0D9D9;
    --champagne: #F5E6D3;

    /* Neutrals */
    --charcoal: #2C2C2C;
    --dark-gray: #4A4A4A;
    --medium-gray: #8A8A8A;
    --light-gray: #E8E4E0;
    --off-white: #FAF9F7;
    --white: #FFFFFF;

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --sp-xs: 8px;
    --sp-sm: 16px;
    --sp-md: 24px;
    --sp-lg: 32px;
    --sp-xl: 48px;
    --sp-2xl: 64px;
    --sp-3xl: 96px;

    /* Layout */
    --max-width: 1240px;
    --content-width: 700px;
    --header-height: 72px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 2px 20px rgba(0,0,0,0.04);
    --shadow-lg: 0 4px 30px rgba(0,0,0,0.08);

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --duration: 0.3s;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--cream);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--deep-mauve);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--charcoal);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; font-weight: 500; }
h4 { font-size: 1.25rem; font-weight: 500; }

p { margin-bottom: 1.2em; }

ul, ol { padding-left: 1.5em; }

::selection {
    background-color: var(--soft-blush);
    color: var(--charcoal);
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--sp-md);
}

.section {
    padding: var(--sp-3xl) 0;
}

.section--alt {
    background-color: var(--off-white);
}

.section--blush {
    background-color: var(--soft-blush);
}

.section--champagne {
    background-color: var(--champagne);
}

.section-header {
    text-align: center;
    margin-bottom: var(--sp-xl);
}

.section-title {
    font-size: 2rem;
    margin-bottom: var(--sp-xs);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--medium-gray);
    font-weight: 400;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--white);
    border-bottom: 1px solid var(--light-gray);
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.site-header.hidden {
    transform: translateY(-100%);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--sp-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: -0.03em;
}

.logo:hover .logo-text {
    color: var(--deep-mauve);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--sp-lg);
    padding: 0;
    margin: 0;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: var(--sp-xs) 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--deep-mauve);
    transition: width var(--duration) var(--ease);
}

.nav-link:hover,
.nav-link.active {
    color: var(--charcoal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
}

.search-toggle,
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--charcoal);
    padding: var(--sp-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--duration) var(--ease);
}

.search-toggle:hover,
.menu-toggle:hover {
    color: var(--deep-mauve);
}

.menu-toggle {
    display: none;
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: currentColor;
    transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

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

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

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

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    z-index: 1001;
    padding: var(--sp-lg);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

.search-overlay.active {
    transform: translateY(0);
    opacity: 1;
}

.search-overlay-inner {
    max-width: 600px;
    margin: 0 auto;
}

.search-form-overlay {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
}

.search-input-overlay {
    flex: 1;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    border: none;
    outline: none;
    background: transparent;
    color: var(--charcoal);
    padding: var(--sp-sm) 0;
    border-bottom: 2px solid var(--light-gray);
}

.search-input-overlay::placeholder {
    color: var(--light-gray);
}

.search-input-overlay:focus {
    border-bottom-color: var(--deep-mauve);
}

.search-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--medium-gray);
    padding: var(--sp-xs);
}

.search-close:hover {
    color: var(--charcoal);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    z-index: 999;
    padding: var(--sp-xl) var(--sp-md);
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

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

.mobile-nav-link {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--charcoal);
    padding: var(--sp-sm) 0;
    border-bottom: 1px solid var(--light-gray);
}

.mobile-nav-link:hover {
    color: var(--deep-mauve);
}

.mobile-search-form {
    margin-top: var(--sp-lg);
}

.mobile-search-input {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    padding: var(--sp-sm);
    border: 1px solid var(--light-gray);
    border-radius: 2px;
    background: var(--off-white);
    color: var(--charcoal);
    outline: none;
}

.mobile-search-input:focus {
    border-color: var(--deep-mauve);
}

/* --- Main Content Area --- */
.site-main {
    margin-top: var(--header-height);
    min-height: 60vh;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: var(--charcoal);
}

.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    transition: transform 8s var(--ease);
}

.hero:hover .hero-image {
    transform: scale(1.03);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--sp-3xl) var(--sp-md) var(--sp-2xl);
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.hero-category {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--dusty-rose);
    margin-bottom: var(--sp-sm);
    display: inline-block;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    max-width: 700px;
    line-height: 1.1;
    margin-bottom: var(--sp-md);
    letter-spacing: -0.02em;
}

.hero-excerpt {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    margin-bottom: var(--sp-lg);
    line-height: 1.6;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-xs);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    border-bottom: 2px solid var(--dusty-rose);
    padding-bottom: 4px;
    transition: border-color var(--duration) var(--ease);
}

.hero-link:hover {
    color: var(--white);
    border-color: var(--white);
}

.hero-link svg {
    transition: transform var(--duration) var(--ease);
}

.hero-link:hover svg {
    transform: translateX(4px);
}

/* --- Category Nav Bar --- */
.category-bar {
    border-bottom: 1px solid var(--light-gray);
    background-color: var(--white);
}

.category-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--sp-md);
    display: flex;
    gap: var(--sp-lg);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-bar-inner::-webkit-scrollbar {
    display: none;
}

.category-bar-link {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--medium-gray);
    padding: var(--sp-sm) 0;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.category-bar-link:hover,
.category-bar-link.active {
    color: var(--charcoal);
    border-bottom-color: var(--deep-mauve);
}

/* --- Article Grid --- */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
}

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

/* --- Category Spotlight (2x2) --- */
.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-md);
}

.spotlight-card {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: flex-end;
    background-color: var(--charcoal);
}

.spotlight-card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.65;
    transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

.spotlight-card:hover .spotlight-card-image {
    transform: scale(1.05);
    opacity: 0.5;
}

.spotlight-card-content {
    position: relative;
    z-index: 2;
    padding: var(--sp-lg);
}

.spotlight-card-title {
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: var(--sp-xs);
}

.spotlight-card-desc {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
}

/* --- Editor's Pick (50/50) --- */
.editors-pick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background-color: var(--white);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.editors-pick-image {
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
}

.editors-pick-content {
    padding: var(--sp-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.editors-pick-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--deep-mauve);
    margin-bottom: var(--sp-sm);
}

.editors-pick-title {
    font-size: 2rem;
    margin-bottom: var(--sp-sm);
    line-height: 1.2;
}

.editors-pick-excerpt {
    color: var(--dark-gray);
    margin-bottom: var(--sp-lg);
    line-height: 1.7;
}

.editors-pick-link {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-xs);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--charcoal);
}

.editors-pick-link:hover {
    color: var(--deep-mauve);
}

/* --- Trending Pins (Horizontal Scroll) --- */
.trending-scroll {
    display: flex;
    gap: var(--sp-md);
    overflow-x: auto;
    padding-bottom: var(--sp-sm);
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.trending-scroll::-webkit-scrollbar {
    display: none;
}

.trending-pin {
    flex: 0 0 220px;
    scroll-snap-align: start;
}

.trending-pin-image {
    aspect-ratio: 2 / 3;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    margin-bottom: var(--sp-xs);
    transition: opacity var(--duration) var(--ease);
}

.trending-pin:hover .trending-pin-image {
    opacity: 0.85;
}

.trending-pin-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--charcoal);
}

/* --- Newsletter Section --- */
.newsletter-section {
    background-color: var(--soft-blush);
    padding: var(--sp-3xl) var(--sp-md);
    text-align: center;
}

.newsletter-inner {
    max-width: 540px;
    margin: 0 auto;
}

.newsletter-heading {
    font-size: 2rem;
    margin-bottom: var(--sp-sm);
    letter-spacing: -0.02em;
}

.newsletter-text {
    color: var(--dark-gray);
    margin-bottom: var(--sp-lg);
}

.newsletter-field {
    display: flex;
    gap: var(--sp-xs);
}

.newsletter-input {
    flex: 1;
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 14px var(--sp-sm);
    border: 1px solid var(--light-gray);
    border-radius: 2px;
    background-color: var(--white);
    color: var(--charcoal);
    outline: none;
    transition: border-color var(--duration) var(--ease);
}

.newsletter-input:focus {
    border-color: var(--deep-mauve);
}

.newsletter-input::placeholder {
    color: var(--medium-gray);
}

.newsletter-btn {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 14px var(--sp-lg);
    background-color: var(--charcoal);
    color: var(--white);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--duration) var(--ease);
}

.newsletter-btn:hover {
    background-color: var(--deep-mauve);
}

.newsletter-msg {
    margin-top: var(--sp-sm);
    font-size: 0.875rem;
    min-height: 1.2em;
}

.newsletter-msg.success { color: #4a7c59; }
.newsletter-msg.error { color: #a04040; }

/* --- Category Page Header --- */
.category-hero {
    text-align: center;
    padding: var(--sp-3xl) var(--sp-md) var(--sp-2xl);
    background-color: var(--champagne);
}

.category-hero-title {
    font-size: 3rem;
    margin-bottom: var(--sp-sm);
    letter-spacing: -0.02em;
}

.category-hero-desc {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Filter Tabs --- */
.filter-tabs {
    display: flex;
    gap: var(--sp-md);
    padding: var(--sp-sm) var(--sp-md);
    max-width: var(--max-width);
    margin: 0 auto;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid var(--light-gray);
    background-color: var(--white);
}

.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--medium-gray);
    background: none;
    border: none;
    padding: var(--sp-sm) var(--sp-xs);
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.filter-tab:hover,
.filter-tab.active {
    color: var(--charcoal);
    border-bottom-color: var(--deep-mauve);
}

/* --- Post Single Page --- */
.post-header {
    text-align: center;
    padding: var(--sp-2xl) var(--sp-md) var(--sp-lg);
    max-width: var(--content-width);
    margin: 0 auto;
}

.post-category-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--deep-mauve);
    display: inline-block;
    margin-bottom: var(--sp-sm);
}

.post-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: var(--sp-md);
    letter-spacing: -0.02em;
}

.post-meta {
    font-size: 0.875rem;
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-sm);
    flex-wrap: wrap;
}

.post-meta .meta-sep {
    color: var(--light-gray);
}

/* Post Hero Image */
.post-hero-image {
    width: 100%;
    max-width: 960px;
    margin: 0 auto var(--sp-xl);
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
}

/* Share Bar */
.share-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-sm);
    padding: var(--sp-sm) 0;
    margin-bottom: var(--sp-lg);
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--dark-gray);
    padding: 8px 16px;
    border: 1px solid var(--light-gray);
    border-radius: 2px;
    background: var(--white);
    cursor: pointer;
    transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.share-btn:hover {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
}

.share-btn--pinterest {
    border-color: var(--dusty-rose);
    color: var(--deep-mauve);
}

.share-btn--pinterest:hover {
    background: var(--deep-mauve);
    border-color: var(--deep-mauve);
    color: var(--white);
}

/* Post Content Area */
.post-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--sp-md);
}

.post-content h2 {
    font-size: 1.875rem;
    margin: var(--sp-xl) 0 var(--sp-md);
    letter-spacing: -0.01em;
}

.post-content h3 {
    font-size: 1.375rem;
    margin: var(--sp-lg) 0 var(--sp-sm);
}

.post-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--dark-gray);
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5em;
    color: var(--dark-gray);
}

.post-content li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}

.post-content strong {
    color: var(--charcoal);
    font-weight: 700;
}

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

.post-content blockquote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
    color: var(--deep-mauve);
    border-left: 3px solid var(--dusty-rose);
    padding: var(--sp-sm) var(--sp-lg);
    margin: var(--sp-xl) 0;
}

.post-content a {
    color: var(--deep-mauve);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-content a:hover {
    color: var(--charcoal);
}

/* Table of Contents */
.toc {
    max-width: var(--content-width);
    margin: 0 auto var(--sp-xl);
    padding: var(--sp-md);
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    border-radius: 2px;
}

.toc-title {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--medium-gray);
    margin-bottom: var(--sp-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toc-list {
    list-style: none;
    padding: 0;
}

.toc-list li {
    margin-bottom: var(--sp-xs);
}

.toc-list a {
    font-size: 0.9375rem;
    color: var(--dark-gray);
    text-decoration: none;
}

.toc-list a:hover {
    color: var(--deep-mauve);
}

/* Author Bio */
.author-bio {
    max-width: var(--content-width);
    margin: var(--sp-3xl) auto var(--sp-xl);
    padding: var(--sp-lg);
    background: var(--off-white);
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: var(--sp-md);
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--soft-blush);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep-mauve);
}

.author-info h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 0.9375rem;
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.5;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--charcoal);
    color: rgba(255,255,255,0.7);
    padding: var(--sp-3xl) 0 var(--sp-lg);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--sp-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-xl);
    margin-bottom: var(--sp-3xl);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: inline-block;
    margin-bottom: var(--sp-sm);
}

.footer-logo:hover {
    color: var(--dusty-rose);
}

.footer-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1rem;
    color: var(--dusty-rose);
    margin-bottom: var(--sp-sm);
}

.footer-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--white);
    margin-bottom: var(--sp-md);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: var(--sp-xs);
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--duration) var(--ease);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--sp-lg);
    text-align: center;
    font-size: 0.8125rem;
}

.footer-bottom p {
    margin-bottom: var(--sp-xs);
}

.footer-legal a {
    color: rgba(255,255,255,0.5);
}

.footer-legal a:hover {
    color: var(--white);
}

.footer-sep {
    margin: 0 var(--sp-xs);
    color: rgba(255,255,255,0.2);
}

.footer-affiliate-note {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    font-style: italic;
}

/* --- Load More Button --- */
.load-more-wrap {
    text-align: center;
    padding: var(--sp-xl) 0;
}

.load-more-btn {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 14px var(--sp-xl);
    background: transparent;
    color: var(--charcoal);
    border: 2px solid var(--charcoal);
    border-radius: 2px;
    cursor: pointer;
    transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.load-more-btn:hover {
    background: var(--charcoal);
    color: var(--white);
}

/* --- About Page --- */
.about-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: var(--sp-3xl) var(--sp-md);
}

.about-content h1 {
    font-size: 3rem;
    margin-bottom: var(--sp-lg);
    text-align: center;
}

.about-content h2 {
    font-size: 1.875rem;
    margin: var(--sp-xl) 0 var(--sp-md);
}

.about-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--dark-gray);
}

.about-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    margin: var(--sp-lg) 0 var(--sp-xl);
}

/* --- Search Page --- */
.search-page {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--sp-3xl) var(--sp-md);
}

.search-page h1 {
    font-size: 2rem;
    margin-bottom: var(--sp-lg);
}

.search-page .search-form {
    margin-bottom: var(--sp-xl);
}

.search-form {
    display: flex;
    gap: var(--sp-xs);
    max-width: 500px;
}

.search-form input {
    flex: 1;
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 12px var(--sp-sm);
    border: 1px solid var(--light-gray);
    border-radius: 2px;
    outline: none;
    background: var(--white);
}

.search-form input:focus {
    border-color: var(--deep-mauve);
}

.search-form button {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 12px var(--sp-lg);
    background: var(--charcoal);
    color: var(--white);
    border: none;
    border-radius: 2px;
    cursor: pointer;
}

.search-form button:hover {
    background: var(--deep-mauve);
}

.no-results {
    text-align: center;
    padding: var(--sp-3xl) 0;
    color: var(--medium-gray);
}

.no-results h2 {
    margin-bottom: var(--sp-sm);
}

/* --- 404 Page --- */
.error-page {
    text-align: center;
    padding: var(--sp-3xl) var(--sp-md);
    max-width: 600px;
    margin: 0 auto;
}

.error-page h1 {
    font-size: 6rem;
    color: var(--light-gray);
    margin-bottom: var(--sp-sm);
}

.error-page h2 {
    margin-bottom: var(--sp-md);
}

.error-page p {
    color: var(--medium-gray);
    margin-bottom: var(--sp-lg);
}

.error-page a {
    display: inline-block;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 14px var(--sp-xl);
    background: var(--charcoal);
    color: var(--white);
    border-radius: 2px;
    transition: background var(--duration) var(--ease);
}

.error-page a:hover {
    background: var(--deep-mauve);
    color: var(--white);
}

/* --- Ad Slot Styling --- */
.ad-slot {
    text-align: center;
    padding: var(--sp-lg) 0;
    max-width: var(--content-width);
    margin: 0 auto;
}

.ad-slot-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--light-gray);
    margin-bottom: var(--sp-xs);
}

/* --- Contact Page --- */
.contact-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: var(--sp-3xl) var(--sp-md);
}

.contact-content h1 {
    font-size: 3rem;
    margin-bottom: var(--sp-md);
    text-align: center;
}

.contact-content > p {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: var(--sp-xl);
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--sp-md);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--sp-xs);
    color: var(--charcoal);
}

.form-group input,
.form-group textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 12px var(--sp-sm);
    border: 1px solid var(--light-gray);
    border-radius: 2px;
    background: var(--white);
    color: var(--charcoal);
    outline: none;
    transition: border-color var(--duration) var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--deep-mauve);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 14px var(--sp-xl);
    background: var(--charcoal);
    color: var(--white);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background var(--duration) var(--ease);
    width: 100%;
}

.form-submit:hover {
    background: var(--deep-mauve);
}
