/* Shared navigation and small repairs to the supplied LASO page designs. */
html { scroll-padding-top: 7rem; }
html, body { height: auto; min-height: 100%; }
body { margin: 0; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
img { max-width: 100%; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
main, section, article, div { min-width: 0; }
a, p, h1, h2, h3, h4, li, dd { overflow-wrap: break-word; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible {
  outline: 3px solid #806000; outline-offset: 4px; box-shadow: 0 0 0 7px #fff;
}
.sr-only { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.laso-skip { position: fixed; top: .6rem; left: 1rem; z-index: 10001; padding: .8rem 1rem; color: #002147; background: #ffd700; border-radius: 6px; transform: translateY(-180%); font-weight: 700; }
.laso-skip:focus { transform: translateY(0); }
.laso-header { position: sticky; top: 0; z-index: 1000; background: #002147; color: #fff; box-shadow: 0 2px 8px #0002; font-family: Montserrat, sans-serif; }
.laso-nav-wrap { display: flex; align-items: center; gap: 1.5rem; max-width: 1400px; margin: auto; padding: .85rem 5%; }
.laso-brand { display: flex; align-items: center; gap: .75rem; color: #fff; font-size: 1.25rem; font-weight: 700; white-space: nowrap; text-decoration: none; }
.laso-brand img { width: 68px; height: 68px; object-fit: contain; }
.laso-primary { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.laso-primary a, .laso-languages a { color: inherit; padding: .65rem .3rem; font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.laso-primary a:hover, .laso-primary a[aria-current="page"] { color: #ffd700; }
.laso-primary .nav-join { background: #ffd700; color: #002147; border-radius: 6px; padding: .65rem .85rem; }
.laso-primary .nav-join:hover { background: #ffea80; color: #002147; }
.laso-languages { display: flex; align-items: center; gap: .2rem; flex-shrink: 0; }
.laso-languages a { padding: .65rem .5rem; border: 1px solid transparent; border-radius: 4px; }
.laso-languages a[aria-current="page"] { border-color: currentColor; }
.laso-mobile { display: none; }
.laso-mobile summary { padding: .75rem; border: 1px solid #ffffff80; border-radius: 6px; font-size: .9rem; font-weight: 600; }
.laso-mobile nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; max-height: calc(100dvh - 7rem); overflow-y: auto; background: #002147; padding: .5rem 5% 1rem; border-top: 1px solid #ffffff50; box-shadow: 0 8px 14px #0003; }
.laso-mobile nav a { padding: .9rem; color: #fff; font-size: .95rem; font-weight: 600; text-decoration: none; }
.laso-mobile nav a:hover, .laso-mobile nav a[aria-current="page"] { background: #ffffff15; color: #ffd700; }
.laso-footer { background: #002147; color: #fff; padding: 3rem 5% 2rem; font-family: Montserrat, sans-serif; }
.laso-footer-inner { max-width: 1120px; margin: auto; }
.laso-footer h2 { color: #ffd700; font-size: 1.55rem; font-weight: 700; margin: 0 0 .8rem; }
.laso-footer p { color: #fff; font-size: .94rem; line-height: 1.8; margin: .5rem 0; }
.laso-footer a { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.laso-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.25rem 0; }
.laso-footer nav a { padding: .5rem 0; font-size: .9rem; }
.laso-footer .footer-small { font-size: .82rem; margin-top: 1.5rem; }
.page-wrapper { height: auto; overflow: visible; }
.home-hero { padding: 4.5rem 2.5rem; }
.home-hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
.home-hero p { color: #fff !important; max-width: 730px; margin: 0 auto 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1.8rem; }
.demo-section > h2:first-child { margin-top: 0; }
.page-intro h1 { font-size: clamp(2rem,4vw,3rem); }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.7rem; margin-top: 2rem; align-items: stretch; }
.archive-card { overflow: hidden; background: #fff; border: 1px solid #dbe2e9; border-radius: 12px; box-shadow: 0 4px 12px #00214710; display: flex; flex-direction: column; padding: 0; }
.archive-image { display: block; width: 100%; height: 240px; object-fit: cover; background: #e9edf3; }
.archive-card#noche-de-disco-2026 .archive-image { object-fit: contain; background: #3f1638; }
.archive-card#geoguessr-2026 .archive-image { object-fit: contain; object-position: center; background: #0b1a45; }
.archive-card#spartanburg-high-visit-2026 .archive-image { object-fit: contain; object-position: center; }
.news-story { max-width: 1060px; }
.news-story-header h1 { font-size: clamp(1.9rem,4vw,2.5rem); line-height: 1.25; }
.news-story .news-story-date { color: #665100; font-size: 1rem; font-weight: 600; }
.news-story-photo { max-width: 800px; margin: 1.5rem auto 2rem; }
.news-story-photo img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 8px; }
.news-story-photo figcaption { margin-top: .8rem; color: #43536a; font-size: 1rem; line-height: 1.7; overflow-wrap: break-word; }
.news-story-text { max-width: 68ch; margin: 0 auto; }
.news-story-text blockquote { margin: 1.25rem 0; padding: 1rem 1.25rem; border-left: 4px solid #d3a900; background: #f5f7fa; border-radius: 0 8px 8px 0; }
.news-story-text blockquote p { margin-bottom: 0; }
.news-story-text blockquote footer { margin-top: .75rem; font-size: .95rem; font-weight: 600; color: #002147; }
.news-story .news-story-note { font-size: 1rem; color: #43536a; }
.news-story-actions { gap: 1rem; align-items: center; margin-top: 2rem; }
.news-story-actions .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.laso-primary a[aria-current="location"], .laso-mobile nav a[aria-current="location"] { color: #ffd700; }
.archive-copy { display: flex; flex-direction: column; padding: 1.5rem; flex: 1; }
.archive-copy h3 { font: 700 1.4rem/1.35 Montserrat, sans-serif; color: #002147; margin: 0 0 .9rem; }
.archive-copy p { font-size: .96rem; line-height: 1.75; }
.archive-copy .archive-date { color: #665100; font-size: .8rem; font-weight: 700; letter-spacing: .04em; margin-bottom: .6rem; }
.archive-copy .photo-credit { font-size: .8rem; color: #555; margin-top: .15rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: auto; padding-top: .65rem; }
.laso-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .75rem 1.1rem; color: #fff; background: #002147; border: 2px solid #002147; border-radius: 6px; text-decoration: none; font: 600 .88rem/1.4 Montserrat, sans-serif; text-align: center; }
.laso-button:hover { background: #003b7a; border-color: #003b7a; }
.laso-button.gold { color: #002147; background: #ffd700; border-color: #ffd700; }
.laso-button.light { color: #002147; background: #fff; border-color: #fff; }
.section-link { margin-top: 2rem; text-align: center; }
.home-leadership-preview .leadership-grid { margin: 1.5rem 0; gap: 1rem; }
.home-leadership-preview .leadership-card { padding: 1.25rem 1rem; }
.home-leadership-preview .leadership-card img { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto .8rem; border: 3px solid #002147; }
.home-leadership-preview .card-name { font-size: 1.2rem; margin: 0; }
.home-leadership-preview .card-title { font-size: .78rem; letter-spacing: .04em; margin: 0 0 .35rem; }
.home-leader-summary { margin-top: .75rem; }
.home-leader-summary p { color: #43536a; font-size: .9rem; line-height: 1.65; margin: 0 auto .25rem; max-width: 40ch; }
.home-member-more { display: inline-flex; align-items: center; min-height: 44px; color: #002147; font-size: .88rem; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.home-member-more:hover { color: #665100; }
.home-leader-linkedin { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: .6rem; background-color: #0077B5; border-radius: 50%; color: #fff; text-decoration: none; transition: all .3s ease; }
.home-leader-linkedin:hover { background-color: #005885; transform: translateY(-2px); }
.home-leader-linkedin svg { width: 14px; height: 14px; fill: #fff; }
.home-leader-email { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: .6rem; margin-left: .4rem; background-color: #002147; border-radius: 50%; color: #fff; text-decoration: none; transition: all .3s ease; }
.home-leader-email:hover { background-color: #22416b; transform: translateY(-2px); }
.home-leader-email svg { width: 13px; height: 13px; fill: #fff; }
.card-name .member-profile-link { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.card-name .member-profile-link:hover { color: #665100; }
.member-founder-label { color: #665100; font-size: .84rem !important; line-height: 1.6; margin: .25rem 0 .5rem; }
.member-founder-label a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.member-preview-hint { font-size: .84rem !important; color: #526277; margin-top: .35rem; }
.archive-copy .event-partner { color: #665100; font-size: .8rem; font-weight: 600; margin: -.25rem 0 .75rem; }
.text-link { color: #002147; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.quick-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 1.5rem; }
.quick-links a { display: flex; align-items: center; padding: 1.2rem; border-radius: 8px; background: #f0f3f8; color: #002147; text-decoration: none; border-left: 4px solid #d3a900; font-weight: 600; }
.quick-links a:hover { background: #e1e8f2; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.25rem; }
.filter-bar button { border: 2px solid #002147; border-radius: 24px; padding: .7rem 1.2rem; color: #002147; background: #fff; font: 600 .9rem/1.4 Montserrat, sans-serif; }
.filter-bar button[aria-pressed="true"] { background: #002147; color: #fff; }
.archive-return { text-align: center; font-size: .95rem; line-height: 2; padding: 1.5rem 1rem; }
.archive-return a { display: inline-block; padding: .25rem; }
details.faq-item { overflow: visible; }
details.faq-item > summary { list-style: none; width: 100%; text-align: left; }
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary::after { content: "+"; font-size: 1.3rem; font-weight: 600; margin-left: auto; padding-left: 1rem; }
details.faq-item[open] > summary::after { content: "−"; }
details.faq-item[open] > .faq-answer { display: block; padding: 1.25rem 1.75rem; max-height: none; overflow: visible; }
.faq-answer p:last-child { margin-bottom: 0; }
.founder-title { color: #806400; }
.stat-number { color: #806400; }
body[data-page="history"] .timeline-description { color: #666 !important; }
.country-facts > div { display: flex; gap: .5rem; font-size: .9rem; margin: .5rem 0; }
.country-facts dt { font-weight: 700; }
.country-facts dd { margin: 0; }
.table-wrap, .leadership-table-wrap { max-width: 100%; }
.table-wrap:focus, .leadership-table-wrap:focus { outline: 3px solid #806400; }
body[data-page="explore"] { font-family: Montserrat,sans-serif; background: #f4f6fa; }
.explore-intro { margin: 0 -1rem; }
.festival-header { background: linear-gradient(90deg,#a41462,#9213a5,#a94306); }
.festival-header .laso-nav-wrap { max-width: 1600px; }
.festival-header .laso-brand { font-family: 'Playfair Display',Georgia,serif !important; white-space: normal; max-width: 16rem; }
.festival-header .laso-mobile nav { background: #72145f; }
body[data-page="elfestivaldeculturas"] .hero-video-container { height: min(780px,85svh); min-height: 460px; }
body[data-page="elfestivaldeculturas"] .hero-video { width: 100%; height: 100%; min-width: 0; min-height: 0; }
body[data-page="elfestivaldeculturas"] .hero-video-container { background: #281a29; }
body[data-page="elfestivaldeculturas"] .festival-video-toggle,
body[data-page="elfestivaldeculturas"] .festival-video-link { position: absolute; z-index: 20; right: 1.2rem; bottom: 1.2rem; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .7rem 1rem; border: 1px solid #fff; border-radius: 999px; background: #241324e6; color: #fff; font: 500 .9rem/1.4 Outfit,sans-serif; }
body[data-page="elfestivaldeculturas"] .festival-profile-cta { margin-top: 1.5rem; }
body[data-page="elfestivaldeculturas"] .hero-video[controls] { object-fit: cover; }
body[data-page="elfestivaldeculturas"] .hero-overlay { pointer-events: none; }
body[data-page="elfestivaldeculturas"] .hero-overlay a { pointer-events: auto; }
body[data-page="elfestivaldeculturas"] footer p a { text-decoration: underline; text-underline-offset: .2em; }
.disco-language-strip { display: flex; gap: .65rem; align-items: center; }
.disco-language-strip a { font-weight: 700; padding: .55rem .45rem; font-size: .85rem; }
.disco-language-strip a[aria-current="page"] { border-bottom: 2px solid currentColor; }
body[data-page="nochededisco"] .site-header { position: sticky; }
body[data-page="nochededisco"] .hero { min-height: 700px; padding-top: 8.5rem; }
body[data-page="nochededisco"] .hero__actions .button--outline { background: #3f1638; }
body[data-page="nochededisco"] .hero__actions .text-link { color: #fff3d9; background: #3f1638; padding: .65rem .85rem; border-radius: 6px; }
body[data-page="nochededisco"] .asset-placeholder[hidden] { display: none; }
body[data-page="nochededisco"] .asset-slot.has-image img { display: block; }
body[data-page="nochededisco"] .event-mark small { max-width: 200px; line-height: 1.35; }
body[data-page="nochededisco"] .event-status-note { color: #fff3d9; background: #3f1638; margin: 0; padding: 1rem 5%; text-align: center; }
@media (max-width: 1150px) {
  .laso-nav-wrap { gap: 1rem; padding-left: 4%; padding-right: 4%; }
  .laso-primary { display: none; }
  .laso-languages { margin-left: auto; }
  .laso-mobile { display: block; }
}
@media (min-width: 1000px) {
  body[data-page="home"] #news .archive-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body[data-page="home"] #news .archive-image { height: 180px; }
}
@media (max-width: 767px) {
  .laso-nav-wrap { gap: .65rem; padding: .6rem 4%; }
  .laso-brand { gap: .5rem; font-size: 1rem; }
  .laso-brand img { width: 48px; height: 48px; }
  .laso-languages { gap: 0; }
  .laso-languages a { font-size: .78rem; padding: .6rem .35rem; }
  .laso-mobile summary { font-size: .8rem; padding: .7rem .5rem; }
  .demo-content { padding: 1.5rem 4%; }
  .demo-section { padding: 1.6rem 1.2rem; margin-bottom: 1.4rem; }
  .home-hero { padding: 3rem 1.4rem; min-height: 420px !important; }
  .home-hero h1 { font-size: 2.1rem; }
  .home-hero p { font-size: 1rem; }
  .archive-grid, .quick-links { grid-template-columns: minmax(0,1fr); }
  .archive-image { height: 235px; }
  .archive-copy { padding: 1.25rem; }
  .leadership-grid { grid-template-columns: minmax(0,1fr); }
  .leadership-card { padding: 1.75rem 1.1rem; }
  .leader-email, .advisor-email { overflow-wrap: anywhere; }
  .home-leadership-preview .leadership-card { display: grid; grid-template-columns: 72px minmax(0,1fr); align-items: center; gap: .6rem 1rem; text-align: left; padding: 1rem; }
  .home-leadership-preview .leadership-card img { width: 72px; height: 72px; flex: 0 0 72px; margin: 0; }
  .home-leader-summary { grid-column: 1 / -1; margin-top: .15rem; }
  .home-leader-summary p { margin-left: 0; font-size: .88rem; }
  .home-leadership-preview .card-name { font-size: 1rem; line-height: 1.45; }
  .home-leadership-preview .card-title { font-size: .72rem; line-height: 1.45; }
  .home-leader-linkedin { margin-top: .4rem; }
  .home-leader-email { margin-top: .4rem; }
  body[data-page="home"] #gallery .archive-grid { gap: 1.15rem; margin-top: 1.25rem; }
  body[data-page="home"] #gallery .archive-image { height: 180px; }
  body[data-page="home"] #gallery .archive-copy { padding: 1rem; }
  body[data-page="home"] #gallery .archive-copy h3 { font-size: 1.25rem; }
  body[data-page="home"] #gallery .archive-copy p { font-size: .95rem; line-height: 1.65; margin-bottom: .65rem; }
  body[data-page="home"] #community .quick-links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; margin-top: 1rem; }
  body[data-page="home"] #community .quick-links a { min-height: 60px; padding: .85rem .7rem; font-size: .85rem; line-height: 1.5; }
  body[data-page="home"] #faq .faq-item { margin-bottom: .7rem; }
  body[data-page="home"] #faq .faq-question { padding: 1rem; min-height: 52px; font-size: .95rem; }
  body[data-page="home"] #faq .faq-answer { padding: 1rem; }
  .country-facts > div { display: block; }
  body[data-page="structure"] .max-w-4xl { width: 100%; }
  .festival-header .laso-brand { max-width: 10rem; font-size: 1.1rem; line-height: 1.25; }
  body[data-page="nochededisco"] .site-header { gap: .6rem; padding: .65rem .8rem; }
  body[data-page="nochededisco"] .event-mark { gap: .45rem; }
  body[data-page="nochededisco"] .event-mark small { font-size: .6rem; max-width: 140px; }
  body[data-page="nochededisco"] .event-mark strong { font-size: .85rem; }
  body[data-page="nochededisco"] .event-mark__star { width: 1.8rem; }
  .disco-language-strip { margin-left: auto; gap: .1rem; }
  .disco-language-strip a { padding: .5rem .2rem; font-size: .75rem; }
  body[data-page="nochededisco"] .menu-button { padding: .6rem; font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* ================================================================
   Image framing fixes.
   Several photos were being cropped by containers whose shape did
   not match the photo's. Measured losses before this block:
   join photo 66% hidden, achievement photos 19-42% (heads cut off),
   event thumbnails 11-44%, headshots 20-33%.
   Approach follows the pattern already used for the Noche de Disco
   poster: contain + a matching background where the photo's shape
   differs sharply from its frame, object-position elsewhere.
   ================================================================ */

/* Group photo beside the "Join LASO" copy: the photo is a wide shot
   with people spread edge to edge, so squeezing it into a narrow
   side column either sliced people off (cover) or left a large
   blank gap above it (contain, the previous fix here - correct on
   mobile, where this section already stacks, but not above 768px,
   where the column matched the much-taller text column's height).
   Above 768px, stack it as a full-width banner instead, like mobile
   already does, so the photo gets a box shaped for a wide photo. */
@media (min-width: 769px) {
  .join-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .join-image-column {
    height: 420px;
  }
  .join-content-column {
    padding: 2.5rem 5%;
  }
}
.join-image {
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

/* Award and recognition photos are mostly portrait but sit in a
   landscape card, which was cutting people's heads off. */
.achievement-img {
  object-fit: contain;
  background: #eef2f7;
}

/* Event thumbnails are landscape in a slightly wider frame, so a
   small crop is fine - bias it upward so faces stay in shot. */
.archive-image {
  object-position: center 32%;
}

/* Circular headshots: portrait sources cropped to a square keep the
   face in frame when anchored toward the top. */
.leader-photo,
.leadership-card img {
  object-position: center top;
}
