/* JeremyTEC GeneratePress child theme */

:root {
  --jeremy-ink: #10233f;
  --jeremy-blue: #1f6fbf;
  --jeremy-green: #18a36b;
  --jeremy-red: #c8102e;
  --jeremy-orange: #f05a28;
  --jeremy-yellow: #f7c948;
  --jeremy-soft: #f6f8fb;
  --jeremy-text: #1e293b;
  --jeremy-white: #ffffff;
}

.jeremytec-front-page .site-content,
.jeremytec-front-page .inside-article,
.jeremytec-front-page .entry-content {
  margin: 0;
  padding: 0;
}

.jeremytec-front-page .site-main {
  margin: 0;
}

.jeremytec-front-page .entry-header {
  display: none;
}

.cky-btn-revisit-wrapper {
  display: none !important;
}

.jeremy-site-header {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 42%),
    linear-gradient(120deg, var(--jeremy-ink), #174a7c);
  border-bottom: 3px solid var(--jeremy-red);
  box-shadow: 0 12px 34px rgba(16, 35, 63, 0.2);
  position: sticky;
  top: 0;
  z-index: 20;
}

.jeremy-site-header-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  min-height: 72px;
  width: min(1180px, calc(100% - 32px));
}

.jeremy-brand {
  align-items: center;
  color: var(--jeremy-white);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 900;
  gap: 10px;
  letter-spacing: 0;
  text-decoration: none;
}

.jeremy-brand img {
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.88), 0 0 0 6px rgba(200, 16, 46, 0.72);
  display: block;
  height: 54px;
  object-fit: cover;
  width: 54px;
}

.jeremy-nav {
  align-items: center;
  display: flex;
  gap: 22px;
}

.jeremy-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.jeremy-nav .jeremy-nav-cta {
  background: var(--jeremy-orange);
  border-radius: 8px;
  color: var(--jeremy-white);
  padding: 10px 14px;
}

.jeremy-nav a:not(.jeremy-nav-cta):hover {
  color: var(--jeremy-white);
}

.jeremy-home {
  color: var(--jeremy-text);
  font-size: 18px;
  line-height: 1.6;
}

.jeremy-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.jeremy-hero {
  background:
    linear-gradient(118deg, transparent 0 58%, rgba(9, 165, 211, 0.92) 58% 100%),
    linear-gradient(118deg, rgba(16, 35, 63, 0.78) 0 17%, transparent 17% 100%),
    linear-gradient(118deg, transparent 0 76%, rgba(16, 35, 63, 0.28) 76% 100%),
    #087fcb;
  color: var(--jeremy-white);
  overflow: hidden;
  padding: 72px 0;
  position: relative;
}

.jeremy-hero::before {
  background: linear-gradient(118deg, transparent 0 47%, rgba(6, 143, 197, 0.32) 47% 63%, transparent 63% 100%);
  content: "";
  inset: 0;
  opacity: 1;
  pointer-events: none;
  position: absolute;
}

.jeremy-hero::after {
  background: transparent;
  bottom: 0;
  content: "";
  height: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  width: 0;
}

.jeremy-hero .jeremy-wrap {
  position: relative;
  z-index: 1;
}

.jeremy-hero-grid,
.jeremy-two-col,
.jeremy-final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 40px;
  align-items: center;
}

.jeremy-kicker {
  color: var(--jeremy-yellow);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.jeremy-hero .jeremy-kicker {
  align-items: center;
  background: rgba(16, 35, 63, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  display: inline-flex;
  padding: 8px 12px;
}

.jeremy-hero .jeremy-kicker::before {
  background: var(--jeremy-red);
  border-radius: 999px;
  content: "";
  height: 9px;
  margin-right: 9px;
  width: 9px;
}

.jeremy-hero h1,
.jeremy-section h2,
.jeremy-band h2,
.jeremy-final-cta h2 {
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 20px;
}

.jeremy-hero h1 {
  color: var(--jeremy-white);
  font-size: clamp(38px, 6vw, 58px);
  max-width: 780px;
}

.jeremy-lead {
  font-size: 22px;
  max-width: 720px;
  margin: 0 0 28px;
}

.jeremy-british-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -12px 0 28px;
}

.jeremy-british-note span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 900;
  padding: 7px 10px;
}

