/**
 * Asre Nau Pakistani News Layout Stylesheet
 * Multi-Column Newspaper Layout (Inspired by Express News / Pakistani Media)
 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;600;700&display=swap');

/* Main Wrapper */
.pk-news-wrapper {
    direction: rtl;
    text-align: right;
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Urdu Typesetting', Tahoma, system-ui, -apple-system, sans-serif;
    color: #1a1a1a;
    max-width: 1320px;
    margin: 0 auto;
    padding: 15px 15px;
    box-sizing: border-box;
    line-height: 1.8;
}

.pk-news-wrapper * {
    box-sizing: border-box;
}

.pk-news-wrapper a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.pk-news-wrapper a:hover {
    color: #c00000;
}

/* Multi-Column Container (Main + Sidebar) */
.pk-layout-columns {
    display: flex;
    flex-direction: row;
    gap: 28px;
    align-items: flex-start;
}

.pk-main-col {
    flex: 1;
    min-width: 0; /* Avoid flexbox overflow */
}

.pk-sidebar-col {
    width: 330px;
    flex-shrink: 0;
}

@media (max-width: 1080px) {
    .pk-layout-columns {
        flex-direction: column;
    }
    .pk-sidebar-col {
        width: 100%;
        margin-top: 20px;
    }
}

/* Common Section Headers */
.pk-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #000;
    margin-bottom: 16px;
    padding-bottom: 4px;
}

.pk-section-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    position: relative;
    color: #000;
    line-height: 1.4;
}

.pk-readmore-btn {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    padding: 2px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #fafafa;
    transition: all 0.2s ease;
    display: inline-block;
    white-space: nowrap;
}

.pk-readmore-btn:hover {
    background: #000;
    color: #fff !important;
    border-color: #000;
}

/* =============================================================
   MAIN COLUMN COMPONENTS
   ============================================================= */

/* 1. Hero / Lead Top Section */
.pk-hero-section {
    margin-bottom: 30px;
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 25px;
}

.pk-hero-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 24px;
}

@media (max-width: 820px) {
    .pk-hero-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Lead (Primary Big Story) */
.pk-hero-lead {
    display: flex;
    flex-direction: column;
}

.pk-hero-lead-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.6;
    margin: 0 0 12px 0;
    color: #111;
}

.pk-hero-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #f0f0f0;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 12px;
}

.pk-hero-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pk-hero-lead:hover .pk-hero-img-wrap img {
    transform: scale(1.02);
}

.pk-hero-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Hero Side Sub-Stories */
.pk-hero-sub-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pk-hero-sub-featured {
    padding-bottom: 14px;
    border-bottom: 1px solid #eee;
}

.pk-hero-sub-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 50%;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.pk-hero-sub-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.pk-hero-sub-featured:hover .pk-hero-sub-img-wrap img {
    transform: scale(1.02);
}

.pk-hero-sub-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}

/* Mini item in hero */
.pk-hero-mini-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.pk-hero-mini-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pk-hero-mini-title {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

.pk-hero-mini-thumb {
    width: 85px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 3px;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.pk-hero-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 2. 4-Column News Grid (تازہ خبریں) */
.pk-quad-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e2e2;
}

.pk-quad-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

@media (max-width: 900px) {
    .pk-quad-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .pk-quad-grid {
        grid-template-columns: 1fr;
    }
}

.pk-quad-card {
    display: flex;
    flex-direction: column;
}

.pk-quad-thumb-wrap {
    position: relative;
    width: 100%;
    padding-top: 62%;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.pk-quad-thumb-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.pk-quad-card:hover .pk-quad-thumb-wrap img {
    transform: scale(1.04);
}

.pk-quad-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
}

/* 3. Category News Blocks (کھیل, انٹرنیشنل, etc. with Lead + 2x2 Grid) */
.pk-category-block {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e2e2;
}

.pk-category-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.pk-cat-lead-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 22px;
}

@media (max-width: 820px) {
    .pk-cat-lead-grid {
        grid-template-columns: 1fr;
    }
}

/* Lead inside category block */
.pk-cat-lead-card {
    display: flex;
    flex-direction: column;
}

.pk-cat-lead-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 60%;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.pk-cat-lead-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.pk-cat-lead-card:hover .pk-cat-lead-img-wrap img {
    transform: scale(1.02);
}

