/*
 * Animesitesi marka stili (Faz 2) — tum sayfalar.
 * Renkler ve yazi tipleri marka paketindeki marka.css ile aynidir.
 * Ana sayfa bolumleri ayrica assets/css/ana-sayfa.css icindedir.
 * Kategori renkleri ve ana renk: Gorunum > Ozellestir (tema secenekleri).
 */

/*
 * Duzen kaymasi (CLS) onlemi: Google yazi tipleri gec yuklenir (LiteSpeed eszamansiz yukler).
 * O ana kadar olculeri Inter/Montserrat'a ayarlanmis yerel yedek yazi tipi kullanilir; yazi tipi
 * gelince satirlar neredeyse hic oynamaz. Arial (Windows/Mac) ve Roboto (Android) icin ayri ayar.
 */
@font-face {
    font-family: 'Inter Yedek A';
    src: local('Arial'), local('ArialMT');
    size-adjust: 107.1%;
    ascent-override: 90.4%;
    descent-override: 22.5%;
    line-gap-override: 0%;
}
@font-face {
    font-family: 'Inter Yedek R';
    src: local('Roboto'), local('Roboto-Regular');
    size-adjust: 103%;
    ascent-override: 94.1%;
    descent-override: 23.4%;
    line-gap-override: 0%;
}
@font-face {
    font-family: 'Montserrat Yedek A';
    src: local('Arial Bold'), local('Arial-BoldMT'), local('Arial');
    font-weight: 600 800;
    size-adjust: 112.8%;
    ascent-override: 85.8%;
    descent-override: 22.3%;
    line-gap-override: 0%;
}
@font-face {
    font-family: 'Montserrat Yedek R';
    src: local('Roboto Bold'), local('Roboto-Bold'), local('Roboto');
    font-weight: 600 800;
    size-adjust: 115%;
    ascent-override: 84.2%;
    descent-override: 21.8%;
    line-gap-override: 0%;
}

