/* ================================================================
/* 1. GLOBAL AYARLAR ve FONT TANIMLAMASI
/* ================================================================ */

/* Google Fonts'tan Inter fontu yükleniyor */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

/* Tüm sayfada yatay taşmayı engeller */
html {
  font-size: 100% !important;
}

body {
  overflow-x: hidden !important;
  background-color: #fefefe !important;
  font-family: 'Poppins', Verdana, sans-serif !important;
  font-size: 1.10rem !important;
  line-height: 1.6 !important;
}

/* ================================================================
/* 2. FOOTER TAG BULUTU STİLLERİ
/* ================================================================ */

/* Footer'daki etiket kutusu */
.footer-tags-container {
    padding: 55px 20px;
    text-align: center;
    font-family: 'Poppins', Verdana, sans-serif;
    background: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Footer başlığı */
.footer-tags-title {
    font-size: 21px;
    font-weight: 600;
    color: #555 !important;
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}

/* Etiketlerin bulunduğu liste */
.footer-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 11px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Her bir etiket linki */
.footer-tags-cloud li a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #1a1a1a;
    background: #f8f9fb;
    border: 1px solid #e4e6eb;
    font-weight: 500;
    letter-spacing: -0.2px;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Hover efekti */
.footer-tags-cloud li a:hover {
    background: #0073aa;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 115, 170, 0.25);
}

/* Etiket içindeki sayı kutucuğu */
.footer-tags-cloud .tag-count {
    display: inline-block;
    background: rgba(0, 0, 0, 0.07);
    color: #333;
    font-size: 12.5px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 8px;
    line-height: 1.2;
}

/* Hover durumunda sayı kutucuğu renk değişimi */
.footer-tags-cloud li a:hover .tag-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Mobil düzenleme */
@media (max-width: 768px) {
    .footer-tags-cloud li a {
        padding: 7px 11px;
        font-size: 14px !important;
    }
    .footer-tags-container {
        padding: 40px 12px;
    }
}

/* ================================================================
/* 3. HEADER / ÜST MENÜ STİLLERİ (TAMAMI)
/* ================================================================ */

/* Header ana kutusu */
.site-header {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid rgba(38, 50, 56, 0.08);
    margin-bottom: 50px;
    padding: clamp(0.5rem, 1vw, 0.8rem) clamp(1rem, 3vw, 3rem);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(4px);
    transition: all 0.25s ease;
}

/* Navbar container */
.navbar {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: space-between;
    gap: 1.5rem;
    min-width: 0;
    position: relative;
}

/* Mobil açılır menü */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 10000;
    display: none;
    flex-direction: column;
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: flex;
}

/* Site kimliği */
.site-branding {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    min-width: 0;
}

