﻿.home-news__post-title {
    text-decoration: none;
}

.ib-breadcrumb {
    padding: 32px 0 0 !important;
    background: #ffffff;
}

.ib-breadcrumb__list {
    margin: 0;
    padding: 11px 18px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    border-radius: 999px;
    background: #efefef;
}

.ib-breadcrumb__item {
    display: inline-flex;
    align-items: center;
    color: #495360;
    font-size: 13px;
    line-height: 1.5;
}

.ib-breadcrumb__item + .ib-breadcrumb__item::before {
    content: "/";
    color: #9ba3af;
    margin-right: 10px;
}

.ib-breadcrumb__link {
    color: #495360;
    text-decoration: none;
}

.ib-breadcrumb__link:hover {
    text-decoration: underline;
}

.ib-breadcrumb__current {
    color: #2a3440;
    font-weight: 500;
}

/* Force feature background to light-gray world map variant */
.home__section.is-bg.home-feature {
    background-color: #eef2f5 !important;
    background-image: none !important;
    position: relative;
    overflow: hidden;
}

.home__section.is-bg.home-feature::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/assets/img/bg_home_feature.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    filter: grayscale(1) brightness(1.35) contrast(1.35);
    mix-blend-mode: screen;
    opacity: 0.55;
    pointer-events: none;
}

.home__section.is-bg.home-feature .container {
    position: relative;
    z-index: 1;
}

.home__section.is-bg.home-feature .home-heading__title--ja,
.home__section.is-bg.home-feature .home-heading__read {
    color: #111111 !important;
}

.home__section.is-bg.home-feature .home-heading__title--en {
    color: #1bb5d2 !important;
}

/* Header refresh (v14 nav step) */
@media (min-width: 1024px) {
    .l-header,
    .l-header.is-compact {
        background: #fff;
        border-bottom: 1px solid #e6eaf0;
        padding: 0 !important;
        margin: 0 !important;
    }

    .l-wrapper > .l-header,
    .l-wrapper > .l-header.is-compact {
        padding: 0 !important;
        margin: 0 !important;
    }

    .l-header__inner,
    .l-header.is-compact .l-header__inner {
        width: 100%;
        max-width: none;
        margin: 0;
        min-height: 82px;
        padding: 0 !important;
        display: flex;
        align-items: stretch;
    }

    .l-header__logo img {
        width: 190px;
        height: auto;
    }

    .l-header__logo {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        padding: 10px 0 10px 20px;
    }

    .l-header__nav {
        margin-left: auto;
        height: 100%;
    }

    .l-header__navlist {
        display: flex;
        align-items: stretch;
        gap: 0;
        white-space: nowrap;
        height: 100%;
        margin: 0;
        padding: 0;
        margin-right: 0 !important;
    }

    .l-header__navlist > a {
        color: #141a22;
        font-size: 15px;
        line-height: 1;
        font-weight: 700;
        letter-spacing: 0.01em;
        text-decoration: none;
        white-space: nowrap;
        min-height: 82px;
        display: inline-flex;
        align-items: center;
        position: relative;
        transition: color 0.2s ease;
    }

    .l-header__navlist > a:not(.button) {
        padding: 0 !important;
        margin-right: 28px !important;
    }

    .l-header__navlist > a:nth-last-child(2) {
        margin-right: 28px !important;
    }

    .l-header__navlist > a:not(.button)::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 18px;
        height: 2px;
        background: #1e4ea1;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.2s ease;
    }

    .l-header__navlist > a:hover {
        color: #1e4ea1;
    }

    .l-header__navlist > a:not(.button):hover::after {
        transform: scaleX(1);
    }

    .l-header__navlist > a.button {
        margin-left: 0;
        min-height: 82px;
        padding: 0 24px;
        border-radius: 0;
        border: 0;
        background: #f2554a;
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    .l-header__navlist > a.button:hover {
        opacity: 0.9;
    }
}

/* Prevent overlap with WP admin bar when logged in. */
body.admin-bar .l-header,
body.admin-bar .l-header.is-compact {
    top: 32px !important;
}

@media (max-width: 782px) {
    body.admin-bar .l-header,
    body.admin-bar .l-header.is-compact {
        top: 46px !important;
    }
}

/* Keep footer at the bottom of document flow on all templates. */
.l-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.l-main {
    flex: 1 0 auto;
}

.l-footer {
    margin-top: 50px !important;
}

.ib-cards {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
}

.ib-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.ib-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.ib-card__thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.ib-card__thumb-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f3f3f3;
    color: #666;
    font-size: 14px;
}

.ib-card__meta {
    padding: 14px 16px 0;
    font-size: 13px;
    color: #666;
}

.ib-card__title {
    padding: 8px 16px 0;
    font-size: 20px;
    line-height: 1.4;
}

.ib-card__excerpt {
    padding: 8px 16px 16px;
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

.ib-pagination {
    margin-top: 24px;
}

.ib-pagination .nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ib-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-decoration: none;
}

.ib-pagination .current {
    background: #0b3768;
    border-color: #0b3768;
    color: #fff;
}

.registration-list__name-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.ib-country-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0;
}

.ib-country-list__item {
    list-style: none;
}

.ib-country-list__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #d7dce3;
    border-radius: 10px;
    background: #fff;
    color: #0b3768;
    text-decoration: none;
}

.ib-country-list__link:hover {
    background: #f6f8fb;
}

