/* ============================================================
   Post Layout Pro — Front-end Styles  v1.4.0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --plp-accent:        #c0392b;
    --plp-accent-dk:     #9b2d23;
    --plp-accent-bg:     rgba(192,57,43,.07);
    --plp-text:          #18181b;
    --plp-muted:         #71717a;
    --plp-border:        #e4e4e7;
    --plp-bg:            #fafafa;
    --plp-white:         #ffffff;
    --plp-r:             8px;
    --plp-r-lg:          12px;
    --plp-sh-sm:         0 1px 4px rgba(0,0,0,.07);
    --plp-sh:            0 4px 18px rgba(0,0,0,.10);
    --plp-sh-hov:        0 8px 28px rgba(0,0,0,.14);
    --plp-ease:          .2s ease;
}

/* ═══════════════════════════════════════════════════════
   OUTER WRAPPER
   ═══════════════════════════════════════════════════════ */

.plp-outer {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
}

/* ═══════════════════════════════════════════════════════
   COMMENTS SECTION (injected by JS)
   ═══════════════════════════════════════════════════════ */

.plp-comments-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
}

.plp-comments-section > div {
    max-width: 820px;
    width: 100%;
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════
   NEWS LAYOUT  —  Premium Modern Grid  v3.0
   ═══════════════════════════════════════════════════════ */

/* ---- Section wrapper ---- */
.plp-news-layout {
    margin: 52px 0 72px;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--plp-text);
}

/* ---- Header row ---- */
.plp-nl-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--plp-border);
}
.plp-nl-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.plp-nl-accent-bar {
    display: inline-block;
    width: 4px;
    height: 36px;
    background: linear-gradient(180deg, var(--plp-accent) 0%, var(--plp-accent-dk) 100%);
    border-radius: 99px;
    flex-shrink: 0;
}
.plp-nl-heading {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 700;
    color: var(--plp-text);
    letter-spacing: -.025em;
    margin: 0;
    line-height: 1.15;
}

/* ---- Search bar ---- */
.plp-nl-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.plp-nl-search-icon {
    position: absolute;
    left: 12px;
    width: 15px;
    height: 15px;
    color: var(--plp-muted);
    pointer-events: none;
    flex-shrink: 0;
}
.plp-nl-search {
    width: 220px;
    padding: 9px 14px 9px 36px;
    border: 1.5px solid var(--plp-border);
    border-radius: 999px;
    font-size: 13px;
    font-family: inherit;
    color: var(--plp-text);
    background: var(--plp-white);
    outline: none;
    transition: border-color .2s, box-shadow .2s, width .3s;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.plp-nl-search:focus {
    border-color: var(--plp-accent);
    box-shadow: 0 0 0 3px rgba(192,57,43,.10);
    width: 260px;
}

/* ticker removed */

/* ---- Controls group (search + category dropdown) ---- */
.plp-nl-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ---- Category select dropdown ---- */
.plp-nl-cat-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.plp-nl-cat-icon {
    position: absolute;
    left: 12px;
    width: 14px;
    height: 14px;
    color: var(--plp-muted);
    pointer-events: none;
    flex-shrink: 0;
    z-index: 1;
}
.plp-nl-cat-chevron {
    position: absolute;
    right: 11px;
    width: 14px;
    height: 14px;
    color: var(--plp-muted);
    pointer-events: none;
    flex-shrink: 0;
    transition: transform .2s;
    z-index: 1;
}
.plp-nl-cat-select-wrap:focus-within .plp-nl-cat-chevron {
    transform: rotate(180deg);
    color: var(--plp-accent);
}
.plp-nl-cat-select {
    appearance: none;
    -webkit-appearance: none;
    padding: 9px 34px 9px 34px;
    border: 1.5px solid var(--plp-border);
    border-radius: 999px;
    font-size: 13px;
    font-family: inherit;
    font-weight: 500;
    color: var(--plp-text);
    background: var(--plp-white);
    cursor: pointer;
    outline: none;
    min-width: 170px;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.plp-nl-cat-select:hover {
    border-color: var(--plp-accent);
    background: var(--plp-accent-bg);
}
.plp-nl-cat-select:focus {
    border-color: var(--plp-accent);
    box-shadow: 0 0 0 3px rgba(192,57,43,.10);
}
/* Loading state applied via JS when navigating */
.plp-nl-cat-select.plp-loading {
    opacity: .6;
    pointer-events: none;
}

/* ---- Stats bar ---- */
.plp-nl-statsbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 9px 0;
    font-size: 12px;
    color: var(--plp-muted);
    font-weight: 500;
    border-bottom: 1px dashed var(--plp-border);
}
.plp-nl-count {
    font-weight: 700;
    color: var(--plp-text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.plp-nl-count::before {
    content: '';
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--plp-accent);
    animation: plp-blink 2s ease-in-out infinite;
}
@keyframes plp-blink {
    0%,100% { opacity: 1; }
    50%      { opacity: .3; }
}

/* ---- 3×3 Grid ---- */
.plp-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-bottom: 40px;
}

/* ---- Card ---- */
.plp-news-item {
    background: var(--plp-white);
    border: 1px solid rgba(17,24,39,.07);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform .25s cubic-bezier(.22,1,.36,1),
                box-shadow .25s cubic-bezier(.22,1,.36,1),
                border-color .2s ease;
    box-shadow:
        0 1px 2px rgba(15,23,42,.04),
        0 4px 16px rgba(15,23,42,.06);
}
/* top accent line slides in on hover */
.plp-news-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--plp-accent), var(--plp-accent-dk));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s cubic-bezier(.22,1,.36,1);
    z-index: 4;
    border-radius: 18px 18px 0 0;
}
.plp-news-item:hover::before { transform: scaleX(1); }
.plp-news-item:hover {
    transform: translateY(-6px);
    border-color: rgba(192,57,43,.15);
    box-shadow:
        0 2px 4px rgba(15,23,42,.04),
        0 12px 32px rgba(15,23,42,.11),
        0 24px 48px rgba(15,23,42,.06);
}

