/*
Theme Name: WorldlyGuide
Theme URI: https://worldlyguide.com/
Author: WorldlyGuide
Description: A lightweight, responsive starter theme for the WorldlyGuide travel guide website.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.2
Text Domain: worldlyguide
*/
:root{--wg-ink:#172b3a;--wg-muted:#647482;--wg-paper:#f6f8f7;--wg-card:#fff;--wg-accent:#087f8c;--wg-accent-dark:#075e66;--wg-border:#e0e7e5;--wg-radius:18px;--wg-width:1160px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--wg-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}
a{color:var(--wg-accent-dark);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{color:var(--wg-accent)}
img{max-width:100%;height:auto;border-radius:12px}
.site-shell{min-height:100vh;display:flex;flex-direction:column}
.site-header{border-bottom:1px solid var(--wg-border);background:rgba(255,255,255,.96)}
.header-inner,.container,.footer-inner{width:min(calc(100% - 36px),var(--wg-width));margin-inline:auto}
.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.site-branding a{font-size:1.35rem;font-weight:800;letter-spacing:-.04em;text-decoration:none;color:var(--wg-ink)}
.site-description{display:block;font-size:.78rem;color:var(--wg-muted);margin-top:-4px}
.primary-nav ul{display:flex;gap:22px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.primary-nav a{font-size:.94rem;text-decoration:none;color:var(--wg-ink);font-weight:600}
.menu-toggle{display:none;background:#fff;border:1px solid var(--wg-border);border-radius:10px;padding:8px 12px;color:var(--wg-ink)}
main{flex:1}
.hero{background:linear-gradient(135deg,#eaf7f4 0%,#f5f8f8 52%,#fff 100%);padding:76px 0 68px}
.hero-content{max-width:820px}
.eyebrow{display:inline-block;color:var(--wg-accent-dark);font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.hero h1{font-size:clamp(2.4rem,6vw,4.8rem);line-height:1.04;letter-spacing:-.055em;margin:16px 0 20px;max-width:850px}
.hero p{font-size:clamp(1.05rem,2vw,1.25rem);color:#526572;max-width:680px;margin:0 0 28px}
.search-form{display:flex;max-width:660px;gap:10px;padding:8px;background:#fff;border:1px solid var(--wg-border);border-radius:14px;box-shadow:0 12px 36px rgba(23,43,58,.07)}
.search-form input{flex:1;min-width:0;border:0;padding:12px 14px;font:inherit;outline:none}
.button,.search-form button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:var(--wg-accent);color:#fff;padding:12px 18px;font:inherit;font-weight:700;text-decoration:none;cursor:pointer}
.button:hover,.search-form button:hover{background:var(--wg-accent-dark);color:#fff}
.section{padding:56px 0}
.section-soft{background:var(--wg-paper)}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}
.section-heading h2{font-size:clamp(1.6rem,3vw,2.3rem);letter-spacing:-.035em;line-height:1.15;margin:0}
.section-heading p{color:var(--wg-muted);margin:8px 0 0}
.category-grid,.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.category-card,.post-card{display:block;background:var(--wg-card);border:1px solid var(--wg-border);border-radius:var(--wg-radius);padding:24px;text-decoration:none;color:inherit;transition:transform .18s ease,box-shadow .18s ease}
.category-card:hover,.post-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(23,43,58,.07);color:inherit}
.category-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#e7f5f2;font-size:1.3rem;margin-bottom:16px}
.category-card h3,.post-card h2{margin:0 0 8px;line-height:1.25;letter-spacing:-.02em}
.category-card p,.post-card p{margin:0;color:var(--wg-muted)}
.post-card .post-meta{font-size:.82rem;color:var(--wg-muted);margin-bottom:8px}
.page-content{padding:48px 0 72px}
.content-narrow{max-width:820px}
.entry-title{font-size:clamp(2rem,4vw,3.3rem);line-height:1.1;letter-spacing:-.045em;margin:0 0 18px}
.entry-content{font-size:1.06rem}
.entry-content h2,.entry-content h3{line-height:1.2;letter-spacing:-.025em;margin-top:1.8em}
.entry-content p,.entry-content ul,.entry-content ol{margin-block:1em}
.entry-content blockquote{border-left:4px solid var(--wg-accent);margin-left:0;padding-left:18px;color:var(--wg-muted)}
.pagination{margin-top:28px}
.site-footer{background:#132b37;color:#eaf1f2;padding:32px 0}
.footer-inner{display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap}
.site-footer a{color:#eaf1f2}
.footer-nav ul{display:flex;gap:16px;list-style:none;padding:0;margin:0;flex-wrap:wrap}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){.header-inner{min-height:68px;flex-wrap:wrap;padding-block:12px}.menu-toggle{display:block}.primary-nav{display:none;width:100%}.primary-nav.is-open{display:block}.primary-nav ul{flex-direction:column;gap:10px;padding:8px 0 12px}.hero{padding:54px 0}.category-grid,.post-grid{grid-template-columns:1fr}.section{padding:42px 0}.section-heading{align-items:start;flex-direction:column}.search-form{flex-direction:column}.search-form button{width:100%}}
