/* ==========================================================================
   LAYOUT 3: NATIONAL PRESS (JORNAL)
   ========================================================================== */

.national-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Georgia', serif;
}

/* --- BREAKING NEWS TICKER --- */
.nat-breaking-ticker {
    background: #f8f8f8;
    border-bottom: 2px solid #ddd;
    margin-bottom: 30px;
    overflow: hidden;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    overflow: hidden;
}

.ticker-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 45px;
    display: flex;
    align-items: center;
}

.ticker-content {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    transition: transform 0.3s ease;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
}

.ticker-category {
    background: #222;
    color: #fff;
    padding: 2px 6px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 2px;
}

.ticker-item a {
    color: #111;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.ticker-item a:hover {
    color: #0056b3;
}

.ticker-nav {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 3px;
    flex-shrink: 0;
}

.ticker-nav:hover {
    background: #222;
    color: #fff;
    border-color: #222;
}

.ticker-nav i {
    font-size: 12px;
}

/* --- VIDEO PLAY ICON --- */
.video-play-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.video-play-icon svg {
    width: 20px;
    height: 20px;
    margin-left: 2px;
    /* Adjust triangle centering */
}

.nat-b1-hero-link:hover .video-play-icon,
.nat-overlay-link:hover .video-play-icon {
    transform: scale(1.1);
}

/* --- BLOCK 1 GRID --- */
.nat-block-1 {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    /* 25% 50% 25% */
    gap: 30px;
    margin-bottom: 60px;
    margin-top: 30px;
}

/* Common Headers */
.nat-header-simple {
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.nat-title-red {
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    font-weight: 900;
    color: var(--primary-color);
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
}

/* --- LEFT COL: BREAKING NEWS --- */
.nat-breaking-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nat-breaking-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
}

.nat-breaking-item:last-child {
    border-bottom: none;
}

.nat-breaking-thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.nat-breaking-title {
    font-family: 'Georgia', serif;
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 5px;
    font-weight: 700;
}

.nat-breaking-title a {
    color: #111;
    text-decoration: none;
}

.nat-trend-title a {
    color: #333;
    text-decoration: none;
}

.nat-trend-title a:hover {
    color: #0056b3;
}

/* ==========================================================================
   BLOCK 2: WORLD NEWS SECTION
   ========================================================================== */

.nat-block-2 {
    margin-bottom: 60px;
}

/* Section Header */
.nat-section-header {
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.nat-section-title {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    color: #111;
}

/* Top Grid */
.nat-b2-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Left: Large Post */
.nat-b2-left {
    position: relative;
}

.nat-b2-large-post {
    position: relative;
    height: 100%;
}

.nat-b2-large-link {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
}

.nat-b2-large-link img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s;
}

.nat-b2-large-link:hover img {
    transform: scale(1.05);
}

.nat-b2-large-title {
    font-family: 'Georgia', serif;
    font-size: 24px;
    line-height: 1.3;
    margin: 0 0 10px;
    color: #fff;
    font-weight: 700;
}

/* Right: Stacked Items */
.nat-b2-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nat-b2-medium-post {
    flex: 1;
    position: relative;
}

.nat-b2-medium-link {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
}

.nat-b2-medium-link img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    transition: transform 0.3s;
}

.nat-b2-medium-link:hover img {
    transform: scale(1.05);
}

.nat-b2-medium-title {
    font-family: 'Georgia', serif;
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 8px;
    color: #fff;
    font-weight: 700;
}

/* Bottom Row: Small Posts */
.nat-b2-bottom-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.nat-b2-small-post {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.nat-b2-small-link {
    text-decoration: none;
}

.nat-b2-small-title {
    font-family: 'Georgia', serif;
    font-size: 18px;
    line-height: 1.4;
    margin: 5px 0 8px;
    font-weight: 700;
    color: #111;
    transition: color 0.2s;
}

.nat-b2-small-link:hover .nat-b2-small-title {
    color: #0056b3;
}

/* Author Link White */
.author-link-white {
    color: #fff;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.author-link-white:hover {
    opacity: 0.8;
}

/* Responsive: Block 2 */
@media (max-width: 768px) {
    .nat-b2-top-grid {
        grid-template-columns: 1fr;
    }

    .nat-b2-bottom-row {
        grid-template-columns: 1fr;
    }

    .nat-b2-large-link img {
        height: 300px;
    }
}

/* ==========================================================================
   BLOCK 3: BREAKING NEWS SECTION
   ========================================================================== */

.nat-block-3 {
    margin-bottom: 60px;
}

/* 2 Column Grid */
.nat-b3-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.nat-b3-post {
    display: flex;
    flex-direction: column;
}

.nat-b3-thumb {
    display: block;
    overflow: hidden;
    margin-bottom: 15px;
}

.nat-b3-thumb img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s;
}

.nat-b3-thumb:hover img {
    transform: scale(1.05);
}

.nat-b3-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nat-b3-content .nat-cat-tag {
    margin-bottom: 10px;
    display: inline-block;
    align-self: flex-start;
}

