:root {
    --background: #FEF4E1;
    --background-secondary: #FFFFFF;
    --primary: #E58F72;
    --primary-light: rgba(229, 143, 114, 0.1);
    --feature-bg-1: rgba(178, 235, 242, 0.15);
    --feature-bg-2: rgba(165, 214, 167, 0.15);
    --feature-bg-3: rgba(255, 224, 178, 0.15);
    --feature-bg-4: rgba(225, 190, 231, 0.15);
    --feature-bg-5: rgba(255, 183, 177, 0.15);
    --text: #2D3436;
    --text-secondary: #636E72;
    --font-heading: 'Itim', cursive;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.15);
    --focus-outline: 3px solid var(--primary);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Focus Styles */
a:focus,
button:focus {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

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

/* Skip to Main Content */
.skip-to-main {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    z-index: 1000;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    transition: top 0.3s;
}

.skip-to-main:focus {
    top: 0;
}

/* Header & Navigation */
header {
    padding: 1.5rem 2rem;
    background-color: var(--background-secondary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 3.0rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    margin-left: 2.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

@media (min-width: 769px) {
    .hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero {
        display: flex;
        flex-direction: column;
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .hero-content {
        margin-bottom: 2rem;
        text-align: center;
    }

    .hero-content p {
        max-width: 100%;
        margin: 1rem auto;
    }

    .app-store-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .store-button img {
        width: 200px;
        height: auto;
    }

    .hero-image {
        order: 2;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-image::before {
        top: -10px;
        right: -10px;
    }

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

.hero-content {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 3vh, 2rem);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    background: linear-gradient(45deg, var(--text), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 90%;
}

.hero-image {
    position: relative;
    width: 100%;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--primary-light);
    border-radius: 30px;
    z-index: -1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
    display: block;
}

.hero-image:hover img {
    transform: translateY(-10px);
}

/* Features Section */
.features {
    padding: 8rem 2rem;
    background-color: var(--background-secondary);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--background), transparent);
}

.feature-card {
    max-width: 1200px;
    margin: 0 auto 8rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    scroll-margin-top: 100px;
}

.feature-card:last-child {
    margin-bottom: 0;
}

.feature-card.reverse {
    direction: rtl;
}

.feature-card.reverse .feature-content {
    direction: ltr;
}

.feature-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1.8rem;
    font-weight: 400;
    color: var(--text);
    line-height: 1.1;
}

.feature-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 90%;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.feature-image {
    position: relative;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 40px;
    transform: rotate(-3deg) scale(1.05);
    z-index: 0;
    transition: background-color 0.3s ease;
}

.feature-image img {
    position: relative;
    width: auto;
    height: 600px;
    max-width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    object-fit: contain;
    transition: transform 0.5s ease;
    z-index: 1;
    transform: rotate(-3deg);
}

.feature-image:hover img {
    transform: rotate(-3deg) translateY(-10px);
}

.feature-card.reverse .feature-image::before {
    transform: rotate(3deg) scale(1.05);
}

.feature-card.reverse .feature-image img {
    transform: rotate(3deg);
}

.feature-card.reverse .feature-image:hover img {
    transform: rotate(3deg) translateY(-10px);
}

.feature-card:nth-child(1) .feature-image::before {
    background: var(--feature-bg-1);
}

.feature-card:nth-child(2) .feature-image::before {
    background: var(--feature-bg-2);
}

.feature-card:nth-child(3) .feature-image::before {
    background: var(--feature-bg-3);
}

.feature-card:nth-child(4) .feature-image::before {
    background: var(--feature-bg-4);
}

.feature-card:nth-child(5) .feature-image::before {
    background: var(--feature-bg-5);
}

.feature-image:hover::before {
    opacity: 0.9;
}

/* Reviews Section */
.reviews {
    padding: 8rem 2rem;
    text-align: center;
    background-color: var(--background);
    position: relative;
}

.reviews h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--text);
}

.review-cards {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 1rem;
}

