/* Advertorial / News Portal Styles */

:root {
    --news-black: #1a1a1a;
    --news-gray: #666;
    --news-light-gray: #f2f2f2;
    --news-blue: #0056b3;
    /* Standard link blue */
    --news-red: #c0392b;
    /* Highlights */
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Merriweather', serif;
    /* Classic news font */
    --container-width: 1000px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: #ffffff;
    font-family: var(--font-body);
    color: #333;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: var(--news-blue);
}

a:hover {
    text-decoration: underline;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.news-header {
    background: #fff;
    border-bottom: 4px solid var(--news-red);
    padding: 15px 0;
    margin-bottom: 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--news-black);
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge {
    background: var(--news-red);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 700;
}

.nav-links a {
    color: var(--news-black);
    margin-left: 20px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--news-red);
}

/* Layout */
.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* Article uses 2/3, Sidebar 1/3 */
    gap: 60px;
    margin-bottom: 80px;
}

/* Article */
.breadcrumb {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--news-gray);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.headline {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--news-black);
    margin-bottom: 15px;
}

.sub-headline {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.4;
}

.author-block {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info p {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.3;
}

.date {
    color: var(--news-gray);
    font-size: 0.8rem !important;
}

.divider {
    border: 0;
    height: 1px;
    background: #e0e0e0;
    margin-bottom: 30px;
}

/* Article Body Typography */
.article-body p {
    font-size: 1.15rem;
    margin-bottom: 25px;
    color: #2c2c2c;
}

.article-body h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 40px 0 20px 0;
    font-weight: 700;
}

.article-body b,
.article-body strong {
    font-weight: 700;
    color: #000;
}

/* Images */
.article-image {
    margin: 30px 0;
}

.article-image img {
    width: 100%;
    border-radius: 4px;
}

.article-image figcaption {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--news-gray);
    margin-top: 8px;
    text-align: center;
}

/* Quote */
.quote {
    border-left: 4px solid var(--news-red);
    padding-left: 20px;
    font-style: italic;
    font-size: 1.3rem;
    color: #444;
    margin: 30px 0;
    background: #f9f9f9;
    padding: 20px;
}

/* CTAs inside article */
.cta-box {
    background: #e3f2fd;
    /* Light blue attention */
    border: 1px solid #bbdefb;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin: 40px 0;
}

.cta-box h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--news-blue);
}

.cta-box p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.btn-article {
    display: inline-block;
    background: var(--news-blue);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: background 0.2s;
}

.btn-article:hover {
    background: #004494;
    text-decoration: none;
    color: white;
}

.final-cta {
    background: #fff3cd;
    /* Warning yellow */
    border: 1px solid #ffeeba;
    padding: 30px;
    text-align: center;
    margin: 40px 0;
    border-radius: 8px;
}

.btn-large {
    display: inline-block;
    background: #27ae60;
    /* Green to match Conversion */
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-top: 15px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

.btn-large:hover {
    background: #219150;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Comments */
.comments-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.comments-section h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 30px;
}

.comment {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.comment img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.comment-body {
    background: #f0f2f5;
    padding: 12px 15px;
    border-radius: 12px;
    flex-grow: 1;
}

.comment-body strong {
    font-size: 0.9rem;
    display: block;
    margin-bottom: 3px;
    font-family: var(--font-heading);
}

.comment-body p {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.like {
    font-size: 0.8rem;
    color: var(--news-gray);
    font-family: var(--font-heading);
    cursor: pointer;
}

.reply {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 10px;
}

/* Sidebar */
.sidebar-widget {
    margin-bottom: 40px;
}

.sidebar-widget h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.popular-news {
    list-style: none;
}

.popular-news li {
    margin-bottom: 15px;
}

.popular-news a {
    display: flex;
    gap: 15px;
    color: #000;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s;
    cursor: pointer;
}

.popular-news a:hover {
    color: var(--primary-color);
}

.popular-news .number {
    font-size: 2rem;
    font-weight: 900;
    color: #e0e0e0;
    line-height: 1;
}

.ad-unit {
    background: #fafafa;
    border: 1px solid #eee;
    padding: 20px;
    text-align: center;
}

.ad-label {
    text-transform: uppercase;
    font-size: 0.6rem;
    color: #aaa;
    margin-bottom: 10px;
}

.ad-link-box {
    display: block;
    background: #fff;
    border: 2px dashed var(--news-red);
    padding: 20px;
    text-decoration: none;
}

.ad-content h4 {
    color: var(--news-red);
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.ad-content button {
    background: var(--news-red);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    margin-top: 10px;
    cursor: pointer;
}

/* Footer */
.news-footer {
    background: #222;
    color: #888;
    text-align: center;
    padding: 40px 0;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 10px;
    font-size: 0.75rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 900px) {
    .container {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        display: none;
        /* Simplify header on mobile */
    }

    .headline {
        font-size: 1.8rem;
    }

    .sidebar {
        order: 2;
    }
}