/* FD SOLUCIONES: a lightweight optical connection theme. Existing PHP and JS class contracts retained. */
:root {
  --hj-ink: #202846;
  --hj-ink-soft: #444b65;
  --hj-muted: #5e647a;
  --hj-paper: #fbfaf6;
  --hj-surface: #fff;
  --hj-mist: #f0eee5;
  --hj-line: #d9dce5;
  --hj-teal: #344cc8;
  --hj-teal-dark: #283d9d;
  --hj-signal: #d3ec77;
  --hj-blue: #344cc8;
  --hj-max: 1240px;
  --hj-gutter: clamp(20px, 4vw, 56px);
  --hj-sans: "Segoe UI", Aptos, Arial, sans-serif;
  --hj-serif: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; color: var(--hj-ink); background: var(--hj-paper); font: 16px/1.7 var(--hj-sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #344cc8; outline-offset: 4px; }
::selection { color: #202846; background: #ffd3bd; }
[hidden], .hjopt-empty { display: none !important; }
.hjopt-wrap { width: min(calc(100% - var(--hj-gutter) * 2), var(--hj-max)); margin-inline: auto; }
p { margin: 0 0 18px; }
h1, h2, h3, h4, h5 { font-family: var(--hj-serif); font-weight: 500; margin: 0 0 18px; line-height: 1.18; overflow-wrap: break-word; }
h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.035em; }
h3 { font-size: 23px; letter-spacing: -.02em; }
.hjopt-section { padding-block: 80px; }
.hjopt-section--ice { background: #f0eee5; }
.hjopt-eyebrow { display: block; margin-bottom: 18px; color: var(--hj-teal); font-size: 11px; font-weight: 800; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
.hjopt-section-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,.65fr); align-items: end; gap: 60px; margin-bottom: 36px; }
.hjopt-section-head h2 { max-width: 25ch; margin-bottom: 0; }
.hjopt-section-head p { margin: 0; color: var(--hj-muted); font-size: 15px; }
.hjopt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.hjopt-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 23px; border: 1px solid transparent; border-radius: 4px; color: #fff; background: var(--hj-teal); font-size: 14px; font-weight: 750; line-height: 1.4; text-align: center; }
.hjopt-btn:hover { background: var(--hj-teal-dark); }
.hjopt-btn--primary { color: #202846; background: #d3ec77; }
.hjopt-btn--primary:hover { background: #e1f3a3; }
.hjopt-btn--light { color: var(--hj-ink); background: #fff; }
.hjopt-textLink { color: var(--hj-teal); font-size: 14px; font-weight: 750; text-underline-offset: 5px; }
.hjopt-textLink:hover { text-decoration: underline; }

/* Compact light navigation; shared JS still controls the mobile menu. */
.hjopt-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid var(--hj-line); background: #fff; }
.hjopt-header__inner { display: flex; align-items: center; gap: 26px; min-height: 88px; }
.hjopt-brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.hjopt-brand__logo { width: 44px; height: 44px; flex: 0 0 44px; object-fit: contain; }
.hjopt-brand strong { display: block; font-size: 16px; font-weight: 850; line-height: 1.25; letter-spacing: -.025em; }
.hjopt-brand small { display: block; margin-top: 4px; color: var(--hj-muted); font-size: 9px; font-weight: 750; letter-spacing: .14em; line-height: 1.3; }
.hjopt-nav { display: flex; justify-content: center; align-items: stretch; gap: 20px; margin-left: auto; }
.hjopt-nav a { position: relative; display: flex; align-items: center; padding-block: 30px; color: #455768; font-size: 12px; font-weight: 750; line-height: 1.4; }
.hjopt-nav a[aria-current="page"], .hjopt-nav a:hover { color: var(--hj-teal); }
.hjopt-nav a[aria-current="page"]::after { position: absolute; right: 0; bottom: 20px; left: 0; height: 2px; content: ""; background: var(--hj-teal); }
.hjopt-header__cta { padding: 11px 16px; border: 1px solid #c7dd7b; border-radius: 24px; background: #d3ec77; font-size: 12px; font-weight: 750; white-space: nowrap; }
.hjopt-header__cta:hover { color: #fff; background: var(--hj-ink); }
.hjopt-menu-button { display: none; min-height: 44px; padding: 10px 15px; border: 1px solid var(--hj-line); border-radius: 4px; color: var(--hj-ink); background: #fff; font-size: 12px; font-weight: 800; }

/* FD homepage: an editorial connection atlas, not an outdoor equipment landing page. */
.fd-hero { padding: 62px 0 0; background: #f7f5ee; }
.fd-hero__intro { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 75px; margin-bottom: 36px; }
.fd-hero h1 { max-width: 17ch; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(43px,5vw,68px); font-weight: 500; line-height: 1.07; letter-spacing: -.045em; }
.fd-hero__lead { max-width: 53ch; color: var(--hj-ink-soft); font-size: 16px; line-height: 1.85; }
.fd-hero__lead .hjopt-actions { gap: 18px; margin-top: 24px; }
.fd-hero__visual { position: relative; margin: 0; overflow: hidden; border-radius: 80px 8px 8px 8px; background: #dde2ef; }
.fd-hero__visual > img { width: 100%; height: auto; aspect-ratio: 3.1/1; object-fit: cover; object-position: center 53%; }
.fd-hero__visual figcaption { position: absolute; right: 24px; bottom: 24px; display: grid; gap: 4px; max-width: 380px; padding: 17px 24px; border-radius: 4px; color: #fff; background: #202846ed; font-size: 13px; }
.fd-hero__visual figcaption strong { color: #d3ec77; font-size: 16px; }
.fd-hero__coordinates { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; padding-block: 24px 30px; }
.fd-hero__coordinates > article { min-width: 0; padding: 0 26px; border-left: 1px solid #c8cdd9; }
.fd-hero__coordinates > :first-child { padding-left: 0; border-left: 0; }
.fd-hero__coordinates strong { display: block; margin-bottom: 6px; color: var(--hj-teal-dark); font-size: 14px; }
.fd-hero__coordinates span { display: block; color: var(--hj-muted); font-size: 12px; line-height: 1.7; }
.fd-family-grid, .fd-product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.fd-family, .fd-product-card { display: grid; grid-template-columns: 180px minmax(0,1fr); align-items: center; min-width: 0; overflow: hidden; border: 1px solid var(--hj-line); border-radius: 8px; background: #fff; }
.fd-family > img, .fd-product-card > img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: contain; padding: 12px; background: #f4f5f8; }
.fd-family__body, .fd-product-card__body { min-width: 0; padding: 26px; }
.fd-family__body > span, .fd-product-card__body > span { display: block; margin-bottom: 13px; color: var(--hj-teal); font-size: 10px; font-weight: 800; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; }
.fd-family h3, .fd-product-card h3 { margin-bottom: 12px; font-size: 23px; }
.fd-family p, .fd-product-card p { color: var(--hj-muted); font-size: 14px; line-height: 1.8; }
.fd-family a, .fd-family .hjopt-textLink, .fd-product-card .hjopt-textLink { color: var(--hj-teal); font-size: 12px; font-weight: 750; }
.fd-family:hover, .fd-product-card:hover { border-color: #8f9bda; }
.fd-plan-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.fd-plan-grid > article { min-width: 0; overflow: hidden; border-top: 2px solid var(--hj-teal); border-radius: 0 0 8px 8px; background: #fff; }
.fd-plan-grid > article > img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.fd-plan-grid > article > div { padding: 28px; }
.fd-plan-grid > article:not(.fd-plan-card) { padding: 28px; }
.fd-plan-grid > article > span, .fd-plan-grid article > div > span { display: block; margin-bottom: 24px; color: var(--hj-teal); font-size: 11px; font-weight: 750; }
.fd-plan-grid h3 { font-size: 25px; }
.fd-plan-grid p { color: var(--hj-muted); font-size: 14px; }
.fd-plan-grid a { color: var(--hj-teal); font-size: 13px; font-weight: 750; }
.fd-checklist, .fd-diagram { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; }
.fd-checklist > article, .fd-diagram > div { min-width: 0; padding: 25px; border-left: 1px solid var(--hj-line); border-top: 2px solid var(--hj-teal); background: #fff; }
.fd-checklist > :first-child, .fd-diagram > :first-child { border-left: 0; }
.fd-checklist span, .fd-diagram span { display: inline-grid; place-items: center; min-width: 30px; height: 30px; margin-bottom: 25px; border-radius: 50%; color: var(--hj-ink); background: #d3ec77; font-size: 11px; font-weight: 800; }
.fd-checklist h3, .fd-diagram h3 { font-size: 23px; }
.fd-checklist p, .fd-diagram p { color: var(--hj-muted); font-size: 14px; }
.fd-enquiry-band { padding-block: 50px; border-block: 1px solid #b7cd64; background: #dceca3; }
.fd-enquiry-band__inner { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(220px,.65fr); align-items: center; gap: 70px; }
.fd-enquiry-band h2 { max-width: 25ch; }
.fd-enquiry-band p { max-width: 70ch; color: #3f4d2b; font-size: 15px; }
.fd-enquiry-actions { display: grid; justify-items: start; gap: 18px; }
.fd-enquiry-actions > a:not(.hjopt-btn) { color: var(--hj-teal-dark); font-size: 14px; font-weight: 750; text-decoration: underline; text-underline-offset: 5px; }
.fd-office-note { font-size: 12px; }

/* Static pages: connection products, interconnection plans and a practical library. */
.hjopt-page-hero, .fd-page-hero { padding: 52px 0 46px; border-bottom: 1px solid var(--hj-line); background: #f2f0e9; }
.hjopt-page-hero h1 { max-width: 26ch; margin-bottom: 20px; font-size: clamp(35px,4vw,54px); font-weight: 500; line-height: 1.1; letter-spacing: -.04em; }
.hjopt-page-hero p { max-width: 78ch; margin: 0; color: var(--hj-ink-soft); font-size: 17px; line-height: 1.8; }
.hjopt-breadcrumb { margin-bottom: 24px; color: var(--hj-muted); font-size: 12px; }
.hjopt-breadcrumb a:hover { text-decoration: underline; }
.fd-reference-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.fd-reference-grid:has(> article:nth-child(4):last-child), .fd-reference-grid:has(> article:nth-child(2):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.fd-reference-card { min-width: 0; padding: 30px; border: 1px solid var(--hj-line); border-radius: 8px; background: #fff; }
.fd-reference-card > span { display: block; margin-bottom: 22px; color: var(--hj-teal); font-size: 11px; font-weight: 750; }
.fd-reference-card p, .fd-reference-card li { color: var(--hj-muted); font-size: 14px; line-height: 1.8; }
.fd-reference-card ul { margin: 18px 0 0; padding-left: 18px; }
.fd-reference-card li { margin-block: 7px; }
.fd-contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.fd-contact-panel { min-width: 0; padding: 36px; border: 1px solid var(--hj-line); border-top: 3px solid var(--hj-teal); border-radius: 8px; background: #fff; }
.fd-contact-panel p, .fd-contact-panel li { color: var(--hj-muted); font-size: 15px; }
.fd-contact-panel a[href^="mailto:"] { overflow-wrap: anywhere; }
.fd-input-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.fd-input-grid article { min-width: 0; padding: 28px; border-left: 2px solid var(--hj-teal); background: #fff; }
.fd-input-grid span { display: block; margin-bottom: 22px; color: var(--hj-teal); font-size: 11px; font-weight: 800; }
.fd-input-grid h3 { font-size: 24px; }
.fd-input-grid p { color: var(--hj-muted); font-size: 14px; }
.hjopt-category-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 34px; padding: 0 0 22px; border-bottom: 1px solid var(--hj-line); }
.hjopt-category-nav__label { margin-right: 10px; color: var(--hj-muted); font-size: 11px; font-weight: 750; }
.hjopt-category-nav button { min-height: 42px; padding: 10px 18px; border: 1px solid #cbd0e1; border-radius: 24px; color: var(--hj-ink-soft); background: #fff; font-size: 12px; font-weight: 750; line-height: 1.5; }
.hjopt-category-nav .is-active, .hjopt-category-nav button:hover { border-color: var(--hj-teal); color: #fff; background: var(--hj-teal); }
.hjopt-cta { padding-block: 48px; border-top: 1px solid #b7cd64; color: var(--hj-ink); background: #dceca3; }
.hjopt-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 44px; }
.hjopt-cta p { color: #3f4d2b; }
.hjopt-cta .hjopt-btn { flex-shrink: 0; color: #fff; background: var(--hj-teal); }
.hjopt-split { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: 45px; }
.hjopt-split__image { width: 100%; height: auto; max-height: 480px; object-fit: cover; border-radius: 8px; }

/* Existing database card wrappers are intentionally supported. */
.hjopt-news-grid, .hjopt-product-grid, .hjpt-blogGrid .hjopt-related-article, .hjopt-related-article { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.hjopt-news-card, .hjopt-product-card, .hjpt-blog-news { min-width: 0; overflow: hidden; border: 1px solid var(--hj-line); border-radius: 7px; background: #fff; }
.hjopt-news-card { display: flex; flex-direction: column; }
.hjopt-news-card > img, .hjopt-product-card > img, .hjpt-blog-news > a > img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.hjopt-news-card__body, .hjopt-product-card__body, .hjpt-blog-news .card-body { padding: 24px; }
.hjopt-news-card h3, .hjopt-news-card h4, .hjopt-product-card h3, .hjpt-blog-news h2, .hjpt-blog-news h3 { font-size: 22px; line-height: 1.3; }
.hjopt-news-card p, .hjopt-product-card p, .hjpt-blog-news p { color: var(--hj-muted); font-size: 14px; line-height: 1.8; }
.hjopt-news-card time { display: block; margin-bottom: 12px; color: var(--hj-teal); font-size: 11px; font-weight: 750; }
.hjopt-news-card:hover, .hjpt-blog-news:hover { border-color: #849bab; }
.hjpt-blog-news > a { display: block; }
.hjpt-gathering-text { padding: 24px; }
.hjpt-blog-news .hjpt-gathering-text :is(h2,h3,p) { margin-inline: 0; }
.hjpt-blog-news h3, .hjpt-blog-news p { margin-inline: 22px; }
.hjpt-blog-news h3 { margin-top: 22px; }
.hjpt-blog-news .hjopt-news-card__body h3, .hjpt-blog-news .hjopt-news-card__body p { margin-inline: 0; }
.hjpt-lists { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 32px; margin: 20px 0 0; padding: 0; list-style: none; }
.hjpt-lists li { border-top: 1px solid #c5d4dd; }
.hjpt-lists a { display: block; padding: 17px 0; color: var(--hj-ink-soft); font-size: 14px; line-height: 1.7; }
.hjpt-lists a:hover { color: var(--hj-teal); }

/* Article metadata and AI overview: single full-width summary below true dynamic tags. */
.hjopt-article-meta { border-bottom: 1px solid var(--hj-line); background: #f8f7f1; }
.hjopt-article-meta__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; padding-block: 24px; }
.hjopt-article-meta__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 18px; }
.hjopt-article-meta__facts span { color: var(--hj-muted); font-size: 13px; line-height: 1.6; }
.hjopt-article-meta__facts span:first-child { flex-basis: 100%; color: #283d9d; font-size: 14px; font-weight: 750; }
.hjopt-article-meta__note { margin: 0; color: #455c6c; font-size: 13px; line-height: 1.8; }
.hjopt-overview { padding-block: 34px; background: #fff; }
.hjopt-ai-overview { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }
.hjopt-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hjopt-filterBtn { min-height: 34px; max-width: 100%; padding: 6px 14px; border: 1px solid #bbcfdb; border-radius: 4px; color: #283d9d; background: #f0f2fc; font-size: 12px; font-weight: 700; line-height: 1.6; overflow-wrap: anywhere; cursor: default; }
.hjopt-summary { min-width: 0; padding: 30px 36px; border: 1px solid #d4d8e9; border-top: 3px solid #344cc8; border-radius: 6px; color: var(--hj-ink-soft); background: #f3f4fb; font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.hjopt-summary p { margin: 0 0 18px; }
.hjopt-summary > .hjopt-summary__heading { margin: 28px 0 10px; color: #283d9d; font-size: 19px; line-height: 1.5; }
.hjopt-summary > :first-child { margin-top: 0; }
.hjopt-summary > :last-child { margin-bottom: 0; }
.hjopt-pdf-section { padding-block: 24px 0; }
.hjopt-pdf-link { margin: 0 0 30px; }
.hjopt-pdf-link a { display: inline-flex; gap: 10px; padding: 15px 20px; border: 1px solid var(--hj-line); border-left: 3px solid var(--hj-teal); border-radius: 4px; background: #fff; font-size: 13px; font-weight: 700; line-height: 1.7; overflow-wrap: anywhere; }
.hjopt-pdf-link a::before { content: "PDF"; color: var(--hj-teal); font-size: 10px; font-weight: 850; }
.hjopt-faq-module { margin: 16px 0 0; }
.hjopt-faq-module > h2 { max-width: 48ch; font-size: 30px; line-height: 1.3; }
.faq-list, .hjopt-faq-list, .hjopt-faq-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; counter-reset: cg-faq; }
.faq-item { min-width: 0; padding: 26px; border: 1px solid var(--hj-line); border-radius: 6px; background: #fff; }
.faq-item h3 { font-size: 20px; line-height: 1.4; }
.faq-answer p { margin: 0; color: var(--hj-ink-soft); font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
:is(.hjopt-faq-list,.hjopt-faq-grid) > details { min-width: 0; padding: 0; border: 1px solid var(--hj-line); border-radius: 6px; background: #fff; counter-increment: cg-faq; }
:is(.hjopt-faq-list,.hjopt-faq-grid) > details[open] { border-color: #8aabbf; }
:is(.hjopt-faq-list,.hjopt-faq-grid) > details > summary { position: relative; display: block; padding: 22px 70px 22px 62px; border-radius: 5px; color: var(--hj-ink); font-size: 16px; font-weight: 750; line-height: 1.6; list-style: none; cursor: pointer; }
:is(.hjopt-faq-list,.hjopt-faq-grid) > details > summary::-webkit-details-marker { display: none; }
:is(.hjopt-faq-list,.hjopt-faq-grid) > details > summary::marker { content: ""; }
:is(.hjopt-faq-list,.hjopt-faq-grid) > details > summary::before { position: absolute; top: 50%; left: 24px; color: var(--hj-teal); content: counter(cg-faq,decimal-leading-zero); font-size: 11px; font-weight: 800; transform: translateY(-50%); }
:is(.hjopt-faq-list,.hjopt-faq-grid) > details > summary::after { position: absolute; top: 50%; right: 22px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 4px; color: #fff; background: var(--hj-ink); content: "+"; font-size: 22px; font-weight: 400; line-height: 1; transform: translateY(-50%); }
:is(.hjopt-faq-list,.hjopt-faq-grid) > details[open] > summary::after { background: var(--hj-teal); content: "−"; }
:is(.hjopt-faq-list,.hjopt-faq-grid) > details > p { margin: 0; padding: 0 70px 25px 62px; color: var(--hj-ink-soft); font-size: 15px; line-height: 1.85; }

/* H2-H5 / TOC / legacy imported section wrappers. */
.hjopt-article-layout { display: grid; grid-template-columns: minmax(0,850px) 230px; align-items: start; justify-content: space-between; gap: 45px; }
.hjopt-article-layout--no-toc { grid-template-columns: minmax(0,950px); justify-content: center; }
.hjopt-article-toc { grid-column: 2; grid-row: 1; position: sticky; top: 116px; min-width: 0; padding: 22px; border: 1px solid var(--hj-line); border-top: 3px solid var(--hj-teal); border-radius: 5px; background: #fff; }
.hjopt-article-toc strong { color: #283d9d; font-size: 13px; }
.hjopt-article-toc ol { display: grid; gap: 12px; max-height: calc(100vh - 220px); margin: 17px 0 0; padding-left: 19px; overflow-y: auto; color: var(--hj-muted); }
.hjopt-article-toc a { display: block; color: var(--hj-muted); font-size: 12px; line-height: 1.6; }
.hjopt-article-toc a:hover, .hjopt-article-toc a.is-current { color: var(--hj-teal); text-decoration: underline; text-underline-offset: 3px; }
.hjopt-article-content { grid-column: 1; grid-row: 1; }
.hjopt-article-content, .hjpt-blog-single { min-width: 0; padding: 36px; border: 1px solid var(--hj-line); border-radius: 7px; background: #fff; font-size: 17px; line-height: 1.9; overflow-wrap: anywhere; }
.hjopt-article-cover { width: min(100%,400px); height: auto; max-height: none; margin: 0 auto 35px; object-fit: contain; }
.hjopt-article-section { margin: 0; padding: 32px 0; border-top: 1px solid var(--hj-line); scroll-margin-top: 112px; }
.hjopt-article-section::before { display: block; margin-bottom: 16px; color: var(--hj-teal); content: attr(data-section); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.hjopt-article-section:first-child { padding-top: 0; border-top: 0; }
.hjopt-article-content h2, .hjpt-blog-single h2 { margin-top: 32px; font-size: 31px; line-height: 1.25; }
.hjopt-article-content h3, .hjpt-blog-single h3 { margin-top: 28px; font-size: 27px; line-height: 1.3; }
.hjopt-article-content h4, .hjpt-blog-single h4 { margin-top: 24px; font-size: 23px; line-height: 1.35; }
.hjopt-article-content h5, .hjpt-blog-single h5 { margin-top: 22px; font-size: 20px; line-height: 1.4; }
.hjopt-article-section > :is(h2,h3,h4,h5):first-of-type { margin-top: 0; }
.hjopt-article-content p, .hjpt-blog-single p { color: var(--hj-ink-soft); }
.hjopt-topic-link { color: #344cc8; text-decoration: underline; text-decoration-color: #e57a48; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.hjopt-topic-link:hover { color: var(--hj-teal); }
.hjopt-article-disclosure { margin-top: 32px; padding: 24px; border-left: 3px solid var(--hj-blue); background: #edf3f6; }
.hjopt-article-disclosure strong { color: #254d66; font-size: 14px; }
.hjopt-article-disclosure p { margin: 9px 0 0; font-size: 13px; line-height: 1.8; }
.hjopt-article-video { padding: 24px; border: 1px solid var(--hj-line); border-radius: 6px; background: #edf3f6; }
.hjopt-article-video::before { display: none; }
.hjopt-video-frame { position: relative; width: 100%; height: 0; margin-top: 22px; padding-bottom: 56.25%; overflow: hidden; border-radius: 4px; background: #202846; }
.hjopt-video-frame iframe, iframe.ytb { display: block; width: 100%; max-width: 100%; border: 0; }
.hjopt-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
iframe.ytb:not(.hjopt-video-frame iframe) { height: auto; aspect-ratio: 16/9; }
.hjopt-video-fallback { margin: 14px 0 0; color: var(--hj-muted); font-size: 13px; }
.hjopt-video-fallback a { color: #344cc8; text-decoration: underline; }
.hjopt-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.hjopt-pagination a, .hjopt-pagination span { padding: 8px 15px; border: 1px solid var(--hj-line); background: #fff; }

/* Footer directory keeps desktop hover/focus and touch toggle behavior. */
.hjopt-footer { padding: 58px 0 0; color: #e5ecf2; background: #242b4c; }
.hjopt-footer__grid { display: grid; grid-template-columns: 1.2fr 1.1fr .9fr 1.15fr; gap: 38px; padding-bottom: 42px; }
.hjopt-footer strong { display: block; color: #fff; font-size: 17px; line-height: 1.4; }
.hjopt-footer .hjopt-brand small { color: #c4cce3; }
.hjopt-footer p { margin-top: 18px; color: #c4cce3; font-size: 13px; line-height: 1.85; }
.hjopt-footer h3 { margin: 0 0 20px; color: #fff; font-size: 12px; font-weight: 750; letter-spacing: .02em; }
.hjopt-footer nav { display: grid; gap: 11px; }
.hjopt-footer a { color: #d9def2; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.hjopt-footer a:hover { color: #d3ec77; }
.hjopt-footer-address { display: block; margin-block: 6px; color: #c4cce3; font-size: 12px; line-height: 1.8; }
.hjopt-footer__bottom { padding-block: 22px; border-top: 1px solid #4c5577; color: #b9c3e0; font-size: 11px; line-height: 1.8; }
.hjopt-footer__bottom > span + span { margin-left: 25px; }
.hjopt-footer-linkList, .hjopt-footer-linkList ul { margin: 0; padding: 0; list-style: none; }
.hjopt-footer-linkList > li { position: relative; padding: 0 34px 12px 0; }
.hjopt-footer-linkList > li > a { display: inline-block; padding-block: 4px; }
.hjopt-footer-submenu-toggle { position: absolute; top: 1px; right: 0; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid #456075; border-radius: 4px; color: #fff; background: #1a3348; }
.hjopt-footer-submenu-toggle span { display: block; font-size: 19px; line-height: 1; }
.hjopt-footer-submenu-toggle[aria-expanded="true"] { background: var(--hj-teal); }
.hjopt-footer-submenu-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.hjopt-footer-linkList > li > .hjopt-footer-linkList_level2 { position: absolute; z-index: 40; right: 0; bottom: 100%; left: 0; display: none; min-width: 235px; max-height: 360px; padding: 12px; overflow-y: auto; border: 1px solid #6774a0; border-top: 3px solid #d3ec77; border-radius: 5px; background: #343f69; box-shadow: 0 10px 30px #07131e55; }
.hjopt-footer-linkList > li.opens-down > .hjopt-footer-linkList_level2 { top: calc(100% - 8px); bottom: auto; }
.hjopt-footer-linkList > li.is-submenu-open > .hjopt-footer-linkList_level2, .hjopt-footer-linkList > li:not(.hjopt-submenu-enhanced):focus-within > .hjopt-footer-linkList_level2 { display: block; }
.hjopt-footer-linkList_level2 > li + li { border-top: 1px solid #55628b; }
.hjopt-footer-linkList_level2 > li > a { display: block; padding: 9px 7px; color: #f0f2fc; font-size: 12px; }
.hjopt-footer-linkList_level2 > li > a:hover { color: #e6f5b3; background: #45528a; }
@media (hover:hover) and (pointer:fine) { .hjopt-footer-linkList > li:not(.hjopt-submenu-enhanced):hover > .hjopt-footer-linkList_level2 { display: block; } }


@media (max-width:1100px) {
  .hjopt-header__cta { display: none; }
  .hjopt-nav { gap: 18px; }
  .fd-hero__intro { gap: 40px; }
  .fd-family, .fd-product-card { grid-template-columns: 140px minmax(0,1fr); }
  .fd-family__body, .fd-product-card__body { padding: 22px; }
  .hjopt-footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hjopt-article-layout { grid-template-columns: minmax(0,1fr) 200px; gap: 28px; }
  .hjopt-article-layout--no-toc { grid-template-columns: minmax(0,1fr); }
}
@media (max-width:860px) {
  .hjopt-header__inner { min-height: 74px; }
  .hjopt-menu-button { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .hjopt-menu-button[aria-expanded="true"] { color: #fff; background: var(--hj-teal); }
  .hjopt-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; max-height: calc(100dvh - 74px); margin: 0; padding: 18px var(--hj-gutter) 28px; overflow-y: auto; border-bottom: 3px solid #344cc8; background: #fff; box-shadow: 0 18px 25px #20284622; }
  .hjopt-nav.is-open { display: grid; grid-template-columns: minmax(0,1fr); justify-content: stretch; gap: 0; }
  .hjopt-nav a { width: 100%; min-height: 52px; padding: 15px 0; border-bottom: 1px solid var(--hj-line); font-size: 14px; }
  .hjopt-nav a[aria-current="page"]::after { display: none; }
  .hjopt-menu-open { overflow: hidden; }
  .hjopt-menu-open::after { position: fixed; z-index: 90; inset: 74px 0 0; content: ""; background: #20284688; }
  .fd-hero__intro { grid-template-columns: 1fr; gap: 26px; }
  .fd-hero h1 { max-width: 20ch; font-size: 56px; }
  .fd-hero__lead { max-width: 70ch; }
  .fd-hero__visual > img { aspect-ratio: 2.2/1; }
  .fd-hero__coordinates { gap: 15px; }
  .fd-hero__coordinates > article { padding-inline: 15px; }
  .fd-hero__coordinates > :first-child { padding-left: 0; }
  .fd-family-grid, .fd-product-grid { grid-template-columns: 1fr; }
  .fd-family, .fd-product-card { grid-template-columns: 190px minmax(0,1fr); }
  .fd-plan-grid { grid-template-columns: 1fr; }
  .fd-checklist, .fd-diagram, .fd-input-grid, .fd-reference-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hjopt-news-grid, .hjopt-product-grid, .hjopt-related-article, .hjpt-blogGrid .hjopt-related-article { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hjopt-section-head { grid-template-columns: 1fr; gap: 22px; }
  .hjopt-article-layout, .hjopt-article-layout--no-toc { grid-template-columns: minmax(0,1fr); }
  .hjopt-article-toc, .hjopt-article-content { grid-column: auto; grid-row: auto; }
  .hjopt-article-toc { position: static; }
  .hjopt-article-toc ol { grid-template-columns: repeat(2,minmax(0,1fr)); max-height: none; }
  .hjopt-article-meta__inner { grid-template-columns: 1fr; gap: 16px; }
  .hjopt-cta__inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width:768px) {
  body.hjopt-video-in-view .base-box,
  body.hjopt-video-in-view iframe[title="Chat widget"],
  body.hjopt-video-in-view iframe[title="Visit tawk.to"] { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
}
@media (max-width:620px) {
  :root { --hj-gutter: 18px; }
  body { font-size: 15px; }
  .hjopt-header__inner { gap: 12px; }
  .hjopt-brand { gap: 9px; min-width: 0; }
  .hjopt-brand__logo { width: 38px; height: 38px; flex-basis: 38px; }
  .hjopt-brand strong { font-size: 14px; }
  .hjopt-brand small { font-size: 8px; letter-spacing: .08em; }
  .hjopt-menu-button { flex: 0 0 auto; min-width: 62px; padding-inline: 10px; }
  .hjopt-section { padding-block: 48px; }
  h2 { font-size: 31px; }
  .hjopt-section-head { margin-bottom: 28px; }
  .fd-hero { padding-top: 34px; }
  .fd-hero h1 { font-size: clamp(39px,10vw,48px); }
  .fd-hero__intro { gap: 24px; margin-bottom: 26px; }
  .fd-hero__lead { font-size: 15px; }
  .fd-hero__visual { border-radius: 36px 5px 5px 5px; }
  .fd-hero__visual > img { aspect-ratio: 4/3; }
  .fd-hero__visual figcaption { right: 12px; bottom: 12px; left: 12px; padding: 12px 16px; font-size: 11px; }
  .fd-hero__visual figcaption strong { font-size: 14px; }
  .fd-hero__coordinates { grid-template-columns: 1fr; gap: 12px; padding-block: 22px; }
  .fd-hero__coordinates > article { padding: 12px 0 0; border-left: 0; border-top: 1px solid #c8cdd9; }
  .fd-family, .fd-product-card { grid-template-columns: 1fr; }
  .fd-family > img, .fd-product-card > img { max-height: 240px; aspect-ratio: 3/2; padding: 12px 28px; object-fit: contain; }
  .fd-family__body, .fd-product-card__body { padding: 24px; }
  .fd-checklist, .fd-diagram, .fd-input-grid, .fd-reference-grid, .fd-reference-grid:has(> article:nth-child(4):last-child), .fd-reference-grid:has(> article:nth-child(2):last-child), .fd-contact-grid, .fd-enquiry-band__inner, .hjopt-news-grid, .hjopt-product-grid, .hjopt-related-article, .hjpt-blogGrid .hjopt-related-article, .hjpt-lists, .hjopt-footer__grid, .hjopt-split { grid-template-columns: minmax(0,1fr); }
  .fd-checklist > article, .fd-diagram > div { border-left: 0; }
  .fd-enquiry-band { padding-block: 38px; }
  .fd-enquiry-band__inner { gap: 24px; }
  .fd-contact-panel, .fd-reference-card { padding: 25px; }
  .hjopt-page-hero { padding: 36px 0; }
  .hjopt-page-hero h1 { font-size: 38px; }
  .hjopt-page-hero p { font-size: 16px; }
  .hjopt-category-nav { gap: 8px; }
  .hjopt-category-nav button { padding: 9px 13px; font-size: 12px; }
  .hjopt-article-meta__inner { padding-block: 22px; }
  .hjopt-overview { padding-block: 26px; }
  .hjopt-summary { padding: 22px 20px; font-size: 15px; }
  .hjopt-summary > .hjopt-summary__heading { font-size: 19px; }
  .hjopt-faq-module > h2 { font-size: 27px; }
  .faq-item { padding: 22px; }
  :is(.hjopt-faq-list,.hjopt-faq-grid) > details > summary { padding: 18px 54px 18px 48px; font-size: 15px; }
  :is(.hjopt-faq-list,.hjopt-faq-grid) > details > summary::before { left: 17px; }
  :is(.hjopt-faq-list,.hjopt-faq-grid) > details > summary::after { right: 15px; width: 26px; height: 26px; font-size: 20px; }
  :is(.hjopt-faq-list,.hjopt-faq-grid) > details > p { padding: 0 18px 22px; font-size: 14px; }
  .hjopt-article-content, .hjpt-blog-single { padding: 22px; font-size: 16px; }
  .hjopt-article-toc ol { grid-template-columns: 1fr; }
  .hjopt-article-content h2 { font-size: 28px; }
  .hjopt-article-content h3 { font-size: 25px; }
  .hjopt-article-content h4 { font-size: 23px; }
  .hjopt-article-content h5 { font-size: 20px; }
  .hjopt-article-video { padding: 16px; }
  .hjopt-article-disclosure { padding: 20px; }
  .hjopt-footer__grid { gap: 32px; }
  .hjopt-footer__bottom > span { display: block; }
  .hjopt-footer__bottom > span + span { margin: 10px 0 0; }
  .hjopt-footer-linkList > li > .hjopt-footer-linkList_level2 { min-width: 0; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
