/* Ultra-Premium Editorial Template - Halal & High Contrast V10 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --brand-dark: #0a0f1a;
    --brand-gold: #c29b62;
    --brand-gold-hover: #a68453;
    --bg-main: #fcfcfc;
    --bg-card: #ffffff;
    --text-main: #2d3748;
    --text-light: #718096;
    --border-color: #edf2f7;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background-color: var(--bg-main); color: var(--text-main); line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--brand-dark); line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: 0.3s ease; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* Elegant AdSense Blocks */
.ad-unit { background: #f8fafc; border: 1px solid #e2e8f0; text-align: center; padding: 15px; margin: 40px auto; color: #a0aec0; font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; border-radius: 8px; width: 100%; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.ad-unit::before { content: 'Advertisement'; position: absolute; top: 5px; left: 10px; font-size: 9px; color: #cbd5e0; }

/* Floating Luxury Header */
header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; padding: 20px 0; }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-family: var(--font-heading); font-size: 28px; font-weight: 700; color: var(--brand-dark); letter-spacing: -0.5px; }
.logo span { color: var(--brand-gold); font-style: italic; }
.main-nav ul { display: flex; list-style: none; gap: 35px; }
.main-nav ul li a { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-main); }
.main-nav ul li a:hover, .main-nav ul li a.active { color: var(--brand-gold); }

/* Editorial Hero Section */
.hero-editorial { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; margin-bottom: 60px; background: var(--brand-dark); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hover); margin-top: 40px; position: relative; }
.hero-content { padding: 80px 60px; display: flex; flex-direction: column; justify-content: center; color: var(--bg-main); z-index: 2; }
.hero-tag { color: var(--brand-gold); font-size: 12px; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; margin-bottom: 20px; display: inline-block; border-bottom: 1px solid var(--brand-gold); padding-bottom: 5px; align-self: flex-start; }
.hero-content h1 { color: var(--bg-main); font-size: 46px; margin-bottom: 20px; font-weight: 400; line-height: 1.1; }
.hero-content p { color: #a0aec0; font-size: 16px; margin-bottom: 35px; line-height: 1.8; max-width: 90%; }
.hero-btn { display: inline-block; background: var(--brand-gold); color: var(--brand-dark); padding: 16px 36px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; border-radius: 4px; align-self: flex-start; transition: all 0.3s; }
.hero-btn:hover { background: var(--bg-main); transform: translateY(-2px); }
.hero-img { background-color: var(--brand-dark); min-height: 450px; position: relative; background-size: cover; background-position: center; }
.hero-img::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, var(--brand-dark) 0%, transparent 100%); }

/* Bento Grid System for Articles */
.section-title { font-size: 32px; margin-bottom: 40px; font-weight: 600; display: flex; align-items: center; gap: 20px; margin-top: 40px; }
.section-title::after { content: ''; flex-grow: 1; height: 1px; background: var(--border-color); }

