/* === FONTS === */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('/assets/fonts/cormorant-garamond-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('/assets/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === RESET & VARIABLES === */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --black: #000000;
    --white: #FFFFFF;
    --gray-dark: #1a1a1a;
    --gray-medium: #666666;
    --gray-light: #e0e0e0;
    --gray-bg: #fafafa;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--gray-dark);
    background: var(--white);
    line-height: 1.6;
}

/* === HEADER === */
header {
    border-bottom: 1px solid var(--gray-light);
    background: var(--white);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    gap: 3rem;
    list-style: none;
}

nav a {
    color: var(--gray-medium);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--black);
}

/* Burger menu */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: all 0.3s;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === HERO (index) === */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--black);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: grayscale(100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    color: var(--white);
}

.hero-inner {
    max-width: 700px;
}

.hero-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray-light);
    margin-bottom: 2rem;
    display: inline-block;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--white);
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-excerpt {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--gray-light);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-cta {
    display: inline-block;
    padding: 1.25rem 3.5rem;
    border: 1px solid var(--white);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.4s;
    background: transparent;
}

.hero-cta:hover {
    background: var(--white);
    color: var(--black);
}

/* === SECTIONS === */
.latest-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray-medium);
    letter-spacing: 0.1em;
}

/* === ARTICLES GRID === */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 3rem;
}

.article-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s;
}

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

.article-image,
.article-img {
    width: 100%;
    height: 400px;
    background: var(--gray-bg);
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
}

.article-image img,
.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.6s ease;
}

.article-card:hover .article-image img,
.article-card:hover .article-img img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.article-meta {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-medium);
    margin-bottom: 1rem;
}

.article-title,
.article-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--black);
    margin-bottom: 1rem;
}

.article-excerpt,
.article-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-medium);
}

.article-date {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-medium);
    margin-bottom: 1rem;
}

/* === BREADCRUMBS === */
.breadcrumbs {
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 0 2rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gray-medium);
}

.breadcrumbs a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--black);
}

/* === CATEGORY PAGE === */
.category-header {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: center;
}

.category-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.category-count {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-medium);
}

.category-divider,
.page-divider {
    width: 80px;
    height: 1px;
    background: var(--black);
    margin: 3rem auto;
}

.articles-section {
    max-width: 1400px;
    margin: 0 auto 8rem;
    padding: 0 2rem;
}

/* Category breadcrumbs wider */
.breadcrumbs--wide {
    max-width: 1400px;
}

/* === ARTICLE PAGE === */
article {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
    line-height: 1.8;
    font-size: 18px;
}

.article-header {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-light);
}

.article-category {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--black);
    font-weight: 600;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--black);
}

article h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    color: var(--black);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.article-meta-info {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gray-medium);
    margin-bottom: 2rem;
}

article .article-excerpt {
    font-size: 1.35rem;
    line-height: 1.6;
    color: var(--gray-medium);
    font-weight: 300;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
}

/* === ARTICLE HERO IMAGE === */
.article-hero {
    max-width: 900px;
    margin: 2rem auto 2.5rem;
}
.article-hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* === AUTHOR SECTION === */
.author-section {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 3rem;
    margin: 3rem 0;
    background: var(--gray-bg);
    border-left: 4px solid var(--black);
}

.author-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    filter: grayscale(100%);
    border: 3px solid var(--white);
}

.author-content {
    flex: 1;
}

.author-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-medium);
    margin-bottom: 1rem;
}

.author-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-dark);
    margin-bottom: 1.25rem;
}

.author-social {
    display: flex;
    gap: 2rem;
}

.author-social a {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--black);
    text-decoration: none;
    border-bottom: 1px solid var(--black);
    padding-bottom: 3px;
    transition: opacity 0.3s;
}

.author-social a:hover {
    opacity: 0.6;
}

/* === TOC === */
.toc-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
}

.toc-list li {
    margin-bottom: 0;
    padding-left: 0;
    position: relative;
}

.toc-list li:before {
    display: none;
}

.toc-list a {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-light);
    transition: all 0.3s;
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 0.9rem;
}

.toc-list a:hover {
    border-color: var(--black);
}

/* === ARTICLE BODY === */
.article-body h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.75rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 4rem 0 2rem;
    letter-spacing: -0.01em;
    scroll-margin-top: 2rem;
}

.article-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
    margin: 3rem 0 1.5rem;
}

.article-body p {
    margin-bottom: 1.75rem;
    line-height: 1.85;
}

.article-body ul,
.article-body ol {
    margin: 2rem 0;
    padding-left: 0;
    list-style: none;
}

.article-body li {
    margin-bottom: 1.25rem;
    padding-left: 2.5rem;
    position: relative;
    line-height: 1.75;
}

