:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-blue: #029ddf;
    --font-main: 'Inter', sans-serif;
    --header-height: 50px;
    --header-height-scrolled: 45px;
    --announcement-height: 28px;
    /* Height for the top bar */
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--announcement-height);
    /* Push body to prevent overlap if needed, though we handle fixed elements */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ANNOUNCEMENT BAR */
/* ANNOUNCEMENT BAR */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--announcement-height);
    background-color: #00395e;
    /* Updated color */
    color: var(--color-white);
    display: flex;
    overflow: hidden;
    z-index: 1002;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: var(--announcement-height);
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    /* Prevent shrinking */
    animation: marquee 60s linear infinite;
    /* Slower for smoother read */
    min-width: 100%;
}

.announcement-bar span {
    padding: 0 40px;
    /* Space around text */
    white-space: nowrap;
}

.announcement-bar:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
        /* Move left by the width of the duplicated content set */
    }
}

/* HEADER */
#main-header {
    position: fixed;
    top: var(--announcement-height);
    /* Below announcement bar */
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--color-black);
    z-index: 1000;
    border-bottom: 2px solid var(--color-blue);
    transition: height var(--transition-speed) ease;
    display: flex;
    align-items: center;
}

#main-header.scrolled {
    height: var(--header-height-scrolled);
}

.header-content {
    display: flex;
    justify-content: flex-start;
    /* Align Start for mobile (Menu + Left) */
    align-items: center;
    width: 100%;
    gap: 15px;
    /* Space between Menu and Logo */
}

/* Mobile Layout Reordering */
.logo-container {
    height: 22px;
    order: 2;
    /* Logo on right of menu */
}

.logo {
    height: 100%;
    width: auto;
}

/* DESKTOP RESET */
@media (min-width: 768px) {
    .header-content {
        justify-content: space-between;
        /* Restore Space Between for Desktop */
    }

    .logo-container {
        order: 0;
        /* Reset logo to left */
    }

    #main-nav {
        order: 1;
        /* Reset nav to right */
    }
}

/* MOBILE MENU */
#main-nav {
    order: 1;
    /* Menu on left */
}

#mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    align-items: flex-start;
    /* Align bars to left */
}

#mobile-menu-btn span {
    display: block;
    height: 2px;
    background-color: var(--color-white);
    transition: all var(--transition-speed);
    border-radius: 2px;
}

#mobile-menu-btn span:nth-child(1),
#mobile-menu-btn span:nth-child(3) {
    width: 18px;
    /* Shorter top/bottom */
}

#mobile-menu-btn span:nth-child(2) {
    width: 24px;
    /* Slightly longer middle (reduced from 28px) */
}

.nav-links {
    position: fixed;
    top: calc(var(--header-height) + var(--announcement-height));
    left: -100%;
    /* Start off-screen LEFT */
    width: 70%;
    height: calc(100vh - var(--header-height) - var(--announcement-height));
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent for blur */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: left var(--transition-speed) ease;
    /* Animate LEFT */
    z-index: 999;
    /* Below header */
}

/* SEARCH COMPONENT */
.search-container {
    position: relative;
    /* To position results absolute */
    order: 3;
    /* Far right */
    display: flex;
    align-items: center;
    margin-left: auto;
    /* Push to right if space permits */
    z-index: 2001;
    /* Explicit Z-Index for Safari Stacking */
}

.search-box {
    position: relative;
    width: 155px;
    /* Fixed width */
}