.pk-cat-lead-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0 0 6px 0;
}

.pk-cat-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.pk-cat-lead-excerpt {
    font-size: 13.5px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* 2x2 Subgrid next to lead */
.pk-cat-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .pk-cat-subgrid {
        grid-template-columns: 1fr;
    }
}

.pk-cat-sub-card {
    display: flex;
    flex-direction: column;
}

.pk-cat-sub-thumb {
    position: relative;
    width: 100%;
    padding-top: 62%;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.pk-cat-sub-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.pk-cat-sub-card:hover .pk-cat-sub-thumb img {
    transform: scale(1.04);
}

.pk-cat-sub-title {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.55;
    margin: 0;
}

/* =============================================================
   SIDEBAR COLUMN COMPONENTS
   ============================================================= */

/* Sidebar 2x2 News Grid (Replaces utility widgets) */
.pk-sidebar-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 25px;
}

.pk-mini-card {
    display: flex;
    flex-direction: column;
    background: #fff;
}

.pk-mini-thumb {
    position: relative;
    width: 100%;
    padding-top: 62%;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.pk-mini-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.pk-mini-card:hover .pk-mini-thumb img {
    transform: scale(1.04);
}

.pk-mini-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    color: #111;
}

.pk-mini-card:hover .pk-mini-title {
    color: #c00000;
}

/* Generic Sidebar Widget Section */
.pk-sidebar-widget {
    background: #fff;
    margin-bottom: 30px;
}

/* Popular / Special News list */
.pk-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pk-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.pk-sidebar-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pk-sidebar-title {
    flex: 1;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.55;
    margin: 0;
}

.pk-sidebar-thumb {
    width: 80px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 3px;
    overflow: hidden;
    background: #f0f0f0;
}

.pk-sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Popular News Featured Big Card */
.pk-pop-featured {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.pk-pop-featured-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.pk-pop-featured-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.pk-pop-featured:hover .pk-pop-featured-thumb img {
    transform: scale(1.02);
}

.pk-pop-featured-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0;
}

/* Columnist / Opinion Section in Sidebar (رائے) */
.pk-opinion-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pk-opinion-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    transition: transform 0.15s ease;
}

.pk-opinion-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pk-opinion-row:hover {
    transform: translateX(-3px);
}

.pk-opinion-author-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #ddd;
    background: #f5f5f5;
}

.pk-opinion-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pk-opinion-info {
    flex: 1;
}

.pk-opinion-article-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 3px 0;
    color: #111;
}

.pk-opinion-author-name {
    font-size: 12.5px;
    color: #777;
    margin: 0;
}

/* 6. Sidebar Advertisements Widget & Read All Button */
.pk-sidebar-ads-widget {
    margin-bottom: 30px;
}

.pk-ad-sidebar-item {
    transition: background-color 0.2s ease;
}

.pk-ad-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2f6;
    border: 1px dashed #cbd5e1;
}

.pk-ad-badge {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    background: #fff;
    padding: 2px 7px;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pk-sidebar-more-wrap {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}

.pk-sidebar-readall-btn {
    display: block;
    width: 100%;
    padding: 9px 12px;
    background: #f8f9fa;
    border: 1px solid #dcdfe3;
    border-radius: 4px;
    font-size: 13.5px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    transition: all 0.25s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.pk-sidebar-readall-btn:hover {
    background: #000;
    color: #fff !important;
    border-color: #000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Video badge overlay */
.pk-video-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    pointer-events: none;
}



/* =============================================================
   E-PAPER LAYOUT STYLES ([asrenau_epaper] / [epaper_layout])
   ============================================================= */

.pk-epaper-wrapper {
    direction: rtl;
    text-align: right;
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Urdu Typesetting', Tahoma, system-ui, -apple-system, sans-serif;
    color: #1a1a1a;
    max-width: 1320px;
    margin: 30px auto;
    padding: 24px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    line-height: 1.8;
}

.pk-epaper-wrapper * {
    box-sizing: border-box;
}

.pk-epaper-wrapper a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.pk-epaper-empty {
    direction: rtl;
    text-align: right;
    font-family: 'Noto Nastaliq Urdu', Tahoma, sans-serif;
    padding: 30px 20px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    color: #64748b;
    font-size: 16px;
}

/* E-Paper Section Header */
.pk-epaper-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #0f172a;
    padding-bottom: 12px;
    margin-bottom: 26px;
    gap: 16px;
    flex-wrap: wrap;
}

.pk-epaper-tag-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pk-epaper-live-badge {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 6px rgba(225, 29, 72, 0.35);
}

.pk-epaper-main-heading {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    color: #0f172a;
    line-height: 1.4;
}

.pk-epaper-sub-heading {
    font-size: 13.5px;
    color: #64748b;
    margin: 4px 0 0 0;
}

.pk-epaper-archive-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    background: #f1f5f9;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.pk-epaper-archive-btn:hover {
    background: #0f172a;
    color: #ffffff !important;
    border-color: #0f172a;
}

