@media (max-width: 767px) {
    :root {
        --wp--preset--font-size--3-xl: 32px;
        --wp--preset--font-size--2-xl: 28px;
        --wp--preset--font-size--xl: 24px;
        --wp--preset--font-size--lg: 18px;
        --wp--preset--font-size--base: 14px;
        --wp--preset--font-size--sm: 12px;
        --wp--preset--font-size--xs: 10px;
    }
}

/* =============================================
   INTRO ANIMATION OVERLAY
   ============================================= */
.ib-intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.ib-intro-overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.ib-intro-overlay__logo {
    width: 240px;
    max-width: 60vw;
    animation: introLogoIn 1.5s ease forwards;
}

@keyframes introLogoIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(2); 
    }
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-size: var(--wp--preset--font-size--base);
}
* {
    box-sizing: border-box;
}

.wp-site-blocks {
    min-height: 100vh;
}
.wp-site-blocks > main { flex: 1; }

:where(.wp-site-blocks) > * {
    margin-block-start: 0;
}
:root :where(.is-layout-flow) > * {
    margin-block-start: 0;
}

.is-layout-constrained > .alignwide {
    padding-left: 80px;
    padding-right: 80px;
    width: 100%;
}
@media (max-width: 1200px) {
    .is-layout-constrained > .alignwide {
        padding-left: 40px;
        padding-right: 40px;
    }
}
@media (max-width: 767px) {
    .is-layout-constrained > .alignwide {
        padding-left: 20px;
        padding-right: 20px;
    }
}
.is-layout-constrained > .aligncontent {
    padding-left: 80px;
    padding-right: 80px;
    width: 100%;
}
@media (max-width: 1200px) {
    .is-layout-constrained > .aligncontent {
        padding-left: 40px;
        padding-right: 40px;
    }
}
@media (max-width: 767px) {
    .is-layout-constrained > .aligncontent {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.text-stroked {
    text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff, -2px 0 0 #fff, 2px 0 0 #fff, 0 -2px 0 #fff, 0 2px 0 #fff;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.2));
}
.site-main {
    padding-top: 96px;
    background: var(--wp--preset--color--neutral);
}
.ib-banner {
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
}
.ib-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 419px;
    background: var(--wp--preset--color--neutral);
    z-index: 1;
}
.ib-banner::after {
    content: "";
    position: absolute;
    top: 196px;
    right: 0;
    width: 575px;
    aspect-ratio: 575 / 564;
    background: url(../images/bg-circle.svg) no-repeat center center;
    z-index: 1;
}

/* =============================================
   HEADER — common on ALL pages
   ============================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    width: 100%;
    padding: 40px 0 0;
    transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-header__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.site-header__logo img {
    width: 200px;
    height: auto;
    display: block;
}
.site-header__nav {
    gap: 12px;
}

/* White pill: logo + nav links */
.site-header__pill {
    background: #ffffff;
    border-radius: 200px;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
    padding: 10px 28px 10px 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 28px;
    overflow: hidden;
    transition: max-width 0.2s;
    max-width: 100%;
}
.site-header__links {
    opacity: 1;
    gap: 28px;
}
/* Nav link styles inside pill */
.site-header__links .wp-block-navigation-item a,
.site-header__links .wp-block-navigation-item__content {
    color: #333333 !important;
    font-weight: 500 !important;
    padding: 0 !important;
    text-decoration: none !important;
    text-transform: capitalize;
    white-space: nowrap;
}
@media (max-width: 1360px) and (min-width: 1201px) {
    .site-header__links {
        opacity: 1;
        gap: min(1.15vw, 16px);
    }
    .site-header__links .wp-block-navigation-item a,
    .site-header__links .wp-block-navigation-item__content {
        font-size: min(1.15vw, 16px);
    }
}

.site-header__links .wp-block-navigation-item a:hover,
.site-header__links .wp-block-navigation-item__content:hover {
    color: var(--wp--preset--color--primary-accent) !important;
}

.site-header__links .wp-block-navigation-item.is-active > a,
.site-header__links .wp-block-navigation-item.is-active > .wp-block-navigation-item__content,
.site-header__links .wp-block-navigation-item.current-menu-item > a,
.site-header__links .wp-block-navigation-item.current-menu-ancestor > a {
    color: var(--wp--preset--color--primary) !important;
    position: relative;
}

/* Phone CTA pill (desktop) */
.site-header__phone-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 56px;
    padding: 0 20px;
    border-radius: 200px;
    border: 2px solid var(--wp--preset--color--primary);
    color: var(--wp--preset--color--foreground);
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s, width 0.2s;
    width: 194px; 
    overflow: hidden;
}
.site-header__phone-cta:hover {
    background: #ffffff;
    color: var(--wp--preset--color--primary);
}
.site-header__phone-cta svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}
.site-header--transparent .site-header__phone-cta {
    color: #fff;
    background: transparent;
}
.site-header--transparent .site-header__phone-cta:hover {
    background: #ffffff;
    color: var(--wp--preset--color--primary);
}

.site-header__menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--wp--preset--color--primary);
    border: none;
    border-radius: 200px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
    position: relative;
}
.site-header__menu-btn:hover {
    background: var(--wp--preset--color--primary-accent);
}
.site-header__menu-btn .wp-block-button__link {
    font-size: 0;
    padding: 0;
    line-height: 0;
    cursor: pointer;
    border-radius: 2px;
    height: 2px;
    width: 24px;
    background: white;
    position: relative;
    display: block;
}
.site-header__menu-btn .wp-block-button__link:before,
.site-header__menu-btn .wp-block-button__link:after {
    content:'';
    cursor: pointer;
    border-radius: 2px;
    height: 2px;
    width: 24px;
    background: white;
    position: absolute;
    left: 0;
    display: block;
}
.site-header__menu-btn .wp-block-button__link:before {
    top: -8px;
}
.site-header__menu-btn .wp-block-button__link:after {
    top: 8px;
}
.site-header__menu-btn .wp-block-button__link,
.site-header__menu-btn .wp-block-button__link:before,
.site-header__menu-btn .wp-block-button__link:after {
    transition: all 0.5s ease-in-out;
}
.site-header__menu-btn.active .wp-block-button__link {
    background-color: transparent;
}
.site-header__menu-btn.active .wp-block-button__link:before,
.site-header__menu-btn.active .wp-block-button__link:after {
    top: 0;
}
.site-header__menu-btn.active .wp-block-button__link:before {
    transform: rotate(135deg);
}
.site-header__menu-btn.active .wp-block-button__link:after {
    transform: rotate(-135deg);
}
.site-header__language {
    justify-content: end;
    margin-bottom: 12px;
    position: absolute;
    top: 10px;
    height: 20px;
    z-index: 2;
}
.site-header__language .gtranslate_wrapper {
    display: flex;
    flex-direction: row-reverse;
}
.site-header__language .gtranslate_wrapper .glink:nth-child(2) {
    font-size: 0;
    line-height: 0;
}
.site-header__language .gtranslate_wrapper .glink:nth-child(2)::before {
    content: 'JP';
    font-size: var(--wp--preset--font-size--base);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.site-header__language .gtranslate_wrapper .glink:nth-child(2)::after {
    content: '/';
    padding: 4px;
    font-size: var(--wp--preset--font-size--base);
}
.site-header__language .gtranslate_wrapper .glink {
    color: #C8C8C8;
    font-size: var(--wp--preset--font-size--base);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.site-header__language .gtranslate_wrapper .glink.notranslate.gt-current-lang {
    color: var(--wp--preset--color--primary);
}

.site-header.is-scrolled .site-header__phone-cta {
    color: var(--wp--preset--color--primary);
    gap: 0;
    background: #ffffff;
    width: 56px; 
}
.site-header.is-scrolled .site-header__phone-cta > span {
    opacity: 0;
}

@media (min-width: 1201px) {
    .site-header.is-scrolled .site-header__links {
        opacity: 0;
    }
    .site-header.is-scrolled .site-header__pill {
        max-width: 56px;
    }
    .site-header.is-scrolled .site-header__logo > a {
        content: url(../images/logo-circle.png);
        height: 36px;
    }
    .site-header.is-scrolled .site-header__pill:hover {
        max-width: 100%;
    }
    .site-header.is-scrolled .site-header__pill:hover .site-header__logo > a {
        content: '';
        height: auto;
    }
    .site-header.is-scrolled .site-header__pill:hover .site-header__links {
        opacity: 1;
    }
    .site-header.is-scrolled .site-header__phone-cta {
        padding: 0 14px;
    }
}

/* Ensure WP built-in nav toggle stays hidden — we control navigation exclusively */
@media (max-width: 767px) {
    .site-header .wp-block-navigation__responsive-container-open {
        display: none !important;
    }
}

/* ── TABLET / MOBILE (≤1199px): pill becomes full-screen drawer ── */
@media (max-width: 1200px) {
    .site-header .wp-block-navigation__responsive-container-open {
        display: none !important;
    }
/* Show hamburger, hide phone CTA */
    .site-header__menu-btn {
        display: flex !important;
    }

    .site-header__pill .site-header__logo {
        margin: 20px 0;
    }

    .site-header__menu-btn {
        position: relative;
        z-index: 2;
    }
    /* Controls takes full width so logo-mobile and menu-btn spread apart */
    .site-header__controls {
        justify-content: space-between !important;
        flex: 1;
    }

    /* Pill → full-screen drawer from top */
    .site-header__pill {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        width: auto;
        border-radius: 0 0 20px 20px;
        padding: 88px 32px 28px;
        overflow-y: auto;
        overflow-x: hidden;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-100%);
        transform-origin: top center;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, visibility 0.35s;
        z-index: 1;
        pointer-events: none;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        display: block !important;
        gap: 0;
    }
    .site-header.is-mobile-open .site-header__pill {
        transform: translateY(0);
        pointer-events: auto;
        opacity: 1;
        visibility: visible;
    }
    .site-header__pill .site-header__links {
        max-height: calc(100vh - 100px);
        overflow: auto;
    }

    /* Force nav links to vertical list inside drawer */
    .site-header__pill .wp-block-navigation__responsive-container-open {
        display: none !important;
    }
    .site-header__pill .wp-block-navigation__responsive-container,
    .site-header__pill .wp-block-navigation__responsive-container:not(.is-menu-open) {
        display: flex !important;
        position: static !important;
        background: transparent !important;
        width: 100%;
    }
    .site-header__pill .wp-block-navigation__container {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100%;
        gap: 0 !important;
    }

    /* Bigger tap targets for links inside drawer */
    .site-header__links .wp-block-navigation-item a,
    .site-header__links .wp-block-navigation-item__content {
        padding: 12px 0 !important;
        display: block;
    }

    /* Dimming overlay (injected by JS) */
    .site-header__overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 198;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .site-header__overlay.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

    .site-header__phone-cta {
        height: 48px;
        width: 170px;
        padding: 0 10px;
    }
    .site-header.is-scrolled .site-header__phone-cta {
        width: 48px;
    }
}

@media (max-width: 767px) {
    .site-header__logo img {
        width: 160px;
    }
    .site-header__menu-btn {
        width: 40px;
        height: 40px;
    }
    .site-header__phone-cta {
        height: 40px;
        padding: 0 8px;
        width: 158px;
        gap: 12px;
    }
    .site-header__phone-cta svg {
        width: 20px;
        height: 20px;
    }
    .site-header.is-scrolled .site-header__phone-cta {
        width: 40px; 
    }
}

/* =============================================
   CERTIFICATIONS SECTION  bg: #ffffff
   ============================================= */

.ib-certs-section {
    background: #ffffff;
    padding: 80px 0;
}

.ib-certs-inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.ib-certs-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 0 0 auto;
    min-width: 160px;
    padding-top: 8px;
}

.ib-certs-en {
    margin: 0;
}

.ib-certs-title {
    font-size: var(--wp--preset--font-size--2-xl);
    font-weight: 700;
    color: var(--wp--preset--color--primary);
    margin: 0;
    line-height: 1.2;
}

.ib-certs-cards {
    flex: 1;
    display: flex;
    gap: 40px;
    justify-content: flex-end;
}

.ib-cert-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 320px;
    flex-shrink: 0;
}

