:root {
  --brand: #FF3333;
  --brand-hover: #CC0000;
  --brand-orange: #FF8C00;
  --dark: #0A0A0A;
  --darker: #050505;
  --light: #F5F5F5;
  --brand-rgb: 255, 51, 51;
  --brand-hover-rgb: 204, 0, 0;
  --brand-orange-rgb: 255, 140, 0;
  --ge-font-body: "Inter", sans-serif;
  --ge-font-display: "Anton", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--dark);
  color: var(--light);
  font-family: var(--ge-font-body);
  overflow-x: hidden;
}

::selection {
  background: var(--brand);
  color: #fff;
}

.font-display {
  font-family: var(--ge-font-display);
  letter-spacing: 0.05em;
}

.text-brand { color: var(--brand) !important; }
.bg-brand { background-color: var(--brand) !important; }
.bg-darker { background-color: var(--darker) !important; }
.bg-dark-custom { background-color: var(--dark) !important; }

.text-gradient {
  background: linear-gradient(to right, var(--brand), var(--brand-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-label::before {
  content: "";
  width: 3rem;
  height: 2px;
  background: var(--brand-orange);
}

.section-label span {
  color: var(--brand-orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.875rem;
}

.section-label-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-label-center span {
  color: var(--brand-orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.875rem;
}

.section-label-center::before,
.section-label-center::after {
  content: "";
  width: 3rem;
  height: 2px;
  background: var(--brand-orange);
}

/* Navbar */
.navbar-custom {
  background: transparent;
  padding: 1.25rem 0;
  transition: background 0.3s, box-shadow 0.3s;
  z-index: 1030;
}

.navbar-custom.scrolled,
.navbar-custom.is-open {
  background: rgba(5, 5, 5, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

@media (min-width: 992px) {
  .navbar-custom {
    padding: 1.5rem 0;
  }

  .navbar-custom.scrolled {
    padding: 1rem 0;
  }
}

.navbar-custom .navbar-brand {
  position: relative;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
}

.navbar-custom .navbar-brand img {
  display: block;
  max-height: 40px;
  width: auto;
}

.navbar-custom .nav-link {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 0 !important;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
  color: var(--brand);
}

/* Custom hamburger / close icon */
.navbar-custom .ge-nav-toggle {
  position: relative;
  z-index: 1040;
  width: 2.5rem;
  height: 2.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  line-height: 1;
}

.navbar-custom .ge-nav-toggle:focus,
.navbar-custom .ge-nav-toggle:focus-visible {
  outline: none;
  box-shadow: none;
}

.navbar-custom .ge-nav-toggle-bar {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.navbar-custom.is-open .ge-nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-custom.is-open .ge-nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.navbar-custom.is-open .ge-nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile header + full-screen menu */
@media (max-width: 991.98px) {
  .navbar-custom .ge-nav-toggle {
    display: inline-flex;
  }

  .navbar-custom {
    padding-top: calc(0.7rem + env(safe-area-inset-top, 0px));
    padding-bottom: 0.7rem;
  }

  .navbar-custom.scrolled,
  .navbar-custom.is-open {
    background: #050505;
    box-shadow: none;
  }

  .navbar-custom > .container {
    flex-wrap: wrap;
    align-items: center;
  }

  .navbar-custom .navbar-brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 3rem);
    font-size: 1.15rem;
  }

  .navbar-custom .navbar-brand img {
    max-height: 34px;
  }

  /* Full-screen panel under the logo bar */
  .navbar-custom .navbar-collapse {
    flex-basis: 100%;
  }

  .navbar-custom .navbar-collapse.collapsing {
    height: auto !important;
    transition: none;
  }

  .navbar-custom.is-open .navbar-collapse,
  .navbar-custom .navbar-collapse.show {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 1035;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: calc(4.75rem + env(safe-area-inset-top, 0px)) 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    border: 0;
    background: #050505;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .navbar-custom .navbar-nav {
    align-items: stretch !important;
    gap: 0 !important;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .navbar-custom .nav-item {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navbar-custom .nav-item:last-child {
    border-bottom: 0;
  }

  .navbar-custom .nav-link {
    display: block;
    padding: 0.95rem 0.1rem !important;
  }

  .navbar-custom .nav-item.mt-3 {
    margin-top: 1.25rem !important;
    padding-top: 0.25rem;
  }

  .navbar-custom .nav-item .btn-brand {
    display: block;
    width: 100%;
    text-align: center;
  }

  body.ge-nav-open {
    overflow: hidden;
  }
}

.btn-brand {
  background: var(--brand);
  color: #fff !important;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 0;
  padding: 0.5rem 1.5rem;
  transition: background 0.3s;
  display: inline-block;
  width: auto;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
}

.btn-brand:hover,
.btn-brand:focus {
  background: var(--brand-hover);
  color: #fff !important;
}

input.btn-brand,
button.btn-brand,
input[type="submit"].btn-brand {
  appearance: none;
  -webkit-appearance: none;
}

.btn-outline-light-custom {
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 0;
  padding: 0.75rem 2rem;
  background: transparent;
  transition: background 0.3s;
}

.btn-outline-light-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, transparent 100%),
              rgba(0, 0, 0, 0.4);
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--darker), transparent);
  z-index: 1;
}

.hero-content { position: relative; z-index: 2; }

.hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1;
  text-transform: uppercase;
}

.hero-description {
  max-width: 36rem;
}

/* About */
.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(var(--brand-rgb), 0.1);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-images {
  position: relative;
  height: 600px;
}

.about-img-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 400px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 350px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 2;
}

.experience-badge {
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translate(-50%, -50%);
  width: 8rem;
  height: 8rem;
  background: var(--brand);
  border-radius: 50%;
  border: 4px solid var(--darker);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Class Cards */
.class-card {
  position: relative;
  height: 400px;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
}

.class-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.class-card:hover img { transform: scale(1.1); }

.class-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
  opacity: 0.8;
  transition: opacity 0.3s;
}

.class-card:hover .class-card-overlay { opacity: 0.9; }

.class-card-content {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.class-card-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}

.class-card:hover .class-card-accent { transform: scaleX(1); }

.class-meta {
  opacity: 0;
  transform: translateY(2rem);
  transition: all 0.5s;
}

.class-card:hover .class-meta {
  opacity: 1;
  transform: translateY(0);
}

/* Trainer Cards */
.trainer-card {
  position: relative;
  height: 500px;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--dark);
}

.trainer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.7s, filter 0.5s;
}