.article-body ul li:before {
    content: "\2014";
    position: absolute;
    left: 0;
    color: var(--black);
    font-weight: 600;
}

.article-body .fw-bold {
    font-weight: 600;
}

/* === TABLES === */
.scroll-container {
    overflow-x: auto;
    margin: 3rem 0;
    border: 1px solid var(--gray-light);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

thead {
    background: var(--black);
    color: var(--white);
}

th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-light);
}

tbody tr:hover {
    background: var(--gray-bg);
}

/* === CARD / INFOGRAPHIC COMPONENTS === */
.card {
    background: var(--gray-bg);
    padding: 2.5rem;
    margin: 3rem 0;
}

.border-start {
    border-left: 4px solid var(--black);
}

.display-4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1;
}

.text-muted {
    color: var(--gray-medium);
}

.small {
    font-size: 0.85rem;
}

/* Stats Premium */
.stats-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stat-box {
    background: var(--gray-bg);
    border-left: 3px solid var(--black);
    padding: 2.5rem;
}

.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--black);
}

.stat-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-medium);
}

/* Elegant Tables */
.table-elegant {
    margin: 3rem 0;
    border: 1px solid var(--gray-light);
    overflow-x: auto;
}

.table-elegant table {
    width: 100%;
    border-collapse: collapse;
}

.table-elegant thead {
    background: var(--black);
    color: var(--white);
}

.table-elegant th {
    padding: 1.25rem;
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.table-elegant td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--gray-light);
}

.table-elegant .highlight-row {
    background: var(--gray-bg);
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 3rem 0;
    border: 1px solid var(--black);
}

.metric-item {
    padding: 2rem;
    text-align: center;
    border-right: 1px solid var(--gray-light);
}

.metric-item:last-child {
    border-right: none;
}

.metric-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-medium);
    margin-bottom: 1rem;
}

.metric-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--black);
}

/* Pros/Cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.side-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--black);
}

.clean-list {
    list-style: none;
    padding: 0;
}

.clean-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
}

.clean-list li:before {
    content: "\2014";
    position: absolute;
    left: 0;
    font-weight: 600;
}

/* Timeline */
.timeline-vert {
    margin: 3rem 0;
}

.timeline-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--gray-light);
}

.timeline-step:last-child {
    border-bottom: none;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    flex-shrink: 0;
}

.step-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-desc {
    color: var(--gray-medium);
    line-height: 1.7;
}

/* Alert Box */
.alert-box {
    margin: 3rem 0;
    padding: 2.5rem;
    border-left: 4px solid var(--black);
    background: var(--gray-bg);
}

.alert-warning {
    border-left-color: #dc3545;
}

.alert-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.alert-text {
    line-height: 1.7;
    color: var(--gray-dark);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    text-align: center;
    padding: 2.5rem;
    border: 1px solid var(--gray-light);
    background: var(--white);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-detail {
    font-size: 0.85rem;
    color: var(--gray-medium);
    margin-bottom: 1rem;
}

.feature-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 300;
}

/* Calculator */
.calc-premium {
    margin: 3rem 0;
    padding: 3rem;
    background: var(--gray-bg);
    border: 1px solid var(--gray-light);
}

.calc-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.calc-field label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    color: var(--gray-dark);
}

.calc-field input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--gray-light);
    font-size: 1rem;
    background: var(--white);
}

.calc-btn {
    width: 100%;
    padding: 1.25rem;
    background: var(--black);
    color: var(--white);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    cursor: pointer;
    transition: opacity 0.3s;
    font-weight: 600;
}

.calc-btn:hover {
    opacity: 0.8;
}

.calc-result {
    margin-top: 2rem;
}

.calc-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.calc-result-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--gray-light);
}

.result-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.85rem;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.text-red {
    color: #dc3545;
}

.calc-error {
    color: #dc3545;
    text-align: center;
    padding: 1rem;
}

/* === FAQ === */
.faq-wrapper {
    margin: 6rem 0 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--gray-light);
}

.faq-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 3rem;
    text-align: center;
}

.faq-item {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-light);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--black);
    line-height: 1.3;
}

.faq-a {
    line-height: 1.85;
    color: var(--gray-dark);
    font-size: 1rem;
}

/* === SHARE === */
.share-wrapper {
    margin: 5rem 0;
    padding: 4rem 0;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
    text-align: center;
}

.share-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray-medium);
    margin-bottom: 2rem;
}

.share-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.share-link {
    padding: 1rem 2.5rem;
    border: 1px solid var(--black);
    background: transparent;
    color: var(--black);
    text-decoration: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    transition: all 0.3s;
}

.share-link:hover {
    background: var(--black);
    color: var(--white);
}

/* === PAGE === */
.page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 2rem 8rem;
}