/* Logo boyutu */
.site-branding .custom-logo {
    width: clamp(50px, 10vw, 75px);
    height: auto;
    max-height: 75px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Site başlığı */
.site-title {
    font-size: clamp(1.1em, 2.5vw, 1.5em);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: #0f161a;
    letter-spacing: -0.3px;
}

.site-title a {
    text-decoration: none;
    color: inherit;
}

/* Site açıklaması */
.site-description {
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    color: #555 !important;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    max-width: 200px;
}

/* Sağ alan: sosyal + dil seçici */
.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Sosyal ikon navigasyonu gizli */
.social-icons .jetpack-social-navigation {
    display: none;
}

/* Masaüstünde göster */
@media (min-width: 1024px) {
    .social-icons .jetpack-social-navigation {
        display: flex;
        align-items: center;
    }
}

.social-icons .jetpack-social-navigation ul {
    margin: -7px 12px 0 0;
}

.social-icons .jetpack-social-navigation li {
    margin-right: 4px;
}

.social-icons .jetpack-social-navigation a {
    color: inherit;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.social-icons .jetpack-social-navigation a:hover {
    color: #0073aa;
    opacity: 1;
}

/* Arama butonu */
.social-icons .search-toggle {
    border-radius: 8px;
    padding: 0.35rem 0.8rem;
    background: #f4f5f6;
    border: none;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.social-icons .search-toggle:hover {
    background: #0073aa;
    color: #fff;
}

/* ================================================================
/* 4. DİL DEĞİŞTİRİCİ
/* ================================================================ */

.lang-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-switcher .lang-flag {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 22px;
    opacity: 0.6;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.lang-switcher .lang-flag:hover {
    transform: scale(1.1);
    opacity: 1;
}

.lang-switcher .lang-flag[aria-current='true'] {
    opacity: 1;
    transform: scale(1.1);
    font-weight: 600;
}

.lang-switcher .lang-flag[aria-current='true'] .lang-label {
    font-size: 14px;
    color: #333;
    margin-left: 4px;
}

@media (prefers-color-scheme: dark) {
    .lang-switcher .lang-flag[aria-current='true'] .lang-label {
        color: #eee;
    }
}

/* ================================================================
/* 5. MOBİL GÖRÜNÜM DÜZENLEMELERİ
/* ================================================================ */

@media (max-width: 600px) {
    .site-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0.5rem 1rem;
        overflow: visible;
    }

    .site-branding {
        gap: 8px;
    }

    .site-description {
        display: none;
    }

    .social-icons {
        gap: 10px;
    }
}

/* ================================================================
/* 6. "SON YAZILAR" BLOĞU STİLLERİ
/* ================================================================ */

.wp-block-latest-posts.alignleft {
    float: left;
    text-align: left;
}

.wp-block-latest-posts__list {
    list-style-type: disc !important;
    list-style-position: outside;
    margin-left: 1.5em;
    padding-left: 1.5em;
    text-align: left !important;
}

.wp-block-latest-posts__list li {
    text-align: left !important;
    margin-bottom: 0.5em;
}

/* ================================================================
/* 7. FOOTER WIDGET MOBİL DÜZENİ
/* ================================================================ */

@media (max-width: 768px) {
    footer .widget,
    .site-footer .widget,
    .footer-widgets .widget {
        margin-bottom: 50px;
    }

    footer .widget:last-child,
    .site-footer .widget:last-child,
    .footer-widgets .widget:last-child {
        margin-bottom: 0;
    }

    footer,
    .site-footer {
        padding-bottom: 50px;
    }
}

/* ================================================================
/* 8. GENEL BAŞLIK RENKLERİ
/* ================================================================ */

h1 {
    color: #4A90E2 !important; /* Ana başlık */
}

h2 {
    color: #003F87 !important; /* Çok koyu ve canlı mavi, H1’den belirgin farklı */
}

h3 {
    color: #007BFF !important; /* Parlak ve doygun mavi, H2’den net şekilde farklı */
}

h4 {
    color: #005BB5 !important; /* Orta ton, H3 ile uyumlu ama ayrı */
}

h5 {
    color: #0066CC !important; /* Canlı mavi, alt başlık olarak belirgin */
}

h6 {
    color: #004080 !important; /* Koyu ve güçlü, H5’ten farklı */
}


/* ================================================================
/* 9. WPP (POPULAR POSTS) STİLLERİ
/* ================================================================ */

.popular-posts-section,
.wpp-popular-wrap,
.wpp-widget,
.widget_block .popular-posts {
    padding: 50px 0 !important;
    display: flex !important;
    justify-content: center !important;
}

.popular-posts-section .container,
.wpp-popular-wrap .container,
.widget_block .popular-posts .container {
    width: 95% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

.popular-title,
.widget_block .popular-posts h2,
.wpp-popular-wrap h2 {
    text-align: center !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 28px !important;
}

.popular-grid,
ul.wpp-list.wpp-tiles,
.widget_block .wpp-list,
.wpp-list.wpp-tiles {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    list-style: none !important;
    align-items: start !important;
    justify-content: center !important;
}

ul.wpp-list.wpp-tiles li,
.wpp-list.wpp-tiles li,
.popular-item,
.widget_block .wpp-list .wpp-post {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background: #000 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    width: 100% !important;
    margin: 0 !important;
}

ul.wpp-list.wpp-tiles li img,
.wpp-list.wpp-tiles li img,
.popular-thumb img,
.widget_block .wpp-list img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 12px !important;
}

ul.wpp-list.wpp-tiles li .wpp-post-data,
.wpp-post-data,
.popular-overlay,
.widget_block .wpp-post-data {
    position: absolute !important;
    bottom: 0 !important;
    left: 0;
    width: 100% !important;
    padding: 10px 12px !important;
    background: rgba(0, 0, 0, 0.55) !important;
    color: #fff !important;
    border-radius: 0 0 12px 12px !important;
}

ul.wpp-list.wpp-tiles li .wpp-post-data a,
.wpp-post-data a,
.popular-item-title,
.popular-item-title a {
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
}

@media (max-width: 1024px) {
    ul.wpp-list.wpp-tiles,
    .popular-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    ul.wpp-list.wpp-tiles,
    .popular-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    ul.wpp-list.wpp-tiles li img,
    .popular-thumb img {
        height: 160px !important;
    }
}

ul.wpp-list.wpp-tiles li:only-child,
.popular-grid > :only-child,
.widget_block .wpp-list li:only-child {
    max-width: 600px !important;
    margin: 0 auto !important;
}

ul.wpp-list.wpp-tiles li:hover,
.popular-item:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15) !important;
}

/* ================================================================
/* 10. POST VIEWS GÖSTERİMİ
/* ================================================================ */

.post-views {
    display: block;
    margin-top: 10px;
    color: #888;
    font-size: 18px;
}

/* ================================================================
/* 11. ANA SAYFA SON GÖNDERİLER CARD KISMI (TAMAMI)
/* ================================================================ */

.card {
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
	position: relative;
	transition: box-shadow 0.3s ease;
	width: 100%;
}

.card:hover {
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.30);
}