.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 60px; }
.bento-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-color); box-shadow: var(--shadow-soft); transition: all 0.4s ease; display: flex; flex-direction: column; }
.bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.bento-img { height: 200px; display: flex; align-items: flex-start; justify-content: flex-start; padding: 15px; position: relative; background-size: cover; background-position: center; background-color: #e2e8f0; }
.bento-cat { background: rgba(10, 15, 26, 0.85); color: var(--brand-gold); padding: 4px 12px; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; border-radius: 4px; backdrop-filter: blur(4px); z-index: 2;}
.bento-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.bento-date { font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
.bento-content h3 { font-size: 18px; margin-bottom: 15px; font-weight: 600; font-family: var(--font-heading); }
.bento-content h3 a:hover { color: var(--brand-gold); }
.bento-content p { font-size: 14px; color: var(--text-light); margin-bottom: 20px; flex-grow: 1; }

@media (min-width: 1024px) {
    .bento-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .bento-card:nth-child(1) .bento-img { height: 400px; }
    .bento-card:nth-child(1) .bento-content h3 { font-size: 28px; }
    .bento-card:nth-child(1) .bento-content p { font-size: 16px; }
}

/* Article Page Styling */
.article-layout { display: grid; grid-template-columns: 1fr 3fr 1fr; gap: 40px; margin-top: 60px; }
.article-sidebar-left { position: sticky; top: 120px; height: max-content; }
.article-sidebar-right { position: sticky; top: 120px; height: max-content; }

.author-block { text-align: center; margin-bottom: 40px; }
.author-avatar { width: 80px; height: 80px; background: var(--brand-dark); border-radius: 50%; margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--brand-gold); font-family: var(--font-heading); font-style: italic; }
.author-name { font-weight: 600; font-size: 14px; color: var(--brand-dark); }
.author-role { font-size: 12px; color: var(--brand-gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.share-links { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.share-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 12px; font-weight: 600; }
.share-btn:hover { border-color: var(--brand-gold); color: var(--brand-gold); }

.article-main { background: var(--bg-card); padding: 60px; border-radius: var(--radius); box-shadow: var(--shadow-soft); border: 1px solid var(--border-color); }
.article-header { text-align: center; margin-bottom: 40px; }
.article-header .cat { color: var(--brand-gold); font-size: 13px; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; display: block; margin-bottom: 20px; }
.article-header h1 { font-size: 42px; margin-bottom: 20px; font-weight: 400; }
.article-meta { font-size: 13px; color: var(--text-light); }
.article-hero-img { width: 100%; height: 500px; background-color: #e2e8f0; border-radius: 8px; margin-bottom: 50px; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 12px; background-size: cover; background-position: center; }

.article-body { font-size: 18px; line-height: 1.9; color: #374151; }
.article-body > p:first-of-type::first-letter { float: left; font-size: 70px; line-height: 60px; padding-top: 4px; padding-right: 12px; padding-left: 3px; font-family: var(--font-heading); color: var(--brand-dark); }
.article-body p { margin-bottom: 30px; }
.article-body h2 { font-size: 28px; margin: 60px 0 30px; position: relative; padding-bottom: 15px; }
.article-body h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 2px; background: var(--brand-gold); }
.article-body h3 { font-size: 22px; margin: 40px 0 20px; }
.article-body ul { margin-bottom: 30px; padding-left: 20px; list-style-type: square; }
.article-body li { margin-bottom: 15px; padding-left: 10px; }
.article-body li::marker { color: var(--brand-gold); }
.article-body blockquote { font-family: var(--font-heading); font-size: 26px; font-style: italic; text-align: center; color: var(--brand-dark); margin: 60px auto; max-width: 80%; line-height: 1.4; position: relative; }
.article-body blockquote::before { content: '"'; font-size: 80px; color: var(--border-color); position: absolute; top: -40px; left: -20px; z-index: -1; }

.sidebar-widget { background: var(--bg-card); padding: 30px; border-radius: var(--radius); border: 1px solid var(--border-color); margin-bottom: 40px; box-shadow: var(--shadow-soft); }
.sidebar-widget h3 { font-size: 18px; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-body); font-weight: 700; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
.sidebar-list { list-style: none; }
.sidebar-list li { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); font-size: 14px; }
.sidebar-list li:last-child { margin-bottom: 0; padding-bottom: 0; border: none; }
.sidebar-list li a { font-weight: 500; color: var(--text-main); }
.sidebar-list li a:hover { color: var(--brand-gold); }

/* Footer */
footer { background: var(--brand-dark); color: var(--bg-main); padding: 80px 0 40px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 60px; }
.footer-brand h3 { font-family: var(--font-heading); font-size: 28px; margin-bottom: 20px; }
.footer-brand h3 span { color: var(--brand-gold); font-style: italic; }
.footer-brand p { color: #a0aec0; font-size: 15px; max-width: 400px; }
.footer-links h4 { font-size: 15px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 25px; color: var(--bg-main); }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { color: #a0aec0; font-size: 14px; }
.footer-links ul li a:hover { color: var(--brand-gold); }
.footer-bottom { text-align: center; color: #718096; font-size: 13px; }

@media (max-width: 1200px) {
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar-left, .article-sidebar-right { display: none; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hero-editorial { grid-template-columns: 1fr; }
    .hero-img { display: none; }
    .bento-grid { grid-template-columns: 1fr; }
    .article-main { padding: 30px; }
    .article-header h1 { font-size: 32px; }
    .article-body > p:first-of-type::first-letter { font-size: 50px; line-height: 40px; }
    .main-nav ul { flex-wrap: wrap; gap: 15px; }
}
