/**
 * Sapanca Gazetesi
 * Software developed by ArpSoft
 * Copyright © 2026 ArpSoft. All rights reserved.
 * Developer: Murat Arapoğlu
 */
:root {
    --red: #d71920;
    --red-2: #ef4b42;
    --blue: #184275;
    --sky: #2f89bd;
    --green: #20865a;
    --amber: #f59f00;
    --navy: #17172b;
    --text: #161821;
    --muted: #6f7480;
    --line: #e2e6ec;
    --bg: #f2f4f7;
    --surface: #fff;
    --surface-soft: #f8fafc;
    --shadow: 0 18px 44px rgba(17, 24, 39, 0.09);
    --shadow-soft: 0 10px 26px rgba(17, 24, 39, 0.07);
    --radius: 8px;
    --white: #fff;
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 12px;
    --radius-pill: 999px;
    --radius-circle: 50%;
    --transition-fast: .2s ease;
    --transition-normal: .22s ease;
    --transition-image: .35s ease;
    --shadow-card: 0 12px 26px rgba(20, 25, 36, 0.06);
    --shadow-card-hover: 0 12px 28px rgba(15, 23, 42, 0.08);
    --shadow-floating: 0 12px 28px rgba(0, 0, 0, 0.22);
}

[data-site-theme="dark"] {
    --text: #e0e0e0;
    --muted: #aaaaaa;
    --line: #333333;
    --bg: #121212;
    --surface: #1e1e1e;
    --surface-soft: #2a2a2a;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.4);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    display: block;
    width: 100%;
}

h1,
h2,
h3,
p,
dl,
dd,
ol {
    margin: 0;
}

.page-shell {
    width: min(1360px, calc(100% - 32px));
    margin-inline: auto;
}

.market-bar {
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.market-inner {
    display: flex;
    min-height: 38px;
    align-items: center;
    gap: 22px;
    overflow-x: auto;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    scrollbar-width: none;
    white-space: nowrap;
}

.market-inner::-webkit-scrollbar {
    display: none;
}

.market-label,
.market-date {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.market-inner span:not(.market-label, .market-date) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.market-inner span:not(.market-label, .market-date)::before {
    content: "↑";
    color: var(--green);
}

.market-inner .down::before {
    content: "↓";
    color: var(--red);
}

.market-inner .up strong {
    color: var(--green);
}

.market-inner .down strong {
    color: var(--red);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    backdrop-filter: blur(14px);
}

.masthead {
    display: grid;
    grid-template-columns: 130px 1fr 310px;
    align-items: center;
    min-height: 84px;
}

.mast-action,
.site-theme-tools button {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-soft);
    color: var(--muted);
    cursor: pointer;
    font-size: 20px;
}

.mast-action:hover,
.site-theme-tools button:hover,
.site-theme-tools button.is-active {
    border-color: color-mix(in srgb, var(--red) 38%, var(--line));
    color: var(--red);
}

.brand {
    justify-self: center;
}

.brand img {
    width: min(230px, 46vw);
    height: auto;
}

.mast-tools {
    display: flex;
    justify-self: end;
    align-items: center;
    gap: 14px;
}

.site-theme-tools {
    display: flex;
    gap: 6px;
}

.weather-box {
    display: grid;
    gap: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

.weather-box strong {
    color: var(--text);
    font-size: 15px;
}


.site-search-strip[hidden] {
    display: none;
}

.site-search-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.site-search-form,
.search-results-form {
    display: grid;
    gap: 14px;
}

.site-search-form {
    grid-template-columns: 130px minmax(0, 1fr);
    align-items: start;
    padding: 14px 0;
}

.site-search-form label,
.search-results-form label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
}

.site-search-form__line,
.search-results-form__line {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-soft);
    padding: 0 8px 0 16px;
}

.site-search-form__line i,
.search-results-form__line i {
    color: var(--muted);
    font-size: 24px;
}

.site-search-form input,
.search-results-form input,
.search-filter-field input,
.search-filter-field select {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 17px;
    font-weight: 700;
}

