/* =====================================================================
   Veterans cover + homepage widget — 2026-09-24
   Separate stylesheet (survives adaptive tip races). After adaptive.
   Scope: .veterans-splash (album /photo/30), .veterans-home (homepage).
   Do NOT touch: vozduh, maps-hub, side-column, readability floors shrink.
   ===================================================================== */

:root {
  --vet-ink: #1a221c;
  --vet-muted: #4a5548;
  --vet-paper: #e8ebe4;
  --vet-deep: #243028;
  --vet-bronze: #8a6a3a;
  --vet-bronze-deep: #6b4f2a;
  --vet-field: #d4d9cf;
}

/* --- Album splash / cover on /photo/30 --- */
.photo-album__intro--veterans-splash {
  padding: 0 !important;
  background: transparent !important;
  border-left: 0 !important;
  overflow: hidden;
}

.veterans-splash {
  display: grid;
  grid-template-columns: minmax(120px, 168px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  background:
    linear-gradient(145deg, #dfe4d8 0%, #cfd6c6 42%, #e6e2d4 100%);
  border-left: 3px solid var(--vet-bronze-deep);
  min-height: 0;
  animation: veterans-splash-in 0.55s ease-out both;
}

.veterans-splash__media {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--vet-deep);
  aspect-ratio: 4 / 5;
  max-height: 210px;
}

.veterans-splash__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.02);
  transition: transform 0.7s ease;
}

.veterans-splash__media:hover .veterans-splash__img,
.veterans-splash__media:focus .veterans-splash__img {
  transform: scale(1.06);
}

.veterans-splash__copy {
  padding: 14px 16px 14px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.veterans-splash__copy .photo-album__lead {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: var(--vet-ink);
}

.veterans-splash__copy .photo-album__meta {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: var(--vet-muted);
}

.veterans-splash__portrait {
  margin: 4px 0 0 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: var(--vet-bronze-deep);
  font-weight: 600;
}

.veterans-splash__portrait a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(107, 79, 42, 0.35);
}

.veterans-splash__portrait a:hover,
.veterans-splash__portrait a:focus {
  border-bottom-color: var(--vet-bronze-deep);
}

@keyframes veterans-splash-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .veterans-splash {
    grid-template-columns: 112px minmax(0, 1fr);
  }
  .veterans-splash__media {
    max-height: 168px;
  }
  .veterans-splash__copy {
    padding: 10px 12px;
  }
}

/* --- Homepage mid-column widget --- */
/* Homepage [aviable=main] renders under section.left — NOT inside .mid_col
   (mid_col is [not-aviable=main] only). Keep both ancestors so typography
   wins over font-scale-110. */
.veterans-home {
  margin: 14px 0 16px !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.veterans-home__card {
  display: grid;
  grid-template-columns: minmax(110px, 148px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  text-decoration: none !important;
  color: inherit;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(138, 106, 58, 0.18), transparent 55%),
    linear-gradient(120deg, #1f2923 0%, #2c3830 48%, #3a3328 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  animation: veterans-home-in 0.6s ease-out both;
  transition: box-shadow 0.25s ease;
}

.veterans-home__card:hover,
.veterans-home__card:focus {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 8px 18px rgba(20, 28, 22, 0.18);
}

.veterans-home__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #121816;
  aspect-ratio: 4 / 5;
  max-height: 196px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.veterans-home__img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center top;
  /* no scale — scale(1.03) overflowed the crop and looked crooked on mobile */
  transform: none;
  transition: filter 0.35s ease;
}

.veterans-home__card:hover .veterans-home__img,
.veterans-home__card:focus .veterans-home__img {
  filter: brightness(1.04);
}

.veterans-home__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(31, 41, 35, 0.55));
  pointer-events: none;
}

.veterans-home__copy {
  padding: 14px 16px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  color: #f2f0e8;
  min-width: 0;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}

html body .left .veterans-home .veterans-home__kicker,
html body .mid_col .veterans-home .veterans-home__kicker {
  font-size: 12px !important;
  line-height: 1.3 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4b089;
  font-weight: 600;
}

