/*
Theme Name: 24 Orë Lajme
Theme URI: https://24-ore.com
Author: 24 Orë
Description: Temë lajmesh shqiptare
Version: 2.0
Text Domain: 24ore-lajme
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Source+Serif+4:wght@400;600&family=Barlow:wght@400;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --red: #C41A1A;
    --black: #0A0A0A;
    --gray: #767676;
    --border: #E5E5E5;
    --bg: #F7F7F5;
    --font-head: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Serif 4', Georgia, serif;
    --font-ui: 'Barlow', Arial, sans-serif;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--black);
    background: #fff;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── TOP BAR ── */
.top-bar {
    background: var(--black);
    color: #fff;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    padding: 8px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a { color: #ccc; margin-right: 16px; }
.top-bar a:hover { color: #fff; }
.top-bar__date { color: #aaa; }

/* ── MASTHEAD ── */
.site-masthead {
    padding: 16px 0;
    border-bottom: 3px solid var(--black);
}
.masthead-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}
.site-masthead .custom-logo { max-height: 80px; width: auto; margin: 0 auto; display: block; }
.site-title {
    font-family: var(--font-head);
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-align: center;
    display: block;
}
.site-title span { color: var(--red); }

/* Moti — majtas */
.header-weather {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    grid-column: 1;
}
.header-weather__icon { font-size: 1.8rem; line-height: 1; }
.header-weather__info { display: flex; flex-direction: column; line-height: 1.35; }
.header-weather__city { font-family: var(--font-ui); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); }
.header-weather__temp { font-family: var(--font-ui); font-size: 0.8rem; font-weight: 600; color: var(--black); }

/* Stocks — djathtas */
.header-stocks {
    display: flex;
    justify-content: flex-end;
    grid-column: 3;
}
.header-stocks__grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 2px 12px;
    align-items: center;
}
.header-stocks__item {
    display: contents;
}
.header-stocks__label {
    font-family: var(--font-ui);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray);
    text-align: right;
}
.header-stocks__val {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    text-align: left;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .masthead-grid { grid-template-columns: 1fr; justify-items: center; gap: 10px; }
    .header-weather, .header-stocks { display: none; }
}

/* ── NAV ── */
.primary-nav {
    border-bottom: 1px solid var(--border);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}
.primary-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.primary-nav__menu {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
}
.primary-nav__menu li { position: relative; }
.primary-nav__menu li a {
    display: block;
    padding: 14px 16px;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--black);
    transition: color 0.2s;
}
.primary-nav__menu li a:hover,
.primary-nav__menu li.current-menu-item > a { color: var(--red); }
.primary-nav__menu li a::after {
    content: '';
    display: block;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.2s;
    margin-top: 2px;
}
.primary-nav__menu li a:hover::after { transform: scaleX(1); }

/* Dropdown */
.primary-nav__menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-top: 2px solid var(--black);
    min-width: 200px;
    z-index: 200;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.primary-nav__menu li:hover > .sub-menu { display: block; }
.primary-nav__menu .sub-menu li a {
    padding: 10px 16px;
    font-size: 0.78rem;
    border-bottom: 1px solid var(--border);
    text-transform: none;
    letter-spacing: 0;
}
.primary-nav__menu .sub-menu li:last-child a { border-bottom: none; }
.nav-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 8px;
    color: var(--black);
}
.nav-search-btn:hover { color: var(--red); }

