/*
Theme Name: YGMR Dernek Teması - Şırnaklılar Derneği
Theme URI: https://www.sirnaklilardernegi.com
Author: YGMR
Description: Şırnaklılar Derneği için mobil uyumlu, kurumsal dernek teması.
Version: 1.0
Text Domain: ygmr-dernek
*/

:root {
  --tb-primary: #b40019; /* Ana vurgu rengi (kırmızı ton) */
  --tb-primary-dark: #8b0013;
  --tb-bg: #f5f5f5;
  --tb-text: #222222;
  --tb-muted: #777777;
  --tb-border: #e1e1e1;
  --tb-white: #ffffff;
  --tb-topbar-bg: #f7f7f7;
  --tb-footer-bg: #222222;
  --tb-footer-text: #dddddd;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* Container */

.tb-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Topbar */

.tb-topbar {
  background-color: var(--tb-topbar-bg);
  border-bottom: 1px solid var(--tb-border);
  font-size: 13px;
  color: var(--tb-muted);
}

.tb-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  gap: 12px;
}

.tb-topbar-left,
.tb-topbar-center,
.tb-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tb-topbar-left span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tb-topbar a {
  color: var(--tb-primary-dark);
  text-decoration: none;
}

.tb-topbar a:hover {
  text-decoration: underline;
}

.tb-topbar-buttons a {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--tb-primary);
  font-size: 12px;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

.tb-topbar-buttons a.tb-btn-filled {
  background-color: var(--tb-primary);
  color: #fff;
}

.tb-topbar-buttons a.tb-btn-outline {
  color: var(--tb-primary);
  background-color: transparent;
}

.tb-topbar-social {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tb-topbar-social a {
  display: inline-flex;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background-color: #e3e3e3;
  font-size: 11px;
  text-decoration: none;
  color: #555;
}

/* Header / Logo / Menu */

.tb-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--tb-border);
}

.tb-header-inner {
  padding: 16px 0 10px;
  text-align: center;
}

.tb-logo-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.tb-logo-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--tb-primary);
}

.tb-logo-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tb-logo-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tb-logo-slogan {
  font-size: 13px;
  color: var(--tb-muted);
}

/* Main navigation */

.tb-nav {
  border-top: 1px solid var(--tb-border);
  border-bottom: 2px solid var(--tb-primary);
  background-color: #ffffff;
}

.tb-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tb-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 15px;
  padding: 10px 16px;
  cursor: pointer;
}

.tb-primary-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}

.tb-primary-menu > li {
  position: relative;
}

.tb-primary-menu > li > a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tb-primary-menu > li.current-menu-item > a,
.tb-primary-menu > li > a:hover {
  background-color: var(--tb-primary);
  color: #ffffff;
}

/* Generic */

main {
  min-height: 60vh;
}

.tb-page-wrapper {
  padding: 24px 0 40px;
}

.tb-page-header {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--tb-primary);
}

.tb-page-header-title {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
}

.tb-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}

/* Sidebar */

.tb-sidebar-box {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--tb-border);
  margin-bottom: 16px;
  padding: 12px 14px;
}

.tb-sidebar-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.tb-sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tb-sidebar-menu li {
  margin-bottom: 4px;
}

.tb-sidebar-menu a {
  text-decoration: none;
  font-size: 14px;
  color: var(--tb-text);
}

.tb-sidebar-menu a:hover {
  color: var(--tb-primary);
}

.tb-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tb-sidebar-list li {
  font-size: 13px;
  margin-bottom: 6px;
}

/* Cards / sections */

.tb-card {
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--tb-border);
  padding: 16px;
}

.tb-section {
  margin-bottom: 32px;
}

.tb-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.tb-section-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ANASAYFA ÖZEL */

/* Hero slider alanı */

.tb-home-hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.tb-hero-slider {
  position: relative;
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--tb-border);
}

.tb-hero-slide {
  display: flex;
  flex-direction: row;
}

.tb-hero-image {
  flex: 3;
  min-height: 260px;
  background-size: cover;
  background-position: center;
}

.tb-hero-content {
  flex: 2;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tb-hero-tagline {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--tb-muted);
}

