.se-home-main {
    overflow: hidden;
}

.se-home-hero {
    position: relative;
    padding-block: 62px 72px;
    background:
        radial-gradient(
            circle at 12% 8%,
            rgba(237, 115, 19, 0.11),
            transparent 27%
        ),
        radial-gradient(
            circle at 90% 15%,
            rgba(23, 104, 186, 0.14),
            transparent 34%
        ),
        linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}

.se-home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(450px, 0.96fr);
    align-items: center;
    gap: 58px;
}

.se-home-kicker,
.se-home-section-kicker {
    margin-bottom: 10px;
    color: var(--se-orange-600);
    font-size: 13px;
    font-weight: 700;
}

.se-home-hero-content h1 {
    max-width: 760px;
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 5vw, 4.55rem);
    line-height: 1.35;
}

.se-home-hero-content h1 span {
    display: block;
    color: var(--se-blue-600);
}

.se-home-hero-description {
    max-width: 690px;
    margin-bottom: 28px;
    color: var(--se-muted);
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 2;
}

.se-home-search {
    max-width: 680px;
    margin-bottom: 18px;
}

.se-home-search .se-search-form,
.se-home-follow-search .se-search-form {
    padding: 7px;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--se-line);
    border-radius: 15px;
    box-shadow: var(--se-shadow-sm);
}

.se-home-search .se-search-field,
.se-home-follow-search .se-search-field {
    height: 50px;
    border: 0;
    box-shadow: none;
}

.se-home-search .se-search-field:focus,
.se-home-follow-search .se-search-field:focus {
    box-shadow: none;
}

.se-home-search .se-search-submit,
.se-home-follow-search .se-search-submit {
    min-width: 126px;
    height: 50px;
}

.se-home-hero-actions {
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.se-home-primary-button,
.se-home-secondary-button {
    min-height: 46px;
    padding: 0 19px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    transition:
        transform 150ms ease,
        background-color 150ms ease,
        border-color 150ms ease;
}

.se-home-primary-button {
    color: #ffffff;
    background: var(--se-blue-600);
}

.se-home-primary-button:hover {
    color: #ffffff;
    background: var(--se-navy-800);
    transform: translateY(-1px);
}

.se-home-secondary-button {
    color: var(--se-navy-900);
    background: #ffffff;
    border: 1px solid var(--se-line);
}

.se-home-secondary-button:hover {
    color: var(--se-blue-600);
    border-color: #bed4ef;
    transform: translateY(-1px);
}

.se-home-stats {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.se-home-stats div {
    min-width: 145px;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(219, 227, 239, 0.92);
    border-radius: 13px;
}

.se-home-stats dt {
    color: var(--se-navy-950);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
}

.se-home-stats dd {
    margin: 2px 0 0;
    color: var(--se-muted);
    font-size: 11px;
}

.se-home-hero-media {
    position: relative;
}

.se-home-hero-media picture,
.se-home-hero-media img {
    width: 100%;
}

.se-home-hero-media picture {
    overflow: hidden;
    display: block;
    aspect-ratio: 1.12 / 1;
    border: 1px solid rgba(219, 227, 239, 0.9);
    border-radius: 28px;
    background: #dce6f3;
    box-shadow: 0 28px 70px rgba(6, 27, 69, 0.17);
}

.se-home-hero-media img {
    height: 100%;
    object-fit: cover;
}

.se-home-hero-badge {
    position: absolute;
    right: -18px;
    bottom: 28px;
    min-height: 48px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--se-navy-900);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--se-line);
    border-radius: 13px;
    box-shadow: var(--se-shadow-md);
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(12px);
}

.se-home-hero-badge span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--se-green-700);
    box-shadow: 0 0 0 5px var(--se-green-100);
}

.se-home-section {
    padding-block: 82px;
}

.se-home-section-header {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.se-home-section-header h2 {
    margin-bottom: 0;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.se-home-section-header > p {
    max-width: 530px;
    margin-bottom: 4px;
    color: var(--se-muted);
    font-size: 14px;
}

.se-home-section-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--se-blue-600);
    font-size: 13px;
    font-weight: 700;
}

