/* Newspaper-Style Blog Article Popup */

/* ================================
   BLOG POPUP CSS VARIABLES
   ================================ */
:root {
    /* Overlay Variables */
    --blog-popup-overlay-background: rgba(0, 0, 0, 0.8);
    --blog-popup-overlay-z-index: 10000;
    --blog-popup-overlay-transition: opacity 0.3s ease;
    --blog-popup-overlay-padding: 20px;
    --blog-popup-overlay-opacity-inactive: 0;
    --blog-popup-overlay-opacity-active: 1;

    /* Container Variables */
    --blog-popup-container-background: #ffffff;
    --blog-popup-container-max-width: 1000px;
    --blog-popup-container-margin: 20px auto;
    --blog-popup-container-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    --blog-popup-container-border: 1px solid #ddd;
    --blog-popup-container-min-height: 80vh;

    /* Close Button Variables */
    --blog-popup-close-size: 28px;
    --blog-popup-close-background: #333;
    --blog-popup-close-background-hover: #dc2626;
    --blog-popup-close-color: white;
    --blog-popup-close-border-radius: 50%;
    --blog-popup-close-font-size: 16px;
    --blog-popup-close-transition: background 0.3s ease;
    --blog-popup-close-z-index: 1001;

    /* Header Variables */
    --blog-popup-header-border-bottom: 3px solid #000;
    --blog-popup-header-padding: 30px 40px;
    --blog-popup-header-background: #f8f9fa;

    /* Masthead Variables */
    --blog-popup-masthead-border-bottom: 1px solid #ccc;
    --blog-popup-masthead-padding-bottom: 15px;
    --blog-popup-masthead-margin-bottom: 30px;

    /* Date Variables */
    --blog-popup-date-font-size: 14px;
    --blog-popup-date-color: #666;
    --blog-popup-date-font-weight: 500;

    /* Edition Variables */
    --blog-popup-edition-font-size: 14px;
    --blog-popup-edition-color: #666;
    --blog-popup-edition-font-weight: 500;

    /* Rotating Icon Variables */
    --blog-popup-rotating-icon-width: 60px;
    --blog-popup-rotating-icon-height: 60px;
    --blog-popup-rotating-icon-animation: newspaperRotateY 15s linear infinite;
    --blog-popup-rotating-icon-margin: 0 20px;

    /* Featured Image Variables */
    --blog-popup-featured-image-width: 100%;
    --blog-popup-featured-image-height: 300px;
    --blog-popup-featured-image-margin-bottom: 25px;
    --blog-popup-featured-image-border: 2px solid #ddd;

    /* Main Image Variables */
    --blog-popup-main-image-width: 100%;
    --blog-popup-main-image-height: 100%;
    --blog-popup-main-image-object-fit: cover;
    --blog-popup-main-image-object-position: center;

    /* Headline Section Variables */
    --blog-popup-headline-section-text-align: center;
    --blog-popup-headline-section-max-width: 100%;

    /* Headline Variables */
    --blog-popup-headline-font-family: 'Times New Roman', serif;
    --blog-popup-headline-font-size: clamp(28px, 4vw, 42px);
    --blog-popup-headline-font-weight: bold;
    --blog-popup-headline-color: #000;
    --blog-popup-headline-margin: 0 0 15px 0;
    --blog-popup-headline-line-height: 1.2;
    --blog-popup-headline-text-align: center;

    /* Subtitle Variables */
    --blog-popup-subtitle-display: flex;
    --blog-popup-subtitle-justify-content: center;
    --blog-popup-subtitle-align-items: center;
    --blog-popup-subtitle-gap: 20px;
    --blog-popup-subtitle-flex-wrap: wrap;

    /* Byline Variables */
    --blog-popup-byline-font-style: italic;
    --blog-popup-byline-color: #666;
    --blog-popup-byline-font-size: 16px;
    --blog-popup-byline-text-align: center;

    /* Content Variables */
    --blog-popup-content-flex: 1;
    --blog-popup-content-padding: 40px;
    --blog-popup-content-background: white;

    /* Sections Variables */
    --blog-popup-sections-display: flex;
    --blog-popup-sections-flex-direction: column;
    --blog-popup-sections-gap: 30px;

    /* Section Variables */
    --blog-popup-section-background: #ffffff;
    --blog-popup-section-border-left: 4px solid rgba(0, 0, 0, 0.1);
    --blog-popup-section-padding: 25px;
    --blog-popup-section-margin-bottom: 20px;
    --blog-popup-section-border-radius: 0 8px 8px 0;
    --blog-popup-section-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);

    /* Section Title Variables */
    --blog-popup-section-title-font-family: 'Times New Roman', serif;
    --blog-popup-section-title-font-size: 22px;
    --blog-popup-section-title-font-weight: bold;
    --blog-popup-section-title-color: #000;
    --blog-popup-section-title-margin: 0 0 20px 0;
    --blog-popup-section-title-padding-bottom: 10px;
    --blog-popup-section-title-border-bottom: 2px solid #000;
    --blog-popup-section-title-text-transform: capitalize;

    /* Section Content Variables */
    --blog-popup-section-content-font-family: 'Times New Roman', serif;
    --blog-popup-section-content-font-size: 16px;
    --blog-popup-section-content-line-height: 1.7;
    --blog-popup-section-content-color: #333;
    --blog-popup-section-content-text-align: justify;

    /* Section Paragraph Variables */
    --blog-popup-section-p-margin: 0 0 16px 0;
    --blog-popup-section-p-text-indent: 20px;

    /* Expand Indicator Variables */
    --blog-popup-expand-indicator-float: right;
    --blog-popup-expand-indicator-font-size: 16px;
    --blog-popup-expand-indicator-transition: transform 0.3s ease;

    /* Expanded Content Variables */
    --blog-popup-expanded-content-display: none;
    --blog-popup-expanded-content-margin-top: 20px;
    --blog-popup-expanded-content-padding-top: 20px;
    --blog-popup-expanded-content-border-top: 1px solid #eee;

    /* Expanded H4 Variables */
    --blog-popup-expanded-h4-font-size: 18px;
    --blog-popup-expanded-h4-font-weight: bold;
    --blog-popup-expanded-h4-color: #000;
    --blog-popup-expanded-h4-margin: 20px 0 10px 0;

    /* Expanded Paragraph Variables */
    --blog-popup-expanded-p-margin: 0 0 16px 0;
    --blog-popup-expanded-p-text-indent: 20px;
    --blog-popup-expanded-p-line-height: 1.7;

    /* Footer Variables */
    --blog-popup-footer-border-top: 3px solid #000;
    --blog-popup-footer-padding: 20px 40px;
    --blog-popup-footer-background: #f8f9fa;
    --blog-popup-footer-margin-top: auto;

    /* Footer Line Variables */
    --blog-popup-footer-line-height: 1px;
    --blog-popup-footer-line-background: #ccc;
    --blog-popup-footer-line-margin-bottom: 15px;

    /* Footer Info Variables */
    --blog-popup-footer-info-display: flex;
    --blog-popup-footer-info-justify-content: space-between;
    --blog-popup-footer-info-align-items: center;
    --blog-popup-footer-info-flex-wrap: wrap;
    --blog-popup-footer-info-gap: 15px;

    /* Read Time Variables */
    --blog-popup-read-time-font-size: 14px;
    --blog-popup-read-time-color: #666;
    --blog-popup-read-time-font-weight: 500;

    /* Tags Variables */
    --blog-popup-tags-display: flex;
    --blog-popup-tags-gap: 10px;
    --blog-popup-tags-flex-wrap: wrap;
}