.search-input-field {
    width: 100%;
    padding: 6px 35px 6px 15px;
    /* Space for icon on right */
    border-radius: 20px;
    border: none;
    background: var(--color-white);
    color: var(--color-black);
    font-family: var(--font-main);
    font-size: 0.75rem;
    outline: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-input-field::placeholder {
    color: #888;
}

.search-input-field:focus {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.search-icon-overlay {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    stroke: var(--color-black);
    stroke-width: 2.5;
    fill: none;
    pointer-events: none;
    /* Click goes to input */
}

.search-results {
    position: absolute;
    top: 100%;
    right: 0;
    /* Align to right edge of search box */
    left: auto;
    width: 220px;
    /* Wider than input for readability */
    margin-top: 10px;
    background: var(--color-white);
    border: 1px solid #eee;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
    border-radius: 8px;
    z-index: 2005;
    /* Ensure above everything */
    transform: translate3d(0, 0, 0);
    /* Force Hardware Acceleration for Safari */
    -webkit-transform: translate3d(0, 0, 0);
}

.search-results.active {
    display: block;
}

/* Mobile Search Optimizations to prevent Zoom and improve visibility */
@media (max-width: 768px) {
    .search-input-field {
        font-size: 16px;
        /* Phys: 16px (No Zoom) */
        width: 114.3%;
        /* Compensate for scale (100/0.875) */
        transform: scale(0.875);
        /* Visually: 14px */
        transform-origin: left center;
        padding-top: 6px;
        /* Adjusted for scale */
        padding-bottom: 6px;
    }

    .search-results {
        width: 300px;
        /* Wider results on mobile if space permits */
        max-width: 90vw;
        /* Ensure it fits screen */
        right: 0;
        /* Aligned to right edge of container for safety */
    }
}

.search-result-item {
    display: block;
    padding: 10px;
    color: var(--color-black);
    text-decoration: none;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #f5f5f5;
    color: var(--color-blue);
}

.search-result-item .result-type {
    display: block;
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.nav-links.active {
    left: 0;
    /* Slide in to 0 */
}

.nav-links a {
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links a::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--color-blue);
    transform: rotate(45deg);
    /* Diamond shape */
}

.nav-links a:hover {
    color: var(--color-blue);
}

/* BANNER CAROUSEL */
#banner-carousel {
    position: relative;
    width: 100%;
    /* Mobile: Aspect ration to fit 1080x1350 image perfectly (0.8) */
    aspect-ratio: 1080 / 1350;
    margin-top: var(--header-height);
    overflow: hidden;
    background-color: #050505;
}

.carousel-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Slide Specific Images */
.slide-1 {
    background-image: url('../assets/Banner1mobile.png');
}

.slide-2 {
    background-image: url('../assets/Banner2mobile.png');
}

@media (min-width: 768px) {
    .slide-1 {
        background-image: url('../assets/hero_1.png');
    }

    .slide-2 {
        background-image: url('../assets/hero_2.png');
    }
}

/* Gradient Overlay - Hidden on Mobile */
.slide::before {
    display: none;
    /* content: ''; removed to hide */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-content {
    display: none;
    /* Hidden on Mobile */
    position: relative;
    z-index: 2;
    /* Above overlay */
    text-align: center;
    padding: 20px;
    max-width: 800px;
}

/* New Premium Typography for Hero */
.carousel-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.btn-primary {
    display: inline-block;
    padding: 12px 35px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    /* Subtle border */
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all var(--transition-speed);
    backdrop-filter: blur(4px);
    border-radius: 2px;
    /* Slight rounding but almost square */
}

.btn-primary:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* SOCIAL PROOF SECTION */
#social-proof {
    padding: 15px 0 60px 0;
    /* Further reduced top padding */
    background-color: #FAFAFA;
    /* Light background for contrast */
}



/* Carousel Container */
.testimonials-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 5px;
    /* Reduced from 20px for mobile */
    /* Space for scrollbar if visible */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */

    /* Fade "Blur" Effect on the right edge */
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);

    cursor: grab;
    /* Cursor indicator for draggable content */
}

.testimonials-carousel:active {
    cursor: grabbing;
    /* Feedback when dragging */
}

.testimonials-carousel::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

/* Testimonial Card */
.testimonial-card {
    flex: 0 0 88%;
    /* WIDER: 88% */
    /* Show 85% of card so next one peeks through */
    scroll-snap-align: center;
    background: var(--color-white);
    padding: 15px;
    /* COMPACT: 15px */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    /* Reduced from 15px */
}

.testimonial-avatar {
    width: 50px;
    /* Slightly smaller avatar for compact look */
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-blue);
}

.testimonial-info h4 {
    font-size: 0.95rem;
    /* Slightly smaller */
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
}

.testimonial-info span {
    font-size: 0.8rem;
    color: #888;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 10px;

    /* Truncation Logic */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Max 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer;
    /* Indicates clickable */
    position: relative;
}

.testimonial-text::after {
    content: '... (ver mais)';
    font-size: 0.8rem;
    color: var(--color-blue);
    font-weight: bold;
    display: inline-block;
}