.se-home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.se-home-category-card {
    position: relative;
    min-height: 164px;
    padding: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid var(--se-line);
    border-radius: 18px;
    box-shadow: var(--se-shadow-sm);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.se-home-category-card::before {
    content: "";
    position: absolute;
    top: -45px;
    left: -38px;
    width: 125px;
    height: 125px;
    border-radius: 50%;
    opacity: 0.75;
}

.se-home-category-card:hover {
    color: inherit;
    transform: translateY(-4px);
    box-shadow: var(--se-shadow-md);
}

.se-tone-blue::before {
    background: var(--se-blue-100);
}

.se-tone-orange::before {
    background: var(--se-orange-100);
}

.se-tone-violet::before {
    background: var(--se-violet-100);
}

.se-tone-green::before {
    background: var(--se-green-100);
}

.se-tone-blue:hover {
    border-color: #b8d4f2;
}

.se-tone-orange:hover {
    border-color: #f3c69f;
}

.se-tone-violet:hover {
    border-color: #cfc3ee;
}

.se-tone-green:hover {
    border-color: #b7ded7;
}

.se-home-category-number {
    position: relative;
    color: var(--se-muted);
    font-size: 12px;
    font-weight: 700;
}

.se-home-category-copy {
    position: relative;
    display: grid;
    gap: 5px;
}

.se-home-category-copy strong {
    color: var(--se-navy-950);
    font-size: 17px;
}

.se-home-category-copy small {
    max-width: 240px;
    color: var(--se-muted);
    font-size: 12px;
    line-height: 1.8;
}

.se-home-category-arrow {
    position: absolute;
    left: 20px;
    bottom: 18px;
    color: var(--se-blue-600);
    font-size: 18px;
    font-weight: 700;
}

.se-home-latest {
    background: #ffffff;
}

.se-home-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.se-home-article-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--se-surface);
    border: 1px solid var(--se-line);
    border-radius: 18px;
    box-shadow: var(--se-shadow-sm);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.se-home-article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--se-shadow-md);
}

.se-home-article-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #dfe8f4;
}

.se-home-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 320ms ease;
}

.se-home-article-card:hover .se-home-article-image img {
    transform: scale(1.035);
}

.se-home-draft-badge {
    position: absolute;
    top: 13px;
    right: 13px;
    padding: 5px 9px;
    color: #ffffff;
    background: rgba(237, 115, 19, 0.94);
    border-radius: 7px;
    font-size: 10px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.se-home-article-body {
    flex: 1;
    padding: 21px;
    display: flex;
    flex-direction: column;
}

.se-home-article-meta {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--se-muted);
    font-size: 11px;
}

.se-home-article-meta a {
    color: var(--se-blue-600);
    font-weight: 700;
}

.se-home-article-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.75;
}

.se-home-article-card h3 a:hover {
    color: var(--se-blue-600);
}

.se-home-article-excerpt {
    margin-bottom: 18px;
    color: var(--se-muted);
    font-size: 13px;
    line-height: 1.9;
}

.se-home-article-excerpt p {
    margin-bottom: 0;
}

.se-home-article-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--se-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--se-muted);
    font-size: 11px;
}

.se-home-article-footer a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--se-blue-600);
    font-weight: 700;
}

.se-home-resource-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.se-home-resource-card {
    overflow: hidden;
    min-width: 0;
    background: #ffffff;
    border: 1px solid var(--se-line);
    border-radius: 17px;
    box-shadow: var(--se-shadow-sm);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.se-home-resource-card:hover {
    color: inherit;
    transform: translateY(-4px);
    box-shadow: var(--se-shadow-md);
}

.se-home-resource-card > img {
    width: 100%;
    aspect-ratio: 1.35 / 1;
    object-fit: cover;
}

.se-home-resource-card > span {
    padding: 17px 18px;
    display: grid;
    gap: 5px;
}

.se-home-resource-card strong {
    color: var(--se-navy-950);
    font-size: 15px;
}

.se-home-resource-card small {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--se-muted);
    font-size: 11px;
}