.pk-epaper-arrow-icon {
    transition: transform 0.2s ease;
}

.pk-epaper-archive-btn:hover .pk-epaper-arrow-icon {
    transform: translateX(-3px);
}

/* =============================================================
   BLUEPRINT HERO SECTION: TODAY'S NEWSPAPER
   - Left:  Large Portrait Cover Image
   - Right: "Today news paper" Title + "View" Button
   ============================================================= */
.pk-epaper-hero-section {
    margin-bottom: 36px;
}

.pk-epaper-hero-container {
    display: flex;
    flex-direction: row;
    direction: ltr; /* Blueprint layout: Cover on Left, Info on Right */
    align-items: center;
    gap: 48px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.pk-epaper-hero-container:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.09);
    border-color: #cbd5e1;
}

/* Left Column: Big Portrait Thumbnail */
.pk-epaper-hero-cover-col {
    width: 320px;
    max-width: 40%;
    flex-shrink: 0;
}

.pk-epaper-hero-media-link {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pk-epaper-hero-media-link:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.pk-epaper-hero-thumb {
    width: 100%;
}

/* Standard Newspaper Portrait Aspect Ratio (1 : 1.414 / ISO A Series) */
.pk-epaper-portrait-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.414;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@supports not (aspect-ratio: 1 / 1.414) {
    .pk-epaper-portrait-wrap {
        height: 0;
        padding-top: 141.4%;
    }
}

.pk-epaper-portrait-wrap img,
.pk-epaper-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.35s ease;
}

.pk-epaper-today-card:hover .pk-epaper-img,
.pk-epaper-today-card:hover .pk-epaper-portrait-wrap img,
.pk-epaper-hero-media-link:hover .pk-epaper-img,
.pk-epaper-hero-media-link:hover .pk-epaper-portrait-wrap img {
    transform: scale(1.03);
}

/* Floating Today's Edition Ribbon */
.pk-epaper-ribbon {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.pk-epaper-ribbon-dot {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
    animation: pk-pulse 2s infinite ease-in-out;
}

@keyframes pk-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Hover Overlay */
.pk-epaper-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 3;
}

.pk-epaper-overlay-btn {
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(10px);
    transition: transform 0.25s ease;
}

.pk-epaper-today-card:hover .pk-epaper-overlay,
.pk-epaper-hero-media-link:hover .pk-epaper-overlay {
    opacity: 1;
}

.pk-epaper-today-card:hover .pk-epaper-overlay-btn,
.pk-epaper-hero-media-link:hover .pk-epaper-overlay-btn {
    transform: translateY(0);
}

/* Blueprint Right Column: Info & Button */
.pk-epaper-hero-info-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.pk-epaper-hero-info-inner {
    max-width: 520px;
}

.pk-epaper-hero-blueprint-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, 'Noto Nastaliq Urdu';
}

.pk-epaper-hero-edition-title {
    font-size: 18px;
    font-weight: 700;
    color: #475569;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.pk-epaper-hero-edition-title a {
    color: inherit;
    transition: color 0.2s ease;
}

.pk-epaper-hero-edition-title a:hover {
    color: #dc2626;
}

.pk-epaper-hero-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 14.5px;
    font-weight: 600;
    margin-bottom: 24px;
}

.pk-epaper-hero-btn-wrap {
    margin-top: 6px;
}

/* Blueprint-style View Button */
.pk-epaper-blueprint-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 11px 36px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: #0f172a;
    background: #ffffff;
    border: 2.5px solid #0f172a;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.22s ease;
    box-sizing: border-box;
    font-family: inherit;
    letter-spacing: 0.2px;
}