.nat-b3-title {
    font-family: 'Georgia', serif;
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 12px;
    font-weight: 700;
}

.nat-b3-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.nat-b3-title a:hover {
    color: #0056b3;
}

.nat-b3-excerpt {
    font-family: 'Georgia', serif;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 15px;
}

/* Responsive: Block 3 */
@media (max-width: 768px) {
    .nat-b3-grid {
        grid-template-columns: 1fr;
    }

    .nat-b3-thumb img {
        height: 250px;
    }
}

/* ==========================================================================
   BLOCK 4: TRENDING NOW SECTION
   ========================================================================== */

.nat-block-4 {
    margin-bottom: 60px;
    background: #f8f8f8;
    padding: 30px;
}

/* Horizontal Grid */
.nat-b4-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.nat-b4-post {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.nat-b4-number {
    font-family: 'Arial', sans-serif;
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    flex-shrink: 0;
}

.nat-b4-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nat-cat-tag-small {
    font-family: 'Arial', sans-serif;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.nat-b4-title {
    font-family: 'Georgia', serif;
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
    font-weight: 700;
}

.nat-b4-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.nat-b4-title a:hover {
    color: #0056b3;
}

.nat-b4-author {
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    color: #666;
}

.nat-b4-author a {
    color: #666;
    text-decoration: none;
}

.nat-b4-author a:hover {
    text-decoration: underline;
}

/* Responsive: Block 4 */
@media (max-width: 1024px) {
    .nat-b4-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nat-b4-grid {
        grid-template-columns: 1fr;
    }

    .nat-b4-number {
        font-size: 36px;
    }
}

/* ==========================================================================
   BLOCK 5: MOST POPULAR SECTION
   ========================================================================== */

.nat-block-5 {
    margin-bottom: 60px;
}

/* Top Grid: 3 Large Overlay Posts */
.nat-b5-top-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.nat-b5-large-post {
    position: relative;
}

.nat-b5-large-link {
    position: relative;
    display: block;
    overflow: hidden;
}

.nat-b5-large-link img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.nat-b5-large-link:hover img {
    transform: scale(1.05);
}

.nat-b5-large-title {
    font-family: 'Georgia', serif;
    font-size: 20px;
    line-height: 1.3;
    margin: 8px 0 6px;
    color: #fff;
    font-weight: 700;
}

.nat-meta-white-small {
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
}

/* Bottom Grid: 6 Small Posts */
.nat-b5-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.nat-b5-small-post {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.nat-b5-small-thumb {
    display: block;
    flex-shrink: 0;
    overflow: hidden;
}

.nat-b5-small-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    transition: transform 0.3s;
}

.nat-b5-small-thumb:hover img {
    transform: scale(1.05);
}

.nat-b5-small-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nat-b5-small-title {
    font-family: 'Georgia', serif;
    font-size: 15px;
    line-height: 1.3;
    margin: 0;
    font-weight: 700;
}

.nat-b5-small-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.nat-b5-small-title a:hover {
    color: #0056b3;
}

.nat-b5-meta {
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    color: #666;
}

.nat-b5-meta a {
    color: #666;
    text-decoration: none;
}

.nat-b5-meta a:hover {
    text-decoration: underline;
}

/* Responsive: Block 5 */
@media (max-width: 1024px) {
    .nat-b5-top-grid {
        grid-template-columns: 1fr;
    }

    .nat-b5-bottom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nat-b5-bottom-grid {
        grid-template-columns: 1fr;
    }

    .nat-b5-large-link img {
        height: 200px;
    }
}

/* ==========================================================================
   BLOCK 6: CATEGORY SECTION
   ========================================================================== */

.nat-block-6 {
    margin-bottom: 60px;
}

/* 2 Column Grid */
.nat-b6-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

/* Left: Large Video Post */
.nat-b6-large-post {
    position: relative;
}

.nat-b6-large-link {
    position: relative;
    display: block;
    overflow: hidden;
}

.nat-b6-large-link img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    transition: transform 0.3s;
}

.nat-b6-large-link:hover img {
    transform: scale(1.05);
}

.nat-b6-large-title {
    font-family: 'Georgia', serif;
    font-size: 24px;
    line-height: 1.3;
    margin: 8px 0;
    color: #fff;
    font-weight: 700;
}

.nat-b6-excerpt {
    font-family: 'Georgia', serif;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 8px;
}

/* Right: List Posts */
.nat-b6-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nat-b6-list-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.nat-b6-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.nat-b6-list-thumb {
    display: block;
    flex-shrink: 0;
    overflow: hidden;
}

.nat-b6-list-thumb img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    transition: transform 0.3s;
}

.nat-b6-list-thumb:hover img {
    transform: scale(1.05);
}

.nat-b6-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nat-b6-list-title {
    font-family: 'Georgia', serif;
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
    font-weight: 700;
}

.nat-b6-list-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.nat-b6-list-title a:hover {
    color: #0056b3;
}

.nat-b6-list-meta {
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    color: #666;
}

.nat-b6-list-meta a {
    color: #666;
    text-decoration: none;
}

