/* ==========================================================================
   Our Lady's Hr. Sec. School, Thiruvottiyur
   Brand colours sampled from the school crest: #3E4095 navy, #EB268F magenta
   ========================================================================== */

:root {
  --navy:        #3E4095;
  --navy-700:    #33357c;
  --navy-900:    #22245a;
  --navy-50:     #f2f3fb;
  --magenta:     #EB268F;
  --magenta-700: #c81576;
  --magenta-50:  #fdeef6;

  --ink:         #1b1c2e;
  --body:        #4a4c63;
  --muted:       #6f7189;
  --line:        #e3e4ef;
  --surface:     #ffffff;
  --surface-alt: #f7f8fc;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans:  ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(27,28,46,.06), 0 2px 8px rgba(27,28,46,.05);
  --shadow-md: 0 4px 12px rgba(27,28,46,.08), 0 12px 32px rgba(27,28,46,.09);
  --shadow-lg: 0 10px 30px rgba(27,28,46,.12), 0 30px 70px rgba(27,28,46,.14);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--magenta-700); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--surface-alt); }
.section--navy { background: var(--navy); color: #d9daf2; }
.section--navy h2, .section--navy h3 { color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --- Eyebrow / lede ------------------------------------------------------ */
.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--magenta);
  margin: 0 0 .8rem;
}
.section--navy .eyebrow { color: #f5a2ce; }
.lede { font-size: clamp(1.08rem, 1.9vw, 1.25rem); color: var(--body); max-width: 62ch; }
.section--navy .lede { color: #cdcef0; }
.measure { max-width: 68ch; }
.center { text-align: center; }
.center .lede, .center .eyebrow { margin-inline: auto; }

/* --- Top bar ------------------------------------------------------------- */
.topbar {
  background: var(--navy-900);
  color: #b9bbe4;
  font-size: .82rem;
}
.topbar__inner { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; align-items: center; justify-content: space-between; padding: .55rem 0; }
.topbar a { color: #dcdcf5; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__notice { display: flex; align-items: center; gap: .5rem; }
.topbar__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--magenta); flex: none; }

/* --- Header / nav -------------------------------------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead__inner { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; }

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: 52px; flex: none; }
.brand__name {
  display: block;
  font-family: var(--serif); font-size: 1.12rem; font-weight: 600;
  color: var(--navy); line-height: 1.15; letter-spacing: -.01em;
}
.brand__sub {
  display: block;
  font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
}
@media (max-width: 420px) {
  .brand img { width: 42px; height: 42px; }
  .brand__name { font-size: .98rem; }
}

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  font-size: .92rem; font-weight: 500; color: var(--ink);
  text-decoration: none; padding: .55rem .7rem; border-radius: 8px;
  white-space: nowrap;
}
.nav a:hover { background: var(--navy-50); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--magenta-700); font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; border-radius: 2px;
  background: var(--magenta); margin-top: 3px;
}

.nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff;
  width: 44px; height: 44px; border-radius: 10px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 5.5rem 1.2rem 2rem; gap: .2rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(102%); transition: transform .25s ease;
    overflow-y: auto;
  }
  .nav[data-open="true"] { transform: none; }
  .nav a { padding: .8rem .7rem; font-size: 1rem; border-bottom: 1px solid var(--surface-alt); }
  .nav a[aria-current="page"]::after { display: none; }
  body[data-nav-open="true"] { overflow: hidden; }
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-size: .95rem; font-weight: 600;
  padding: .78rem 1.35rem; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--magenta); color: #fff; box-shadow: 0 4px 14px rgba(235,38,143,.3); }
.btn--primary:hover { background: var(--magenta-700); color: #fff; }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #fff; color: var(--magenta-700); }
.btn--outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.center .btn-row { justify-content: center; }

/* --- Hero ---------------------------------------------------------------- */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(34,36,90,.94) 0%, rgba(34,36,90,.76) 45%, rgba(34,36,90,.36) 100%),
    linear-gradient(to top, rgba(34,36,90,.6), transparent 55%);
}
.hero__inner { padding: clamp(4rem, 11vw, 8.5rem) 0 clamp(3.5rem, 8vw, 6rem); max-width: 44rem; }
.hero h1 { color: #fff; margin-bottom: .55rem; }
.hero__motto {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: #f7b8d8; margin: 0 0 1.1rem;
}
.hero p.lede { color: #dcdcf3; }
.hero .eyebrow { color: #f5a2ce; }

.hero__strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.2);
  background: rgba(34,36,90,.55);
  backdrop-filter: blur(4px);
  position: relative;
}
.hero__strip div { padding: 1.15rem 1rem; text-align: center; border-left: 1px solid rgba(255,255,255,.14); }
.hero__strip div:first-child { border-left: 0; }
.hero__strip b { display: block; font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); color: #fff; line-height: 1; }
.hero__strip span { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #b9bbe4; }
@media (max-width: 640px) { .hero__strip { grid-template-columns: repeat(2, 1fr); } .hero__strip div:nth-child(3) { border-left: 0; } }

/* --- Page banner (inner pages) ------------------------------------------- */
.pagehead { position: relative; color: #fff; isolation: isolate; }
.pagehead__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.pagehead__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehead::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(34,36,90,.93), rgba(34,36,90,.66));
}
.pagehead__inner { padding: clamp(2.8rem, 7vw, 5rem) 0; max-width: 50rem; }
.pagehead h1 { color: #fff; margin-bottom: .4rem; }
.pagehead p { color: #d3d4ef; margin: 0; font-size: clamp(1rem, 1.7vw, 1.15rem); max-width: 58ch; }

.crumbs { font-size: .82rem; color: #b9bbe4; margin-bottom: .9rem; }
.crumbs a { color: #dcdcf5; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.crumbs span { opacity: .6; margin: 0 .45rem; }

/* --- Grids & cards ------------------------------------------------------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfd0e8; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card--link:hover .card__media img { transform: scale(1.045); }
.card__body { padding: 1.3rem 1.35rem 1.45rem; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: .4rem; }
.card__body p { color: var(--body); font-size: .96rem; margin-bottom: .9rem; }
.card__more { margin-top: auto; font-size: .88rem; font-weight: 600; color: var(--magenta-700); text-decoration: none; }
.card--link:hover .card__more { text-decoration: underline; }

/* Numbered / iconless feature tile */
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.tile__num {
  font-family: var(--serif); font-size: 1.5rem; color: var(--magenta);
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; background: var(--magenta-50);
  margin-bottom: .9rem;
}
.tile h3 { margin-bottom: .35rem; }
.tile p { font-size: .95rem; margin: 0; }
.tile ul { font-size: .95rem; margin-bottom: 0; }

/* Split feature (image + text) */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split--reverse .split__media { order: 2; }
@media (max-width: 760px) { .split--reverse .split__media { order: 0; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats div { background: var(--surface); padding: 1.6rem 1.1rem; text-align: center; }
.stats b { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--navy); line-height: 1; margin-bottom: .3rem; }
.stats span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Motto band */
.band { background: var(--magenta-50); border-block: 1px solid #f6d4e6; }
.band__inner { padding: clamp(2rem, 4vw, 2.8rem) 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; justify-content: center; text-align: center; }
.band img { width: 62px; height: 62px; }
.band p { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.6vw, 1.7rem); color: var(--navy-900); margin: 0; }

/* Definition list — the Preventive System, etc. */
.deflist { display: grid; gap: 1.1rem; }
.deflist > div { border-left: 3px solid var(--magenta); padding: .15rem 0 .15rem 1.15rem; }
.deflist dt { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); font-weight: 600; margin-bottom: .2rem; }
.deflist dd { margin: 0; font-size: .97rem; }

/* Timeline (admissions steps) */
.steps { counter-reset: step; display: grid; gap: 1.6rem; }
.steps > li { list-style: none; position: relative; padding-left: 3.6rem; }
.steps > li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -.1rem;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-family: var(--serif); font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}
.steps > li:not(:last-child)::after {
  content: ""; position: absolute; left: 1.24rem; top: 2.7rem; bottom: -1.6rem; width: 2px; background: var(--line);
}
.steps h3 { margin-bottom: .25rem; }
.steps p { margin-bottom: 0; font-size: .96rem; }
.steps .meta { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }

/* Tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; min-width: 520px; }
th, td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); }
thead th { background: var(--navy-50); color: var(--navy-900); font-family: var(--sans); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }

/* Accordion (FAQ) */
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0; margin-bottom: .7rem; background: #fff; }
.faq summary {
  cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--magenta); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details p, .faq details ul { padding: 0 1.2rem; margin: 1rem 0; font-size: .96rem; }

/* --- Gallery ------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters button {
  font: inherit; font-size: .88rem; font-weight: 500;
  padding: .5rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--body);
  transition: all .15s ease;
}
.filters button:hover { border-color: var(--navy); color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.masonry { columns: 4 240px; column-gap: 14px; }
.masonry figure { break-inside: avoid; margin: 0 0 14px; position: relative; border-radius: 10px; overflow: hidden; background: var(--surface-alt); }
.masonry button.shot {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; line-height: 0;
}
.masonry img { width: 100%; transition: transform .35s ease, filter .35s ease; }
.masonry button.shot:hover img { transform: scale(1.04); filter: brightness(.92); }
.masonry figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem .8rem .6rem; font-size: .8rem; color: #fff; line-height: 1.3;
  background: linear-gradient(to top, rgba(27,28,46,.82), transparent);
  opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.masonry figure:hover figcaption, .masonry button.shot:focus-visible + figcaption { opacity: 1; }
.gallery-empty { text-align: center; color: var(--muted); padding: 3rem 0; display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(15,16,32,.94); padding: clamp(1rem, 4vw, 3rem);
  align-items: center; justify-content: center;
}
.lightbox[data-open="true"] { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox__cap { position: absolute; bottom: clamp(.8rem, 3vw, 1.8rem); left: 0; right: 0; text-align: center; color: #cfd0e8; font-size: .9rem; padding: 0 1rem; }
.lightbox__btn {
  position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__btn:hover { background: rgba(255,255,255,.24); }
.lightbox__close { top: clamp(.8rem, 3vw, 1.5rem); right: clamp(.8rem, 3vw, 1.5rem); }
.lightbox__prev { left: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }

/* --- Photo strip --------------------------------------------------------- */
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.strip a { display: block; border-radius: 10px; overflow: hidden; line-height: 0; }
.strip img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .35s ease; }
.strip a:hover img { transform: scale(1.06); }

/* --- Contact ------------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.info-list { display: grid; gap: 1.3rem; }
.info-list > div { display: grid; gap: .15rem; }
.info-list dt { font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; color: var(--magenta); font-weight: 700; }
.info-list dd { margin: 0; font-size: 1.02rem; color: var(--ink); }
.info-list a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.info-list a:hover { color: var(--magenta-700); border-color: var(--magenta); }

form .field { margin-bottom: 1rem; }
form label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
form input, form select, form textarea {
  font: inherit; font-size: .97rem; width: 100%; padding: .7rem .85rem;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
form input:focus, form select:focus, form textarea:focus { border-color: var(--navy); outline: 2px solid rgba(62,64,149,.18); outline-offset: 0; }
form textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .84rem; color: var(--muted); }

.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; line-height: 0; }
.map-frame iframe { width: 100%; height: 360px; border: 0; }

/* --- Callout ------------------------------------------------------------- */
.callout {
  border: 1px solid var(--line); border-left: 4px solid var(--magenta);
  background: var(--surface-alt); border-radius: 10px; padding: 1.15rem 1.3rem;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }

/* --- CTA ----------------------------------------------------------------- */
.cta { background: var(--navy); color: #cdcef0; }
.cta__inner { padding: clamp(2.8rem, 6vw, 4.5rem) 0; text-align: center; }
.cta h2 { color: #fff; }
.cta p { max-width: 56ch; margin-inline: auto; }

/* --- Footer -------------------------------------------------------------- */
.footer { background: var(--navy-900); color: #a9abd8; font-size: .93rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1.6fr repeat(auto-fit, minmax(150px, 1fr)); padding: clamp(2.5rem, 5vw, 3.8rem) 0 2rem; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .55rem; }
.footer a { color: #a9abd8; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__brand { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1rem; }
.footer__brand img { width: 54px; height: 54px; flex: none; background: #fff; border-radius: 10px; padding: 4px; }
.footer__brand strong { color: #fff; font-family: var(--serif); font-size: 1.05rem; font-weight: 600; display: block; }
.footer__brand em { font-style: italic; color: #f5a2ce; font-size: .85rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 1.2rem 0 1.6rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .85rem;
}