.card:hover .card__media img {
	transform: scale(1.1);
}

.card__body {
	padding: 1.5rem 2rem;
}

.card__subtitle {
	font-size: 12px;
	font-size: 0.8rem;
	color: #1B5E20;
	font-weight: 800;
	text-transform: uppercase;
	font-family: -apple-system, BlinkMacSystemFont, "avenir next", avenir, "helvetica neue", helvetica, ubuntu, roboto, noto, "segoe ui", arial, sans-serif;
	letter-spacing: 1px;
	margin: 0 0 8px;
}

.card__subtitle.cat-links {
	padding: 0;
	float: left;
	width: auto;
}

.card__title {
	font-size: 1.3em;
	margin: 0 0 8px;
	word-wrap: break-word;
}

.card__title a {
	color: inherit;
}

.card__content {
	clear: both;
	font-size: 18px;
	font-size: 1.2rem;
}

.card__media {
	display: block;
	overflow: hidden;
	border-radius: 4px 4px 0 0;
}

.card__media img {
	display: block;
	width: 100%;
	transition: all .3s ease;
}

.card__footer {
	font-size: 14px;
	font-size: 0.9rem;
	font-weight: 700;
	font-family: -apple-system, BlinkMacSystemFont, "avenir next", avenir, "helvetica neue", helvetica, ubuntu, roboto, noto, "segoe ui", arial, sans-serif;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.card__footer img {
	vertical-align: middle;
	border-radius: 50%;
	margin-right: 3px;
}

.card__footer a {
	color: #1B5E20;
}

.card__footer .byline,
.card__footer .posted-on {
	margin-top: 24px;
	margin-bottom: -3px;
}

.card a:hover {
	color: #06c;
	text-decoration: none;
}

.icon-bookmark {
	display: none;
}

.sticky .icon-bookmark {
	display: inline-block;
	position: absolute;
	top: 1rem;
	right: 1rem;
	fill: #c2ccd0;
}

/* ================================================================
/* 12. Yorumları ayırt edici olması için çerçeve içine al
/* ================================================================ */

.comment-body {
    border: 2px solid #dfdfdf;
}

/* ================================================================
/* 13. Post yazılarının masaüstü görünümündeki genişliği
/* ================================================================ */

.page .site-content,
.single .site-content {
    width: 70rem !important;
    padding-top: 30px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

/* ================================================================
/* 14. Header üstünde açılan "SEARCH" kısmının önizleme yazısının opaklığını kaldır
/* ================================================================ */

.form-wrapper .search-field::placeholder {
  color: #fff !important;
  opacity: 1 !important;
}

/* ================================================================
/* 15. Cookies
/* ================================================================ */

#cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(20, 20, 20, 0.85);
    color: #fff;
    padding: 16px 20px;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    z-index: 9999;
    backdrop-filter: blur(6px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    display: none;
    transition: all 0.4s ease;
}

#cookie.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

#cookie a {
    color: #4da3ff;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

#cookie a:hover {
    color: #fff;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================================
/* 16. Devamını oku
/* ================================================================ */

.more-link {
  display: inline-block;
  margin-top: 10px;
  background-color: #0073aa;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.more-link:hover {
  background-color: #005f8d;
  transform: translateY(-2px);
}
