/* Jus4Fun — "everything under the sun" */
:root {
  --sun: #f5a623; --sun-dark: #d98c0a; --sky: #1f6f8b; --sky-dark: #154f63; --ink: #1d2730; --ink-soft: #4a5862;
  --paper: #fffdf8; --sand: #fbf3e4; --line: #e8dfcf; --ok: #2f8f5b; --warn: #b7791f; --err: #c0392b;
  --radius: 14px; --shadow: 0 6px 24px rgba(29, 39, 48, .08);
  --font-head: "Outfit", "Segoe UI", system-ui, sans-serif; --font: "Figtree", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; height: auto; }
a { color: var(--sky); }
a:hover { color: var(--sky-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-weight: 800; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1140px, 100% - 2rem); margin-inline: auto; }
.narrow { max-width: 680px; }
.narrow-wide { max-width: 860px; }
.section { padding: 2.5rem 0; }
.section-alt { background: var(--sand); }
.section-title { margin-bottom: 1.25rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }
.sr { position: absolute; left: -9999px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--sun-dark); margin-bottom: .6rem; }
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 60ch; }
.prose :is(h2, h3) { margin-top: 1.5em; }
.prose img { border-radius: 8px; }
.prose.small { font-size: .95rem; }
.prose .lead { font-size: 1.1rem; font-weight: 500; }

/* preview bar */
.preview-bar { background: var(--ink); color: #fff; font-size: .85rem; text-align: center; padding: .35rem; }
.preview-bar a { color: var(--sun); margin: 0 .25rem; }

/* header */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 248, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 1.65rem; letter-spacing: -.02em; }
.brand b { color: var(--sun); }
.brand small { font-size: .62em; font-weight: 600; color: var(--sky); margin-left: .15em; letter-spacing: 0; }
.brand-badge { display: block; width: 50px; height: 50px; flex: none; }
.brand-badge svg { display: block; width: 100%; height: 100%; }
.brand-foot .brand-badge { width: 40px; height: 40px; }

.mainnav { display: flex; gap: .25rem; align-items: center; flex-wrap: wrap; }
.mainnav a { text-decoration: none; color: var(--ink); font-weight: 500; padding: .5rem .75rem; border-radius: 999px; }
.mainnav a:hover { background: var(--sand); }
.mainnav .nav-cta { background: var(--ink); color: #fff; }
.mainnav .nav-cta:hover { background: var(--sky-dark); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 42px; height: 38px; position: relative; cursor: pointer; }
.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); top: 18px; transition: .2s; }
.nav-toggle span:first-child::before { top: -7px; } .nav-toggle span:first-child::after { top: 7px; }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .mainnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: .5rem 1rem 1rem; }
  body.nav-open .mainnav { display: flex; }
}