html body .left .veterans-home .veterans-home__title,
html body .mid_col .veterans-home .veterans-home__title {
  display: block;
  font-size: 20px !important;
  line-height: 1.2 !important;
  font-weight: 700;
  color: #f7f4ea;
  letter-spacing: 0.01em;
}

html body .left .veterans-home .veterans-home__lead,
html body .mid_col .veterans-home .veterans-home__lead {
  display: block;
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: rgba(242, 240, 232, 0.86);
  max-width: 36em;
}

html body .left .veterans-home .veterans-home__portrait,
html body .mid_col .veterans-home .veterans-home__portrait {
  display: block;
  margin-top: 2px;
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: #d8c79a;
  font-weight: 600;
}

html body .left .veterans-home .veterans-home__cta,
html body .mid_col .veterans-home .veterans-home__cta {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 700;
  color: #f0e2b8;
  border-bottom: 1px solid rgba(240, 226, 184, 0.35);
  width: fit-content;
  text-decoration: none !important;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.veterans-home__card:hover .veterans-home__cta,
.veterans-home__card:focus .veterans-home__cta {
  color: #fff6d8;
  border-bottom-color: #fff6d8;
}

@keyframes veterans-home-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/*
  Mobile: keep side-by-side composition (no stack).
  Prior ≤420 stack used aspect-ratio + max-height, which shrunk the photo
  width to ~320px while copy stayed full-width → crooked gap.
*/
@media (max-width: 720px) {
  .veterans-home {
    margin: 12px 0 14px !important;
  }
  .veterans-home__card {
    grid-template-columns: 108px minmax(0, 1fr);
  }
  .veterans-home__media {
    aspect-ratio: 4 / 5;
    max-height: none;
    height: auto;
    align-self: stretch;
  }
  .veterans-home__copy {
    padding: 10px 12px 11px;
    gap: 3px;
  }
  html body .left .veterans-home .veterans-home__title,
html body .mid_col .veterans-home .veterans-home__title {
    font-size: 17px !important;
  }
  html body .left .veterans-home .veterans-home__lead,
html body .mid_col .veterans-home .veterans-home__lead {
    font-size: 13px !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  html body .left .veterans-home .veterans-home__portrait,
html body .mid_col .veterans-home .veterans-home__portrait {
    font-size: 12.5px !important;
  }
  .veterans-home__shade {
    background: linear-gradient(90deg, transparent 40%, rgba(31, 41, 35, 0.5));
  }
}

/*
  Phones ≤480: stack full-width. Fixed height (NOT aspect-ratio+max-height)
  so the portrait spans the full card width — prior bug shrunk media to ~320px.
*/
@media (max-width: 480px) {
  .veterans-home__card {
    grid-template-columns: 1fr;
  }
  .veterans-home__media {
    width: 100%;
    max-width: none;
    height: 180px;
    max-height: none;
    aspect-ratio: auto;
  }
  .veterans-home__img {
    object-position: center 22%;
  }
  .veterans-home__shade {
    background: linear-gradient(180deg, transparent 55%, rgba(31, 41, 35, 0.55));
  }
  .veterans-home__copy {
    padding: 12px 14px 14px;
    gap: 5px;
  }
  html body .left .veterans-home .veterans-home__title,
html body .mid_col .veterans-home .veterans-home__title {
    font-size: 18px !important;
  }
  html body .left .veterans-home .veterans-home__lead,
html body .mid_col .veterans-home .veterans-home__lead {
    font-size: 14px !important;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  html body .left .veterans-home .veterans-home__portrait,
html body .mid_col .veterans-home .veterans-home__portrait {
    font-size: 13px !important;
  }
  html body .left .veterans-home .veterans-home__cta,
html body .mid_col .veterans-home .veterans-home__cta {
    font-size: 14px !important;
    margin-top: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .veterans-splash,
  .veterans-home__card,
  .veterans-splash__img,
  .veterans-home__img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }
}
