* {
    box-sizing: border-box;
}

:root {
    /* Color Palette - V2 Warm Nature (Refined) */
    /* Primary: Deep, calming Forest/Sage Green */
    --primary-color: #3A5F56;
    --primary-dark: #2A453F;

    /* Secondary: Warm Sand/Earth Gold */
    --secondary-color: #D4B483;
    --secondary-light: #E8DCC5;

    /* Backgrounds: Warm Cream/Paper */
    --bg-light: #F9F7F2;
    --bg-white: #FFFFFF;
    --bg-surface: #FFFFFF;

    /* Text */
    --text-dark: #2C332E;
    --text-light: #5C6B64;
    --text-white: #FFFFFF;

    /* Shadows - Soft & Warm (Premium Feel) */
    --shadow-card: 0 10px 40px rgba(58, 95, 86, 0.06);
    --shadow-hover: 0 20px 50px rgba(58, 95, 86, 0.15);
    --shadow-text: 0 2px 4px rgba(0, 0, 0, 0.1);

    /* Radii & Spacing */
    --radius-card: 16px;
    /* Softer corners */
    --radius-btn: 50px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4.5rem;
    /* Breathing room */
    --spacing-xl: 7rem;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Assistant', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.8;
    /* Improve readability */
    background-color: var(--bg-light);
    /* Main canvas is cream now, not white */
    margin: 0;
    padding: 0;
    padding-bottom: 140px;
    /* Increased breathing room above footer */
    overflow-x: hidden;
}

main {
    padding-top: 140px;
    /* Increased breathing room below header */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-card);
    /* Default soft corners for images */
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    /* Default headings to primary */
    letter-spacing: 0.5px;
    /* Elegant spacing */
}

h1 {
    font-size: 3.8rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 300;
    /* Lighter weight for Assistant font */
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-lg) 0;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--text-white) !important;
}

.text-white p,
.bg-primary p,
.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
footer p,
.page-header p {
    color: var(--text-white);
}

.mb-2 {
    margin-bottom: var(--spacing-sm);
}

.mb-4 {
    margin-bottom: var(--spacing-md);
}

.mt-5 {
    margin-top: var(--spacing-lg);
    /* Use larger spacing variable */
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-primary {
    background-color: var(--primary-color);
}

/* Buttons (Premium Pill Shape) */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy premium feel */
    border: 1px solid transparent;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
    box-shadow: 0 5px 15px rgba(58, 95, 86, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(58, 95, 86, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--text-white);
    color: var(--text-white);
}

.btn-outline:hover {
    background-color: var(--text-white);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.btn-white {
    background-color: var(--bg-white);
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background-color: var(--text-dark);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.btn-outline-dark {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-dark:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(58, 95, 86, 0.2);
}

.btn-text {
    display: inline-flex;
    /* Better alignment with icon */
    align-items: center;
    margin-top: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    /* Prepare for hover underline */
}

.btn-text:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
    /* Move left because RTL */
}

.btn-text i {
    font-size: 0.8em;
    margin-right: 8px;
    /* More space */
    transition: transform 0.3s ease;
}

.btn-text:hover i {
    transform: translateX(-3px);
}

/* Header (Translucent & Soft) */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    /* More translucent */
    backdrop-filter: blur(12px);
    /* Frosted glass effect */
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 2rem;
    margin-bottom: 0;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.logo .tagline {
    font-size: 0.85rem;
    color: var(--secondary-color);
    /* Gold accent */
    letter-spacing: 2px;
    font-weight: 600;
    margin-top: -5px;
}

#main-nav ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

#main-nav a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    font-size: 1.05rem;
}

/* New Active State - Dot/Pill style */
#main-nav a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

#main-nav a.active::after,
#main-nav a:not(.btn-nav):hover::after {
    width: 100%;
    /* Full width of text */
}

.btn-nav {
    padding: 0.6rem 1.8rem;
    background-color: var(--secondary-color);
    color: white !important;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(212, 180, 131, 0.3);
}

.btn-nav:hover {
    background-color: #C0A06D;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 180, 131, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
/* Hero Section - V3 Premium Breathable */
#hero {
    position: relative;
    min-height: 60vh;
    /* Reduced height for visibility of next section */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-dark);
    padding: var(--spacing-xl) var(--spacing-md);
    margin-bottom: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 51, 46, 0.15);
    /* Very light to plain image shine through */
}

