/* REDESIGN.CSS - News & Brand Separation */

/* --- GLOBAL RESETS & FONTS --- */
:root {
    /* NEWS PALETTE (Classic, Trustworthy) */
    --news-bg: #ffffff;
    --news-text: #1a1a1a;
    --news-accent: #c00;
    /* Classic News Red */
    --news-secondary: #004085;
    /* Trust Blue */
    --news-border: #e0e0e0;
    --news-font-primary: 'Georgia', 'Times New Roman', serif;
    --news-font-secondary: 'Arial', sans-serif;

    /* BRAND PALETTE - Now points to Pink Theme */
    --brand-bg: #FFF0F5;
    --brand-text: #004B8D;
    --brand-primary: #E84C88;
    --brand-secondary: #F5A623;
    --brand-accent: #F5A623;
    --brand-font-primary: 'DM Sans', sans-serif;
    --brand-font-secondary: 'DM Sans', sans-serif;

    /* SHADOWS & EFFECTS */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
}

/* --- 0. GLOBAL IMAGE RESETS (Vital for Hierarchy) --- */
img {
    max-width: 100%;
    height: auto;
    /* NO display:block here — it breaks flex/inline layouts (comments, reactions) */
}

/* --- 0.1 NEWS SECTION IMAGES --- */
.news-header img {
    max-height: 50px;
    width: auto;
}

.news-article-container img.img_adv {
    max-width: 600px;
    margin: 30px auto;
    display: block;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.news-article-container img.img_adv:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* --- 0.2 TESTIMONIAL / REVIEW IMAGES --- */
#testimonials .purchase img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

#testimonials .user img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    display: block;
    margin: 10px auto;
    border-radius: 8px;
    object-fit: cover;
}

/* --- 0.3 UTILITY ICONS --- */
.hourglass {
    width: 24px !important;
    height: 24px !important;
    display: inline-block !important;
    vertical-align: middle;
}

.card-flags {
    max-width: 280px !important;
    height: auto !important;
    margin: 10px auto 0;
    display: block;
}

.free-shipping-section img {
    max-width: 80px !important;
    height: auto !important;
    margin: 0 auto;
    display: block;
}

/* --- 0.4 BONUS / EBOOK IMAGES --- */
#bonus .img-mockup {
    position: relative;
    max-width: 200px;
    margin: 0 auto;
    margin-top: -150px;
}

#bonus .img-mockup img {
    max-width: 200px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto;
    display: block;
}

/* --- 0.5 WHO-IS (DOCTOR) SECTION --- */
#who-is img {
    max-width: 280px !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    margin: 0 auto;
    display: block;
}

/* --- 0.6 QUIZ RESULT IMAGE --- */
.result-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* --- 0.7 FB COMMENTS REACTION ICONS (Override fbcomments.css) --- */
#fb-comments likes img {
    width: 18px !important;
    height: 18px !important;
    display: inline !important;
    vertical-align: middle;
}

/* --- SECTION 1: THE NEWSROOM (Pre-VSL) --- */

/* News Header */
/* --- SECTION 1: REPORTAGEM RECORD/HOJE EM DIA --- */

/* Record Header Container */
header.record-header {
    width: 100%;
    font-family: 'Roboto', 'Arial', sans-serif;
    /* R7 uses standard sans */
    margin-bottom: 30px;
    background-color: #ffffff;
    /* FORCE WHITE BACKGROUND */
}

/* 1. Top Bar (R7 Style) */
.record-top-bar {
    background-color: #5F7496;
    /* R7 Blue-Grey */
    color: white;
    height: 50px;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
}

.record-top-bar .container {
    height: 100%;
}

.r7-logo {
    height: 32px;
    width: auto;
    margin-right: 20px;
    filter: brightness(0) invert(1);
    /* Make it white if SVG isn't already */
}

/* Menu Items */
.record-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-grow: 1;
    margin-left: 20px;
}

.menu-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.record-menu .nav-link {
    color: white !important;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0.9;
    letter-spacing: 0.5px;
    padding: 0;
}

