/* Shared styles for the On Island Hosting blog pages.
   Header, footer and color tokens match the homepage (index.html). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --soft-white:     #F7F5F0;
  --warm-beige:     #EFEAE2;
  --olive:          #6B7D6B;
  --deep-olive:     #3E4A3F;
  --sage:           #7A8F7A;
  --dark:           #1c2420;
  --font-cinzel:    'Cinzel', serif;
  --font-cormorant: 'Cormorant Garamond', serif;
  --font-nunito:    'Nunito', sans-serif;
}

body {
  background: var(--soft-white);
  color: var(--deep-olive);
  font-family: var(--font-nunito);
  -webkit-font-smoothing: antialiased;
}

/* ── Header (same as homepage) ── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(247,245,240,0.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107,125,107,0.1);
  transition: box-shadow 0.3s;
}
#site-header.scrolled { box-shadow: 0 2px 24px rgba(28,36,32,0.1); }
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2.5rem; height: 74px;
  display: flex; align-items: center; justify-content: space-between;
}
.header-logo img { height: 58px; width: auto; object-fit: contain; display: block; }
.header-right { display: flex; align-items: center; gap: 2rem; }
.header-nav { display: flex; align-items: center; gap: 2rem; }
.header-nav a {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--deep-olive); text-decoration: none; transition: color 0.2s; white-space: nowrap;
}
.header-nav a:hover, .header-nav a[aria-current] { color: var(--olive); }
.nav-cta {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--sage); color: #fff; padding: 0.65rem 1.6rem; border-radius: 100px;
  text-decoration: none; transition: background 0.2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--olive); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--deep-olive); }
.mobile-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--soft-white); border-top: 1px solid var(--warm-beige);
  padding: 1.25rem 2rem 1.75rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; font-weight: 600; font-size: 0.95rem; color: var(--deep-olive);
  text-decoration: none; padding: 0.7rem 0; border-bottom: 1px solid var(--warm-beige);
}
.mobile-menu a.mobile-cta {
  border: none; margin-top: 1rem; text-align: center; background: var(--sage);
  color: #fff; border-radius: 100px; padding: 0.7rem;
}
@media (max-width: 920px) { .header-nav { display: none; } .mobile-toggle { display: block; } }
@media (max-width: 640px) {
  .header-right .nav-cta { display: none; }
  .header-inner { padding: 0 1.25rem; }
}

.section-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--olive); display: block; margin-bottom: 1.2rem;
}

/* ── Blog index ── */
.blog-index { padding: 9rem 2rem 6rem; }
.blog-index-inner { max-width: 1100px; margin: 0 auto; }
.blog-index h1 {
  font-family: var(--font-cormorant); font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.1; margin-bottom: 0.8rem;
}
.blog-index .intro {
  font-size: 1rem; line-height: 1.75; color: rgba(62,74,63,0.62);
  max-width: 560px; margin-bottom: 3rem;
}
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
@media (max-width: 760px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  background: var(--warm-beige); border-radius: 1.5rem; overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
}
.post-card:hover { transform: translateY(-5px); box-shadow: 0 18px 50px rgba(62,74,63,0.1); }
.post-card-img { aspect-ratio: 1200 / 630; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { padding: 1.75rem 2rem 2rem; display: flex; flex-direction: column; flex: 1; }
.post-meta {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 0.7rem;
}
.post-card h2 {
  font-family: var(--font-cormorant); font-size: 1.7rem; font-weight: 600;
  line-height: 1.2; margin-bottom: 0.7rem;
}
.post-card p { font-size: 0.9rem; line-height: 1.75; color: rgba(62,74,63,0.66); flex: 1; margin-bottom: 1.25rem; }
.read-more {
  align-self: flex-start; font-size: 0.82rem; font-weight: 700; color: var(--olive);
  border-bottom: 1px solid var(--olive); padding-bottom: 1px;
}

/* ── Article ── */
.article { padding: 8.5rem 1.5rem 5rem; }
.article-inner { max-width: 720px; margin: 0 auto; }
.breadcrumb { font-size: 0.8rem; margin-bottom: 2rem; color: rgba(62,74,63,0.55); }
.breadcrumb a { color: var(--olive); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.article h1 {
  font-family: var(--font-cormorant); font-weight: 500;
  font-size: clamp(2.2rem, 5.5vw, 3.4rem); line-height: 1.12; margin-bottom: 1.25rem;
}
.byline {
  display: flex; align-items: center; gap: 0.85rem; padding-bottom: 2rem;
  margin-bottom: 2.5rem; border-bottom: 1px solid rgba(107,125,107,0.2);
}
.byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.byline-name { font-weight: 700; font-size: 0.92rem; }
.byline-sub { font-size: 0.8rem; color: rgba(62,74,63,0.58); }

.prose { font-size: 1.07rem; line-height: 1.85; color: rgba(62,74,63,0.88); }
.prose p { margin-bottom: 1.35rem; }
.prose strong { color: var(--deep-olive); font-weight: 700; }
.prose h2 {
  font-family: var(--font-cormorant); font-weight: 600; color: var(--deep-olive);
  font-size: clamp(1.65rem, 3.6vw, 2.1rem); line-height: 1.2;
  margin: 3.25rem 0 1.1rem;
}
.prose .lead { font-size: 1.2rem; line-height: 1.75; color: var(--deep-olive); }
.prose .callout {
  background: var(--warm-beige); border-left: 3px solid var(--sage);
  padding: 1.25rem 1.5rem; border-radius: 0 0.9rem 0.9rem 0;
}
.prose .callout p:last-child { margin-bottom: 0; }
.prose figure { margin: 2.75rem auto; max-width: 560px; }
.prose figure img {
  width: 100%; height: auto; display: block; border-radius: 1.25rem;
  background: var(--warm-beige);
}
.prose figure.narrow { max-width: 520px; }

.article-cta {
  margin-top: 3.5rem; background: var(--deep-olive); color: var(--soft-white);
  border-radius: 1.5rem; padding: 2.75rem 2.25rem; text-align: center;
}
.article-cta h2 {
  font-family: var(--font-cormorant); font-weight: 500; font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.2; margin-bottom: 0.75rem; color: var(--soft-white);
}
.article-cta p { font-size: 1rem; line-height: 1.7; color: rgba(247,245,240,0.75); margin-bottom: 1.6rem; }
.article-cta a {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; background: var(--sage); color: #fff; text-decoration: none;
  padding: 0.9rem 2rem; border-radius: 100px; transition: background 0.2s;
}
.article-cta a:hover { background: var(--olive); }
.back-link { display: inline-block; margin-top: 2.5rem; font-size: 0.85rem; font-weight: 700; color: var(--olive); text-decoration: none; }
.back-link:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .article { padding-top: 7rem; }
  .prose { font-size: 1.02rem; }
  .article-cta { padding: 2.25rem 1.5rem; }
}

/* ── Footer (same as homepage) ── */
footer { background: var(--deep-olive); color: rgba(247,245,240,0.6); padding: 4.5rem 2rem 2.5rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(247,245,240,0.1); margin-bottom: 2rem;
}
@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand-name {
  font-family: var(--font-cinzel); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.22em;
  color: rgba(247,245,240,0.9); margin-bottom: 0.9rem; display: block;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.75; margin-bottom: 1.25rem; }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a { color: rgba(247,245,240,0.5); transition: color 0.2s; }
.footer-socials a:hover { color: rgba(247,245,240,0.9); }
.footer-col h4 {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(247,245,240,0.9); margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(247,245,240,0.52); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: rgba(247,245,240,0.9); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.85rem;
  color: rgba(247,245,240,0.52); margin-bottom: 0.65rem;
}
.footer-contact-item a { color: inherit; text-decoration: none; transition: color 0.2s; }
.footer-contact-item a:hover { color: rgba(247,245,240,0.9); }
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; }
.footer-bottom { text-align: center; font-size: 0.74rem; color: rgba(247,245,240,0.3); }