/* Logic to hide ellipsis when expanded or not needed is handled somewhat by line-clamp, 
   but specific "read more" text usually requires JS or complex CSS. 
   For simplicity with line-clamp, the ellipsis is automatic. 
   I will remove the content '...(ver mais)' from CSS and rely on standard ellipsis 
   interacting with JS for expansion. 
*/

.testimonial-text.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.testimonial-text.expanded::after {
    content: ' (ver menos)';
}

.testimonial-rating {
    color: #FFD700;
    /* Gold */
    font-size: 1.1rem;
}

/* Desktop Responsiveness for Testimonials */
@media (min-width: 768px) {
    .testimonials-carousel {
        display: flex;
        /* Revert to flex for scrolling */
        overflow-x: auto;
        gap: 30px;
        scroll-snap-type: x mandatory;
        padding-bottom: 30px;
        /* Keep generous space on desktop */
    }

    .testimonial-card {
        flex: 0 0 calc((100% - 60px) / 3);
        /* Show 3 cards exactly (account for 2 gaps of 30px) */
        scroll-snap-align: start;
    }

    .testimonial-indicators {
        display: flex !important;
        /* Show indicators on desktop */
        margin-top: 30px;
        /* Restore spacing for desktop */
    }
}

/* ... previous code ... */

/* BLOG HIGHLIGHTS SECTION */
#blog-highlights {
    padding: 40px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--color-black);
}

.blog-carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    /* Space for scrollbar/shadows */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Fade effect similar to testimonials */
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.blog-carousel::-webkit-scrollbar {
    display: none;
}

.blog-card {
    flex: 0 0 85%;
    /* Mobile width */
    scroll-snap-align: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    /* Light shadow */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.blog-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    /* Fixed height for consistency */
}

.blog-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-blue);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.tag-weight-loss {
    background-color: #e74c3c;
}

/* Red/Orange */
.tag-hypertrophy {
    background-color: #3498db;
}

/* Blue */
.tag-recipes {
    background-color: #2ecc71;
}

/* Green */

.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-title {
    font-family: 'Montserrat', sans-serif;
    /* Assuming font is available or fallback */
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    color: #333;
}

.blog-summary {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}

.blog-link:hover {
    gap: 12px;
    /* Arrow animation */
}

/* Desktop Responsiveness for Blog */
@media (min-width: 768px) {
    .blog-carousel {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow-x: visible;
        scroll-snap-type: none;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .blog-card {
        flex: auto;
        scroll-snap-align: none;
    }
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    /* Reduced from 20px for mobile */
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    transition: all 0.3s ease;
    cursor: pointer;
}

.indicator-dot.active {
    background-color: var(--color-blue);
    width: 20px;
    /* Stretch effect for active dot */
    border-radius: 4px;
    /* Pill shape */
}

/* CONTENT BLOCKS */
#content-blocks {
    padding: 20px 0;
    /* Reduced from 60px to 20px to remove large gap */
    background-color: var(--color-white);
}

.content-block {
    margin-bottom: 40px;
    padding: 30px;
    border-left: 3px solid var(--color-blue);
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed);
}

.content-block:hover {
    transform: translateY(-5px);
}

.content-block h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--color-black);
}

.content-block p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.link-more {
    color: var(--color-blue);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.link-more::after {
    content: '→';
    transition: transform var(--transition-speed);
}

.link-more:hover::after {
    transform: translateX(5px);
}

/* CONTACT SECTION */
#contact-section {
    padding: 60px 0;
    text-align: center;
    background-color: #f4f4f4;
}

#contact-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.email-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-blue);
    display: block;
    margin-top: 20px;
}

/* FOOTER */
#main-footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 40px 0;
    border-top: 1px solid var(--color-blue);
    margin-top: 0;
    /* Reduced from 20px */
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--color-white);
    transition: transform var(--transition-speed), color var(--transition-speed);
}

.social-links a:hover {
    color: var(--color-blue);
    transform: scale(1.1);
}