:root {
    --as-lacivert: #0f172a;
    --as-lacivert-koyu: #0b1120;
    --as-lacivert-2: #1e293b;
    --as-menekse: #6366f1;
    --as-menekse-koyu: #4f46e5;
    --as-menekse-yazi: #4338ca;
    --as-menekse-acik: #a5b4fc;
    --as-menekse-zemin: #eef2ff;
    --as-mercan: #f43f5e;
    --as-acik: #f8fafc;
    --as-metin: #1e293b;
    --as-metin-2: #475569;
    --as-metin-3: #64748b;
    --as-cizgi: #e2e8f0;
    --as-baslik-font: 'Montserrat', 'Montserrat Yedek A', 'Montserrat Yedek R', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --as-govde-font: 'Inter', 'Inter Yedek A', 'Inter Yedek R', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Temel ---------- */
body,
body.custom-background {
    background-color: var(--as-acik);
}
body {
    font-family: var(--as-govde-font);
    color: var(--as-metin);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6,
.header-text,
.ct-title-head,
.trending-title,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    font-family: var(--as-baslik-font);
    letter-spacing: -.01em;
}
::selection {
    background-color: var(--as-menekse);
    color: #fff;
}
:focus-visible {
    outline: 3px solid var(--as-menekse-acik);
    outline-offset: 2px;
}

/* ---------- Ust cubuk ---------- */
body .top-bar {
    background-color: var(--as-lacivert-koyu);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
body .top-bar,
body .top-bar a,
body .top-bar a:visited,
body .top-bar a.ct-show-hide-top {
    color: #cbd5e1;
}
body .top-bar a:hover,
body .top-bar a:visited:hover {
    color: #fff;
}
.top-bar .top-menu a {
    font-weight: 500;
}

/* ---------- Logo alani ---------- */
.as-ust-alan {
    background: var(--as-lacivert);
    padding: 26px 0 22px;
    text-align: center;
}
.as-ust-alan .as-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.as-ust-alan .as-logo-baglanti {
    display: inline-block;
    line-height: 0;
}
.as-ust-alan .as-logo img {
    width: 360px;
    max-width: 82vw;
    height: auto;
}

/* ---------- Ana menu ---------- */
body .refined-magazine-menu-container {
    background-color: var(--as-lacivert);
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.main-navigation li a {
    font-family: var(--as-baslik-font);
    font-size: 15px;
    font-weight: 600;
}
body .main-navigation ul li a:hover,
body .main-navigation ul li.current-menu-item > a {
    background-color: var(--as-menekse);
    color: #fff;
}
.navbar-nav > li.menu-item-has-children > a::after {
    color: var(--as-menekse-acik);
}
.main-navigation ul ul {
    border: 1px solid var(--as-cizgi);
    border-radius: 10px;
    box-shadow: 0 16px 32px -16px rgba(15, 23, 42, .35);
}
.main-navigation ul ul li {
    border-bottom-color: var(--as-cizgi);
}
.main-navigation ul ul li a {
    font-family: var(--as-govde-font);
    font-size: 14px;
    font-weight: 500;
}
body .main-navigation ul ul li a:hover,
body .main-navigation ul ul li.current-menu-item > a {
    background-color: var(--as-menekse-zemin);
    color: var(--as-menekse-yazi);
}
.refined-magazine-menu-container .menu-toggle {
    border-radius: 8px;
    background-color: rgba(255, 255, 255, .08);
}

/* ---------- Yerlesim ---------- */
.site-main,
.ct-sidebar-wrapper {
    background: transparent;
}
article.post .refined-magazine-content-container,
article.page .refined-magazine-content-container {
    border: 1px solid var(--as-cizgi);
    border-radius: 14px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
body article.sticky .refined-magazine-content-container {
    background-color: #fff;
    border-color: var(--as-menekse-acik);
}

/* ---------- Basliklar ve ust bilgiler ---------- */
.entry-title,
.page-title {
    color: var(--as-lacivert);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.015em;
}
.entry-title a,
.entry-title a:visited {
    color: var(--as-lacivert);
}
body .entry-title a:hover {
    color: var(--as-menekse-koyu);
}
h1.entry-title {
    font-size: clamp(26px, 3.2vw, 36px);
}
h2.entry-title {
    font-size: 21px;
}
.page-header .page-title {
    font-size: 26px;
}
.entry-meta,
.entry-footer {
    font-size: 13px;
    color: var(--as-metin-3);
}
.entry-meta a,
.entry-meta a:visited,
.entry-footer a,
.entry-footer a:visited {
    color: var(--as-metin-2);
}
.entry-meta .fa,
.entry-footer .fa {
    /* Ikon yazi tipi gec gelince satir kaymasin: sabit genislik */
    display: inline-block;
    width: 1.15em;
    text-align: center;
    color: var(--as-menekse);
}

/* Kategori rozetleri (renkler: Ozellestir > kategori renkleri) */
.cat-links a,
.cat-links a:visited {
    padding: 6px 9px;
    border-radius: 6px;
    font: 700 11px/1 var(--as-baslik-font);
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Sponsorlu */
.as-sponsor-rozeti {
    display: inline-block;
    margin: 0 0 5px;
    padding: 5px 9px;
    border: 1px solid #fcd34d;
    border-radius: 6px;
    background: #fef3c7;
    color: #92400e;
    font: 700 11px/1 var(--as-baslik-font);
    letter-spacing: .06em;
    text-transform: uppercase;
    vertical-align: top;
}
.as-sponsor-kutusu {
    margin: 0 0 24px;
    padding: 14px 18px;
    border-left: 4px solid #f59e0b;
    border-radius: 10px;
    background: #fffbeb;
    color: #78350f;
    font-size: 15px;
    line-height: 1.6;
}
.as-sponsor-kutusu strong {
    display: block;
    margin-bottom: 2px;
    font-family: var(--as-baslik-font);
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
}
body .entry-content .as-sponsor-kutusu a {
    color: #92400e;
    text-decoration: underline;
}

/* ---------- Yazi icerigi ---------- */
.entry-content {
    color: var(--as-metin);
}
.entry-content p,
.entry-content li {
    line-height: 1.75;
}
.entry-content h2 {
    margin: 1.6em 0 .6em;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--as-lacivert);
}
.entry-content h3 {
    margin: 1.4em 0 .5em;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--as-lacivert);
}
.entry-content h4 {
    margin: 1.2em 0 .5em;
    font-size: 18px;
    font-weight: 700;
    color: var(--as-lacivert);
}
body .entry-content a {
    color: var(--as-menekse-koyu);
}
.entry-content p a,
.entry-content li a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
body .entry-content a:hover {
    color: var(--as-menekse-yazi);
}
body blockquote {
    margin: 1.5em 0;
    padding: 16px 22px;
    border-left: 4px solid var(--as-menekse);
    border-radius: 0 12px 12px 0;
    background: var(--as-menekse-zemin);
    color: var(--as-lacivert-2);
}
.entry-content a.read-more-text,
.entry-content a.read-more-text:visited {
    font-family: var(--as-baslik-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--as-menekse-yazi);
    text-decoration: none;
}
.entry-content img {
    border-radius: 10px;
}
/* Paylasim dugmeleri: Ek CSS zemini beyaza cekiyordu, beyaz yazi gorunmuyordu (#page ile ustune cikilir) */
#page .meta_bottom .post-share a,
#page .meta_bottom .post-share a:visited {
    border-radius: 8px;
    background-color: var(--as-lacivert);
    color: #fff;
    transition: background-color .2s;
}
#page .meta_bottom .post-share a:hover {
    background-color: var(--as-menekse);
    color: #fff;
}
#page .meta_bottom .post-share a i {
    color: #fff;
}
/* fa-facebook vb. Font Awesome 6'da "Brands" ailesinde; aksi halde kutucuk gorunuyordu */
#page .meta_bottom .post-share a i.fa {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
}
.meta_bottom .text_share {
    font-family: var(--as-baslik-font);
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--as-metin-2);
}