.site-search-form input::placeholder,
.search-results-form input::placeholder {
    color: color-mix(in srgb, var(--muted) 72%, transparent);
}

.site-search-form button[type="submit"],
.search-results-form button[type="submit"] {
    min-height: 40px;
    border: 0;
    border-radius: var(--radius);
    background: var(--red);
    color: var(--white);
    cursor: pointer;
    font-weight: 900;
    padding: 0 18px;
}

.site-search-close {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--muted);
    cursor: pointer;
    font-size: 20px;
}

.site-search-turnstile {
    grid-column: 2;
    min-height: 64px;
}

.search-page {
    display: grid;
    gap: 20px;
    padding: 28px 0 72px;
}

.search-hero {
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    min-height: 150px;
    padding: 28px 30px;
}

.search-hero span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: var(--red);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.search-hero h1 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    font-weight: 900;
    line-height: 1.12;
}

.search-hero p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.search-card {
    display: grid;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    padding: 18px;
}

.search-results-form {
    grid-template-columns: minmax(230px, 1.5fr) minmax(160px, .8fr) minmax(145px, .65fr) minmax(145px, .65fr) 46px;
    align-items: end;
}

.search-results-form label {
    display: grid;
    gap: 8px;
}

.search-results-form__line {
    grid-template-columns: minmax(0, 1fr);
}

.search-filter-field {
    display: grid;
    gap: 8px;
}

.search-filter-field--query {
    min-width: 0;
}

.search-filter-field span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
}

.search-filter-field input,
.search-filter-field select {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-soft);
    padding: 0 12px;
}

.search-filter-submit {
    display: flex;
    width: 46px;
    height: 46px;
    align-self: end;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--red);
    border-radius: var(--radius);
    background: var(--red);
    color: var(--white);
    cursor: pointer;
    font-size: 21px;
    line-height: 1;
    padding: 0;
}

.search-filter-submit i {
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 1;
}

.search-filter-submit i::before {
    display: block;
    margin: 0;
    line-height: 1;
}

.search-filter-submit:hover {
    filter: brightness(.95);
}

.search-results-form .site-search-turnstile {
    grid-column: 1 / -1;
}

.search-summary,
.search-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: var(--radius);
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 14px;
    font-weight: 750;
    padding: 13px 15px;
}

.search-summary strong {
    color: var(--text);
}

.search-notice--error {
    background: color-mix(in srgb, var(--red) 10%, var(--surface));
    color: var(--red);
}

.search-empty {
    display: grid;
    justify-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--muted);
    padding: 48px 18px;
    text-align: center;
}

.search-empty i {
    color: var(--red);
    font-size: 44px;
}

.search-empty h2 {
    color: var(--text);
    font-size: 26px;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.search-result-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.search-result-card a {
    display: grid;
    min-height: 100%;
}

.search-result-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--surface-soft);
}

.search-result-card div {
    display: grid;
    gap: 9px;
    padding: 16px;
}

.search-result-card span {
    width: fit-content;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--red) 11%, transparent);
    color: var(--red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    padding: 5px 8px;
    text-transform: uppercase;
}

