/* Yazı tipi (Inter) includes/header.php içinde <link> ile yüklenir */

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
  color: #2e3647;
  background-color: #f7faf8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .fs, .main-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
  letter-spacing: -0.01em;
}

/* Clearfix utility */
.clear {
  clear: both;
}

/* Ensure Top Bar is fully visible, styled and clean */
section#top-bar {
  background: #f1f5f3 !important;
  border-bottom: 1px solid #e2e8e4 !important;
  float: left;
  width: 100%;
  padding-bottom: 8px;
  position: relative;
  z-index: 12;
}

section#top-bar .tb-phones > li > a > span {
  color: #475569 !important;
  font-weight: 600;
}

section#top-bar .tb-phones > li:first-child > a > i {
  background: #156b3c !important;
}

section#top-bar .tb-phones > li:nth-child(2) > a > i {
  background: #25d366 !important;
}

section#top-bar .bagis-yap {
  background: #156b3c !important;
  border-radius: 0 0 12px 12px;
  transition: background 0.2s ease;
}
section#top-bar .bagis-yap:hover {
  background: #0f4a29 !important;
}
section#top-bar .bagis-yap a {
  color: #ffffff !important;
  font-weight: 700;
}

section#top-bar .tb-links .standart-link a {
  color: #475569 !important;
  font-weight: 600;
}
section#top-bar .tb-links .standart-link a:hover {
  color: #156b3c !important;
}

section#top-bar .tb-links > li > a > i.fa-facebook {
  background: #1877f2 !important;
}
section#top-bar .tb-links > li > a > i.fa-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
}

/* Navbar active and hover states */
.navs > li > a {
  color: #2e3647 !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.navs > li.active > a,
.navs > li > a:hover {
  color: #156b3c !important;
  border-bottom-color: #156b3c !important;
}

.navs .sub-menu > ul {
  border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
  border-top: 0;
  overflow: hidden;
  z-index: 1000;
}
.navs .sub-menu ul > li a {
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #334155 !important;
  transition: all 0.2s ease;
  text-align: left;
}
.navs .sub-menu ul > li a:hover {
  background-color: #f0fdf4 !important;
  color: #156b3c !important;
  padding-left: 20px;
}

/* Circular Logo in center */
.logo-circle {
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}
.logo img {
  border: 4px solid #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}
.logo img:hover {
  transform: scale(1.04);
}

/* ===================================================
   1. BANNER SLIDER: STRIPED PATTERN & EQUAL HEIGHTS
   =================================================== */
#banner {
  background-color: #156b3c !important;
  background-image: 
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.08) 0px,
      rgba(255, 255, 255, 0.08) 3px,
      transparent 3px,
      transparent 18px
    ),
    linear-gradient(135deg, #156b3c 0%, #0c4323 100%) !important;
  position: relative;
  overflow: hidden;
  padding: 30px 0 !important;
}

#banner:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/pattern.png') repeat;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
}

#banner .container {
  position: relative;
  z-index: 2;
}

#banner .banner-item {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  background: #ffffff;
}

/* Equal Height Slider & Precise Dimensions */
@media (min-width: 768px) {
  #banner .banner-item {
    height: 360px !important;
    background: #ffffff;
  }
  #banner .banner-item .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    height: 360px !important;
  }
  #banner .banner-item .col-md-6,
  #banner .banner-item .col-lg-6 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    height: 360px !important;
  }
  #banner .banner-item a {
    display: block !important;
    height: 360px !important;
    width: 100% !important;
  }
  #banner .banner-item img {
    width: 100% !important;
    height: 360px !important;
    object-fit: cover !important;
    border-radius: 8px 0 0 8px !important;
    display: block !important;
  }
  #banner .caption-area {
    height: 360px !important;
    min-height: 360px !important;
    max-height: 360px !important;
    box-shadow: none !important; /* Discard internal box-shadow to prevent size mismatch */
    border-radius: 0 8px 8px 0 !important;
    padding: 40px 32px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
  }
  #banner .caption-area .btn-doa {
    position: absolute !important;
    right: -10px !important;
    bottom: 0px !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    padding: 8px 28px !important;
    background-color: #156b3c !important;
    border-color: #156b3c !important;
    border-radius: 20px 0 0 0 !important;
    transform: skew(-20deg, 0deg) !important;
    z-index: 10 !important;
  }
  #banner .caption-area .btn-doa span {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    transform: skew(20deg, 0deg) !important;
  }
}