/* ---- Featured first card ---- */
.plp-news-item--featured {
    grid-column: 1 / -1;
    flex-direction: row;
    border-radius: 22px;
    box-shadow:
        0 2px 6px rgba(15,23,42,.05),
        0 12px 40px rgba(15,23,42,.10);
}
.plp-news-item--featured::before { border-radius: 22px 0 0 22px; width: 55%; }
.plp-news-item--featured:hover::before { transform: scaleX(1); }
.plp-news-item--featured .plp-news-thumbnail {
    width: 55%;
    height: auto;
    align-self: stretch;
    min-height: 280px;
    flex-shrink: 0;
    border-radius: 0;
}
.plp-news-item--featured .plp-news-content {
    flex: 1;
    padding: 36px 32px;
    justify-content: center;
    gap: 14px;
}
.plp-news-item--featured .plp-news-title a { font-size: clamp(18px, 1.8vw, 26px); }
.plp-news-item--featured .plp-news-excerpt { -webkit-line-clamp: 4; font-size: 14.5px; }
.plp-news-item--featured .plp-news-thumbnail { min-height: 280px; }

/* ---- Thumbnail ---- */
.plp-news-thumbnail {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8e9ec 0%, #d4d5da 100%);
    flex-shrink: 0;
}

/*
 * CRITICAL: The Astra theme (and many WP themes) inject background-color
 * and other styles onto ALL <a> tags inside .entry-content. This bleeds
 * red (the accent colour) behind the image when the image doesn't fill
 * the anchor 100%. Fix: absolutely position the anchor to fill its parent,
 * and hard-reset every theme style that could affect it.
 *
 * The image anchor (.plp-news-thumb-link) is rendered LAST in the DOM so it
 * sits on top in natural stacking order. Category + readtime badges use
 * z-index:3 to poke through above it so they remain clickable.
 */
.plp-news-thumb-link {
    position: absolute !important;
    inset: 0 !important;          /* top:0 right:0 bottom:0 left:0 */
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    line-height: 0 !important;
    font-size: 0 !important;
    color: transparent !important;
    outline: none !important;
    overflow: hidden !important;
    z-index: 1;
}
.plp-news-thumb-link:hover,
.plp-news-thumb-link:focus,
.plp-news-thumb-link:visited {
    background: transparent !important;
    background-color: transparent !important;
    color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.plp-news-thumbnail img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
    background: transparent;
}
.plp-news-item:hover .plp-news-thumbnail img { transform: scale(1.06); }

