/* ATA Medya — tam sayfa dark mode (tg-theme=dark, html attribute) */

[tg-theme=dark] {
    color-scheme: dark;
    --tg-body-font-color: #b8c5d3;
    --tg-heading-font-color: #f0f4f8;
    --tg-paragraph-color: #b8c5d3;
    --tg-icon-color: #9eb0c4;
    --tg-border-color: #2a3a4d;
    --tg-teal: #182330;
    /* Arka plan rengi olarak kullanıldığında açık griye dönmesin */
    --tg-gray-three: #1e2d3d;
}

[tg-theme=dark] body {
    background: #0c192a;
    color: var(--tg-body-font-color);
}

[tg-theme=dark] main,
[tg-theme=dark] .fix {
    background: #0c192a;
}

[tg-theme=dark] h1,
[tg-theme=dark] h2,
[tg-theme=dark] h3,
[tg-theme=dark] h4,
[tg-theme=dark] h5,
[tg-theme=dark] h6,
[tg-theme=dark] .title {
    color: var(--tg-heading-font-color);
}

[tg-theme=dark] main p,
[tg-theme=dark] main li,
[tg-theme=dark] .about-content p,
[tg-theme=dark] .about-content > span {
    color: var(--tg-body-font-color);
}

/* Header / nav */
[tg-theme=dark] .header-top-wrap-two {
    background: #0f161e !important;
}

/* Üst / menü logo — siyah PNG'yi yazılımsal beyaz (ayrı dosya gerekmez) */
[tg-theme=dark] .header-top-left img,
[tg-theme=dark] .menu-nav .logo:not(.d-none) img,
[tg-theme=dark] .menu-area .logo:not(.d-none) img,
[tg-theme=dark] .mobile-menu .nav-logo:not(.d-none) img,
[tg-theme=dark] .offCanvas-wrap .logo img {
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}

/* Şablonun dark'ta .logo.d-none swap'ı aynı siyah görseli gösteriyordu — kapat */
[tg-theme=dark] .menu-area .logo:not(.d-none) {
    display: block !important;
}

[tg-theme=dark] .menu-area .logo.d-none {
    display: none !important;
}

[tg-theme=dark] .mobile-menu .nav-logo:not(.d-none) {
    display: block !important;
}

[tg-theme=dark] .mobile-menu .nav-logo.d-none {
    display: none !important;
}

[tg-theme=dark] #sticky-header.menu-area.menu-style-three,
[tg-theme=dark] .menu-area.menu-style-three.tl-brand-nav,
[tg-theme=dark] .menu-area.menu-style-three {
    background: #182330 !important;
    background-color: #182330 !important;
    border-bottom-color: var(--tg-border-dark);
}

[tg-theme=dark] .sticky-menu.menu-area.menu-style-three {
    background: #182330 !important;
}

[tg-theme=dark] .navbar-wrap ul li a {
    color: #f0f4f8;
}

[tg-theme=dark] .navbar-wrap ul li:hover > a,
[tg-theme=dark] .navbar-wrap ul li.active > a {
    color: var(--tg-primary-color);
}

[tg-theme=dark] .navbar-wrap ul li .sub-menu li a {
    color: #e8eef4;
}

/* Ana sayfa — style.css içindeki #ffffff zorlamalarını ez */
[tg-theme=dark] .banner-post-area-five,
[tg-theme=dark] .banner-post-area-five .container,
[tg-theme=dark] .news-banner-post-wrap,
[tg-theme=dark] .news-banner-post-wrap > .row,
[tg-theme=dark] .news-banner-post-wrap .row .col-33,
[tg-theme=dark] .news-banner-post-wrap .row .col-67,
[tg-theme=dark] .news-banner-post-wrap .banner-hero-swiper.swiper-container,
[tg-theme=dark] .news-banner-post-wrap .banner-hero-swiper .swiper-slide,
[tg-theme=dark] .banner-hero-slide.banner-hero-slide--modern,
[tg-theme=dark] .banner-hero-slide__body,
[tg-theme=dark] .banner-hero-slide__text,
[tg-theme=dark] .banner-hero-pagination,
[tg-theme=dark] .news-banner-small-post,
[tg-theme=dark] .sidebar-wrap-three,
[tg-theme=dark] .sidebar-widget-three,
[tg-theme=dark] .stories-post-wrap,
[tg-theme=dark] .stories-post,
[tg-theme=dark] .stories-post-content,
[tg-theme=dark] .latest-post-area,
[tg-theme=dark] .latest-post-inner-wrap,
[tg-theme=dark] .featured-post-area,
[tg-theme=dark] .editor-post-area,
[tg-theme=dark] .trending-post-area,
[tg-theme=dark] .overlay-post-area,
[tg-theme=dark] .weekly-post-area,
[tg-theme=dark] .today-post-area,
[tg-theme=dark] .about-area,
[tg-theme=dark] .contact-area,
[tg-theme=dark] .contact-form,
[tg-theme=dark] .contact-info-item {
    background: #182330 !important;
    background-color: #182330 !important;
}

