/* ==========================================================================
   1. DESIGN TOKENS, CORE GLOBAL STYLES & UTILITIES
   ========================================================================== */
:root {
    --primary-teal: #1c6b6a;
    --dark-teal: #082121;
    --accent-tan: #eec19b;
    --bg-light: #ffffff;
    --bg-soft-tan: #fdf5ee;
    --text-dark: #222222;
    --text-light: #ffffff;
    --border-color: #f1d9c5;
    --container-max-width: 1200px;
    --transition-speed: 0.3s;
    
    /* Font Configurations */
    --font-serif: 'Roboto Slab', 'Georgia', serif;
    --font-sans: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    padding-left: 20px;
}

/* --- Typography Hierarchy --- */
h1, h2, h3, h4, .logo a, .footer-logo {
    font-family: var(--font-serif);
    font-weight: 700;
}

.main-nav ul li a, 
.btn, 
.btn-subscribe,
.newsletter-label, 
.card-meta, 
.stat-item p,
.social-label,
.contact-item {
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.5px;
}

body, p, input, textarea, label, button {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
}

.section-block {
    margin-bottom: 60px;
}

.section-title {
    font-size: 1.8rem;
    color: var(--dark-teal);
    margin: 40px 0 20px 0;
    letter-spacing: 1px;
}

.section-title.inverted-title {
    color: var(--accent-tan);
}

.text-center { 
    text-align: center; 
}

/* --- Component Buttons --- */
.btn {
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 400;	
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    transition: background-color 0.2s ease;
    background-color: var(--primary-teal);
    color: var(--text-light);
}

.btn-submit {    
    background-color: var(--primary-teal);
    color: var(--accent-tan);
    font-size: 0.85rem;
    transition: background-color 0.2s ease;
}

.btn-submit:hover, .btn-primary:hover {
    background-color: var(--accent-tan);
    color: var(--text-dark);
}

.center-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* --- Responsive Visibility Defaults --- */
.tablet-visible, .desktop-visible, .desktop-only-btn { 
    display: none !important; 
}


/* ==========================================================================
   2. HEADER & NAVIGATION ARCHITECTURE
   ========================================================================== */

/* --- Top Utility Bar Global Definitions --- */
.top-bar {
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 10px 0;
    width: 100%;
}

.desktop-top-bar {
    display: none; /* Controlled via media queries strictly */
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.contact-info {
	gap: 20px; /* Space separating Gmail and Phone side-by-side components */
}

.social-media-wrapper, .social-links, .contact-info, .language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-label, .language-selector .lang-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 8px; /* Balanced structural spacing for 5 links */
    flex-wrap: wrap; /* Prevents overflow issues on minimal mobile screens */
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all var(--transition-speed) ease;
}

.social-links a:hover {
    background-color: var(--accent-tan);
    border-color: var(--accent-tan);
}

.icon-svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.5;
}

.social-links a:hover .icon-svg {
    stroke: var(--dark-teal);
}

.contact-item {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px; /* Spacing between the icon and its label string text */
    transition: color var(--transition-speed) ease;
}

.contact-item:hover {
    color: var(--accent-tan);
}

.icon-svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke var(--transition-speed) ease;
}

.select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.select-wrapper select {
    font-size: 0.8rem;
    color: var(--text-light);
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 2px 20px 2px 8px;
    cursor: pointer;
    appearance: none;
}

.select-wrapper select option {
    background-color: var(--dark-teal);
    color: var(--text-light);
}

.select-wrapper .dropdown-arrow {
    font-size: 0.6rem;
    position: absolute;
    right: 6px;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.7);
}

/* --- Navigation Base Header Layout --- */
.main-header {
    background-color: var(--dark-teal);
    position: relative;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 1.1rem;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.logo img {
    height: 35px;
    margin-right: 8px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Search Box Restructuring */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 260px; /* Slim look for mobile layouts */
    transition: width var(--transition-speed) ease;
}

.search-box input[type="text"] {
    width: 100%;
    padding: 6px 32px 6px 12px;
    font-size: 0.85rem;
    border-radius: 20px;
    border: 1px solid transparent;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
}

.search-box input[type="text"]:focus {
    outline: none;
    background-color: var(--bg-light);
}

.search-submit-btn {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
}

/* --- Mobile Menu Drawer Architectural Elements --- */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: all var(--transition-speed) ease;
}

/* Toggle Animations */
.mobile-menu-toggle.is-active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.is-active .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.is-active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-44deg); }

