/* =================================================================
   Chin Chillas Island Travel Blog — site stylesheet (2026 redesign)
   One file for the whole site. Mobile-first. Tokens in :root.
   Identity: St. Kitts' green volcanic slopes — rainforest green, pale
   sugar-cane background, flamboyant-tree orange, a touch of sun yellow —
   with Unbounded (wide, rounded) for headings and Karla for text.
   Motifs: faint topographic contour lines (Mt. Liamuiga) behind the
   heroes, hero images framed as a rounded "volcano dome" that rises out of the
   hero's lower edge, and a small sun dot marking the current menu item.
   Deliberately different from the other network sites (oceansidebistro.net
   waves, asianrestaurantvi.com lacquer frames, baznotik.com sail slants,
   bowlingvi.com retro marquee, chenaybay.com cabana stripes + pebbles).
   ================================================================= */

:root{
  --forest:      #1F4A30;   /* heroes */
  --forest-deep: #14331F;   /* footer */
  --flame:       #C43E19;   /* flamboyant orange: buttons, accents */
  --cane:        #EEF3E2;   /* page background */
  --leaf:        #A8C77A;   /* contour lines, borders */
  --sun:         #F5C343;   /* active-menu dot, small highlights */
  --night:       #1A2219;   /* text */
  --muted:       #4F5B4C;
  --line:        rgba(26,34,25,.13);

  --font-display: 'Unbounded', 'Arial Black', Arial, sans-serif;
  --font-body:    'Karla', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1160px;
  --gutter: 20px;
  --dome: 50% 50% 22px 22px / 64% 64% 22px 22px;
  --contours: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none' stroke='%23A8C77A' stroke-opacity='.4' stroke-width='1.4'%3E%3Cpath d='M300 70c120 0 230 90 230 220s-120 240-240 240S70 430 70 300 180 70 300 70z'/%3E%3Cpath d='M300 115c100 0 185 78 185 180s-98 195-195 195-175-80-175-190 85-185 185-185z'/%3E%3Cpath d='M305 160c80 0 140 64 140 140s-72 150-150 150-135-66-135-146 65-144 145-144z'/%3E%3Cpath d='M300 205c58 0 98 46 98 98s-50 104-104 104-92-48-92-102 40-100 98-100z'/%3E%3Cpath d='M302 250c34 0 56 26 56 54s-28 58-60 58-52-28-52-58 22-54 56-54z'/%3E%3C/svg%3E");
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body{
  margin: 0;
  background: var(--cane);
  color: var(--night);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
}
img{ max-width: 100%; height: auto; display: block; }
a{ color: var(--forest); }
a:hover{ color: var(--flame); }
:focus-visible{ outline: 3px solid var(--flame); outline-offset: 3px; }

h1,h2,h3{ font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin: 0; color: var(--forest); }

.skip-link{
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--flame); color: #fff; padding: 10px 16px; font-weight: 700; text-decoration: none;
}
.skip-link:focus{ top: 12px; }

/* ---------- Brand (header + footer) ---------- */
.brand{ display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); }
.brand:hover{ color: var(--forest); }
.brand__mark{ width: 44px; height: 44px; flex: none; }
.brand__text{ display: flex; flex-direction: column; line-height: 1.1; }
.brand__name{ font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; white-space: nowrap; }
.brand__tag{ font-size: 13.5px; color: var(--muted); margin-top: 4px; white-space: nowrap; }
@media (max-width: 480px){
  .site-header .brand{ flex: 1 1 0; min-width: 0; }
  .site-header .brand__tag{ white-space: normal; }
}