/* Reset and Base Styles */
.newspaper-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--blog-popup-overlay-background);
    display: none;
    justify-content: center;
    align-items: flex-start;
    z-index: var(--blog-popup-overlay-z-index);
    opacity: var(--blog-popup-overlay-opacity-inactive);
    transition: var(--blog-popup-overlay-transition);
    padding: var(--blog-popup-overlay-padding);
    box-sizing: border-box;
    overflow-y: auto;
}

.newspaper-overlay.active {
    opacity: var(--blog-popup-overlay-opacity-active);
}

/* Main Newspaper Container */
.newspaper-container {
    background: var(--blog-popup-container-background);
    width: 100%;
    max-width: var(--blog-popup-container-max-width);
    margin: var(--blog-popup-container-margin);
    box-shadow: var(--blog-popup-container-shadow);
    border: var(--blog-popup-container-border);
    position: relative;
    min-height: var(--blog-popup-container-min-height);
    display: flex;
    flex-direction: column;
}

/* Close Button */
.newspaper-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: var(--blog-popup-close-size);
    height: var(--blog-popup-close-size);
    background: var(--blog-popup-close-background);
    color: var(--blog-popup-close-color);
    border: none;
    border-radius: var(--blog-popup-close-border-radius);
    font-size: var(--blog-popup-close-font-size);
    cursor: pointer;
    z-index: var(--blog-popup-close-z-index);
    transition: var(--blog-popup-close-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newspaper-close:hover {
    background: var(--blog-popup-close-background-hover);
}

/* Newspaper Header Section */
.newspaper-header {
    border-bottom: var(--blog-popup-header-border-bottom);
    padding: var(--blog-popup-header-padding);
    background: var(--blog-popup-header-background);
}

/* Masthead */
.newspaper-masthead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: var(--blog-popup-masthead-border-bottom);
    padding-bottom: var(--blog-popup-masthead-padding-bottom);
    margin-bottom: var(--blog-popup-masthead-margin-bottom);
}

