/*
Theme Name: Under the Lama Tree
Theme URI: https://lamatreedev.com
Author: Lama Tree Development Studio
Author URI: https://lamatreedev.com
Description: Anti-tech-bro AI automation studio with vintage surfer Gen X aesthetic
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: under-the-lama-tree
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   LTDS Brand Variables
   ========================================================================== */
:root {
    --ltds-bg-primary: #F5F1E8;
    --ltds-green-dark: #2D4A3A;
    --ltds-green-medium: #4A6B5A;
    --ltds-green-light: #6B8A7A;
    --ltds-headline-dark: #0A2523;
    --ltds-text-dark: #1A1A1A;
    --ltds-text-medium: #4A4A4A;
    --ltds-orange: #dda33f;
    --ltds-white: #FFFFFF;
    --ltds-border-light: rgba(45, 74, 58, 0.1);
    --ltds-shadow: 0 2px 8px rgba(45, 74, 58, 0.08);
    --ltds-shadow-hover: 0 4px 16px rgba(45, 74, 58, 0.12);
}

/* ==========================================================================
   Reset and Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto Mono', monospace;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ltds-text-dark);
    background-color: var(--ltds-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

/* Page wrapper */
#page {
    width: 100%;
}

/* Main content area */
.site-main,
#main {
    width: 100%;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Londrina Solid', sans-serif;
    font-weight: 300;
    line-height: 1.2;
    color: var(--ltds-headline-dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: 1.5rem;
    color: var(--ltds-text-medium);
}

a {
    color: #a43309;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #a43309;
    text-decoration: underline;
}

/* Lists */
ul {
    margin-left: 32px;
    margin-bottom: 1.5rem;
    color: var(--ltds-text-medium);
}

ol {
    margin-left: 32px;
    margin-bottom: 1.5rem;
    color: var(--ltds-text-medium);
}

li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header container should not limit header width */
.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-content {
    max-width: 70%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: relative;
    z-index: 1000;
    background-color: var(--ltds-bg-primary);
    padding: 1.5rem 0;
    width: 100vw !important;
    margin: 0;
    left: 0;
    right: 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
}

/* Custom Logo Styling */
.custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.custom-logo {
    max-height: 80px;
    width: auto;
    height: auto;
    display: block;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ltds-green-dark);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.site-title:hover {
    color: var(--ltds-green-medium);
}

.site-description {
    display: none;
}

/* Navigation */
.site-navigation {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--ltds-green-dark);
    color: var(--ltds-green-dark);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background-color: var(--ltds-green-dark);
    color: var(--ltds-white);
}

.site-navigation ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-navigation a {
    color: var(--ltds-text-medium);
    font-weight: 500;
    transition: color 0.3s ease;
}

.site-navigation a:hover,
.site-navigation .current-menu-item a {
    color: var(--ltds-green-dark);
}

/* ==========================================================================
   Homepage Hero Section
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 0 4rem 0;
    margin-top: -1.5rem;
    background: linear-gradient(135deg, var(--ltds-bg-primary) 0%, rgba(245, 241, 232, 0.8) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    color: var(--ltds-headline-dark);
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--ltds-green-medium);
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--ltds-text-medium);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: inline-block;
    background: var(--ltds-green-dark);
    color: var(--ltds-white);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: var(--ltds-shadow);
}

.hero-cta:hover {
    background: var(--ltds-green-medium);
    transform: translateY(-2px);
    box-shadow: var(--ltds-shadow-hover);
    color: var(--ltds-white);
}

/* Chat Interface Placeholder */
.chat-interface {
    background: var(--ltds-white);
    border-radius: 12px;
    box-shadow: var(--ltds-shadow-hover);
    padding: 2rem;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    border-bottom: 2px solid var(--ltds-border-light);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.chat-title {
    font-size: 1.5rem;
    color: var(--ltds-green-dark);
    margin: 0;
}

.chat-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ltds-text-medium);
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(245, 241, 232, 0.3) 0%, rgba(245, 241, 232, 0.1) 100%);
    border-radius: 8px;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */
.content-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--ltds-text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--ltds-white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--ltds-shadow);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ltds-shadow-hover);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--ltds-green-light);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-description {
    color: var(--ltds-text-medium);
    line-height: 1.8;
}

/* ==========================================================================
   Blog Styles
   ========================================================================== */
.blog-header {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--ltds-bg-primary) 0%, rgba(245, 241, 232, 0.6) 100%);
    text-align: center;
}