.se-home-resource-card small b {
    color: var(--se-blue-600);
    font-size: 16px;
}

.se-home-follow {
    padding-block: 18px 92px;
}

.se-home-follow-card {
    overflow: hidden;
    min-height: 390px;
    padding: 52px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    align-items: center;
    gap: 46px;
    color: #dce7f6;
    background:
        radial-gradient(
            circle at 15% 5%,
            rgba(23, 104, 186, 0.42),
            transparent 37%
        ),
        var(--se-navy-950);
    border-radius: 27px;
    box-shadow: 0 28px 70px rgba(6, 27, 69, 0.17);
}

.se-home-follow-content h2 {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.se-home-follow-content > p:not(.se-home-section-kicker) {
    max-width: 660px;
    margin-bottom: 22px;
    color: #b8c6d9;
}

.se-home-follow-search {
    max-width: 650px;
}

.se-home-follow-card > img {
    width: 100%;
    max-height: 310px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 20px;
}

.se-home-rss-link {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #c7daf2;
    font-size: 12px;
    font-weight: 700;
}

.se-home-rss-link:hover {
    color: #ffffff;
}

@media (max-width: 1180px) {
    .se-home-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(380px, 0.84fr);
        gap: 38px;
    }

    .se-home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .se-home-resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .se-home-hero {
        padding-top: 46px;
    }

    .se-home-hero-grid {
        grid-template-columns: 1fr;
    }

    .se-home-hero-content {
        order: 2;
    }

    .se-home-hero-media {
        order: 1;
        max-width: 760px;
        margin-inline: auto;
    }

    .se-home-hero-media picture {
        aspect-ratio: 16 / 8.5;
    }

    .se-home-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .se-home-follow-card {
        grid-template-columns: 1fr;
    }

    .se-home-follow-card > img {
        max-height: 260px;
    }
}

@media (max-width: 782px) {
    .se-home-section {
        padding-block: 62px;
    }

    .se-home-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .se-home-section-header > p {
        margin-bottom: 0;
    }

    .se-home-follow-card {
        padding: 38px 28px;
        border-radius: 22px;
    }
}

@media (max-width: 620px) {
    .se-home-hero {
        padding-block: 32px 56px;
    }

    .se-home-hero-media picture {
        aspect-ratio: 1.25 / 1;
        border-radius: 20px;
    }

    .se-home-hero-badge {
        right: 12px;
        bottom: 12px;
    }

    .se-home-search .se-search-form,
    .se-home-follow-search .se-search-form {
        display: grid;
    }

    .se-home-search .se-search-submit,
    .se-home-follow-search .se-search-submit {
        width: 100%;
    }

    .se-home-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .se-home-primary-button,
    .se-home-secondary-button {
        width: 100%;
    }

    .se-home-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .se-home-stats div:last-child {
        grid-column: 1 / -1;
    }

    .se-home-category-grid,
    .se-home-article-grid,
    .se-home-resource-grid {
        grid-template-columns: 1fr;
    }

    .se-home-follow-card {
        padding: 30px 20px;
    }
}

/* === SteelExperts Home Visual QA v2 === */

/*
 * Prevent the Hero heading from entering the image column.
 */

body.home .se-home-hero {
    padding-block: 68px 78px;
}

body.home .se-home-hero-grid {
    grid-template-columns:
        minmax(0, 0.88fr)
        minmax(500px, 1.12fr);
    align-items: center;
    gap: 76px;
}

body.home .se-home-hero-content {
    min-width: 0;
    max-width: 720px;
}

body.home .se-home-hero-content h1 {
    max-width: 680px;
    margin-bottom: 20px;
    font-size: clamp(2.35rem, 3.55vw, 3.45rem);
    line-height: 1.48;
    overflow-wrap: normal;
    word-break: normal;
}

body.home .se-home-hero-content h1 span {
    margin-top: 5px;
}

body.home .se-home-hero-description {
    max-width: 680px;
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 2;
}

