/*
Theme Name: US Smart Guide
Theme URI: https://example.com/
Author: OpenAI
Description: A clean, responsive US-focused magazine and guides WordPress theme.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: us-smart-guide
*/
:root{--navy:#082653;--blue:#0875f5;--gold:#ffd447;--ink:#14233b;--muted:#65758d;--line:#e6edf5;--paper:#f4f8fd;--white:#fff;--green:#11835a}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65}
a{color:var(--blue);text-decoration:none}
a:hover{color:var(--navy)}
img{max-width:100%;height:auto;display:block}
.site-top{background:#061c3d;color:#dce9ff;font-size:12px;padding:7px 0}
.container{width:min(1200px,calc(100% - 36px));margin:0 auto}
.top-inner{display:flex;justify-content:space-between;gap:14px;align-items:center}
.site-header{background:#fff;box-shadow:0 2px 14px #0c2c5110;position:relative;z-index:5}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:82px}
.brand{display:flex;align-items:center;gap:11px;min-width:220px;color:var(--navy)}
.brand-mark{font-size:34px;line-height:1}
.brand-name{font-weight:900;font-size:23px;line-height:1.1;letter-spacing:-.6px}
.brand-tagline{display:block;font-size:11px;letter-spacing:.8px;color:#52647d;margin-top:4px}
.primary-nav{display:flex;align-items:center;gap:19px;flex-wrap:wrap}
.primary-nav a{color:#1b2e4c;font-size:13px;font-weight:700;padding:8px 0}
.primary-nav a:hover,.primary-nav .current-menu-item>a{color:var(--blue)}
.header-search{background:var(--blue);color:#fff!important;border-radius:24px;padding:10px 18px!important}
.menu-toggle{display:none;border:0;background:var(--blue);color:#fff;padding:10px 13px;border-radius:8px;font-size:16px}
.hero{color:#fff;background:linear-gradient(90deg,rgba(5,31,70,.88),rgba(5,31,70,.38)),url('https://images.unsplash.com/photo-149 city?auto=format&fit=crop&w=1900&q=85');background-color:#124b83;background-image:linear-gradient(90deg,rgba(5,31,70,.9),rgba(5,31,70,.42)),url('https://images.unsplash.com/photo-1485738422979-f5c462d49f74?auto=format&fit=crop&w=1900&q=85');background-position:center;background-size:cover;min-height:345px;display:flex;align-items:center}
.hero-inner{padding:48px 0 40px;max-width:700px}
.eyebrow{display:inline-block;background:#ffffff1e;border:1px solid #ffffff38;padding:5px 12px;border-radius:30px;font-size:12px;font-weight:700;margin-bottom:13px}
.hero h1{color:#fff;font-size:clamp(32px,4.4vw,52px);line-height:1.08;letter-spacing:-1.3px;margin:0 0 16px;max-width:700px}
.hero h1 span{color:var(--gold)}
.hero p{font-size:17px;max-width:610px;margin:0 0 22px;color:#f0f6ff}
.search-form{display:flex;gap:8px;max-width:600px;background:#fff;padding:6px;border-radius:12px;box-shadow:0 12px 35px #00152d30}
.search-form input{flex:1;min-width:0;border:0;padding:12px 13px;font-size:15px;outline:none;background:transparent;color:var(--ink)}
.search-form button{border:0;background:var(--blue);color:#fff;font-weight:800;padding:0 22px;border-radius:9px;cursor:pointer}
.popular-searches{font-size:12px;margin-top:13px;color:#e2edff}
.popular-searches a{display:inline-block;color:#fff;border:1px solid #ffffff55;border-radius:20px;padding:3px 10px;margin:5px 3px 0 0}
.category-strip{background:#fff;border:1px solid var(--line);border-radius:13px;display:grid;grid-template-columns:repeat(6,1fr);margin:20px auto;padding:0;overflow:hidden;box-shadow:0 4px 20px #193b6508}
.category-item{text-align:center;padding:17px 9px;border-right:1px solid var(--line);color:var(--ink)}
.category-item:last-child{border-right:0}
.category-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:20px;font-weight:800;margin:0 auto 6px;background:var(--blue)}
.category-item:nth-child(2) .category-icon{background:#16885b}.category-item:nth-child(3) .category-icon{background:#7544cf}.category-item:nth-child(4) .category-icon{background:#ed4c57}.category-item:nth-child(5) .category-icon{background:#ef941d}.category-item:nth-child(6) .category-icon{background:#0aa4a4}
.category-item strong{display:block;font-size:13px}.category-item small{display:block;font-size:11px;color:var(--muted)}
.main-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,.86fr);gap:20px;align-items:start;margin:20px auto 28px}
.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px;margin-bottom:18px;box-shadow:0 4px 20px #193b6508}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px}
.section-heading h2{margin:0;color:var(--navy);font-size:22px;line-height:1.25}
.section-heading a{font-size:12px;font-weight:800}
.featured-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:16px}
.featured-main{position:relative;min-height:310px;border-radius:9px;overflow:hidden;background:#173e66}
.featured-main img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .35s}
.featured-main:hover img{transform:scale(1.04)}
.featured-main:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(2,16,35,.93),transparent 76%)}
.featured-copy{position:absolute;z-index:1;left:18px;right:18px;bottom:17px;color:#fff}
.featured-copy h3{font-size:22px;line-height:1.2;margin:8px 0;color:#fff}
.featured-copy p{font-size:13px;margin:0 0 10px;color:#e6eef8}
.label{display:inline-block;background:var(--blue);color:#fff;font-size:10px;font-weight:900;letter-spacing:.4px;padding:3px 8px;border-radius:20px;text-transform:uppercase}
.post-meta{font-size:11px;color:#d9e5f6}
.feature-list{display:flex;flex-direction:column;gap:12px}
.mini-post{display:grid;grid-template-columns:95px 1fr;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.mini-post:last-child{border-bottom:0;padding-bottom:0}
.mini-post img{width:95px;height:76px;object-fit:cover;border-radius:8px;background:#e6edf5}
.mini-post h3{font-size:14px;line-height:1.35;margin:4px 0 5px;color:var(--navy)}
.mini-post .post-meta{color:var(--muted)}
.post-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.post-card{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;transition:transform .2s,box-shadow .2s}
.post-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px #102d5015}
.post-card img{width:100%;height:115px;object-fit:cover;background:#e6edf5}
.post-card-body{padding:12px}
.post-card h3{font-size:14px;line-height:1.35;margin:7px 0;color:var(--navy)}
.post-card .post-meta{color:var(--muted)}
.offer-box{background:linear-gradient(125deg,#092651,#0b4382);color:#fff;border-radius:12px;padding:22px;position:relative;overflow:hidden}
.offer-box h2{color:#fff;font-size:22px;margin:0 0 8px;line-height:1.2}
.offer-box p{font-size:13px;color:#e0ebff;margin:0 0 15px}
.offer-box a{display:inline-block;background:var(--gold);color:#132847;padding:9px 17px;border-radius:22px;font-size:12px;font-weight:900}
.newsletter h2,.side-panel h2{font-size:18px;color:var(--navy);margin:0 0 9px}
.newsletter p{font-size:13px;color:var(--muted);margin:0 0 12px}
.newsletter form{display:flex;gap:5px}
.newsletter input{min-width:0;flex:1;border:1px solid var(--line);border-radius:7px;padding:10px;font-size:12px}
.newsletter button{border:0;background:var(--blue);color:#fff;border-radius:7px;padding:0 12px;font-weight:800;font-size:12px}
.tag-cloud{display:flex;flex-wrap:wrap;gap:7px}
.tag-cloud a{background:#edf4ff;color:#1355a1;border-radius:20px;padding:5px 10px;font-size:11px;font-weight:700}
.community{background:#eaf8f1;border:1px solid #c8ebd9;border-radius:10px;padding:17px}
.community h2{color:#11724d;margin:0 0 7px;font-size:18px}
.community p{color:#4d7866;font-size:13px;margin:0 0 10px}
.community a{display:inline-block;background:#11724d;color:#fff;border-radius:20px;padding:7px 16px;font-size:12px;font-weight:800}
.site-footer{background:#061f45;color:#dbe8fa;margin-top:25px;padding:30px 0 18px}
.footer-top{display:flex;justify-content:space-between;gap:25px;align-items:center;flex-wrap:wrap}
.site-footer .brand{color:#fff}.site-footer .brand-tagline{color:#b6c9e5}
.footer-nav{display:flex;flex-wrap:wrap;gap:13px}.footer-nav a{color:#dbe8fa;font-size:12px}
.copyright{text-align:center;font-size:11px;color:#a9bdd9;border-top:1px solid #ffffff1c;margin-top:22px;padding-top:15px}
.content-area{background:#fff;border:1px solid var(--line);border-radius:12px;padding:clamp(18px,4vw,36px);margin:28px auto;max-width:900px}
.entry-title{font-size:clamp(30px,4vw,42px);line-height:1.15;color:var(--navy);margin:0 0 12px}
.entry-content{font-size:17px;line-height:1.8}
.entry-content h2,.entry-content h3{color:var(--navy);line-height:1.3}
.entry-content img{border-radius:10px}
.archive-intro{margin:25px auto 15px}
.pagination{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.pagination a,.pagination span{padding:8px 12px;border-radius:7px;background:#fff;border:1px solid var(--line)}
.pagination .current{background:var(--blue);color:#fff}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}
@media(max-width:980px){.primary-nav{gap:11px}.primary-nav a{font-size:12px}.header-inner{gap:12px}.brand{min-width:190px}.main-layout{grid-template-columns:minmax(0,1fr) 280px}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-strip{grid-template-columns:repeat(3,1fr)}.category-item:nth-child(3){border-right:0}.category-item:nth-child(-n+3){border-bottom:1px solid var(--line)}}
@media(max-width:760px){.top-inner span:last-child{display:none}.header-inner{min-height:72px;flex-wrap:wrap;padding:12px 0}.menu-toggle{display:block}.primary-nav{display:none;width:100%;padding:8px 0 14px;gap:0;flex-direction:column;align-items:stretch}.primary-nav.is-open{display:flex}.primary-nav a{padding:10px 5px;border-top:1px solid var(--line)}.header-search{display:inline-block!important;text-align:center}.hero{min-height:360px;background-position:58% center}.hero-inner{padding:38px 0}.hero p{font-size:15px}.main-layout{grid-template-columns:1fr}.featured-grid{grid-template-columns:1fr}.featured-main{min-height:280px}.category-item{padding:14px 5px}.category-item small{font-size:10px}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.post-card img{height:125px}.footer-top{align-items:flex-start;flex-direction:column}}
@media(max-width:420px){.container{width:calc(100% - 24px)}.brand-name{font-size:20px}.brand{min-width:0}.brand-mark{font-size:29px}.hero h1{font-size:32px}.search-form button{padding:0 14px}.category-icon{width:36px;height:36px;font-size:17px}.category-item strong{font-size:12px}.panel{padding:12px}.section-heading h2{font-size:19px}.mini-post{grid-template-columns:82px 1fr;gap:9px}.mini-post img{width:82px;height:70px}}