.tb-hero-title {
  font-size: 20px;
  font-weight: 700;
}

.tb-hero-meta {
  font-size: 12px;
  color: var(--tb-muted);
}

/* Sağ sekmeli kutu */

.tb-home-tabs {
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--tb-border);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tb-home-tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--tb-border);
}

.tb-home-tab-btn {
  flex: 1;
  padding: 8px;
  text-align: center;
  font-size: 13px;
  cursor: pointer;
  border: none;
  background-color: #f5f5f5;
}

.tb-home-tab-btn.tb-active {
  background-color: var(--tb-primary);
  color: #ffffff;
}

.tb-home-tabs-body {
  padding: 10px 12px 12px;
  overflow: auto;
}

.tb-home-tabs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tb-home-tabs-list li {
  font-size: 13px;
  margin-bottom: 6px;
}

.tb-home-tabs-list a {
  text-decoration: none;
  color: var(--tb-text);
}

.tb-home-tabs-list a:hover {
  color: var(--tb-primary);
}

/* Üst CTA kutuları */

.tb-home-cta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.tb-home-cta {
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--tb-border);
  padding: 14px 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--tb-text);
}

.tb-home-cta:hover {
  border-color: var(--tb-primary);
  color: var(--tb-primary);
}

/* Hakkımızda + istatistik */

.tb-home-about {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.tb-home-about-text {
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--tb-border);
  padding: 16px;
  font-size: 14px;
}

.tb-home-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.tb-stat-card {
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--tb-border);
  padding: 12px;
  text-align: center;
}

.tb-stat-number {
  font-size: 22px;
  font-weight: 700;
}

.tb-stat-label {
  font-size: 13px;
  color: var(--tb-muted);
}

/* Galeriler & Videolar */

.tb-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tb-gallery-card,
.tb-video-card {
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--tb-border);
  overflow: hidden;
}

.tb-gallery-thumb,
.tb-video-thumb {
  width: 100%;
  height: 150px;
  background-size: cover;
  background-position: center;
}

.tb-gallery-body,
.tb-video-body {
  padding: 10px 12px 12px;
  font-size: 13px;
}

/* Footer */

.tb-footer {
  background-color: var(--tb-footer-bg);
  color: var(--tb-footer-text);
  margin-top: 40px;
  font-size: 14px;
}

.tb-footer-top {
  padding: 28px 0 20px;
}

.tb-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 20px;
}

.tb-footer-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.tb-footer p {
  margin: 4px 0;
}

.tb-footer a {
  color: var(--tb-footer-text);
  text-decoration: none;
}

.tb-footer a:hover {
  text-decoration: underline;
}

.tb-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tb-footer-menu li {
  margin-bottom: 4px;
}

.tb-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tb-footer-social a {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.4);
  font-size: 13px;
  text-decoration: none;
}

.tb-footer-newsletter input[type="email"] {
  width: 100%;
  padding: 8px 10px;
  border-radius: 999px;
  border: none;
  margin-bottom: 8px;
}

.tb-footer-newsletter button {
  width: 100%;
  padding: 8px 10px;
  border-radius: 999px;
  border: none;
  background-color: var(--tb-primary);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
}

.tb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 10px 0;
  font-size: 12px;
}

/* RESPONSIVE */