body.home .se-home-hero-media {
    min-width: 0;
}

body.home .se-home-hero-media picture {
    aspect-ratio: 1.15 / 1;
}

/*
 * Keep supporting content readable without excessive scaling.
 */

body.home .se-home-section-header h2 {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
}

body.home .se-home-category-copy strong {
    font-size: 16px;
}

body.home .se-home-category-copy small {
    font-size: 12px;
}

body.home .se-home-article-card h3 {
    font-size: 16.5px;
    line-height: 1.8;
}

body.home .se-home-article-excerpt {
    font-size: 12.5px;
    line-height: 1.9;
}

body.home .se-home-article-meta,
body.home .se-home-article-footer {
    font-size: 11px;
}

body.home .se-home-resource-card strong {
    font-size: 14.5px;
}

body.home .se-home-follow-content h2 {
    font-size: clamp(1.75rem, 2.6vw, 2.35rem);
}

/*
 * Six published articles form a balanced grid.
 */

body.home .se-home-article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

body.home .se-home-article-card {
    width: 100%;
}

/*
 * Responsive Hero layout.
 */

@media (max-width: 1180px) {
    body.home .se-home-hero-grid {
        grid-template-columns:
            minmax(0, 0.92fr)
            minmax(400px, 1.08fr);
        gap: 42px;
    }

    body.home .se-home-hero-content h1 {
        font-size: clamp(2.2rem, 4vw, 3.1rem);
    }
}

@media (max-width: 960px) {
    body.home .se-home-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    body.home .se-home-hero-content {
        max-width: 780px;
    }

    body.home .se-home-hero-content h1 {
        max-width: 740px;
    }

    body.home .se-home-hero-media {
        max-width: 760px;
        margin-inline: auto;
    }

    body.home .se-home-hero-media picture {
        aspect-ratio: 16 / 8.5;
    }
}

@media (max-width: 620px) {
    body.home .se-home-hero {
        padding-block: 36px 54px;
    }

    body.home .se-home-hero-content h1 {
        font-size: clamp(1.9rem, 8vw, 2.55rem);
        line-height: 1.55;
    }

    body.home .se-home-article-grid {
        grid-template-columns: 1fr;
    }
}

/* === End SteelExperts Home Visual QA v2 === */

/* === SteelExperts Home Hero Separation v3 === */

/*
 * Desktop:
 * Use physical grid areas so RTL direction cannot exchange or overlap
 * the image and text columns.
 */

@media (min-width: 1280px) {
    body.home .se-home-hero-grid {
        direction: ltr;
        grid-template-columns:
            minmax(520px, 680px)
            minmax(0, 600px);
        grid-template-areas:
            "media content";
        justify-content: space-between;
        align-items: center;
        column-gap: 96px;
    }

    body.home .se-home-hero-content {
        grid-area: content;
        direction: rtl;
        justify-self: end;
        width: 100%;
        max-width: 600px;
        min-width: 0;
    }

    body.home .se-home-hero-media {
        grid-area: media;
        direction: rtl;
        justify-self: start;
        width: 100%;
        max-width: 680px;
        min-width: 0;
    }

    body.home .se-home-hero-content h1 {
        width: 100%;
        max-width: 560px;
        margin-inline: 0;
        font-size: clamp(2.2rem, 2.75vw, 2.95rem);
        line-height: 1.6;
        text-wrap: balance;
        overflow-wrap: normal;
        word-break: normal;
    }

    body.home .se-home-hero-description,
    body.home .se-home-search {
        width: 100%;
        max-width: 580px;
    }

    body.home .se-home-hero-media picture {
        width: 100%;
        aspect-ratio: 1.18 / 1;
    }
}

/*
 * Medium desktop:
 * Preserve two independent columns with a smaller safe gap.
 */

