/* ============================================================
   Static content pages (About, Partners, Terms, Privacy, etc.)
   ============================================================ */

.main-section.static-page {
  padding-bottom: 4rem;
}

.static-page-header {
  margin-bottom: 2.5rem;
}

.static-page-header h1 {
  font-family: 'LeagueSpartan-Bold', sans-serif;
  font-size: var(--sn-h1-article, 38px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-white);
  margin-bottom: 0;
}

.static-page-content {
  padding-top: 0.5rem;
}

.static-page-content p {
  font-family: 'Poppins-Regular', sans-serif;
  font-size: 1rem;
  line-height: 1.75rem;
  color: var(--text-white);
  margin-bottom: 1.4rem;
}

.static-page-content h2 {
  font-family: 'LeagueSpartan-SemiBold', sans-serif;
  font-size: var(--sn-h2-article, 28px);
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--text-white);
  border-bottom: 0.125rem solid #149688;
  padding-bottom: 0.6rem;
  margin-top: 2rem;
  margin-bottom: 1.2rem;
}

.static-page-content h3 {
  font-family: 'LeagueSpartan-SemiBold', sans-serif;
  font-size: var(--sn-h3, 22px);
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--text-white);
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.static-page-content ul:not(.nav):not(.nav-tabs):not(.dropdown-menu):not([class*="carousel"]) {
  list-style: disc;
  list-style-image: url("../../img/green-hook-icon.svg");
  padding-left: 2rem;
  margin-bottom: 1.4rem;
}

.static-page-content ol {
  padding-left: 2rem;
  margin-bottom: 1.4rem;
}

.static-page-content ul:not(.nav):not(.nav-tabs):not(.dropdown-menu):not([class*="carousel"]) li,
.static-page-content ol li {
  font-family: 'Poppins-Regular', sans-serif;
  font-size: 1rem;
  line-height: 1.75rem;
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

.static-page-content ul:not(.nav):not(.nav-tabs):not(.dropdown-menu):not([class*="carousel"]) li::marker {
  color: #149688;
}

.static-page-content a {
  color: #149688;
  text-decoration: none;
  transition: color 0.3s;
}

.static-page-content a:hover {
  color: #64ffda;
}

/* ============================================================
   Tables inside static pages
   ============================================================ */

.static-page-content table {
  width: 100%;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  border-collapse: collapse;
  border-bottom: 0.1875rem solid #149688;
}

/* Standard thead (when editor marks header row properly) */
.static-page-content table thead,
.static-page-content table tbody tr:first-child {
  background-color: #149688;
  color: #fff;
  font-family: 'Poppins-Bold', sans-serif;
  font-size: 0.95rem;
}

.static-page-content table thead tr th,
.static-page-content table thead tr td,
.static-page-content table tbody tr:first-child td {
  text-align: center;
  vertical-align: middle;
  padding: 0.65rem 0.75rem;
  color: #fff;
  border: none;
}

.static-page-content table tbody tr td {
  text-align: center;
  vertical-align: middle;
  padding: 0.6rem 0.75rem;
  font-family: 'Poppins-Regular', sans-serif;
  font-size: 0.95rem;
  color: var(--text-white);
  border: 0.0625rem solid var(--light-gray-border);
}

/* First column = label, left-aligned bold */
.static-page-content table tbody tr td:first-child {
  border-left: none;
  text-align: left;
  font-family: 'Poppins-SemiBold', sans-serif;
}

.static-page-content table tbody tr td:last-child {
  border-right: none;
}

/* Skip zebra stripe on header row */
.static-page-content table tbody tr:nth-child(even):not(:first-child) td {
  background-color: rgba(255, 255, 255, 0.03);
}

/* Header row first-child override - no left border, full teal */
.static-page-content table tbody tr:first-child td:first-child {
  border-left: none;
  text-align: center;
  font-family: 'Poppins-Bold', sans-serif;
}

/* ============================================================
   Contact Form
   ============================================================ */

.contact-form-wrap {
  margin-top: 1.5rem;
  max-width: 44rem;
}

.contact-form-wrap .form-group {
  margin-bottom: 1rem;
}

.contact-form-wrap .form-submit {
  margin-top: 0.5rem;
}

.contact-form-wrap label {
  display: block;
  font-family: 'Poppins-Medium', sans-serif;
  font-size: 0.9rem;
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap textarea {
  width: 100%;
  background: var(--white-gray-light-bkg);
  border: 0.0625rem solid var(--light-gray-border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-family: 'Poppins-Regular', sans-serif;
  font-size: 0.95rem;
  color: var(--text-white);
  transition: border-color 0.3s;
  outline: none;
}

.contact-form-wrap input[type="text"]:focus,
.contact-form-wrap input[type="email"]:focus,
.contact-form-wrap textarea:focus {
  border-color: #149688;
}

.contact-form-wrap textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form-wrap .sn-select {
  width: 100%;
  background: var(--white-gray-light-bkg);
  border: 0.0625rem solid var(--light-gray-border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-family: 'Poppins-Regular', sans-serif;
  font-size: 0.95rem;
  color: var(--text-white);
  transition: border-color 0.3s;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23149688' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.contact-form-wrap .sn-select:focus {
  border-color: #149688;
}

.contact-form-wrap .form-submit {
  margin-top: 0;
}

.contact-form-wrap .btn-green-border {
  cursor: pointer;
  background: transparent;
  font-size: 0.95rem;
  letter-spacing: 0.05rem;
  margin: 0;
}

.contact-form-wrap .btn-green-border:hover {
  cursor: pointer;
}

.contact-notice {
  margin-top: 1rem;
  font-family: 'Poppins-Regular', sans-serif;
  font-size: 0.85rem;
  color: var(--light-white);
}

.contact-success,
.contact-error {
  padding: 0.8rem 1.2rem;
  border-radius: 0.4rem;
  font-family: 'Poppins-Medium', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  display: none;
}

.contact-success {
  background: rgba(20, 150, 136, 0.12);
  border: 0.0625rem solid #149688;
  color: #149688;
}

.contact-error {
  background: rgba(220, 50, 50, 0.1);
  border: 0.0625rem solid #dc3232;
  color: #dc3232;
}

/* ============================================================
   Cookie Notice
   ============================================================ */

#sn-cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: var(--white-gray-bkg);
  border-top: 0.125rem solid #149688;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
  flex-wrap: wrap;
}

#sn-cookie-notice p {
  font-family: 'Poppins-Regular', sans-serif;
  font-size: 0.88rem;
  color: var(--text-white);
  margin: 0;
  flex: 1;
  min-width: 16rem;
}

#sn-cookie-notice p a {
  color: #149688;
  text-decoration: underline;
}

#sn-cookie-notice p a:hover {
  color: #64ffda;
}

#sn-cookie-accept {
  border: 0.0625rem solid #149688;
  color: #149688;
  border-radius: 1.4375rem;
  padding: 0.5rem 1.6rem;
  font-family: 'Poppins-Bold', sans-serif;
  font-size: 0.88rem;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

#sn-cookie-accept:hover {
  background: #64ffda;
  border-color: #64ffda;
  color: #1b1c1e;
}

@media (max-width: 768px) {
  #sn-cookie-notice {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.2rem;
  }

  #sn-cookie-accept {
    align-self: flex-end;
  }
}
