/* staticcaptures.css
   CSS for the captures static SEO pages only.
   Extracted from Somewherehere.css — do NOT import Somewherehere.css alongside this file.
*/

/* ── Custom properties ──────────────────────────────── */
:root {
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --ink:          #1a2820;
  --ink-mid:      #3a4a42;
  --ink-soft:     #6a7a72;
  --ink-muted:    #9aaa9f;

  --paper:        #f5f3ee;
  --paper-warm:   #ede9e0;
  --white:        #ffffff;

  --teal:         #1a8a72;
  --teal-light:   #b5e8d8;
  --teal-pale:    #e8f5f1;

  --sage:         #5a8a6a;
  --sage-light:   #c8ddd2;

  --sky:          #4a90c4;
  --sky-light:    #b8d8ea;
  --sky-pale:     #e6f2fa;

  --amber:        #c87a10;
  --amber-light:  #fde8b4;

  --purple:       #6a48c8;
  --purple-light: #ece8f8;

  --divider:      #ddd8ce;
}

/* ── Base ───────────────────────────────────────────── */
html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: var(--paper);
  font-family: var(--font-body);
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
}

/* ── Container ──────────────────────────────────────── */
.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding: 0px;
  background-color: var(--paper);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.12);
}

.list-view {
  width: 100%;
  height: 100%;
}

/* ── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 24px;
  flex-shrink: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/beautifulvista.jpg');
  background-size: cover;
  background-position: center 55%;
  filter: brightness(0.96) saturate(1.18);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,16,8,0.42) 0%,
    rgba(0,16,8,0.0)  28%,
    rgba(0,16,8,0.0)  55%,
    rgba(0,16,8,0.62) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .branding-section {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hero .brand-logo-image {
  margin-top: -5px;
  margin-bottom: 0;
  width: 100px;
}

.hero .site-name-text {
  color: #ffffff;
  text-align: left;
}

/* ── Branding ───────────────────────────────────────── */
.branding-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.branding-section a {
  font-size: 0;
}

.brand-logo-image {
  width: 115px;
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  margin-bottom: 2px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-name-text {
  font-family: 'Fredoka', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-mid);
  text-align: center;
  margin-bottom: 2px;
  margin-top: 0px;
  padding: 0;
  line-height: 1.2;
  letter-spacing: 0.75px;
}

.vision-message {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  color: #ffffff;
  margin-top: 5px;
  margin-bottom: 3px;
  text-align: center;
}

/* ── Search panel ───────────────────────────────────── */
.search-panel {
  width: calc(100% - 32px);
  max-width: 660px;
  background: rgba(8,28,18,0.52);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 0.5px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-box {
  width: 100%;
  box-sizing: border-box;
  display: block;
  padding: 9px 13px;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background-color: rgba(255,255,255,0.94);
  outline: none;
}

.input-box:focus {
  background-color: var(--white);
}

.input-box::placeholder {
  color: var(--ink-soft);
}

.location-input-wrapper {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  margin-bottom: 0;
}

.location-input-wrapper .input-box {
  flex: 1;
  min-width: 0;
}

.location-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.14);
  border: 0.5px solid rgba(255,255,255,0.28);
  border-radius: 6px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 0;
}

.ai-textarea {
  height: 42px;
  resize: none;
  outline: none;
  font-size: 14px;
}

.ai-legal-footer {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  padding-top: 2px;
}

.ai-legal-link {
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
  margin-left: 2px;
}

.find-arrow-button {
  flex-shrink: 0;
  width: 40px;
  height: 36px;
  background: var(--teal);
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.find-arrow-button:hover {
  background: var(--sage);
}

.split-button-wrapper {
  position: relative;
  flex-shrink: 0;
  z-index: 10;
}

.split-toggle-btn {
  background: rgba(255,255,255,0.12);
  border: 0.5px solid rgba(255,255,255,0.26);
  color: rgba(255,255,255,0.9);
  border-radius: 6px;
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  height: 36px;
}

.split-toggle-btn:hover {
  background: rgba(255,255,255,0.18);
}

.suggestions-dropdown {
  position: absolute;
  top: 100%;
  align-items: center;
  justify-content: center;
  width: 60%;
  border: 1px solid #F9FBFC;
  background-color: #f5f5f5;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  font-size: 18px;
  display: none;
}

.suggestions-dropdown div {
  padding: 8px;
  cursor: pointer;
  color: var(--ink-mid);
}

.suggestions-dropdown div:hover {
  background-color: #D5DEEC;
}

/* ── Share / social ─────────────────────────────────── */
.socialshare-header-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 12px;
  padding-bottom: 4px;
}