.newspaper-date {
    font-size: var(--blog-popup-date-font-size);
    color: var(--blog-popup-date-color);
    font-weight: var(--blog-popup-date-font-weight);
}

.newspaper-edition {
    font-size: var(--blog-popup-edition-font-size);
    color: var(--blog-popup-edition-color);
    font-weight: var(--blog-popup-edition-font-weight);
}

/* Featured Image */
.newspaper-featured-image {
    width: var(--blog-popup-featured-image-width);
    height: var(--blog-popup-featured-image-height);
    margin-bottom: var(--blog-popup-featured-image-margin-bottom);
    overflow: hidden;
    border: var(--blog-popup-featured-image-border);
}

.newspaper-featured-image img {
    width: var(--blog-popup-main-image-width);
    height: var(--blog-popup-main-image-height);
    object-fit: var(--blog-popup-main-image-object-fit);
    object-position: var(--blog-popup-main-image-object-position);
}

/* Headline Section */
.newspaper-headline-section {
    text-align: var(--blog-popup-headline-section-text-align);
    max-width: var(--blog-popup-headline-section-max-width);
    overflow: hidden;
}

.newspaper-headline {
    font-family: var(--blog-popup-headline-font-family);
    font-size: var(--blog-popup-headline-font-size);
    font-weight: var(--blog-popup-headline-font-weight);
    color: var(--blog-popup-headline-color);
    margin: var(--blog-popup-headline-margin);
    line-height: var(--blog-popup-headline-line-height);
    word-wrap: break-word;
    hyphens: auto;
    text-align: var(--blog-popup-headline-text-align);
}

.newspaper-subtitle {
    display: var(--blog-popup-subtitle-display);
    justify-content: var(--blog-popup-subtitle-justify-content);
    align-items: var(--blog-popup-subtitle-align-items);
    gap: var(--blog-popup-subtitle-gap);
    flex-wrap: var(--blog-popup-subtitle-flex-wrap);
}

.newspaper-byline {
    font-style: var(--blog-popup-byline-font-style);
    color: var(--blog-popup-byline-color);
    font-size: var(--blog-popup-byline-font-size);
    text-align: var(--blog-popup-byline-text-align);
}

/* Newspaper Content Section */
.newspaper-content {
    flex: var(--blog-popup-content-flex);
    padding: var(--blog-popup-content-padding);
    background: var(--blog-popup-content-background);
}



/* Article Sections Layout */
.newspaper-sections {
    display: var(--blog-popup-sections-display);
    flex-direction: var(--blog-popup-sections-flex-direction);
    gap: var(--blog-popup-sections-gap);
}

.newspaper-section {
    background: var(--blog-popup-section-background);
    border-left: var(--blog-popup-section-border-left);
    padding: var(--blog-popup-section-padding);
    margin-bottom: var(--blog-popup-section-margin-bottom);
    border-radius: var(--blog-popup-section-border-radius);
    box-shadow: var(--blog-popup-section-box-shadow);
}

.newspaper-section-title {
    font-family: var(--blog-popup-section-title-font-family);
    font-size: var(--blog-popup-section-title-font-size);
    font-weight: var(--blog-popup-section-title-font-weight);
    color: var(--blog-popup-section-title-color);
    margin: var(--blog-popup-section-title-margin);
    padding-bottom: var(--blog-popup-section-title-padding-bottom);
    border-bottom: var(--blog-popup-section-title-border-bottom);
    text-transform: var(--blog-popup-section-title-text-transform);
}