@media (
    min-width: 961px
) and (
    max-width: 1279px
) {
    body.home .se-home-hero-grid {
        direction: ltr;
        grid-template-columns:
            minmax(400px, 1fr)
            minmax(0, 510px);
        grid-template-areas:
            "media content";
        align-items: center;
        column-gap: 48px;
    }

    body.home .se-home-hero-content {
        grid-area: content;
        direction: rtl;
        justify-self: end;
        width: 100%;
        max-width: 510px;
        min-width: 0;
    }

    body.home .se-home-hero-media {
        grid-area: media;
        direction: rtl;
        justify-self: start;
        width: 100%;
        max-width: 620px;
        min-width: 0;
    }

    body.home .se-home-hero-content h1 {
        width: 100%;
        max-width: 485px;
        margin-inline: 0;
        font-size: clamp(2rem, 3.3vw, 2.6rem);
        line-height: 1.62;
        text-wrap: balance;
        overflow-wrap: normal;
        word-break: normal;
    }

    body.home .se-home-hero-description,
    body.home .se-home-search {
        width: 100%;
        max-width: 500px;
    }
}

/*
 * Tablet and mobile:
 * Stack the image and text explicitly.
 */

@media (max-width: 960px) {
    body.home .se-home-hero-grid {
        direction: rtl;
        grid-template-columns: 1fr;
        grid-template-areas:
            "media"
            "content";
        gap: 38px;
    }

    body.home .se-home-hero-content {
        grid-area: content;
        order: 0;
        justify-self: center;
        width: 100%;
        max-width: 780px;
        min-width: 0;
    }

    body.home .se-home-hero-media {
        grid-area: media;
        order: 0;
        justify-self: center;
        width: 100%;
        max-width: 760px;
        min-width: 0;
    }

    body.home .se-home-hero-content h1 {
        width: 100%;
        max-width: 720px;
        font-size: clamp(2rem, 5.7vw, 3rem);
        line-height: 1.58;
    }
}

@media (max-width: 620px) {
    body.home .se-home-hero-grid {
        gap: 30px;
    }

    body.home .se-home-hero-content h1 {
        max-width: 100%;
        font-size: clamp(1.85rem, 8vw, 2.45rem);
        line-height: 1.65;
    }
}

/* === End SteelExperts Home Hero Separation v3 === */

/* === SteelExperts Fullwidth Hero v4 === */

/*
 * Full-width Knowledge Hero aligned with the main SteelExperts site.
 */

body.home .se-home-hero {
    padding: 24px 0 70px;
    background: var(--se-canvas);
}

body.home .se-home-hero-shell {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    display: grid;
    place-items: center;
    isolation: isolate;
    background: var(--se-navy-950);
    border: 1px solid rgba(219, 227, 239, 0.75);
    border-radius: 28px;
    box-shadow: 0 24px 65px rgba(6, 27, 69, 0.16);
}

body.home .se-home-hero-background {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
}

body.home .se-home-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 56%;
}

body.home .se-home-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            180deg,
            rgba(4, 18, 48, 0.54) 0%,
            rgba(5, 24, 60, 0.68) 48%,
            rgba(4, 19, 48, 0.84) 100%
        ),
        linear-gradient(
            90deg,
            rgba(6, 27, 69, 0.2),
            rgba(6, 27, 69, 0.08),
            rgba(6, 27, 69, 0.2)
        );
}

body.home .se-home-hero-copy {
    position: relative;
    z-index: 2;
    width: min(940px, calc(100% - 64px));
    padding: 64px 0 54px;
    color: #ffffff;
    text-align: center;
}

body.home .se-home-hero-kicker {
    margin-bottom: 13px;
    color: #ffb16e;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
}

body.home .se-home-hero-copy h1 {
    max-width: 900px;
    margin: 0 auto 14px;
    color: #ffffff;
    font-size: clamp(2.4rem, 4.1vw, 4rem);
    font-weight: 700;
    line-height: 1.48;
    text-align: center;
    text-shadow: 0 5px 24px rgba(0, 0, 0, 0.28);
    text-wrap: balance;
}

body.home .se-home-hero-subtitle {
    max-width: 760px;
    margin: 0 auto 27px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(14px, 1.25vw, 17px);
    line-height: 2;
    text-align: center;
}