.ib-country-list__flag {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.ib-country-list__flag-emoji,
.ib-country-list__flag-fallback {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    font-size: 16px;
}

.ib-country-list__name {
    font-size: 13px;
    line-height: 1.4;
}

.ib-country-detail {
    background: #fff;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.ib-country-detail__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.ib-country-detail__flag {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.ib-country-detail__emoji {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    font-size: 30px;
}

.ib-country-detail__title {
    font-size: 28px;
    line-height: 1.3;
}

.ib-country-detail__meta {
    margin-top: 6px;
    color: #4a5567;
    font-size: 14px;
}

.ib-country-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.ib-country-detail__back {
    margin-top: 18px;
}

.ib-country-detail__back a {
    color: #0b3768;
    text-decoration: underline;
}

.single-country .ib-country-detail__header--stacked {
    display: block;
    margin-bottom: 24px;
}

.single-country .ib-country-detail__heading {
    margin-bottom: 18px;
}

.single-country .ib-country-detail__title {
    font-size: 42px;
    line-height: 1.22;
}

.single-country .ib-country-detail__flag-wrap {
    margin-bottom: 18px;
}

.single-country .ib-country-detail__flag {
    width: 56px;
    height: 56px;
}

.single-country .ib-country-detail__emoji {
    width: 56px;
    height: 56px;
    font-size: 36px;
}

.single-country .ib-country-detail__actions {
    margin-top: 0;
    margin-bottom: 36px;
}

.single-country .ib-country-detail__actions .button,
.single-country .ib-country-detail__actions .button-ghost {
    min-height: 0;
    padding: 10px 50px;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.single-country .ib-country-detail__actions .button:hover,
.single-country .ib-country-detail__actions .button-ghost:hover {
    background: #1bb5d2;
    border-color: #1bb5d2;
    color: #fff;
}

.single-country .ib-country-detail__article-title {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    color: #1f2530;
}

.single-country .ib-country-detail__content h2 {
    margin: 34px 0 14px;
    font-size: 28px;
    line-height: 1.35;
    color: #1f2530;
    font-weight: 700;
}

.single-country .ib-country-detail__content p {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.9;
}

.ib-country-sample-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: none;
}

.ib-country-sample-modal[aria-hidden="false"] {
    display: block;
}

.ib-country-sample-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}

.ib-country-sample-modal__dialog {
    position: relative;
    z-index: 20001;
    width: min(980px, calc(100% - 40px));
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    padding: 54px 18px 18px;
    max-height: calc(100vh - 80px);
}

.ib-country-sample-modal__close {
    position: absolute;
    z-index: 20002;
    right: 10px;
    top: 10px;
    width: 40px;
    height: 40px;
    border: 1px solid #d3dae3;
    background: #fff;
    border-radius: 999px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #1e2634;
}

.ib-country-sample-modal__body {
    height: calc(100vh - 180px);
}

.ib-country-sample-modal__body iframe,
.ib-country-sample-modal__body img {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
}

body.ib-modal-open {
    overflow: hidden;
}