/* Semi-Transparent Floating Card */
.hero-content {
    background: rgba(255, 255, 255, 0.88);
    /* More transparent */
    backdrop-filter: blur(8px);
    padding: 3.5rem 4rem;
    border-radius: 20px;
    /* Softer */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 850px;
    width: 100%;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.6);
    /* Soft border */
}

.hero-content h1 {
    font-size: 4rem;
    /* Larger */
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-family: var(--font-body);
    font-weight: 400;
    /* Lighter */
    margin-bottom: 2rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.35rem;
    font-weight: 300;
    max-width: 90%;
    margin: 0 auto var(--spacing-md);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Hero Buttons */
.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

/* About Section */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
    /* Align to top */
}

.about-image {
    position: relative;
    padding: 20px;
    /* Space for the border effect */
}

.image-frame {
    border-radius: 24px 80px 24px 80px;
    /* Organic shape */
    overflow: hidden;
    box-shadow: 20px 20px 0 var(--secondary-light);
    /* Soft shadow offset */
    transition: all 0.4s ease;
}

.about-image:hover .image-frame {
    transform: scale(1.02);
    box-shadow: 15px 15px 0 var(--secondary-color);
}

.about-text .section-title {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.about-text .subtitle {
    font-size: 1.6rem;
    color: var(--text-dark);
    font-weight: 300;
    /* Elegant thinness */
    margin-bottom: var(--spacing-md);
    font-family: var(--font-heading);
    line-height: 1.4;
}

.highlight-text {
    font-weight: 600;
    color: var(--primary-color);
    border-right: 4px solid var(--secondary-color);
    padding-right: 1.5rem;
    margin-top: 2rem;
    font-size: 1.2rem;
    background: linear-gradient(to left, rgba(212, 180, 131, 0.1), transparent);
    padding: 1rem;
    border-radius: 8px;
}

/* Philosophy Section & Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: var(--spacing-lg);
    justify-content: center;
}

.card {
    background: var(--bg-surface);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    transition: all 0.5s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
    /* Very subtle */
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Bottom playful border */
.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--secondary-color);
    transition: width 0.4s ease;
    left: 50%;
    transform: translateX(-50%);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card:hover::after {
    width: 80%;
    /* Expand line */
}

.card-icon i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.9;
    transition: transform 0.4s ease;
}

.card:hover .card-icon i {
    transform: scale(1.1) rotate(5deg);
    color: var(--secondary-color);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Story Card & Expanded View */
.story-card {
    background: var(--bg-surface);
    border-radius: var(--radius-card);
    padding: 2.5rem;
    /* Increased padding */
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
    height: auto;
    /* Allow growth */
    margin-bottom: 2rem;
    position: relative;
    border-top: 4px solid var(--secondary-color);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.story-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: right;
}

/* Titles and content are now always fully shown */

/* Title Separator */

/* --- Expanded Content Styles --- */

/* Title Separator */
.title-separator {
    width: 100%;
    height: 1px;
    background-color: var(--secondary-color);
    margin: 1rem 0;
    opacity: 0.6;
}

/* Date */
.story-date {
    text-align: left;
    /* Image shows date on LEFT (English date style) or specific alignment? Image actually shows date on TOP RIGHT? No, wait. 
                         Looking at image: Date is top right: "01.11.2024" below the line. Wait, Hebrew is RTL.
                         If Title is Right, Date is usually Left? Or align with start? 
                         Image: Date is aligned LEFT side.
                         Let's assume text-align: left for date. */
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    direction: ltr;
    /* Force LTR for numbers if needed, but usually just alignment */
}

/* Full Text */
.story-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
}

/* Footer Quote */
.story-footer-quote {
    text-align: center;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--secondary-color);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(212, 180, 131, 0.3);
    border-bottom: 1px solid rgba(212, 180, 131, 0.3);
    margin: 2rem 0;
}

/* Tags */
.story-expanded-footer {
    margin-top: 2rem;
}

.story-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    /* Image shows right aligned tags? Usually RTL starts right. */
}

.hashtag-pill {
    background-color: #f0f4f2;
    /* Light grey/greenish */
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}



/* Contact Section */
.contact-wrapper {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.95));
    border-radius: 20px;
    padding: var(--spacing-md) var(--spacing-lg);
    /* Reduced vertical padding */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact-methods {
    margin-top: var(--spacing-lg);
    display: grid;
    /* Changed from flex to grid */
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 on mobile */
    }
}