/* Slide Down Mobile Overlay Container Drawer */
.nav-container-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--dark-teal);
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    z-index: 999;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.nav-container-wrapper.is-open {
    max-height: 85vh;
    overflow-y: auto;
}

/* Stacked Utility inside Slide down menu */
.nav-container-wrapper .top-bar {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container-wrapper .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

/* --- Mobile Menu Drawer Adjustments (Inside Media Queries Loop) --- */
.nav-container-wrapper .contact-info {
    flex-direction: column; /* Stack vertically if compressed inside mobile screen width limits */
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.main-nav {
    width: 100%;
    padding: 15px 20px;
}

.main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    padding: 6px 0;
    transition: color var(--transition-speed) ease;
}

.main-nav a:hover, .main-nav a.active {
    color: #ff3333;
}

/* Submit Recipe Stack Styling inside Drawer */
.main-nav a.btn-submit-recipe {
    background-color: var(--primary-teal);
    color: var(--text-light);
    text-align: center;
    padding: 10px;
    margin-top: 5px;
	font-weight: 400;
    text-transform: uppercase;
}

.main-nav a.btn-submit-recipe:hover {
    background-color: var(--accent-tan);
    color: var(--text-dark);
}

.menu-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
    z-index: 998;
}

.menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}


/* ==========================================================================
   3. MAIN CONTENT MODULES
   ========================================================================== */

/* --- Hero Showcase Section --- */
.hero {
    background-image: 
        linear-gradient(to right, rgba(8, 33, 33, 0.8), rgba(8, 33, 33, 0.4)), 
        url('../img/hero-banner-anthony.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: hard-light;
    min-height: 450px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--text-light);
    padding: 40px 0; 
    overflow: hidden;
}

@supports (background-image: url('../img/hero-banner-anthony.webp')) {
    .hero {
        background-image: 
            linear-gradient(to right, rgba(8, 33, 33, 0.8), rgba(8, 33, 33, 0.4)), 
            url('../img/hero-banner-anthony.webp');
    }
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.hero-content {
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    color: white;
    border-radius: 8px;
}

.hero-content h1 {
    color: var(--accent-tan);
    font-size: 2rem;
    line-height: 1.3;
    max-width: 500px;
}

.hero-images-showcase {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-top: 20px;
    max-width: 320px;
}

.hero-frame {
    border: 4px solid #ff3333;
    background-color: #ffffff;
    padding: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    flex: 1;
    overflow: hidden;
	transition: transform var(--transition-speed) ease;
    border-radius: 8px;
}

.hero-frame img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* --- Biography Grid Component --- */
.bio-section {
    margin: 60px auto;
    padding: 0 20px;
}

.bio-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.bio-image {
    flex-shrink: 0;
    width: 200px;
}

.bio-image picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar {
    border-radius: 50%;
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: 4px solid var(--border-color);
}

.bio-card {
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
}

.bio-card h3 {
    background-color: var(--primary-teal);
    color: var(--text-light);
    padding: 10px;
    font-size: 1.1rem;
}

.bio-card p {
    padding: 20px;
    font-size: 0.95rem;
}

/* --- Global Cards Grid Structure --- */
.cards-grid, .dynamic-columns-3, .dynamic-columns-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.recipe-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.dynamic-columns-4 .recipe-card picture img {
    width: 100%;
    height: 200px;
    display: block;
    object-fit: cover; 
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.dynamic-columns-3 .recipe-card picture {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.dynamic-columns-3 .recipe-card picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 15px;
}

.card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark-teal);
}

.rating {
    color: #ff9900;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.review-count, .blog-stats {
    color: #666;
    font-size: 0.8rem;
}