/* no image placeholder — also needs full theme-reset like the image anchor */
.plp-thumb-placeholder {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, #e8eaf0 0%, #d0d3de 100%) !important;
    background-color: transparent !important;
    color: #a0a4b0 !important;
    text-decoration: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    line-height: 0 !important;
    outline: none !important;
}
.plp-thumb-placeholder:hover,
.plp-thumb-placeholder:focus,
.plp-thumb-placeholder:visited {
    background: linear-gradient(135deg, #e8eaf0 0%, #d0d3de 100%) !important;
    color: #a0a4b0 !important;
    border: none !important;
    box-shadow: none !important;
}
.plp-thumb-placeholder svg {
    width: 40px;
    height: 40px;
    opacity: .4;
    line-height: 1;
    font-size: initial;
}

/* ---- Overlay badges — z-index:3 to poke above the thumb link (z-index:1) ---- */
.plp-news-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--plp-accent);
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 5px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(192,57,43,.30);
    transition: background .2s, transform .2s;
    z-index: 3;              /* must beat .plp-news-thumb-link z-index:1 */
    line-height: 1.4;
    pointer-events: auto;   /* ensure clickable even with thumb link on top */
}
.plp-news-cat-badge:hover {
    background: var(--plp-accent-dk);
    transform: scale(1.06);
}
.plp-news-readtime {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(6px);
    z-index: 3;              /* must beat .plp-news-thumb-link z-index:1 */
    line-height: 1.4;
    pointer-events: none;   /* read-time is display-only, not clickable */
}
.plp-news-readtime svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* ---- Card body ---- */
.plp-news-content {
    padding: 22px 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

/* ---- Meta (date) ---- */
.plp-news-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--plp-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.plp-meta-icon {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
    color: var(--plp-accent);
    opacity: .7;
}

/* ---- Title ---- */
.plp-news-title {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(14.5px, 1.15vw, 17px);
    font-weight: 700;
    margin: 0;
    line-height: 1.38;
    letter-spacing: -.012em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.plp-news-title a {
    color: var(--plp-text);
    text-decoration: none;
    transition: color .18s;
}
.plp-news-title a:hover { color: var(--plp-accent); }

/* ---- Excerpt ---- */
.plp-news-excerpt {
    font-size: 12.5px;
    color: #6b7280;
    line-height: 1.72;
    flex: 1;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- Card footer ---- */
.plp-news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid rgba(17,24,39,.07);
}
.plp-news-author {
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: var(--plp-muted);
    font-size: 11.5px;
    font-weight: 600;
    transition: color .18s;
    min-width: 0;
    overflow: hidden;
}
.plp-news-author img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--plp-bg);
    box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}
.plp-news-author span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.plp-news-author:hover { color: var(--plp-accent); }
.plp-news-readmore {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--plp-accent);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: gap .18s, color .18s;
    flex-shrink: 0;
}
.plp-news-readmore svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    transition: transform .18s;
}
.plp-news-readmore:hover { gap: 7px; color: var(--plp-accent-dk); }
.plp-news-readmore:hover svg { transform: translateX(3px); }

/* ---- Empty state ---- */
.plp-nl-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 60px 20px;
    color: var(--plp-muted);
    text-align: center;
}
.plp-nl-empty svg { width: 48px; height: 48px; opacity: .35; }
.plp-nl-empty p { font-size: 15px; margin: 0; }