.nat-b6-list-meta a:hover {
    text-decoration: underline;
}

/* Responsive: Block 6 */
@media (max-width: 768px) {
    .nat-b6-grid {
        grid-template-columns: 1fr;
    }

    .nat-b6-large-link img {
        height: 300px;
    }
}

/* ==========================================================================
   BLOCK 7: MOST DISCUSSED SECTION
   ========================================================================== */

.nat-block-7 {
    margin-bottom: 60px;
}

/* 4 Column Grid */
.nat-b7-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.nat-b7-post {
    display: flex;
    flex-direction: column;
}

.nat-b7-thumb {
    display: block;
    overflow: hidden;
    margin-bottom: 12px;
}

.nat-b7-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s;
}

.nat-b7-thumb:hover img {
    transform: scale(1.05);
}

.nat-b7-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nat-b7-title {
    font-family: 'Georgia', serif;
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
    font-weight: 700;
}

.nat-b7-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.nat-b7-title a:hover {
    color: #0056b3;
}

.nat-b7-meta {
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    color: #666;
}

.nat-b7-meta a {
    color: #666;
    text-decoration: none;
}

.nat-b7-meta a:hover {
    text-decoration: underline;
}

/* Responsive: Block 7 */
@media (max-width: 1024px) {
    .nat-b7-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nat-b7-grid {
        grid-template-columns: 1fr;
    }

    .nat-b7-thumb img {
        height: 220px;
    }
}

.nat-meta-tiny {
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    color: #888;
}

.nat-author {
    font-weight: 700;
    color: #555;
}

/* --- CENTER COL: HERO + SUBGRID + LIST --- */
.nat-b1-center {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Hero Overlay */
.nat-b1-hero {
    position: relative;
    width: 100%;
}

.nat-b1-hero-link {
    display: block;
    position: relative;
    color: #fff;
    text-decoration: none;
}

.nat-b1-hero-link img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.nat-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.nat-cat-tag {
    background: var(--primary-color);
    color: #fff;
    padding: 4px 8px;
    font-family: 'Arial', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 10px;
}

.nat-hero-title {
    font-size: 32px;
    line-height: 1.1;
    margin: 0 0 10px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.nat-meta-white {
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

/* Sub Grid (Overlay Mini) */
.nat-b1-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nat-overlay-card {
    position: relative;
}

.nat-overlay-link {
    display: block;
    position: relative;
    color: #fff;
    text-decoration: none;
}

.nat-overlay-link img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.nat-overlay-mini {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.nat-cat-mini-white {
    font-family: 'Arial', sans-serif;
    font-size: 9px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}

.nat-overlay-title {
    font-size: 18px;
    line-height: 1.2;
    margin: 0;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Sub List (Row) */
.nat-b1-sublist {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.nat-row-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.nat-row-thumb {
    flex-shrink: 0;
    width: 120px;
}

.nat-row-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

.nat-row-title {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 5px;
    font-family: 'Georgia', serif;
    font-weight: 700;
}

.nat-row-title a {
    color: #111;
    text-decoration: none;
}

/* --- RIGHT COL: SIDEBAR --- */
.nat-b1-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Banner */
.nat-sidebar-banner {
    background: #222;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.nat-banner-label {
    background: var(--primary-color);
    color: #fff;
    padding: 2px 5px;
    font-size: 10px;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.nat-banner-box h3 {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 10px;
    font-family: 'Georgia', serif;
}

.nat-ad-label {
    font-family: 'Arial', sans-serif;
    font-size: 9px;
    color: #666;
    margin-top: 10px;
    text-transform: uppercase;
}

/* Tabs Header */
.nat-tabs-header {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

.nat-tabs-header span,
.nat-tabs-header h2 {
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 0 10px 10px 0;
    color: #999;
    cursor: pointer;
    margin-right: 10px;
}

.nat-tabs-header span.active,
.nat-tabs-header h2.active {
    color: #111;
    border-bottom: 2px solid #111;
    margin-bottom: -2px;
}

/* Trending List */
.nat-trending-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nat-trend-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.nat-trend-num {
    font-family: 'Arial', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 0.8;
}

.nat-trend-content {
    flex: 1;
}

.nat-trend-thumb {
    display: block;
    width: 100%;
    height: 120px;
    margin-bottom: 10px;
    overflow: hidden;
}

.nat-trend-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nat-trend-title {
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
    font-family: 'Georgia', serif;
    font-weight: 700;
}

.nat-trend-title a {
    color: #111;
    text-decoration: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .nat-block-1 {
        grid-template-columns: 1fr 1fr;
    }

    .nat-b1-left {
        display: none;
        /* Hide left col on tablet */
    }
}

@media (max-width: 768px) {
    .nat-block-1 {
        grid-template-columns: 1fr;
    }

    .nat-b1-left {
        display: block;
        order: 2;
    }

    .nat-b1-center {
        order: 1;
    }

    .nat-b1-right {
        order: 3;
    }

    .nat-b1-subgrid {
        grid-template-columns: 1fr;
    }
}