@media (max-width: 767px) {
  #banner .banner-item img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 8px 8px 0 0 !important;
  }
  #banner .caption-area {
    height: auto !important;
    min-height: auto !important;
    border-radius: 0 0 8px 8px !important;
    padding: 20px 18px 50px 18px !important;
    box-shadow: none !important;
    position: relative !important;
    overflow: hidden !important;
  }
  #banner .caption-area .btn-doa {
    position: absolute !important;
    right: -5px !important;
    bottom: 0px !important;
    padding: 6px 20px !important;
    background-color: #156b3c !important;
    border-color: #156b3c !important;
    border-radius: 15px 0 0 0 !important;
    transform: skew(-20deg, 0deg) !important;
    z-index: 10 !important;
  }
  #banner .caption-area .btn-doa span {
    font-size: 12px !important;
    color: #ffffff !important;
    transform: skew(20deg, 0deg) !important;
  }
}

.banner .caption-area h3 {
  font-size: 24px !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px;
  line-height: 1.3 !important;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  color: #0f172a !important;
}
.banner .caption-area p {
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  color: #475569 !important;
  margin-bottom: 22px !important;
  height: auto !important;
}

/* ===================================================
   2. MARQUEE NEWS TICKER
   =================================================== */
#marq {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}
.marq-item .tarih {
  background: #f0fdf4 !important;
  border-right: 2px solid #156b3c;
}
.marq-item h3 {
  color: #1e293b !important;
}
.marq-item:hover h3 {
  color: #156b3c !important;
}

/* ===================================================
   3. SHORTCUT ITEMS
   =================================================== */
#shortcut {
  background: #156b3c !important;
}
#shortcut .shortcut-item {
  border-radius: 6px;
  transition: transform 0.2s ease, background 0.2s ease;
}
#shortcut .shortcut-item:hover {
  transform: translateY(-3px);
  background: #ffffff !important;
}
#shortcut .shortcut-item:hover p {
  color: #156b3c !important;
}

/* ===================================================
   4. MIDDLE AREA: TABS & ICERIK-ITEM TYPOGRAPHY
   =================================================== */
.widget-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.middle-tab.primary_tab.active {
  background-color: #156b3c !important;
}

#middle-area .tab-content {
  border-radius: 0 8px 8px 8px;
}
#middle-area .tab-pane {
  height: auto !important;
  min-height: 330px !important;
  border-width: 2px !important;
  border-radius: 0 8px 8px 8px !important;
  padding: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

#middle-area .tab-pane .icerik-item {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  background: #ffffff !important;
  padding: 12px 14px !important;
  border-radius: 8px !important;
  margin-bottom: 10px !important;
  border: 1px solid #f1f5f9 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  float: none !important;
  width: 100% !important;
}
#middle-area .tab-pane .icerik-item:last-child {
  margin-bottom: 0 !important;
}
#middle-area .tab-pane .icerik-item:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07) !important;
  transform: translateX(4px) !important;
}
#middle-area .tab-pane .icerik-item img {
  width: 96px !important;
  height: 72px !important;
  min-width: 96px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
  border: 1px solid #e2e8f0 !important;
  margin: 0 !important;
  float: none !important;
  flex-shrink: 0 !important;
}
#middle-area .tab-pane .icerik-item .icerik-details {
  flex: 1 1 auto;
  min-width: 0;
}
#middle-area .tab-pane .icerik-item h4 {
  font-size: 14.5px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  margin: 0 0 6px 0 !important;
  color: #1e293b !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}
#middle-area .tab-pane .icerik-item:hover h4 {
  color: #156b3c !important;
}
#middle-area .tab-pane .icerik-item p {
  font-size: 12px !important;
  color: #64748b !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 5px;
}
#middle-area .tab-pane .icerik-item p i {
  color: #94a3b8;
}

/* ===================================================
   5. SPONSORS / LOGOS CAROUSEL
   =================================================== */
