/* ========================================
   BBWHookup.co.uk — Shared Stylesheet
   Modern Warm Editorial Design System
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: #2c2c2c;
  background: #faf9f7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border-radius: 10px; }
a { color: #b5544e; text-decoration: none; transition: color .2s ease; }
a:hover { color: #8e3e39; }
a:focus-visible { outline: 2px solid #b5544e; outline-offset: 3px; border-radius: 3px; }

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: #1e1e1e;
  line-height: 1.28;
  font-weight: 700;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.65rem); margin-bottom: .55em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); margin-bottom: .5em; margin-top: 2.2em; }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.35rem); margin-bottom: .45em; margin-top: 1.6em; }

p { margin-bottom: 1.15em; max-width: 68ch; }
ul, ol { margin-bottom: 1.15em; padding-left: 1.4em; }
li { margin-bottom: .35em; }

/* --- Layout helpers --- */
.container { width: 92%; max-width: 1120px; margin: 0 auto; }
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }

/* --- Header --- */
.site-header {
  background: #fff;
  border-bottom: 1px solid #ece8e3;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 0;
}
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e1e1e;
  letter-spacing: -.02em;
}
.brand:hover { color: #b5544e; }

/* Desktop nav */
.main-nav { display: flex; gap: 1.6rem; list-style: none; }
.main-nav a {
  font-size: .92rem;
  font-weight: 500;
  color: #444;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #b5544e;
  border-bottom-color: #b5544e;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  color: #1e1e1e;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #ece8e3;
    padding: .5rem 4%;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .7rem 0; font-size: 1rem; border-bottom: none; }
}

/* --- Hero sections --- */
.hero {
  padding: 3.5rem 0 3rem;
  text-align: center;
}
.hero p { margin-left: auto; margin-right: auto; max-width: 62ch; }

/* Landing heroes — homepage + city pages */
.hero-home,
.hero-city {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(54vh, 62vh, 72vh);
  padding: 5rem 0 4.5rem;
  background: linear-gradient(168deg, #fdf6f3 0%, #faf9f7 100%);
}
.hero-home h1,
.hero-city h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.18;
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.8rem;
}
.hero-city {
  background: #fdf6f3;
}
.hero-btn {
  display: inline-block;
  margin-top: .4rem;
  padding: 1rem 2.8rem;
  font-size: 1.1rem;
}

.hero-blog-index {
  padding: 3rem 0 2.5rem;
  background: #f7f4f1;
}