.method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.method i {
    font-size: 2rem;
    color: var(--primary-color);
    background: var(--bg-light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-xs);
    transition: all 0.3s ease;
}

.method:hover i {
    background-color: var(--primary-color);
    color: white;
    transform: rotate(15deg);
}

.method h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.quote blockquote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-style: italic;
}

/* Footer - Sticky & Thin */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-dark);
    color: var(--text-white);
    padding: 10px 0;
    /* Thin padding */
    z-index: 999;
    /* Below header (1000) but above content */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    position: relative;
}

/* Floating Admin Panel */
#admin-floating-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 2000;
    /* Minimal - No background */
    background: transparent;
    padding: 0;
    box-shadow: none;
    display: flex;
    gap: 10px;
    align-items: center;
    backdrop-filter: none;
}

#admin-floating-container:hover {
    opacity: 1;
}

footer p {
    margin: 0;
    /* Remove default margin for single line */
    font-size: 0.9rem;
}

.hashtags span {
    display: inline-block;
    margin: 0 5px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Ensure content isn't hidden behind footer */
/* Ensure content isn't hidden behind footer */
/* body padding handled in main body rule now */

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-grid {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .about-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    #main-nav {
        position: fixed;
        top: 60px;
        /* Height of header approx */
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-white);
        padding: var(--spacing-lg) var(--spacing-md);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }

    #main-nav.active {
        right: 0;
    }

    #main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    /* Responsive Spacing for Mobile */
    body {
        padding-bottom: 80px;
        /* Reduced from 140px for mobile */
    }

    main {
        padding-top: 80px;
        /* Reduced from 140px for mobile */
    }
}

/* Stories Page Styles */
.page-content {
    margin-top: 100px;
    min-height: 60vh;
}

.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
    margin-top: 70px;
    /* Offset fixed header */
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-xs);
}

.reading-container {
    max-width: 800px !important;
}

.full-story {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: var(--spacing-xl);
}

.full-story h2 {
    color: var(--primary-color);
    font-size: 2rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.story-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.story-body p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.highlight-quote {
    font-family: var(--font-heading);
    font-size: 1.4rem !important;
    color: var(--secondary-color) !important;
    text-align: center;
    font-style: italic;
    margin: 2rem 0;
    padding: 1rem;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.hashtags-list {
    margin-top: var(--spacing-md);
    text-align: left;
    /* Align hashtags to end of story */
}

.hashtags-list span {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.95rem;
    background: rgba(93, 115, 126, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-right: 0.5rem;
    display: inline-block;
}

.story-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
    margin: var(--spacing-xl) 0;
}

/* --- Admin & CMS Styles --- */

/* Toggle Button */
/* Toggle Button */
/* Toggle Button */
#admin-toggle {
    background: transparent;
    color: rgba(0, 0, 0, 0.3);
    /* Very subtle */
    border: none;
    font-size: 0.8rem;
    /* Small */
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 400;
    padding: 0;
    transition: color 0.3s ease;
}

#admin-toggle:hover {
    color: var(--primary-color);
}

.admin-mode #admin-toggle {
    color: var(--primary-color);
    font-weight: bold;
}