.trainer-card:hover img {
  transform: scale(1.1);
  filter: grayscale(0);
}

.trainer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  opacity: 0.9;
  transition: opacity 0.3s;
}

.trainer-card:hover .trainer-overlay { opacity: 0.7; }

.trainer-content {
  position: absolute;
  inset: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
}

.trainer-social {
  opacity: 0;
  transition: opacity 0.5s;
}

.trainer-card:hover .trainer-social { opacity: 1; }

.social-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s;
}

.social-btn:hover {
  background: var(--brand);
  color: #fff;
}

/* Gallery */
.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.gallery-item:hover img { transform: scale(1.1); }

.gallery-hover {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-hover { opacity: 1; }

/* Pricing */
.pricing-row {
  max-width: 72rem;
  margin: 0 auto;
}

.pricing-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 2rem;
  background: var(--dark);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border-color: var(--brand);
  background: var(--darker);
  box-shadow: 0 20px 40px rgba(var(--brand-rgb), 0.1);
  transform: scale(1.05);
  position: relative;
  z-index: 1;
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--brand);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pricing-price {
  font-size: 4rem;
  line-height: 1;
}

.feature-check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(var(--brand-rgb), 0.2);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
}

/* Footer */
.footer-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.footer-link:hover { color: var(--brand); }

.footer-link::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(var(--brand-rgb), 0.5);
}

.footer-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0;
}

.footer-input:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(255,255,255,0.05);
  color: #fff;
  box-shadow: none;
}

.footer-input::placeholder { color: #6b7280; }

/* Contact Form 7 — GymEnergy styling */
.ge-contact-form-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 2rem;
}

@media (min-width: 768px) {
  .ge-contact-form-card {
    padding: 3rem 3rem;
  }
}

.ge-contact-form .wpcf7-form {
  margin: 0;
}

.ge-form-label {
  display: block;
  color: var(--brand-orange);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.ge-form-control,
.ge-contact-form .wpcf7-form-control:not(.wpcf7-submit) {
  display: block;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.85rem 1rem;
  border-radius: 0;
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s;
}

.ge-form-control:focus,
.ge-contact-form .wpcf7-form-control:not(.wpcf7-submit):focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  box-shadow: none;
}

.ge-contact-form .wpcf7-not-valid:not(.wpcf7-submit) {
  border-color: #ff6b6b !important;
}

.ge-form-control::placeholder,
.ge-contact-form .wpcf7-form-control:not(.wpcf7-submit)::placeholder {
  color: #6b7280;
}

.ge-contact-form textarea.ge-form-control,
.ge-contact-form .wpcf7-textarea {
  min-height: 9rem;
  resize: vertical;
}