.card-excerpt {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.card-meta {
    font-size: 0.85rem;
    color: #666;
    margin: 10px 0;
}

.card-meta strong {
    color: var(--primary-teal);
}

.card-meta time {
    font-style: italic;
    color: #888;
}

.card-buttons {
    display: flex;
    gap: 10px;
}

.btn-card {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.8rem;
    text-decoration: none;
    border: 1px solid var(--primary-teal);
    border-radius: 4px;
    color: var(--primary-teal);
    transition: all 0.2s ease;
}

.btn-card:hover {
    background-color: var(--primary-teal);
    color: var(--text-light);
}

.btn-long {
    padding-left: 15px;
    padding-right: 15px;
}

.btn-card.btn-long {
    flex: 2;
}

/* --- Weekly Features Section --- */
.features-section {
    background-color: var(--dark-teal);
    padding: 30px 20px;
    margin-left: -20px;
    margin-right: -20px;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-column {
    display: flex;
    flex-direction: column;
}

.feature-header {
    background-color: var(--primary-teal);
    color: var(--text-light);
    text-align: center;
    padding: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.feature-card-content {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color); 
}

.feature-card-content picture img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.contributor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.avatar-round {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.social-badges {
    margin-top: 15px;
    font-size: 1.4rem;
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* --- Metrics & Statistics Banner --- */
.stat-title {
    color: var(--accent-tan);
    text-align: left;
}

.statistics-bar {
    background: linear-gradient(rgba(8, 33, 33, 0.85), rgba(8, 33, 33, 0.85));
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 40px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--accent-tan);
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Newsletter Subscription Blocks --- */
.newsletter-section {
    /* Consolidates fallback color (#ff3333), fallback JPG URL, repeat, positioning, and sizing (cover) */
    background: #ff3333 url('../img/subs-food-bg.jpg') no-repeat center / cover;
    background-blend-mode: multiply;
    padding: 60px 20px;
}

/* Prioritizes modern WebP formatting while automatically retaining your blending mode, sizing, and color from above */
@supports (background-image: url('../img/subs-food-bg.webp')) {
    .newsletter-section {
        background-image: url('../img/subs-food-bg.webp');
    }
}


.newsletter-card {
    background-color: var(--accent-tan);
    padding: 40px 30px;
    border-radius: 6px;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-card h2 {
    font-size: 1.8rem;
    color: #ff3333; 
    margin-bottom: 8px;
}

.newsletter-card p {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.newsletter-label {
    display: block;
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--dark-teal);
    margin-bottom: 10px;
    text-align: left;
}

.newsletter-flex-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.newsletter-flex-group input[type="email"] {
    flex: 1;
    padding: 14px 18px;
    font-size: 1rem;
    background-color: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 4px;
    color: var(--text-dark);
    transition: border-color var(--transition-speed) ease;
}

.newsletter-flex-group input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-teal);
}

.btn-subscribe {
    background-color: var(--dark-teal);
    color: var(--text-light);
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: bold;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-subscribe:hover {
    background-color: var(--primary-teal);
}

.checkbox-wrapper {
    gap: 10px;
    margin-top: 15px;
    text-align: left;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.checkbox-wrapper input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}


/* ==========================================================================
   4. MAIN SITE FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--primary-teal);
    color: var(--text-light);
    padding: 40px 0 30px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    text-align: center;
}

.footer-logo {
	display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 6px;
}

.footer-logo > img {
	width: 3rem;
}

.footer-tagline {
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.85rem;
    transition: color var(--transition-speed) ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-tan);
}

.footer-divider {
    opacity: 0.4;
    font-size: 0.85rem;
}

.copyright {
    font-size: 0.75rem;
    opacity: 0.7;
}


/* ==========================================================================
   5. RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================================== */

/* --- Tablet Structural Shift Framework (600px and up) --- */
@media (min-width: 600px) {
	.search-box { width: 360px; }
    .section-title { font-size: 2.2rem; }
    .tablet-visible { display: block !important; }
    
    .dynamic-columns-4 { grid-template-columns: repeat(3, 1fr); }
    .dynamic-columns-3 { grid-template-columns: repeat(2, 1fr); }
    
    .features-grid { flex-direction: row; gap: 20px; }
    .feature-column { flex: 1; }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    
    .newsletter-card {
        max-width: 640px;
        margin: 0 auto;
    }
    .newsletter-flex-group {
        flex-direction: row;
        gap: 10px;
    }
    .newsletter-flex-group input[type="email"] {
        border-radius: 4px 0 0 4px;
    }
    .btn-subscribe {
        border-radius: 0 4px 4px 0;
        padding: 14px 35px;
    }
}

/* --- High-Density Tablet Layout Breakpoints (768px and up) --- */
@media (min-width: 768px) {
	.logo a { font-size: 1.3rem; }
    .logo img { height: 40px; }
	
    .hero { padding: 60px 0; }
    .hero-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        gap: 40px;
    }
    .hero-content { flex: 1; }
    .hero-content h1 {
        font-size: 2.6rem;
        max-width: 100%;
    }
    .hero-images-showcase {
        flex: 1;
        flex-direction: row;
        max-width: none;
        align-items: center;
        justify-content: flex-end;
        gap: 20px;
    }
    .hero-frame {
        flex: 1;
        max-width: 240px;
    }
    .frame-left { transform: translateY(-15px); }
    .frame-right { transform: translateY(15px); }

    .bio-section { max-width: 850px; }
    .bio-grid {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }
    .bio-image { width: 200px; }

    /* Footer Settings */
    .main-footer { padding: 50px 0; }
    .footer-inner {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        text-align: left;
    }
    .footer-brand-group {
        flex: 1 1 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    .footer-links { justify-content: flex-start; }
}

/* --- Precise Desktop View Alignment (1037px and up) --- */
@media (min-width: 1037px) {
   /* Make the standalone desktop top bar visible */
    .desktop-top-bar {
        display: block;
		background-color: var(--primary-teal);
    }
    .mobile-menu-toggle, .menu-overlay {
        display: none !important;
    }
    .desktop-visible { 
        display: block !important; 
    }
    .desktop-only-btn {
        display: inline-block !important;
    }
	
	/* Reset structural navigation container away from absolute layout drawers */
    .nav-container-wrapper {
		position: static;
        width: auto;
        max-height: none;
        overflow: visible;
        background-color: transparent;
        box-shadow: none;
        display: block;
    }
	
    /* Remove the duplicate mobile-stacked copy entirely on desktop views */
    .nav-container-wrapper .top-bar {
        display: none !important;
	}

    /* Header & Navigation Formatting */
    .main-header { padding: 10px 0; }
    .main-nav { padding: 0; }
    .main-nav ul {
        flex-direction: row;
        align-items: center;
        gap: 22px;
    }
    .main-nav ul li.mobile-hidden,
    .main-nav ul li.always-visible {
        display: block !important;
    }
    .main-nav ul li.always-visible a {
        background-color: transparent !important;
        padding: 0;
    }
    .main-nav a {
        color: var(--text-light);
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
		padding: 0;
    }
  
	/* Transform Submit Recipe link into an eye-catching header button item */
    .main-nav a.btn-submit-recipe {
		background-color: var(--primary-teal);
        color: var(--text-light);
        padding: 8px 16px;
        margin-top: 0;
    }
	.main-nav a.btn-submit-recipe:hover {
		background-color: var(--accent-tan);
        color: var(--text-dark);
    }

    /* Expand search layout proportions cleanly alongside elements */
    .search-box { width: 210px; }
    .search-box input[type="text"] {
        background-color: rgba(255, 255, 255, 0.15);
        color: var(--text-light);
    }
    .search-box input[type="text"]::placeholder {
        color: rgba(255, 255, 255, 0.65);
    }
    .search-submit-btn {
        color: rgba(255, 255, 255, 0.7);
    }
    .search-box input[type="text"]:focus {
        background-color: var(--bg-light);
        color: var(--text-dark);
    }
    .search-box input[type="text"]:focus + .search-submit-btn {
        color: var(--primary-teal);
    }

    /* Hero Component Extensions */
    .hero { padding: 80px 0; }
    .hero-content h1 {
        font-size: 3.5rem;
        max-width: 550px;
    }
    .hero-images-showcase { gap: 30px; }
    .hero-frame { max-width: 280px; }
    .hero-frame img { height: 200px; }
    .hero-frame:hover {
        transform: scale(1.05) translateY(0);
        z-index: 10;
    }

    /* Layout Array Grids */
    .dynamic-columns-4 { grid-template-columns: repeat(4, 1fr); }
    .dynamic-columns-3 { grid-template-columns: repeat(3, 1fr); }
	
    .card-wrapper {
        text-decoration: none;
        color: inherit;
        display: block;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border-radius: 8px;
        overflow: hidden;
    }
	
    .dynamic-columns-3 .recipe-card,
    .dynamic-columns-4 .recipe-card {
        transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    }

    .dynamic-columns-3 .recipe-card:hover,
    .dynamic-columns-4 .recipe-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    }

    .dynamic-columns-3 .recipe-card picture img,
    .dynamic-columns-4 .recipe-card picture img {
        transition: transform 0.5s ease;
    }

    .recipe-card:hover picture img {
        transform: scale(1.05);
    }
    
    /* Full-Bleed Features Section Layout */
    .features-section {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        border-radius: 0;
        padding: 50px 0;
    }

    /* Footer Desktop Polish */
    .footer-inner { flex-wrap: nowrap; }
    .footer-brand-group {
        flex: 0 1 auto;
        text-align: left;
        margin-bottom: 0;
    }
    .footer-links {
        flex: 1;
        justify-content: center;
    }
    .copyright {
        flex: 0 1 auto;
        text-align: right;
    }
}