#sponsors {
  background: #f8fafc !important;
  padding: 30px 0 !important;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.sponsor-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}
.sponsor-card:hover {
  border-color: #156b3c;
  box-shadow: 0 6px 16px rgba(21, 107, 60, 0.12);
  transform: translateY(-2px);
}
.sponsor-card img {
  max-height: 55px;
  max-width: 100%;
  width: auto !important;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}
.sponsor-card:hover img {
  filter: grayscale(0%);
}

/* ===================================================
   6. SIDEBAR BOXES: COMFORTABLE PADDING & SPACING
   =================================================== */
.sidebar-box-custom {
  margin-top: 20px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
}
.sidebar-box-custom h3 {
  padding: 14px 20px !important;
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}
.sidebar-box-custom .sidebar-box-body {
  padding: 16px 20px 20px 20px !important;
}
.sidebar-box-custom p {
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  margin: 0 0 14px 0 !important;
}

/* ===================================================
   7. 100% MOBILE RESPONSIVENESS & HEADER LOGO
   =================================================== */
@media (max-width: 991px) {
  body {
    margin-top: 0 !important;
    padding-top: 60px !important;
  }
  #banner,
  #title {
    margin-top: 0 !important;
  }
  #mobile-header {
    height: 60px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1935 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  #mobile-header .logo-mobile {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-height: 50px !important;
    max-width: 170px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
  }
  #mobile-header .burger {
    z-index: 1936;
    color: #156b3c !important;
    font-size: 20px !important;
    padding: 14px 18px !important;
    line-height: 1 !important;
    background: transparent !important;
  }
  #mobile-menu:not(.active) {
    display: none !important;
  }
  #mobile-menu.active {
    display: block !important;
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1934 !important;
    background: rgba(0, 0, 0, 0.7) !important;
  }
  #mobile-menu > ul {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 80% !important;
    max-width: 320px !important;
    right: auto !important;
    left: 0 !important;
    background: #ffffff !important;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.25) !important;
  }
  #middle-area .widget-card {
    margin-bottom: 25px !important;
  }
  #middle-tabs {
    margin-bottom: 15px !important;
  }
  #middle-tabs .nav-link {
    margin-bottom: 4px !important;
    border-radius: 6px !important;
  }
  #middle-area .tab-pane {
    border-radius: 8px !important;
  }
  #shortcut .shortcut-item {
    margin-bottom: 10px !important;
  }
  footer .footer-about,
  footer .footer-links {
    margin-bottom: 25px !important;
  }
}

/* Counter in About */
.counter-item {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Floating WhatsApp Button */
#fixed-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background-color: #25d366;
  color: #ffffff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
}
#fixed-whatsapp:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}
#fixed-whatsapp .wa-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: waPulse 2s infinite;
  z-index: -1;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Footer styling */
footer {
  background-color: #0a1c12 !important;
  color: #cbd5e1;
}
footer .footer-about h4,
footer .footer-links h4 {
  color: #ffffff !important;
  font-weight: 700;
}
footer .footer-links ul li a {
  color: #94a3b8;
  transition: color 0.2s ease;
}
footer .footer-links ul li a:hover {
  color: #4ade80;
}

/* Inner Page Title Banner */
#title {
  background-color: #156b3c !important;
  background-image: linear-gradient(135deg, #156b3c 0%, #0a331b 100%) !important;
}
#title .main-title {
  color: #ffffff !important;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* Footer Bank Button - High Contrast & Harmonious */