/* ---------- Kenar cubugu ---------- */
#secondary .sidebar-widget-container {
    padding: 20px 22px;
    border: 1px solid var(--as-cizgi);
    border-radius: 14px;
    background: #fff;
}
.widget-title {
    padding-bottom: 10px;
    border-bottom: 2px solid var(--as-cizgi);
    color: var(--as-lacivert);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
}
body .widget-title:before,
body #secondary .widget-title:before {
    bottom: -2px;
    height: 2px;
    max-width: 48px;
    background-color: var(--as-menekse);
}
#secondary .widget ul li a,
#secondary .widget ul li a:visited {
    color: var(--as-lacivert);
    font-weight: 600;
}
#secondary .widget ul li a:hover {
    color: var(--as-menekse-koyu);
}
.widget_recent_entries ul li:before,
.widget_recent_comments ul li:before,
.widget_categories ul li:before,
.widget_archive ul li:before,
.widget_pages ul li:before,
.widget_meta ul li:before {
    color: var(--as-menekse-acik);
}

/* ---------- Gezinme, sayfalama, dugmeler ---------- */
.breadcrumbs,
.breadcrumbs a,
#refined-magazine-breadcrumbs {
    font-size: 13px;
    color: var(--as-metin-3);
}
.breadcrumbs a,
.breadcrumbs a:visited {
    color: var(--as-metin-2);
    text-decoration: underline;
    text-decoration-color: var(--as-cizgi);
    text-underline-offset: 3px;
}
.breadcrumbs a:hover {
    text-decoration-color: currentColor;
}
body .show-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    background-color: var(--as-menekse-koyu);
    color: #fff;
    font: 700 15px/1 var(--as-baslik-font);
    cursor: pointer;
}
body .show-more:hover {
    background-color: var(--as-menekse-yazi);
}
.candid-pagination .page-numbers {
    border-radius: 8px;
}
body input[type="submit"],
body .search-form input[type="submit"] {
    border-radius: 8px;
}
body #toTop {
    border-radius: 10px 0 0 0;
    background-color: var(--as-menekse);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--as-lacivert);
}
body .top-footer {
    padding: 56px 0 40px;
    border-top: 3px solid var(--as-menekse);
    border-image: linear-gradient(90deg, var(--as-menekse) 0, var(--as-menekse) 92%, var(--as-mercan) 92%, var(--as-mercan) 100%) 1;
    background: var(--as-lacivert);
}
.site-footer,
.site-footer a,
.site-footer a:visited {
    color: #cbd5e1;
}
.site-footer a:hover,
.site-footer a:visited:hover {
    color: #fff;
}
.site-footer .widget-title {
    border-bottom-color: rgba(255, 255, 255, .1);
    color: #fff;
}
.site-footer .widget-title:after {
    content: none;
}
#colophon .widget .tagcloud a {
    margin: 0 6px 8px 0;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, .06);
    color: #e2e8f0;
    letter-spacing: 0;
    transition: background-color .2s, border-color .2s;
}
#colophon .widget .tagcloud a:hover {
    border-color: var(--as-menekse);
    background-color: var(--as-menekse);
    color: #fff;
}
#colophon .tagcloud .tag-link-count {
    color: #94a3b8;
}
#colophon .tagcloud a:hover .tag-link-count {
    color: #e0e7ff;
}
#colophon .widget_recent_entries ul li a {
    color: #f1f5f9;
    font-weight: 600;
}
#colophon .widget_recent_entries ul li a:hover {
    color: var(--as-menekse-acik);
}
#colophon .widget_recent_entries .post-date {
    color: var(--as-menekse-acik);
    font-size: 13px;
}
#colophon .widget_recent_entries ul li:before {
    color: var(--as-mercan);
}
#colophon .refined-magazine-menu-social li a {
    border-radius: 10px;
    transition: background-color .2s;
}
#colophon .refined-magazine-menu-social li a:hover {
    background-color: var(--as-menekse);
}
#colophon .refined-magazine-menu-social li a:hover::before {
    color: #fff;
}
#colophon .widget_block {
    font-size: 14px;
    line-height: 1.7;
    color: #94a3b8;
}
#colophon .widget_block a {
    color: #c7d2fe;
    text-decoration: underline;
    text-underline-offset: 2px;
}
#colophon .widget_block a:hover {
    color: #fff;
}

