/* Bets10 main-site header + footer for the /blog/ section.
   Copied from the main site (canli-bahis.html). Load AFTER site.css. */
.header, .mobile-sidebar, .sidebar-overlay, .footer {
  /* Main site never loads the Roboto web font, so it renders in Arial */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}
.header *, .mobile-sidebar *, .footer * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Cancel the blog's own .btn styling inside the header */
.header .btn {
  display: block;
  gap: 0;
  font: inherit;
  white-space: normal;
}
/* Keep the "Bets10 Hakkında" link underlined like the main site */
.footer .footer-copyright a.footer-text {
  text-decoration: underline;
}
/* Cancel the blog's own .footer-payments styling (extra divider line) */
.footer .footer-payments {
  max-width: none;
  margin: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.header .container,
.mobile-sidebar .container,
.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: linear-gradient(135deg, #037E21, #037E21);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 96px;
  z-index: 9;
}

.header .container,
.header .nav-menu .container {
  max-width: 100%;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #fff;
}

.hamburger svg {
  width: 24px;
  height: 24px;
  display: block;
}

.header-help {
  display: none;
  color: #fff;
  padding: 4px;
}

.header-help svg {
  width: 22px;
  height: 22px;
  display: block;
}

.logo {
  display: flex;
}

.logo img {
  height: 24px;
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

.nav-menu .container {
  padding: 0 0;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nav-menu ul::-webkit-scrollbar {
  display: none;
}

.nav-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  white-space: nowrap;
  transition: background 0.2s;
}

.nav-menu a:hover {
  background: rgba(255,255,255,0.1);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}

.sidebar-overlay.active {
  display: block;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: #1a1a1a;
  z-index: 999;
  transition: left 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-sidebar.open {
  left: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #037E21;
}

.sidebar-close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
}

.sidebar-close svg {
  width: 24px;
  height: 24px;
  display: block;
}

.sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.sidebar-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 20px;
  border-bottom: 1px solid #2a2a2a;
}

.sidebar-nav a:hover {
  background: #2a2a2a;
}

.footer-nav {
  padding: 20px 0;
  border-top: 1px solid #333;
}

.footer-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #ffffffde;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.2s;
  white-space: nowrap;
}

.footer-nav a:hover {
  background: rgba(255,255,255,0.1);
}

.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #3a3a3b;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: Roboto, Arial, sans-serif;
  cursor: pointer;
  white-space: nowrap;
}

.lang-btn:hover {
  background: #4a4a4b;
}

.lang-dropdown {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  min-width: 200px;
  margin-bottom: 8px;
  overflow: hidden;
  z-index: 100;
}

.lang-dropdown.open {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.2s;
}

.lang-option:hover {
  background: #f0f0f0;
}

.lang-flag {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #e0e0e0;
}

.header .btn {
  padding: 5px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-size: 14px;
}

.header .btn-outline {
  color: white;
  border-color: white;
  background: transparent;
}

.header .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.header .btn-primary {
  background: #EFBF01;
  color: #000;
  font-weight: 600;
}

.header .btn-primary:hover {
  background: #ffb300;
}

.footer {
  background: #272728;
  color: #ffffffde;
  font-family: Roboto, "Roboto Fallback: Arial", "Roboto Fallback: Roboto", Arial, Roboto;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
}

.footer-top {
  background: #272728;
  padding: 30px 0;
  text-align: center;
}

.footer-follow {
  color: white;
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 500;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icon {
  display: inline-block;
}

.footer-middle {
  background: #272728;
  padding: 40px 0;
  text-align: center;
}

.footer-middle .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.footer-sponsors {
  text-align: center;
  width: 100%;
}

.sponsor-title {
  color: white;
  font-size: 14px;
  margin-bottom: 15px;
  font-weight: 400;
}

.sponsor-logo {
  display: flex;
  justify-content: center;
}

.footer-payments {
  text-align: center;
  width: 100%;
}

.payment-methods {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px 50px;
  flex-wrap: wrap;
  max-width: 100%;
}

.footer-apps {
  text-align: center;
  width: 100%;
}

.app-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: center;
}

.app-download {
  display: block;
}

.footer-bottom {
  background: #272728;
  padding: 30px 0;
  border-top: 1px solid #333;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.license-info {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.footer-right-content {
  flex: 1;
  text-align: right;
}

.footer-copyright {
  color: #ffffffde;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-legal {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.responsible-text {
  color: #ffffffde;
  font-size: 12px;
}

.age-restriction-icon {
  filter: brightness(0) invert(1);
}

.footer-text {
  color: #ffffffde;
  font-size: 12px;
  line-height: 16px;
  max-width: 800px;
  margin-left: auto;
}

@media (max-width: 820px) {
  .nav-menu {
    display: none;
  }
  .hamburger,
  .header-help {
    display: flex;
  }
  .header-content {
    flex-wrap: wrap;
    gap: 0;
  }
  .header-content .logo {
    flex: 1;
    justify-content: center;
  }
  .auth-buttons {
    display: flex;
    width: 100%;
    padding-top: 8px;
  }
  .auth-buttons .btn {
    flex: 1;
    text-align: center;
  }
  .footer-nav ul {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 520px) {
  .header .container,
  .mobile-sidebar .container,
  .footer .container {
    padding: 0 15px;
  }
  .header {
    padding: 20px 0;
  }
  .logo img {
    height: 16px;
  }
  .header .btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  .footer-top {
    padding: 20px 0;
  }
  .footer-middle {
    padding: 30px 0;
  }
  .footer-middle .container {
    gap: 30px;
  }
  .payment-methods {
    gap: 10px 20px;
  }
  .payment-methods img {
    height: 32px;
  }
  .app-buttons {
    gap: 10px;
  }
  .app-buttons img {
    height: 40px;
  }
  .footer-bottom {
    padding: 20px 0;
  }
  .footer-bottom .container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    align-items: center;
  }
  .footer-right-content {
    text-align: center;
  }
  .footer-text {
    font-size: 11px;
    line-height: 1.4;
  }
  .social-icon img {
    width: 60px;
    height: 60px;
  }
}

.header .btn {
  will-change: transform;
}

.header .btn:focus {
  outline: 2px solid #037E21;
  outline-offset: 2px;
}

.footer-button-menu {
  background: #272728;
  padding: 20px 0;
  border-top: 1px solid #333;
}

.footer-button-menu .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #3a3a3b;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: Roboto, Arial, sans-serif;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.footer-menu-btn:hover {
  background: #4a4a4b;
}

.footer-menu-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.flag-icon {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
}