.jeremy-hero-photo {
  border: 6px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  margin: 0 0 24px;
  max-width: 500px;
  overflow: hidden;
  position: relative;
  transform: rotate(-1.2deg);
}

.jeremy-hero-photo::before {
  background: var(--jeremy-red);
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.jeremy-hero-photo::after {
  background: linear-gradient(180deg, transparent 48%, rgba(16, 35, 63, 0.38));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.jeremy-hero-photo img {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.jeremy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 32px;
}

.jeremy-button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  text-decoration: none;
}

.jeremy-button-primary {
  background: var(--jeremy-orange);
  color: var(--jeremy-white);
  box-shadow: inset 0 -3px 0 rgba(16, 35, 63, 0.22);
}

.jeremy-button-secondary {
  background: var(--jeremy-green);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--jeremy-white);
  box-shadow: inset 0 -3px 0 rgba(16, 35, 63, 0.2);
}

.jeremy-button-light {
  background: var(--jeremy-white);
  color: var(--jeremy-ink);
}

.jeremy-proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.jeremy-proof-row div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 3px solid var(--jeremy-yellow);
  box-shadow: inset 0 3px 0 rgba(200, 16, 46, 0.72);
  border-radius: 8px;
  padding: 14px;
}

.jeremy-proof-row strong,
.jeremy-proof-row span {
  display: block;
}

.jeremy-proof-row strong {
  color: var(--jeremy-white);
  font-size: 24px;
  line-height: 1.1;
}

.jeremy-proof-row span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.jeremy-proof-cambridge img {
  display: block;
  height: 38px;
  margin: 0 0 6px;
  object-fit: contain;
  object-position: left center;
  width: min(170px, 100%);
}

.jeremy-hero-panel {
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: var(--jeremy-text);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.jeremy-hero-panel.is-attention {
  animation: jeremy-form-attention 900ms ease;
}

@keyframes jeremy-form-attention {
  0% {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22), 0 0 0 0 rgba(247, 201, 72, 0.85);
    transform: translateY(0);
  }
  35% {
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26), 0 0 0 8px rgba(247, 201, 72, 0.28);
    transform: translateY(-2px);
  }
  100% {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22), 0 0 0 0 rgba(247, 201, 72, 0);
    transform: translateY(0);
  }
}

.jeremy-panel-label,
.jeremy-small {
  font-size: 14px;
}

