/* The publications index (/yayinlar). It loads after preview.css only; the two shared rules it needs from the homepage
   (the focused heading's ring and the cover's waiting state before its entrance) are repeated here, scoped. */
.pv-directory-entry h2[tabindex='-1']:focus { outline: none; }
.pv-directory-entry h2[tabindex='-1']:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.mm-motion .pv-directory-entry__cover[data-motion='rise']:not(.is-in) { opacity: 0; }

.pv-directory-opening { padding-block: 64px 32px; }
.pv-directory-opening .pv-display { max-width: 18ch; }
.pv-directory-opening > .pv-body { max-width: 56ch; margin-top: 28px; }
.pv-directory-opening__shared { max-width: 56ch; margin-top: 16px; font-size: 15px; line-height: 1.5; color: var(--pv-muted); }
/* Sector jumps: the underline sits on the sector's words, never on the arrow. The rail is the target of the entries'
   "Sektörlere dön" without script and shows that it holds the focus. */
.pv-directory-sectors:focus { outline: 2px solid var(--pv-ink); outline-offset: 4px; }
.pv-directory-sectors { display: flex; flex-wrap: wrap; gap: 0 32px; margin-top: 36px; padding-block: 12px; border-block: 1px solid var(--pv-rule); }
.pv-directory-sectors a { min-height: 48px; display: flex; align-items: center; gap: 14px; font-size: 16px; text-decoration: none; }
.pv-directory-sectors a > span:first-child { text-decoration: underline 1px var(--pv-line); text-underline-offset: 5px; }
.pv-directory-sectors a:hover > span:first-child { text-decoration-color: currentColor; }
/* The way to the closing for more than one sector, quieter than the sectors and right under them. */
.pv-directory-opening__several { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 8px; font-size: 15px; color: var(--pv-muted); text-decoration: none; }
.pv-directory-opening__several > span:first-child { text-decoration: underline 1px var(--pv-line); text-underline-offset: 5px; }
.pv-directory-opening__several:hover > span:first-child { text-decoration-color: currentColor; }
.pv-directory-closing h2[tabindex='-1']:focus { outline: none; }
.pv-directory-closing h2[tabindex='-1']:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }

/* Entries. From 1024px two to a line, each over ten shared rows through subgrid: introduction, facts, the channel
   row's two lines of three rows each (label, value, month), its scope line and the actions. A pair's facts, each
   measure and its actions so start at the same height; the cover spans the rows. An entry without a channel row has
   its actions straight after its facts, never under an empty band. A jump lands on the introduction with the page's
   one header offset (preview.css: scroll-padding-top) and marks it with an ink rule while it is the fragment. */
.pv-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.pv-directory-entry { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); grid-template-rows: subgrid; grid-row: span 10; column-gap: 28px; row-gap: 0; align-items: start; padding-block: 48px 56px; border-bottom: 1px solid var(--pv-rule); }
.pv-directory-entry > * { grid-column: 2; min-width: 0; }
.pv-directory-entry__intro { position: relative; grid-row: 1; }
.pv-directory-entry__intro:target::before { content: ''; position: absolute; inset-block: 0; left: -16px; width: 2px; background: var(--pv-ink); }
.pv-directory-entry__cover { grid-column: 1; grid-row: 1 / -1; }
.pv-directory-entry__cover > a { display: block; }
.pv-directory-facts { grid-row: 2; }
.pv-directory-channels { grid-row: 3 / span 7; }
.pv-directory-entry__actions { grid-row: 10; }
.pv-directory-entry:not(:has(.pv-directory-channels)) .pv-directory-entry__actions { grid-row: 3 / span 8; }
.pv-directory-entry__sector { margin: 0 0 12px; font-size: 15px; color: var(--pv-muted); }
.pv-directory-entry h2 { margin: 0 0 20px; font-size: clamp(25px, 2.1vw, 32px); line-height: 1.14; }
.pv-directory-entry .pv-body { font-size: 16px; line-height: 1.6; }
.pv-directory-facts { margin: 24px 0 0; font-size: 14px; line-height: 1.5; }
.pv-directory-facts > div { margin-bottom: 12px; }
.pv-directory-facts dt { color: var(--pv-muted); }
.pv-directory-facts dd { margin: 4px 0 0; }

/* A title's own channel figures (D-8436): two to a line, label over value, each line over three shared rows (label,
   value, month) so values share a baseline when a label wraps. From 1024px, where a pair compares them, each measure
   has its place: site users and newsletter subscribers on the first line, LinkedIn followers and the print run on the
   second, each in its own column; a missing measure leaves its place empty and a line without any takes no height.
   A lone measure starts the row (first column, first line) at every width rather than leave a hole before it. With one
   entry to a line the measures simply follow one another. The scope line names the title and the month most figures
   share (the monthly measure says so in its label); only a value from another month carries its month under it.
   Proportional figures, as on the detail page. A title without figures has no row. */