/* DESKTOP RESPONSIVENESS */
@media (min-width: 768px) {

    /* Header */
    #mobile-menu-btn {
        display: none;
    }

    #main-nav {
        margin-left: auto;
        /* Push the navigation container to the far right */
        order: 1;
    }

    .nav-links {
        position: static;
        flex-direction: row;
        width: auto;
        height: auto;
        background-color: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0;
        gap: 25px;
        /* Adjust gap slightly */
        /* margin-left: auto; Removed from here, moved to parent #main-nav */
    }

    .search-container {
        margin-left: 25px;
        /* Fixed gap between nav and search */
    }

    .nav-links a {
        font-size: 0.85rem;
        position: relative;
        top: 3px;
        /* Move slightly down as requested */
    }

    /* Banner */
    #banner-carousel {
        height: 50vh;
        /* Desktop specific height ~50% */
        max-height: 600px;
        aspect-ratio: auto;
        /* Reset aspect ratio */
    }

    .slide::before {
        display: block;
        content: '';
    }

    .carousel-content {
        display: block;
    }

    .carousel-content h2 {
        font-size: 3rem;
        /* Larger font on desktop */
    }

    /* Content Blocks */
    #content-blocks .container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .content-block {
        margin-bottom: 0;
    }

    /* Footer */
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ARTICLE PAGE STYLES */
.article-page {
    background-color: #f9f9f9;
    padding-top: var(--header-height) !important;
}

.article-page #main-header {
    top: 0 !important;
}

.article-hero {
    width: 100%;
    height: 35vh;
    min-height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: -30px;
    /* Overlap effect */
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.article-container {
    padding: 0 20px 40px;
    max-width: 800px;
    /* Readability width */
    margin: 0 auto;
}

.article-content-wrapper {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-top: -30px;
    /* Pull up overlap */
    position: relative;
    z-index: 10;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.article-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-blue);
    background: rgba(2, 157, 223, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
}

.article-read-time {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.article-title {
    font-family: '' Montserrat'', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.25;
    color: #222;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.article-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    font-weight: 500;
    margin-bottom: 35px;
    border-left: 4px solid var(--color-blue);
    padding-left: 20px;
    font-style: italic;
    background: #fcfcfc;
    padding: 20px;
    border-radius: 0 10px 10px 0;
}

.article-body h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center align flex item */
    gap: 10px;
    text-align: center;
}

.article-body h2 i {
    color: var(--color-blue);
    font-size: 1.2rem;
}

.article-body p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
    text-align: justify;
}

/* Styled Lists */
.article-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.article-body li {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    color: #555;
}

.article-body li:last-child {
    border-bottom: none;
}

.article-body li i {
    color: #2ecc71;
    /* Checkmark green */
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Instagram CTA */
.instagram-cta {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    border-radius: 20px;
    padding: 40px 20px;
    color: white;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 15px 30px rgba(253, 29, 29, 0.25);
    position: relative;
    overflow: hidden;
}

/* Subtle gloss effect */
.instagram-cta::before {
    content: '' '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    pointer-events: none;
}

.ig-logo-minimal {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-text {
    font-size: 1rem;
    margin-bottom: 25px;
    opacity: 0.95;
    font-weight: 500;
}

.btn-instagram {
    background: white;
    color: #cf2e91;
    /* IG Pink */
    font-weight: 800;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-instagram:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.btn-instagram i {
    font-size: 1.2rem;
}

/* GIF / Media Wrapper */
.media-wrapper {
    width: 100%;
    margin: 35px 0;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: #000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.media-wrapper img,
.media-wrapper video {
    width: 100%;
    display: block;
    height: auto;
}

/* CTA INVITATION SECTION - PREMIUM DARK REDESIGN */
#cta-invitation {
    padding: 50px 0;
    /* Reduced from 80px 0 */
    /* Deep Rich Dark Gradient: Black to Midnight Blue */
    background: linear-gradient(135deg, #050505 0%, #001f33 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle background glow effect using pseudo-element */
#cta-invitation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(2, 157, 223, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.cta-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.features-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 15px;
}

.feature-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;

    /* GLASSMORPHISM STYLE */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 50%;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.feature-item:hover {
    transform: translateY(-8px) scale(1.1);
    background: rgba(2, 157, 223, 0.1);
    /* Subtle blue tint */
    border-color: rgba(2, 157, 223, 0.5);
    box-shadow: 0 10px 40px rgba(2, 157, 223, 0.4);
    /* Glowing Blue Shadow */
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--color-blue);
    filter: drop-shadow(0 0 5px rgba(2, 157, 223, 0.5));
    /* Neon glow on icon */
    transition: color 0.3s;
}

.feature-item:hover .feature-icon {
    color: #fff;
    /* Turn white on hover for contrast */
    filter: drop-shadow(0 0 10px rgba(2, 157, 223, 0.8));
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-white);
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.cta-subtitle {
    font-size: 1.1rem;
    color: #ccc;
    /* Lighter grey for dark bg */
    margin: 0;
    max-width: 600px;
    font-weight: 300;
}

.cta-button {
    background: linear-gradient(90deg, #029ddf, #0077aa);
    border: none;
    margin-top: 15px;
    padding: 14px 40px;
    border-radius: 30px;
    /* More rounded for modern app feel */
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(2, 157, 223, 0.4);
    /* Ambient Glow */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Shine effect on button hover */
.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(2, 157, 223, 0.7);
    /* Intense Glow */
    color: white;
}

.cta-button:hover::after {
    left: 100%;
}

/* Mobile responsiveness for CTA */
@media (max-width: 768px) {
    #cta-invitation {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .features-row {
        gap: 25px;
    }

    .feature-item {
        width: 55px;
        height: 55px;
    }

    .feature-icon {
        font-size: 1.4rem;
    }
}

/* Mobile responsiveness for CTA */
@media (max-width: 768px) {
    .cta-title {
        font-size: 1.6rem;
    }

    .features-row {
        gap: 20px;
    }

    .feature-item {
        width: 50px;
        height: 50px;
    }

    .feature-icon {
        font-size: 1.2rem;
    }
}

/* CLOSING SECTION */
#closing-section {
    padding: 40px 0;
    /* Reduced from 80px 0 */
    background-color: #FAFAFA;
    /* Very light grey */
    border-top: 1px solid #eee;
}

.closing-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.closing-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.divider-vertical {
    width: 1px;
    height: 120px;
    background-color: #ddd;
}

.closing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-black);
}