.blog-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.blog-subtitle {
    font-size: 1.25rem;
    color: var(--ltds-text-medium);
    max-width: 700px;
    margin: 0 auto;
}

/* Post Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    padding: 3rem 0;
}

.post-card {
    background: var(--ltds-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--ltds-shadow);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ltds-shadow-hover);
}

.post-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--ltds-green-light);
}

.post-content {
    padding: 2rem;
}

.post-category {
    display: inline-block;
    color: var(--ltds-headline-dark);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.post-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.post-title a {
    color: var(--ltds-green-dark);
}

.post-title a:hover {
    color: var(--ltds-green-medium);
}

.post-excerpt {
    color: var(--ltds-text-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    color: var(--ltds-text-medium);
    font-size: 0.875rem;
}

.read-more {
    color: var(--ltds-green-dark);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: var(--ltds-green-medium);
    gap: 0.75rem;
}

/* ==========================================================================
   Single Post Styles - Clean and Simple
   ========================================================================== */
.single-post-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
}

.entry-header {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.entry-categories {
    margin-bottom: 1rem;
}

.category-badge {
    display: inline-block;
    background: var(--ltds-green-light);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-right: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-badge:hover {
    background: var(--ltds-green-medium);
    color: white;
}

.entry-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--ltds-green-dark);
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--ltds-text-medium);
    font-size: 0.875rem;
}

.entry-thumbnail {
    margin: 2rem 0;
}

.entry-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--ltds-shadow-hover);
}

.entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--ltds-text-dark);
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2 {
    margin: 3rem 0 1.5rem;
    font-size: 2rem;
}

.entry-content h3 {
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.entry-content blockquote {
    border-left: 4px solid var(--ltds-green-medium);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--ltds-text-medium);
}

.entry-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ltds-border-light);
}

.entry-tags {
    color: var(--ltds-text-medium);
}

.entry-tags a {
    color: var(--ltds-green-dark);
    text-decoration: underline;
}

.entry-tags a:hover {
    color: var(--ltds-green-medium);
}

/* Post Navigation */
.post-navigation {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--ltds-border-light);
    border-bottom: 1px solid var(--ltds-border-light);
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.post-navigation a {
    color: var(--ltds-green-dark);
    font-weight: 600;
}

.post-navigation a:hover {
    color: var(--ltds-green-medium);
}


/* Responsive adjustments for content container */
@media (max-width: 1200px) {
    .container-content {
        max-width: 85%;
    }
}


/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--ltds-green-dark);
    color: var(--ltds-white);
}

.btn-primary:hover {
    background: var(--ltds-green-medium);
    color: var(--ltds-white);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--ltds-green-dark);
    border: 2px solid var(--ltds-green-dark);
}

.btn-secondary:hover {
    background: var(--ltds-green-dark);
    color: var(--ltds-white);
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--ltds-green-dark);
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--ltds-border-light);
    border-radius: 4px;
    background: var(--ltds-white);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--ltds-green-medium);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* ==========================================================================
   Footer
   ========================================================================== */