@media (max-width: 991px) {
  .tb-layout {
    grid-template-columns: 1fr;
  }

  .tb-home-hero {
    grid-template-columns: 1fr;
  }

  .tb-home-about {
    grid-template-columns: 1fr;
  }

  .tb-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tb-home-cta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {

  .tb-topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .tb-nav-inner {
    justify-content: space-between;
  }

  .tb-menu-toggle {
    display: inline-block;
  }

  .tb-primary-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: #ffffff;
    border-bottom: 1px solid var(--tb-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    z-index: 20;
  }

  .tb-primary-menu.tb-menu-open {
    max-height: 400px;
  }

  .tb-primary-menu > li > a {
    padding: 10px 16px;
    border-top: 1px solid var(--tb-border);
  }

  .tb-home-cta-grid {
    grid-template-columns: 1fr;
  }

  .tb-grid-3 {
    grid-template-columns: 1fr;
  }

  .tb-footer-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================
   MOBİL / TABLET İYİLEŞTİRMELERİ
   ============================ */

@media (max-width: 991px) {

  /* Genel boşluklar */
  .tb-container {
    padding: 0 12px;
  }

  .tb-page-wrapper {
    padding: 18px 0 28px;
  }

  /* Logo kısmı biraz daha kompakt */
  .tb-header-inner {
    padding: 12px 0 8px;
  }

  .tb-logo-image {
    width: 70px;
    height: 70px;
  }

  .tb-logo-title {
    font-size: 18px;
  }

  .tb-logo-slogan {
    font-size: 12px;
  }

  /* Hero alanı */
  .tb-hero-image {
    min-height: 220px;
  }

  .tb-hero-title {
    font-size: 18px;
  }

  .tb-hero-content {
    padding: 12px;
  }

  /* Kartlar biraz daha sıkışık */
  .tb-card {
    padding: 14px;
  }

  .tb-section-title {
    font-size: 16px;
  }
}
@media (max-width: 480px) {

  body {
    font-size: 14px;
  }

  .tb-logo-title {
    font-size: 16px;
  }

  .tb-logo-slogan {
    font-size: 11px;
  }

  .tb-section-title {
    font-size: 15px;
  }

  .tb-home-cta {
    font-size: 13px;
    padding: 10px 8px;
  }

  .tb-card {
    padding: 12px;
  }

  .tb-home-about-text {
    padding: 12px;
  }

  .tb-footer-title {
    font-size: 13px;
  }

  .tb-footer p,
  .tb-footer li {
    font-size: 12px;
  }

  .tb-footer-newsletter input[type="email"],
  .tb-footer-newsletter button {
    font-size: 12px;
    padding: 7px 10px;
  }
}
/* === MOBİL HEADER TEMİZLEME (≤ 767px) === */
@media (max-width: 767px) {

  /* Topbar komple incelsin */
  .tb-topbar {
    font-size: 12px;
    padding: 2px 0;
  }

  .tb-topbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  /* Tel satırı: tek satır, kalın ama küçük */
  .tb-topbar-left {
    justify-content: space-between;
    width: 100%;
  }

  .tb-topbar-left span strong {
    font-weight: 600;
  }

  .tb-topbar-left span a {
    font-weight: 600;
  }

  /* Dil + sosyal ikonlar aynı satıra gelsin */
  .tb-topbar-center,
  .tb-topbar-right {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .tb-topbar-center {
    order: 1;
    font-size: 11px;
    gap: 8px;
  }

  .tb-topbar-center span {
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid var(--tb-border);
  }

  .tb-topbar-right {
    order: 2;
    margin-top: 2px;
  }

  .tb-topbar-social {
    margin-left: auto;
  }

  .tb-topbar-social a {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  /* Üyelik / giriş / bağış butonlarını bir satırlık şerit yapalım */
  .tb-topbar-buttons {
    order: 3;
    width: 100%;
    display: flex;
    gap: 6px;
    margin-top: 4px;
  }

  .tb-topbar-buttons a {
    flex: 1 1 0;
    text-align: center;
    border-radius: 999px;
    padding: 6px 4px;
    font-size: 11px;
    white-space: nowrap;
  }

  .tb-topbar-buttons .tb-btn-filled {
    padding: 6px 4px;
  }

  /* Logo + başlık alanı biraz kısalsın */
  .tb-header-inner {
    padding: 10px 0 6px;
  }

  .tb-logo-image {
    width: 68px;
    height: 68px;
  }

  .tb-logo-title {
    font-size: 17px;
  }

  .tb-logo-slogan {
    font-size: 11px;
  }

  /* Menü satırı: daha kompakt */
  .tb-nav {
    border-bottom-width: 1px;
  }

  .tb-nav-inner {
    padding: 0 0;
  }

  .tb-menu-toggle {
    font-size: 14px;
    padding: 8px 0;
  }

  .tb-primary-menu > li > a {
    font-size: 13px;
    padding: 9px 16px;
  }

  /* Hero kartı: resim üstte, metin altta */
  .tb-home-hero {
    margin-top: 8px;
  }

  .tb-hero-slide {
    flex-direction: column;
  }

  .tb-hero-image {
    min-height: 180px;
  }

  .tb-hero-content {
    padding: 12px;
  }

  .tb-hero-title {
    font-size: 17px;
  }

  .tb-hero-tagline {
    font-size: 11px;
  }
}
/* === HEADER MOBİL TEMİZLİK v2 (≤ 767px) === */
@media (max-width: 767px) {

  .tb-topbar {
    padding: 4px 0;
    font-size: 12px;
  }

  .tb-topbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  /* 1. satır: Tel */
  .tb-topbar-left {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .tb-topbar-left span strong {
    font-weight: 600;
  }

  /* 2. satır: Üyelik / Giriş / Bağış */
  .tb-topbar-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 0;
  }

  .tb-topbar-buttons {
    width: 100%;
    display: flex;
    gap: 6px;
  }

  .tb-topbar-buttons a {
    flex: 1 1 0;
    text-align: center;
    border-radius: 999px;
    padding: 6px 4px;
    font-size: 11px;
    white-space: nowrap;
  }

  .tb-topbar-buttons .tb-btn-filled {
    padding: 6px 4px;
  }

  /* TR | EN küçük düz metin olsun, ikonlar yok */
  .tb-topbar-center {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    font-size: 11px;
    color: var(--tb-muted);
  }

  .tb-topbar-center span {
    padding: 0;
    border: none;
  }

  /* Sosyal ikonları mobilde gizle – zaten footer'da var */
  .tb-topbar-social {
    display: none;
  }

  /* Logo bloğu biraz kısalsın */
  .tb-header-inner {
    padding: 10px 0 6px;
  }

  .tb-logo-image {
    width: 64px;
    height: 64px;
  }

  .tb-logo-title {
    font-size: 17px;
  }

  .tb-logo-slogan {
    font-size: 11px;
  }

  /* Menü satırı */
  .tb-nav-inner {
    padding: 0;
    justify-content: space-between;
  }

  .tb-menu-toggle {
    font-size: 14px;
    padding: 8px 0;
  }

  .tb-primary-menu > li > a {
    font-size: 13px;
    padding: 9px 16px;
  }

  /* Hero alanı daha yukarı gelsin */
  .tb-page-wrapper {
    padding-top: 10px;
  }
}
/* === MOBİL HEADER SON RÖTUŞ (≤ 767px) === */
@media (max-width: 767px) {

  /* Tel + dil: ince, tek satırlık bar */
  .tb-topbar {
    padding: 4px 0;
    font-size: 12px;
  }

  .tb-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .tb-topbar-left {
    margin-bottom: 0;
  }

  .tb-topbar-center {
    display: flex;
    gap: 6px;
    font-size: 11px;
    color: var(--tb-muted);
  }

  .tb-topbar-center span {
    padding: 0;
    border: none;
  }

  /* Mobil menü: tam genişlikli, ikonlu bar */
  .tb-nav {
    border-bottom: none;
    margin-top: 4px;
  }

  .tb-nav-inner {
    padding: 0;
  }

  .tb-menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: #ffffff;
    border: none;
    border-top: 1px solid var(--tb-border);
    border-bottom: 2px solid var(--tb-primary);
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
  }

  .tb-menu-toggle::before {
    content: "☰";
    font-size: 18px;
  }

  /* Menü açıldığında liste barın hemen altında dursun */
  .tb-primary-menu {
    position: static;
    border-top: none;
  }
}
/* === MOBİL MENÜ DÜZELTME (≤ 767px) === */
@media (max-width: 767px) {

  /* Header içi hizalama */
  .tb-nav-inner {
    flex-direction: column;
    align-items: stretch;
  }

  /* Menü butonu: tam genişlik */
  .tb-menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: #ffffff;
    border: none;
    border-top: 1px solid var(--tb-border);
    border-bottom: 2px solid var(--tb-primary);
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    outline: none;
  }

  .tb-menu-toggle::before {
    content: "☰";
    font-size: 18px;
  }

  .tb-menu-toggle:focus {
    outline: none;
    box-shadow: none;
  }

  /* Asıl menü: başlangıçta gizli */
  .tb-primary-menu {
    display: none;            /* masaüstü görünümü kapat */
    position: static;         /* sağ tarafa yaslanma */
    flex-direction: column;   /* dikey liste */
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--tb-border);
    max-height: none;         /* eski max-height animasyonu iptal */
    overflow: visible;
  }

  /* Buton tıklandığında .tb-menu-open sınıfını JS ekliyor; sadece o zaman göster */
  .tb-primary-menu.tb-menu-open {
    display: block;
  }

  .tb-primary-menu > li {
    float: none;              /* olası floatları temizle */
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .tb-primary-menu > li:last-child {
    border-bottom: none;
  }

  .tb-primary-menu > li > a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    text-align: left;
    color: #222;
    background: #fff;
  }

  .tb-primary-menu > li > a:hover,
  .tb-primary-menu > li.current-menu-item > a,
  .tb-primary-menu > li.current_page_item > a {
    background: #f8f8f8;
    color: var(--tb-primary);
  }
}
/* === TOPBAR: TELEFON İKONU VE HİZALAMA === */
.tb-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.tb-phone-icon {
  font-size: 16px;
  line-height: 1;
}

/* Mobilde telefon + TR | EN aynı satırda */
@media (max-width: 767px) {
  .tb-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .tb-topbar-left,
  .tb-topbar-center {
    width: auto;
    margin-bottom: 0;
  }

  .tb-topbar-center {
    display: flex;
    gap: 6px;
    font-size: 11px;
    color: var(--tb-muted);
  }

  .tb-topbar-center span {
    padding: 0;
    border: none;
  }
}
/* === MOBİLDE TOPBAR GİZLE === */
@media (max-width: 767px) {
  .tb-topbar {
    display: none;
  }

  /* Topbar gidince header yukarı gelsin */
  .tb-header-inner {
    padding-top: 8px;
  }
}
/* ==========================
   GÜNCEL HABER SLIDER
   ========================== */

.tb-hero-news-slider {
  position: relative;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
  overflow: hidden;
  margin-bottom: 20px;
}

.tb-hero-news-slides {
  position: relative;
}

.tb-hero-news-slide {
  display: none;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 0;
}

.tb-hero-news-slide.is-active {
  display: grid;
}

.tb-hero-news-image {
  background-size: cover;
  background-position: center;
  min-height: 260px;
}

.tb-hero-news-content {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tb-hero-news-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8c8c8c;
  margin-bottom: 4px;
}

.tb-hero-news-title {
  font-size: 22px;
  margin: 0 0 6px 0;
}

.tb-hero-news-title a {
  color: #111;
  text-decoration: none;
}

.tb-hero-news-title a:hover {
  color: var(--tb-primary);
}

.tb-hero-news-date {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}

.tb-hero-news-excerpt {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 10px;
}

.tb-hero-news-readmore a {
  font-size: 14px;
  color: var(--tb-primary);
  font-weight: 600;
  text-decoration: none;
}

.tb-hero-news-readmore a:hover {
  text-decoration: underline;
}

/* Oklar */
.tb-hero-news-nav {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: flex;
  gap: 6px;
}

.tb-hero-news-prev,
.tb-hero-news-next {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: rgba(255,255,255,0.9);
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tb-hero-news-prev:hover,
.tb-hero-news-next:hover {
  border-color: var(--tb-primary);
  color: var(--tb-primary);
}

/* Dot'lar */
.tb-hero-news-dots {
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: flex;
  gap: 6px;
}

.tb-hero-news-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #d0d0d0;
  padding: 0;
  cursor: pointer;
}

.tb-hero-news-dot.is-active {
  background: var(--tb-primary);
}

/* Mobil uyum */
@media (max-width: 767px) {
  .tb-hero-news-slide {
    grid-template-columns: 1fr;
  }

  .tb-hero-news-image {
    min-height: 190px;
  }

  .tb-hero-news-content {
    padding: 14px 14px 40px;
  }

  .tb-hero-news-title {
    font-size: 18px;
  }

  .tb-hero-news-excerpt {
    font-size: 13px;
  }

  .tb-hero-news-nav {
    right: 10px;
    bottom: 10px;
  }

  .tb-hero-news-dots {
    left: 12px;
    bottom: 12px;
  }
}
/* GÜNCEL HABER SLIDER ALT KENAR DÜZELTME */
.tb-hero-news-slider {
  padding-bottom: 8px;      /* kartın altına hafif iç boşluk */
}

.tb-hero-news-nav {
  bottom: 10px;             /* okları biraz yukarı al */
}

.tb-hero-news-dots {
  bottom: 10px;             /* noktaları da aynı hizaya çek */
}
/* ============================
   İLETİŞİM FORMU STİLİ
   ============================ */

.tb-contact-form-wrapper .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tb-contact-form-wrapper .tb-form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tb-contact-form-wrapper .tb-form-label {
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

.tb-contact-form-wrapper .tb-input,
.tb-contact-form-wrapper .tb-textarea,
.tb-contact-form-wrapper input[type="text"],
.tb-contact-form-wrapper input[type="email"],
.tb-contact-form-wrapper input[type="tel"],
.tb-contact-form-wrapper textarea {
  width: 100%;
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid #d5d5d5;
  font-size: 14px;
  line-height: 1.4;
  background-color: #fafafa;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.tb-contact-form-wrapper .tb-textarea,
.tb-contact-form-wrapper textarea {
  min-height: 120px;
  resize: vertical;
}

.tb-contact-form-wrapper .tb-input:focus,
.tb-contact-form-wrapper .tb-textarea:focus,
.tb-contact-form-wrapper input[type="text"]:focus,
.tb-contact-form-wrapper input[type="email"]:focus,
.tb-contact-form-wrapper input[type="tel"]:focus,
.tb-contact-form-wrapper textarea:focus {
  outline: none;
  border-color: var(--tb-primary);
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(148, 28, 29, 0.12); /* dernek kırmızısının yumuşak hâli */
}

/* KVKK satırı */
.tb-contact-form-wrapper .tb-form-kvkk .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tb-contact-form-wrapper .tb-form-kvkk input[type="checkbox"] {
  margin-top: 3px;
}

.tb-contact-form-wrapper .tb-form-kvkk .wpcf7-list-item-label {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

/* Gönder butonu */
.tb-contact-form-wrapper .tb-btn-primary,
.tb-contact-form-wrapper input[type="submit"].tb-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 999px;
  border: none;
  background-color: var(--tb-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.tb-contact-form-wrapper .tb-btn-primary:hover,
.tb-contact-form-wrapper input[type="submit"].tb-btn-primary:hover {
  background-color: #7b1718;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.tb-contact-form-wrapper .tb-btn-primary:active,
.tb-contact-form-wrapper input[type="submit"].tb-btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Mobilde biraz nefes aldır */
@media (max-width: 767px) {
  .tb-contact-form-wrapper .wpcf7-form {
    gap: 10px;
  }

  .tb-contact-form-wrapper .tb-form-label {
    font-size: 12px;
  }

  .tb-contact-form-wrapper .tb-input,
  .tb-contact-form-wrapper .tb-textarea {
    font-size: 13px;
  }
}
/* Üye girişi formu */
.tb-login-form #ygmr-member-login-form p {
  margin-bottom: 10px;
}

.tb-login-form label {
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

.tb-login-form input[type="text"],
.tb-login-form input[type="password"] {
  width: 100%;
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid #d5d5d5;
  font-size: 14px;
  background-color: #fafafa;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.tb-login-form input[type="text"]:focus,
.tb-login-form input[type="password"]:focus {
  outline: none;
  border-color: var(--tb-primary);
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(148, 28, 29, 0.12);
}

.tb-login-form input[type="submit"] {
  border-radius: 999px;
  border: none;
  background-color: var(--tb-primary);
  color: #fff;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.tb-login-form input[type="submit"]:hover {
  background-color: #7b1718;
}

.tb-login-links {
  margin-top: 10px;
  font-size: 12px;
  color: #888;
  display: flex;
  gap: 6px;
  align-items: center;
}
.tb-login-links a {
  color: var(--tb-primary);
  text-decoration: none;
}
.tb-login-links a:hover {
  text-decoration: underline;
}