.closing-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 25px;
    max-width: 400px;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    background-color: white;
    transition: box-shadow 0.3s;
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(2, 157, 223, 0.2);
    border-color: var(--color-blue);
}

.btn-subscribe {
    padding: 12px 25px;
    background-color: var(--color-black);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-subscribe:hover {
    background-color: #333;
}

/* Instagram Button */
.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    align-self: flex-start;
    /* Align left */
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
    color: white;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .closing-content {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .divider-vertical {
        display: none;
        /* Hide divider on mobile */
    }

    .closing-block {
        width: 100%;
        align-items: center;
        /* Center content on mobile */
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .btn-subscribe {
        width: 100%;
    }

    .closing-text {
        margin-left: auto;
        margin-right: auto;
    }

    .btn-instagram {
        align-self: center;
        /* Center button on mobile */
    }
}

/* CATEGORIZED BLOG LAYOUT */

#testimonials {
    padding-bottom: 20px !important;
    /* Force reduced spacing */
}

#blog-highlights {
    padding-top: 10px !important;
    /* Force tight top spacing */
    padding-bottom: 40px;
}

/* Category Group Spacing */
.category-group {
    margin-bottom: 30px;
    /* Space between categories */
    /* Add fade effect like existing carousels */
    position: relative;
}

/* Category Title */
.category-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 15px;
    padding-left: 5px;
    /* Alignment with cards */
    border-left: 4px solid var(--color-blue);
    padding-left: 10px;
    display: inline-block;
}

/* Reusing existing blog-card styles but overriding container behavior */
.category-carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    /* Space for scrollbar */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    /* Thin scrollbar for newer browsers */

    /* Fade "Blur" Effect on the right edge */
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

/* Customize scrollbar */
.category-carousel::-webkit-scrollbar {
    height: 6px;
}

.category-carousel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.category-carousel::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.category-carousel::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Ensure cards have fixed width to flow horizontally */
.blog-card {
    flex: 0 0 300px;
    /* Fixed width for better carousel flow on Desktop */
    scroll-snap-align: start;
    /* Reset margins/widths from previous grids */
    max-width: 300px;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    /* White background */
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Subtle border */
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.blog-thumb-wrapper {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.blog-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--color-blue);
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    border: 2px solid var(--color-blue);
    /* Solid border */
    border-radius: 50px;
    /* Pill shape */
    transition: all 0.3s ease;
    background: transparent;
}

.blog-link:hover {
    background-color: var(--color-blue);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 157, 223, 0.3);
}

.blog-link i {
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.blog-link:hover i {
    transform: translateX(4px);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .blog-card {
        flex: 0 0 85%;
        /* Mobile width 85% */
        max-width: 85%;
    }

    .category-group {
        margin-bottom: 40px;
    }
}