:root {
    --ym-ink: #172535;
    --ym-muted: #526171;
    --ym-line: #dbe2e8;
    --ym-surface: #f3f5f6;
    --ym-brand: #9d2534;
    --ym-brand-dark: #6f1623;
    --ym-paper: #fff;
}
.ym-shell :is(*, *::before, *::after), .ym-home *, .ym-end * { box-sizing: border-box; }
body.ym-shell { margin: 0; background: var(--ym-surface); color: var(--ym-ink); font: 16px/1.55 system-ui, sans-serif; }
.ym-itd { --ym-brand: #175a7a; --ym-brand-dark: #0c425d; }
.ym-shell a, .ym-end a, .ym-home a { color: inherit; text-decoration: none; }
.ym-shell a:hover, .ym-end a:hover, .ym-home a:hover { text-decoration: underline; text-underline-offset: .2em; }
.ym-shell :is(a, button, input, select, textarea):focus-visible, .ym-home a:focus-visible, .ym-end a:focus-visible { outline: 3px solid #156598; outline-offset: 3px; }
.ym-wide { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.ym-skip { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 8px 12px; background: #fff; transform: translateY(-180%); }
.ym-skip:focus { transform: none; }
.ym-header { border-top: 4px solid var(--ym-brand); background: var(--ym-paper); color: var(--ym-ink); }
.ym-headrow { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ym-header .ym-brand { flex-shrink: 0; color: var(--ym-brand-dark); font-weight: 850; font-size: clamp(23px, 3.7vw, 38px); letter-spacing: -.045em; }
.ym-headlinks { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 28px); font-size: 14px; font-weight: 700; }
.ym-headlinks a { min-height: 44px; display: inline-flex; align-items: center; }
.ym-headlinks .ym-head-account { color: var(--ym-brand-dark); }
.ym-primary { background: var(--ym-ink); color: #fff; }
.ym-primary ul { display: flex; align-items: center; gap: 22px; padding: 0; margin-block: 0; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.ym-primary a { white-space: nowrap; display: block; min-height: 44px; padding-block: 12px; font-size: 14px; font-weight: 720; }
.ym-page { padding-block: clamp(26px, 5.5vw, 66px); min-height: 52vh; }
.ym-panel, .ym-story {
    width: min(100%, 520px);
    margin-inline: auto;
    padding: clamp(20px, 5vw, 42px);
    border: 1px solid var(--ym-line);
    border-radius: 12px;
    background: var(--ym-paper);
}
.ym-panel-wide { width: min(100%, 760px); }
.ym-panel h1, .ym-story h1, .ym-archive-heading h1 { margin: 0 0 16px; font-size: clamp(28px, 5vw, 50px); line-height: 1.12; letter-spacing: -.035em; }
.ym-panel h2 { font-size: 21px; line-height: 1.2; margin: 0 0 10px; }
.ym-panel p { margin: 0 0 1.05rem; }
.ym-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; }
.ym-form label { font-weight: 690; margin-top: 6px; }
.ym-form :is(input:not([type=checkbox]), select, textarea) { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #a2afbc; border-radius: 6px; background: #fff; color: var(--ym-ink); font: inherit; }
.ym-form textarea { resize: vertical; }
.ym-form small, .ym-status-list small { display: block; color: var(--ym-muted); }
.ym-form .ym-check { display: flex; align-items: start; gap: 9px; font-size: 14px; font-weight: 520; }
.ym-check input { flex: 0 0 auto; width: 17px; height: 17px; accent-color: var(--ym-brand); margin: 3px 0 0; }
.ym-trap { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
.ym-shell .ym-button {
    width: fit-content;
    display: inline-flex;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    padding: 9px 16px;
    border: 1px solid var(--ym-brand);
    border-radius: 6px;
    background: var(--ym-brand);
    color: #fff;
    font: 720 15px/1.35 system-ui, sans-serif;
    cursor: pointer;
}
.ym-form .ym-button { margin-top: 9px; }
.ym-shell .ym-button:hover { background: var(--ym-brand-dark); text-decoration: none; }
.ym-shell .ym-secondary { background: #fff; color: var(--ym-brand-dark); }
.ym-shell .ym-secondary:hover { background: var(--ym-surface); }
.ym-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.ym-account-links { margin-top: 17px; color: var(--ym-brand-dark); font-weight: 680; }
.ym-account-section { margin-top: 24px; padding-block: 18px; border-top: 1px solid var(--ym-line); }
.ym-notice { border-left: 4px solid #347653; background: #eef7f1; padding: 12px; }
.ym-notice.ym-error { border-color: #a42332; background: #fcecee; }
.ym-status-list { list-style: none; padding: 0; }
.ym-status-list li { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--ym-line); }
.ym-status-list li > span { flex: none; align-self: start; border: 1px solid var(--ym-line); border-radius: 99px; padding: 2px 8px; font-size: 12px; }
.ym-story { width: min(100%, 870px); }
.ym-story h1 { margin-top: 12px; }
.ym-story .ym-byline { color: var(--ym-muted); font-size: 14px; }
.ym-story-hero { margin: 24px 0; }
.ym-story-hero img, .ym-prose img { display: block; max-width: 100%; height: auto; }
.ym-prose { font: 19px/1.72 Georgia, serif; overflow-wrap: anywhere; }
.ym-prose a { color: var(--ym-brand-dark); text-decoration: underline; }
.ym-archive-heading, .ym-section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.ym-archive-heading { margin-bottom: 16px; }
.ym-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ym-card { min-width: 0; background: #fff; border: 1px solid var(--ym-line); border-radius: 8px; overflow: hidden; }
.ym-card a { display: block; height: 100%; outline-offset: -4px; }
.ym-card-image { aspect-ratio: 16/9; background: var(--ym-surface); overflow: hidden; }
.ym-card-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ym-card h3 { color: var(--ym-ink); margin: 0; padding: 11px 12px 4px; font-size: clamp(14px, 1.35vw, 18px); font-weight: 750; line-height: 1.3; overflow-wrap: anywhere; }
.ym-card time { display: block; color: var(--ym-muted); padding: 0 12px 12px; font: 12px/1.3 system-ui, sans-serif; }
.ym-home { color: var(--ym-ink); font-family: system-ui, sans-serif; padding-block: 12px 30px; }
.ym-home-section { margin-block: 16px 25px; }
.ym-home-section .ym-section-heading { border-top: 2px solid var(--ym-brand); padding-top: 10px; margin-bottom: 10px; }
.ym-home-section .ym-section-heading h2 { font: 800 clamp(20px, 2.7vw, 28px)/1.15 system-ui, sans-serif; letter-spacing: -.024em; margin: 0; }
.ym-home-section :is(.ym-section-heading a, .ym-text-link), .ym-shell .ym-text-link { color: var(--ym-brand-dark); font-size: 14px; font-weight: 740; }
.ym-home-section .ym-text-link { display: inline-flex; min-height: 38px; align-items: center; }
.ym-end { clear: both; background: #172535; color: #fff; font: 15px/1.5 system-ui, sans-serif; padding: 32px 0 0; }
.ym-end .ym-footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); align-items: start; gap: 18px 30px; }
.ym-end h2 { margin: 0 0 8px; color: #fff; font-size: 15px; font-weight: 780; }
.ym-end ul { list-style: none; margin: 0; padding: 0; }
.ym-end li a { display: inline-flex; align-items: center; min-height: 33px; color: #e0e9ef; }
.ym-end .ym-footer-mark a { color: #fff; font-size: 28px; font-weight: 850; letter-spacing: -.04em; }
.ym-end .ym-footer-mark p { margin: 4px 0 0; color: #c3d1dc; }
.ym-end .ym-footer-bottom { border-top: 1px solid #455567; margin-top: 24px; padding-block: 13px; color: #c3d1dc; font-size: 13px; }
.ym-pagination { margin-top: 18px; }
.ym-pagination .page-numbers { display: inline-flex; min-height: 40px; min-width: 40px; justify-content: center; align-items: center; }
.ym-pagination .current { font-weight: 800; color: var(--ym-brand-dark); }
.gap-portal .ym-home { width: 100%; }
.gap-portal .ym-end .ym-wide { width: min(100% - 40px, var(--wrap)); }
.gap-portal .mast-links { gap: 13px; }
.gap-portal .ym-home-section p { margin: 6px 0; }
body.single .haberDetay .baslikOzet h1, body.single .haberSingle .pageHeading .title {
    max-inline-size: 34ch;
    font-family: system-ui, sans-serif;
    font-size: clamp(28px, 3.25vw, 49px);
    line-height: 1.12;
    letter-spacing: -.036em;
    text-wrap: pretty;
}
body.single .haberDetay .baslikOzet, body.single .haberSingle .pageHeading {
    margin-block: 9px 14px;
    padding-block: 11px;
    border-top: 3px solid var(--ym-brand);
}
body.single .haberDetay article, body.single .haberSingle #singleContent {
    margin-inline: auto;
    width: min(100%, 70ch);
    font: clamp(17px, 1.6vw, 20px)/1.72 Georgia, serif;
    color: var(--ym-ink);
    overflow-wrap: anywhere;
}
body.single .haberDetay article :is(p, li), body.single .haberSingle #singleContent :is(p, li) { font: inherit; }
body.single .haberDetay article p, body.single .haberSingle #singleContent p { margin-block: 0 1.15em; }
body.single .haberDetay article :is(img, figure), body.single .haberSingle #singleContent :is(img, figure) { max-width: 100%; height: auto; }
body.single .haberDetay article > :is(figure, p):first-child > img:only-child,
body.single .haberSingle #singleContent > :is(figure, p):first-child > img:only-child {
    float: none !important;
    display: block;
    width: auto;
    max-height: 70vh;
    margin: 0 auto 22px;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 6px;
}
body.single .haberDetay article :is(h2,h3), body.single .haberSingle #singleContent :is(h2,h3) { font-family: system-ui, sans-serif; line-height: 1.25; }
body.single .haberDetay article a, body.single .haberSingle #singleContent a { color: var(--ym-brand-dark); text-decoration: underline; text-underline-offset: .18em; }
body.single .haberDetay :is(.singleSosyal, .hbrDetayTarih), body.single .haberSingle :is(.metaBox, .share) { flex-wrap: wrap; }
@media (max-width: 810px) {
    .ym-wide { width: calc(100% - 30px); }
    .ym-headrow { min-height: 64px; }
    .ym-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ym-end .ym-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
    .ym-headrow { flex-wrap: wrap; gap: 0 12px; padding-top: 6px; }
    .ym-headlinks { width: 100%; justify-content: space-between; gap: 7px; }
    .ym-panel, .ym-story { padding: 16px; }
    .ym-end .ym-footer-mark { grid-column: 1 / -1; }
    .ym-status-list li { flex-wrap: wrap; }
}
.ym-brand img { display: block; width: 145px; max-height: 66px; height: auto; object-fit: contain; }
.ym-search { display: flex; align-items: center; gap: 4px; }
.ym-search :is(input, button) { min-height: 40px; font: inherit; border: 1px solid var(--ym-line); border-radius: 4px; padding: 6px 10px; }
.ym-search input { width: 140px; }
.ym-search button { background: var(--ym-brand); color: #fff; cursor: pointer; }
.ym-search label { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.ym-shell .ym-watch { color: var(--ym-brand-dark); }
.ym-gap-home { padding-bottom: 28px; }
.ym-gap-home h1 { margin: 14px 0 12px; font: 820 clamp(21px, 3vw, 32px)/1.15 system-ui, sans-serif; letter-spacing: -.026em; }
.ym-latest-ribbon { display: flex; align-items: baseline; gap: 14px; min-height: 47px; padding: 10px 0; border-bottom: 1px solid var(--ym-line); font-size: 14px; }
.ym-latest-ribbon strong { flex: none; color: var(--ym-brand-dark); }
.ym-latest-ribbon a { font-weight: 680; }
.ym-gap-lead { display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(0, 1fr); align-items: start; gap: 20px; }
.ym-news-rail { background: var(--ym-paper); border: 1px solid var(--ym-line); border-radius: 8px; padding: 12px 16px; }
.ym-news-rail h2 { font: 810 20px/1.2 system-ui, sans-serif; margin: 0; padding-bottom: 8px; border-bottom: 2px solid var(--ym-brand); }
.ym-news-rail ul { list-style: none; padding: 0; margin: 0; }
.ym-news-rail li + li { border-top: 1px solid var(--ym-line); }
.ym-news-rail li a { min-height: 42px; display: grid; grid-template-columns: 40px 1fr; align-items: start; gap: 8px; padding: 8px 0; font-size: 14px; font-weight: 690; line-height: 1.32; }
.ym-news-rail time { color: var(--ym-brand-dark); font-size: 12px; }
.ym-news-rail > a { display: inline-flex; align-items: center; min-height: 40px; }
.ym-service-links ul { display: flex; flex-wrap: wrap; gap: 0 16px; padding-top: 4px; }
.ym-service-links li + li { border: none; }
.ym-service-links li a { display: inline-flex; align-items: center; }
@media (max-width: 810px) {
    .ym-gap-lead { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .ym-search { display: none; }
}
@media (max-width: 460px) {
    .ym-brand img { width: 118px; max-height: 46px; }
}
body.single .haberDetay article .haberinYazisi { width: 100%; margin-inline: auto; }
body.single .haberDetay article .haberinYazisi .biyografiDetay {
    float: none !important;
    width: 100% !important;
    max-width: none;
    margin: 0 0 22px;
}
body.single .haberDetay article .haberinYazisi .biyografiDetay figure {
    float: none !important;
    width: 100% !important;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--ym-surface);
}
body.single .haberDetay article .haberinYazisi .biyografiDetay figure img {
    display: block;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    object-fit: contain;
}
body.single .haberDetay .tarihSosyal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 14px;
    padding: 8px 0;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--ym-line);
    font: 14px/1.45 system-ui, sans-serif;
}
body.single .siteSag .sagSablonyeni {
    margin-bottom: 8px;
    border-radius: 7px;
    overflow: hidden;
}
body.single .siteSag .sagSablonyeni figcaption { line-height: 1.27; }
body.single .haberSingle #singleBlock .thumb img { border-radius: 7px; max-width: 100%; height: auto; }
.ym-reading { padding: 18px 0 42px; max-width: 1180px; }
.ym-breadcrumb { display: flex; flex-wrap: wrap; gap: 7px 10px; color: var(--ym-muted); font: 650 13px/1.4 system-ui, sans-serif; margin-bottom: 14px; }
.ym-article-layout { display: grid; grid-template-columns: minmax(0, 790px) minmax(0, 320px); justify-content: space-between; align-items: start; gap: clamp(16px, 3vw, 34px); }
.ym-reading-article { min-width: 0; padding: clamp(16px,3vw,28px); background: var(--ym-paper); border: 1px solid var(--ym-line); border-radius: 9px; }
.ym-reading-header { border-bottom: 1px solid var(--ym-line); }
.ym-reading-header .ym-eyebrow { display: inline-block; border-left: 3px solid var(--ym-brand); padding-left: 9px; color: var(--ym-brand-dark); font: 800 13px/1.3 system-ui, sans-serif; }
.ym-reading-header h1 { margin: 8px 0 12px; color: var(--ym-ink); font: 830 clamp(26px, 3.3vw, 44px)/1.12 system-ui, sans-serif; letter-spacing: -.028em; text-wrap: pretty; overflow-wrap: anywhere; }
.ym-deck { color: var(--ym-muted); font-size: 17px; line-height: 1.45; }
.ym-deck p { margin: 0 0 10px; }
.ym-reading-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; padding: 3px 0 10px; }
.ym-date { display: flex; flex-wrap: wrap; gap: 3px 12px; color: var(--ym-muted); font-size: 13px; line-height: 1.35; }
.ym-share { display: flex; flex-wrap: wrap; gap: 6px; }
.ym-share a { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 8px; border: 1px solid var(--ym-line); border-radius: 4px; color: var(--ym-brand-dark); font-size: 12px; font-weight: 740; }
.ym-reading-lead { margin: 17px 0; }
.ym-reading-lead figure { margin: 0; }
.ym-reading-lead img, .ym-reading-body img { display: block; max-width: 100%; height: auto; border-radius: 6px; }
.ym-reading-lead:not(.ym-portrait) img { width: 100%; }
.ym-reading-lead.ym-portrait figure { width: min(100%, 240px); }
.ym-reading-lead.ym-intro-split { display: grid; grid-template-columns: minmax(140px, 240px) minmax(0, 1fr); gap: clamp(14px, 3vw, 22px); align-items: start; }
.ym-reading-lead figcaption { margin-top: 5px; color: var(--ym-muted); font-size: 13px; }
.ym-reading-article .ym-prose { font-size: clamp(17px, 1.5vw, 19px); }
.ym-intro-text p { margin: 0; font-weight: 600; }
.ym-reading-body p { margin: 0 0 1.1em; }
.ym-reading-body:first-child { margin-top: 16px; }
.ym-reading-body p:first-child { margin-top: 14px; }
.ym-reading-body iframe, .ym-reading-body video { max-width: 100%; }
.ym-reading-body :is(h2,h3) { font-family: system-ui, sans-serif; font-size: 1.2em; line-height: 1.25; }
.ym-tags { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--ym-line); padding-top: 12px; }
.ym-tags a { padding: 4px 8px; border: 1px solid var(--ym-line); border-radius: 4px; font-size: 13px; }
.ym-comments { margin-top: 20px; }
.ym-rail-section { min-width: 0; padding: 14px; margin-bottom: 14px; border: 1px solid var(--ym-line); border-radius: 8px; background: var(--ym-paper); }
.ym-rail-section h2 { margin: 0 0 4px; padding-bottom: 8px; border-bottom: 2px solid var(--ym-brand); font: 800 18px/1.15 system-ui, sans-serif; }
.ym-rail-section ul { list-style: none; margin: 0; padding: 0; }
.ym-rail-section li + li { border-top: 1px solid var(--ym-line); }
.ym-rail-section a { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 9px 0; font: 690 14px/1.28 system-ui, sans-serif; overflow-wrap: anywhere; }
.ym-rail-section img { flex: 0 0 68px; width: 68px; height: 50px; object-fit: cover; border-radius: 4px; }
@media (max-width: 870px) {
    .ym-article-layout { grid-template-columns: minmax(0, 1fr); }
    .ym-article-rail { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .ym-headrow { flex-wrap: wrap; }
    .ym-header .ym-search { display: flex; flex: 1 0 100%; padding-bottom: 8px; }
    .ym-search input { flex: 1; min-width: 0; }
}
@media (max-width: 580px) {
    .ym-reading { padding-top: 11px; }
    .ym-reading-article { padding: 13px; }
    .ym-reading-lead.ym-intro-split { grid-template-columns: minmax(0, 115px) minmax(0, 1fr); gap: 10px; }
    .ym-reading-article .ym-intro-text { font-size: 16px; line-height: 1.5; }
    .ym-article-rail { grid-template-columns: minmax(0, 1fr); }
}
.ym-story-ad { margin-block: 12px; max-width: 100%; }
.ym-story-ad:empty { display: none; }
.ym-story-ad :is(img,iframe,video) { max-width: 100%; }
.ym-archive-description { color: var(--ym-muted); margin: 0 0 12px; }
.ym-topics { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 18px; }
.ym-topics a { display: inline-flex; align-items: center; min-height: 37px; padding-inline: 10px; border: 1px solid var(--ym-line); background: #fff; color: var(--ym-brand-dark); border-radius: 4px; font-size: 14px; font-weight: 680; }
.ym-topics a[aria-current="page"] { border-color: var(--ym-brand); background: var(--ym-brand); color: #fff; }
.ym-blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.ym-blog-card { background: var(--ym-paper); border: 1px solid var(--ym-line); border-top: 3px solid var(--ym-brand); border-radius: 7px; overflow: hidden; min-width: 0; }
.ym-blog-card > .ym-card-image { display: block; }
.ym-blog-card-content { padding: 17px; }
.ym-blog-card h2 { font: 800 clamp(19px,2.2vw,25px)/1.24 system-ui,sans-serif; margin: 5px 0 8px; letter-spacing: -.025em; overflow-wrap: anywhere; }
.ym-blog-card p { margin: 0 0 10px; }
.ym-blog-card .ym-blog-kicker { color: var(--ym-brand-dark); margin: 0 0 6px; font-weight: 760; font-size: 13px; }
.ym-blog-card time { color: var(--ym-muted); font-size: 13px; }
@media (max-width: 900px) { .ym-blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 570px) { .ym-blog-grid { grid-template-columns: minmax(0,1fr); } }
@media (min-width: 871px) {
    .ym-reading-lead.ym-intro-split { display: contents; }
    .ym-reading-lead.ym-intro-split figure { float: left; width: min(34%,240px); margin: 16px 20px 13px 0; }
    .ym-reading-lead.ym-intro-split .ym-intro-text { padding-top: 16px; }
    .ym-reading-article :is(.ym-story-ad,.ym-tags,.ym-comments) { clear: both; }
}

/* Portal content inherits the publication's theme and page frame. */
.ym-anka {
    --ym-brand: #12254b;
    --ym-brand-dark: #0a1936;
    --ym-ink: #192033;
    --ym-line: #d6dbe1;
    color: var(--ym-ink);
    font: 16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
.ym-anka-account .ym-page { width: min(100% - 32px, 760px); padding: clamp(22px,3vw,42px) 0; min-height: 0; }
.ym-anka-account .ym-panel {
    padding: clamp(20px,3vw,34px);
    border-radius: 3px;
    border-top: 3px solid var(--c1,#f42447);
    background: #fff;
    box-shadow: none;
}
.ym-anka-account .ym-panel h1 {
    margin: 0 0 20px;
    font-family: inherit;
    font-size: clamp(27px,3vw,36px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.025em;
    color: var(--ym-ink);
}
.ym-anka-account .ym-form { gap: 6px; }
.ym-anka-account .ym-form :is(input:not([type=checkbox]),select,textarea) {
    border-radius: 3px; font: inherit; color: var(--ym-ink); background: #fff;
}
.ym-anka-account .ym-button { border-radius: 3px; font-family: inherit; }
.ym-anka-account .ym-account-links { font-size: 15px; }
.ym-anka-account .ym-account-links a { color: var(--ym-brand); text-decoration: underline; text-underline-offset: .18em; }

.ym-anka:not(.ym-anka-account) > .ym-wide { width: min(calc(100% - 32px),1110px); }
.ym-anka:not(.ym-anka-account) .ym-page { padding-block: clamp(24px,3vw,42px); }
.ym-anka .ym-archive-heading { border-bottom: 2px solid var(--c1,#f42447); padding-bottom: 10px; }
.ym-anka .ym-archive-heading h1 { margin: 0; }
.ym-anka :is(.ym-archive-heading h1,.ym-story h1,.ym-reading-header h1,.ym-blog-card h2,.ym-rail-section h2) { font-family: inherit; color: var(--ym-ink); }
.ym-anka :is(.ym-story,.ym-reading-article,.ym-blog-card,.ym-rail-section,.ym-button,.ym-topics a) { border-radius: 3px; }
.ym-anka :is(.ym-story,.ym-reading-article,.ym-blog-card) { border-top: 3px solid var(--c1,#f42447); }
.ym-anka .ym-blog-card .ym-blog-kicker { color: var(--ym-brand); }
.ym-anka .ym-rail-section h2 { border-bottom-color: var(--c1,#f42447); }

/* === Topluluk, Sözlük (Ekşi tarzı) ve Blog UI === */
.ys-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0 0 22px;
    padding: 8px 12px;
    background: var(--ym-paper, #fff);
    border: 1px solid var(--ym-line, #dbe2e8);
    border-radius: 8px;
}
.ys-nav-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.ys-nav-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 6px 13px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ym-muted, #526171);
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.ys-nav-tabs a:hover {
    background: var(--ym-surface, #f3f5f6);
    color: var(--ym-ink, #172535);
    text-decoration: none;
}
.ys-nav-tabs a[aria-current="page"] {
    background: var(--ym-brand, #9d2534);
    color: #fff;
}
.ys-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 99px;
    background: #d92d20;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}
.ys-nav-tabs a[aria-current="page"] .ys-nav-badge {
    background: rgba(255,255,255,.25);
}
.ys-nav-cta .ys-nav-action {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 12px;
    border: 1px solid var(--ym-line, #dbe2e8);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ym-brand-dark, #6f1623);
    background: var(--ym-surface, #f3f5f6);
    text-decoration: none;
}
.ys-nav-cta .ys-nav-action:hover {
    border-color: var(--ym-brand, #9d2534);
    text-decoration: none;
}

/* Sözlük 2 sütunlu Ekşi Sözlük düzeni */
.ys-dictionary { max-width: 1180px; }
.ys-dict-grid {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}
.ys-agenda {
    position: sticky;
    top: 18px;
    background: var(--ym-paper, #fff);
    border: 1px solid var(--ym-line, #dbe2e8);
    border-top: 3px solid var(--ym-brand, #9d2534);
    border-radius: 8px;
    padding: 14px;
    max-height: calc(100vh - 36px);
    display: flex;
    flex-direction: column;
}
.ys-agenda-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.ys-agenda-head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.015em;
    color: var(--ym-ink, #172535);
    text-transform: lowercase;
}
.ys-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 7px;
    border-radius: 99px;
    background: var(--ym-surface, #f3f5f6);
    color: var(--ym-muted, #526171);
    font-size: 12px;
    font-weight: 700;
}
.ys-agenda-filter { margin-bottom: 10px; }
.ys-agenda-input {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid var(--ym-line, #dbe2e8);
    border-radius: 6px;
    background: var(--ym-surface, #f3f5f6);
    color: var(--ym-ink, #172535);
    font: 13px/1.35 system-ui, sans-serif;
}
.ys-agenda-input:focus {
    background: #fff;
    border-color: var(--ym-brand, #9d2534);
}
.ys-agenda-list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    scrollbar-width: thin;
}
.ys-agenda-list li + li { border-top: 1px solid var(--ym-line, #edf1f4); }
.ys-agenda-list a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 6px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--ym-ink, #172535);
    text-decoration: none;
    transition: background .12s ease;
}
.ys-agenda-list a:hover {
    background: var(--ym-surface, #f3f5f6);
    text-decoration: none;
}
.ys-agenda-list li.is-active a {
    background: color-mix(in srgb, var(--ym-brand, #9d2534) 10%, #fff);
    color: var(--ym-brand-dark, #6f1623);
    font-weight: 700;
    box-shadow: inset 3px 0 0 var(--ym-brand, #9d2534);
    padding-left: 10px;
}
.ys-agenda-title { overflow-wrap: anywhere; }
.ys-agenda-count {
    flex: none;
    font-size: 12px;
    font-weight: 600;
    color: var(--ym-muted, #526171);
}
.ys-agenda-empty {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--ym-muted, #526171);
}
.ys-agenda-mobile {
    display: none;
    margin-bottom: 16px;
    background: var(--ym-paper, #fff);
    border: 1px solid var(--ym-line, #dbe2e8);
    border-radius: 8px;
}
.ys-agenda-mobile summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    font-weight: 750;
    font-size: 14px;
    cursor: pointer;
    list-style: none;
}
.ys-agenda-mobile summary::-webkit-details-marker { display: none; }
.ys-agenda-mobile-body { padding: 0 14px 14px; border-top: 1px solid var(--ym-line, #dbe2e8); padding-top: 10px; }

/* Sağ akış: Başlık üst alanı ve Entry kartları */
.ys-stream { min-width: 0; }
.ys-dict-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 18px 20px;
    margin-bottom: 16px;
    background: var(--ym-paper, #fff);
    border: 1px solid var(--ym-line, #dbe2e8);
    border-top: 3px solid var(--ym-brand, #9d2534);
    border-radius: 8px;
}
.ys-dict-kicker {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--ym-brand-dark, #6f1623);
    margin-bottom: 4px;
}
.ys-dict-kicker a { color: inherit; }
.ys-dict-head h1 {
    margin: 0;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.025em;
    color: var(--ym-ink, #172535);
    overflow-wrap: anywhere;
}
.ys-dict-sub {
    margin: 5px 0 0;
    font-size: 14px;
    color: var(--ym-muted, #526171);
}
.ys-back-topic {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ym-brand-dark, #6f1623);
}
.ys-write-jump { min-height: 38px; padding: 7px 14px; font-size: 14px; }

.ys-entries { display: grid; gap: 12px; }
.ys-entry {
    background: var(--ym-paper, #fff);
    border: 1px solid var(--ym-line, #dbe2e8);
    border-radius: 8px;
    padding: 18px 20px 14px;
    overflow-wrap: anywhere;
    transition: border-color .15s ease;
}
.ys-entry:hover { border-color: #b8c4d0; }
.ys-entry-heading {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.015em;
}
.ys-topic-link {
    color: var(--ym-ink, #172535);
    text-decoration: none;
}
.ys-topic-link:hover { color: var(--ym-brand-dark, #6f1623); text-decoration: underline; }
.ys-entry-body {
    font: 15.5px/1.68 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    color: var(--ym-ink, #172535);
}
.ys-entry-body p { margin: 0 0 .75em; }
.ys-entry-body p:last-child { margin-bottom: 0; }
.ys-entry-body a { color: var(--ym-brand-dark, #6f1623); text-decoration: underline; }

.ys-entry-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid var(--ym-surface, #f0f3f5);
}
.ys-byline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 0;
    font-size: 12.5px;
    color: var(--ym-muted, #526171);
}
.ys-entry-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ym-muted, #526171);
    text-decoration: none;
}
.ys-entry-meta:hover { color: var(--ym-ink, #172535); }
.ys-author-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ys-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--ym-brand, #9d2534) 14%, #fff);
    color: var(--ym-brand-dark, #6f1623);
    font-size: 11px;
    font-weight: 800;
    flex: none;
}
.ys-author-link {
    font-weight: 700;
    color: var(--ym-brand-dark, #6f1623);
    text-decoration: none;
}
.ys-author-link:hover { text-decoration: underline; }
.ys-author-name { font-weight: 700; color: var(--ym-ink, #172535); }

/* Kompakt Ekşi tarzı beğeni (şükela) düğmesi */
.ys-like {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 18px 0 0;
}
.ys-like-compact { margin: 0; }
.ys-like .ys-form { margin: 0; display: inline-flex; }
.ys-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border: 1px solid var(--ym-line, #cfd8e0);
    border-radius: 99px;
    background: var(--ym-surface, #f6f8fa);
    color: var(--ym-ink, #172535);
    font: 700 13px/1.2 system-ui, sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.ys-like-btn:hover {
    border-color: var(--ym-brand, #9d2534);
    color: var(--ym-brand-dark, #6f1623);
    text-decoration: none;
}
.ys-like-btn[aria-pressed="true"] {
    background: var(--ym-brand, #9d2534);
    border-color: var(--ym-brand, #9d2534);
    color: #fff;
}
.ys-like-count { font-size: 13px; font-weight: 700; color: var(--ym-muted, #526171); }
.ys-like-login { font-size: 13px; font-weight: 700; color: var(--ym-brand-dark, #6f1623); text-decoration: underline; }

/* Entry yazma kutusu */
.ys-compose {
    margin: 22px 0 0;
    padding: 20px;
    background: var(--ym-paper, #fff);
    border: 1px solid var(--ym-line, #dbe2e8);
    border-top: 3px solid var(--ym-brand, #9d2534);
    border-radius: 8px;
}
.ys-compose-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-bottom: 12px;
}
.ys-compose-head h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--ym-ink, #172535);
}
.ys-compose-hint { font-size: 12.5px; color: var(--ym-muted, #526171); }
.ys-compose-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
}
.ys-char-count { font-size: 12.5px; color: var(--ym-muted, #526171); }
.ys-guest-compose p { margin: 0 0 12px; color: var(--ym-muted, #526171); font-size: 14.5px; }

.ys-empty-card {
    padding: 26px 22px;
    background: var(--ym-paper, #fff);
    border: 1px dashed var(--ym-line, #c7d2dc);
    border-radius: 8px;
    text-align: center;
}
.ys-empty-title { margin: 0 0 4px; font-weight: 750; font-size: 16px; color: var(--ym-ink, #172535); }
.ys-empty-desc { margin: 0; font-size: 14px; color: var(--ym-muted, #526171); }

/* Formlar, Üyeler, Profil ve Mesajlar */
.ys-form { display: grid; gap: 10px; margin: 12px 0; }
.ys-form label { display: grid; gap: 5px; font-weight: 650; font-size: 14px; }
.ys-form label.ym-check { display: flex; align-items: start; gap: 9px; font-weight: 520; }
.ys-form input:not([type=checkbox],[type=hidden]), .ys-form textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #b5c0cb;
    background: #fff;
    color: var(--ym-ink, #172535);
    border-radius: 6px;
    padding: 10px 12px;
    font: inherit;
}
.ys-form textarea { resize: vertical; }
.ys-form button:not(.ys-like-btn) {
    justify-self: start;
    border: 0;
    border-radius: 6px;
    padding: 10px 18px;
    font: 700 14.5px/1.3 system-ui, sans-serif;
    color: #fff;
    background: var(--ym-brand, #9d2534);
    cursor: pointer;
}
.ys-form button:not(.ys-like-btn):hover { background: var(--ym-brand-dark, #6f1623); }

.ys-search-bar {
    display: flex;
    gap: 8px;
    margin: 0 0 18px;
}
.ys-search-bar input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #b5c0cb;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}
.ys-search-bar button {
    padding: 10px 18px;
    border: 0;
    border-radius: 6px;
    background: var(--ym-brand, #9d2534);
    color: #fff;
    font: 700 14px/1.2 system-ui, sans-serif;
    cursor: pointer;
}

.ys-member-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.ys-member-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--ym-line, #dbe2e8);
    border-radius: 8px;
    background: var(--ym-surface, #f8f9fa);
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease;
}
.ys-member-card:hover {
    border-color: var(--ym-brand, #9d2534);
    background: #fff;
    text-decoration: none;
}
.ys-member-card .ys-avatar { width: 38px; height: 38px; font-size: 15px; }
.ys-member-info { display: grid; gap: 2px; min-width: 0; }
.ys-member-info strong { font-size: 15px; color: var(--ym-ink, #172535); overflow-wrap: anywhere; }
.ys-member-info small { font-size: 12.5px; color: var(--ym-muted, #526171); }

.ys-profile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--ym-line, #dbe2e8);
}
.ys-profile-id { display: flex; align-items: center; gap: 12px; }
.ys-profile-id .ys-avatar { width: 46px; height: 46px; font-size: 18px; }
.ys-profile-id h2 { margin: 0; font-size: 22px; }
.ys-profile-stats { margin: 2px 0 0; font-size: 13px; color: var(--ym-muted, #526171); }
.ys-profile-bio {
    margin: 0 0 18px;
    padding: 12px 14px;
    background: var(--ym-surface, #f6f8fa);
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.55;
}
.ys-section-sub { margin: 22px 0 10px; font-size: 17px; font-weight: 800; }
.ys-feed-list { list-style: none; margin: 0; padding: 0; }
.ys-feed-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--ym-line, #dbe2e8);
}
.ys-feed-list a { flex: 1; font-weight: 650; overflow-wrap: anywhere; }
.ys-feed-list time { flex: none; font-size: 12.5px; color: var(--ym-muted, #526171); }
.ys-kind-pill {
    flex: none;
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 750;
    background: var(--ym-surface, #eef2f6);
    color: var(--ym-muted, #526171);
}
.ys-kind-pill.is-entry {
    background: color-mix(in srgb, var(--ym-brand, #9d2534) 12%, #fff);
    color: var(--ym-brand-dark, #6f1623);
}

.ys-thread-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ys-thread-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--ym-line, #dbe2e8);
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}
.ys-thread-list a:hover { border-color: var(--ym-brand, #9d2534); text-decoration: none; }
.ys-thread-list a > span:first-of-type { flex: 1; }
.ys-chat-head { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--ym-line, #dbe2e8); }
.ys-chat-log { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 18px; }
.ys-message {
    max-width: 85%;
    align-self: flex-start;
    background: var(--ym-surface, #f2f4f7);
    padding: 11px 14px;
    border-radius: 10px 10px 10px 2px;
    border: 1px solid var(--ym-line, #e2e7ec);
    overflow-wrap: anywhere;
}
.ys-message.ys-own {
    align-self: flex-end;
    background: color-mix(in srgb, var(--ym-brand, #9d2534) 9%, #fff);
    border-color: color-mix(in srgb, var(--ym-brand, #9d2534) 24%, #fff);
    border-radius: 10px 10px 2px 10px;
}
.ys-message-meta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; font-size: 12.5px; }
.ys-message-meta time { color: var(--ym-muted, #526171); }
.ys-message p { margin: 0; font-size: 14.5px; line-height: 1.5; }

.ys-pages { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; }
.ys-settings { margin: 18px 0; padding: 12px 14px; border: 1px solid var(--ym-line, #dbe2e8); border-radius: 8px; background: var(--ym-surface, #f8f9fa); }
.ys-settings summary { cursor: pointer; font-weight: 700; }
.ys-video { display: block; width: 100%; aspect-ratio: 16/9; border: 0; margin: 18px 0; background: #16191d; border-radius: 6px; }
.ys-source { overflow-wrap: anywhere; }

/* Blog kartları iyileştirmesi */
.ym-blog-card {
    display: flex;
    flex-direction: column;
    transition: transform .15s ease, box-shadow .15s ease;
}
.ym-blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(23, 37, 53, .08);
}
.ym-blog-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ym-blog-card-meta {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--ym-surface, #f0f3f5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12.5px;
    color: var(--ym-muted, #526171);
}

@media (max-width: 860px) {
    .ys-dict-grid { grid-template-columns: minmax(0, 1fr); }
    .ys-agenda { display: none; }
    .ys-agenda-mobile { display: block; }
    .ys-member-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .ys-dict-head { padding: 14px; }
    .ys-entry { padding: 14px; }
    .ys-compose { padding: 14px; }
    .ys-message { max-width: 96%; }
}

/* === Reklam Yönetimi ve Reklam Alanları === */
.ym-ad-slot {
    margin: 14px auto;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
}
.ym-ad-slot img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
.ym-ad-slot a { display: inline-block; max-width: 100%; }
.ym-ad-dev-mobile { display: none; }
@media (max-width: 768px) {
    .ym-ad-dev-desktop { display: none; }
    .ym-ad-dev-mobile { display: block; }
}
.ym-ad-mobile_sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    margin: 0;
    padding: 6px 34px 6px 8px;
    background: rgba(17, 19, 24, .94);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .25);
}
.ym-ad-close {
    position: absolute;
    top: 4px;
    right: 6px;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    color: #fff;
    font: 700 17px/1 Arial, sans-serif;
    cursor: pointer;
}
.ym-ads-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 18px;
    padding: 14px 16px;
    background: var(--ym-surface, #f6f8fa);
    border: 1px solid var(--ym-line, #dbe2e8);
    border-radius: 8px;
}
.ym-ads-intro p { margin: 0; max-width: 64ch; font-size: 14.5px; color: var(--ym-muted, #526171); }
.ym-ads-summary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ym-ads-pill {
    padding: 5px 11px;
    border-radius: 99px;
    background: #fff;
    border: 1px solid var(--ym-line, #dbe2e8);
    font-size: 13px;
}
.ym-ads-home-link { font-size: 13.5px; font-weight: 700; color: var(--ym-brand-dark, #6f1623); }
.ym-ads-grid { display: grid; gap: 16px; }
.ym-ad-card {
    padding: 18px;
    background: var(--ym-paper, #fff);
    border: 1px solid var(--ym-line, #dbe2e8);
    border-left: 4px solid #b8c2cc;
    border-radius: 8px;
}
.ym-ad-card.is-active { border-left-color: #16803c; }
.ym-ad-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.ym-ad-card-head h2 { margin: 0 0 3px; font-size: 18px; font-weight: 800; }
.ym-ad-card-head small { color: var(--ym-muted, #526171); font-size: 12.5px; }
.ym-ad-status {
    flex: none;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 750;
}
.ym-ad-status.on { background: #e6f6ec; color: #136c33; }
.ym-ad-status.off { background: var(--ym-surface, #eef1f4); color: var(--ym-muted, #526171); }
.ym-ad-preview {
    margin: 0 0 14px;
    padding: 10px;
    background: var(--ym-surface, #f6f8fa);
    border: 1px dashed var(--ym-line, #cfd8e0);
    border-radius: 6px;
    text-align: center;
}
.ym-ad-preview-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--ym-muted, #526171); margin-bottom: 6px; }
.ym-ad-preview img { max-width: 100%; max-height: 120px; object-fit: contain; }
.ym-ad-preview-code { font-size: 13px; color: var(--ym-ink, #172535); font-family: monospace; }
.ym-ad-form { display: grid; gap: 10px; }
.ym-ad-form label { display: grid; gap: 4px; font-size: 13.5px; font-weight: 650; }
.ym-ad-form input[type=url], .ym-ad-form input[type=text], .ym-ad-form select, .ym-ad-form textarea {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #b5c0cb;
    border-radius: 6px;
    background: #fff;
    color: var(--ym-ink, #172535);
    font: inherit;
}
.ym-ad-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ym-ad-toggle { display: flex !important; align-items: center; gap: 8px; font-weight: 650; cursor: pointer; }
.ym-ad-toggle input { width: 17px; height: 17px; accent-color: var(--ym-brand, #9d2534); }
.ym-ad-html-box { padding: 8px 12px; background: var(--ym-surface, #f8f9fa); border: 1px solid var(--ym-line, #dbe2e8); border-radius: 6px; }
.ym-ad-html-box summary { cursor: pointer; font-size: 13px; font-weight: 700; }
.ym-ad-html-box textarea { margin-top: 8px; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 12.5px; }
.ym-ad-card-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.ym-ad-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ym-ad-updated { font-size: 12px; color: var(--ym-muted, #526171); }
@media (max-width: 640px) { .ym-ad-row { grid-template-columns: 1fr; } }

/* === Haber İçi Görsel ve Yan Sütun Düzeltmesi === */
.ym-reading-body img:not(.emoji):not(.wp-smiley),
.ym-story .ym-prose img:not(.emoji):not(.wp-smiley) {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 16px auto;
    border-radius: 6px;
    object-fit: contain;
}
.ym-reading-body figure,
.ym-reading-body .wp-caption {
    max-width: 100% !important;
    width: auto !important;
    margin: 18px auto;
}
.ym-reading-lead.ym-portrait {
    display: block !important;
    background: var(--ym-surface, #f4f5f7);
    border-radius: 6px;
    padding: 12px;
    text-align: center;
}
.ym-reading-lead.ym-portrait figure {
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}
.ym-reading-lead.ym-portrait img {
    width: auto !important;
    max-width: 100%;
    max-height: 500px;
    margin: 0 auto;
    border-radius: 4px;
}
.ym-reading-lead.ym-intro-split .ym-intro-text {
    margin-top: 14px;
    padding-top: 0 !important;
    text-align: left;
}
.ym-rail-section img,
.ge-rail-thumb img {
    object-fit: cover;
    object-position: center 20%;
}

/* === Modern Giriş & Kayıt Arayüzü === */
.ym-auth-page { padding-block: clamp(24px, 4.5vw, 56px); }
.ym-auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    max-width: 960px;
    margin-inline: auto;
    background: var(--ym-paper, #fff);
    border: 1px solid var(--ym-line, #dbe2e8);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .09);
}
.ym-auth-brand {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(26px, 4vw, 42px);
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 55%, var(--ym-brand-dark, #6f1623) 100%);
    color: #fff;
}
.ym-auth-kicker {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .14);
    color: #f8fafc;
    font-size: 11.5px;
    font-weight: 750;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.ym-auth-brand h2 {
    margin: 0 0 10px;
    font: 800 clamp(24px, 2.8vw, 32px)/1.16 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    letter-spacing: -.025em;
    color: #fff;
}
.ym-auth-brand p { margin: 0; color: #cbd5e1; font-size: 14.5px; line-height: 1.55; }
.ym-auth-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ym-auth-perks li { display: flex; align-items: flex-start; gap: 12px; }
.ym-auth-perks li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    font-size: 17px;
    flex: none;
}
.ym-auth-perks strong { display: block; font-size: 14px; font-weight: 750; color: #fff; }
.ym-auth-perks small { display: block; font-size: 12.5px; color: #cbd5e1; margin-top: 2px; line-height: 1.4; }
.ym-auth-credit {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: 12.5px;
}
.ym-auth-credit a { color: #e2e8f0; font-weight: 700; text-decoration: none; }
.ym-auth-credit a:hover { color: #fff; text-decoration: underline; }

.ym-auth-card {
    padding: clamp(24px, 4vw, 42px);
    display: flex;
    flex-direction: column;
}
.ym-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 4px;
    margin-bottom: 22px;
    background: var(--ym-surface, #f1f5f9);
    border-radius: 10px;
}
.ym-auth-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 750;
    color: var(--ym-muted, #64748b);
    text-decoration: none;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.ym-auth-tabs a[aria-current="page"] {
    background: #fff;
    color: var(--ym-ink, #0f172a);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
}
.ym-auth-card h1 {
    margin: 0 0 16px;
    font: 800 clamp(24px, 3vw, 30px)/1.15 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif !important;
    letter-spacing: -.025em;
    color: var(--ym-ink, #0f172a);
}
.ym-auth-card .ym-form { gap: 10px; }
.ym-auth-card .ym-form label { font-size: 13.5px; font-weight: 700; color: var(--ym-ink, #0f172a); margin-top: 2px; }
.ym-auth-card .ym-form :is(input:not([type=checkbox]), select, textarea) {
    min-height: 44px;
    padding: 10px 13px;
    border: 1.5px solid #cbd5e1;
    border-radius: 9px !important;
    background: #f8fafc;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.ym-auth-card .ym-form :is(input:not([type=checkbox]), select, textarea):focus {
    background: #fff;
    border-color: var(--ym-brand, #9d2534);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ym-brand, #9d2534) 14%, transparent);
    outline: none;
}
.ym-pw-wrap { position: relative; display: flex; align-items: center; }
.ym-pw-wrap input { padding-right: 68px !important; }
.ym-pw-toggle {
    position: absolute;
    right: 8px;
    border: 0;
    background: transparent;
    color: var(--ym-muted, #64748b);
    font: 700 12px/1 system-ui, sans-serif;
    padding: 6px 8px;
    cursor: pointer;
    border-radius: 6px;
}
.ym-pw-toggle:hover { color: var(--ym-ink, #0f172a); background: rgba(15, 23, 42, .06); }
.ym-auth-card .ym-button {
    width: 100%;
    min-height: 46px;
    border-radius: 9px !important;
    font-size: 15px;
    font-weight: 750;
    margin-top: 8px;
}
.ym-auth-card .ym-account-links {
    margin-top: 16px;
    justify-content: space-between;
    font-size: 13.5px;
}
.ym-auth-staff {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--ym-line, #e2e8f0);
    text-align: center;
    font-size: 13px;
}
.ym-auth-staff a { color: var(--ym-muted, #64748b); font-weight: 650; text-decoration: none; }
.ym-auth-staff a:hover { color: var(--ym-brand-dark, #6f1623); text-decoration: underline; }

@media (max-width: 780px) {
    .ym-auth-shell { grid-template-columns: 1fr; border-radius: 12px; }
    .ym-auth-brand { padding: 22px 20px; gap: 14px; }
    .ym-auth-perks { display: none; }
    .ym-auth-card { padding: 22px 20px; }
}

/* =====================================================================
   ATLASSIAN / SHADCN UI DESIGN SYSTEM (Hesabım, Topluluk & Admin Bar)
   ===================================================================== */
:root {
    --ds-background-neutral: #f4f5f7;
    --ds-surface: #ffffff;
    --ds-border: #dfe1e6;
    --ds-border-subtle: #ebecf0;
    --ds-text: #172b4d;
    --ds-text-subtle: #5e6c84;
    --ds-text-brand: #0052cc;
    --ds-text-brand-hover: #0065ff;
    --ds-primary: #0052cc;
    --ds-primary-hover: #0065ff;
    --ds-primary-active: #0747a6;
    --ds-radius: 6px;
    --ds-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Safety: Prevent unstyled Admin Bar from collapsing into open bullet list */
#wpadminbar .ab-sub-wrapper { display: none !important; }
#wpadminbar .menupop:hover > .ab-sub-wrapper { display: block !important; }

/* Atlassian Navigation Bar (.ys-nav) */
.ys-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px 18px !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid var(--ds-border-subtle) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.ys-nav-tabs {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin-bottom: -2px !important;
}
.ys-nav-tabs a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    height: 42px !important;
    padding: 0 16px !important;
    border-radius: 0 !important;
    border-bottom: 2px solid transparent !important;
    font-family: var(--ds-font) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--ds-text-subtle) !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: color .15s ease, border-color .15s ease !important;
}
.ys-nav-tabs a:hover {
    color: var(--ds-text) !important;
    background: transparent !important;
    text-decoration: none !important;
}
.ys-nav-tabs a[aria-current="page"] {
    color: var(--ds-text-brand) !important;
    border-bottom-color: var(--ds-primary) !important;
    font-weight: 700 !important;
    background: transparent !important;
}
.ys-nav-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 6px !important;
    border-radius: 10px !important;
    background: #dfe1e6 !important;
    color: #42526e !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}
.ys-nav-tabs a[aria-current="page"] .ys-nav-badge {
    background: #deebff !important;
    color: #0052cc !important;
}
.ys-nav-cta .ys-nav-action {
    display: inline-flex !important;
    align-items: center !important;
    height: 32px !important;
    padding: 0 12px !important;
    border: 1px solid var(--ds-border) !important;
    border-radius: var(--ds-radius) !important;
    font-family: var(--ds-font) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--ds-text) !important;
    background: var(--ds-surface) !important;
    text-decoration: none !important;
    transition: all .12s ease !important;
}
.ys-nav-cta .ys-nav-action:hover {
    background: var(--ds-background-neutral) !important;
    border-color: #c1c7d0 !important;
    color: var(--ds-text-brand) !important;
}

/* Atlassian / shadcn Card (.ym-panel, .ym-panel-wide) */
.ym-panel, .ym-panel-wide {
    background: var(--ds-surface) !important;
    border: 1px solid var(--ds-border) !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(9, 30, 66, 0.08) !important;
    padding: clamp(24px, 4vw, 36px) !important;
    font-family: var(--ds-font) !important;
    color: var(--ds-text) !important;
}
.ym-panel h1 {
    font-family: var(--ds-font) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: -0.015em !important;
    color: var(--ds-text) !important;
    margin: 0 0 16px !important;
}

/* Shadcn / Atlassian Action Buttons */
.ym-actions {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 16px 0 !important;
}
.ym-shell .ym-button, .ym-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 16px !important;
    border: 1px solid var(--ds-primary) !important;
    border-radius: var(--ds-radius) !important;
    background: var(--ds-primary) !important;
    color: #ffffff !important;
    font-family: var(--ds-font) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
    transition: all .12s ease !important;
}
.ym-shell .ym-button:hover, .ym-button:hover {
    background: var(--ds-primary-hover) !important;
    border-color: var(--ds-primary-hover) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}
.ym-shell .ym-secondary, .ym-secondary {
    background: var(--ds-surface) !important;
    border: 1px solid var(--ds-border) !important;
    color: var(--ds-text) !important;
}
.ym-shell .ym-secondary:hover, .ym-secondary:hover {
    background: var(--ds-background-neutral) !important;
    border-color: #c1c7d0 !important;
    color: var(--ds-text) !important;
}

/* Atlassian Account Sections */
.ym-account-section {
    background: var(--ds-surface) !important;
    border: 1px solid var(--ds-border-subtle) !important;
    border-radius: 8px !important;
    padding: 20px 24px !important;
    margin-top: 20px !important;
}
.ym-account-section h2 {
    font-family: var(--ds-font) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    color: var(--ds-text-subtle) !important;
    margin: 0 0 14px !important;
}
.ym-status-list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.ym-status-list li {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--ds-border-subtle) !important;
}
.ym-status-list li:last-child { border-bottom: none !important; }
.ym-status-list li a { font-weight: 600 !important; color: var(--ds-text) !important; text-decoration: none !important; }
.ym-status-list li a:hover { color: var(--ds-text-brand) !important; text-decoration: underline !important; }
.ym-status-list li > span {
    border: none !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    background: #fffae6 !important;
    color: #172b4d !important;
    border: 1px solid #ffe380 !important;
}

/* =====================================================================
   SHADCN/UI CARD, STORY & BLOG OVERRIDES (Fixes 0-padding & 60px H1)
   ===================================================================== */
.ym-gap .ym-story,
.ym-gap .ym-panel,
.ym-gap .ym-reading-article,
.ym-story,
.ym-reading-article {
    background: #ffffff !important;
    border: 1px solid #e4e4e7 !important;
    border-top: 1px solid #e4e4e7 !important;
    border-radius: 12px !important;
    padding: clamp(22px, 3.8vw, 38px) !important;
    box-shadow: 0 1px 3px rgba(9, 9, 11, .04) !important;
    box-sizing: border-box !important;
}
.ym-gap .ym-story, .ym-story {
    width: min(100%, 840px) !important;
    margin-inline: auto !important;
}
.ym-gap .ym-story h1,
.ym-gap .ym-archive-heading h1,
.ym-gap .ym-panel h1,
.ym-gap .ym-reading-header h1,
.ym-story h1,
.ym-archive-heading h1 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif !important;
    font-size: clamp(24px, 2.7vw, 34px) !important;
    font-weight: 700 !important;
    line-height: 1.24 !important;
    letter-spacing: -.025em !important;
    color: #09090b !important;
    margin: 10px 0 16px !important;
}
.ym-gap .ym-reading-header { border-top: 0 !important; padding-top: 0 !important; }
.ym-gap .ym-blog-card, .ym-blog-card {
    background: #ffffff !important;
    border: 1px solid #e4e4e7 !important;
    border-top: 1px solid #e4e4e7 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 2px rgba(9, 9, 11, .04) !important;
}
.ym-gap .ym-blog-card-content, .ym-blog-card-content {
    padding: 18px 20px !important;
}
.ym-gap .ym-blog-card h2, .ym-blog-card h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif !important;
    font-size: 18px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
    letter-spacing: -.015em !important;
    color: #09090b !important;
    margin: 6px 0 8px !important;
}
.ym-gap .ym-blog-card p, .ym-blog-card p {
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: #52525b !important;
}
.ym-gap .ym-topics a,
.ym-gap .ym-share a,
.ym-gap .ym-tags a,
.ym-topics a,
.ym-share a,
.ym-tags a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    padding: 4px 12px !important;
    border: 1px solid #e4e4e7 !important;
    border-radius: 9999px !important;
    background: #f4f4f5 !important;
    color: #18181b !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}
.ym-gap .ym-topics a:hover, .ym-topics a:hover,
.ym-gap .ym-share a:hover, .ym-share a:hover {
    background: #e4e4e7 !important;
    text-decoration: none !important;
}
.ym-gap .ym-topics a[aria-current="page"], .ym-topics a[aria-current="page"] {
    background: #18181b !important;
    border-color: #18181b !important;
    color: #ffffff !important;
}
.ym-gap .ym-rail-section, .ym-rail-section {
    background: #ffffff !important;
    border: 1px solid #e4e4e7 !important;
    border-top: 1px solid #e4e4e7 !important;
    border-radius: 12px !important;
    padding: 16px 18px !important;
}
.ym-gap .ym-rail-section h2, .ym-rail-section h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #09090b !important;
    border-bottom: 1px solid #e4e4e7 !important;
}
.ym-gap .ym-rail-section a { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1.35 !important; }
.ym-gap .ym-rail-section img { border-radius: 6px !important; }
.ym-gap .ym-story .ym-prose, .ym-story .ym-prose {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif !important;
    font-size: 16.5px !important;
    line-height: 1.75 !important;
    color: #18181b !important;
    max-width: none !important;
}

/* =====================================================================
   SHADCN/UI COMPONENT SYSTEM + NYT EDITORIAL READING (BOTH SITES)
   Tokens: background, foreground, card, muted, border, primary, ring
   ===================================================================== */
:root {
    --background: #ffffff;
    --foreground: #09090b;
    --card: #ffffff;
    --card-foreground: #09090b;
    --muted: #f4f4f5;
    --muted-foreground: #71717a;
    --border: #e4e4e7;
    --input: #e4e4e7;
    --primary: #18181b;
    --primary-foreground: #fafafa;
    --secondary: #f4f4f5;
    --secondary-foreground: #18181b;
    --ring: #18181b;
    --radius: 0.5rem;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
    --font-serif: Georgia, "Times New Roman", Times, serif;
}

/* shadcn/ui Tabs (.ys-nav) */
.ys-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 0 0 24px !important;
    padding: 4px !important;
    background: var(--muted) !important;
    border: 1px solid var(--border) !important;
    border-radius: calc(var(--radius) + 2px) !important;
    box-shadow: none !important;
}
.ys-nav-tabs { display: flex !important; align-items: center !important; flex-wrap: wrap !important; gap: 2px !important; margin: 0 !important; }
.ys-nav-tabs a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 32px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: calc(var(--radius) - 2px) !important;
    font-family: var(--font-sans) !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: var(--muted-foreground) !important;
    background: transparent !important;
    text-decoration: none !important;
    transition: all .15s ease !important;
}
.ys-nav-tabs a:hover { color: var(--foreground) !important; background: rgba(255,255,255,.55) !important; }
.ys-nav-tabs a[aria-current="page"] {
    background: var(--card) !important;
    color: var(--foreground) !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 2px rgba(9, 9, 11, .08) !important;
}
.ys-nav-cta .ys-nav-action {
    display: inline-flex !important; align-items: center !important; height: 32px !important;
    padding: 0 12px !important; border-radius: calc(var(--radius) - 2px) !important;
    border: 1px solid var(--border) !important; background: var(--card) !important;
    color: var(--foreground) !important; font-family: var(--font-sans) !important;
    font-size: 13px !important; font-weight: 500 !important; text-decoration: none !important;
}
.ys-nav-cta .ys-nav-action:hover { background: #fafafa !important; }

/* shadcn/ui Button */
.ym-shell .ym-button, .ym-button, .ys-form button:not(.ys-like-btn), .ys-search-bar button {
    display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 6px !important;
    height: 36px !important; min-height: 36px !important; padding: 0 16px !important;
    border-radius: calc(var(--radius) - 2px) !important;
    border: 1px solid var(--primary) !important;
    background: var(--primary) !important; color: var(--primary-foreground) !important;
    font-family: var(--font-sans) !important; font-size: 13.5px !important; font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(9, 9, 11, .06) !important;
    cursor: pointer !important; text-decoration: none !important; transition: background .12s ease !important;
}
.ym-shell .ym-button:hover, .ym-button:hover, .ys-form button:not(.ys-like-btn):hover {
    background: #27272a !important; border-color: #27272a !important; color: #fff !important;
}
.ym-shell .ym-secondary, .ym-secondary {
    background: var(--card) !important; color: var(--foreground) !important; border: 1px solid var(--border) !important;
}
.ym-shell .ym-secondary:hover, .ym-secondary:hover { background: var(--muted) !important; color: var(--foreground) !important; }

/* shadcn/ui Badge */
.ym-topics a, .ym-tags a, .ym-share a, .ys-badge, .ys-kind-pill {
    display: inline-flex !important; align-items: center !important; height: 26px !important; min-height: 26px !important;
    padding: 0 10px !important; border-radius: 6px !important;
    border: 1px solid var(--border) !important; background: var(--secondary) !important;
    color: var(--secondary-foreground) !important;
    font-family: var(--font-sans) !important; font-size: 12px !important; font-weight: 500 !important;
    text-decoration: none !important; transition: background .12s ease !important;
}
.ym-topics a:hover, .ym-tags a:hover, .ym-share a:hover { background: #e4e4e7 !important; }
.ym-topics a[aria-current="page"] {
    background: var(--primary) !important; border-color: var(--primary) !important; color: var(--primary-foreground) !important;
}

/* shadcn/ui Card (Story, Article, Blog Card, Dictionary Agenda/Entry/Compose, Rail) */
.ym-story, .ym-reading-article, .ym-blog-card, .ys-agenda, .ys-dict-head, .ys-entry, .ys-compose, .ym-rail-section {
    background: var(--card) !important;
    border: 1px solid var(--border) !important;
    border-top: 1px solid var(--border) !important;
    border-radius: calc(var(--radius) + 2px) !important;
    box-shadow: 0 1px 2px rgba(9, 9, 11, .04) !important;
}
.ym-story, .ym-reading-article { padding: clamp(22px, 3.6vw, 38px) !important; }
.ym-blog-card-content { padding: 18px 20px !important; }
.ys-entry { padding: 18px 20px 14px !important; }
.ys-compose { padding: 20px !important; }
.ym-rail-section { padding: 16px 18px !important; }

/* NYT Editorial Reading Typography inside shadcn Cards */
.ym-reading-header h1, .ym-story h1, .ym-archive-heading h1, .ys-dict-head h1 {
    font-family: var(--font-serif) !important;
    font-size: clamp(24px, 2.8vw, 36px) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -.015em !important;
    color: var(--foreground) !important;
}
.ym-reading-body, .ym-story .ym-prose {
    font-family: var(--font-serif) !important;
    font-size: 17.5px !important;
    line-height: 1.76 !important;
    color: #18181b !important;
}
.ym-blog-card h2 {
    font-family: var(--font-serif) !important;
    font-size: 18.5px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: var(--foreground) !important;
}

/* shadcn/ui Input & Textarea */
.ys-form input:not([type=checkbox]):not([type=hidden]), .ys-form textarea,
.ys-agenda-input, .ys-search-bar input {
    border: 1px solid var(--input) !important;
    border-radius: calc(var(--radius) - 2px) !important;
    background: var(--background) !important;
    color: var(--foreground) !important;
    font-family: var(--font-sans) !important;
    font-size: 14px !important;
    box-shadow: 0 1px 2px rgba(9, 9, 11, .03) !important;
    transition: border-color .12s ease, box-shadow .12s ease !important;
}
.ys-form input:focus, .ys-form textarea:focus, .ys-agenda-input:focus, .ys-search-bar input:focus {
    border-color: var(--ring) !important;
    box-shadow: 0 0 0 2px rgba(24, 24, 27, .12) !important;
    outline: none !important;
}

/* shadcn/ui Pagination (Homepage, Blog, Dictionary, Categories) */
.nyt-pagination, .ym-pagination .nav-links, .navigation.pagination .nav-links {
    display: flex !important; align-items: center !important; justify-content: center !important;
    flex-wrap: wrap !important; gap: 4px !important;
    margin: 28px 0 8px !important; padding-top: 20px !important;
    border-top: 1px solid var(--border) !important;
    font-family: var(--font-sans) !important;
}
.nyt-page, .ym-pagination .page-numbers, .navigation.pagination .page-numbers {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    min-width: 36px !important; height: 36px !important; padding: 0 12px !important;
    border: 1px solid transparent !important; border-radius: calc(var(--radius) - 2px) !important;
    background: transparent !important; color: var(--foreground) !important;
    font-size: 13.5px !important; font-weight: 500 !important; text-decoration: none !important;
    transition: background .12s ease, border-color .12s ease !important;
}
.nyt-page:hover, .ym-pagination .page-numbers:hover, .navigation.pagination .page-numbers:hover {
    background: var(--muted) !important; border-color: transparent !important; text-decoration: none !important;
}
.nyt-page.current, .ym-pagination .page-numbers.current, .navigation.pagination .page-numbers.current {
    background: var(--card) !important; border-color: var(--border) !important;
    color: var(--foreground) !important; font-weight: 600 !important;
    box-shadow: 0 1px 2px rgba(9, 9, 11, .05) !important;
}

/* =====================================================================
   SHADCN/UI COMMENT SECTION & FORM OVERRIDE (Fixes raw textarea/submit)
   ===================================================================== */
#comments, .comments-area, #respond, .comment-respond {
    background: #ffffff !important;
    border: 1px solid #e4e4e7 !important;
    border-radius: 12px !important;
    padding: clamp(20px, 3vw, 28px) !important;
    margin: 24px auto !important;
    box-shadow: 0 1px 2px rgba(9, 9, 11, .04) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif !important;
}
#comments #respond, .comments-area #respond {
    border: 0 !important; box-shadow: none !important; padding: 16px 0 0 !important; margin: 16px 0 0 !important;
    border-top: 1px solid #e4e4e7 !important; border-radius: 0 !important;
}
.comments-title, #reply-title, .comment-reply-title {
    font-family: Georgia, "Times New Roman", Times, serif !important;
    font-size: 20px !important; font-weight: 700 !important; color: #09090b !important;
    margin: 0 0 14px !important; line-height: 1.3 !important;
}
#commentform, .comment-form {
    display: flex !important; flex-direction: column !important; gap: 14px !important;
    width: 100% !important;
}
#commentform p, .comment-form p { margin: 0 !important; width: 100% !important; }
#commentform label, .comment-form label {
    display: block !important; font-size: 13px !important; font-weight: 600 !important;
    color: #18181b !important; margin-bottom: 6px !important;
}
#commentform textarea, .comment-form textarea, textarea#comment {
    display: block !important; width: 100% !important; min-height: 120px !important;
    padding: 12px 14px !important; box-sizing: border-box !important;
    background: #ffffff !important; color: #09090b !important;
    border: 1px solid #e4e4e7 !important; border-radius: 8px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif !important;
    font-size: 14.5px !important; line-height: 1.55 !important; resize: vertical !important;
    box-shadow: 0 1px 2px rgba(9, 9, 11, .03) !important;
}
#commentform textarea:focus, .comment-form textarea:focus, textarea#comment:focus,
#commentform input[type="text"]:focus, #commentform input[type="email"]:focus, #commentform input[type="url"]:focus {
    outline: none !important; border-color: #18181b !important;
    box-shadow: 0 0 0 2px rgba(24, 24, 27, .12) !important;
}
#commentform input[type="text"], #commentform input[type="email"], #commentform input[type="url"],
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] {
    display: block !important; width: 100% !important; height: 40px !important;
    padding: 0 12px !important; box-sizing: border-box !important;
    background: #ffffff !important; color: #09090b !important;
    border: 1px solid #e4e4e7 !important; border-radius: 8px !important;
    font-size: 14px !important;
}
#commentform input[type="submit"], #commentform button[type="submit"], #submit,
.comment-form input[type="submit"], .comment-form button[type="submit"] {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    height: 40px !important; padding: 0 22px !important; width: auto !important; align-self: flex-start !important;
    background: #18181b !important; color: #fafafa !important;
    border: 1px solid #18181b !important; border-radius: 8px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif !important;
    font-size: 13.5px !important; font-weight: 600 !important; letter-spacing: .01em !important;
    cursor: pointer !important; box-shadow: 0 1px 2px rgba(9, 9, 11, .08) !important;
    transition: background .12s ease !important;
}
#commentform input[type="submit"]:hover, #commentform button[type="submit"]:hover, #submit:hover,
.comment-form input[type="submit"]:hover, .comment-form button[type="submit"]:hover {
    background: #27272a !important; color: #ffffff !important;
}
.comment-list { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid !important; gap: 12px !important; }
.comment-list .comment-body {
    padding: 14px 16px !important; border: 1px solid #e4e4e7 !important;
    border-radius: 10px !important; background: #fafafa !important;
}
.comment-list .comment-author { font-weight: 600 !important; color: #09090b !important; font-size: 14px !important; }
.comment-list .comment-metadata { font-size: 12px !important; color: #71717a !important; margin-bottom: 6px !important; }
.comment-list .comment-content p { font-size: 14.5px !important; line-height: 1.6 !important; color: #18181b !important; margin: 0 !important; }