/* Expandable Section Functionality */
.expandable-section .expanded-content {
    display: var(--blog-popup-expanded-content-display);
    margin-top: var(--blog-popup-expanded-content-margin-top);
    padding-top: var(--blog-popup-expanded-content-padding-top);
    border-top: var(--blog-popup-expanded-content-border-top);
}

.expandable-section.expanded .expanded-content {
    display: block;
}

.clickable-title {
    cursor: pointer;
    position: relative;
    user-select: none;
}

.clickable-title:hover {
    color: #0891b2;
}

.expand-indicator {
    float: var(--blog-popup-expand-indicator-float);
    font-size: var(--blog-popup-expand-indicator-font-size);
    transition: var(--blog-popup-expand-indicator-transition);
}

.expandable-section.expanded .expand-indicator {
    transform: rotate(180deg);
}

.expanded-content h4 {
    font-size: var(--blog-popup-expanded-h4-font-size);
    font-weight: var(--blog-popup-expanded-h4-font-weight);
    color: var(--blog-popup-expanded-h4-color);
    margin: var(--blog-popup-expanded-h4-margin);
}

.expanded-content p {
    margin: var(--blog-popup-expanded-p-margin);
    text-indent: var(--blog-popup-expanded-p-text-indent);
    line-height: var(--blog-popup-expanded-p-line-height);
}

.newspaper-section-content {
    font-family: var(--blog-popup-section-content-font-family);
    font-size: var(--blog-popup-section-content-font-size);
    line-height: var(--blog-popup-section-content-line-height);
    color: var(--blog-popup-section-content-color);
    text-align: var(--blog-popup-section-content-text-align);
}

.newspaper-section-content p {
    margin: var(--blog-popup-section-p-margin);
    text-indent: var(--blog-popup-section-p-text-indent);
}

.newspaper-section-content p:first-child {
    text-indent: 0;
}

.newspaper-section-content ul,
.newspaper-section-content ol {
    margin: 16px 0;
    padding-left: 25px;
}

.newspaper-section-content li {
    margin-bottom: 8px;
}

.newspaper-section-content h4 {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin: 20px 0 10px 0;
}

/* Ensure ALL content uses Key Points font and is never bold */
.newspaper-section-content p,
.newspaper-section-content div,
.newspaper-section-content span,
.newspaper-section-content * {
    font-weight: normal !important;
    font-weight: 400 !important;
    font-family: 'Times New Roman', serif !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #333 !important;
    text-align: justify !important;
}

/* Add text indentation for paragraphs */
.newspaper-section-content p {
    text-indent: 20px !important;
}

.newspaper-section-content p:first-child {
    text-indent: 0 !important;
}

/* Ensure all headings use the same font family */
.newspaper-section-content h4 {
    font-family: 'Times New Roman', serif !important;
}

/* Newspaper Column Layout for Blog Articles - Maximum Specificity */
.newspaper-section-content .newspaper-columns,
.newspaper-section-content div.newspaper-columns,
.newspaper-section-content .expanded-content .newspaper-columns {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    margin-top: 20px !important;
    column-fill: balance !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
}

.newspaper-section-content .newspaper-column,
.newspaper-section-content div.newspaper-column,
.newspaper-section-content .expanded-content .newspaper-column {
    display: block !important;
    break-inside: avoid !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px !important;
    overflow-wrap: break-word !important;
}

.newspaper-section-content .newspaper-column p {
    font-family: 'Times New Roman', serif !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #333 !important;
    text-align: justify !important;
    margin-bottom: 16px !important;
    text-indent: 20px !important;
    hyphens: auto !important;
    word-wrap: break-word !important;
    font-weight: normal !important;
    font-weight: 400 !important;
}

.newspaper-section-content .newspaper-column p:first-child {
    text-indent: 0 !important;
}

.newspaper-section-content .newspaper-column p:last-child {
    margin-bottom: 0 !important;
}

.newspaper-section-content .newspaper-column ul,
.newspaper-section-content .newspaper-column ol {
    margin: 16px 0 !important;
    padding-left: 25px !important;
}

.newspaper-section-content .newspaper-column li {
    margin-bottom: 8px !important;
    line-height: 1.6 !important;
    font-weight: normal !important;
    font-weight: 400 !important;
}