.ib-cert-card__img-wrap {
    width: 320px;
    height: 350px;
    border: 1px solid #bdbdbd;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.ib-cert-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ib-cert-card__label {
    font-size: 16px;
    font-weight: 500;
    color: #100f25;
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .ib-certs-inner {
        flex-direction: column;
        gap: 32px;
    }
    .ib-certs-cards {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .ib-certs-section {
        padding: 60px 0;
    }
    .ib-certs-cards {
        flex-direction: column;
        gap: 32px;
        width: 100%;
    }
    .ib-cert-card {
        width: 100%;
    }
    .ib-cert-card__img-wrap {
        width: 100%;
        max-width: 320px;
        height: 300px;
    }
}

/* =============================================
   CTA SECTION  bg: neutral, card bg: #ffffff
   ============================================= */

.ib-cta-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.ib-cta-card {
    background: var(--wp--preset--color--neutral);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 260px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}
.ib-cta-img {
    margin-top: 8px;
}
.ib-cta-img > img {
    width: 100%;
}

.ib-cta-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.ib-cta-heading {
    margin: 0;
    line-height: 1.3;
}

.ib-cta-sub {
    font-size: var(--wp--preset--font-size--lg);
    color: var(--wp--preset--color--foreground);
    margin: 0;
}

.ib-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--wp--preset--color--primary);
    color: #ffffff;
    text-decoration: none;
    border-radius: 200px;
    height: 46px;
    padding: 4px 4px 4px 20px;
    font-weight: 500;
    width: fit-content;
    transition: opacity 0.2s;
    text-transform: capitalize;
}

.ib-cta-btn__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ib-cta-btn:hover {
    opacity: 0.8;
}

/* =============================================
   FOOTER  bg: white, border-top: 4px #ea4c89
   ============================================= */
.ib-footer {
    background: #ffffff;
}
.ib-footer__inner {
    margin: 0 auto;
    padding: 0 80px 40px;
}

.ib-footer__top {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    padding: 40px 0;
    border-bottom: 1px solid #e4e4e4;
}

.ib-footer__logo {
    width: 200px;
    height: auto;
    flex-shrink: 0;
}

/* Address + TEL */
.ib-footer__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.ib-footer__info-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ib-footer__label {
    font-size: var(--wp--preset--font-size--sm);
    font-weight: 400;
    color: #100f25;
    margin: 0;
}

.ib-footer__value {
    font-size: var(--wp--preset--font-size--lg);
    font-weight: 500;
    color: #100f25;
    margin: 0;
}

.ib-footer__value a {
    color: #100f25;
    text-decoration: none;
}

.ib-footer__value a:hover {
    color: var(--wp--preset--color--primary);
}

/* Sitemap */
.ib-footer__sitemap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.ib-footer__sitemap-hd {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ib-footer__bar {
    display: inline-block;
    width: 3px;
    height: 25px;
    background: var(--wp--preset--color--primary);
    flex-shrink: 0;
    border-radius: 2px;
}

.ib-footer__sitemap-title {
    font-size: var(--wp--preset--font-size--lg);
    font-weight: 500;
    color: #100f25;
}

.ib-footer__sitemap nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 16px;
}

.ib-footer__sitemap nav a {
    font-size: var(--wp--preset--font-size--sm);
    font-weight: 400;
    color: #100f25;
    text-decoration: none;
}

.ib-footer__sitemap nav a:hover {
    color: var(--wp--preset--color--primary);
}

/* Copyright */
.ib-footer__copyright {
    text-align: center;
    font-size: var(--wp--preset--font-size--sm);
    font-weight: 400;
    color: #100f25;
    margin: 20px 0 0;
}

@media (max-width: 1200px) {
    .ib-footer__inner {
        padding: 0 40px 40px;
    }
    .ib-footer__top {
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .ib-footer__inner {
        padding: 0 20px 40px;
    }
    .ib-footer__top {
        flex-direction: column;
        gap: 32px;
    }
    .ib-footer__logo {
        width: 160px;
    }
}

/* =============================================
   SHARED UTILITIES
   ============================================= */

.ib-logi-card-shadow { box-shadow: 0 18px 45px rgba(23, 33, 43, 0.1); }
.ib-logi-card-border { border: 1px solid var(--wp--preset--color--line); }

.editor-styles-wrapper .wp-block-post-title,
.editor-styles-wrapper .wp-block-heading { letter-spacing: 0; }

/* Section eyebrow label — English text above headings */
.ib-subtitle {
    font-size: var(--wp--preset--font-size--lg);
    font-weight: 500;
    color: #75757c;
}

/* Section primary heading */
.ib-title {
    font-size: var(--wp--preset--font-size--2-xl);
    font-weight: 600;
    color: var(--wp--preset--color--primary);
    line-height: normal;
    text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff, -2px 0 0 #fff, 2px 0 0 #fff, 0 -2px 0 #fff, 0 2px 0 #fff;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.2));
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 767px) {
    .ib-services-swiper .swiper-slide { width: 100%; }
    .ib-cta-section { padding: 40px 0; }
    .ib-cta-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 24px 20px;
        min-height: auto;
    }
}

/* =============================================
   SERVICE PAGE BANNER  (service-banner pattern)
   ============================================= */

.ib-page-banner.wp-block-cover {
    min-height: 538px !important;
    background-color: #111111;
    padding: 108px 0;
}
.ib-page-banner .wp-block-cover__background {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.50) 100%);
}
.ib-page-banner .wp-block-cover__inner-container {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    flex-direction: column;
    padding: 0;
}
.ib-page-banner__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ib-page-banner__inner {
    padding-bottom: 0;
}
.ib-svc-banner {
    background-color: var(--wp--preset--color--neutral);
}
.ib-svc-banner__inner {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: var(--wp--style--global--content-size);
    margin: 0 auto;
    padding: 80px 40px;
}
.ib-svc-banner__text-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ib-svc-banner__image-col {
    flex: 0 0 44%;
    max-width: 44%;
}
.ib-svc-banner__en-label {
    font-size: var(--wp--preset--font-size--base);
    font-weight: 500;
    color: #75757c;
    margin: 0;
    line-height: normal;
}
.ib-svc-banner__heading {
    font-size: var(--wp--preset--font-size--2-xl);
    font-weight: 700;
    color: var(--wp--preset--color--primary);
    line-height: 1.3;
    margin: 0;
}
.ib-svc-banner__desc {
    font-size: var(--wp--preset--font-size--base);
    font-weight: 400;
    line-height: 1.85;
    color: var(--wp--preset--color--foreground);
    margin: 0;
}
.ib-svc-banner__img {
    width: 100%;
    height: auto;
    display: block;
}
@media (max-width: 1024px) {
    .ib-svc-banner__inner {
        flex-direction: column;
        gap: 32px;
    }
    .ib-svc-banner__image-col {
        flex: none;
        max-width: 100%;
        width: 100%;
    }
}
@media (max-width: 767px) {
    .ib-svc-banner__inner {
        padding: 48px 24px;
    }
}
.ib-page-banner__en-label {
    color: var(--wp--preset--color--primary);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 !important;
}
.ib-page-banner__label {
    font-weight: 600;
    color: var(--wp--preset--color--primary);
    line-height: normal;
    text-transform: capitalize;
}

.ib-page-banner__stat-bar {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 639px;
    margin: 40px auto 0;
}

.ib-page-banner__stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 53px 20px;
}

.ib-page-banner__stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ib-page-banner__stat-icon img,
.ib-page-banner__stat-icon svg {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.ib-page-banner__stat-label {
    font-size: var(--wp--preset--font-size--md);
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    line-height: normal;
    text-transform: capitalize;
}

@media (max-width: 1024px) {
    .ib-page-banner__stat-label { white-space: normal; }
    .ib-page-banner__stat-item { padding: 24px 12px; gap: 12px; }
}

@media (max-width: 767px) {
    .ib-page-banner.wp-block-cover { min-height: 420px !important; }
    .ib-page-banner__stat-bar { flex-direction: column; border-top: none; }
    .ib-page-banner__stat-divider { width: 100%; height: 1px; margin: 0 24px; }
    .ib-page-banner__stat-item { flex-direction: row; justify-content: flex-start; gap: 16px; padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.15); }
    .ib-page-banner__inner { gap: 20px; }
}

/* =============================================
   SERVICE NAV  (service-nav pattern)
   ============================================= */

.ib-service-nav {
    background: #ffffff;
    border-bottom: 1px solid #e4e4e4;
    position: sticky;
    top: 80px; /* matches fixed header height */
    z-index: 100;
}

.ib-service-nav__inner {
    display: flex !important;
    align-items: stretch;
    padding: 0 !important;
}

.ib-service-nav__item {
    flex: 1;
}

.ib-service-nav__item + .ib-service-nav__item,
.ib-service-nav__divider + .ib-service-nav__item {
    border-left: 1px solid #e4e4e4;
}

.ib-service-nav__divider {
    width: 1px;
    background: #e4e4e4;
    flex-shrink: 0;
    align-self: stretch;
    margin: 12px 0;
}

.ib-service-nav__link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 32px;
    text-decoration: none;
    color: #333333;
    transition: background 0.2s, color 0.2s;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.ib-service-nav__link:hover {
    background: rgba(42, 188, 162, 0.05);
    color: var(--wp--preset--color--primary);
}

.ib-service-nav__icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(42, 188, 162, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.ib-service-nav__link:hover .ib-service-nav__icon-wrap {
    background: rgba(42, 188, 162, 0.18);
}

.ib-service-nav__icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
}

.ib-service-nav__label {

    font-weight: 500;
    flex: 1;
    line-height: 1.4;
    text-transform: capitalize;
}

.ib-service-nav__arrow {
    flex-shrink: 0;
    color: var(--wp--preset--color--primary);
    opacity: 0.5;
    transition: opacity 0.2s, transform 0.2s;
}

.ib-service-nav__link:hover .ib-service-nav__arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}

@media (max-width: 1024px) {
    .ib-service-nav { position: static; }
    .ib-service-nav__inner { flex-direction: column !important; }
    .ib-service-nav__divider { display: none; }
    .ib-service-nav__item { border-left: none !important; border-bottom: 1px solid #e4e4e4; }
    .ib-service-nav__item:last-child { border-bottom: none; }
    .ib-service-nav__link { padding: 16px 20px; }
}

/* =============================================
   SECTION HEADER  (shared across service sections)
   ============================================= */

.ib-section-header {
    margin-bottom: 48px;
}

.ib-section-eyebrow {
    display: inline-block !important;

    font-weight: 700;
    color: var(--wp--preset--color--primary) !important;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: rgba(42, 188, 162, 0.1);
    border-radius: 200px;
    padding: 4px 14px;
    margin: 0 0 20px !important;
}

/* =============================================
   SERVICE TRANSPORT SECTION  (service-transport pattern)
   ============================================= */

.ib-svc-transport-section {
    background: #ffffff;
    padding: 80px 0;
}

/* Section header: centered title + subtitle */
.ib-svc-section-header {
    text-align: center;
    margin-bottom: 40px;
}
.ib-svc-section-en {
    color: var(--wp--preset--color--primary);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 4px !important;
}

.ib-svc-section-title {
    font-weight: 600;
    line-height: normal;
    margin: 0 0 12px;
}

.ib-svc-section-subtitle {
    font-weight: 500;
    line-height: normal;
}

/* 2-column card grid */
.ib-svc-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 840px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .ib-svc-card-grid {
        grid-template-columns: 1fr;
    }
}

.ib-svc-photo-card {
    border-radius: 16px;
    overflow: hidden;
}

.ib-svc-photo-card__img-wrap {
    width: 100%;
    aspect-ratio: 400 / 220;
    overflow: hidden;
    border-radius: 16px;
}

.ib-svc-photo-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
    border-radius: 16px;
}

.ib-svc-photo-card:hover .ib-svc-photo-card__img {
    transform: scale(1.04);
}

.ib-svc-photo-card__body {
    padding: 20px 0 38px;
}

.ib-svc-photo-card__title {
    font-size: var(--wp--preset--font-size--xl);
    font-weight: 500;
    margin: 0 0 12px !important;
    line-height: normal;
}   

.ib-svc-photo-card__desc {
    line-height: normal;
    margin: 0 !important;
}

/* Centered contact button below cards */
.ib-svc-transport-cta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

@media (max-width: 767px) {
    .ib-svc-transport-section { padding: 48px 0 64px; }
}