.review-card {
    background: var(--text);
    color: white;
    padding: 2.5rem;
    border-radius: 30px;
    text-align: left;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-10px);
}

.stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.reviewer {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Download Section */
.download {
    padding: 8rem 2rem;
    text-align: center;
    background: var(--background-secondary);
    position: relative;
}

.download h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.download p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.app-store-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.store-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.store-button img {
    height: 60px;
    transition: all 0.3s ease;
    filter: drop-shadow(var(--shadow-sm));
}

.store-button:hover img {
    transform: translateY(-5px);
    filter: drop-shadow(var(--shadow-md));
}

.qr-codes {
    display: flex;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 500px;
}

.qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.qr-code img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    background: white;
    padding: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-code:hover img {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.qr-code span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Footer */
footer {
    background: var(--text);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 1.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        gap: clamp(2rem, 5vw, 6rem);
    }

    .feature-card {
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    /* Header */
    header {
        padding: 1rem;
    }

    .logo {
        font-size: 2.5rem;
    }

    /* Hero Section */
    .hero {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        margin: 2rem auto;
    }

    .hero-content {
        order: 1;
        width: 100%;
    }

    .hero-content p {
        max-width: 100%;
        margin: 0 auto;
    }

    .app-store-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .store-button img {
        width: 200px;
        height: auto;
    }

    .hero-image {
        order: 2;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-image::before {
        top: -10px;
        right: -10px;
    }

    /* Features Section */
    .features {
        padding: 4rem 1rem;
    }

    .feature-card {
        grid-template-columns: 1fr;
        text-align: center;
        margin-bottom: 4rem;
        gap: 2rem;
    }

    .feature-card.reverse {
        direction: ltr;
    }

    .feature-content {
        order: 1;
    }

    .feature-image {
        order: 2;
        padding: 1rem;
    }

    .feature-image img {
        height: auto;
        max-height: 70vh;
        transform: none !important;
    }

    .feature-image::before {
        transform: none !important;
    }

    .feature-content h3 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .feature-content p {
        font-size: 1.1rem;
        max-width: 100%;
        margin: 0 auto;
    }

    /* Reviews Section */
    .reviews {
        padding: 4rem 1rem;
    }

    .reviews h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .review-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }

    .review-card {
        padding: 1.5rem;
    }

    /* Download Section */
    .download {
        padding: 4rem 1rem;
    }

    .download h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .download p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    /* Footer */
    footer {
        padding: 3rem 1rem 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links a {
        margin: 0;
    }

    .copyright {
        font-size: 0.8rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .hero-content p {
        font-size: 1rem;
    }

    .feature-content h3 {
        font-size: 1.8rem;
    }

    .feature-content p {
        font-size: 1rem;
    }

    .review-card {
        padding: 1.25rem;
    }

    .review-text {
        font-size: 1rem;
    }

    .download h2 {
        font-size: 1.8rem;
    }

    .download p {
        font-size: 1rem;
    }
}

/* Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        margin: 1rem auto;
    }

    .hero-image img,
    .feature-image img {
        max-height: 50vh;
    }

    .features {
        padding: 2rem 1rem;
    }

    .feature-card {
        margin-bottom: 2rem;
    }
}

/* Navigation for Mobile */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: var(--background-secondary);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 99;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 1rem 0;
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 100;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }

    .mobile-menu-btn span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--text);
        margin: 5px 0;
        transition: all 0.3s ease;
    }

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

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

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

@media (min-width: 769px) {
    .hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero {
        display: flex;
        flex-direction: column;
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .hero-content {
        margin-bottom: 2rem;
        text-align: center;
    }

    .hero-content p {
        max-width: 100%;
        margin: 1rem auto;
    }

    .app-store-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .store-button img {
        width: 200px;
        height: auto;
    }

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

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

.hero img {
    max-width: 100%;
    height: auto;
    display: block; /* Removes unwanted spacing */
}

/* SEO & Accessibility Enhancements */
.feature-card {
    scroll-margin-top: 100px; /* For anchor links */
}

blockquote {
    margin: 0;
    padding: 0;
}

/* Print Styles */
@media print {
    .app-store-buttons,
    .nav-links {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero-image::before {
        display: none;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }
}

/* High Contrast Mode */
@media (prefers-contrast: more) {
    :root {
        --primary: #D35400;
        --text: #000000;
        --text-secondary: #2C3E50;
    }

    .hero-content h1 {
        background: none;
        -webkit-text-fill-color: var(--text);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    .hero-image:hover img,
    .feature-image:hover img {
        transform: none !important;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none; /* Hidden by default on desktop */
}

/* Navigation for Mobile */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block; /* Only show on mobile */
        z-index: 100;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }

    .store-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .store-button {
        width: 100%;
    }

    .store-button img {
        width: 200px;
        height: auto;
    }

    .qr-codes {
        flex-direction: column;
        gap: 1rem;
    }

    .qr-code img {
        width: 100px;
        height: 100px;
    }

    .qr-code span {
        font-size: 0.8rem;
    }
}

/* Legal Pages (Privacy & Terms) */
.legal-content {
    max-width: 800px;
    margin: 8rem auto 4rem;
    padding: 0 clamp(1rem, 5vw, 2rem);
}

.legal-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.legal-content .last-updated {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 3rem;
}

.legal-content section {
    margin-bottom: 3rem;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--text);
    margin: 2rem 0 1rem;
}

.legal-content h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--text);
    margin: 1.5rem 0 1rem;
}

.legal-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.legal-content li {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.legal-content .contact-info {
    font-weight: 500;
    color: var(--primary);
}

/* Support Page */
.support-content {
    max-width: 1000px;
    margin: 8rem auto 4rem;
    padding: 0 clamp(1rem, 5vw, 2rem);
}

.support-intro {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.faq-section {
    margin: 4rem 0;
}

.faq-item {
    background: var(--background-secondary);
    padding: clamp(1.2rem, 3vw, 2rem);
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    color: var(--text);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact Options */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 4vw, 2.5rem);
    margin: 4rem 0;
}

.contact-option {
    background: var(--background-secondary);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-option h3 {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-bottom: 1rem;
}

.contact-info {
    color: var(--primary);
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-top: 1rem;
}

/* Responsive Adjustments for Legal & Support Pages */
@media (max-width: 768px) {
    .legal-content,
    .support-content {
        margin: 4rem auto;
    }

    .legal-content p,
    .legal-content li {
        font-size: 1rem;
    }

    .faq-item {
        padding: 1.2rem;
    }

    .contact-option {
        padding: 1.5rem;
    }
}

/* QR Codes */
.qr-codes {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 0.5rem;
    width: 100%;
    max-width: 500px;
}

.qr-code {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.qr-code img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    background: white;
    padding: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-code:hover img {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.qr-code span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .qr-codes {
        flex-direction: column;
        gap: 1rem;
    }

    .qr-code img {
        width: 100px;
        height: 100px;
    }

    .qr-code span {
        font-size: 0.8rem;
    }
}
/* =====================
   Blog Listing
   ===================== */
.blog-listing {
    padding: 6rem 2rem 8rem;
    background-color: var(--background);
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text);
    margin-bottom: 3rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: var(--background-secondary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.blog-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.blog-card-content {
    padding: 1.8rem;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

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

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card-meta time {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 4rem;
}

.pagination a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

/* =====================
   Post Content
   ===================== */
.post-feature-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 2rem;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.post-body h2,
.post-body h3 {
    font-family: var(--font-heading);
    color: var(--text);
    margin: 2rem 0 1rem;
}

.post-body p {
    margin-bottom: 1.2rem;
}

.post-body a {
    color: var(--primary);
}

.post-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1.5rem 0;
}

@media (max-width: 768px) {
    .blog-listing {
        padding: 4rem 1rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================
   Ghost Koenig Editor
   Required CSS classes
   ===================== */
.kg-width-wide {
    width: 85vw;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.kg-width-full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.kg-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.kg-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.kg-gallery-row {
    display: flex;
    gap: 0.5rem;
}

.kg-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
