/*
 * Homepage visual system.
 * The rhythm is based on an 8px grid: 32px for related content,
 * 64px for independent sections and 80px for information-heavy transitions.
 */
body.iig-home {
    --iig-text: #1D1B20;
    --iig-text-muted: #4D4D54;
    --iig-surface: #FFFFFF;
    --iig-surface-soft: #F5F5F8;
    --iig-accent: #03969D;
    --iig-space-related: 32px;
    --iig-space-subsection: 48px;
    --iig-space-controls: 24px;
    --iig-space-section: 64px;
    --iig-space-featured: 80px;
}

body.iig-home main {
    color: var(--iig-text);
}

/* Unified heading hierarchy */
body.iig-home .iig-home-title {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    margin: 0 auto var(--iig-space-related) !important;
    padding: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    color: var(--iig-text) !important;
    font-size: 32px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    letter-spacing: -0.015em;
    text-align: center !important;
    text-shadow: none !important;
    text-transform: none !important;
}

body.iig-home .iig-home-title::after {
    display: none !important;
}

body.iig-home .iig-home-title--primary {
    font-size: 36px !important;
    line-height: 1.22 !important;
    font-weight: 700 !important;
}

body.iig-home .iig-home-title--inverse {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

body.iig-home .iig-home-subtitle {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    margin: var(--iig-space-related) auto 24px !important;
    padding: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    color: var(--iig-text) !important;
    font-size: 24px !important;
    line-height: 1.33 !important;
    font-weight: 600 !important;
    text-align: center !important;
}

body.iig-home #bk13w .iig-home-subtitle ~ .iig-home-subtitle {
    margin-top: 48px !important;
}

body.iig-home #bk02w > .iig-home-lead {
    margin-top: 48px !important;
}

body.iig-home #bk16h2w {
    position: relative;
    min-height: 54px;
    align-items: center;
}

body.iig-home #bk16h2w .iig-home-title {
    flex: 1 1 auto;
    margin-bottom: 0 !important;
    text-align: center !important;
}

body.iig-home #bk16-blog-ui {
    position: absolute;
    top: 0;
    right: 0;
}

body.iig-home #bk20h2 {
    margin-bottom: 40px !important;
}

body.iig-home #b15h2 {
    margin: 0 0 var(--iig-space-related) !important;
    color: #FFFFFF !important;
    font-size: 32px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    text-align: center !important;
}

/* Predictable top-level section rhythm */
body.iig-home main > div[id^="bk"] {
    margin-bottom: var(--iig-space-section) !important;
}

body.iig-home main > #bk01,
body.iig-home main > #bk02,
body.iig-home main > #bk14,
body.iig-home main > #bk16 {
    margin-bottom: var(--iig-space-featured) !important;
}

body.iig-home main > #bk11-13 {
    margin-bottom: var(--iig-space-section) !important;
}

body.iig-home main > #bk13 {
    margin-bottom: var(--iig-space-featured) !important;
}

body.iig-home main > #bk20 {
    margin-bottom: 0 !important;
}

body.iig-home #bk01bw,
body.iig-home #bk02w,
body.iig-home #bk03w,
body.iig-home #bk04w,
body.iig-home #bk05w,
body.iig-home #bk06w,
body.iig-home #bk07w,
body.iig-home main > #bk08 #bk08_a,
body.iig-home #bk09w,
body.iig-home #bk10w,
body.iig-home #bk13w,
body.iig-home #bk14w,
body.iig-home #bk15w2,
body.iig-home #bk16w2,
body.iig-home #bk19w2 {
    margin-bottom: 0 !important;
}

body.iig-home #bk11-13 > #bk11,
body.iig-home #bk11-13 > #bk12 {
    margin-bottom: var(--iig-space-related) !important;
}

body.iig-home #bk11-13 > #bk12 {
    margin-bottom: 0 !important;
}