/* Admin Controls on Stories */
.admin-controls {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.full-story {
    position: relative;
    /* Context for absolute controls */
}

.full-story:hover .admin-controls,
.admin-mode .admin-controls {
    opacity: 1;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: var(--secondary-color);
    color: white;
}

/* --- Services Page Styles --- */

.category-label {
    display: inline-block;
    background: var(--secondary-light);
    color: var(--primary-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    letter-spacing: 1px;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.service-card {
    background: var(--bg-surface);
    border-radius: var(--radius-card);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.service-card.featured {
    border: 2px solid var(--secondary-color);
    background: linear-gradient(to bottom right, #fff, var(--bg-light));
}

.badge-featured {
    position: absolute;
    top: 15px;
    left: -30px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 30px;
    transform: rotate(-45deg);
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.service-content h3 {
    margin-bottom: 0.2rem;
    color: var(--primary-dark);
}

.service-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-body);
    font-weight: 600;
}

.service-content p {
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.highlight-text-small {
    background: var(--bg-light);
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-right: 3px solid var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.service-action {
    margin-top: auto;
    padding-top: var(--spacing-sm);
}

.coming-soon {
    display: inline-block;
    background: #eee;
    color: #888;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.services-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.list-card {
    background: var(--bg-surface);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

.list-icon {
    background: var(--bg-light);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.list-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.list-details p {
    font-size: 1rem;
    margin-bottom: 0;
}

.niche-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    text-align: center;
}

.niche-item i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.niche-item h3 {
    color: white;
    font-size: 1.4rem;
}

.niche-item p {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .services-list-grid {
        grid-template-columns: 1fr;
    }

    .list-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}


.btn-icon:hover {
    transform: scale(1.1);
}

.edit-btn:hover {
    background: #3498db;
    color: white;
}

.delete-btn:hover {
    background: #e74c3c;
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    /* Flexbox properties will be active when display is set to flex via JS */
    justify-content: center;
    align-items: center;
}

/* Ensure hidden state overrides flex display */
.modal[style*="display: none"] {
    display: none !important;
}

.modal-content {
    background-color: #fefefe;
    margin: 0 auto;
    /* Moved to flex center */
    padding: 2.5rem;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: var(--radius-card);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalSlideIn 0.4s ease;
    text-align: right;
    /* Ensure content is RTL aligned */
}


@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


.modal-content h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.close-modal {
    color: #aaa;
    float: left;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    left: 20px;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

/* Editable Content Highlight */
[contenteditable="true"]:hover {
    outline: 2px dashed var(--secondary-color);
    background: rgba(212, 180, 131, 0.1);
    cursor: text;
}

/* --- Stories Page Sidebar & Calendar Styles --- */

.stories-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 992px) {
    .stories-layout {
        grid-template-columns: 300px 1fr;
        align-items: start;
    }

    .stories-sidebar {
        position: sticky;
        top: 100px;
    }
}

.calendar-widget {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    font-family: 'Playfair Display', serif;
}

.calendar-nav-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    transition: transform 0.3s;
}

.calendar-nav-btn:hover {
    transform: scale(1.1);
    color: var(--primary-dark);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 5px;
    font-size: 0.9rem;
}

.calendar-weekday {
    font-weight: 700;
    color: var(--grey-dark);
    font-size: 0.8rem;
    padding-bottom: 5px;
}

.calendar-day {
    padding: 8px 0;
    border-radius: 50%;
    cursor: default;
    position: relative;
    transition: all 0.2s;
}

.calendar-day.clickable {
    cursor: pointer;
}

.calendar-day.clickable:hover {
    background-color: var(--secondary-light);
    color: var(--primary-dark);
}

/* Day with a story */
.calendar-day.has-story::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.calendar-day.is-selected {
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
}

.calendar-day.is-selected::after {
    background-color: white;
}

.calendar-day.is-today {
    border: 1px solid var(--secondary-color);
    box-shadow: 0 15px 40px rgba(212, 180, 131, 0.2);
    transform: scale(1.05);
    z-index: 2;
}

.service-card.featured .badge-featured {
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 1rem;
    position: absolute;
    top: -12px;
    right: 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Philosophy Active Tab Styling */
.nav-card.active {
    background-color: #F0F4F2;
    /* Very light green tint */
    border: 2px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(58, 95, 86, 0.1);
}

.nav-card.active i {
    color: var(--secondary-color);
    /* Icon turns gold */
}

/* --- Services 4-Column Layout --- */

@media (min-width: 1200px) {
    .services-grid.cols-4 {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        /* Better spacing */
    }
}

.services-grid.cols-4 .service-card {
    padding: 1.5rem;
    /* More padding */
}

.services-grid.cols-4 .service-content h3 {
    font-size: 1.35rem;
    /* Larger title */
}


.rec-author {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    /* Name on the left/end side */
    opacity: 0.8;
}

.rec-name {
    font-weight: 700;
    color: var(--primary-color);
}

/* Duplicate marquee styles removed */

.marquee-track .recommendation-card {
    width: 350px;
    flex-shrink: 0;
    margin: 0;
    height: auto;
    min-height: 250px;
    display: flex;
    flex-direction: column;
}

/* CMS Editable Styles */
.editable-active {
    outline: 2px dashed rgba(212, 163, 115, 0.4);
    /* Subtle Primary Color Dash */
    outline-offset: 4px;
    cursor: text;
    transition: outline-color 0.2s;
    position: relative;
}

.editable-active:hover,
.editable-active:focus {
    outline: 2px dashed var(--primary-color);
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
}

/* Optional: Add a small pencil icon on hover (advanced, maybe later) */
/* Admin Toggle - Now in Footer */
#admin-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    font-family: inherit;
    padding: 0;
    text-decoration: underline;
}

#admin-toggle:hover {
    opacity: 1 !important;
    text-decoration: none;
}

/* --- Marquee & Recommendations - FINAL FIX --- */

/* Marquee Wrapper */
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    /* Standard cross-browser */

    /* CRITICAL: Force LTR containment so scrolling math is predictable regardless of site RTL */
    direction: ltr;
}

/* Marquee Track */
/* Marquee Track */
.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    direction: ltr;
    /* Ensure LTR context */
    /* Animation: name duration timing-function delay iteration-count direction fill-mode */
    animation: scrollMarqueeSlow 1600s linear infinite !important;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scrollMarqueeSlow {
    0% {
        transform: translateX(calc(-50% - 1rem));
    }

    100% {
        transform: translateX(0);
    }
}

/* Recommendation Card inside Marquee */
.marquee-track .recommendation-card {
    width: 400px;
    /* Increased width per request */
    flex-shrink: 0;
    margin: 0;
    height: auto;
    min-height: 280px;
    /* Ensure space */
    display: flex;
    flex-direction: column;

    /* Content Styling for RTL (Hebrew) */
    direction: rtl;
    text-align: right;

    /* Card Look */
    background: var(--bg-surface);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    /* For absolute quotes */
}

/* Quote Layout */
.rec-quote-container {
    position: relative;
    padding: 1.5rem 0 0 0;
    /* Space for top quotes */
    margin-bottom: 1rem;
    flex-grow: 1;
    /* Push author down */
}

/* Quotes Positioning - Both at Top */
.quote-icon {
    position: absolute;
    top: -5px;
    font-size: 1.5rem;
    color: var(--secondary-color);
    opacity: 0.6;
}

.open-quote {
    right: 0;
    /* Right side (Start of Hebrew sentence) */
}

.close-quote {
    left: 0;
    /* Left side (End of Hebrew sentence area) */
}

.rec-body {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    margin-top: 0.5rem;
}

/* Author Section */
.rec-author {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align Right (RTL default) */
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.rec-name {
    font-weight: 700;
    color: var(--primary-color);
}

.rec-separator {
    color: var(--secondary-color);
}

/* --- Recommendations Sticky Button & Admin Controls --- */

#sticky-add-rec-btn {
    position: fixed;
    bottom: 80px;
    /* Higher than footer */
    left: 30px;
    width: auto;
    min-width: 60px;
    height: 60px;
    padding: 0 25px;
    border-radius: 50px;
    /* Pill shape */
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(58, 95, 86, 0.4);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#sticky-add-rec-btn:hover {
    transform: translateY(-5px);
    /* Lift up instead of rotate */
    background-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(212, 180, 131, 0.5);
}

#sticky-add-rec-btn i {
    font-size: 1.2rem;
}

.admin-controls {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color 0.2s;
    padding: 4px;
}

.btn-icon:hover {
    color: var(--primary-color);
}

.btn-icon.delete-btn:hover {
    color: #cc0000;
}

/* Ensure relative positioning for controls */
.recommendation-item,
.recommendation-card,
.full-story {
    position: relative;
}

/* Fixes for header alignment and hero spacing */
.hero-content {
    margin-top: 5rem;
}

.logo {
    transform: translateY(-6px);
}

/* Responsive Fixes V2 */

/* Responsive Fixes V3 */
/* Keep desktop menu but scale it down for tablet */
@media (max-width: 1100px) {
    #main-nav ul {
        gap: 1rem;
    }

    #main-nav a {
        font-size: 0.95rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }
}

/* Contact Section Grid */
@media (max-width: 900px) {
    .contact-methods {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        justify-items: center;
    }
}

/* Make contact methods clickable */
.method-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.method-link:hover i {
    /* Space for top quotes */
    margin-bottom: 1rem;
    flex-grow: 1;
    /* Push author down */
}

/* Quotes Positioning - Both at Top */
.quote-icon {
    position: absolute;
    top: -5px;
    font-size: 1.5rem;
    color: var(--secondary-color);
    opacity: 0.6;
}

.open-quote {
    right: 0;
    /* Right side (Start of Hebrew sentence) */
}

.close-quote {
    left: 0;
    /* Left side (End of Hebrew sentence area) */
}

.rec-body {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    margin-top: 0.5rem;
}

/* Author Section */
.rec-author {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align Right (RTL default) */
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.rec-name {
    font-weight: 700;
    color: var(--primary-color);
}

.rec-separator {
    color: var(--secondary-color);
}

/* --- Recommendations Sticky Button & Admin Controls --- */

#sticky-add-rec-btn {
    position: fixed;
    bottom: 80px;
    /* Higher than footer */
    left: 30px;
    width: auto;
    min-width: 60px;
    height: 60px;
    padding: 0 25px;
    border-radius: 50px;
    /* Pill shape */
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(58, 95, 86, 0.4);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#sticky-add-rec-btn:hover {
    transform: translateY(-5px);
    /* Lift up instead of rotate */
    background-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(212, 180, 131, 0.5);
}

#sticky-add-rec-btn i {
    font-size: 1.2rem;
}

