/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    background-color: #f2f2f2;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Constants */
:root {
    --cnn-red: #cc0000;
    --cnn-black: #000000;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --border-color: #e5e5e5;
}

/* CNN Header */
.cnn-header {
    background-color: var(--cnn-black);
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 64px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-icon {
    font-size: 20px;
    color: white;
    cursor: pointer;
}

.logo {
    max-height: 64px;
    width: auto;
    display: block;
}

.header-section {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    font-weight: 600;
}

.breadcrumb a {
    color: var(--cnn-red);
}

.breadcrumb i {
    font-size: 10px;
    margin: 0 8px;
    color: #ccc;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

/* Article Styling */
.article {
    background-color: white;
    padding: 40px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.article-category {
    color: var(--cnn-red);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.article-lead {
    font-size: 20px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 30px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
    font-size: 13px;
    color: var(--text-gray);
}

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.share-label {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-dark);
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: all 0.2s;
    cursor: pointer;
}

.share-btn:hover {
    background-color: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

.share-btn.share-whatsapp {
    color: #25D366;
    border-color: #25D366;
}

.share-btn.share-whatsapp:hover {
    background-color: #25D366;
    color: white;
}

.share-btn.share-facebook {
    color: #1877F2;
    border-color: #1877F2;
}

.share-btn.share-facebook:hover {
    background-color: #1877F2;
    color: white;
}

/* Article Body */
.article-body p {
    font-size: 18px;
    margin-bottom: 24px;
    line-height: 1.8;
}

.article-body h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--text-dark);
}

.article-image {
    margin: 40px 0;
}

.article-image img {
    border-radius: 4px;
}

.article-image figcaption {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 10px;
    border-left: 3px solid var(--cnn-red);
    padding-left: 10px;
}

.article-image-inline {
    margin: 40px -40px; /* Bleed out */
    text-align: center;
    background: #f9f9f9;
    padding: 40px;
}

.article-image-inline img {
    max-width: 300px;
}

/* CTA Card */
.cta-card {
    background: white;
    border: 2px solid var(--cnn-red);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(204,0,0,0.08);
}

.cta-icon {
    font-size: 32px;
    color: var(--cnn-red);
    background: rgba(204,0,0,0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-content h3 {
    margin: 0 0 5px;
    font-size: 18px;
    color: var(--text-dark);
}

.cta-content p {
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-gray);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cnn-red);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.cta-button:hover {
    background: #990000;
    transform: translateY(-2px);
}

/* Warning Card */
.warning-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    margin: 40px 0;
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.warning-header i {
    color: #ffcc00;
    font-size: 24px;
}

.warning-header h3 {
    margin: 0;
    font-size: 20px;
}

.warning-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.warning-item {
    display: flex;
    align-items: start;
    gap: 12px;
}

.warning-item i {
    color: var(--cnn-red);
    margin-top: 4px;
    font-size: 14px;
}

.warning-item p {
    font-size: 15px;
    margin: 0;
    line-height: 1.4;
}

/* Steps Container */
.steps-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.step-card {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 60px;
    font-weight: 800;
    color: rgba(0,0,0,0.05);
    line-height: 1;
}

.step-content h4 {
    color: var(--cnn-red);
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
}

.step-content p {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
    color: #555;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.result-card {
    background: var(--text-dark);
    color: white;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
}

.result-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--cnn-red);
    margin-bottom: 8px;
}

.result-card p {
    font-size: 13px;
    margin: 0;
    opacity: 0.8;
    line-height: 1.3;
}

/* Help Card */
.help-card {
    background: #ebf5fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 50px;
}

.help-card h3 {
    margin-top: 0;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.help-item {
    background: white;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.help-item i {
    font-size: 20px;
    color: #0088cc;
    margin-bottom: 10px;
    display: block;
}

.help-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.help-item p {
    font-size: 12px;
    margin: 0;
    color: var(--text-gray);
}

/* Article Tags */
.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: #f0f0f0;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    border-radius: 100px;
    transition: background 0.2s;
}

.tag:hover {
    background: #e0e0e0;
}

/* Sidebar Styling */
.sidebar {
    position: sticky;
    top: 20px;
}

/* Ad Card */
.ad-card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 25px;
    text-align: center;
    margin-bottom: 30px;
}

.ad-label {
    font-size: 10px;
    color: #ccc;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: block;
}

.ad-card img {
    margin: 0 auto 20px;
    max-width: 180px;
}

.ad-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.ad-button {
    background: var(--cnn-red);
    color: white;
    display: block;
    padding: 12px;
    border-radius: 4px;
    font-weight: 700;
    margin-top: 20px;
    text-align: center;
}

.ad-button:hover {
    background: #990000;
    transform: translateY(-2px);
}

/* Trending Card */
.trending-card {
    background: var(--text-dark);
    color: white;
    padding: 0;
    margin-bottom: 30px;
    border-radius: 4px;
    overflow: hidden;
}

.trending-card h3 {
    background: var(--cnn-red);
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trending-list {
    padding: 10px 0;
}

.trending-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s;
}

.trending-item:last-child {
    border-bottom: none;
}

.trending-item:hover {
    background: rgba(255,255,255,0.05);
}

.trending-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--cnn-red);
    line-height: 1;
}