/* =============================================
   SERVICE OVERVIEW SECTION  (service-overview pattern)
   ============================================= */

.ib-svc-overview-section {
    padding: 80px 0 100px;
    background: #ffffff;
}

.ib-svc-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.ib-svc-overview-card {
    border-radius: 16px;
    overflow: hidden;
}

.ib-svc-overview-card__img-wrap {
    width: 100%;
    aspect-ratio: 360 / 250;
    overflow: hidden;
    border-radius: 16px;
}

.ib-svc-overview-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
    border-radius: 16px;
}

.ib-svc-overview-card:hover .ib-svc-overview-card__img {
    transform: scale(1.04);
}

.ib-svc-overview-card__body {
    padding: 20px 0 0;
}

.ib-svc-overview-card__title {
    font-size: var(--wp--preset--font-size--xl);
    font-weight: 500;
    margin: 0 0 10px !important;
    line-height: normal;
}

.ib-svc-overview-card__desc {
    line-height: 1.7;
    margin: 0 !important;
}

@media (max-width: 1024px) {
    .ib-svc-overview-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 767px) {
    .ib-svc-overview-section { padding: 48px 0 64px; }
    .ib-svc-overview-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* =============================================
   SERVICE WAREHOUSE SECTION  (service-warehouse pattern)
   ============================================= */

.ib-warehouse-section {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
    background: url(../images/bg-service-warehouse.svg) no-repeat center top;
    background-size: cover;
}

.ib-warehouse-inner {
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    .ib-warehouse-section { padding: 48px 0 64px; }
}

/* =============================================
   SERVICE VEHICLE SECTION  (service-vehicle pattern)
   ============================================= */

.ib-vehicle-section {
    padding: 72px 0 96px;
}

/* Section title: white on dark */
.ib-vehicle-title {
    font-weight: 600;
    margin: 0 0 48px;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

/* 4-column vehicle grid */
.ib-vehicle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Vehicle card: white bg, large rounded corners */
.ib-vehicle-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.ib-vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}
.ib-vehicle-card:hover .ib-vehicle-card__img-wrap {
    border-radius: 16px;
}

/* Photo area */
.ib-vehicle-card__img-wrap {
    width: 100%;
    aspect-ratio: 305/200;
    background: #e0e6e8;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    transition: border-radius 0.2s;
}

.ib-vehicle-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
    border-radius: 16px;
}

.ib-vehicle-card:hover .ib-vehicle-card__img {
    transform: scale(1.04);
}

.ib-vehicle-card__badge {
    position: absolute;
    bottom: 0;
    right: 0;
    color: #333333;

    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 8px;
    border-radius: 16px 0;
    background: rgba(255, 255, 255, 0.50);
    width: 76px;
    text-align: center;
}

.ib-vehicle-card__name {
    padding: 20px 12px;

    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    margin: 0 !important;
    background: #ffffff;
    word-break: break-all;
}

/* Responsive */
@media (max-width: 1024px) {
    .ib-vehicle-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 767px) {
    .ib-vehicle-section { padding: 48px 0 64px; }
    .ib-vehicle-title { margin-bottom: 32px !important; }
    .ib-vehicle-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* ==============================================
   ABOUT PAGE
   ============================================= */

body.page-template-page-about .site-header__nav {
    background: transparent;
    border-bottom: none;
}
.ib-page-banner--about.wp-block-cover {
    background-color: #1a2035;
    padding: 0;
}
.ib-page-banner__inner--about {
    padding-top: 100px;
}
.ib-about-banner-bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 90px 0 222px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}
@media (max-width: 1200px) {
    .ib-about-banner-bg {
        background: none;
    }
}
.ib-about-subnav {
    width: 100%;
}
.ib-about-subnav__list {
    display: flex;
    justify-content: center;
    align-items: stretch;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ib-about-subnav__item {
    flex: 1;
    max-width: 213px;
    aspect-ratio: 213 / 200;
}
.ib-about-subnav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 20px 24px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.25s, background 0.25s;
    height: 100%;
    box-sizing: border-box;
}

.ib-about-subnav__link:hover {
    color: var(--wp--preset--color--primary);
    background: rgba(255, 255, 255, 0.05);
}

/* SVG icon wrapper */
.ib-about-subnav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    color: inherit;
    transition: color 0.25s;
}

.ib-about-subnav__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Text label */
.ib-about-subnav__label {
    font-size: var(--wp--preset--font-size--md);
    font-weight: 500;
    color: inherit;
}

/* ==============================================
   ABOUT PAGE  —  INTRO SECTION  bg: #ffffff
   ============================================= */

.ib-about-intro-section {
    background: #ffffff;
    padding: 120px 0 80px;
    background: url(../images/bg-trucks.svg) no-repeat center top;
    background-size: 446ppx;
}
@media (max-width: 1200px) {
    .ib-about-intro-section {
        background: none;
    }
}

.ib-about-intro-inner {
    display: flex;
    flex-direction: column;
    padding-left: 200px;
}
.ib-about-intro-title {
    font-weight: 600;
    margin: 0;
    line-height: 2;
}
.ib-about-intro-subtitle {
    line-height: 2;
    font-weight: normal;
}

/* Body text, same left indent as line 2 */
.ib-about-intro-body {
    font-weight: 500;
    margin: 0 0 80px;
    max-width: 889px;
}

/* Images: 2-column grid */
.ib-about-intro-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.ib-about-intro-img-wrap {
    overflow: hidden;
    border-radius: 6px;
}

.ib-about-intro-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ib-about-intro-img-wrap:hover .ib-about-intro-img {
    transform: scale(1.03);
}

/* ==============================================
   ABOUT PAGE  —  PHILOSOPHY SECTION
   ============================================= */

.ib-about-philosophy-section {
    background: #fff;
    overflow: hidden;
    position: relative;
}
.ib-about-philosophy-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--wp--preset--color--neutral);
    z-index: 1;
}

.ib-about-philosophy-inner {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 80px;
    position: relative;
    z-index: 2;
}

.ib-about-philosophy-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 80px 0 40px;
}

.ib-about-philosophy-label {
    margin: 0 0 8px;
}

.ib-about-philosophy-heading {
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    margin: 0 0 20px;
    line-height: 60px;
}

.ib-about-philosophy-quote-main {
    font-size: var(--wp--preset--font-size--xl);
    font-weight: 400;
    color: #100f25;
    line-height: 62px;
    margin: 0 0 62px;
}

.ib-about-philosophy-quote-sub {
    font-size: var(--wp--preset--font-size--xl);
    font-weight: 400;
    color: #100f25;
    line-height: 62px;
    margin: 0 0 20px;
}

.ib-about-philosophy-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ib-about-philosophy-body p {
    font-weight: 400;
    color: #100f25;
    line-height: normal;
    margin: 0;
}

.ib-about-philosophy-signature {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 32px;
    margin-top: 20px;
}

.ib-about-philosophy-role {
    font-size: 18px;
    font-weight: 500;
    color: #100f25;
}

.ib-about-philosophy-name {
    font-size: var(--wp--preset--font-size--2-xl);
    font-weight: 400;
    font-style: normal;
    color: #100f25;
    font-family: 'Yuji Mai', serif;
}

.ib-about-philosophy-image-col {
    flex: 0 0 450px;
    width: 450px;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 156px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.ib-about-philosophy-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1200px) {
    .ib-about-philosophy-inner {
        gap: 48px;
        padding: 40px;
    }
    .ib-about-philosophy-image-col {
        flex: 0 0 360px;
        width: 360px;
        height: 360px;
        margin-top: 120px;
    }
    .ib-about-philosophy-quote-main,
    .ib-about-philosophy-quote-sub {
        font-size: 26px;
        line-height: 1.7;
    }
}

@media (max-width: 1024px) {
    .ib-about-philosophy-inner {
        flex-direction: column;
        gap: 40px;
    }
    .ib-about-philosophy-text {
        padding: 40px 0 0;
    }
    .ib-about-philosophy-image-col {
        flex: none;
        width: 100%;
        max-width: 450px;
        height: 300px;
        margin-top: 0;
    }
    .ib-about-philosophy-quote-main {
        margin-bottom: 32px;
    }
}

@media (max-width: 767px) {
    .ib-about-philosophy-inner {
        padding: 40px 20px;
    }
    .ib-about-philosophy-heading {
        font-size: var(--wp--preset--font-size--xl);
        line-height: 1.4;
    }
    .ib-about-philosophy-quote-main,
    .ib-about-philosophy-quote-sub {
        font-size: 22px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    .ib-about-philosophy-name {
        font-size: var(--wp--preset--font-size--xl);
    }
}

/* ============================================== */

/* ==============================================
   ABOUT PAGE  —  PRESIDENT SECTION  bg: #ffffff
   ============================================= */

.ib-about-president-section {
    background: #ffffff;
}
.ib-about-president-outer {
    max-width: 1440px;
    margin: 0 auto;
    padding: 200px 0 80px 85px;
    box-sizing: border-box;
    background: url(../images/bg-trucks.svg) no-repeat center top;
    background-size: 446px;
}
.ib-about-president-header {
    background: var(--wp--preset--color--neutral);
    padding: 0 74px 22px;
    margin-bottom: 58px;
}
@media (max-width: 1024px) {
    .ib-about-president-header  {
        padding: 0 24px 22px;
    }
}

.ib-about-president-title {
    font-size: var(--wp--preset--font-size--2-xl);
    font-style: normal;
    font-weight: 600;
    line-height: 2.5;
    margin: 0;
}

.ib-about-president-quote {

    font-weight: 600;
    color: var(--wp--preset--color--primary);
    line-height: 1.9;
    margin: 0;
}

.ib-about-president-wrap {
    display: flex;
    gap: 48px;
    align-items: stretch;
}

.ib-about-president-col--text {
    flex: 1;
    min-width: 0;
    padding-left: 74px;
}
@media (max-width: 1024px) {
    .ib-about-president-col--text  {
        padding-left: 0;
    }
}

.ib-about-president-col--image {
    flex: 0 0 42%;
}

.ib-about-president-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.ib-about-president-body p {
    color: var(--wp--preset--color--foreground);
    font-size: var(--wp--preset--font-size--md);
    line-height: normal;
    margin: 0;
}

.ib-about-president-signature {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 32px;
    padding-top: 20px;
}

.ib-about-president-role {

    color: var(--wp--preset--color--foreground);
    flex-shrink: 0;
}

.ib-about-president-name {
    color: var(--wp--preset--color--foreground);

    font-style: normal;
    font-weight: 400;
    line-height: normal;
    font-family: 'Zhi Mang Xing', sans-serif;
}

/* Building photo — flush right edge, no right radius */
.ib-about-president-photo {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: 16px 0 0 16px; /* no radius on right side */
    display: block;
}

/* ==============================================
   ABOUT PAGE  —  BANNER HERO (Philosophy)
   ============================================= */

.ib-about-banner-hero {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 0 60px;
}

.ib-about-banner-text {
    flex: 1;
}

.ib-about-banner-label {
    font-size: var(--wp--preset--font-size--sm);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wp--preset--color--primary);
    margin: 0 0 16px;
}

.ib-about-banner-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--wp--preset--color--primary);
    line-height: 1.3;
    margin: 0 0 20px;
}

.ib-about-banner-sub {
    font-size: var(--wp--preset--font-size--lg);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.75;
    margin: 0;
}

.ib-about-banner-image {
    flex: 0 0 450px;
    width: 450px;
    height: 450px;
    overflow: hidden;
    border-radius: 8px;
}

.ib-about-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1200px) {
    .ib-about-banner-hero {
        gap: 48px;
    }
    .ib-about-banner-image {
        flex: 0 0 340px;
        width: 340px;
        height: 340px;
    }
}

@media (max-width: 1024px) {
    .ib-about-banner-hero {
        flex-direction: column;
        gap: 40px;
        padding: 60px 24px 48px;
        text-align: center;
    }
    .ib-about-banner-image {
        flex: none;
        width: 100%;
        max-width: 400px;
        height: 300px;
    }
}

@media (max-width: 767px) {
    .ib-about-banner-hero {
        padding: 48px 20px 40px;
    }
    .ib-about-banner-image {
        height: 220px;
    }
}

/* ==============================================
   ABOUT PAGE  —  COMPANY PROFILE (会社概要)
   ============================================= */

.ib-about-profile-section {
    background: var(--wp--preset--color--neutral);
    padding: 80px 0;
}