.admin-controls {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color 0.2s;
    padding: 4px;
}

.btn-icon:hover {
    color: var(--primary-color);
}

.btn-icon.delete-btn:hover {
    color: #cc0000;
}

/* Ensure relative positioning for controls */
.recommendation-item,
.recommendation-card,
.full-story {
    position: relative;
}

/* Fixes for header alignment and hero spacing */
.hero-content {
    margin-top: 5rem;
}

.logo {
    transform: translateY(-6px);
}

/* Responsive Fixes V2 */

/* Responsive Fixes V3 */
/* Keep desktop menu but scale it down for tablet */
@media (max-width: 1100px) {
    #main-nav ul {
        gap: 1rem;
    }

    #main-nav a {
        font-size: 0.95rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }
}

/* Contact Section Grid */
@media (max-width: 900px) {
    .contact-methods {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        justify-items: center;
    }
}

/* Make contact methods clickable */
.method-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.method-link:hover i {
    background-color: var(--primary-color);
    color: white;
    transform: rotate(15deg);
}

/* Footer Fixes */
.footer-content {
    flex-wrap: nowrap;
    color: inherit;
    width: 100%;
}

.method-link:hover i {
    /* Space for top quotes */
    margin-bottom: 1rem;
    flex-grow: 1;
    /* Push author down */
}