[tg-theme=dark] .banner-post-five,
[tg-theme=dark] .latest-post-item,
[tg-theme=dark] .featured-post-item,
[tg-theme=dark] .editor-post-item,
[tg-theme=dark] .trending-post-item,
[tg-theme=dark] .overlay-post-item,
[tg-theme=dark] .weekly-post-item {
    background: #1e2d3d !important;
    border-color: var(--tg-border-dark) !important;
}

[tg-theme=dark] .banner-post-five {
    border-bottom-color: var(--tg-border-dark);
}

[tg-theme=dark] .news-banner-small-post::before {
    background: var(--tg-border-dark);
}

[tg-theme=dark] .post-title a,
[tg-theme=dark] .banner-post-content-five .post-title a,
[tg-theme=dark] .featured-post-content .post-title a,
[tg-theme=dark] .latest-post-content .post-title a {
    color: #f0f4f8;
}

[tg-theme=dark] .post-title a:hover,
[tg-theme=dark] .banner-post-content-five .post-title a:hover {
    color: var(--tg-primary-color);
}

[tg-theme=dark] .post-tag-four,
[tg-theme=dark] .blog-post-meta,
[tg-theme=dark] .blog-post-meta .list-wrap li,
[tg-theme=dark] .blog-post-meta .list-wrap li i {
    color: var(--tg-gray-three);
}

[tg-theme=dark] .section-title-five .sub-title {
    color: var(--tg-primary-color);
}

[tg-theme=dark] .section-title-five .title {
    color: #f0f4f8;
}

[tg-theme=dark] .section-title-line {
    border-color: var(--tg-border-dark);
}

[tg-theme=dark] .section-title-line::after {
    background: #0c192a;
}

/* Hero: başlık görsel üstünde beyaz; meta/özet altta normal */
[tg-theme=dark] .banner-hero-slide--overlay .banner-hero-slide__caption .banner-hero-slide__title {
    color: #ffffff !important;
}

/* Hero metin */
[tg-theme=dark] .banner-hero-slide__title,
[tg-theme=dark] .banner-hero-slide__title a,
[tg-theme=dark] a.banner-hero-slide__excerpt,
[tg-theme=dark] .banner-hero-slide__excerpt {
    color: #f0f4f8 !important;
}

[tg-theme=dark] .banner-hero-slide__kicker {
    color: #9eb0c4 !important;
    border-color: #3d4f63 !important;
}

[tg-theme=dark] .banner-hero-slide__meta,
[tg-theme=dark] .banner-hero-slide__meta-item {
    color: #9eb0c4 !important;
}

[tg-theme=dark] .banner-hero-page-btn {
    color: #e8eef4 !important;
    background: #273341 !important;
}

[tg-theme=dark] .banner-hero-page-btn.is-active,
[tg-theme=dark] .banner-hero-page-btn[aria-current="true"] {
    background: var(--tg-primary-color) !important;
    color: #fff !important;
}

/* Sidebar Güncel Haberler */
[tg-theme=dark] .stories-post-content .post-title,
[tg-theme=dark] .stories-post-content .post-title a,
[tg-theme=dark] .widget-title-three .title {
    color: #f0f4f8 !important;
}