.ge-contact-form select.ge-form-control,
.ge-contact-form select.wpcf7-form-control,
.ge-contact-form .wpcf7-select {
  appearance: none;
  -webkit-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='%23FF8C00' d='M1.4 1.4L6 6l4.6-4.6L12 2.8 6 8.8 0 2.8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.ge-contact-form select.ge-form-control option,
.ge-contact-form select.wpcf7-form-control option {
  background: #111;
  color: #fff;
}

/* Submit row — centered primary button */
.ge-contact-form .ge-cf7-submit-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
}

.ge-contact-form .ge-cf7-submit-row .wpcf7-form-control-wrap {
  display: inline-block;
  width: auto;
  max-width: 100%;
}

.ge-contact-form .ge-cf7-submit,
.ge-contact-form button.wpcf7-submit,
.ge-contact-form input.wpcf7-submit {
  display: inline-block;
  width: auto;
  min-width: 12rem;
  padding: 0.9rem 2.5rem;
  margin: 0;
  cursor: pointer;
  border: none;
  border-radius: 0;
  background-color: var(--brand);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 0.3s;
}

.ge-contact-form .ge-cf7-submit:hover,
.ge-contact-form .ge-cf7-submit:focus,
.ge-contact-form button.wpcf7-submit:hover,
.ge-contact-form button.wpcf7-submit:focus,
.ge-contact-form input.wpcf7-submit:hover,
.ge-contact-form input.wpcf7-submit:focus {
  background-color: var(--brand-hover);
  color: #fff;
  outline: none;
  box-shadow: none;
}

.ge-contact-form .ge-cf7-submit-row .wpcf7-spinner {
  display: inline-block;
  margin: 0;
  vertical-align: middle;
}

.ge-contact-form .wpcf7-not-valid-tip {
  color: #ff6b6b;
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

/* CF7 default CSS is disabled — keep a11y summary off-screen */
.wpcf7 .screen-reader-response {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  word-wrap: normal !important;
  word-break: normal !important;
}

.wpcf7 .hidden-fields-container {
  display: none !important;
}

/* Field tips only on validation; banner for send success/failure */
.ge-contact-form .wpcf7-response-output {
  display: none !important;
  margin: 1.25rem 0 0;
  padding: 1rem 1.25rem;
  border-radius: 0;
  font-size: 0.95rem;
  text-align: center;
}

.ge-contact-form .wpcf7 form.sent .wpcf7-response-output,
.ge-contact-form .wpcf7 form.failed .wpcf7-response-output,
.ge-contact-form .wpcf7 form.aborted .wpcf7-response-output,
.ge-contact-form .wpcf7 form.spam .wpcf7-response-output {
  display: block !important;
}

.ge-contact-form .wpcf7 form.sent .wpcf7-response-output {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #86efac;
}

.ge-contact-form .wpcf7 form.failed .wpcf7-response-output,
.ge-contact-form .wpcf7 form.aborted .wpcf7-response-output,
.ge-contact-form .wpcf7 form.spam .wpcf7-response-output {
  background: rgba(255, 51, 51, 0.1);
  border: 1px solid rgba(255, 51, 51, 0.45);
  color: #ffb4b4;
}

.ge-contact-form .wpcf7-form-control-wrap {
  display: block;
}

.ge-contact-form .ge-cf7-submit-row .wpcf7-form-control-wrap {
  display: inline-block;
  width: auto;
}

/* Newsletter & comment submit buttons */
.ge-newsletter-form .wpcf7-form {
	margin: 0;
}

.ge-newsletter-form .ge-newsletter-cf7-inner {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.ge-newsletter-form .wpcf7-form-control-wrap {
	display: block;
}

.ge-newsletter-form .wpcf7-form-control.footer-input {
	display: block;
	width: 100%;
}

.ge-newsletter-form button.wpcf7-submit,
.ge-newsletter-form input.wpcf7-submit,
#newsletterForm .btn-brand {
	width: 100%;
	padding-top: 0.85rem;
	padding-bottom: 0.85rem;
}

.ge-newsletter-form .wpcf7-not-valid.footer-input {
	border-color: #ff6b6b !important;
}

.ge-newsletter-form .wpcf7-not-valid-tip {
	color: #ff6b6b;
	font-size: 0.8rem;
	margin-top: 0.25rem;
}

.ge-newsletter-form .wpcf7-response-output {
	display: none !important;
	margin: 0.75rem 0 0;
	padding: 0.75rem 1rem;
	border-radius: 0;
	font-size: 0.85rem;
	text-align: center;
}

.ge-newsletter-form .wpcf7 form.sent .wpcf7-response-output,
.ge-newsletter-form .wpcf7 form.failed .wpcf7-response-output,
.ge-newsletter-form .wpcf7 form.aborted .wpcf7-response-output,
.ge-newsletter-form .wpcf7 form.spam .wpcf7-response-output {
	display: block !important;
}

.ge-newsletter-form .wpcf7 form.sent .wpcf7-response-output {
	background: rgba(34, 197, 94, 0.12);
	border: 1px solid rgba(34, 197, 94, 0.45);
	color: #86efac;
}

.ge-newsletter-form .wpcf7 form.failed .wpcf7-response-output,
.ge-newsletter-form .wpcf7 form.aborted .wpcf7-response-output,
.ge-newsletter-form .wpcf7 form.spam .wpcf7-response-output {
	background: rgba(255, 51, 51, 0.1);
	border: 1px solid rgba(255, 51, 51, 0.45);
	color: #ffb4b4;
}

.ge-newsletter-form .wpcf7-spinner {
	display: inline-block;
	margin: 0.5rem auto 0;
}

.ge-comment-form .form-submit {
  margin-top: 1rem;
  margin-bottom: 0;
}

.ge-comment-form .form-submit input[type="submit"] {
  width: auto;
  min-width: 10rem;
  padding: 0.75rem 2rem;
  cursor: pointer;
}

section { padding: 5rem 0; }

@media (max-width: 767.98px) {
  .pricing-card.popular { transform: none; }
  .about-images { display: none; }
}

/* ========== INNER PAGES & BLOG ========== */
.ge-site-main {
  min-height: 100vh;
}

.ge-inner-hero {
  padding-top: 5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ge-inner-hero-has-bg {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  border-bottom: none;
}

.ge-inner-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ge-inner-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ge-inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.55) 100%),
              rgba(0, 0, 0, 0.45);
}