/* Quotes Positioning - Both at Top */
.quote-icon {
    position: absolute;
    top: -5px;
    font-size: 1.5rem;
    color: var(--secondary-color);
    opacity: 0.6;
}

.open-quote {
    right: 0;
    /* Right side (Start of Hebrew sentence) */
}

.close-quote {
    left: 0;
    /* Left side (End of Hebrew sentence area) */
}

.rec-body {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    margin-top: 0.5rem;
}

/* Author Section */
.rec-author {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align Right (RTL default) */
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.rec-name {
    font-weight: 700;
    color: var(--primary-color);
}

.rec-separator {
    color: var(--secondary-color);
}

/* --- Recommendations Sticky Button & Admin Controls --- */

#sticky-add-rec-btn {
    position: fixed;
    bottom: 80px;
    /* Higher than footer */
    left: 30px;
    width: auto;
    min-width: 60px;
    height: 60px;
    padding: 0 25px;
    border-radius: 50px;
    /* Pill shape */
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(58, 95, 86, 0.4);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#sticky-add-rec-btn:hover {
    transform: translateY(-5px);
    /* Lift up instead of rotate */
    background-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(212, 180, 131, 0.5);
}

#sticky-add-rec-btn i {
    font-size: 1.2rem;
}

.admin-controls {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color 0.2s;
    padding: 4px;
}

.btn-icon:hover {
    color: var(--primary-color);
}

.btn-icon.delete-btn:hover {
    color: #cc0000;
}

/* Ensure relative positioning for controls */
.recommendation-item,
.recommendation-card,
.full-story {
    position: relative;
}

/* Fixes for header alignment and hero spacing */
.hero-content {
    margin-top: 5rem;
}

.logo {
    transform: translateY(-6px);
}

/* Responsive Fixes V2 */

/* Responsive Fixes V3 */
/* Keep desktop menu but scale it down for tablet */
@media (max-width: 1100px) {
    #main-nav ul {
        gap: 1rem;
    }

    #main-nav a {
        font-size: 0.95rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }
}

/* Contact Section Grid */
@media (max-width: 900px) {
    .contact-methods {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        justify-items: center;
    }
}

/* Make contact methods clickable */
.method-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.method-link:hover i {
    background-color: var(--primary-color);
    color: white;
    transform: rotate(15deg);
}

/* Footer Fixes */
.footer-content {
    flex-wrap: nowrap;
    color: inherit;
    width: 100%;
}