.socialshare-button-group {
  position: absolute;
  right: 10px;
  top: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.socialshare-button-group:hover {
  opacity: 0.7;
}

.socialshare-icon-image {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin-right: 4px;
  margin-bottom: 2px;
}

.socialshare-text {
  font-size: 7.5px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.sociallist-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 3px;
  padding-right: 45px;
  line-height: 1.3;
}

.subtitle-text {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 400;
  display: block;
  margin-top: 2px;
}

/* ── Map wrapper ────────────────────────────────────── */
.map-wrapper {
  position: relative;
  width: 100%;
  height: calc(25vw);
  overflow: hidden;
}

.map-wrapper-listview-height {
  height: calc(25vw);
}

/* ── Grid / gallery layout ──────────────────────────── */
.grid-container {
  flex: 1;
  display: grid;
  margin: 20px;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.image-grid-container {
  margin-top: 0px;
  position: relative;
}

.image-element-class {
  position: relative;
  margin-bottom: 30px;
  margin-left: 10px;
  margin-right: 10px;
  width: calc(33.333% - 40px);
  box-sizing: border-box;
}

.image-element-class img {
  width: 100%;
  height: auto;
  display: block;
}

.image-element-class a {
  text-decoration: none;
  color: inherit;
}

/* Masonry column gallery — column-count set here, NOT inline */
.my-gallery-class {
  display: block;
  column-count: 3;
  column-gap: 16px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  width: calc(100% - 40px);
}

/* ── Article / place cards ──────────────────────────── */
.article-element-class {
  position: relative;
  margin-bottom: 30px;
  margin-left: 10px;
  margin-right: 10px;
  width: calc(33.333% - 40px);
  box-sizing: border-box;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: var(--white);
  border: 0.5px solid var(--divider);
  border-radius: 5px;
}

.article-element-class.m-card {
  padding: 0;
  margin-bottom: 10px;
  overflow: hidden;
}

.m-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.m-card:hover img {
  transform: scale(1.03);
}

.m-attr {
  padding: 7px 11px 0;
  font-size: 10px;
  color: var(--ink-muted);
  line-height: 1.4;
}

.m-attr a {
  font-size: 10px;
  color: var(--ink-muted);
  text-decoration: none;
}

.m-body {
  padding: 5px 11px 13px;
}

.m-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  margin-top: 6px;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.m-place {
  font-size: 10px;
  color: var(--ink-muted);
  margin-bottom: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.m-desc {
  font-size: 12px;
  color: var(--ink-mid);
  line-height: 1.58;
  margin-bottom: 8px;
}

.m-reason {
  font-size: 12px;
  font-style: italic;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.55;
  border-left: 2px solid var(--teal-light);
  padding-left: 9px;
  margin: 0;
}

/* Trip overview / summary card */
.article-element-class.m-quote-card {
  background: #1c3830;
  padding: 28px 20px 24px;
}

.m-quote-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(255,255,255,0.88);
  text-align: center;
  margin-top: 0;
  font-weight: 400;
}

.m-quote-card p {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  text-align: center;
}

.m-quote-card hr {
  border: none;
  border-top: 0.5px solid rgba(255,255,255,0.15);
  margin: 12px 0;
}

/* ── Card tags ──────────────────────────────────────── */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 0.5px solid #e5e7eb;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 400;
}

.card-tag i { font-size: 14px; }
.card-tag.dog-friendly    { background: #E1F5EE; color: #0F6E56; }
.card-tag.family-friendly { background: #E6F1FB; color: #185FA5; }
.card-tag.cafe-on-site    { background: #FAEEDA; color: #854F0B; }
.card-tag.good-for-walk   { background: #EAF3DE; color: #3B6D11; }
.card-tag.scenic          { background: #EEEDFE; color: #534AB7; }
.card-tag.farm-shop       { background: #F4EDE4; color: #7A4A20; }
.card-tag.good-restaurant { background: #FCE8F0; color: #992244; }

/* ── Places list (sidebar strip) ────────────────────── */
.places-overlay {
  position: relative;
  height: calc(25vw - 20px);
  background-color: rgba(255, 255, 255, 0.9);
  overflow-y: auto;
  padding: 10px;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}

.places-overlay-content {
  position: absolute;
  top: 16px;
  left: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 16px);
  overflow-y: auto;
  padding-left: 3px;
  padding-right: 3px;
  box-sizing: border-box;
}

.places-list {
  font-size: 12px;
  padding: 0;
  list-style-type: none;
}

.place-item {
  position: relative;
  font-size: 12px;
  background-color: var(--white);
  border: 0.5px solid var(--divider);
  border-radius: 5px;
  padding: 10px;
  margin: 10px 0;
  text-align: left;
  min-width: 250px;
  min-height: 40px;
  cursor: pointer;
}

.place-item h5 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

.place-item.selected {
  background-color: #f0f0f0;
  border: 2px solid #04d44c;
}

/* ── Place item metadata ────────────────────────────── */
.description-strapline {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 2px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  padding-right: 5px;
}

.list-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.like-icon {
  width: 22px;
  height: 22px;
  margin-left: 2px;
  margin-right: 10px;
  cursor: pointer;
  position: static;
}

.title-distance-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.title-distance-container div p {
  display: inline;
  padding-top: 5px;
  margin: 0;
}

.title-distance-container div {
  display: flex;
  align-items: flex-start;
}

.place-category {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 10px;
  padding-right: 5px;
  padding-top: 5px;
  color: var(--ink-muted);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.km-distance {
  white-space: nowrap;
  margin-left: 5px;
  padding-top: 5px;
  flex-shrink: 0;
  font-size: 10px;
  color: var(--ink-muted);
}

.address-line {
  font-size: 11px;
  color: var(--ink-muted);
  margin: 0;
}

.place-moreinfo-container {
  position: absolute;
  bottom: 5px;
  right: 5px;
  text-align: right;
  font-size: 12px;
}

.place-moreinfo-container a {
  background: none;
  color: var(--sky);
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  padding: 0;
}

.place-moreinfo-container a:hover {
  text-decoration: underline;
}

/* ── Section divider ────────────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 4px 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: var(--ink-muted);
  opacity: 0.35;
}

.divider-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}

/* ── Footer ─────────────────────────────────────────── */
.footer-info {
  flex-shrink: 1;
  padding: 0px;
  font-size: 14px;
  margin-left: 100px;
  margin-right: 100px;
  margin-top: 25px;
}

.footer-info a {
  color: var(--ink-mid);
  text-decoration: none;
  margin: 0 10px;
}

.footer-info a:hover {
  color: #007bff;
  text-decoration: underline;
}

.footer-info p {
  display: flex;
  justify-content: center;
}

.ai-legal-footer {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  padding-top: 2px;
}

.ai-legal-link {
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
  margin-left: 2px;
}

/* ── Misc ───────────────────────────────────────────── */
.poweredby {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  font-size: 15px;
}

.image-attribution {
  margin-top: 1px;
  font-size: 9px;
  line-height: 1.0;
  opacity: 0.75;
}

/* ── AI place card ──────────────────────────────────── */
.ai-place-card {
  border: 2px solid transparent;
}

.ai-place-card.selected {
  border-color: #04d44c;
  background-color: #f9fffb;
}

/* ── Responsive: tablets (≤768px) ───────────────────── */
@media (max-width: 768px) {
  .my-gallery-class {
    column-count: 1;
  }

  .grid-container {
    grid-template-columns: 1fr !important;
    margin: 0px;
    row-gap: 20px;
    column-gap: 20px;
    margin-bottom: 10px;
  }

  .map-wrapper,
  .image-grid-container {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .map-wrapper {
    position: relative;
    width: 100%;
    height: 65vw;
  }

  .map-wrapper-listview-height {
    height: calc(65vw);
  }

  .places-overlay {
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0px;
    height: fit-content;
    overflow-y: visible;
    overflow-x: hidden;
  }

  .places-overlay-content {
    position: static;
    width: auto;
    height: fit-content;
    overflow-y: hidden;
    padding: 0;
    padding-top: 8px;
  }

  .places-list {
    display: flex;
    padding-left: 3px;
    padding-right: 3px;
    margin: 0;
    overflow-x: auto;
  }

  .place-item {
    margin-left: 2px;
    margin-right: 2px;
    width: 250px;
    flex-shrink: 0;
  }

  .place-item,
  .title-distance-container,
  .place-category,
  .title-distance-container p,
  .place-moreinfo-container {
    font-size: 11px;
  }

  .image-grid-container {
    margin-right: 40px;
  }

  .image-element-class {
    position: relative;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
    width: calc(100% - 20px);
    box-sizing: border-box;
  }

  .article-element-class {
    position: relative;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
    width: calc(100% - 20px);
    box-sizing: border-box;
  }

  .title-distance-container {
    max-width: 100%;
    width: 100%;
  }

  .title-distance-container p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    max-width: 100%;
    display: block;
  }

  .title-distance-container h5 {
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.2em;
    max-width: 100%;
    display: block;
  }

  .place-item .description-strapline,
  .place-item .address-line {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: auto;
    margin-top: 2px;
    flex: 1;
  }

  .list-item-meta {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    white-space: normal;
    width: 100%;
  }

  .km-distance {
    flex-shrink: 0;
    white-space: nowrap;
    margin-left: 8px;
    text-align: right;
  }

  .footer-info {
    font-size: 14px;
    width: 100%;
    margin-left: 5px;
    margin-right: 5px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .input-box {
    padding: 8px 4px;
    text-overflow: ellipsis;
  }

  .ai-row {
    flex-wrap: wrap;
    gap: 6px;
  }

  .ai-input-wrapper {
    flex: none;
    width: 100%;
  }

  .split-button-wrapper {
    margin-left: auto;
  }

  .location-input-wrapper .input-box {
    flex: 1;
    min-width: 0;
  }

  .location-icon {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .input-box,
  .ai-textarea,
  .location-input-wrapper input {
    font-size: 16px;
  }

  .hero {
    height: auto;
    min-height: 300px;
    padding-bottom: 20px;
  }

  .search-panel {
    width: calc(100% - 48px);
  }
}