.pk-epaper-blueprint-view-btn:hover {
    background: #0f172a;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
    transform: translateY(-2px);
}

.pk-epaper-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pk-epaper-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.pk-epaper-card:hover .pk-epaper-img,
.pk-epaper-card:hover .pk-epaper-portrait-wrap img {
    transform: scale(1.03);
}

.pk-epaper-card-media-link {
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.pk-epaper-mini-date-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    backdrop-filter: blur(2px);
    z-index: 2;
}

.pk-epaper-card-info {
    padding: 10px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pk-epaper-card-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    color: #1e293b;
    text-align: center;
}

.pk-epaper-card-title a:hover {
    color: #dc2626;
}

/* =============================================================
   BOTTOM SHELF: OLDER ARCHIVE EDITIONS
   ============================================================= */
.pk-epaper-bottom-shelf {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 2px dashed #e2e8f0;
}

.pk-epaper-shelf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.pk-epaper-shelf-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pk-epaper-shelf-icon {
    font-size: 18px;
}

.pk-epaper-shelf-heading {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: #0f172a;
}

.pk-epaper-shelf-all-link {
    font-size: 13px;
    font-weight: 600;
    color: #0284c7;
    transition: color 0.2s ease;
}

.pk-epaper-shelf-all-link:hover {
    color: #dc2626 !important;
}

.pk-epaper-bottom-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

/* =============================================================
   NEWSPAPER PLACEHOLDER STYLES
   ============================================================= */
.pk-epaper-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    padding: 16px;
    text-align: center;
    gap: 8px;
}

.pk-epaper-placeholder-icon {
    width: 48px;
    height: 48px;
    color: #94a3b8;
}

.pk-epaper-placeholder-small .pk-epaper-placeholder-icon {
    width: 32px;
    height: 32px;
}

.pk-epaper-placeholder-text {
    font-size: 16px;
    font-weight: 700;
    color: #64748b;
}

/* =============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================= */
@media (max-width: 1080px) {
    .pk-epaper-hero-container {
        gap: 36px;
        padding: 24px 28px;
    }

    .pk-epaper-hero-cover-col {
        width: 270px;
    }

    .pk-epaper-hero-blueprint-title {
        font-size: 34px;
    }

    .pk-epaper-bottom-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 820px) {
    .pk-epaper-hero-container {
        flex-direction: column;
        gap: 24px;
        padding: 24px 20px;
        text-align: center;
    }

    .pk-epaper-hero-cover-col {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .pk-epaper-hero-info-col {
        text-align: center;
    }

    .pk-epaper-hero-blueprint-title {
        font-size: 28px;
    }

    .pk-epaper-hero-btn-wrap {
        display: flex;
        justify-content: center;
    }

    .pk-epaper-bottom-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .pk-epaper-wrapper {
        padding: 14px;
    }

    .pk-epaper-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .pk-epaper-main-heading {
        font-size: 20px;
    }

    .pk-epaper-bottom-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .pk-epaper-card-info {
        padding: 8px;
    }

    .pk-epaper-card-title {
        font-size: 13px;
    }

    .pk-epaper-today-title {
        font-size: 17px;
    }

    .pk-epaper-today-info {
        padding: 14px;
    }
}

/* =============================================================
   ASRE NAU SPECIAL & LATEST NEWS BOX WIDGET
   ([asrenau_news_box], [special_news], [latest_news])
   ============================================================= */

.pk-news-box-wrapper {
    width: 100%;
    margin: 0 0 24px 0;
    box-sizing: border-box;
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Urdu Typesetting', Tahoma, system-ui, -apple-system, sans-serif;
    color: #1a1a1a;
}

.pk-news-box-wrapper * {
    box-sizing: border-box;
}

.pk-news-box-wrapper a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.pk-news-box-wrapper a:hover {
    color: #c00000;
}

/* Multi-column Grid (e.g. category="special-news,latest-news") */
.pk-news-box-multi-grid {
    display: grid;
    gap: 28px;
    align-items: start;
}

.pk-news-box-multi-grid.pk-cols-1 {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.pk-news-box-multi-grid.pk-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.pk-news-box-multi-grid.pk-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.pk-news-box-multi-grid.pk-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.pk-news-box-card {
    background: #fff;
    width: 100%;
    position: relative;
}

/* Header Styles */
.pk-news-box-header {
    margin-bottom: 14px;
}

/* Centered Header (Exact Match to User Screenshot) */
.pk-news-box-header.pk-header-centered {
    text-align: center;
    padding-bottom: 2px;
}

.pk-news-box-header.pk-header-centered .pk-news-box-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    color: #000;
    display: inline-block;
}

/* Classic Bar Header with Red/Black Accent Line */
.pk-news-box-header.pk-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #000;
    padding-bottom: 4px;
}