.footer-bank-btn {
  background: #166534 !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}
.footer-bank-btn:hover {
  background: #15803d !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.35);
}
.footer-bank-btn span {
  color: #ffffff !important;
}

/* Etkinlikler Exact DernekWeb Architecture */
#content .etkinlik-list {
  margin-top: 10px;
}
#content .etkinlik-list .etkinlik-item {
  display: block;
  border-radius: 10px;
  background: #ffffff;
  margin-bottom: 20px;
  float: left;
  width: 100%;
  padding: 15px;
  overflow: hidden;
  position: relative;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: all 0.25s ease;
  text-align: left !important;
}
#content .etkinlik-list .etkinlik-item:hover {
  border-color: #156b3c;
  box-shadow: 0 6px 20px rgba(21, 107, 60, 0.12);
  transform: translateY(-2px);
}
#content .etkinlik-list .etkinlik-item img {
  border-radius: 8px;
  float: left;
  width: 150px;
  height: 105px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background: #f1f5f9;
  margin-right: 18px;
}
#content .etkinlik-list .etkinlik-item .etkinlik-info {
  display: block;
  float: left;
  width: calc(100% - 275px);
  text-align: left !important;
}
#content .etkinlik-list .etkinlik-item .etkinlik-info h5 {
  font-weight: 700;
  color: #0f4a29;
  font-size: 16px;
  margin-top: 2px;
  margin-bottom: 6px;
  text-align: left !important;
}
#content .etkinlik-list .etkinlik-item .etkinlik-info h5 a {
  color: #0f4a29;
  text-decoration: none;
}
#content .etkinlik-list .etkinlik-item .etkinlik-info h5 a:hover {
  color: #156b3c;
}
#content .etkinlik-list .etkinlik-item .etkinlik-info p {
  color: #475569;
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 6px;
  text-align: left !important;
}
#content .etkinlik-list .etkinlik-item .etkinlik-info .etkinlik-meta {
  font-size: 12px;
  color: #64748b;
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  text-align: left !important;
}
#content .etkinlik-list .etkinlik-item .etkinlik-date {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  color: #fff;
  padding: 10px 15px;
  background-color: #156b3c !important;
  min-width: 90px;
  text-align: center;
}
#content .etkinlik-list .etkinlik-item .etkinlik-date span:first-child {
  display: block;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}
#content .etkinlik-list .etkinlik-item .etkinlik-date span:nth-child(2) {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
}
#content .etkinlik-list .etkinlik-item .etkinlik-date span:last-child {
  display: block;
  font-size: 11px;
  opacity: 0.85;
}

@media(max-width: 768px) {
  #content .etkinlik-list .etkinlik-item {
    text-align: left !important;
    padding: 14px !important;
  }
  #content .etkinlik-list .etkinlik-item img {
    width: 100% !important;
    height: 190px !important;
    margin-right: 0 !important;
    margin-bottom: 12px !important;
    float: none !important;
    display: block !important;
  }
  #content .etkinlik-list .etkinlik-item .etkinlik-info {
    width: 100% !important;
    float: none !important;
    margin-bottom: 12px !important;
    text-align: left !important;
  }
  #content .etkinlik-list .etkinlik-item .etkinlik-date {
    display: flex !important;
    position: static !important;
    width: 100% !important;
    clear: both !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
    min-width: auto !important;
  }
  #content .etkinlik-list .etkinlik-item .etkinlik-date span:first-child {
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }
  #content .etkinlik-list .etkinlik-item .etkinlik-date span:nth-child(2),
  #content .etkinlik-list .etkinlik-item .etkinlik-date span:last-child {
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin-top: 0 !important;
  }
}

