/* AZFUTBOL NEWS · reading typography v1
 * Single source for text roles. Values in rem respect the reader's default size.
 * The approved AZF Sans destination titles remain a separate display treatment.
 * Research and decisions: docs/TYPOGRAPHY.md. Loaded after retained v1.51 styles.
 */
:root {
  --type-label: .75rem;
  --type-meta: .8125rem;
  --type-small: .875rem;
  --type-ui: .875rem;
  --type-summary: 1rem;
  --type-body: 1.125rem;
  --type-feed-title: 1.25rem;
  --type-section: 1.375rem;
  --type-article-title: 1.875rem;
  --type-feature-title: 1.375rem;
  --leading-summary: 1.6;
  --leading-body: 1.65;
  --leading-title: 1.3;
  --text-reading: #292d33;
  --text-summary: #454950;
  --text-support: #62666d;
  --measure-feed: 64ch;
  --measure-article: 62ch;
}
@media (min-width: 64.0625rem) {
  :root {
    --type-feed-title: 1.5rem;
    --type-section: 1.5rem;
    --type-article-title: 2.5rem;
    --type-feature-title: 1.5rem;
    --leading-title: 1.25;
  }
}
body {
  font-size: var(--type-summary);
  line-height: var(--leading-summary);
}
:is(p, li, dd, figcaption) { letter-spacing: normal;/* azf tracking start */--azf-native-letter-spacing: normal;letter-spacing:var(--azf-manrope-letter-spacing,var(--azf-native-letter-spacing));/* azf tracking end */ }
:is(.headline .sub, .panel > p) {
  font-size: var(--type-summary);
  line-height: var(--leading-summary);
  color: var(--text-summary);
  max-inline-size: var(--measure-feed);
}
.section-head { align-items: baseline; flex-wrap: wrap; row-gap: .375rem; }
.section-head h2,
#lent .score-strip .score-panel > .section-head h2,
#lent .news-editorial > .section-head h2,
#mobileEditorialHost .news-editorial > .section-head h2,
.games-content-heading h2,
.match-section-title h2 {
  font-size: var(--type-section);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.015em;/* azf tracking start */--azf-native-letter-spacing: -.015em;letter-spacing:var(--azf-manrope-letter-spacing,var(--azf-native-letter-spacing));/* azf tracking end */
}
#feedTotal, .feed-stamp, .paging-count, .filter-summary,
.featured-hint, .shorts-count, .article-footer, .site-footer {
  font-size: var(--type-meta) !important;
  line-height: 1.5;
  color: var(--text-support);
  font-weight: 400;
}
.feed-stamp { margin-block-start: .625rem; }
.search-field input { font-size: 1rem; line-height: 1.5; }
.chip, #lent .club-scroll > .chip, .small-link, .load-more,
.back-link, .match-back, .games-top-tab, .games-filterbar button,
.match-tabs button, .primary, .azf-dosye-all {
  font-size: var(--type-ui);
  line-height: 1.4;
}
.chip { font-weight: 550; }

/* The reading order is date/title, image, summary, topics. On a phone only the
 * title shares a row with the image: paragraphs never inherit a narrow column. */