.search-result-card h2 {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.18;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.search-result-card p {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    font-weight: 550;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.search-result-card time {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.search-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.search-pagination a,
.search-pagination span {
    display: grid;
    min-width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    font-size: 14px;
    font-weight: 850;
    padding: 0 10px;
}

.search-pagination .is-active {
    border-color: var(--red);
    background: var(--red);
    color: var(--white);
}


.search-pagination .search-pagination__arrow {
    width: 40px;
    min-width: 40px;
    padding: 0;
    font-size: 18px;
}

.home-page {
    padding-bottom: 72px;
}


.top-headlines {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.top-headline-card,
.main-headline,
.showcase-side,
.front-widget,
.news-panel,
.agenda-panel,
.category-panel {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.top-headline-card a,
.main-headline a,
.category-lead a {
    position: relative;
    display: block;
    background: #000;
}

.top-headline-card a,
.category-lead img,
.latest-card img,
.side-news-line img {
    aspect-ratio: 16 / 9;
}

.top-headline-card img,
.main-headline img,
.category-lead img,
.latest-card img,
.side-news-line img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-headline-card a::after,
.main-headline a::after,
.category-lead a::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.74));
    pointer-events: none;
}

.top-headline-card div,
.main-headline__copy,
.category-lead h3 {
    position: absolute;
    z-index: 1;
    right: 14px;
    bottom: 14px;
    left: 14px;
    color: var(--white);
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.68);
}

.top-headline-card span,
.main-headline__copy span,
.agenda-grid span {
    display: inline-flex;
    width: fit-content;
    border-radius: var(--radius-pill);
    background: var(--red);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    padding: 5px 8px;
}

.top-headline-card h2 {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 7px;
    color: var(--white);
    font-size: clamp(15px, 1.05vw, 18px);
    font-weight: 850;
    line-height: 1.12;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


.block-title,
.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
}


.block-title span,
.section-heading span {
    color: var(--red);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.block-title h2,
.section-heading h2 {
    color: var(--text);
    font-size: 22px;
    font-weight: 850;
    line-height: 1.12;
}


.prayer-widget,
.weather-widget {
    padding: 0;
}


.front-widget__head--dark {
    background: var(--navy);
}

.front-widget__head--blue {
    background: #2f87bd;
}


.weather-widget__forecast {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    border-top: 1px solid var(--line);
    margin: 0 18px 18px;
    padding-top: 16px;
}

.weather-widget__forecast span {
    display: grid;
    gap: 5px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.weather-widget__forecast i {
    color: #ef7f1a;
    font-size: 22px;
}

.weather-widget__forecast b {
    color: var(--text);
    font-size: 13px;
}

.poll-widget button {
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
    color: var(--text);
    cursor: pointer;
    font-weight: 700;
    text-align: left;
    padding: 0 12px;
}

.earthquake-widget ol {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.earthquake-widget li,
.rank-link {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    border-top: 1px solid var(--line);
    padding-top: 12px;
}

.earthquake-widget li strong {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--red) 12%, transparent);
    color: var(--red);
    font-size: 12px;
    font-weight: 850;
}

.earthquake-widget li span {
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.section-heading {
    border-bottom: 1px solid var(--line);
    padding: 18px;
}

.section-heading a {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.section-heading--small {
    padding: 0 0 12px;
}

.section-heading--small h2 {
    font-size: 19px;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 18px;
}


.agenda-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
}

.agenda-grid a {
    display: grid;
    gap: 9px;
    min-height: 118px;
    align-content: space-between;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
    padding: 14px;
}

.agenda-grid strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.category-area {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}


.category-lead {
    overflow: hidden;
    border-radius: var(--radius-md);
}

.category-lead a {
    position: relative;
}

.category-lead img {
    object-fit: cover;
}

.category-lead h3 {
    margin: 0;
    color: var(--white);
    font-size: 19px;
    font-weight: 850;
    line-height: 1.15;
}

.category-list-link {
    border-top: 1px solid var(--line);
    margin-top: 12px;
    padding-top: 12px;
}

.category-list-link h3 {
    color: var(--text);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.28;
}

.site-footer {
    margin-top: 44px;
    background: #17172b;
    color: var(--white);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(160px, 0.8fr));
    gap: 30px;
    padding: 42px 0 30px;
}

.site-footer__brand img {
    width: min(230px, 70vw);
    margin-bottom: 16px;
}

.site-footer p,
.site-footer a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.7;
}

.site-footer nav,
.site-footer__grid > div:not(.site-footer__brand) {
    display: grid;
    align-content: start;
    gap: 9px;
}

.site-footer h2 {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 17px;
    font-weight: 850;
}

.site-footer a:hover {
    color: var(--white);
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
    padding: 18px 0 22px;
}


.site-footer__software {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.site-footer__software img {
    display: block;
    width: 132px;
    max-width: 100%;
    height: auto;
}

.site-footer__software small {
    flex: 0 0 auto;
    font-size: 11px;
    line-height: 1;
}

.static-page__shell {
    width: min(980px, calc(100% - 32px));
    margin: 28px auto 56px;
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    padding: clamp(24px, 4vw, 44px);
}

.static-page__header {
    display: grid;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
    padding-bottom: 24px;
}

.static-page__header span {
    color: var(--red-2);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
}

.static-page__header h1 {
    color: var(--text);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.1;
}

.static-page__header p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.not-found {
    position: relative;
    overflow: hidden;
    min-height: 58svh;
    background:
        radial-gradient(circle at 12% 34%, color-mix(in srgb, var(--red) 4%, transparent) 0 2px, transparent 3px),
        radial-gradient(circle at 88% 48%, color-mix(in srgb, var(--red) 4%, transparent) 0 2px, transparent 3px),
        var(--bg);
    padding: clamp(36px, 5vw, 68px) 0;
}

.not-found__shell {
    position: relative;
    z-index: 1;
}

.not-found__card {
    position: relative;
    display: grid;
    width: min(100%, 960px);
    min-height: 500px;
    margin-inline: auto;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: clamp(34px, 6vw, 72px);
    text-align: center;
}

.not-found__number {
    position: absolute;
    top: 54px;
    left: clamp(28px, 6vw, 72px);
    color: color-mix(in srgb, var(--muted) 8%, transparent);
    font-size: clamp(120px, 18vw, 210px);
    font-weight: 950;
    line-height: .8;
    letter-spacing: -.08em;
    pointer-events: none;
    user-select: none;
}

.not-found__icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 118px;
    height: 118px;
    place-items: center;
    border: 6px solid var(--surface);
    border-radius: var(--radius-circle);
    background: linear-gradient(145deg, var(--red-2), var(--red));
    box-shadow: 0 14px 30px color-mix(in srgb, var(--red) 28%, transparent);
    color: var(--white);
    font-size: 58px;
}

.not-found__content {
    position: relative;
    z-index: 1;
    display: grid;
    max-width: 650px;
    justify-items: center;
    gap: 12px;
}

.not-found__content h1 {
    color: var(--text);
    font-size: clamp(34px, 4.5vw, 50px);
    font-weight: 950;
    line-height: 1.05;
}

.not-found__line {
    width: 84px;
    height: 3px;
    margin: 4px 0 10px;
    border-radius: var(--radius-pill);
    background: var(--red);
}

.not-found__content p {
    color: var(--muted);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

.not-found__actions {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin-top: 18px;
}

.not-found__home,
.not-found__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: var(--radius-md);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.not-found__home {
    min-height: 50px;
    border: 1px solid var(--red);
    background: var(--red);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--red) 20%, transparent);
    color: var(--white);
    padding: 0 22px;
}