body.iig-home #bk11-13 #bk11w,
body.iig-home #bk11-13 #bk12w {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Consistent rhythm inside the letters/partners group. */
body.iig-home #bk13w > .iig-home-subtitle:first-child {
    margin-top: 0 !important;
}

body.iig-home #bk13w > .b13_s + #h3b11s-b,
body.iig-home #bk13w > #b11_s-b + .iig-home-subtitle {
    margin-top: var(--iig-space-subsection) !important;
}

body.iig-home #bk13w > .iig-home-subtitle {
    margin-bottom: var(--iig-space-controls) !important;
}

body.iig-home #b12_swA,
body.iig-home #bk11-13 .b11_s,
body.iig-home #bk13w > #b11_s-b {
    margin-top: 0 !important;
}

body.iig-home #b12_swA > .x-swiper-buttons,
body.iig-home #bk13w > .b13_s > .x-swiper-buttons {
    margin-top: var(--iig-space-controls) !important;
}

body.iig-home :is(#b11_s, #b11_s-b) > .x-swiper-buttons {
    margin-top: var(--iig-space-controls) !important;
}

body.iig-home :is(#b11_s, #b11_s-b) > .x-swiper-buttons:has(> .swiper-pagination-lock) {
    margin-top: 0 !important;
}

body.iig-home #bk02 #bk08_a {
    margin: 0 0 48px !important;
    padding: 32px 0 !important;
}

body.iig-home #bk02,
body.iig-home #bk02w,
body.iig-home #bk16,
body.iig-home #bk16w {
    overflow: visible !important;
}

body.iig-home #bk16w2 {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
}

body.iig-home #bk02w > h1 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* One neutral background instead of two almost identical greys */
body.iig-home #bk03w,
body.iig-home #bk04w,
body.iig-home #bk06,
body.iig-home #bk07_a .bk07_b,
body.iig-home #b17_a .b17_b {
    background-color: var(--iig-surface-soft) !important;
}

body.iig-home #bk16w2,
body.iig-home #bk19w2,
body.iig-home #b19_c,
body.iig-home #b19_b h3.now {
    background-color: var(--iig-surface) !important;
}

body.iig-home #b19_b h3.now::after {
    background-color: var(--iig-surface) !important;
}

/* Motion remains visible while dragging and is calm between states */
body.iig-home #bk01a {
    transition-timing-function: cubic-bezier(.22, .61, .36, 1);
}

body.iig-home #bk01a .swiper-slide {
    opacity: 1 !important;
}

body.iig-home #bk14w2,
body.iig-home #b14_a {
    margin-top: 0 !important;
}

body.iig-home #b14_c {
    padding-top: 0;
}

body.iig-home #b14_bn2 {
    max-width: none;
}

body.iig-home #bk20w2 {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
}

body.iig-home #bk20h2 {
    margin-bottom: 28px !important;
    font-size: 28px !important;
    line-height: 1.3 !important;
}

body.iig-home #b20_a2 {
    font-size: 18px !important;
    line-height: 1.3 !important;
}

body.iig-home #b20_a .b20_b {
    border-radius: 16px !important;
}

body.iig-home #b20_a .b20_b::before {
    min-width: 40px !important;
    max-width: 40px !important;
}

body.iig-home #b20_a .b20_c {
    gap: 4px !important;
    font-size: 18px !important;
}

body.iig-home #b20_a .b20_sr {
    gap: 4px !important;
}

body.iig-home #b20_a .b20_sr > div {
    min-width: 20px !important;
    max-width: 20px !important;
}

body.iig-home #b20_tools {
    gap: 10px !important;
    margin-top: 24px !important;
}

body.iig-home #b20_tools .b20_tool {
    padding: 14px 10px !important;
    border-radius: 16px !important;
}

body.iig-home #b20_tools .b20_tool:hover,
body.iig-home #b20_tools .b20_tool:focus-visible {
    transform: translateY(-2px);
}

