/* Shared rhythm only: retain Hamneshin's artwork, grids, colors and motion. */
body.home #content .hn-element.hn-element-235f982{--margin-top:24px;margin-top:24px!important}
body.home #content .hn-element.hn-element-cfee76d{margin-bottom:8px!important;--kit-widget-spacing:8px}
body.home #content .hn-element.hn-element-adb0b7f{width:100%;max-width:800px;margin:auto!important}
/* Homepage section typography follows the download-section reference. */
body.home.hn-site #content h2.hn-heading-title.hn-size-default{font-size:1.25em!important;font-weight:700!important;line-height:1.8!important;text-wrap:pretty}
body.home.hn-site #content :is(p.hn-heading-title.hn-size-default,.hn-widget-text-editor p):not(.hn-element-15074db p){font-size:16px!important;font-weight:400!important;line-height:1.85!important;text-wrap:pretty}
body.home #content #hn-events .hmd-events-embed.hd-site{margin:0!important;padding-top:0!important}
@media(max-width:767px){body.home #content .hn-element.hn-element-235f982{--margin-top:16px;margin-top:16px!important}}
body.hn-site .hd-city-credit{display:none!important}
/* Intermediate screens: reserve room for actions before desktop navigation collides. */
@media(min-width:1025px) and (max-width:1350px){
  body.hn-site .hn-header .hn-header-inner{gap:16px;padding-inline:24px;min-height:72px}
  body.hn-site .hn-header .hn-desktop-nav{display:none!important}
  body.hn-site .hn-header .hn-brand{flex:0 0 136px}
  body.hn-site .hn-header .hn-brand img{width:136px}
  body.hn-site .hn-header .hn-desktop-actions{display:flex!important;margin-inline-start:auto;gap:12px;min-width:0}
  body.hn-site .hn-header .hn-header-search input{width:clamp(160px,18vw,230px)}
  body.hn-site .hn-header .hn-menu-toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;padding:10px}
  body.hn-site #hn-mobile-menu{padding:12px 24px;max-height:calc(100dvh - 100px);overflow-y:auto}
  body.hn-site #hn-mobile-menu .hn-menu{display:flex;flex-direction:column;gap:4px;list-style:none;margin:0;padding:0}
  body.hn-site #hn-mobile-menu .hn-menu a{display:flex;align-items:center;min-height:44px;padding:10px 14px;line-height:1.65}
}
body.hn-site .hn-7297 .hn-element.hn-element-2982c957{--margin-bottom:0px;margin-bottom:0!important;--min-height:0;min-height:0}
body.hn-site .hn-7297{margin-bottom:0;padding-bottom:0}
body.hn-site .hn-7297 .hn-element-e8317b4{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:20px}
body.hn-site .hn-business-seal{display:inline-flex;background:#fff;border-radius:12px;padding:8px}
body.hn-site .hn-business-seal img{display:block;width:96px;height:144px;object-fit:contain}
body.hn-site .hn-7297 .hn-footer-seals{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;width:100%}
body.hn-site .hn-7297 .hn-footer-seals .hn-verification-seal{display:flex;align-items:center;justify-content:center;flex:0 0 124px;width:124px;height:168px;padding:12px;box-sizing:border-box;background:#fff;border:1px solid #e5e9e5;border-radius:14px;line-height:0;overflow:hidden}
body.hn-site .hn-7297 .hn-footer-seals .hn-verification-seal img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;margin:0;border-radius:0}
body.hn-site .hn-footer-seals .hn-verification-seal:focus-visible{outline:2px solid var(--hn-orange,#f58220);outline-offset:4px}
@media(max-width:380px){body.hn-site .hn-7297 .hn-footer-seals{gap:12px}body.hn-site .hn-7297 .hn-footer-seals .hn-verification-seal{flex-basis:112px;width:112px;height:156px;padding:10px}}
body.home #content .hn-home-events-more{display:flex;justify-content:center;width:100%;margin-top:24px}
/* A quiet continuation cue behind the all-events CTA; decorative, never interactive. */
body.home #content .hn-home-events-more{position:relative;isolation:isolate;display:grid;place-items:center;padding-top:100px;padding-bottom:20px;margin-top:16px}
body.home #content .hn-home-events-more>.hn-button{position:relative;z-index:1;max-width:calc(100% - 32px)}
body.home #content .hn-event-preview-row{position:absolute;inset:0;z-index:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;overflow:hidden;pointer-events:none;opacity:.2;filter:blur(3px);-webkit-mask-image:linear-gradient(#000 0%,#0008 50%,transparent 100%);mask-image:linear-gradient(#000 0%,#0008 50%,transparent 100%)}
body.home #content .hn-event-preview-row{padding:0;max-width:100%;margin:0;direction:rtl}
body.home #content .hn-event-preview-row[hidden]{display:none!important}
body.home #content .hn-event-preview-row[data-count="1"]{grid-template-columns:minmax(0,1fr)}
@media(min-width:1025px){body.home #content .hn-event-preview-row[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}}
body.home #content .hn-event-preview-row .hd-card{min-height:260px;height:260px;padding-top:70px;min-width:0;align-self:start;box-shadow:none}
body.home #content .hn-home-events-more:not(.has-previews){padding-block:12px 20px}
body.home #content .hn-home-events-more>.hn-button{background:transparent!important;color:var(--hn-orange,#f58220)!important;border:1px solid var(--hn-orange,#f58220)!important;border-radius:999px;padding:12px 24px;box-shadow:none}
body.home #content .hn-home-events-more>.hn-button:hover{background:var(--hn-orange,#f58220)!important;color:#fff!important}
@media(max-width:1024px){body.home #content .hn-event-preview-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}body.home #content .hn-event-preview:nth-child(n+3){display:none}}
@media(max-width:540px){body.home #content .hn-event-preview-row{grid-template-columns:minmax(0,1fr)}body.home #content .hn-event-preview:nth-child(n+2){display:none}body.home #content .hn-home-events-more{padding-top:80px;padding-bottom:16px}}
@media(max-width:1024px){
  body.hn-site{padding-bottom:0!important}
  body.hn-site .hn-7297 .hn-element.hn-element-2982c957{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}
}
/* The camera asset includes whitespace; align its visible artwork with the other tiles. */
body.home #content .hn-element.hn-hamline-card img {
  position:absolute;
  inset:-17% 0 auto!important;
  width:100%!important;
  height:100%!important;
  max-width:100%;
  object-fit:contain!important;
  transform:none!important;
  margin:0!important;
}
/* Article media keeps its intrinsic ratio and is never enlarged to fill a row. */
body.hn-site #content .hn-widget-theme-post-content img:not(.emoji):not(.wp-smiley) {
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
}
body.hn-site #content .hn-widget-theme-post-content :is(figure.wp-block-image,figure.wp-caption,p:has(>img:only-child),p:has(>a:only-child>img:only-child)) img {
  display:block;
  margin-inline:auto;
}
/* Native FAQ disclosure: the legacy .is-active accordion is no longer used. */
body.hn-site #content #rank-math-faq details.rank-math-list-item {
  padding:0!important;margin:0 0 12px!important;border:1px solid var(--hn-ui-border,#e2e8f0)!important;
  border-radius:12px!important;box-shadow:none!important;transition:border-color 150ms!important;
}
body.hn-site #content #rank-math-faq details.rank-math-list-item > summary.rank-math-question {
  display:block!important;position:relative;list-style:none;cursor:pointer;
  margin:0!important;padding:18px 20px 18px 48px!important;
  font-size:16px!important;font-weight:700!important;line-height:1.75!important;text-align:start;
}
body.hn-site #content #rank-math-faq summary.rank-math-question::-webkit-details-marker {display:none}
body.hn-site #content #rank-math-faq summary.rank-math-question::after {
  content:''!important;position:absolute;left:22px;top:50%;width:8px;height:8px;
  border:solid currentColor;border-width:0 1.5px 1.5px 0;
  transform:translateY(-65%) rotate(45deg);transition:transform 150ms;
}
body.hn-site #content #rank-math-faq details[open] > summary.rank-math-question::after {transform:translateY(-25%) rotate(225deg)}
body.hn-site #content #rank-math-faq details.rank-math-list-item > .rank-math-answer {
  padding:0 20px 20px!important;font-size:16px!important;line-height:1.85!important;transition:none!important;
}
body.hn-site #content #rank-math-faq details.rank-math-list-item[open] > .rank-math-answer {
  display:block!important;max-height:none!important;height:auto!important;overflow:visible!important;
}
body.hn-site #content #rank-math-faq details:not([open]) > .rank-math-answer {display:none!important}
body.hn-site #content #rank-math-faq summary:focus-visible {outline:2px solid var(--hn-ui-blue,#247ca4);outline-offset:-3px;border-radius:10px}
@media(max-width:767px){
  body.hn-site #content #rank-math-faq details.rank-math-list-item > summary.rank-math-question {padding:16px 16px 16px 44px!important}
  body.hn-site #content #rank-math-faq details.rank-math-list-item > .rank-math-answer {padding:0 16px 16px!important}
}
@media(prefers-reduced-motion:reduce){body.hn-site #content #rank-math-faq summary.rank-math-question::after{transition:none}}
body.home #content .hn-element-781f508 .hn-home-blog-more {
  width:100%;
  --width:100%;
  justify-content:center;
  align-items:center;
  margin-block-start:24px;
}
body.hn-site {
  --hn-space-copy: 12px;
  --hn-space-group: clamp(20px, 2vw, 28px);
  --hn-space-section: clamp(40px, 5vw, 64px);
}
/* Blog frames: remove legacy negative grid gutters and intrinsic flex overflow. */
body.hn-site #content:is(.hn-7363, .hn-8537) {
  box-sizing: border-box;
  width: 100%;
  max-width: 1248px;
  min-width: 0;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}
