:root {
  --petroleum: #111417;
  --petroleum-2: #252b2f;
  --petroleum-3: #65727a;
  --gold: #9b694a;
  --gold-light: #cda07d;
  --cream: #ece7df;
  --paper: #f8f7f3;
  --ivory: #f3efe8;
  --ink: #1a2024;
  --muted: #687278;
  --line: #d8d6d0;
  --shadow: 0 20px 55px rgba(8, 9, 11, 0.13);
}

body {
  background: var(--paper);
  color: var(--ink);
}

.utility,
footer {
  background: #070809;
}

.utility {
  color: #c8c3bc;
}

.header {
  height: 88px;
  border-bottom-color: rgba(205, 160, 125, 0.3);
  background: rgba(10, 11, 13, 0.98);
}

.head {
  grid-template-columns: 235px 1fr auto auto;
}

.brand {
  width: 225px;
  height: 68px;
  background: #050607;
}

.brand img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.head nav,
.head nav a {
  color: #f3efe8;
}

.head nav a::after {
  background: var(--gold-light);
}

.head-cta,
.btn-dark {
  background: var(--gold);
  color: #08090b;
}

.head-cta:hover,
.btn-dark:hover,
.btn-gold:hover {
  background: var(--gold-light);
}

.btn-gold {
  background: var(--gold);
  color: #08090b;
}

.home-hero,
.founder-band,
.hub-hero,
.final-cta,
.panel.dark {
  background: #111417;
}

.home-hero {
  border-bottom-color: var(--gold);
}

.home-hero::before {
  opacity: 0.34;
}

.home-copy p,
.hub-hero p,
.founder-copy p,
.final-cta p,
.panel.dark p {
  color: #d2d0cb;
}

.section.alt {
  background: #e7e9e8;
}

.section.cream,
.closing {
  background: var(--cream);
}

