/* ============================================================
   SBK BRANDING — HEADER + FOOTER
   ============================================================ */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #222;
}

/* HEADER */
.sbk-header {
  background: #000;
  color: #ffcc00;
  padding: 20px 0;
}

.sbk-header-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
}

.sbk-header-logo {
  height: 70px;
  width: auto;
}

.sbk-title {
  margin: 0;
  font-size: 28px;
  color: #ffcc00;
}

.sbk-header-tagline {
  margin: 4px 0 0 0;
  color: #ddd;
}

/* FOOTER */
.sbk-footer {
  background: #000;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
}

.sbk-footer-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 6px;
}

.sbk-footer-tagline {
  font-size: 14px;
  color: #ddd;
  margin-bottom: 15px;
}

.sbk-footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sbk-footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.sbk-footer-links a:hover {
  color: #ffcc00;
}

.sbk-footer-divider {
  height: 4px;
  background: #ffcc00;
  margin-top: 40px;
}

/* FOOTER BUTTONS */
.sbk-submit-wrapper {
  margin: 20px 0 10px 0;
  text-align: center;
}

.sbk-submit-button {
  display: inline-block;
  background: #ffcc00;
  color: #000;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid #000;
  font-size: 16px;
}

.sbk-submit-button:hover {
  background: #e6b800;
}

/* ============================================================
   CMS PAGE LAYOUT
   ============================================================ */

.cms-container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.section-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000;
  text-align: center;
}

/* ============================================================
   MEMBERSHIP GRID
   ============================================================ */

.membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.membership-card {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.membership-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.membership-card img {
  width: 120px;
  height: auto;
  margin-bottom: 15px;
}

.membership-card h3 {
  margin: 10px 0;
  font-size: 20px;
  color: #000;
}

.membership-card p {
  font-size: 15px;
  color: #444;
  margin-bottom: 12px;
}

.membership-card .fee {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 15px;
  color: #000;
}

.join-button {
  display: inline-block;
  background: #ffcc00;
  color: #000;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid #000;
}

.join-button:hover {
  background: #e6b800;
}

/* ============================================================
   CERTIFICATION RENEWAL — HOVER TOOLTIP
   ============================================================ */

.renewal-tooltip-container {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.renewal-button {
  background: #ffcc00;
  color: #000;
  padding: 12px 20px;
  border-radius: 6px;
  border: 2px solid #000;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
}

.renewal-tooltip {
  visibility: hidden;
  opacity: 0;
  width: 320px;
  background: #fff;
  color: #000;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: absolute;
  z-index: 10;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.25s ease;
}

.renewal-tooltip p {
  margin-top: 0;
  font-size: 14px;
}

.renewal-tooltip ul {
  padding-left: 20px;
  margin: 10px 0;
}

.renewal-tooltip-container:hover .renewal-tooltip {
  visibility: visible;
  opacity: 1;
}

/* Mobile tap support */
.renewal-button:focus + .renewal-tooltip {
  visibility: visible;
  opacity: 1;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */

#cookie-banner {
  background: #000;
  color: #fff;
  padding: 20px;
  border-top: 3px solid #ffcc00;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.cookie-banner-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.cookie-banner-text strong {
  font-size: 16px;
  color: #ffcc00;
}

.cookie-banner-text p {
  margin: 6px 0;
  color: #ddd;
}

.cookie-link-button {
  background: none;
  border: none;
  color: #ffcc00;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
}

.cookie-btn.primary {
  background: #ffcc00;
  color: #000;
}

.cookie-btn.secondary {
  background: #444;
  color: #fff;
}

/* ============================================================
   COOKIE PANEL
   ============================================================ */

#cookie-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#cookie-panel[aria-hidden="false"] {
  display: flex;
}

.cookie-panel-content {
  background: #111;
  color: #fff;
  border: 2px solid #ffcc00;
  border-radius: 8px;
  padding: 30px;
  width: 90%;
  max-width: 550px;
  box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

.cookie-panel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}

.cookie-panel-actions .cookie-btn.primary {
  background: #ffcc00;
  color: #000;
}

.cookie-panel-actions .cookie-btn.secondary {
  background: #444;
  color: #fff;
}

/* MOBILE COOKIE PANEL */
@media (max-width: 600px) {
  .cookie-panel-content {
    padding: 20px;
    max-width: 100%;
  }

  .cookie-panel-actions {
    flex-direction: column;
  }

  .cookie-panel-actions .cookie-btn {
    width: 100%;
  }

  #cookie-banner {
    padding: 15px;
  }

  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
  }
}
