/* Article Page Styles */

.article-page {
    background: white;
}

.article-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
}

.sponsored-banner {
    background: #d4e8f7;
    color: #1a1a1a;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin-bottom: 0;
}

/* Featured Image comes FIRST */
.article-featured-image {
    margin: 0;
    width: 100%;
}



.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Header - comes AFTER image */
.article-header {
    padding: 20px 20px 0 20px;
}

.article-header h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #1d1d1f;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: -0.022em;
}

/* Excerpt/Subheadline */
.article-excerpt {
    font-size: 1.25rem;
    line-height: 1.5;
    color: #6e6e73;
    margin-bottom: 18px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.article-byline {
    display: flex;
    gap: 8px;
    font-size: 0.938rem;
    color: #86868b;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin-bottom: 14px;
}

.article-byline .date:after {
    content: " / ";
    margin: 0 4px;
}

/* Sponsor Attribution */
.sponsor-attribution {
    font-size: 0.938rem;
    color: #86868b;
    font-style: italic;
    margin-top: 14px;
    padding-bottom: 22px;
    border-bottom: 1px solid #d2d2d7;
    font-family: "Charter", Georgia, "Times New Roman", serif;
}

/* Article Body */
.article-body {
    padding: 20px;
    font-size: 1.375rem;
    line-height: 1.75;
    color: #1d1d1f;
    font-family: "Charter", Georgia, "Times New Roman", serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.article-body .lead {
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1.6;
    color: #1d1d1f;
    margin-bottom: 1.5rem;
    font-family: "Charter", Georgia, "Times New Roman", serif;
}

.article-body p {
    margin-bottom: 1.33rem;
}

.article-body h2 {
    font-size: 1.875rem;
    margin: 2.5rem 0 1.2rem;
    color: #1d1d1f;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: -0.022em;
}

.article-body strong {
    color: #1d1d1f;
    font-weight: 600;
}

.article-link {
    color: #0066cc;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(0, 102, 204, 0.4);
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}

.article-link:hover {
    color: #0052a3;
    text-decoration-color: #0052a3;
}

.article-inline-img {
    display: block;
    max-width: 370px;
    width: 100%;
    height: auto;
    margin: 1.5rem 0 1.5rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}


.article-body h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.2rem;
    color: #1a1a1a;
}

.article-body strong {
    color: #1a1a1a;
    font-weight: 700;
}


.tldr-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0066cc;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    animation: subtle-pulse 3s ease-in-out infinite;
}

.tldr-box-secondary {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.1);
}

@keyframes subtle-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.01);
    }
}

.tldr-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    text-align: center;
}

.tldr-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tldr-emoji {
    font-size: 1.5rem;
    line-height: 1;
}

.tldr-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.tldr-button {
    background: #0066cc;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1.063rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.tldr-button:hover {
    background: #0052a3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

.tldr-box-secondary .tldr-button {
    background: #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.tldr-box-secondary .tldr-button:hover {
    background: #d97706;
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* Video Wrapper Styles */
.video-wrapper {
    position: relative;
    margin: 3rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.video-link {
    display: block;
    position: relative;
}

.video-link img {
    width: 100%;
    height: auto;
    display: block;
}

.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    transition: background 0.3s ease;
}

.video-link:hover .play-button-overlay {
    background: rgba(0,0,0,0.5);
}

.play-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    padding-left: 6px;
    transition: transform 0.2s ease;
    animation: pulse-play 2s infinite;
}

.video-link:hover .play-icon {
    transform: scale(1.1);
}

@keyframes pulse-play {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.disclaimer-small {
    font-size: 0.75rem;
    color: #718096;
    font-style: italic;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

/* Author Bio */
.author-bio {
    background: #f7fafc;
    border-radius: 8px;
    padding: 2rem;
    margin: 3rem 0;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    align-items: center;
}

.author-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    color: #4a5568;
}

.author-info strong {
    color: #1a1a1a;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .article-header {
        padding: 16px 16px 0 16px;
    }

    .article-header h1 {
        font-size: 1.875rem;
    }

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

    .article-byline {
        font-size: 0.875rem;
        flex-wrap: wrap;
    }

    .article-body {
        padding: 16px;
       
    }

    .article-body .lead {
        font-size: 1.25rem;
    }

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

    .author-bio {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.5rem;
    }

    .author-photo {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }

    .play-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    .tldr-box {
        padding: 1.25rem;
        margin: 2rem 0;
    }

    .tldr-content {
        flex-direction: column;
        gap: 1rem;
    }

    .tldr-header {
        text-align: center;
    }

    .tldr-emoji {
        font-size: 1.5rem;
    }

    .tldr-text {
        font-size: 1.063rem;
    }

    .tldr-button {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1.063rem;
    }
}

@media (max-width: 480px) {
    .article-header h1 {
        font-size: 1.625rem;
    }

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

    .article-body {
        font-size: 1.2rem;
    }

    .article-body .lead {
        font-size: 1.2rem;
    }

    .article-body h2 {
        font-size: 1.5rem;
    }
      .tldr-box {
        padding: 1rem;
        margin: 1.5rem 0;
    }

    .tldr-emoji {
        font-size: 1.125rem;
    }

    .tldr-text {
        font-size: 0.938rem;
    }

    .tldr-button {
        padding: 0.75rem 1rem;
        font-size: 0.938rem;
    }
}
/* Video Overlay Overrides - DO NOT REMOVE */
.video-overlay,
.video-overlay *,
.video-status-text,
.video-unmute-text,
.volume-icon {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
}

.video-overlay:hover,
.video-overlay:focus,
.video-overlay:active {
    text-decoration: none !important;
    border: none !important;
}