/* ============================================================
   Yuma One Stop Partner Resource Hub — partners.ypic.com
   Palette: Arizona flag derived. Navy field, copper star, gold rays.
   Type: Bitter (display) / Public Sans (body)
   ============================================================ */

:root {
  --navy: #1e2a45;
  --navy-deep: #141f38;
  --copper: #bc5a2e;
  --copper-dark: #98481f;
  --gold: #e0a458;
  --gold-soft: #f3d9ae;
  --sand: #f5f0e6;
  --paper: #fdfcfa;
  --ink: #24262b;
  --muted: #656a73;
  --line: #e6e0d3;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 31, 56, 0.06), 0 8px 24px rgba(20, 31, 56, 0.08);
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3, h4 {
  font-family: "Bitter", Georgia, serif;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; }
a { color: var(--copper-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Header / nav ---------- */

.topline {
  background: var(--navy-deep);
  color: var(--gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 16px;
}

.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(20, 31, 56, 0.35);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.site-header .container { max-width: 1300px; }
.brand-star { flex: 0 0 auto; width: 42px; height: 42px; transition: width 0.18s ease-out, height 0.18s ease-out; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: "Bitter", Georgia, serif;
  font-size: 1.55rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: font-size 0.18s ease-out;
}
.brand-text small { font-size: 0.74rem; color: var(--gold-soft); letter-spacing: 0.08em; text-transform: uppercase; }

.site-nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.site-nav a {
  display: block;
  color: #e9ecf4;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 8px 9px;
  border-radius: 6px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: background-color 0.18s ease-out, color 0.18s ease-out;
}
.site-nav a:hover { background: rgba(255, 255, 255, 0.09); color: #fff; }
.site-nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
  border-radius: 6px 6px 0 0;
}

/* Sticky header shrink on scroll */
.site-header.scrolled .masthead { padding-top: 8px; padding-bottom: 8px; }
.site-header.scrolled .brand-star { width: 32px; height: 32px; }
.site-header.scrolled .brand-text strong { font-size: 1.2rem; }
.site-header.scrolled { box-shadow: 0 4px 16px rgba(20, 31, 56, 0.45); }
.masthead { transition: padding 0.18s ease-out; }


.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  padding: 6px 10px;
  cursor: pointer;
}

@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding-bottom: 10px; }
  .masthead { flex-wrap: wrap; }
}

/* ---------- Arizona ray motif (signature) ---------- */

.rays {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.rays::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(
    from 262deg at 50% 118%,
    rgba(224, 164, 88, 0.16) 0deg 7.5deg,
    rgba(188, 90, 46, 0.14) 7.5deg 15deg
  );
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0) 92%);
  mask-image: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0) 92%);
  pointer-events: none;
}
.rays > * { position: relative; }

/* ---------- Hero (home) ---------- */

