/*
Theme Name: Health & Beauty Magazine
Theme URI: https://healthandbeautyblogs.com/
Author: Health & Beauty Blogs
Author URI: https://healthandbeautyblogs.com/
Description: A lightweight, modern editorial WordPress theme for health, wellness and beauty publications.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: health-beauty-magazine
Tags: blog, news, custom-logo, custom-menu, featured-images, right-sidebar, accessibility-ready
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{
  --hbm-forest:#174C3C;
  --hbm-emerald:#26745A;
  --hbm-sage:#DCE9DF;
  --hbm-sage-light:#EEF4EE;
  --hbm-ivory:#FAF9F5;
  --hbm-white:#FFFFFF;
  --hbm-coral:#E58C75;
  --hbm-ink:#24312B;
  --hbm-muted:#718078;
  --hbm-line:#E7ECE7;
  --hbm-shadow:0 14px 40px rgba(28,65,48,.08);
  --hbm-radius:18px;
  --hbm-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --hbm-serif: Georgia, "Times New Roman", serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--hbm-ivory);color:var(--hbm-ink);font-family:var(--hbm-font);font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:var(--hbm-forest);text-decoration:none}
a:hover{color:var(--hbm-emerald)}
button,input,textarea,select{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--hbm-coral);outline-offset:3px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:-9999px;top:10px;background:#fff;padding:12px;z-index:9999}
.skip-link:focus{left:10px}
.hbm-container{width:min(1200px,calc(100% - 44px));margin-inline:auto}
.hbm-topbar{background:var(--hbm-forest);color:#eaf2ec;font-size:12px;letter-spacing:.04em}
.hbm-topbar-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.hbm-topbar a{color:#fff}
.hbm-header{background:var(--hbm-ivory);border-bottom:1px solid var(--hbm-line);position:relative;z-index:50}
.hbm-header-inner{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.hbm-brand{display:flex;align-items:center;gap:12px;min-width:0}
.hbm-brand img{max-height:54px;width:auto}
.hbm-brand-text{display:flex;flex-direction:column;line-height:1.1}
.hbm-site-title{font-family:var(--hbm-serif);font-size:26px;font-weight:700;letter-spacing:-.04em;color:var(--hbm-forest)}
.hbm-tagline{font-size:10px;text-transform:uppercase;letter-spacing:.15em;color:var(--hbm-muted);margin-top:7px}
.hbm-nav{display:flex;align-items:center;gap:25px}
.hbm-nav ul{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0}
.hbm-nav a{font-size:13px;font-weight:700;color:var(--hbm-ink)}
.hbm-nav a:hover,.hbm-nav .current-menu-item>a{color:var(--hbm-emerald)}
.hbm-header-actions{display:flex;align-items:center;gap:10px}
.hbm-search-toggle,.hbm-menu-toggle{border:1px solid var(--hbm-line);background:#fff;color:var(--hbm-forest);width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.hbm-menu-toggle{display:none}
.hbm-search-panel{display:none;padding:0 0 18px}
.hbm-search-panel.is-open{display:block}
.hbm-search-panel form{display:flex;max-width:520px;margin-left:auto}
.hbm-search-panel input{min-width:0;flex:1;border:1px solid var(--hbm-line);padding:12px 14px;border-radius:10px 0 0 10px;background:#fff}
.hbm-search-panel button,.hbm-button{border:0;background:var(--hbm-forest);color:#fff;padding:12px 18px;border-radius:0 10px 10px 0;font-weight:700;cursor:pointer}
.hbm-button{display:inline-flex;border-radius:30px;align-items:center;gap:8px}
.hbm-button:hover,.hbm-search-panel button:hover{background:var(--hbm-emerald);color:#fff}
.hbm-hero{padding:58px 0 48px;background:linear-gradient(120deg,#edf4ed 0%,#f8f7f0 58%,#f8eee9 100%);overflow:hidden}
.hbm-hero-grid{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:48px}
.hbm-kicker{display:inline-flex;align-items:center;gap:9px;color:var(--hbm-emerald);font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.hbm-kicker:before{content:"";width:24px;height:2px;background:var(--hbm-coral)}
.hbm-hero h1{font-family:var(--hbm-serif);font-size:clamp(42px,5.5vw,70px);line-height:1.02;letter-spacing:-.055em;color:var(--hbm-forest);font-weight:500;margin:18px 0}
.hbm-hero h1 em{color:var(--hbm-emerald);font-weight:400}
.hbm-hero p{max-width:560px;color:#5e6e64;font-size:17px;margin:0 0 25px}
.hbm-hero-image{position:relative;min-height:350px;border-radius:48% 48% 18px 18px;overflow:hidden;background:var(--hbm-sage)}
.hbm-hero-image img{width:100%;height:100%;min-height:350px;object-fit:cover;display:block}
.hbm-hero-image:after{content:"";position:absolute;inset:14px;border:1px solid rgba(255,255,255,.7);border-radius:inherit;pointer-events:none}
.hbm-category-strip{padding:20px 0;border-bottom:1px solid var(--hbm-line);background:#fff}
.hbm-category-list{display:flex;gap:10px;overflow-x:auto;scrollbar-width:thin;padding:2px 0}
.hbm-category-list a{white-space:nowrap;border:1px solid var(--hbm-line);border-radius:30px;padding:9px 16px;font-size:12px;font-weight:700;color:var(--hbm-muted);background:#fff}
.hbm-category-list a:hover{background:var(--hbm-forest);border-color:var(--hbm-forest);color:#fff}
.hbm-section{padding:58px 0}
.hbm-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}
.hbm-section-head h2{font-family:var(--hbm-serif);font-size:clamp(30px,3.5vw,42px);font-weight:500;letter-spacing:-.04em;color:var(--hbm-forest);margin:8px 0 0;line-height:1.1}
.hbm-section-head p{margin:0;color:var(--hbm-muted);font-size:14px}
.hbm-feature-grid{display:grid;grid-template-columns:1.35fr .85fr;gap:22px}
.hbm-card{background:#fff;border:1px solid var(--hbm-line);border-radius:var(--hbm-radius);overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.hbm-card:hover{transform:translateY(-3px);box-shadow:var(--hbm-shadow)}
.hbm-card-image{display:block;position:relative;overflow:hidden;background:var(--hbm-sage-light);aspect-ratio:16/10}
.hbm-card-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.hbm-card:hover .hbm-card-image img{transform:scale(1.035)}
.hbm-card-body{padding:20px 22px 23px}
.hbm-card-category{font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:var(--hbm-emerald)}
.hbm-card h3{font-family:var(--hbm-serif);font-weight:500;font-size:clamp(20px,2vw,26px);line-height:1.2;letter-spacing:-.025em;margin:9px 0;color:var(--hbm-forest)}
.hbm-card h3 a{color:inherit}
.hbm-card p{font-size:13px;line-height:1.65;color:var(--hbm-muted);margin:0}
.hbm-meta{display:flex;align-items:center;gap:9px;color:var(--hbm-muted);font-size:11px;margin-top:14px}
.hbm-meta span+span:before{content:"·";margin-right:9px}
.hbm-feature-side{display:grid;gap:22px}
.hbm-feature-side .hbm-card{display:grid;grid-template-columns:42% 1fr}
.hbm-feature-side .hbm-card-image{height:100%;min-height:150px;aspect-ratio:auto}
.hbm-feature-side .hbm-card-body{padding:16px}
.hbm-feature-side .hbm-card h3{font-size:19px}
.hbm-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.hbm-post-grid .hbm-card-image{aspect-ratio:16/10}
.hbm-soft-section{background:var(--hbm-sage-light)}
.hbm-newsletter{padding:42px;border-radius:24px;background:var(--hbm-forest);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}
.hbm-newsletter h2{font-family:var(--hbm-serif);font-size:34px;line-height:1.1;font-weight:500;margin:0 0 9px}
.hbm-newsletter p{margin:0;color:#d9e7dc;font-size:14px}
.hbm-newsletter .hbm-button{background:var(--hbm-coral);color:#2d342e;border-radius:30px;white-space:nowrap}
.hbm-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:44px;padding:46px 0 70px}
.hbm-page-title{font-family:var(--hbm-serif);font-weight:500;font-size:clamp(36px,4vw,52px);letter-spacing:-.04em;color:var(--hbm-forest);line-height:1.1;margin:0 0 12px}
.hbm-page-intro{color:var(--hbm-muted);margin:0 0 28px}
.hbm-sidebar-widget{background:#fff;border:1px solid var(--hbm-line);border-radius:15px;padding:21px;margin-bottom:18px}
.hbm-sidebar-widget h2,.hbm-sidebar-widget h3{font-family:var(--hbm-serif);font-weight:500;color:var(--hbm-forest);font-size:21px;margin:0 0 13px}
.hbm-sidebar-widget ul{list-style:none;padding:0;margin:0}
.hbm-sidebar-widget li{padding:9px 0;border-top:1px solid var(--hbm-line);font-size:13px}
.hbm-sidebar-widget li:first-child{border-top:0}
.hbm-sidebar-widget a{font-weight:650}
.hbm-pagination{margin-top:30px}
.hbm-pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.hbm-pagination a,.hbm-pagination span{padding:9px 14px;background:#fff;border:1px solid var(--hbm-line);border-radius:9px;font-size:13px}
.hbm-pagination .current{background:var(--hbm-forest);color:#fff;border-color:var(--hbm-forest)}
.hbm-footer{background:#123d31;color:#e9f1eb;padding:52px 0 20px}
.hbm-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:45px}
.hbm-footer h2,.hbm-footer h3{font-family:var(--hbm-serif);font-size:21px;font-weight:500;color:#fff;margin:0 0 15px}
.hbm-footer p,.hbm-footer li{font-size:13px;color:#c6d7cb;line-height:1.8}
.hbm-footer ul{list-style:none;padding:0;margin:0}
.hbm-footer a{color:#e8f0e9}
.hbm-footer-bottom{border-top:1px solid rgba(255,255,255,.16);margin-top:35px;padding-top:17px;display:flex;justify-content:space-between;gap:15px;font-size:11px;color:#b9cfc1}
.hbm-footer-bottom p{margin:0}
.hbm-single-wrap{padding:24px 0 70px}
.hbm-breadcrumbs{font-size:12px;color:var(--hbm-muted);margin-bottom:22px}
.hbm-breadcrumbs a{color:var(--hbm-muted)}
.hbm-single-grid{display:grid;grid-template-columns:minmax(0,790px) 280px;gap:48px;justify-content:space-between}
.hbm-single-title{font-family:var(--hbm-serif);font-size:clamp(36px,4.7vw,58px);font-weight:500;line-height:1.08;letter-spacing:-.045em;color:var(--hbm-forest);margin:12px 0 17px}
.hbm-single-excerpt{font-size:19px;line-height:1.65;color:#627168;margin:0 0 20px}
.hbm-single-meta{display:flex;flex-wrap:wrap;gap:10px 15px;color:var(--hbm-muted);font-size:12px;border-bottom:1px solid var(--hbm-line);padding-bottom:20px}
.hbm-single-featured{margin:26px 0;border-radius:18px;overflow:hidden;background:var(--hbm-sage)}
.hbm-single-featured img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.hbm-single-content{font-size:17px;line-height:1.85;color:#3f4e45;overflow-wrap:anywhere}
.hbm-single-content h2,.hbm-single-content h3,.hbm-single-content h4{font-family:var(--hbm-serif);font-weight:500;color:var(--hbm-forest);line-height:1.25;letter-spacing:-.02em;margin:1.7em 0 .6em}
.hbm-single-content h2{font-size:32px}.hbm-single-content h3{font-size:25px}.hbm-single-content h4{font-size:20px}
.hbm-single-content p{margin:0 0 1.25em}
.hbm-single-content ul,.hbm-single-content ol{padding-left:1.4em}
.hbm-single-content li{margin:.4em 0}
.hbm-single-content blockquote{margin:1.6em 0;padding:18px 22px;background:var(--hbm-sage-light);border-left:4px solid var(--hbm-emerald);border-radius:0 12px 12px 0}
.hbm-single-content img{border-radius:12px}
.hbm-single-content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}
.hbm-single-content th,.hbm-single-content td{padding:10px;border:1px solid var(--hbm-line)}
.hbm-toc{padding:20px;background:#fff;border:1px solid var(--hbm-line);border-radius:14px;margin:24px 0}
.hbm-toc summary{font-weight:750;cursor:pointer;color:var(--hbm-forest)}
.hbm-toc ul{margin:12px 0 0;padding-left:20px;font-size:13px}
.hbm-toc li{margin:6px 0}
.hbm-author-box{display:flex;gap:15px;padding:20px;border:1px solid var(--hbm-line);border-radius:15px;margin:30px 0;background:#fff}
.hbm-author-box img{border-radius:50%}
.hbm-author-box h3{font-size:16px;margin:0 0 5px;color:var(--hbm-forest)}
.hbm-author-box p{font-size:13px;color:var(--hbm-muted);margin:0}
.hbm-disclaimer{font-size:12px;color:var(--hbm-muted);padding:14px 16px;background:#f0f2ed;border-radius:10px;margin:25px 0}
.hbm-related{margin-top:42px}
.hbm-related h2{font-family:var(--hbm-serif);font-size:30px;font-weight:500;color:var(--hbm-forest)}
.hbm-404{text-align:center;padding:90px 0}
.hbm-404 strong{font-family:var(--hbm-serif);font-size:100px;color:var(--hbm-sage)}
.hbm-404 h1{font-family:var(--hbm-serif);font-size:42px;color:var(--hbm-forest);margin:0}
.hbm-404 p{color:var(--hbm-muted)}
@media(max-width:980px){
 .hbm-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:18px 22px;border-bottom:1px solid var(--hbm-line);box-shadow:var(--hbm-shadow)}
 .hbm-nav.is-open{display:block}.hbm-nav ul{display:flex;align-items:stretch;flex-direction:column;gap:0}.hbm-nav li{padding:10px 0;border-bottom:1px solid var(--hbm-line)}
 .hbm-menu-toggle{display:inline-flex}.hbm-hero-grid{gap:28px}.hbm-single-grid,.hbm-content-layout{grid-template-columns:minmax(0,1fr) 260px;gap:28px}
}
@media(max-width:760px){
 .hbm-container{width:min(100% - 30px,1200px)}
 .hbm-topbar-inner{justify-content:center;text-align:center}
 .hbm-header-inner{min-height:76px}.hbm-site-title{font-size:22px}.hbm-tagline{font-size:9px}
 .hbm-hero{padding:42px 0}.hbm-hero-grid{grid-template-columns:1fr}.hbm-hero-image{min-height:260px;border-radius:90px 90px 15px 15px}.hbm-hero-image img{min-height:260px}
 .hbm-feature-grid{grid-template-columns:1fr}.hbm-feature-side{grid-template-columns:1fr 1fr}.hbm-feature-side .hbm-card{display:block}.hbm-feature-side .hbm-card-image{height:auto;aspect-ratio:16/10}
 .hbm-post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
 .hbm-content-layout,.hbm-single-grid{grid-template-columns:1fr}.hbm-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hbm-sidebar-widget{margin:0}
 .hbm-newsletter{padding:28px;display:block}.hbm-newsletter .hbm-button{margin-top:20px}
 .hbm-footer-grid{grid-template-columns:1fr 1fr;gap:25px}.hbm-footer-grid>div:first-child{grid-column:1/-1}
}
@media(max-width:520px){
 .hbm-post-grid,.hbm-feature-side,.hbm-sidebar{grid-template-columns:1fr}
 .hbm-feature-side .hbm-card{display:grid;grid-template-columns:38% 1fr}
 .hbm-feature-side .hbm-card-image{height:100%;min-height:135px;aspect-ratio:auto}
 .hbm-section{padding:42px 0}.hbm-section-head{align-items:start;flex-direction:column}
 .hbm-footer-grid{grid-template-columns:1fr}.hbm-footer-grid>div:first-child{grid-column:auto}
 .hbm-footer-bottom{flex-direction:column}.hbm-single-title{font-size:36px}.hbm-single-content{font-size:16px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hbm-card,.hbm-card-image img{transition:none}}