.ib-about-profile-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 40px;
}

.ib-about-profile-en {
    margin: 0;
}

.ib-about-profile-ja {
    font-size: var(--wp--preset--font-size--2-xl);
    font-weight: 700;
    color: var(--wp--preset--color--primary);
    margin: 0;
    line-height: 1.2;
}

.ib-about-profile-wrap {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* White scrollable table card */
.ib-about-profile-card {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    height: 600px;
    overflow-y: auto;
    box-sizing: border-box;
}

.ib-about-profile-rows {
    display: flex;
    flex-direction: column;
}

/* Each row */
.ib-profile-row {
    display: flex;
    align-items: stretch;
}

/* Key cell — fixed 200px, dashed right border, centered */
.ib-profile-key {
    width: 200px;
    min-width: 200px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 400;
    color: #100f25;
    text-align: center;
    border-right: 1px dashed #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1.5;
}

/* Val cell — flex-1 */
.ib-profile-val {
    flex: 1;
    min-width: 0;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 500;
    color: #100f25;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    line-height: 1.75;
}

/* Dashed top border from row 2 onwards */
.ib-profile-row:not(:first-child) .ib-profile-key,
.ib-profile-row:not(:first-child) .ib-profile-val {
    border-top: 1px dashed #cccccc;
}

/* Inline flex val (車両台数 + View more) */
.ib-profile-val--flex {
    gap: 20px;
}

/* Multi-line values */
.ib-profile-lines {
    display: flex;
    flex-direction: column;
}

.ib-profile-lines p {
    margin: 0;
    line-height: 28px;
}

.ib-profile-link {
    color: inherit;
    text-decoration: none;
}

.ib-profile-link:hover {
    text-decoration: underline;
}

.ib-profile-more {
    color: var(--wp--preset--color--primary);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.ib-profile-more:hover {
    text-decoration: underline;
}

/* Image column */
.ib-about-profile-image-col {
    flex: 0 0 400px;
    width: 400px;
}

.ib-about-profile-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

@media (max-width: 1200px) {
    .ib-about-profile-image-col {
        flex: 0 0 300px;
        width: 300px;
    }
    .ib-about-profile-img {
        height: 480px;
    }
    .ib-about-profile-card {
        height: 480px;
    }
    .ib-profile-key,
    .ib-profile-val {
        padding: 16px 20px;
    }
}

@media (max-width: 1024px) {
    .ib-about-profile-wrap {
        flex-direction: column;
        gap: 32px;
    }
    .ib-about-profile-card {
        height: auto;
        max-height: 560px;
        width: 100%;
    }
    .ib-about-profile-image-col {
        flex: none;
        width: 100%;
    }
    .ib-about-profile-img {
        height: 360px;
    }
}

@media (max-width: 767px) {
    .ib-about-profile-section {
        padding: 60px 0;
    }
    .ib-about-profile-ja {
        font-size: 28px;
    }
    .ib-profile-key {
        width: 110px;
        min-width: 110px;
        padding: 14px 12px;
        font-size: 14px;
    }
    .ib-profile-val {
        padding: 14px 16px;
        font-size: 14px;
    }
}

/* ==============================================
   ABOUT PAGE  —  HISTORY  bg: #0d1f1c (dark)
   ============================================= */

/* --- section shell --- */
.ib-about-history-section {
    position: relative;
    background: url(../images/bg-about-history.png) no-repeat center;
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    overflow: hidden;
}

/* dark photo overlay */
.ib-about-history-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 0;
    pointer-events: none;
}

/* centred inner container */
.ib-about-history-inner {
    position: relative;
    z-index: 1;
    max-width: 1024px;
    margin: 0 auto;
}

.ib-about-history-title {
    text-align: center;
    color: #ffffff;
    font-weight: 600;
    margin: 0 0 40px;
}

/* ---- zigzag timeline ---- */
.ib-about-history-timeline {
    position: relative;
    padding-top: 84px;
}

/* vertical dashed centre line */
.ib-about-history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    width: 8px;
    height: 88px;
    background-color: rgba(255, 255, 255, 0.30);
    border-radius: 8px;
    z-index: 0;
}

/* row */
.ib-tl-item {
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
    position: relative;
    min-height: 116px;
}

/* left / right halves */
.ib-tl-side {
    flex: 1;
    padding: 0 28px;
    min-width: 0;
}
.ib-tl-side--left {
    text-align: right;
    padding-right: 60px;
}
.ib-tl-side--right {
    text-align: left;
    padding-left: 60px;
}

/* dot column */
.ib-tl-center {
    flex-shrink: 0;
    width: 24px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.ib-tl-center::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 30px;
    bottom: 0;
    transform: translateX(-50%);
    width: 8px;
    height: 88px;
    background-color: rgba(255, 255, 255, 0.30);
    border-radius: 8px;
    z-index: 0;
}

.ib-tl-dot {
    display: inline-flex;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 4px;
    border: 1px dashed var(--wp--preset--color--primary);
    border-radius: 50%;
    flex-shrink: 0;
}
.ib-tl-dot::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--wp--preset--color--primary);
}

/* date pill badge */
.ib-tl-badge {
    display: inline-block;
   border: 1px dashed #FFF;
    border-radius: 100px;
    padding: 2px 12px;
    color: #ffffff;
    font-size: var(--wp--preset--font-size--lg);
    font-weight: 500;
    margin-bottom: 12px;
    white-space: nowrap;
    line-height: normal;
}

/* event text */
.ib-tl-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--wp--preset--font-size--md);
    font-weight: 500;
    line-height: 1.75;
    margin: 0;
}

/* ==============================================
   ABOUT PAGE  —  CTA SECTION (dark photo cover)
   ============================================= */

.ib-about-cta-section.wp-block-cover {
    background-image: url(../images/bg-about-cta.jpg);
    background-size: cover;
    background-position: center bottom;
    min-height: 480px;
}

.ib-about-cta-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 100px 0;
    max-width: 760px;
}

.ib-about-cta-heading {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.45;
}

.ib-about-cta-sub {
    font-size: var(--wp--preset--font-size--md);
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.75;
}

@media (max-width: 1024px) {
    .ib-about-cta-inner {
        padding: 80px 24px;
    }
}

@media (max-width: 767px) {
    .ib-about-cta-section.wp-block-cover {
        min-height: 360px;
    }
    .ib-about-cta-inner {
        padding: 60px 20px;
        gap: 20px;
    }
    .ib-about-cta-heading {
        font-size: 1.375rem;
    }
}

/* ==============================================
   ABOUT PAGE  —  RESPONSIVE
   ============================================= */

@media (max-width: 1200px) {
    .ib-about-president-outer {
        padding: 60px 0 60px 40px;
    }
}

@media (max-width: 1024px) {
    /* stacked: restore right padding on outer, image no longer flush */
    .ib-about-president-outer {
        padding: 60px 40px;
    }

    .ib-about-president-header {
        border-radius: 4px; /* restore full radius when not flush */
    }

    .ib-about-president-wrap {
        flex-direction: column;
        gap: 36px;
    }

    .ib-about-president-col--image {
        flex: none;
        width: 100%;
    }

    .ib-about-president-photo {
        min-height: auto;
        height: 320px;
        border-radius: 4px;
    }
}

@media (max-width: 767px) {
    .ib-about-subnav__list {
        flex-wrap: wrap;
    }
    .ib-about-subnav__item {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .ib-about-subnav__item:nth-child(3),
    .ib-about-subnav__item:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }
    .ib-about-subnav__item:nth-child(3) {
        border-left: none;
    }
    .ib-about-subnav__link {
        padding: 20px 12px 16px;
        gap: 10px;
    }
    .ib-about-subnav__icon {
        width: 36px;
        height: 36px;
    }
    .ib-about-subnav__icon svg {
        width: 36px;
        height: 36px;
    }

    .ib-about-intro-section,
    .ib-about-president-section,
    .ib-about-history-section {
        padding: 48px 0;
    }

    ib-about-intro-subtitle {

        padding-left: 20px;
    }

    .ib-about-intro-body {
        padding-left: 20px;
    }

    .ib-about-intro-images {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ib-about-intro-img {
        height: 240px;
    }

    .ib-about-president-outer {
        padding: 40px 20px;
    }

    .ib-about-president-wrap {
        flex-direction: column;
        gap: 28px;
    }

    .ib-about-president-col--image {
        flex: none;
        width: 100%;
    }

    .ib-about-president-photo {
        min-height: auto;
        height: 260px;
    }

    .ib-about-history-inner {
        padding: 0 16px;
    }
    .ib-about-history-timeline::before {
        left: 5px;
        transform: none;
    }
    .ib-tl-item {
        flex-direction: column;
        padding-left: 26px;
        margin-bottom: 28px;
    }
    .ib-tl-side--left,
    .ib-tl-side--right {
        flex: none;
        width: 100%;
        text-align: left;
        padding: 0;
        order: 2;
    }
    .ib-tl-center {
        position: absolute;
        left: 0;
        top: 6px;
        padding-top: 0;
    }
}

/* ==============================================
   SAFETY PAGE — BANNER VARIANT
   ============================================== */

.ib-page-banner--safety {
    min-height: 540px !important;
}
.ib-page-banner--safety .wp-block-cover__background {
    background: transparent;
    opacity: 0;
}

.ib-safety-banner-bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 48px 20px 60px;
    max-width: 1280px;
    margin: 0 auto;
}

.ib-page-banner__subtitle {
    color: rgba(255, 255, 255, 0.85);

    line-height: 1.8;
    margin: 0 0 8px;
}

@media (max-width: 1200px) {
    .ib-safety-banner-bg {
        padding: 40px 20px 40px;
    }
}

@media (max-width: 767px) {
    .ib-page-banner--safety { min-height: 480px !important; }
}

/* ==============================================
   SAFETY PAGE  —  CSR MANAGEMENT
   ============================================= */

.ib-safety-csr-section {
    background: #ffffff;
    overflow: hidden;
}

/* Two-column: text left, photo right (flush edge) */
.ib-safety-csr-wrap {
    display: flex;
    align-items: stretch;
    min-height: 480px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 0;
    background: #F5F5F5;
}

.ib-safety-csr-text {
    flex: 0 0 53%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ib-safety-csr-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--wp--preset--color--primary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: block;
}

.ib-safety-csr-title {
    font-size: var(--wp--preset--font-size--2-xl);
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.ib-safety-csr-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ib-safety-csr-body p {
    line-height: 1.85;
    margin: 0;
    color: var(--wp--preset--color--foreground);
}

.ib-safety-csr-photo {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.ib-safety-csr-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Pillars strip */
.ib-safety-csr-pillars {
    background: #ffffff;
    padding: 60px 0;
}

.ib-safety-csr-pillars-inner {
    display: flex;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px;
}

.ib-safety-csr-pillar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 0 24px;
}

.ib-safety-csr-pillar + .ib-safety-csr-pillar {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.ib-safety-csr-pillar__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ib-safety-csr-pillar__icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.ib-safety-csr-pillar__title {
    color: var(--wp--preset--color--foreground);
    font-size: var(--wp--preset--font-size--xl);
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.ib-safety-csr-pillar__desc {
    color: var(--wp--preset--color--foreground);
    margin: 0;
    line-height: 1.7;
}

/* ==============================================
   SAFETY PAGE  —  SAFETY INITIATIVES
   ============================================= */

.ib-safety-initiatives-section {
    background: #ffffff;
    padding: 80px 0;
    overflow: hidden;
}

.ib-safety-initiatives-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px;
}

/* Intro: left image + right text */
.ib-safety-initiatives-intro {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 80px;
}

.ib-safety-initiatives-image {
    flex: 0 0 320px;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
}

.ib-safety-initiatives-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ib-safety-initiatives-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ib-safety-initiatives-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--wp--preset--color--primary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: block;
}

.ib-safety-initiatives-title {
    font-size: var(--wp--preset--font-size--2-xl);
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.ib-safety-initiatives-intro-text {
    line-height: 1.8;
    margin: 0;
    color: var(--wp--preset--color--foreground);
}

/* Flex accordion slider — no Swiper, no glitch */
.ib-safety-slider-wrap {
    position: relative;
}

/* Swiper container — height only; Swiper itself sets overflow:hidden */
.ib-safety-accordion {
    height: 420px;
}

/* Inactive slide: 1 part of 4 (gaps = 2×8 px = 16 px) */
.ib-safety-acc-slide {
    width: calc((100% - 16px) / 4);
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: width 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Active slide: 2 parts of 4 → 50 % of usable width */
.ib-safety-acc-slide.swiper-slide-active {
    width: calc((100% - 16px) / 2);
}

/* Last 2 slides when active expand to 3/4 to fill the capped-translate viewport */
.ib-safety-acc-slide:nth-last-child(-n+2).swiper-slide-active {
    width: calc((100% - 16px) * 3 / 4);
}

.ib-safety-slide-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Photo fills entire slide */
.ib-safety-slide-photo {
    position: absolute;
    inset: 0;
    background: #1a1a1a;
}

.ib-safety-slide-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.ib-safety-acc-slide.swiper-slide-active .ib-safety-slide-photo img {
    transform: scale(1.04);
}

/* Gradient overlay */
.ib-safety-slide-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.18) 55%, transparent 100%);
    pointer-events: none;
}