/* crumbs & flashes */
.crumbs { font-size: .88rem; color: var(--ink-soft); padding: .8rem 0 0; display: flex; gap: .4rem; flex-wrap: wrap; }
.crumbs a { color: var(--ink-soft); }
.flashes { margin-top: 1rem; }
.flash { padding: .8rem 1rem; border-radius: 10px; margin: .5rem 0; background: #e6f4ec; border: 1px solid #bfe3cd; color: #1d5c3a; }
.flash-warn { background: #fff5e0; border-color: #f3d9a4; color: #7a4d00; }
.flash-error { background: #fdecea; border-color: #f4bdb6; color: #7b1d13; }
.flash ul { margin: 0; padding-left: 1.2rem; }

/* hero */
.hero { position: relative; padding: 4.5rem 0 3.5rem; background: linear-gradient(160deg, #fff4dc 0%, var(--paper) 55%), var(--paper); overflow: hidden; }
.hero:not(.hero-scenic)::before { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, #ffd766 0%, rgba(245, 166, 35, .35) 45%, transparent 70%); pointer-events: none; }
.hero-scenic { min-height: 520px; display: flex; align-items: center; padding: 4rem 0 5rem; background-size: cover; background-position: center; }
.hero-scenic[style*="background-image"]::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,253,248,.95) 0%, rgba(255,253,248,.85) 40%, rgba(255,253,248,.15) 75%); }
.hero-scenic .hero-inner { position: relative; z-index: 1; width: 100%; }
.hero-scenic .hero-inner > * { max-width: 640px; }   /* text lines up with the logo; the scene gets the right-hand side */
.hero-scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-scene .hs-rays > g { transform-origin: 0 0; animation: g-spin 40s linear infinite; }
.hero-scene .hs-waves path { stroke-dasharray: 180; animation: g-ripple 5s ease-in-out infinite; }
.hero-scene .hs-waves path:nth-child(2) { animation-delay: -2s; } .hero-scene .hs-waves path:nth-child(3) { animation-delay: -3.5s; }
.hero-scene .hs-canoe { animation: g-bob 4s ease-in-out infinite; }
.hero-scene .hs-birds { animation: hs-drift 60s linear infinite; }
@keyframes hs-drift { from { transform: translateX(0); } to { transform: translateX(-900px); } }
@media (max-width: 760px) { .hero-scenic { min-height: 0; } .hero-scene { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .hero-scene * { animation: none !important; } }
.hero-inner { position: relative; max-width: 760px; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.5rem 0 1rem; }
.hero-stats { color: var(--ink-soft); font-size: .95rem; }
.hero-search { display: flex; gap: .5rem; max-width: 560px; margin: 1.25rem 0; }
.hero-search input { flex: 1; font-size: 1.05rem; padding: .85rem 1rem; border: 2px solid var(--line); border-radius: 12px; background: #fff; }
.hero-search input:focus { outline: none; border-color: var(--sun); }
.page-head { padding: 2.5rem 0 1.5rem; background: linear-gradient(160deg, #fff4dc, var(--paper)); }
.page-head .eyebrow a { color: inherit; text-decoration: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem 1.25rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--font); font-size: 1rem; line-height: 1.2; transition: .15s; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--sun-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--sky-dark); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-dark { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost-dark:hover { border-color: var(--ink); }
.btn-small { padding: .45rem .9rem; font-size: .9rem; }
.btn-large { padding: .9rem 1.6rem; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; padding: 0; color: var(--sky); font: inherit; cursor: pointer; text-decoration: underline; }
.btn-link.danger { color: var(--err); }
.chip { display: inline-block; background: var(--sand); border-radius: 999px; padding: .3rem .8rem; text-decoration: none; margin: 0 .3rem .3rem 0; }

/* hub */
.country-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 1.5rem; }
@media (max-width: 820px) { .country-grid { grid-template-columns: 1fr; } }
.country-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.country-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .75rem; }
.region-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .4rem; }
.region-chips-dense { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.region-chips a { display: flex; gap: .5rem; align-items: baseline; padding: .5rem .7rem; border-radius: 10px; text-decoration: none; color: var(--ink); background: var(--sand); }
.region-chips a:hover { background: #f6e5c2; }
.region-chips b { font-size: .75rem; color: var(--sun-dark); min-width: 2.2em; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; align-items: stretch; }
.partner { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; text-decoration: none; color: var(--ink); text-align: center; }
.partner img { max-height: 90px; width: auto; margin-bottom: .75rem; }
/* Partner cards (class names avoid the word "ad": browser ad blockers hide anything named that way) */
.pc-card { --pc: var(--sky); --pc-ink: #fff; --pc-soft: #e6f1f5; display: flex; flex-direction: column; gap: .7rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.pc-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(29, 39, 48, .14); color: var(--ink); }
.pc-slate { --pc: #2b3a4a; --pc-soft: #e9edf1; } .pc-forest { --pc: #1f6b4f; --pc-soft: #e3f1ea; } .pc-sun { --pc: #c9790a; --pc-soft: #fdf0d9; } .pc-sky { --pc: var(--sky); --pc-soft: #e6f1f5; } .pc-berry { --pc: #8a2f5b; --pc-soft: #f6e6ee; }
.pc-top { display: flex; flex-direction: column; gap: .15rem; background: var(--pc); color: var(--pc-ink); padding: 1rem 1.15rem .9rem; }
.pc-logo { max-height: 40px; width: auto; align-self: flex-start; margin-bottom: .35rem; }
.pc-audience { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; opacity: .85; }
.pc-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.15; }
.pc-headline { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; line-height: 1.25; padding: .2rem 1.15rem 0; }
.pc-points { display: flex; flex-direction: column; gap: .4rem; padding: 0 1.15rem; font-size: .92rem; color: var(--ink-soft); }
.pc-points > span { position: relative; padding-left: 1.25rem; }
.pc-points > span::before { content: ""; position: absolute; left: 0; top: .45em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--pc); opacity: .8; }
.pc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .85rem 1.15rem 1.1rem; }
.pc-cta { display: inline-block; background: var(--pc); color: var(--pc-ink); font-weight: 600; border-radius: 999px; padding: .5rem 1rem; font-size: .95rem; white-space: nowrap; }
.pc-card:hover .pc-cta { filter: brightness(1.1); }
.pc-host { font-size: .8rem; color: var(--ink-soft); }
.pc-compact { flex-direction: row; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; background: var(--pc-soft); box-shadow: none; padding: .75rem 1rem; }
.pc-compact .pc-top { background: none; color: var(--pc); padding: 0; } .pc-compact .pc-headline { padding: 0; font-size: 1rem; flex: 1 1 14rem; } .pc-compact .pc-foot { padding: 0; margin: 0; } .pc-compact .pc-host { display: none; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 2rem; margin-block: 2rem; }
.cta-band h2 { color: #fff; } .cta-band p { color: #cfd8de; margin: 0; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.cta-band .btn-ghost-dark { border-color: #6b7a86; color: #fff; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.choice { display: block; padding: 2rem; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.choice:hover { border-color: var(--sun); }

/* country home */
.popular-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.popular h2 { font-size: 1.05rem; }
.popular ul { list-style: none; margin: 0; padding: 0; }
.popular li { padding: .25rem 0; border-bottom: 1px dashed var(--line); }
.popular a { text-decoration: none; }
.zones { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.zone { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: flex-start; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.zone:last-child { border-bottom: 0; padding-bottom: 0; }
.zone h3 { flex: 0 0 150px; margin: .45rem 0 0; font-size: 1.05rem; }
.zone .region-chips { flex: 1 1 420px; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
.zone .region-chips a { background: #fff; border: 1px solid var(--line); }
.zone .region-chips a:hover { background: #fff7e6; border-color: var(--sun); }

/* region page */
.cat-groups { columns: 3 260px; column-gap: 1.5rem; }
.cat-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; break-inside: avoid; margin-bottom: 1.5rem; }
.cat-group h2 { font-size: 1.05rem; }
.cat-group ul { list-style: none; margin: 0; padding: 0; }
.cat-group a { display: flex; justify-content: space-between; padding: .35rem 0; text-decoration: none; border-bottom: 1px dashed var(--line); }
.count { background: var(--sand); color: var(--ink-soft); border-radius: 999px; font-size: .75rem; padding: .05rem .5rem; }
.ad-banner { text-align: center; margin: 1rem 0; }
.ad-banner img { max-height: 120px; }
.empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; }

/* category & listing */
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 2rem; padding: 1.5rem 0 3rem; }
@media (max-width: 900px) { .layout-sidebar { grid-template-columns: 1fr; } }
.area-filter { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }
.area-filter a { text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; color: var(--ink); font-size: .9rem; }
.area-filter a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.listing-list { display: grid; gap: 1rem; }
.listing-card { display: grid; grid-template-columns: 180px 1fr; gap: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.listing-card.featured { border-color: var(--sun); box-shadow: 0 0 0 3px rgba(245, 166, 35, .2); }
.listing-card .thumb { display: block; aspect-ratio: 4 / 3; background: var(--sand); }
.listing-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-empty { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #fbe8c3, #f6d79a); }
.listing-body { padding: 1rem 1.25rem 1rem 0; }
.listing-body h2 { font-size: 1.25rem; margin-bottom: .2rem; }
.listing-body h2 a { text-decoration: none; color: var(--ink); }
.listing-body .meta { color: var(--ink-soft); font-size: .9rem; margin-bottom: .5rem; }
.listing-body .actions { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin: 0; }
.badge { background: var(--sun); color: var(--ink); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; padding: .15rem .5rem; border-radius: 999px; margin-left: .5rem; font-weight: 700; }
@media (max-width: 600px) { .listing-card { grid-template-columns: 1fr; } .listing-body { padding: 0 1rem 1rem; } }
.sidebar h3 { font-size: 1rem; }
.sidebar h4 { margin: 1rem 0 .3rem; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a { display: flex; justify-content: space-between; text-decoration: none; padding: .25rem 0; font-size: .95rem; }
.side-list a.on { font-weight: 700; color: var(--ink); }
.listing-detail { padding: 1.5rem 0 0; }
.listing-text { font-size: 1.02rem; line-height: 1.65; }
.listing-text.long { column-count: 2; column-gap: 2.5rem; column-rule: 1px solid var(--line); }
.listing-text p { margin: 0 0 1em; break-inside: avoid; }
.listing-text .lead { column-span: all; font-size: 1.15rem; font-weight: 500; margin-bottom: 1.25em; }
.listing-text h2 { column-span: all; }
@media (max-width: 900px) { .listing-text.long { column-count: 1; } }
.listing-head { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: start; margin-bottom: 1.5rem; }
.listing-logo { max-width: 140px; max-height: 100px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: 1rem; }
.gallery-item { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--sand); }
.gallery-item.main { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gallery-item.main { background: #fff; }
.gallery-item.main img { object-fit: contain; }
.gallery-item:hover img { transform: scale(1.03); }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.contact-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; align-self: start; position: sticky; top: 84px; }
.contact-box p { margin-bottom: .75rem; }
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .9); display: flex; align-items: center; justify-content: center; z-index: 100; cursor: zoom-out; }
.lightbox img { max-width: 94vw; max-height: 92vh; border-radius: 8px; }

/* cards (specials) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.special-dates { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sun-dark); font-weight: 700; margin-bottom: .4rem; }
.card .meta { color: var(--ink-soft); font-size: .9rem; margin: .5rem 0 0; }

/* forms */
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 0 0 1.5rem; background: #fff; }
.form legend { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; padding: 0 .5rem; }
.form legend small { font-weight: 400; font-family: var(--font); font-size: .85rem; color: var(--ink-soft); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .3rem; }
.field label small { font-weight: 400; color: var(--ink-soft); }
.field input:not([type=checkbox]):not([type=file]), .field select, .field textarea { width: 100%; padding: .65rem .8rem; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(31, 111, 139, .15); }
.field small { display: block; color: var(--ink-soft); font-size: .85rem; margin-top: .3rem; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 1rem; }
.field.check label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.req { color: var(--err); }
.hp { position: absolute; left: -9999px; }
.captcha-row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.captcha-row img { border-radius: 8px; border: 1px solid var(--line); cursor: pointer; }
.captcha-row input { max-width: 180px; text-transform: uppercase; letter-spacing: .2em; }
.card-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; max-width: 460px; }
.cat-pick details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: .5rem; background: #fff; }
.cat-pick summary { padding: .6rem 1rem; cursor: pointer; font-weight: 600; }
.cat-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .2rem .75rem; padding: .25rem 1rem .9rem; }
.cat-options label { display: flex; gap: .45rem; align-items: baseline; font-size: .95rem; }
.cat-options label.muted { opacity: .6; }
.total { font-size: 1.15rem; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .75rem; }
.photo-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.photo-tile { text-align: center; font-size: .85rem; }

/* tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: .95rem; }
.table th, .table td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.table .actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.inline { display: inline; }
.status { display: inline-block; font-size: .78rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: var(--sand); }
.status-active { background: #dff3e7; color: #1d5c3a; }
.status-pending { background: #fff1d6; color: #7a4d00; }
.status-suspended, .status-archived, .status-cancelled { background: #eee; color: #555; }
.plain-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.plain-list li { padding: .4rem 0; border-bottom: 1px dashed var(--line); }

/* footer */
.footer { background: var(--ink); color: #c8d1d8; margin-top: 3rem; padding: 3rem 0 1.5rem; }
.footer a { color: #fff; text-decoration: none; display: block; padding: .15rem 0; }
.footer a:hover { color: var(--sun); }
.footer h4 { color: #8d9aa5; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.brand-foot { color: #fff; margin-bottom: .5rem; }
.footer-base { border-top: 1px solid #34424d; margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; color: #8d9aa5; }

.choice-radio { cursor: pointer; position: relative; padding-left: 3rem; }
.choice-radio input { position: absolute; left: 1.1rem; top: 1.4rem; width: 1.2rem; height: 1.2rem; }
.choice-radio:has(input:checked) { border-color: var(--sun); background: #fffaf0; }
.choice-radio .price { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.choice-radio h3 { margin-bottom: .3rem; }
.choice-radio input:disabled ~ * { opacity: .5; }
@media (max-width: 600px) { .choice-grid { grid-template-columns: 1fr; } }

/* Jus4Fun badge animation: a continuous 8 s sunrise-to-sunset loop */
.j4f-badge .j4f-sun,.j4f-badge .j4f-rays{transform-box:view-box}
.j4f-badge .j4f-sun{animation:g-sun 8s cubic-bezier(.45,.05,.55,.95) infinite}
.j4f-badge .j4f-rays{animation:g-sun 8s cubic-bezier(.45,.05,.55,.95) infinite, g-rayfade 8s linear infinite}
.j4f-badge .j4f-rays>g{transform-origin:0 0;animation:g-spin 8s linear infinite}
.j4f-badge .j4f-rays>g:last-child{animation-direction:reverse}
.j4f-badge .j4f-waves path{stroke-dasharray:140;animation:g-ripple 4s ease-in-out infinite}
.j4f-badge .j4f-waves path:nth-child(2){animation-delay:-2s}
.j4f-badge .j4f-glint{transform-origin:100px 181px;animation:g-glint 8s ease-in-out infinite}
.j4f-badge .j4f-canoe{animation:g-bob 4s ease-in-out infinite}
.j4f-badge .j4f-far{animation:g-dusk 8s linear infinite}
@keyframes g-sun{0%{transform:translate(0,46px)}22%{transform:translate(0,0)}55%{transform:translate(0,0)}80%{transform:translate(0,46px)}100%{transform:translate(0,46px)}}
@keyframes g-rayfade{0%{opacity:0}10%{opacity:0}24%{opacity:1}55%{opacity:1}72%{opacity:0}100%{opacity:0}}
@keyframes g-spin{to{transform:rotate(30deg)}}
@keyframes g-ripple{0%,100%{stroke-dashoffset:0;opacity:.85}50%{stroke-dashoffset:12;opacity:.55}}
@keyframes g-glint{0%{opacity:0}18%{opacity:0}30%{opacity:.9}55%{opacity:.9}72%{opacity:0}100%{opacity:0}}
@keyframes g-bob{0%,100%{translate:0 0}50%{translate:0 -1.5px}}
@keyframes g-dusk{0%{filter:brightness(.85)}22%{filter:brightness(1)}55%{filter:brightness(1)}80%{filter:brightness(.85)}100%{filter:brightness(.85)}}
@media (prefers-reduced-motion:reduce){.j4f-badge *{animation:none!important}}

/* password show/hide */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 2.8rem !important; }
.pw-eye { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: .4rem; cursor: pointer; color: #6b7780; line-height: 0; border-radius: 8px; }
.pw-eye:hover, .pw-eye:focus-visible { color: var(--sky); background: rgba(31,111,139,.08); outline: none; }
.pw-note { display: block; margin-top: .3rem; min-height: 1em; }
.pw-note.bad { color: #b3261e; } .pw-note.good { color: #1e7a46; }
.g-recaptcha { min-height: 78px; }

/* holding image for listings without photos */
.listing-noimage { border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; border: 1px solid var(--line); aspect-ratio: 16 / 6; }
.listing-noimage img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
@media (max-width: 600px) { .listing-noimage { aspect-ratio: 4 / 3; } }

/* enquiry form on listing pages */
.enquiry { margin-top: 2rem; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 80px; }
.enquiry h2 { margin-top: 0; font-size: 1.35rem; }
.enquiry .form { max-width: none; }
.enquiry .field label small { display: inline; }

/* region intro: wide, two columns when long */
.region-intro { color: var(--ink-soft); font-size: 1.05rem; max-width: 70ch; }
.region-intro.long { max-width: none; columns: 2 340px; column-gap: 2.5rem; }
.region-intro.long > :first-child { margin-top: 0; }
.region-intro :is(h2, h3) { font-size: 1.25rem; break-after: avoid; color: var(--ink); }
.region-intro p { break-inside: avoid; }
/* long words and wide content must not push listing cards past the screen */
.listing-card > * { min-width: 0; }
.listing-body { overflow-wrap: anywhere; }

/* related listings */
.related { margin-top: 2rem; }
.related h2 { font-size: 1.25rem; }
.related-list { list-style: none; margin: 0 0 .75rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem; }
.related-list a { display: block; padding: .7rem .9rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); }
.related-list a:hover { border-color: var(--sun); }
.related-list span { display: block; font-size: .9rem; color: var(--ink-soft); }

.listing-head .facts { margin: .35rem 0 0; color: var(--ink-soft); font-size: .98rem; }

/* owner photo upload page */
.photo-page h2 { margin-top: 2rem; font-size: 1.2rem; }
.dropzone { border: 2px dashed var(--sun); border-radius: var(--radius); background: #fffaf0; padding: 2rem 1.25rem; text-align: center; transition: background .15s, border-color .15s; }
.dropzone.over { background: #fff1d0; border-color: var(--sun-dark); }
.dz-inner svg { color: var(--sun-dark); }
.dz-title { font-size: 1.15rem; font-weight: 600; margin: .5rem 0 .25rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--sky); text-decoration: underline; cursor: pointer; }
.linklike.danger { color: #b3261e; font-size: .9rem; }
.dz-preview { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 1rem 0; }
.dz-preview img { width: 110px; height: 82px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.photo-now { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .9rem; }
.photo-now figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.photo-now img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.photo-now figcaption { padding: .45rem .6rem; display: flex; flex-direction: column; gap: .2rem; }

/* region header photo */
.page-head.has-photo { padding-top: 0; }
.region-photo { position: relative; height: clamp(180px, 30vw, 360px); margin-bottom: 1.75rem; overflow: hidden; }
.region-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.region-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgba(255,253,248,.95), rgba(255,253,248,0)); pointer-events: none; }
.photo-credit { position: absolute; right: .6rem; top: .5rem; z-index: 1; font-size: .7rem; color: #fff; background: rgba(0,0,0,.45); padding: .15rem .45rem; border-radius: 6px; max-width: 70%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- Featured listings, Advertise page, upgrade page ---- */
.cat-group li.all a { font-weight: 600; }
.featured-strip { padding-bottom: 0; }
.feature-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sun); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 0 0 3px rgba(245, 166, 35, .18); transition: transform .15s ease, box-shadow .15s ease; }
.feature-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 3px rgba(245, 166, 35, .3), 0 10px 24px rgba(0, 0, 0, .08); }
.feature-card .thumb { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--sand); }
.feature-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-card .feature-body { display: flex; flex-direction: column; gap: .25rem; padding: .85rem 1rem 1rem; align-items: flex-start; }
.feature-card .feature-body .badge { margin-left: 0; }
.feature-card .feature-body b { font-family: var(--font-head); font-size: 1.05rem; line-height: 1.25; }
.feature-card .feature-body .meta { font-size: .9rem; opacity: .7; }
ul.ticks { list-style: none; padding: 0; margin: 1rem 0; }
ul.ticks li { position: relative; padding: .3rem 0 .3rem 1.7rem; }
ul.ticks li::before { content: ""; position: absolute; left: .1rem; top: .62rem; width: .95rem; height: .5rem; border-left: 3px solid var(--sun); border-bottom: 3px solid var(--sun); transform: rotate(-45deg); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; align-items: start; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.3rem; }
.plan h2 { margin: 0 0 .4rem; font-size: 1.35rem; }
.plan-featured { border-color: var(--sun); box-shadow: 0 0 0 3px rgba(245, 166, 35, .2); }
.plan-featured > .badge { position: absolute; top: -0.7rem; right: 1.2rem; margin: 0; }
.plan-price { margin: 0; font-size: 1rem; }
.plan-price b { font-family: var(--font-head); font-size: 2rem; line-height: 1.1; }
.plan-price s { opacity: .55; margin-right: .2rem; }
.plan-price span { display: block; font-size: .9rem; opacity: .75; }
.plan .actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 .5rem; }
.inline-form { display: grid; gap: .75rem; max-width: 460px; }
.upgrade-box { background: #fff; border: 1px solid var(--sun); border-radius: 16px; padding: 1.4rem 1.6rem 1.2rem; margin: 1.5rem 0; box-shadow: 0 0 0 3px rgba(245, 166, 35, .18); }
.upgrade-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; margin: 1rem 0; }
.upgrade-price .was { text-decoration: line-through; opacity: .55; font-size: 1.1rem; }
.upgrade-price .now { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; line-height: 1; }
.upgrade-price .per { opacity: .75; }
.btn-big { font-size: 1.1rem; padding: .85rem 1.6rem; }
.upgrade-page .actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0; }

/* ---- country header scenes ---- */
.hero-scene .hs-leaves polygon { animation: hs-leaf 7s ease-in-out infinite; }
.hero-scene .hs-leaves g:nth-child(2) polygon { animation-duration: 9s; animation-delay: -3s; }
.hero-scene .hs-leaves g:nth-child(3) polygon { animation-duration: 6s; animation-delay: -1.5s; }
.hero-scene .hs-leaves g:nth-child(4) polygon { animation-duration: 8s; animation-delay: -5s; }
@keyframes hs-leaf { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(-22px, 30px) rotate(16deg); } }

.hero-scene-usa .hs-birds, .hero-scene-canada .hs-birds { animation-duration: 90s; }
.brand small .flag { display: inline-block; width: .85em; height: .85em; margin-right: .22em; vertical-align: -.08em; }
.hero-dark { background: #0B1433; }
.hero-dark h1, .hero-dark .hero-stats { color: #fff; }
.hero-dark .eyebrow { color: #FFD766; }
.hero-dark .hero-stats { opacity: .85; }
.hero-scene .hs-aurora { animation: hs-aurora 9s ease-in-out infinite alternate; transform-origin: 70% 30%; }
@keyframes hs-aurora { from { opacity: .75; transform: scaleY(1) translateX(0); } to { opacity: 1; transform: scaleY(1.08) translateX(-18px); } }
.hero-scene .hs-balloon { animation: g-bob 6s ease-in-out infinite; }
.hero-scene .hs-balloon:nth-of-type(2n) { animation-duration: 8s; animation-delay: -3s; }
.hero-scene .hs-mill > g { animation: hs-mill 14s linear infinite; }
@keyframes hs-mill { to { transform: rotate(360deg); } }
.hero-scene .hs-beam { animation: hs-beam 5s ease-in-out infinite; }
@keyframes hs-beam { 0%, 100% { opacity: .1; } 50% { opacity: .34; } }
.hero-scene .hs-smoke { animation: g-bob 5s ease-in-out infinite; }
.claim-box { margin-top: 1rem; padding: .8rem .9rem; border: 1px dashed var(--line); border-radius: 12px; background: var(--sand); font-size: .92rem; }
.owner-verified { display: flex; align-items: center; gap: .35rem; color: var(--ok); font-weight: 600; margin-top: .8rem; }
