/* Quds News Network — front-page redesign. Site-specific styles only. */
:root { --container: 1200px; }

h1, h2, h3 { font-weight: 600; letter-spacing: -.01em; }
.site-header { background: #fff; backdrop-filter: none; border-bottom: 1px solid var(--line); }
.brand img { height: 44px; width: auto; }
.nav a { color: var(--ink); font-weight: 600; }
.nav .btn { padding: .6em 1em; font-size: var(--fs-sm); box-shadow: none; }

/* Story links: headline colour stays ink, underline on hover only */
.story a, a.story-link { color: var(--ink); text-decoration: none; }
.story a:hover, a.story-link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.kicker { display: block; font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; color: var(--accent); margin-bottom: var(--s-2); }
time, .meta { font-family: var(--font-body); font-size: var(--fs-sm); color: var(--ink-2); }
.byline { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-sm); color: var(--ink); display: block; margin-bottom: .2rem; }

/* ---- Masthead ---------------------------------------------- */
.masthead { border-bottom: 3px solid var(--ink); padding-block: var(--s-5) var(--s-4); }
.masthead .container { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-2) var(--s-6); }
.masthead h1 { font-size: var(--fs-xl); margin: 0; }
.nw { white-space: nowrap; }
.lead-date { display: block; margin-top: var(--s-2); }
.masthead .edition { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }

/* ---- Lead story --------------------------------------------- */
.lead { padding-block: var(--s-6) var(--s-6); }
.lead-grid { display: grid; gap: var(--s-5); }
.lead-text { display: flex; flex-direction: column; }
.lead h2 { font-size: clamp(1.9rem, 1.15rem + 2.6vw, 3.3rem); line-height: 1.08; margin-bottom: var(--s-4); }
.lead .read { font-family: var(--font-body); font-weight: 600; color: var(--brand); }
.lead-photo { margin: 0; }
.lead-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .lead-grid { grid-template-columns: 7fr 5fr; align-items: start; }
  .lead-photo { grid-column: 1; grid-row: 1; }
  .lead-text { grid-column: 2; grid-row: 1; }
}

/* ---- Latest strip ------------------------------------------- */
.latest { border-top: 3px solid var(--accent); padding-top: var(--s-4); margin-top: var(--s-6); }
.latest h2 { font-size: var(--fs-lg); margin-bottom: var(--s-4); }
.latest ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.latest li { padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.latest li:first-child { border-top: 0; padding-top: 0; }
.latest h3 { font-size: var(--fs-md); line-height: 1.3; margin: .25rem 0 0; }
@media (min-width: 900px) {
  .latest ol { grid-template-columns: repeat(5, 1fr); gap: var(--s-5); }
  .latest li, .latest li:first-child { border-top: 0; padding: 0 0 0 var(--s-4); border-left: 1px solid var(--line); }
  .latest li:first-child { border-left: 0; padding-left: 0; }
}

/* ---- Sections ----------------------------------------------- */
.desk { padding-block: var(--s-8) var(--s-7); }
.desk + .desk { padding-top: 0; }
.desk-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); border-top: 1px solid var(--ink); padding-top: var(--s-3); margin-bottom: var(--s-5); }
.desk-head h2 { font-size: var(--fs-xl); margin: 0; }
.more { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; color: var(--brand); }
.two-up { display: grid; gap: var(--s-7); }
@media (min-width: 900px) { .two-up { grid-template-columns: 7fr 5fr; } }

.feature figure { margin: 0 0 var(--s-4); }
.feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.feature h3 { font-size: var(--fs-xl); line-height: 1.15; }

.rows { list-style: none; margin: 0; padding: 0; }
.rows li { padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; padding-top: 0; }
.rows h3 { font-size: var(--fs-lg); line-height: 1.25; margin: 0 0 .35rem; }

.with-thumb { display: grid; grid-template-columns: 1fr 120px; gap: var(--s-4); align-items: start; }
.with-thumb img { width: 120px; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 600px) { .with-thumb { grid-template-columns: 1fr 180px; } .with-thumb img { width: 180px; } }

/* ---- About band --------------------------------------------- */
.about { background: var(--brand); color: #fff; padding-block: var(--s-8); }
.about h2 { color: #fff; font-size: var(--fs-2xl); max-width: 22ch; }
.about p { color: #dfe5f2; }
.about .cols { display: grid; gap: var(--s-6); margin-top: var(--s-6); }
@media (min-width: 900px) { .about .cols { grid-template-columns: repeat(3, 1fr); } }
.about h3 { color: #fff; font-family: var(--font-body); font-size: var(--fs-md); font-weight: 600; margin-bottom: var(--s-2); }
.about a { color: #fff; }
.about .btn { background: #fff; color: var(--brand); margin-top: var(--s-3); box-shadow: none; }

/* ---- Footer ------------------------------------------------- */
.site-footer { background: #0a1433; color: #c9d1e4; padding-block: var(--s-7) var(--s-6); font-size: var(--fs-sm); }
.site-footer .container { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .site-footer .container { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer img { height: 48px; width: auto; margin-bottom: var(--s-4); }
.site-footer h2 { color: #fff; font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--s-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: #fff; }
.site-footer p { color: #c9d1e4; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid #24305a; padding-top: var(--s-4); margin: 0; max-width: none; }