/* Duyuru Kartları Responsive Tasarımı */
.duyuru-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.03);
  display: flex;
  transition: all 0.25s ease;
  cursor: pointer;
}
.duyuru-item-card:hover {
  border-color: #156b3c;
  box-shadow: 0 6px 20px rgba(21, 107, 60, 0.1);
  transform: translateY(-2px);
}
.duyuru-item-img {
  width: 240px;
  min-height: 170px;
  flex-shrink: 0;
  background: #f1f5f9;
}
.duyuru-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.duyuru-item-body {
  flex: 1;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.duyuru-item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.duyuru-item-meta .badge-cat {
  background: #f0fdf4;
  color: #15803d;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.duyuru-item-meta .meta-date,
.duyuru-item-meta .meta-views {
  font-size: 12px;
  color: #94a3b8;
}
.duyuru-item-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f4a29;
  margin: 0 0 8px 0;
  line-height: 1.4;
}
.duyuru-item-title a {
  color: #0f4a29;
  text-decoration: none;
}
.duyuru-item-title a:hover {
  color: #156b3c;
}
.duyuru-item-summary {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}
.duyuru-item-footer {
  margin-top: 14px;
  text-align: right;
}
.btn-read-more {
  font-weight: 600;
  color: #156b3c !important;
  border-color: #cbd5e1 !important;
  padding: 5px 14px;
  font-size: 12.5px;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.btn-read-more:hover {
  background: #156b3c !important;
  color: #ffffff !important;
  border-color: #156b3c !important;
}

@media(max-width: 768px) {
  .duyuru-item-card {
    flex-direction: column !important;
  }
  .duyuru-item-img {
    width: 100% !important;
    height: 190px !important;
    min-height: 190px !important;
  }
  .duyuru-item-body {
    padding: 16px !important;
  }
  .duyuru-item-title {
    font-size: 16px !important;
  }
}

/* Detay Sayfaları (Etkinlik ve Duyuru Detay) Responsive Tasarımı */
.detail-page-box {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  word-break: break-word;
}
.detail-cover-box {
  margin-bottom: 25px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  background: #f8fafc;
  text-align: center;
}
.detail-cover-box img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}
.detail-summary-box {
  background: #f0fdf4;
  border-left: 4px solid #156b3c;
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 25px;
  font-size: 15px;
  color: #166534;
  line-height: 1.7;
  font-weight: 500;
}
.detail-summary-box.gray {
  background: #f8fafc;
  border-left-color: #64748b;
  color: #334155;
}
.detail-share-box {
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.detail-share-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.detail-share-buttons .btn {
  padding: 7px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 5px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

@media(max-width: 768px) {
  .detail-page-box {
    padding: 18px 14px !important;
    border-radius: 8px !important;
  }
  .detail-cover-box {
    margin-bottom: 18px !important;
    border-radius: 6px !important;
  }
  .detail-cover-box img {
    max-height: 380px !important;
  }
  .detail-summary-box {
    padding: 14px 15px !important;
    font-size: 14px !important;
    margin-bottom: 20px !important;
  }
  .detail-share-box {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .detail-share-buttons {
    width: 100% !important;
  }
  .detail-share-buttons .btn {
    flex: 1 1 calc(50% - 8px) !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .btn-dugun-link {
    width: 100% !important;
    text-align: center !important;
    margin-top: 8px !important;
  }
}

/* ===================================================
   DÜĞÜN & CEMİYET LİSTESİ RESPONSIVE FİLTRE & TABLO STİLLERİ
   =================================================== */
.dugun-filter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.dugun-filters-desktop {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.dugun-filters-mobile {
  display: none;
}
.dugun-search-box {
  position: relative;
  min-width: 240px;
}
.dugun-search-box .form-control {
  font-size: 13px;
  border-radius: 20px;
  padding-left: 34px;
  height: 38px;
  border: 1px solid #cbd5e1;
  box-shadow: none;
}
.dugun-search-box .search-icon {
  position: absolute;
  left: 12px;
  top: 12px;
  color: #94a3b8;
  font-size: 13px;
}

.dugun-filter-btn {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.dugun-filter-btn.active,
.dugun-filter-btn:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.wedding-table-container {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.wedding-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}
.wedding-table th {
  background: #0f172a;
  color: #ffffff;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.wedding-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13.5px;
  color: #334155;
  vertical-align: middle;
}
.wedding-table tr:hover td {
  background: #f8fafc;
}
.mobile-type-badge {
  display: none;
}
.badge-dugun {
  background: #dbeafe;
  color: #1e40af;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
}
.badge-sunnet {
  background: #fef3c7;
  color: #92400e;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
}
.badge-kina {
  background: #fce7f3;
  color: #9d174d;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
}

/* Düğün Listesi Mobil Dönüşüm (Kart Görünümü) */
@media(max-width: 768px) {
  .dugun-filter-container {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .dugun-filters-desktop {
    display: none !important;
  }
  .dugun-filters-mobile {
    display: block !important;
    width: 100% !important;
  }
  .mobile-period-select-box {
    position: relative !important;
    width: 100% !important;
  }
  .mobile-period-select-box .mobile-select {
    height: 44px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0369a1 !important;
    background: #f0f9ff !important;
    border: 1.5px solid #7dd3fc !important;
    border-radius: 8px !important;
    padding-left: 36px !important;
    padding-right: 32px !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
  }
  .mobile-period-select-box .select-icon {
    position: absolute !important;
    left: 12px !important;
    top: 14px !important;
    color: #0284c7 !important;
    font-size: 15px !important;
    pointer-events: none !important;
  }
  .mobile-period-select-box .select-arrow {
    position: absolute !important;
    right: 12px !important;
    top: 15px !important;
    color: #0284c7 !important;
    font-size: 12px !important;
    pointer-events: none !important;
  }
  .dugun-search-box {
    width: 100% !important;
  }
  .dugun-search-box .form-control {
    height: 42px !important;
    border-radius: 8px !important;
    font-size: 13.5px !important;
  }
  .dugun-search-box .search-icon {
    top: 14px !important;
  }

  /* Tablonun Kart Görünümüne Dönüşmesi */
  .wedding-table-container {
    overflow: visible !important;
    border: none !important;
    box-shadow: none !important;
  }
  .wedding-table {
    border: none !important;
    display: block !important;
    width: 100% !important;
  }
  .wedding-table thead {
    display: none !important;
  }
  .wedding-table tbody {
    display: block !important;
    width: 100% !important;
  }
  .wedding-table tbody tr {
    display: block !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    margin-bottom: 12px !important;
    padding: 14px 16px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
    position: relative !important;
  }
  .wedding-table tbody tr:hover {
    border-color: #0284c7 !important;
    box-shadow: 0 4px 14px rgba(2,132,199,0.12) !important;
  }
  .wedding-table td {
    border: none !important;
    padding: 0 !important;
    display: block !important;
  }
  .wedding-table td.col-num {
    display: none !important;
  }
  .wedding-table td.col-date {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 8px !important;
  }
  .wedding-table td.col-date .date-badge {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #0284c7 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .wedding-table td.col-date .mobile-type-badge {
    display: inline-block !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    padding: 3px 9px !important;
    border-radius: 4px !important;
  }
  .wedding-table td.col-person {
    margin-bottom: 8px !important;
  }
  .wedding-table td.col-person .person-name {
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    display: block !important;
    line-height: 1.35 !important;
  }
  .wedding-table td.col-type {
    display: none !important;
  }
  .wedding-table tbody tr.filtered-hidden {
    display: none !important;
  }
  .wedding-table td.col-location {
    padding-top: 8px !important;
    border-top: 1px dashed #f1f5f9 !important;
    font-size: 12.5px !important;
    color: #475569 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
}

/* Tablo filtre gizleme genel kuralı */
.wedding-table tr.filtered-hidden {
  display: none !important;
}

/* ===================================================
   ANASAYFA (INDEX.PHP) MOBİL OPTİMİZASYONLARI
   =================================================== */
@media(max-width: 768px) {
  /* Başkan Kartı Mobilde Çok Uzun Olmasın */
  #middle-area .widget-card {
    margin-bottom: 18px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
  }
  #middle-area .widget-card img {
    max-height: 280px !important;
    object-position: top center !important;
    object-fit: cover !important;
    width: 100% !important;
  }
  #middle-area .widget-card .widget-info {
    padding: 16px !important;
  }
  #middle-area .widget-card .widget-info h4 {
    font-size: 18px !important;
  }
  #middle-area .widget-card .widget-info p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
  }

  /* Orta Sekmeler (Duyurular, Düğün Takvimi, vb.) Mobilde Kusursuz 2x2 Grid */
  #middle-area #middle-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    flex-direction: unset !important;
  }
  #middle-area #middle-tabs::before,
  #middle-area #middle-tabs::after {
    display: none !important;
    content: none !important;
  }
  #middle-area #middle-tabs .middle-tab,
  #middle-area #middle-tabs .middle-tab.active {
    width: 100% !important;
    max-width: 100% !important;
    height: 48px !important;
    padding: 0 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    margin: 0 !important;
    float: none !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
    text-decoration: none !important;
    position: relative !important;
  }
  #middle-area #middle-tabs .middle-tab b,
  #middle-area #middle-tabs .middle-tab.active b {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    margin: 0 !important;
  }
  #middle-area #middle-tabs .middle-tab .tab-icon {
    font-size: 15px !important;
    margin: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
  }
  #middle-area #middle-tabs .middle-tab span.fs {
    display: inline-block !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }
  #middle-area #middle-tabs .middle-tab.active span.fs,
  #middle-area #middle-tabs .middle-tab.active .tab-icon {
    color: #ffffff !important;
  }
  #middle-area #middle-tabs .middle-tab:not(.active) span.fs {
    color: #334155 !important;
  }
  #middle-area #middle-tabs .middle-tab:not(.active) .tab-icon {
    color: #475569 !important;
  }
  #middle-area #middle-tabs .middle-tab:not(.active) {
    background-color: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
  }

  /* Sekme İçerik Listesi Mobilde Kusursuz Olsun */
  #middle-area .tab-content {
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
  }
  #middle-area .tab-pane {
    padding: 6px !important;
  }
  #middle-area .icerik-item {
    padding: 10px 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    border-radius: 6px !important;
    margin-bottom: 4px !important;
  }
  #middle-area .icerik-item img {
    width: 65px !important;
    height: 50px !important;
    border-radius: 6px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
  }
  #middle-area .icerik-item .icerik-details {
    min-width: 0 !important;
    flex: 1 !important;
  }
  #middle-area .icerik-item .icerik-details h4 {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 0 0 4px 0 !important;
    word-break: break-word !important;
  }
  #middle-area .icerik-item .icerik-details p {
    font-size: 11.5px !important;
    margin: 0 !important;
  }

  /* Marquee Bant */
  #shortcut .marq-item {
    padding: 8px 12px !important;
  }
  #shortcut .marq-item .tarih {
    min-width: 60px !important;
    padding: 4px 8px !important;
  }
  #shortcut .marq-item h3 {
    font-size: 13px !important;
  }
}