/* ---- Prev / Next Pagination ---- */
.plp-news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    margin-top: 12px;
    padding: 24px 0 8px;
    border-top: 1px solid var(--plp-border);
}
.plp-pag-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--plp-white);
    color: var(--plp-text);
    border: 1px solid var(--plp-border);
    border-radius: 999px;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(15,23,42,.05);
    transition: background .2s, border-color .2s, color .2s,
                box-shadow .2s, transform .2s cubic-bezier(.22,1,.36,1);
    cursor: pointer;
    white-space: nowrap;
}
.plp-pag-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    transition: transform .2s cubic-bezier(.22,1,.36,1);
}
.plp-pag-prev:hover {
    background: var(--plp-accent);
    border-color: var(--plp-accent);
    color: #fff;
    box-shadow: 0 6px 20px rgba(192,57,43,.28);
    transform: translateX(-4px);
}
.plp-pag-prev:hover svg { transform: translateX(-3px); }
.plp-pag-next:hover {
    background: var(--plp-accent);
    border-color: var(--plp-accent);
    color: #fff;
    box-shadow: 0 6px 20px rgba(192,57,43,.28);
    transform: translateX(4px);
}
.plp-pag-next:hover svg { transform: translateX(3px); }
.plp-pag-disabled {
    opacity: .3;
    pointer-events: none;
    cursor: default;
    box-shadow: none;
}

/* page indicator dots */
.plp-pag-dots {
    display: flex;
    align-items: center;
    gap: 5px;
}
.plp-pag-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d1d5db;
    transition: all .25s cubic-bezier(.22,1,.36,1);
}
.plp-pag-dot--active {
    width: 24px;
    border-radius: 99px;
    background: var(--plp-accent);
    box-shadow: 0 0 0 3px var(--plp-accent-bg);
}

/* ═══════════════════════════════════════════════════════
   TWO-COLUMN GRID
   ═══════════════════════════════════════════════════════ */

.plp-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    align-items: start;
    width: 100%;
}

.plp-main { min-width: 0; width: 100%; }

.plp-main .entry-header h1,
.plp-main .entry-title {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.3;
    color: var(--plp-text);
    margin-bottom: 8px;
}

/* ═══════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════ */

.plp-sidebar {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.plp-widget {
    background: var(--plp-white);
    border: 1px solid var(--plp-border);
    border-radius: var(--plp-r-lg);
    overflow: hidden;
    box-shadow: var(--plp-sh-sm);
    transition: box-shadow var(--plp-ease);
}
.plp-widget:hover { box-shadow: var(--plp-sh); }

.plp-widget-title { margin: 0; }
.plp-widget-title span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: var(--plp-white);
    background: var(--plp-accent);
    padding: 11px 16px;
    border-bottom: 3px solid var(--plp-accent-dk);
}

/* ═══════════════════════════════════════════════════════
   RADIO PLAYER
   ═══════════════════════════════════════════════════════ */

.plp-radio-widget { border: 2px solid var(--plp-accent); }
.plp-radio-widget .plp-widget-title span {
    background: linear-gradient(135deg, var(--plp-accent), var(--plp-accent-dk));
    font-size: 12px; padding: 13px 16px;
}
.plp-radio-widget .plp-widget-title span svg {
    animation: plp-pulse 2.2s ease-in-out infinite; flex-shrink: 0;
}
@keyframes plp-pulse {
    0%,100% { opacity:.85; transform:scale(1); }
    50%      { opacity:1;   transform:scale(1.18); }
}
.plp-radio-player {
    display: block !important; visibility: visible !important;
    padding: 14px; background: var(--plp-bg); min-height: 64px;
}
.plp-radio-player > *, .plp-radio-player iframe,
.plp-radio-player audio, .plp-radio-player div, .plp-radio-player object {
    display: block !important; width: 100% !important;
    max-width: 100% !important; box-sizing: border-box !important;
    visibility: visible !important;
}
.plp-radio-player iframe { min-height: 84px; border: none; border-radius: 6px; }
.plp-radio-placeholder {
    display: flex; flex-direction: column; align-items: center;
    gap: 8px; padding: 18px; color: var(--plp-muted);
    font-size: 12px; text-align: center; line-height: 1.5;
}
.plp-radio-placeholder svg { opacity: .35; }

/* ═══════════════════════════════════════════════════════
   SOCIAL
   ═══════════════════════════════════════════════════════ */

