/*
Theme Name: GPH
Theme URI: https://golfplanetholidays.com/
Author: Golf Planet Holidays
Author URI: https://golfplanetholidays.com/
Description: Golf Planet Holidays — renders venue, destination and collection pages entirely from WordPress data (post fields, CMB2 custom fields, taxonomy terms) into the native gph-hub web components. No content is hardcoded in any template.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gph
*/

/* -------------------------------------------------------------------------
   Base styles — chrome only (header, footer, breadcrumb, trustbar).
   All PAGE CONTENT is rendered by the gph-hub.js web components, each of
   which is isolated in its own shadow DOM with the brand tokens baked in.
   These rules style nothing inside the components — only the host page.
   ------------------------------------------------------------------------- */

:root{
  --gold:#aa8c57;--gold-l:#c9a86c;--ink:#1a1a1a;--paper:#faf8f3;
  --line:#e8e2d4;--mut:#6f6b63;
  --f:"Open Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--f);color:var(--ink);background:#fff;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}
img{display:block;max-width:100%}

.wrap{max-width:1180px;margin:0 auto;padding:0 clamp(18px,4vw,40px)}

/* ---- Site header ---- */
header.site{
  position:sticky;top:0;z-index:90;background:rgba(255,255,255,.97);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--line);
}
header.site .wrap{display:flex;align-items:center;gap:18px;height:64px}
header.site img.logo{height:34px;width:auto}
header.site nav{margin-left:auto;display:flex;gap:22px;font-size:13.5px;font-weight:600;color:var(--mut)}
header.site nav a{text-decoration:none}
header.site nav a:hover{color:var(--gold)}
.tel{font-weight:700;font-size:14px;white-space:nowrap}
.hbtn{
  display:inline-flex;align-items:center;height:42px;padding:0 19px;border-radius:999px;
  background:var(--gold);color:#fff;font-weight:700;font-size:13.5px;text-decoration:none;
  box-shadow:0 8px 22px rgba(170,140,87,.38);
}

/* ---- Breadcrumb ---- */
.crumb{background:var(--paper);border-bottom:1px solid var(--line);font-size:12.5px;color:var(--mut)}
.crumb .wrap{padding-top:11px;padding-bottom:11px}
.crumb a{text-decoration:none;font-weight:600}
.crumb a:hover{color:var(--gold)}
.crumb b{color:var(--ink)}

/* ---- Trust bar (homepage) ---- */
.trustbar{background:var(--ink);color:#cfcabd}
.trustbar .wrap{
  display:flex;flex-wrap:wrap;gap:10px 32px;justify-content:center;
  padding:14px 40px;font-size:12.5px;font-weight:600;
}
.trustbar span{display:flex;align-items:center;gap:8px}
.trustbar b{color:var(--gold-l);font-weight:800}

/* ---- Footer ---- */
footer.site{background:#111;color:#8c877c;font-size:13px;text-align:center;padding:34px 0}
footer.site img{height:30px;margin:0 auto 11px;opacity:.85}
footer.site a{text-decoration:none}

/* ---- Plain-content fallback (index.php / 404.php / archive intro) ---- */
.plain{padding:clamp(46px,6vw,84px) 0}
.plain h1{font-size:clamp(28px,4vw,44px);font-weight:800;letter-spacing:-.6px}
.plain .lede{font-size:16px;color:var(--mut);line-height:1.7;margin-top:12px;max-width:64ch}
.plain .post-list{list-style:none;margin-top:28px;display:grid;gap:14px}
.plain .post-list a{
  display:block;padding:18px 20px;border:1px solid var(--line);border-radius:12px;
  font-weight:700;text-decoration:none;background:#fff;
}
.plain .post-list a:hover{border-color:var(--gold);color:var(--gold)}
.plain .gold-link{
  display:inline-flex;align-items:center;height:48px;padding:0 24px;border-radius:999px;
  background:var(--gold);color:#fff;font-weight:700;text-decoration:none;margin-top:24px;
}

@media(max-width:780px){header.site nav,.tel{display:none}}