.not-found__home:hover {
    filter: brightness(.95);
}

.not-found__back {
    min-height: 34px;
    border: 0;
    background: transparent;
    color: var(--muted);
    padding: 0 8px;
}

.not-found__back:hover {
    color: var(--text);
}

[data-site-theme="dark"] .not-found__card {
    background: #162133;
}

[data-site-theme="dark"] .not-found__icon {
    border-color: #162133;
}

[data-site-theme="dark"] .not-found__number {
    color: rgba(255, 255, 255, .035);
}

@media (max-width: 640px) {
    .not-found {
        min-height: auto;
        padding: 24px 0 34px;
    }

    .not-found__card {
        min-height: 440px;
        border-radius: 12px;
        padding: 34px 20px;
    }

    .not-found__number {
        top: 40px;
        left: 18px;
        font-size: 118px;
    }

    .not-found__icon {
        width: 92px;
        height: 92px;
        border-width: 5px;
        font-size: 44px;
    }

    .not-found__content h1 {
        font-size: 31px;
    }

    .not-found__content p {
        font-size: 15px;
    }

    .not-found__home {
        width: 100%;
    }
}

@media (max-width: 1180px) {
    .masthead {
        grid-template-columns: 90px 1fr 260px;
    }

    .home-showcase,
    .home-grid {
        grid-template-columns: minmax(0, 1fr) 310px;
    }

    .widget-column--left {
        display: none;
    }

    .article-content-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 14px;
    }

    .article-tools {
        gap: 14px;
    }

    .article-tools i {
        font-size: 24px;
    }
}