.plp-social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--plp-border); }
.plp-social-btn {
    display: flex; align-items: center; gap: 8px; padding: 13px 14px;
    background: var(--plp-white); color: var(--plp-text); text-decoration: none;
    font-size: 13px; font-weight: 600;
    transition: background var(--plp-ease), color var(--plp-ease);
    position: relative; overflow: hidden;
}
.plp-social-btn::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px; background: var(--sc); transform: scaleX(0);
    transform-origin: left; transition: transform var(--plp-ease);
}
.plp-social-btn:hover { background: var(--plp-bg); color: var(--sc); }
.plp-social-btn:hover::after { transform: scaleX(1); }
.plp-social-btn svg { width: 16px; height: 16px; flex-shrink: 0; fill: var(--sc); stroke: none; transition: transform var(--plp-ease); }
.plp-social-btn:hover svg { transform: scale(1.15); }

/* ═══════════════════════════════════════════════════════
   LATEST ARTICLES
   ═══════════════════════════════════════════════════════ */

.plp-latest-item {
    display: flex; gap: 12px; padding: 12px 14px;
    border-bottom: 1px solid var(--plp-border); text-decoration: none;
    color: inherit; transition: background var(--plp-ease); align-items: flex-start;
}
.plp-latest-item:last-child { border-bottom: none; }
.plp-latest-item:hover { background: var(--plp-accent-bg); }
.plp-latest-thumb { width: 68px; height: 52px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: var(--plp-bg); }
.plp-latest-thumb img, .plp-no-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.plp-latest-item:hover .plp-latest-thumb img { transform: scale(1.07); }
.plp-no-thumb { background: var(--plp-border); }
.plp-latest-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.plp-latest-cat { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--plp-accent); background: var(--plp-accent-bg); display: inline-block; padding: 2px 7px; border-radius: 3px; width: fit-content; }
.plp-latest-title { font-size: 12.5px; font-weight: 600; line-height: 1.45; color: var(--plp-text); margin: 2px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.plp-latest-date { font-size: 10.5px; color: var(--plp-muted); margin-top: 3px; }

/* ═══════════════════════════════════════════════════════
   SHARE BUTTONS
   ═══════════════════════════════════════════════════════ */

.plp-share { margin: 30px 0 20px; padding: 22px 0; border-top: 2px solid var(--plp-border); border-bottom: 2px solid var(--plp-border); }
.plp-share-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .10em; color: var(--plp-muted); margin: 0 0 14px; }
.plp-share-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.plp-share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; background: var(--sc); color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; border-radius: 6px; letter-spacing: .02em; box-shadow: 0 2px 8px rgba(0,0,0,.15); transition: opacity var(--plp-ease), transform var(--plp-ease), box-shadow var(--plp-ease); }
.plp-share-btn:hover { opacity:.9; transform:translateY(-2px); box-shadow:0 5px 16px rgba(0,0,0,.2); }
.plp-share-btn svg { width:15px; height:15px; fill:currentColor; flex-shrink:0; }

/* ═══════════════════════════════════════════════════════
   PREV / NEXT
   ═══════════════════════════════════════════════════════ */

.plp-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.plp-prevnext-item { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--plp-white); border: 1px solid var(--plp-border); border-radius: var(--plp-r-lg); text-decoration: none; color: inherit; box-shadow: var(--plp-sh-sm); transition: border-color var(--plp-ease), box-shadow var(--plp-ease), transform var(--plp-ease); }
.plp-prevnext-item:hover { border-color: var(--plp-accent); box-shadow: var(--plp-sh); transform: translateY(-2px); }
.plp-next { justify-content: flex-end; text-align: right; }
.plp-pn-arrow { font-size: 18px; color: var(--plp-accent); flex-shrink: 0; transition: transform var(--plp-ease); }
.plp-prevnext-item:hover .plp-pn-arrow { transform: translateX(-3px); }
.plp-next:hover .plp-pn-arrow { transform: translateX(3px); }
.plp-pn-content { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.plp-pn-right { align-items: flex-end; }
.plp-pn-label { font-size: 10px; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; color: var(--plp-muted); }
.plp-pn-title { font-size: 13px; font-weight: 600; color: var(--plp-text); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.plp-pn-thumb { width:52px; height:42px; object-fit:cover; border-radius:6px; flex-shrink:0; }

/* ═══════════════════════════════════════════════════════
   AUTHOR BOX
   ═══════════════════════════════════════════════════════ */

.plp-author-box { display: flex; gap: 20px; align-items: flex-start; padding: 24px; background: var(--plp-bg); border-radius: var(--plp-r-lg); border: 1px solid var(--plp-border); border-left: 4px solid var(--plp-accent); margin: 28px 0; box-shadow: var(--plp-sh-sm); }
.plp-author-avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--plp-white); box-shadow: 0 3px 10px rgba(0,0,0,.14); }
.plp-author-info { display: flex; flex-direction: column; gap: 4px; }
.plp-author-name { font-size: 16px; font-weight: 700; color: var(--plp-text); text-decoration: none; font-family: 'Lora', serif; }
.plp-author-name:hover { color: var(--plp-accent); }
.plp-author-posts { font-size: 11px; color: var(--plp-muted); font-style: italic; }
.plp-author-bio { font-size: 13.5px; line-height: 1.65; color: var(--plp-text); margin: 6px 0 0; opacity: .85; }