/* Content overlay */
.ib-safety-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

/* Numbered circle — always visible */
.ib-safety-slide-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
}

.ib-safety-slide-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

/* Title: always visible; truncate on narrow inactive slides */
.ib-safety-slide-title {
    color: #ffffff;
    font-weight: 600;
    font-size: var(--wp--preset--font-size--md);
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Description: appears AFTER flex expansion completes */
.ib-safety-slide-desc {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.65;
    font-size: var(--wp--preset--font-size--sm);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease 0.55s, transform 0.35s ease 0.55s;
}

.ib-safety-acc-slide.swiper-slide-active .ib-safety-slide-desc {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
    transition: max-height 0.45s ease-in 0.55s, opacity 0.35s ease 0.55s, transform 0.35s ease 0.55s;
}

/* Slider nav arrows */
.ib-safety-slider-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

/* ==============================================
   SAFETY PAGE  —  RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
    .ib-safety-csr-text {
        padding: 60px 48px;
    }
    .ib-safety-csr-pillars-inner {
        padding: 0 48px;
    }
    .ib-safety-initiatives-inner {
        padding: 0 48px;
    }
    .ib-safety-initiatives-intro {
        gap: 48px;
    }
}

@media (max-width: 767px) {
    .ib-safety-csr-wrap {
        flex-direction: column;
    }
    .ib-safety-csr-text {
        flex: none;
        padding: 48px 20px;
    }
    .ib-safety-csr-photo {
        flex: none;
        min-height: 260px;
    }
    .ib-safety-csr-pillars {
        padding: 48px 0;
    }
    .ib-safety-csr-pillars-inner {
        flex-direction: column;
        padding: 0 20px;
        gap: 32px;
    }
    .ib-safety-csr-pillar + .ib-safety-csr-pillar {
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 32px;
    }
    .ib-safety-initiatives-section {
        padding: 48px 0;
    }
    .ib-safety-initiatives-inner {
        padding: 0 20px;
    }
    .ib-safety-initiatives-intro {
        flex-direction: column;
        gap: 32px;
        margin-bottom: 48px;
    }
    .ib-safety-initiatives-image {
        flex: none;
        width: 100%;
        height: 240px;
    }
    .ib-safety-accordion {
        height: 320px;
    }
    .ib-safety-acc-slide,
    .ib-safety-acc-slide.swiper-slide-active,
    .ib-safety-acc-slide:nth-last-child(-n+2).swiper-slide-active {
        width: 100%;
    }
}

/* ==============================================
   NEWS ARCHIVE — BANNER VARIANT
   ============================================== */

.ib-page-banner--news.wp-block-cover {
    min-height: 400px !important;
}

.ib-page-banner--news .wp-block-cover__inner-container {
    justify-content: center;
    align-items: center;
}

.ib-page-banner__inner--news {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 0;
}

@media (max-width: 767px) {
    .ib-page-banner--news.wp-block-cover {
        min-height: 280px !important;
    }
    .ib-page-banner__inner--news {
        padding: 32px 0;
    }
}

/* ==============================================
   NEWS ARCHIVE — PAGE TITLE
   ============================================== */

.ib-news-page-header {
    background: #ffffff;
    padding: 40px 0;
    text-align: center;
}

.ib-news-page-title.wp-block-heading {

    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    text-transform: capitalize;
}

@media (max-width: 767px) {
    .ib-news-page-header {
        padding: 48px 0 28px;
    }
}

/* ==============================================
   NEWS ARCHIVE — SECTION LAYOUT
   ============================================== */

.ib-news-section {
    background: #ffffff;
    padding: 80px 0;
    position: relative;
}
.ib-news-section-container,
.ib-news-inner {
    position: relative;
    z-index: 2;
}

.ib-news-subtitle {
    color: #75757C;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    margin: 0 0 8px;
}
.ib-news-title {
    text-align: center;
    margin-bottom: 40px;
}
.ib-news-circle-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 417px;
    z-index: 1;
    transform: translate(-21%, 60%);
}
.ib-news-circle-bg > img {
    width: 100%;
}

/* ==============================================
   NEWS ARCHIVE — POST GRID
   ============================================== */

/* Override WP grid gap */
.wp-block-post-template.ib-news-grid {
    gap: 24px !important;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
    .wp-block-post-template.ib-news-grid.is-layout-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile: 1 column */
@media (max-width: 767px) {
    .wp-block-post-template.ib-news-grid.is-layout-grid {
        grid-template-columns: 1fr !important;
    }
}

/* PHP pattern grid */
.ib-news-grid-php {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .ib-news-grid-php {
        grid-template-columns: 1fr;
    }
}

/* ==============================================
   NEWS ARCHIVE — CARD
   ============================================== */

.ib-news-card {
    background: #ffffff;
    border: 1px solid #BDBDBD;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    padding: 20px;
}

.ib-news-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
    transform: translateY(-3px);
}

/* Featured image */
.ib-news-card .ib-news-card__image.wp-block-post-featured-image {
    margin: 0;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 16px;
    background: transparent;
    line-height: 0;
}

/* PHP grid: image wrapper needs position for badge overlay */
.ib-news-grid-php .ib-news-card .ib-news-card__image.wp-block-post-featured-image {
    position: relative;
}

/* Category badge overlaid on image (PHP pattern) */
.ib-news-card__image .ib-news-card__cat {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.ib-news-card__image .ib-news-card__cat-badge {
    align-items: center;
    padding: 3px 12px 4px;
    background: var(--wp--preset--color--primary);
    color: #ffffff;
    border-radius: 100px;
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 400;
    text-decoration: none;
    line-height: normal;
    white-space: nowrap;
    height: auto;
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
}

.ib-news-card .ib-news-card__image.wp-block-post-featured-image img {
    width: 100%;
    aspect-ratio: 396 / 250;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    transition: transform 0.35s ease;
}

.ib-news-card:hover .ib-news-card__image.wp-block-post-featured-image img {
    transform: scale(1.04);
}

/* Placeholder when no featured image */
.ib-news-card__image-placeholder {
    width: 100%;
    aspect-ratio: 396 / 250;
    border-radius: 16px;
    background: #e6e6e6;
    display: block;
}

/* Card body */
.ib-news-card__body.wp-block-group {
    padding: 20px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

/* Meta row: date + category */
.ib-news-card__meta.wp-block-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-height: 0;
    gap: 8px;
}

/* Date */
.ib-news-card__date.wp-block-post-date,
.ib-news-card__date.wp-block-post-date time {

    color: #888888;
    font-weight: 400;
    text-decoration: none;
    font-size: var(--wp--preset--font-size--xs);
}

.ib-news-card__date.wp-block-post-date a {
    color: inherit;
    text-decoration: none;
}

/* Category badge */
.ib-news-card__cat.wp-block-post-terms {
    line-height: 1;
    font-size: 0;
    position: relative;
    z-index: 2;
}

.ib-news-card__cat.wp-block-post-terms a {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: rgba(42, 188, 162, 0.12);
    color: var(--wp--preset--color--primary);
    border-radius: 100px;

    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.ib-news-card__cat.wp-block-post-terms a:hover {
    background: var(--wp--preset--color--primary);
    color: #ffffff;
}

/* Card title */
.ib-news-card__title.wp-block-post-title {
    font-weight: 500;
    line-height: normal;
    margin: 0;
    text-transform: capitalize;
}

.ib-news-card__title.wp-block-post-title a {
    font-size: var(--wp--preset--font-size--base);
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
    max-height: 74px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

/* Overlay link: title a::before covers the whole card */
.ib-news-card__title.wp-block-post-title a::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 12px;
}

.ib-news-card:hover .ib-news-card__title.wp-block-post-title a {
    color: var(--wp--preset--color--primary);
}

/* ==============================================
   NEWS ARCHIVE — PAGINATION
   ============================================== */

.ib-news-pagination.wp-block-query-pagination,
nav.ib-news-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 60px;
}

/* First / last page buttons (PHP pattern) */
.ib-news-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #e4e4e4;
    background: #ffffff;
    color: #333333;
    text-decoration: none;
    line-height: 1;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    cursor: pointer;
}

.ib-news-page-btn:hover {
    background: rgba(42, 188, 162, 0.08);
    border-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--primary);
    text-decoration: none;
}

.ib-news-page-btn.is-disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: default;
}

.ib-news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #e4e4e4;
    background: #ffffff;
    color: #333333;

    font-weight: 500;
    text-decoration: none;
    line-height: 1;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ib-news-pagination .page-numbers:hover {
    background: rgba(42, 188, 162, 0.08);
    border-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--primary);
}

.ib-news-pagination .page-numbers.current {
    background: var(--wp--preset--color--primary);
    border-color: var(--wp--preset--color--primary);
    color: #ffffff;
    cursor: default;
}

.ib-news-pagination .page-numbers.dots {
    border: none;
    background: none;
    color: #888888;
    min-width: auto;
    padding: 0 4px;
    pointer-events: none;
}

.ib-news-pagination .wp-block-query-pagination-previous,
.ib-news-pagination .wp-block-query-pagination-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid #e4e4e4;
    background: #ffffff;
    color: #333333;

    font-weight: 500;
    text-decoration: none;
    gap: 6px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ib-news-pagination .wp-block-query-pagination-previous:hover,
.ib-news-pagination .wp-block-query-pagination-next:hover {
    background: rgba(42, 188, 162, 0.08);
    border-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--primary);
}

/* Empty state */
.ib-news-empty.wp-block-paragraph {
    text-align: center;
    color: #888888;

    padding: 60px 0;
    margin: 0;
}

/* ==============================================
   NEWS ARCHIVE — RESPONSIVE
   ============================================== */

@media (max-width: 1200px) {
    .ib-news-section {
        padding: 0 0 60px;
    }
}

@media (max-width: 767px) {
    .ib-news-section {
        padding: 0 0 48px;
    }
    .ib-news-pagination.wp-block-query-pagination {
        margin-top: 40px;
        gap: 4px;
    }
    .ib-news-pagination .page-numbers {
        min-width: 36px;
        height: 36px;
    }
}

/* ==============================================
   CAREERS PAGE — BANNER
   ============================================== */

.ib-careers-banner-section {
    background: #ffffff;
    overflow: hidden;
    position: relative;
}
.ib-careers-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 419px;
    background: var(--wp--preset--color--neutral);
    z-index: 1;
}

.ib-page-banner__inner--careers {
    padding: 0;
    position: relative;
    z-index: 2;
}

.ib-careers-banner-hero {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 0 60px;
}

.ib-careers-banner-text {
    flex: 1;
}

.ib-careers-banner-label {
    font-size: var(--wp--preset--font-size--sm);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wp--preset--color--primary);
    margin: 0 0 12px;
}

.ib-careers-banner-heading {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--wp--preset--color--primary);
    line-height: 1.2;
    margin: 0 0 24px;
}

.ib-careers-banner-body {
    font-size: var(--wp--preset--font-size--md);
    color: #555555;
    line-height: 1.85;
    margin: 0;
}

/* Right image with decorative gray circle behind it */
.ib-careers-banner-image {
    flex: 0 0 460px;
    width: 460px;
    height: 460px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ib-careers-banner-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #F0F0F0;
    border-radius: 50%;
    z-index: 0;
}

.ib-careers-banner-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    display: block;
}