.method-link:hover i {
    /* Space for top quotes */
    margin-bottom: 1rem;
    flex-grow: 1;
    /* Push author down */
}

/* Quotes Positioning - Both at Top */
.quote-icon {
    position: absolute;
    top: -5px;
    font-size: 1.5rem;
    color: var(--secondary-color);
    opacity: 0.6;
}

.open-quote {
    right: 0;
    /* Right side (Start of Hebrew sentence) */
}

.close-quote {
    left: 0;
    /* Left side (End of Hebrew sentence area) */
}

.rec-body {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    margin-top: 0.5rem;
}

/* Author Section */
.rec-author {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align Right (RTL default) */
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.rec-name {
    font-weight: 700;
    color: var(--primary-color);
}

.rec-separator {
    color: var(--secondary-color);
}

/* --- Recommendations Sticky Button & Admin Controls --- */

#sticky-add-rec-btn {
    position: fixed;
    bottom: 80px;
    /* Higher than footer */
    left: 30px;
    width: auto;
    min-width: 60px;
    height: 60px;
    padding: 0 25px;
    border-radius: 50px;
    /* Pill shape */
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(58, 95, 86, 0.4);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#sticky-add-rec-btn:hover {
    transform: translateY(-5px);
    /* Lift up instead of rotate */
    background-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(212, 180, 131, 0.5);
}

#sticky-add-rec-btn i {
    font-size: 1.2rem;
}

.admin-controls {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color 0.2s;
    padding: 4px;
}

.btn-icon:hover {
    color: var(--primary-color);
}

.btn-icon.delete-btn:hover {
    color: #cc0000;
}

/* Ensure relative positioning for controls */
.recommendation-item,
.recommendation-card,
.full-story {
    position: relative;
}

/* Fixes for header alignment and hero spacing */
.hero-content {
    margin-top: 5rem;
}

.logo {
    transform: translateY(-6px);
}

/* Responsive Fixes V2 */

/* Responsive Fixes V3 */
/* Keep desktop menu but scale it down for tablet */
@media (max-width: 1100px) {
    #main-nav ul {
        gap: 1rem;
    }

    #main-nav a {
        font-size: 0.95rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }
}

/* Contact Section Grid */
@media (max-width: 900px) {
    .contact-methods {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        justify-items: center;
    }
}

/* Make contact methods clickable */
.method-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.method-link:hover i {
    background-color: var(--primary-color);
    color: white;
    transform: rotate(15deg);
}

/* Footer Fixes */
.footer-content {
    flex-wrap: nowrap;
}