/* ═══════════════════════════════════════════════════════
   SECTION TITLE
   ═══════════════════════════════════════════════════════ */

.plp-section-title { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: var(--plp-text); margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--plp-border); font-family: 'Lora', serif; }
.plp-section-title a { color: inherit; text-decoration: none; }
.plp-section-title a:hover { color: var(--plp-accent); }
.plp-section-bar { display: inline-block; width: 4px; height: 20px; background: var(--plp-accent); border-radius: 2px; flex-shrink: 0; }
.plp-view-all { margin-left: auto; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--plp-accent) !important; text-decoration: none; white-space: nowrap; padding: 4px 10px; border: 1px solid var(--plp-accent); border-radius: 4px; transition: background var(--plp-ease), color var(--plp-ease); }
.plp-view-all:hover { background: var(--plp-accent); color: #fff !important; }

/* ═══════════════════════════════════════════════════════
   RELATED ARTICLES
   ═══════════════════════════════════════════════════════ */

.plp-related { margin: 36px 0 28px; }
.plp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plp-related-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: var(--plp-r-lg); overflow: hidden; border: 1px solid var(--plp-border); background: var(--plp-white); box-shadow: var(--plp-sh-sm); transition: box-shadow var(--plp-ease), transform var(--plp-ease); }
.plp-related-card:hover { box-shadow: var(--plp-sh-hov); transform: translateY(-3px); }
.plp-related-img { position: relative; height: 145px; overflow: hidden; background: var(--plp-bg); }
.plp-related-img img, .plp-related-no-img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease; }
.plp-related-card:hover .plp-related-img img { transform: scale(1.06); }
.plp-related-no-img { background: var(--plp-border); }
.plp-related-cat { position: absolute; top: 10px; left: 10px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; background: var(--plp-accent); color: #fff; padding: 3px 9px; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.plp-related-body { padding: 13px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.plp-related-title { font-size: 13px; font-weight: 600; line-height: 1.45; margin: 0; color: var(--plp-text); display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
.plp-related-date { font-size: 11px; color: var(--plp-muted); margin-top: auto; padding-top: 4px; }

/* ═══════════════════════════════════════════════════════
   CATEGORY SECTIONS
   ═══════════════════════════════════════════════════════ */

.plp-cat-sections { margin-top: 8px; display: flex; flex-direction: column; gap: 36px; }
.plp-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plp-cat-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: var(--plp-r-lg); overflow: hidden; border: 1px solid var(--plp-border); background: var(--plp-white); box-shadow: var(--plp-sh-sm); transition: box-shadow var(--plp-ease), transform var(--plp-ease); }
.plp-cat-card:hover { box-shadow: var(--plp-sh-hov); transform: translateY(-3px); }
.plp-cat-img { height: 120px; overflow: hidden; background: var(--plp-bg); }
.plp-cat-img img, .plp-cat-no-img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease; }
.plp-cat-card:hover .plp-cat-img img { transform: scale(1.06); }
.plp-cat-no-img { background: var(--plp-border); }
.plp-cat-body { padding: 11px 13px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.plp-cat-title { font-size: 12.5px; font-weight: 600; line-height: 1.4; margin: 0; color: var(--plp-text); display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
.plp-cat-date { font-size: 10.5px; color: var(--plp-muted); margin-top: auto; padding-top: 3px; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (min-width: 1280px) {
    .plp-layout { grid-template-columns: 1fr 320px; gap: 40px; }
}
@media (max-width: 1199px) and (min-width: 901px) {
    .plp-layout { grid-template-columns: 1fr 270px; gap: 26px; }
    .plp-related-grid { grid-template-columns: repeat(2, 1fr); }
    .plp-cat-grid     { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) and (min-width: 769px) {
    .plp-layout { grid-template-columns: 1fr 240px; gap: 20px; }
    .plp-related-grid { grid-template-columns: repeat(2, 1fr); }
    .plp-cat-grid     { grid-template-columns: repeat(2, 1fr); }
    /* collapse featured to column on tablet */
    .plp-news-item--featured { flex-direction: column; }
    .plp-news-item--featured .plp-news-thumbnail { width: 100%; min-height: 220px; }
    .plp-news-item--featured .plp-news-content { padding: 20px; }
}
@media (max-width: 768px) {
    .plp-outer, .plp-comments-section { padding: 0 16px; }
    .plp-layout { grid-template-columns: 1fr; gap: 28px; }
    .plp-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .plp-radio-widget, .plp-latest-articles { grid-column: 1 / -1; }
    .plp-prevnext      { grid-template-columns: 1fr; }
    .plp-related-grid  { grid-template-columns: repeat(2, 1fr); }
    .plp-cat-grid      { grid-template-columns: repeat(3, 1fr); }
    .plp-author-box    { flex-direction: column; }
    .plp-comments-section > div { max-width: 100%; }
    /* news grid — 2 cols on tablet */
    .plp-news-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    /* featured card: collapse to stacked */
    .plp-news-item--featured { flex-direction: column; grid-column: 1 / -1; }
    .plp-news-item--featured::before { width: 100%; border-radius: 22px 22px 0 0; }
    .plp-news-item--featured .plp-news-thumbnail { width: 100%; min-height: 220px; }
    .plp-news-item--featured .plp-news-content { padding: 22px 20px; gap: 10px; }
    /* header: stack vertically */
    .plp-nl-header { flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 14px; }
    /* controls stretch full width */
    .plp-nl-controls { width: 100%; flex-wrap: nowrap; }
    .plp-nl-search-wrap { flex: 1; }
    .plp-nl-search { width: 100%; }
    .plp-nl-search:focus { width: 100%; }
    .plp-nl-cat-select-wrap { flex: 1; }
    .plp-nl-cat-select { min-width: 0; max-width: 100%; width: 100%; }
}
@media (max-width: 600px) {
    .plp-outer, .plp-comments-section { padding: 0 12px; }
    .plp-sidebar { grid-template-columns: 1fr; }
    .plp-related-grid { grid-template-columns: repeat(2, 1fr); }
    .plp-cat-grid     { grid-template-columns: repeat(2, 1fr); }
    .plp-share-btn span { display: none; }
    .plp-share-btn { padding: 10px 13px; }
    .plp-author-box { padding: 16px; gap: 14px; }
    .plp-author-avatar { width: 58px; height: 58px; }
    .plp-pn-title { font-size: 12px; }
    .plp-pn-thumb { display: none; }
    .plp-section-title { font-size: 15px; }
    /* news: single column */
    .plp-news-grid { grid-template-columns: 1fr; gap: 16px; }
    .plp-news-thumbnail { height: 200px; }
    .plp-news-title { font-size: 15px; }
    /* pagination compact */
    .plp-pag-btn { padding: 9px 16px; font-size: 11px; }
}
@media (max-width: 400px) {
    .plp-related-grid { grid-template-columns: 1fr; }
    .plp-cat-grid     { grid-template-columns: 1fr; }
    /* controls stack vertically on tiny screens */
    .plp-nl-controls  { flex-wrap: wrap; }
    .plp-nl-search-wrap,
    .plp-nl-cat-select-wrap { width: 100%; flex: none; }
    .plp-nl-cat-select { width: 100%; }
}