@media (max-width: 1200px) {
    .ib-careers-banner-hero {
        gap: 40px;
    }
    .ib-careers-banner-image {
        flex: 0 0 360px;
        width: 360px;
        height: 360px;
    }
}

@media (max-width: 1024px) {
    .ib-careers-banner-hero {
        flex-direction: column;
        gap: 40px;
        padding: 60px 24px 48px;
        text-align: center;
    }
    .ib-careers-banner-image {
        flex: none;
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 767px) {
    .ib-careers-banner-hero {
        padding: 48px 20px 40px;
    }
    .ib-careers-banner-image {
        width: 240px;
        height: 240px;
    }
}

/* ==============================================
   CAREERS PAGE — STATS BAR (inside left column)
   ============================================== */

.ib-careers-stats-bar {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 40px;
    border-top: 1px solid #eeeeee;
}

.ib-careers-stats-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 12px 20px;
    border-right: 1px solid #eeeeee;
    text-align: center;
}

.ib-careers-stats-item:last-child {
    border-right: none;
}

.ib-careers-stats-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--primary);
}

.ib-careers-stats-icon svg {
    width: 100%;
    height: 100%;
}

.ib-careers-stats-label {
    font-size: var(--wp--preset--font-size--sm);
    color: #888888;
    margin: 0;
    line-height: 1.4;
}

.ib-careers-stats-value {
    font-size: var(--wp--preset--font-size--xl);
    font-weight: 700;
    color: var(--wp--preset--color--foreground);
    margin: 0;
    line-height: 1.2;
}

@media (max-width: 1024px) {
    .ib-careers-stats-bar {
        margin-top: 32px;
    }
}

@media (max-width: 767px) {
    .ib-careers-stats-bar {
        flex-wrap: wrap;
        margin-top: 24px;
    }
    .ib-careers-stats-item {
        flex: 0 0 50%;
        border-right: none;
        border-bottom: 1px solid #eeeeee;
        padding: 20px 12px;
    }
    .ib-careers-stats-item:nth-child(odd) {
        border-right: 1px solid #eeeeee;
    }
    .ib-careers-stats-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

/* ==============================================
   CAREERS PAGE — LISTING SECTION
   ============================================== */

.ib-careers-section {
    background: #ffffff;
    padding: 40px 0;
}

.ib-careers-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Top: label + title — centered */
.ib-careers-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    text-align: center;
}

.ib-careers-listing-label {
    font-size: var(--wp--preset--font-size--sm);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wp--preset--color--primary);
    margin: 0;
}

.ib-careers-title {

    font-weight: 700;
    color: var(--wp--preset--color--foreground);
    margin: 0;
    line-height: 1.25;
}

/* Search form */
.ib-careers-search-form {
    width: 100%;
    max-width: 560px;
}

.ib-careers-search-box {
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    background: #ffffff;
    border: 1.5px solid var(--wp--preset--color--primary);
    border-radius: 100px;
    padding-right: 6px;
    transition: box-shadow 0.2s;
}

.ib-careers-search-box:focus-within {
    box-shadow: 0 0 0 3px rgba(42, 188, 162, 0.15);
}

.ib-careers-search-input {
    flex: 1;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 20px;

    color: #333333;
    outline: none;
    font-family: inherit;
}

.ib-careers-search-input::placeholder {
    color: #aaaaaa;
}

.ib-careers-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--wp--preset--color--primary-accent);
    border: none;
    cursor: pointer;
    color: #ffffff;
    transition: background 0.2s;
}

.ib-careers-search-btn:hover {
    background: var(--wp--preset--color--primary);
}

/* Job type filter tabs */
.ib-careers-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.ib-careers-filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
    color: #333;
}

.ib-careers-filter-btn:hover {
    color: var(--wp--preset--color--primary);
    border-bottom-color: var(--wp--preset--color--primary);
    background: transparent;
    text-decoration: none;
}

.ib-careers-filter-btn.is-active {
    color: var(--wp--preset--color--primary);
    border-bottom-color: var(--wp--preset--color--primary);
    font-weight: 500;
    background: transparent;
}