body.home .se-home-hero-search {
    width: min(760px, 100%);
    margin: 0 auto 24px;
}

body.home .se-home-hero-search .se-search-form {
    min-height: 66px;
    padding: 7px;
    display: flex;
    align-items: stretch;
    gap: 8px;
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(255, 255, 255, 0.86);
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.23);
}

body.home .se-home-hero-search .se-search-field {
    min-width: 0;
    height: 50px;
    flex: 1;
    padding-inline: 17px;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--se-ink);
    font-size: 14px;
}

body.home .se-home-hero-search .se-search-field:focus {
    border: 0;
    box-shadow: none;
    outline: none;
}

body.home .se-home-hero-search .se-search-submit {
    min-width: 126px;
    height: 50px;
    flex: 0 0 auto;
    border-radius: 11px;
    background: var(--se-blue-600);
    font-size: 13px;
}

body.home .se-home-hero-search .se-search-submit:hover {
    background: var(--se-navy-800);
}

body.home .se-home-hero-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

body.home .se-home-hero-categories a {
    min-height: 37px;
    padding: 6px 15px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--se-navy-950);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.13);
    font-size: 11.5px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    transition:
        transform 150ms ease,
        background-color 150ms ease,
        color 150ms ease;
}

body.home .se-home-hero-categories a:hover {
    color: #ffffff;
    background: var(--se-blue-600);
    transform: translateY(-2px);
}

/*
 * The legacy two-column Hero is no longer rendered.
 */

body.home .se-home-hero-grid,
body.home .se-home-hero-content,
body.home .se-home-hero-media,
body.home .se-home-stats,
body.home .se-home-hero-actions {
    all: revert;
}

/*
 * Tablet.
 */

@media (max-width: 960px) {
    body.home .se-home-hero {
        padding-top: 18px;
    }

    body.home .se-home-hero-shell {
        min-height: 470px;
        border-radius: 23px;
    }

    body.home .se-home-hero-copy {
        width: min(820px, calc(100% - 44px));
        padding-block: 55px 46px;
    }

    body.home .se-home-hero-copy h1 {
        font-size: clamp(2.2rem, 6vw, 3.35rem);
    }

    body.home .se-home-hero-background img {
        object-position: center center;
    }
}

/*
 * Mobile.
 */

@media (max-width: 620px) {
    body.home .se-home-hero {
        padding: 12px 0 52px;
    }

    body.home .se-home-hero-shell {
        min-height: 540px;
        border-radius: 19px;
    }

    body.home .se-home-hero-copy {
        width: calc(100% - 28px);
        padding-block: 45px 38px;
    }

    body.home .se-home-hero-kicker {
        font-size: 11.5px;
    }

    body.home .se-home-hero-copy h1 {
        margin-bottom: 13px;
        font-size: clamp(1.9rem, 9vw, 2.55rem);
        line-height: 1.62;
    }

    body.home .se-home-hero-subtitle {
        margin-bottom: 21px;
        font-size: 13px;
        line-height: 1.9;
    }

    body.home .se-home-hero-search .se-search-form {
        min-height: auto;
        display: grid;
    }

    body.home .se-home-hero-search .se-search-submit {
        width: 100%;
    }

    body.home .se-home-hero-categories {
        gap: 7px;
    }

    body.home .se-home-hero-categories a {
        min-height: 34px;
        padding-inline: 11px;
        font-size: 10.5px;
    }
}

/* === End SteelExperts Fullwidth Hero v4 === */

/* === SteelExperts Hero Content Gap v5 === */

/*
 * Reduce only the space between the full-width Hero
 * and the first homepage content section.
 */

body.home .se-home-hero {
    padding-top: 24px;
    padding-bottom: 20px;
}

body.home .se-home-categories {
    padding-top: 28px;
    padding-bottom: 68px;
}

body.home .se-home-categories .se-home-section-header {
    margin-bottom: 26px;
}

/*
 * Tablet spacing.
 */

