/* Font Face Declarations */
@font-face {
    font-family: 'Apfel Grotezk';
    src: url('../fonts/ApfelGrotezk-Regular.woff2') format('woff2'),
         url('../fonts/ApfelGrotezk-Regular.woff') format('woff'),
         url('../fonts/ApfelGrotezk-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Apfel Grotezk';
    src: url('../fonts/ApfelGrotezk-Mittel.woff2') format('woff2'),
         url('../fonts/ApfelGrotezk-Mittel.woff') format('woff'),
         url('../fonts/ApfelGrotezk-Mittel.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Apfel Grotezk';
    src: url('../fonts/ApfelGrotezk-Fett.woff2') format('woff2'),
         url('../fonts/ApfelGrotezk-Fett.woff') format('woff'),
         url('../fonts/ApfelGrotezk-Fett.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Maison Neue Mono';
    src: url('../fonts/fonnts.com-Maison_Neue_Mono.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Maison Neue';
    src: url('../fonts/fonnts.com-Maison_Neue_Book.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Maison Neue';
    src: url('../fonts/fonnts.com-Maison_Neue_Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Maison Neue';
    src: url('../fonts/fonnts.com-Maison_Neue_Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

:root {
    /* Colors */
    --color-black: #151515;
    --color-dark-gray: #555555;
    --color-gray: #D9D9D9;
    --color-light-gray: #F6F5F4;
    --color-green-100: #d6efd4;
    --color-green-500: #66bb6d;
    --color-green-700: #4d8d53;
    --color-gold: #f4b953;
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-family-apfel: 'Apfel Grotezk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-family-maison: 'Maison Neue Mono', 'Maison Neue', 'Inter', monospace;
    --font-family: var(--font-family-apfel);
    --font-family-mono: var(--font-family-maison);
    
    /* Spacing */
    --spacing-section: 60px;
    --spacing-section-divider: 40px;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: 1.7;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Reset link styles - will be overridden for specific content areas */
a {
    color: inherit;
    text-decoration: none;
    background-color: transparent;
}

/* Typography System */
/* H0 - Apfel Grotezk, Fett, 48px, 110% line height, -1% tracking */
h1, .h0 {
    font-family: var(--font-family-apfel);
    font-weight: 700; /* Fett */
    font-size: 48px;
    line-height: 110%;
    letter-spacing: -0.48px; /* -1% of 48px */
    color: var(--color-black);
}

.heading-1-light {
    font-family: var(--font-family-apfel);
    font-weight: 300;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -0.36px;
    color: var(--color-dark-gray);
}

/* Dropdown - Apfel Grotezk, Regular, 48px, 100% line height, 0px tracking */
.insights-title {
    font-family: var(--font-family-apfel);
    font-weight: 400; /* Regular */
    font-size: 48px;
    line-height: 100%;
    letter-spacing: 0px; /* 0px tracking */
    color: var(--color-black);
}

/* H1 - Apfel Grotezk, Mittel, 36px, 140% line height, -1% tracking */
.h1, .heading-1 {
    font-family: var(--font-family-apfel);
    font-weight: 500; /* Mittel */
    font-size: 36px;
    line-height: 140%;
    letter-spacing: -0.36px; /* -1% of 36px */
    color: var(--color-black);
}

/* H2 - Apfel Grotezk, Regular, 16px, 120% line height, -1% tracking */
h2 {
    font-family: var(--font-family-apfel);
    font-weight: 400; /* Regular */
    font-size: 16px;
    line-height: 120%;
    letter-spacing: -0.16px; /* -1% of 16px */
    color: var(--color-black);
}

/* H3 - Apfel Grotezk, Mittel, 24px, 140% line height, -1% tracking */
h3, .h3, .heading-2 {
    font-family: var(--font-family-apfel);
    font-weight: 500; /* Mittel */
    font-size: 24px;
    line-height: 140%;
    letter-spacing: -0.24px; /* -1% of 24px */
    color: var(--color-black);
}

h4, .heading-3 {
    font-family: var(--font-family-apfel);
    font-weight: 300;
    font-size: 24px;
    line-height: 1.4;
    letter-spacing: -0.24px;
    color: var(--color-black);
}

/* Body - Apfel Grotezk, Regular, 16px, 110% line height, 2% tracking */
p, .body {
    font-family: var(--font-family-apfel);
    font-weight: 400;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: 0.32px;
    color: var(--color-black);
    margin: 0 0 20px 0;
}

/* Strong and Bold - explicit styles to override user agent */
strong, b {
    font-weight: 700 !important;
    font-family: var(--font-family-apfel) !important;
    color: var(--color-black) !important;
}

/* Emphasis - no italic styling */
em, i {
    font-style: normal;
    font-family: var(--font-family-apfel);
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
    width: calc(100% - 80px);
    margin: 0 var(--spacing-section-divider);
    border-top: 1px solid var(--color-dark-gray);
}

/* Section - Apfel Grotezk, Fett, 16px, 100% line height, 0% tracking */
.section-divider p {
    font-family: var(--font-family-apfel);
    font-weight: 700; /* Fett */
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0px; /* 0% tracking */
    text-transform: uppercase;
    color: var(--color-black);
    margin: 0;
}

/* LABEL - Maison Neue, Mono, 12px, 140% line height, -1% tracking */
.meta-data, .author-name {
    font-family: var(--font-family-maison) !important;
    font-size: 12px !important;
    line-height: 140% !important;
    letter-spacing: -0.12px !important; /* -1% of 12px */
    text-transform: uppercase !important;
    color: var(--color-dark-gray) !important;
    font-weight: 400 !important;
}

/* Navigation */
.nav-default {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    overflow: hidden;
}

.nav-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-logo {
    background-color: var(--color-green-100);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.nav-logo-img {
    height: 13px;
    width: auto;
    display: block;
}

/* NAVIGATION - Maison Neue, Mono, 12px, 160% line height, -1% tracking */
.nav-item {
    background-color: var(--color-green-500);
    border-left: 1px solid var(--color-white);
    min-height: 60px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: var(--font-family-maison);
    font-weight: 400;
    font-size: 12px;
    line-height: 160%;
    letter-spacing: -0.12px; /* -1% of 12px */
    text-transform: uppercase;
    color: var(--color-black);
    padding: 0;
    text-align: center;
}

.nav-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.nav-item:hover {
    background-color: var(--color-green-700);
}

.nav-item:last-child {
    border-right: 1px solid var(--color-white);
}

/* Tag Styles */
/* LABEL - Maison Neue, Mono, 12px, 140% line height, -1% tracking */
.tag {
    padding: 4px 10px;
    font-family: var(--font-family-maison);
    font-size: 12px;
    line-height: 140%;
    letter-spacing: -0.12px; /* -1% of 12px */
    text-transform: uppercase;
    color: var(--color-black);
    background-color: var(--color-gold);
    white-space: nowrap;
    display: inline-block;
}

.tag-newsletter {
    background-color: var(--color-gold);
}

.tag-taxes {
    background-color: var(--color-gold);
}

/* Article Meta */
.article-meta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 100px;
    background-color: var(--color-green-500);
    background-image: url('https://www.figma.com/api/mcp/asset/dd8042dc-694d-4abb-b478-cb94dc26ec5a');
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.author-name {
    margin: 0;
}

/* Article Previews Section */
.article-previews-section {
    width: 100%;
    position: sticky;
    top: 60px; /* Position right below the navbar */
    z-index: 998;
    background-color: var(--color-white);
}

.article-previews-progress-bar {
    width: 100%;
    height: 4px;
    background-color: var(--color-light-gray);
    position: relative;
}

.article-previews-progress-fill {
    height: 100%;
    width: 0%;
    background-color: var(--color-green-500);
    transition: width 0.3s ease;
}

.article-previews-scroll-top {
    position: absolute;
    top: 50%;
    right: 60px; /* Align with article content padding (60px on each side) */
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background-color: var(--color-light-gray);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2; /* Sit above the progress bar */
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.article-previews-scroll-top-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-previews-scroll-top-icon img {
    display: block;
    width: 13px;
    height: 8px;
}

.article-previews-scroll-top:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
    transform: translateY(-52%);
}

.article-previews-scroll-top:focus-visible {
    outline: 2px solid var(--color-green-500);
    outline-offset: 2px;
}

.article-previews-container {
    display: flex;
    width: 100%;
}

.article-preview-item {
    flex: 1;
    border-right: 1px solid var(--color-dark-gray);
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 118px;
    min-height: 118px;
    max-height: 118px;
    box-sizing: border-box;
}

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

.article-preview-item h3 {
    margin: 0;
    width: 100%;
    color: var(--Black, #191919);
    font-family: var(--font-family-apfel);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 150% */
    letter-spacing: 0.32px;
}

.article-preview-item .tag {
    padding: 4px 10px;
}

.article-preview-item h3 a {
    color: inherit;
    text-decoration: none;
}

.article-preview-item h3 a:hover {
    color: var(--color-dark-gray);
}

/* Article Section */
.article-section {
    width: 100%;
    padding: 60px 0;
}

.article-container {
    max-width: 800px;
    width: calc(100% - 120px);
    margin: 0 auto;
}

/* Article Header */
.article-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

.article-tag-date {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

/* LABEL - Maison Neue, Mono, 12px, 140% line height, -1% tracking */
.article-date {
    font-family: var(--font-family-maison);
    font-size: 12px;
    line-height: 140%;
    letter-spacing: -0.12px; /* -1% of 12px */
    text-transform: uppercase;
    color: var(--color-dark-gray);
    margin: 0;
}

.article-header h1 {
    margin: 0;
    width: 100%;
}

/* Description - Apfel Grotezk, Regular, 20px, 140% line height, -1% tracking */
.article-subtitle {
    font-family: var(--font-family-apfel);
    font-weight: 400; /* Regular */
    font-size: 20px;
    line-height: 140%; /* Description style */
    letter-spacing: -0.2px; /* -1% of 20px */
    color: var(--color-black);
    margin: 0;
}

.article-authors {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.article-author-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Article Body - flex container with 40px gap between sections */
.article-body {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Content Sections - each section has flex with 24px gap */
.article-body .content-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Beehiiv newsletter typography spacing */
/*
 * Beehiiv: margins between adjacent block elements collapse (p + h2),
 * so margin-bottom + margin-top won't "stack".
 * Use padding-top for the space above h2 to guarantee additive spacing.
 */
.article-body .beehiiv__body * + h2,
.article-body .beehiiv__body * + h2.heading {
    margin-top: 0 !important;
    padding-top: 20px !important;
    margin-bottom: 40px !important;
}

/* Lists should have consistent spacing beneath them */
.article-body ul,
.article-body ol {
    margin-bottom: 20px;
}

.article-body a {
    color: var(--color-green-500);
    text-decoration: none;
    background-color: transparent;
}

.article-body a:hover {
    text-decoration: underline;
}

/* Override Beehive inline styles - Force override of element.style */
.article-body [style],
.article-body span[style],
.article-body span[style] *,
.article-body div[style],
.article-body p[style] {
    color: var(--color-black) !important;
    font-family: var(--font-family-apfel) !important;
    background-color: transparent !important;
}

/* Override commented-out inline styles from Beehive */
.article-body [style*="color"],
.article-body [style*="rgb"],
.article-body [style*="/*"] {
    color: var(--color-black) !important;
}

/* Strong and Bold tags in article body - explicit styles */
.article-body strong,
.article-body b {
    font-weight: 700 !important;
    font-family: var(--font-family-apfel) !important;
    color: var(--color-black) !important;
}

/* Strong/Bold inside spans with inline styles */
.article-body span[style] strong,
.article-body span[style] b,
.article-body [style] strong,
.article-body [style] b {
    font-weight: 700 !important;
    font-family: var(--font-family-apfel) !important;
    color: var(--color-black) !important;
}

.article-body em,
.article-body i {
    font-style: normal !important;
    font-family: var(--font-family-apfel) !important;
}

/* Ensure headings maintain proper styling */
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    font-family: var(--font-family-apfel) !important;
    color: var(--color-black) !important;
}

/* Paragraphs maintain proper styling */
.article-body p {
    font-family: var(--font-family-apfel) !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 110% !important;
    letter-spacing: 0.32px !important;
    color: var(--color-black) !important;
    margin: 0 0 20px 0 !important;
}

/* Images in article body */
.article-body img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
}

/* Lists in article body */
.article-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-body ul > li {
    font-family: var(--font-family-apfel);
    font-weight: 400;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: 0.32px;
    color: var(--color-black);
    padding-left: 24px;
    position: relative;
}

.article-body ul > li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-green-500);
    font-size: 20px;
}

/* Ordered lists should remain ordered (Beehiiv uses lots of <ol>) */
.article-body ol {
    list-style: decimal;
    padding-left: 24px;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-body ol > li {
    font-family: var(--font-family-apfel);
    font-weight: 400;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: 0.32px;
    color: var(--color-black);
}

.article-body ol > li::before {
    content: none !important;
}

/* Prevent double spacing when Beehiiv wraps list items in <p class="paragraph"> */
.article-body li > p {
    margin: 0 !important;
}

/*
 * Beehiiv: the first top-level <ul> inside the newsletter body is usually the
 * “table of contents” (anchor links). In the Figma insight design this list
 * is styled in green.
 */
.article-body .beehiiv__body > ul:first-of-type > li,
.article-body .beehiiv__body > ul:first-of-type > li > p,
.article-body .beehiiv__body > ul:first-of-type > li > p > a {
    color: var(--color-green-500) !important;
}

.article-body .beehiiv__body > ul:first-of-type > li::before {
    color: var(--color-green-500) !important;
}

.article-intro p {
    font-family: var(--font-family-apfel);
    font-weight: 400; /* Regular */
    font-size: 16px;
    line-height: 110%; /* Body style */
    letter-spacing: 0.32px; /* 2% of 16px */
    color: var(--color-black);
    margin: 0 0 20px 0;
}

/* Table of Contents */
.article-toc {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-toc h3 {
    margin: 0;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toc-list li {
    font-family: var(--font-family-apfel);
    font-weight: 400; /* Regular */
    font-size: 16px;
    line-height: 110%; /* Body style */
    letter-spacing: 0.32px; /* 2% of 16px */
    color: var(--color-green-500);
    padding-left: 24px;
    position: relative;
}

.toc-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-green-500);
    font-size: 20px;
}

/* Strategy Sections */
.strategy-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* H1 - Apfel Grotezk, Mittel, 36px, 140% line height, -1% tracking */
.strategy-section h2 {
    font-family: var(--font-family-apfel);
    font-weight: 500; /* Mittel */
    font-size: 36px;
    line-height: 140%;
    letter-spacing: -0.36px; /* -1% of 36px */
    color: var(--color-black);
    margin: 0;
}

.strategy-section p {
    font-family: var(--font-family-apfel);
    font-weight: 400; /* Regular */
    font-size: 16px;
    line-height: 110%; /* Body style */
    letter-spacing: 0.32px; /* 2% of 16px */
    color: var(--color-black);
    margin: 0;
}

.article-link {
    color: var(--color-green-500);
    text-decoration: none;
}

.article-link:hover {
    text-decoration: underline;
}

/* Strategy Lists */
.strategy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.strategy-list li {
    font-family: var(--font-family-apfel);
    font-weight: 400; /* Regular */
    font-size: 16px;
    line-height: 110%; /* Body style */
    letter-spacing: 0.32px; /* 2% of 16px */
    color: var(--color-black);
    padding-left: 24px;
    position: relative;
}

.strategy-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-green-500);
    font-size: 20px;
}

.strategy-numbered-list {
    list-style: decimal;
    padding-left: 24px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.strategy-numbered-list li {
    font-family: var(--font-family-apfel);
    font-weight: 400; /* Regular */
    font-size: 16px;
    line-height: 110%; /* Body style */
    letter-spacing: 0.32px; /* 2% of 16px */
    color: var(--color-black);
}

/* Infographic Image */
.infographic-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
}

/* Article Disclaimer */
.article-disclaimer {
    padding: 30px 0;
    margin-top: 40px;
}

/* Small - Apfel Grotezk, Regular, 12px, 140% line height, -1% tracking */
.article-disclaimer p {
    font-family: var(--font-family-apfel);
    font-weight: 400; /* Regular */
    font-size: 12px;
    line-height: 140%;
    letter-spacing: -0.12px; /* -1% of 12px */
    color: var(--color-dark-gray);
    margin: 0;
}

/* Article Engagement */
.article-engagement {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px 0;
    margin-top: 40px;
}

.engagement-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.engagement-btn {
    background-color: transparent;
    border: 1px solid var(--color-gray);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s, border-color 0.2s;
}

.engagement-btn svg {
    width: 24px;
    height: 24px;
    color: var(--color-black);
}

.engagement-btn:hover {
    background-color: var(--color-light-gray);
    border-color: var(--color-green-500);
}

.comment-box {
    width: 100%;
}

/* LABEL - Maison Neue, Mono, 12px, 140% line height, -1% tracking */
.comment-input {
    width: 100%;
    min-height: 120px;
    padding: 16px;
    border: 1px solid var(--color-gray);
    background-color: var(--color-light-gray);
    font-family: var(--font-family-maison);
    font-size: 12px;
    line-height: 140%;
    letter-spacing: -0.12px; /* -1% of 12px */
    text-transform: uppercase;
    color: var(--color-black);
    resize: vertical;
    outline: none;
    border-radius: 4px;
}

.comment-input:focus {
    border-color: var(--color-green-500);
    background-color: var(--color-white);
}

.comment-input::placeholder {
    color: var(--color-dark-gray);
}

/* More Like This Section */
.more-like-section {
    width: 100%;
    padding: 40px 0;
    background-color: var(--color-white);
}

.more-like-header {
    width: calc(100% - 120px);
    margin: 0 var(--spacing-section);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-bottom: 40px;
}

.more-like-header .meta-data {
    margin: 0;
}

.more-like-engagement {
    display: flex;
    gap: 12px;
    align-items: center;
}

.more-like-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.more-like-btn:hover {
    opacity: 0.7;
}

.more-like-btn img {
    width: 22px;
    height: 21px;
    display: block;
}

.more-like-container {
    width: calc(100% - 120px);
    margin: 0 var(--spacing-section);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.more-like-item {
    border-top: 1px solid var(--color-dark-gray);
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.more-like-item:first-child {
    border-top: none;
}

.more-like-item .tag {
    position: absolute;
    top: 40px;
    right: 0;
}

/* H3 - Apfel Grotezk, Mittel, 24px, 140% line height, -1% tracking */
.more-like-item h3 {
    margin: 0;
    color: var(--color-black);
}

.more-like-item h3 a {
    color: inherit;
    text-decoration: none;
}

.more-like-item h3 a:hover {
    color: var(--color-dark-gray);
    font-family: var(--font-family-apfel);
    font-weight: 500; /* Mittel */
    font-size: 24px;
    line-height: 140%;
    letter-spacing: -0.24px; /* -1% of 24px */
}

.more-like-item .author-name {
    color: var(--color-black);
}

/* Load More Button */
.more-like-section .load-more-container {
    display: flex;
    justify-content: center;
    width: calc(100% - 120px);
    margin: 40px var(--spacing-section) 0;
}

.more-like-section .btn-load-more {
    border: 1px solid var(--color-gray);
    height: 40px;
    padding: 10px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    cursor: pointer;
    font-family: var(--font-family-apfel);
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0px;
    color: var(--color-black);
    transition: border-color 0.2s, background-color 0.2s;
}

.more-like-section .btn-load-more:hover:not(:disabled) {
    border-color: var(--color-green-500);
    background-color: var(--color-light-gray);
}

.more-like-section .btn-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
    padding-left: 12px;
}

.more-like-item .author-name::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-black);
}

.tag-finance {
    background-color: var(--color-gold);
}

/* Footer */
.footer {
    background-color: var(--color-light-gray);
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 81px;
    padding-bottom: 40px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 var(--spacing-section) 40px;
    width: calc(100% - 120px);
    gap: 60px;
}

.footer-links {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    font-family: var(--font-family-apfel);
    font-weight: 400; /* Regular */
    font-size: 16px;
    line-height: 110%; /* Body style */
    letter-spacing: 0.32px; /* 2% of 16px */
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
    text-transform: uppercase;
}

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

.footer-social {
    display: flex;
    gap: 22px;
    align-items: center;
    margin-left: auto;
}

.social-icon {
    display: block;
}

.social-icon img {
    width: 20px;
    height: auto;
    display: block;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.footer-logo-img {
    width: auto;
    height: auto;
    max-width: 200px;
    max-height: 85px;
    object-fit: contain;
    display: block;
}

/* Small - Apfel Grotezk, Regular, 12px, 140% line height, -1% tracking */
.footer-disclaimer {
    width: calc(100% - 120px);
    margin: 40px var(--spacing-section) 0;
    font-family: var(--font-family-apfel);
    font-weight: 400; /* Regular */
    font-size: 12px;
    line-height: 140%;
    letter-spacing: -0.12px; /* -1% of 12px */
    color: var(--color-black);
    padding: 20px 0;
    text-align: left;
}

.footer-disclaimer a {
    color: var(--color-black);
    text-decoration: underline;
}

/* Mobile/Desktop Visibility Classes */
.mobile-only {
    display: none;
}

.mobile-only[hidden] {
    display: none !important;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .mobile-only[hidden] {
        display: block !important;
    }

    :root {
        --spacing-section: 20px;
        --spacing-section-divider: 20px;
    }
    
    /* Mobile Navigation */
    .nav-default.mobile-only {
        height: auto;
        padding: 0;
        position: sticky;
        top: 0;
        z-index: 999;
    }

    .nav-container-mobile {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
    }

    .nav-menu-button-mobile {
        width: 40px;
        height: 40px;
        background-color: var(--color-green-500);
        border: none;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        transition: background-color 0.2s;
    }

    .nav-menu-button-mobile:hover {
        background-color: var(--color-green-700);
    }

    .nav-menu-button-mobile .plus-icon {
        width: 20px;
        height: 20px;
        color: var(--color-black);
    }

    .nav-menu-items-mobile {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        width: 100%;
    }

    .nav-menu-item-mobile {
        display: flex;
        align-items: stretch;
        width: 100%;
        border: 1px solid var(--color-dark-gray);
        border-right: none;
        border-top: none;
    }

    .nav-menu-item-mobile:first-child {
        border-top: 1px solid var(--color-dark-gray);
    }

    /* NAVIGATION - Maison Neue, Mono, 12px, 160% line height, -1% tracking */
    .nav-item-text {
        flex: 1;
        background-color: var(--color-light-gray);
        padding: 12px 20px;
        font-family: var(--font-family-maison);
        font-weight: 400;
        font-size: 12px;
        line-height: 160%;
        letter-spacing: -0.12px; /* -1% of 12px */
        text-transform: uppercase;
        color: var(--color-black);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu-item-mobile:first-child .nav-item-text {
        border-top-left-radius: 8px;
    }

    .nav-menu-item-mobile:last-child .nav-item-text {
        border-bottom-left-radius: 8px;
    }

    .nav-item-button {
        width: 48px;
        height: auto;
        background-color: var(--color-green-500);
        border: none;
        border-left: 1px solid var(--color-dark-gray);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        transition: background-color 0.2s;
        flex-shrink: 0;
    }

    .nav-item-button:hover {
        background-color: var(--color-green-700);
    }

    .nav-item-button .plus-icon {
        width: 20px;
        height: 20px;
        color: var(--color-black);
    }

    .nav-progress-bar-mobile {
        width: 100%;
        height: 4px;
        background-color: var(--color-light-gray);
        border-top: 1px solid var(--color-dark-gray);
        position: relative;
        overflow: hidden;
    }

    .nav-progress-fill-mobile {
        height: 100%;
        width: 40%;
        background-color: var(--color-green-500);
        transition: width 0.3s ease;
    }
    
    /* Desktop Navigation - Hidden on Mobile */
    .nav-container {
        display: none;
    }
    
    /* Section Dividers */
    .section-divider {
        width: calc(100% - 40px);
        margin: 0 20px;
    }
    
    /* Article Previews */
    .article-previews-container {
        flex-direction: column;
        width: calc(100% - 40px);
        margin: 0 20px;
    }
    
    .article-preview-item {
        border-right: none;
        border-bottom: 1px solid var(--color-dark-gray);
        padding: 30px 20px;
        height: 118px;
        min-height: 118px;
        max-height: 118px;
    }
    
    .article-preview-item:last-child {
        border-bottom: none;
    }
    
    /* Article Section */
    .article-section {
        padding: 40px 0;
    }
    
    .article-container {
        width: calc(100% - 40px);
        margin: 0 20px;
    }
    
    .article-header {
        margin-bottom: 40px;
        gap: 16px;
    }

    /* Mobile Tag and Date */
    .article-tag-date-mobile {
        display: flex !important;
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        width: 100%;
    }

    .article-date-mobile {
        font-family: var(--font-family-maison);
        font-size: 12px;
        line-height: 140%;
        letter-spacing: -0.12px; /* -1% of 12px */
        text-transform: uppercase;
        color: var(--color-dark-gray);
        margin: 0;
    }

    /* Mobile Article Authors */
    .article-authors-mobile {
        display: flex !important;
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        width: 100%;
        margin-top: 24px;
    }

    .article-author-info-mobile {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .author-avatar-mobile {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background-color: var(--color-green-500);
        flex-shrink: 0;
    }

    /* LABEL - Maison Neue, Mono, 12px, 140% line height, -1% tracking */
    .author-name-mobile {
        font-family: var(--font-family-maison);
        font-size: 12px;
        line-height: 140%;
        letter-spacing: -0.12px; /* -1% of 12px */
        text-transform: uppercase;
        color: var(--color-dark-gray);
        margin: 0;
    }
    
    
    .article-authors {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .article-body {
        gap: 30px;
    }
    
    .article-intro p {
        font-size: 16px; /* Body style */
        line-height: 110%;
        letter-spacing: 0.32px; /* 2% of 16px */
    }
    
    .strategy-section {
        gap: 20px;
    }
    
    .strategy-section h2 {
        font-size: 24px; /* H3 style */
        line-height: 140%;
        letter-spacing: -0.24px; /* -1% of 24px */
    }
    
    .strategy-section p {
        font-size: 16px; /* Body style */
        line-height: 110%;
        letter-spacing: 0.32px; /* 2% of 16px */
    }
    
    .strategy-list li,
    .strategy-numbered-list li {
        font-size: 16px; /* Body style */
        line-height: 110%;
        letter-spacing: 0.32px; /* 2% of 16px */
    }
    
    .article-engagement {
        padding: 30px 0;
        gap: 20px;
    }
    
    .more-like-header {
        width: calc(100% - 40px);
        margin: 0 20px;
        padding-bottom: 30px;
    }
    
    .more-like-container {
        width: calc(100% - 40px);
        margin: 0 20px;
    }
    
    .more-like-item {
        padding: 30px 0;
    }
    
    .more-like-item .tag {
        top: 30px;
    }
    
    /* More Like This Section - Mobile */
    .more-like-section-mobile {
        width: 100%;
        padding: 40px 0;
        background-color: var(--color-white);
    }
    
    .more-like-header-mobile {
        width: calc(100% - 40px);
        margin: 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 30px;
    }
    
    .more-like-header-mobile .meta-data {
        margin: 0;
    }
    
    .more-like-engagement-mobile {
        display: flex;
        gap: 12px;
        align-items: center;
    }
    
    .more-like-btn-mobile {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.2s;
    }
    
    .more-like-btn-mobile:hover {
        opacity: 0.7;
    }
    
    .more-like-btn-mobile img {
        width: 22px;
        height: 21px;
        display: block;
    }
    
    .more-like-container-mobile {
        width: calc(100% - 40px);
        margin: 0 20px;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .more-like-item-mobile {
        padding: 20px 0;
        border-bottom: 1px solid var(--color-dark-gray);
    }
    
    .more-like-item-mobile h3 {
        font-size: 18px;
        margin-bottom: 12px;
        color: var(--color-black);
        font-family: var(--font-family-apfel);
        font-weight: 500; /* Mittel */
        line-height: 140%;
        letter-spacing: -0.18px; /* -1% of 18px */
    }
    
    .more-like-item-mobile h3 a {
        color: inherit;
        text-decoration: none;
    }
    
    .more-like-item-mobile h3 a:hover {
        color: var(--color-dark-gray);
    }
    
    .more-like-meta-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }
    
    .more-like-meta-left-mobile {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .more-like-avatar-mobile {
        width: 32px;
        height: 32px;
        border-radius: 100px;
        background-color: var(--color-green-500);
        background-size: cover;
        background-position: center;
        flex-shrink: 0;
    }
    
    .more-like-meta-mobile p {
        margin: 0;
        font-size: 12px;
        color: var(--color-black);
    }
    
    /* Footer - Mobile Layout */
    .footer {
        padding-top: 40px;
        padding-bottom: 20px;
    }
    
    .footer-content {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 20px;
        margin: 0 20px 30px;
        width: calc(100% - 40px);
    }
    
    .footer-links {
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: start;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .footer-logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        width: auto;
        justify-content: flex-end;
    }
    
    .footer-social {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
        margin-left: 0;
        display: flex;
        flex-direction: row;
        gap: 22px;
    }
    
    .footer-logo-img {
        max-width: 150px;
        max-height: 64px;
    }
    
    .footer-disclaimer {
        width: calc(100% - 40px);
        margin: 20px 20px 0;
        font-size: 12px; /* Small style */
        line-height: 140%;
        letter-spacing: -0.12px; /* -1% of 12px */
        padding: 20px 0;
    }

    /* Navigation Overlay - Mobile Only */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--color-green-500);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-overlay-content {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .nav-overlay-right-edge {
        position: absolute;
        top: 0;
        right: 0;
        width: 50px;
        height: 100%;
        background-color: var(--color-green-500);
        border-left: 1px solid var(--color-white);
        z-index: 1;
    }

    .nav-overlay-close {
        position: absolute;
        top: 20px;
        right: 25px;
        width: 24px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1002;
        padding: 0;
        transform: translateX(50%);
    }

    .nav-overlay-close svg {
        width: 100%;
        height: 100%;
        stroke: var(--color-black);
        stroke-width: 2;
    }

    .nav-overlay-watermark {
        display: none;
    }

    .nav-overlay-menu {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        position: relative;
        z-index: 1;
        padding: 0;
        width: calc(100% - 50px);
        height: 100%;
    }

    .nav-overlay-item {
        border-bottom: 1px solid var(--color-white);
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
        min-height: 0;
    }

    .nav-overlay-item:first-child {
        border-top: none;
    }

    .nav-overlay-item-active {
        background-color: var(--color-green-100);
    }

    .nav-overlay-link-logo {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0;
        width: 100%;
        height: 100%;
    }

    .nav-overlay-logo {
        height: auto;
        width: auto;
        max-height: 24px;
        display: block;
    }

    /* NAVIGATION - Maison Neue, Mono, 12px, 160% line height, -1% tracking */
    .nav-overlay-link {
        font-family: var(--font-family-maison);
        font-weight: 400;
        font-size: 12px;
        line-height: 160%;
        letter-spacing: -0.12px; /* -1% of 12px */
        text-transform: uppercase;
        color: var(--color-black);
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        transition: opacity 0.2s;
    }

    .nav-overlay-link:hover {
        opacity: 0.7;
    }

    .nav-overlay-social {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 60px 0 40px 0;
        position: relative;
        z-index: 1;
        margin-top: auto;
        width: calc(100% - 50px);
    }

    .nav-overlay-social-icon {
        display: block;
        width: 24px;
        height: 24px;
    }

    .nav-overlay-social-icon img {
        width: 100%;
        height: 100%;
        display: block;
        filter: brightness(0);
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-section: 16px;
        --spacing-section-divider: 16px;
    }
    
    /* Typography adjustments */
    h1:not(.insights-title), h2, .heading-1 {
        font-size: 28px;
    }
    
    h3, .heading-2 {
        font-size: 20px;
    }
    
    h4, .heading-3 {
        font-size: 18px;
    }
    
    /* Navigation */
    .nav-item {
        font-size: 12px; /* NAVIGATION style */
        line-height: 160%;
        letter-spacing: -0.12px; /* -1% of 12px */
    }
    
    /* Article Previews */
    .article-preview-item {
        padding: 24px 16px;
        height: 118px;
        min-height: 118px;
        max-height: 118px;
    }
    
    /* Article Section */
    .article-container {
        width: calc(100% - 32px);
        margin: 0 16px;
    }
    
    .article-header h1:not(.insights-title) {
        font-size: 28px;
    }
    
    
    .article-subtitle {
        font-size: 18px;
    }
    
    .article-intro p {
        font-size: 16px; /* Body style */
        line-height: 110%;
        letter-spacing: 0.32px; /* 2% of 16px */
    }
    
    .strategy-section h2 {
        font-size: 24px; /* H3 style */
        line-height: 140%;
        letter-spacing: -0.24px; /* -1% of 24px */
    }
    
    .strategy-section p {
        font-size: 16px; /* Body style */
        line-height: 110%;
        letter-spacing: 0.32px; /* 2% of 16px */
    }
    
    .more-like-header {
        width: calc(100% - 32px);
        margin: 0 16px;
        padding-bottom: 24px;
    }
    
    .more-like-container {
        width: calc(100% - 32px);
        margin: 0 16px;
    }
    
    .more-like-item {
        padding: 24px 0;
    }
    
    .more-like-item .tag {
        top: 24px;
    }
    
    /* Footer */
    .footer-links a {
        font-size: 16px; /* Body style */
        line-height: 110%;
        letter-spacing: 0.32px; /* 2% of 16px */
    }
}