.ge-inner-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.ge-inner-hero-has-bg .ge-inner-hero-content {
  padding-bottom: 3rem !important;
}

.ge-content-section {
  padding: 0 0 5rem;
}

.ge-entry-content {
  color: #d1d5db;
  font-size: 1.05rem;
  line-height: 1.8;
}

.ge-entry-content h2,
.ge-entry-content h3,
.ge-entry-content h4 {
  color: #fff;
  font-family: var(--ge-font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.ge-entry-content h2 { font-size: 2rem; }
.ge-entry-content h3 { font-size: 1.5rem; }

.ge-entry-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ge-entry-content a:hover {
  color: var(--brand-orange);
}

.ge-entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.ge-entry-content blockquote {
  border-left: 4px solid var(--brand);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.ge-entry-content ul,
.ge-entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.ge-entry-content li { margin-bottom: 0.5rem; }

.ge-blog-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
}

.ge-blog-card:hover {
  border-color: rgba(var(--brand-rgb), 0.45);
  transform: translateY(-4px);
}

.ge-blog-card-image {
  position: relative;
}

.ge-blog-card-image img,
.ge-blog-card-image .ge-post-placeholder-img {
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}

.ge-entry-featured img,
.ge-entry-featured .ge-post-placeholder-img {
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.ge-blog-card-accent {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.ge-blog-card:hover .ge-blog-card-image img,
.ge-blog-card:hover .ge-blog-card-image .ge-post-placeholder-img {
  transform: scale(1.05);
}

.ge-blog-card:hover .ge-blog-card-accent {
  transform: scaleX(1);
}

.ge-blog-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.ge-blog-meta-sep {
  margin: 0 0.5rem;
  opacity: 0.5;
}

.ge-blog-categories .ge-tag {
  margin-bottom: 0;
}

.ge-blog-read-more {
  letter-spacing: 0.08em;
}

.ge-blog-read-more:hover {
  color: var(--brand-orange) !important;
}

.ge-blog-archive-section {
  padding-bottom: 5rem;
}

.ge-contact-intro,
.ge-join-intro,
.ge-hours-intro {
  max-width: 36rem;
}

/* Hours & Location */
.ge-hours-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.ge-hours-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .ge-hours-card {
    padding: 2.5rem;
  }
}

.ge-hours-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ge-hours-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand);
  flex-shrink: 0;
}

.ge-hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ge-hours-row-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  color: var(--light);
}

.ge-hours-day {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  min-width: 6.5rem;
  flex-shrink: 0;
}

.ge-hours-rule {
  flex: 1 1 auto;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  transform: translateY(-0.35em);
  min-width: 1.5rem;
}