/* ---------- Header + shared network menu (.bnet-menu from gandor.tv) ---------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(238,243,226,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner{
  max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gutter);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.nav-toggle{
  margin-left: auto;
  font: 700 15px/1 var(--font-body); color: #fff;
  background: var(--forest); border: 0; border-radius: 14px; padding: 12px 18px; cursor: pointer;
}
html:not(.js) .nav-toggle{ display: none; }

.site-nav{ flex-basis: 100%; }
.js .site-nav{ display: none; }
.js .site-nav.is-open{ display: block; }

.bnet-menu{ list-style: none; margin: 0; padding: 4px 0 12px; }
.bnet-menu a{
  display: block; padding: 11px 2px;
  font-weight: 500; font-size: 17px; color: var(--night); text-decoration: none;
  border-top: 1px solid var(--line);
}
.bnet-menu a:hover{ color: var(--flame); }

/* active page: body page-* class + li bnet-* class */
.page-home .bnet-home a,
.page-website-solutions .bnet-website-solutions a,
.page-thrive .bnet-thrive a,
.page-directory .bnet-directory a,
.page-photos .bnet-photos a,
.page-free-stuff .bnet-free-stuff a,
.page-blog-network .bnet-blog-network a{ color: var(--flame); font-weight: 700; }

@media (min-width: 1140px){
  .site-header__inner{ flex-wrap: nowrap; }
  .nav-toggle{ display: none; }
  .site-nav, .js .site-nav{ display: block; flex-basis: auto; margin-left: auto; }
  .bnet-menu{ display: flex; gap: 2px; padding: 0; }
  .bnet-menu a{ border-top: 0; padding: 14px 10px 8px; font-size: 16px; white-space: nowrap; position: relative; }
  .page-home .bnet-home a::before,
  .page-website-solutions .bnet-website-solutions a::before,
  .page-thrive .bnet-thrive a::before,
  .page-directory .bnet-directory a::before,
  .page-photos .bnet-photos a::before,
  .page-free-stuff .bnet-free-stuff a::before,
  .page-blog-network .bnet-blog-network a::before{
    content: ""; position: absolute; top: 2px; left: 50%; width: 8px; height: 8px; margin-left: -4px;
    border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 2px var(--flame);
  }
}