.newspaper-section-content .newspaper-column h4 {
    font-family: 'Times New Roman', serif !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: #000 !important;
    margin: 20px 0 10px 0 !important;
    text-align: left !important;
    width: 100% !important;
}

/* Force column display with maximum specificity */
.newspaper-section-content .newspaper-columns,
.newspaper-section-content div.newspaper-columns,
.newspaper-section-content .expanded-content .newspaper-columns {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    width: 100% !important;
}

/* Override any flexbox that might be interfering */
.newspaper-section-content .newspaper-columns {
    display: grid !important;
    flex-direction: unset !important;
    justify-content: unset !important;
    align-items: unset !important;
}

/* Ensure paragraphs don't have bold styling */
.newspaper-section-content .newspaper-column p,
.newspaper-section-content .newspaper-column div,
.newspaper-section-content .newspaper-column span {
    font-weight: normal !important;
    font-weight: 400 !important;
    font-weight: unset !important;
}

/* Force normal weight on all text elements */
.newspaper-section-content .newspaper-column *,
.newspaper-section-content .newspaper-column p,
.newspaper-section-content .newspaper-column div,
.newspaper-section-content .newspaper-column span,
.newspaper-section-content .newspaper-column li {
    font-weight: normal !important;
    font-weight: 400 !important;
}