@media (max-width: 960px) {
    body.home .se-home-hero {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    body.home .se-home-categories {
        padding-top: 26px;
        padding-bottom: 58px;
    }
}

/*
 * Mobile spacing.
 */

@media (max-width: 620px) {
    body.home .se-home-hero {
        padding-top: 12px;
        padding-bottom: 14px;
    }

    body.home .se-home-categories {
        padding-top: 22px;
        padding-bottom: 50px;
    }

    body.home .se-home-categories .se-home-section-header {
        margin-bottom: 22px;
    }
}

/* === End SteelExperts Hero Content Gap v5 === */

/* === SteelExperts Homepage Typography Scale v6 === */

/*
 * Balanced hierarchy for the Knowledge homepage.
 */

body.home .se-home-hero-copy {
    width: min(860px, calc(100% - 64px));
    padding-top: 58px;
    padding-bottom: 48px;
}

body.home .se-home-hero-kicker {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.7;
}

body.home .se-home-hero-copy h1 {
    max-width: 760px;
    margin-bottom: 12px;
    font-size: clamp(2.15rem, 3.25vw, 3.25rem);
    line-height: 1.52;
}

body.home .se-home-hero-subtitle {
    max-width: 720px;
    margin-bottom: 23px;
    font-size: clamp(14px, 1.05vw, 16px);
    line-height: 1.95;
}

body.home .se-home-hero-search {
    width: min(700px, 100%);
    margin-bottom: 20px;
}

body.home .se-home-hero-categories a {
    min-height: 36px;
    padding-inline: 14px;
    font-size: 11.5px;
}

body.home .se-home-section-header h2 {
    font-size: clamp(1.7rem, 2.25vw, 2.15rem);
    line-height: 1.6;
}

body.home .se-home-section-header > p {
    font-size: 14px;
    line-height: 1.9;
}

body.home .se-home-section-kicker {
    font-size: 12.5px;
    line-height: 1.7;
}

body.home .se-home-category-copy strong {
    font-size: 15.5px;
}

body.home .se-home-category-copy small {
    font-size: 12px;
    line-height: 1.85;
}

body.home .se-home-article-card h3 {
    font-size: 16px;
    line-height: 1.8;
}

body.home .se-home-article-excerpt {
    font-size: 12.5px;
    line-height: 1.95;
}

body.home .se-home-resource-card strong {
    font-size: 14.5px;
}

body.home .se-home-follow-card {
    min-height: 360px;
    padding: 46px 48px;
}

body.home .se-home-follow-content h2 {
    margin-bottom: 12px;
    font-size: clamp(1.65rem, 2.3vw, 2.15rem);
    line-height: 1.6;
}

body.home .se-home-follow-content > p:not(
    .se-home-section-kicker
) {
    margin-bottom: 19px;
    font-size: 14px;
    line-height: 1.95;
}

body.home .se-home-follow-search .se-search-field {
    font-size: 13.5px;
}

body.home .se-home-rss-link {
    font-size: 12px;
}

body.home .site-footer .se-footer-column h2 {
    font-size: 15px;
}

body.home .site-footer .se-footer-menu a {
    font-size: 12.5px;
    line-height: 1.85;
}

body.home .site-footer .se-footer-about p {
    font-size: 13px;
    line-height: 1.95;
}

@media (max-width: 960px) {
    body.home .se-home-hero-copy h1 {
        font-size: clamp(2rem, 5vw, 2.85rem);
    }
}

@media (max-width: 620px) {
    body.home .se-home-hero-copy {
        width: calc(100% - 28px);
        padding-block: 42px 36px;
    }

    body.home .se-home-hero-copy h1 {
        font-size: clamp(1.75rem, 8vw, 2.3rem);
        line-height: 1.65;
    }

    body.home .se-home-hero-subtitle {
        font-size: 13px;
    }

    body.home .se-home-section-header h2 {
        font-size: 1.7rem;
    }

    body.home .se-home-follow-card {
        padding: 30px 20px;
    }

    body.home .se-home-follow-content h2 {
        font-size: 1.65rem;
    }
}

/* === End SteelExperts Homepage Typography Scale v6 === */