body.iig-home #b20_tools .b20_tool-icon {
    width: 52px !important;
    height: 52px !important;
}

body.iig-home #b20_tools .b20_tool-title {
    margin-top: 10px !important;
    font-size: 17px !important;
}

body.iig-home #b20_tools .b20_tool-text {
    margin-top: 6px !important;
    font-size: 14px !important;
}

@media (min-width: 768px) {
    body.iig-home #bk20w {
        max-width: 720px !important;
    }

    body.iig-home #b20_a {
        justify-content: center !important;
        gap: 12px !important;
    }

    body.iig-home #b20_a .b20_b {
        min-width: 220px !important;
        max-width: 220px !important;
        min-height: 72px !important;
        padding: 8px !important;
        gap: 10px !important;
        justify-content: center !important;
    }

    body.iig-home #b20_tools .b20_tool {
        min-height: 156px !important;
    }
}

@media (max-width: 767px) {
    body.iig-home {
        --iig-space-related: 24px;
        --iig-space-subsection: 40px;
        --iig-space-controls: 16px;
        --iig-space-section: 40px;
        --iig-space-featured: 48px;
    }

    body.iig-home .iig-home-title {
        font-size: 24px !important;
        line-height: 1.33 !important;
        letter-spacing: -0.01em;
    }

    body.iig-home .iig-home-title--primary {
        font-size: 28px !important;
        line-height: 1.29 !important;
    }

    body.iig-home .iig-home-subtitle {
        margin-top: 24px !important;
        margin-bottom: 16px !important;
        font-size: 20px !important;
        line-height: 1.4 !important;
    }

    body.iig-home #b15h2 {
        margin-bottom: 24px !important;
        font-size: 24px !important;
        line-height: 1.33 !important;
    }

    body.iig-home #bk02 #bk08_a {
        margin-bottom: 32px !important;
        padding: 24px 16px !important;
    }

    body.iig-home #bk16h2w {
        align-items: stretch;
        flex-direction: column;
    }

    body.iig-home #bk16h2w .iig-home-title {
        text-align: center !important;
    }

    body.iig-home #bk16-blog-ui {
        position: static;
        top: auto;
        align-self: center;
    }

    body.iig-home #bk20w2 {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }

    body.iig-home #bk20h2 {
        margin-bottom: 24px !important;
        font-size: 24px !important;
        line-height: 1.33 !important;
    }

    #xform-info > .g-recaptcha {
        max-width: none;
        margin: 0 auto -9px;
        transform: none;
        zoom: .88;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.iig-home #bk01a,
    body.iig-home #b16_a0 .b16_a,
    body.iig-home #bk16h2w > h2,
    body.iig-home #b20_tools .b20_tool {
        transition-duration: 0.01ms !important;
    }
}

/*
 * Desktop alignment: sections and the footer follow the visible purple
 * navigation bar, while the original header/menu container stays untouched.
 */
@media (min-width: 768px) {
    body.iig-home main > div[id^="bk"] {
        width: calc(100% - 40px) !important;
        max-width: 1500px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
    body.iig-home #b16_a0 .b16_a {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px !important;
    }

    body.iig-home #b16_a0 .b16_b,
    body.iig-home #b16_a0 .b17_b {
        width: auto !important;
        min-width: 0;
    }

    body.iig-home #b19_c .b19_c1:not(.now) {
        display: none !important;
    }

    body.iig-home #b19_c .b19_c1.now {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px !important;
        justify-content: center;
    }

    body.iig-home #b19_c .b19_card {
        width: auto !important;
        min-width: 0;
    }
}