/* Job card grid — 3 columns */
.ib-careers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Job card */
.ib-careers-card {
    background: #ffffff;
    border: 1px solid #BDBDBD;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ib-careers-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}
.ib-careers-card:focus-visible {
    outline: none;
}

.ib-careers-card__head {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ib-careers-card__date {

    color: #888888;
    margin: 0;
}

.ib-careers-card__title {

    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

/* Meta rows: salary + location */
.ib-careers-card__meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ib-careers-card__meta-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    color: #555555;
    line-height: 1.5;
    word-break: break-all;
}

.ib-careers-card__meta-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

/* CTA buttons */
.ib-careers-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.ib-careers-card__btn {
   display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px 12px;
    border-radius: 40px;

    font-weight: 500;
    text-decoration: none;
    line-height: 1;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.ib-careers-card__btn--primary {
    background: var(--wp--preset--color--primary);
    color: #ffffff;
    border: 1px solid var(--wp--preset--color--primary);
}

.ib-careers-card__btn--primary:hover {
    background: var(--wp--preset--color--primary-accent);
    border-color: var(--wp--preset--color--primary-accent);
    color: #ffffff;
    text-decoration: none;
}

.ib-careers-card__btn--secondary {
    background: transparent;
    color: var(--wp--preset--color--primary);
    border: 1px solid var(--wp--preset--color--primary);
}

.ib-careers-card__btn--secondary:hover {
    background: rgba(42, 188, 162, 0.08);
    color: var(--wp--preset--color--primary);
    text-decoration: none;
}

/* Empty state */
.ib-careers-empty {
    text-align: center;
    color: #888888;

    padding: 60px 0;
    margin: 0;
}

/* Pagination */
.ib-careers-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.ib-careers-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #e4e4e4;
    background: #ffffff;
    color: #333333;

    font-weight: 500;
    text-decoration: none;
    line-height: 1;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ib-careers-pagination .page-numbers:hover {
    background: rgba(42, 188, 162, 0.08);
    border-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--primary);
}

.ib-careers-pagination .page-numbers.current {
    background: var(--wp--preset--color--primary);
    border-color: var(--wp--preset--color--primary);
    color: #ffffff;
    cursor: default;
}

.ib-careers-pagination .page-numbers.dots {
    border: none;
    background: none;
    color: #888888;
    pointer-events: none;
}

/* ==============================================
   CAREERS PAGE — PHOTO GALLERY
   ============================================== */

.ib-careers-gallery-section {
    overflow: hidden;
}

.ib-careers-gallery-swiper {
    width: 100%;
}

/* Fixed-width slides; centeredSlides positions active in the middle */
.ib-careers-gallery-swiper .swiper-slide {
    width: 280px;
    display: flex;
    align-items: center;
}

.ib-careers-gallery-slide {
    width: 100%;
    height: 220px;
    overflow: hidden;
    transition: height 0.4s ease;
}

/* Active (center) slide is taller */
.ib-careers-gallery-swiper .swiper-slide-active .ib-careers-gallery-slide {
    height: 300px;
}

.ib-careers-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .ib-careers-gallery-swiper .swiper-slide {
        width: 180px;
    }
    .ib-careers-gallery-slide {
        height: 150px;
    }
    .ib-careers-gallery-swiper .swiper-slide-active .ib-careers-gallery-slide {
        height: 200px;
    }
}

/* ==============================================
   CAREERS PAGE — TESTIMONIALS SECTION
   ============================================== */

.ib-careers-testimonials-section {
    background-color: #F5F5F5;
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    background-image: url(../images/bg-testinomial.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

.ib-careers-testimonials-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    max-width: 806px;
    margin: 0 auto;
}

/* Large decorative quote marks — absolute background */
.ib-careers-testimonials-deco {
    position: absolute;
    pointer-events: none;
    user-select: none;
    bottom: 0;
    transform: translate(-50%, -35%);
    width: 83px;
    height: 83px;
    z-index: 2;
}

.ib-careers-testimonials-deco--open {
    left: 0;
    background: url(../images/quote-open.svg) no-repeat center center;
    background-size: contain;
}

.ib-careers-testimonials-deco--close {
    right: 0;
    background: url(../images/quote-close.svg) no-repeat center center;
    background-size: contain;
    transform: translate(70%, 20%);
}

.ib-careers-testimonials-title {

    font-weight: 700;
    color: var(--wp--preset--color--foreground);
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ib-careers-testimonials-swiper {
    width: 100%;
    position: relative;
    z-index: 2;
}

.ib-careers-testimonial {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Author block — sits ABOVE the quote text */
.ib-careers-testimonial__author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.ib-careers-testimonial__name {

    font-weight: 700;
    color: var(--wp--preset--color--foreground);
    margin: 0;
}

.ib-careers-testimonial__role {

    color: #888888;
    margin: 0;
}

.ib-careers-testimonial__text {

    line-height: 1.9;
    color: #444444;
    margin: 0;
    font-style: normal;
    max-width: 760px;
}
.ib-careers-testimonial__text p {
    margin: 0;
    word-break: break-all;
}

/* Navigation arrows */
.ib-careers-testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

/* ==============================================
   CAREERS PAGE — RESPONSIVE
   ============================================== */

@media (max-width: 1200px) {
    .ib-careers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .ib-careers-testimonial {
        padding: 0 40px;
    }
}

@media (max-width: 767px) {
    .ib-careers-testimonials-section {
        padding: 48px 0;
    }
    .ib-careers-grid {
        grid-template-columns: 1fr;
    }
    .ib-careers-filter-btn {
        padding: 8px 12px;
    }
    .ib-careers-card__btn {
        padding: 8px 12px;
    }
    .ib-careers-testimonial {
        padding: 0 20px;
    }
    .ib-careers-pagination .page-numbers {
        min-width: 36px;
        height: 36px;
    }
}

/* Card clickable cursor (area outside buttons) */
.ib-careers-card {
    cursor: pointer;
}

.ib-careers-card__btn {
    position: relative;
    z-index: 2;
    cursor: pointer;
}

/* ==============================================
   CAREERS — JOB DETAIL MODAL
   ============================================== */

.ib-careers-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
    visibility: hidden;
}

.ib-careers-modal-overlay:not([hidden]) {
    display: flex;
}

.ib-careers-modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.ib-careers-modal-wrapper {
    position: relative;
    width: 100%;
    max-width: 680px;
    transform: translateY(16px);
    transition: transform 0.25s ease;
}

.ib-careers-modal {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
}

.ib-careers-modal-overlay.is-visible .ib-careers-modal-wrapper {
    transform: translateY(0);
}

/* Close button */
.ib-careers-modal__close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
    z-index: 1;
    padding: 0;
}

.ib-careers-modal__close:hover {
    background: #f0f0f0;
}

.ib-careers-modal__title {

    font-weight: 600;
    color: #333333;
    margin: 0;
    flex-shrink: 0;
    text-transform: capitalize;
}

.ib-careers-modal__table {
    border: 1px solid #cccccc;
    border-radius: 16px;
    overflow-x: hidden;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

/* Table rows */
.ib-careers-modal__row {
    display: flex;
    align-items: stretch;
}

.ib-careers-modal__row + .ib-careers-modal__row .ib-careers-modal__label,
.ib-careers-modal__row + .ib-careers-modal__row .ib-careers-modal__value {
    border-top: 1px dashed #cccccc;
}

.ib-careers-modal__label {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 40px;
    border-right: 1px dashed #cccccc;

    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
}

.ib-careers-modal__value {
    flex: 1;
    min-width: 0;
    padding: 14px 24px;

    font-weight: 500;
    line-height: normal;
    word-break: break-word;
}

/* CTA button */
.ib-careers-modal__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    align-self: center;
    height: 46px;
    padding-left: 32px;
    padding-right: 4px;
    border-radius: 200px;
    background: var(--wp--preset--color--primary);
    color: #ffffff;

    font-weight: 500;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.2s;
    white-space: nowrap;
}

.ib-careers-modal__cta:hover {
    background-color: var(--wp--preset--color--primary);
    color: #ffffff;
    text-decoration: none;
}

.ib-careers-modal__cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    margin-left: 12px;
    flex-shrink: 0;
}

/* ==============================================
   CAREERS MODAL — RESPONSIVE
   ============================================== */

@media (max-width: 767px) {
    .ib-careers-modal {
        padding: 24px 16px 20px;
        max-height: 95vh;
        border-radius: 12px;
    }

    .ib-careers-modal__label {
        width: 100px;
        padding: 12px 12px;
    }

    .ib-careers-modal__value {
        padding: 12px 14px;
    }

    .ib-careers-modal__cta {
        height: 42px;
        padding-left: 20px;
    }
}

/* ==============================================
   SINGLE POST
   ============================================== */

.ib-single-main {
    padding-top: 128px;
}
.ib-single-wrap {
    background: #ffffff;
    padding-bottom: 80px;
}

/* Breadcrumb */
.ib-single-breadcrumb {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 20px 0;
}

.ib-single-breadcrumb a {
    color: var(--wp--preset--color--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.ib-single-breadcrumb a:hover {
    color: var(--wp--preset--color--primary-accent);
}

.ib-single-breadcrumb__sep {
    color: #888;
}

.ib-single-breadcrumb__current {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 420px;
}

.ib-single-date {
    font-size: var(--wp--preset--font-size--xs);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Title */
.ib-single-title {
    font-size: var(--wp--preset--font-size--2-xl);
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
}

/* Featured Image */
.ib-single-featured-image {
    margin-bottom: 32px;
    line-height: 0;
}

.ib-single-featured-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    display: block;
}

/* Meta */
.ib-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    flex-direction: column;
}

.ib-single-cat .ib-single-cat__badge {
    display: inline-flex;
    padding: 3px 12px 4px;
    border-radius: 40px;
    background-color: var(--wp--preset--color--primary);
    color: #ffffff;
    text-decoration: none;
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 400;
    line-height: normal;
    transition: background 0.2s;
}

/* Post content */
.ib-single-content {

    line-height: 1.85;
    color: #444444;
    --wp--style--global--content-size: 900px;
    --wp--style--global--wide-size: 100%;
}

/* Direct children (when content has no wrapper group) */
.ib-single-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright) {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ib-single-content > .alignwide,
.ib-single-content > .alignfull {
    max-width: 100%;
    margin-left: unset;
    margin-right: unset;
}

.ib-single-article {
    margin-bottom: 40px;

}

.ib-single-article .ib-single-title,
.ib-single-article .ib-single-featured-image,
.ib-single-article .ib-single-meta,
.ib-single-article .ib-single-excerpt {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Override .wp-container-core-group-is-layout-* (WordPress constrained layout wrapper) */
.ib-single-content .is-layout-constrained > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright) {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ib-single-content .is-layout-constrained > .alignwide,
.ib-single-content .is-layout-constrained > .alignfull {
    max-width: 100%;
    margin-left: unset;
    margin-right: unset;
}

.ib-single-content p {
    margin-bottom: 1.4em;
}

.ib-single-content img {
    max-width: 100%;
    height: auto;
    width: 100%;
    border-radius: 16px;
}
.ib-single-content .wp-block-columns,
.ib-single-content .wp-block-image {
    margin: 40px 0;
}
.ib-single-content .wp-block-columns.is-layout-flex {
    gap: 40px;
}
.ib-single-content .wp-block-columns .wp-block-image {
    margin: 0;
}

.ib-single-content h2,
.ib-single-content h3 {
    color: #333333;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 0.75em;
}

/* Post navigation — 3 pill buttons */
.ib-single-nav-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #E5E5E5;
}

.ib-post-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ib-post-nav__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 40px;
    border-radius: 200px;
    background: var(--wp--preset--color--primary);
    color: #ffffff;

    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    border: none;
    line-height: 1;
}

.ib-post-nav__btn:hover {
    background: var(--wp--preset--color--primary-accent);
    color: #ffffff;
    text-decoration: none;
}

.ib-post-nav__btn--prev {
    padding-left: 4px;
    padding-right: 28px;
}

.ib-post-nav__btn--next {
    padding-left: 28px;
    padding-right: 4px;
}

.ib-post-nav__btn--list {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
    color: var(--wp--preset--color--primary);
}

.ib-post-nav__btn--list:hover {
    background: transparent;
    color: var(--wp--preset--color--primary-accent);
    text-decoration: underline;
}

.ib-post-nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ib-post-nav__btn--prev .ib-post-nav__icon {
    margin-right: 10px;
}

.ib-post-nav__btn--next .ib-post-nav__icon {
    margin-left: 10px;
}

.ib-post-nav__btn--disabled {
    background: #EBEBEB;
    color: #000;
    cursor: not-allowed;
    pointer-events: none;
}

.ib-post-nav__btn--disabled:hover {
    background: #EBEBEB;
    color: #000;
}

/* Responsive */

@media (max-width: 767px) {
    .ib-single-main {
        padding-top: 100px;
        padding-bottom: 48px;
    }

    .ib-single-wrap {
        padding-top: 24px;
    }

    .ib-single-breadcrumb__current {
        max-width: 200px;
    }

    .ib-post-nav {
        gap: 8px;
    }

    .ib-post-nav__btn {
        height: 42px;
    }

    .ib-post-nav__icon {
        width: 34px;
        height: 34px;
    }

    .ib-single-nav-section {
        margin-top: 48px;
        padding-top: 32px;
    }
}

/* =============================================================
   Contact page
   ============================================================= */

/* ── Section ── */
.ib-contact-section {
    padding: 80px 0;
    position: relative;
}
.ib-contact-img {
    position: absolute;
    bottom: -26%;
    left: -6%;
    z-index: 0;
    width: 417px;
}
.ib-contact-img > img {
    width: 100%;
    height: auto;
}

.ib-contact-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* ── Heading ── */
.ib-contact-heading {
    text-align: center;
}

.ib-contact-eyebrow {
    font-size: var(--wp--preset--font-size--lg);
    font-weight: 500;
    color: #75757C;
    margin: 0 0 8px;
}

.ib-contact-title {
    margin: 0 0 20px;
    line-height: 1.5;
}

.ib-contact-desc {
    line-height: 1.75;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

/* ── Form container (CF7) ── */
.ib-contact-form-wrap {
    background: #fff;
    border: 1px solid #BDBDBD;
    border-radius: 16px;
    padding: 20px;
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
}

.ib-contact-form-wrap .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ib-contact-form-wrap .wpcf7-response-output {
    margin: 0;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: var(--wp--preset--font-size--base);
}

.ib-contact-form__row {
    display: flex;
    gap: 20px;
}

.ib-contact-form__row .ib-contact-form__group {
    flex: 1 1 0;
    min-width: 0;
}

.ib-contact-form__group {
    display: flex;
    flex-direction: column;
}
.ib-contact-form__group p {
    margin: 0;
}
.ib-contact-form__group br {
    display: none;
}

.ib-contact-form__label {
    font-size: var(--wp--preset--font-size--sm);
    font-weight: 500;
    color: var(--wp--preset--color--foreground);
    margin-bottom: 10px;
    display: block;
}

.ib-contact-form__req {
    color: #e53e3e;
}

.ib-contact-form__input,
.ib-contact-form__select,
.ib-contact-form__textarea {
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #BDBDBD;
    border-radius: 4px;
    padding: 7px 14px;
    font-size: var(--wp--preset--font-size--base);
    font-family: inherit;
    color: var(--wp--preset--color--foreground);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.ib-contact-form__input::placeholder,
.ib-contact-form__textarea::placeholder {
    color: #bbb;
}

.ib-contact-form__input:focus,
.ib-contact-form__select:focus,
.ib-contact-form__textarea:focus {
    border-color: var(--wp--preset--color--primary);
    box-shadow: 0 0 0 3px rgba(234, 76, 137, 0.12);
}

.ib-contact-form__select-wrap {
    position: relative;
}

.ib-contact-form__select {
    cursor: pointer;
    padding-right: 40px;
    color: var(--wp--preset--color--foreground);
}

.ib-contact-form__select-caret {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #888;
}

.ib-contact-form__textarea {
    resize: vertical;
    min-height: 100px;
}

/* ── Privacy checkbox ── */
.ib-contact-form__agree-row {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ib-contact-form__agree-row p {
    margin: 0;
}
.ib-contact-form__agree-row .wpcf7-list-item {
    margin: 0;
}
.ib-contact-form__agree-row .wpcf7-list-item label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    font-size: var(--wp--preset--font-size--sm);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    
}
.ib-contact-form__agree-row .ib-contac-policy {
    color: var(--wp--preset--color--primary);
    cursor: pointer;
}

.ib-contact-form__agree-check {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--wp--preset--color--primary);
    flex-shrink: 0;
    margin: 0;
}

.ib-contact-form__agree-label {
    font-size: var(--wp--preset--font-size--base);
    color: #555;
    cursor: pointer;
}

/* ── Submit footer ── */
.ib-contact-form__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.ib-contact-form__footer p {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}
.wpcf7-spinner {
    display: none;
}
form.submitting .wpcf7-spinner {
    display: inline-block;
}
form.submitting .ib-contact-form__submit {
    pointer-events: none;
}

.ib-contact-msg {
    min-height: 20px;
    font-size: var(--wp--preset--font-size--base);
    text-align: center;
    margin: 0;
}

.ib-contact-msg.is-success {
    color: #1a8a4a;
}

.ib-contact-msg.is-error {
    color: #e53e3e;
}

.ib-contact-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background-color: var(--wp--preset--color--primary);
    background-image: url(../images/icons/icon-move-up-right-circle.svg);
    background-repeat: no-repeat;
    background-position: 96px center;
    background-size: 40px;
    color: #fff;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    white-space: nowrap;
    padding: 11px 70px 11px 38px;
}

.ib-contact-form__submit:hover {
    background-color: var(--wp--preset--color--primary-accent);
}

.ib-contact-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* ── Responsive ── */
@media (max-width: 1024px) {
    .ib-contact-inner {
        padding: 0 40px;
    }
}

@media (max-width: 767px) {
    .ib-contact-section {
        padding: 56px 0 72px;
    }
    .ib-contact-inner {
        padding: 0 20px;
        gap: 32px;
    }
.ib-contact-form-wrap {
        padding: 28px 20px;
    }
    .ib-contact-form__row {
        flex-direction: column;
        gap: 24px;
    }
}

/* =============================================
   Contact Map
   ============================================= */

.ib-contact-map {
    width: 100%;
    line-height: 0;
}

.ib-contact-map iframe {
    width: 100%;
    height: 520px;
    display: block;
}

@media (max-width: 767px) {
    .ib-contact-map iframe {
        height: 300px;
    }
}

/* ==============================================
   CONTACT — PRIVACY POLICY MODAL
   ============================================== */

.ib-privacy-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    max-width: 100%;
}

.ib-privacy-modal:not([hidden]) {
    display: flex;
}

.ib-privacy-modal.is-visible {
    opacity: 1;
    visibility: visible;
}

.ib-privacy-modal__wrapper {
    position: relative;
    width: 100%;
    max-width: 780px;
    transform: translateY(16px);
    transition: transform 0.25s ease;
}

.ib-privacy-modal.is-visible .ib-privacy-modal__wrapper {
    transform: translateY(0);
}

.ib-privacy-modal__box {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.ib-privacy-modal__close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
    transition: background 0.2s;
    z-index: 1;
    padding: 0;
    flex-shrink: 0;
}

.ib-privacy-modal__close:hover {
    background: #f0f0f0;
}

.ib-privacy-modal__title {
    font-size: 28px;
    font-weight: 600;
    color: var(--wp--preset--color--primary);
    margin: 0;
    flex-shrink: 0;
    line-height: normal;
}

.ib-privacy-modal__content {
    height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.ib-privacy-modal__section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
    border-bottom: 1px dashed #cccccc;
}

.ib-privacy-modal__section:last-child {
    border-bottom: none;
}

.ib-privacy-modal__section-title {
    font-size: var(--wp--preset--font-size--lg);
    font-weight: 500;
    color: #100f25;
    margin: 0;
    line-height: normal;
}

.ib-privacy-modal__section p {
    font-size: 16px;
    font-weight: 400;
    color: #100f25;
    line-height: 24px;
    margin: 0;
    text-align: justify;
}

@media (max-width: 767px) {
    .ib-privacy-modal__box {
        padding: 20px 16px;
        max-height: 95vh;
        border-radius: 12px;
    }
    .ib-privacy-modal__title {
        font-size: 22px;
    }
    .ib-privacy-modal__content {
        height: 400px;
    }
}

/* =============================================
   404 PAGE
   ============================================= */
