/*
Theme Name: Haute Vibes
Theme URI: https://hautevibes.com/
Author: Haute Vibes
Description: A warm editorial WordPress theme for educators and families. Native templates, responsive layouts, and automatic page/menu setup. No page builder required.
Version: 1.0.6
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: haute-vibes
*/
:root{--cream:#faf8f2;--ink:#252a27;--muted:#62675e;--gold:#dfbb7e;--line:#e4dfd2;--sage:#e8eadf;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}a{color:inherit;text-decoration:none}a:hover{color:#7a602c}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #977534;outline-offset:5px}img{max-width:100%;height:auto;vertical-align:middle}button,input,textarea,select{font:inherit}button,.button{cursor:pointer}h1,h2,h3,h4{font-family:var(--serif);font-weight:400;line-height:1.15;margin:0 0 20px}h1{font-size:clamp(36px,5vw,64px);letter-spacing:-1.8px}h2{font-size:clamp(28px,3.2vw,40px);letter-spacing:-.8px}h3{font-size:25px}p{margin:0 0 20px}.container{max-width:1220px;width:calc(100% - 64px);margin:auto}.eyebrow{font:600 11px/1.5 system-ui,sans-serif;letter-spacing:2px;text-transform:uppercase;color:#566347}.site-header{border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;gap:18px;min-height:100px}.logo,.custom-logo-link{display:inline-flex;align-items:center;justify-content:center;background:#191a18;padding:8px 12px;border-radius:3px;flex-shrink:0}.logo img{width:57px;height:auto}.custom-logo{max-height:64px;width:auto}.brand-name{font:30px/1 var(--serif);white-space:nowrap}.header-inner nav{margin-left:auto}.menu{list-style:none;padding:0;margin:0;display:flex;gap:24px;align-items:center}.menu a{font-size:13px;font-weight:500}.menu li{position:relative}.menu .sub-menu{display:none;position:absolute;z-index:10;background:var(--cream);padding:15px;list-style:none;min-width:200px;border:1px solid var(--line)}.menu li:hover>.sub-menu,.menu li:focus-within>.sub-menu{display:block}.current-menu-item>a{border-bottom:2px solid var(--gold);padding-bottom:8px}.search-link{font-size:30px;margin-left:10px}.menu-toggle{display:none}.search-panel{padding-top:16px;padding-bottom:16px;display:none}.search-panel:target,.search-panel:focus-within{display:block}.intro{text-align:center;padding:48px 0 32px}.intro .eyebrow{margin-bottom:18px}.intro h1{margin-bottom:14px}.intro>p:last-child{font-size:18px;color:var(--muted)}.feature-grid{display:grid;grid-template-columns:1.65fr 1fr;grid-template-rows:1fr 1fr;gap:18px}.feature{border-radius:8px;overflow:hidden;border:1px solid var(--line);background:#fffdf8;min-width:0}.feature-1{grid-row:span 2}.feature-link{display:block;height:100%}.feature img{width:100%;height:190px;object-fit:cover}.feature-1 .feature-link{position:relative;min-height:560px;display:flex;align-items:flex-end}.feature-1 img,.feature-1 .image-placeholder{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.feature-1 .feature-link:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 20%,rgba(0,0,0,.85))}.feature-copy{padding:20px 24px}.feature-copy h2{font-size:25px;margin:8px 0 10px}.feature-copy>span:last-child{font-size:12px}.feature-1 .feature-copy{position:relative;z-index:1;color:white;padding:34px}.feature-1 .feature-copy h2{font-size:clamp(30px,3.4vw,46px)}.feature-1 .feature-copy .eyebrow{color:#fff;background:#81622e;padding:6px 12px;border-radius:2px}.feature-1 .feature-copy p{font-size:16px;max-width:480px}.topic-section{padding-top:54px}.section-title{display:flex;align-items:center;gap:25px;text-align:center;justify-content:center}.section-title:before,.section-title:after{content:'';height:1px;flex:1;background:var(--line)}.topics{display:grid;grid-template-columns:repeat(4,1fr);padding:10px 0 18px}.topics>a{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;border-right:1px solid var(--line);font:20px var(--serif)}.topics>a:last-child{border:0}.topic-icon{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;background:var(--sage);font:38px var(--serif)}.section{padding-top:55px;padding-bottom:15px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:25px}.section-heading h2{margin:0}.section-heading>a{font-size:13px;white-space:nowrap}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.post-card{background:#fffdf8;border:1px solid var(--line);border-radius:7px;overflow:hidden}.card-image{display:block;aspect-ratio:1.65;overflow:hidden}.card-image img{height:100%;width:100%;object-fit:cover;transition:transform .3s}.post-card:hover .card-image img{transform:scale(1.035)}.card-body{padding:23px}.card-body h3{margin:10px 0 14px}.card-body p{font-size:14px;color:var(--muted)}.post-meta{font-size:12px;color:var(--muted)}.image-placeholder{display:grid;place-items:center;height:100%;width:100%;background:var(--sage);color:#536044;font:28px var(--serif)}.about-band{margin-top:70px;padding:65px 0;background:var(--sage);text-align:center}.about-band p:not(.eyebrow){max-width:620px;margin:0 auto 25px;color:#52594c}.button,button[type=submit],input[type=submit]{display:inline-block;border:0;border-radius:3px;background:var(--gold);color:#24251f;padding:13px 22px;font-size:14px;font-weight:600}.site-footer{background:#252b28;color:#eeeade;padding:45px 0 20px}.footer-top{display:flex;justify-content:space-between;gap:40px;padding-bottom:30px}.footer-brand{display:flex;align-items:center;gap:22px}.footer-brand p{font:23px/1.4 var(--serif);margin:0}.site-footer .eyebrow{color:#d0bf96}.site-footer .menu{display:flex;flex-wrap:wrap;max-width:580px;gap:12px 24px}.site-footer .menu a{font-size:12px}.site-footer a:hover{color:#d2b778}.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #485049;padding-top:20px;font-size:11px;color:#c1c4b9}.page-wrap{max-width:850px;padding-top:60px;padding-bottom:80px;min-height:60vh}.page-header{padding:0 0 30px}.page-content{background:#fffdf8;padding:40px;border:1px solid var(--line);border-radius:6px}.entry-content{font-size:18px;line-height:1.85;overflow-wrap:anywhere}.entry-content h2{font-size:32px;margin-top:45px}.entry-content h3{font-size:25px;margin-top:30px}.entry-content a{color:#765a24;text-decoration:underline;text-underline-offset:3px}.entry-content img{border-radius:5px}.entry-content figure{margin:30px 0}.entry-content figcaption{font-size:13px;color:var(--muted)}.entry-content table{border-collapse:collapse;width:100%;font-size:15px}.entry-content th,.entry-content td{padding:12px;border:1px solid var(--line);text-align:left}.entry-content th{background:var(--sage)}.wp-block-table{overflow-x:auto}.entry-content blockquote{border-left:3px solid var(--gold);margin:30px 0;padding:12px 25px;background:var(--sage)}.single-wrap{padding-top:30px;padding-bottom:60px}.breadcrumbs{font-size:12px;color:var(--muted);margin-bottom:30px}.article-header{max-width:960px;margin:0 auto 35px;text-align:center}.article-header h1{font-size:clamp(34px,4.4vw,58px)}.article-cover{max-width:1050px;margin:0 auto 45px}.article-cover img{width:100%;max-height:520px;object-fit:cover;border-radius:8px}.article-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(210px,1fr);gap:65px}.article-sidebar .toc{position:sticky;top:25px}.toc{border-left:1px solid var(--line);padding:0 0 15px 25px}.toc h2,.sidebar-note h2{font-size:24px}.toc ol{padding-left:18px;font-size:13px;line-height:1.6}.toc li{margin-bottom:12px}.sidebar-note{background:var(--sage);padding:25px;border-radius:6px;margin-top:35px}.sidebar-note p,.sidebar-note a{font-size:14px}.author-box{display:flex;gap:20px;margin:45px 0;padding:25px;background:var(--sage);border-radius:6px}.author-box img{width:64px;height:64px;border-radius:50%}.author-box h2{font-size:22px}.author-box p,.author-box a{font-size:14px}.post-tags{margin-top:30px;font-size:13px}.nav-links{display:flex;justify-content:space-between;gap:30px;font-size:14px;margin-top:30px}.archive-wrap{padding-top:60px;padding-bottom:70px;min-height:60vh}.archive-description{max-width:700px}.pagination{margin-top:40px}.page-numbers{display:inline-block;padding:7px 13px;border:1px solid var(--line)}.page-numbers.current{background:var(--sage)}.search-form{display:flex;gap:10px;max-width:700px}.search-form label{flex:1}.search-form input{width:100%;border:1px solid #bdbbac;border-radius:3px;padding:12px;background:#fffdf8;color:var(--ink)}input:not([type=submit]):not([type=checkbox]),textarea{max-width:100%}textarea{width:100%;padding:12px;border:1px solid #bdbbac}.comment-form input:not([type=submit]):not([type=checkbox]){display:block;padding:10px;border:1px solid #bdbbac}.comment-list{padding-left:20px}.comment-body{margin-bottom:25px}.comment-form label{font-size:14px}.screen-reader-text,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link:focus{position:fixed;top:10px;left:10px;background:#fff;padding:15px;z-index:9999}.empty-state{padding:45px;background:var(--sage);grid-column:1/-1;border-radius:6px}.alignwide{max-width:100%}.aligncenter{display:block;margin-left:auto;margin-right:auto}.sticky{border-color:var(--gold)}.bypostauthor{border-left:2px solid var(--gold)}
@media(max-width:1050px){.brand-name{font-size:24px}.menu{gap:14px}.menu a{font-size:12px}.article-layout{gap:35px}.feature-1 .feature-link{min-height:530px}}
@media(max-width:1100px){.container{width:calc(100% - 36px)}.header-inner{min-height:85px}.menu-toggle{display:block;margin-left:auto;border:1px solid var(--line);background:transparent;padding:8px 12px;border-radius:3px}.header-inner nav{display:none;position:absolute;top:85px;left:0;right:0;background:var(--cream);padding:20px;z-index:20;border-bottom:1px solid var(--line)}.admin-bar .header-inner nav{top:117px}.header-inner nav.is-open{display:block}.header-inner nav .menu{flex-direction:column;align-items:flex-start;gap:18px}.header-inner nav .sub-menu{display:block;position:static;border:0;padding:10px 15px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-grid{grid-template-columns:1.3fr 1fr}.feature-copy{padding:16px}.feature-copy h2{font-size:21px}.feature-1 .feature-copy{padding:25px}.feature-1 .feature-link{min-height:540px}.feature img{height:170px}.article-layout{display:flex;flex-direction:column}.article-sidebar{order:-1}.sidebar-note{display:none}.toc{position:static!important;columns:2;background:var(--sage);border:0;padding:20px}.toc h2{column-span:all}.toc li{break-inside:avoid}.footer-top{flex-direction:column}.topics>a{font-size:17px}}
@media(max-width:600px){.intro{padding:35px 0 20px}.intro h1{font-size:40px;letter-spacing:-1.4px}.intro>p:last-child{font-size:16px}.feature-grid{display:block}.feature{margin-bottom:16px}.feature-1 .feature-link{min-height:420px}.feature-1 .feature-copy h2{font-size:34px}.feature-2 .feature-link,.feature-3 .feature-link{display:grid;grid-template-columns:38% 1fr;align-items:center}.feature-2 img,.feature-3 img{height:100%;min-height:155px}.feature-copy h2{font-size:22px}.feature-copy .eyebrow{font-size:9px}.feature-copy>span:last-child{display:none}.topics{grid-template-columns:repeat(2,1fr);gap:25px 0}.topics>a:nth-child(2){border:0}.topic-section{padding-top:30px}.section-title{font-size:29px;gap:12px}.section{padding-top:35px}.section-heading{align-items:flex-start}.section-heading h2{font-size:30px}.cards{grid-template-columns:1fr}.card-body h3{font-size:27px}.card-image{aspect-ratio:1.7}.footer-bottom{flex-direction:column;gap:7px}.brand-name{font-size:25px}.logo img{width:43px}.custom-logo{max-height:50px}.search-link{margin-left:0}.header-inner{gap:10px}.page-wrap,.archive-wrap{padding-top:35px}.page-content{padding:23px}.entry-content{font-size:17px}.entry-content h2{font-size:29px}.article-header{text-align:left}.article-header h1{font-size:38px;letter-spacing:-1px}.toc{columns:1}.article-cover{margin-bottom:25px}.about-band{margin-top:40px;padding:40px 0}.author-box{padding:20px;gap:15px}.nav-links{flex-direction:column}.search-form{flex-wrap:wrap}.search-form label{min-width:170px}.footer-brand p{font-size:21px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Shared rhythm and alignment: one container, predictable gutters, equal card rows. */
:root{--space-1:8px;--space-2:16px;--space-3:24px;--space-4:32px;--space-5:48px;--space-6:64px}
.feature-grid{align-items:stretch;grid-template-rows:repeat(2,minmax(0,1fr));gap:var(--space-3)}
.feature-2 .feature-link,.feature-3 .feature-link{display:flex;flex-direction:column}
.feature-2 .feature-copy,.feature-3 .feature-copy{flex:1;display:flex;flex-direction:column}
.feature-copy>span:last-child{margin-top:auto}
.feature-2 .feature-copy h2,.feature-3 .feature-copy h2{margin-bottom:var(--space-2)}
.feature-count-1{grid-template-columns:1fr;grid-template-rows:1fr}
.feature-count-1 .feature-1{grid-row:auto}
.feature-count-1 .feature-1 .feature-link{min-height:460px}
.feature-count-2{grid-template-rows:1fr}
.feature-count-2 .feature-1{grid-row:auto}
.feature-count-2 .feature-2 img{height:300px}
.cards{gap:var(--space-3);align-items:stretch}
.post-card{display:flex;flex-direction:column;min-width:0}
.card-image{flex:none}
.card-body{padding:var(--space-3);flex:1;display:flex;flex-direction:column;align-items:flex-start}
.card-body>.eyebrow{min-height:1.5em}
.card-body h3{margin:12px 0 16px;overflow-wrap:anywhere}
.card-body>.post-meta{margin-top:auto;padding-top:var(--space-2)}
.card-body>p{margin-bottom:0}
.section{padding-top:var(--space-6);padding-bottom:0}
.section-heading{margin-bottom:var(--space-3)}
.topic-section{padding-top:var(--space-6)}
.about-band{margin-top:var(--space-6);padding:var(--space-6) 0}
.entry-content>:first-child{margin-top:0}
.entry-content>:last-child{margin-bottom:0}
.entry-content ul,.entry-content ol{padding-left:1.4em}
.entry-content li+li{margin-top:var(--space-1)}
.entry-content iframe,.entry-content video{max-width:100%}
.entry-content pre{max-width:100%;overflow:auto;padding:var(--space-2);background:var(--sage)}
.article-body,.article-sidebar,.entry-content{min-width:0}
.article-sidebar{align-self:start;position:sticky;top:var(--space-3);max-height:calc(100vh - 48px);overflow:auto}
.article-sidebar .toc{position:static}
.author-box h2{margin-bottom:12px}
.author-box p{margin-bottom:12px}
.site-footer .menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 32px}
.page-wrap{padding-top:var(--space-6);padding-bottom:var(--space-6)}
.page-header{padding-bottom:var(--space-4)}
.page-header h1{margin-bottom:0}
.page-content{padding:var(--space-5)}
@supports(grid-template-rows:subgrid){
 .cards .post-card{display:grid;grid-template-rows:subgrid;grid-row:span 2;row-gap:0}
 .cards .card-body{display:grid;grid-template-rows:subgrid;grid-row:span 4;row-gap:0}
 .cards .post-card{grid-row:span 5}
}
@media(max-width:1100px){
 .article-sidebar{position:static;max-height:none;overflow:visible}
 .section,.topic-section{padding-top:var(--space-5)}
 .site-footer .menu{max-width:none}
}
@media(max-width:600px){
 .feature-2 .feature-link,.feature-3 .feature-link{display:grid;grid-template-columns:38% minmax(0,1fr)}
 .feature-count-2 .feature-2 img{height:100%;min-height:155px}
 .feature-count-1 .feature-1 .feature-link{min-height:400px}
 .feature-2 .feature-copy,.feature-3 .feature-copy{display:block}
 .section,.topic-section{padding-top:var(--space-4)}
 .section-heading{flex-wrap:wrap;align-items:center;gap:12px}
 .section-heading h2{flex:1;min-width:200px}
 .cards{gap:var(--space-3)}
 .about-band{margin-top:var(--space-5);padding:var(--space-5) 0}
 .page-wrap{padding-top:var(--space-4);padding-bottom:var(--space-5)}
 .page-content{padding:var(--space-3)}
 .footer-top{gap:var(--space-4)}
 .header-inner{gap:8px}
 .brand-name{font-size:clamp(20px,6.4vw,25px)}
 .menu-toggle{padding:8px;font-size:13px;white-space:nowrap}
 .search-link{font-size:26px}
}
@media(max-width:340px){
 .header-inner{gap:6px}
 .header-inner .logo,.header-inner .custom-logo-link{padding:7px}
 .header-inner .logo img,.header-inner .custom-logo{width:34px;max-height:38px;height:auto}
 .brand-name{font-size:20px}
 .menu-toggle{padding:7px 6px}
}
.entry-content .wp-caption{max-width:100%}
.entry-content .wp-caption-text{font-size:13px;color:var(--muted)}
.entry-content .alignleft{float:left;margin:0 24px 16px 0}
.entry-content .alignright{float:right;margin:0 0 16px 24px}
.entry-content:after{content:'';display:block;clear:both}
@media(max-width:600px){.entry-content .alignleft,.entry-content .alignright{float:none;margin:24px 0}}
/* The main feature image fills its card at every breakpoint. */
.feature-1 .feature-link>img,.feature-1 .feature-link>.image-placeholder{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.feature-1 .feature-link:after{background:linear-gradient(180deg,rgba(0,0,0,.3),rgba(0,0,0,.62) 30%,rgba(0,0,0,.9))}
.feature-1 .feature-copy h2{text-shadow:0 1px 3px rgba(0,0,0,.35)}

/* 1.0.2: shared full-width page canvas and original logo on dark chrome. */
:root{--chrome:#191f1c;--hv-sticky-top:24px}
.site-header,.site-footer{background:var(--chrome);color:#f5f1e7}
.site-header{border-bottom:1px solid #39413b}
.site-header .menu a{color:#f5f1e7}
.site-header .menu a:hover,.site-header .menu a:focus-visible,.site-header .current-menu-item>a,.site-header .search-link:hover{color:#dbc083}
.site-header .search-link{color:#f5f1e7}
.site-header .menu .sub-menu{background:var(--chrome);border-color:#485049}
.logo,.custom-logo-link{background:transparent;padding:0;border-radius:0}
.logo img{width:69px;height:auto}
.custom-logo{max-width:100px;max-height:70px;width:auto;height:auto}
.menu-toggle{color:#f5f1e7;border-color:#61675d}
.page-wrap{max-width:1220px}
.page-content{background:transparent;border:0;border-radius:0;padding:0}
.page-header{padding-bottom:32px}
.article-sidebar{display:flex;flex-direction:column;gap:24px;position:sticky;top:var(--hv-sticky-top);max-height:calc(100vh - var(--hv-sticky-top) - 24px);max-height:calc(100dvh - var(--hv-sticky-top) - 24px);overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;overscroll-behavior-y:contain}
.article-sidebar>.toc,.article-sidebar>.sidebar-note{position:static;flex:none;margin:0}
.article-sidebar>.toc[hidden]{display:none}
.admin-bar{--hv-sticky-top:56px}
@media(max-width:1100px){
 .site-header .header-inner nav{background:var(--chrome);border-color:#485049}
 .article-sidebar{position:static;max-height:none;overflow:visible;scrollbar-gutter:auto}
}
@media(max-width:600px){
 .header-inner .logo,.header-inner .custom-logo-link{padding:0}
 .header-inner .logo img{width:52px;height:auto}
 .header-inner .custom-logo{max-width:80px;max-height:54px;width:auto;height:auto}
 .page-content{padding:0}
}
@media(max-width:340px){
 .header-inner .logo,.header-inner .custom-logo-link{padding:0}
 .header-inner .logo img{width:46px;height:auto;max-height:none}
 .header-inner .custom-logo{max-width:64px;max-height:48px;width:auto;height:auto}
}

/* Logo-sampled gold accents; dark text keeps filled controls readable. */
:root{--gold-soft:#f4e9d5;--gold-ink:#72531f}
.topic-icon{background:var(--gold);color:var(--ink)}
.topics>a:hover .topic-icon,.topics>a:focus-visible .topic-icon{background:var(--gold-soft);box-shadow:inset 0 0 0 2px var(--gold)}
.about-band,.sidebar-note,.author-box{background:var(--gold-soft)}
.button:hover,button[type=submit]:hover,input[type=submit]:hover{background:#e8cd9f;color:var(--ink)}
.site-footer .eyebrow,.site-footer a:hover,.site-header .menu a:hover,.site-header .menu a:focus-visible,.site-header .current-menu-item>a,.site-header .search-link:hover{color:var(--gold)}
.entry-content a{color:var(--gold-ink)}

/* A native article link covers the complete card, including its padding. */
.post-card{position:relative}
.card-link:after{content:'';position:absolute;inset:0;z-index:1;border-radius:7px}
.post-card:focus-within{outline:3px solid var(--gold-ink);outline-offset:4px}
.post-card:hover .card-link{color:var(--gold-ink)}

/* Shared gold details across page headers, article navigation and pagination. */
.accent-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:48px;height:48px;border-radius:50%;background:var(--gold);color:var(--ink);margin-bottom:20px;vertical-align:middle}
.accent-icon svg{width:24px;height:24px}
.page-header:after{content:'';display:block;width:64px;height:3px;background:var(--gold);margin-top:24px}
.toc h2{display:flex;align-items:center;gap:12px}
.toc h2 .accent-icon{width:36px;height:36px;margin:0}
.toc h2 .accent-icon svg{width:20px;height:20px}
.toc{border-left-color:var(--gold)}
.entry-content blockquote{border-left-color:var(--gold);background:var(--gold-soft)}
.entry-content th{background:var(--gold-soft)}
.pagination .nav-links{justify-content:center;align-items:center;flex-direction:row;flex-wrap:wrap;gap:10px}
.page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 14px;border:1px solid var(--gold);border-radius:4px;font-weight:500}
.page-numbers.current{background:var(--gold);color:var(--ink)}
a.page-numbers:hover,a.page-numbers:focus-visible{background:var(--gold-soft);color:var(--gold-ink)}
.page-numbers.dots{border-color:transparent;min-width:28px;padding:8px 4px}
