*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--emq-bg,#fff);color:var(--emq-text,#1d2327);font-family:var(--emq-font-body,Georgia,serif);font-size:var(--emq-body-size,1.0625rem);line-height:var(--emq-body-line,1.5)}
img{max-width:100%;height:auto}
a{color:var(--emq-primary,#1f4e79)}
h1,h2,h3,h4,h5,h6{font-family:var(--emq-font-heading,Georgia,serif);color:var(--emq-text,#1d2327);margin:0 0 .5em}
h1{font-size:var(--emq-h1-size,3.125rem);line-height:var(--emq-h1-line,1.2);font-weight:var(--emq-h1-weight,700)}
h2{font-size:var(--emq-h2-size,2.375rem);line-height:var(--emq-h2-line,1.2);font-weight:var(--emq-h2-weight,700)}
h3{font-size:var(--emq-h3-size,1.75rem);line-height:var(--emq-h3-line,1.25);font-weight:var(--emq-h3-weight,600)}
h4{font-size:var(--emq-h4-size,1.5rem);line-height:var(--emq-h4-line,1.3);font-weight:var(--emq-h4-weight,600)}
h5{font-size:var(--emq-h5-size,1.125rem);line-height:var(--emq-h5-line,1.35);font-weight:var(--emq-h5-weight,600)}
h6{font-size:var(--emq-h6-size,1rem);line-height:var(--emq-h6-line,1.4);font-weight:var(--emq-h6-weight,600)}
small,.small{font-size:var(--emq-small-size,.875rem)}
.screen-reader-text{position:absolute;left:-9999px}
.skip-link:focus{left:8px;top:8px;background:#fff;padding:8px;z-index:100000}
.emq-wrap{max-width:var(--emq-max,1200px);margin:0 auto;padding:0 20px}
/* Header */
.emq-header{background:var(--emq-bg,#fff);border-bottom:1px solid rgba(0,0,0,.08);z-index:50}
.emq-header.is-sticky{position:sticky;top:0}
.admin-bar .emq-header.is-sticky{top:32px}
.emq-header-in{display:flex;align-items:center;gap:24px;padding-top:14px;padding-bottom:14px}
.emq-brand a{text-decoration:none;color:inherit;font-family:var(--emq-font-heading,Georgia,serif);font-weight:700;font-size:1.4rem}
.emq-brand img{max-height:56px;width:auto;display:block}
.emq-nav{margin-left:auto}
.emq-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:22px;flex-wrap:wrap;align-items:center}
.emq-nav a{text-decoration:none;color:var(--emq-text,#1d2327);font-family:var(--emq-font-heading,Georgia,serif);font-weight:600;font-size:var(--emq-button-size,1rem)}
.emq-nav a:hover,.emq-nav .current-menu-item>a{color:var(--emq-accent,#d9822b)}
.emq-nav .sub-menu{display:none;position:absolute;background:var(--emq-bg,#fff);padding:10px 14px;box-shadow:0 6px 20px rgba(0,0,0,.12);border-radius:var(--emq-radius,10px);flex-direction:column;gap:8px;z-index:60}
.emq-nav li{position:relative}
.emq-nav li:hover>.sub-menu,.emq-nav li:focus-within>.sub-menu{display:flex}
.emq-cta{display:inline-block;background:var(--emq-accent,#d9822b);color:#fff!important;text-decoration:none;padding:.65em 1.3em;border-radius:calc(var(--emq-radius,10px)*.6);font-family:var(--emq-font-heading,Georgia,serif);font-weight:var(--emq-button-weight,600);font-size:var(--emq-button-size,1rem);line-height:var(--emq-button-line,1.2)}
.emq-cta:hover{filter:brightness(.92)}
.emq-burger{display:none;margin-left:auto;background:none;border:2px solid currentColor;border-radius:8px;padding:8px 12px;font:inherit;cursor:pointer;color:var(--emq-text,#1d2327)}
.hl-center .emq-header-in{justify-content:center;flex-wrap:wrap}
.hl-center .emq-nav{margin-left:0}
.hl-stacked .emq-header-in{flex-direction:column;gap:10px}
.hl-stacked .emq-nav{margin-left:0}
@media(max-width:1023px){
 .emq-burger{display:block}
 .emq-nav{display:none;width:100%;margin-left:0;order:5}
 .emq-nav.is-open{display:block}
 .emq-nav ul{flex-direction:column;align-items:flex-start;gap:12px;padding:12px 0}
 .emq-nav .sub-menu{display:flex;position:static;box-shadow:none;padding:6px 0 0 14px}
 .emq-header-in{flex-wrap:wrap}
 .hl-center .emq-header-in,.hl-stacked .emq-header-in{flex-direction:row}
 .emq-header-cta{display:none}
}
/* Content */
.emq-main{padding:var(--emq-pad,80px) 0}
.emq-page-title{margin-bottom:var(--emq-gap,28px)}
.emq-layout-full .emq-wrap.emq-content-wrap{max-width:none;padding:0}
.emq-layout-narrow .emq-content-wrap{max-width:760px}
.emq-layout-sidebar .emq-with-side{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:calc(var(--emq-gap,28px)*1.5)}
@media(max-width:1023px){.emq-layout-sidebar .emq-with-side{grid-template-columns:1fr}}
.entry-content>*{max-width:100%}
.entry-content .alignwide{max-width:var(--emq-max,1200px);margin-left:auto;margin-right:auto}
.entry-content .alignfull{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw)}
.entry-content p,.entry-content ul,.entry-content ol{margin:0 0 1.1em}
.entry-content img{border-radius:var(--emq-radius,10px)}
.entry-content figure{margin:0 0 1.2em}
.entry-meta{color:var(--emq-muted,#5b6670);font-size:var(--emq-small-size,.875rem);margin-bottom:1em}
/* Blog tiles: columns and gap are per device */
.emq-grid{display:grid;grid-template-columns:repeat(var(--emq-cols,3),minmax(0,1fr));gap:var(--emq-gap,28px)}
.emq-grid.is-list{grid-template-columns:1fr}
.emq-card{background:var(--emq-surface,#f3f5f7);border-radius:var(--emq-radius,10px);overflow:hidden;display:flex;flex-direction:column}
.emq-grid.is-list .emq-card{flex-direction:row}
.emq-card-img{display:block;aspect-ratio:3/2;overflow:hidden;background:rgba(0,0,0,.05)}
.emq-grid.is-list .emq-card-img{width:34%;aspect-ratio:auto;flex:none}
.emq-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.emq-card-body{padding:18px 20px 22px}
.emq-card-body h2{font-size:var(--emq-h4-size,1.5rem);line-height:var(--emq-h4-line,1.3);margin-bottom:.4em}
.emq-card-body h2 a{text-decoration:none;color:inherit}
.emq-card-body p{margin:.4em 0 0}
@media(max-width:767px){.emq-grid.is-list .emq-card{flex-direction:column}.emq-grid.is-list .emq-card-img{width:100%;aspect-ratio:3/2}}
.emq-pager{margin-top:calc(var(--emq-gap,28px)*1.2)}
.emq-pager .nav-links{display:flex;gap:10px;flex-wrap:wrap}
.emq-pager .page-numbers{padding:8px 14px;border-radius:8px;background:var(--emq-surface,#f3f5f7);text-decoration:none;color:inherit}
.emq-pager .current{background:var(--emq-primary,#1f4e79);color:#fff}
/* Sidebar + footer */
.emq-side .widget{margin-bottom:1.6em}
.emq-footer{background:var(--emq-primary,#1f4e79);color:#fff;padding:calc(var(--emq-pad,80px)*.7) 0 24px;margin-top:0}
.emq-footer a{color:#fff}
.emq-footer h1,.emq-footer h2,.emq-footer h3,.emq-footer h4,.emq-footer h5,.emq-footer h6{color:#fff}
.emq-footer-cols{display:grid;grid-template-columns:repeat(var(--emq-fcols,3),minmax(0,1fr));gap:var(--emq-gap,28px)}
@media(max-width:767px){.emq-footer-cols{grid-template-columns:1fr}}
@media(min-width:768px) and (max-width:1023px){.emq-footer-cols{grid-template-columns:repeat(min(var(--emq-fcols,3),2),minmax(0,1fr))}}
.emq-footer .widget{margin-bottom:1.2em}
.emq-footer ul{list-style:none;margin:0;padding:0}
.emq-footer li{margin:0 0 .4em}
.emq-copy{border-top:1px solid rgba(255,255,255,.25);margin-top:calc(var(--emq-gap,28px));padding-top:18px;font-size:var(--emq-small-size,.875rem)}
/* Edit with Kinley button */
#wpadminbar #wp-admin-bar-emq-edit>a{background:var(--emq-accent,#d9822b)!important;color:#fff!important;font-weight:600}
