:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --text: #14213d;
    --muted: #64748b;
    --primary: #ef4444;
    --primary-dark: #b91c1c;
    --accent: #0f766e;
    --border: #e2e8f0;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }

:root {
    --site-max-width: 1360px;
    --site-gutter: 56px;
}
.container { width: min(var(--site-max-width), calc(100% - var(--site-gutter))); margin: 0 auto; }
.narrow { width: min(var(--site-max-width), calc(100% - var(--site-gutter))); }

body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 800; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text strong { font-size: 20px; }
.logo-text small { color: var(--muted); }

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.site-header .site-logo--header {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0;
}
.site-header .site-logo-image {
    display: block;
    width: min(100%, 340px);
    height: auto;
}

.menu-toggle { display: none; border: 0; background: var(--text); color: #fff; border-radius: 10px; padding: 10px 12px; font-size: 20px; cursor: pointer; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; flex: 1; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; align-items: center; gap: 22px; }
.site-nav li { position: relative; }
.site-nav a { display: block; color: #0f172a; text-decoration: none; font-size: 15px; font-weight: 700; line-height: 1.3; padding: 14px 0; white-space: nowrap; }
.site-nav a:hover { color: var(--primary); }
.site-nav ul ul { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14); padding: 10px; z-index: 9999; }
.site-nav li:hover > ul, .site-nav li:focus-within > ul { display: block; }
.site-nav ul ul a { padding: 11px 14px; font-size: 14px; font-weight: 600; color: #1e293b; border-radius: 10px; white-space: normal; }
.site-nav ul ul a:hover { background: #f1f5f9; color: var(--primary); }

.hero { background: radial-gradient(circle at 15% 25%, rgba(239, 68, 68, .14), transparent 25%), linear-gradient(135deg, #0f172a, #1e293b); color: #fff; padding: 92px 0; }
.hero-content { max-width: 760px; }
.eyebrow { display: inline-flex; margin-bottom: 16px; color: #fecaca; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
.hero h1 { margin: 0 0 18px; font-size: clamp(34px, 6vw, 60px); line-height: 1.05; }
.hero p { margin: 0 0 28px; color: #cbd5e1; font-size: 19px; max-width: 680px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; padding: 13px 20px; font-weight: 800; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--text); }

.quick-links, .page-section, .single-section, .not-found-section { padding: 62px 0; }
.section-heading { margin-bottom: 28px; }
.section-heading h1, .section-heading h2 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }
.section-heading p { margin: 0; color: var(--muted); }
.quick-grid, .content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quick-grid-4 { grid-template-columns: repeat(4, 1fr); }
.quick-card, .post-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); }
.quick-card { padding: 24px; display: flex; flex-direction: column; gap: 7px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.quick-card:hover { transform: translateY(-5px); border-color: rgba(239, 68, 68, .35); box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12); color: var(--text); }
.quick-card span { width: 52px; height: 52px; display: grid; place-items: center; background: #f8fafc; border-radius: 16px; margin-bottom: 8px; font-size: 30px; }
.quick-card strong { font-size: 19px; }
.quick-card small, .post-card p { color: var(--muted); }
.post-card { overflow: hidden; }
.post-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { padding: 20px; }
.post-meta { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.post-card h2 { font-size: 21px; line-height: 1.25; margin: 0 0 10px; }
.post-card p { margin: 0 0 16px; }
.read-more { color: var(--primary); font-weight: 800; }
.latest-section { background: #fff; }

.single-section { padding: 56px 0; }
.single-section .container, .single-section .container.narrow { width: min(var(--site-max-width), calc(100% - var(--site-gutter))); max-width: var(--site-max-width); }
.single-content { max-width: 1320px; width: 100%; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 26px; padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow); }
.single-header { max-width: 820px; margin-bottom: 28px; }
.single-header h1 { margin: 0 0 18px; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; }
.single-thumb { margin: 0 0 28px; border-radius: 18px; overflow: hidden; }
.entry-content { display: block !important; width: 100% !important; max-width: 100%; clear: both !important; font-size: 18px; line-height: 1.85; color: #1e293b; }
.entry-content > * { max-width: 100% !important; }
.entry-content p, .entry-content section, .entry-content article { float: none !important; clear: both !important; width: auto !important; max-width: 100% !important; min-width: 0 !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; text-indent: 0 !important; text-align: left !important; }
.entry-content p { margin: 0 0 22px !important; }
.entry-content h2, .entry-content h3 { line-height: 1.25; margin-top: 32px; }
.entry-content img { float: none !important; display: block !important; max-width: 100% !important; height: auto !important; margin: 26px 0 !important; }
.entry-content table { width: 100% !important; max-width: 100% !important; display: block; overflow-x: auto; }
.entry-content a { color: #ef4444; text-decoration: none; border-bottom: 1px solid rgba(239, 68, 68, .35); }
.entry-content a:hover { color: #b91c1c; border-bottom-color: #b91c1c; }
.entry-content a.md-button-link { display: inline-flex !important; align-items: center; justify-content: center; background: #ef4444 !important; color: #fff !important; border: 0 !important; border-radius: 12px; padding: 12px 18px; font-weight: 800; line-height: 1.3; text-decoration: none !important; box-shadow: 0 12px 28px rgba(239, 68, 68, .22); margin: 8px 0; }
.entry-content a.md-button-link:hover { background: #b91c1c !important; color: #fff !important; }

/* Motor Dersi özel quiz sistemi */
.entry-content .md-quiz { max-width: 100% !important; width: 100% !important; margin: 32px 0 !important; }
.entry-content .md-quiz, .entry-content .md-quiz * { box-sizing: border-box; }
.entry-content .md-quiz-head { background: #f8fafc !important; border: 1px solid #e2e8f0 !important; border-radius: 18px !important; padding: 22px !important; margin: 0 0 24px !important; width: 100% !important; }
.entry-content .md-quiz-head h2 { margin: 0 0 8px !important; font-size: 28px !important; line-height: 1.2 !important; color: #0f172a !important; }
.entry-content .md-quiz-head p { margin: 0 0 14px !important; color: #64748b !important; }
.entry-content .md-quiz-score { display: inline-flex !important; gap: 6px; align-items: center; background: #fff; border: 1px solid #e2e8f0; border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.entry-content .md-quiz-question { background: #fff !important; border: 1px solid #e2e8f0 !important; border-radius: 16px !important; padding: 20px !important; margin: 0 0 18px !important; box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045) !important; width: 100% !important; }
.entry-content .md-question-number { display: inline-flex !important; background: #fee2e2 !important; color: #b91c1c !important; border-radius: 999px !important; padding: 4px 10px !important; font-weight: 800 !important; font-size: 12px !important; margin-bottom: 9px !important; }
.entry-content .md-question-top h3 { margin: 0 0 14px !important; font-size: 14px !important; line-height: 1.48 !important; color: #0f172a !important; font-weight: 500 !important; font-style: normal !important; letter-spacing: 0 !important; }
.entry-content .md-question-image { margin: 18px 0 !important; }
.entry-content .md-question-image img { width: 100% !important; max-width: 760px !important; height: auto !important; border-radius: 14px !important; border: 1px solid #e2e8f0 !important; margin: 0 !important; }
.entry-content .md-answer-list { display: grid !important; gap: 8px !important; margin-top: 14px !important; width: 100% !important; }
.entry-content button.md-answer { appearance: none !important; -webkit-appearance: none !important; display: flex !important; align-items: center !important; gap: 10px !important; width: 100% !important; min-height: 46px !important; border: 1px solid #e2e8f0 !important; background: #f8fafc !important; color: #0f172a !important; border-radius: 12px !important; padding: 9px 11px !important; cursor: pointer !important; text-align: left !important; transition: .18s ease !important; font: inherit !important; }
.entry-content button.md-answer:hover { background: #fff7ed !important; border-color: #fed7aa !important; }
.entry-content .md-answer-letter { width: 30px !important; height: 30px !important; flex: 0 0 30px !important; display: grid !important; place-items: center !important; border-radius: 9px !important; background: #fff !important; border: 1px solid #e2e8f0 !important; font-weight: 850 !important; font-size: 14px !important; color: #ef4444 !important; }
.entry-content .md-answer-text { font-size: 14px !important; line-height: 1.38 !important; font-weight: 500 !important; }
.entry-content button.md-answer.is-correct { background: #dcfce7 !important; border-color: #22c55e !important; }
.entry-content button.md-answer.is-correct .md-answer-letter { background: #22c55e !important; border-color: #22c55e !important; color: #fff !important; }
.entry-content button.md-answer.is-wrong { background: #fee2e2 !important; border-color: #ef4444 !important; }
.entry-content button.md-answer.is-wrong .md-answer-letter { background: #ef4444 !important; border-color: #ef4444 !important; color: #fff !important; }
.entry-content button.md-answer.is-disabled { pointer-events: none !important; }
.entry-content .md-explanation { display: none !important; background: #ecfdf5 !important; border: 1px solid #22c55e !important; color: #14532d !important; border-radius: 14px !important; padding: 16px !important; margin-top: 16px !important; line-height: 1.6 !important; }
.entry-content .md-explanation.is-visible { display: block !important; }
.entry-content .md-quiz-alert { background: #fff7ed !important; border: 1px solid #fed7aa !important; color: #9a3412 !important; border-radius: 14px !important; padding: 16px !important; margin: 20px 0 !important; }

.not-found-box { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: 48px; box-shadow: var(--shadow); }
.site-footer { background: #0f172a; color: #fff; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; padding: 38px 0; }
.footer-about p { color: #cbd5e1; margin: 8px 0 0; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; flex-wrap: wrap; }
.footer-nav a { color: #e2e8f0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); color: #cbd5e1; padding: 16px 0; font-size: 14px; }

@media (max-width: 900px) {
    .header-inner { flex-wrap: wrap; }
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
    .site-nav { display: none; width: 100%; flex: unset; position: static; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 14px 16px; margin-bottom: 14px; }
    .site-nav.is-open { display: block; }
    .site-nav > ul { display: block; }
    .site-nav a { padding: 12px 0; white-space: normal; }
    .site-nav ul ul { position: static; display: block; min-width: 0; box-shadow: none; border: none; background: #f8fafc; margin: 4px 0 8px 12px; padding: 8px 12px; }
    .quick-grid, .quick-grid-4, .content-grid { grid-template-columns: 1fr 1fr; }
    .footer-inner { flex-direction: column; }
}
@media (max-width: 620px) {
    .quick-grid, .quick-grid-4, .content-grid { grid-template-columns: 1fr; }
    .hero { padding: 62px 0; }
    .logo-text small { display: none; }
    .single-content { border-radius: 18px; padding: 22px; }
    .entry-content .md-quiz-question { padding: 16px !important; }
    .entry-content .md-question-top h3 { font-size: 15.5px !important; line-height: 1.62 !important; }
    .entry-content button.md-answer { align-items: flex-start !important; }
}

/* Ana sayfa - görsele daha yakın revize tasarım */
.md-home-v2 {
    background: #f7f9fc;
    color: #081936;
    overflow: hidden;
}
.md-home-container {
    width: min(var(--site-max-width), calc(100% - var(--site-gutter)));
    margin: 0 auto;
}
body.home .site-header {
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid #e8eef6;
    box-shadow: 0 8px 25px rgba(15,23,42,.035);
}
body.home .header-inner {
    min-height: 86px;
}
body.home .logo-mark {
    width: 56px;
    height: 56px;
    border-radius: 15px;
    font-size: 20px;
}
body.home .logo-text strong {
    font-size: 26px;
    letter-spacing: -.04em;
}
body.home .site-nav > ul {
    gap: 34px;
}
body.home .site-nav a {
    font-size: 16px;
}
body.home .site-nav .current-menu-item > a,
body.home .site-nav .current_page_item > a,
body.home .site-nav a:hover {
    color: #ef3838;
}
.md-hero-v2 {
    position: relative;
    padding: 66px 0 34px;
    background:
        linear-gradient(90deg, rgba(255,244,244,.88), rgba(247,250,255,.94)),
        url('../images/hero-pattern.svg');
    background-size: cover, 900px 520px;
    background-position: center, center;
    min-height: 560px;
    display: flex;
    align-items: center;
}
.md-hero-grid-v2 {
    display: grid;
    grid-template-columns: minmax(330px, .95fr) minmax(340px, .95fr) minmax(290px, .62fr);
    gap: 34px;
    align-items: center;
}
.md-hero-copy-v2 {
    position: relative;
    z-index: 2;
}
.md-hero-eyebrow-v2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(239,56,56,.28);
    background: rgba(255,255,255,.82);
    color: #ef3838;
    border-radius: 999px;
    padding: 8px 18px;
    margin-bottom: 26px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.md-hero-eyebrow-v2:before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef3838;
    box-shadow: 0 0 0 5px rgba(239,56,56,.10);
}
.md-hero-copy-v2 h1 {
    margin: 0 0 18px;
    color: #071632;
    font-size: clamp(72px, 7.2vw, 116px);
    line-height: .82;
    letter-spacing: -.075em;
    font-weight: 950;
}
.md-hero-copy-v2 p {
    max-width: 480px;
    margin: 0 0 30px;
    font-size: 20px;
    line-height: 1.55;
    color: #3f516c;
    font-weight: 650;
}
.md-hero-actions-v2 {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
.md-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    border-radius: 12px;
    padding: 0 28px;
    font-weight: 900;
    font-size: 16px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    border: 1px solid transparent;
}
.md-home-btn:hover {
    transform: translateY(-2px);
}
.md-home-btn-primary {
    color: #fff !important;
    background: linear-gradient(135deg, #f43f46, #e51f27);
    box-shadow: 0 18px 35px rgba(239,56,56,.22);
}
.md-home-btn-primary:hover {
    color: #fff !important;
    background: linear-gradient(135deg, #e51f27, #c91820);
}
.md-home-btn-outline {
    background: #fff;
    color: #ef3838 !important;
    border-color: #ef3838;
    box-shadow: 0 14px 30px rgba(15,23,42,.04);
}
.md-hero-art-v2 {
    min-height: 310px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.md-hero-art-v2:before,
.md-hero-art-v2:after {
    content: '';
    position: absolute;
    border: 2px solid rgba(186,199,217,.55);
    border-radius: 42px;
    transform: rotate(-7deg);
}
.md-hero-art-v2:before {
    width: 290px;
    height: 150px;
    top: 20px;
    left: 20px;
}
.md-hero-art-v2:after {
    width: 230px;
    height: 125px;
    right: 18px;
    bottom: 28px;
    transform: rotate(10deg);
}
.md-hero-art-v2 img {
    width: min(100%, 470px);
    max-height: 330px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 24px 30px rgba(15,23,42,.22));
}
.md-hero-stats-v2 {
    background: rgba(255,255,255,.94);
    border: 1px solid #dbe5f1;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(15,23,42,.10);
    overflow: hidden;
    max-width: 330px;
    justify-self: end;
    width: 100%;
}
.md-stat-row-v2 {
    display: grid;
    grid-template-columns: 58px 1fr;
    column-gap: 16px;
    align-items: center;
    padding: 22px 26px;
    border-bottom: 1px solid #e6edf5;
}
.md-stat-row-v2:last-child {
    border-bottom: 0;
}
.md-stat-icon-v2 {
    grid-row: span 2;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: #ffe2e2;
    color: #ef3838;
    font-size: 23px;
    font-weight: 900;
}
.md-stat-row-v2 strong {
    display: block;
    color: #071632;
    font-size: 27px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.04em;
}
.md-stat-row-v2 small {
    color: #10213d;
    font-weight: 800;
    margin-top: 4px;
}
.md-quick-v2 {
    margin-top: -6px;
    padding: 16px 0 44px;
}
.md-quick-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.md-quick-card-v2 {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 18px;
    align-items: center;
    min-height: 118px;
    background: #fff;
    border: 1px solid #dfe7f1;
    border-radius: 15px;
    padding: 22px 20px;
    box-shadow: 0 18px 45px rgba(15,23,42,.06);
    color: #071632;
}
.md-quick-card-v2:hover {
    color: #071632;
    transform: translateY(-3px);
    box-shadow: 0 22px 55px rgba(15,23,42,.10);
    border-color: rgba(239,56,56,.26);
}
.md-quick-icon-v2 {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff0f0;
    color: #ef3838;
    font-size: 24px;
    font-weight: 900;
}
.md-quick-card-v2 h3 {
    margin: 0 0 7px;
    font-size: 19px;
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -.025em;
}
.md-quick-card-v2 p {
    margin: 0 0 10px;
    color: #556985;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 650;
}
.md-quick-card-v2 em {
    color: #ef3838;
    font-style: normal;
    font-size: 13px;
    font-weight: 900;
}
.md-featured-v2,
.md-latest-quiz-v2,
.md-cta-v2 {
    padding: 16px 0 34px;
}
.md-section-top-v2 {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 18px;
}
.md-section-top-v2 h2 {
    margin: 0 0 5px;
    color: #071632;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -.045em;
    font-weight: 950;
}
.md-section-top-v2 p {
    margin: 0;
    color: #64748b;
    font-size: 16px;
    font-weight: 700;
}
.md-section-top-v2 > a {
    color: #ef3838;
    font-weight: 900;
    white-space: nowrap;
}
.md-feature-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.md-feature-card-v2 {
    background: #fff;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 48% 52%;
    min-height: 210px;
    box-shadow: 0 18px 45px rgba(15,23,42,.07);
}
.md-feature-image-v2 {
    min-height: 100%;
    background: linear-gradient(135deg, #0f172a, #334155);
    display: block;
    position: relative;
    overflow: hidden;
}
.md-feature-image-v2 img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    transition: transform .25s ease;
}
.md-feature-card-v2:hover .md-feature-image-v2 img {
    transform: scale(1.04);
}
.md-feature-image-v2 span {
    height: 100%;
    min-height: 210px;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.68);
    font-weight: 900;
}
.md-feature-body-v2 {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.md-badge-v2 {
    align-self: flex-start;
    display: inline-flex;
    border-radius: 999px;
    background: #ffe1e1;
    color: #e12d35;
    padding: 5px 11px;
    font-size: 11px;
    font-weight: 950;
    margin-bottom: 12px;
}
.md-feature-body-v2 h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 950;
    color: #071632;
}
.md-feature-body-v2 p {
    margin: 0 0 18px;
    color: #52647f;
    font-size: 14px;
    line-height: 1.52;
    font-weight: 650;
}
.md-read-btn-v2 {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #ef3838;
    color: #fff !important;
    border-radius: 9px;
    padding: 10px 17px;
    font-size: 13px;
    font-weight: 900;
}
.md-section-compact-v2 {
    margin-top: 10px;
}
.md-exam-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.md-exam-card-v2 {
    display: grid;
    grid-template-columns: 58px 1fr 20px;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #dfe7f1;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 14px 35px rgba(15,23,42,.055);
    color: #071632;
}
.md-exam-card-v2:hover {
    color: #071632;
    border-color: rgba(239,56,56,.26);
    transform: translateY(-2px);
}
.md-exam-icon-v2 {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff0f0;
    color: #f05c35;
    font-size: 23px;
    font-weight: 950;
}
.md-exam-card-v2 strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 950;
    font-size: 16px;
    line-height: 1.2;
}
.md-exam-card-v2 small {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}
.md-exam-card-v2 small b {
    display: inline-flex;
    border-radius: 999px;
    background: #eef2f7;
    color: #53647c;
    padding: 3px 9px;
    font-size: 11px;
    line-height: 1;
}
.md-exam-card-v2 small b:last-child {
    color: #15803d;
    background: #dcfce7;
}
.md-exam-card-v2 i {
    font-style: normal;
    font-size: 28px;
    color: #071632;
}
.md-cta-box-v2 {
    display: grid;
    grid-template-columns: 76px 1fr auto;
    align-items: center;
    gap: 28px;
    background: linear-gradient(90deg, #fff0f0, #fff8f8);
    border: 1px solid #ffd4d4;
    border-radius: 20px;
    padding: 28px 34px;
    box-shadow: 0 20px 48px rgba(239,56,56,.08);
}
.md-cta-icon-v2 {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    background: #fff;
    border-radius: 50%;
    font-size: 29px;
}
.md-cta-box-v2 h2 {
    margin: 0 0 4px;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -.035em;
    color: #071632;
}
.md-cta-box-v2 p {
    margin: 0;
    color: #3f516c;
    font-weight: 700;
}
@media (max-width: 1200px) {
    .md-hero-grid-v2 { grid-template-columns: 1fr 1fr; }
    .md-hero-stats-v2 { grid-column: 1 / -1; justify-self: stretch; max-width: none; display: grid; grid-template-columns: repeat(3, 1fr); }
    .md-stat-row-v2 { border-bottom: 0; border-right: 1px solid #e6edf5; }
    .md-stat-row-v2:last-child { border-right: 0; }
    .md-quick-grid-v2, .md-exam-grid-v2 { grid-template-columns: repeat(2, 1fr); }
    .md-feature-grid-v2 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .md-home-container { width: min(100% - 28px, 1360px); }
    .md-hero-v2 { padding: 42px 0 30px; min-height: auto; }
    .md-hero-grid-v2 { grid-template-columns: 1fr; gap: 22px; }
    .md-hero-copy-v2 h1 { font-size: clamp(58px, 18vw, 82px); }
    .md-hero-copy-v2 p { font-size: 17px; }
    .md-hero-art-v2 { min-height: 210px; order: 2; }
    .md-hero-stats-v2 { order: 3; grid-template-columns: 1fr; }
    .md-stat-row-v2 { border-right: 0; border-bottom: 1px solid #e6edf5; }
    .md-quick-grid-v2, .md-exam-grid-v2 { grid-template-columns: 1fr; }
    .md-feature-card-v2 { grid-template-columns: 1fr; }
    .md-feature-image-v2 img, .md-feature-image-v2 span { min-height: 190px; }
    .md-section-top-v2 { align-items: flex-start; flex-direction: column; }
    .md-cta-box-v2 { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}


/* Ana sayfa revizyon - başlık, son sınav kartları ve footer düzeltmeleri */
.md-hero-v2 {
    min-height: 430px;
    padding: 54px 0 46px;
}
.md-hero-grid-v2 {
    grid-template-columns: minmax(360px, .9fr) minmax(360px, 1fr) minmax(300px, .62fr);
    gap: 28px;
}
.md-hero-eyebrow-v2 {
    margin-bottom: 20px;
    padding: 7px 16px;
    font-size: 11px;
}
.md-hero-copy-v2 h1 {
    font-size: clamp(46px, 4.7vw, 72px);
    line-height: 1.02;
    letter-spacing: -.055em;
    margin-bottom: 14px;
    white-space: nowrap;
}
.md-hero-copy-v2 p {
    max-width: 520px;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 650;
    margin-bottom: 24px;
}
.md-home-btn {
    min-height: 50px;
    padding: 0 24px;
    font-size: 14px;
    border-radius: 11px;
}
.md-hero-art-v2 {
    min-height: 260px;
}
.md-hero-art-v2 img {
    width: min(100%, 430px);
    max-height: 285px;
}
.md-hero-stats-v2 {
    max-width: 300px;
}
.md-stat-row-v2 {
    padding: 18px 22px;
    grid-template-columns: 52px 1fr;
    column-gap: 14px;
}
.md-stat-icon-v2 {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 20px;
}
.md-stat-row-v2 strong {
    font-size: 24px;
}
.md-latest-quiz-v2 {
    padding-top: 22px;
}
.md-exam-grid-v2 {
    align-items: stretch;
}
.md-exam-card-v2 {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 22px;
    grid-template-rows: auto auto;
    grid-template-areas:
        "icon title arrow"
        "icon meta arrow";
    min-height: 92px;
    padding: 18px 20px;
    gap: 6px 16px;
    overflow: hidden;
}
.md-exam-icon-v2 {
    grid-area: icon;
    align-self: center;
    width: 52px;
    height: 52px;
    font-size: 22px;
}
.md-exam-card-v2 strong {
    grid-area: title;
    align-self: end;
    min-width: 0;
    display: block;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.md-exam-card-v2 small {
    grid-area: meta;
    align-self: start;
    display: flex;
    gap: 7px;
    margin: 0;
    min-width: 0;
    overflow: hidden;
}
.md-exam-card-v2 small b {
    flex: 0 0 auto;
    padding: 4px 9px;
    font-size: 11px;
    max-width: 100%;
}
.md-exam-card-v2 i {
    grid-area: arrow;
    align-self: center;
    justify-self: end;
    font-size: 24px;
    line-height: 1;
}
.md-site-footer {
    margin-top: 0;
    background: linear-gradient(135deg, #0f172a, #111827);
}
.md-footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.25fr) 1fr 1fr 1fr;
    gap: 44px;
    padding: 40px 0;
}
.md-site-footer .site-logo {
    color: #fff;
    margin-bottom: 12px;
}
.md-site-footer .logo-text strong { color: #fff; }
.md-site-footer .logo-text small,
.md-footer-brand p,
.md-footer-col li,
.md-footer-col a,
.md-footer-bottom {
    color: #cbd5e1;
}
.md-footer-brand p {
    margin: 12px 0 18px;
    max-width: 320px;
}
.md-footer-social {
    display: flex;
    gap: 9px;
}
.md-footer-social span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.07);
    font-size: 12px;
    font-weight: 900;
}
.md-footer-col h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 16px;
}
.md-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}
.md-footer-col a:hover { color: #fff; }
.md-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 16px 0;
}
.md-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    flex-wrap: wrap;
}
.md-footer-bottom a { color: #cbd5e1; }
.md-footer-bottom a:hover { color: #fff; }
@media (max-width: 1200px) {
    .md-hero-copy-v2 h1 { white-space: normal; }
    .md-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .md-hero-v2 { min-height: auto; padding: 36px 0 28px; }
    .md-hero-copy-v2 h1 { font-size: clamp(40px, 13vw, 58px); white-space: normal; }
    .md-hero-copy-v2 p { font-size: 15px; }
    .md-exam-card-v2 { min-height: 86px; }
    .md-footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .md-footer-bottom-inner { align-items: flex-start; flex-direction: column; }
}


/* Site genislik esitleme - header, ana sayfa, icerik ve footer ayni hat */
.site-header .container,
.site-footer .container,
.md-home-container,
.page-section .container,
.quick-links .container,
.latest-section .container,
.single-section .container,
.not-found-section .container {
    width: min(var(--site-max-width), calc(100% - var(--site-gutter)));
    max-width: var(--site-max-width);
}
body.home .header-inner,
.header-inner {
    width: min(var(--site-max-width), calc(100% - var(--site-gutter)));
    max-width: var(--site-max-width);
}
.site-header .header-inner {
    padding-left: 0;
    padding-right: 0;
}
.site-footer .md-footer-grid,
.site-footer .md-footer-bottom-inner {
    width: min(var(--site-max-width), calc(100% - var(--site-gutter)));
    max-width: var(--site-max-width);
}
@media (max-width: 760px) {
    :root { --site-gutter: 28px; }
}


/* Quiz soru kartları: ana stil quiz-render.php içindeki temiz CSS tarafından yönetiliyor.
   Burada sadece eski çakışan genel kurallar kaldırıldı. */

/* Modern kategori/arşiv kartları ve standart sayfalama */
.md-archive-section {
    padding: 10px 0 70px;
    background:
        radial-gradient(circle at 12% 12%, rgba(239, 68, 68, .07), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%);
}
.md-archive-heading {
    position: relative;
    margin-bottom: 26px;
    padding: 22px 26px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(226,232,240,.9);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .055);
    overflow: hidden;
}

body.blog .md-archive-heading {
    display: none !important;
}
.md-archive-heading:before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, #ef4444, #f59e0b);
}
.md-archive-heading h1 {
    margin-bottom: 7px;
    font-size: clamp(30px, 3.2vw, 44px);
    letter-spacing: -.04em;
    color: #071632;
}
.md-archive-heading p {
    max-width: 980px;
    font-size: 15px;
    line-height: 1.65;
    color: #52627a;
}
.md-modern-content-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}
.md-modern-post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(203,213,225,.78);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .075);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.md-modern-post-card:hover {
    transform: translateY(-6px);
    border-color: rgba(239,68,68,.38);
    box-shadow: 0 26px 60px rgba(15, 23, 42, .13);
}
.md-modern-post-thumb {
    position: relative;
    display: block;
    padding: 12px 12px 0;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}
.md-modern-post-thumb img,
.md-modern-post-thumb .md-thumb-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 17px;
    object-fit: cover;
    background: #f1f5f9;
    transition: transform .22s ease;
}
.md-modern-post-card:hover .md-modern-post-thumb img {
    transform: scale(1.018);
}
.md-thumb-placeholder {
    display: grid;
    place-items: center;
    color: #ef4444;
    font-size: 32px;
    font-weight: 950;
    letter-spacing: -.06em;
    border: 1px dashed #cbd5e1;
}
.md-modern-post-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 17px 18px 18px;
}
.md-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
}
.md-card-topline .post-meta {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}
.md-card-category {
    max-width: 52%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 999px;
    padding: 4px 9px;
    background: #fff1f2;
    color: #be123c;
    font-size: 11px;
    font-weight: 850;
}
.md-modern-post-card h2 {
    margin: 0 0 9px;
    font-size: 18px;
    line-height: 1.28;
    letter-spacing: -.018em;
    color: #071632;
}
.md-modern-post-card h2 a:hover {
    color: #ef4444;
}
.md-modern-post-card p {
    margin: 0 0 16px;
    color: #52627a;
    font-size: 14px;
    line-height: 1.62;
}
.md-modern-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    width: max-content;
    color: #ef4444;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}
.md-modern-read-more span {
    transition: transform .18s ease;
}
.md-modern-read-more:hover span {
    transform: translateX(3px);
}
.pagination {
    margin: 34px 0 0;
}
.pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.pagination .page-numbers {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe3ee;
    border-radius: 13px;
    background: #fff;
    color: #334155;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 850;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .055);
    transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.pagination a.page-numbers:hover {
    transform: translateY(-2px);
    border-color: rgba(239,68,68,.38);
    color: #ef4444;
}
.pagination .page-numbers.current {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-color: #ef4444;
    color: #fff;
    box-shadow: 0 14px 30px rgba(239, 68, 68, .24);
}
.pagination .page-numbers.dots {
    min-width: auto;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    padding: 0 4px;
}
.pagination .prev,
.pagination .next {
    min-width: 108px;
}
@media (max-width: 980px) {
    .md-modern-content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .md-archive-section { padding: 34px 0 48px; }
    .md-archive-heading { padding: 18px 18px 18px 22px; border-radius: 18px; }
    .md-modern-content-grid { grid-template-columns: 1fr; gap: 16px; }
    .md-card-category { max-width: 48%; }
    .pagination .page-numbers { min-width: 38px; height: 38px; border-radius: 11px; padding: 0 11px; }
    .pagination .prev, .pagination .next { min-width: auto; }
}


/* Header logo placement */
.site-header .header-inner {
    min-height: 92px;
}
body.home .site-header .header-inner {
    min-height: 94px;
}
body.home .site-header .site-logo-image {
    width: min(100%, 360px);
}
@media (max-width: 1100px) {
    .site-header .site-logo-image {
        width: min(100%, 290px);
    }
    .site-nav > ul {
        gap: 18px;
    }
}
@media (max-width: 900px) {
    .site-header .header-inner {
        min-height: 84px;
        gap: 14px;
    }
    .site-header .site-logo-image,
    body.home .site-header .site-logo-image {
        width: min(100%, 250px);
    }
}
@media (max-width: 620px) {
    .site-header .site-logo-image,
    body.home .site-header .site-logo-image {
        width: min(100%, 215px);
    }
    .site-header .header-inner,
    body.home .site-header .header-inner {
        min-height: 78px;
    }
}


/* Logo + Menü final düzenleme */
.site-header .header-inner,
body.home .site-header .header-inner {
    min-height: 78px;
    gap: 24px;
}

.site-header .site-logo--header {
    flex: 0 0 auto;
    max-width: 260px;
    min-width: 190px;
}

.site-header .site-logo-image {
    width: 260px !important;
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
}

.site-nav {
    min-width: 0;
}

.site-nav > ul {
    gap: clamp(14px, 1.65vw, 28px);
    flex-wrap: nowrap;
}

.site-nav a {
    font-size: clamp(13px, .95vw, 15px);
}

/* Footer logosu */
.md-site-footer .site-logo--footer {
    display: inline-flex;
    align-items: center;
    max-width: 280px;
}

.md-site-footer .site-footer-logo-image {
    width: 250px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: none;
}

@media (max-width: 1180px) {
    .site-header .site-logo--header {
        max-width: 220px;
        min-width: 170px;
    }

    .site-header .site-logo-image {
        width: 220px !important;
    }

    .site-nav > ul {
        gap: 14px;
    }

    .site-nav a {
        font-size: 13px;
    }
}

@media (max-width: 900px) {
    .site-header .header-inner,
    body.home .site-header .header-inner {
        min-height: 76px;
    }

    .site-header .site-logo--header {
        max-width: 230px;
        min-width: 0;
    }

    .site-header .site-logo-image {
        width: 230px !important;
    }

    .site-nav.is-open {
        display: block !important;
    }

    .site-nav > ul {
        flex-wrap: wrap;
    }
}

@media (max-width: 620px) {
    .site-header .site-logo--header {
        max-width: 200px;
    }

    .site-header .site-logo-image {
        width: 200px !important;
    }

    .md-site-footer .site-footer-logo-image {
        width: 220px;
    }
}


/* Çok ziyaret edilen içerikler - 2 satırlı modern görsel grid */
.md-popular-section {
    padding: 66px 0 54px;
    background: #f6f8fc;
}

.md-section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.md-section-head-row h2 {
    margin: 0 0 4px;
    color: #071936;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.md-section-head-row p {
    margin: 0;
    color: #53657f;
    font-weight: 700;
    font-size: 16px;
}

.md-section-link {
    color: #ef3838;
    font-weight: 900;
    white-space: nowrap;
}

.md-popular-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.md-popular-card {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid #dbe4f0;
    background: #0f172a;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .10);
    isolation: isolate;
    color: #fff;
}

.md-popular-card:hover {
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 24px 58px rgba(15, 23, 42, .16);
}

.md-popular-image,
.md-popular-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.md-popular-image img {
    object-fit: cover;
    transform: scale(1.02);
    transition: transform .35s ease;
}

.md-popular-card:hover .md-popular-image img {
    transform: scale(1.08);
}

.md-popular-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(5, 11, 25, .10) 0%, rgba(5, 11, 25, .44) 44%, rgba(5, 11, 25, .88) 100%),
        linear-gradient(90deg, rgba(239, 56, 56, .30), rgba(15, 23, 42, .05));
}

.md-popular-overlay {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
}

.md-popular-chip {
    align-self: flex-start;
    display: inline-flex;
    max-width: 100%;
    border-radius: 999px;
    padding: 6px 11px;
    background: rgba(255,255,255,.92);
    color: #ef3838;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.md-popular-overlay strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #fff;
    font-size: 21px;
    line-height: 1.12;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 12px rgba(0,0,0,.22);
}

.md-popular-overlay small {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: rgba(255,255,255,.86);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 650;
}

@media (max-width: 1100px) {
    .md-popular-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md-popular-card {
        min-height: 245px;
    }
}

@media (max-width: 700px) {
    .md-section-head-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .md-popular-grid {
        grid-template-columns: 1fr;
    }

    .md-popular-card {
        min-height: 235px;
        border-radius: 20px;
    }
}


/* ANA SAYFA - Çok Ziyaret Edilen İçerikler kesin düzeltme */
.md-popular-section-v2 {
    padding: 68px 0 58px;
    background: #f6f8fc;
}

.md-popular-section-v2 .md-popular-head-v2 {
    margin-bottom: 26px;
}

.md-popular-grid-v2 {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.md-popular-card-v2 {
    position: relative;
    display: block;
    min-height: 235px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid #dbe4f0;
    background: #0f172a;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .11);
    color: #fff;
    isolation: isolate;
    transition: transform .22s ease, box-shadow .22s ease;
}

.md-popular-card-v2:hover {
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 26px 58px rgba(15, 23, 42, .17);
}

.md-popular-img-v2,
.md-popular-img-v2 img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.md-popular-img-v2 img {
    object-fit: cover;
    transform: scale(1.02);
    transition: transform .35s ease;
}

.md-popular-card-v2:hover .md-popular-img-v2 img {
    transform: scale(1.08);
}

.md-popular-card-v2::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(5, 11, 25, .08) 0%, rgba(5, 11, 25, .46) 45%, rgba(5, 11, 25, .91) 100%),
        linear-gradient(90deg, rgba(239, 56, 56, .28), rgba(15, 23, 42, .08));
}

.md-popular-content-v2 {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
}

.md-popular-content-v2 em {
    align-self: flex-start;
    max-width: 100%;
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(255,255,255,.94);
    color: #ef3838;
    font-size: 11px;
    line-height: 1;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.md-popular-content-v2 strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #fff;
    font-size: 21px;
    line-height: 1.12;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.md-popular-content-v2 small {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: rgba(255,255,255,.86);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 650;
}

@media (max-width: 1100px) {
    .md-popular-grid-v2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md-popular-card-v2 {
        min-height: 245px;
    }
}

@media (max-width: 700px) {
    .md-popular-grid-v2 {
        grid-template-columns: 1fr;
    }

    .md-popular-card-v2 {
        min-height: 235px;
        border-radius: 20px;
    }
}


/* Son eklenen sınavlar - taşma ve modern görünüm düzeltmesi */
.md-latest-quiz-v2 {
    padding: 22px 0 38px;
}
.md-latest-quiz-wrap-v2 {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #dfe7f1;
    border-radius: 26px;
    padding: 26px;
    box-shadow: 0 18px 45px rgba(15,23,42,.06);
    overflow: hidden;
}
.md-latest-head-v2 {
    margin-bottom: 22px;
}
.md-exam-grid-modern-v2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.md-exam-card-modern-v2 {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 18px 18px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e5edf6;
    box-shadow: 0 12px 28px rgba(15,23,42,.05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.md-exam-card-modern-v2:hover {
    transform: translateY(-3px);
    border-color: rgba(239,56,56,.25);
    box-shadow: 0 18px 38px rgba(15,23,42,.09);
}
.md-exam-card-modern-v2 .md-exam-icon-v2 {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff1f1, #ffe5e5);
    color: #ef3838;
    font-size: 26px;
    box-shadow: inset 0 0 0 1px rgba(239,56,56,.08);
}
.md-exam-card-main-v2 {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.md-exam-meta-v2 {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.md-exam-meta-v2 b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef2f7;
    color: #53647c;
    font-size: 11px;
    line-height: 1;
}
.md-exam-meta-v2 b:first-child {
    background: #fee2e2;
    color: #e12d35;
}
.md-exam-card-modern-v2 strong {
    display: block;
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 20px;
    line-height: 1.18;
    letter-spacing: -.03em;
    color: #071632;
}
.md-exam-card-modern-v2 small {
    display: block;
    margin: 0;
    color: #607089;
    font-size: 13px;
    line-height: 1.45;
}
.md-exam-card-modern-v2 i {
    font-style: normal;
    font-size: 24px;
    color: #071632;
    opacity: .9;
}
@media (max-width: 1100px) {
    .md-exam-grid-modern-v2 {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 760px) {
    .md-latest-quiz-wrap-v2 {
        padding: 20px;
        border-radius: 20px;
    }
    .md-exam-card-modern-v2 {
        grid-template-columns: 54px minmax(0, 1fr) 20px;
        gap: 12px;
        padding: 16px;
        border-radius: 16px;
    }
    .md-exam-card-modern-v2 .md-exam-icon-v2 {
        width: 54px;
        height: 54px;
        border-radius: 15px;
        font-size: 22px;
    }
    .md-exam-card-modern-v2 strong {
        font-size: 17px;
    }
}


/* Tüm İçerikler sayfası */
.md-all-posts-page {
    padding: 58px 0 72px;
    background:
        radial-gradient(circle at 15% 10%, rgba(239, 56, 56, .09), transparent 28%),
        #f6f8fc;
}

.md-all-posts-hero {
    margin-bottom: 30px;
    max-width: 760px;
}

.md-all-posts-hero span {
    display: inline-flex;
    margin-bottom: 10px;
    border-radius: 999px;
    padding: 7px 13px;
    background: #fee2e2;
    color: #e12d35;
    font-size: 12px;
    font-weight: 900;
}

.md-all-posts-hero h1 {
    margin: 0 0 8px;
    color: #071632;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    letter-spacing: -.05em;
}

.md-all-posts-hero p {
    margin: 0;
    color: #5a6b84;
    font-size: 17px;
    font-weight: 650;
}

.md-all-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.md-all-post-card {
    overflow: hidden;
    border: 1px solid #dfe7f1;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15,23,42,.07);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.md-all-post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239,56,56,.24);
    box-shadow: 0 24px 56px rgba(15,23,42,.12);
}

.md-all-post-thumb {
    display: block;
    height: 210px;
    overflow: hidden;
    background: #0f172a;
}

.md-all-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.md-all-post-card:hover .md-all-post-thumb img {
    transform: scale(1.06);
}

.md-all-post-body {
    padding: 20px;
}

.md-all-post-category {
    display: inline-flex;
    margin-bottom: 12px;
    border-radius: 999px;
    padding: 6px 11px;
    background: #fee2e2;
    color: #e12d35;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
}

.md-all-post-body h2 {
    margin: 0 0 10px;
    color: #071632;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.md-all-post-body p {
    margin: 0 0 16px;
    color: #5c6d86;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 650;
}

.md-all-post-read {
    color: #ef3838;
    font-size: 14px;
    font-weight: 900;
}

.md-all-post-pagination {
    margin-top: 34px;
}

.md-all-post-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.md-all-post-pagination a,
.md-all-post-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #dfe7f1;
    background: #fff;
    color: #071632;
    padding: 0 13px;
    font-weight: 850;
}

.md-all-post-pagination .current {
    background: #ef3838;
    border-color: #ef3838;
    color: #fff;
}

.md-all-post-empty {
    border-radius: 22px;
    border: 1px solid #dfe7f1;
    background: #fff;
    padding: 34px;
    box-shadow: 0 18px 44px rgba(15,23,42,.07);
}

@media (max-width: 1100px) {
    .md-all-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .md-all-posts-grid {
        grid-template-columns: 1fr;
    }

    .md-all-post-thumb {
        height: 190px;
    }
}


/* Çok ziyaret edilen ana sayfa kartları - bozulma düzeltmesi */
.md-popular-section-v2 {
    display: block;
    clear: both;
    width: 100%;
    padding: 64px 0 60px !important;
    margin: 0;
    background: #f6f8fc;
    overflow: hidden;
}

.md-popular-section-v2 .md-home-container {
    max-width: var(--site-max-width);
}

.md-popular-section-v2 .md-section-top-v2 {
    margin: 0 0 26px;
}

.md-popular-section-v2 .md-popular-grid-v2 {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100%;
    align-items: stretch;
}

.md-popular-section-v2 .md-popular-card-v2 {
    position: relative !important;
    display: block !important;
    width: 100%;
    min-width: 0;
    min-height: 250px;
    border-radius: 24px;
    overflow: hidden;
    background: #0f172a;
}

.md-popular-section-v2 .md-popular-img-v2,
.md-popular-section-v2 .md-popular-img-v2 img {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
}

.md-popular-section-v2 .md-popular-img-v2 img {
    object-fit: cover;
}

.md-popular-section-v2 .md-popular-content-v2 {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
}

/* Çok Ziyaret Edilenler arşiv sayfası */
.md-popular-archive-page {
    padding: 12px 0 76px;
    background:
        radial-gradient(circle at 16% 10%, rgba(239, 56, 56, .10), transparent 28%),
        #f6f8fc;
}
.md-popular-archive-page .md-theme-ad-inner-after-hero {
    margin-top: 0 !important;
}

.md-popular-archive-hero {
    margin-bottom: 30px;
    max-width: 800px;
}

.md-popular-archive-hero span {
    display: inline-flex;
    margin-bottom: 10px;
    border-radius: 999px;
    padding: 7px 13px;
    background: #fee2e2;
    color: #e12d35;
    font-size: 12px;
    font-weight: 900;
}

.md-popular-archive-hero h1 {
    margin: 0 0 8px;
    color: #071632;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    letter-spacing: -.05em;
}

.md-popular-archive-hero p {
    margin: 0;
    color: #5a6b84;
    font-size: 17px;
    font-weight: 650;
}

.md-popular-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.md-popular-archive-card {
    overflow: hidden;
    border: 1px solid #dfe7f1;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15,23,42,.07);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.md-popular-archive-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239,56,56,.24);
    box-shadow: 0 24px 56px rgba(15,23,42,.12);
}

.md-popular-archive-thumb {
    position: relative;
    display: block;
    height: 210px;
    overflow: hidden;
    background: #0f172a;
}

.md-popular-archive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.md-popular-archive-card:hover .md-popular-archive-thumb img {
    transform: scale(1.06);
}

.md-popular-archive-views {
    position: absolute;
    left: 14px;
    bottom: 14px;
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(15,23,42,.82);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    backdrop-filter: blur(8px);
}

.md-popular-archive-body {
    padding: 20px;
}

.md-popular-archive-category {
    display: inline-flex;
    margin-bottom: 12px;
    border-radius: 999px;
    padding: 6px 11px;
    background: #fee2e2;
    color: #e12d35;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
}

.md-popular-archive-body h2 {
    margin: 0 0 10px;
    color: #071632;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.md-popular-archive-body p {
    margin: 0 0 16px;
    color: #5c6d86;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 650;
}

.md-popular-archive-read {
    color: #ef3838;
    font-size: 14px;
    font-weight: 900;
}

.md-popular-archive-pagination {
    margin-top: 34px;
}

.md-popular-archive-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.md-popular-archive-pagination a,
.md-popular-archive-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #dfe7f1;
    background: #fff;
    color: #071632;
    padding: 0 13px;
    font-weight: 850;
}

.md-popular-archive-pagination .current {
    background: #ef3838;
    border-color: #ef3838;
    color: #fff;
}

.md-popular-archive-empty {
    border-radius: 22px;
    border: 1px solid #dfe7f1;
    background: #fff;
    padding: 34px;
    box-shadow: 0 18px 44px rgba(15,23,42,.07);
}

@media (max-width: 1100px) {
    .md-popular-section-v2 .md-popular-grid-v2,
    .md-popular-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 700px) {
    .md-popular-section-v2 .md-popular-grid-v2,
    .md-popular-archive-grid {
        grid-template-columns: 1fr !important;
    }

    .md-popular-section-v2 .md-popular-card-v2 {
        min-height: 235px;
    }

    .md-popular-archive-thumb {
        height: 190px;
    }
}


/* Çok ziyaret edilen alanı - 8 karta tamamlama ve ana sayfa görünüm düzeltmesi */
.md-popular-section-v2 {
    padding-top: 54px !important;
    padding-bottom: 54px !important;
}

.md-popular-section-v2 .md-popular-grid-v2 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-rows: 220px;
}

.md-popular-section-v2 .md-popular-card-v2 {
    min-height: 220px !important;
    height: 220px;
}

.md-popular-section-v2 .md-popular-content-v2 {
    padding: 18px;
}

.md-popular-section-v2 .md-popular-content-v2 strong {
    font-size: 19px;
    line-height: 1.14;
}

.md-popular-section-v2 .md-popular-content-v2 small {
    font-size: 12.5px;
    line-height: 1.38;
}

@media (max-width: 1100px) {
    .md-popular-section-v2 .md-popular-grid-v2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-rows: 230px;
    }

    .md-popular-section-v2 .md-popular-card-v2 {
        height: 230px;
        min-height: 230px !important;
    }
}

@media (max-width: 700px) {
    .md-popular-section-v2 .md-popular-grid-v2 {
        grid-template-columns: 1fr !important;
        grid-auto-rows: 225px;
    }

    .md-popular-section-v2 .md-popular-card-v2 {
        height: 225px;
        min-height: 225px !important;
    }
}


/* Ölçme Araçları seçim sayfası */
.md-measure-page {
    padding: 18px 0 76px !important;
    background:
        radial-gradient(circle at 15% 10%, rgba(239, 56, 56, .09), transparent 28%),
        linear-gradient(180deg, #f6f8fc, #eef3f9);
}

.md-measure-hero {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto 18px !important;
    padding: 26px 34px !important;
    background: rgba(255, 255, 255, .72) !important;
    border: 1px solid rgba(203, 213, 225, .9) !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 35px rgba(15, 23, 42, .06) !important;
}

.md-measure-page .container {
    width: min(var(--site-max-width), calc(100% - var(--site-gutter))) !important;
    max-width: var(--site-max-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.md-measure-hero span {
    display: none !important;
}

.md-measure-hero h1 {
    max-width: 760px !important;
    margin: 0 0 12px !important;
    color: #071632 !important;
    font-size: clamp(20px, 2vw, 26px) !important;
    line-height: 1.18 !important;
    letter-spacing: -.035em !important;
}

.md-measure-hero p {
    max-width: 100% !important;
    margin: 0 !important;
    color: #52647e !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    font-weight: 650 !important;
    text-align: justify !important;
    text-justify: inter-word;
}

.md-measure-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.md-measure-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 430px !important;
    overflow: hidden;
    border-radius: 28px !important;
    border: 1px solid #dfe7f1;
    background: #fff;
    color: #071632;
    box-shadow: 0 22px 58px rgba(15,23,42,.10);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.md-measure-card:hover {
    transform: translateY(-6px);
    border-color: rgba(239,56,56,.28);
    box-shadow: 0 30px 70px rgba(15,23,42,.15);
}

.md-measure-visual {
    min-height: 220px !important;
    padding: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #f8fafc, #edf4fb) !important;
}

.md-measure-visual img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 185px !important;
    object-fit: contain !important;
    transform: none !important;
}

.md-measure-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 24px 24px 26px !important;
    flex: 1 1 auto;
}

.md-measure-content strong {
    font-size: clamp(23px, 1.8vw, 31px);
}

.md-measure-content small {
    color: #5a6b84;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 650;
}

.md-measure-content em {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    justify-content: center;
    margin-top: 18px !important;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    background: #ef3838;
    color: #fff;
    font-style: normal;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(239,56,56,.22);
}

.md-measure-note {
    display: none !important;
}

@media (max-width: 1200px) {
    .md-measure-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .md-measure-hero {
        padding: 22px 20px !important;
        border-radius: 16px !important;
    }

    .md-measure-hero h1 {
        font-size: 24px !important;
    }

    .md-measure-grid {
        grid-template-columns: 1fr;
    }

    .md-measure-visual {
        min-height: 250px !important;
    }

    .md-measure-visual img {
        max-height: 215px !important;
    }
}


/* Tüm Sınavlar sayfası */
.md-all-exams-page {
    padding: 34px 0 76px;
    background:
        radial-gradient(circle at 16% 10%, rgba(239, 56, 56, .10), transparent 28%),
        linear-gradient(180deg, #f6f8fc, #eef3f9);
}

.md-all-exams-hero {
    max-width: 980px;
    margin-bottom: 26px;
}

.md-all-exams-hero span {
    display: none;
}

.md-all-exams-hero h1 {
    margin: 0 0 10px;
    color: #071632;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    letter-spacing: -.055em;
}

.md-all-exams-hero p {
    margin: 0;
    color: #5a6b84;
    max-width: 980px;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 650;
}

.md-all-exams-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}


.md-all-exams-row-ad {
    grid-column: 1 / -1;
    margin: 10px auto 22px;
    width: min(100%, 970px);
}


.md-all-exam-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    min-height: 190px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid #dfe7f1;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15,23,42,.08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.md-all-exam-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239,56,56,.26);
    box-shadow: 0 26px 62px rgba(15,23,42,.13);
}

.md-all-exam-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff0f0, #ffe4e4);
    color: #ef3838;
    font-size: 26px;
    box-shadow: inset 0 0 0 1px rgba(239,56,56,.08);
}

.md-all-exam-content {
    min-width: 0;
}

.md-all-exam-badge {
    display: inline-flex;
    margin-bottom: 10px;
    border-radius: 999px;
    padding: 6px 11px;
    background: #eef2f7;
    color: #53647c;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
}

.md-all-exam-content h2 {
    margin: 0 0 8px;
    color: #071632;
    font-size: 21px;
    line-height: 1.16;
    letter-spacing: -.035em;
}

.md-all-exam-content p {
    margin: 0 0 14px;
    color: #5a6b84;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 650;
}

.md-all-exam-content a {
    color: #ef3838;
    font-size: 14px;
    font-weight: 900;
}

@media (max-width: 1100px) {
    .md-all-exams-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .md-all-exams-grid {
        grid-template-columns: 1fr;
    }

    .md-all-exam-card {
        grid-template-columns: 54px minmax(0, 1fr);
        padding: 20px;
    }

    .md-all-exam-icon {
        width: 54px;
        height: 54px;
        border-radius: 15px;
        font-size: 22px;
    }
}


/* Tüm Sınavlar v2 - liste sayısı ve açılma düzeltmesi */
.md-all-exams-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    margin: 0 0 24px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid #dfe7f1;
    background: rgba(255,255,255,.82);
    box-shadow: 0 12px 30px rgba(15,23,42,.045);
}

.md-all-exams-toolbar strong {
    color: #071632;
    font-size: 16px;
    font-weight: 900;
}

.md-all-exams-toolbar small {
    color: #61718a;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}

.md-all-exam-count {
    display: inline-flex;
    align-self: flex-start;
    margin: -2px 0 12px;
    border-radius: 999px;
    padding: 5px 10px;
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
}

.md-single-exam-page {
    padding-top: 38px;
}

.md-exam-back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    border-radius: 999px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #dfe7f1;
    color: #ef3838;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(15,23,42,.055);
}

@media (max-width: 760px) {
    .md-all-exams-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .md-all-exams-toolbar small {
        text-align: left;
    }
}


/* Atölye konu listesi */
.md-atolye-topic-page {
    padding: 58px 0 72px;
    background:
        radial-gradient(circle at 15% 10%, rgba(239, 56, 56, .09), transparent 28%),
        linear-gradient(180deg, #f6f8fc, #eef3f9);
}

.md-atolye-topic-page {
    padding: 18px 0 72px !important;
}

.md-atolye-topic-page .container {
    width: min(var(--site-max-width), calc(100% - var(--site-gutter))) !important;
    max-width: var(--site-max-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.md-atolye-topic-hero {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto 18px !important;
    padding: 26px 34px !important;
    background: rgba(255, 255, 255, .72) !important;
    border: 1px solid rgba(203, 213, 225, .9) !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 35px rgba(15, 23, 42, .06) !important;
}

.md-atolye-topic-hero > a {
    display: inline-flex;
    margin-bottom: 14px;
    border-radius: 999px;
    padding: 9px 13px;
    background: #fff;
    border: 1px solid #dfe7f1;
    color: #ef3838;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(15,23,42,.045);
}

.md-atolye-topic-hero span {
    display: inline-flex;
    margin-bottom: 12px;
    border-radius: 999px;
    padding: 8px 14px;
    background: #fee2e2;
    color: #e12d35;
    font-size: 12px;
    font-weight: 900;
}

.md-atolye-topic-hero h1 {
    margin: 0 0 10px;
    color: #071632;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.05;
    letter-spacing: -.055em;
}

.md-atolye-topic-hero p {
    margin: 0 !important;
    color: #5a6b84;
    max-width: 100% !important;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 650;
    text-align: justify !important;
    text-justify: inter-word;
}

.md-atolye-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.md-atolye-topic-card {
    overflow: hidden;
    border: 1px solid #dfe7f1;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15,23,42,.07);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.md-atolye-topic-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239,56,56,.24);
    box-shadow: 0 24px 56px rgba(15,23,42,.12);
}

.md-atolye-topic-thumb {
    display: block;
    height: 210px;
    overflow: hidden;
    background: #0f172a;
}

.md-atolye-topic-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.md-atolye-topic-card:hover .md-atolye-topic-thumb img {
    transform: scale(1.06);
}

.md-atolye-topic-body {
    padding: 20px;
}

.md-atolye-topic-body span {
    display: inline-flex;
    margin-bottom: 12px;
    border-radius: 999px;
    padding: 6px 11px;
    background: #fee2e2;
    color: #e12d35;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
}

.md-atolye-topic-body h2 {
    margin: 0 0 10px;
    color: #071632;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.md-atolye-topic-body p {
    margin: 0 0 16px;
    color: #5c6d86;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 650;
}

.md-atolye-topic-read {
    color: #ef3838;
    font-size: 14px;
    font-weight: 900;
}

.md-atolye-topic-empty {
    border-radius: 22px;
    border: 1px solid #dfe7f1;
    background: #fff;
    padding: 34px;
    box-shadow: 0 18px 44px rgba(15,23,42,.07);
}

@media (max-width: 1100px) {
    .md-atolye-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .md-atolye-topic-grid {
        grid-template-columns: 1fr;
    }

    .md-atolye-topic-thumb {
        height: 190px;
    }
}


/* Atölye eksik konu ve sayfalama düzeltmesi */
.md-atolye-topic-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    margin: 0 0 24px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid #dfe7f1;
    background: rgba(255,255,255,.82);
    box-shadow: 0 12px 30px rgba(15,23,42,.045);
}

.md-atolye-topic-toolbar strong {
    color: #071632;
    font-size: 16px;
    font-weight: 900;
}

.md-atolye-topic-toolbar small {
    color: #61718a;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}

.md-atolye-topic-pagination {
    margin-top: 34px;
}

.md-atolye-topic-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.md-atolye-topic-pagination a,
.md-atolye-topic-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #dfe7f1;
    background: #fff;
    color: #071632;
    padding: 0 13px;
    font-weight: 850;
}

.md-atolye-topic-pagination .current {
    background: #ef3838;
    border-color: #ef3838;
    color: #fff;
}

@media (max-width: 760px) {
    .md-atolye-topic-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .md-atolye-topic-toolbar small {
        text-align: left;
    }
}

/* Atölye seçim sayfası - final temiz düzen */
.md-atolye-page {
    padding: 18px 0 72px !important;
    background:
        radial-gradient(circle at 15% 10%, rgba(239, 56, 56, .09), transparent 28%),
        linear-gradient(180deg, #f6f8fc, #eef3f9);
}

.md-atolye-page .container {
    width: min(var(--site-max-width), calc(100% - var(--site-gutter))) !important;
    max-width: var(--site-max-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.md-atolye-hero {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto 18px !important;
    padding: 26px 34px !important;
    background: rgba(255, 255, 255, .72) !important;
    border: 1px solid rgba(203, 213, 225, .9) !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 35px rgba(15, 23, 42, .06) !important;
}

.md-atolye-hero span {
    display: none !important;
}

.md-atolye-hero h1 {
    max-width: 760px !important;
    margin: 0 0 12px !important;
    color: #071632 !important;
    font-size: clamp(20px, 2vw, 26px) !important;
    line-height: 1.18 !important;
    letter-spacing: -.035em !important;
}

.md-atolye-hero p {
    max-width: 100% !important;
    margin: 0 !important;
    color: #52647e !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    font-weight: 650 !important;
    text-align: justify !important;
}

.md-atolye-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.md-atolye-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 430px !important;
    overflow: hidden;
    border-radius: 28px !important;
    border: 1px solid #dfe7f1;
    background: #fff;
    color: #071632;
    box-shadow: 0 22px 58px rgba(15,23,42,.10);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.md-atolye-card:hover {
    color: #071632;
    transform: translateY(-6px);
    border-color: rgba(239,56,56,.28);
    box-shadow: 0 30px 70px rgba(15,23,42,.15);
}

.md-atolye-visual {
    min-height: 220px !important;
    padding: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #f8fafc, #edf4fb) !important;
    overflow: hidden;
}

.md-atolye-visual img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 184px !important;
    object-fit: contain !important;
    transition: transform .35s ease;
}

.md-atolye-card:hover .md-atolye-visual img {
    transform: scale(1.035);
}

.md-atolye-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 9px;
    padding: 24px 24px 26px !important;
    flex: 1 1 auto;
}

.md-atolye-label {
    align-self: flex-start;
    display: inline-flex;
    margin-bottom: 4px;
    border-radius: 999px;
    padding: 7px 12px;
    background: #fee2e2;
    color: #e12d35;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
}

.md-atolye-content strong {
    color: #071632;
    font-size: clamp(23px, 1.8vw, 31px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.md-atolye-content small {
    color: #5a6b84;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 650;
    max-width: 420px;
}

.md-atolye-content em {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    justify-content: center;
    margin-top: 18px !important;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    background: #ef3838;
    color: #fff;
    font-style: normal;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(239,56,56,.22);
}

@media (max-width: 1200px) {
    .md-atolye-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .md-atolye-hero {
        padding: 22px 20px !important;
        border-radius: 16px !important;
    }

    .md-atolye-hero h1 {
        font-size: 24px !important;
    }

    .md-atolye-grid {
        grid-template-columns: 1fr;
    }

    .md-atolye-card {
        min-height: 0 !important;
    }

    .md-atolye-visual {
        min-height: 240px !important;
    }

    .md-atolye-content {
        padding: 24px !important;
    }
}

/* Hero SınavKağıdı dış bağlantı butonları */
.md-hero-actions-v2 .md-home-btn[target="_blank"] {
    white-space: nowrap;
}


/* Tüm Sınavlar tüm kaynaklar + sayfalama düzeltmesi */
.md-all-exams-pagination {
    margin-top: 34px;
}

.md-all-exams-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.md-all-exams-pagination a,
.md-all-exams-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #dfe7f1;
    background: #fff;
    color: #071632;
    padding: 0 13px;
    font-weight: 850;
}

.md-all-exams-pagination .current {
    background: #ef3838;
    border-color: #ef3838;
    color: #fff;
}

.md-all-exam-passive {
    display: inline-flex;
    color: #64748b;
    font-size: 13px;
    font-weight: 850;
}



/* Header ve footer logo netleştirme */
.site-header .site-logo--header {
    max-width: 320px !important;
    min-width: 230px;
}

.site-header .site-logo-image {
    width: 310px !important;
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
    opacity: 1 !important;
    filter: none !important;
    image-rendering: auto;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.md-site-footer .site-logo--footer {
    max-width: 310px !important;
}

.md-site-footer .site-footer-logo-image {
    width: 285px !important;
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
    opacity: 1 !important;
    filter: none !important;
    image-rendering: auto;
    backface-visibility: hidden;
    transform: translateZ(0);
}

@media (max-width: 1180px) {
    .site-header .site-logo--header {
        max-width: 280px !important;
        min-width: 210px;
    }

    .site-header .site-logo-image {
        width: 280px !important;
    }
}

@media (max-width: 900px) {
    .site-header .site-logo--header {
        max-width: 245px !important;
        min-width: 0;
    }

    .site-header .site-logo-image {
        width: 245px !important;
    }
}

@media (max-width: 620px) {
    .site-header .site-logo-image {
        width: 210px !important;
    }

    .md-site-footer .site-footer-logo-image {
        width: 235px !important;
    }
}


/* Ana sayfa arama kutusu - temiz sağ üst satır düzeni */
.md-hero-v2 {
    overflow: visible;
}

.md-hero-grid-v2 {
    grid-template-rows: auto 1fr;
    position: relative;
}

.md-hero-topbar-v2 {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(330px, .95fr) minmax(340px, .95fr) minmax(290px, .62fr);
    gap: 34px;
    align-items: center;
    margin-bottom: 28px;
    position: relative;
    z-index: 30;
}

.md-hero-topbar-v2 .md-hero-eyebrow-v2 {
    grid-column: 1;
    margin: 0 !important;
    justify-self: start;
}

.md-hero-topbar-search-v2 {
    grid-column: 3;
    justify-self: end;
    width: 100%;
    max-width: 420px;
    position: relative;
}

.md-hero-topbar-search-v2 .md-home-live-search {
    width: 100% !important;
    margin: 0 !important;
    position: relative;
}

.md-hero-topbar-search-v2 .md-home-search-form {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 6px 7px 6px 15px;
    border: 1px solid rgba(239, 56, 56, .25);
    border-radius: 17px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 14px 34px rgba(15,23,42,.09);
    backdrop-filter: blur(10px);
}

.md-hero-topbar-search-v2 .md-home-search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #ef3838;
    font-size: 19px;
    font-weight: 900;
}

.md-hero-topbar-search-v2 .md-home-search-form input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #071632;
    font-size: 14px;
    font-weight: 750;
}

.md-hero-topbar-search-v2 .md-home-search-form input::placeholder {
    color: #7b879b;
    font-weight: 700;
}

.md-hero-topbar-search-v2 .md-home-search-form button {
    min-height: 38px;
    border: 0;
    border-radius: 14px;
    padding: 0 17px;
    background: #ef3838;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(239,56,56,.20);
}

.md-hero-topbar-search-v2 .md-home-search-form button:hover {
    background: #d9272f;
}

.md-hero-topbar-search-v2 .md-home-search-hint {
    display: none !important;
}

.md-live-search-results {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: auto;
    right: 0;
    width: min(620px, 92vw);
    max-height: 470px;
    overflow-y: auto;
    border: 1px solid #dfe7f1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15,23,42,.16);
    z-index: 80;
}

.md-live-search-results.is-visible {
    display: block;
}

.md-live-search-item {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 14px;
    color: #071632;
    border-bottom: 1px solid #edf2f7;
}

.md-live-search-item:last-child {
    border-bottom: 0;
}

.md-live-search-item:hover {
    background: #f8fafc;
    color: #071632;
}

.md-live-search-thumb {
    display: block;
    width: 82px;
    height: 62px;
    overflow: hidden;
    border-radius: 15px;
    background: #f1f5f9;
    border: 1px solid #e5edf7;
}

.md-live-search-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.md-live-search-text {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.md-live-search-badge {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    border-radius: 999px;
    padding: 0 10px;
    background: #fee2e2;
    color: #ef3838;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.md-live-search-item strong {
    display: block;
    min-width: 0;
    font-size: 15px;
    line-height: 1.22;
    font-weight: 950;
}

.md-live-search-item small {
    display: block;
    color: #62718a;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 650;
}

.md-live-search-empty {
    padding: 17px 18px;
    color: #62718a;
    font-size: 14px;
    font-weight: 750;
}

@media (max-width: 1180px) {
    .md-hero-topbar-v2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .md-hero-topbar-v2 .md-hero-eyebrow-v2,
    .md-hero-topbar-search-v2 {
        grid-column: 1;
    }

    .md-hero-topbar-search-v2 {
        justify-self: start;
        max-width: 680px;
    }

    .md-live-search-results {
        left: 0;
        right: auto;
        width: min(680px, 92vw);
    }
}

@media (max-width: 700px) {
    .md-hero-topbar-search-v2 .md-home-search-form {
        grid-template-columns: auto 1fr;
        padding: 10px 12px;
    }

    .md-hero-topbar-search-v2 .md-home-search-form button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .md-live-search-item {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .md-live-search-thumb {
        width: 70px;
        height: 56px;
    }
}


/* Ana sayfa hızlı bağlantılar - modern görselli kartlar */
.md-quick-v2 {
    margin-top: -6px;
    padding: 22px 0 54px;
}

.md-quick-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.md-quick-card-modern {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 320px;
    overflow: hidden;
    border-radius: 24px;
    padding: 0;
    background: #fff;
    border: 1px solid #dfe7f1;
    box-shadow: 0 24px 60px rgba(15,23,42,.08);
    color: #071632;
    transform: translateZ(0);
}

.md-quick-card-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.94) 72%, #fff 100%);
    z-index: 2;
    pointer-events: none;
}

.md-quick-card-modern:hover {
    color: #071632;
    transform: translateY(-6px);
    box-shadow: 0 32px 76px rgba(15,23,42,.13);
    border-color: rgba(239,56,56,.22);
}

.md-quick-image-v2 {
    position: relative;
    display: block;
    height: 178px;
    padding: 14px;
    background: linear-gradient(135deg, #fff8f8, #f2f8ff);
}

.md-quick-image-v2 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.md-quick-content-v2 {
    position: relative;
    z-index: 3;
    display: grid;
    gap: 10px;
    padding: 20px 22px 24px;
}

.md-quick-label-v2 {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 0 12px;
    background: #fee2e2;
    color: #ef3838;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .02em;
}

.md-quick-card-modern strong {
    color: #071632;
    font-size: clamp(21px, 1.4vw, 28px);
    line-height: 1.05;
    letter-spacing: -.04em;
    font-weight: 950;
}

.md-quick-card-modern small {
    color: #52647e;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 750;
}

.md-quick-card-modern em {
    margin-top: 4px;
    color: #ef3838;
    font-style: normal;
    font-size: 14px;
    font-weight: 950;
}

@media (max-width: 1180px) {
    .md-quick-grid-modern {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .md-quick-grid-modern {
        grid-template-columns: 1fr;
    }

    .md-quick-card-modern {
        min-height: 290px;
    }
}


/* Ana sayfa hero üst hizalama - bütüncül düzen */
.md-hero-v2 {
    padding-top: 52px;
    padding-bottom: 44px;
    min-height: 520px;
    align-items: flex-start;
}

.md-hero-grid-v2 {
    align-items: start;
    row-gap: 10px;
}

.md-hero-topbar-v2 {
    align-items: center;
    margin-bottom: 4px;
}

.md-hero-topbar-v2 .md-hero-eyebrow-v2 {
    align-self: center;
}

.md-hero-topbar-search-v2 {
    align-self: center;
}

.md-hero-copy-v2 {
    align-self: start;
    margin-top: 8px;
}

.md-hero-copy-v2 h1 {
    margin-top: 0;
    margin-bottom: 18px;
}

.md-hero-copy-v2 p {
    margin-bottom: 26px;
}

.md-hero-art-v2 {
    align-self: start;
    margin-top: -58px;
    min-height: 315px;
}

.md-hero-art-v2 img {
    width: min(100%, 500px);
    max-height: 345px;
}

.md-hero-stats-v2 {
    align-self: start;
    margin-top: 30px;
}

.md-quick-v2 {
    margin-top: 0;
}

@media (max-width: 1180px) {
    .md-hero-v2 {
        padding-top: 44px;
        min-height: auto;
    }

    .md-hero-topbar-v2 {
        margin-bottom: 12px;
    }

    .md-hero-copy-v2,
    .md-hero-art-v2,
    .md-hero-stats-v2 {
        margin-top: 0;
    }
}

@media (max-width: 760px) {
    .md-hero-copy-v2 h1 {
        font-size: clamp(54px, 16vw, 76px);
    }

    .md-hero-art-v2 {
        min-height: 240px;
    }

    .md-hero-art-v2 img {
        max-height: 260px;
    }
}


/* Son Eklenen Sınavlar - modern görselli kartlar */
.md-exam-grid-modern-v3 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.md-exam-card-modern-v3 {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    min-height: 318px;
    padding: 0;
    border-radius: 24px;
    border: 1px solid #dfe7f1;
    background: #fff;
    color: #071632;
    box-shadow: 0 22px 58px rgba(15,23,42,.075);
}

.md-exam-card-modern-v3:hover {
    color: #071632;
    transform: translateY(-6px);
    border-color: rgba(239,56,56,.25);
    box-shadow: 0 32px 80px rgba(15,23,42,.13);
}

.md-exam-card-visual-v3 {
    display: block;
    height: 138px;
    padding: 13px;
    background: linear-gradient(135deg, #fff7f7, #f2f8ff);
}

.md-exam-card-visual-v3 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.md-exam-card-main-v3 {
    display: grid;
    gap: 10px;
    padding: 18px 20px 22px;
}

.md-exam-meta-v3 {
    justify-self: start;
    display: inline-flex;
    gap: 8px;
}

.md-exam-meta-v3 b {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border-radius: 999px;
    padding: 0 11px;
    font-size: 11px;
    font-weight: 950;
}

.md-exam-meta-v3 b:first-child {
    background: #fee2e2;
    color: #ef3838;
}

.md-exam-meta-v3 b:last-child {
    background: #edf3fa;
    color: #50627a;
}

.md-exam-card-modern-v3 strong {
    color: #071632;
    font-size: clamp(20px, 1.35vw, 27px);
    line-height: 1.06;
    letter-spacing: -.04em;
    font-weight: 950;
}

.md-exam-card-modern-v3 small {
    color: #53657f;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

.md-exam-card-modern-v3 em {
    margin-top: 4px;
    color: #ef3838;
    font-style: normal;
    font-size: 14px;
    font-weight: 950;
}

@media (max-width: 1180px) {
    .md-exam-grid-modern-v3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .md-exam-grid-modern-v3 {
        grid-template-columns: 1fr;
    }

    .md-exam-card-modern-v3 {
        min-height: 290px;
    }
}


/* Son Eklenen Sınavlar - final temiz kart düzeni */
.md-latest-exam-grid-clean {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.md-latest-exam-card-clean,
.md-latest-exam-card-clean:visited {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    min-height: 365px;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid #dfe7f1;
    background: #fff;
    color: #071632 !important;
    box-shadow: 0 24px 60px rgba(15,23,42,.075);
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.md-latest-exam-card-clean:hover {
    transform: translateY(-6px);
    border-color: rgba(239,56,56,.28);
    box-shadow: 0 34px 84px rgba(15,23,42,.14);
    color: #071632 !important;
}

.md-latest-exam-visual-clean {
    display: block;
    height: 145px;
    padding: 14px;
    background: linear-gradient(135deg, #fff7f7, #f2f8ff);
    flex: 0 0 auto;
}

.md-latest-exam-visual-clean img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 19px;
}

.md-latest-exam-body-clean {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 20px 22px 24px;
    flex: 1 1 auto;
}

.md-latest-exam-tags-clean {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.md-latest-exam-tags-clean b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    border-radius: 999px;
    padding: 0 11px;
    font-size: 11px;
    line-height: 1;
    font-weight: 950;
}

.md-latest-exam-tags-clean b:first-child {
    background: #fee2e2;
    color: #ef3838;
}

.md-latest-exam-tags-clean b:last-child {
    background: #edf3fa;
    color: #50627a;
}

.md-latest-exam-card-clean strong {
    display: block;
    color: #071632;
    font-size: clamp(21px, 1.35vw, 27px);
    line-height: 1.08;
    letter-spacing: -.04em;
    font-weight: 950;
}

.md-latest-exam-card-clean small {
    display: block;
    color: #53657f;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

.md-latest-exam-card-clean em {
    display: inline-flex;
    margin-top: auto;
    color: #ef3838;
    font-style: normal;
    font-size: 14px;
    font-weight: 950;
}

@media (max-width: 1180px) {
    .md-latest-exam-grid-clean {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .md-latest-exam-grid-clean {
        grid-template-columns: 1fr;
    }

    .md-latest-exam-card-clean {
        min-height: 320px;
    }
}


/* Son Eklenen Sınavlar - kart link davranışı ve stabil görünüm */
.md-latest-exam-card-clean {
    cursor: pointer;
}

.md-latest-exam-card-clean * {
    pointer-events: none;
}


/* Son Eklenen Sınavlar - doğrudan yazıya giden kart düzeni */
.md-latest-exam-card-clean {
    min-height: 350px;
}

.md-latest-exam-visual-clean {
    height: 160px;
}

.md-latest-exam-visual-clean img {
    object-fit: cover;
}

.md-latest-exam-card-clean strong {
    overflow-wrap: anywhere;
}

.md-latest-exam-card-clean small {
    min-height: 42px;
}


/* Ana sayfa hero ile hızlı kartlar arası boşluk azaltma */
.md-hero-v2 {
    padding-bottom: 18px !important;
    min-height: 470px;
}

.md-hero-grid-v2 {
    row-gap: 0 !important;
}

.md-hero-art-v2 {
    margin-bottom: -18px;
}

.md-hero-stats-v2 {
    margin-bottom: -8px;
}

.md-quick-v2 {
    margin-top: -34px !important;
    padding-top: 0 !important;
}

@media (max-width: 1180px) {
    .md-hero-v2 {
        padding-bottom: 26px !important;
        min-height: auto;
    }

    .md-quick-v2 {
        margin-top: -10px !important;
    }

    .md-hero-art-v2,
    .md-hero-stats-v2 {
        margin-bottom: 0;
    }
}

@media (max-width: 760px) {
    .md-quick-v2 {
        margin-top: 0 !important;
    }
}


/* Ana sayfa son eklenen yazılar */
.md-recent-posts-v2 {
    padding: 12px 0 54px;
}

.md-recent-posts-head-v2 {
    margin-bottom: 22px;
}

.md-recent-posts-head-v2 h2 {
    margin: 0;
    color: #071632;
    font-size: clamp(34px, 3vw, 52px);
    line-height: .95;
    letter-spacing: -.055em;
    font-weight: 950;
}

.md-recent-posts-head-v2 p {
    margin: 10px 0 0;
    color: #5d6f89;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 750;
}

.md-recent-posts-head-v2 > a {
    color: #ef3838;
    font-size: 15px;
    font-weight: 950;
}

.md-recent-posts-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.md-recent-post-card-v2,
.md-recent-post-card-v2:visited {
    display: flex;
    flex-direction: column;
    min-height: 360px;
    overflow: hidden;
    border: 1px solid #dfe7f1;
    border-radius: 26px;
    background: #fff;
    color: #071632;
    box-shadow: 0 24px 60px rgba(15,23,42,.075);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.md-recent-post-card-v2:hover {
    color: #071632;
    transform: translateY(-6px);
    border-color: rgba(239,56,56,.24);
    box-shadow: 0 34px 84px rgba(15,23,42,.14);
}

.md-recent-post-image-v2 {
    display: block;
    height: 165px;
    padding: 12px;
    background: linear-gradient(135deg, #fff7f7, #f2f8ff);
}

.md-recent-post-image-v2 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 19px;
}

.md-recent-post-content-v2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding: 20px 22px 24px;
}

.md-recent-post-cat-v2 {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 0 12px;
    background: #fee2e2;
    color: #ef3838;
    font-size: 11px;
    font-weight: 950;
}

.md-recent-post-card-v2 strong {
    display: block;
    color: #071632;
    font-size: clamp(20px, 1.25vw, 26px);
    line-height: 1.08;
    letter-spacing: -.04em;
    font-weight: 950;
}

.md-recent-post-card-v2 small {
    display: block;
    color: #53657f;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

.md-recent-post-card-v2 em {
    display: inline-flex;
    margin-top: auto;
    color: #ef3838;
    font-style: normal;
    font-size: 14px;
    font-weight: 950;
}

@media (max-width: 1180px) {
    .md-recent-posts-grid-v2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .md-recent-posts-grid-v2 {
        grid-template-columns: 1fr;
    }

    .md-recent-post-card-v2 {
        min-height: 320px;
    }
}


/* Tema içi eski MaxButtons shortcode butonu */
.md-download-area {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0 38px;
}

.md-download-btn,
.md-download-btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 172px;
    min-height: 56px;
    padding: 0 32px;
    border-radius: 16px;
    background: #ef3838;
    color: #ffffff !important;
    font-size: 16px;
    line-height: 1;
    font-weight: 950;
    text-decoration: none !important;
    box-shadow: 0 16px 34px rgba(239, 56, 56, .24);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.md-download-btn::after {
    content: '→';
    margin-left: 10px;
    font-weight: 950;
}

.md-download-btn:hover {
    background: #d9272f;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(239, 56, 56, .30);
}

.md-download-btn:focus {
    outline: 3px solid rgba(239, 56, 56, .24);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .md-download-area {
        justify-content: stretch;
    }

    .md-download-btn {
        width: 100%;
        min-width: 0;
    }
}


/* Ana sayfa kart görselleri tam görünüm fix */
.md-quick-image-v2,
.md-recent-post-image-v2,
.md-latest-exam-visual-clean,
.md-exam-card-visual-v3 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.md-quick-image-v2 img,
.md-recent-post-image-v2 img,
.md-latest-exam-visual-clean img,
.md-exam-card-visual-v3 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

/* Öne çıkan yazı görselleri fotoğraf ise çok küçülmesin diye arka planı yumuşak tut */
.md-recent-post-image-v2,
.md-latest-exam-visual-clean {
    background: linear-gradient(135deg, #fff7f7, #f2f8ff) !important;
}

/* Hızlı erişim SVG görselleri kart içinde daha dengeli dursun */
.md-quick-image-v2 {
    height: 190px !important;
    padding: 16px !important;
}

.md-quick-image-v2 img {
    max-width: 96% !important;
    max-height: 96% !important;
}

/* Son eklenen yazılar ve sınav kartlarında görsel kırpılmadan tam görünsün */
.md-recent-post-image-v2,
.md-latest-exam-visual-clean {
    height: 175px !important;
    padding: 14px !important;
}

.md-recent-post-image-v2 img,
.md-latest-exam-visual-clean img {
    max-width: 100% !important;
    max-height: 100% !important;
}

/* Eğer görseller SVG değil de dikey/yatay fotoğraf ise beyaz boşluk kötü görünmesin */
.md-recent-post-card-v2,
.md-latest-exam-card-clean,
.md-quick-card-modern {
    background: #ffffff !important;
}

@media (max-width: 760px) {
    .md-quick-image-v2,
    .md-recent-post-image-v2,
    .md-latest-exam-visual-clean {
        height: 165px !important;
    }
}


/* Çok ziyaret edilen içerikler kart görselleri tam görünüm fix */
.md-popular-v2 .md-popular-card-v2,
.md-popular-v2 .md-popular-card,
.md-popular-v2 .md-feature-card,
.md-popular-v2 .md-visited-card,
.md-popular-v2 article,
.md-popular-card-v2,
.md-popular-card,
.md-feature-card,
.md-visited-card {
    overflow: hidden;
}

.md-popular-v2 .md-popular-card-v2 img,
.md-popular-v2 .md-popular-card img,
.md-popular-v2 .md-feature-card img,
.md-popular-v2 .md-visited-card img,
.md-popular-v2 article img,
.md-popular-card-v2 img,
.md-popular-card img,
.md-feature-card img,
.md-visited-card img {
    object-fit: contain !important;
    object-position: center center !important;
    background: linear-gradient(135deg, #fff7f7, #f2f8ff) !important;
}

/* Bu bölümde görsel genelde kartın arka planı gibi kullanıldığı için resmi tam gösterip okunabilirliği koruyoruz */
.md-popular-v2 .md-popular-image-v2,
.md-popular-v2 .md-popular-thumb-v2,
.md-popular-v2 .md-card-image-v2,
.md-popular-v2 .md-post-card-image,
.md-popular-image-v2,
.md-popular-thumb-v2,
.md-card-image-v2,
.md-post-card-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #fff7f7, #f2f8ff) !important;
}

/* Eğer görsel inline img olarak değil background-image ile basılıyorsa; kırpma yerine tamamını göster */
.md-popular-v2 [style*="background-image"],
.md-popular-card-v2[style*="background-image"],
.md-popular-card[style*="background-image"],
.md-feature-card[style*="background-image"],
.md-visited-card[style*="background-image"] {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-color: #f7fbff !important;
}

/*
 * Popüler kartlarda koyu overlay çok baskın olduğu için görsel tam görünse de kararıyor.
 * Overlay'i biraz hafifleterek yazı okunurluğunu koruyup resmi daha net gösteriyoruz.
 */
.md-popular-v2 .md-popular-card-v2::before,
.md-popular-v2 .md-popular-card::before,
.md-popular-v2 .md-feature-card::before,
.md-popular-v2 .md-visited-card::before,
.md-popular-card-v2::before,
.md-popular-card::before,
.md-feature-card::before,
.md-visited-card::before {
    opacity: .72 !important;
}

/* Çok ziyaret edilen kartların oranı bozulmadan resmin tamamı sığsın */
.md-popular-v2 img {
    max-width: 100% !important;
    max-height: 100% !important;
}

/* Bazı kartlarda resim absolute/full alan olarak kullanılmış olabilir */
.md-popular-v2 img[class*="thumb"],
.md-popular-v2 img[class*="image"],
.md-popular-v2 img[class*="featured"] {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Desktop görünümde kart yüksekliği biraz artırılarak görselin tam sığması kolaylaştırıldı */
@media (min-width: 900px) {
    .md-popular-v2 .md-popular-card-v2,
    .md-popular-v2 .md-popular-card,
    .md-popular-v2 .md-feature-card,
    .md-popular-v2 .md-visited-card,
    .md-popular-card-v2,
    .md-popular-card,
    .md-feature-card,
    .md-visited-card {
        min-height: 230px;
    }
}

/* İç sayfalar - SEO uyumlu, okunabilir konu sayfası düzeni */
.md-inner-section {
    padding: 26px 0 58px;
    background:
        radial-gradient(circle at 12% 12%, rgba(239,68,68,.07), transparent 28%),
        linear-gradient(180deg, #f5f7fb 0%, #eef3f9 100%);
}
.md-inner-container {
    width: min(var(--site-max-width), calc(100% - var(--site-gutter)));
}
.md-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 auto 14px;
    max-width: 1180px;
    min-height: 58px;
    padding: 13px 18px 13px 24px;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #ef233c;
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .055);
}
.md-breadcrumb a {
    color: #475569;
}
.md-breadcrumb a:hover {
    color: var(--primary);
}
.md-single-content {
    max-width: 1120px;
    border-radius: 28px;
    padding: clamp(24px, 4vw, 48px);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}
.md-single-header {
    max-width: 940px;
    margin-bottom: 24px;
}
.md-topic-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 14px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #fff1f2;
    color: #be123c !important;
    border: 1px solid #ffe4e6;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.md-single-header h1 {
    margin-bottom: 14px;
    color: #0f172a;
    font-size: clamp(30px, 4.4vw, 48px);
    letter-spacing: -.04em;
    line-height: 1.08;
}
.md-single-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0 0 18px;
}
.md-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}
.md-single-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.md-share-links {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}
.md-share-links span {
    padding: 0 6px 0 9px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.md-share-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease;
}
.md-share-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .15);
}
.md-share-facebook { background: #1877f2; }
.md-share-twitter { background: #0f172a; }
.md-share-whatsapp { background: #22c55e; font-size: 11px !important; }
.md-single-lead {
    max-width: 850px;
    margin: 0 !important;
    color: #475569;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 600;
}
.md-single-thumb {
    margin: 4px 0 30px;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}
.md-single-thumb img {
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    background: #fff;
}
.md-content-layout {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}
.md-content-aside {
    position: sticky;
    top: 112px;
}
.md-info-card {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    line-height: 1.45;
}
.md-info-card strong {
    color: #0f172a;
    font-size: 15px;
}
.md-info-card span {
    padding-top: 9px;
    border-top: 1px solid #e2e8f0;
}
.md-entry-content {
    max-width: 820px;
    font-size: 17px;
    line-height: 1.86;
}
.md-page-content .md-entry-content {
    max-width: 880px;
}
.md-entry-content h2 {
    margin: 38px 0 14px !important;
    color: #0f172a;
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -.03em;
}
.md-entry-content h3 {
    margin: 28px 0 12px !important;
    color: #172554;
    font-size: clamp(20px, 2.4vw, 25px);
}
.md-entry-content ul,
.md-entry-content ol {
    margin: 0 0 22px 22px;
    padding: 0;
}
.md-entry-content li {
    margin-bottom: 8px;
}
.md-entry-content blockquote {
    margin: 28px 0;
    padding: 18px 22px;
    border-left: 5px solid var(--primary);
    background: #fff7ed;
    border-radius: 0 16px 16px 0;
    color: #334155;
    font-weight: 650;
}
.md-entry-content img {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #fff;
}
.md-entry-content .wp-caption {
    max-width: 100% !important;
}
.md-entry-content .wp-caption-text {
    margin-top: -14px !important;
    color: #64748b;
    font-size: 13px;
    text-align: center !important;
}
.md-related-posts {
    max-width: 1120px;
    margin: 26px auto 0;
}
.md-related-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}
.md-related-heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: 26px;
    letter-spacing: -.035em;
}
.md-related-heading p {
    margin: 0;
    color: #64748b;
    font-weight: 650;
}
.md-related-grid .post-card {
    box-shadow: 0 16px 40px rgba(15,23,42,.07);
}
.md-page-header {
    max-width: 860px;
}

@media (max-width: 980px) {
    .md-content-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .md-content-aside {
        position: static;
        order: 2;
    }
    .md-info-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .md-info-card strong {
        grid-column: 1 / -1;
    }
    .md-entry-content {
        max-width: 100%;
    }
}
@media (max-width: 620px) {
    :root {
        --site-gutter: 28px;
    }
    .md-inner-section {
        padding-top: 18px;
    }
    .md-breadcrumb {
        min-height: auto;
        padding: 12px 14px 12px 18px;
        border-radius: 14px;
        font-size: 12px;
    }
    .md-single-content {
        border-radius: 20px;
        padding: 22px;
    }
    .md-single-header h1 {
        font-size: clamp(28px, 9vw, 36px);
    }
    .md-info-card {
        grid-template-columns: 1fr;
    }
    .md-related-heading {
        display: block;
    }
}

/* İç yazı sayfası: yan konu listesi, etiketler ve önceki/sonraki konu alanı */
.md-single-shell {
    display: grid;
    grid-template-columns: 305px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    max-width: 1180px;
    margin: 0 auto;
}
.md-single-shell .md-single-content {
    max-width: none;
    width: 100%;
}
.md-single-rail {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 18px;
}
.md-rail-card {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
}
.md-rail-heading {
    padding: 18px 18px 14px;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
}
.md-rail-heading span {
    display: block;
    margin-bottom: 5px;
    color: #e11d48;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.md-rail-heading strong {
    display: block;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.18;
    letter-spacing: -.03em;
}
.md-rail-posts {
    display: grid;
}
.md-rail-post {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid #eef2f7;
    color: #0f172a;
    transition: background .2s ease, transform .2s ease;
}
.md-rail-post:last-child {
    border-bottom: 0;
}
.md-rail-post:hover {
    background: #f8fafc;
    transform: translateX(3px);
}
.md-rail-thumb {
    display: block;
    width: 94px;
    height: 72px;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}
.md-rail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.md-rail-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #e11d48;
    font-weight: 900;
    background: #fff1f2;
}
.md-rail-text {
    display: grid;
    align-content: center;
    gap: 7px;
    min-width: 0;
}
.md-rail-text strong {
    display: -webkit-box;
    overflow: hidden;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.28;
    font-weight: 900;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.md-rail-text small {
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1.35;
}
.md-rail-empty {
    margin: 0;
    padding: 18px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}
.md-ad-placeholder {
    display: grid;
    place-items: center;
    min-height: 250px;
    padding: 22px;
    border-style: dashed;
    background: repeating-linear-gradient(135deg, #f8fafc, #f8fafc 10px, #ffffff 10px, #ffffff 20px);
    text-align: center;
}
.md-ad-placeholder span {
    display: block;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
}
.md-ad-placeholder small {
    display: block;
    max-width: 210px;
    margin-top: 8px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 800;
}
.md-post-footer {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid #e2e8f0;
}
.md-post-tags {
    display: grid;
    gap: 12px;
    margin-bottom: 22px;
    padding: 18px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.md-post-tags strong {
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
}
.md-post-tags div {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.md-post-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
}
.md-post-tags a:hover {
    border-color: #fecdd3;
    color: #e11d48;
    background: #fff1f2;
}
.md-post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.md-post-nav-card {
    display: grid;
    gap: 8px;
    min-height: 112px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}
.md-post-nav-card span {
    color: #e11d48;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.md-post-nav-card strong {
    color: #0f172a;
    font-size: 16px;
    line-height: 1.35;
}
.md-post-nav-card:hover {
    border-color: #fecdd3;
    background: #fff8f8;
}

@media (max-width: 1100px) {
    .md-single-shell {
        grid-template-columns: 1fr;
    }
    .md-single-rail {
        position: static;
        order: 2;
    }
    .md-rail-posts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .md-ad-placeholder {
        min-height: 150px;
    }
}
@media (max-width: 720px) {
    .md-rail-posts,
    .md-post-nav {
        grid-template-columns: 1fr;
    }
    .md-rail-post:hover {
        transform: none;
    }
}


/* İç sayfa breadcrumb alanı yazı kartının içine alındı */
.md-single-header .md-single-breadcrumb {
    max-width: none;
    width: 100%;
    min-height: auto;
    margin: 0 0 24px;
    padding: 14px 16px 14px 18px;
    border-radius: 18px;
    background: #f8fafc;
    box-shadow: none;
}
.md-single-header .md-single-breadcrumb + .md-topic-label {
    margin-top: 0;
}
@media (max-width: 620px) {
    .md-single-header .md-single-breadcrumb {
        margin-bottom: 18px;
        padding: 12px 14px;
    }
}

/* İç sayfa modern 3 kolon düzeni: sol konular + ana yazı + sağ dikey reklam */
.single-section.md-inner-section {
    padding-top: 34px;
    background:
        radial-gradient(circle at 18% 8%, rgba(239, 35, 60, .055), transparent 28%),
        linear-gradient(180deg, #fafbff 0%, #f5f7fb 100%);
}
.single-section .md-inner-container {
    width: min(1560px, calc(100% - 42px));
    max-width: 1560px;
}
.md-single-shell {
    max-width: 1560px;
    grid-template-columns: 340px minmax(0, 1fr) 208px;
    gap: 28px;
    align-items: start;
}
.md-single-shell .md-single-content {
    border-radius: 28px;
    padding: clamp(30px, 3.4vw, 48px);
    box-shadow: 0 26px 70px rgba(15, 23, 42, .075);
}
.md-single-header {
    max-width: none;
}
.md-single-header .md-single-breadcrumb {
    margin-bottom: 30px;
    padding: 16px 20px 16px 24px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fbfdff 0%, #f8fafc 100%);
}
.md-single-header h1 {
    margin-top: 0;
    margin-bottom: 18px;
    max-width: 940px;
}
.md-single-topline {
    align-items: center;
    margin-bottom: 28px;
}
.md-single-meta span,
.md-share-links {
    min-height: 44px;
    border-color: #dbe5f1;
    background: #f8fafc;
}
.md-single-meta span {
    padding: 8px 14px;
}
.md-share-links {
    padding: 5px 7px 5px 14px;
}
.md-share-links span {
    color: #475569;
}
.md-share-links a {
    width: 36px;
    height: 36px;
}
.md-entry-content {
    max-width: 930px;
}
.md-single-thumb {
    border-radius: 22px;
    overflow: hidden;
}
.md-single-rail,
.md-single-ad-rail {
    position: sticky;
    top: 104px;
}
.md-single-rail {
    gap: 18px;
}
.md-rail-card {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid #e3eaf2;
    background: rgba(255,255,255,.95);
    box-shadow: 0 20px 52px rgba(15, 23, 42, .065);
}
.md-rail-heading {
    padding: 22px 22px 16px;
}
.md-rail-heading-simple {
    padding-bottom: 18px;
}
.md-rail-heading-simple strong {
    display: block;
    color: #071632;
    font-size: 17px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -.02em;
}
.md-rail-heading-simple::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin-top: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ef3838, #ff7d7d);
}
.md-rail-posts {
    display: grid;
}
.md-rail-post {
    align-items: center;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 16px;
}
.md-rail-thumb {
    width: 108px;
    height: 82px;
    border-radius: 16px;
}
.md-rail-text {
    min-width: 0;
    display: flex;
    align-items: center;
}
.md-rail-text strong {
    display: -webkit-box;
    overflow: hidden;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.34;
    font-weight: 850;
    letter-spacing: -.01em;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.md-rail-text small {
    display: none;
}
.md-single-ad-rail {
    display: grid;
    gap: 16px;
}
.md-vertical-ad-placeholder {
    display: grid;
    place-items: center;
    min-height: 600px;
    padding: 22px 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.96)),
        repeating-linear-gradient(135deg, #eef2f7, #eef2f7 10px, #ffffff 10px, #ffffff 20px);
    text-align: center;
    box-shadow: 0 20px 52px rgba(15, 23, 42, .055);
}
.md-vertical-ad-placeholder span {
    display: block;
    color: #0f172a;
    font-size: 17px;
    font-weight: 900;
}
.md-vertical-ad-placeholder small {
    display: block;
    max-width: 120px;
    margin-top: 8px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}
@media (max-width: 1400px) {
    .single-section .md-inner-container {
        width: min(100%, calc(100% - 30px));
    }
    .md-single-shell {
        grid-template-columns: 300px minmax(0, 1fr) 190px;
        gap: 20px;
    }
}
@media (max-width: 1280px) {
    .md-single-shell {
        grid-template-columns: 300px minmax(0, 1fr);
    }
    .md-single-ad-rail {
        display: none;
    }
}
@media (max-width: 1100px) {
    .single-section .md-inner-container {
        width: min(var(--site-max-width), calc(100% - var(--site-gutter)));
    }
    .md-single-shell {
        grid-template-columns: 1fr;
    }
    .md-single-rail {
        position: static;
        order: 2;
    }
}
@media (max-width: 720px) {
    .single-section .md-inner-container {
        width: min(100%, calc(100% - 24px));
    }
    .single-section.md-inner-section {
        padding-top: 22px;
    }
    .md-single-shell .md-single-content {
        padding: 22px;
        border-radius: 20px;
    }
    .md-single-topline {
        gap: 12px;
    }
    .md-share-links {
        width: 100%;
        justify-content: flex-start;
    }
    .md-rail-post {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 12px;
        padding: 12px 14px;
    }
    .md-rail-thumb {
        width: 92px;
        height: 72px;
    }
}


/* İç sayfa premium görünüm v2 */
.md-single-shell .md-single-content {
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94)),
        radial-gradient(circle at 92% 0%, rgba(239,56,56,.08), transparent 34%);
    border: 1px solid rgba(214,226,241,.95);
}

.md-single-header .md-single-breadcrumb {
    box-shadow: inset 4px 0 0 #ef233c, 0 12px 28px rgba(15,23,42,.045);
}

.md-single-header h1 {
    letter-spacing: -.055em;
    text-wrap: balance;
}

.md-single-meta {
    gap: 10px;
}

.md-single-meta span,
.md-share-links {
    box-shadow: 0 10px 24px rgba(15,23,42,.045);
}

.md-single-meta span {
    background: linear-gradient(180deg, #fff, #f8fafc);
    color: #53647c;
    font-weight: 900;
}

.md-share-links {
    background: #fff;
    box-shadow: 0 16px 36px rgba(15,23,42,.075);
}

.md-share-links span {
    letter-spacing: .04em;
}

.md-share-links a {
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.md-share-links a:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 12px 22px rgba(15,23,42,.16);
}

.md-single-thumb {
    border: 1px solid #dfe7f1;
    box-shadow: 0 22px 48px rgba(15,23,42,.08);
}

/* Sol ilgili konular: hover + okunma/yorum geri eklendi */
.md-rail-related {
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
}

.md-rail-post {
    position: relative;
    border-left: 3px solid transparent;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.md-rail-post:hover {
    transform: translateX(5px);
    border-left-color: #ef233c;
    background: #fff7f7;
    box-shadow: inset 0 0 0 1px rgba(239,56,56,.08);
}

.md-rail-post:hover .md-rail-thumb img {
    transform: scale(1.06);
}

.md-rail-thumb {
    overflow: hidden;
    background: #eef2f7;
    box-shadow: inset 0 0 0 1px rgba(15,23,42,.06);
}

.md-rail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.md-rail-text {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}

.md-rail-text strong {
    -webkit-line-clamp: 2;
}

.md-rail-text small {
    display: block;
    color: #8a98ad;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 850;
}

/* Sağ reklam alanı: profesyonel widget kart */
.md-single-ad-rail {
    align-self: start;
}

.md-vertical-ad-placeholder {
    position: relative;
    overflow: hidden;
    align-content: center;
    min-height: 600px;
    border: 1px solid rgba(214,226,241,.95);
    border-radius: 26px;
    background:
        radial-gradient(circle at 50% 0%, rgba(239,56,56,.10), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 24px 58px rgba(15,23,42,.08);
}

.md-vertical-ad-placeholder::before {
    content: "REKLAM";
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 11px;
    border-radius: 999px;
    background: #fff1f2;
    color: #e11d48;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .12em;
}

.md-vertical-ad-placeholder::after {
    content: "";
    position: absolute;
    inset: 62px 18px 18px;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    pointer-events: none;
}

.md-vertical-ad-placeholder span {
    position: relative;
    z-index: 1;
    font-size: 18px;
    letter-spacing: -.02em;
}

.md-vertical-ad-placeholder small {
    position: relative;
    z-index: 1;
    max-width: 140px;
    font-size: 12px;
}

@media (max-width: 720px) {
    .md-rail-post:hover {
        transform: none;
    }
}


/* İç sayfa çıtı pıtı / daha zarif yazı stili v3 */
.single-section.md-inner-section {
    padding-top: 28px;
}

.md-single-shell {
    grid-template-columns: 320px minmax(0, 1fr) 200px;
    gap: 24px;
}

.md-single-shell .md-single-content {
    padding: clamp(28px, 3vw, 42px);
}

/* Başlık alanı daha ince ve modern */
.md-single-header h1 {
    max-width: 900px;
    margin-bottom: 16px;
    color: #101828;
    font-size: clamp(34px, 3.55vw, 54px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.045em;
}

/* Breadcrumb daha küçük ve temiz */
.md-single-header .md-single-breadcrumb {
    margin-bottom: 26px;
    min-height: 54px;
    padding: 13px 18px 13px 22px;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 750;
}

.md-breadcrumb a,
.md-breadcrumb span {
    font-size: 13px;
}

/* Meta bilgiler hap gibi ama daha küçük */
.md-single-topline {
    margin-bottom: 24px;
}

.md-single-meta {
    gap: 8px;
}

.md-single-meta span {
    min-height: 38px;
    padding: 7px 12px;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
}

/* Paylaşım alanı küçültüldü */
.md-share-links {
    min-height: 38px;
    padding: 4px 6px 4px 12px;
}

.md-share-links span {
    font-size: 12px;
    font-weight: 850;
}

.md-share-links a {
    width: 32px;
    height: 32px;
    font-size: 13px;
}

/* İçerik yazıları daha okunaklı ama ağır durmayan ölçüde */
.md-entry-content {
    max-width: 900px;
    color: #1f2937;
    font-size: 17px;
    line-height: 1.78;
    font-weight: 450;
}

.md-entry-content p {
    margin-bottom: 18px;
}

.md-entry-content h2 {
    margin-top: 34px;
    margin-bottom: 14px;
    color: #101828;
    font-size: clamp(24px, 2.2vw, 32px);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.025em;
}

.md-entry-content h3 {
    margin-top: 28px;
    margin-bottom: 12px;
    color: #101828;
    font-size: clamp(20px, 1.8vw, 26px);
    line-height: 1.22;
    font-weight: 800;
}

/* Sol ilgili konular daha zarif */
.md-rail-heading-simple strong {
    font-size: 16px;
    font-weight: 850;
    letter-spacing: -.015em;
}

.md-rail-heading-simple::after {
    width: 48px;
    height: 3px;
}

.md-rail-post {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 14px;
}

.md-rail-thumb {
    width: 96px;
    height: 72px;
    border-radius: 14px;
}

.md-rail-text {
    gap: 6px;
}

.md-rail-text strong {
    font-size: 14px;
    line-height: 1.32;
    font-weight: 800;
    letter-spacing: -.01em;
}

.md-rail-text small {
    font-size: 11.5px;
    line-height: 1.25;
    font-weight: 750;
}

/* Sağ reklam widget biraz daha ince */
.md-vertical-ad-placeholder {
    min-height: 580px;
    border-radius: 24px;
}

.md-vertical-ad-placeholder span {
    font-size: 16px;
    font-weight: 850;
}

.md-vertical-ad-placeholder small {
    font-size: 11.5px;
    font-weight: 750;
}

/* Görsel alanı daha kontrollü */
.md-single-thumb {
    margin-top: 4px;
    border-radius: 20px;
}

.md-single-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

/* Büyük ekranda çok iri durmasın */
@media (min-width: 1500px) {
    .md-single-header h1 {
        font-size: 52px;
    }
}

/* Orta ekran ayarı */
@media (max-width: 1400px) {
    .md-single-shell {
        grid-template-columns: 300px minmax(0, 1fr) 185px;
        gap: 20px;
    }

    .md-single-header h1 {
        font-size: clamp(32px, 3.35vw, 48px);
    }

    .md-rail-post {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .md-rail-thumb {
        width: 88px;
        height: 68px;
    }
}

@media (max-width: 720px) {
    .md-single-header h1 {
        font-size: 32px;
        letter-spacing: -.035em;
    }

    .md-entry-content {
        font-size: 16px;
        line-height: 1.72;
    }

    .md-single-meta span {
        min-height: 36px;
        font-size: 12.5px;
    }
}


/* İç sayfa başlık küçültme v4 */
.md-single-header h1 {
    max-width: 820px;
    font-size: clamp(30px, 2.75vw, 42px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.035em;
}

@media (min-width: 1500px) {
    .md-single-header h1 {
        font-size: 42px;
    }
}

@media (max-width: 1400px) {
    .md-single-header h1 {
        font-size: clamp(28px, 2.65vw, 38px);
    }
}

@media (max-width: 720px) {
    .md-single-header h1 {
        font-size: 28px;
        line-height: 1.16;
    }
}


/* İç sayfa meta, paylaşım ve etiket alanı küçültme v5 */
.md-single-topline {
    margin-bottom: 20px;
    gap: 12px;
}

.md-single-meta {
    gap: 7px;
}

.md-single-meta span {
    min-height: 34px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
}

.md-share-links {
    min-height: 34px;
    padding: 3px 5px 3px 10px;
    border-radius: 999px;
}

.md-share-links span {
    font-size: 11px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .035em;
}

.md-share-links a {
    width: 28px;
    height: 28px;
    font-size: 11px;
}

/* Yazı altı etiket alanı daha küçük */
.md-post-footer {
    margin-top: 34px;
}

.md-post-tags {
    padding: 18px 20px;
    border-radius: 18px;
}

.md-post-tags strong {
    font-size: 13px;
    line-height: 1;
    letter-spacing: .04em;
}

.md-post-tags div {
    gap: 7px;
}

.md-post-tags a {
    min-height: 30px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
}

/* Önceki / sonraki konu kartları da biraz küçültüldü */
.md-post-nav {
    gap: 12px;
    margin-top: 18px;
}

.md-post-nav-card {
    padding: 16px 18px;
    border-radius: 18px;
}

.md-post-nav-card span {
    font-size: 11px;
    line-height: 1;
}

.md-post-nav-card strong {
    margin-top: 7px;
    font-size: 15px;
    line-height: 1.28;
}

@media (max-width: 720px) {
    .md-single-meta span {
        min-height: 32px;
        padding: 6px 10px;
        font-size: 11.5px;
    }

    .md-share-links {
        width: auto;
        min-height: 32px;
    }

    .md-share-links a {
        width: 27px;
        height: 27px;
    }

    .md-post-tags {
        padding: 16px;
    }
}


/* Sol ilginizi çeker yazılarını yumuşatma v6 */
.md-rail-heading-simple strong {
    color: #111827;
    font-size: 15.5px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.md-rail-post {
    padding: 12px 14px;
}

.md-rail-text strong {
    color: #182033;
    font-size: 13.5px;
    line-height: 1.34;
    font-weight: 750;
    letter-spacing: -.006em;
}

.md-rail-text small {
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 700;
}

.md-rail-post:hover .md-rail-text strong {
    color: #111827;
}

.md-rail-post:hover {
    background: #fffafa;
}

@media (max-width: 1400px) {
    .md-rail-text strong {
        font-size: 13px;
        line-height: 1.34;
    }

    .md-rail-text small {
        font-size: 10.8px;
    }
}

@media (max-width: 720px) {
    .md-rail-text strong {
        font-size: 13px;
    }
}


/* Ana sayfa / liste kartlarında kategori hizasına tarih ve okunma sayısı v7 */
.md-post-badge,
.post-card-category,
.md-card-badge,
.md-latest-badge,
.md-category-badge {
    vertical-align: middle;
}

.md-card-mini-meta {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-left: 10px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #dfe7f1;
    color: #718096;
    font-size: 11.5px;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .md-card-mini-meta {
        margin-left: 0;
        margin-top: 8px;
        font-size: 11px;
    }
}


/* Ana sayfa kartlarında kategori + tarih + okunma kesin görünüm v8 */
.md-card-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.md-card-meta-row .md-card-mini-meta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    margin-left: 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #dfe7f1;
    color: #718096;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
}

.md-card-meta-row .md-card-mini-meta span + span::before {
    content: "•";
    margin-right: 7px;
    color: #c0cad8;
}

@media (max-width: 760px) {
    .md-card-meta-row {
        gap: 7px;
    }

    .md-card-meta-row .md-card-mini-meta {
        min-height: 27px;
        padding: 6px 9px;
        font-size: 10.8px;
    }
}


/* İç sayfa yorum alanı v9 */
.md-comments-wrap {
    margin-top: 34px;
}

.md-comments {
    border: 1px solid #dfe7f1;
    border-radius: 24px;
    padding: clamp(22px, 3vw, 34px);
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
    box-shadow: 0 20px 48px rgba(15,23,42,.055);
}

.md-comments-head {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e6edf5;
}

.md-comments-head span {
    display: inline-flex;
    margin-bottom: 8px;
    border-radius: 999px;
    padding: 6px 10px;
    background: #fff1f2;
    color: #e11d48;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.md-comments-head h2 {
    margin: 0 0 6px;
    color: #101828;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.03em;
}

.md-comments-head p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 600;
}

.md-comment-list {
    display: grid;
    gap: 14px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.md-comment-list .children {
    margin: 14px 0 0 58px;
    padding: 0;
    list-style: none;
}

.md-comment-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border: 1px solid #e3eaf2;
    border-radius: 18px;
    background: #fff;
}

.md-comment-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.md-comment-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.md-comment-meta strong {
    color: #101828;
    font-size: 14px;
    line-height: 1;
    font-weight: 850;
}

.md-comment-meta span {
    color: #98a2b3;
    font-size: 12px;
    line-height: 1;
    font-weight: 750;
}

.md-comment-text {
    color: #344054;
    font-size: 14.5px;
    line-height: 1.65;
    font-weight: 500;
}

.md-comment-text p {
    margin: 0 0 10px;
}

.md-comment-text p:last-child {
    margin-bottom: 0;
}

.md-comment-awaiting {
    margin: 0 0 8px;
    color: #b45309;
    font-size: 13px;
    font-weight: 800;
}

.md-comment-reply {
    margin-top: 10px;
}

.md-comment-reply a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #dfe7f1;
    color: #ef233c;
    font-size: 12px;
    line-height: 1;
    font-weight: 850;
}

.md-comments .comment-reply-title {
    margin: 0 0 12px;
    color: #101828;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.02em;
}

.md-comments .comment-notes,
.md-comments .logged-in-as {
    margin: 0 0 14px;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
}

.md-comments .comment-form {
    display: grid;
    gap: 13px;
    margin-top: 22px;
}

.md-comments .comment-form p {
    margin: 0;
}

.md-comments label {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 850;
}

.md-comments input[type="text"],
.md-comments input[type="email"],
.md-comments input[type="url"],
.md-comments textarea {
    width: 100%;
    border: 1px solid #d8e2ee;
    border-radius: 14px;
    padding: 12px 13px;
    background: #fff;
    color: #101828;
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.md-comments textarea {
    resize: vertical;
    min-height: 130px;
}

.md-comments input:focus,
.md-comments textarea:focus {
    border-color: rgba(239,35,60,.45);
    box-shadow: 0 0 0 4px rgba(239,35,60,.08);
}

.md-comments .form-submit {
    margin-top: 4px;
}

.md-comment-submit,
.md-comments input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 0;
    border-radius: 999px;
    padding: 0 18px;
    background: #ef233c;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(239,35,60,.20);
}

.md-comments-closed {
    margin: 0;
    color: #667085;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 720px) {
    .md-comments {
        padding: 18px;
        border-radius: 20px;
    }

    .md-comment-card {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 14px;
    }

    .md-comment-avatar img {
        width: 38px;
        height: 38px;
    }

    .md-comment-list .children {
        margin-left: 24px;
    }
}


/* Admin yorum sil/düzenle bağlantıları v10 */
.md-comment-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.md-comment-actions .md-comment-reply {
    margin-top: 0;
}

.md-comment-admin-actions {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.md-comment-admin-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #dfe7f1;
    background: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 850;
}

.md-comment-edit-link {
    color: #475569;
}

.md-comment-delete-link {
    color: #dc2626;
    border-color: #fecaca !important;
    background: #fff5f5 !important;
}

.md-comment-delete-link:hover {
    color: #b91c1c;
    background: #fee2e2 !important;
}


/* Yorumlarda ilk 5 göster / diğerlerini aç v11 */
.md-comment-list > li:nth-child(n+6) {
    display: none;
}

.md-comments.is-expanded .md-comment-list > li {
    display: list-item;
}

.md-comments-show-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin: 2px 0 24px;
    border: 1px solid #fecaca;
    border-radius: 999px;
    padding: 0 16px;
    background: #fff5f5;
    color: #e11d48;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(239,35,60,.08);
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.md-comments-show-more:hover {
    transform: translateY(-1px);
    background: #ffe4e6;
    box-shadow: 0 14px 28px rgba(239,35,60,.12);
}

.md-comments.is-expanded .md-comments-show-more {
    background: #f8fafc;
    border-color: #dfe7f1;
    color: #475569;
}

@media (max-width: 720px) {
    .md-comments-show-more {
        width: 100%;
    }
}


/* Footer link düzeni ve boş link korumalı modern footer v12 */
.md-site-footer {
    border-top: 1px solid #dfe7f1;
    background:
        radial-gradient(circle at 8% 0%, rgba(239,35,60,.08), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.md-footer-grid {
    grid-template-columns: 1.35fr 1fr 1.15fr 1.15fr 1fr;
    gap: 28px;
    align-items: start;
}

.md-footer-brand p {
    max-width: 330px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 650;
}

.md-footer-col h3 {
    position: relative;
    margin-bottom: 16px;
    color: #101828;
    font-size: 15px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.01em;
}

.md-footer-col h3::after {
    content: "";
    display: block;
    width: 38px;
    height: 3px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ef233c, #ff7d7d);
}

.md-footer-col ul {
    display: grid;
    gap: 8px;
}

.md-footer-col a {
    display: inline-flex;
    color: #53647c;
    font-size: 13.5px;
    line-height: 1.35;
    font-weight: 750;
    transition: color .18s ease, transform .18s ease;
}

.md-footer-col a:hover {
    color: #ef233c;
    transform: translateX(3px);
}

.md-footer-contact {
    margin: 14px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.md-footer-bottom {
    border-top: 1px solid #e6edf5;
}

.md-footer-bottom-inner {
    gap: 16px;
}

.md-footer-bottom a {
    color: #53647c;
    font-weight: 800;
}

.md-footer-bottom a:hover {
    color: #ef233c;
}

@media (max-width: 1180px) {
    .md-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .md-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .md-footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* Footer modern renk düzeni v13 */
.md-site-footer {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,.06);
    background:
        radial-gradient(circle at 12% 0%, rgba(239,35,60,.22), transparent 24%),
        radial-gradient(circle at 88% 14%, rgba(59,130,246,.16), transparent 22%),
        linear-gradient(135deg, #0b1324 0%, #101a31 48%, #0f172a 100%);
}

.md-site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,.035), transparent 32%),
        linear-gradient(90deg, transparent 0%, rgba(255,255,255,.03) 50%, transparent 100%);
    pointer-events: none;
}

.md-footer-grid,
.md-footer-bottom {
    position: relative;
    z-index: 1;
}

.md-footer-grid {
    padding-top: 56px;
    padding-bottom: 40px;
}

.md-footer-brand .site-footer-logo-image {
    filter: drop-shadow(0 8px 24px rgba(0,0,0,.28));
}

.md-footer-brand p {
    max-width: 350px;
    color: rgba(226,232,240,.82);
    font-size: 14px;
    line-height: 1.75;
    font-weight: 600;
}

.md-footer-col h3 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 850;
    letter-spacing: -.01em;
}

.md-footer-col h3::after {
    width: 42px;
    height: 3px;
    background: linear-gradient(90deg, #ef233c, #fb7185);
}

.md-footer-col ul {
    gap: 10px;
}

.md-footer-col a {
    color: rgba(226,232,240,.82);
    font-size: 13.5px;
    line-height: 1.4;
    font-weight: 650;
    transition: color .18s ease, transform .18s ease, opacity .18s ease;
}

.md-footer-col a:hover {
    color: #ffffff;
    transform: translateX(4px);
    opacity: 1;
}

.md-footer-col--info {
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.04);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
    backdrop-filter: blur(4px);
}

.md-footer-contact {
    margin-top: 16px;
    color: #f8fafc;
    font-size: 13px;
    font-weight: 800;
}

.md-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
}

.md-footer-bottom-inner {
    min-height: 62px;
}

.md-footer-bottom-inner span {
    color: rgba(226,232,240,.76);
    font-size: 13px;
    font-weight: 650;
}

.md-footer-bottom a {
    color: #ffffff;
    font-weight: 800;
}

.md-footer-bottom a:hover {
    color: #fda4af;
}

@media (max-width: 760px) {
    .md-footer-grid {
        padding-top: 42px;
        padding-bottom: 32px;
    }

    .md-footer-col--info {
        padding: 16px;
    }
}


/* Footer sade 4 sütun düzeni v14 */
.md-footer-grid {
    grid-template-columns: 1.45fr 1fr 1.2fr 1.2fr;
    gap: 42px;
}

@media (max-width: 1180px) {
    .md-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md-footer-brand {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .md-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}


/* Footer bilgilendirme bloğu kesin kaldırıldı v15 */
.md-footer-grid {
    grid-template-columns: 1.45fr 1fr 1.2fr 1.2fr;
    gap: 42px;
}

.md-footer-col--info {
    display: none !important;
}

/* Motor Dersi tema içi reklam alanları v18 */
.md-theme-ad-slot {
    width: 100%;
    margin: 24px 0;
    text-align: center;
}

.md-theme-ad-slot:empty {
    display: none;
}

.md-theme-ad-before-content,
.md-theme-ad-after-content,
.md-theme-ad-inline {
    overflow: hidden;
    border-radius: 18px;
}

.md-theme-ad-inline {
    margin: 28px 0;
}

.md-theme-ad-sidebar {
    margin: 0;
}

.md-theme-ad-sidebar iframe,
.md-theme-ad-sidebar img,
.md-theme-ad-sidebar ins {
    max-width: 100%;
}

.md-home-ad-section {
    padding: 18px 0 0;
}

.md-theme-ad-home-after-hero {
    margin: 0 auto 22px;
}

.md-footer-before-ad {
    padding: 24px 0;
    background: #f8fafc;
}

.md-theme-ad-footer-before {
    margin: 0 auto;
}

@media (max-width: 720px) {
    .md-theme-ad-slot {
        margin: 18px 0;
    }
}


/* Reklam Merkezi profesyonel slot görünümü v19 */
.md-theme-ad-slot {
    position: relative;
}

.md-theme-ad-slot iframe,
.md-theme-ad-slot img,
.md-theme-ad-slot ins {
    max-width: 100%;
}

.md-theme-ad-before-content,
.md-theme-ad-after-content,
.md-theme-ad-inline,
.md-theme-ad-home-after-hero,
.md-theme-ad-footer-before {
    display: flex;
    justify-content: center;
    align-items: center;
}

.md-theme-ad-sidebar {
    display: block;
    width: 100%;
}


/* Ana sayfa yeni reklam yerleşimleri v20 */
.md-home-ad-section-after-quick {
    padding: 8px 0 34px;
}

.md-home-ad-section-before-quiz {
    padding: 8px 0 34px;
}

.md-home-ad-section .md-theme-ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    margin: 0 auto;
}

.md-home-ad-section .md-theme-ad-slot:empty {
    display: none;
}

.md-theme-ad-home-after-quick,
.md-theme-ad-home-before-quiz {
    overflow: hidden;
    border-radius: 18px;
}

.md-theme-ad-home-after-quick iframe,
.md-theme-ad-home-after-quick img,
.md-theme-ad-home-after-quick ins,
.md-theme-ad-home-before-quiz iframe,
.md-theme-ad-home-before-quiz img,
.md-theme-ad-home-before-quiz ins {
    max-width: 100%;
}


/* Ana sayfa reklam alanı boşluk azaltma v21 */
.md-home-ad-section-after-quick {
    padding: 0 0 18px !important;
}

.md-home-ad-section-before-quiz {
    padding: 0 0 18px !important;
}

.md-theme-ad-home-after-quick,
.md-theme-ad-home-before-quiz {
    margin: 0 auto !important;
}

.md-recent-posts-v2 {
    padding-top: 34px !important;
}

.md-latest-quiz-v2 {
    padding-top: 34px !important;
}

@media (max-width: 720px) {
    .md-home-ad-section-after-quick,
    .md-home-ad-section-before-quiz {
        padding-bottom: 14px !important;
    }

    .md-recent-posts-v2,
    .md-latest-quiz-v2 {
        padding-top: 26px !important;
    }
}


/* Ana sayfa bölüm aralıkları kesin sıkılaştırma v22 */
/* Sorun reklam kodundan değil; reklam section'ı boşken bile bölüm paddingleri ve min-height etkisi aralık oluşturabiliyordu. */

.md-quick-v2 {
    padding-bottom: 18px !important;
}

.md-recent-posts-v2 {
    padding-top: 18px !important;
}

.md-popular-section-v2 {
    padding-top: 34px !important;
    padding-bottom: 22px !important;
}

.md-latest-quiz-v2 {
    padding-top: 22px !important;
}

/* Reklam kodu yoksa reklam section'ı tamamen kaybolsun */
.md-home-ad-section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.md-home-ad-section .md-theme-ad-slot:empty {
    display: none !important;
}

.md-home-ad-section:not(:has(.md-theme-ad-slot:not(:empty))) {
    display: none !important;
}

/* Reklam kodu varsa ölçülü boşlukla göster */
.md-home-ad-section:has(.md-theme-ad-slot:not(:empty)) {
    display: block !important;
    padding: 12px 0 22px !important;
}

.md-home-ad-section:has(.md-theme-ad-slot:not(:empty)) + .md-recent-posts-v2 {
    padding-top: 14px !important;
}

.md-home-ad-section:has(.md-theme-ad-slot:not(:empty)) + .md-latest-quiz-v2 {
    padding-top: 14px !important;
}

/* Reklam kutusunun kendi iç marginleri sayfayı gereksiz açmasın */
.md-theme-ad-home-after-hero,
.md-theme-ad-home-after-quick,
.md-theme-ad-home-before-quiz {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Hızlı kartlar görseldeki gibi ekrana yakın dursun */
.md-quick-grid-v2 {
    margin-bottom: 0 !important;
}

@media (max-width: 720px) {
    .md-quick-v2 {
        padding-bottom: 14px !important;
    }

    .md-recent-posts-v2,
    .md-latest-quiz-v2 {
        padding-top: 16px !important;
    }

    .md-home-ad-section:has(.md-theme-ad-slot:not(:empty)) {
        padding: 10px 0 16px !important;
    }
}


/* Son Eklenen Sınavlar - reklam sonrası boşluğu kesin kapatma v23 */
.md-home-ad-section-before-quiz {
    padding: 0 0 10px !important;
    margin: 0 !important;
}

.md-home-ad-section-before-quiz .md-theme-ad-slot,
.md-theme-ad-home-before-quiz {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.md-home-ad-section-before-quiz + .md-latest-quiz-v2,
.md-latest-quiz-v2 {
    padding-top: 8px !important;
    margin-top: 0 !important;
}

.md-latest-quiz-v2 .md-latest-quiz-wrap-v2 {
    margin-top: 0 !important;
}

.md-latest-quiz-v2 .md-section-top-v2,
.md-latest-quiz-v2 .md-latest-head-v2 {
    margin-top: 0 !important;
    margin-bottom: 22px !important;
}

/* Reklam kutusunun altındaki ekstra görsel nefesi azalt */
.md-home-ad-section-before-quiz:has(.md-theme-ad-slot:not(:empty)) {
    padding-bottom: 10px !important;
}

@media (max-width: 720px) {
    .md-home-ad-section-before-quiz {
        padding-bottom: 8px !important;
    }

    .md-home-ad-section-before-quiz + .md-latest-quiz-v2,
    .md-latest-quiz-v2 {
        padding-top: 6px !important;
    }
}

/* İletişim sayfası profesyonel görünüm düzenlemesi */
body.page .md-page-content .md-entry-content.md-contact-content {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    gap: 22px;
    color: #172033;
}

body.page .md-page-content .md-entry-content.md-contact-content > p:first-child:has(img) {
    margin: 0 0 4px !important;
}

body.page .md-page-content .md-entry-content.md-contact-content > p:first-child img,
body.page .md-page-content .md-entry-content.md-contact-content img[src*="iletisim"],
body.page .md-page-content .md-entry-content.md-contact-content img[alt*="İletişim"],
body.page .md-page-content .md-entry-content.md-contact-content img[alt*="Bize"] {
    width: 100% !important;
    max-width: 760px !important;
    max-height: 250px;
    object-fit: cover;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 24px !important;
    box-shadow: 0 22px 54px rgba(15, 23, 42, .12);
}

body.page .md-page-content .md-entry-content.md-contact-content > p:not(:has(input)):not(:has(textarea)):not(:has(select)):not(:has(button)):not(:has(img)) {
    margin: 0 !important;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 650;
}

body.page .md-page-content .md-entry-content.md-contact-content > p strong,
body.page .md-page-content .md-entry-content.md-contact-content > p b {
    color: #0f172a;
}

body.page .md-page-content .md-entry-content.md-contact-content .md-contact-social-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 2px 0 10px;
}

body.page .md-page-content .md-entry-content.md-contact-content a:has(img) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.page .md-page-content .md-entry-content.md-contact-content a:has(img):hover {
    transform: translateY(-2px);
    border-color: rgba(239, 68, 68, .35) !important;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .11);
}

body.page .md-page-content .md-entry-content.md-contact-content a:has(img) img {
    width: auto !important;
    max-width: 92px !important;
    max-height: 30px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

body.page .md-page-content .md-entry-content.md-contact-content form,
body.page .md-page-content .md-entry-content.md-contact-content .wpcf7,
body.page .md-page-content .md-entry-content.md-contact-content .wpforms-container,
body.page .md-page-content .md-entry-content.md-contact-content .contact-form {
    width: 100%;
    max-width: 760px;
    margin: 10px 0 0 !important;
    padding: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(239, 68, 68, .10), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 22px 56px rgba(15, 23, 42, .10);
}

body.page .md-page-content .md-entry-content.md-contact-content form::before {
    content: 'İletişim Formu';
    display: block;
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -.035em;
}

body.page .md-page-content .md-entry-content.md-contact-content form::after {
    content: 'Mesajınızı gönderin, en kısa sürede dönüş yapılacaktır.';
    display: block;
    margin-top: -2px;
    margin-bottom: 22px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    order: -1;
}

body.page .md-page-content .md-entry-content.md-contact-content form p,
body.page .md-page-content .md-entry-content.md-contact-content form div {
    max-width: 100% !important;
}

body.page .md-page-content .md-entry-content.md-contact-content label {
    display: block;
    margin: 0 0 7px;
    color: #334155;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 800;
}

body.page .md-page-content .md-entry-content.md-contact-content input[type="text"],
body.page .md-page-content .md-entry-content.md-contact-content input[type="email"],
body.page .md-page-content .md-entry-content.md-contact-content input[type="tel"],
body.page .md-page-content .md-entry-content.md-contact-content input[type="url"],
body.page .md-page-content .md-entry-content.md-contact-content input[type="search"],
body.page .md-page-content .md-entry-content.md-contact-content select,
body.page .md-page-content .md-entry-content.md-contact-content textarea {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 48px;
    margin: 0 0 16px !important;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.45;
    outline: none;
    box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

body.page .md-page-content .md-entry-content.md-contact-content textarea {
    min-height: 170px;
    resize: vertical;
}

body.page .md-page-content .md-entry-content.md-contact-content input:focus,
body.page .md-page-content .md-entry-content.md-contact-content select:focus,
body.page .md-page-content .md-entry-content.md-contact-content textarea:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, .12);
    background: #fff;
}

body.page .md-page-content .md-entry-content.md-contact-content input[type="submit"],
body.page .md-page-content .md-entry-content.md-contact-content button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .01em;
    box-shadow: 0 16px 32px rgba(239, 68, 68, .25);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

body.page .md-page-content .md-entry-content.md-contact-content input[type="submit"]:hover,
body.page .md-page-content .md-entry-content.md-contact-content button[type="submit"]:hover {
    transform: translateY(-1px);
    filter: saturate(1.05);
    box-shadow: 0 20px 38px rgba(239, 68, 68, .32);
}

@media (max-width: 720px) {
    body.page .md-page-content .md-entry-content.md-contact-content form,
    body.page .md-page-content .md-entry-content.md-contact-content .wpcf7,
    body.page .md-page-content .md-entry-content.md-contact-content .wpforms-container,
    body.page .md-page-content .md-entry-content.md-contact-content .contact-form {
        padding: 22px;
        border-radius: 20px;
    }

    body.page .md-page-content .md-entry-content.md-contact-content > p:first-child img,
    body.page .md-page-content .md-entry-content.md-contact-content img[src*="iletisim"],
    body.page .md-page-content .md-entry-content.md-contact-content img[alt*="İletişim"],
    body.page .md-page-content .md-entry-content.md-contact-content img[alt*="Bize"] {
        border-radius: 18px !important;
    }
}

/* İletişim sayfası hizalama ve WhatsApp kartı düzeltmeleri */
body.page .md-page-content .md-entry-content.md-contact-content {
    max-width: 1080px !important;
    gap: 24px !important;
}

body.page .md-page-content .md-entry-content.md-contact-content > p:first-child:has(img),
body.page .md-page-content .md-entry-content.md-contact-content > figure:first-child {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

body.page .md-page-content .md-entry-content.md-contact-content > p:first-child img,
body.page .md-page-content .md-entry-content.md-contact-content img[src*="iletisim"],
body.page .md-page-content .md-entry-content.md-contact-content img[alt*="İletişim"],
body.page .md-page-content .md-entry-content.md-contact-content img[alt*="Bize"] {
    width: 100% !important;
    max-width: 920px !important;
    height: 250px !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 auto !important;
    display: block !important;
}

body.page .md-page-content .md-entry-content.md-contact-content > p:not(:has(input)):not(:has(textarea)):not(:has(select)):not(:has(button)):not(:has(img)) {
    text-align: center !important;
}

body.page .md-page-content .md-entry-content.md-contact-content .md-contact-social-strip {
    display: none !important;
}

body.page .md-page-content .md-entry-content.md-contact-content .md-contact-social-grid {
    width: 100% !important;
    max-width: 920px !important;
    margin: 2px auto 8px !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
}

body.page .md-page-content .md-entry-content.md-contact-content .md-contact-card {
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
    min-height: 76px !important;
    padding: 16px 18px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    background: #fff !important;
    color: #0f172a !important;
    text-decoration: none !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .07) !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

body.page .md-page-content .md-entry-content.md-contact-content .md-contact-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(37, 99, 235, .28) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .12) !important;
}

body.page .md-page-content .md-entry-content.md-contact-content .md-contact-card-icon {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

body.page .md-page-content .md-entry-content.md-contact-content .md-contact-card-youtube .md-contact-card-icon { background: #ff0000 !important; }
body.page .md-page-content .md-entry-content.md-contact-content .md-contact-card-twitter .md-contact-card-icon { background: #1da1f2 !important; }
body.page .md-page-content .md-entry-content.md-contact-content .md-contact-card-facebook .md-contact-card-icon { background: #1877f2 !important; font-family: Arial, sans-serif !important; font-size: 28px !important; }
body.page .md-page-content .md-entry-content.md-contact-content .md-contact-card-whatsapp .md-contact-card-icon { background: #25d366 !important; }

body.page .md-page-content .md-entry-content.md-contact-content .md-contact-card-text {
    min-width: 0 !important;
    display: grid !important;
    gap: 3px !important;
}

body.page .md-page-content .md-entry-content.md-contact-content .md-contact-card-text strong {
    display: block !important;
    color: #0f172a !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
}

body.page .md-page-content .md-entry-content.md-contact-content .md-contact-card-text em {
    display: block !important;
    color: #64748b !important;
    font-style: normal !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 650 !important;
}

body.page .md-page-content .md-entry-content.md-contact-content .md-contact-card-arrow {
    margin-left: auto !important;
    color: #2563eb !important;
    font-size: 25px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
}

body.page .md-page-content .md-entry-content.md-contact-content form,
body.page .md-page-content .md-entry-content.md-contact-content .wpcf7,
body.page .md-page-content .md-entry-content.md-contact-content .wpforms-container,
body.page .md-page-content .md-entry-content.md-contact-content .contact-form {
    max-width: 920px !important;
    margin: 4px auto 0 !important;
}

@media (max-width: 960px) {
    body.page .md-page-content .md-entry-content.md-contact-content .md-contact-social-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    body.page .md-page-content .md-entry-content.md-contact-content .md-contact-social-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    body.page .md-page-content .md-entry-content.md-contact-content > p:first-child img,
    body.page .md-page-content .md-entry-content.md-contact-content img[src*="iletisim"],
    body.page .md-page-content .md-entry-content.md-contact-content img[alt*="İletişim"],
    body.page .md-page-content .md-entry-content.md-contact-content img[alt*="Bize"] {
        height: 180px !important;
    }
}

/* İletişim sosyal alanı - div grid ile sabit ve taşmasız son düzenleme */
body.page .md-page-content .md-entry-content.md-contact-content .md-contact-old-social-row,
body.page .md-page-content .md-entry-content.md-contact-content .md-contact-old-social-link {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body.page .md-page-content .md-entry-content.md-contact-content .md-contact-social-grid {
    box-sizing: border-box !important;
    width: min(100%, 920px) !important;
    max-width: 920px !important;
    margin: 22px auto 24px !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    clear: both !important;
    position: relative !important;
    z-index: 2 !important;
}

body.page .md-page-content .md-entry-content.md-contact-content .md-contact-card {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 82px !important;
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) 14px !important;
    align-items: center !important;
    column-gap: 13px !important;
    padding: 16px 18px !important;
    overflow: hidden !important;
}

body.page .md-page-content .md-entry-content.md-contact-content .md-contact-card-icon {
    width: 46px !important;
    height: 46px !important;
    flex: none !important;
}

body.page .md-page-content .md-entry-content.md-contact-content .md-contact-card-text {
    min-width: 0 !important;
    overflow: hidden !important;
}

body.page .md-page-content .md-entry-content.md-contact-content .md-contact-card-text strong,
body.page .md-page-content .md-entry-content.md-contact-content .md-contact-card-text em {
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body.page .md-page-content .md-entry-content.md-contact-content .md-contact-card-whatsapp .md-contact-card-icon {
    font-size: 20px !important;
}

@media (max-width: 900px) {
    body.page .md-page-content .md-entry-content.md-contact-content .md-contact-social-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 540px) {
    body.page .md-page-content .md-entry-content.md-contact-content .md-contact-social-grid {
        grid-template-columns: 1fr !important;
    }
}


/* Ara sayfa reklam yerleşimleri v22 */
.md-theme-ad-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 18px;
}

.md-theme-ad-inner-after-hero {
    margin: 22px auto 28px;
}

.md-theme-ad-inner-between {
    margin: 30px auto;
}

.md-theme-ad-inner-before-footer {
    margin: 32px auto 0;
}

.md-theme-ad-inner iframe,
.md-theme-ad-inner img,
.md-theme-ad-inner ins {
    max-width: 100%;
}

@media (max-width: 720px) {
    .md-theme-ad-inner-after-hero,
    .md-theme-ad-inner-between,
    .md-theme-ad-inner-before-footer {
        margin-left: auto;
        margin-right: auto;
    }
}


/* Quiz üst takip alanı kaldırıldı v24 */
.md-quiz-score-hidden {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.md-quiz .md-quiz-ad-after-head {
    margin-top: 0 !important;
}

.md-quiz > .md-theme-ad-slot:first-of-type,
.md-quiz > .md-theme-inner-ad-slot:first-of-type {
    margin-top: 0 !important;
}

/* Motor Dersi ders/modül indirme kartları */
.md-modules-section{width:100%;}
.md-modules-head{text-align:center;margin:0 auto 30px;max-width:920px;}
.md-modules-label{display:inline-flex;align-items:center;justify-content:center;padding:9px 18px;border-radius:999px;background:linear-gradient(135deg,#ffe8ec,#fff1f2);color:#e11d48;font-weight:900;font-size:13px;margin-bottom:14px;box-shadow:0 10px 24px rgba(225,29,72,.08);}
.md-modules-head h1{margin:0 0 12px;font-size:42px;line-height:1.08;color:#061631;letter-spacing:-.04em;}
.md-modules-head p{margin:0 auto;max-width:760px;color:#53647f;font-size:16px;line-height:1.7;}
.md-modules-back{display:inline-flex;align-items:center;gap:8px;margin-bottom:16px;text-decoration:none;font-weight:900;color:#e11d48;background:#fff1f2;border:1px solid #ffe4e6;border-radius:999px;padding:9px 15px;}
.md-modules-back:hover{background:#ffe8ec;color:#be123c;}
.md-modules-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 22px;padding:14px;border:1px solid #e5edf7;border-radius:20px;background:rgba(255,255,255,.76);box-shadow:0 14px 34px rgba(15,23,42,.06);backdrop-filter:blur(10px);}
.md-modules-tools input{width:min(420px,100%);height:48px;border:1px solid #dbe5f1;border-radius:999px;padding:0 18px;font-size:15px;color:#061631;outline:none;background:#fff;}
.md-modules-tools input:focus{border-color:#fb7185;box-shadow:0 0 0 4px rgba(244,63,94,.12);}
.md-modules-tools span{font-size:14px;font-weight:800;color:#64748b;white-space:nowrap;}
.md-lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.md-lesson-card{display:flex;flex-direction:column;min-height:282px;padding:24px;border:1px solid rgba(219,229,241,.95);border-radius:28px;background:linear-gradient(180deg,#fff,#f8fbff);text-decoration:none;box-shadow:0 18px 46px rgba(15,23,42,.09);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;overflow:hidden;position:relative;isolation:isolate;}
.md-lesson-card:before{content:"";position:absolute;inset:auto -42px -58px auto;width:170px;height:170px;border-radius:50%;background:radial-gradient(circle,#ffe4e6 0,#fff1f2 45%,transparent 70%);z-index:-1;transition:transform .22s ease;}
.md-lesson-card:after{content:"";position:absolute;right:22px;bottom:22px;width:88px;height:88px;border:12px solid rgba(15,23,42,.045);border-radius:50%;z-index:-1;}
.md-lesson-card-glow{position:absolute;left:-45px;top:-45px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,rgba(239,68,68,.16),transparent 68%);z-index:-1;}
.md-lesson-card:hover{transform:translateY(-7px);box-shadow:0 28px 58px rgba(15,23,42,.15);border-color:#fecdd3;}
.md-lesson-card:hover:before{transform:scale(1.15);}
.md-lesson-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;}
.md-lesson-icon{width:66px;height:66px;border-radius:22px;background:linear-gradient(135deg,#fff1f2,#ffe4e6);color:#ef4444;display:flex;align-items:center;justify-content:center;font-weight:950;font-size:28px;box-shadow:inset 0 0 0 1px rgba(225,29,72,.08),0 12px 24px rgba(225,29,72,.12);}
.md-lesson-count{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:12px;font-weight:900;}
.md-lesson-kicker{font-size:12px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;color:#e11d48;margin-bottom:9px;}
.md-lesson-card strong{color:#061631;font-size:23px;line-height:1.24;margin-bottom:12px;letter-spacing:-.02em;}
.md-lesson-card small{color:#64748b;font-size:14px;line-height:1.55;margin-top:0;}
.md-lesson-card em{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;margin-top:auto;padding:11px 16px;border-radius:999px;background:#061631;color:#fff;font-style:normal;font-weight:950;font-size:13px;box-shadow:0 12px 22px rgba(6,22,49,.18);}
.md-lesson-card em span{font-size:16px;line-height:1;}
.md-module-file-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.md-module-file{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:16px;border:1px solid #dbe5f1;border-radius:20px;background:linear-gradient(180deg,#fff,#fbfdff);text-decoration:none;box-shadow:0 12px 28px rgba(15,23,42,.07);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
.md-module-file:hover{transform:translateY(-3px);border-color:#fecdd3;box-shadow:0 18px 38px rgba(15,23,42,.12);}
.md-module-file-badge{display:inline-flex;align-items:center;justify-content:center;width:58px;height:46px;border-radius:15px;background:#fff1f2;color:#e11d48;font-weight:950;font-size:13px;border:1px solid #ffe4e6;}
.md-module-file-text{display:flex;flex-direction:column;gap:4px;min-width:0;}
.md-module-file strong{color:#061631;font-size:16px;line-height:1.35;}
.md-module-file small{color:#64748b;font-size:13px;white-space:nowrap;}
.md-module-file em{display:inline-flex;align-items:center;gap:7px;font-style:normal;font-weight:950;color:#fff;background:#ef4444;border-radius:999px;padding:10px 15px;font-size:13px;white-space:nowrap;box-shadow:0 10px 20px rgba(239,68,68,.18);}
.md-modules-empty{background:#fff;border:1px dashed #cbd5e1;border-radius:20px;padding:26px;text-align:center;color:#53647f;line-height:1.7;box-shadow:0 12px 30px rgba(15,23,42,.05);}
@media (max-width: 1024px){.md-lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.md-module-file-list{grid-template-columns:1fr;}.md-modules-head h1{font-size:36px;}}
@media (max-width: 640px){.md-lesson-grid{grid-template-columns:1fr;}.md-modules-head h1{font-size:30px;}.md-modules-tools{align-items:stretch;flex-direction:column;}.md-modules-tools span{text-align:center;}.md-module-file{grid-template-columns:auto 1fr;}.md-module-file em{grid-column:1 / -1;text-align:center;justify-content:center;}.md-lesson-card{min-height:250px;}}

/* v30 - Modül indir sayfası profesyonel ders/modül görünümü */
.md-course-page{
    max-width:1180px;
    margin:0 auto;
}
.md-course-hero{
    display:grid;
    grid-template-columns:minmax(0,1fr) 210px;
    gap:22px;
    align-items:stretch;
    margin:0 0 26px;
    padding:28px;
    border:1px solid rgba(219,229,241,.95);
    border-radius:30px;
    background:
        radial-gradient(circle at 0 0, rgba(239,68,68,.10), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 55%, #fff5f5 100%);
    box-shadow:0 24px 70px rgba(15,23,42,.08);
    position:relative;
    overflow:hidden;
}
.md-course-hero:after{
    content:"";
    position:absolute;
    right:-60px;
    top:-80px;
    width:260px;
    height:260px;
    border-radius:999px;
    background:linear-gradient(135deg, rgba(239,68,68,.13), rgba(249,115,22,.05));
    pointer-events:none;
}
.md-course-hero-main{position:relative;z-index:1;}
.md-course-hero .md-modules-back{
    margin:0 0 14px;
    background:#fff;
    border-color:#ffd7dd;
    box-shadow:0 10px 22px rgba(225,29,72,.08);
}
.md-course-hero .md-modules-label{
    margin:0 0 12px;
    background:#fff1f2;
    border:1px solid #ffe4e6;
    box-shadow:none;
}
.md-course-hero h1{
    margin:0 0 10px;
    max-width:780px;
    color:#061631;
    font-size:42px;
    line-height:1.08;
    letter-spacing:-.045em;
}
.md-course-hero p{
    max-width:760px;
    margin:0;
    color:#53647f;
    font-size:16px;
    line-height:1.7;
}
.md-course-hero-stat{
    position:relative;
    z-index:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:170px;
    border-radius:26px;
    background:rgba(255,255,255,.78);
    border:1px solid rgba(255,255,255,.92);
    box-shadow:inset 0 0 0 1px rgba(219,229,241,.82), 0 16px 34px rgba(15,23,42,.07);
    text-align:center;
}
.md-course-hero-stat strong{
    color:#ef4444;
    font-size:54px;
    line-height:1;
    letter-spacing:-.05em;
}
.md-course-hero-stat span{margin-top:8px;color:#061631;font-weight:950;font-size:15px;}
.md-course-hero-stat small{margin-top:6px;color:#64748b;font-size:13px;font-weight:800;}
.md-course-layout{
    display:grid;
    grid-template-columns:280px minmax(0,1fr);
    gap:24px;
    align-items:start;
}
.md-course-sidebar{
    position:sticky;
    top:96px;
    display:flex;
    flex-direction:column;
    gap:14px;
}
.md-course-sidebar-card,
.md-course-search-card,
.md-module-panel{
    border:1px solid #dbe5f1;
    background:rgba(255,255,255,.88);
    box-shadow:0 18px 44px rgba(15,23,42,.07);
    border-radius:24px;
}
.md-course-sidebar-card{
    padding:22px;
    display:flex;
    flex-direction:column;
    gap:10px;
}
.md-course-sidebar-icon{
    width:62px;
    height:62px;
    border-radius:21px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#061631,#24385f);
    color:#fff;
    font-size:28px;
    font-weight:950;
    box-shadow:0 18px 30px rgba(6,22,49,.18);
}
.md-course-sidebar-card strong{color:#061631;font-size:20px;line-height:1.25;letter-spacing:-.02em;}
.md-course-sidebar-card small{color:#64748b;font-weight:800;}
.md-course-search-card{padding:18px;}
.md-course-search-card label{
    display:block;
    margin:0 0 9px;
    color:#061631;
    font-size:13px;
    font-weight:950;
}
.md-course-search-card input{
    width:100%;
    height:46px;
    border:1px solid #dbe5f1;
    border-radius:16px;
    padding:0 14px;
    outline:none;
    color:#061631;
    background:#fff;
}
.md-course-search-card input:focus{border-color:#fb7185;box-shadow:0 0 0 4px rgba(244,63,94,.12);}
.md-course-all-link{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    border-radius:18px;
    background:#fff1f2;
    border:1px solid #ffe4e6;
    color:#e11d48;
    font-weight:950;
    text-decoration:none;
}
.md-course-all-link:hover{background:#ffe8ec;color:#be123c;}
.md-module-panel{padding:22px;}
.md-module-panel-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:0 0 18px;
    margin:0 0 18px;
    border-bottom:1px solid #e5edf7;
}
.md-module-panel-head span{
    display:block;
    color:#e11d48;
    font-size:12px;
    font-weight:950;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.md-module-panel-head h2{
    margin:5px 0 0;
    color:#061631;
    font-size:24px;
    line-height:1.2;
    letter-spacing:-.025em;
}
.md-module-panel-head em{
    flex:0 0 auto;
    padding:9px 13px;
    border-radius:999px;
    background:#f1f5f9;
    color:#475569;
    font-style:normal;
    font-weight:950;
    font-size:13px;
}
.md-course-page .md-module-file-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}
.md-course-page .md-module-file{
    display:grid;
    grid-template-columns:58px minmax(0,1fr) auto;
    gap:16px;
    align-items:center;
    padding:15px 16px;
    border-radius:20px;
    background:linear-gradient(180deg,#fff,#fbfdff);
    border:1px solid #e5edf7;
    box-shadow:none;
}
.md-course-page .md-module-file:hover{
    transform:translateX(4px);
    border-color:#fecdd3;
    box-shadow:0 14px 30px rgba(15,23,42,.08);
}
.md-course-page .md-module-file-badge{
    width:50px;
    height:50px;
    border-radius:17px;
    background:#fff1f2;
}
.md-course-page .md-module-file strong{
    font-size:16px;
    letter-spacing:-.01em;
}
.md-course-page .md-module-file small{
    font-size:12px;
    color:#738198;
}
.md-course-page .md-module-file em{
    min-width:92px;
    justify-content:center;
    padding:11px 16px;
    background:linear-gradient(135deg,#ef4444,#f97316);
}
@media (max-width: 980px){
    .md-course-hero{grid-template-columns:1fr;}
    .md-course-layout{grid-template-columns:1fr;}
    .md-course-sidebar{position:static;display:grid;grid-template-columns:1fr 1fr;}
    .md-course-all-link{grid-column:1 / -1;}
}
@media (max-width: 640px){
    .md-course-hero{padding:22px;border-radius:24px;}
    .md-course-hero h1{font-size:31px;}
    .md-course-hero-stat{min-height:128px;}
    .md-course-hero-stat strong{font-size:42px;}
    .md-course-sidebar{display:flex;}
    .md-module-panel{padding:16px;border-radius:20px;}
    .md-module-panel-head{align-items:flex-start;flex-direction:column;}
    .md-course-page .md-module-file{grid-template-columns:50px minmax(0,1fr);}
    .md-course-page .md-module-file em{grid-column:1 / -1;min-width:0;width:100%;}
}

/* Motor Dersi R2 modül detay sayfası - yumuşak profesyonel görünüm */
.md-course-page-soft{max-width:1400px;margin:0 auto;padding:26px 18px 38px;}
.md-course-page-soft *{box-sizing:border-box;}
.md-module-breadcrumb{display:flex;align-items:center;gap:10px;margin:0 0 22px;color:#64748b;font-size:14px;font-weight:600;}
.md-module-breadcrumb a{color:#52647f;text-decoration:none;}
.md-module-breadcrumb a:hover{color:#ef3348;}
.md-module-breadcrumb strong{color:#334155;font-weight:700;}
.md-course-soft-grid{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:28px;align-items:start;}
.md-course-soft-main{min-width:0;display:flex;flex-direction:column;gap:24px;}
.md-course-soft-hero{display:grid;grid-template-columns:112px minmax(0,1fr);gap:28px;align-items:center;padding:28px 32px;border:1px solid #dce7f5;border-radius:18px;background:#fff;box-shadow:0 14px 45px rgba(15,23,42,.055);}
.md-course-soft-icon{width:100px;height:100px;border-radius:22px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#ff3152,#ef3348);color:#fff;font-size:46px;box-shadow:0 16px 35px rgba(239,51,72,.22);}
.md-course-soft-copy h1{margin:0 0 10px;color:#07172f;font-size:32px;line-height:1.18;font-weight:800;letter-spacing:-.025em;}
.md-course-soft-copy p{max-width:820px;margin:0;color:#43536b;font-size:15.5px;line-height:1.75;font-weight:500;}
.md-course-soft-badges{display:flex;flex-wrap:wrap;gap:12px;margin-top:17px;}
.md-course-soft-badges span{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 17px;border-radius:999px;background:#f4f7fb;color:#16243a;font-size:14px;font-weight:750;}
.md-module-inline-ad{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:72px;border:1px dashed rgba(239,51,72,.42);border-radius:14px;background:linear-gradient(180deg,#fff,#fff7f7);color:#ef3348;text-align:center;box-shadow:0 10px 25px rgba(15,23,42,.035);}
.md-module-inline-ad span{font-size:13px;letter-spacing:.05em;font-weight:800;}
.md-module-inline-ad strong{margin-top:4px;color:#07172f;font-size:17px;font-weight:800;}
.md-module-inline-ad small{margin-top:2px;color:#56657a;font-size:13px;}
.md-soft-module-card{padding:26px;border:1px solid #dce7f5;border-radius:18px;background:#fff;box-shadow:0 14px 45px rgba(15,23,42,.055);}
.md-soft-module-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;}
.md-soft-module-head h2{margin:0;color:#07172f;font-size:25px;line-height:1.2;font-weight:800;letter-spacing:-.02em;}
.md-soft-module-head em{font-style:normal;display:inline-flex;align-items:center;justify-content:center;min-width:70px;height:44px;padding:0 16px;border-radius:999px;background:#f2f6fb;color:#334155;font-size:14px;font-weight:800;}
.md-soft-search{position:relative;width:min(520px,100%);margin:0 0 20px;}
.md-soft-search input{width:100%;height:46px;border:1px solid #d6e2f1;border-radius:12px;background:#fff;padding:0 46px 0 16px;color:#1f2e45;font-size:15px;outline:none;transition:border-color .16s ease,box-shadow .16s ease;}
.md-soft-search input::placeholder{color:#7a8798;}
.md-soft-search input:focus{border-color:#ef3348;box-shadow:0 0 0 4px rgba(239,51,72,.10);}
.md-soft-search span{position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#8290a4;font-size:20px;line-height:1;}
.md-course-page-soft .md-module-file-list{display:flex;flex-direction:column;gap:12px;}
.md-course-page-soft .md-module-file{display:grid;grid-template-columns:62px minmax(0,1fr) 116px;align-items:center;gap:16px;padding:13px 15px;border:1px solid #e2eaf5;border-radius:14px;background:#fff;text-decoration:none;box-shadow:0 6px 18px rgba(15,23,42,.035);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;}
.md-course-page-soft .md-module-file:hover{transform:translateY(-1px);border-color:#ffc3cb;box-shadow:0 12px 28px rgba(15,23,42,.075);}
.md-course-page-soft .md-module-file-badge{width:48px;height:48px;border-radius:13px;background:#fff2f3;border:1px solid #ffd9de;color:#ef3348;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center;}
.md-course-page-soft .md-module-file strong{display:block;color:#142238;font-size:15.5px;font-weight:760;line-height:1.35;letter-spacing:-.005em;}
.md-course-page-soft .md-module-file small{display:block;margin-top:3px;color:#64748b;font-size:12.5px;font-weight:500;white-space:normal;}
.md-course-page-soft .md-module-file em{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:94px;height:42px;border-radius:11px;background:linear-gradient(135deg,#ff3152,#ef3348);color:#fff;font-style:normal;font-size:14px;font-weight:800;box-shadow:0 10px 22px rgba(239,51,72,.20);}
.md-course-soft-sidebar{position:sticky;top:96px;display:flex;flex-direction:column;gap:24px;min-width:0;}
.md-soft-category-card,.md-soft-info-card{border:1px solid #dce7f5;border-radius:18px;background:#fff;box-shadow:0 14px 45px rgba(15,23,42,.055);}
.md-soft-category-card{padding:24px;}
.md-soft-category-card h3,.md-soft-info-card h3{display:flex;align-items:center;gap:10px;margin:0 0 20px;color:#07172f;font-size:20px;font-weight:800;letter-spacing:-.01em;}
.md-soft-category-card h3 span,.md-soft-info-card h3 span{color:#ef3348;font-size:18px;}
.md-soft-category-list{display:flex;flex-direction:column;gap:0;max-height:none;overflow:hidden;}
.md-soft-category-item{display:grid;grid-template-columns:28px minmax(0,1fr) auto 18px;align-items:center;gap:12px;min-height:56px;padding:10px 12px;border-radius:12px;color:#243348;text-decoration:none;border-bottom:1px solid #edf2f7;transition:background .16s ease,color .16s ease;}
.md-soft-category-item:last-child{border-bottom:0;}
.md-soft-category-item:hover{background:#fff7f7;color:#ef3348;}
.md-soft-category-item.is-active{background:#fff0f1;color:#ef3348;}
.md-soft-category-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;color:#7b8796;font-size:18px;font-weight:700;}
.md-soft-category-item strong{font-size:14.5px;font-weight:720;line-height:1.28;letter-spacing:-.005em;}
.md-soft-category-item em{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:26px;border-radius:999px;background:#fff0f1;color:#ef3348;font-size:13px;font-style:normal;font-weight:800;}
.md-soft-category-item b{color:#94a3b8;font-size:21px;font-weight:500;}
.md-soft-category-extra{display:none;}
.md-soft-category-list.is-expanded .md-soft-category-extra{display:grid;}
.md-soft-more{width:100%;height:46px;margin-top:14px;border:1px solid #dce7f5;border-radius:12px;background:#fff;color:#ef3348;font-size:14.5px;font-weight:800;cursor:pointer;transition:background .16s ease,border-color .16s ease;}
.md-soft-more:hover{background:#fff7f7;border-color:#ffc3cb;}
.md-soft-more span{margin-left:7px;color:#64748b;}
.md-soft-info-card{padding:26px;background:linear-gradient(135deg,#fff7f7,#fff);border-color:#ffd7dc;}
.md-soft-info-card p{margin:0;color:#29384f;font-size:15px;line-height:1.75;font-weight:500;}
.md-soft-info-card div{display:flex;gap:12px;align-items:flex-start;margin-top:20px;color:#43536b;font-size:14.5px;line-height:1.5;font-weight:600;}
.md-soft-info-card div span{color:#ef3348;font-size:20px;line-height:1;}
@media (max-width:1180px){.md-course-soft-grid{grid-template-columns:1fr;}.md-course-soft-sidebar{position:static;}.md-soft-category-list:not(.is-expanded) .md-soft-category-extra{display:none;}}
@media (max-width:720px){.md-course-page-soft{padding:18px 12px 28px;}.md-course-soft-hero{grid-template-columns:1fr;padding:22px;border-radius:16px;}.md-course-soft-icon{width:82px;height:82px;border-radius:20px;font-size:36px;}.md-course-soft-copy h1{font-size:28px;}.md-soft-module-card{padding:18px;border-radius:16px;}.md-course-page-soft .md-module-file{grid-template-columns:52px minmax(0,1fr);}.md-course-page-soft .md-module-file em{grid-column:1 / -1;width:100%;}.md-module-inline-ad{min-height:66px;}.md-soft-module-head{align-items:flex-start;}.md-soft-category-card,.md-soft-info-card{padding:18px;}}

/* Modül indir kategori sayfası son düzenleme: üst boşluk azaltıldı, yazılar yumuşatıldı, SEO alanı eklendi */
.md-modul-indir-archive{padding-top:18px !important;}
.md-modul-indir-archive .container{max-width:1280px;}
.md-modul-indir-archive .md-course-page-soft{padding-top:0 !important;}
.md-modul-indir-archive .md-module-breadcrumb{margin-top:0;margin-bottom:18px;}
.md-course-page-soft{font-family:inherit;}
.md-course-soft-copy h1{font-size:31px;font-weight:760;letter-spacing:-.018em;}
.md-course-soft-copy p{font-size:15.2px;line-height:1.72;font-weight:450;color:#40516a;}
.md-course-soft-badges span{font-weight:680;font-size:13.5px;}
.md-soft-module-head h2{font-size:23px;font-weight:740;letter-spacing:-.015em;}
.md-course-page-soft .md-module-file strong{font-size:15px;font-weight:680;letter-spacing:0;}
.md-course-page-soft .md-module-file small{font-size:12px;font-weight:450;color:#6c7b90;}
.md-soft-category-card h3,.md-soft-info-card h3{font-size:18.5px;font-weight:740;letter-spacing:-.006em;}
.md-soft-category-item{min-height:52px;padding:9px 11px;border-radius:12px;}
.md-soft-category-item strong{font-size:14px;font-weight:620;line-height:1.3;letter-spacing:0;color:#26364d;}
.md-soft-category-item.is-active strong,.md-soft-category-item:hover strong{color:#ef3348;}
.md-soft-category-item em{min-width:30px;height:24px;font-size:12px;font-weight:740;}
.md-soft-category-icon{font-size:16px;color:#748194;}
.md-soft-category-item b{font-size:18px;color:#9aa8ba;}
.md-soft-more{height:44px;font-size:14px;font-weight:700;}
.md-module-ad-middle{min-height:64px;margin:0;}
.md-module-ad-bottom{min-height:62px;margin-top:0;}
.md-soft-seo-card{padding:24px 28px;border:1px solid #dce7f5;border-radius:18px;background:#fff;box-shadow:0 14px 45px rgba(15,23,42,.05);text-align:center;}
.md-soft-seo-card h2{margin:0 0 12px;color:#07172f;font-size:23px;line-height:1.25;font-weight:760;letter-spacing:-.015em;}
.md-soft-seo-card p{max-width:860px;margin:0 auto;color:#43536b;font-size:14.8px;line-height:1.78;font-weight:450;}
.md-soft-seo-tags{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:18px;}
.md-soft-seo-tags span{display:inline-flex;align-items:center;min-height:30px;padding:0 14px;border-radius:999px;background:#f3f6fa;color:#40516a;font-size:12.5px;font-weight:650;}
@media (max-width:720px){.md-modul-indir-archive{padding-top:12px !important;}.md-soft-seo-card{padding:20px 16px;text-align:left;}.md-soft-seo-card h2{font-size:20px;}.md-soft-seo-card p{font-size:14px;}.md-soft-seo-tags{justify-content:flex-start;}.md-course-soft-copy h1{font-size:26px;}}

/* Modül sayfası: reklam modül listesinden sonra, SEO yazısından önce */
.md-course-page-soft .md-module-ad-middle{
    margin:18px 0;
    min-height:78px;
}
.md-course-page-soft .md-soft-seo-card{
    margin-top:0;
}

/* Modül indir ana kategori sayfası: SEO açıklama bloğu ve dengeli profesyonel görünüm */
.md-modul-indir-archive .md-modules-head{
    margin-bottom:22px;
}
.md-modules-intro-card{
    display:grid;
    grid-template-columns:minmax(0,1fr) 190px;
    gap:24px;
    align-items:center;
    margin:0 0 22px;
    padding:26px 30px;
    border:1px solid #dce7f5;
    border-radius:24px;
    background:linear-gradient(135deg,#ffffff 0%,#fbfdff 56%,#fff5f6 100%);
    box-shadow:0 18px 46px rgba(15,23,42,.065);
    overflow:hidden;
    position:relative;
}
.md-modules-intro-card:after{
    content:"";
    position:absolute;
    right:-60px;
    bottom:-70px;
    width:190px;
    height:190px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(255,228,230,.9),rgba(255,255,255,0) 70%);
    pointer-events:none;
}
.md-modules-intro-copy{position:relative;z-index:1;}
.md-modules-intro-copy span{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:0 13px;
    border-radius:999px;
    background:#fff1f2;
    color:#ef3348;
    font-size:12px;
    font-weight:760;
    letter-spacing:.04em;
    text-transform:uppercase;
    margin-bottom:12px;
}
.md-modules-intro-copy h2{
    margin:0 0 10px;
    color:#07172f;
    font-size:25px;
    line-height:1.22;
    letter-spacing:-.018em;
    font-weight:760;
}
.md-modules-intro-copy p{
    margin:0;
    max-width:900px;
    color:#465872;
    font-size:15px;
    line-height:1.75;
    font-weight:450;
}
.md-modules-intro-stats{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px 10px;
    align-items:center;
    justify-items:center;
    padding:18px;
    border:1px solid #e5edf7;
    border-radius:20px;
    background:rgba(255,255,255,.78);
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.9),0 10px 25px rgba(15,23,42,.045);
}
.md-modules-intro-stats strong{
    color:#ef3348;
    font-size:25px;
    line-height:1;
    font-weight:820;
}
.md-modules-intro-stats small{
    color:#53647f;
    font-size:12.5px;
    font-weight:650;
}
.md-modules-bottom-seo{
    margin-top:28px;
    padding:26px 30px;
    border:1px solid #dce7f5;
    border-radius:24px;
    background:#fff;
    box-shadow:0 16px 42px rgba(15,23,42,.055);
    text-align:center;
}
.md-modules-bottom-seo h2{
    margin:0 0 10px;
    color:#07172f;
    font-size:24px;
    line-height:1.25;
    font-weight:760;
    letter-spacing:-.015em;
}
.md-modules-bottom-seo p{
    max-width:900px;
    margin:0 auto;
    color:#465872;
    font-size:14.8px;
    line-height:1.78;
    font-weight:450;
}
.md-modules-seo-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    justify-content:center;
    margin-top:18px;
}
.md-modules-seo-tags span{
    display:inline-flex;
    align-items:center;
    min-height:32px;
    padding:0 14px;
    border-radius:999px;
    background:#f3f6fa;
    color:#40516a;
    font-size:12.5px;
    font-weight:650;
}
@media (max-width: 820px){
    .md-modules-intro-card{grid-template-columns:1fr;padding:22px 18px;border-radius:20px;}
    .md-modules-intro-stats{grid-template-columns:repeat(4,auto);justify-content:flex-start;}
    .md-modules-intro-copy h2,.md-modules-bottom-seo h2{font-size:21px;}
    .md-modules-intro-copy p,.md-modules-bottom-seo p{font-size:14px;}
    .md-modules-bottom-seo{text-align:left;padding:22px 18px;border-radius:20px;}
    .md-modules-seo-tags{justify-content:flex-start;}
}

/* v36 - Modül indir ana sayfa düzeni: üst başlık kaldırıldı, SEO blok header'a yaklaştırıldı, reklam arama üstüne alındı */
.md-modul-indir-archive{
    padding-top:14px !important;
}
.md-modul-indir-archive .md-modules-section{
    max-width:1280px;
    margin:0 auto;
}
.md-modul-indir-archive .md-modules-head{
    display:none !important;
}
.md-modul-indir-archive .md-modules-intro-card{
    margin-top:0 !important;
    margin-bottom:18px !important;
    padding:24px 30px !important;
    border-radius:24px !important;
}
.md-modul-indir-archive .md-modules-intro-copy h2{
    font-size:28px !important;
    font-weight:780 !important;
    letter-spacing:-.02em !important;
}
.md-modul-indir-archive .md-modules-intro-copy p{
    font-size:15.5px !important;
    line-height:1.75 !important;
}
.md-modul-indir-archive .md-module-ad-archive{
    margin:0 0 18px !important;
    min-height:78px !important;
    border-radius:18px !important;
    background:linear-gradient(180deg,#fff,#fff8f8) !important;
}
.md-modul-indir-archive .md-modules-tools{
    margin-top:0 !important;
    margin-bottom:24px !important;
}
@media (max-width:720px){
    .md-modul-indir-archive{padding-top:10px !important;}
    .md-modul-indir-archive .md-modules-intro-card{padding:20px 16px !important;margin-bottom:14px !important;}
    .md-modul-indir-archive .md-modules-intro-copy h2{font-size:23px !important;}
    .md-modul-indir-archive .md-module-ad-archive{min-height:64px !important;margin-bottom:14px !important;}
}


/* İletişim sayfası üst breadcrumb kaldırıldı, başlık yumuşatıldı v27 */
body.page-id-0 {}

body.page .md-page-content .md-page-header h1 {
    font-size: clamp(34px, 3.6vw, 52px);
}

/* İletişim sayfası özel görünüm */
body.page .md-page-content .md-page-header .md-topic-label + h1 {
    letter-spacing: -.035em;
}

/* Slug bazlı WordPress body class: page-id değişse bile çalışır */
body.page-iletisim .md-breadcrumb,
body.page-template-default.page-id-iletisim .md-breadcrumb {
    display: none !important;
}

body.page-iletisim .md-page-section,
body.page-template-default.page-id-iletisim .md-page-section {
    padding-top: 34px !important;
}

body.page-iletisim .md-page-header,
body.page-template-default.page-id-iletisim .md-page-header {
    margin-bottom: 18px !important;
}

body.page-iletisim .md-page-header h1,
body.page-template-default.page-id-iletisim .md-page-header h1 {
    font-size: clamp(30px, 3.2vw, 44px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
}

/* PHP tarafında breadcrumb zaten kaldırıldı; bu ek kural olası cache durumuna karşıdır. */


/* İletişim başlığı daha zarif görünüm v28 */
body.page-iletisim .md-page-content {
    padding-top: clamp(34px, 4vw, 54px) !important;
}

body.page-iletisim .md-page-header {
    margin-bottom: 16px !important;
}

body.page-iletisim .md-page-header .md-topic-label {
    padding: 7px 13px !important;
    font-size: 12px !important;
    letter-spacing: .04em !important;
}

body.page-iletisim .md-page-header h1 {
    font-size: clamp(28px, 2.8vw, 38px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.025em !important;
    font-weight: 800 !important;
    margin-top: 12px !important;
    margin-bottom: 8px !important;
}


/* İletişim başlığı kesin küçük görünüm v29 */
.md-page-content .md-contact-page-header {
    margin-bottom: 14px !important;
}

.md-page-content .md-contact-page-header .md-contact-topic-label {
    padding: 6px 12px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    letter-spacing: .045em !important;
}

.md-page-content .md-contact-page-header .md-contact-title {
    font-size: 32px !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
    letter-spacing: -.02em !important;
    margin: 12px 0 8px !important;
}

/* İletişim sayfasında üst boşluğu da biraz toparla */
body.page-iletisim .md-page-content,
.md-page-content:has(.md-contact-page-header) {
    padding-top: 42px !important;
}


/* Gizlilik / Kullanım Şartları / İletişim kompakt sayfa başlığı v30 */
.md-page-content .md-compact-page-header {
    margin-bottom: 16px !important;
}

.md-page-content .md-compact-page-header .md-compact-topic-label {
    padding: 6px 12px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    letter-spacing: .045em !important;
}

.md-page-content .md-compact-page-header .md-compact-page-title {
    font-size: clamp(28px, 2.8vw, 38px) !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
    letter-spacing: -.02em !important;
    margin: 12px 0 8px !important;
}

/* Slug bazlı garanti kurallar */
body.page-gizlilik-politikasi .md-breadcrumb,
body.page-privacy-policy .md-breadcrumb,
body.page-kullanim-sartlari .md-breadcrumb,
body.page-cerez-politikasi .md-breadcrumb,
body.page-iletisim .md-breadcrumb {
    display: none !important;
}

body.page-gizlilik-politikasi .md-page-section,
body.page-privacy-policy .md-page-section,
body.page-kullanim-sartlari .md-page-section,
body.page-cerez-politikasi .md-page-section,
body.page-iletisim .md-page-section {
    padding-top: 34px !important;
}

body.page-gizlilik-politikasi .md-page-content,
body.page-privacy-policy .md-page-content,
body.page-kullanim-sartlari .md-page-content,
body.page-cerez-politikasi .md-page-content,
body.page-iletisim .md-page-content {
    padding-top: clamp(34px, 4vw, 54px) !important;
}

body.page-gizlilik-politikasi .md-page-header h1,
body.page-privacy-policy .md-page-header h1,
body.page-kullanim-sartlari .md-page-header h1,
body.page-cerez-politikasi .md-page-header h1,
body.page-iletisim .md-page-header h1 {
    font-size: clamp(28px, 2.8vw, 38px) !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
    letter-spacing: -.02em !important;
    margin: 12px 0 8px !important;
}


/* Politika sayfaları normal yazı hizası v31 */
body.page-gizlilik-politikasi .md-entry-content,
body.page-privacy-policy .md-entry-content,
body.page-kullanim-sartlari .md-entry-content,
body.page-cerez-politikasi .md-entry-content {
    text-align: left !important;
}

body.page-gizlilik-politikasi .md-entry-content p,
body.page-gizlilik-politikasi .md-entry-content li,
body.page-gizlilik-politikasi .md-entry-content h2,
body.page-gizlilik-politikasi .md-entry-content h3,
body.page-gizlilik-politikasi .md-entry-content h4,
body.page-privacy-policy .md-entry-content p,
body.page-privacy-policy .md-entry-content li,
body.page-privacy-policy .md-entry-content h2,
body.page-privacy-policy .md-entry-content h3,
body.page-privacy-policy .md-entry-content h4,
body.page-kullanim-sartlari .md-entry-content p,
body.page-kullanim-sartlari .md-entry-content li,
body.page-kullanim-sartlari .md-entry-content h2,
body.page-kullanim-sartlari .md-entry-content h3,
body.page-kullanim-sartlari .md-entry-content h4,
body.page-cerez-politikasi .md-entry-content p,
body.page-cerez-politikasi .md-entry-content li,
body.page-cerez-politikasi .md-entry-content h2,
body.page-cerez-politikasi .md-entry-content h3,
body.page-cerez-politikasi .md-entry-content h4 {
    text-align: left !important;
}

body.page-gizlilik-politikasi .md-entry-content h2,
body.page-privacy-policy .md-entry-content h2,
body.page-kullanim-sartlari .md-entry-content h2,
body.page-cerez-politikasi .md-entry-content h2 {
    margin-top: 26px !important;
    margin-bottom: 12px !important;
    font-size: clamp(22px, 2.2vw, 30px) !important;
    line-height: 1.22 !important;
}

body.page-gizlilik-politikasi .md-entry-content p,
body.page-privacy-policy .md-entry-content p,
body.page-kullanim-sartlari .md-entry-content p,
body.page-cerez-politikasi .md-entry-content p {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
}


/* Final: yalnızca politika sayfaları metin düzeni v30 */
.md-policy-page-content .md-policy-page-title {
    font-size: clamp(22px, 2.1vw, 30px) !important;
    line-height: 1.18 !important;
    font-weight: 760 !important;
    letter-spacing: -.02em !important;
    margin: 6px 0 10px !important;
}

.md-policy-page-content .md-policy-entry-content {
    max-width: 920px !important;
    margin: 0 !important;
    text-align: left !important;
    color: #2f3b4d !important;
    font-size: 16.5px !important;
    line-height: 1.82 !important;
    font-weight: 400 !important;
}

.md-policy-page-content .md-policy-entry-content *,
.md-policy-page-content .md-policy-entry-content p,
.md-policy-page-content .md-policy-entry-content div,
.md-policy-page-content .md-policy-entry-content li,
.md-policy-page-content .md-policy-entry-content span,
.md-policy-page-content .md-policy-entry-content strong,
.md-policy-page-content .md-policy-entry-content em {
    text-align: left !important;
}

.md-policy-page-content .md-policy-entry-content p,
.md-policy-page-content .md-policy-entry-content div,
.md-policy-page-content .md-policy-entry-content li,
.md-policy-page-content .md-policy-entry-content span {
    color: #2f3b4d !important;
    font-size: 16.5px !important;
    line-height: 1.82 !important;
    font-weight: 400 !important;
}

.md-policy-page-content .md-policy-entry-content p {
    margin: 0 0 16px !important;
}

.md-policy-page-content .md-policy-entry-content h2,
.md-policy-page-content .md-policy-entry-content h3,
.md-policy-page-content .md-policy-entry-content h4 {
    text-align: left !important;
    color: #111827 !important;
    letter-spacing: -.01em !important;
    font-weight: 720 !important;
}

.md-policy-page-content .md-policy-entry-content h2 {
    margin: 24px 0 10px !important;
    font-size: 22px !important;
    line-height: 1.35 !important;
}

.md-policy-page-content .md-policy-entry-content h3 {
    margin: 20px 0 10px !important;
    font-size: 19px !important;
    line-height: 1.35 !important;
}

.md-policy-page-content .md-policy-entry-content ul,
.md-policy-page-content .md-policy-entry-content ol {
    margin: 0 0 18px 22px !important;
    padding: 0 !important;
    text-align: left !important;
}

.md-policy-page-content .md-policy-entry-content a {
    color: #ef3348 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

@media (max-width: 720px) {
    .md-policy-page-content .md-policy-entry-content,
    .md-policy-page-content .md-policy-entry-content p,
    .md-policy-page-content .md-policy-entry-content div,
    .md-policy-page-content .md-policy-entry-content li,
    .md-policy-page-content .md-policy-entry-content span {
        font-size: 15.5px !important;
        line-height: 1.75 !important;
    }
}


/* Kesin politika metin hizası v31 */
body.page-gizlilik-politikasi article.md-policy-page-content .md-policy-entry-content,
body.page-privacy-policy article.md-policy-page-content .md-policy-entry-content,
body.page-kullanim-sartlari article.md-policy-page-content .md-policy-entry-content,
body.page-cerez-politikasi article.md-policy-page-content .md-policy-entry-content,
article.md-policy-page-content .md-policy-entry-content {
    text-align: left !important;
    max-width: 920px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

body.page-gizlilik-politikasi article.md-policy-page-content .md-policy-entry-content *,
body.page-privacy-policy article.md-policy-page-content .md-policy-entry-content *,
body.page-kullanim-sartlari article.md-policy-page-content .md-policy-entry-content *,
body.page-cerez-politikasi article.md-policy-page-content .md-policy-entry-content *,
article.md-policy-page-content .md-policy-entry-content * {
    text-align: left !important;
}

body.page-gizlilik-politikasi article.md-policy-page-content .md-policy-entry-content p,
body.page-privacy-policy article.md-policy-page-content .md-policy-entry-content p,
body.page-kullanim-sartlari article.md-policy-page-content .md-policy-entry-content p,
body.page-cerez-politikasi article.md-policy-page-content .md-policy-entry-content p,
article.md-policy-page-content .md-policy-entry-content p {
    display: block !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.page-gizlilik-politikasi .md-compact-page-title,
body.page-privacy-policy .md-compact-page-title,
body.page-kullanim-sartlari .md-compact-page-title,
body.page-cerez-politikasi .md-compact-page-title,
.md-policy-page-content .md-policy-page-title {
    font-size: clamp(22px, 2vw, 30px) !important;
    line-height: 1.18 !important;
    font-weight: 750 !important;
}


/* Politika sayfaları son düzeltme v32 */
article.md-policy-page-content .md-policy-entry-content,
article.md-policy-page-content .md-policy-entry-content > * {
    text-align: left !important;
}

article.md-policy-page-content .md-policy-page-title,
body.page-gizlilik-politikasi .md-compact-page-title,
body.page-kullanim-sartlari .md-compact-page-title,
body.page-cerez-politikasi .md-compact-page-title {
    font-size: 30px !important;
    line-height: 1.18 !important;
}


/* Tüm Sınavlar final düzen - başlık, sayaç ve reklam yerleşimi */
.md-all-exams-page {
    padding: 22px 0 60px !important;
    background:
        radial-gradient(circle at 14% 14%, rgba(239, 56, 56, .09), transparent 30%),
        linear-gradient(180deg, #f6f8fc 0%, #eef3f9 100%) !important;
}

.md-all-exams-page > .container {
    max-width: 1360px !important;
}

.md-all-exams-hero {
    display: none !important;
}

.md-all-exams-summary-card {
    display: block;
    width: 100%;
    margin: 0 0 18px !important;
    padding: 24px 28px 20px !important;
    border: 1px solid #dfe7f1;
    border-radius: 22px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 16px 42px rgba(15,23,42,.055);
}

.md-all-exams-summary-text {
    max-width: 980px;
}

.md-all-exams-summary-card h1 {
    margin: 0 0 10px !important;
    color: #071632;
    font-size: clamp(26px, 2.5vw, 36px) !important;
    line-height: 1.1 !important;
    letter-spacing: -.035em !important;
}

.md-all-exams-summary-card p {
    margin: 0 !important;
    color: #53647c;
    max-width: 980px;
    font-size: 15px !important;
    line-height: 1.65 !important;
    font-weight: 650;
}

.md-all-exams-summary-card .md-all-exams-toolbar {
    margin: 18px 0 0 !important;
    padding: 16px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid #dfe7f1 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.md-all-exams-summary-card .md-all-exams-toolbar strong {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #071632;
    font-size: 15px !important;
    font-weight: 900;
}

.md-all-exams-summary-card .md-all-exams-toolbar strong::before {
    content: "▣";
    color: #1d72d2;
    font-size: 13px;
}

.md-all-exams-top-ad {
    width: min(100%, 970px);
    margin: 0 auto 20px !important;
}

.md-all-exams-top-ad .md-theme-ad-inner-after-hero {
    margin: 0 auto !important;
}

.md-all-exams-row-ad {
    display: block !important;
}

.md-all-exams-grid {
    margin-top: 0 !important;
}

.md-all-exams-page + .md-footer-before-ad,
.md-all-exams-page ~ .md-footer-before-ad {
    display: none !important;
}

@media (max-width: 760px) {
    .md-all-exams-page {
        padding-top: 16px !important;
    }

    .md-all-exams-summary-card {
        padding: 20px !important;
        border-radius: 18px;
    }

    .md-all-exams-summary-card h1 {
        font-size: 25px !important;
    }

    .md-all-exams-summary-card p {
        font-size: 14px !important;
    }
}

/* Tüm sınavlar sayfası: 12. karttan sonra reklam ve footer final düzeni */
.md-all-exams-row-ad-after-12 {
    display: block !important;
    grid-column: 1 / -1;
    width: min(100%, 970px);
    margin: 4px auto 8px !important;
}

.md-all-exams-row-ad-after-12 .md-theme-ad-inner-after-hero,
.md-all-exams-row-ad-after-12 .md-theme-ad-slot {
    margin: 0 auto !important;
}

.md-site-footer.site-footer {
    margin-top: 0 !important;
    overflow: hidden;
    background:
        radial-gradient(circle at 7% 0%, rgba(239, 35, 60, .20), transparent 27%),
        linear-gradient(135deg, #101827 0%, #13213a 52%, #0f172a 100%) !important;
}

.md-site-footer .md-footer-grid {
    width: min(1360px, calc(100% - 96px)) !important;
    max-width: 1360px !important;
    display: grid !important;
    grid-template-columns: 1.45fr 1fr 1.15fr 1.15fr !important;
    align-items: start !important;
    gap: 72px !important;
    padding: 58px 0 48px !important;
}

.md-site-footer .md-footer-brand p {
    max-width: 390px !important;
    margin: 18px 0 0 !important;
    color: rgba(226, 232, 240, .88) !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
    font-weight: 600 !important;
}

.md-site-footer .site-logo--footer {
    display: inline-flex !important;
    width: auto !important;
    max-width: 330px !important;
    margin: 0 0 8px !important;
}

.md-site-footer .site-footer-logo-image {
    width: 330px !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

.md-site-footer .md-footer-col h3 {
    position: relative;
    margin: 0 0 28px !important;
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
}

.md-site-footer .md-footer-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 52px !important;
    height: 4px !important;
    border-radius: 999px;
    background: #ff4663 !important;
}

.md-site-footer .md-footer-col ul {
    display: grid !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.md-site-footer .md-footer-col a {
    color: rgba(226, 232, 240, .88) !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.md-site-footer .md-footer-col a:hover,
.md-site-footer .md-footer-bottom a:hover {
    color: #ffffff !important;
}

.md-site-footer .md-footer-bottom {
    padding: 0 !important;
    border-top: 1px solid rgba(255,255,255,.10) !important;
    background: rgba(15, 23, 42, .42) !important;
}

.md-site-footer .md-footer-bottom-inner {
    width: min(1360px, calc(100% - 96px)) !important;
    max-width: 1360px !important;
    min-height: 74px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    flex-wrap: nowrap !important;
    padding: 0 !important;
}

.md-site-footer .md-footer-bottom-inner span {
    color: rgba(226, 232, 240, .82) !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    font-weight: 650 !important;
}

.md-site-footer .md-footer-bottom-inner span:last-child {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 13px !important;
    white-space: nowrap !important;
}

.md-site-footer .md-footer-bottom a {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

@media (max-width: 1180px) {
    .md-site-footer .md-footer-grid {
        width: min(100%, calc(100% - 56px)) !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 42px !important;
    }

    .md-site-footer .md-footer-bottom-inner {
        width: min(100%, calc(100% - 56px)) !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 18px 0 !important;
    }
}

@media (max-width: 760px) {
    .md-site-footer .md-footer-grid {
        width: min(100%, calc(100% - 32px)) !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 42px 0 34px !important;
    }

    .md-site-footer .site-logo--footer,
    .md-site-footer .site-footer-logo-image {
        max-width: 260px !important;
        width: 260px !important;
    }

    .md-site-footer .md-footer-bottom-inner {
        width: min(100%, calc(100% - 32px)) !important;
        min-height: auto !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 12px !important;
        padding: 18px 0 !important;
    }

    .md-site-footer .md-footer-bottom-inner span:last-child {
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        white-space: normal !important;
    }
}


/* Araç Arızaları sayfası - Tasarım Kodları */
.md-fault-page {
    padding: 18px 0 76px !important;
    background:
        radial-gradient(circle at 14% 8%, rgba(239, 56, 56, .09), transparent 28%),
        radial-gradient(circle at 90% 12%, rgba(59, 130, 246, .08), transparent 24%),
        linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%);
}

.md-fault-page .container {
    width: min(var(--site-max-width), calc(100% - var(--site-gutter))) !important;
    max-width: var(--site-max-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Üst başlık kartı */
.md-fault-hero {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto 18px !important;
    padding: 26px 34px !important;
    background: rgba(255, 255, 255, .72) !important;
    border: 1px solid rgba(203, 213, 225, .9) !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 35px rgba(15, 23, 42, .06) !important;
}

.md-fault-hero > span,
.md-fault-hero span:first-child {
    display: none !important;
}

.md-fault-hero h1 {
    max-width: 760px !important;
    margin: 0 0 12px !important;
    color: #071632 !important;
    font-size: clamp(20px, 2vw, 26px) !important;
    line-height: 1.18 !important;
    letter-spacing: -.035em !important;
}

.md-fault-hero p {
    max-width: 100% !important;
    margin: 0 !important;
    color: #52647e !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    font-weight: 650 !important;
    text-align: justify !important;
    text-justify: inter-word;
}

/* Reklam alanı */
.md-fault-page .md-theme-ad-slot.md-theme-ad-inner-after-hero,
.md-fault-page .md-theme-ad-inner-after-hero {
    margin-top: 18px !important;
}

/* Kartlar */
.md-fault-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.md-fault-card {
    display: grid;
    grid-template-columns: 48% 52%;
    gap: 0;
    align-items: stretch;
    min-height: 320px;
    padding: 0;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid #dfe7f1;
    background: #fff;
    color: #071632;
    box-shadow: 0 24px 64px rgba(15,23,42,.10);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.md-fault-card:hover {
    color: #071632;
    transform: translateY(-6px);
    border-color: rgba(239,56,56,.24);
    box-shadow: 0 34px 76px rgba(15,23,42,.16);
}

.md-fault-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px;
    background: linear-gradient(180deg, #f4f8fc 0%, #eef3f9 100%);
}

.md-fault-visual img {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    filter: drop-shadow(0 16px 28px rgba(15,23,42,.12));
}

.md-fault-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 34px;
}

.md-fault-label {
    align-self: flex-start;
    display: inline-flex;
    margin-bottom: 14px;
    border-radius: 999px;
    padding: 7px 12px;
    background: #fee2e2;
    color: #e12d35;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
}

.md-fault-content strong {
    margin-bottom: 12px;
    color: #071632;
    font-size: clamp(26px, 2.35vw, 38px);
    line-height: 1.08;
    letter-spacing: -.04em;
    font-weight: 850;
}

.md-fault-content small {
    max-width: 470px;
    color: #5a6b84;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 650;
}

.md-fault-content em {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 14px;
    background: #ef3838;
    color: #fff;
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(239,56,56,.22);
}

/* Mobil */
@media (max-width: 980px) {
    .md-fault-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .md-fault-hero {
        padding: 22px 20px !important;
        border-radius: 16px !important;
    }

    .md-fault-hero h1 {
        font-size: 24px !important;
    }
}

@media (max-width: 700px) {
    .md-fault-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .md-fault-visual {
        min-height: 220px;
        padding: 24px;
    }

    .md-fault-content {
        padding: 24px;
    }
}
.md-archive-row-ad {
    grid-column: 1 / -1;
    width: min(100%, 970px);
    margin: -10px auto 0px;
}
.md-archive-row-ad .md-theme-ad-slot,
.md-archive-row-ad .md-theme-ad-inner-between {
    margin: 0 !important;
}

.md-popular-row-ad {
    grid-column: 1 / -1;
    width: min(100%, 970px);
    margin: -10px auto 0px;
}
.md-popular-row-ad .md-theme-ad-slot,
.md-popular-row-ad .md-theme-ad-inner-between {
    margin: 0 !important;
}

.md-atolye-topic-row-ad {
    grid-column: 1 / -1;
    width: min(100%, 970px);
    margin: 0 auto 8px;
}

.md-atolye-topic-row-ad .md-theme-ad-slot,
.md-atolye-topic-row-ad .md-theme-ad-inner-between {
    margin: 0 !important;
}