[tg-theme=dark] .stories-post {
    border-bottom-color: #2a3a4d !important;
}

[tg-theme=dark] .news-banner-post-wrap .banner-hero-swiper .swiper-button-prev,
[tg-theme=dark] .news-banner-post-wrap .banner-hero-swiper .swiper-button-next {
    color: #fff;
    background: rgba(24, 35, 48, 0.9);
}

/* Footer link bar */
[tg-theme=dark] .copyright-text-two .navbar-wrap ul li a {
    color: #b8c5d3;
}

[tg-theme=dark] .copyright-text-two .navbar-wrap ul li a:hover {
    color: var(--tg-primary-color);
}

[tg-theme=dark] .copyright-text-two p {
    color: #7c91aa;
}

/* Mobil kategori şeridi */
[tg-theme=dark] .mobile-scrolling-menu {
    background-color: #182330 !important;
}

[tg-theme=dark] .stories {
    background-color: #182330;
    border-bottom-color: var(--tg-border-dark);
}

[tg-theme=dark] .story p {
    color: var(--tg-body-font-color);
}

/* Form / input */
[tg-theme=dark] input,
[tg-theme=dark] textarea,
[tg-theme=dark] select {
    background: #273341;
    color: #f0f4f8;
    border-color: var(--tg-border-dark);
}

[tg-theme=dark] .btn-two {
    color: #fff;
}

/* Liste sayfaları: Güncel Haberler, Kategori, Haftanın Haberleri */
[tg-theme=dark] .breadcrumb-area {
    background: #182330 !important;
}

[tg-theme=dark] .breadcrumb-content .breadcrumb-item,
[tg-theme=dark] .breadcrumb-content .breadcrumb-item a {
    color: #b8c5d3 !important;
}

[tg-theme=dark] .breadcrumb-content .breadcrumb-item.active {
    color: var(--tg-primary-color) !important;
}

[tg-theme=dark] .breadcrumb-content .breadcrumb-item + .breadcrumb-item::before {
    color: #9eb0c4 !important;
}

[tg-theme=dark] .blog-area,
[tg-theme=dark] .author-inner-wrap,
[tg-theme=dark] .weekly-post-item-wrap-three,
[tg-theme=dark] .weekly-post-three,
[tg-theme=dark] .weekly-post-content,
[tg-theme=dark] .sidebar-wrap,
[tg-theme=dark] .sidebar-widget,
[tg-theme=dark] .sidebar-widget-two {
    background: transparent !important;
    background-color: transparent !important;
}

[tg-theme=dark] .weekly-post-three .post-title,
[tg-theme=dark] .weekly-post-three .post-title a,
[tg-theme=dark] .hot-post-content .post-title,
[tg-theme=dark] .hot-post-content .post-title a,
[tg-theme=dark] .widget-title .title,
[tg-theme=dark] .widget-title h6.title {
    color: #f0f4f8 !important;
}

[tg-theme=dark] .weekly-post-three .blog-post-meta,
[tg-theme=dark] .weekly-post-three .blog-post-meta .list-wrap li,
[tg-theme=dark] .hot-post-content .blog-post-meta,
[tg-theme=dark] .hot-post-content .blog-post-meta .list-wrap li {
    color: #9eb0c4 !important;
}

[tg-theme=dark] .pagination-wrap .pagination .page-link {
    color: #e8eef4 !important;
    background: #273341 !important;
    border-color: #3d4f63 !important;
}

[tg-theme=dark] .pagination-wrap .pagination .page-item.active .page-link,
[tg-theme=dark] .pagination-wrap .pagination .page-link:hover {
    background: var(--tg-primary-color) !important;
    border-color: var(--tg-primary-color) !important;
    color: #fff !important;
}

[tg-theme=dark] .pagination-wrap .pagination .page-item.disabled .page-link {
    background: #1e2d3d !important;
    color: #7c91aa !important;
}

/* --tg-gray-three dark modda açık griye dönmesin (breadcrumb vb.) */
[tg-theme=dark] .breadcrumb-area,
[tg-theme=dark] .author-wrap,
[tg-theme=dark] .stories-post-two {
    background-color: #182330 !important;
}
