/*
Theme Name: Marsbahis Giriş Bilgileri
Description: Marsbahis giriş bilgileri ana sayfası ve on konu için düzenlenebilir WordPress sayfaları.
Version: 2.2.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: marsbahis-marka
*/
@font-face {
    font-family: Jakarta;
    src: url('./assets/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: Jakarta;
    src: url('./assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
    color-scheme: light;
    --ink: #151e2a;
    --body: #293440;
    --muted: #545f6b;
    --red: #a62134;
    --deep: #781a28;
    --navy: #0f1923;
    --page: #f3f5f7;
    --paper: #fff;
    --line: #dde2e8;
    --gutter: clamp(10px, 3.8vw, 32px);
    --pad: clamp(18px, 3.3vw, 34px);
}
html { scroll-behavior: smooth; }
body { background: var(--page); color: var(--ink); font: 400 1rem/1.68 Jakarta, Arial, sans-serif; }
a { text-underline-offset: .2em; }
::selection { background: #f3dfe3; color: var(--deep); }
.wrap { width: min(940px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.site-head { background: var(--navy); color: #f3f6fa; border-bottom: 2px solid var(--red); }
.head-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-inline: var(--pad); }
.wordmark { flex: none; display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.wordmark img { width: 158px; height: auto; }
.head-nav { display: flex; align-items: center; gap: clamp(10px, 2.6vw, 29px); }
.head-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .81rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.head-nav a[aria-current="page"], .head-nav a:hover { color: #ffb6bf; text-decoration: underline; }
.site-head a:focus-visible { outline-color: #ffb6bf; }
.dossier { padding-block: 15px 34px; }
.dossier-grid { display: grid; grid-template-columns: minmax(0, 1fr) 240px; align-items: start; gap: 16px; }
.paper { min-width: 0; padding: var(--pad); background: var(--paper); border: 1px solid #e9edf0; }
h1 { font-size: clamp(2.05rem, 4.4vw, 3.13rem); font-weight: 750; line-height: 1.12; letter-spacing: -.052em; }
.intro p { margin-top: 10px; color: var(--body); font-size: clamp(1rem, 2vw, 1.13rem); }
.intro-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; margin-block: 16px 20px; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; font-size: .8rem; font-weight: 750; }
.primary { padding-inline: 13px; border-radius: 3px; background: var(--red); color: var(--paper); text-decoration: none; transition: background .18s ease-out; }
.primary:hover, .primary:active { background: var(--deep); }
.secondary { color: var(--deep); text-decoration-thickness: 1px; }
.secondary:hover { text-decoration-thickness: 2px; }
.cover-panel { overflow: hidden; isolation: isolate; position: relative; display: flex; align-items: center; min-height: 246px; border-left: 4px solid var(--red); border-radius: 2px; background: #101b2a; color: white; }
.cover-art { z-index: -2; position: absolute; inset: 0 0 0 auto; width: 71%; height: 100%; object-fit: cover; object-position: center; }
.cover-panel::after { z-index: -1; content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#0c1725 0%,#0c1725 24%,rgba(12,23,37,.94) 40%,rgba(12,23,37,.42) 68%,rgba(12,23,37,.09) 100%); }
.cover-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 23px 0 23px clamp(17px, 3.2vw, 30px); }
.cover-brand { display: inline-flex; align-items: center; gap: 7px; font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.cover-brand img { width: 24px; height: 24px; }
.cover-heading { font-size: clamp(1.6rem, 3.35vw, 2.48rem); font-weight: 750; line-height: 1.12; letter-spacing: -.055em; }
.cover-heading strong { display: block; color: #ffb0b9; font-weight: 800; }
.cover-label { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; color: #ffe8eb; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 750; background: #32202d; border: 1px solid #925462; border-radius: 2px; }
.cover-label > span { width: 5px; height: 5px; background: #ffa8af; border-radius: 50%; }
figcaption { margin-top: 6px; font-size: .76rem; color: var(--muted); line-height: 1.5; text-align: center; }
.profile-section { padding-top: 20px; border-top: 1px solid var(--line); margin-top: 23px; }
.profile-section h2 { position: relative; padding-inline-start: 12px; scroll-margin-top: 19px; font-size: clamp(1.34rem, 2.9vw, 1.72rem); font-weight: 700; line-height: 1.25; letter-spacing: -.036em; }
.profile-section h2::before { content: ''; position: absolute; left: 0; top: .22em; width: 3px; height: .75em; background: var(--red); }
.profile-section > p { color: var(--body); margin-top: 9px; }
.profile-section > p + p { margin-top: 11px; }
.states { margin-top: 15px; border: 1px solid var(--line); font-size: .9rem; line-height: 1.55; }
.states > div { display: grid; grid-template-columns: minmax(0, 39%) minmax(0, 1fr); }
.states > div + div { border-top: 1px solid var(--line); }
.states dt, .states dd { padding: 9px 12px; overflow-wrap: anywhere; }
.states dt { background: #f8f9fa; font-weight: 750; border-right: 1px solid var(--line); }
.states dd { color: var(--body); }
.screen { margin-top: 15px; }
.screen-inset { position: relative; display: grid; justify-items: center; background: #101a24; padding: 13px clamp(8px, 3vw, 24px) 13px; }
.screen-inset img { width: min(100%, 510px); border: 1px solid #344355; }
.screen-tag { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 10px; color: #f6f7f9; border: 1px solid #5e6d7d; padding: 2px 8px; border-radius: 3px; font-size: .7rem; font-weight: 800; }
.screen-tag svg { width: 13px; height: 13px; }
.faq h2 { margin-bottom: 12px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; gap: 12px; justify-content: space-between; min-height: 46px; padding: 7px 4px; cursor: pointer; list-style: none; font-weight: 750; font-size: .94rem; line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { flex: none; width: 22px; text-align: center; content: '+'; color: var(--red); font-size: 1.2rem; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--body); margin: 0 4px 12px; }
.rail { min-width: 0; display: grid; gap: 12px; }
.rail-card { padding: 17px 18px; background: var(--paper); border: 1px solid #e9edf0; }
.rail-card h2 { font-size: .9rem; line-height: 1.35; letter-spacing: -.01em; font-weight: 800; }
.rail-card ul { padding: 0; list-style: none; margin-top: 5px; }
.rail-card li + li { border-top: 1px solid #eef0f2; }
.rail-card li a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 4px; font-size: .82rem; font-weight: 650; color: var(--deep); }
.rail-card li a:hover { text-decoration-thickness: 2px; }
.rail-card li svg { width: 13px; height: 13px; }
.publication { border-top: 2px solid #c2838a; }
.publication p { margin-top: 4px; color: var(--muted); font-size: .78rem; line-height: 1.6; }
.site-foot { background: var(--paper); border-top: 1px solid var(--line); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px var(--pad); min-height: 80px; }
.foot-brand { font-size: .83rem; font-weight: 800; }
.foot-inner p { font-size: .74rem; color: var(--muted); }
.foot-inner a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; white-space: nowrap; color: var(--deep); font-size: .78rem; font-weight: 700; }
.basic { margin-block: 22px; }
.basic h1 { margin-bottom: 12px; }
.basic .primary { margin-top: 15px; }
.basic article + article { border-top: 1px solid var(--line); margin-top: 15px; padding-top: 15px; }
.basic .entry-text { overflow-wrap: anywhere; }
.basic .wp-block-image, .basic .wp-block-table { max-width: 100%; overflow-x: auto; }

.topic-group { margin-top: 17px; }
.topic-group h3 { font-size: .85rem; margin-bottom: 7px; font-weight: 800; color: var(--muted); }
.topic-group ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; list-style: none; padding: 0; }
.topic-group a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 45px; padding: 6px 11px; border: 1px solid var(--line); background: #f8f9fa; color: var(--deep); font-size: .9rem; font-weight: 750; text-decoration: none; border-radius: 2px; }
.topic-group a:hover { border-color: #bb7d87; text-decoration: underline; }
.crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: -5px; margin-bottom: 5px; color: var(--muted); font-size: .8rem; font-weight: 650; }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--deep); }
.crumb svg { width: 13px; height: 13px; }
.topic-paper h1 { font-size: clamp(1.92rem, 3.8vw, 2.58rem); overflow-wrap: anywhere; }
.topic-image { margin-top: 18px; }
.topic-image img { width: 100%; border: 1px solid var(--line); border-radius: 2px; }
.topic-image-still { display: grid; justify-items: center; background: var(--navy); padding: 12px; border-radius: 2px; }
.topic-image-still img { width: min(100%, 506px); border-color: #384858; }
.topic-still-tag { display: flex; align-items: center; gap: 4px; color: #f9f2f3; font-size: .74rem; font-weight: 750; margin-bottom: 8px; }
.topic-image-still figcaption { color: #e0e5eb; }
.topic-text { margin-top: 21px; }
.topic-text h2 { border-top: 1px solid var(--line); padding-top: 15px; font-size: clamp(1.15rem, 2.5vw, 1.46rem); line-height: 1.3; font-weight: 750; letter-spacing: -.026em; }
.topic-text p { margin-top: 8px; color: var(--body); }
.topic-text p + h2 { margin-top: 19px; }
.topic-related { margin-top: 23px; padding-top: 14px; border-top: 1px solid var(--line); }
.topic-related h2 { font-size: .91rem; font-weight: 800; }
.topic-related ul { display: flex; flex-wrap: wrap; gap: 0 18px; list-style: none; padding: 0; }
.topic-related a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--deep); font-size: .83rem; font-weight: 750; }
.rail-card a[aria-current="page"] { color: var(--ink); text-decoration: none; cursor: default; }

@media (max-width: 790px) {
    .dossier-grid { grid-template-columns: minmax(0, 1fr) 200px; gap: 12px; }
    .rail-card { padding: 14px; }
}
@media (max-width: 690px) {
    .dossier-grid { grid-template-columns: minmax(0, 1fr); }
    .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 570px) {
    .head-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-inline: 5px; padding-top: 8px; }
    .wordmark { justify-self: start; }
    .wordmark img { width: 132px; }
    .head-nav { justify-content: space-between; min-width: 0; gap: 6px; }
    .head-nav a { font-size: .77rem; }
}
@media (max-width: 480px) {
    .dossier { padding-top: 10px; }
    .intro-actions { margin-block: 13px 15px; }
    .cover-panel { min-height: 184px; }
    .cover-copy { gap: 9px; }
    .cover-art { width: 72%; }
    .profile-section { padding-top: 16px; margin-top: 17px; }
    .states dt, .states dd { padding: 8px; }
    .rail { grid-template-columns: minmax(0, 1fr); }
    .foot-inner { padding-inline: 5px; }
}
