/* Quest Taekwondo Centre — "Olympic Blue" theme on Bootstrap 5.3 */
:root {
  --q-navy: #0B1B3A;
  --q-navy-deep: #051643;
  --q-royal: #054693;
  --q-royal-2: #1556A3;
  --q-red: #E4002B;
  --q-red-dark: #B80023;
  --q-light: #F2F5FA;
  --q-line: #E1E6EF;
  --q-text: #1D2940;
  --q-muted: #56627A;

  /* activity colours (timetable, chips, page accents) */
  --a-tkd: #054693;
  --a-grap: #16898A;
  --a-kick: #E4002B;
  --a-gym: #3A4356;
  --a-hiit: #E07A1F;
  --a-pil: #7A68B8;
  --a-phys: #2E8B57;

  --bs-body-font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-font-size: 1.0625rem;
  --bs-body-color: var(--q-text);
  --bs-body-line-height: 1.6;
  --bs-link-color: var(--q-royal);
  --bs-link-color-rgb: 5, 70, 147;
  --bs-link-hover-color: var(--q-red);
  --bs-border-radius: .25rem;
  --q-display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

html { background: #fff; }
body { background: #fff; }

h1, h2, h3, h4, .display-q {
  font-family: var(--q-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .98;
  color: var(--q-navy);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-style: italic; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.25rem; }
.lead { font-size: 1.25rem; color: var(--q-muted); }
.eyebrow {
  display: inline-block;
  font-family: var(--q-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--q-red);
}
.text-muted-q { color: var(--q-muted); }
.italic { font-style: italic; }

/* ---------- buttons ---------- */
.btn { font-family: var(--q-display); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; border-radius: 3px; padding: .7rem 1.35rem; font-size: 1.05rem; }
.btn-q { background: var(--q-red); border-color: var(--q-red); color: #fff; }
.btn-q:hover, .btn-q:focus { background: var(--q-red-dark); border-color: var(--q-red-dark); color: #fff; }
.btn-outline-light { border-width: 2px; }
.btn-outline-q { border: 2px solid var(--q-royal); color: var(--q-royal); }
.btn-outline-q:hover { background: var(--q-royal); color: #fff; }

/* ---------- top bar + navbar ---------- */
.topbar { background: var(--q-navy-deep); color: #C9D4EA; font-size: .85rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding-block: .4rem; flex-wrap: wrap; }

.navbar-q { background: #fff; border-bottom: 1px solid var(--q-line); padding-block: .7rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
  width: 46px; height: 46px; background: var(--q-royal); border-radius: 4px; position: relative; overflow: hidden; flex: none;
}
.navbar-q .nav-link {
  font-family: var(--q-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.02rem;
  color: var(--q-navy); padding-inline: .8rem !important;
}
.navbar-q .nav-link:hover, .navbar-q .nav-link.active { color: var(--q-royal); }
.navbar-q .nav-link.active { box-shadow: inset 0 -3px 0 var(--q-red); }
.navbar-q .dropdown-menu { border: 0; border-top: 3px solid var(--q-red); border-radius: 0 0 4px 4px; box-shadow: 0 12px 30px rgba(11,27,58,.14); padding: .5rem; }
.navbar-q .dropdown-item { font-weight: 600; border-radius: 3px; padding: .45rem .8rem; display: flex; align-items: center; gap: .6rem; }
.navbar-q .dropdown-item i.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.navbar-q .dropdown-item small { color: var(--q-muted); font-weight: 400; margin-left: auto; padding-left: 1rem; }

/* ---------- hero ---------- */
.hero { background: var(--q-royal); color: #fff; position: relative; overflow: hidden; }
.hero .row { min-height: 560px; }
.hero h1 { color: #fff; }
.hero h1 span { color: #FF4D6A; display: block; }
.hero .lead { color: rgba(255,255,255,.9); max-width: 34ch; }
.hero-pic { position: absolute; inset: 0 0 0 48%; background: center/cover no-repeat; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.hero-stripe { position: absolute; top: 0; bottom: 0; left: 45.2%; width: 34px; background: var(--q-red); transform: skewX(-7.9deg); }
.hero-stats { display: flex; gap: 2.2rem; flex-wrap: wrap; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.hero-stats b { display: block; font-family: var(--q-display); font-size: 2rem; letter-spacing: 0; color: #fff; line-height: 1.05; }

/* inner page header */
.page-head { background: var(--q-royal); color: #fff; position: relative; overflow: hidden; }
.page-head .container { position: relative; z-index: 2; padding-block: 3.6rem 3.2rem; }
.page-head h1 { color: #fff; margin: .3rem 0 .8rem; }
.page-head .lead { color: rgba(255,255,255,.88); max-width: 52ch; margin: 0; }
.page-head .eyebrow { color: #FF8FA2; }
.page-head .crumbs { font-size: .85rem; color: rgba(255,255,255,.7); }
.page-head .crumbs a { color: #fff; text-decoration: none; }
.page-head-pic { position: absolute; inset: 0 0 0 58%; background: center/cover no-repeat; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
.page-head-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,70,147,.35), transparent 40%); }
.page-head .stripe { position: absolute; top: 0; bottom: 0; left: 56.2%; width: 22px; background: var(--q-red); transform: skewX(-8.5deg); z-index: 1; }
.page-head.accent-grap { background: #0F5F60; } .page-head.accent-grap .stripe { background: #37C2C3; }
.page-head.accent-hiit { background: #A4520C; } .page-head.accent-hiit .stripe { background: #FFB066; }
.page-head.accent-pil { background: #4F4290; } .page-head.accent-pil .stripe { background: #B8A9F0; }
.page-head.accent-phys { background: #0B1B3A; } .page-head.accent-phys .stripe { background: var(--q-royal-2); }
.page-head.accent-gym { background: #252C3B; }

/* ---------- sections ---------- */
.sec { padding-block: 5rem; }
.sec-light { background: var(--q-light); }
.sec-navy { background: var(--q-navy); color: #D5DCEB; }
.sec-navy h2, .sec-navy h3 { color: #fff; }
.sec-title { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.sec-title h2 { margin: .3rem 0 0; }
.sec-title p { max-width: 52ch; margin: 0; color: var(--q-muted); }

/* find your class */
.finder { margin-top: -3.2rem; position: relative; z-index: 3; }
.finder a {
  display: flex; flex-direction: column; gap: .15rem; background: #fff; border-radius: 4px; padding: 1.3rem 1.4rem; height: 100%;
  text-decoration: none; color: var(--q-text); box-shadow: 0 14px 36px rgba(11,27,58,.12); border-bottom: 4px solid var(--q-royal);
}
.finder a:hover { border-bottom-color: var(--q-red); }
.finder b { font-family: var(--q-display); font-size: 1.5rem; text-transform: uppercase; color: var(--q-navy); line-height: 1; }
.finder span { color: var(--q-muted); font-size: .92rem; }
.finder em { font-style: normal; font-family: var(--q-display); font-weight: 700; color: var(--q-red); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-top: .5rem; }

/* cards */
.card-q { border: 0; border-radius: 4px; overflow: hidden; background: #fff; height: 100%; box-shadow: 0 1px 2px rgba(11,27,58,.06); }
.sec-light .card-q { box-shadow: none; }
.card-q .ph { aspect-ratio: 4/3; background: center/cover no-repeat var(--q-line); }
.card-q .ph.tall { aspect-ratio: 4/5; }
.card-q .card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; }
.card-q h3 { font-size: 1.45rem; margin: 0; }
.card-q .meta { font-size: .88rem; color: var(--q-muted); }
.card-q .age { display: inline-block; align-self: flex-start; font-family: var(--q-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: #fff; background: var(--q-royal); padding: .2rem .55rem; border-radius: 2px; }
.card-q .more { margin-top: auto; padding-top: .5rem; font-family: var(--q-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; text-decoration: none; }
.card-q.bar { border-top: 5px solid var(--bar, var(--q-royal)); }
.provider { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--q-muted); }

.ph-img { aspect-ratio: 16/9; background: center/cover no-repeat var(--q-line); border-radius: 4px; }

.badge-q { display: inline-block; font-family: var(--q-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: #fff; background: var(--q-royal); padding: .25rem .6rem; border-radius: 2px; margin-bottom: .6rem; }
.badge-q.red { background: var(--q-red); }

/* heritage strip */
.heritage { background: var(--q-navy); color: #fff; position: relative; overflow: hidden; }
.heritage .num { font-family: var(--q-display); font-weight: 800; font-size: 3.2rem; line-height: 1; font-style: italic; }
.heritage .num span { color: #FF4D6A; }
.heritage .lbl { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #AFBBD4; }
.heritage blockquote { font-family: var(--q-display); font-size: 1.9rem; font-weight: 600; line-height: 1.15; font-style: italic; margin: 0; }

/* events */
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.event-list li { display: grid; grid-template-columns: 84px 1fr auto; gap: 1.2rem; align-items: center; background: #fff; border-radius: 4px; padding: .9rem 1.2rem; border-left: 4px solid var(--q-royal); }
.event-list li.club { border-left-color: var(--q-red); }
.event-date { font-family: var(--q-display); text-transform: uppercase; line-height: 1; text-align: center; color: var(--q-navy); }
.event-date b { display: block; font-size: 2rem; font-weight: 800; }
.event-date span { font-size: .85rem; font-weight: 700; letter-spacing: .1em; color: var(--q-red); }
.event-list h4 { margin: 0 0 .15rem; font-size: 1.3rem; }
.event-list .where { color: var(--q-muted); font-size: .92rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 2px; background: var(--q-light); color: var(--q-royal); white-space: nowrap; }
.tag.red { background: #FDE6EA; color: var(--q-red-dark); }

/* affiliations */
.affil { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.25rem 3.5rem; }
.affil a { display: block; opacity: .9; transition: opacity .2s; }
.affil a:hover, .affil a:focus-visible { opacity: 1; }
.affil img { display: block; height: 52px; width: auto; }

/* footer */
.footer-q { background: var(--q-navy-deep); color: #AFBBD4; font-size: .95rem; }
.footer-q h5 { font-family: var(--q-display); font-weight: 800; text-transform: uppercase; color: #fff; letter-spacing: .06em; font-size: 1.1rem; margin-bottom: 1rem; }
.footer-q a { color: #DCE3F2; text-decoration: none; }
.footer-q a:hover { color: #fff; text-decoration: underline; }
.footer-q ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-q .quote { font-family: var(--q-display); font-style: italic; font-size: 1.5rem; color: #fff; line-height: 1.15; }
.footer-q .base { border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }

/* CTA band */
.cta-band { background: var(--q-red); color: #fff; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-style: italic; }
.cta-band::after { content: ""; position: absolute; right: 18%; top: 0; bottom: 0; width: 60px; background: rgba(255,255,255,.12); transform: skewX(-12deg); }
.cta-band .btn-light { font-family: var(--q-display); color: var(--q-red); }

/* fact list */
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.facts li { display: grid; grid-template-columns: 26px 1fr; gap: .6rem; }
.facts li::before { content: ""; width: 14px; height: 14px; margin-top: .42em; background: var(--q-red); transform: skewX(-14deg); }
.facts b { color: var(--q-navy); }

.info-box { background: var(--q-light); border-radius: 4px; padding: 1.6rem; }
.info-box dl { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.2rem; margin: 0; }
.info-box dt { font-family: var(--q-display); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; color: var(--q-muted); font-weight: 700; padding-top: .1rem; }
.info-box dd { margin: 0; font-weight: 600; color: var(--q-navy); }

.session-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 1rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--q-line); font-variant-numeric: tabular-nums; }
.session-row:last-child { border-bottom: 0; }
.session-row .day { font-family: var(--q-display); font-weight: 800; text-transform: uppercase; color: var(--q-navy); font-size: 1.15rem; }
.session-row .time { color: var(--q-muted); }

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: .8rem; }
.photo-grid div { background: center/cover no-repeat; border-radius: 4px; }
.photo-grid .wide { grid-column: span 2; }
.photo-grid .tall { grid-row: span 2; }

.placeholder-photo { display: grid; place-items: center; text-align: center; border: 2px dashed #C3CCDC; border-radius: 4px; color: var(--q-muted); background: repeating-linear-gradient(-45deg, #F7F9FC 0 14px, #EEF2F8 14px 28px); padding: 1.5rem; }
.tbc { display: inline-block; background: #FFF3C4; color: #6B5300; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 2px; vertical-align: middle; }

/* ---------- prices ---------- */
.price-card { background: #fff; border-radius: 4px; padding: 1.8rem 1.6rem; height: 100%; display: flex; flex-direction: column; gap: .4rem; border: 1px solid var(--q-line); position: relative; }
.price-card.feature { border: 3px solid var(--q-royal); }
.price-card .flag { position: absolute; top: -13px; left: 1.4rem; background: var(--q-red); color: #fff; font-family: var(--q-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; padding: .2rem .7rem; }
.price-card h3 { font-size: 1.35rem; margin: 0; }
.price-card .amt { font-family: var(--q-display); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--q-navy); }
.price-card .amt small { font-size: 1.1rem; color: var(--q-muted); font-weight: 600; }
.price-card p { color: var(--q-muted); margin: 0; font-size: .95rem; }

.form-q .form-label { font-family: var(--q-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; color: var(--q-navy); }
.form-q .form-control, .form-q .form-select { border-radius: 3px; border: 1px solid #C8D0DE; padding: .7rem .9rem; }
.form-q .form-control:focus, .form-q .form-select:focus { border-color: var(--q-royal); box-shadow: 0 0 0 .2rem rgba(5,70,147,.15); }
.form-panel { background: #fff; border-radius: 4px; padding: 2rem; box-shadow: 0 14px 36px rgba(11,27,58,.1); border-top: 5px solid var(--q-red); }

/* ---------- timetable ---------- */
.tt-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.tt-chip { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid #CDD5E3; background: #fff; border-radius: 999px; padding: .45rem .95rem; font-weight: 600; font-size: .92rem; color: var(--q-text); cursor: pointer; }
.tt-chip i { width: 10px; height: 10px; border-radius: 50%; }
.tt-chip.on { background: var(--q-navy); color: #fff; border-color: var(--q-navy); }
.tt-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .7rem; }
.tt-day { display: flex; flex-direction: column; gap: .5rem; }
.tt-day h3 { font-size: 1.2rem; margin: 0 0 .2rem; padding-bottom: .5rem; border-bottom: 3px solid var(--q-navy); }
.tt-block { border-radius: 3px; padding: .65rem .7rem; color: #fff; background: var(--c); font-size: .88rem; line-height: 1.3; font-variant-numeric: tabular-nums; }
.tt-block b { display: block; font-size: .95rem; margin-bottom: .1rem; }
.tt-block span { opacity: .9; }
.tt-block small { display: block; opacity: .8; font-size: .75rem; margin-top: .2rem; }
.tt-part { font-family: var(--q-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; color: var(--q-muted); margin-top: .4rem; }
.tt-empty { font-size: .85rem; color: var(--q-muted); border: 1px dashed #CDD5E3; border-radius: 3px; padding: .6rem; text-align: center; }
.legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.legend div { background: #fff; border-radius: 4px; padding: 1rem 1.1rem; border-left: 5px solid var(--c); }
.legend b { font-family: var(--q-display); text-transform: uppercase; font-size: 1.15rem; color: var(--q-navy); display: block; }
.legend span { font-size: .9rem; color: var(--q-muted); }

/* patterns */
.video-card .ph { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--q-navy), var(--q-royal)); position: relative; display: grid; place-items: center; }
.video-card .ph::after { content: ""; width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.95) ; clip-path: circle(50%); }
.video-card .ph::before { content: ""; position: absolute; z-index: 2; border-left: 18px solid var(--q-red); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 6px; }
.belt-chip { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 600; color: var(--q-muted); }
.belt-chip i { width: 34px; height: 9px; border-radius: 2px; border: 1px solid rgba(0,0,0,.15); }

/* club cards */
.club-card { background: #fff; border-radius: 4px; padding: 1.6rem; height: 100%; border-top: 5px solid var(--q-royal); display: flex; flex-direction: column; gap: .6rem; }
.club-card h3 { margin: 0; }
.club-card .who { font-weight: 600; color: var(--q-navy); }

@media (max-width: 991.98px) {
  .hero .row { min-height: 0; }
  .hero-pic { position: relative; inset: auto; height: 300px; clip-path: none; }
  .hero-stripe, .page-head .stripe { display: none; }
  .page-head-pic { display: none; }
  .finder { margin-top: 1.5rem; }
  .tt-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .event-list li { grid-template-columns: 64px 1fr; }
  .event-list li .tag { grid-column: 2; justify-self: start; }
  .session-row { grid-template-columns: 1fr auto; }
  .session-row .day { grid-column: 1 / -1; }
}

/* pattern videos: thumbnail button swaps to a YouTube player on click */
.yt-thumb { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; aspect-ratio: 16/9; background: center/cover no-repeat var(--q-navy); position: relative; }
.yt-thumb::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,27,58,.55), rgba(11,27,58,.1)); }
.yt-thumb::after { content: ""; position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: var(--q-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/28px no-repeat; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.yt-thumb:hover::after, .yt-thumb:focus-visible::after { transform: scale(1.08); }
.yt-thumb:focus-visible { outline: 3px solid var(--q-red); outline-offset: 2px; }
.yt-frame { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }

/* forms */
.field-validation-error, .validation-summary-errors { color: var(--q-red-dark); font-size: .9rem; font-weight: 600; }
.validation-summary-errors ul { margin: 0; padding-left: 1.1rem; }
.input-validation-error { border-color: var(--q-red) !important; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert-q { background: #E4F4EA; border-left: 5px solid #1F7A4D; color: #134D30; padding: 1.1rem 1.3rem; border-radius: 4px; font-weight: 600; }

a:focus-visible, .btn:focus-visible, .tt-chip:focus-visible { outline: 3px solid var(--q-red); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- blog (posts carried over from the old site) ---------- */
.blog-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.blog-card:hover h3 { color: var(--q-royal); }
.blog-card .ph { background-color: #fff; background-size: cover; }
.blog-card h3 { font-size: 1.35rem; }

.blog-body { color: var(--q-text); }
.blog-body .text-muted { color: var(--q-text) !important; }
.blog-body .fw-light { font-weight: 400 !important; }
.blog-body h5, .blog-body h6 {
  font-family: var(--q-display); font-weight: 800; text-transform: uppercase; color: var(--q-navy) !important;
  line-height: 1.02; letter-spacing: .01em;
}
.blog-body h5.fs-1, .blog-body h6.fs-1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem) !important; }
.blog-body h6.fs-2 { font-size: 1.6rem !important; color: var(--q-red) !important; }
.blog-body .fs-5 { font-size: 1.1rem !important; }
.blog-body p, .blog-body li { max-width: 70ch; }
.blog-body img { border-radius: 4px; }
.blog-body picture img { height: auto; }
.blog-body iframe { border-radius: 4px; max-width: 100%; }
.blog-body a { font-weight: 600; }

.blog-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .6rem; margin-block: 1.5rem; }
.blog-gallery button { all: unset; cursor: pointer; display: block; aspect-ratio: 4/3; border-radius: 4px; overflow: hidden; background: var(--q-line); }
.blog-gallery button.portrait { aspect-ratio: 3/4; }
.blog-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; border-radius: 0 !important; }
.blog-gallery button:hover img { transform: scale(1.04); }
.blog-gallery button:focus-visible { outline: 3px solid var(--q-red); outline-offset: 2px; }
#galleryModal .modal-body img { max-height: 82vh; }
.blog-card .ph.logo { background-size: 70% auto; background-position: center; }

/* real Quest logo (from the previous site) */
.brand-logo { display: block; height: 50px; width: auto; }
@media (max-width: 575.98px) { .brand-logo { height: 40px; } }

/* team cards without a photo yet */
.card-q .ph.team-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; background: linear-gradient(160deg, var(--q-royal), var(--q-navy-deep)); color: #fff; }
.team-placeholder span { font-family: var(--q-display); font-weight: 800; font-style: italic; font-size: 4rem; line-height: 1; letter-spacing: .02em; }
.team-placeholder small { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #C9D4EA; }