/* ==============================================================================
   PROFESSIONAL SUB-FOOTER & DEVELOPER CREDITS (RAFET DUMAN)
   ============================================================================== */
footer {
  padding-bottom: 0 !important;
}

.sub-footer {
  background: #041008 !important; /* Ana footer'dan belirgin şekilde ayrılmış, asil ve derin zemin */
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 22px 0 20px 0 !important;
  margin-top: 35px !important;
  color: #8fa397 !important;
  width: 100% !important;
  clear: both !important;
  display: block !important;
}

.sub-footer-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 8px;
}

.sub-footer-copyright {
  margin: 0 !important;
  font-size: 12.5px !important;
  color: #8fa397 !important;
  font-weight: 400 !important;
  letter-spacing: 0.2px !important;
}

.sub-footer-credits {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 2px;
}

.dev-credits-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px;
  text-decoration: none !important;
  color: #8fa397 !important;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.dev-credits-link:hover,
.dev-credits-link:focus {
  text-decoration: none !important;
  opacity: 0.95;
  transform: translateY(-1px);
}

.dev-credits-logo {
  height: 28px !important; /* İmza logosunun net, öne çıkan prestijli boyutu */
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle !important;
  filter: brightness(1);
  transition: filter 0.25s ease;
}

.dev-credits-link:hover .dev-credits-logo {
  filter: brightness(1.15) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.25));
}

.dev-credits-text {
  font-size: 11px !important; /* Bir tık daha küçük, aynı renk tonunda zarif metin */
  color: #8fa397 !important;
  font-weight: 400 !important;
  letter-spacing: 0.35px !important;
  white-space: nowrap !important;
  display: inline-block !important;
  vertical-align: middle !important;
  transition: color 0.25s ease;
}

.dev-credits-link:hover .dev-credits-text {
  color: #c0d1c7 !important;
}

@media (max-width: 768px) {
  .sub-footer {
    padding: 18px 15px 32px 15px !important;
  }

  .sub-footer-copyright {
    font-size: 11.5px !important;
    line-height: 1.5 !important;
  }

  .dev-credits-link {
    gap: 8px !important;
    flex-wrap: wrap !important;
  }

  .dev-credits-logo {
    height: 28px !important;
    max-width: 190px !important;
  }

  .dev-credits-text {
    font-size: 10.5px !important;
  }
}