/* ── BREAKING NEWS ── */
.breaking-bar {
    background: var(--red);
    color: #fff;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    padding: 8px 0;
    overflow: hidden;
}
.breaking-bar .container { display: flex; align-items: center; gap: 16px; }
.breaking-bar__label {
    background: #fff;
    color: var(--red);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    white-space: nowrap;
    flex-shrink: 0;
}
.breaking-bar__ticker { overflow: hidden; }
.breaking-bar__ticker a { color: #fff; margin-right: 40px; white-space: nowrap; }

/* ══════════════════════════════════════
   NYT-STYLE HOMEPAGE
   ══════════════════════════════════════ */

/* Hero 3-kolonë */
.nyt-top-section {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 0;
    padding: 24px 0 20px;
    border-bottom: 1px solid var(--border);
}
.nyt-col { padding: 0 20px; }
.nyt-col--left  { border-right: 1px solid var(--border); padding-left: 0; }
.nyt-col--center { border-right: 1px solid var(--border); }
.nyt-col--right { padding-right: 0; }

/* Imazhet */
.nyt-img { width: 100%; display: block; object-fit: cover; margin-bottom: 10px; }
.nyt-img--main { height: 340px; }
.nyt-img--sm   { height: 150px; }
.nyt-img--lead { height: 240px; }

/* Titujt — stil NYT serif */
.nyt-title { font-family: var(--font-head); line-height: 1.22; margin-bottom: 6px; }
.nyt-title--main { font-size: 2rem; font-weight: 700; }
.nyt-title--lead { font-size: 1.3rem; font-weight: 700; }
.nyt-title--sm   { font-size: 1rem;  font-weight: 700; }
.nyt-title--xs   { font-size: 0.9rem; font-weight: 700; }
.nyt-title:hover, a:hover .nyt-title { color: var(--red); }

/* Permbledhja */
.nyt-summary      { font-family: var(--font-body); font-size: 0.88rem; color: #444; line-height: 1.55; margin-bottom: 6px; }
.nyt-summary--main{ font-size: 1rem; }
.nyt-summary--xs  { font-size: 0.82rem; }

/* Koha */
.nyt-time { font-family: var(--font-ui); font-size: 0.7rem; color: var(--gray); display: block; }

/* Linja ndarese */
.nyt-divider-bottom { border-bottom: 1px solid var(--border); }
.nyt-rule { border: none; border-top: 3px solid var(--black); margin: 28px 0 0; }

/* Body wrap: main + sidebar */
.nyt-body-wrap {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 0;
    padding-top: 28px;
}
.nyt-body-main { padding-right: 32px; border-right: 1px solid var(--border); }

/* Seksionet e rubrikave */
.nyt-section { padding: 28px 0; border-bottom: 1px solid var(--border); }
.nyt-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-top: 3px solid var(--sec-color, #000);
    padding-top: 8px;
    margin-bottom: 16px;
}
.nyt-section-title {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--sec-color, #000);
}
.nyt-section-more { font-family: var(--font-ui); font-size: 0.7rem; color: var(--gray); }
.nyt-section-more:hover { color: var(--red); }

/* Grid seksioni: lead + liste */
.nyt-section-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
}
.nyt-sec-list { border-left: 1px solid var(--border); padding-left: 20px; }
.nyt-hcard { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; }

/* Sidebar NYT */
.nyt-sidebar { padding-left: 24px; }
.nyt-sidebar-title {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-top: 3px solid var(--black);
    padding-top: 8px;
    margin-bottom: 14px;
}
.nyt-sb-item { padding: 10px 0; }

/* GRIDS */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.card img { width: 100%; height: 180px; object-fit: cover; margin-bottom: 10px; }
.card__title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.card__title:hover { color: var(--red); }
.card__summary { font-size: 0.85rem; color: #555; line-height: 1.5; }
.card__time { font-family: var(--font-ui); font-size: 0.72rem; color: var(--gray); margin-top: 6px; display: block; }
.hcard { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.hcard img { width: 80px; height: 60px; object-fit: cover; flex-shrink: 0; }
.hcard__title { font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; line-height: 1.3; }
.hcard__title:hover { color: var(--red); }
.hcard__time { font-family: var(--font-ui); font-size: 0.7rem; color: var(--gray); margin-top: 4px; display: block; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* ── CONTENT + SIDEBAR ── */
.with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 30px 0; }
.sidebar-widget { margin-bottom: 30px; }
.sidebar-widget__title {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-top: 3px solid var(--black);
    padding-top: 10px;
    margin-bottom: 16px;
}

/* ── SINGLE ARTICLE ── */
.single-wrap { max-width: 800px; margin: 0 auto; padding: 30px 0; }
.single-cat {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    padding: 3px 10px;
    display: inline-block;
    margin-bottom: 14px;
}
.single-title {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.22;
    margin-bottom: 16px;
}
.single-byline {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--gray);
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}
.single-byline__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.single-byline__name { font-weight: 700; color: var(--black); }
.single-featured img { width: 100%; max-height: 520px; object-fit: cover; margin-bottom: 24px; }
.single-body { font-family: var(--font-body); font-size: 1.05rem; line-height: 1.75; color: #222; }
.single-body p { margin-bottom: 1.4em; }
.single-body h2 { font-family: var(--font-head); font-size: 1.4rem; margin: 1.6em 0 0.6em; }
.single-body h3 { font-family: var(--font-head); font-size: 1.2rem; margin: 1.4em 0 0.5em; }
.single-body blockquote {
    border-left: 4px solid var(--red);
    padding: 12px 20px;
    margin: 1.6em 0;
    font-style: italic;
    color: #444;
    background: var(--bg);
}
.single-body img { margin: 1.4em 0; }
.single-share {
    display: flex;
    gap: 10px;
    margin: 24px 0;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.share-btn {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 16px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.share-btn:hover { background: var(--black); color: #fff; border-color: var(--black); }
.share-btn--fb { background: #1877F2; color: #fff; border-color: #1877F2; }
.share-btn--fb:hover { background: #0d65d9; }

/* ── RELATED ── */
.related { padding: 30px 0; border-top: 1px solid var(--border); margin-top: 30px; }
.related__title { font-family: var(--font-ui); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 20px; }

/* ── ARCHIVE ── */
.archive-header { padding: 20px 0; border-bottom: 3px solid var(--black); margin-bottom: 30px; }
.archive-header h1 { font-family: var(--font-head); font-size: 2rem; font-weight: 700; }

/* ── PAGINATION ── */
.pagination { display: flex; gap: 8px; justify-content: center; padding: 30px 0; font-family: var(--font-ui); }
.pagination a, .pagination span {
    padding: 8px 14px;
    border: 1px solid var(--border);
    font-size: 0.85rem;
}
.pagination .current { background: var(--black); color: #fff; border-color: var(--black); }
.pagination a:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ── FOOTER ── */
.site-footer { background: var(--black); color: #fff; padding: 40px 0 20px; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; margin-bottom: 30px; }
.footer-col__title { font-family: var(--font-ui); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #aaa; border-bottom: 1px solid #333; padding-bottom: 8px; margin-bottom: 12px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-family: var(--font-ui); font-size: 0.82rem; color: #ccc; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; display: flex; justify-content: space-between; font-family: var(--font-ui); font-size: 0.78rem; color: #777; }

/* ── CAT BADGE ── */
.cat-badge {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    padding: 2px 8px;
    margin-bottom: 6px;
    background: var(--red);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .opinion-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .hp-hero__grid, .with-sidebar, .grid-3, .grid-2, .two-col { grid-template-columns: 1fr; }
    .hp-hero__secondary { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 20px; }
    .opinion-grid, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .primary-nav__menu { display: none; }
}

/* ── NËNTITULLI ── */
.single-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 400;
    color: #444;
    line-height: 1.5;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    font-style: italic;
}

/* ── SHARE BUTTONS ── */
.share-btn--fb  { background:#1877F2; color:#fff; border-color:#1877F2; }
.share-btn--fb:hover  { background:#0d65d9; border-color:#0d65d9; color:#fff; }
.share-btn--x   { background:#000; color:#fff; border-color:#000; }
.share-btn--x:hover   { background:#333; color:#fff; }
.share-btn--wa  { background:#25D366; color:#fff; border-color:#25D366; }
.share-btn--wa:hover  { background:#1db954; border-color:#1db954; color:#fff; }
.share-btn svg  { flex-shrink:0; }

/* ── DROP CAP — Germa e parë e madhe ── */
.single-body > p:first-of-type::first-letter {
    font-family: var(--font-head);
    font-size: 4.2rem;
    font-weight: 900;
    float: left;
    line-height: 0.78;
    margin-right: 8px;
    margin-top: 6px;
    color: var(--black);
}

/* ══ KOMENTET ══ */
.comments-section {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 3px solid var(--black);
}
.comments-section h2 {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
.comment-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.comment-item__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-family: var(--font-ui);
    font-size: 0.78rem;
}
.comment-item__avatar { border-radius: 50%; }
.comment-item__author { font-weight: 700; color: var(--black); }
.comment-item__date { color: var(--gray); }
.comment-item__text { font-family: var(--font-body); font-size: 0.95rem; line-height: 1.6; color: #333; }
.comment-item__text p { margin: 0; }

/* Forma e komenteve */
.comment-form-wrap {
    background: var(--bg);
    padding: 24px;
    border: 1px solid var(--border);
}
.comment-form-wrap h3 {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.comment-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
.comment-form-field { display: flex; flex-direction: column; gap: 5px; }
.comment-form-field label { font-family: var(--font-ui); font-size: 0.75rem; font-weight: 600; color: #555; }
.comment-form-field input,
.comment-form-field textarea {
    padding: 9px 12px;
    border: 1px solid #ccc;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: #fff;
    transition: border-color 0.2s;
    outline: none;
    border-radius: 2px;
}
.comment-form-field input:focus,
.comment-form-field textarea:focus { border-color: var(--black); }
.comment-form-field textarea { height: 100px; resize: vertical; }
.comment-submit-btn {
    background: var(--black);
    color: #fff;
    border: none;
    padding: 10px 28px;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}
.comment-submit-btn:hover { background: var(--red); }
.comment-notice {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
    .nyt-top-section { grid-template-columns: 1fr 1.5fr; }
    .nyt-col--right { display: none; }
    .nyt-body-wrap { grid-template-columns: 1fr 240px; }
    .nyt-section-grid { grid-template-columns: 1fr; }
    .nyt-sec-list { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 12px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .with-sidebar { grid-template-columns: 1fr 240px; }
}
@media (max-width: 768px) {
    .nyt-top-section { grid-template-columns: 1fr; }
    .nyt-col { padding: 0; border: none !important; margin-bottom: 20px; }
    .nyt-body-wrap { grid-template-columns: 1fr; }
    .nyt-sidebar { padding-left: 0; border-top: 1px solid var(--border); padding-top: 24px; margin-top: 24px; }
    .nyt-body-main { padding-right: 0; border-right: none; }
    .grid-3, .grid-2, .with-sidebar { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .primary-nav__menu { display: none; }
    .comment-form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══ NYT QUICKBAR — brez lajmesh midis dy vijave ══ */
.nyt-quickbar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.nyt-quickbar__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 16px;
    border-right: 1px solid var(--border);
    font-family: var(--font-head);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--black);
}
.nyt-quickbar__item:first-child { padding-left: 0; }
.nyt-quickbar__item:last-child  { border-right: none; }
.nyt-quickbar__item:hover       { color: var(--red); }
.nyt-quickbar__time {
    font-family: var(--font-ui);
    font-size: 0.68rem;
    font-weight: 400;
    color: var(--gray);
}
@media (max-width: 1024px) {
    .nyt-quickbar { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .nyt-quickbar { grid-template-columns: repeat(2, 1fr); }
    .nyt-quickbar__item { padding: 8px 10px; }
}

/* ══ NYT MIDBAR ══ */
/* Rreshti 1: 2 tituj pa foto */
.nyt-midbar-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.nyt-midbar-text__item {
    padding: 0 24px;
    border-right: 1px solid var(--border);
}
.nyt-midbar-text__item:first-child { padding-left: 0; }
.nyt-midbar-text__item:last-child  { border-right: none; }
.nyt-midbar-text__title {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
}
.nyt-midbar-text__title:hover { color: var(--red); }

/* Rreshti 2: 4 me foto */
.nyt-midbar-photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 14px 0;
}
.nyt-midbar-photos__item {
    padding: 0 20px;
    border-right: 1px solid var(--border);
}
.nyt-midbar-photos__item:first-child { padding-left: 0; }
.nyt-midbar-photos__item:last-child  { border-right: none; }

@media (max-width: 768px) {
    .nyt-midbar-text    { grid-template-columns: 1fr; }
    .nyt-midbar-photos  { grid-template-columns: repeat(2, 1fr); }
    .nyt-midbar-text__item,
    .nyt-midbar-photos__item { padding: 8px 0; border-right: none; border-bottom: 1px solid var(--border); }
}

/* ══ NYT OPINION (kolona djathtas në hero) ══ */
.nyt-opinion-header {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    border-top: 3px solid var(--black);
    padding-top: 8px;
    margin-bottom: 14px;
}
.nyt-opinion-lead { padding-bottom: 14px; margin-bottom: 14px; }
.nyt-opinion-item { padding: 12px 0; }
.nyt-opinion-item__inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}

/* ══ OPINION AUTHOR në single ══ */
.single-opinion-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

/* ══ FOTO BRENDA SHKRIMIT me caption ══ */
.single-body img {
    max-width: 100%;
    height: auto;
}
.single-body figure {
    margin: 1.4em 0;
}

/* WordPress alignment classes — respekto zgjedhjen e redaktorit */
.single-body .aligncenter,
.single-body figure.aligncenter {
    display: block;
    margin: 1.4em auto !important;
    text-align: center;
    float: none !important;
    max-width: 100% !important;
}
.single-body .aligncenter img,
.single-body figure.aligncenter img {
    display: block;
    margin: 0 auto;
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
    object-fit: unset !important;
}
/* figure.wp-caption.aligncenter — WordPress vendos width inline, e respektojmë */
.single-body figure.wp-caption.aligncenter {
    max-width: 100% !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    clear: both;
}
.single-body figure.wp-caption.aligncenter img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: unset !important;
    display: block;
}
.single-body .alignleft,
.single-body figure.alignleft {
    float: left;
    margin: 4px 20px 12px 0;
    max-width: 50%;
}
.single-body .alignright,
.single-body figure.alignright {
    float: right;
    margin: 4px 0 12px 20px;
    max-width: 50%;
}
.single-body .alignfull,
.single-body .alignwide,
.single-body figure.alignfull,
.single-body figure.alignwide {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 1.4em 0;
}
.single-body .alignfull img,
.single-body .alignwide img {
    width: 100%;
    height: auto;
}

/* wp-caption me caption text */
.single-body .wp-caption {
    max-width: 100% !important;
    height: auto;
}
.single-body .wp-caption img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: unset !important;
    display: block;
}
.single-body .wp-caption-text,
.single-body figcaption {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    color: var(--gray);
    line-height: 1.4;
    margin-top: 4px;
    font-style: italic;
}
/* Pas fotos, teksti rrjedh normalisht */
.single-body p { overflow: visible; }
.single-body::after { content: ''; display: table; clear: both; }

/* ══ FSHI AUTORIN — nga çdo plugin/temë ══ */
.author-name,
.post-author,
.entry-author,
.byline,
.author.vcard,
span.author,
.jeg_post_meta .author,
.post-meta .author,
a[rel="author"],
.author-info,
.author-bio,
[class*="author"]:not(.comment-item__author) {
    display: none !important;
}

/* ══ Fshi Rubrikat nga sidebar i artikullit ══ */
.single-post-page .nyt-sidebar-widget:last-child,
.single-post-page .sidebar-widget:last-child {
    display: none !important;
}



/* ══ SLIDER ROZË ══ */
.roze-slider-section {
    background: #fff5f8;
    padding: 28px 0 32px;
    margin-top: 40px;
    border-top: none;
}
.roze-slider-section .nyt-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.roze-slider-nav {
    display: flex;
    gap: 8px;
}
.roze-prev, .roze-next {
    background: #c0396b;
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.roze-prev:hover, .roze-next:hover { background: #9b1a4a; }
.roze-slider-wrap {
    overflow: hidden;
}
.roze-slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
    will-change: transform;
}
.roze-slide {
    flex: 0 0 calc(25% - 15px);
    min-width: 220px;
}
.roze-slide a { text-decoration: none; color: inherit; }
.roze-slide img { border-radius: 2px; }
.roze-slide__title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--black);
    margin: 0 0 4px;
}
.roze-slide__title:hover { color: #c0396b; }

@media (max-width: 768px) {
    .roze-slide { flex: 0 0 calc(50% - 10px); }
}

/* ══ NDESHJET E FUTBOLLIT ══ */
.matches-bar {
    display: flex;
    align-items: stretch;
    border-bottom: 2px solid var(--black);
    margin: 0;
    background: #fff;
    overflow: hidden;
}
.matches-bar__label {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--black);
    color: #fff;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    min-height: 95px;
}
.matches-bar__wrap {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}
.matches-prev, .matches-next {
    background: none;
    border: none;
    border-left: 1px solid var(--border);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 12px;
    color: var(--black);
    align-self: stretch;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: background 0.15s;
}
.matches-prev { border-left: none; border-right: 1px solid var(--border); }
.matches-prev:hover, .matches-next:hover { background: #f5f5f5; }
.matches-bar__viewport {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}
.matches-bar__track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    transition: transform 0.35s ease;
    will-change: transform;
}
.match-card {
    flex: 0 0 170px;
    width: 170px;
    padding: 10px 14px;
    border-right: 1px solid var(--border);
    min-height: 95px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}
.match-card__league {
    font-family: var(--font-ui);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.match-card__teams {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.match-card__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
}
.match-card__team {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}
.match-card__sc {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--black);
    min-width: 16px;
    text-align: right;
    flex-shrink: 0;
}
.match-card__date {
    font-family: var(--font-ui);
    font-size: 0.62rem;
    color: var(--gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}
.match-card__ft {
    font-weight: 700;
    color: #444;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
}
.score-live { color: #e53935; font-size: 0.6rem; animation: pulse 1s infinite; }
.score-time { color: var(--gray); font-size: 0.72rem; font-weight: 600; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
@media (max-width: 768px) {
    .matches-bar__label { writing-mode: horizontal-tb; transform: none; min-height: auto; padding: 8px 10px; }
    .match-card { flex: 0 0 140px; width: 140px; }
}

/* ══ SPORT BLOCK ══ */
.sport-block {
    padding: 24px 0 28px;
}
.sport-block__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
    padding-bottom: 8px;
    margin-bottom: 20px;
}
.sport-block__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}
.sport-block__lead img {
    border-radius: 2px;
}
.sport-block__side {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.sport-block__item {
    padding: 14px 0;
}
.sport-block__item:first-child {
    padding-top: 0;
}
@media (max-width: 900px) {
    .sport-block__grid {
        grid-template-columns: 1fr;
    }
    .sport-block__lead img {
        height: 220px !important;
    }
}

/* ══ SEARCH BOX NË NAV ══ */
.nav-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-search-box {
    position: absolute;
    right: 0;
    top: 110%;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    z-index: 999;
    padding: 6px;
    min-width: 260px;
}
.nav-search-box form {
    display: flex;
    gap: 0;
}
.nav-search-box input[type="text"] {
    flex: 1;
    border: 1px solid var(--border);
    border-right: none;
    padding: 8px 12px;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    outline: none;
}
.nav-search-box button[type="submit"] {
    background: var(--black);
    color: #fff;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 1rem;
}
.nav-search-box button[type="submit"]:hover {
    background: var(--red);
}

/* ══ AD SLOTS ══ */
.orel-ad-slot {
    width: 100%;
    margin: 16px 0;
    text-align: center;
    overflow: hidden;
    line-height: 0;
}
.orel-ad-slot img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.orel-ad-slot--header_top,
.orel-ad-slot--footer_top {
    background: #f5f5f5;
    padding: 8px 0;
    margin: 0;
}
.orel-ad-slot--sidebar,
.orel-ad-slot--sidebar_bottom {
    margin: 12px 0;
}

/* ══ SIDEBAR ADS ══ */
.sidebar-ad {
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.sidebar-ad--top {
    margin-bottom: 24px;
}
.sidebar-ad--bottom {
    margin-top: 24px;
    margin-bottom: 0;
}
/* Kur nuk ka reklamë të vendosur, fshih boshllëkun */
.sidebar-ad:empty,
.sidebar-ad .orel-ad-slot:empty {
    display: none;
    margin: 0;
}
/* Reklama 250x250 në sidebar */
.sidebar-ad .orel-ad-slot {
    width: 250px;
    max-width: 100%;
    margin: 0 auto;
}
.sidebar-ad .orel-ad-slot img {
    width: 250px;
    max-width: 100%;
    height: auto;
    display: block;
}