.pk-news-box-header.pk-header-bar .pk-news-box-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    line-height: 1.4;
    color: #000;
}

.pk-news-box-header-link {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    padding: 2px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #fafafa;
    display: inline-block;
    transition: all 0.2s ease;
}

.pk-news-box-header-link:hover {
    background: #000;
    color: #fff !important;
    border-color: #000;
}

/* 1. Top Featured Card (Big Photo + Centered Headline) */
.pk-news-box-featured {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.pk-news-box-featured-link {
    display: block;
}

.pk-news-box-featured-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 widescreen */
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.pk-news-box-featured-thumb img,
.pk-news-box-featured-thumb .pk-featured-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.pk-news-box-featured:hover .pk-news-box-featured-thumb img {
    transform: scale(1.025);
}

.pk-news-box-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eef2f5 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 700;
    font-size: 18px;
}

.pk-news-box-featured-title {
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.65;
    margin: 0;
    color: #000;
    text-align: center;
}

.pk-news-box-featured-excerpt {
    font-size: 13.5px;
    color: #666;
    line-height: 1.6;
    margin: 6px 0 0 0;
    text-align: center;
}

/* 2. Subsequent List Items (Headline Left + Portrait Thumb Right) */
.pk-news-box-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pk-news-box-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    transition: background 0.15s ease;
}

.pk-news-box-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Default & Right Thumb Layout (Title on Left, Thumb on Right - matching screenshot) */
.pk-news-box-item.pk-thumb-right {
    flex-direction: row;
}

.pk-news-box-item.pk-thumb-right .pk-news-box-item-content {
    order: 1;
    flex: 1;
    min-width: 0;
}

.pk-news-box-item.pk-thumb-right .pk-news-box-item-thumb {
    order: 2;
}

/* Left Thumb Layout Option */
.pk-news-box-item.pk-thumb-left {
    flex-direction: row;
}

.pk-news-box-item.pk-thumb-left .pk-news-box-item-thumb {
    order: 1;
}

.pk-news-box-item.pk-thumb-left .pk-news-box-item-content {
    order: 2;
    flex: 1;
    min-width: 0;
}

.pk-news-box-item-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    color: #111;
}

.pk-news-box-item-title a {
    color: inherit;
}

.pk-news-box-item-date {
    display: block;
    font-size: 11.5px;
    color: #888;
    margin-top: 4px;
}

.pk-news-box-item-thumb {
    width: 78px;
    height: 96px; /* Portrait ratio matching tenders & ad clippings in user screenshot */
    flex-shrink: 0;
    border-radius: 3px;
    overflow: hidden;
    background: #f7f7f7;
    border: 1px solid #eaeaea;
}

.pk-news-box-item-thumb img,
.pk-news-box-item-thumb .pk-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.2s ease;
}

.pk-news-box-item:hover .pk-news-box-item-thumb img {
    transform: scale(1.04);
}

.pk-news-box-item-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
}

/* Footer Button */
.pk-news-box-footer {
    margin-top: 14px;
    text-align: center;
}

.pk-news-box-footer-btn {
    display: inline-block;
    padding: 5px 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: #444;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.pk-news-box-footer-btn:hover {
    background: #c00000;
    color: #fff !important;
    border-color: #c00000;
}

.pk-news-box-empty {
    padding: 16px;
    text-align: center;
    color: #888;
    font-size: 14px;
    background: #fafafa;
    border: 1px dashed #ddd;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .pk-news-box-multi-grid.pk-cols-2,
    .pk-news-box-multi-grid.pk-cols-3,
    .pk-news-box-multi-grid.pk-cols-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
