/* Learn it Media client area - 2026 brand */

:root {
  --navy-900: #0a1827;
  --navy-800: #0d2237;
  --orange: #de7b14;
  --orange-deep: #c16e12;
  --light: #ebecef;
  --white: #fff;
  --ink: #2f353d;
  --muted: #6b727c;
  --line: #d5d8de;
  --text-on-dark: #d3d8de;
  --muted-on-dark: #9aa3ad;

  --font-body: 'Titillium Web', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-button: 'Poppins', 'Segoe UI', Helvetica, Arial, sans-serif;

  --shadow: 0 1px 2px rgba(10, 24, 39, .06), 0 10px 30px rgba(10, 24, 39, .07);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--light);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--orange);
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 .5em;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 64px);
}

/* ---------- Logo ---------- */

.logo {
  display: inline-block;
  flex-shrink: 0;
}

.logo img {
  display: block;
  width: auto;
  height: 56px;
}

.logo-lg {
  justify-self: start;
}

.logo-lg img {
  height: 68px;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--navy-900);
  border-bottom: 1px solid var(--orange-deep);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.site-nav ul {
  display: flex;
  gap: 2.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul a {
  color: var(--text-on-dark);
  font-size: 1.15rem;
  text-decoration: none;
  text-underline-offset: .35em;
  text-decoration-thickness: 1px;
}

.site-nav ul a:hover {
  color: var(--white);
  text-decoration-line: underline;
}

/* Mobile menu toggle (CSS only) */
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--white);
}

.nav-toggle-label span {
  top: 21px;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  left: 0;
}

.nav-toggle-label span::before {
  top: -8px;
}

.nav-toggle-label span::after {
  top: 8px;
}

.nav-toggle:focus-visible+.nav-toggle-label {
  outline: 2px solid var(--orange);
}

@media (max-width: 1000px) {
  .site-header-inner {
    flex-wrap: wrap;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .logo img {
    height: 44px;
  }

  .nav-toggle-label {
    display: block;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
    padding: .5rem 0 1rem;
  }

  .nav-toggle:checked~.site-nav {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: .95em 1.75em;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-button);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}

.btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-deep);
}

.btn-secondary {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-800);
}

.btn-secondary:hover {
  background: var(--navy-800);
  color: var(--white);
}

.btn-sm {
  font-size: .8rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Page sections ---------- */

.page-hero {
  position: relative;
  padding: clamp(3rem, 6vw, 4.5rem) 0 calc(clamp(3rem, 6vw, 4.5rem) + 4vw);
  background: var(--navy-800);
  color: var(--text-on-dark);
}

/* Angled bottom edge, rising to the right */
.page-hero::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: calc(4vw + 1px);
  background: var(--light);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.page-title {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 200;
}

.page-title::after {
  content: '.';
}

.page-lead {
  margin: 1.25rem 0 0;
  color: var(--orange);
  font-size: 1.15rem;
  font-weight: 400;
}

.page-body {
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(4rem, 8vw, 6rem);
}

.section-title {
  color: var(--orange);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 200;
}

.section-title::after {
  content: '.';
}

.card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card-narrow {
  max-width: 520px;
}

.card-title {
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
  color: var(--orange);
  font-size: 1.75rem;
  font-weight: 300;
}

/* ---------- Forms ---------- */

.form-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: 1.25rem;
}

.form-field label {
  color: var(--navy-800);
  font-weight: 600;
  font-size: .95rem;
}

.input {
  width: 100%;
  padding: .6em .8em;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(222, 123, 20, .2);
}

.required::after {
  content: ' *';
  color: var(--orange);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.5rem;
}

.field-span-2 {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 0;
}

@media (max-width: 600px) {
  .field-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Products ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.product-image {
  height: 220px;
  width: auto;
  margin-bottom: 1.5rem;
  object-fit: contain;
}

.product-name {
  margin: 0;
  color: var(--orange);
  font-size: 1.5rem;
  font-weight: 300;
}

.product-desc {
  margin: .25rem 0 0;
  color: var(--muted);
}

.product-price {
  margin: .75rem 0 1.25rem;
  font-weight: 400;
}

.qty-field {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: auto;
}

.qty-field label {
  color: var(--navy-800);
  font-weight: 600;
}

.qty-input {
  width: 5rem;
  text-align: center;
}

.paypal-form {
  display: inline-grid;
  justify-items: center;
  align-content: start;
  gap: .5rem;
  margin-top: auto;
}

.paypal-powered {
  font-size: .75rem;
}

.paypal-wordmark {
  height: .875rem;
  vertical-align: middle;
}

/* PayPal hosted button styling */
.pp-BQZRZX5SVQR3Y {
  text-align: center;
  border: none;
  border-radius: 0.25rem;
  min-width: 11.625rem;
  padding: 0 2rem;
  height: 2.625rem;
  font-weight: bold;
  background-color: #FFD140;
  color: #000000;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.25rem;
  cursor: pointer;
}

/* ---------- Review / checkout ---------- */

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

.order-table {
  width: 100%;
  margin-bottom: 1.75rem;
  border-collapse: collapse;
}

.order-table th,
.order-table td {
  padding: .7rem .5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.order-table th {
  border-bottom: 2px solid var(--navy-800);
  color: var(--navy-800);
  font-size: .95rem;
  font-weight: 600;
}

.order-table .num {
  text-align: right;
}

.confirmation {
  text-align: center;
}

.confirmation-title {
  color: var(--navy-800);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 200;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: clamp(3rem, 7vw, 6rem) 0;
  background: var(--navy-900);
  border-top: 1px solid var(--orange-deep);
  color: var(--text-on-dark);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 1.6fr .8fr 1.6fr;
  gap: 2.5rem;
  align-items: center;
}

.footer-links {
  display: grid;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--orange-deep);
  font-size: 1.15rem;
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-contact p {
  margin: 0 0 .5rem;
  font-size: 1.1rem;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-contact .footer-fine {
  margin-top: 2rem;
  color: var(--muted-on-dark);
  font-size: .75rem;
  letter-spacing: .03em;
}

.footer-fine a {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .logo-lg img {
    height: 56px;
  }
}

/* ---------- Parent-site menu links: hidden for now ----------
   The markup is still in client-header.php / client-footer.php;
   delete this block to show the links and mobile menu again. */

.site-nav ul,
.nav-toggle,
.nav-toggle-label,
.footer-links {
  display: none;
}

@media (max-width: 1000px) {
  .site-header-inner {
    flex-wrap: nowrap;
    gap: 1rem;
  }

  .site-nav {
    display: flex;
    width: auto;
    padding: 0;
  }
}

@media (min-width: 901px) {
  .site-footer-inner {
    grid-template-columns: 1fr auto;
  }
}