/* Newsletter CTA Section */
.newsletter-cta {
    background: var(--ltds-green-medium);
    color: var(--ltds-bg-primary);
    padding: 3rem 0;
    margin-top: 4rem;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    color: var(--ltds-bg-primary);
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.newsletter-text {
    margin-bottom: 2rem;
    color: var(--ltds-bg-primary);
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form .form-group {
    display: flex;
    flex-direction: column;
}

.newsletter-form input {
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 5px;
    font-family: 'Roboto Mono', monospace;
    font-size: 1rem;
    background: var(--ltds-white);
    color: var(--ltds-text-dark);
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--ltds-bg-primary);
    box-shadow: 0 0 0 3px rgba(245, 241, 232, 0.3);
}

.newsletter-form input::placeholder {
    color: var(--ltds-text-medium);
    opacity: 0.7;
}

.newsletter-success {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--ltds-bg-primary);
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.newsletter-success p {
    color: var(--ltds-bg-primary);
    margin: 0;
    font-weight: 600;
    text-align: center;
}

.newsletter-btn {
    background: var(--ltds-orange);
    color: var(--ltds-white);
    border: none;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #c8932a;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(221, 163, 63, 0.3);
}

.site-footer {
    background: var(--ltds-headline-dark);
    color: var(--ltds-bg-primary);
    padding: 3rem 0 2rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--ltds-bg-primary);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
    color: var(--ltds-bg-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-tagline {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--ltds-bg-primary);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* ==========================================================================
   Magazine Style Blog Layout
   ========================================================================== */

/* Update border radius throughout */
.post-card,
.featured-post-card,
.stacked-post-card,
.carousel-post-card,
.btn {
    border-radius: 5px;
}

/* Magazine Hero Section */
.magazine-hero {
    padding: 3rem 0;
    background: var(--ltds-white);
}

.magazine-hero-grid {
    display: grid;
    grid-template-columns: 50% 45%;
    gap: 5%;
    align-items: start;
}

/* Featured Post (Left Side) */
.featured-post-card {
    background: var(--ltds-white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--ltds-shadow);
    transition: all 0.3s ease;
}

.featured-post-card:hover {
    box-shadow: var(--ltds-shadow-hover);
    transform: translateY(-2px);
}

.featured-thumbnail {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.featured-content {
    padding: 1.5rem;
}

.featured-category {
    display: inline-block;
    color: var(--ltds-headline-dark);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.featured-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-title a {
    color: var(--ltds-headline-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-title a:hover {
    color: var(--ltds-green-medium);
}

.featured-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ltds-text-medium);
    margin-bottom: 1rem;
}

.featured-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--ltds-text-medium);
}

/* Stacked Posts (Right Side) */
.stacked-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stacked-post-card {
    display: flex;
    background: var(--ltds-white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--ltds-shadow);
    transition: all 0.3s ease;
    min-height: 140px;
}

.stacked-post-card:hover {
    box-shadow: var(--ltds-shadow-hover);
    transform: translateY(-1px);
}

.stacked-thumbnail {
    flex-shrink: 0;
    width: 150px;
    display: flex;
    align-self: stretch;
}

.stacked-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stacked-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stacked-category {
    display: inline-block;
    color: var(--ltds-headline-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.stacked-title {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.stacked-title a {
    color: var(--ltds-headline-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.stacked-title a:hover {
    color: var(--ltds-green-medium);
}

.stacked-meta {
    font-size: 0.75rem;
    color: var(--ltds-text-medium);
}

/* Category Carousels */
.category-carousel {
    margin: 4rem 0;
}

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.carousel-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--ltds-headline-dark);
    margin: 0;
}

.view-all {
    color: var(--ltds-green-medium);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: var(--ltds-headline-dark);
}

.carousel-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.carousel-post-card {
    background: var(--ltds-white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--ltds-shadow);
    transition: all 0.3s ease;
    min-width: 280px;
}

.carousel-post-card:hover {
    box-shadow: var(--ltds-shadow-hover);
    transform: translateY(-2px);
}

.carousel-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.carousel-content {
    padding: 1.25rem;
}

.carousel-post-title {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.carousel-post-title a {
    color: var(--ltds-headline-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.carousel-post-title a:hover {
    color: var(--ltds-green-medium);
}

.carousel-excerpt {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--ltds-text-medium);
    margin-bottom: 0.75rem;
}

.carousel-meta {
    font-size: 0.75rem;
    color: var(--ltds-text-medium);
}

/* View All Posts Button */
.view-all-posts {
    text-align: center;
    margin: 4rem 0;
}

/* Single Post Hero Image with Parallax */
.single-hero-image {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
    position: relative;
    margin-bottom: 3rem;
}

.hero-featured-img {
    width: 100%;
    height: 120%; /* Make image larger for parallax effect */
    object-fit: cover;
    object-position: center top; /* Anchor to top */
    display: block;
    will-change: transform; /* Optimize for animations */
    transform: translate3d(0, 0, 0); /* Initial position */
}

/* Responsive Design */
@media (max-width: 768px) {
    .magazine-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stacked-posts {
        grid-template-columns: 1fr;
    }
    
    .stacked-post-card {
        flex-direction: column;
    }
    
    .stacked-thumbnail {
        width: 100%;
        height: 150px;
    }
    
    .carousel-posts {
        grid-template-columns: 1fr;
        overflow-x: auto;
        display: flex;
        gap: 1rem;
    }
    
    .carousel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }

.screen-reader-text,
.skip-link {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    margin: 0 !important;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1.2fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 1rem 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .site-navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ltds-white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--ltds-shadow-hover);
        border-top: 1px solid var(--ltds-border-light);
    }
    
    .site-navigation.toggled ul {
        display: flex;
    }
    
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-form {
        max-width: 100%;
        padding: 0 1rem;
    }

    .newsletter-cta {
        padding: 2rem 0;
    }
}