/* Shared tokens follow the active WordPress palette on every enabled property. */
.pbh {
  --pbh-primary: var(--wp--preset--color--primary, #521824);
  --pbh-on-primary: var(--wp--preset--color--on-primary, #fff);
  --pbh-secondary: var(--wp--preset--color--secondary, #efe4df);
  --pbh-on-secondary: var(--wp--preset--color--on-secondary, #281c1c);
  --pbh-paper: var(--wp--preset--color--base, #fff);
  --pbh-ink: var(--wp--preset--color--contrast, #241c1c);
  --pbh-soft: var(--wp--preset--color--surface, #faf7f5);
  --pbh-line: var(--wp--preset--color--border, #e6ded9);
  --pbh-muted: var(--wp--preset--color--muted, #665d59);
  --pbh-cream: color-mix(in srgb, var(--pbh-paper) 96%, var(--pbh-primary));
  max-width: 1240px;
  margin: auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem) 4rem;
  color: var(--pbh-ink);
  font-family: inherit;
  line-height: 1.6;
}
.pbh * { box-sizing: border-box; }
.pbh [hidden] { display: none !important; }
.pbh :is(h1, h2, h3, p) { margin-top: 0; }
.pbh :is(h1, h2, h3) { line-height: 1.15; letter-spacing: -.025em; color: inherit; }
.pbh h1 { font-size: clamp(2.6rem, 6vw, 5.25rem); margin-bottom: 1.5rem; text-wrap: balance; }
.pbh h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.pbh h3 { font-size: 1.35rem; }
.pbh a { color: inherit; text-underline-offset: .22em; }
.pbh a:hover { text-decoration-thickness: 2px; }
.pbh :is(button, input, select, a, summary):focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.pbh :is(button, input, select) { font: inherit; }
.pbh button { cursor: pointer; }
.pbh button:disabled { cursor: default; }
.pbh :is(input, select) { width: 100%; padding: .8rem 1rem; border: 1px solid var(--pbh-line); border-radius: .6rem; background: var(--pbh-paper); color: var(--pbh-ink); min-height: 48px; }
.pbh-line-icon { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.pbh-breadcrumbs { font-size: .8rem; padding: 1.25rem 0 .8rem; }
.pbh-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.pbh-breadcrumbs li + li:before { content: '›'; margin-right: .6rem; }
.pbh-breadcrumbs [aria-current] { font-weight: 650; }
.pbh-eyebrow { font-size: .7rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 1rem; }
.pbh-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 55ch; line-height: 1.65; }
.pbh-button { display: inline-flex; justify-content: center; align-items: center; gap: .8rem; min-height: 48px; padding: .7rem 1.35rem; border: 1px solid transparent; border-radius: .4rem; background: var(--pbh-primary); color: var(--pbh-on-primary) !important; font-size: .95rem; line-height: 1.2; font-weight: 750; text-decoration: none !important; }
.pbh-button:hover { filter: brightness(.92); }
.pbh-button-outline { background: transparent; border-color: var(--pbh-primary); color: var(--pbh-primary) !important; }
.pbh-button .pbh-line-icon { width: 22px; height: 22px; }
.pbh-panel { border: 1px solid var(--pbh-line); border-radius: 1rem; padding: clamp(1.2rem, 3vw, 2.5rem); margin: 2rem 0; background: var(--pbh-paper); }
.pbh-section-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-bottom: 1.35rem; }
.pbh-section-heading h2 { margin: 0; }
.pbh-search { display: block; font-size: .8rem; min-width: min(100%, 280px); max-width: 100%; }
.pbh-search input { display: block; margin-top: .4rem; }
.pbh-skip { position: absolute; top: -100px; left: 1rem; z-index: 100000; background: #fff; color: #18211f; padding: 1rem; }
.pbh-skip:focus { top: 1rem; }

/* Editorial homepage: photography, clear starting points and a complete guide directory. */
.pbh-home :is(h1, h2, h3) { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; color: var(--pbh-primary); }
.pbh-home-section { margin: 2rem 0; scroll-margin-top: 1rem; }
.pbh-home .pbh-section-title { font-size: clamp(1.7rem, 2.9vw, 2.35rem); padding-left: .85rem; border-left: 5px solid var(--pbh-primary); }
.pbh-text-link { display: inline-flex; align-items: center; gap: .65rem; color: var(--pbh-primary) !important; font-size: .85rem; font-weight: 750; text-decoration: none; }
.pbh-text-link .pbh-line-icon { width: 22px; height: 22px; }
.pbh-hero { position: relative; isolation: isolate; min-height: clamp(290px, 28vw, 350px); overflow: hidden; border-radius: .65rem; background: var(--pbh-cream, var(--pbh-soft)); }
.pbh-hero-media { position: absolute; top: 0; right: 0; width: 66%; height: 100%; z-index: -1; }
.pbh-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 63% center; }
.pbh-hero-media:after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, var(--pbh-cream, var(--pbh-soft)) 0%, color-mix(in srgb, var(--pbh-cream) 90%, transparent) 10%, transparent 48%); }
.pbh-hero-copy { position: relative; width: 58%; padding: clamp(1.3rem, 2.5vw, 2.25rem); }
.pbh-hero-copy > .pbh-eyebrow { color: var(--pbh-primary); font-family: Georgia, 'Times New Roman', serif; font-size: 1rem; letter-spacing: -.02em; margin-bottom: .45rem; }
.pbh-hero-copy > .pbh-eyebrow > span { font-family: Arial, sans-serif; font-size: 1.2rem; letter-spacing: -.12em; margin-right: .3rem; }
.pbh-hero h1 { margin: 0 0 .75rem; font-size: clamp(3.2rem, 5.8vw, 4.8rem); line-height: .98; letter-spacing: -.045em; }
.pbh-hero-description { max-width: 44ch; font-size: clamp(.95rem, 1.5vw, 1.12rem); line-height: 1.4; margin-bottom: 1rem; }
.pbh-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; margin-top: 1.1rem; }
.pbh-hero .pbh-button { font-family: Georgia, 'Times New Roman', serif; font-size: 1.05rem; }
.pbh-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 1.35rem 0; margin: 0 0 1.8rem; list-style: none; border-bottom: 1px solid var(--pbh-line); }
.pbh-benefits li { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: .2rem 1rem; font-size: .88rem; line-height: 1.35; }
.pbh-benefits li + li { border-left: 1px solid var(--pbh-line); }
.pbh-benefits .pbh-line-icon { width: 36px; height: 36px; color: var(--pbh-primary); stroke-width: 1.4; }
.pbh-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pbh-category { display: block; position: relative; isolation: isolate; min-height: 175px; aspect-ratio: 1.95; overflow: hidden; border-radius: .65rem; color: #fff !important; text-decoration: none; }
.pbh-category > img { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.pbh-category:after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0000 0%, #0004 25%, #000e 100%); }
.pbh-category > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: end; position: relative; height: 100%; padding: 1.15rem 1.25rem; }
.pbh-category .pbh-line-icon { width: 35px; height: 35px; margin-bottom: .4rem; stroke-width: 1.4; }
.pbh-category h3 { color: #fff; font-size: clamp(1.35rem, 2.15vw, 1.85rem); margin: 0 0 .35rem; line-height: 1.05; letter-spacing: -.025em; }
.pbh-category p { margin: 0; font-size: .8rem; line-height: 1.35; }
.pbh-category:hover > img { transform: scale(1.035); }
.pbh-category:hover h3 { text-decoration: underline; text-underline-offset: .15em; }
.pbh-featured { display: grid; grid-template-columns: 26% minmax(0, 1fr) 23%; align-items: center; position: relative; min-height: 205px; overflow: hidden; margin: 2.5rem 0 1.7rem; border: 1px solid var(--pbh-line); border-radius: .7rem; background: var(--pbh-cream, var(--pbh-soft)); box-shadow: 0 4px 12px #00000006; }
.pbh-featured-photo { position: relative; height: 100%; min-height: 205px; }
.pbh-featured-photo img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.pbh-featured-photo:after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, transparent 65%, var(--pbh-cream, var(--pbh-soft))); }
.pbh-featured-copy { padding: 1.2rem .7rem 1.2rem 1.2rem; }
.pbh-feature-label { display: inline-block; padding: .3rem .6rem; margin: 0 0 .35rem; border-radius: .2rem; background: var(--pbh-primary); color: var(--pbh-on-primary); font-size: .7rem; font-weight: 750; line-height: 1.2; }
.pbh-featured h2 { margin: 0 0 .45rem; font-size: clamp(1.7rem, 2.9vw, 2.45rem); line-height: 1.05; }
.pbh-featured-copy > p:not(.pbh-feature-label) { font-size: .95rem; line-height: 1.4; margin-bottom: .85rem; max-width: 48ch; }
.pbh-featured .pbh-button { min-height: 42px; padding: .55rem 1.1rem; font-family: Georgia, 'Times New Roman', serif; }
.pbh-featured-list { list-style: none; margin: 1rem 0; padding: .35rem 1.25rem .35rem 1.6rem; border-left: 1px solid var(--pbh-line); }
.pbh-featured-list li { display: flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 650; margin: .65rem 0; line-height: 1.3; }
.pbh-featured-list .pbh-line-icon { width: 23px; height: 23px; color: var(--pbh-primary); stroke-width: 3; }
.pbh-learning-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem; list-style: none; padding: 0; margin: 0; }
.pbh-learning-steps li { position: relative; min-width: 0; }
.pbh-learning-steps li:not(:last-child):after { content: '›'; position: absolute; right: -1.65rem; top: 50%; transform: translateY(-50%); color: var(--pbh-primary); font-size: 2.6rem; line-height: 1; }
.pbh-learning-steps a { display: flex; align-items: center; gap: 1rem; height: 100%; border: 1px solid color-mix(in srgb, var(--pbh-line) 70%, var(--pbh-primary)); border-radius: .65rem; padding: 1rem 1.1rem; background: var(--pbh-cream, var(--pbh-soft)); text-decoration: none; }
.pbh-step-number { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 50%; color: var(--pbh-on-primary); background: var(--pbh-primary); font-family: Georgia, 'Times New Roman', serif; font-size: 1.65rem; font-weight: 700; }
.pbh-learning-steps h3 { margin: 0 0 .3rem; font-size: 1.2rem; line-height: 1.15; }
.pbh-learning-steps p { margin: 0; font-size: .85rem; line-height: 1.4; }
.pbh-learning-steps a:hover h3 { text-decoration: underline; text-underline-offset: .15em; }
.pbh-popular-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.pbh-popular-card { border: 1px solid var(--pbh-line); border-radius: .65rem; overflow: hidden; box-shadow: 0 3px 8px #00000008; background: var(--pbh-paper); min-width: 0; }
.pbh-popular-card > a { display: block; height: 100%; text-decoration: none; }
.pbh-popular-card img { display: block; width: 100%; height: auto; aspect-ratio: 2.15; object-fit: cover; }
.pbh-popular-card a > div { padding: .85rem 1rem 1rem; }
.pbh-popular-card .pbh-eyebrow { color: var(--pbh-primary); font-size: .6rem; letter-spacing: .015em; margin: 0 0 .3rem; line-height: 1.2; }
.pbh-popular-card h3 { margin: 0; font-size: 1.2rem; line-height: 1.15; letter-spacing: -.025em; }
.pbh-popular-card a:hover h3 { text-decoration: underline; text-underline-offset: .15em; }
.pbh-directory { padding-top: .5rem; }
.pbh-directory .pbh-section-heading p { margin: .65rem 0 0; font-size: .9rem; }
.pbh-directory > [data-guide-count] { font-size: .8rem; color: var(--pbh-muted); }
.pbh-directory-groups { border-top: 1px solid var(--pbh-line); }
.pbh-module { border-bottom: 1px solid var(--pbh-line); }
.pbh-module summary { display: flex; align-items: center; gap: 1rem; cursor: pointer; list-style: none; padding: 1.1rem .5rem; }
.pbh-module summary::-webkit-details-marker { display: none; }
.pbh-module summary:after { content: '+'; margin-left: .5rem; font-size: 1.7rem; line-height: 1; color: var(--pbh-primary); }
.pbh-module[open] summary:after { content: '−'; }
.pbh-directory-label { flex: 1; }
.pbh-directory-label strong { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 1.35rem; color: var(--pbh-primary); line-height: 1.2; margin-bottom: .3rem; }
.pbh-directory-label > span { display: block; font-size: .8rem; color: var(--pbh-muted); line-height: 1.4; }
.pbh-directory-count { flex: 0 0 auto; font-size: .75rem; color: var(--pbh-muted); }
.pbh-module ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.75rem; list-style: none; padding: 0 .5rem 1.25rem; margin: 0; }
.pbh-module li { min-width: 0; border-top: 1px solid var(--pbh-line); }
.pbh-module li a { display: block; padding: .7rem 0; font-size: .85rem; line-height: 1.4; text-decoration: none; }
.pbh-module li a:hover { text-decoration: underline; }
.pbh-module li a > span { color: var(--pbh-primary); }
.pbh-home .pbh-walkthrough { margin-top: 2.5rem; }
.pbh-home .pbh-walkthrough > h2 { font-size: clamp(1.7rem, 2.9vw, 2.35rem); }
.pbh-home .pbh-walkthrough > p:not(.pbh-eyebrow) { max-width: 70ch; }
.pbh-home .pbh-panel { border-radius: .7rem; }
.pbh-essentials { scroll-margin-top: 1.5rem; }

/* Article layouts and the existing learning tools. */
.pbh-path { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.2rem; padding: 1.5rem 0; margin-bottom: 2.5rem; border-bottom: 1px solid var(--pbh-line); font-size: .85rem; }
.pbh-path > span { font-size: .65rem; font-weight: 750; letter-spacing: .1em; margin-right: auto; }
.pbh-path a { padding: .4rem 0; min-height: 32px; }
.pbh-guide-header { padding: 2rem 0 1rem; }
.pbh-guide-header h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); max-width: 25ch; }
.pbh-meta { font-size: .8rem; color: var(--pbh-muted); }
.pbh-reading-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 2rem; align-items: start; }
.pbh-reading-layout > .pbh-panel { margin-top: 0; }
.pbh-article { font-size: 1.05rem; overflow-wrap: anywhere; }
.pbh-article h2 { font-size: 1.65rem; margin-top: 2.2rem; scroll-margin-top: 2rem; }
.pbh-article h3 { margin-top: 1.5rem; }
.pbh-article li { margin-bottom: .5rem; }
.pbh-article a { color: var(--pbh-primary); }
.pbh-side { position: sticky; top: 2rem; background: var(--pbh-soft); padding: 1.5rem; border-radius: 1rem; font-size: .9rem; }
.pbh-side h2 { font-size: 1.65rem; }
.pbh-side .pbh-button { width: 100%; border-radius: .7rem; }
.pbh-side > a { font-size: .8rem; }
.pbh-walkthrough { background: var(--pbh-soft); }
.pbh-streets { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.pbh-streets button, .pbh-quiz-options button { padding: .75rem 1.1rem; min-height: 48px; border: 1px solid var(--pbh-line); border-radius: .5rem; color: var(--pbh-ink); background: var(--pbh-paper); }
.pbh-streets button[aria-pressed=true], .pbh-quiz-options button[aria-pressed=true] { background: var(--pbh-primary); color: var(--pbh-on-primary); border-color: var(--pbh-primary); }
.pbh-table { padding: clamp(1rem, 3vw, 2rem); border-radius: .7rem; border: 5px solid var(--pbh-line); background: var(--pbh-primary); color: var(--pbh-on-primary); }
.pbh-table > section { padding: 1rem 0; }
.pbh-table p { max-width: 75ch; margin: 1rem 0 0; }
.pbh-home .pbh-table h3 { color: var(--pbh-on-primary); }
.pbh-cards { display: inline-flex; gap: clamp(.2rem, 1vw, .6rem); margin: .5rem 0; max-width: 100%; }
.pbh-card { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: clamp(40px, 6vw, 62px); height: clamp(58px, 8vw, 86px); border: 1px solid #ccd1cf; border-radius: .4rem; background: #fff; color: #18211f; font: bold clamp(1rem, 2.5vw, 1.65rem) Georgia, serif; }
.pbh-card-red { color: #a92128; }
.pbh-ranks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; }
.pbh-ranks > li { display: flex; gap: .75rem; padding: 1rem; border: 1px solid var(--pbh-line); border-radius: .75rem; min-width: 0; }
.pbh-ranks .pbh-card { width: clamp(32px, 5vw, 52px); height: clamp(49px, 7vw, 74px); font-size: clamp(.9rem, 2vw, 1.3rem); }
.pbh-ranks p { font-size: .8rem; margin-bottom: 0; }
.pbh-rank-number { font-size: .75rem; color: var(--pbh-muted); }
.pbh-downloads { font-size: .85rem; }
.pbh-quiz { background: var(--pbh-secondary); color: var(--pbh-on-secondary); }
.pbh-home .pbh-quiz h2 { color: var(--pbh-on-secondary); }
.pbh-quiz-options { display: flex; gap: .7rem; flex-wrap: wrap; }
.pbh-quiz-options button { flex: 1 1 180px; text-align: left; }
.pbh-feedback { min-height: 1.65em; margin: 1rem 0; }
.pbh-answer summary { cursor: pointer; font-weight: 700; }
.pbh-answer p { margin: 1rem 0 0; }
.pbh-care { display: flex; align-items: flex-start; gap: 1.5rem; padding: 2rem; border-radius: 1rem; background: var(--pbh-soft); font-size: .85rem; }
.pbh-care > span { font-size: 2rem; }
.pbh-care h2 { font-size: 1.3rem; }
.pbh-care p { margin-bottom: .5rem; }
.pbh-related { columns: 2; list-style: none; padding: 0; column-gap: 2rem; }
.pbh-related li { break-inside: avoid; padding: .5rem 0; font-size: .95rem; }
.pbh form { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; }
.pbh form label { flex: 1 1 150px; }
.pbh output { display: block; width: 100%; font-weight: 700; padding: 1.25rem; background: var(--pbh-soft); border-radius: .7rem; margin-top: 1rem; }
.pbh-compass { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.pbh-compass > div { padding: 1.2rem; background: var(--pbh-soft); border-radius: .7rem; }
.pbh-compass dt, .pbh-terms dt { font-weight: 750; }
.pbh-compass dd, .pbh-terms dd { margin: .5rem 0 0; }
.pbh-alphabet { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0; }
.pbh-alphabet a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--pbh-line); border-radius: .4rem; text-decoration: none; }
.pbh-terms > div { padding: 1.1rem 0; border-bottom: 1px solid var(--pbh-line); scroll-margin-top: 1.5rem; }
.pbh-terms .pbh-letter { display: block; font-size: 2rem; color: var(--pbh-primary); margin-bottom: .75rem; }
.pbh-terms dd { font-size: .95rem; }

@media (max-width: 1050px) {
  .pbh-hero-copy { width: 61%; }
  .pbh-hero h1 { font-size: clamp(3rem, 6vw, 4.3rem); }
  .pbh-hero .pbh-button { font-size: .95rem; padding: .7rem 1rem; }
  .pbh-benefits li { padding: .2rem .7rem; gap: .65rem; font-size: .8rem; }
  .pbh-benefits .pbh-line-icon { width: 30px; height: 30px; }
  .pbh-featured { grid-template-columns: 25% minmax(0, 1fr) 23%; }
  .pbh-featured-list { padding-left: 1rem; padding-right: .6rem; }
  .pbh-featured-list li { font-size: .75rem; gap: .35rem; }
  .pbh-learning-steps { gap: 1.75rem; }
  .pbh-learning-steps li:not(:last-child):after { right: -1.3rem; }
  .pbh-learning-steps a { padding: .9rem .8rem; gap: .7rem; }
  .pbh-learning-steps h3 { font-size: 1.1rem; }
  .pbh-step-number { flex-basis: 42px; height: 42px; font-size: 1.5rem; }
  .pbh-learning-steps p { font-size: .8rem; }
  .pbh-popular-grid { gap: .75rem; }
  .pbh-popular-card a > div { padding: .8rem; }
  .pbh-popular-card h3 { font-size: 1.1rem; }
  .pbh-reading-layout { grid-template-columns: minmax(0, 1fr) 215px; gap: 1rem; }
}
@media (max-width: 760px) {
  .pbh-hero { min-height: 310px; }
  .pbh-hero-copy { width: 66%; padding: 1.4rem; }
  .pbh-hero-media { width: 70%; }
  .pbh-hero-description { font-size: .95rem; }
  .pbh-hero .pbh-actions { gap: .55rem; }
  .pbh-hero .pbh-button { font-size: .9rem; padding: .65rem .85rem; }
  .pbh-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 0; }
  .pbh-benefits li { justify-content: flex-start; padding: 0 1rem; font-size: .83rem; }
  .pbh-benefits li:nth-child(3) { border-left: 0; }
  .pbh-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pbh-category { min-height: 175px; }
  .pbh-category h3 { font-size: 1.5rem; }
  .pbh-category p { font-size: .75rem; }
  .pbh-featured { grid-template-columns: 32% minmax(0, 1fr); }
  .pbh-featured-copy { padding: 1.1rem; }
  .pbh-featured-list { display: none; }
  .pbh-learning-steps { gap: 1rem; }
  .pbh-learning-steps a { flex-direction: column; text-align: center; align-items: center; padding: 1rem .6rem; }
  .pbh-learning-steps li:not(:last-child):after { display: none; }
  .pbh-popular-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .pbh-popular-card h3 { font-size: 1.25rem; }
  .pbh-reading-layout, .pbh-ranks, .pbh-compass { grid-template-columns: 1fr; }
  .pbh-side { position: static; }
  .pbh-path > span { width: 100%; }
  .pbh-related { columns: 1; }
  .pbh-care { padding: 1.3rem; gap: .8rem; }
  .pbh-panel { border-radius: .9rem; }
  .pbh-ranks .pbh-card { width: clamp(32px, 11vw, 58px); height: clamp(48px, 15vw, 80px); }
  .pbh-section-heading { align-items: stretch; }
  .pbh-module ul { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .pbh-breadcrumbs { padding: 1rem 0 .75rem; }
  .pbh-hero { display: flex; flex-direction: column; min-height: 0; }
  .pbh-hero-copy { width: 100%; padding: 1.5rem 1.25rem 1.3rem; order: 0; }
  .pbh-hero-copy > .pbh-eyebrow { font-size: .9rem; }
  .pbh-hero h1 { font-size: clamp(2.7rem, 11vw, 3.6rem); }
  .pbh-hero-description { max-width: 40ch; }
  .pbh-hero-media { position: relative; width: 100%; height: auto; aspect-ratio: 2.2; order: 1; }
  .pbh-hero-media:after { background: linear-gradient(180deg, var(--pbh-cream, var(--pbh-soft)), transparent 40%); }
  .pbh-hero-media img { object-position: center 54%; }
  .pbh-hero .pbh-actions { flex-wrap: nowrap; gap: .6rem; }
  .pbh-hero .pbh-button { flex: 1; font-size: .86rem; padding: .7rem .6rem; gap: .5rem; }
  .pbh-hero .pbh-button .pbh-line-icon { width: 18px; height: 18px; }
  .pbh-benefits { padding: 1.2rem 0; margin-bottom: 1.6rem; gap: 1rem 0; }
  .pbh-benefits li { padding: 0 .6rem; gap: .6rem; font-size: .72rem; }
  .pbh-benefits .pbh-line-icon { width: 28px; height: 28px; }
  .pbh-home-section { margin: 1.7rem 0; }
  .pbh-home .pbh-section-title { font-size: 1.6rem; border-left-width: 4px; padding-left: .65rem; }
  .pbh-text-link { font-size: .75rem; }
  .pbh-section-heading { gap: .85rem; margin-bottom: 1rem; }
  .pbh-category-grid { gap: .7rem; }
  .pbh-category { min-height: 185px; aspect-ratio: .95; }
  .pbh-category > div { padding: .8rem .75rem; }
  .pbh-category .pbh-line-icon { width: 29px; height: 29px; }
  .pbh-category h3 { font-size: 1.25rem; line-height: 1.1; }
  .pbh-category p { font-size: .7rem; line-height: 1.35; }
  .pbh-featured { display: block; margin: 1.8rem 0; }
  .pbh-featured-photo { min-height: 0; height: 150px; }
  .pbh-featured-photo:after { background: linear-gradient(180deg, transparent 60%, var(--pbh-cream, var(--pbh-soft))); }
  .pbh-featured-copy { padding: .7rem 1.15rem 1.25rem; }
  .pbh-featured h2 { font-size: 2rem; }
  .pbh-featured-copy > p:not(.pbh-feature-label) { font-size: .9rem; }
  .pbh-learning-steps { grid-template-columns: 1fr; gap: .75rem; }
  .pbh-learning-steps a { flex-direction: row; text-align: left; justify-content: flex-start; padding: .9rem 1rem; gap: 1rem; }
  .pbh-learning-steps h3 { font-size: 1.25rem; }
  .pbh-learning-steps p { font-size: .85rem; }
  .pbh-popular-grid { gap: .7rem; }
  .pbh-popular-card a > div { padding: .75rem; }
  .pbh-popular-card h3 { font-size: 1.05rem; }
  .pbh-popular-card img { aspect-ratio: 1.6; }
  .pbh-search { width: 100%; }
  .pbh-directory-label > span { display: none; }
  .pbh-directory-label strong { font-size: 1.15rem; margin: 0; }
  .pbh-module summary { gap: .6rem; padding: 1.1rem .2rem; }
  .pbh-directory-count { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pbh * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .pbh-body .wp-block-template-part, .pbh-breadcrumbs, .pbh-side, .pbh-path, .pbh-quiz, .pbh-care, .pbh-print, .pbh-skip { display: none !important; }
  .pbh { max-width: none; padding: 0; color: #000; }
  .pbh-panel { border: 0; padding: 0; }
  .pbh-reading-layout { display: block; }
  .pbh-ranks { display: block; }
  .pbh-ranks > li { break-inside: avoid; margin-bottom: .4rem; padding: .4rem; }
  .pbh-ranks .pbh-card { width: 38px; height: 52px; font-size: 1rem; }
  .pbh-ranks p { margin: .1rem 0; }
  .pbh-ranks .pbh-cards { margin: .2rem 0; }
  body.pbh-print-chart .pbh > :not(#hand-chart) { display: none !important; }
  body.pbh-print-chart #hand-chart { margin: 0; }
  body.pbh-print-chart #hand-chart h2 { font-size: 22px; }
  body.pbh-print-chart #hand-chart .pbh-ranks { columns: 2; }
  body.pbh-print-chart #hand-chart .pbh-ranks > li { display: block; }
}
.pbh .pbh-card{flex-direction:column;line-height:1.05}.pbh-card-value,.pbh-card-suit{display:block}.pbh-card-suit{font-size:1.05em}
