/* Shared native-block editor/frontend rules, scoped to the Home template. */
.zyn-home-template .zyn-site-shell .site-content > .ast-container {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
.zyn-home-template .zyn-site-shell #primary.zyn-home-primary {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
.zyn-home-section {
    --zyn-blue: #1456C1;
    --zyn-hover: #10469F;
    --zyn-white: #FFFFFF;
    --zyn-soft: #F5F5F7;
    --zyn-ink: #1D1D1F;
    --zyn-muted: #6E6E73;
    --zyn-line: #DCE2EA;
    margin: 0;
    padding-block: 36px;
    color: var(--zyn-ink);
    background: var(--zyn-white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: 0;
    overflow-wrap: break-word;
    scroll-margin-top: 24px;
}
.zyn-home-section *, .zyn-home-section *::before, .zyn-home-section *::after { box-sizing: border-box; }
.zyn-home-section .zyn-home-inner {
    width: 100%;
    max-width: 1248px;
    margin: 0 auto;
    padding-inline: 20px;
}
.zyn-home-section h1, .zyn-home-section h2, .zyn-home-section h3,
.zyn-home-section p, .zyn-home-section figure, .zyn-home-section .wp-block-group,
.zyn-home-section .wp-block-columns, .zyn-home-section .wp-block-buttons { margin: 0; }
.zyn-home-section .zyn-home-inner { margin-inline: auto; }
.zyn-home-section :where(h1, h2, h3) { color: var(--zyn-ink); font-weight: 600; letter-spacing: 0; }
.zyn-home-section h1 { font-size: 32px; line-height: 1.12; }
.zyn-home-section h2 { max-width: 30ch; font-size: 26px; line-height: 1.2; }
.zyn-home-section h3 { font-size: 20px; line-height: 1.3; }
.zyn-home-section p { color: var(--zyn-muted); font-size: 16px; line-height: 1.55; }
.zyn-home-section .zyn-home-section__intro { max-width: 720px; margin-top: 16px; }
.zyn-home-section .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.zyn-home-section .wp-block-button__link,
.zyn-home-section .zyn-site-inquiry {
    display: inline-flex;
    min-height: 48px;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 12px 22px;
    border: 1px solid var(--zyn-blue);
    border-radius: 4px;
    color: var(--zyn-white);
    background: var(--zyn-blue);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    box-shadow: none;
}
.zyn-home-section .wp-block-button__link:hover { color: var(--zyn-white); background: var(--zyn-hover); border-color: var(--zyn-hover); }
.zyn-home-section .zyn-site-inquiry:disabled {
    color: var(--zyn-muted);
    background: var(--zyn-white);
    border-color: var(--zyn-line);
    cursor: not-allowed;
    opacity: 1;
}
.zyn-home-section :where(a, button):focus-visible { outline: 3px solid var(--zyn-blue); outline-offset: 4px; }
.zyn-home-section .zyn-home-inquiry-note { margin-top: 6px; font-size: 13px; line-height: 1.4; }
.zyn-home-hero { text-align: center; }
.zyn-home-hero h1 { max-width: 1120px; margin-inline: auto; }
.zyn-home-hero .zyn-home-hero__intro { max-width: 720px; margin: 20px auto 24px; font-size: 18px; }
.zyn-home-hero .zyn-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
}
.zyn-home-hero .zyn-home-hero__media { margin-top: 20px; }
.zyn-home-section .zyn-home-slot {
    display: flex;
    width: 100%;
    min-width: 0;
    aspect-ratio: 4 / 3;
    flex-direction: column;
    justify-content: center;
    margin-inline: auto;
    padding: 20px;
    border: 1px solid var(--zyn-line);
    border-radius: 6px;
    background: var(--zyn-soft);
    text-align: left;
}
.zyn-home-slot__instructions p { font-size: 14px; line-height: 1.6; }
.zyn-home-slot__instructions p + p { margin-top: 10px; }
.zyn-home-slot__instructions strong { color: var(--zyn-ink); font-size: 13px; overflow-wrap: anywhere; }
.zyn-home-section .zyn-home-slot:has(.wp-block-image img) { padding: 0; border-color: transparent; background: var(--zyn-white); }
.zyn-home-slot:has(.wp-block-image img) .zyn-home-slot__instructions { display: none; }
.zyn-home-slot .wp-block-image { width: 100%; min-width: 0; }
.zyn-home-slot .wp-block-image img { display: block; width: 100%; max-width: 100%; height: auto; margin-inline: auto; object-fit: contain; }
/* Image insertion retains the native slot, but no longer reserves blank-note height. */
.zyn-home-section .zyn-home-slot:has(.zyn-home-image) { display: block; aspect-ratio: auto; }
.zyn-home-slot .wp-block-image.zyn-home-image { display: block; width: 100%; margin: 0; }
/* Body targets use the inner figure width; measured crop fractions compensate margins. */
.zyn-home-families__grid #HOME-FAMILY-DESKTOP {
    --zyn-family-body-target: 55%;
    --zyn-family-aspect: 1448 / 814;
    --zyn-family-body-fraction: 0.9924033149171271;
    --zyn-family-body-bottom-fraction: 0.062154696132596686;
}
.zyn-home-families__grid #HOME-FAMILY-RACKMOUNT {
    --zyn-family-body-target: 90%;
    --zyn-family-aspect: 1198 / 252;
    --zyn-family-body-fraction: 0.986644407345576;
    --zyn-family-body-bottom-fraction: 0.05342237061769616;
}
.zyn-home-families__grid #HOME-FAMILY-INDUSTRIAL {
    --zyn-family-body-target: 55%;
    --zyn-family-aspect: 758 / 348;
    --zyn-family-body-fraction: 0.978891820580475;
    --zyn-family-body-bottom-fraction: 0.011873350923482849;
}
.zyn-home-families__grid #HOME-FAMILY-SERVER {
    --zyn-family-body-target: 90%;
    --zyn-family-aspect: 771 / 308;
    --zyn-family-body-fraction: 0.9792477302204928;
    --zyn-family-body-bottom-fraction: 0.010376134889753566;
}
.zyn-home-families__grid .zyn-home-slot .wp-block-image.zyn-home-image {
    position: relative;
    aspect-ratio: 5 / 3;
    background: #FFFFFF;
}
.zyn-home-families__grid .zyn-home-slot .zyn-home-image img {
    position: absolute;
    inset-inline: 0;
    /* Convert the crop's lower margin from stage-width to stage-height units. */
    bottom: calc(10% - var(--zyn-family-body-target) / var(--zyn-family-body-fraction, 1) * var(--zyn-family-body-bottom-fraction) * 5 / 3);
    width: calc(var(--zyn-family-body-target) / var(--zyn-family-body-fraction, 1));
    max-width: none;
    height: auto;
    /* Lazy auto-sizes can otherwise supply WordPress's 3000x1500 placeholder. */
    aspect-ratio: var(--zyn-family-aspect);
    margin-inline: auto;
}
.zyn-home-customization .zyn-home-image img { aspect-ratio: 4 / 3; }
.zyn-home-slot .zyn-home-image figcaption {
    margin: 12px 0 0;
    color: var(--zyn-muted);
    font-size: 13px;
    line-height: 1.5;
}
/* The current Hero is a complete panoramic source, not a cropped poster band. */
.zyn-home-slot .wp-block-image.zyn-home-hero-source { aspect-ratio: auto; }
.zyn-home-section .zyn-home-hero__media .zyn-home-slot { max-width: 520px; }
.zyn-home-section .zyn-home-hero__media .zyn-home-slot--hero-desktop { display: none; }
/* If only one approved Hero source exists, use it at both widths without cropping. */
.zyn-home-hero__media:has(.zyn-home-slot--hero-desktop img):not(:has(.zyn-home-slot--hero-mobile img)) .zyn-home-slot--hero-desktop { display: flex; }
.zyn-home-hero__media:has(.zyn-home-slot--hero-desktop img):not(:has(.zyn-home-slot--hero-mobile img)) .zyn-home-slot--hero-mobile { display: none; }
.zyn-home-section.zyn-home-families, .zyn-home-section.zyn-home-audience { background: var(--zyn-soft); }
.zyn-home-section .wp-block-columns.zyn-home-families__grid,
.zyn-home-section .wp-block-columns.zyn-home-audience__grid,
.zyn-home-section .wp-block-columns.zyn-home-customization__split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 28px;
}
.zyn-home-section .wp-block-columns > .wp-block-column { min-width: 0; margin: 0; }
.zyn-home-families__grid > .wp-block-column { display: flex; flex-direction: column; padding: 20px; border-radius: 6px; background: var(--zyn-white); }
.zyn-home-families__grid .zyn-home-slot { max-width: 400px; }
.zyn-home-families__grid h3 { margin-top: 24px; }
.zyn-home-families__grid p { margin-top: 12px; }
.zyn-home-families__grid .zyn-home-slot p { margin-top: 0; }
.zyn-home-families__grid .zyn-home-slot p + p { margin-top: 10px; }
.zyn-home-families__grid .zyn-home-family__browse { margin-top: auto; padding-top: 16px; }
.zyn-home-family__browse a { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; color: var(--zyn-blue); font-weight: 600; text-decoration: none; text-underline-offset: 4px; }
.zyn-home-family__browse a:hover { text-decoration: underline; }
.zyn-home-section .wp-block-columns.zyn-home-customization__split { align-items: center; margin-top: 0; gap: 32px; }
.zyn-home-customization__options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 28px !important; }
.zyn-home-customization__options h3 { font-size: 18px; }
.zyn-home-customization__options p { margin-top: 8px; }
.zyn-home-customization__mainboard { grid-column: 1 / -1; }
.zyn-home-section .zyn-home-customization__qualifier { margin-top: 24px; font-size: 14px; }
.zyn-home-audience__grid > .wp-block-column { padding-top: 18px; border-top: 1px solid var(--zyn-line); }
.zyn-home-audience__grid h3 { font-size: 18px; }
.zyn-home-audience__grid p { margin-top: 10px; }
.zyn-home-section.zyn-home-closing { background: #10213A; text-align: center; }
.zyn-home-closing h2 { max-width: 760px; margin-inline: auto; color: var(--zyn-white); }
.zyn-home-closing p { max-width: 720px; margin: 18px auto 0; color: #E1E7EF; }
.zyn-home-closing .zyn-home-inquiry { margin-top: 24px; }
.zyn-home-closing .wp-block-buttons { justify-content: center; }
.zyn-home-closing .wp-block-button__link:focus-visible { outline: 3px solid var(--zyn-white); outline-offset: 4px; }
.zyn-home-closing .zyn-site-inquiry:disabled { color: #1456C1; background: #FFFFFF; border-color: #FFFFFF; }
.zyn-home-closing .zyn-home-inquiry-note { color: #E1E7EF; }
@media (min-width: 480px) {
    .zyn-home-section { padding-block: 40px; }
    .zyn-home-section h1 { font-size: 36px; }
    .zyn-home-section .wp-block-columns.zyn-home-audience__grid,
    .zyn-home-customization__options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .zyn-home-section { padding-block: 56px; }
    .zyn-home-section .zyn-home-inner { padding-inline: 24px; }
    .zyn-home-section h1 { font-size: 48px; }
    .zyn-home-section h2 { font-size: 30px; }
    .zyn-home-hero .zyn-home-hero__media { margin-top: 24px; }
    .zyn-home-section .zyn-home-hero__media .zyn-home-slot { max-width: 840px; aspect-ratio: 12 / 5; }
    .zyn-home-section .zyn-home-hero__media .zyn-home-slot:has(.zyn-home-image) { max-width: 1120px; aspect-ratio: auto; }
    .zyn-home-section .zyn-home-hero__media .zyn-home-slot--hero-desktop { display: flex; }
    .zyn-home-section .zyn-home-hero__media .zyn-home-slot--hero-mobile { display: none; }
    .zyn-home-hero__media:has(.zyn-home-slot--hero-mobile img):not(:has(.zyn-home-slot--hero-desktop img)) .zyn-home-slot--hero-mobile { display: flex; }
    .zyn-home-hero__media:has(.zyn-home-slot--hero-mobile img):not(:has(.zyn-home-slot--hero-desktop img)) .zyn-home-slot--hero-desktop { display: none; }
    .zyn-home-section .wp-block-columns.zyn-home-families__grid,
    .zyn-home-section .wp-block-columns.zyn-home-customization__split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zyn-home-families__grid > .wp-block-column { padding: 24px; }
    .zyn-home-section .wp-block-columns.zyn-home-audience__grid { gap: 24px 48px; }
}
@media (min-width: 1200px) {
    .zyn-home-section { padding-block: 64px; }
    .zyn-home-section h1 { font-size: 56px; }
    .zyn-home-section h2 { font-size: 34px; }
    .zyn-home-section .wp-block-columns.zyn-home-customization__split { gap: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .zyn-home-section, .zyn-home-section * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