.trending-item p {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* Related Card */
.related-card {
    background: white;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.related-card h3 {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--cnn-red);
}

.related-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: flex-start;
}

.related-item:last-child {
    border-bottom: none;
}

.related-item i {
    color: var(--cnn-red);
    font-size: 12px;
    margin-top: 5px;
}

.related-item p {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
    transition: color 0.2s;
}

.related-item:hover p {
    color: var(--cnn-red);
}

/* Footer */
.cnn-footer {
    background: var(--cnn-black);
    color: white;
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
}

.footer-logo {
    height: 24px;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 900px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: 2;
    }

    .article-image-inline {
        margin: 30px -20px;
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .article {
        padding: 20px;
    }

    .article-title {
        font-size: 28px;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
    }

    .warning-grid, 
    .steps-container,
    .help-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .article-image-inline {
        margin: 20px -20px;
        border-radius: 0;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Header Edition & Live Badge */
.header-edition {
    font-weight: 800;
    font-size: 14px;
    color: var(--cnn-red);
    letter-spacing: 1px;
    border-left: 1px solid rgba(255,255,255,0.3);
    padding-left: 10px;
    margin-left: 5px;
}

.live-badge {
    background: var(--cnn-red);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

/* CTA Highlight Box (Aggressive Marketing Box) */
.cta-highlight-box {
    background: linear-gradient(135deg, #fffcf6 0%, #fff7e6 100%);
    border: 3px solid #ffcc00;
    border-radius: 12px;
    padding: 35px 30px;
    margin: 50px 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255,204,0,0.15);
    position: relative;
}

.badge-discount {
    background: #e74c3c;
    color: white;
    font-weight: 800;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(231,76,60,0.3);
}

.cta-highlight-box h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.25;
}

.cta-highlight-box p {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-giant-cta {
    background: #e74c3c;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    padding: 18px 36px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(231,76,60,0.4);
    transition: all 0.2s ease-in-out;
    width: 100%;
    max-width: 500px;
    border: none;
    cursor: pointer;
}

.btn-giant-cta:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(231,76,60,0.5);
}

.btn-giant-cta i {
    font-size: 20px;
}

.cta-subtext {
    font-size: 13px;
    color: #888;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Comments Section (Facebook Mockup) */
.comments-section {
    margin-top: 60px;
    border-top: 2px solid var(--border-color);
    padding-top: 40px;
}

.comments-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-input-box {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.comment-avatar-placeholder {
    width: 48px;
    height: 48px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    flex-shrink: 0;
}

.comment-input-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-input-wrapper textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    font-family: inherit;
    font-size: 15px;
    resize: vertical;
    min-height: 80px;
    outline: none;
}

.comment-input-wrapper textarea:focus {
    border-color: #3b5998;
}

.comment-submit-btn {
    align-self: flex-end;
    background: #3b5998;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.comment-submit-btn:hover {
    background: #2d4373;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.comment-item {
    display: flex;
    gap: 15px;
}

.comment-item.reply {
    margin-left: 60px;
    border-left: 2px solid var(--border-color);
    padding-left: 15px;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-content {
    flex-grow: 1;
}

.comment-author {
    font-weight: 700;
    font-size: 15px;
    color: #365899;
    margin-bottom: 4px;
}

.comment-author .comment-time {
    font-weight: 400;
    color: var(--text-gray);
    font-size: 12px;
    margin-left: 8px;
}

.comment-text {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 8px;
}

.comment-actions {
    display: flex;
    gap: 15px;
    font-size: 13px;
}

.comment-actions .action-btn {
    color: #4267b2;
    font-weight: 600;
}

.comment-actions .action-btn:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .comment-item.reply {
        margin-left: 20px;
    }
    
    .cta-highlight-box {
        padding: 25px 15px;
    }
    
    .cta-highlight-box h3 {
        font-size: 20px;
    }
    
    .btn-giant-cta {
        font-size: 16px;
        padding: 14px 20px;
    }
}

