/*
Theme Name: Seattle Daily Guide
Text Domain: seattle-daily-guide
Description: Lightweight, fast theme for Seattle Daily Guide — practical guides about life in Seattle. Built by ConforDev.
Author: ConforDev
Author URI: https://confordev.com
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

:root{
	--blue:#155E95;--blue-600:#0F4C7A;--navy:#12324F;--ink:#12324F;--muted:#4F6B84;
	--yellow:#F5C518;--yellow-soft:#FFF4C7;--sky:#EEF4F9;--card:#F6F9FC;--line:#E3EAF1;
	--footer:#0E2A44;--white:#FFFFFF;
	--radius:20px;--radius-lg:28px;--max:1200px;
	--font:'Plus Jakarta Sans','Helvetica Neue',Helvetica,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--white);color:var(--ink);font-family:var(--font);font-size:17px;line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue);text-decoration:none}
a:hover{color:var(--blue-600)}
h1,h2,h3,h4{color:var(--ink);line-height:1.2;margin:0 0 .5em;font-weight:800;letter-spacing:-.01em}
p{margin:0 0 1em}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link:focus{position:fixed;top:8px;left:8px;z-index:100;width:auto;height:auto;clip:auto;background:var(--yellow);color:var(--navy);padding:10px 16px;border-radius:10px}
:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}
.container{width:100%;max-width:var(--max);margin:0 auto;padding:0 20px}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--line)}
.admin-bar .site-header{top:32px}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:72px}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:800;font-size:22px;letter-spacing:-.02em;white-space:nowrap}
.brand:hover{color:var(--ink)}
.brand img{width:40px;height:40px}
.brand .brand-full{height:46px;width:auto}
.primary-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:24px}
.primary-nav a{color:var(--ink);font-weight:600;font-size:15px}
.primary-nav a:hover,.primary-nav .current-menu-item>a,.primary-nav .current-cat>a{color:var(--blue)}
.header-actions{display:flex;align-items:center;gap:8px}
.social{display:flex;gap:8px;list-style:none;margin:0;padding:0}
.social a{width:38px;height:38px;border-radius:11px;background:var(--sky);color:var(--ink);display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s}
.social a:hover{background:var(--blue);color:#fff}
.social svg{width:18px;height:18px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border-radius:999px;border:0;font:700 15px/1 var(--font);cursor:pointer;text-decoration:none}
.btn-yellow{background:var(--yellow);color:var(--navy)}
.btn-yellow:hover{background:#E9B800;color:var(--navy)}
.btn-blue{background:var(--blue);color:#fff}
.btn-blue:hover{background:var(--blue-600);color:#fff}
.menu-toggle{display:none;width:44px;height:44px;border:0;border-radius:12px;background:var(--sky);cursor:pointer;align-items:center;justify-content:center;flex-direction:column;gap:5px}
.menu-toggle span{width:20px;height:2px;background:var(--ink);display:block}
.mobile-panel{display:none;border-top:1px solid var(--line);padding:16px 20px 24px;background:#fff}
.mobile-panel.open{display:block}
.mobile-panel ul.menu{list-style:none;margin:0 0 16px;padding:0}
.mobile-panel ul.menu a{display:block;padding:12px 0;border-bottom:1px solid var(--line);color:var(--ink);font-weight:700;font-size:17px}

/* Ad slots */
.ad-slot{margin:28px auto;text-align:center;overflow:hidden}
.ad-slot--placeholder{border:2px dashed #B7C8D8;border-radius:16px;color:var(--muted);font-size:12px;letter-spacing:.12em;text-transform:uppercase;display:flex;align-items:center;justify-content:center;min-height:90px;padding:12px}
.ad-slot--sidebar.ad-slot--placeholder{min-height:250px;margin:0}
.ad-label{display:block;font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}

/* Home */
.hero{padding:32px 0 8px}
.hero-card{position:relative;border-radius:var(--radius-lg);overflow:hidden;background:linear-gradient(135deg,#3E7FB0,#155E95);min-height:440px;display:flex;align-items:flex-end}
.hero-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-body{position:relative;margin:28px;max-width:600px;background:#fff;border-radius:22px;padding:28px;box-shadow:0 10px 30px rgba(18,50,79,.18)}
.hero-body h1{font-size:clamp(26px,3.4vw,36px);margin:12px 0 10px}
.hero-body h1 a{color:var(--ink)}
.hero-body p{margin:0;color:var(--muted)}
.pill{display:inline-block;background:var(--yellow-soft);color:#5B4600;font-weight:700;font-size:12px;padding:6px 12px;border-radius:999px}
.chips{display:flex;flex-wrap:wrap;gap:10px;padding:24px 0 0}
.chips a{padding:10px 18px;border-radius:999px;background:var(--sky);color:var(--ink);font-weight:600;font-size:14px}
.chips a:hover,.chips a.is-active{background:var(--blue);color:#fff}
.section{padding:32px 0}
.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:20px}
.section-head h2{font-size:clamp(22px,2.6vw,28px);margin:0}
.section-head a{font-weight:700}
.grid{display:grid;gap:24px;grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.card{background:var(--card);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(18,50,79,.10)}
.card-media{aspect-ratio:16/10;background:linear-gradient(135deg,#7FB2D6,#155E95);display:block}
.card-media img{width:100%;height:100%;object-fit:cover}
.card-body{padding:18px;display:flex;flex-direction:column;gap:8px}
.card-cat{color:var(--blue);font-weight:700;font-size:13px}
.card h3{font-size:19px;line-height:1.3;margin:0}
.card h3 a{color:var(--ink)}
.card-meta{font-size:13px;color:var(--muted)}
.band{background:var(--sky);border-radius:var(--radius-lg);padding:32px}
.band .card{background:#fff}
.band .card-body{padding:14px}
.band .card h3{font-size:16px}
.newsletter{background:var(--blue);color:#fff;border-radius:var(--radius-lg);padding:32px 40px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;margin:32px 0}
.newsletter h2{color:#fff;font-size:26px;margin:0 0 4px}
.newsletter p{margin:0}
.empty{padding:40px;border-radius:var(--radius);background:var(--card);text-align:center;color:var(--muted)}

/* Article */
.layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:48px;padding:32px 0}
.entry-header{margin-bottom:20px}
.breadcrumbs{font-size:14px;color:var(--muted);margin-bottom:12px}
.breadcrumbs a{color:var(--muted)}
.entry-title{font-size:clamp(30px,4.2vw,46px);letter-spacing:-.02em}
.entry-meta{display:flex;flex-wrap:wrap;gap:6px 16px;color:var(--muted);font-size:14px}
.entry-thumb{border-radius:var(--radius-lg);overflow:hidden;margin:20px 0}
.entry-thumb figcaption{font-size:13px;color:var(--muted);padding:8px 4px}
.entry-content{font-size:18px;line-height:1.75}
.entry-content p{margin:0 0 1.2em}
.entry-content h2{font-size:28px;margin-top:1.6em}
.entry-content h3{font-size:22px;margin-top:1.4em}
.entry-content a{text-decoration:underline;text-underline-offset:3px}
.entry-content ul,.entry-content ol{padding-left:1.3em;margin:0 0 1.2em}
.entry-content ul{list-style:disc}
.entry-content ol{list-style:decimal}
.entry-content li{margin:.3em 0}
.entry-content blockquote{margin:1.5em 0;padding:16px 22px;border-radius:16px;background:var(--sky);font-weight:600}
.entry-content table{width:100%;border-collapse:collapse;font-size:16px;display:block;overflow-x:auto}
.entry-content th,.entry-content td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left}
.entry-content img{border-radius:16px}
.share{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:28px 0;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.share strong{margin-right:6px}
.share a,.share button{width:42px;height:42px;border-radius:12px;background:var(--sky);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;border:0;cursor:pointer}
.share a:hover,.share button:hover{background:var(--blue);color:#fff}
.share svg{width:18px;height:18px}
.tags a{display:inline-block;margin:0 6px 6px 0;padding:6px 12px;border-radius:999px;background:var(--sky);color:var(--ink);font-size:14px}
.sidebar{display:flex;flex-direction:column;gap:28px}
.widget{background:var(--card);border-radius:var(--radius);padding:22px}
.widget h2,.widget h3{font-size:19px}
.widget ul{list-style:none;margin:0;padding:0}
.widget li{padding:10px 0;border-bottom:1px solid var(--line)}
.widget li:last-child{border-bottom:0}
.widget li a{color:var(--ink);font-weight:600}
.page-content{max-width:780px;margin:0 auto;padding:40px 0}
.archive-header{padding:36px 0 8px}
.archive-header h1{font-size:clamp(30px,4vw,42px)}
.archive-header p,.archive-desc{color:var(--muted);max-width:700px}
.pagination{display:flex;gap:8px;justify-content:center;padding:24px 0}
.pagination .page-numbers{min-width:44px;height:44px;padding:0 12px;border-radius:12px;background:var(--sky);display:inline-flex;align-items:center;justify-content:center;font-weight:700;color:var(--ink)}
.pagination .current{background:var(--blue);color:#fff}
.search-form{display:flex;gap:8px}
.search-form input[type=search]{flex:1;min-width:0;min-height:46px;border:1px solid var(--line);border-radius:999px;padding:0 18px;font:16px var(--font)}

/* Footer */
.site-footer{background:var(--footer);color:#E6EEF5;margin-top:48px;padding:48px 0 24px}
.site-footer a{color:#E6EEF5}
.site-footer a:hover{color:var(--yellow)}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:32px}
.footer-brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:800;color:#fff;margin-bottom:10px}
.footer-brand img{width:38px;height:38px}
.site-footer p{max-width:440px;margin:0 0 16px}
.site-footer h2{color:#fff;font-size:15px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:12px}
.site-footer ul.menu{list-style:none;margin:0;padding:0}
.site-footer ul.menu li{margin:0 0 8px}
.site-footer .social a{background:#1B3D5E;color:#fff}
.site-footer .social a:hover{background:var(--yellow);color:var(--navy)}
.footer-bottom{border-top:1px solid #23476B;margin-top:32px;padding-top:20px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:14px}
.footer-credit a{color:var(--yellow);font-weight:700}

/* Responsive */
@media (max-width:1024px){
	.primary-nav,.header-actions .social{display:none}
	.menu-toggle{display:inline-flex}
	.layout{grid-template-columns:1fr}
	.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:782px){.admin-bar .site-header{top:46px}}
@media (max-width:720px){
	body{font-size:16px}
	.header-inner{min-height:64px}
	.brand{font-size:18px}
	.header-actions .btn{display:none}
	.hero-card{min-height:380px}
	.hero-body{margin:12px;padding:18px}
	.chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
	.chips a{white-space:nowrap}
	.grid{grid-template-columns:1fr}
	.grid-4{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
	.band{padding:20px}
	.newsletter{padding:24px}
	.footer-grid{grid-template-columns:1fr;text-align:center}
	.footer-brand,.site-footer .social{justify-content:center}
	.site-footer p{margin-left:auto;margin-right:auto}
	.footer-bottom{flex-direction:column;align-items:center;text-align:center}
	.entry-content{font-size:17px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