.school-card {
  background: linear-gradient(140deg, #111417, #465159);
}

.founder-photo img,
.founder-page-photo img {
  filter: saturate(0.82) contrast(1.02);
}

.foot-brand {
  padding-top: 0;
}

.foot-brand img {
  display: block;
  width: 250px;
  height: auto;
  margin: 0 0 20px;
}

.foot-brand::before,
.foot-brand::after {
  display: none;
}

.cart-link {
  border-color: var(--gold);
  background: #111417;
  color: #fff;
}

.cart-link:hover {
  background: #252b2f;
}

.cart-link-label small {
  color: #c6c1ba;
}

.cart-count {
  background: var(--gold-light);
  color: #08090b;
}

.course-hero,
.school-hero,
.theme-strip,
.section[style*="--dark"] {
  --dark: #111417 !important;
  --mid: #465159 !important;
  --accent: #b47b56 !important;
  --soft: #e7e9e8 !important;
}

.school-card {
  --dark: #111417 !important;
  --mid: #465159 !important;
  --accent: #cda07d !important;
}

.course-hero,
.school-hero {
  border-bottom-color: var(--gold);
}

@media (max-width: 960px) {
  .head nav {
    top: 124px;
    border-top-color: rgba(205, 160, 125, 0.25);
    background: #111417;
  }
}

@media (max-width: 680px) {
  .header {
    height: 70px;
  }

  .brand {
    width: 176px;
    height: 54px;
  }

  .menu-toggle {
    border-color: rgba(205, 160, 125, 0.45);
    background: #111417;
  }

  .menu-toggle span {
    background: #f3efe8;
  }

  .head nav {
    top: 70px;
  }
}

/* Zayit-inspired storefront system for Instituto DALC. */
:root {
  --petroleum: #211729;
  --petroleum-2: #35253d;
  --petroleum-3: #a95022;
  --gold: #df7b27;
  --gold-light: #f1ad58;
  --cream: #efe3d0;
  --paper: #fbf7ef;
  --ivory: #f6efe3;
  --ink: #191515;
  --muted: #6c6259;
  --line: #ded3c4;
  --shadow: 0 16px 42px rgba(35, 23, 20, 0.12);
}

body {
  background: var(--paper);
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.utility {
  height: 34px;
  background: linear-gradient(90deg, #a84722, #df7b27 58%, #e5a142);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.utility .utility-track {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 22px;
  letter-spacing: 0;
}

.utility .student {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header {
  height: 84px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 18px rgba(42, 25, 20, 0.05);
}

.head {
  grid-template-columns: 176px minmax(0, 1fr) auto auto;
  gap: 18px;
}

.brand {
  width: 168px;
  height: 58px;
  border-radius: 4px;
  background: #070707;
}

.head nav {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 9px;
  border-radius: 5px;
  background: var(--petroleum);
  color: #fff;
  gap: 2px;
}

.head nav a {
  padding: 13px 12px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.head nav a::after { display: none; }
.head nav a:hover { color: var(--gold-light); }

.head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-link {
  color: var(--petroleum);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.cart-link {
  min-height: 48px;
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.cart-link:hover {
  border-color: var(--gold);
  background: var(--ivory);
}

.cart-link-label small { color: var(--muted); }
.cart-count { background: var(--gold); color: #fff; }

.shop-searchbar {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.search-row {
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(330px, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.formation-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 650px;
  height: 42px;
  border: 1px solid #cfc2b3;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}

.formation-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 15px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}

.formation-search button {
  min-width: 84px;
  border: 0;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.formation-search button:hover { background: #bd5c1e; }

.quick-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.quick-links a {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.quick-links a:hover { color: var(--gold); }

.eyebrow {
  color: #b85e1d;
  font-size: 10px;
  font-weight: 900;
}

.btn {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 3px;
}

.btn-gold,
.head-cta {
  background: var(--gold);
  color: #fff;
}

.btn-gold:hover,
.head-cta:hover { background: #bd5c1e; color: #fff; }

.btn-dark { background: var(--petroleum); color: #fff; }
.btn-dark:hover { background: var(--petroleum-2); }

.btn-ink-outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.btn-ink-outline:hover { background: var(--ink); color: #fff; }

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid article {
  min-height: 82px;
  display: grid;
  align-content: center;
  padding: 15px 24px;
  border-right: 1px solid var(--line);
}

.trust-grid article:first-child { border-left: 1px solid var(--line); }
.trust-grid strong { color: var(--ink); font-size: 12px; }
.trust-grid span { margin-top: 4px; color: var(--muted); font-size: 10px; }

.section { padding: 76px 0; }
.featured-section { background: var(--paper); }

.section-head {
  align-items: end;
  margin-bottom: 30px;
}

.section-head h2 {
  max-width: 720px;
  margin-top: 8px;
  color: var(--ink);
  font-size: 38px;
}

.section-head > a {
  border-bottom: 1px solid var(--gold);
  color: var(--ink);
}

.featured-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.featured-card {
  min-height: 500px;
  border-color: var(--line);
  border-radius: 4px;
  background: #fff;
}

.featured-card:first-child .featured-media,
.featured-media { height: 260px; }

.featured-media {
  display: block;
  background: #e9dfd1;
}

.featured-media img { transition: transform 360ms ease; }
.featured-card:hover .featured-media img { transform: scale(1.025); }

.featured-body { padding: 22px; }
.featured-body h3 { min-height: 56px; font-size: 24px; }
.featured-body p { min-height: 58px; }

.featured-meta {
  margin-top: 17px;
  padding-top: 14px;
}

.featured-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.featured-link {
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.btn-buy { min-height: 38px; padding: 0 17px; }

.collections { background: #efe4d3; }

.school-list {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.school-card {
  min-height: 225px;
  padding: 24px;
  border: 1px solid #d6c8b7;
  border-radius: 4px;
  background: #fff !important;
  color: var(--ink);
}

.school-card::after {
  width: 120px;
  height: 120px;
  right: -48px;
  top: -48px;
  border-color: rgba(223, 123, 39, 0.48);
}

.school-card span { color: #ad5420; }
.school-card h3 { font-size: 27px; }
.school-card p { color: var(--muted); }

.school-card a {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.founder-band {
  background: var(--petroleum);
}

.founder-band-grid { min-height: 530px; }
.founder-photo { min-height: 530px; }
.founder-copy { padding-top: 72px; padding-bottom: 72px; }
.founder-copy .eyebrow { color: var(--gold-light); }
.founder-copy p { color: #e3dbe8; }
.founder-quote { border-left-color: var(--gold); }

.closing { background: var(--paper); }
.closing .eyebrow { color: #b85e1d; }

footer {
  border-top: 4px solid var(--gold);
  background: #17111d;
}

.foot { padding-top: 52px; padding-bottom: 52px; }
.foot-brand img { width: 210px; border-radius: 3px; }
.foot b { color: var(--gold-light); }
.foot a:hover { color: var(--gold-light); }

@media (max-width: 1100px) {
  .head { grid-template-columns: 160px minmax(0, 1fr) auto auto; gap: 12px; }
  .brand { width: 154px; }
  .head nav a { padding-right: 8px; padding-left: 8px; }
  .account-link { display: none; }
  .quick-links a:last-child { display: none; }
}

@media (max-width: 960px) {
  .utility .utility-track span:nth-child(2) { display: none; }
  .utility .utility-track { grid-template-columns: repeat(3, auto); }
  .head { grid-template-columns: 168px 1fr auto auto; }

  .head nav {
    position: fixed;
    top: 118px;
    right: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 18px 24px;
    border: 0;
    border-radius: 0;
    background: var(--petroleum);
    box-shadow: var(--shadow);
  }

  .head nav a { padding: 11px 0; }
  .search-row { grid-template-columns: 1fr; gap: 9px; padding: 11px 0; }
  .formation-search { max-width: none; }
  .quick-links { justify-content: flex-start; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid article:nth-child(2) { border-right: 0; }
  .trust-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .featured-card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .utility { display: block; height: 30px; }
  .utility .utility-track { display: flex; min-height: 30px; justify-content: center; }
  .utility .utility-track span:not(:first-child),
  .utility .utility-track a { display: none; }

  .header { height: 70px; }
  .head { grid-template-columns: 1fr auto auto; height: 70px; gap: 8px; }
  .brand { width: 145px; height: 50px; }
  .head-actions { display: block; }
  .head nav { top: 100px; }
  .cart-link { width: 42px; min-height: 42px; padding: 0; }
  .cart-link-label { display: none; }

  .shop-searchbar { position: relative; z-index: 20; }
  .search-row { width: calc(100% - 28px); min-height: 58px; padding: 8px 0; }
  .formation-search { height: 40px; }
  .quick-links { display: none; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 32px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid article,
  .trust-grid article:first-child { min-height: 66px; border-right: 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .trust-grid article:last-child { border-bottom: 0; }
  .featured-grid,
  .school-list { grid-template-columns: 1fr; }
  .featured-card:first-child { grid-column: auto; }
  .featured-card { min-height: 470px; }
  .featured-card:first-child .featured-media,
  .featured-media { height: 230px; }
  .featured-body h3,
  .featured-body p { min-height: 0; }
  .featured-actions { margin-top: 18px; }
  .school-card { min-height: 210px; }
  .founder-band-grid,
  .founder-photo { min-height: 440px; }
}

/* v1.5.1 - closer visual parity with the Loja Zayit storefront. */
.home-page .wrap {
  width: min(1500px, calc(100% - 64px));
}

.home-page .utility {
  height: 38px;
  overflow: hidden;
  background: linear-gradient(90deg, #ef3f46 0%, #ff7928 52%, #ffbc24 100%);
  box-shadow: inset 0 -1px rgba(255, 255, 255, 0.3);
}

.home-page .utility-track {
  width: max-content;
  min-width: 100%;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 42px;
  padding: 0 28px;
  color: #fff;
  white-space: nowrap;
}

.home-page .utility-track span::before,
.home-page .utility-track a::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 13px 2px 0;
  border-radius: 50%;
  background: #fff4b0;
  box-shadow: 0 0 10px #fff;
}

.home-page .header {
  height: 86px;
  box-shadow: none;
}

.home-page .head {
  grid-template-columns: 78px minmax(0, 1fr) auto auto;
  gap: 16px;
}

.home-page .brand {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 2px solid #c69a58;
  border-radius: 50%;
  background: #120d16;
  box-shadow: 0 7px 18px rgba(37, 20, 25, 0.14);
}

.home-page .brand img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 126px;
  max-width: none;
  height: 72px;
  transform: translateX(-50%);
  object-fit: cover;
}

.home-page .head nav {
  margin: 0;
  padding: 0 10px;
  border-radius: 999px;
  background: #201126;
  box-shadow: 0 7px 16px rgba(32, 17, 38, 0.12);
}

.home-page .head nav a {
  padding: 15px 11px;
  text-transform: uppercase;
}

.home-page .head nav a:first-child { color: #ffad37; }

.home-page .account-link {
  text-transform: none;
}

.home-page .cart-link {
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #201126;
  color: #fff;
  box-shadow: 0 10px 22px rgba(32, 17, 38, 0.18);
}

.home-page .cart-link:hover { background: #351a3d; }
.home-page .cart-link-label small { color: #fff; }
.home-page .cart-count { background: #ffad22; color: #2a172e; }

.home-page .shop-searchbar {
  padding: 10px 0;
  background: #fffdf8;
}

.home-page .search-row {
  min-height: 48px;
  display: block;
}

.home-page .formation-search {
  width: 100%;
  max-width: none;
  height: 48px;
  border-color: #ded7cc;
  border-radius: 9px;
  box-shadow: 0 4px 13px rgba(45, 31, 19, 0.04);
}

.home-page .formation-search button {
  min-width: 116px;
  background: transparent;
  color: #201126;
  text-transform: uppercase;
}

.home-page .formation-search button:hover {
  background: #201126;
  color: #fff;
}

.home-page .trust-strip {
  background: #fffdf8;
}

.home-page .trust-grid strong {
  text-transform: uppercase;
}

.home-page .featured-section {
  background: #fffdf8;
}

.home-page .featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.home-page .featured-card {
  min-height: 540px;
  border: 0;
  border-radius: 0;
  box-shadow: 0 8px 28px rgba(44, 28, 21, 0.09);
}

.home-page .featured-card:first-child .featured-media,
.home-page .featured-media {
  height: 305px;
}

.home-page .featured-body h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
}

.home-page .btn-buy {
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7928, #ffa522);
  color: #241323;
}

.home-page .collections {
  background: #f3eadc;
}

.home-page .school-card {
  border-radius: 0;
  box-shadow: 0 7px 20px rgba(44, 28, 21, 0.06);
}

@media (max-width: 1180px) {
  .home-page .head nav a { padding-right: 7px; padding-left: 7px; font-size: 9px; }
}

@media (max-width: 960px) {
  .home-page .wrap { width: min(100% - 34px, 1500px); }
  .home-page .head { grid-template-columns: 70px 1fr auto auto; }
  .home-page .head nav { border-radius: 0; }
  .home-page .featured-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .home-page .utility { height: 30px; }
  .home-page .utility-track { height: 30px; justify-content: center; padding: 0 14px; }
  .home-page .utility-track span:not(:first-child),
  .home-page .utility-track a { display: none; }
  .home-page .brand { width: 58px; height: 58px; }
  .home-page .brand img { width: 105px; height: 58px; }
  .home-page .head { grid-template-columns: 1fr auto auto; }
  .home-page .formation-search button { min-width: 86px; }
  .home-page .featured-grid { grid-template-columns: 1fr; }
  .home-page .featured-card { min-height: 500px; }
}

/* v1.6.0 - storefront navigation, themed catalog and editorial course covers. */
.zayit-link {
  color: #ffad37 !important;
  white-space: nowrap;
}

.zayit-link::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 7px 1px 0;
  border-radius: 50%;
  background: currentColor;
}

.course-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #160e19;
}

.course-cover::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(12, 7, 13, 0.08) 18%, rgba(17, 8, 18, 0.92) 100%),
    linear-gradient(120deg, rgba(239, 107, 34, 0.12), transparent 48%);
  pointer-events: none;
}

.course-cover::after {
  position: absolute;
  inset: 14px;
  z-index: 2;
  content: "";
  border: 1px solid rgba(255, 197, 102, 0.58);
  pointer-events: none;
}

.course-cover img {
  filter: saturate(1.18) contrast(1.08);
  transform: scale(1.01);
}

.course-cover.designed-cover::before,
.course-cover.designed-cover::after,
.course-cover.designed-cover .cover-caption {
  display: none;
}

.course-cover.designed-cover img {
  filter: none;
  transform: none;
}

.school-mark.designed-school-cover {
  height: 500px;
  padding: 22px;
  align-items: center;
  justify-content: center;
  background: var(--dark);
}

.school-mark.designed-school-cover img {
  position: relative;
  inset: auto;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  mix-blend-mode: normal;
  box-shadow: 0 24px 46px rgba(0, 0, 0, .3);
}

.school-mark.designed-school-cover::after,
.school-mark.designed-school-cover strong {
  display: none;
}

.school-list .school-card {
  min-height: 650px;
  padding: 0 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #19141d;
  background: #fff !important;
  border: 1px solid rgba(32, 24, 35, .14);
}

.school-list .school-card::after { display: none; }

.school-card-cover {
  width: calc(100% + 44px);
  aspect-ratio: 4 / 5;
  margin: 0 -22px 22px;
  object-fit: cover;
  display: block;
}

.school-list .school-card span { color: var(--mid); }
.school-list .school-card h3 { color: #19141d; }
.school-list .school-card p { max-width: none; color: #675e68; }
.school-list .school-card a {
  position: static;
  margin-top: auto;
  color: var(--mid);
}

@media (max-width: 760px) {
  .school-mark.designed-school-cover { height: 430px; }
  .school-list .school-card { min-height: 620px; }
}

.cover-caption {
  position: absolute;
  right: 29px;
  bottom: 27px;
  left: 29px;
  z-index: 3;
  display: grid;
  gap: 7px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
  pointer-events: none;
}

.cover-caption small {
  color: #ffbb4f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0;
}

.cover-caption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.45vw, 24px);
  line-height: 1.04;
  text-transform: uppercase;
}

.cover-caption i {
  width: max-content;
  padding-top: 7px;
  border-top: 2px solid #ff8a28;
  color: #f6e7d3;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.course-share {
  min-height: 36px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #d87628;
  background: transparent;
  color: #211729;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  cursor: pointer;
}

.course-share::after {
  content: "  ↗";
  color: #d87628;
}

.course-share:hover,
.course-share:focus-visible {
  color: #c24f20;
  outline: none;
}

.course-share-detail {
  min-height: 44px;
  margin-top: 0;
  padding: 0 19px;
  border: 1px solid currentColor;
  border-radius: 3px;
  color: #fff;
}

.course-share-detail:hover,
.course-share-detail:focus-visible {
  border-color: #ffad37;
  color: #ffad37;
}

.theme-filters {
  display: flex;
  gap: 8px;
  margin: -8px 0 30px;
  padding: 4px 0 12px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.theme-filter {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #d6c8b8;
  border-radius: 999px;
  background: #fff;
  color: #4f443d;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.theme-filter:hover,
.theme-filter.is-active {
  border-color: #211729;
  background: #211729;
  color: #fff;
}

.catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 18px;
}

.catalog-card {
  border: 0;
  border-radius: 0;
  box-shadow: 0 8px 28px rgba(43, 27, 21, 0.08);
}

.catalog-card .card-media {
  height: auto;
  aspect-ratio: 4 / 5;
}

.catalog-card .card-body {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 19px;
}

.catalog-card .card-body h3 {
  min-height: 58px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  text-transform: uppercase;
}

.catalog-card .card-meta { margin-top: auto; }
.catalog-card .card-body::after { display: none; }
.catalog-card[hidden] { display: none !important; }

.launches-section {
  border-top: 1px solid #eadccc;
  background: #f4e9d7;
}

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

.launch-card {
  display: block;
  overflow: hidden;
  background: #fff;
  color: #211729;
  box-shadow: 0 10px 30px rgba(48, 28, 18, 0.1);
}

.launch-card .card-media {
  height: auto;
  aspect-ratio: 4 / 5;
}

.launch-card .card-body {
  min-height: 150px;
  padding: 18px;
}

.launch-card h3 {
  min-height: 48px;
  margin: 8px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.15;
  text-transform: uppercase;
}

.course-cover-detail .cover-caption strong { font-size: 25px; }

@media (max-width: 1100px) {
  .catalog-grid,
  .launch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .head nav .zayit-link { display: none; }
}

@media (max-width: 960px) {
  .catalog-grid,
  .launch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .head nav .zayit-link { display: block; }
}

@media (max-width: 680px) {
  .home-page .cart-link,
  .cart-link {
    width: auto;
    min-width: 92px;
    min-height: 44px;
    padding: 0 10px;
    gap: 7px;
  }

  .home-page .cart-link-label,
  .cart-link-label { display: flex !important; }

  .cart-link-label b { font-size: 9px; }
  .cart-link-label small { font-size: 7px; }
  .cart-count { min-width: 20px; height: 20px; }

  .catalog-grid,
  .launch-grid { grid-template-columns: 1fr; }

  .catalog-card .card-media,
  .launch-card .card-media {
    max-height: 460px;
  }

  .catalog-card .card-body { min-height: 205px; }
  .launch-card .card-body { min-height: 140px; }
  .cover-caption strong { font-size: 22px; }
  .theme-filters { margin-bottom: 22px; }
}

/* v1.6.5 - continuous utility strip, complete brand mark and theme-led catalogue. */
.home-page .utility {
  height: 38px;
  overflow: hidden;
}

.home-page .utility-track.is-marquee {
  width: max-content;
  min-width: 0;
  height: 38px;
  display: flex;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  animation: dalcUtilityMarquee 28s linear infinite;
  will-change: transform;
}

.home-page .utility-row {
  display: flex;
  align-items: center;
  gap: 54px;
  min-width: max-content;
  height: 38px;
  padding: 0 27px;
  white-space: nowrap;
}

.home-page .utility-row > * {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

@keyframes dalcUtilityMarquee {
  to { transform: translateX(-50%); }
}

.brand,
.home-page .brand {
  width: 202px;
  height: 66px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #050505;
  box-shadow: 0 7px 20px rgba(31, 17, 22, 0.12);
}

.brand img,
.home-page .brand img {
  position: static;
  width: 100%;
  max-width: 100%;
  height: 100%;
  transform: none;
  object-fit: contain;
}

.home-page .head { grid-template-columns: 202px minmax(0, 1fr) auto auto; }

.theme-nav {
  position: relative;
  display: flex;
  align-items: stretch;
}

.theme-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.theme-nav-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.theme-nav-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 8px);
  left: 50%;
  width: 430px;
  padding: 13px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  border: 1px solid #e4d7c7;
  background: #fffdf8;
  box-shadow: 0 22px 48px rgba(31, 17, 22, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.theme-nav:hover .theme-nav-menu,
.theme-nav:focus-within .theme-nav-menu,
.theme-nav.is-open .theme-nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.head nav .theme-nav-menu a {
  min-height: 38px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  border-left: 2px solid transparent;
  color: #251827;
  font-size: 10px;
  text-transform: none;
}

.head nav .theme-nav-menu a:hover,
.head nav .theme-nav-menu a:focus-visible {
  border-left-color: #d66d32;
  background: #f6ede1;
  color: #9f3f21;
}

.theme-filters {
  position: relative;
  align-items: center;
  gap: 14px;
  margin: -8px 0 30px;
  padding: 13px 14px;
  overflow: visible;
  border: 1px solid #e4d7c7;
  background: #fffdf8;
  box-shadow: 0 8px 24px rgba(43, 27, 21, 0.05);
}

.theme-filters-label {
  flex: 0 0 auto;
  color: #6f5d52;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.theme-filter-scroll {
  min-width: 0;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 1px 1px 5px;
  scrollbar-width: thin;
}

.theme-filter-select { display: none; }

.catalog-card,
.home-page .featured-card {
  border: 1px solid #eadfd3;
  background: #fffdfa;
  box-shadow: 0 14px 36px rgba(47, 28, 22, 0.09);
}

.catalog-card .card-body,
.home-page .featured-body {
  position: relative;
  background:
    linear-gradient(180deg, #fffdfa 0%, #fff 70%),
    #fff;
}

.catalog-card .card-body::before,
.home-page .featured-body::before {
  position: absolute;
  top: 0;
  right: 19px;
  left: 19px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, #d56931, #c99654 42%, transparent 88%);
}

.catalog-card .eyebrow,
.home-page .featured-body > .eyebrow {
  width: max-content;
  margin-top: 4px;
  padding: 6px 9px;
  border: 1px solid #eadac7;
  background: #f7eee4;
  color: #a64425 !important;
  font-size: 8px;
}

.catalog-card .card-meta,
.home-page .featured-meta {
  min-height: 48px;
  align-items: center;
  border-top: 1px solid #e7dbcd;
  border-bottom: 1px solid #eee5da;
  padding: 13px 0;
}

.catalog-card .card-meta b,
.home-page .featured-meta b {
  color: #231626;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.home-page .featured-actions {
  min-height: 58px;
  margin-top: 0;
  padding-top: 15px;
}

.home-page .featured-link {
  width: max-content;
  text-decoration: none;
}

.home-page .featured-link::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 7px;
  background: #d56931;
  transition: width 180ms ease;
}

.home-page .featured-link:hover::after { width: 100%; }

.home-page .btn-buy {
  min-width: 112px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 3px;
  background: #d86731;
  color: #fff;
  box-shadow: 0 8px 18px rgba(216, 103, 49, 0.22);
}

.course-share {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  border-top: 1px solid #eee3d7;
  border-bottom: 0;
  color: #7e3424;
  text-align: left;
}

.course-share::after {
  content: "";
  float: right;
  overflow: hidden;
  width: 8px;
  height: 8px;
  margin: 4px 3px 0 0;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  color: transparent;
}

.course-share-detail {
  width: auto;
  min-height: 44px;
  margin-top: 0;
  padding: 0 19px;
  border: 1px solid currentColor;
  color: #fff;
  text-align: center;
}

.course-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-top: 15px;
}

.course-card-actions a {
  display: inline-flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid #2b1a2d;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.course-card-view {
  background: transparent;
  color: #2b1a2d;
}

.course-card-buy {
  background: #d86731;
  border-color: #d86731 !important;
  color: #fff;
}

.course-card-actions a:hover,
.course-card-actions a:focus-visible {
  border-color: #a94326;
  outline: none;
  box-shadow: 0 0 0 2px rgba(216, 103, 49, 0.16);
}

.course-card-buy:hover,
.course-card-buy:focus-visible {
  background: #b84d27;
  color: #fff;
}

@media (max-width: 1180px) {
  .brand,
  .home-page .brand { width: 174px; height: 60px; }
  .home-page .head { grid-template-columns: 174px minmax(0, 1fr) auto auto; }
  .head nav > a,
  .theme-nav-toggle { padding-right: 7px; padding-left: 7px; }
}

@media (max-width: 960px) {
  .brand,
  .home-page .brand { width: 158px; height: 56px; }
  .home-page .head { grid-template-columns: 158px 1fr auto auto; }

  .theme-nav {
    width: 100%;
    display: block;
    border-top: 1px solid #e6d8c9;
    border-bottom: 1px solid #e6d8c9;
  }

  .theme-nav-toggle {
    width: 100%;
    min-height: 43px;
    justify-content: space-between;
    padding: 12px 0;
  }

  .theme-nav-menu {
    position: static;
    width: 100%;
    padding: 0 0 11px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .head nav .theme-nav-menu a { padding: 9px 10px; }
}

@media (max-width: 680px) {
  .home-page .utility,
  .home-page .utility-track.is-marquee,
  .home-page .utility-row { height: 30px; }

  .home-page .utility-track.is-marquee {
    justify-content: flex-start;
    padding: 0;
    animation-duration: 22s;
  }

  .home-page .utility-row {
    gap: 34px;
    padding: 0 17px;
  }

  .home-page .utility-track.is-marquee span,
  .home-page .utility-track.is-marquee a { display: inline-flex !important; }

  .brand,
  .home-page .brand {
    width: 126px;
    height: 48px;
  }

  .home-page .head { grid-template-columns: minmax(0, 1fr) auto auto; }

  .theme-filters {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    margin-top: -7px;
    padding: 12px;
  }

  .theme-filter-scroll { display: none; }
  .theme-filter-select {
    width: 100%;
    min-height: 44px;
    display: block;
    border: 1px solid #cfbdab;
    border-radius: 3px;
    background: #fff;
    padding: 0 12px;
    color: #251827;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
  }

  .theme-nav-menu { grid-template-columns: 1fr 1fr; }
  .home-page .featured-card { min-height: 520px; }
  .home-page .featured-body { padding: 22px; }
  .catalog-card .card-body { min-height: 220px; }
}

/* v1.7.4 - native sharing, responsive covers and transparent footer. */
body > footer {
  border-top: 2px solid #d86731;
  background: transparent !important;
  color: #51474a;
}

body > footer .foot-brand img {
  display: none;
}

body > footer .foot-brand::before {
  position: static;
  display: block;
  content: "INSTITUTO DALC";
  color: #2b1a2d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
}

body > footer .foot-brand::after {
  display: none;
}

body > footer .foot b,
body > footer .foot a {
  color: #2b1a2d;
}

body > footer .foot a:hover,
body > footer .foot a:focus-visible {
  color: #b84d27;
}

body > footer .foot-bottom {
  border-top-color: rgba(43, 26, 45, 0.16);
}

.school-list .school-share {
  position: static;
  width: 100%;
  margin-top: 14px;
  color: #7e3424;
  text-align: left;
}

@media (max-width: 960px) {
  .course-hero.variant-1 .course-hero-grid,
  .course-hero.variant-2 .course-hero-grid,
  .course-hero.variant-3 .course-hero-grid,
  .course-hero .course-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .course-hero.variant-1 .course-copy,
  .course-hero.variant-2 .course-copy,
  .course-hero.variant-3 .course-copy {
    order: 1;
  }

  .course-hero.variant-1 .course-art,
  .course-hero.variant-2 .course-art,
  .course-hero.variant-3 .course-art {
    width: 100%;
    max-width: 520px;
    order: 2;
  }
}

@media (max-width: 680px) {
  .catalog-card .card-media,
  .launch-card .card-media {
    height: auto;
    max-height: none;
    aspect-ratio: 4 / 5;
    background: #160e19;
  }

  .catalog-card .card-media img,
  .launch-card .card-media img,
  .course-image.designed-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .course-image.designed-cover {
    width: min(100%, 430px);
    height: auto;
    aspect-ratio: 4 / 5;
    margin-inline: auto;
    background: #160e19;
  }

  body > footer .foot {
    padding-top: 38px;
    padding-bottom: 38px;
  }
}

/* v1.7.5 - full portrait artwork in the home featured formations. */
.home-page .featured-card:first-child .featured-media,
.home-page .featured-card .featured-media {
  height: auto;
  max-height: none;
  aspect-ratio: 4 / 5;
  background: #160e19;
}

.home-page .featured-card .featured-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.home-page .featured-card:hover .featured-media img {
  transform: none;
}

/* v1.8.0 - complete cinematic cover collection without artwork cropping. */
.catalog-card .card-media.course-cover.designed-cover,
.launch-card .card-media.course-cover.designed-cover,
.course-image.course-cover.designed-cover {
  height: auto;
  max-height: none;
  aspect-ratio: 4 / 5;
  background: #160e19;
}

.catalog-card .card-media.course-cover.designed-cover img,
.launch-card .card-media.course-cover.designed-cover img,
.course-image.course-cover.designed-cover img,
.school-card-cover {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.school-card-cover {
  background: #160e19;
}