/* Consolidated Mobile Layout Fixes */
@media (max-width: 768px) {

    /* Header Alignment - Force Logo Center, Button Right */
    .header-content {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        position: relative !important;
        height: 60px !important;
    }

    .logo {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        z-index: 1005 !important;
        text-align: center;
        width: 100%;
        pointer-events: none;
    }

    .logo a {
        align-items: center;
        pointer-events: auto;
        display: inline-flex;
        flex-direction: column;
    }

    .mobile-menu-btn {
        position: absolute !important;
        right: 20px !important;
        left: auto !important;
        top: 50% !important;
    }

    #hero {
        padding-top: 80px !important;
        min-height: auto !important;
        padding-bottom: 3rem !important;
    }

    /* Page Header Fix (Green Part) */
    .page-header {
        padding-top: 2rem !important;
        padding-bottom: 1.5rem !important;
        margin-top: 60px !important;
    }

    .page-header h1 {
        font-size: 2.2rem !important;
    }

    .page-header .lead {
        font-size: 1.1rem !important;
    }

    /* Footer Cleanup */
    .hashtags {
        display: none !important;
    }

    #admin-toggle {
        display: none !important;
    }

    /* Contact Grid Fix - Ensure 2x2 grid */
    .contact-methods {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem !important;
        justify-items: center !important;
    }

    .contact-methods .method-item {
        width: 100% !important;
        display: block;
    }

    .read-more-btn {
        display: inline-block;
        color: var(--primary-color);
        font-weight: bold;
        cursor: pointer;
        gap: 10px;
    }






    .admin-controls {
        position: absolute;
        top: 10px;
        left: 10px;
        display: flex;
        gap: 8px;
        z-index: 10;
        background: rgba(255, 255, 255, 0.8);
        padding: 5px;
        border-radius: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .btn-icon {
        background: none;
        border: none;
        cursor: pointer;
        color: var(--text-light);
        font-size: 0.9rem;
        transition: color 0.2s;
        padding: 4px;
    }

    .btn-icon:hover {
        color: var(--primary-color);
    }

    .btn-icon.delete-btn:hover {
        color: #cc0000;
    }

    /* Ensure relative positioning for controls */
    .recommendation-item,
    .recommendation-card,
    .full-story {
        position: relative;
    }

    /* Fixes for header alignment and hero spacing */
    .hero-content {
        margin-top: 5rem;
    }

    .logo {
        transform: translateY(-6px);
    }

    /* Responsive Fixes V2 */

    /* Responsive Fixes V3 */
    /* Keep desktop menu but scale it down for tablet */
    @media (max-width: 1100px) {
        #main-nav ul {
            gap: 1rem;
        }

        #main-nav a {
            font-size: 0.95rem;
        }

        .logo h1 {
            font-size: 1.5rem;
        }
    }

    /* Contact Section Grid */
    @media (max-width: 900px) {
        .contact-methods {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            justify-items: center;
        }
    }

    /* Make contact methods clickable */
    .method-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: inherit;
        width: 100%;
    }

    .method-link:hover i {
        background-color: var(--primary-color);
        color: white;
        transform: rotate(15deg);
    }

    /* Footer Fixes */
    .footer-content {
        flex-wrap: nowrap;
    }

    /* Consolidated Mobile Layout Fixes */
    @media (max-width: 768px) {

        /* Header Alignment - Force Logo Center, Button Right */
        .header-content {
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            position: relative !important;
            height: 60px !important;
        }

        .logo {
            position: absolute !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            margin: 0 !important;
            z-index: 1005 !important;
            text-align: center;
            width: 100%;
            pointer-events: none;
        }

        .logo a {
            align-items: center;
            pointer-events: auto;
            display: inline-flex;
            flex-direction: column;
        }

        .mobile-menu-btn {
            position: absolute !important;
            right: 20px !important;
            left: auto !important;
            top: 50% !important;
        }

        #main-nav {
            top: 60px !important;
        }

        #hero {
            padding-top: 80px !important;
            min-height: auto !important;
            padding-bottom: 3rem !important;
        }

        /* Page Header Fix (Green Part) */
        .page-header {
            padding-top: 2rem !important;
            padding-bottom: 1.5rem !important;
            margin-top: 60px !important;
        }

        .page-header h1 {
            font-size: 2.2rem !important;
        }

        .page-header .lead {
            font-size: 1.1rem !important;
        }

        /* Footer Cleanup */
        .hashtags {
            display: none !important;
        }

        #admin-toggle {
            display: none !important;
        }

        .footer-content {
            justify-content: center !important;
            flex-direction: column;
        }

        footer p {
            text-align: center;
            margin: 0;
        }

        /* Contact Grid Fix - Ensure 2x2 grid */
        .contact-methods {
            display: grid !important;
            grid-template-columns: 1fr 1fr !important;
            gap: 1.5rem !important;
            justify-items: center !important;
        }

        .contact-methods .method-item {
            width: 100% !important;
            display: block;
        }

        .read-more-btn {
            display: inline-block;
            color: var(--primary-color);
            font-weight: bold;
            cursor: pointer;
            margin-top: 5px;
            font-size: 0.9rem;
        }
    }

}

/* Admin Visibility */
.admin-only {
    display: none !important;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.newsletter-desc {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter-input {
    padding: 0.8rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-family: 'Assistant', sans-serif;
    font-size: 1rem;
    flex: 1;
    min-width: 250px;
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-input:focus {
    border-color: var(--primary-color);
}

.newsletter-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-family: 'Assistant', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.newsletter-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-input {
        width: 100%;
    }

    .newsletter-btn {
        width: 100%;
    }
}

/* Sticky Add Button (Global) */
.sticky-add-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(38, 70, 83, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sticky-add-btn:hover {
    transform: translateY(-5px);
    background-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(212, 180, 131, 0.5);
}

.sticky-add-btn i {
    font-size: 1.2rem;
}

/* Admin Only Logic for Sticky Button */
.sticky-add-btn.admin-only {
    display: none !important;
    /* Force hide by default */
}

body.admin-mode .sticky-add-btn.admin-only {
    display: flex !important;
    /* Force show in admin mode */
}

#sticky-add-story-btn {
    bottom: 30px;
    left: 30px;
}