/* Responsive newspaper columns for mobile */
@media (max-width: 768px) {
    .newspaper-section-content .newspaper-columns {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .newspaper-section-content .newspaper-column p {
        text-indent: 0 !important;
        text-align: left !important;
    }

    .newspaper-section-content .newspaper-column h4 {
        text-align: left !important;
    }
}

/* Ensure Key Points section maintains consistent font */
.newspaper-keypoints-content p {
    font-family: 'Times New Roman', serif !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #333 !important;
    text-align: justify !important;
    font-weight: normal !important;
    font-weight: 400 !important;
}

/* Key Points bullet point titles should be bold */
.newspaper-keypoints-content strong,
.key-point-item strong {
    font-weight: bold !important;
    font-weight: 700 !important;
    font-family: 'Times New Roman', serif !important;
    font-size: 14px !important;
    color: #000 !important;
}

/* Section Images */
.newspaper-section-image {
    margin: 25px 0;
    text-align: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
}

.newspaper-section-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.newspaper-section-image-caption {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin: 12px 0 0 0;
    text-align: center;
    line-height: 1.4;
}

/* Graph/Model Support */
.newspaper-section-media {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    align-items: flex-end;
}

.newspaper-section-media .media-content {
    max-width: 564px;
}

.newspaper-section-media .media-caption {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin-top: 12px;
    text-align: center;
}

/* Key Points Special Layout - Side-by-side image and content */
.newspaper-keypoints-layout {
    display: flex !important;
    gap: 30px !important;
    margin: 25px 0;
    align-items: flex-start;
    height: auto;
    width: 100%;
    box-sizing: border-box;
}

.newspaper-keypoints-image {
    flex: 0 0 220px !important;
    min-width: 220px !important;
    text-align: center;
}

.newspaper-keypoints-image img {
    width: 100%;
    max-width: 220px;
    max-height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.newspaper-keypoints-content {
    flex: 1 !important;
    padding-left: 0;
    min-width: 0;
    overflow: hidden;
}

.newspaper-keypoints-content p {
    margin: 0 0 16px 0;
    text-indent: 20px;
    line-height: 1.7;
    color: #333;
    font-size: 16px;
    font-family: 'Times New Roman', serif;
    text-align: justify;
}

.newspaper-keypoints-content p:first-child {
    text-indent: 0;
}

/* The Article Special Layout */
.newspaper-article-layout {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    align-items: flex-start;
    height: auto;
}

.newspaper-article-preview {
    flex: 1;
    padding-right: 10px;
}

.newspaper-article-preview p {
    margin: 0 0 16px 0;
    text-indent: 20px;
    line-height: 1.7;
    color: #333;
    font-size: 16px;
    font-family: 'Times New Roman', serif;
    text-align: justify;
    width: 100%;
}

.newspaper-article-preview p:first-child {
    text-indent: 0;
}

.newspaper-article-layout .newspaper-section-media {
    flex: 0 0 35%;
    text-align: center;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
}

.newspaper-article-layout .newspaper-section-media .media-content img {
    width: 100%;
    max-width: 314px;
    max-height: 200px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Rotating PDL Icon */
.newspaper-rotating-icon {
    width: var(--blog-popup-rotating-icon-width);
    height: var(--blog-popup-rotating-icon-height);
    animation: var(--blog-popup-rotating-icon-animation);
    margin: var(--blog-popup-rotating-icon-margin);
}

/* 3D Y-axis Rotation Animation - Popup Specific */
@keyframes newspaperRotateY {
    0% {
        transform: translateX(-32px) rotateY(0deg);
    }
    100% {
        transform: translateX(-32px) rotateY(360deg);
    }
}

/* Newspaper Footer */
.newspaper-footer {
    border-top: var(--blog-popup-footer-border-top);
    padding: var(--blog-popup-footer-padding);
    background: var(--blog-popup-footer-background);
    margin-top: var(--blog-popup-footer-margin-top);
}

.newspaper-footer-line {
    height: var(--blog-popup-footer-line-height);
    background: var(--blog-popup-footer-line-background);
    margin-bottom: var(--blog-popup-footer-line-margin-bottom);
}

.newspaper-footer-info {
    display: var(--blog-popup-footer-info-display);
    justify-content: var(--blog-popup-footer-info-justify-content);
    align-items: var(--blog-popup-footer-info-align-items);
    flex-wrap: var(--blog-popup-footer-info-flex-wrap);
    gap: var(--blog-popup-footer-info-gap);
}

.newspaper-read-time {
    font-size: var(--blog-popup-read-time-font-size);
    color: var(--blog-popup-read-time-color);
    font-weight: var(--blog-popup-read-time-font-weight);
}

.newspaper-tags {
    display: var(--blog-popup-tags-display);
    gap: var(--blog-popup-tags-gap);
    flex-wrap: var(--blog-popup-tags-flex-wrap);
}

.newspaper-tag {
    background: #000;
    color: white;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .newspaper-container {
        margin: 10px;
        max-width: none;
    }
    
    .newspaper-header {
        padding: 20px;
    }
    

    
    .newspaper-headline {
        font-size: 28px;
    }
    
    .newspaper-featured-image {
        height: 200px;
    }
    
    .newspaper-content {
        padding: 20px;
    }
    

    
    .newspaper-sections {
        gap: 25px;
    }
    
    .newspaper-section {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .newspaper-section-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .newspaper-section-content {
        font-size: 15px;
    }
    
    .newspaper-footer {
        padding: 15px 20px;
    }
    
    .newspaper-footer-info {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .newspaper-overlay {
        padding: 10px;
    }
    
    .newspaper-container {
        margin: 0;
    }
    
    .newspaper-header {
        padding: 15px;
    }
    
    .newspaper-masthead {
        justify-content: space-between;
        text-align: center;
    }
    

    
    .newspaper-headline {
        font-size: 24px;
    }
    
    .newspaper-subtitle {
        flex-direction: column;
        gap: 10px;
    }
    
    .newspaper-content {
        padding: 15px;
    }
    

    
    .newspaper-sections {
        gap: 20px;
    }
    
    .newspaper-section {
        padding: 15px;
        margin-bottom: 10px;
    }
    
    .newspaper-section-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .newspaper-section-content {
        font-size: 14px;
    }
    
    .newspaper-section-content p {
        text-indent: 10px;
    }
    
    .newspaper-section-image,
    .newspaper-section-media {
        margin: 15px 0;
        padding: 10px;
    }
    
    .newspaper-keypoints-layout {
        flex-direction: column;
        gap: 20px;
    }

    .newspaper-keypoints-image {
        flex: none;
        max-width: 100%;
    }

    .newspaper-keypoints-image img {
        max-width: 300px;
        width: 100%;
    }
    
    .newspaper-keypoints-bullets {
        padding-left: 0;
    }
    
    .newspaper-keypoints-bullets li {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .newspaper-footer {
        padding: 10px 15px;
    }
}

/* Print Styles */
@media print {
    .newspaper-overlay {
        position: static;
        background: none;
        padding: 0;
    }
    
    .newspaper-close {
        display: none;
    }
    
    .newspaper-container {
        box-shadow: none;
        border: none;
        max-width: none;
        margin: 0;
    }
    
    .newspaper-columns {
        gap: 20px;
    }
    
    .newspaper-column {
        font-size: 12px;
    }
}