/* Alt satir: logo + telif (tema kredisi kaldirildi) */
body footer .site-info {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
    background: var(--as-lacivert-koyu);
}
.as-site-info-ic {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
}
.as-site-info .as-alt-logo,
.as-site-info .as-alt-logo:visited {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font: 800 15px/1 var(--as-baslik-font);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.as-site-info .as-alt-logo img {
    width: 36px;
    height: 36px;
}
.as-site-info .copy-right-text {
    font-size: 13.5px;
    color: #94a3b8;
}

/* ---------- Duyarli ---------- */
@media (min-width: 768px) and (max-width: 1100px) {
    /* Tablette ana menu tek satira sigsin */
    .main-navigation li a {
        padding-left: 12px;
        padding-right: 12px;
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .as-ust-alan {
        padding: 18px 0 16px;
    }
    .as-ust-alan .as-logo img {
        width: 280px;
    }
    h2.entry-title {
        font-size: 19px;
    }
    .entry-content h2 {
        font-size: 22px;
    }
    .entry-content h3 {
        font-size: 19px;
    }
    .as-site-info-ic {
        flex-direction: column;
        text-align: center;
    }
    /* Sagda sabit duran reCAPTCHA rozeti telif satirini ortmesin */
    body footer .site-info {
        padding-bottom: 80px;
    }
}