@media (min-width: 768px) and (max-width: 980px) {
    body.iig-home #b16_a0 .b16_a,
    body.iig-home #b19_c .b19_c1.now {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width:767px){body.iig-home main>div[id^="bk"]{width:calc(100% - 10px)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important;}}
@media (min-width:768px){body.iig-home #bk01w,body.iig-home #bk01bw,body.iig-home #bk02w,body.iig-home #bk05w{max-width:100%!important;width:100%!important;padding-left:0!important;padding-right:0!important;}}

/* Mobile homepage polish: compact hero and a steadier vertical rhythm. */
@media (max-width: 767px) {
    body.iig-home main > #bk01 {
        width: 100% !important;
        margin-bottom: 40px !important;
    }

    body.iig-home #bk01w {
        width: calc(100% - 24px) !important;
        max-width: none !important;
        margin-right: auto !important;
        margin-left: auto !important;
        border-radius: 0 !important;
        transition: height 0.25s ease;
    }

    body.iig-home #bk01bw {
        width: 100% !important;
        max-width: 100% !important;
        height: 0;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    body.iig-home #bk01a .swiper-slide {
        box-sizing: border-box;
    }

    body.iig-home #bk01a .slider_home_img {
        width: 100%;
        aspect-ratio: 16 / 9;
        background-position: center;
    }

    body.iig-home #bk01a .slider_text {
        width: calc(100% - 24px) !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 230px !important;
        min-height: 0 !important;
        margin: -28px auto 0 !important;
        padding: 18px !important;
        overflow: hidden;
        border: 1px solid rgba(131, 116, 159, 0.12);
        background: rgba(245, 245, 248, 0.96) !important;
        box-shadow: 0 12px 30px rgba(45, 38, 55, 0.12);
        backdrop-filter: blur(8px);
        box-sizing: border-box;
        gap: 10px;
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    body.iig-home #bk01a .slider_text > h3 {
        display: -webkit-box;
        overflow: hidden;
        margin: 0;
        font-size: 18px;
        line-height: 1.3;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }

    body.iig-home #bk01a .slider_text > p {
        display: -webkit-box;
        overflow: hidden;
        margin: 0;
        font-size: 15px;
        line-height: 1.45;
        word-break: normal;
        overflow-wrap: break-word;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    body.iig-home #bk01a .slider_text > a {
        min-height: 46px;
        margin: auto auto 0;
        padding: 10px 24px;
        border-radius: 12px;
        font-size: 15px;
    }

    body.iig-home #s-p-01 {
        min-height: 18px;
        margin-top: 14px;
        gap: 7px;
        align-items: center;
    }

    body.iig-home #s-p-01 span {
        width: 10px;
        height: 10px;
    }

    body.iig-home #bk02w > .iig-home-lead {
        margin-top: 32px !important;
    }

    body.iig-home #bk09_a {
        gap: 24px !important;
    }

    body.iig-home #bk09_a .bk09_a2 {
        padding-top: 8px;
    }

    body.iig-home #bk09_a p {
        font-size: 15px;
        line-height: 1.45;
    }

    body.iig-home #bk02w,
    body.iig-home #bk05w,
    body.iig-home #bk06w {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.iig-home #bk06_a,
    body.iig-home #bk06_b {
        max-width: calc(100% - 24px);
    }

    body.iig-home #b19_b h3,
    body.iig-home #b20_a .b20_b {
        width: 100%;
        min-width: 0 !important;
        max-width: 360px !important;
    }

    body.iig-home #b20_tools .b20_tool {
        grid-template-columns: 52px minmax(0, 1fr) !important;
    }
}

@media (max-width: 360px) {
    body.iig-home #bk01a .slider_text {
        height: 236px !important;
        padding: 16px !important;
    }

    body.iig-home #bk01a .slider_text > h3 {
        font-size: 17px;
    }

    body.iig-home #it_b06-s,
    body.iig-home #it_b06-s::placeholder {
        font-size: 19px;
    }
}

@media (max-width: 480px) {
    body.iig-home #bk02w > a {
        width: 100%;
    }

    body.iig-home #bk02w {
        gap: 12px;
    }

    body.iig-home #bk02w .b02_a {
        aspect-ratio: 16 / 9;
    }
}
