/* WordPress bridge for original Basho/Ghost styles.
   Uses the original layout classes while avoiding Ghost-only JS dependencies. */
:root { --ghost-bg-color: #2EFFB9; --ghost-accent-color: #fb1818; }
body { --font-family-one: 'Lora', Georgia, serif; --font-family-two: 'Lora', Georgia, serif; --font-family-three: var(--font-family-system); }
body { min-width: 280px; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; }
.global-main { overflow: hidden; }
.header-section, .hero-section, .footer-section, .post-header.is-partial-color, .archive-section.is-partial-color { background: var(--ghost-bg-color); }
.header-wrap { gap: 20px; }
.header-nav { display:flex; align-items:center; justify-content:flex-end; gap: 18px; }
.header-nav nav { flex: 0 1 auto; }
.header-nav .menu, .header-nav nav>ul { display:flex; align-items:center; list-style:none; margin:0; padding:0; gap: 19px; }
.header-nav .menu li { margin: 0; }
.header-nav .menu a { font-size: 1.65rem; }
.header-logo .is-title { font-size: clamp(2rem, 2.2vw, 3.4rem); }
.hhs-search-toggle { appearance:none; background:transparent; border:0; font-size:30px; cursor:pointer; color:inherit; min-width:40px; }
.hhs-menu-toggle { display:none; background:transparent; border:0; cursor:pointer; padding:5px; min-width:36px; }
.hhs-menu-toggle span { display:block; width:29px; height:2px; background:currentColor; margin:6px 0; }
.hhs-search { padding: 10px 0 24px; }
.hhs-search[hidden] { display:none; }
.hhs-search-form { display:flex; align-items:center; gap:12px; max-width:900px; }
.hhs-search-form label { font-size:1.4rem; }
.hhs-search-form input { border:1px solid rgba(0,0,0,.4); border-radius:12px; padding:12px; flex:1; min-width:120px; background:#fff; font-size:1.7rem; }
.hhs-search-form button { font-size:1.6rem; border:0; padding:13px 23px; border-radius:30px; background:#111; color:#fff; cursor:pointer; }
.hhs-hero-heading { text-align:center; margin:0 auto; max-width:1400px; }
.hhs-hero-heading span, .hhs-hero-heading em { display:block; }
.hhs-hero-heading em { margin-top:12px; font-family:'Lora',Georgia,serif; font-weight:400; font-size:.65em; line-height:1.38; }
.hero-content { margin-bottom:6vh; }
.hero-wrap { padding-top:5vh; }
.featured-section { overflow:hidden; }
.featured-wrap { display:flex; align-items:stretch; overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:x mandatory; gap:var(--grid-gap); scrollbar-width:thin; padding-bottom:20px; }
.featured-wrap .item.is-featured, .featured-wrap .item.is-featured.is-small { width: 30%; min-width: 290px; flex:0 0 30%; margin-right:0; scroll-snap-align:start; }
.featured-btn-next, .featured-btn-previous { opacity:1!important; pointer-events:auto!important; font-size:3rem; padding:0 12px; }
.featured-navigation button { color:inherit; }
.featured-wrap .item-image { margin-bottom:16px; }
.item-image img { width:100%; height:100%; object-fit:cover; }
.item-image > a.global-link { z-index:2; }
.item-tags { min-height:28px; line-height:1.5; }
.item.is-featured .item-content { padding-bottom:8px; }
.item-title { word-break:normal; }
.loop-subtitle-title, .loop-subtitle { min-width:0; }
.loop-subtitle-title { font-size: clamp(3.6rem, 6vw, 7rem); }
.loop-wrap { grid-template-columns:repeat(3,minmax(0,1fr)); }
.pagination-section { padding:25px 0 75px; }
.pagination-section ul.page-numbers { list-style:none; display:flex; justify-content:center; flex-wrap:wrap; gap:8px; padding:0; }
.pagination-section .page-numbers a, .pagination-section .page-numbers span, .pagination-section nav a { display:inline-block; border-radius:30px; padding:9px 18px; border:1px solid #bbb; font-size:1.7rem; }
.pagination-section .page-numbers .current { background:#111; color:#fff; }
.post-header { background:var(--ghost-bg-color); }
.post-header-container { align-items:center; }
.post-header-image img { height:100%; width:100%; object-fit:cover; }
.post-header .global-title { overflow-wrap:break-word; }
.post-content { overflow-wrap:anywhere; }
.hhs-post-body { max-width: 850px; margin: 0 auto 8vh; padding-top:6vh; }
.hhs-post-body img { height:auto; max-width:100%; }
.hhs-post-body figure { max-width:100%; }
.hhs-post-body .wp-block-image img, .hhs-post-body .kg-image { border-radius:var(--border-radius); }
.hhs-post-body .alignwide { max-width:100%; }
.hhs-post-body .wp-block-embed iframe { max-width:100%; }
.hhs-post-body a { word-break: break-word; }
.hhs-post-navigation { margin-bottom:6vh; font-size:1.8rem; }
.hhs-post-navigation .nav-links { display:flex; justify-content:space-between; gap:24px; }
.hhs-post-navigation a { text-decoration:underline; }
.special-wrap { grid-template-columns:repeat(4,minmax(0,1fr)); }
.special-wrap .item-content { padding-right:0; }
.hhs-page .post-header-content { width:100%; }
.archive-section { padding-top:7vh; padding-bottom:5vh; }
.archive-section .global-title { font-size:clamp(3rem,6vw,7rem); }
.hhs-archive { padding-top:6vh; }
.hhs-error { padding-top:15vh; padding-bottom:15vh; text-align:center; }
.hhs-error p { font-size:2.4rem; }
.hhs-newsletter { display:flex; justify-content:space-between; flex-wrap:wrap; align-items:center; padding:5vh 0; gap:24px; }
.hhs-newsletter h2 { font-weight:400; font-size:clamp(3rem, 5vw, 5rem); width:auto; }
.footer-nav ul { list-style:none; padding:0; }
.footer-nav .menu { display:block; }
.footer-nav .menu li { margin-bottom:1vh; }
.footer-copyright { font-size:1.5rem; padding-bottom:24px; }
.hhs-comments { max-width:800px; margin:0 auto 6vh; font-size:1.7rem; }
.hhs-comments textarea, .hhs-comments input { border:1px solid #aaa; padding:10px; }
.hhs-comments h2 { font-size:3rem; }
.screen-reader-text { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media (max-width:1000px) { .featured-wrap .item.is-featured { width:42%; flex-basis:42%; } .special-wrap { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:768px) {
  .header-nav nav { display:none; position:absolute; top:70px; right:0; left:auto; min-width:240px; max-width:90vw; background:#fff; box-shadow:0 12px 45px #0002; padding:20px; border-radius:14px; z-index:80; }
  .header-nav nav.is-open { display:block; }
  .header-nav nav .menu, .header-nav nav > ul { display:block; }
  .header-nav nav li { padding:9px 0; }
  .hhs-menu-toggle { display:block; }
  .header-wrap { min-height:80px; }
  .header-logo { margin:18px 0; }
  .header-logo img { max-height:42px; max-width:190px; object-fit:contain; }
  .featured-wrap .item.is-featured { min-width:245px; width:66%; flex-basis:66%; }
  .loop-wrap { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .special-wrap { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hhs-post-body { padding-top:4vh; }
  .hhs-hero-heading { font-size:clamp(3.1rem,7vw,5rem); }
}
@media (max-width:520px) {
  .header-nav { gap:6px; }
  .header-logo .is-title { font-size:2.2rem; }
  .featured-wrap .item.is-featured { min-width:230px; width:80%; flex-basis:80%; }
  .loop-wrap { grid-template-columns:1fr; }
  .special-wrap { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hhs-hero-heading { font-size:clamp(2.8rem,7vw,3.8rem); }
  .hhs-hero-heading em { font-size:.66em; }
  .post-header-image { width:100%; }
  .hhs-post-navigation .nav-links { display:block; }
}
/* Imported Ghost custom-tags page: /directory/ */
.hhs-tags-directory { padding-top:5vh; padding-bottom:12vh; }
.hhs-directory-intro { max-width:850px; margin-bottom:3vh; }
.hhs-tags-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.hhs-tag-tile { background:var(--color-nine); padding:28px; border-radius:20px; min-height:145px; display:flex; flex-direction:column; gap:7px; }
.hhs-tag-tile strong { font-family:'Lora', Georgia, serif; font-size:clamp(2rem,2.5vw,3rem); }
.hhs-tag-tile small, .hhs-tag-tile span { font-size:1.5rem; opacity:.8; }
.hhs-tag-tile:hover { background:var(--color-one); }
@media(max-width:768px){.hhs-tags-grid {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:520px){.hhs-tags-grid {grid-template-columns:1fr;}}

/* Refinements v1.1 — optional compact header without changing the original Ghost CSS. */
.header-logo { display:flex; align-items:center; gap:14px; }
.header-logo .is-logo img, .header-logo .custom-logo {height: 52px; width:auto; max-width:75px; object-fit:contain;}
.header-logo .hhs-wordmark {font-family:'Lora', Georgia, serif; font-size:clamp(1.6rem, 1.65vw, 2.2rem); font-weight:700; line-height:1.18; max-width:190px; text-decoration:none; white-space:normal; }
.hhs-search-toggle { display:inline-flex; align-items:center; justify-content:center; }
.hhs-search-toggle svg {display:block; fill:none!important; stroke:currentColor; }
body.hhs-hero-compact .hero-wrap {padding-top: 1.5vh;}
body.hhs-hero-compact .hero-content {margin-bottom:clamp(22px, 2.8vh, 38px);}
body.hhs-hero-compact .hero-title-medium {font-size:clamp(3.8rem, 5.15vw, 7rem); line-height:1.13; margin-bottom:0;}
body.hhs-hero-compact .hhs-hero-heading em {font-size:.52em; line-height:1.38; margin-top:1.1rem;}
body.hhs-hero-compact .featured-section {padding-top:0;}
body.hhs-hero-compact .featured-wrap .item.is-featured {min-width:290px;}
@media (max-width:1024px) {
  .header-logo .hhs-wordmark {max-width:155px;}
  body.hhs-hero-compact .hero-title-medium {font-size:clamp(3.6rem,5.4vw,6rem);}
}
@media (max-width:768px) {
  .header-logo .is-logo img, .header-logo .custom-logo {height:42px;max-width:54px;}
  .header-logo .hhs-wordmark {font-size:1.55rem;max-width:175px;}
  body.hhs-hero-compact .hero-title-medium {font-size:clamp(3.1rem,7.2vw,4.9rem);}
  body.hhs-hero-compact .hhs-hero-heading em {font-size:.55em;}
}
@media (max-width:520px) {
  .header-logo {gap:8px;}
  .header-logo .hhs-wordmark {font-size:1.35rem;max-width:125px;}
  body.hhs-hero-compact .hero-title-medium {font-size:clamp(2.9rem,7.5vw,4rem);}
}

/* Version 1.2: Ghost-style social links and a complete two-sentence footer description. */
.footer-nav { gap: clamp(10px, 1.6vw, 24px); }
.footer-nav .hhs-footer-social { min-width: 120px; }
.footer-nav .hhs-footer-social li a { display: inline-flex; align-items: center; gap: 9px; line-height: 1.45; }
.footer-nav .hhs-footer-social .hhs-social-icon { display:block; width:18px; height:18px; min-width:18px; object-fit:contain; margin:0; transform:none; }
.footer-description { max-width: 460px; }
@media (max-width:768px) {
    .footer-nav { gap: 12px 8px; }
    .footer-nav .hhs-footer-social .hhs-social-icon { width:16px; height:16px; min-width:16px; }
}

/* Version 1.3 — author avatar and original Ghost tag imagery. */
.hhs-tags-grid { gap: clamp(16px, 2vw, 30px); }
.hhs-tags-grid .hhs-tag-tile { display: flex; flex-direction: column; padding: 0; overflow: hidden; background: transparent; min-height: 0; border-radius: 20px; text-decoration: none; gap: 0; }
.hhs-tags-grid .hhs-tag-tile:hover { background: transparent; }
.hhs-tag-image { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; background: #e9ede7; }
.hhs-tag-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.hhs-tag-tile:hover .hhs-tag-image img { transform: scale(1.035); }
.hhs-tag-placeholder { color: #183e36; background: #b9e7d4; }
.hhs-tag-copy { display: flex; flex-direction: column; padding: 14px 3px 22px; gap: 5px; }
.hhs-tags-grid .hhs-tag-copy strong { font-size: clamp(2rem, 2vw, 2.8rem); line-height: 1.25; }
.hhs-tags-grid .hhs-tag-copy small, .hhs-tags-grid .hhs-tag-copy span { font-size: 1.5rem; line-height: 1.45; }
.hhs-author-post-meta { align-items: center; gap: 8px; }
.hhs-author-post-meta .post-authors.global-authors { flex: 0 0 auto; margin: 0; }
.hhs-author-post-meta .post-item-author { margin: 0 6px 0 0; border-width: 3px; border-radius: 50%; overflow: hidden; }
.hhs-author-post-meta .post-item-author img, .item-author.is-image img, .hhs-meet-author .global-item-author img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.item-author.is-image { border-radius: 50%; overflow: hidden; }
.item-author.is-image img { background: white; }
.hhs-meet-author { text-align: center; flex: 0 0 auto; margin-top: 0; margin-left: 24px; }
.hhs-meet-author .global-item-author { border-radius: 50%; overflow: hidden; }
.hhs-archive-cover { overflow: hidden; border-radius: 50%; }
.hhs-archive-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hhs-archive-tag-cover { width: 210px; height: 145px; border-radius: 20px; }
.hhs-archive-tag-cover img { border-radius: 20px; padding: 0; }
@media(max-width:768px) {
  .hhs-meet-author { margin-left: 12px; }
  .hhs-meet-author .global-item-author { width: 62px; height: 62px; margin: 0; }
  .hhs-tag-copy { padding-bottom: 12px; }
}
@media(max-width:520px) {
  .hhs-meet-author { display: none; }
}
