@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-light: #fbfbfb;
    --bg-surface: #ffffff;
    --border-color: #e4e4e7;
    --text-dark: #18181b;
    --text-muted: #71717a;
    --accent-gold: #d97706;
    --accent-hover: #b45309;
    --font-heading: 'Lora', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
.site-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: 100;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.7rem;
    color: var(--text-dark);
    text-decoration: none;
}

.site-logo span {
    color: var(--accent-gold);
}

.site-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.4rem 0.6rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.6rem;
    right: 0.6rem;
    height: 2px;
    background-color: var(--accent-gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-gold);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Magazine Hero Section */
.hero-section {
    padding: 7rem 0 5rem 0;
    background: linear-gradient(rgba(251, 251, 251, 0.85), rgba(251, 251, 251, 0.95)), url('images/camera_lens.jpg') no-repeat center center;
    background-size: cover;
}

.hero-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    background: rgba(217, 119, 6, 0.1);
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Category Filters */
.cat-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.cat-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.cat-btn.active {
    color: var(--accent-gold);
}

.cat-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
}

/* Editorial Articles Grid */
.articles-section {
    padding: 2rem 0 6rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.article-card {
    background: var(--bg-surface);
    border-radius: 0px; /* Sharp editorial look */
    border: none;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .card-img {
    transform: scale(1.03);
}

.card-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: var(--text-dark);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.4rem 0.8rem;
}

.card-content {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.article-card:hover .card-title {
    color: var(--accent-gold);
}

.card-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    margin-top: auto;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Article Layout & Typography */
.article-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 4rem;
    padding: 5rem 0;
}

.article-main {
    background: var(--bg-surface);
    border-radius: 0px;
    padding: 4rem;
    box-shadow: var(--shadow-soft);
}

.article-category {
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 2.5rem;
}

.article-cover-img {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin: 0 auto 3rem auto;
    display: block;
}

.article-body {
    font-family: var(--font-body);
    font-size: 1.08rem;
    line-height: 1.8;
}

.article-body h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin: 3rem 0 1.2rem 0;
    color: var(--text-dark);
}

.article-body h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

.article-body p {
    margin-bottom: 1.8rem;
    color: #27272a;
}

.article-body ul, .article-body ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.6rem;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: var(--bg-surface);
    border-radius: 0px;
    padding: 2.5rem 2rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-soft);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
}

.widget-list {
    list-style: none;
}

.widget-item {
    margin-bottom: 1.2rem;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 0.8rem;
}

.widget-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.widget-link:hover {
    color: var(--accent-gold);
}

/* Premium summary box */
.summary-box {
    background: #fef3c7;
    border-left: 4px solid var(--accent-gold);
    border-radius: 0px;
    padding: 2rem;
    margin-bottom: 3rem;
    color: #78350f;
}

.summary-box h3 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Blockquotes */
blockquote {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-dark);
    border-left: 3px solid var(--accent-gold);
    padding: 1rem 0 1rem 2rem;
    margin: 2.5rem 0;
    font-style: italic;
}

/* Reading progress bar */
.progress-container {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 101;
}

.progress-bar {
    height: 100%;
    background: var(--accent-gold);
    width: 0;
}

/* FAQ Accordion */
.faq-section {
    margin-top: 5rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
}

.faq-question {
    padding: 1.5rem 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 0 0 1.5rem 0;
    color: var(--text-muted);
}

/* Alert blocks */
.alert-block {
    border-radius: 0px;
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    border-left-width: 3px;
    border-left-style: solid;
}

.alert-block-note { background: #f4f4f5; border-left-color: var(--text-muted); color: #3f3f46; }
.alert-block-important { background: #fffbeb; border-left-color: var(--accent-gold); color: #78350f; }
.alert-block-warning { background: #fef2f2; border-left-color: #ef4444; color: #991b1b; }

.alert-title {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.5rem !important;
}

/* Comparison Tables */
.table-responsive {
    margin: 2.5rem 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-surface);
}

.comparison-table th, .comparison-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    background: rgba(0, 0, 0, 0.01);
}

/* Table of contents box */
.toc-box {
    background: #fafafa;
    border: 1px solid var(--border-color);
    border-radius: 0px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.toc-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.toc-link {
    color: var(--text-dark);
}

.toc-link:hover {
    color: var(--accent-gold);
}

/* Footer Section */
.site-footer {
    background: #111111;
    color: #a1a1aa;
    padding: 5rem 0 2rem 0;
    border-top: 1px solid #27272a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-logo span {
    color: var(--accent-gold);
}

.footer-heading {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.9rem;
}

.footer-links a {
    color: #a1a1aa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #27272a;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {
    .site-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
    }
    .site-nav.active {
        display: flex;
    }
    .nav-toggle {
        display: block;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .article-main {
        padding: 2rem 1.5rem;
    }
    .article-title {
        font-size: 2.2rem;
    }
}

/* Partner Widgets & Footer Lists */
.partner-widgets-section {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    background: #f4f4f5;
}
.partner-widgets-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
}
.partner-widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.partner-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 0px;
    padding: 1.8rem;
    text-decoration: none;
    color: var(--text-dark) !important;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}
.partner-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-hover);
}
.partner-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    display: inline-block;
}
.partner-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
}
.partner-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
}
.partner-btn {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links-list li {
    margin-bottom: 0.8rem;
}
.footer-links-list a {
    color: #a1a1aa;
    text-decoration: none;
    transition: var(--transition);
}
.footer-links-list a:hover {
    color: var(--accent-gold);
}

/* Redesigned Editorial 4-Column Footer */
.footer-grid-editorial {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #27272a;
}
.footer-col-about {
    max-width: 350px;
}
.footer-about-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1rem;
    color: #a1a1aa;
}
.footer-heading-editorial {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
}
.footer-links-editorial {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links-editorial li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}
.footer-links-editorial a {
    color: #a1a1aa;
    text-decoration: none;
    transition: var(--transition);
}
.footer-links-editorial a:hover {
    color: var(--accent-gold);
}
.footer-bottom-editorial {
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: #71717a;
}
@media (max-width: 992px) {
    .footer-grid-editorial {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}
@media (max-width: 576px) {
    .footer-grid-editorial {
        grid-template-columns: 1fr;
    }
}
