/*
Theme Name: Top Hat Guide
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Description: A private-review-friendly editorial reference theme for tophat.pk.
Text Domain: tophat-guide
*/

*{box-sizing:border-box}body{margin:0;color:#20251e;background:#f8f6ef;font:1rem/1.65 system-ui,sans-serif}a{color:#184735;text-underline-offset:4px}a:focus-visible{outline:3px solid #c37624;outline-offset:4px}.wrap{width:min(70rem,92%);margin:auto}header{border-bottom:1px solid #cfcbbd}header .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.25rem 1rem;align-items:center;padding:.9rem 0}nav{display:flex;flex-wrap:wrap;gap:.25rem 1rem}header a{padding:.55rem 0;font-weight:650}h1,h2{font-family:Georgia,serif;line-height:1.08;font-weight:400;margin:.4rem 0 1rem}h1{font-size:clamp(2.85rem,8vw,6rem);letter-spacing:-.055em}h2{font-size:clamp(2rem,4vw,3rem);letter-spacing:-.035em}.eyebrow{font-weight:700;font-size:.73rem;letter-spacing:.14em;text-transform:uppercase}.hero{background:#17382d;color:#fff8e8;padding:clamp(2.25rem,6vw,6rem) 0}.hero .wrap{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:2rem}.hero a{color:#fff8e8}.hero p{max-width:43ch}section:not(.hero){padding:2.8rem 0;border-bottom:1px solid #cfcbbd}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:1rem}.card{padding:1rem 1.3rem;background:#fff;border:1px solid #d7d1bf}.card h3{margin:.2rem 0}.figure{margin:0;min-width:0}.figure svg{width:100%;height:auto;display:block}.figure figcaption{font-size:.8rem;color:#e4d7bf;margin-top:.6rem}footer{padding:1.7rem 0;font-size:.9rem}@media(max-width:42rem){.hero .wrap{grid-template-columns:1fr}.figure{max-width:23rem}}

header a{display:inline-flex;min-height:44px;align-items:center}
.hero .wrap:not(:has(figure)){display:block}
.hero h1{max-width:19ch;overflow-wrap:anywhere}
.copy .wrap{max-width:55rem}.copy .lede{font-size:1.3rem}.copy dt{margin-top:1rem}
.skip{position:absolute;top:.5rem;left:.5rem;z-index:5;background:white;padding:.6rem;transform:translateY(-150%)}
.skip:focus{transform:none}html{scroll-padding-top:2rem}