@media (max-width: 900px) {
    .masthead {
        grid-template-columns: 48px 1fr auto;
    }

    .weather-box {
        display: none;
    }

    .top-headlines,
    .latest-grid,
    .agenda-grid,
    .category-area,
    .search-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-showcase,
    .home-grid {
        grid-template-columns: 1fr;
    }

    .widget-column--left {
        display: grid;
    }

    .content-column {
        order: 1;
    }

    .widget-column--right {
        order: 2;
    }

    .widget-column--left {
        order: 3;
    }

    .widget-column {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-detail-container {
        width: min(100% - 24px, 1380px);
    }

    .article-content-grid,
    .article-meta-toolbar {
        grid-template-columns: 1fr;
    }

    .article-tools {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .article-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .related-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-search-form,
    .search-results-form {
        grid-template-columns: 1fr;
    }

    .site-search-turnstile {
        grid-column: 1;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 20px, 1360px);
    }

    .market-inner {
        gap: 16px;
        font-size: 12px;
    }

    .masthead {
        min-height: 70px;
    }

    .site-search-form,
    .search-card {
        padding: 16px;
    }

    .site-search-form__line,
    .search-results-form__line {
        grid-template-columns: auto minmax(0, 1fr) auto;
        min-height: 52px;
        padding-right: 12px;
    }

    .site-search-form button[type="submit"] {
        grid-column: 1 / -1;
        width: 100%;
        margin-bottom: 8px;
    }

    .search-filter-submit {
        width: 46px;
        margin: 0;
        justify-self: end;
    }

    .brand img {
        width: min(176px, 45vw);
    }

    

    

    .article-detail-container {
        width: min(100% - 18px, 1380px);
    }

    .article-content-grid {
        padding-top: 12px;
    }

    .article-main-card {
        padding: 16px;
    }

    .article-headline-block {
        gap: 18px;
        padding-bottom: 18px;
    }

    .article-headline-block h1 {
        font-size: var(--article-title-size, clamp(24px, 8vw, 34px));
        line-height: 1.08;
    }

    .article-headline-block p,
    .article-mobile-spot {
        display: none !important;
    }

    .article-meta-line,
    .article-tools {
        flex-wrap: wrap;
    }

    .article-tools {
        gap: 12px;
    }

    .article-tools button {
        min-width: 48px;
        font-size: 12px;
    }

    .article-story-body {
        font-size: var(--article-body-size, 16px);
        line-height: 1.72;
    }

    .article-story-body p,
    .article-story-body blockquote,
    .article-story-body ul,
    .article-story-body ol {
        margin-bottom: 20px;
    }

    .ad-placeholder--leaderboard {
        height: 72px;
        margin: 20px auto;
        font-size: clamp(22px, 7vw, 32px);
    }

    .article-reactions {
        padding: 18px;
    }

    .comment-form-grid,
    .article-sidebar,
    .article-prev-next,
    .related-news-grid {
        grid-template-columns: 1fr;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 34px;
    }

    .site-footer__bottom {
        flex-direction: column;
    }

    .static-page__shell {
        width: min(100% - 18px, 980px);
        margin-top: 16px;
        padding: 22px 18px;
    }

    .article-comments {
        padding: 18px;
    }

    .article-comments header {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-comment,
    .public-comment--reply {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .public-comment__avatar,
    .public-comment--reply .public-comment__avatar {
        width: 36px;
        height: 36px;
    }

    .public-comment__children {
        margin-left: 0;
        padding-left: 14px;
    }

    .article-prev-next,
    .related-news-section {
        padding: 16px;
    }

    .article-prev-next a:last-child {
        grid-template-columns: minmax(0, 1fr) auto;
        text-align: right;
    }

    .article-prev-next a:last-child i {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    .home-breaking {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .home-breaking span {
        display: none;
    }

    .latest-grid,
    .agenda-grid,
    .category-area,
    .widget-column,
    .search-results-grid {
        grid-template-columns: 1fr;
    }

    .top-headlines {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .search-page {
        padding-top: 16px;
    }

    .search-hero {
        min-height: 0;
        padding: 22px 18px;
    }

    .search-hero h1 {
        font-size: 1.7rem;
    }

    .main-headline a {
        min-height: auto;
    }

    .main-headline__copy {
        right: 16px;
        bottom: 16px;
        left: 16px;
    }

    .main-headline h1 {
        font-size: 26px;
    }

    .main-headline p {
        display: none;
    }

    .top-headline-card h2 {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .latest-card h3 {
        font-size: 16px;
    }

    .side-news-line {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .block-title h2,
    .section-heading h2 {
        font-size: 20px;
    }
}



.article-breadcrumb-strip {
    border-bottom: 1px solid #e6e8ee;
    background: var(--white);
}

[data-site-theme="dark"] .article-breadcrumb-strip {
    border-bottom-color: #243147;
    background: #162133;
}

.article-detail-container {
    width: min(100% - 32px, 1380px);
    margin: 0 auto;
}

.article-breadcrumb {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    color: #777d88;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.article-breadcrumb a,
.article-breadcrumb span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.article-breadcrumb span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-breadcrumb a { color: #676d78; }
.article-breadcrumb i { color: #a3a8b2; }

[data-site-theme="dark"] .article-breadcrumb,
[data-site-theme="dark"] .article-breadcrumb a {
    color: #aab4c3;
}

@media (max-width: 900px) {
    .article-detail-container { width: min(100% - 24px, 1380px); }
}

@media (max-width: 640px) {
    .article-detail-container { width: min(100% - 18px, 1380px); }
    .article-breadcrumb { min-height: 52px; font-size: 14px; }
}


.static-page__layout {
    display: grid;
    width: min(100% - 32px, 1380px);
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
    margin: 28px auto 56px;
}

.static-page__layout .static-page__shell {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.static-page__sidebar {
    display: grid;
    min-width: 0;
    gap: 24px;
}

.static-page__sidebar > .sidebar-widget,
.static-page__sidebar > .home-ad {
    width: 100%;
    margin: 0;
}

.static-page__body {
    color: var(--text);
    font-size: 17px;
    line-height: 1.72;
}

.static-page__body p,
.static-page__body blockquote,
.static-page__body ul,
.static-page__body ol,
.static-page__body figure,
.static-page__body .lake-widget {
    margin-top: 0;
    margin-bottom: 24px;
}

.static-page__body h2,
.static-page__body h3,
.static-page__body h4 {
    margin: 34px 0 14px;
    color: var(--text);
    line-height: 1.25;
}

.static-page__body h2:first-child,
.static-page__body h3:first-child,
.static-page__body h4:first-child {
    margin-top: 0;
}

.static-page__body p:last-child,
.static-page__body > :last-child {
    margin-bottom: 0;
}

@media (max-width: 1180px) {
    .static-page__layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 18px;
    }
}

@media (max-width: 900px) {
    .static-page__layout {
        width: min(100% - 24px, 1380px);
        grid-template-columns: 1fr;
    }

    .static-page__sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .static-page__layout {
        width: min(100% - 18px, 1380px);
        gap: 18px;
        margin-top: 16px;
    }

    .static-page__layout .static-page__shell {
        padding: 22px 18px;
    }

    .static-page__sidebar {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .static-page__body {
        font-size: 16px;
    }

    .static-page__body p,
    .static-page__body blockquote,
    .static-page__body ul,
    .static-page__body ol,
    .static-page__body figure,
    .static-page__body .lake-widget {
        margin-bottom: 20px;
    }
}