/* SP hamburger nav */
@media (min-width: 1024px) {
    .l-header__button {
        display: none !important;
    }

    .drawer-content {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .l-header__inner {
        min-height: 72px !important;
    }

    .l-header__logo {
        padding: 10px 0 10px 14px !important;
    }

    .l-header__logo img,
    .l-header__logo-image {
        width: 146px !important;
        height: auto !important;
    }

    .l-header__nav {
        display: none !important;
    }

    .l-header__button {
        margin-left: auto;
        padding-right: 14px;
        display: flex;
        align-items: center;
    }

    .drawer-button {
        width: 44px;
        height: 44px;
        border: 1px solid #d6dce5;
        background: #fff !important;
        border-radius: 10px;
        padding: 0;
        margin: 0;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        position: relative;
        background-image: none !important;
        box-shadow: none !important;
        font-size: 0;
        line-height: 0;
        -webkit-appearance: none;
        appearance: none;
    }

    .drawer-button::before,
    .drawer-button::after {
        content: none !important;
        display: none !important;
    }

    .drawer-button *,
    .drawer-button *::before,
    .drawer-button *::after {
        background-image: none !important;
        box-shadow: none !important;
    }

    .drawer-button__line {
        display: block !important;
        width: 20px;
        height: 2px;
        background: #12395f;
        border-radius: 999px;
        transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
        position: absolute;
        left: 50%;
        margin-left: -10px;
    }

    .drawer-button__line:nth-child(1) {
        top: 14px;
    }

    .drawer-button__line:nth-child(2) {
        top: 21px;
    }

    .drawer-button__line:nth-child(3) {
        top: 28px;
    }

    body.is-drawer-open .drawer-button__line:nth-child(1),
    .drawer-button[aria-expanded="true"] .drawer-button__line:nth-child(1) {
        top: 21px;
        transform: rotate(45deg);
    }

    body.is-drawer-open .drawer-button__line:nth-child(2),
    .drawer-button[aria-expanded="true"] .drawer-button__line:nth-child(2) {
        opacity: 0;
    }

    body.is-drawer-open .drawer-button__line:nth-child(3),
    .drawer-button[aria-expanded="true"] .drawer-button__line:nth-child(3) {
        top: 21px;
        transform: rotate(-45deg);
    }

    .drawer-content {
        position: fixed;
        inset: 0;
        z-index: 9998;
        background: rgba(17, 24, 39, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: stretch !important;
    }

    body.admin-bar .drawer-content {
        top: 46px;
    }

    body.is-drawer-open {
        overflow: hidden;
    }

    body.is-drawer-open .drawer-content {
        opacity: 1;
        visibility: visible;
    }

    .drawer-content__inner {
        margin: 0 0 0 auto !important;
        width: min(86vw, 360px);
        height: 100%;
        overflow-y: auto;
        background: #fff;
        padding: calc(148px + env(safe-area-inset-top, 0px)) 18px 26px;
        box-shadow: -8px 0 22px rgba(17, 24, 39, 0.16);
        position: relative;
        right: 0 !important;
        left: auto !important;
        transform: none !important;
        float: none !important;
        inset: auto 0 0 auto !important;
    }

    .drawer-gnav {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .drawer-gnav__list {
        border-bottom: 1px solid #e5e9ef;
    }

    .drawer-gnav__list a {
        display: block;
        padding: 12px 2px;
        color: #12395f;
        font-size: 15px;
        font-weight: 700;
        text-decoration: none;
    }

    .drawer-cv {
        margin-top: 18px;
    }

    .drawer-cv__button.button {
        width: 100%;
        min-height: 46px;
        justify-content: center;
        border-radius: 999px;
    }

    /* Keep icon color single blue when opened */
    .drawer-button__line {
        background: #12395f !important;
        border-color: #12395f !important;
    }
}

/* Desktop: keep global nav right aligned */
@media (min-width: 1024px) {
    .l-header__inner {
        display: flex !important;
        align-items: stretch !important;
    }

    .l-header__nav {
        margin-left: auto !important;
        flex: 1 1 auto !important;
        display: flex !important;
        justify-content: flex-end !important;
    }

    .l-header__navlist {
        margin-left: auto !important;
        justify-content: flex-end !important;
    }
}

.ib-region-block + .ib-region-block {
    margin-top: 40px;
}

.ib-region-block__title {
    font-size: 24px;
    margin-bottom: 14px;
    color: #0b3768;
}

.ib-region-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
}

.ib-region-card {
    border: 1px solid #d7dce3;
    border-radius: 10px;
    background: #fff;
}

.ib-region-card__main {
    display: block;
    padding: 14px;
    text-decoration: none;
    color: inherit;
}

.ib-region-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ib-region-card__flag {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.ib-region-card__emoji {
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    font-size: 18px;
}

.ib-region-card__name {
    font-size: 16px;
    line-height: 1.4;
}

.ib-region-card__type {
    margin-top: 8px;
    font-size: 12px;
    color: #425066;
}

@media (min-width: 768px) {
    .ib-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ib-country-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .ib-region-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .ib-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ib-country-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .ib-region-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ===== Top hero redesign (teal full-width) ===== */
body.home .l-main {
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
    background: #ffffff !important;
    padding-top: 0 !important;
}

body.home .l-main::before,
body.home .l-main::after {
    content: none !important;
    display: none !important;
}

body.home .l-wrapper {
    padding-top: 0 !important;
    min-width: 0 !important;
}

body.home .l-header,
body.home .l-header.is-compact {
    background: #13b9d6 !important;
    border-bottom: 0 !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

body.home .l-header__logo-image {
    filter: brightness(0) invert(1);
}

body.home .l-header__navlist > a:not(.button) {
    color: #ffffff;
    opacity: 0.95;
}

body.home .l-header__navlist > a:not(.button):hover {
    color: #ffffff;
    opacity: 1;
}

body.home .l-header__navlist > a:not(.button)::after {
    background: #ffffff;
    bottom: 22px;
}

body.home .l-header__navlist > a.button {
    min-width: 192px;
    background: #f2f6f8;
    color: #149cb3;
    font-weight: 700;
    letter-spacing: 0.01em;
}

body.home .l-header__navlist > a.button::before {
    content: "✉";
    display: inline-block;
    margin-right: 8px;
    font-size: 16px;
    line-height: 1;
}

body.home .home-main {
    background: #13b9d6 !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    top: 0 !important;
}

body.home .l-header + .l-main > .home-main {
    margin-top: -1px !important;
}

body.home .l-wrapper > .l-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.home .home-main__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 20px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 450px);
    gap: 32px;
    align-items: start;
}

body.home .home-main__left {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 22px 0 0;
}

body.home .home-main__eyebrow {
    margin: 0 0 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

body.home .home-main__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(32px, 4.4vw, 56px);
    line-height: 1.2;
    font-weight: 900;
}

body.home .home-main__subtitle {
    margin: 16px 0 0;
    color: #ffffff;
    font-size: clamp(20px, 2.4vw, 30px);
    line-height: 1.32;
    font-weight: 800;
    letter-spacing: 0.08em;
}

body.home .home-main__price-row {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    margin-top: 14px;
    flex-wrap: nowrap;
}

body.home .home-main__price {
    display: inline-flex;
    align-items: center;
    margin: 0;
    color: #ffffff;
    background: #b37906;
    border-radius: 999px;
    padding: 8px 20px;
    font-size: clamp(20px, 2.2vw, 30px);
    line-height: 1.3;
    font-weight: 900;
    white-space: nowrap;
    width: fit-content;
    max-width: 100%;
}

body.home .home-main__illust {
    margin-top: 0;
    width: clamp(170px, 22vw, 300px);
    pointer-events: none;
    flex: 0 0 auto;
}

body.home .home-main__illust img {
    display: block;
    width: 100%;
    height: auto;
}

body.home .home-main__right {
    width: 100%;
    padding: 22px 0 0;
}

body.home .home-hero-form {
    border: 6px solid #ffffff;
    border-radius: 12px;
    background: #edf1f3;
    overflow: hidden;
}

body.home .home-hero-form__title {
    margin: 0;
    padding: 12px 16px;
    background: #13b9d6;
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
}

body.home .home-hero-form__body {
    padding: 16px 16px 18px;
}

body.home .home-hero-form__field + .home-hero-form__field {
    margin-top: 12px;
}

body.home .home-hero-form__field label {
    display: block;
    margin-bottom: 6px;
    color: #1f2f39;
    font-size: 15px;
    font-weight: 700;
}

body.home .home-hero-form__field select,
body.home .home-hero-form__field input {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 1px solid #d7dde2;
    background: #ffffff;
    font-size: 15px;
    color: #1c2e3a;
}

body.home .home-hero-form__actions {
    margin-top: 16px;
}

body.home .home-hero-form__submit {
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 999px;
    background: #14b7d5;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
}

body.home .home-hero-form__submit:hover {
    background: #0fa8c3;
}

@media (max-width: 1023px) {
    body.home .l-header,
    body.home .l-header.is-compact {
        background: #13b9d6 !important;
    }

    body.home .home-main__container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 8px 14px 18px;
    }

    body.home .home-main__left {
        padding: 8px 0 0;
    }

    body.home .home-main__eyebrow {
        font-size: 12px;
        margin-bottom: 12px;
    }

    body.home .home-main__title {
        font-size: clamp(26px, 8vw, 38px);
        line-height: 1.22;
    }

    body.home .home-main__subtitle {
        margin-top: 12px;
        font-size: clamp(16px, 5.2vw, 24px);
        letter-spacing: 0.03em;
    }

    body.home .home-main__price-row {
        gap: 8px;
        align-items: center;
    }

    body.home .home-main__price {
        font-size: clamp(16px, 4.8vw, 24px);
        padding: 6px 14px;
    }

    body.home .home-main__illust {
        width: clamp(120px, 30vw, 190px);
        margin: 0;
    }

    body.home .home-main__right {
        padding-bottom: 24px;
    }

    body.home .home-hero-form__title {
        font-size: 20px;
    }
}

/* ===== Home hard fix: remove white gaps and stabilize hero ===== */
.l-wrapper--home {
    padding-top: 0 !important;
    min-width: 0 !important;
    margin-top: 0 !important;
}

.l-wrapper--home .l-header,
.l-wrapper--home .l-header.is-compact {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #13b9d6 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

body.home .l-wrapper.l-wrapper--home {
    padding-top: 0 !important;
    min-width: 0 !important;
    margin-top: 0 !important;
}

body.home .l-wrapper.l-wrapper--home > .l-header,
body.home .l-wrapper.l-wrapper--home > .l-header.is-compact,
body.home.admin-bar .l-wrapper.l-wrapper--home > .l-header,
body.home.admin-bar .l-wrapper.l-wrapper--home > .l-header.is-compact {
    position: relative !important;
    top: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.home .l-wrapper.l-wrapper--home > .l-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.home .l-wrapper.l-wrapper--home > .l-main > .home-main {
    margin-top: 0 !important;
}

.l-wrapper--home .l-header__inner {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 82px;
    background: #13b9d6 !important;
}

.l-wrapper--home .l-main {
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
}

.l-wrapper--home .home-main {
    margin: 0 !important;
    padding: 0 !important;
    background: #13b9d6 !important;
}

.l-wrapper--home .home-main__container {
    padding: 10px 20px 20px;
}

.l-wrapper--home .home-main__title {
    font-size: clamp(40px, 5.2vw, 70px);
}

.l-wrapper--home .home-main__subtitle {
    font-size: clamp(24px, 3.1vw, 40px);
}

.l-wrapper--home .home-main__price {
    font-size: clamp(24px, 2.8vw, 38px);
    padding: 9px 20px;
}

.l-wrapper--home .home-main__price-row {
    position: relative;
    align-items: flex-end;
    gap: 10px;
}

.l-wrapper--home .home-main__illust {
    width: clamp(260px, 30vw, 430px);
    position: relative;
    z-index: 5;
    margin-bottom: -10px;
}

@media (max-width: 1023px) {
    .l-wrapper--home .l-header,
    .l-wrapper--home .l-header.is-compact {
        background: #13b9d6 !important;
    }

    .l-wrapper--home .l-header__inner {
        min-height: 60px;
    }

    .l-wrapper--home .home-main__container {
        padding: 8px 14px 18px;
    }

    .l-wrapper--home .home-main__title {
        font-size: clamp(32px, 8.6vw, 50px);
    }

    .l-wrapper--home .home-main__subtitle {
        font-size: clamp(20px, 5.9vw, 30px);
    }

    .l-wrapper--home .home-main__price {
        font-size: clamp(20px, 5.4vw, 28px);
    }

    .l-wrapper--home .home-main__illust {
        width: clamp(180px, 36vw, 260px);
        margin-bottom: -4px;
    }
}

/* ===== Home rebuild: deterministic layout (final) ===== */
body.is-infobiz-home-rebuild .l-wrapper {
    padding-top: 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.is-infobiz-home-rebuild .l-header,
body.is-infobiz-home-rebuild .l-header.is-compact,
body.is-infobiz-home-rebuild.admin-bar .l-header,
body.is-infobiz-home-rebuild.admin-bar .l-header.is-compact {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #13b9d6 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

body.is-infobiz-home-rebuild .l-header__inner {
    width: 100% !important;
    max-width: none !important;
    min-height: 82px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #13b9d6 !important;
}

body.is-infobiz-home-rebuild .l-header__logo {
    padding: 10px 0 10px 20px !important;
}

body.is-infobiz-home-rebuild .l-header__logo-image {
    filter: brightness(0) invert(1);
}

body.is-infobiz-home-rebuild .l-header__navlist > a:not(.button) {
    color: #fff !important;
}

body.is-infobiz-home-rebuild .l-header__navlist > a:not(.button)::after {
    background: #fff !important;
}

body.is-infobiz-home-rebuild .l-header__navlist > a.button {
    background: #f2f6f8 !important;
    color: #149cb3 !important;
}

body.is-infobiz-home-rebuild .l-main {
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
    background: #fff !important;
}

body.is-infobiz-home-rebuild .home-main {
    margin: 0 !important;
    padding: 0 !important;
    background: #13b9d6 !important;
    border-radius: 0 !important;
}

body.is-infobiz-home-rebuild .home-main__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 20px 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(430px, 500px);
    gap: 18px;
    align-items: start;
}

body.is-infobiz-home-rebuild .home-main__left {
    color: #fff;
    padding: 20px 0 0;
}

body.is-infobiz-home-rebuild .home-main__eyebrow {
    margin: 0 0 18px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

body.is-infobiz-home-rebuild .home-main__title {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 4.9vw, 72px);
    line-height: 1.16;
    font-weight: 900;
}

body.is-infobiz-home-rebuild .home-main__subtitle {
    margin: 14px 0 0;
    color: #fff;
    font-size: clamp(24px, 2.6vw, 38px);
    line-height: 1.28;
    font-weight: 800;
    letter-spacing: 0.04em;
}

body.is-infobiz-home-rebuild .home-main__price-row {
    margin-top: 14px;
    display: flex;
    align-items: flex-end;
    gap: 22px;
}

body.is-infobiz-home-rebuild .home-main__price {
    margin: 0;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    white-space: nowrap;
    color: #fff;
    background: #b37906;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: clamp(24px, 2.35vw, 36px);
    font-weight: 900;
    line-height: 1.2;
}

body.is-infobiz-home-rebuild .home-main__illust {
    width: clamp(250px, 28vw, 400px);
    flex: 0 0 auto;
    position: relative;
    z-index: 8;
    transform: translateY(8px);
}

body.is-infobiz-home-rebuild .home-main__illust img {
    width: 100%;
    height: auto;
    display: block;
}

body.is-infobiz-home-rebuild .home-main__right {
    width: 100%;
    padding: 18px 0 0;
}

body.is-infobiz-home-rebuild .home-hero-form {
    border: 6px solid #fff;
    border-radius: 12px;
    background: #edf1f3;
}

body.is-infobiz-home-rebuild .home-hero-form__title {
    margin: 0;
    background: #13b9d6;
    color: #fff;
    padding: 12px 16px;
    font-size: 26px;
    font-weight: 700;
}

body.is-infobiz-home-rebuild .home-hero-form__body {
    padding: 16px;
}

body.is-infobiz-home-rebuild .home-hero-form__field + .home-hero-form__field {
    margin-top: 12px;
}

body.is-infobiz-home-rebuild .home-hero-form__field label {
    display: block;
    margin-bottom: 6px;
    color: #1f2f39;
    font-size: 15px;
    font-weight: 700;
}

body.is-infobiz-home-rebuild .home-hero-form__field select,
body.is-infobiz-home-rebuild .home-hero-form__field input {
    width: 100%;
    height: 46px;
    border: 1px solid #d7dde2;
    background: #fff;
    padding: 0 12px;
    font-size: 15px;
}

body.is-infobiz-home-rebuild .home-hero-form__actions {
    margin-top: 16px;
}

body.is-infobiz-home-rebuild .home-hero-form__submit {
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 999px;
    background: #14b7d5;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

@media (max-width: 1023px) {
    body.is-infobiz-home-rebuild .l-header__inner {
        min-height: 60px !important;
    }

    body.is-infobiz-home-rebuild .home-main__container {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 8px 14px 18px;
    }

    body.is-infobiz-home-rebuild .home-main__left {
        padding-top: 8px;
    }

    body.is-infobiz-home-rebuild .home-main__title {
        font-size: clamp(34px, 8.5vw, 50px);
    }

    body.is-infobiz-home-rebuild .home-main__subtitle {
        font-size: clamp(18px, 5.5vw, 30px);
    }

    body.is-infobiz-home-rebuild .home-main__price-row {
        gap: 10px;
    }

    body.is-infobiz-home-rebuild .home-main__price {
        font-size: clamp(18px, 5.4vw, 28px);
        padding: 8px 14px;
    }

    body.is-infobiz-home-rebuild .home-main__illust {
        width: clamp(180px, 34vw, 260px);
        transform: translateY(0);
    }

    body.is-infobiz-home-rebuild .home-main__right {
        padding-top: 8px;
    }

    body.is-infobiz-home-rebuild .home-hero-form__title {
        font-size: 20px;
    }
}

/* ===== Home rebuild hard override v2 ===== */
body.is-infobiz-home-rebuild {
    margin: 0 !important;
    padding: 0 !important;
}

body.is-infobiz-home-rebuild .l-wrapper.l-wrapper--home {
    padding-top: 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.is-infobiz-home-rebuild .l-wrapper.l-wrapper--home > .l-header,
body.is-infobiz-home-rebuild .l-wrapper.l-wrapper--home > .l-header.is-compact,
body.is-infobiz-home-rebuild.admin-bar .l-wrapper.l-wrapper--home > .l-header,
body.is-infobiz-home-rebuild.admin-bar .l-wrapper.l-wrapper--home > .l-header.is-compact {
    position: relative !important;
    top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: #13b9d6 !important;
}

body.is-infobiz-home-rebuild .l-wrapper.l-wrapper--home > .l-header + .drawer-content + .l-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.is-infobiz-home-rebuild .home-main {
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.is-infobiz-home-rebuild .home-main__container {
    max-width: 1240px;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 10px;
    padding: 10px 18px 18px;
}

body.is-infobiz-home-rebuild .home-main__title {
    font-size: clamp(44px, 5vw, 76px);
    line-height: 1.14;
}

body.is-infobiz-home-rebuild .home-main__subtitle {
    font-size: clamp(24px, 2.7vw, 40px);
    line-height: 1.25;
}

body.is-infobiz-home-rebuild .home-main__price {
    font-size: clamp(26px, 2.6vw, 40px);
    padding: 10px 22px;
}

body.is-infobiz-home-rebuild .home-main__illust {
    width: clamp(300px, 30vw, 460px);
    z-index: 10;
    transform: translateY(10px);
}

@media (max-width: 1200px) {
    body.is-infobiz-home-rebuild .home-main__container {
        grid-template-columns: minmax(0, 1fr) 420px;
        gap: 14px;
    }
}

@media (max-width: 1023px) {
    body.is-infobiz-home-rebuild .home-main__container {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 8px 14px 16px;
    }

    body.is-infobiz-home-rebuild .home-main__title {
        font-size: clamp(34px, 9vw, 52px);
    }

    body.is-infobiz-home-rebuild .home-main__subtitle {
        font-size: clamp(20px, 6vw, 30px);
    }

    body.is-infobiz-home-rebuild .home-main__price-row {
        align-items: center;
    }

    body.is-infobiz-home-rebuild .home-main__price {
        font-size: clamp(20px, 5.8vw, 30px);
    }

    body.is-infobiz-home-rebuild .home-main__illust {
        width: clamp(200px, 42vw, 300px);
        transform: translateY(0);
    }
}

/* ===== Subpage: apply same nav/footer tone as top (exclude top main sections) ===== */
html:has(body.is-infobiz-subpage-unified) {
    margin-top: 0 !important;
}

body.is-infobiz-subpage-unified,
body.is-infobiz-subpage-unified .l-wrapper,
body.is-infobiz-subpage-unified .l-main {
    margin: 0 !important;
    padding: 0 !important;
}

body.is-infobiz-subpage-unified .l-wrapper {
    min-width: 0 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.is-infobiz-subpage-unified .l-main::before,
body.is-infobiz-subpage-unified .l-main::after {
    content: none !important;
    display: none !important;
}

body.is-infobiz-subpage-unified .l-wrapper > .drawer-content + .l-main,
body.is-infobiz-subpage-unified .l-wrapper > .l-header + .drawer-content + .l-main,
body.is-infobiz-subpage-unified .l-wrapper > .l-main {
    margin-top: -1px !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}

body.is-infobiz-subpage-unified .l-wrapper > .l-header,
body.is-infobiz-subpage-unified .l-wrapper > .l-header.is-compact {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin-top: 0 !important;
}

body.is-infobiz-subpage-unified .l-header,
body.is-infobiz-subpage-unified .l-header.is-compact {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #1bb5d2 !important;
    box-shadow: none !important;
}

body.is-infobiz-subpage-unified.admin-bar .l-header,
body.is-infobiz-subpage-unified.admin-bar .l-header.is-compact {
    margin-top: 0 !important;
}

body.is-infobiz-subpage-unified .l-header__inner {
    width: 100% !important;
    max-width: none !important;
    min-height: 82px;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: stretch;
}

body.is-infobiz-subpage-unified .l-header__logo {
    margin: 0 !important;
    padding: 10px 0 10px 20px !important;
    display: flex;
    align-items: center;
}

body.is-infobiz-subpage-unified .l-header__logo-image {
    width: 117px;
    filter: brightness(0) invert(1);
}

body.is-infobiz-subpage-unified .l-header__nav {
    margin-left: auto;
    height: 100%;
}

body.is-infobiz-subpage-unified .l-header__navlist {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: stretch;
    height: 100%;
    white-space: nowrap;
    gap: 0 !important;
}

body.is-infobiz-subpage-unified .l-header__navlist > a {
    min-height: 82px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    letter-spacing: 0.01em;
    text-decoration: none;
}

body.is-infobiz-subpage-unified .l-header__navlist > a:not(.button) {
    color: #ffffff !important;
    margin-right: 28px !important;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
}

body.is-infobiz-subpage-unified .l-header__navlist > a:not(.button)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    height: 2px;
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

body.is-infobiz-subpage-unified .l-header__navlist > a:not(.button):hover::after {
    transform: scaleX(1);
}

body.is-infobiz-subpage-unified .l-header__navlist > a.button {
    margin-left: 0 !important;
    min-width: 188px;
    padding: 0 24px !important;
    border-radius: 0 !important;
    background: #ecf1f4 !important;
    color: #109fba !important;
    font-weight: 700;
    box-shadow: none;
}

body.is-infobiz-subpage-unified .l-header__navlist > a.button::before {
    content: "\2709";
    display: inline-block;
    margin-right: 8px;
}

body.is-infobiz-subpage-unified .l-footer {
    background: #1bb5d2 !important;
    background-image: none !important;
}

body.is-infobiz-subpage-unified .l-footer__logo img,
body.is-infobiz-subpage-unified .l-footer__description img {
    filter: brightness(0) invert(1);
}

body.is-infobiz-subpage-unified .l-footer-cv__button a.is-order {
    background: #ffffff !important;
    color: #1bb5d2 !important;
    border: 1px solid #ffffff !important;
}

body.is-infobiz-subpage-unified .l-footer-cv__button a.is-contact {
    background: #f29a1a !important;
    color: #ffffff !important;
    border: 1px solid #f29a1a !important;
}

body.is-infobiz-subpage-unified .l-footer-cv__button a {
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

body.is-infobiz-subpage-unified .l-footer-cv__button a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(9, 56, 116, 0.28);
}

body.is-infobiz-subpage-unified .l-footer__bottom {
    border-top-color: #0b4b94 !important;
}

body.is-infobiz-subpage-unified .l-footer-subnav__link {
    color: #ffffff !important;
}

body.is-infobiz-subpage-unified .l-footer-subnav__link:hover {
    color: #d9f7ff !important;
}

@media (max-width: 860px) {
    body.is-infobiz-subpage-unified.admin-bar .l-header,
    body.is-infobiz-subpage-unified.admin-bar .l-header.is-compact {
        margin-top: 0 !important;
    }

    body.is-infobiz-subpage-unified .l-header__inner {
        min-height: 64px;
    }

    body.is-infobiz-subpage-unified .l-header__logo {
        padding: 10px 0 10px 12px !important;
    }

    body.is-infobiz-subpage-unified .l-header__logo-image {
        width: 90px;
    }
}

/* Subpage title section: align to archive-content master */
body.is-infobiz-subpage-unified .l-content {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 140px 20px 0 !important;
}

body.is-infobiz-subpage-unified .l-content__title {
    margin: 0 0 56px !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: center;
    line-height: 1.25;
}

body.is-infobiz-subpage-unified .l-content__title::before,
body.is-infobiz-subpage-unified .l-content__title::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
}

body.is-infobiz-subpage-unified .l-content__title .ja {
    display: block;
    margin: 0;
    color: #24292f;
    font-size: clamp(34px, 3.2vw, 52px);
    font-weight: 900;
    line-height: 1.24;
    font-family: "Noto Sans JP", sans-serif;
}

body.is-infobiz-subpage-unified .l-content__title .en {
    display: block;
    margin-top: 10px;
    color: #1bb5d2 !important;
    font-size: clamp(18px, 1.6vw, 28px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.01em;
    font-family: "Noto Sans JP", sans-serif;
    border: 0 !important;
    border-bottom: 0 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

body.is-infobiz-subpage-unified .l-content__title .ja::before,
body.is-infobiz-subpage-unified .l-content__title .ja::after,
body.is-infobiz-subpage-unified .l-content__title .en::before,
body.is-infobiz-subpage-unified .l-content__title .en::after,
body.is-infobiz-subpage-unified .home-heading__title--ja::before,
body.is-infobiz-subpage-unified .home-heading__title--ja::after,
body.is-infobiz-subpage-unified .home-heading__title--en::before,
body.is-infobiz-subpage-unified .home-heading__title--en::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

body.is-infobiz-subpage-unified .l-content__body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Some subpages use home-heading style for title area */
body.is-infobiz-subpage-unified .home-heading {
    margin: 0 0 56px !important;
    padding: 0 !important;
    text-align: center;
}

body.is-infobiz-subpage-unified .home-heading__title {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.is-infobiz-subpage-unified .home-heading__title::before,
body.is-infobiz-subpage-unified .home-heading__title::after {
    content: none !important;
    display: none !important;
}

body.is-infobiz-subpage-unified .home-heading__title--ja {
    color: #24292f !important;
    font-size: clamp(34px, 3.2vw, 52px) !important;
    font-weight: 900 !important;
    line-height: 1.24 !important;
    font-family: "Noto Sans JP", sans-serif !important;
}

body.is-infobiz-subpage-unified .home-heading__title--en {
    margin-top: 10px !important;
    color: #1bb5d2 !important;
    font-size: clamp(18px, 1.6vw, 28px) !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.01em !important;
    font-family: "Noto Sans JP", sans-serif !important;
    border: 0 !important;
    border-bottom: 0 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

body.is-infobiz-subpage-unified .l-content > hr,
body.is-infobiz-subpage-unified .home-heading + hr,
body.is-infobiz-subpage-unified .l-content__title + hr {
    display: none !important;
}

@media (max-width: 860px) {
    body.is-infobiz-subpage-unified .l-content {
        padding: 70px 14px 0 !important;
    }

    body.is-infobiz-subpage-unified .l-content__title {
        margin-bottom: 34px !important;
    }

    body.is-infobiz-subpage-unified .l-content__title .ja {
        font-size: clamp(28px, 8.2vw, 38px);
    }

    body.is-infobiz-subpage-unified .l-content__title .en {
        margin-top: 10px;
        font-size: clamp(15px, 4.2vw, 20px);
    }

    body.is-infobiz-subpage-unified .home-heading {
        margin-bottom: 34px !important;
    }

    body.is-infobiz-subpage-unified .home-heading__title--ja {
        font-size: clamp(28px, 8.2vw, 38px) !important;
    }

    body.is-infobiz-subpage-unified .home-heading__title--en {
        margin-top: 10px !important;
        font-size: clamp(15px, 4.2vw, 20px) !important;
    }
}

/* Archive: contents list */
.archive-content-list .home-heading__title--en {
    color: #1bb5d2 !important;
}

/* Detail pages: remove heading padding */
.single-content .rte__heading,
.single-news .rte__heading {
    padding: 0 !important;
}

/* ===== Hard override: mobile drawer alignment & icon ===== */
@media (max-width: 1023px) {
    body.is-infobiz-home-rebuild .drawer-content,
    body.is-infobiz-subpage-unified .drawer-content {
        position: fixed !important;
        inset: 0 !important;
        display: block !important;
        background: rgba(17, 24, 39, 0.45) !important;
    }

    body.is-infobiz-home-rebuild .drawer-content__inner,
    body.is-infobiz-subpage-unified .drawer-content__inner {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        bottom: 0 !important;
        width: min(86vw, 360px) !important;
        max-width: 360px !important;
        height: 100dvh !important;
        margin: 0 !important;
        padding: calc(156px + env(safe-area-inset-top, 0px)) 18px 26px !important;
        background: #fff !important;
        overflow-y: auto !important;
        transform: none !important;
        box-shadow: -8px 0 22px rgba(17, 24, 39, 0.16) !important;
    }

    body.admin-bar.is-infobiz-home-rebuild .drawer-content__inner,
    body.admin-bar.is-infobiz-subpage-unified .drawer-content__inner {
        padding-top: calc(172px + env(safe-area-inset-top, 0px)) !important;
    }

    body.is-infobiz-home-rebuild .drawer-button,
    body.is-infobiz-subpage-unified .drawer-button {
        background: #fff !important;
        border: 1px solid #d6dce5 !important;
        background-image: none !important;
    }

    body.is-infobiz-home-rebuild .drawer-button::before,
    body.is-infobiz-home-rebuild .drawer-button::after,
    body.is-infobiz-subpage-unified .drawer-button::before,
    body.is-infobiz-subpage-unified .drawer-button::after {
        content: none !important;
        display: none !important;
    }

    body.is-infobiz-home-rebuild .drawer-button .drawer-button__line,
    body.is-infobiz-subpage-unified .drawer-button .drawer-button__line {
        background: #12395f !important;
        border-color: #12395f !important;
    }
}

.archive-content-list .ib-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 980px) {
    .archive-content-list .ib-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Global reset: remove browser default page gap above header (logged-out state included) */
html,
body,
body.is-infobiz-home-rebuild,
body.is-infobiz-subpage-unified {
    margin: 0 !important;
    padding: 0 !important;
}

/* Final hard override: remove any gap above global nav on all pages */
:root,
html,
body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body > .l-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body > .l-wrapper > .l-header,
body > .l-wrapper > .l-header.is-compact {
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    transform: none !important;
}

body > .l-wrapper > .l-header + .drawer-content + .l-main,
body > .l-wrapper > .drawer-content + .l-main,
body > .l-wrapper > .l-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}

html::before,
body::before {
    content: none !important;
    display: none !important;
}

/* Absolute final nav-gap kill switch */
.l-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.l-header,
.l-header.is-compact {
    position: relative !important;
    top: 0 !important;
    margin-top: 0 !important;
}

.l-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Kill possible anonymous line box above header */
body {
    line-height: 0 !important;
}

body > .l-wrapper {
    line-height: 1.5 !important;
}

/* Global nav typography */
body.is-infobiz-home-rebuild .l-header__navlist > a:not(.button),
body.is-infobiz-subpage-unified .l-header__navlist > a:not(.button),
.l-header__navlist > a:not(.button) {
    font-size: 14px !important;
}

body.is-infobiz-home-rebuild .l-header__navlist > a.button,
body.is-infobiz-subpage-unified .l-header__navlist > a.button,
.l-header__navlist > a.button {
    font-size: 16px !important;
}

/* ===== Detail pages heading redesign (country/news/content) ===== */
.single-country .ib-country-detail__content h2,
.single-content .rte article h2,
.single-news .rte article h2 {
    margin: 38px 0 18px !important;
    padding: 14px 18px !important;
    background: #eef8fc !important;
    border-left: 5px solid #1bb5d2 !important;
    border-bottom: 0 !important;
    color: #0f2f45 !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
}

.single-country .ib-country-detail__content h3,
.single-content .rte article h3,
.single-news .rte article h3 {
    margin: 50px 0 14px !important;
    color: #15527a !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
}

.single-country .ib-country-detail__content h4,
.single-content .rte article h4,
.single-news .rte article h4 {
    margin: 24px 0 12px !important;
    color: #1f2937 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
}

.single-country .ib-country-detail__content h5,
.single-content .rte article h5,
.single-news .rte article h5 {
    margin: 20px 0 10px !important;
    color: #4b5563 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
}

@media (max-width: 860px) {
    .single-country .ib-country-detail__content h2,
    .single-content .rte article h2,
    .single-news .rte article h2 {
        margin: 50px 0 14px !important;
        padding: 11px 14px !important;
        font-size: 20px !important;
    }

    .single-country .ib-country-detail__content h3,
    .single-content .rte article h3,
    .single-news .rte article h3 {
        font-size: 18px !important;
    }

    .single-country .ib-country-detail__content h4,
    .single-content .rte article h4,
    .single-news .rte article h4 {
        font-size: 16px !important;
    }

    .single-country .ib-country-detail__content h5,
    .single-content .rte article h5,
    .single-news .rte article h5 {
        font-size: 15px !important;
    }
}

/* Detail pages common paragraph size */
.single-country .ib-country-detail__content p,
.single-content .rte article p,
.single-news .rte article p {
    font-size: 14px !important;
}