.record-menu .nav-link:hover {
    opacity: 1;
}

.divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

/* Right Actions */
.record-actions {
    display: flex;
    align-items: center;
    color: white;
}

.social-icons i {
    margin: 0 8px;
    opacity: 0.8;
    cursor: pointer;
    font-size: 14px;
}

.user-login {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-left: 10px;
}

/* 2. Banner */
.record-banner-container {
    width: 100%;
    margin-bottom: 20px;
    /* Optional shadow to lift it */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 3. News Typography Overrides for Record Style */
.news-article-container {
    background: #fff;
    padding: 20px 0 40px;
}

.news-headline {
    font-family: 'Georgia', serif;
    /* Record titles often Serif */
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.1;
    color: #000;
    margin-bottom: 15px;
}

.news-subheadline {
    font-family: 'Arial', sans-serif;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.5;
    font-weight: 400;
}

/* 4. Meta/Author Section */
.news-meta {
    display: flex;
    align-items: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    margin-bottom: 30px;
    gap: 15px;
}

.news-label {
    background-color: #d60000;
    /* Record Red */
    color: white;
    font-weight: 700;
    padding: 4px 12px;
    text-transform: uppercase;
    font-size: 12px;
    border-radius: 2px;
}

.author-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.meta-text {
    display: flex;
    flex-direction: column;
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    color: #666;
    line-height: 1.3;
}

.author-name strong {
    color: #333;
}

.update-time {
    color: #888;
    font-size: 12px;
}

/* VSL Wrapper overrides */
.cerberus-video-container-wrapper {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    /* Stronger shadow for "depth" */
    border-radius: 4px;
    /* Slightly sharper corners for news feel */
    overflow: hidden;
    margin-bottom: 40px;
}

/* --- SECTION 2: THE BRAND (Post-VSL) --- */

.brand-section-transition {
    height: 30px;
    background: linear-gradient(to bottom, var(--news-bg), var(--brand-bg));
}

.brand-section {
    background: var(--brand-bg);
    font-family: var(--brand-font-primary);
    color: var(--brand-text);
    padding: 60px 0;
}

/* Quiz Container Refinements */
.quiz-card {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(10px);
    border: var(--glass-border) !important;
    box-shadow: var(--shadow-soft) !important;
    border-radius: 24px !important;
    /* Softer, more modern */
    color: var(--brand-text) !important;
}

.quiz-header h2 {
    color: var(--brand-primary) !important;
    text-shadow: none !important;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.quiz-description {
    color: #555 !important;
    font-weight: 500;
}

/* Options / Buttons for Brand */
.option {
    background: white !important;
    border: 1px solid #eee !important;
    color: var(--brand-text) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 12px !important;
}

.option:hover {
    background: var(--brand-primary) !important;
    color: white !important;
    border-color: var(--brand-primary) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-calculate {
    background: linear-gradient(135deg, var(--brand-primary), #F472B6) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(232, 76, 136, 0.4) !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.unlock-btn {
    background: linear-gradient(135deg, var(--brand-accent), #f39c12) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4) !important;
}

/* Progress Bar */
.progress-bar-container {
    background: rgba(0, 0, 0, 0.05) !important;
}

.progress-fill {
    background: linear-gradient(90deg, var(--brand-primary), #F472B6) !important;
}

.step-txt {
    color: var(--brand-text) !important;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .news-headline {
        font-size: 2rem;
    }

    .news-logo-text {
        font-size: 2rem;
    }


    .news-tagline {
        display: none;
    }
}

/* VSL Aspect Ratio Fix */
.cerberus-video-container.video-vertical {
    aspect-ratio: 9 / 16 !important;
}

/* --- SECTION 3: OFFER & BONUSES (Premium Feel) --- */

/* Offer Cards Overrides */
.shipbx {
    border: 2px solid var(--brand-border, #eee) !important;
    border-radius: 24px !important;
    box-shadow: var(--shadow-soft) !important;
    background: white !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.shipbx:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover) !important;
    border-color: var(--brand-primary) !important;
}

.shipiconbx {
    background: rgba(232, 76, 136, 0.1) !important;
    /* Soft Pink */
    border-radius: 20px !important;
    padding: 15px;
    /* Add padding to container */
}

.shipiconbx img {
    width: 60px !important;
    /* Fixed size for icons */
    height: 60px !important;
    object-fit: contain;
}

.item-img {
    padding: 20px;
    text-align: center;
}

.item-img img {
    max-height: 160px;
    /* Tighter constraint */
    width: auto;
    margin: 0 auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.shipbx-txt1 {
    font-family: var(--brand-font-primary) !important;
    color: var(--brand-text) !important;
    letter-spacing: -0.5px;
}

.shipbx .red {
    color: var(--brand-secondary) !important;
    font-weight: 700;
}

/* Item / Pricing Cards */
.item.buylink {
    border: none !important;
    background: transparent !important;
}

.item .wrapper {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.item:hover .wrapper {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.item-header {
    background: var(--brand-text) !important;
    font-family: var(--brand-font-primary) !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 15px !important;
}

.oferta-dois .item-header {
    background: var(--brand-primary) !important;
    /* Best Value Pink */
}

.supply b {
    color: var(--brand-text) !important;
    font-family: var(--brand-font-primary) !important;
}

.price b {
    color: var(--brand-secondary) !important;
    /* Price Pop */
    font-family: var(--brand-font-primary) !important;
}

.features-list li {
    font-family: var(--brand-font-secondary);
    color: #555;
}

.checkmark {
    color: var(--brand-primary) !important;
}

/* CTA Buttons */
.cta,
.cta-pulse,
.cta-price {
    background: linear-gradient(135deg, var(--brand-primary), #F472B6) !important;
    box-shadow: 0 4px 15px rgba(232, 76, 136, 0.4) !important;
    border-radius: 50px !important;
    font-family: var(--brand-font-primary) !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 30px !important;
    transition: all 0.3s ease !important;
}

.cta:hover,
.cta-pulse:hover,
.cta-price:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(232, 76, 136, 0.5) !important;
}

/* Guarantee Section */
#guarantee {
    background: white;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

#guarantee h2 {
    font-family: var(--brand-font-primary);
    color: var(--brand-text);
}

#guarantee span {
    color: var(--brand-primary);
}

#guarantee img {
    max-height: 100px !important;
    /* Force smaller size */
    max-width: 100px !important;
    width: auto !important;
    margin: 0 auto;
    display: block;
}

.badges img {
    max-height: 40px;
    /* Constrain small badges */
    width: auto;
    margin: 5px;
}

/* Bonus Headlines */
#bonus-headline {
    background: var(--brand-text) !important;
    /* Sleek Dark */
}

#bonus-headline h2 {
    font-family: var(--brand-font-primary);
    letter-spacing: -1px;
}

.subtitle {
    color: var(--brand-accent) !important;
    /* Gold */
    font-family: var(--brand-font-primary);
    opacity: 0.9;
}

/* Ebooks */
.ebook {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #eee;
    text-align: center;
    /* Center content */
}

.ebook img {
    max-height: 300px;
    width: auto;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    /* 3D effect for book */
    border-radius: 5px;
}

.bonusbx {
    background: var(--brand-accent) !important;
    color: var(--brand-text) !important;
    box-shadow: 0 4px 10px rgba(241, 196, 15, 0.4);
}

.bonusbx-txt1,
.bonusbx-txt2 {
    color: var(--brand-text) !important;
}

.ebook h3 {
    font-family: var(--brand-font-primary);
    color: var(--brand-text);
    font-weight: 800;
}

.span1 {
    color: var(--brand-primary) !important;
    font-weight: 800;
}

/* --- FOOTER (R7 Style) --- */
.footer-custom,
.record-footer {
    background-color: #5F7496 !important;
    color: white;
}

.record-footer {
    margin-top: 0;
    background-color: transparent !important;
    border-top: none;
    padding-top: 0;
}