.ge-hours-time {
  color: #9ca3af;
  font-size: 0.95rem;
  white-space: nowrap;
  text-align: right;
}

.ge-hours-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ge-hours-meta-label {
  color: var(--brand-orange);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.ge-hours-meta-value {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.5;
}

.ge-hours-phone {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.ge-hours-phone:hover {
  color: var(--brand);
}

.ge-hours-note {
  padding-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto !important;
  padding-top: 1rem;
}

.ge-hours-map-btn {
  margin-top: auto;
}

.ge-hours-location .ge-hours-map-btn {
  margin-top: 0.5rem;
}

.ge-blog-title:hover { color: var(--brand) !important; }

.ge-entry-meta a {
  color: var(--brand);
  text-decoration: none;
}

.ge-entry-meta a:hover { color: var(--brand-orange); }

.ge-tag {
  display: inline-block;
  background: rgba(var(--brand-rgb), 0.15);
  color: var(--brand);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.ge-post-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.ge-post-nav a:hover { color: var(--brand); }

.ge-pagination .page-link {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 0;
  padding: 0.65rem 1rem;
  min-width: 2.75rem;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.ge-pagination .page-item.active .page-link {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.ge-pagination .page-item.disabled .page-link {
  background: transparent;
  border-color: transparent;
  color: #6b7280;
  pointer-events: none;
}

.ge-pagination .page-link:hover {
  background: rgba(var(--brand-rgb), 0.2);
  border-color: rgba(var(--brand-rgb), 0.45);
  color: #fff;
}

.ge-comments .comment-list {
  list-style: none;
  padding: 0;
}

.ge-comments .comment-body {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
}

.ge-comments .comment-author { color: #fff; font-weight: 700; }
.ge-comments .comment-meta { color: #9ca3af; font-size: 0.8rem; margin-bottom: 0.75rem; }
.ge-comments .comment-reply-link { color: var(--brand); text-transform: uppercase; font-size: 0.75rem; font-weight: 700; }

.ge-page-links a {
  color: var(--brand);
  margin: 0 0.25rem;
}

/* ── Sidebar ── */
.ge-sidebar .ge-widget {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.ge-widget-title {
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--brand);
}

.ge-sidebar .ge-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ge-sidebar .ge-widget ul li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ge-sidebar .ge-widget ul li:last-child { border-bottom: none; }

.ge-sidebar .ge-widget a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.ge-sidebar .ge-widget a:hover { color: var(--brand); }

.ge-sidebar .ge-widget select,
.ge-sidebar .ge-widget input[type="search"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.35rem;
  font-size: 0.9rem;
}

.ge-sidebar .ge-widget select:focus,
.ge-sidebar .ge-widget input[type="search"]:focus {
  outline: none;
  border-color: var(--brand);
}

.ge-sidebar .ge-widget .search-form .search-submit {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  border-radius: 0.35rem;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s;
}

.ge-sidebar .ge-widget .search-form .search-submit:hover {
  background: var(--brand-hover);
}

.ge-sidebar .ge-widget .tagcloud a {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.7rem;
  margin: 0.2rem;
  border-radius: 0.25rem;
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.2s;
}

.ge-sidebar .ge-widget .tagcloud a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.ge-sidebar .ge-widget .wp-calendar-table {
  width: 100%;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

.ge-sidebar .ge-widget .wp-calendar-table caption {
  caption-side: top;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 0.5rem;
}

.ge-sidebar .ge-widget .wp-calendar-table th {
  color: var(--brand);
  text-align: center;
  padding: 0.3rem;
}

.ge-sidebar .ge-widget .wp-calendar-table td {
  text-align: center;
  padding: 0.3rem;
}

.ge-sidebar .ge-widget .wp-calendar-table td a { color: var(--brand); font-weight: 700; }

.ge-sidebar .ge-widget img {
  max-width: 100%;
  height: auto;
  border-radius: 0.35rem;
}

.ge-sidebar .ge-widget .textwidget { color: rgba(255, 255, 255, 0.75); }

.ge-sidebar .ge-widget .wp-block-search__inside-wrapper {
  display: flex;
  gap: 0.5rem;
}

.ge-sidebar .ge-widget .wp-block-search__input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.35rem;
  font-size: 0.9rem;
}

.ge-sidebar .ge-widget .wp-block-search__button {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.35rem;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
}

.ge-sidebar .ge-widget .wp-block-search__button:hover {
  background: var(--brand-hover);
}

@media (max-width: 991.98px) {
  .ge-sidebar {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