/* ---------- Heroes: rainforest green with contour lines; image rises as a dome ---------- */
.hero{
  position: relative; overflow: hidden;
  background: var(--contours) right -120px top -80px / 720px 720px no-repeat, var(--forest);
  color: #fff;
}
.hero__inner{ position: relative; max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gutter) 0; }
.hero__copy{ max-width: 820px; }
.hero__title{
  color: #fff;
  font-size: clamp(30px, 4.8vw, 60px);
  line-height: 1.12;
  text-wrap: balance;
}
.hero__lede{ margin: 20px 0 0; max-width: 52ch; font-size: clamp(18px, 1.6vw, 21px); color: rgba(255,255,255,.85); }
.hero__lede a{ color: var(--sun); }
.hero__actions{ margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.hero--page .hero__title{ font-size: clamp(28px, 4vw, 48px); }
.hero--page .hero__inner{ padding-top: 44px; }
.hero--no-image .hero__inner{ padding-bottom: 56px; }

.btn{
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 12px 24px; border-radius: 14px;
  font: 700 17px/1.2 var(--font-body); text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--flame{ background: var(--flame); color: #fff; }
.btn--flame:hover{ background: #A8320F; color: #fff; }
.btn--line{ color: #fff; border: 2px solid var(--leaf); }
.btn--line:hover{ background: var(--leaf); color: var(--forest-deep); }

/* the feature image as a volcano dome, sitting on the hero's lower edge (includes/banner.incl.php) */
.banner{
  margin: 44px 0 0;
  aspect-ratio: 1280 / 500;
  border-radius: var(--dome); overflow: hidden;
  border: 6px solid var(--leaf); border-bottom: 0;
  background: var(--forest-deep);
}
.banner img{ width: 100%; height: 100%; object-fit: cover; }
.hero--page .banner{ aspect-ratio: 1280 / 440; margin-top: 36px; }
@media (max-width: 600px){
  .banner{ border-width: 4px; }
  .hero--page .banner{ aspect-ratio: 1280 / 500; }
}

/* ---------- Generic sections ---------- */
.section{ padding: 56px 0 80px; }
.section__inner{ max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section__title{ font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 28px; }
.embed{ min-height: 320px; }

/* page content runs the full content width, same as "Keep exploring";
   the gandor.tv widgets cap themselves at 920px in their own styles */
.network-embed > div[class^="gtv-"]{ max-width: none; margin-top: 0; margin-bottom: 0; }

/* Third-party embeds paint their own white/cream panels; let the page
   background show through (cards inside keep theirs). !important
   because these widgets inject their CSS after ours. */
.page-home .eapps-facebook-feed-inner,
.page-photos .eapps-instagram-feed-header,
.page-thrive .cc-thrive-widget,
.page-directory .network-embed .ui-tabs,
.page-directory .network-embed .ui-tabs-nav,
.page-directory .network-embed .ui-tabs-panel,
.page-directory .network-embed .directory-card{ background: transparent !important; }

/* ---------- About the blog ---------- */
.about-blog{ padding: 40px 0 24px; }
.about-blog__inner{
  max-width: var(--wrap); margin: 0 auto; padding: 48px 32px;
  display: grid; gap: 20px;
  background: var(--contours) left -180px bottom -220px / 560px 560px no-repeat, #fff;
  border: 2px solid var(--leaf); border-radius: 28px;
}
@media (max-width: 1200px){ .about-blog__inner{ margin: 0 var(--gutter); } }
.about-blog h2{ font-size: clamp(26px, 3.4vw, 40px); }
.about-blog p{ margin: 0; max-width: 64ch; }
.about-blog .follow-label{ margin-top: 20px; font-size: 16px; color: var(--muted); }
.follow{ list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.follow a{
  display: inline-block; padding: 9px 20px; border-radius: 14px;
  background: var(--forest); color: #fff; text-decoration: none; font-weight: 700; font-size: 16px;
}
.follow a:hover{ background: var(--flame); color: #fff; }
@media (min-width: 860px){ .about-blog__inner{ grid-template-columns: 1fr 2fr; gap: 56px; padding: 56px; } }

/* ---------- Keep exploring ---------- */
.explore{ padding: 72px 0 32px; }
.explore__inner{ max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.explore h2{ font-size: clamp(24px, 3vw, 34px); margin-bottom: 28px; }
.explore__grid{ display: grid; gap: 36px; }
@media (min-width: 760px){ .explore__grid{ grid-template-columns: 1fr 1fr; } }
.tile{ display: block; text-decoration: none; color: var(--night); }
.tile:hover{ color: var(--night); }
.tile__img{ display: block; aspect-ratio: 2 / 1; overflow: hidden; border-radius: 22px; border: 3px solid var(--leaf); }
.tile__img img{ width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tile:hover .tile__img img{ transform: scale(1.04); }
.tile__title{ display: block; margin-top: 16px; font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; color: var(--forest); }
.tile__text{ display: block; margin-top: 6px; color: var(--muted); }

/* ---------- Share ---------- */
.share{ padding: 32px 0 80px; }
.share__inner{
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px;
}
.share__label{ margin: 0; font-weight: 500; color: var(--muted); }
.share__list{ list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.share__list a{
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: #fff; border: 2px solid var(--leaf);
  transition: border-color .2s ease;
}
.share__list a:hover{ border-color: var(--flame); }
.share__list img{ width: 30px; height: 30px; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--contours) right -280px bottom -380px / 640px 640px no-repeat, var(--forest-deep);
  color: rgba(255,255,255,.8); font-size: 16px; border-top: 6px solid var(--flame);
}
.site-footer__inner{
  max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gutter) 64px;
  display: grid; gap: 40px;
}
.site-footer a{ color: #fff; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
.site-footer a:hover{ color: var(--sun); }
.site-footer .brand, .site-footer .brand:hover{ color: #fff; }
.site-footer .brand__tag{ color: rgba(255,255,255,.65); }
.site-footer__brand p{ margin: 18px 0 0; }
.site-footer h2{ font-family: var(--font-body); font-size: 18px; font-weight: 700; letter-spacing: 0; color: #fff; margin-bottom: 14px; line-height: 1.3; }
.site-footer ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__network p{ margin: 0 0 14px; }
.site-footer__network .site-footer__gtv{ margin-bottom: 22px; }
.site-footer__cc{ display: inline-block; background: #fff; border-radius: 14px; padding: 10px 16px; }
.site-footer__cc img{ width: 170px; }
@media (min-width: 900px){
  .site-footer__inner{ grid-template-columns: 1fr 1.4fr 1fr; gap: 56px; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .tile__img img{ transition: none; }
}