.hero { padding: 72px 0 84px; text-align: center; }
.hero h1 { color: #fff; margin-bottom: 0.35em; }
.hero .kicker {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero p.lede {
  max-width: 640px;
  margin: 0 auto 28px;
  color: #dfe3ee;
  font-size: 1.08rem;
}

.btn {
  display: inline-block;
  background: var(--copper);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--copper-dark); color: #fff; }
.btn.ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Meeting banner strip ---------- */

.meeting-strip {
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 600;
  text-align: center;
  padding: 10px 18px;
  font-size: 0.95rem;
}
.meeting-strip a { color: var(--navy-deep); font-weight: 700; }

/* ---------- Interior page banner ---------- */

.page-banner { padding: 44px 0 52px; }
.page-banner h1 { color: #fff; margin-bottom: 0.2em; }
.page-banner p { color: #dfe3ee; max-width: 680px; margin: 0; }

/* ---------- Sections & cards ---------- */

.section { padding: 56px 0; }
.section.alt { background: var(--sand); }
.section-head { max-width: 640px; margin-bottom: 30px; }
.section-head .eyebrow {
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
}
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.card .card-link {
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--copper-dark);
}
.card .card-link::after { content: " →"; }
.card .card-icon {
  width: 40px; height: 40px;
  color: var(--copper);
  margin-bottom: 14px;
}

/* ---------- Tables (meeting archive, schedules) ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
table.hub {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 620px;
}
table.hub th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 16px;
}
table.hub td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }
table.hub tr:nth-child(even) td { background: #faf8f3; }
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 999px;
}
.tag.soon { background: var(--gold-soft); color: var(--copper-dark); }
.tag.posted { background: #dcebdd; color: #2c6234; }
.tag.tba { background: #e8e8ec; color: var(--muted); }

/* ---------- Media slot (video / pdf placeholders) ---------- */

.media-slot {
  background: var(--navy-deep);
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #cdd4e4;
  padding: 24px;
}
.media-slot .inner { max-width: 380px; }
.media-slot .play {
  width: 58px; height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
}
.media-slot .play svg { width: 22px; height: 22px; fill: var(--gold); margin-left: 3px; }
.media-slot p { margin: 0 0 12px; font-size: 0.92rem; }

.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.doc-list li:last-child { border-bottom: none; }
.doc-list .doc-ico { flex: 0 0 auto; width: 30px; height: 30px; color: var(--copper); }
.doc-list .doc-meta small { display: block; color: var(--muted); font-size: 0.8rem; }
.doc-list a { font-weight: 600; font-size: 0.95rem; }

/* ---------- Flyer / event grid ---------- */

.flyer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
.flyer {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.flyer .thumb {
  aspect-ratio: 8.5 / 11;
  background: linear-gradient(160deg, var(--sand), #eee7d6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.flyer .flyer-body { padding: 14px 16px 16px; }
.flyer h3 { font-size: 1rem; margin-bottom: 4px; }
.flyer .date { color: var(--copper-dark); font-size: 0.82rem; font-weight: 600; }
.flyer p { font-size: 0.88rem; color: var(--muted); margin: 6px 0 0; }

/* ---------- Spotlight ---------- */

.spot-card {
  background: #fff;
  border-left: 5px solid var(--copper);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  padding: 22px 24px;
  margin-bottom: 18px;
}
.spot-card .when { color: var(--copper-dark); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.spot-card h3 { margin: 4px 0 6px; }
.spot-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Steps (referral system) ---------- */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 26px 62px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: "Bitter", Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.steps li::after {
  content: "";
  position: absolute;
  left: 19px; top: 44px; bottom: 4px;
  width: 2px;
  background: var(--line);
}
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 2px; }
.steps p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Announcements ---------- */

.announce { border-left: 4px solid var(--gold); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); padding: 18px 22px; margin-bottom: 16px; }
.announce .when { color: var(--muted); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.announce h3 { margin: 3px 0 5px; }
.announce p { margin: 0; font-size: 0.95rem; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.contact-card h3 { display: flex; align-items: center; gap: 10px; }
.contact-card svg { width: 22px; height: 22px; color: var(--copper); }
.contact-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.contact-card a { font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: #b9c0d2; font-size: 0.88rem; margin-top: 40px; }
.site-footer .foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  padding: 44px 0 30px;
}
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 10px; }
.site-footer a { color: var(--gold-soft); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 7px; }
.foot-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0 26px;
  font-size: 0.8rem;
  color: #8d94a8;
}
@media (max-width: 760px) {
  .site-footer .foot-grid { grid-template-columns: 1fr; }
}

/* ---------- Two-column util ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ============================================================
   Polish pass — hovers, timeline, badges, empty states, misc
   ============================================================ */

/* Breathing room */
.section { padding: 72px 0; }

/* Micro-interactions (0.18s ease-out everywhere) */
.btn { transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background-color 0.18s ease-out; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20, 31, 56, 0.25); }
.card, .flyer, .contact-card, .spot-card, .announce {
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}
.card:hover, .flyer:hover, .contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(20, 31, 56, 0.08), 0 14px 32px rgba(20, 31, 56, 0.14);
}
.spot-card:hover, .announce:hover { transform: translateX(3px); }
.card .card-icon { transition: transform 0.18s ease-out; }
.card:hover .card-icon { transform: rotate(3deg); }
.card-link { transition: color 0.18s ease-out; }
a { transition: color 0.18s ease-out; }

/* Meeting materials timeline */
.timeline { list-style: none; margin: 8px 0 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 24px 48px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  display: flex;
  box-sizing: border-box;
}
.timeline li::after {
  content: "";
  position: absolute;
  left: 12px; top: 32px; bottom: 2px;
  width: 2px;
  background: var(--line);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline li.done::before {
  content: "\2713";
  border-color: #2c6234;
  background: #2c6234;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  line-height: 23px;
}
.timeline li.pending::before {
  border-color: var(--gold);
  background: var(--gold-soft);
}
.timeline strong { display: block; color: var(--navy); font-size: 0.98rem; }
.timeline small { color: var(--muted); font-size: 0.83rem; }
.timeline a { font-weight: 600; }

/* Color-coded announcements */
.a-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.a-badge.info      { background: #e2eaf6; color: #34558b; }
.a-badge.success   { background: #dcebdd; color: #2c6234; }
.a-badge.reminder  { background: var(--gold-soft); color: var(--copper-dark); }
.a-badge.urgent    { background: #f6dedb; color: #a03428; }
.announce.info     { border-left-color: #3f6bb0; }
.announce.success  { border-left-color: #2c6234; }
.announce.reminder { border-left-color: var(--gold); }
.announce.urgent   { border-left-color: #b03a2e; }

/* Empty states */
.empty-state {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 40px 26px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}
.empty-state strong {
  display: block;
  font-family: "Bitter", Georgia, serif;
  color: var(--navy);
  font-size: 1.08rem;
  margin-bottom: 5px;
}

/* Back to top */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(20, 31, 56, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out, background-color 0.18s ease-out, visibility 0.18s;
  z-index: 60;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--copper); color: #fff; }

/* Skip link (a11y) */
.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* Footer: 4 columns + meta line */
.site-footer .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
@media (max-width: 760px) { .site-footer .foot-grid { grid-template-columns: 1fr; } }
.foot-meta { color: #8d94a8; display: inline-block; margin-top: 8px; }

/* ============================================================
   Site search — icon-triggered expanding box + results dropdown
   ============================================================ */

.search-wrap {
  position: relative;
  margin-left: 6px;
  flex: 0 0 auto;
}
.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #e9ecf4;
  cursor: pointer;
  transition: background-color 0.18s ease-out, color 0.18s ease-out;
}
.search-toggle:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.search-toggle svg { width: 19px; height: 19px; }

.search-box {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  max-width: 88vw;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(20, 31, 56, 0.28);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out, visibility 0.18s;
  z-index: 80;
  overflow: hidden;
}
.search-wrap.open .search-box { opacity: 1; visibility: visible; transform: none; }

.search-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.search-input-row svg { width: 17px; height: 17px; color: var(--muted); flex: 0 0 auto; }
.search-box input[type="search"] {
  border: none;
  outline: none;
  font-family: "Public Sans", sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  flex: 1;
  min-width: 0;
  background: transparent;
}
.search-box input[type="search"]::-webkit-search-cancel-button { display: none; }

.search-results {
  max-height: 340px;
  overflow-y: auto;
}
.search-results a {
  display: block;
  padding: 11px 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.search-results a:last-child { border-bottom: none; }
.search-results a:hover, .search-results a.active { background: var(--sand); }
.search-results .r-page {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--copper-dark);
  margin-bottom: 2px;
}
.search-results .r-heading {
  font-family: "Bitter", Georgia, serif;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.search-results .r-snippet {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}
.search-results mark {
  background: var(--gold-soft);
  color: var(--navy);
  border-radius: 2px;
  padding: 0 1px;
}
.search-empty, .search-hint {
  padding: 20px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 1120px) {
  .search-box { right: -8px; }
}

/* ============================================================
   Flyer carousel — auto-rotate + manual arrows, one at a time
   ============================================================ */

.flyer-carousel {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  border: 1px solid var(--line);
}

.carousel-track {
  position: relative;
  aspect-ratio: 8.5 / 11;
  background: var(--sand);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease-out;
}
.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.carousel-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(20,31,56,0.82), rgba(20,31,56,0));
  color: #fff;
  padding: 28px 20px 14px;
  font-size: 0.92rem;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(20, 31, 56, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.18s ease-out;
  z-index: 5;
}
.carousel-arrow:hover { background: var(--copper); }
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.18s ease-out, transform 0.18s ease-out;
}
.carousel-dot.active {
  background: var(--copper);
  transform: scale(1.25);
}

@media (max-width: 600px) {
  .carousel-arrow { width: 34px; height: 34px; }
  .carousel-caption { font-size: 0.85rem; }
}
