:root {
    --primary: #1a365d; /* Dark News Blue */
    --secondary: #2c5282;
    --accent: #f6ad55; /* Metabolism Orange */
    --text: #2d3748;
    --light-bg: #f7fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Georgia', serif; /* Classic Newspaper Heading */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light-bg);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header / Portal Nav */
header {
    background: var(--white);
    border-bottom: 4px solid var(--primary);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.portal-brand {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: block;
    text-align: center;
    margin-bottom: 0.5rem;
}

.portal-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #718096;
}

.portal-nav span {
    cursor: pointer;
    transition: color 0.2s;
}

.portal-nav span:hover {
    color: var(--primary);
}

/* Article Layout */
.main-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

article {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Typography */
.article-meta {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

h1 {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    line-height: 1.2;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.subheadline {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 2rem;
    font-weight: 500;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: #2d3748;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 2rem;
}

/* Educational Blocks */
.info-box {
    background: #ebf8ff;
    border-left: 5px solid #3182ce;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
}

.highlight {
    background: #fffaf0;
    border: 1px solid #feebc8;
    padding: 0.2rem 0.4rem;
    font-weight: bold;
    color: #c05621;
}

/* CTA Styles */
.cta-box {
    text-align: center;
    background: #fefcbf;
    border: 2px dashed #ecc94b;
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 8px;
}

.btn-cta {
    display: inline-block;
    background: linear-gradient(to bottom, #f6ad55, #ed8936);
    color: white;
    padding: 1.25rem 2.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(237, 137, 54, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(237, 137, 54, 0.4);
}

/* Sidebar */
aside .sidebar-widget {
    background: var(--white);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

aside h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.trending-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.trending-img {
    width: 80px;
    height: 60px;
    background: #edf2f7;
    border-radius: 4px;
    object-fit: cover;
}

/* Comments Section (Facebook style) */
.comments-section {
    margin-top: 4rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 4px;
}

.comment {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.avatar {
    width: 48px;
    height: 48px;
    background: #edf2f7;
    border-radius: 4px;
}

.comment-content b {
    color: #3b5998; /* FB Blue */
    font-size: 0.95rem;
}

.comment-text {
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

.comment-actions {
    font-size: 0.8rem;
    color: #718096;
    margin-top: 0.5rem;
}

.comment-actions span {
    margin-right: 1rem;
    cursor: pointer;
    font-weight: 600;
}

.comment-actions span:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #1a202c;
    color: #a0aec0;
    padding: 3rem 0;
    margin-top: 5rem;
    text-align: center;
    font-size: 0.85rem;
}

footer a {
    color: #cbd5e0;
    margin: 0 0.5rem;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* --- New Styles for Media and Product Showcase --- */

.styled-media {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.styled-media:hover {
    transform: scale(1.02);
}

.product-showcase {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.product-option {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    width: 140px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.product-option img {
    max-width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
}

.product-option p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.best-value {
    border: 2px solid var(--accent);
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(246, 173, 85, 0.3);
}

.best-value:hover {
    transform: scale(1.05) translateY(-5px);
}

.best-value-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    white-space: nowrap;
    text-transform: uppercase;
}

.sidebar-btn {
    display: block;
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 0.75rem;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s;
}

.sidebar-btn:hover {
    background: var(--secondary);
    color: white;
    text-decoration: none;
}