.pv-directory-channels { display: grid; grid-template-rows: subgrid; row-gap: 0; margin: 16px 0 28px; padding-top: 16px; border-top: 1px solid var(--pv-rule); }
.pv-directory-channels dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: subgrid; grid-row: 1 / span 6; column-gap: 24px; row-gap: 0; margin: 0; }
.pv-directory-channels dl > div { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; padding-bottom: 16px; }
.pv-directory-channels [data-measure='users'] { grid-area: 1 / 1 / span 3; }
.pv-directory-channels [data-measure='subscribers'] { grid-area: 1 / 2 / span 3; }
.pv-directory-channels [data-measure='followers'] { grid-area: 4 / 1 / span 3; }
.pv-directory-channels [data-measure='circulation'] { grid-area: 4 / 2 / span 3; }
.pv-directory-channels dl > div:only-child { grid-area: 1 / 1 / span 3; }
.pv-directory-channels dt { align-self: end; font-size: 13px; line-height: 1.4; color: var(--pv-muted); }
.pv-directory-channels dd { margin: 4px 0 0; font-size: 22px; line-height: 1.2; font-weight: 500; font-variant-numeric: proportional-nums; overflow-wrap: break-word; }
.pv-directory-channels dd.pv-directory-channels__period { margin-top: 2px; font-size: 13px; line-height: 1.5; font-weight: 400; color: var(--pv-muted); white-space: nowrap; }
.pv-directory-channels__scope { grid-row: 7; margin: 0; font-size: 13px; line-height: 1.5; color: var(--pv-muted); }
/* The marker keeps its look and gets a 24px target (WCAG 2.5.8), growing to the left only. A back-link from the
   sources lands it with its label clear of the sticky header. */
.pv-directory-channels .pv-ref a { position: relative; scroll-margin-top: 40px; }
.pv-directory-channels .pv-ref a::after { content: ''; position: absolute; top: 50%; right: 0; width: 24px; height: 24px; transform: translateY(-50%); }

/* The actions: the title's page and its enquiry on one row (wrapping when the two do not fit), the e-magazine under
   them at the regular weight, then the muted way back to the sectors; every link 44px tall. */
.pv-directory-entry__actions { display: flex; flex-direction: column; align-items: start; margin-top: 4px; }
.pv-directory-entry__actions a { min-height: 44px; align-items: center; }
.pv-directory-entry__next { display: flex; flex-wrap: wrap; gap: 0 24px; }
.pv-directory-entry__actions .pv-directory-entry__read { color: var(--pv-ink); font-weight: 400; }
.pv-directory-entry__actions .pv-directory-entry__back { margin-top: 8px; color: var(--pv-muted); font-weight: 400; }

/* The closing: its text, then its button at a capped distance (never pushed to the far edge), with the scope line
   under the button that tells it apart from the header's generic "Reklam verin". */
.pv-directory-closing { display: flex; align-items: center; gap: 48px clamp(48px, 8vw, 112px); padding-block: 80px; }
.pv-directory-closing .pv-headline { max-width: 22ch; }
.pv-directory-closing .pv-body { max-width: 52ch; margin-top: 24px; }
.pv-directory-closing__action { flex: none; display: flex; flex-direction: column; align-items: start; gap: 10px; }
.pv-directory-closing__scope { margin: 0; font-size: 14px; line-height: 1.5; color: var(--pv-muted); }

/* Narrow pairs: a narrower cover track, so a title's page and its enquiry still share a row beside it; closer sector
   links, so the English six stay on one line. */
@media (min-width: 1024px) and (max-width: 1279px) {
    .pv-directory-sectors { column-gap: 24px; }
    .pv-directory { column-gap: 48px; }
    .pv-directory-entry { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); column-gap: 24px; }
    .pv-directory-entry__next { column-gap: 20px; }
}

/* One entry to a line: the cover in a narrower track beside the copy, rows of its own. The sector links stand three
   to a line, so no sector is left alone on the last one. */
@media (min-width: 601px) and (max-width: 1023px) {
    .pv-directory-sectors { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); column-gap: 32px; }
}
@media (max-width: 1023px) {
    .pv-directory { grid-template-columns: minmax(0, 1fr); }
    .pv-directory-entry { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); grid-template-rows: repeat(9, auto) 1fr; grid-row: auto; column-gap: 40px; }
    .pv-directory-channels [data-measure] { grid-column: auto; grid-row: auto / span 3; }
}

/* Phones: in reading order, the introduction, then the cover with the facts beside it, the figures and the actions,
   with the detail and the enquiry on one wrapping row and close under the figures, so after a jump the title's enquiry
   is in the first screen. */
@media (max-width: 600px) {
    .pv-directory-opening { padding-top: 36px; }
    .pv-directory-opening .pv-display { font-size: 40px; }
    .pv-directory-sectors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
    .pv-directory-sectors a { justify-content: space-between; font-size: 15px; line-height: 1.5; }
    .pv-directory-entry { grid-template-columns: min(40%, 150px) minmax(0, 1fr); grid-template-rows: none; column-gap: 20px; padding-block: 36px 40px; }
    .pv-directory-entry > * { grid-column: 1 / -1; grid-row: auto; }
    .pv-directory-entry__intro h2 { font-size: 30px; }
    .pv-directory-entry__intro .pv-body { margin-bottom: 0; }
    .pv-directory-entry__cover { grid-column: 1; grid-row: 2; margin-top: 24px; }
    .pv-directory-facts { grid-column: 2; grid-row: 2; margin-top: 24px; }
    .pv-directory-facts > div { margin-bottom: 8px; }
    .pv-directory-entry:not(:has(.pv-directory-channels)) .pv-directory-entry__actions { grid-row: auto; }
    /* The entry's rows are its own here, so the channel row's lines are its own too. */
    .pv-directory-channels { grid-template-rows: none; margin: 24px 0 12px; }
    .pv-directory-entry__actions { margin-top: 8px; }
    .pv-directory-closing { flex-direction: column; align-items: start; padding-block: 56px; gap: 28px; }
}