/* --- Section spacing --- */
.section { padding: 3rem 0; }
.section--alt { background: #fff; }
.section--warm { background: #fdf6f3; }
.section--light { background: #f7f4f1; }

/* --- Cards --- */
.card {
  background: #fff;
  border: 1px solid #ece8e3;
  border-radius: 12px;
  padding: 1.6rem;
  transition: box-shadow .2s ease;
}
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.05); }

.card-grid {
  display: grid;
  gap: 1.4rem;
}
.card-grid--2 { grid-template-columns: 1fr; }
.card-grid--3 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card h3 { margin-top: 0; }
.card h3 a { color: #1e1e1e; }
.card h3 a:hover { color: #b5544e; }
.card p { color: #555; font-size: .97rem; }

/* --- City cards (locations page) --- */
.city-card {
  display: block;
  padding: 1.5rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ece8e3;
  transition: box-shadow .2s, border-color .2s;
}
.city-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
  border-color: #d4c4bc;
}
.city-card h3 { margin-top: 0; font-size: 1.15rem; }
.city-card p { color: #555; font-size: .93rem; margin-bottom: 0; }

/* --- Snapshot / testimonial cards --- */
.snapshot-card {
  background: #fff;
  border-left: 4px solid #d4a99a;
  padding: 1.35rem 1.5rem;
  border-radius: 0 10px 10px 0;
  margin-bottom: 1.2rem;
}
.snapshot-card strong { display: block; color: #1e1e1e; margin-bottom: .3rem; font-size: .95rem; }
.snapshot-card p { color: #555; font-size: .95rem; margin-bottom: 0; }

/* --- CTA blocks --- */
.cta-block {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #fdf6f3;
  border-radius: 14px;
  margin: 2.5rem 0;
}
.cta-block p {
  max-width: 54ch;
  margin: 0 auto 1.3rem;
  font-size: 1.05rem;
  color: #444;
}
.btn {
  display: inline-block;
  padding: .82rem 2.2rem;
  background: #b5544e;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn:hover { background: #9c433e; color: #fff; transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid #b5544e; outline-offset: 3px; }

/* Variant CTA styles for anti-footprint */
.cta-bordered {
  background: #fff;
  border: 2px solid #e8d8d1;
}
.cta-wide {
  border-radius: 0;
  margin-left: -4%;
  margin-right: -4%;
  padding: 3.2rem 6%;
}

/* --- FAQ --- */
.faq { padding: 2.5rem 0; }
.faq-item {
  border-bottom: 1px solid #ece8e3;
  padding: 1.1rem 0;
}
.faq-item:first-child { border-top: 1px solid #ece8e3; }
.faq-item h3 {
  font-size: 1.05rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  margin: 0 0 .4rem;
  color: #1e1e1e;
}
.faq-item p { color: #555; margin-bottom: 0; font-size: .96rem; }

/* --- Breadcrumb --- */
.breadcrumb { font-size: .85rem; color: #888; margin-bottom: .5rem; }
.breadcrumb a { color: #888; text-decoration: underline; }
.breadcrumb a:hover { color: #b5544e; }

/* --- Article images --- */
.article-image { margin: 2rem 0; }
.article-image img { width: 100%; height: auto; border-radius: 10px; display: block; }

/* --- Blog article typography --- */
.article-body h2 { margin-top: 2.5rem; }
.article-body h3 { margin-top: 1.8rem; }
.article-body blockquote {
  border-left: 3px solid #d4a99a;
  padding: .8rem 1.2rem;
  margin: 1.5rem 0;
  color: #555;
  font-style: italic;
  background: #fdf6f3;
  border-radius: 0 8px 8px 0;
}
.article-body ul, .article-body ol { max-width: 62ch; }

/* Example openers in blog articles */
.example-opener {
  background: #fff;
  border: 1px solid #ece8e3;
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
  margin: 1rem 0;
  font-style: italic;
  color: #444;
}

/* --- Two-column intro (layout variation) --- */
.intro-split {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 768px) {
  .intro-split { grid-template-columns: 1.2fr .8fr; }
}
.intro-sidebar {
  background: #fff;
  border: 1px solid #ece8e3;
  border-radius: 12px;
  padding: 1.4rem;
}
.intro-sidebar h3 { margin-top: 0; font-size: 1.05rem; }
.intro-sidebar p { font-size: .93rem; color: #555; }

/* --- Full-width intro + side note --- */
.intro-with-note {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .intro-with-note { grid-template-columns: 2fr 1fr; }
}
.side-note {
  background: #fdf6f3;
  border-radius: 12px;
  padding: 1.3rem 1.4rem;
  border-left: 4px solid #d4a99a;
}
.side-note h3 { margin-top: 0; font-size: 1rem; }
.side-note p { font-size: .92rem; color: #555; margin-bottom: 0; }

/* --- Image placeholders --- */
.img-placeholder {
  background: #ece8e3;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: .85rem;
  min-height: 200px;
  overflow: hidden;
}
.img-placeholder img { width: 100%; height: 100%; object-fit: cover; }

/* --- Internal link blocks --- */
.link-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.link-list a {
  display: inline-block;
  padding: .45rem 1rem;
  background: #fff;
  border: 1px solid #ece8e3;
  border-radius: 6px;
  font-size: .9rem;
  color: #444;
  transition: background .2s, border-color .2s;
}
.link-list a:hover {
  background: #fdf6f3;
  border-color: #d4a99a;
  color: #b5544e;
}

/* --- Footer --- */
.site-footer {
  background: #1e1e1e;
  color: #bbb;
  padding: 2.8rem 0 1.8rem;
  font-size: .9rem;
  margin-top: 3rem;
}
.footer-inner {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 1.3fr 1fr 1fr; }
}
.site-footer a { color: #d4a99a; }
.site-footer a:hover { color: #fff; }
.footer-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .35rem; }
.footer-summary { color: #888; font-size: .84rem; margin-top: .5rem; }
.footer-copy {
  border-top: 1px solid #333;
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  text-align: center;
  color: #777;
  font-size: .82rem;
}

/* --- Legal pages --- */
.legal-page { padding: 3rem 0; }
.legal-page h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.legal-page h2 { font-size: 1.2rem; margin-top: 2rem; }
.legal-page p { max-width: 72ch; }
.legal-page ul { max-width: 72ch; }

/* --- Blog listing --- */
.blog-list { display: grid; gap: 1.5rem; }
.blog-preview {
  background: #fff;
  border: 1px solid #ece8e3;
  border-radius: 12px;
  padding: 1.5rem 1.6rem;
  transition: box-shadow .2s;
}
.blog-preview:hover { box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.blog-preview h3 { margin-top: 0; }
.blog-preview h3 a { color: #1e1e1e; }
.blog-preview h3 a:hover { color: #b5544e; }
.blog-preview p { color: #555; font-size: .95rem; }
.blog-preview .read-more { font-weight: 600; font-size: .9rem; }

/* --- Related links in articles --- */
.related-links {
  background: #f7f4f1;
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
  margin-top: 2rem;
}
.related-links h3 { margin-top: 0; font-size: 1.05rem; }
.related-links ul { list-style: none; padding: 0; }
.related-links li { margin-bottom: .5rem; }
.related-links a { font-weight: 500; }

/* --- Scenario / mood blocks --- */
.mood-block {
  background: #fdf6f3;
  border-radius: 12px;
  padding: 1.8rem 1.6rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #555;
  line-height: 1.78;
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- Print --- */
@media print {
  .site-header, .site-footer, .cta-block, .nav-toggle { display: none; }
  body { font-size: 11pt; color: #000; background: #fff; }
}