.jeremy-panel-label {
  color: var(--jeremy-blue);
  font-weight: 800;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.jeremy-privacy-note {
  border-top: 1px solid #dbe3ef;
  color: #526176;
  line-height: 1.45;
  margin: 14px 0 0;
  padding-top: 12px;
}

.jeremy-privacy-note a {
  color: var(--jeremy-blue);
  font-weight: 800;
}

.jeremy-hero-panel h2 {
  color: var(--jeremy-ink);
  margin: 0 0 12px;
}

.jeremy-form-shortcode {
  background: var(--jeremy-soft);
  border: 1px dashed #b8c2d3;
  border-radius: 8px;
  margin: 20px 0 12px;
  padding: 18px;
}

.jeremy-form-shortcode form,
.jeremy-form-shortcode .wpcf7-form {
  display: grid;
  gap: 12px;
}

.jeremy-form-shortcode label {
  color: var(--jeremy-ink);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 6px;
}

.jeremy-form-shortcode input,
.jeremy-form-shortcode select,
.jeremy-form-shortcode textarea {
  background: var(--jeremy-white);
  border: 1px solid #ccd6e4;
  border-radius: 8px;
  color: var(--jeremy-text);
  font: inherit;
  padding: 11px 12px;
  width: 100%;
}

.jeremy-form-shortcode textarea {
  min-height: 88px;
  resize: vertical;
}

.jeremy-form-shortcode button,
.jeremy-form-shortcode input[type="submit"] {
  background: var(--jeremy-green);
  border: 0;
  border-radius: 8px;
  color: var(--jeremy-white);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 46px;
  padding: 12px 16px;
  width: 100%;
}

.jeremy-section,
.jeremy-band,
.jeremy-experience-band,
.jeremy-final-cta {
  padding: 72px 0;
}

.jeremy-experience-band {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  padding-top: 56px;
}

.jeremy-experience-grid {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
}

.jeremy-experience-copy h2 {
  color: var(--jeremy-ink);
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 18px;
}

.jeremy-mini-stats {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.jeremy-mini-stats div {
  align-items: start;
  background: var(--jeremy-white);
  border: 1px solid #dbe3ef;
  border-left: 4px solid var(--jeremy-yellow);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
}

.jeremy-mini-stats strong,
.jeremy-mini-stats span {
  display: block;
}

.jeremy-mini-stats strong {
  color: var(--jeremy-blue);
  font-size: 24px;
  line-height: 1;
  margin: 0;
}

.jeremy-mini-stats span {
  color: var(--jeremy-text);
  font-size: 15px;
  line-height: 1.35;
}

.jeremy-experience-photo {
  background: var(--jeremy-white);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(16, 35, 63, 0.12);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.jeremy-experience-photo img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.jeremy-experience-photo figcaption {
  background: var(--jeremy-ink);
  bottom: 18px;
  color: var(--jeremy-white);
  font-size: 15px;
  font-weight: 800;
  left: 18px;
  max-width: min(420px, calc(100% - 36px));
  padding: 12px 14px;
  position: absolute;
  border-radius: 8px;
}

.jeremy-photo {
  background: #d9e8f7;
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.jeremy-photo img {
  display: block;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  width: 100%;
}

.jeremy-photo-large {
  grid-row: span 2;
}

.jeremy-photo-large img {
  min-height: 460px;
}

.jeremy-photo-cambridge img {
  object-fit: contain;
  padding: 32px;
}

.jeremy-section h2,
.jeremy-band h2,
.jeremy-final-cta h2 {
  color: var(--jeremy-ink);
  font-size: clamp(30px, 4vw, 44px);
}

.jeremy-section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.jeremy-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.jeremy-card {
  background: var(--jeremy-white);
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  padding: 24px;
}

.jeremy-card h3 {
  color: var(--jeremy-ink);
  font-size: 22px;
  margin: 0 0 10px;
}

.jeremy-card p {
  margin: 0;
}

.jeremy-teachers {
  background:
    linear-gradient(135deg, rgba(200, 16, 46, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.jeremy-teachers-grid {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(420px, 1fr) minmax(0, 0.82fr);
}

.jeremy-teachers-photo {
  background: var(--jeremy-ink);
  border: 8px solid var(--jeremy-white);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(16, 35, 63, 0.18);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.jeremy-teachers-photo::before {
  background: var(--jeremy-red);
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.jeremy-teachers-photo img {
  aspect-ratio: 1 / 1;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.jeremy-teacher-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.jeremy-teacher-tags span {
  background: var(--jeremy-ink);
  border-radius: 999px;
  color: var(--jeremy-white);
  font-size: 15px;
  font-weight: 900;
  padding: 9px 14px;
}

.jeremy-band,
.jeremy-local {
  background: var(--jeremy-soft);
}

.jeremy-method-priority {
  background: var(--jeremy-ink);
  color: var(--jeremy-white);
  padding-top: 54px;
}

.jeremy-method-priority h2 {
  color: var(--jeremy-white);
}

.jeremy-method-priority .jeremy-feature-list div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.jeremy-method-priority .jeremy-feature-list strong {
  color: var(--jeremy-white);
}

.jeremy-method-priority .jeremy-feature-list span {
  color: rgba(255, 255, 255, 0.82);
}

.jeremy-feature-list {
  display: grid;
  gap: 14px;
}

.jeremy-feature-list div {
  background: var(--jeremy-white);
  border-radius: 8px;
  padding: 18px;
}

.jeremy-feature-list strong,
.jeremy-feature-list span {
  display: block;
}

.jeremy-feature-list strong {
  color: var(--jeremy-ink);
}

.jeremy-image-placeholder {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: #d9e8f7;
  border-radius: 8px;
  color: var(--jeremy-ink);
  display: flex;
  font-weight: 800;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.jeremy-contact-strip {
  background: var(--jeremy-white);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 22px;
}

.jeremy-contact-strip a {
  color: var(--jeremy-ink);
  font-weight: 800;
}

.jeremy-map {
  background: var(--jeremy-white);
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  margin-top: 18px;
  overflow: hidden;
}

.jeremy-map iframe {
  border: 0;
  display: block;
  height: 260px;
  width: 100%;
}

.jeremy-final-cta {
  background: var(--jeremy-green);
  color: var(--jeremy-white);
}

.jeremy-final-cta h2,
.jeremy-final-cta .jeremy-kicker {
  color: var(--jeremy-white);
}

.jeremy-final-grid {
  grid-template-columns: minmax(0, 1fr) auto;
}

.jeremy-floating-whatsapp {
  background: var(--jeremy-green);
  border-radius: 999px;
  bottom: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: var(--jeremy-white);
  display: none;
  font-weight: 800;
  padding: 12px 18px;
  position: fixed;
  right: 18px;
  text-decoration: none;
  z-index: 50;
}

.jeremy-footer {
  background: var(--jeremy-ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 52px 0 24px;
}

.jeremy-footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr) minmax(180px, 0.6fr);
}

.jeremy-footer-logo {
  background: var(--jeremy-white);
  border-radius: 999px;
  display: block;
  height: 64px;
  margin: 0 0 18px;
  object-fit: cover;
  padding: 0;
  width: 64px;
}

.jeremy-footer h2 {
  color: var(--jeremy-white);
  font-size: 16px;
  letter-spacing: 0;
  margin: 0 0 14px;
}

.jeremy-footer p {
  margin: 0;
  max-width: 380px;
}

.jeremy-footer a {
  color: rgba(255, 255, 255, 0.86);
  display: block;
  font-weight: 800;
  margin: 0 0 10px;
  text-decoration: none;
}

.jeremy-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 18px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .jeremy-hero-grid,
  .jeremy-two-col,
  .jeremy-final-grid,
  .jeremy-teachers-grid {
    grid-template-columns: 1fr;
  }

  .jeremy-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jeremy-hero-photo {
    max-width: 100%;
  }

  .jeremy-final-grid {
    gap: 18px;
  }

  .jeremy-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .jeremy-site-header-inner {
    min-height: 64px;
  }

  .jeremy-brand img {
    height: 38px;
    width: 38px;
  }

  .jeremy-nav a:not(.jeremy-nav-cta) {
    display: none;
  }

  .jeremy-home {
    font-size: 17px;
  }

  .jeremy-hero,
  .jeremy-section,
  .jeremy-band,
  .jeremy-experience-band,
  .jeremy-final-cta {
    padding: 48px 0;
  }

  .jeremy-experience-grid {
    grid-template-columns: 1fr;
  }

  .jeremy-teachers-grid {
    grid-template-columns: 1fr;
  }

  .jeremy-experience-photo figcaption {
    bottom: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
  }

  .jeremy-lead {
    font-size: 19px;
  }

  .jeremy-hero-photo {
    border-width: 4px;
    margin-bottom: 18px;
    transform: none;
  }

  .jeremy-proof-row,
  .jeremy-card-grid {
    grid-template-columns: 1fr;
  }

  .jeremy-button {
    width: 100%;
  }

  .jeremy-floating-whatsapp {
    display: inline-flex;
  }
}