:is(#lent,#topicPageMain) .story-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.25rem;
  grid-template-areas: "intro media" "summary summary" "topics topics";
  column-gap: 1rem;
  row-gap: 0;
  align-items: start;
  padding-block: 1.5rem;
}
:is(#lent,#topicPageMain) .story-row > .story-text { grid-area: intro; min-inline-size: 0; }
:is(#lent,#topicPageMain) .story-row > .story-media { grid-area: media; margin: 0; }
.story-heading { margin: 0; font: inherit;/* azf tracking start */--azf-manrope-letter-spacing:inherit;/* azf tracking end */ }
.story-meta {
  font-size: var(--type-meta);
  line-height: 1.45;
  font-weight: 400;
  color: var(--text-support);
  margin-block: 0 .5rem;
}
.story-meta time { font: inherit;/* azf tracking start */--azf-manrope-letter-spacing:inherit;/* azf tracking end */ font-variant-numeric: tabular-nums; }
:is(#lent,#topicPageMain) .story-row .story-title, .saved-card .story-title {
  display: block;
  max-inline-size: 38ch;
  font-size: var(--type-feed-title) !important;
  font-weight: 600 !important;
  line-height: var(--leading-title);
  letter-spacing: -.015em !important;/* azf tracking start */--azf-native-letter-spacing: -.015em !important;letter-spacing:var(--azf-manrope-letter-spacing,var(--azf-native-letter-spacing))!important;/* azf tracking end */
  color: #111;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
:is(#lent,#topicPageMain) .story-row .story-excerpt {
  grid-area: summary;
  max-inline-size: var(--measure-feed);
  font-size: var(--type-summary);
  line-height: var(--leading-summary);
  font-weight: 400;
  letter-spacing: 0;/* azf tracking start */--azf-native-letter-spacing: 0;letter-spacing:var(--azf-manrope-letter-spacing,var(--azf-native-letter-spacing));/* azf tracking end */
  text-align: start;
  color: var(--text-summary);
  margin: .75rem 0 0;
  overflow-wrap: anywhere;
}
:is(#lent,#topicPageMain) .story-row > .story-tags { grid-area: topics; margin-block-start: .75rem; }
.story-tags { display: flex; flex-wrap: wrap; gap: .375rem; }
.story-tag, .story-tag.category-tag, .article-topic-tags .story-tag {
  font-size: var(--type-label);
  line-height: 1.5;
  font-weight: 550;
  padding: .1875rem .4375rem;
}
:is(#lent,#topicPageMain) .story-row .news-thumb { width: 5.25rem; height: 5.25rem; }
@media (min-width: 44rem) {
  :is(#lent,#topicPageMain) .story-row {
    grid-template-columns: minmax(0, 1fr) 7rem;
    grid-template-areas: "intro media" "summary media" "topics media";
    column-gap: 1.5rem;
    padding-block: 1.75rem;
  }
  :is(#lent,#topicPageMain) .story-row .news-thumb { width: 7rem; height: 6.5rem; }
}
@media (max-width: 22.4375rem) {
  :is(#lent,#topicPageMain) .story-row { grid-template-columns: minmax(0, 1fr) 4.5rem; column-gap: .75rem; }
  :is(#lent,#topicPageMain) .story-row .news-thumb { width: 4.5rem; height: 4.5rem; }
}

/* Sustained reading uses one stable size on phone and desktop. */
#meqale.article-view h1, #meqale #articleTitle, #topicPageMain.article-view .topic-title {
  font-size: var(--type-article-title);
  line-height: 1.18;
  font-weight: 600 !important;
  letter-spacing: -.02em !important;/* azf tracking start */--azf-native-letter-spacing: -.02em !important;letter-spacing:var(--azf-manrope-letter-spacing,var(--azf-native-letter-spacing))!important;/* azf tracking end */
  max-inline-size: 30ch;
  overflow-wrap: anywhere;
  text-wrap: pretty;
  margin-block: .625rem 1rem;
}
#meqale .article-dek {
  font-size: var(--type-body);
  line-height: var(--leading-body);
  max-inline-size: var(--measure-article);
  color: var(--text-summary);
}
#meqale .article-copy {
  max-inline-size: var(--measure-article);
  font-size: var(--type-body);
  line-height: var(--leading-body);
  letter-spacing: 0;/* azf tracking start */--azf-native-letter-spacing: 0;letter-spacing:var(--azf-manrope-letter-spacing,var(--azf-native-letter-spacing));/* azf tracking end */
  text-align: start;
  color: var(--text-reading);
  overflow-wrap: anywhere;
}
#meqale .article-copy p { margin-block: 0 1em; }
#meqale .article-copy > :last-child { margin-block-end: 0; }
#meqale .article-copy :is(ul, ol) { padding-inline-start: 1.35em; margin-block: 0 1em; }
#meqale .article-copy li + li { margin-block-start: .375em; }
#meqale .article-copy h2 {
  font-size: var(--type-section);
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -.015em;/* azf tracking start */--azf-native-letter-spacing: -.015em;letter-spacing:var(--azf-manrope-letter-spacing,var(--azf-native-letter-spacing));/* azf tracking end */
  margin-block: 1.5em .625em;
}
#meqale .article-copy h3 { font-size: 1.25rem; line-height: 1.35; margin-block: 1.5em .625em; }
#meqale .article-copy blockquote { margin: 1.25em 0; padding-inline-start: 1em; border-inline-start: 2px solid #ccd3dd; }
#meqale .article-copy .article-preview-note,
#meqale .article-context p { font-size: var(--type-summary); line-height: var(--leading-summary); }
#meqale .article-context, #meqale .source-block { max-inline-size: 69.75ch; }
#meqale .article-context h2, #meqale .source-block h2 {
  font-size: var(--type-body);
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0;/* azf tracking start */--azf-native-letter-spacing: 0;letter-spacing:var(--azf-manrope-letter-spacing,var(--azf-native-letter-spacing));/* azf tracking end */
}
#meqale .article-byline, #meqale .article-byline time, #meqale #articleSource,
#meqale .article-figure figcaption, #meqale .source-detail small, #meqale .source-number {
  font-size: var(--type-meta);
  line-height: 1.5;
  color: var(--text-support);
}
#meqale .article-byline time { font-family: inherit;/* azf tracking start */--azf-manrope-letter-spacing:inherit;/* azf tracking end */ }
#meqale .source-heading { font-size: var(--type-small); line-height: 1.5; }
#meqale .source-detail small { white-space: normal; overflow-wrap: anywhere; }
.claim-refs button { font-size: var(--type-label); }
#meqale .revision-note { font-size: var(--type-small) !important; line-height: 1.6; }
.article-tag, .feature-tag, .context-kind, .short-tag, .short-date,
.games-overline, .games-list-label, .games-source-strip, .match-header p {
  font-size: var(--type-label);
  line-height: 1.5;
}
.short-cover h3, .shorts-panel h3 {
  font-size: var(--type-feature-title);
  line-height: 1.25;
  font-weight: 600 !important;
  letter-spacing: -.015em !important;/* azf tracking start */--azf-native-letter-spacing: -.015em !important;letter-spacing:var(--azf-manrope-letter-spacing,var(--azf-native-letter-spacing))!important;/* azf tracking end */
  overflow-wrap: anywhere;
}
.shorts-panel h3 { font-size: var(--type-article-title); line-height: 1.2; }
.shorts-panel .short-excerpt { font-size: var(--type-summary); line-height: 1.5; }
.saved-empty p, .match-note p { font-size: var(--type-summary); line-height: var(--leading-summary); }
#azfEditorialSpotlight .azf-editorial-deck,
#lent .news-editorial #azfEditorialSpotlight .azf-editorial-deck,
#lent #storyList .azf-mobile-spotlight-host #azfEditorialSpotlight .azf-editorial-deck {
  font-size: var(--type-small);
  line-height: 1.5;
}
#azfEditorialSpotlight .azf-editorial-cta,
#lent .news-editorial #azfEditorialSpotlight .azf-editorial-cta {
  font-size: var(--type-small);
  line-height: 1.4;
}
.games-disclaimer { font-size: var(--type-meta) !important; line-height: 1.5; }
.games-entry-name { font-size: var(--type-ui); line-height: 1.4; }
.games-entry-sub, .games-entry-mid small, .match-competitor small,
.match-result small, .match-board-bottom, .match-fact span,
.games-followed-note small, .saved-empty .saved-storage-note {
  font-size: var(--type-label);
  line-height: 1.5;
}
.standings-table { font-size: var(--type-small); line-height: 1.45; }
.standings-table thead th { font-size: var(--type-label); line-height: 1.5; }
.standings-club { line-height: 1.45; }

