/* South West Attractions. Colours from the produce banner: vineyard leaf, citrus, cream, estuary water. */

:root {
  --leaf: #2f6b34;
  --leaf-dark: #1d4522;
  --citrus: #e07a22;
  --citrus-dark: #b85d12;
  --cream: #fbf6ee;
  --paper: #fffdf8;
  --ink: #241c14;
  --muted: #5c5146;
  --water: #2f8fbf;
  --line: #e4d7c4;
  --shadow: 0 10px 28px rgba(36, 28, 20, 0.08);
  --radius: 14px;
  --max: 72rem;
  --font-display: "Fraunces", Georgia, "Palatino Linotype", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--leaf-dark); }
a:hover { color: var(--citrus-dark); }
.swa-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.swa-header { background: var(--leaf); }
.swa-brand { display: flex; justify-content: center; background: var(--cream); line-height: 0; padding: 0.85rem 1.25rem 0; }
.swa-brand-frame {
  position: relative;
  width: min(100%, calc(var(--max) - 2.5rem));
}
.swa-brand img {
  display: block;
  width: 100%;
  height: clamp(12.5rem, 32vw, 20rem);
  object-fit: cover;
  object-position: center 42%;
  margin: 0;
}
.swa-brand-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  background: linear-gradient(to top, rgba(16, 28, 14, 0.72), rgba(16, 28, 14, 0.05) 72%, transparent);
  pointer-events: none;
}
.swa-brand-title {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0.95rem;
  margin: 0;
  padding: 0 1.15rem;
  color: #fffdf8;
  font-family: var(--font-display);
  font-weight: 680;
  font-size: clamp(1.65rem, 3.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-align: left;
  text-shadow: 0 1px 10px rgba(12, 18, 10, 0.35);
}
.swa-brand-title span {
  display: block;
  margin: 0 0 0.28rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #f4e2b4;
}
.swa-bar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  min-width: 0;
  width: min(14rem, 100%);
  margin: 0;
  padding: 0.45rem 1.25rem 0.45rem 0.4rem;
  background: var(--leaf);
}
.swa-nav-toggle {
  display: none;
  margin-right: auto;
  border: 0;
  background: var(--leaf);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: 700 1rem/1 var(--font-body);
  cursor: pointer;
}
.swa-search { position: relative; width: 100%; min-width: 0; }
.swa-search input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font: 400 1rem/1.3 var(--font-body);
  color: var(--ink);
}
.swa-search input:focus { outline: 2px solid var(--water); border-color: transparent; }
.swa-results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.swa-results a {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
}
.swa-results a[aria-selected="true"],
.swa-results a:hover { background: #f4efe4; }
.swa-results strong { display: block; font-weight: 700; }
.swa-results span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.swa-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}
.swa-brand { grid-column: 1 / -1; grid-row: 1; }
.swa-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  padding: 0.7rem 0.6rem;
  background: var(--leaf);
  color: #fff;
}
.swa-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.swa-nav a:hover,
.swa-nav a[aria-current="page"] { color: #ffe1bf; }
.swa-towns { position: relative; }
.swa-towns summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.swa-towns summary::-webkit-details-marker { display: none; }
.swa-town-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  padding-top: 0.35rem;
}
.swa-town-list a { font-weight: 600; }

.swa-wrap { max-width: var(--max); margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
.swa-crumbs { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.8rem; }
.swa-crumbs a { color: var(--muted); }
.swa-h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 680;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--leaf-dark);
}
.swa-legacy {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem 1.6rem;
}
.swa-duplicate-title { display: none; }
.swa-legacy h2, .swa-legacy h3 {
  font-family: var(--font-display);
  color: var(--leaf-dark);
  line-height: 1.25;
}
.swa-legacy .AnchorImageBox {
  width: auto !important;
  max-width: 18rem;
  float: none;
  margin: 0.5rem 0 1rem;
}
.swa-legacy .AnchorImageCaption {
  background: var(--leaf);
  color: #fff;
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.9rem;
}
.swa-alt-pill {
  display: inline-block;
  background: #f4efe4;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.85rem;
}

.swa-legacy table { max-width: 100%; height: auto !important; }
.swa-legacy table[width] { width: auto !important; }
.swa-legacy td[height], .swa-legacy table[height] { height: auto !important; }
.swa-legacy table[border] { border-collapse: collapse; width: 100%; }
.swa-legacy table[border] td,
.swa-legacy table[border] th { border: 1px solid var(--line); padding: 0.35rem 0.5rem; }

.screen-reader-text, .elementor-screen-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.swa-legacy .Left:empty,
.swa-legacy .Right:empty,
.swa-legacy .right-side-menu { display: none; }

