/* Filmy L2: front page (lead + 2 + Most read, "This week" box, section blocks) and the list (?category / ?search). */

/* ---------------------------------------------------------------- front page */
.front { display: grid; gap: 28px; padding-top: 20px; }
.front .kick { margin-top: 12px; }
.lead h2 { font-size: clamp(28px, 6.4vw, 44px); font-weight: 800; letter-spacing: -.01em; margin: 0 0 10px; }
.lead .dek { font-size: 17px; color: var(--soft); margin-bottom: 8px; }
.sec2 { display: grid; gap: 24px; }
.sec2 h3 { font-size: 21px; margin: 0 0 6px; }
.sec2 .meta, .lead .meta { margin: 0; }
@media (min-width: 768px) {
    .front { grid-template-columns: 1fr 1fr; }
    .lead, .sec2, .most { grid-column: 1 / -1; }
    .sec2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .front { grid-template-columns: 6fr 3fr 3fr; gap: 0; }
    .lead, .sec2, .most { grid-column: auto; }
    .lead { padding-right: 24px; }
    .sec2 { grid-template-columns: 1fr; padding: 0 24px; border-left: 1px solid var(--line); align-content: start; }
    .sec2 article + article { border-top: 1px solid var(--line); padding-top: 20px; }
    .front > .most { padding-left: 24px; border-left: 1px solid var(--line); }
    .front > .most h2 { border-top: 0; padding-top: 0; }
}

/* "This week" box: CSS-only tabs (radio + labels) */
.week { margin-top: 36px; background: var(--surface); border-top: 3px solid var(--accent); border-radius: 0 0 10px 10px; scroll-margin-top: 72px; }
.week-in { padding: 18px 16px 20px; }
.week-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 12px; }
.week-head h2 { font-size: 28px; }
.wk-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 16px; padding: 0 16px; }
.wk-tabs::-webkit-scrollbar { display: none; }
.wk-tabs label { background: var(--bg); }
.wk-p { display: none; }
#wk-box:checked ~ .wk-tabs label[for=wk-box], #wk-cinema:checked ~ .wk-tabs label[for=wk-cinema], #wk-ott:checked ~ .wk-tabs label[for=wk-ott] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
#wk-box:focus-visible ~ .wk-tabs label[for=wk-box], #wk-cinema:focus-visible ~ .wk-tabs label[for=wk-cinema], #wk-ott:focus-visible ~ .wk-tabs label[for=wk-ott] { outline: 3px solid var(--accent); outline-offset: 3px; }
#wk-box:checked ~ .wk-ps .wk-p-box, #wk-cinema:checked ~ .wk-ps .wk-p-cinema, #wk-ott:checked ~ .wk-ps .wk-p-ott { display: block; }
.wk-p h3 { font-size: 22px; margin-bottom: 4px; }
.wk-p .note { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.wk-table { margin: 0; background: var(--bg); }
.wk-table td, .wk-table:has(tr > :nth-child(3)) td:first-child { background: var(--bg); }
.wk-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
@media (min-width: 768px) { .week-in { padding: 22px 28px 26px; } .wk-tabs { margin: 0 0 16px; padding: 0; } }

/* one block per section */
.blk { display: grid; gap: 20px; }
.blk .big h3 { font-size: 26px; margin: 12px 0 8px; }
.blk .big .dek { color: var(--soft); margin-bottom: 6px; }
.blk ul { list-style: none; margin: 0; padding: 0; }
.blk li a { display: block; padding: 14px 0; border-top: 1px solid var(--line); min-height: 44px; }
.blk li:first-child a { border-top: 0; padding-top: 0; }
.blk li h4 { font-size: 19px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
:lang(hi) .blk li h4 { line-height: 1.45; }
@media (min-width: 768px) { .blk { grid-template-columns: 1.35fr 1fr; gap: 28px; } }

/* ---------------------------------------------------------------- list: section / search / all */
.cat-h { padding: 22px 0 16px; border-bottom: 3px double var(--line); }
.cat-h .row { display: flex; align-items: center; gap: 12px; }
.cat-h .il { width: 26px; height: 38px; }
.cat-h h1 { font-size: clamp(40px, 10vw, 68px); font-weight: 800; line-height: 1; }
:lang(hi) .cat-h h1 { line-height: 1.25; }
.cat-h p { color: var(--soft); font-size: 17px; margin: 10px 0 0; max-width: 640px; }
.cat-h--search { border-bottom: 0; padding-bottom: 8px; }
.l-form .sbox--big { margin: 4px 0 6px; }
.facets { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px 0 4px; }
.facets::-webkit-scrollbar { display: none; }
.tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tools .meta { font-size: 15px; }
.tools .meta b { color: var(--text); }
.seg { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.seg a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--soft); white-space: nowrap; }
.seg a[aria-current] { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--muted); }
@media (max-width: 400px) { .seg a { padding: 0 10px; font-size: 13px; } }

.l-body { display: grid; gap: 0; }
.rows { list-style: none; margin: 0; padding: 0; transition: opacity .15s; }
.rows.loading { opacity: .45; }
.rows li { border-bottom: 1px solid var(--line); }
.rows li > a { display: grid; grid-template-columns: 1fr 112px; gap: 14px; padding: 16px 0; align-items: start; }
.rows h3 { font-size: 19px; line-height: 1.3; margin: 0 0 4px; font-weight: 600; }
:lang(hi) .rows h3 { line-height: 1.45; }
.rows .dek { display: none; color: var(--soft); font-size: 15px; margin: 0 0 4px; line-height: 1.55; }
.rows .fr { border-radius: 4px; }
.rows .kick { margin-bottom: 2px; }
.rows li.l-lead > a { grid-template-columns: 1fr; gap: 14px; padding: 22px 0; }
.rows li.l-lead .fr { order: -1; }
.rows li.l-lead h2 { font-size: clamp(26px, 5.6vw, 36px); font-weight: 800; margin: 4px 0 8px; }
.rows li.l-lead .dek { display: block; font-size: 16px; }
.rows li.ad-row { padding: 0; }
.rows li.empty { border: 1px dashed var(--line); border-radius: 12px; padding: 18px 16px; margin-top: 20px; max-width: 640px; color: var(--soft); }
.rows li.empty p:last-child { margin: 0; }
.pager { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 28px 0 8px; }
.pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pages a, .pages span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; }
.pages a[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.pages span { border: 0; color: var(--muted); }
.l-side { display: none; }
@media (min-width: 768px) {
    .rows li > a { grid-template-columns: 1fr 200px; gap: 24px; }
    .rows .dek { display: block; }
    .rows h3 { font-size: 22px; }
    .rows li.l-lead > a { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 28px; }
    .rows li.l-lead .fr { order: 0; }
}
@media (min-width: 1024px) {
    .l-body { grid-template-columns: 1fr 300px; gap: 40px; }
    .l-side { display: block; }
    .l-side-in { position: sticky; top: 76px; display: grid; gap: 20px; margin-top: 22px; }
    .l-side .ad-slot { margin: 0 auto; }
}