/* No fixed-height boxes or clipped paragraphs are introduced by this system. */
@media (max-width: 44rem) {
  #meqale.article-view { padding-inline: 1.125rem; }
  #meqale .article-byline { gap: .5rem .75rem; }
}

/* Shared page titles: description beside the display heading. */
#lent .headline .page-heading, .panel > .page-heading {
  display:flex; align-items:center; gap:clamp(1rem, 3vw, 2.5rem);
  margin-bottom:1rem;
}
.page-heading h1, #lent .headline .page-heading h1 {
  flex:none; margin:0!important; font-family:'AZF Sans',Inter,sans-serif;/* azf tracking start */--azf-manrope-letter-spacing:initial;/* azf tracking end */
  font-size:calc(var(--primary-page-heading-size) * 2)!important;
  font-weight:700; line-height:1; letter-spacing:0!important;/* azf tracking start */--azf-native-letter-spacing:0!important;letter-spacing:var(--azf-manrope-letter-spacing,var(--azf-native-letter-spacing))!important;/* azf tracking end */
  text-transform:uppercase; color:#e4e4e4;
}
.page-heading p, #lent .headline .page-heading p.sub {
  margin:0!important; font:400 1rem/1.6 'Google Sans Flex',Inter,sans-serif;/* azf tracking start */--azf-manrope-letter-spacing:+.005em;/* azf tracking end */
  color:var(--text-support,#62666d); max-width:36rem;
}
@media(max-width:44rem){
  #lent .headline .page-heading,.panel > .page-heading{gap:1rem;flex-wrap:wrap;}
  .page-heading p,#lent .headline .page-heading p.sub{font-size:.875rem;}
}