.swa-footer {
  background: var(--leaf-dark);
  color: #f4efe4;
  padding: 2rem 1.25rem 1.2rem;
}
.swa-footer a { color: #fff; text-decoration: none; }
.swa-footer a:hover { color: #ffe1bf; }
.swa-footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem 2rem;
}
.swa-footer h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
  color: #fff;
}
.swa-footer ul { list-style: none; margin: 0; padding: 0; }
.swa-footer li { margin: 0.15rem 0; }
.swa-marks {
  max-width: var(--max);
  margin: 1.2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.swa-marks img {
  height: 64px;
  width: auto;
  background: #f3e0b8;
  border-radius: 8px;
}
.swa-copy {
  max-width: var(--max);
  margin: 0.8rem auto 0;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .swa-header { grid-template-columns: 1fr; }
  .swa-nav-toggle { display: inline-block; }
  .swa-search { width: auto; flex: 1; }
  .swa-bar { grid-column: 1; grid-row: 2; justify-self: stretch; width: auto; }
  .swa-nav { grid-column: 1; grid-row: 3; display: none; justify-content: flex-start; margin-top: 0; }
  .swa-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1.25rem 1rem;
  }
  .swa-footer-grid { grid-template-columns: 1fr; }
  .swa-town-list { flex-direction: column; }
}

.swa-home-inner { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.swa-hero { padding: 2.25rem 0 2rem; }
.swa-hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.7fr); gap: 1.5rem; align-items: start; }
.swa-kicker {
  margin: 0 0 0.45rem;
  color: var(--citrus-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.swa-hero h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.swa-lead { margin-top: 0; font-size: 1.2rem; }
.swa-hero p { color: var(--ink); }
.swa-hero a { font-weight: 700; }
.swa-aside {
  background: var(--leaf-dark);
  color: #f6f1e8;
  border-radius: calc(var(--radius) + 4px);
  padding: 1.3rem 1.25rem 1.15rem;
  box-shadow: var(--shadow);
}
.swa-quote {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 680;
  line-height: 1.15;
  color: #fff;
}
.swa-aside p { margin: 0; color: #f0e6d6; }
.swa-jumps { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 1rem; }
.swa-jumps a { color: #ffe1bf; font-weight: 700; text-decoration: none; }
.swa-jumps a:hover { color: #fff; }

.swa-band { padding: 2.4rem 0 2.6rem; }
.swa-band-paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.swa-band-leaf { background: var(--leaf-dark); color: #fff; }
.swa-band-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}
.swa-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.swa-band-head a { font-weight: 700; white-space: nowrap; }
.swa-band-leaf h2 { color: #fff; }
.swa-band-leaf .swa-band-head a { color: #ffe1bf; }
.swa-band-leaf .swa-band-head a:hover { color: #fff; }
.swa-band-note { margin: -0.35rem 0 1rem; color: var(--muted); }

.swa-carousel-view { overflow: hidden; }
.swa-carousel-track { display: flex; transition: transform 0.45s ease; }
.swa-slide { display: grid; gap: 1rem; min-width: 0; }
.swa-slide figure, .swa-slide img { margin: 0; }
.swa-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.swa-card:hover { color: var(--ink); border-color: #efd3b0; }
.swa-card:hover h3 { color: var(--citrus-dark); }
.swa-card figure {
  aspect-ratio: 3 / 2;
  background: #efe6d8;
  overflow: hidden;
}
.swa-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swa-card-fallback {
  display: flex;
  align-items: flex-end;
  background: linear-gradient(160deg, var(--water), var(--leaf));
  color: #fff;
  padding: 1rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.15;
}
.swa-card h3 {
  margin: 0.85rem 1rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 680;
  line-height: 1.2;
}
.swa-card p {
  margin: 0 1rem 1rem;
  color: var(--muted);
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}
.swa-carousel-ui { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin-top: 1rem; }
.swa-prev, .swa-next {
  border: 0;
  background: var(--leaf);
  color: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font: 700 0.95rem/1 var(--font-body);
  cursor: pointer;
}
.swa-band-leaf .swa-prev, .swa-band-leaf .swa-next { background: var(--citrus); color: #fff; }
.swa-prev:hover, .swa-next:hover { background: var(--leaf-dark); }
.swa-band-leaf .swa-prev:hover, .swa-band-leaf .swa-next:hover { background: var(--citrus-dark); }
.swa-dots { display: flex; gap: 0.4rem; }
.swa-dots button {
  width: 0.72rem;
  height: 0.72rem;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #d9cbb8;
  cursor: pointer;
}
.swa-dots button[aria-current="true"] { background: var(--citrus); }
.swa-split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }

@media (max-width: 800px) {
  .swa-hero-grid, .swa-split { grid-template-columns: 1fr; }
  .swa-band-head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .swa-carousel-track { transition: none; }
}

.swa-contact { overflow-wrap: anywhere; }
.swa-contact p { margin: 0 0 0.85rem; }
.swa-contact a {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 4vw, 1.85rem);
  font-weight: 680;
  line-height: 1.25;
}