body.hn-site #content:is(.hn-7363, .hn-8537) :is(.hn-layout, .hn-layout-inner, .hn-widget, .hn-widget-container, #hn-post-results, .premium-blog-post-outer-container, .premium-blog-post-container, .premium-blog-content-wrapper) {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}
body.hn-site #content.hn-7363 .hn-element-9a50c97,
body.hn-site #content.hn-8537 > .hn-layout {
  padding-inline: 0;
}
body.hn-site #content.hn-7363 .premium-blog-wrap.hn-post-grid {
  width: 100%;
  margin-inline: 0;
}
body.hn-site #content:is(.hn-7363, .hn-8537) :is(.premium-blog-entry-title, .premium-blog-post-content, .hn-post-meta, .hn-breadcrumb, .hn-recent-card-title) {
  overflow-wrap: anywhere;
}
body.hn-site #content.hn-8537 > .hn-post-hero {
  width: 100%;
  max-width: 100%;
  padding-inline: 0;
}
body.hn-site #content.hn-8537 .hn-element-be8aacc { padding-inline: 24px 0; }
body.hn-site #content.hn-8537 .hn-widget-theme-post-content { padding-inline: 0; }
body.hn-site #content.hn-8537 .hn-widget-theme-post-content p {
  padding: 0;
  overflow-wrap: anywhere;
}
body.hn-site #content.hn-8537 .hn-widget-theme-post-content :is(iframe, video, img) { max-width: 100%; }
body.hn-site #content.hn-8537 .hn-widget-theme-post-content :is(pre, .wp-block-table) {
  max-width: 100%;
  overflow-x: auto;
}
@media (max-width: 1024px) {
  body.hn-site #content.hn-8537 :is(.hn-element-be8aacc, .hn-element-a7f0bcb) {
    width: 100%;
    --width: 100%;
    margin-inline: 0;
  }
  body.hn-site #content.hn-8537 .hn-element-be8aacc { padding: 0; }
  body.hn-site #content.hn-8537 .hn-post-hero-heading { min-width: 0; }
  body.hn-site #content.hn-8537 .hn-widget-theme-post-content { --hn-article-image-outset: 0%; }
}
@media (min-width: 1025px) {
  /* Keep the requested image outset inside the article column's reserved space. */
  body.hn-site #content.hn-8537 .hn-widget-theme-post-content { width: 92%; max-width: 92%; margin-left: 8%; }
}
body.hn-site #content :is(.hn-heading-title.hn-size-default, .hd-section-heading h2) {
  font-weight: 600!important;
  line-height: 1.8!important;
  text-wrap: pretty;
  font-size: 1.25em!important;
}
body.hn-site #content :is(.hn-post-grid, .hn-addon-post-grid, .hn-recent-cards) {
  gap: var(--hn-space-group);
}
body.hn-site #content :is(.hn-home-post-title, .premium-blog-entry-title, .hn-recent-card-title) {
  margin-block: 0 var(--hn-space-copy);
}
body.hn-site #content :is(.hn-recent-card-description, .hn-addon-grid-post-excerpt) {
  line-height: 1.8;
  text-wrap: pretty;
}
body.hn-site #content .hn-widget-theme-post-content :is(h2, h3, h4) {
  margin-block: 1.6em .65em;
  text-wrap: stable;
}
body.hn-site #content .hn-widget-theme-post-content p { margin-block: 0 1.15em; }
body.hn-site .hd-site :is(.hd-results, .hd-alternatives, .hd-editorial) {
  margin-block: var(--hn-space-section);
}
body.hn-site .hd-site .hd-section-heading {
  gap: 16px;
  margin-bottom: 24px;
  align-items: baseline;
}
body.hn-site .hd-site .hd-lead { line-height: 1.85; margin-top: 16px; }
body.hn-site .hd-site .hd-term { gap: 16px; }
body.hn-site :is(.hn-post-meta, .hd-event-meta) { column-gap: 20px; row-gap: 10px; }
@media (max-width: 767px) {
  body.hn-site #content :is(.hn-post-grid, .hn-addon-post-grid) { row-gap: 24px; }
  body.hn-site .hd-site .hd-section-heading { flex-wrap: wrap; row-gap: 8px; margin-bottom: 20px; }
  body.hn-site :is(.hn-post-meta, .hd-event-meta) { column-gap: 14px; }
}