/* Description and live update share one column beside every page title. */
.page-heading-copy { flex:1 1 16rem; min-width:0; max-width:36rem; }
.page-heading-copy p { overflow-wrap:break-word; white-space:normal; }
#lent .headline .page-heading .feed-stamp {
  margin:.375rem 0 0!important;
  font:400 .8125rem/1.5 'Google Sans Flex',Inter,sans-serif!important;/* azf tracking start */--azf-manrope-letter-spacing:+.005em!important;/* azf tracking end */
  color:var(--text-support,#62666d);
}
@media(max-width:44rem){
  .page-heading-copy { flex-basis:13rem; }
}

#lent .headline .page-heading #feedStamp { color:#9298a1!important; font-size:.625rem!important; }

/* Tighter page-header copy rhythm. */
.page-heading-copy p, #lent .headline .page-heading p.sub { line-height:1.3; }
#lent .headline .page-heading #feedStamp { margin-top:.25rem!important; line-height:1.3!important; }

/* Editorial section labels: distinct from page and story headlines. */
.section-head{align-items:center;flex-wrap:nowrap;gap:14px}
.section-head > h2,
.games-content-heading > h2,
.match-section-title > h2{
  font-family:'Google Sans Flex',Inter,-apple-system,sans-serif!important;/* azf tracking start */--azf-manrope-letter-spacing:+.005em!important;/* azf tracking end */
  font-size:14px!important;font-weight:650!important;line-height:1.4!important;
  text-transform:uppercase;letter-spacing:0!important;/* azf tracking start */--azf-native-letter-spacing:0!important;letter-spacing:var(--azf-manrope-letter-spacing,var(--azf-native-letter-spacing))!important;/* azf tracking end */color:#50545b;
  margin:0;min-width:0;
}
.section-head > h2{display:block;flex:0 1 auto}
.section-head > h2::after{content:none}
.section-head > :not(h2){flex-shrink:0}
@media(max-width:699px){
 .section-head > h2,.games-content-heading > h2,.match-section-title > h2{font-size:13px!important}
 .section-head,.section-head > h2{gap:10px}
}

/* Quiet live timestamp beside the featured section label. */
#featuredSection > .section-head{flex-wrap:wrap}
#featuredSection #feedStamp{margin:0;font:400 10px/1.3 'Google Sans Flex',Inter,sans-serif!important;/* azf tracking start */--azf-manrope-letter-spacing:+.005em!important;/* azf tracking end */color:#9298a1!important;white-space:nowrap}
#featuredSection > .section-head > h2{flex:0 1 auto}
@media(max-width:420px){#featuredSection > .section-head{gap:8px}#featuredSection .feature-tools{margin-left:auto}#featuredSection #feedStamp{white-space:normal;max-width:132px}}
a:hover,.story-title:hover,#meqale a.source-heading:hover{text-decoration:none!important;color:#555}
a,.story-title{transition:color .18s ease}

/* Keep section metadata beside the label; only navigation stays right-aligned. */
.section-head{justify-content:flex-start;flex-wrap:wrap}
.section-head > h2,.games-content-heading > h2,.match-section-title > h2{letter-spacing:0!important/* azf tracking start */;--azf-native-letter-spacing:0!important;letter-spacing:var(--azf-manrope-letter-spacing,var(--azf-native-letter-spacing))!important;/* azf tracking end */}
.section-head .feature-tools,.section-head .oyun-merkezi-link{margin-left:auto}
#featuredSection #feedStamp{max-width:none;white-space:normal}

/* Shared neutral text-link states throughout NEWS. */
a,.story-title,.back-link,.source-heading,.claim-refs button,.small-link{transition:color .18s ease}
a,.story-title,.back-link,.source-heading,.claim-refs button,.small-link{color:#111}
a:hover,.story-title:hover,.back-link:hover,.claim-refs button:hover,.small-link:hover,
#meqale a.source-heading:hover{color:#555!important;text-decoration:none!important}

/* Keep the existing games description and archive link beside its title on phones. */
@media(max-width:699px){
 #oyunlar>.page-heading{flex-wrap:nowrap;gap:12px}
 #oyunlar>.page-heading>.page-heading-copy{flex:1 1 0;min-width:0}
}
