/* Hair Maya – inner pages, articles, 404 and search. The design's language: Heebo 300/400, warm beige and cream
   grounds, charcoal pills, ghost lettering, rounded 20–28px photos, hairline dividers. RTL throughout. */

.pg{ display:block; --ink:#1C1A18; --ink2:#3A342F; --mute:#5E554D; --mute2:#8A8178; --line:#DCD3C9; --line2:rgba(28,26,24,.18); --sand:#E6DACD; --shell:#F1EAE2; --cream:#F7F3EE; --olive:#5C6229; --ease:cubic-bezier(.2,.8,.2,1); }

/* ───────────── page header ───────────── */
.pg-hero{ position:relative; background:#E6DACD; overflow:hidden; padding:176px 40px 96px; }
.pg-ghost{ position:absolute; top:64px; left:0; right:0; text-align:center; pointer-events:none; opacity:.5; }
.pg-ghost>div{ font-size:clamp(110px,15vw,220px); line-height:1; font-weight:300; letter-spacing:-.03em; white-space:nowrap; background:linear-gradient(to bottom,rgba(255,255,255,.95),rgba(255,255,255,.12)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.pg-hero-in{ position:relative; max-width:1180px; margin:0 auto; display:grid; gap:56px; align-items:center; }
.pg-hero.has-img .pg-hero-in{ grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); }
.pg-hero:not(.has-img) .pg-hero-txt{ max-width:860px; margin:0 auto; text-align:center; display:flex; flex-direction:column; align-items:center; }
.pg-crumbs{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:0 0 22px; font-size:13px; letter-spacing:.06em; color:#5E554D; }
.pg-crumbs a{ color:#5E554D; text-decoration:underline; text-decoration-color:transparent; text-underline-offset:4px; transition:text-decoration-color .3s, color .3s; }
.pg-crumbs a:hover{ color:#1C1A18; text-decoration-color:currentColor; }
.pg-crumbs [aria-current]{ color:#1C1A18; }
.pg-kicker{ margin:0 0 20px; font-size:12px; letter-spacing:.2em; font-weight:500; color:#5C6229; }
.pg-title{ margin:0; font-size:clamp(44px,5.4vw,72px); line-height:1.06; font-weight:400; letter-spacing:-.02em; overflow-wrap:anywhere; }
.pg-lead{ margin:26px 0 0; font-size:18px; line-height:1.75; color:#3A342F; max-width:600px; }
.pg-hero-img{ position:relative; margin:0; height:520px; border-radius:28px; }
.pg-hero-img .plx{ position:absolute; inset:0; }
.pg-hero.is-center .pg-hero-txt{ max-width:720px; }

/* ───────────── page body ───────────── */
.pg-body{ background:#FFFFFF; padding:96px 40px 110px; }
.pg-wide{ background:#FFFFFF; padding-top:110px; }
.pg-pages{ display:flex; flex-wrap:wrap; gap:8px; margin-top:48px; }
.pg-pages a, .pg-pages>span{ display:inline-grid; place-items:center; min-width:44px; height:44px; padding:0 14px; border:1px solid #1C1A18; border-radius:999px; }

/* ───────────── content typography (the block editor's output) ───────────── */
.pg-prose{ max-width:780px; margin:0 auto; font-size:18px; line-height:1.85; color:#3A342F; overflow-wrap:break-word; }
.pg-prose-wide{ max-width:none; }
.pg-prose > *{ margin-top:0; margin-bottom:0; }
.pg-prose > * + *{ margin-top:1.25em; }
.pg-prose h1, .pg-prose h2, .pg-prose h3, .pg-prose h4, .pg-prose h5, .pg-prose h6{ color:#1C1A18; font-weight:400; line-height:1.15; letter-spacing:-.01em; scroll-margin-top:120px; }
.pg-prose h1{ font-size:52px; }
.pg-prose h2{ font-size:40px; margin-top:1.8em; }
.pg-prose h3{ font-size:28px; margin-top:1.7em; }
.pg-prose h4{ font-size:21px; font-weight:500; margin-top:1.6em; }
.pg-prose h5, .pg-prose h6{ font-size:13px; font-weight:500; letter-spacing:.2em; color:#5C6229; margin-top:1.6em; }
.pg-prose > :first-child{ margin-top:0; }
.pg-prose p:empty{ display:none; }
.pg-prose a:not(.wp-block-button__link):not(.hm-pill){ color:#1C1A18; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px; transition:text-decoration-color .3s; }
.pg-prose a:not(.wp-block-button__link):not(.hm-pill):hover{ text-decoration-color:#C3AD96; }
.pg-prose strong, .pg-prose b{ color:#1C1A18; font-weight:500; }
.pg-prose ul, .pg-prose ol{ padding-inline-start:1.3em; }
.pg-prose ul{ list-style:none; padding-inline-start:0; }
.pg-prose ul > li{ position:relative; padding-inline-start:1.5em; }
.pg-prose ul > li::before{ content:""; position:absolute; inset-inline-start:.25em; top:.78em; width:7px; height:7px; border-radius:50%; background:#1C1A18; }
.pg-prose ol > li::marker{ color:#5E554D; font-size:.9em; }
.pg-prose li + li{ margin-top:.45em; }
.pg-prose li > ul, .pg-prose li > ol{ margin-top:.45em; }
.pg-prose blockquote, .pg-prose .wp-block-quote{ margin-inline:0; padding:4px 26px 4px 0; border:0; border-inline-start:2px solid #1C1A18; font-size:24px; line-height:1.6; color:#1C1A18; }
.pg-prose blockquote p{ margin:0; }
.pg-prose blockquote p + p{ margin-top:.6em; }
.pg-prose blockquote cite, .pg-prose .wp-block-quote cite{ display:block; margin-top:14px; font-size:13px; letter-spacing:.12em; font-style:normal; color:#5E554D; }
.pg-prose .wp-block-pullquote{ margin-inline:0; padding:44px 32px; border:0; border-top:1px solid rgba(28,26,24,.18); border-bottom:1px solid rgba(28,26,24,.18); text-align:center; }
.pg-prose .wp-block-pullquote blockquote{ border:0; padding:0; font-size:30px; line-height:1.4; }
.pg-prose img, .pg-prose video{ max-width:100%; height:auto; }
.pg-prose iframe{ max-width:100%; }
.pg-prose figure{ margin-inline:0; }
.pg-prose .wp-block-image img, .pg-prose > p img, .pg-prose .wp-block-video video{ border-radius:22px; }
.pg-prose .wp-block-image.is-style-rounded img{ border-radius:999px; }
.pg-prose figcaption, .pg-prose .wp-element-caption{ margin-top:12px; font-size:14px; line-height:1.5; color:#5E554D; text-align:center; }
.pg-prose hr, .pg-prose .wp-block-separator{ border:0; height:1px; background:rgba(28,26,24,.18); margin-block:2.4em; opacity:1; }
.pg-prose .wp-block-separator.is-style-dots{ height:auto; background:none; }
.pg-prose .wp-block-separator.is-style-dots::before{ color:#1C1A18; letter-spacing:1.6em; font-size:20px; }
.pg-prose code{ font-size:.88em; padding:.1em .4em; border-radius:6px; background:#F1EAE2; }
.pg-prose pre{ direction:ltr; text-align:left; padding:20px 24px; border-radius:18px; background:#1C1A18; color:#EDE6DE; font-size:14px; line-height:1.6; overflow:auto; }
.pg-prose pre code{ padding:0; background:none; }
.pg-prose mark{ background:#E6DACD; color:inherit; padding:0 .15em; }

/* wide / full width blocks */
.pg-prose > .alignwide{ width:min(1180px, calc(100vw - 80px)); max-width:none; margin-inline:calc(50% - min(590px, calc(50vw - 40px))); }
.pg-prose > .alignfull{ width:100vw; max-width:none; margin-inline:calc(50% - 50vw); }
.pg-prose-wide > .alignwide{ margin-inline:auto; }
.pg-prose .alignleft{ float:left; margin:.4em 2em 1em 0; max-width:50%; }
.pg-prose .alignright{ float:right; margin:.4em 0 1em 2em; max-width:50%; }
.pg-prose .aligncenter{ margin-inline:auto; text-align:center; }
.pg-prose::after{ content:""; display:table; clear:both; }

/* buttons */
.pg-prose .wp-block-buttons{ display:flex; flex-wrap:wrap; gap:12px; }
.pg-prose .wp-block-button__link, .pg-prose .wp-element-button{ display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:0 30px; border:1px solid #1C1A18; border-radius:999px; background:#1C1A18; color:#F7F3EE; font:inherit; font-size:15px; line-height:1.2; text-decoration:none; transition:background .35s, color .35s, transform .35s; }
.pg-prose .wp-block-button__link:hover, .pg-prose .wp-element-button:hover{ background:#3A342F; color:#F7F3EE; transform:translateY(-2px); }
.pg-prose .wp-block-button.is-style-outline .wp-block-button__link{ background:transparent; color:#1C1A18; }
.pg-prose .wp-block-button.is-style-outline .wp-block-button__link:hover{ background:#1C1A18; color:#F7F3EE; }

/* columns, groups, cover, media & text */
.pg-prose .wp-block-columns{ gap:40px; }
.pg-prose .wp-block-column > * + *{ margin-top:1em; }
.pg-prose .wp-block-group.has-background, .pg-prose .wp-block-column.has-background{ padding:44px 48px; border-radius:28px; }
.pg-prose .wp-block-group > * + *{ margin-top:1em; }
.pg-prose .wp-block-cover{ border-radius:28px; overflow:hidden; padding:56px; }
.pg-prose .wp-block-cover.alignfull{ border-radius:0; }
.pg-prose .wp-block-cover h2, .pg-prose .wp-block-cover h3, .pg-prose .wp-block-cover p{ color:inherit; }
.pg-prose .wp-block-media-text{ gap:0; }
.pg-prose .wp-block-media-text__media img{ border-radius:22px; }
.pg-prose .wp-block-media-text__content{ padding:0 48px; }
.pg-prose .wp-block-gallery{ gap:14px; }
.pg-prose .wp-block-gallery .wp-block-image img{ border-radius:18px; }
.pg-prose .wp-block-embed iframe{ border-radius:22px; }
.pg-prose .wp-block-embed.is-type-video .wp-block-embed__wrapper{ border-radius:22px; overflow:hidden; }

/* table */
.pg-prose .wp-block-table{ overflow-x:auto; }
.pg-prose table{ width:100%; border-collapse:collapse; font-size:16px; }
.pg-prose th, .pg-prose td{ padding:14px 16px; border:0; border-bottom:1px solid #DCD3C9; text-align:start; vertical-align:top; }
.pg-prose thead th{ background:#F1EAE2; color:#1C1A18; font-weight:500; }
.pg-prose .wp-block-table thead{ border-bottom:0; }
.pg-prose .wp-block-table tfoot{ border-top:1px solid #1C1A18; }
.pg-prose .wp-block-table.is-style-stripes tbody tr:nth-child(odd){ background:#F7F3EE; }
.pg-prose .wp-block-table.is-style-stripes{ border:0; }

/* details = accordion, like the academy courses */
.pg-prose details{ border-bottom:1px solid #DCD3C9; }
.pg-prose details:first-of-type, .pg-prose * + details{ border-top:1px solid #DCD3C9; }
.pg-prose details + details{ border-top:0; margin-top:0; }
.pg-prose summary{ display:flex; align-items:center; gap:16px; padding:22px 0; list-style:none; cursor:pointer; color:#1C1A18; font-size:21px; line-height:1.4; transition:padding .4s; }
.pg-prose summary::-webkit-details-marker{ display:none; }
.pg-prose summary::after{ content:""; flex:none; width:12px; height:12px; margin-inline-start:auto; border:solid #1C1A18; border-width:0 0 1.5px 1.5px; transform:rotate(-45deg) translateY(-3px); transition:transform .45s var(--ease); }
.pg-prose details[open] > summary::after{ transform:rotate(135deg) translate(-3px,0); }
@media (hover:hover){ .pg-prose summary:hover{ padding-inline-start:12px; } }
.pg-prose details > :not(summary){ margin:0 0 24px; }
.pg-prose details > :not(summary) + :not(summary){ margin-top:-8px; }

/* forms in the content (contact form plugins) */
.pg-prose input[type="text"], .pg-prose input[type="email"], .pg-prose input[type="tel"], .pg-prose input[type="url"], .pg-prose input[type="number"], .pg-prose input[type="date"], .pg-prose input[type="search"], .pg-prose select, .pg-prose textarea{ width:100%; min-height:52px; padding:12px 18px; border:1px solid #CFC6BD; border-radius:16px; background:#FFFFFF; color:#1C1A18; font:inherit; font-size:16px; transition:border-color .25s, box-shadow .25s; }
.pg-prose textarea{ min-height:140px; resize:vertical; }
.pg-prose input:focus, .pg-prose select:focus, .pg-prose textarea:focus{ outline:none; border-color:#1C1A18; box-shadow:0 0 0 3px rgba(28,26,24,.08); }
.pg-prose input[type="submit"], .pg-prose button[type="submit"]{ min-height:52px; padding:0 34px; border:0; border-radius:999px; background:#1C1A18; color:#F7F3EE; font:inherit; font-size:15px; cursor:pointer; transition:background .35s, transform .35s; }
.pg-prose input[type="submit"]:hover, .pg-prose button[type="submit"]:hover{ background:#3A342F; transform:translateY(-2px); }
.pg-prose label{ color:#1C1A18; font-size:15px; }

/* palette & sizes chosen in the editor */
.has-hm-ink-color{ color:#1C1A18 !important; } .has-hm-ink-background-color{ background-color:#1C1A18 !important; }
.has-hm-mute-color{ color:#5E554D !important; } .has-hm-mute-background-color{ background-color:#5E554D !important; }
.has-hm-olive-color{ color:#5C6229 !important; } .has-hm-olive-background-color{ background-color:#5C6229 !important; }
.has-hm-sand-color{ color:#E6DACD !important; } .has-hm-sand-background-color{ background-color:#E6DACD !important; }
.has-hm-shell-color{ color:#F1EAE2 !important; } .has-hm-shell-background-color{ background-color:#F1EAE2 !important; }
.has-hm-cream-color{ color:#F7F3EE !important; } .has-hm-cream-background-color{ background-color:#F7F3EE !important; }
.has-hm-white-color{ color:#FFFFFF !important; } .has-hm-white-background-color{ background-color:#FFFFFF !important; }
.has-hm-s-font-size{ font-size:15px !important; } .has-hm-m-font-size{ font-size:18px !important; } .has-hm-l-font-size{ font-size:24px !important; line-height:1.5; }
.has-hm-xl-font-size{ font-size:40px !important; line-height:1.15; } .has-hm-xxl-font-size{ font-size:56px !important; line-height:1.08; }
.pg-prose .has-hm-ink-background-color, .pg-prose .has-hm-ink-background-color :is(h2,h3,h4,p,strong){ color:#F7F3EE; }

/* ───────────── contact strip ───────────── */
.pg-cta{ position:relative; background:#F7F3EE; padding:110px 40px; text-align:center; overflow:hidden; }
.pg-cta h2{ margin:0 auto; font-size:56px; line-height:1.12; font-weight:400; max-width:820px; }
.pg-cta p{ margin:20px auto 0; font-size:17px; line-height:1.7; color:#5E554D; max-width:560px; }
.pg-cta-acts{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin-top:40px; }
.pg-cta .hm-pill{ height:56px; padding:0 32px; font-size:16px; }

/* ───────────── 404 ───────────── */
.pg-404 .pg-hero{ min-height:clamp(560px, calc(100vh - 44px), 820px); display:flex; align-items:center; }
.pg-404 .pg-hero-in{ width:100%; }
.pg-404 .pg-ghost{ top:180px; }
.pg-404-acts{ display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:12px; margin-top:36px; }
.pg-404-acts form{ display:flex; gap:8px; }
.search-form{ display:flex; gap:8px; }
.search-form label{ display:flex; }
.search-form .search-field{ height:52px; min-width:240px; padding:0 20px; border:1px solid #1C1A18; border-radius:999px; background:rgba(255,255,255,.6); font:inherit; font-size:15px; color:#1C1A18; }
.search-form .search-field:focus{ outline:none; background:#FFFFFF; }
.search-form .search-submit{ height:52px; padding:0 24px; border:1px solid #1C1A18; border-radius:999px; background:transparent; color:#1C1A18; font:inherit; font-size:15px; cursor:pointer; transition:background .35s, color .35s; }
.search-form .search-submit:hover{ background:#1C1A18; color:#F7F3EE; }
.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; }

/* ═════════════ articles ═════════════ */
.hmb-wrap{ max-width:1280px; margin:0 auto; padding:0 40px; }
.hmb-i{ display:inline-block; flex:none; vertical-align:middle; }
.hmb-k{ margin:0; font-size:12px; line-height:1; letter-spacing:.2em; font-weight:500; color:#5C6229; }
.hmb-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; margin:0; color:#5E554D; font-size:14px; }
.hmb-meta > * + *::before{ content:""; display:inline-block; width:4px; height:4px; margin-inline-end:14px; border-radius:50%; background:#C3AD96; vertical-align:middle; }
.hmb-cat{ color:#5C6229; font-weight:500; }
a.hmb-cat:hover{ color:#1C1A18; }
.hmb-read{ display:inline-flex; align-items:center; gap:6px; }

/* listing */
.hmb-list-body{ padding:72px 0 110px; }
.hmb-list-body .hmb-wrap{ padding:0 40px; }
.hmb-chips{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 44px; }
.hmb-chips a{ display:inline-flex; align-items:center; height:42px; padding:0 18px; border:1px solid #CFC6BD; border-radius:999px; font-size:14px; color:#3A342F; transition:border-color .3s, background .3s, color .3s; }
.hmb-chips a:hover{ border-color:#1C1A18; color:#1C1A18; }
.hmb-chips a[aria-current]{ background:#1C1A18; border-color:#1C1A18; color:#F7F3EE; }
.hmb-feature{ display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); align-items:stretch; margin-bottom:28px; border:1px solid #CFC6BD; border-radius:28px; overflow:hidden; background:#FFFFFF; color:#1C1A18; }
.hmb-feature-ph{ position:relative; margin:0; min-height:440px; background:linear-gradient(160deg,#E7DACC 0%,#D3C0AC 55%,#C3AD96 100%); }
.hmb-badge{ position:absolute; z-index:2; top:20px; inset-inline-start:20px; padding:7px 14px; border-radius:999px; background:rgba(251,248,244,.92); color:#1C1A18; font-size:12px; letter-spacing:.14em; }
.hmb-feature-b{ display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:18px; padding:clamp(28px,4vw,56px); }
.hmb-feature-b h2{ margin:0; font-size:clamp(32px,3.4vw,46px); line-height:1.12; font-weight:400; letter-spacing:-.01em; }
.hmb-feature-x{ margin:0; color:#5E554D; font-size:17px; line-height:1.7; }
.hmb-feature-go{ margin-top:6px; transition:background .35s, transform .35s; }
.hmb-feature:hover .hmb-feature-go{ background:#3A342F; transform:translateY(-2px); }
.hmb-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr)); gap:22px; }
.hmb-card{ display:flex; flex-direction:column; border:1px solid #CFC6BD; border-radius:22px; overflow:hidden; background:#FFFFFF; color:#1C1A18; }
.hmb-card-ph{ margin:0; aspect-ratio:16/11; background:linear-gradient(160deg,#E7DACC 0%,#D3C0AC 55%,#C3AD96 100%); }
.hmb-card-b{ flex:1; display:flex; flex-direction:column; gap:12px; padding:22px 24px 24px; }
.hmb-card-b .hmb-meta{ font-size:13px; }
.hmb-card-b h3{ margin:0; font-size:24px; line-height:1.25; font-weight:400; }
.hmb-card-x{ margin:0; color:#5E554D; font-size:15px; line-height:1.65; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.hmb-go{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:auto; padding-top:8px; font-size:15px; }
.hmb-go-i{ width:46px; height:46px; border:1px solid #1C1A18; border-radius:50%; display:grid; place-items:center; flex:none; }
.hmb-pages{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:56px; }
.hmb-pages .page-numbers{ display:inline-flex; align-items:center; justify-content:center; gap:8px; min-width:48px; height:48px; padding:0 16px; border:1px solid #CFC6BD; border-radius:999px; color:#1C1A18; font-size:15px; transition:border-color .3s, background .3s, color .3s; }
.hmb-pages a.page-numbers:hover{ border-color:#1C1A18; }
.hmb-pages .page-numbers.current{ background:#1C1A18; border-color:#1C1A18; color:#F7F3EE; }
.hmb-pages .page-numbers.dots{ border-color:transparent; }
.hmb-empty{ display:flex; flex-direction:column; align-items:center; gap:14px; padding:40px 0 20px; text-align:center; }
.hmb-empty h2{ margin:0; font-size:34px; font-weight:400; }
.hmb-empty p{ margin:0; color:#5E554D; font-size:17px; }

/* article: reading progress */
.hmb-progress{ position:fixed; z-index:80; left:0; right:0; top:0; height:3px; pointer-events:none; }
.admin-bar .hmb-progress{ top:32px; }
@media screen and (max-width:782px){ .admin-bar .hmb-progress{ top:46px; } }
.hmb-progress i{ display:block; height:100%; background:linear-gradient(270deg,#1C1A18,#C3AD96); transform:scaleX(var(--read,0)); transform-origin:right; }

/* article header */
.hmb-article{ background:#FFFFFF; }
.hmb-hero{ position:relative; background:#E6DACD; padding:168px 0 64px; }
.hmb-hero .hmb-wrap{ display:flex; flex-direction:column; align-items:flex-start; gap:22px; }
.hmb-back{ display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 16px 0 18px; border:1px solid rgba(28,26,24,.35); border-radius:999px; color:#3A342F; font-size:14px; transition:border-color .3s, background .3s, color .3s; }
.hmb-back:hover{ border-color:#1C1A18; background:#1C1A18; color:#F7F3EE; }
.hmb-meta.is-hero{ font-size:14px; color:#3A342F; }
.hmb-title{ margin:0; max-width:17ch; font-size:clamp(40px,5.6vw,76px); line-height:1.06; font-weight:400; letter-spacing:-.02em; }
.hmb-lead{ margin:0; max-width:40em; font-size:20px; line-height:1.65; color:#3A342F; }
.hmb-byline{ display:flex; flex-wrap:wrap; align-items:center; gap:16px 24px; margin-top:6px; }
.hmb-author{ display:inline-flex; align-items:center; gap:12px; }
.hmb-author > span:last-child{ display:grid; line-height:1.3; }
.hmb-author b{ font-weight:500; font-size:16px; }
.hmb-author small{ color:#5E554D; font-size:13px; }
.hmb-av{ width:48px; height:48px; border-radius:50%; object-fit:cover; flex:none; }
.hmb-av.is-letter, .hmb-ac-img.is-letter{ display:grid; place-items:center; background:#CDBCAB; color:#1C1A18; font-size:20px; }
.hmb-share-btn{ display:inline-flex; align-items:center; gap:8px; height:44px; padding:0 20px; border:1px solid #1C1A18; border-radius:999px; background:transparent; color:#1C1A18; font:inherit; font-size:15px; cursor:pointer; transition:background .35s, color .35s; }
.hmb-share-btn:hover{ background:#1C1A18; color:#F7F3EE; }

/* cover: half on the beige, half on the white */
.hmb-cover{ margin:0 auto; background:linear-gradient(#E6DACD 50%, #FFFFFF 50%); max-width:none; }
.hmb-cover-in{ position:relative; max-width:1200px; margin:0 auto; aspect-ratio:16/8; border-radius:28px; }
.hmb-cover-in .plx{ position:absolute; inset:0; }

/* layout: share rail · article · contents */
.hmb-layout{ display:grid; grid-template-columns:56px minmax(0,700px) minmax(0,240px); justify-content:space-between; gap:clamp(24px,4vw,64px); padding-top:72px; padding-bottom:88px; }
.hmb-rail{ position:sticky; top:120px; align-self:start; display:flex; flex-direction:column; align-items:center; gap:8px; }
.hmb-rail-k{ font-size:11px; letter-spacing:.2em; color:#8A8178; margin-bottom:4px; }
.hmb-sh{ display:inline-flex; align-items:center; justify-content:center; gap:8px; width:44px; height:44px; border:1px solid #CFC6BD; border-radius:999px; background:#FFFFFF; color:#1C1A18; font:inherit; font-size:14px; cursor:pointer; transition:transform .3s var(--ease), background .3s, border-color .3s, color .3s; }
.hmb-sh:hover{ transform:translateY(-2px); border-color:#1C1A18; background:#1C1A18; color:#F7F3EE; }
.hmb-sh.is-whatsapp:hover{ background:#25D366; border-color:#25D366; color:#FFFFFF; }
.hmb-sh.is-done{ background:#1C1A18; border-color:#1C1A18; color:#F7F3EE; }
.hmb-toc{ position:sticky; top:120px; align-self:start; display:grid; gap:16px; padding-inline-start:22px; border-inline-start:1px solid #DCD3C9; }
.hmb-toc[hidden]{ display:none; }
.hmb-toc ol{ list-style:none; margin:0; padding:0; display:grid; gap:2px; }
.hmb-toc a{ position:relative; display:block; padding:6px 0; color:#5E554D; font-size:14px; line-height:1.4; transition:color .25s; }
.hmb-toc a.is-sub{ padding-inline-start:14px; font-size:13px; }
.hmb-toc a:hover, .hmb-toc a.is-on{ color:#1C1A18; }
.hmb-toc a.is-on::before{ content:""; position:absolute; inset-inline-start:-23px; top:6px; bottom:6px; width:2px; background:#1C1A18; }
.hmb-left{ display:inline-flex; align-items:center; gap:6px; margin:0; color:#8A8178; font-size:13px; }

/* article text */
.hmb-body{ min-width:0; }
.hmb-prose{ max-width:none; margin:0; }
.hmb-prose > p.hmb-first{ font-size:21px; line-height:1.75; color:#1C1A18; }
.hmb-prose > p.hmb-ph{ margin-top:1.8em; font-size:30px; line-height:1.2; color:#1C1A18; scroll-margin-top:120px; }
.hmb-prose .is-reveal{ opacity:0; transform:translateY(28px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.hmb-prose .is-reveal.is-in{ opacity:1; transform:none; }
.hmb-tags{ list-style:none; margin:40px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.hmb-tags a{ display:inline-block; padding:6px 14px; border:1px solid #CFC6BD; border-radius:999px; font-size:14px; color:#5E554D; transition:border-color .3s, color .3s; }
.hmb-tags a:hover{ border-color:#1C1A18; color:#1C1A18; }
.hmb-share-end{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px 32px; margin-top:56px; padding:26px 28px; border-radius:24px; background:#F1EAE2; }
.hmb-share-end-t{ margin:10px 0 0; font-size:21px; line-height:1.3; color:#1C1A18; }
.hmb-share-row{ display:flex; flex-wrap:wrap; gap:8px; }
.hmb-share-row .hmb-sh{ border-color:transparent; }
.hmb-sh.is-copy{ width:auto; padding:0 18px 0 16px; }
.hmb-author-card{ display:grid; grid-template-columns:132px minmax(0,1fr); gap:28px; align-items:center; margin-top:20px; padding:26px; border-radius:24px; background:#E6DACD; }
.hmb-ac-img{ width:132px; height:132px; border-radius:20px; object-fit:cover; }
.hmb-ac-img.is-letter{ font-size:48px; font-weight:300; }
.hmb-author-card h2{ margin:10px 0 0; font-size:30px; line-height:1.1; font-weight:400; }
.hmb-author-card p:not(.hmb-k){ margin:10px 0 0; color:#3A342F; font-size:16px; line-height:1.7; }
.hmb-author-card .hm-pill{ margin-top:18px; height:48px; }
.hmb-pn{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:20px; }
.hmb-pn-i{ display:grid; gap:6px; padding:18px 22px; border:1px solid #CFC6BD; border-radius:20px; color:#1C1A18; transition:border-color .3s, transform .4s var(--ease); }
.hmb-pn-i:hover{ border-color:#1C1A18; transform:translateY(-3px); }
.hmb-pn-i small{ display:inline-flex; align-items:center; gap:6px; color:#8A8178; font-size:12px; letter-spacing:.14em; }
.hmb-pn-i b{ font-weight:400; font-size:17px; line-height:1.35; }
.hmb-pn-i.is-next{ grid-column:2; text-align:end; justify-items:end; }

/* more articles */
.hmb-more{ padding:100px 0 110px; background:#F1EAE2; }
.hmb-more-h{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:44px; }
.hmb-more-h h2{ margin:0; font-size:52px; line-height:1.1; font-weight:400; }
.hmb-all{ display:inline-flex; align-items:center; gap:10px; height:50px; padding:0 26px; border:1px solid #1C1A18; border-radius:999px; font-size:15px; transition:background .35s, color .35s; }
.hmb-all:hover{ background:#1C1A18; color:#F7F3EE; }

/* phones: share button + sheet + toast */
.hmb-fab{ display:none; }
.hmb-sheet{ position:fixed; inset:0; z-index:90; display:grid; align-items:end; background:rgba(28,26,24,.45); }
.hmb-sheet[hidden]{ display:none; }
.hmb-sheet-box{ display:grid; gap:14px; width:min(520px,100%); margin:0 auto; padding:26px 22px calc(env(safe-area-inset-bottom,0px) + 22px); border-radius:28px 28px 0 0; background:#FBF8F4; animation:hmb-up .4s var(--ease); }
@keyframes hmb-up{ from{ transform:translateY(40px); opacity:0; } }
.hmb-sheet-t{ margin:0; font-size:20px; line-height:1.3; color:#1C1A18; }
.hmb-sheet-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.hmb-sheet-i{ display:grid; justify-items:center; gap:8px; padding:14px 6px; border:0; border-radius:18px; background:#F1EAE2; color:#1C1A18; font:inherit; font-size:13px; cursor:pointer; }
.hmb-sheet-i > span{ display:grid; place-items:center; width:46px; height:46px; border-radius:50%; background:#FFFFFF; }
.hmb-sheet-i.is-whatsapp > span{ color:#25D366; }
.hmb-sheet-x{ width:100%; }
.hmb-toast{ position:fixed; z-index:95; left:50%; bottom:28px; transform:translate(-50%,20px); padding:12px 22px; border-radius:999px; background:#1C1A18; color:#F7F3EE; font-size:15px; opacity:0; pointer-events:none; transition:opacity .25s, transform .35s var(--ease); }
.hmb-toast.is-on{ opacity:1; transform:translate(-50%,0); }

/* ───────────── responsive ───────────── */
@media (max-width:1100px){
	.hmb-layout{ grid-template-columns:52px minmax(0,700px); justify-content:start; }
	.hmb-toc{ display:none !important; }
}
@media (max-width:960px){
	.pg-hero.has-img .pg-hero-in{ grid-template-columns:minmax(0,1fr); }
	.pg-hero-img{ height:420px; }
	.hmb-feature{ grid-template-columns:minmax(0,1fr); }
	.hmb-feature-ph{ min-height:0; aspect-ratio:16/10; }
}
@media (max-width:820px){
	.pg-hero{ padding:128px 20px 64px; text-align:center; }
	.pg-hero-txt{ display:flex; flex-direction:column; align-items:center; }
	.pg-crumbs{ justify-content:center; }
	.pg-ghost{ top:72px; }
	.pg-ghost>div{ font-size:88px; }
	.pg-title{ font-size:42px; }
	.pg-lead{ font-size:16px; margin-top:20px; }
	.pg-hero-in{ gap:32px; }
	.pg-hero-img{ height:320px; width:100%; }
	.pg-body{ padding:56px 20px 72px; }
	.pg-wide{ padding-top:96px; }
	.pg-prose{ font-size:17px; line-height:1.8; }
	.pg-prose h2{ font-size:30px !important; }
	.pg-prose h3{ font-size:24px; }
	.pg-prose blockquote, .pg-prose .wp-block-quote{ font-size:20px; padding-inline-start:18px; }
	.pg-prose > .alignwide{ width:auto; margin-inline:0; }
	.pg-prose .alignleft, .pg-prose .alignright{ float:none; max-width:100%; margin:1.25em 0 0; }
	.pg-prose .wp-block-group.has-background, .pg-prose .wp-block-column.has-background{ padding:28px 22px; border-radius:22px; }
	.pg-prose .wp-block-cover{ padding:36px 22px; }
	.pg-prose .wp-block-media-text__content{ padding:24px 0 0; }
	.pg-cta{ padding:72px 20px; }
	.pg-cta p{ font-size:16px; }
	.pg-cta-acts{ flex-direction:column; align-items:stretch; }
	.pg-404-acts{ flex-direction:column; align-items:stretch; }
	.search-form .search-field{ min-width:0; flex:1; }
	.hmb-wrap{ padding:0 20px; }
	/* sections already get 20px sides from the design's phone rules */
	.hmb-list-body .hmb-wrap, .hmb-more .hmb-wrap{ padding:0; }
	.hmb-list-body{ padding:48px 0 72px; }
	.hmb-chips{ justify-content:center; margin-bottom:32px; }
	.hmb-hero{ padding:124px 0 44px; }
	.hmb-hero .hmb-wrap{ align-items:center; text-align:center; }
	.hmb-meta.is-hero, .hmb-byline{ justify-content:center; }
	.hmb-title{ font-size:40px; }
	.hmb-lead{ font-size:17px; }
	.hmb-cover-in{ aspect-ratio:4/3.2; border-radius:22px; }
	.hmb-cover{ padding:0 20px; }
	.hmb-layout{ grid-template-columns:minmax(0,1fr); padding-top:40px; padding-bottom:56px; }
	.hmb-rail{ display:none; }
	.hmb-prose > p.hmb-first{ font-size:19px; }
	.hmb-prose > p.hmb-ph{ font-size:25px; }
	.hmb-author-card{ grid-template-columns:minmax(0,1fr); justify-items:center; text-align:center; padding:26px 20px !important; }
	.hmb-ac-img{ width:88px; height:88px; border-radius:50%; }
	.hmb-share-end{ justify-content:center; text-align:center; padding:24px 20px !important; }
	.hmb-share-row{ justify-content:center; }
	.hmb-pn{ grid-template-columns:minmax(0,1fr); }
	.hmb-pn-i.is-next{ grid-column:1; }
	.hmb-more{ padding:64px 0 72px; }
	.hmb-more-h{ flex-direction:column; align-items:center; text-align:center; }
	.hmb-fab{ position:fixed; z-index:61; right:14px; bottom:calc(env(safe-area-inset-bottom,0px) + 14px); display:grid; place-items:center; width:60px; height:60px; border:0; border-radius:50%; background:#1C1A18; color:#F7F3EE; box-shadow:0 18px 40px rgba(40,25,10,.25); cursor:pointer; transform:translateY(160%); transition:transform .45s var(--ease); }
	.hmb-fab.is-on{ transform:none; }
	.hmb-fab .hmb-i{ position:relative; }
	.hmb-fab-ring{ position:absolute; inset:-3px; width:calc(100% + 6px); height:calc(100% + 6px); transform:rotate(-90deg) scaleY(-1); fill:none; stroke-width:2.5; }
	.hmb-fab-ring circle:first-child{ stroke:rgba(247,243,238,.14); }
	.hmb-fab-ring circle:last-child{ stroke:#C3AD96; stroke-linecap:round; stroke-dasharray:125.7; stroke-dashoffset:calc(125.7 * (1 - var(--read,0))); }
}
@media (prefers-reduced-motion:reduce){
	.hmb-prose .is-reveal{ opacity:1; transform:none; }
}