.page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin-bottom: 3rem;
    text-align: center;
}

.page-body {
    font-size: 1.1rem;
    line-height: 1.85;
}

.page-body h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 500;
    margin: 3rem 0 1.5rem;
    letter-spacing: -0.01em;
}

.page-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 500;
    margin: 2.5rem 0 1rem;
}

.page-body p {
    margin-bottom: 1.75rem;
}

.page-body ul,
.page-body ol {
    margin: 2rem 0;
    padding-left: 0;
    list-style: none;
}

.page-body li {
    margin-bottom: 1rem;
    padding-left: 2.5rem;
    position: relative;
}

.page-body ul li:before {
    content: "\2014";
    position: absolute;
    left: 0;
    color: var(--black);
    font-weight: 600;
}

.page-body a {
    color: var(--black);
    text-decoration: underline;
    transition: opacity 0.3s;
}

.page-body a:hover {
    opacity: 0.6;
}

/* === AUTHOR PAGE === */
.author-hero {
    max-width: 900px;
    margin: 5rem auto;
    padding: 0 2rem;
    text-align: center;
}

.author-photo-large {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(100%);
    margin: 0 auto 2rem;
    border: 4px solid var(--black);
}

.author-name-large {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.author-title-large {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray-medium);
    margin-bottom: 2rem;
}

.author-bio-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.credentials-section {
    max-width: 900px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.creds-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.cred-item {
    background: var(--gray-bg);
    padding: 2rem;
    border-left: 3px solid var(--black);
}

.articles-list {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.article-item {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-light);
}

.article-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.article-item a {
    color: var(--black);
    text-decoration: none;
}

.article-item a:hover {
    opacity: 0.7;
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-light);
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 1.25rem;
    border: 1px solid var(--gray-light);
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    transition: all 0.3s;
}

.pagination-link:hover {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}

.pagination-current {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

/* === RELATED ARTICLES === */
.related-section {
    background: var(--gray-bg);
    padding: 6rem 2rem;
    border-top: 1px solid var(--gray-light);
}

.related-container {
    max-width: 1200px;
    margin: 0 auto;
}

.related-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: 0.05em;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

/* === FOOTER === */
footer {
    border-top: 1px solid var(--gray-light);
    padding: 5rem 2rem 3rem;
    background: var(--gray-bg);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

.footer-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--black);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-dark);
    color: var(--gray-dark);
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    border-color: var(--black);
    color: var(--black);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
    text-align: center;
    font-size: 0.7rem;
    color: var(--gray-dark);
    letter-spacing: 0.1em;
}

/* === MOBILE === */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        z-index: 1000;
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    }

    nav.open {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav li {
        border-bottom: 1px solid var(--gray-light);
    }

    nav a {
        display: block;
        padding: 1.25rem 0;
        font-size: 0.85rem;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: 999;
    }

    .nav-overlay.open {
        display: block;
    }

    .header-container {
        padding: 1.5rem 1rem;
    }

    .logo {
        font-size: 1.5rem;
        letter-spacing: 0.2em;
    }

    .hero {
        height: 70vh;
        min-height: 500px;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-excerpt {
        font-size: 1rem;
    }

    .latest-section {
        padding: 4rem 1rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .article-image,
    .article-img {
        height: 300px;
    }

    article {
        padding: 3rem 1rem 4rem;
        font-size: 16px;
    }

    article h1 {
        font-size: 2.5rem;
    }

    article .article-excerpt {
        font-size: 1.15rem;
    }

    .article-body h2 {
        font-size: 2rem;
    }

    .author-section {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
    }

    .author-photo {
        width: 80px;
        height: 80px;
    }

    .toc-section {
        padding: 2rem;
    }

    .share-btns {
        flex-direction: column;
    }

    .category-header {
        margin: 3rem auto;
        padding: 0 1rem;
    }

    .category-title {
        font-size: 2.5rem;
    }

    .articles-section {
        padding: 0 1rem;
        margin-bottom: 5rem;
    }

    .page-wrapper {
        padding: 3rem 1rem 5rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-body {
        font-size: 1rem;
    }

    .page-body h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .related-section {
        padding: 4rem 1rem;
    }

    .stats-premium,
    .metrics-grid,
    .pros-cons,
    .feature-grid,
    .calc-inputs,
    .calc-results-grid {
        grid-template-columns: 1fr;
    }

    .metric-item {
        border-right: none;
        border-bottom: 1px solid var(--gray-light);
    }

    .metric-item:last-child {
        border-bottom: none;
    }

    .creds-grid {
        grid-template-columns: 1fr;
    }

    .author-name-large {
        font-size: 2.5rem;
    }

    .breadcrumbs {
        padding: 0 1rem;
    }
}