.ib-404-main {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ib-404-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    overflow: hidden;
    min-height: 100%;
    width: 100%;
}

.ib-404-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.ib-404-illustration {
    width: 280px;
    height: auto;
    margin-bottom: 12px;
}

.ib-404-title {

    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.ib-404-desc {

    color: #888;
    margin: 0;
    line-height: 1.8;
}

.ib-404-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--wp--preset--color--primary);
    color: #ffffff;
    text-decoration: none;
    border-radius: 200px;
    height: 46px;
    padding: 4px 4px 4px 20px;

    font-weight: 500;
    width: fit-content;
    margin-top: 8px;
    transition: background-color 0.2s;
}

.ib-404-btn:hover {
    background-color: var(--wp--preset--color--primary);
    color: #ffffff;
}

.ib-404-btn__icon {
    width: 40px;
    height: 40px;
}

@media (max-width: 767px) {
    .ib-404-illustration { width: 200px; }
}

/* ==============================================
   HOME — LATEST NEWS SECTION
   ============================================== */

.ib-home-news-section {
    background: #ffffff;
    padding: 80px 0;
}

.ib-home-news-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ib-home-news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
}

.ib-home-news-title {
    font-size: var(--wp--preset--font-size--2-xl);
    margin: 0;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
}

.ib-home-news-view-all {

    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: var(--wp--preset--color--primary);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.ib-home-news-view-all:hover {
    opacity: 0.75;
    text-decoration: none;
}

.ib-home-news-grid .ib-news-card {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .ib-home-news-section {
        padding: 60px 0;
    }
    .ib-home-news-header {
        margin-bottom: 36px;
    }
}

@media (max-width: 767px) {
    .ib-home-news-section {
        padding: 48px 0;
    }
    .ib-home-news-header {
        margin-bottom: 28px;
    }
}

/* ==============================================
   HOME — INTRO SECTION
   ============================================== */

.ib-home-intro-section {
    background-color: #ffffff;
    padding: 120px 0;
}
.ib-home-intro-section::after {
    content: '';
    background: url('../images/bg-circle.svg') no-repeat bottom left;
    position: absolute;
    top: 0;
    right: 0;
    width: 352px;
    height: 281px;
    z-index: 0;
}

.ib-home-intro-inner {
    display: flex;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ib-home-intro-image-col {
    flex: 0 0 300px;
    width: 300px;
    height: 300px;
}

.ib-home-intro-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.ib-home-intro-text-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ib-home-intro-text-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ib-home-intro-label {
    margin: 0;
    line-height: normal;
}

.ib-home-intro-tagline {
    margin: 0;
}

.ib-home-intro-body {
    font-size: var(--wp--preset--font-size--xl);
    font-weight: 400;
    line-height: 1.75;
    color: #100f25;
    margin: 0;
    max-width: 806px;
}

@media (max-width: 1024px) {
    .ib-home-intro-inner {
        flex-direction: column-reverse;
        gap: 32px;
    }
    .ib-home-intro-image-col {
        flex: none;
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    .ib-home-intro-image {
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .ib-home-intro-body {
        font-size: 24px;
    }
    .ib-home-intro-text-col {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .ib-home-intro-section {
        padding: 56px 0;
    }
    .ib-home-intro-body {
        font-size: 18px;
        line-height: 1.7;
    }
}

/* ==============================================
   SCROLL TO TOP BUTTON
   ============================================== */

.ib-scroll-top {
    position: fixed;
    bottom: 32px;
    right: 80px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #E4E4E4;
    background: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.ib-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ib-scroll-top:hover {
    background: rgba(42, 188, 162, 0.20);
}
.ib-scroll-top > img {
    width: 24px;
    height: 24px;
}

@media (max-width: 767px) {
    .ib-scroll-top {
        bottom: 20px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
    .ib-scroll-top > img {
        width: 20px;
        height: 20px;
    }
}

.grecaptcha-badge {
    display: none !important;
}

/* ============================================================
   SHARED UTILITIES — BUTTON
   ============================================================ */

.ib-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--wp--preset--color--primary);
    color: #fff;
    font-weight: 700;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ib-btn:hover {
    background: var(--wp--preset--color--primary-accent);
    opacity: 1;
    transform: translateY(-1px);
    color: #fff;
}

.ib-btn--outline {
    background: transparent;
    border: 2px solid var(--wp--preset--color--primary);
    color: var(--wp--preset--color--primary);
}

.ib-btn--outline:hover {
    background: var(--wp--preset--color--primary);
    color: #fff;
}

.ib-btn--white {
    background: #fff;
    color: var(--wp--preset--color--primary);
}

.ib-btn--white:hover {
    background: #f0f0f0;
    opacity: 1;
}

/* ============================================================
   HOME PAGE  —  HERO
   ============================================================ */

.ib-home-hero {
    min-height: 100vh;
}

.ib-home-hero .wp-block-cover__inner-container {
    padding: 60px 0;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.ib-hero-title.wp-block-heading {
    font-size: var(--wp--preset--font-size--3-xl) !important;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 0 24px !important;
}

.ib-hero-subtitle {
    font-size: var(--wp--preset--font-size--lg);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    line-height: 1.9;
    margin: 0 auto !important;
    max-width: 900px;
}

@media (max-width: 767px) {
    .ib-home-hero.wp-block-cover {
        min-height: 560px !important;
    }
    .ib-home-hero .wp-block-cover__inner-container {
        padding: 120px 20px 60px;
    }
}

/* ============================================================
   HOME — STRENGTHS SECTION
   ============================================================ */

.ib-home-strengths-section {
    padding: 0 0 80px;
    overflow: hidden;
}

.ib-home-strengths-inner {
    display: flex;
    align-items: stretch;
    padding-left: 80px;
    gap: 70px;
}

.ib-home-strengths-left {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
}

.ib-home-strengths-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
}

.ib-home-strengths-card {
    border-radius: 16px;
    border: 1px solid var(--wp--preset--color--foreground);
    background: #FFF;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    transition: box-shadow 0.25s ease;
    aspect-ratio: 1 / 1;
}

.ib-home-strengths-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.ib-home-strengths-card__icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ib-home-strengths-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ib-home-strengths-card__title {
    font-size: var(--wp--preset--font-size--lg);
    font-weight: 500;
    margin: 0;
    line-height: normal;
}

.ib-home-strengths-center {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.ib-home-strengths-label {
    color: var(--wp--preset--color--primary);
    font-size: var(--wp--preset--font-size--2-xl);
    font-weight: 600;
    width: 40px;
    line-height: 1.35;
}

.ib-home-strengths-right {
    flex: 1;
    min-width: 0;
    aspect-ratio: 3 / 2;
}

.ib-home-strengths-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px 0 0 16px;
}

@media (max-width: 1200px) {
    .ib-home-strengths-inner {
        flex-direction: column;
        padding: 0 40px;
        gap: 40px;
    }
    .ib-home-strengths-label {
        width: auto;
    }
    .ib-home-strengths-card {
        aspect-ratio: auto;
    }
}

@media (max-width: 1024px) {
    .ib-home-strengths-left {
        flex: none;
    }
    .ib-home-strengths-photo {
        min-height: 280px;
        border-radius: 12px;
    }
}

@media (max-width: 767px) {
    .ib-home-strengths-section {
        padding: 0 0 56px;
    }
    .ib-home-strengths-inner {
        padding: 0 20px;
        gap: 32px;
    }
    .ib-home-strengths-cards {
        gap: 12px;
    }
    .ib-home-strengths-card {
        padding: 20px 14px;
        gap: 10px;
    }
    .ib-home-strengths-card__icon {
        width: 60px;
        height: 60px;
    }
    .ib-home-strengths-card__title {
        font-size: 16px;
    }
    .ib-home-strengths-card__title > br {
        display: none;
    }
}

/* ============================================================
   HOME — ABOUT / PRESIDENT SECTION
   ============================================================ */

.ib-home-about-section {
    background: #ffffff;
    padding: 80px 0;
    overflow: hidden;
}

.ib-home-about-header {
    margin: 0 auto;
    padding: 0 80px;
}

.ib-home-about-eyebrow {
    margin: 0 0 8px;
}

.ib-home-about-heading {
    margin: 0;
    line-height: 1.3;
}

.ib-home-about-inner {
    display: flex;
    align-items: flex-start;
}
.ib-home-about-inner--heading {
    padding: 68px 0 58px;
    position: relative;
}
.ib-home-about-inner--heading::before {
    content: '';
    background: #F5F5F5;
    position: absolute;
    left: 80px;
    top: 0;
    width: 100%;
    height: 100%;
}

.ib-home-about-image-col {
    flex: 0 0 50%;
    margin-top: -113px;
}

.ib-home-about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0 16px 16px 0;
    aspect-ratio: 15 / 11;
}

.ib-home-about-text-col {
    flex: 1;
    min-width: 0;
    padding: 0 80px 0 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.ib-home-about-quote {
    font-size: var(--wp--preset--font-size--xl);
    font-weight: 400;
    color: var(--wp--preset--color--foreground);
    line-height: 1.9;
    margin: 0;
    max-width: 504px;
}

.ib-home-about-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 37px 0 32px;
}

.ib-home-about-body p {
    line-height: normal;
    margin: 0;
}

.ib-home-about-signature {
    display: flex;
    align-items: baseline;
    gap: 32px;
    justify-content: flex-end;
}

.ib-home-about-role {
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
}

.ib-home-about-name {
    font-size: var(--wp--preset--font-size--2-xl);
    font-weight: 400;
    font-family: 'Yuji Mai', serif;
}

@media (max-width: 1200px) {
    .ib-home-about-header {
        padding-left: 40px;
        padding-right: 40px;
    }
    .ib-home-about-text-col {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 1024px) {
    .ib-home-about-inner {
        flex-direction: column;
    }
    .ib-home-about-image-col {
        flex: none;
        width: 100%;
        margin-top: 0;
        order: 2;
    }
    .ib-home-about-photo {
        min-height: 300px;
        border-radius: 0;
    }
    .ib-home-about-inner--heading {
        padding: 20px 0 0;
    }
    .ib-home-about-inner--heading::before {
        display: none;
    }
    .ib-home-about-signature {
        padding-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .ib-home-about-section {
        padding: 56px 0;
    }
    .ib-home-about-header {
        padding: 0 20px 32px;
    }
    .ib-home-about-text-col {
        padding: 32px 20px;
        gap: 20px;
    }
    .ib-home-about-photo {
        min-height: 260px;
    }
}

/* ============================================================
   HOME — SAFETY SOLUTIONS SECTION
   ============================================================ */

.ib-home-safety-section {
    background: #ffffff;
    padding: 40px 0 80px;
    overflow: hidden;
}

.ib-home-safety-inner {
    margin: 0 auto;
    padding: 0 80px;
}

.ib-home-safety-header {
    padding: 0 0 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #e4e4e4;
}

.ib-home-safety-eyebrow {
    margin: 0 0 8px;
}

.ib-home-safety-heading {
    margin: 0;
    line-height: 1.3;
}

.ib-home-safety-nav {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.ib-arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #E4E4E4;
    background: transparent;
    color: var(--wp--preset--color--primary);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
    padding: 0;
}

.ib-arrow-btn:hover {
    background: var(--wp--preset--color--primary);
    color: #ffffff;
}

.ib-arrow-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.ib-home-safety-swiper {
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
}

.ib-home-safety-swiper .swiper-wrapper {
    align-items: stretch;
}

.ib-home-safety-slide {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.ib-home-safety-slide img {
    width: 100%;
    aspect-ratio: 305 / 350;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.ib-home-safety-slide:hover img {
    transform: scale(1.04);
}

.ib-home-safety-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.40) 100%);
    z-index: 1;
    pointer-events: none;
    border-radius: 16px;
}

.ib-home-safety-slide__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 16px;
    color: #ffffff;
    font-weight: 500;
    line-height: normal;
    margin: 0;
    text-align: center;
}

@media (max-width: 1200px) {
    .ib-home-safety-inner {
        padding: 0 40px;
    }
}

@media (max-width: 767px) {
    .ib-home-safety-section {
        padding: 20px 0 56px;
    }
    .ib-home-safety-inner {
        padding: 0 20px;
    }
    .ib-home-safety-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-bottom: 24px;
    }
    .ib-home-safety-nav {
        justify-content: flex-end;
        width: 100%;
    }
}
