/*
 * ITUM Insights
 * A navigation overlay that borrows the visual language of service pages,
 * while remaining completely outside the fullPage service scroll sequence.
 */
#insights.itum-insights-overlay .nav-overlay-bg,
#insights.itum-insights-overlay .nav-overlay-bg-layer {
    transition: all .45s ease;
}

#insights.itum-insights-overlay .nav-overlay-inner {
    position: relative;
    padding: 0;
    overflow: hidden;
    vertical-align: bottom;
}

#insights.itum-insights-overlay .insights-index-view,
#insights.itum-insights-overlay .insights-detail-view {
    position: absolute;
    left: 0;
    width: 100%;
}

#insights.itum-insights-overlay .insights-index-view {
    bottom: 100px;
}

#insights.itum-insights-overlay .insights-detail-view {
    top: 0;
    height: 100%;
    display: none;
    padding-top: 170px;
}

#insights.itum-insights-overlay.insights-detail-open .insights-index-view {
    display: none;
}

#insights.itum-insights-overlay.insights-detail-open .insights-detail-view {
    display: block;
}

#insights.itum-insights-overlay.insights-detail-open .nav-overlay-bg {
    transform: translate(20%, 0) scale(1.4);
    opacity: .12;
}

#insights.itum-insights-overlay.insights-detail-open .nav-overlay-bg-layer {
    width: 70%;
    background: #1b1b1b;
    opacity: .76;
}

#insights.itum-insights-overlay .insights-index-column,
#insights.itum-insights-overlay .insights-detail-column {
    position: relative;
}

#insights.itum-insights-overlay .insights-index-box {
    height: auto !important;
    max-height: none !important;
    margin: 0 12% 20px 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    opacity: 1;
    transform: none;
    color: #dce6f7;
}

#insights.itum-insights-overlay .insights-index-box .itum-page-content-head {
    height: 36px;
    margin-bottom: 10px;
    padding-left: 46px;
    background: url("../images/icons.png") no-repeat 0 -216px;
    background-size: 36px;
    color: #25b8da;
    font-size: 14px;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: .02em;
}

#insights.itum-insights-overlay .insights-index-box h2 {
    margin: 0 0 14px;
    color: #dce6f7;
    font-size: 72px;
    font-weight: 300;
    line-height: 100%;
    letter-spacing: -.02em;
}

#insights.itum-insights-overlay .insights-intro {
    max-width: 540px;
    margin: 0 0 20px;
    color: #dce6f7;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    opacity: .92;
}

#insights.itum-insights-overlay .insights-article-list {
    max-height: 310px;
    margin-top: 24px;
    padding-right: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    border-top: 1px solid rgba(220, 230, 247, .24);
    scrollbar-color: rgba(36, 184, 218, .72) rgba(220, 230, 247, .08);
    scrollbar-width: thin;
}

#insights.itum-insights-overlay .insights-article-list::-webkit-scrollbar,
#insights.itum-insights-overlay .insights-detail-scroll::-webkit-scrollbar {
    width: 4px;
}

#insights.itum-insights-overlay .insights-article-list::-webkit-scrollbar-track,
#insights.itum-insights-overlay .insights-detail-scroll::-webkit-scrollbar-track {
    background: rgba(220, 230, 247, .08);
}

#insights.itum-insights-overlay .insights-article-list::-webkit-scrollbar-thumb,
#insights.itum-insights-overlay .insights-detail-scroll::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: rgba(36, 184, 218, .72);
}

#insights.itum-insights-overlay .insights-article-link {
    min-height: 96px;
    display: flex;
    position: relative;
    align-items: flex-start;
    padding: 18px 42px 18px 0;
    border-bottom: 1px solid rgba(220, 230, 247, .24);
    color: #fff;
    line-height: 1.25;
    text-align: left;
    transition: color .3s ease, padding-left .3s ease, border-color .3s ease;
}

.no-touch #insights.itum-insights-overlay .insights-article-link:hover {
    padding-left: 10px;
    border-color: rgba(36, 184, 218, .85);
    color: #24b8da;
}

#insights.itum-insights-overlay .insights-article-number {
    flex: 0 0 40px;
    padding-top: 2px;
    color: #24b8da;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
}

#insights.itum-insights-overlay .insights-article-copy {
    min-width: 0;
    display: block;
}

#insights.itum-insights-overlay .insights-article-copy strong {
    display: block;
    margin-bottom: 7px;
    color: currentColor;
    font-size: 18px;
    font-weight: 500;
}

#insights.itum-insights-overlay .insights-article-copy span {
    display: block;
    color: #dce6f7;
    font-size: 13px;
    font-weight: 300;
    opacity: .86;
}

#insights.itum-insights-overlay .insights-article-arrow {
    width: 14px;
    height: 12px;
    position: absolute;
    top: 50%;
    right: 4px;
    margin-top: -6px;
    background: url("../images/home-icon-button-arrow.png") no-repeat center;
    background-size: 14px;
    transition: transform .3s cubic-bezier(.45, .01, .265, 1.365);
}

.no-touch #insights.itum-insights-overlay .insights-article-link:hover .insights-article-arrow {
    transform: translateX(8px);
}

#insights.itum-insights-overlay .insights-detail-column {
    min-height: calc(100vh - 220px);
}

#insights.itum-insights-overlay .insights-article-detail {
    margin-right: 75px;
    padding-right: 465px;
    color: #dce6f7;
}

#insights.itum-insights-overlay .insights-article-eyebrow {
    margin-bottom: 10px;
    color: #24b8da;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
}

#insights.itum-insights-overlay .insights-article-detail h1 {
    margin: 0 -75% 8px 0;
    color: #24b8da;
    font-size: 72px;
    font-weight: 300;
    line-height: 100%;
    letter-spacing: -.02em;
}

#insights.itum-insights-overlay .insights-article-meta {
    display: flex;
    gap: 20px;
    margin: 0 0 18px;
    color: #dce6f7;
    font-size: 12px;
    font-weight: 300;
    opacity: .82;
}

#insights.itum-insights-overlay .insights-article-reading-time:before {
    content: "•";
    margin-right: 20px;
    color: #24b8da;
}

#insights.itum-insights-overlay .insights-detail-scroll {
    max-height: calc(100vh - 355px);
    padding-right: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-color: rgba(36, 184, 218, .72) rgba(220, 230, 247, .08);
    scrollbar-width: thin;
}

#insights.itum-insights-overlay .insights-article-detail .headline {
    color: #dce6f7;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
}

#insights.itum-insights-overlay .insights-article-detail .headline p {
    margin: 0 0 20px;
    font-size: 16px;
}

#insights.itum-insights-overlay .insights-article-body {
    padding-top: 6px;
}

#insights.itum-insights-overlay .insights-article-body h2 {
    margin: 28px 0 14px;
    color: #24b8da;
    font-size: 24px;
    font-weight: 300;
}

#insights.itum-insights-overlay .insights-article-body h3 {
    position: relative;
    margin: 0;
    padding: 13px 0 13px 28px;
    border-bottom: 1px solid rgba(220, 230, 247, .15);
    color: #dce6f7;
    font-size: 16px;
    font-weight: 400;
}

#insights.itum-insights-overlay .insights-article-body h3:before {
    content: "";
    width: 8px;
    height: 8px;
    position: absolute;
    top: 20px;
    left: 2px;
    border-radius: 50%;
    background: #24b8da;
    box-shadow: 0 0 12px rgba(36, 184, 218, .65);
}

#insights.itum-insights-overlay .insights-article-back {
    width: 124px;
    height: 36px;
    display: block;
    margin-top: 20px;
    border: 2px solid #ed1266;
    border-radius: 18px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: .1em;
    text-align: center;
    text-transform: uppercase;
}

#insights.itum-insights-overlay .insights-article-back:before {
    content: "";
    width: 14px;
    height: 12px;
    display: inline-block;
    margin-top: 10px;
    margin-right: 8px;
    vertical-align: top;
    background: url("../images/home-icon-button-arrow.png") no-repeat;
    background-size: 14px;
    transform: rotate(180deg);
    transition: all .3s cubic-bezier(.45, .01, .265, 1.365);
}

.no-touch #insights.itum-insights-overlay .insights-article-back:hover:before {
    transform: rotate(180deg) translateX(10px);
}

#insights.itum-insights-overlay .insights-article-illustration {
    position: relative;
    float: right;
    height: 300px;
    margin-top: -300px;
    margin-right: 40px;
}

#insights.itum-insights-overlay .insights-article-illustration object {
    width: auto;
    height: 100%;
    display: block;
    margin: 0;
    padding: 0;
    opacity: .95;
    transform: scale(1);
}

@media (max-width: 1199px) {
    #insights.itum-insights-overlay .insights-index-box {
        margin-right: 4% !important;
    }

    #insights.itum-insights-overlay .insights-index-box h2,
    #insights.itum-insights-overlay .insights-article-detail h1 {
        font-size: 58px;
    }

    #insights.itum-insights-overlay .insights-article-link {
        min-height: 84px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    #insights.itum-insights-overlay .insights-article-copy strong {
        font-size: 16px;
    }

    #insights.itum-insights-overlay .insights-article-detail {
        padding-right: 340px;
    }

    #insights.itum-insights-overlay .insights-article-illustration {
        height: 245px;
        margin-top: -245px;
    }
}

@media (max-width: 767px) {
    #insights.itum-insights-overlay,
    #insights.itum-insights-overlay .nav-overlay-wrapper,
    #insights.itum-insights-overlay .nav-overlay-content,
    #insights.itum-insights-overlay .nav-overlay-inner {
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    #insights.itum-insights-overlay .nav-overlay-inner {
        display: block !important;
        padding: 0 !important;
        vertical-align: top !important;
    }

    #insights.itum-insights-overlay .nav-overlay-bg-layer {
        width: 100%;
        opacity: .82;
    }

    #insights.itum-insights-overlay.insights-detail-open .nav-overlay-bg {
        transform: scale(1.12);
        opacity: .08;
    }

    #insights.itum-insights-overlay.insights-detail-open .nav-overlay-bg-layer {
        width: 100%;
        opacity: .86;
    }

    #insights.itum-insights-overlay .insights-index-view,
    #insights.itum-insights-overlay .insights-detail-view {
        top: 126px;
        bottom: 0;
        height: auto;
        padding: 0 0 112px;
        overflow: hidden;
    }

    #insights.itum-insights-overlay .insights-index-view .container,
    #insights.itum-insights-overlay .insights-index-view .row,
    #insights.itum-insights-overlay .insights-index-column,
    #insights.itum-insights-overlay .insights-detail-view .container,
    #insights.itum-insights-overlay .insights-detail-view .row,
    #insights.itum-insights-overlay .insights-detail-column {
        height: 100% !important;
        min-height: 0 !important;
    }

    #insights.itum-insights-overlay .insights-index-column,
    #insights.itum-insights-overlay .insights-detail-column {
        display: block !important;
        position: relative !important;
    }

    #insights.itum-insights-overlay .insights-index-box {
        height: 100% !important;
        max-height: none !important;
        display: flex;
        flex-direction: column;
        margin: 0 !important;
        padding: 0 8px 0 0 !important;
        overflow: hidden !important;
    }

    #insights.itum-insights-overlay .insights-index-box .itum-page-content-head {
        flex: 0 0 auto;
        height: 30px;
        margin-bottom: 6px;
        padding-left: 38px;
        background-position: 0 -180px;
        background-size: 30px;
        font-size: 12px;
        line-height: 30px;
    }

    #insights.itum-insights-overlay .insights-index-box h2 {
        flex: 0 0 auto;
        margin-bottom: 8px;
        font-size: 38px;
    }

    #insights.itum-insights-overlay .insights-intro {
        flex: 0 0 auto;
        margin-bottom: 8px;
        font-size: 14px;
        line-height: 1.3;
    }

    #insights.itum-insights-overlay .insights-article-list {
        flex: 1 1 auto;
        max-height: none;
        min-height: 0;
        margin-top: 10px;
        padding-right: 4px;
    }

    #insights.itum-insights-overlay .insights-article-link {
        min-height: 70px;
        padding: 11px 30px 11px 0;
    }

    #insights.itum-insights-overlay .insights-article-number {
        flex-basis: 32px;
        font-size: 10px;
    }

    #insights.itum-insights-overlay .insights-article-copy strong {
        margin-bottom: 4px;
        font-size: 14px;
        line-height: 1.25;
    }

    #insights.itum-insights-overlay .insights-article-copy span {
        font-size: 11px;
        line-height: 1.3;
    }

    #insights.itum-insights-overlay .insights-article-arrow {
        right: 0;
    }

    #insights.itum-insights-overlay .insights-detail-view {
        overflow: visible;
    }

    #insights.itum-insights-overlay .insights-article-detail {
        height: 100%;
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0 4px 0 0;
    }

    #insights.itum-insights-overlay .insights-article-eyebrow {
        flex: 0 0 auto;
        margin: 0 0 6px;
        font-size: 10px;
    }

    #insights.itum-insights-overlay .insights-article-detail h1 {
        flex: 0 0 auto;
        margin: 0 0 7px;
        font-size: 38px;
        line-height: 1.02;
    }

    #insights.itum-insights-overlay .insights-article-meta {
        flex: 0 0 auto;
        gap: 12px;
        margin: 0 0 10px;
        font-size: 10px;
    }

    #insights.itum-insights-overlay .insights-article-reading-time:before {
        margin-right: 12px;
    }

    #insights.itum-insights-overlay .insights-detail-scroll {
        flex: 1 1 auto;
        max-height: none;
        min-height: 0;
        padding-right: 6px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    #insights.itum-insights-overlay .insights-article-detail .headline,
    #insights.itum-insights-overlay .insights-article-detail .headline p {
        font-size: 13px;
        line-height: 1.4;
    }

    #insights.itum-insights-overlay .insights-article-body h2 {
        margin: 18px 0 8px;
        font-size: 18px;
    }

    #insights.itum-insights-overlay .insights-article-body h3 {
        padding: 10px 0 10px 24px;
        font-size: 13px;
        line-height: 1.35;
    }

    #insights.itum-insights-overlay .insights-article-body h3:before {
        width: 6px;
        height: 6px;
        top: 16px;
    }

    #insights.itum-insights-overlay .insights-article-illustration {
        display: none;
    }

    #insights.itum-insights-overlay .insights-article-back {
        position: fixed;
        left: 15px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 62px);
        z-index: 12;
        margin: 0;
    }

    #insights.itum-insights-overlay.insights-detail-open .insights-overlay-back {
        display: none !important;
    }
}

@media (max-width: 767px) and (max-height: 740px) {
    #insights.itum-insights-overlay .insights-index-view,
    #insights.itum-insights-overlay .insights-detail-view {
        top: 112px;
        padding-bottom: 108px;
    }

    #insights.itum-insights-overlay .insights-index-box h2,
    #insights.itum-insights-overlay .insights-article-detail h1 {
        font-size: 34px;
    }

    #insights.itum-insights-overlay .insights-article-back {
        bottom: calc(env(safe-area-inset-bottom, 0px) + 60px);
    }
}

/* Override legacy mobile rules that previously targeted the old #insights overlay. */
@media (max-width: 767px) {
    html body.tr-site #insights.itum-insights-overlay .nav-overlay-wrapper,
    html body.tr-site #insights.itum-insights-overlay .nav-overlay-content,
    html body.tr-site #insights.itum-insights-overlay .nav-overlay-inner {
        display: block !important;
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 0 !important;
    }

    html body.tr-site #insights.itum-insights-overlay .nav-overlay-inner {
        padding: 0 !important;
        overflow: hidden !important;
        vertical-align: top !important;
    }

    html body.tr-site #insights.itum-insights-overlay .insights-index-box {
        height: 100% !important;
        max-height: none !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
}

/*
 * Desktop refinement
 * Keeps the mobile layout untouched while making both the Insights index and
 * article view denser, aligned and easier to scan on notebook/desktop screens.
 */
@media (min-width: 768px) {
    #insights.itum-insights-overlay .insights-index-view {
        top: 142px;
        bottom: 72px;
        display: flex;
        align-items: center;
    }

    #insights.itum-insights-overlay .insights-index-view > .container {
        width: 100%;
    }

    #insights.itum-insights-overlay .insights-index-box {
        max-width: 570px;
        margin: 0 8% 18px 0 !important;
    }

    #insights.itum-insights-overlay .insights-index-box .itum-page-content-head {
        height: 32px;
        margin-bottom: 7px;
        padding-left: 41px;
        background-position: 0 -192px;
        background-size: 32px;
        font-size: 12px;
        line-height: 32px;
        letter-spacing: .08em;
    }

    #insights.itum-insights-overlay .insights-index-box h2 {
        margin-bottom: 10px;
        font-size: 58px;
        line-height: .98;
    }

    #insights.itum-insights-overlay .insights-intro {
        max-width: 500px;
        margin-bottom: 14px;
        font-size: 14px;
        line-height: 1.35;
    }

    #insights.itum-insights-overlay .insights-article-list {
        max-height: 276px;
        margin-top: 16px;
    }

    #insights.itum-insights-overlay .insights-article-link {
        min-height: 78px;
        padding: 13px 38px 13px 0;
    }

    #insights.itum-insights-overlay .insights-article-number {
        flex-basis: 38px;
        font-size: 11px;
    }

    #insights.itum-insights-overlay .insights-article-copy strong {
        margin-bottom: 5px;
        font-size: 16px;
    }

    #insights.itum-insights-overlay .insights-article-copy span {
        font-size: 12px;
        line-height: 1.35;
    }

    #insights.itum-insights-overlay .insights-detail-view {
        top: 0;
        height: 100%;
        padding: 138px 0 70px;
    }

    #insights.itum-insights-overlay .insights-detail-view > .container,
    #insights.itum-insights-overlay .insights-detail-view > .container > .row,
    #insights.itum-insights-overlay .insights-detail-column {
        height: 100%;
        min-height: 0;
    }

    #insights.itum-insights-overlay .insights-detail-column {
        position: relative;
    }

    #insights.itum-insights-overlay .insights-article-detail {
        width: 58%;
        max-width: 690px;
        height: calc(100% - 52px);
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0 12px 0 0;
    }

    #insights.itum-insights-overlay .insights-article-eyebrow {
        flex: 0 0 auto;
        margin-bottom: 7px;
        font-size: 11px;
    }

    #insights.itum-insights-overlay .insights-article-detail h1 {
        flex: 0 0 auto;
        max-width: 660px;
        margin: 0 0 6px;
        font-size: 54px;
        line-height: .98;
    }

    #insights.itum-insights-overlay .insights-article-meta {
        flex: 0 0 auto;
        gap: 16px;
        margin-bottom: 12px;
        font-size: 11px;
    }

    #insights.itum-insights-overlay .insights-article-reading-time:before {
        margin-right: 16px;
    }

    #insights.itum-insights-overlay .insights-detail-scroll {
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
        padding-right: 10px;
        overflow-y: auto;
    }

    #insights.itum-insights-overlay .insights-article-detail .headline,
    #insights.itum-insights-overlay .insights-article-detail .headline p {
        font-size: 14px;
        line-height: 1.38;
    }

    #insights.itum-insights-overlay .insights-article-detail .headline p {
        margin-bottom: 12px;
    }

    #insights.itum-insights-overlay .insights-article-body {
        padding-top: 0;
    }

    #insights.itum-insights-overlay .insights-article-body h2 {
        margin: 18px 0 8px;
        font-size: 21px;
        line-height: 1.2;
    }

    #insights.itum-insights-overlay .insights-article-body h3 {
        padding: 9px 0 9px 24px;
        font-size: 14px;
        line-height: 1.3;
    }

    #insights.itum-insights-overlay .insights-article-body h3:before {
        width: 6px;
        height: 6px;
        top: 15px;
    }

    #insights.itum-insights-overlay .insights-article-back {
        position: absolute;
        left: 0;
        bottom: 0;
        margin: 0;
    }

    #insights.itum-insights-overlay .insights-article-illustration {
        width: 31%;
        height: min(31vh, 255px);
        position: absolute;
        top: 52%;
        right: 1.5%;
        float: none;
        margin: 0;
        transform: translateY(-42%);
    }

    #insights.itum-insights-overlay .insights-article-illustration object {
        max-width: 100%;
        height: 100%;
        margin: 0 auto;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    #insights.itum-insights-overlay .insights-index-box h2 {
        font-size: 50px;
    }

    #insights.itum-insights-overlay .insights-article-detail {
        width: 64%;
    }

    #insights.itum-insights-overlay .insights-article-detail h1 {
        font-size: 46px;
    }

    #insights.itum-insights-overlay .insights-article-illustration {
        width: 28%;
        height: min(27vh, 215px);
    }
}

@media (min-width: 768px) and (max-height: 850px) {
    #insights.itum-insights-overlay .insights-index-view {
        top: 122px;
        bottom: 58px;
    }

    #insights.itum-insights-overlay .insights-index-box h2 {
        font-size: 52px;
    }

    #insights.itum-insights-overlay .insights-detail-view {
        padding-top: 118px;
        padding-bottom: 56px;
    }

    #insights.itum-insights-overlay .insights-article-detail {
        height: calc(100% - 46px);
    }

    #insights.itum-insights-overlay .insights-article-detail h1 {
        font-size: 50px;
    }

    #insights.itum-insights-overlay .insights-article-body h2 {
        margin-top: 14px;
    }

    #insights.itum-insights-overlay .insights-article-body h3 {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    #insights.itum-insights-overlay .insights-article-body h3:before {
        top: 14px;
    }
}

/* The source artwork is intentionally asymmetrical. Centre its focal point on phones. */
@media (max-width: 767px) {
    #insights.itum-insights-overlay:not(.insights-detail-open) .nav-overlay-bg {
        background-position: 50% 50% !important;
        background-size: cover !important;
    }
}

/*
 * Desktop footer clearance
 * Reserve a dedicated footer-safe band so the article back button never
 * collides with the fixed copyright line. Mobile positioning is unchanged.
 */
@media (min-width: 768px) {
    #insights.itum-insights-overlay .insights-article-detail {
        height: calc(100% - 104px);
    }

    #insights.itum-insights-overlay .insights-article-back {
        bottom: 48px;
    }
}


/* Article typography and alphabetic outline refinement */
#insights.itum-insights-overlay .insights-article-detail .headline,
#insights.itum-insights-overlay .insights-article-detail .headline p,
#insights.itum-insights-overlay .insights-article-detail .headline strong {
    font-style: normal;
    font-weight: 400;
}

#insights.itum-insights-overlay .insights-article-body {
    counter-reset: insight-outline-item;
}

#insights.itum-insights-overlay .insights-article-body h3 {
    counter-increment: insight-outline-item;
    padding-left: 32px;
}

#insights.itum-insights-overlay .insights-article-body h3:before {
    content: counter(insight-outline-item, lower-alpha) ".";
    width: auto;
    height: auto;
    top: 50%;
    left: 2px;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: #24b8da;
    font-size: .92em;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
}

/* Keep the article title on one line on full desktop widths. */
@media (min-width: 1200px) {
    #insights.itum-insights-overlay .insights-article-detail h1 {
        max-width: none;
        white-space: nowrap;
        font-size: 48px;
        letter-spacing: -.035em;
    }
}

/* Keep the Insights index headline on one line at every viewport size. */
#insights.itum-insights-overlay .insights-index-box h2 {
    white-space: nowrap;
    font-size: clamp(24px, 2.6vw, 36px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

body.en-site #insights.itum-insights-overlay .insights-index-box h2 {
    font-size: clamp(22px, 2.3vw, 32px);
}

@media (max-width: 767px) {
    #insights.itum-insights-overlay .insights-index-box h2 {
        font-size: clamp(18px, 5.45vw, 23px);
        line-height: 1.12;
        letter-spacing: -.03em;
    }

    body.en-site #insights.itum-insights-overlay .insights-index-box h2 {
        font-size: clamp(15px, 4.55vw, 19px);
        letter-spacing: -.035em;
    }
}


/* Desktop-only service-style finishing details for Insights. */
#insights.itum-insights-overlay .insights-detail-badge,
#insights.itum-insights-overlay .insights-photo-credit {
    display: none;
}

@media (min-width: 768px) {
    /* Same graduation-cap badge used by Bireysel ve Kurumsal Eğitimler. */
    #insights.itum-insights-overlay.insights-detail-open .insights-detail-badge {
        display: block;
        left: 70.1%;
        top: 170px;
        opacity: 1;
        pointer-events: none;
    }

    /* Service-page photo-credit language: gradient dot + italic label. */
    #insights.itum-insights-overlay:not(.insights-detail-open) .insights-photo-credit {
        display: block;
        position: absolute;
        right: 30px;
        bottom: 88px;
        z-index: 3;
        min-width: 118px;
        padding-left: 18px;
        color: #ebf1f9;
        font-size: 14px;
        font-weight: 300;
        font-style: italic;
        line-height: 16px;
        text-align: left;
        white-space: nowrap;
        pointer-events: none;
    }

    #insights.itum-insights-overlay .insights-photo-credit:before {
        content: "";
        width: 10px;
        height: 10px;
        position: absolute;
        top: 50%;
        left: 0;
        margin-top: -5px;
        border-radius: 50%;
        background: #ed1266;
        background: linear-gradient(90deg, #ed1266 0, #f04825 100%);
    }
}

@media (min-width: 1200px) {
    #insights.itum-insights-overlay:not(.insights-detail-open) .insights-photo-credit {
        right: calc((100vw - 1140px) / 2);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #insights.itum-insights-overlay:not(.insights-detail-open) .insights-photo-credit {
        right: calc((100vw - 960px) / 2);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #insights.itum-insights-overlay:not(.insights-detail-open) .insights-photo-credit {
        right: calc((100vw - 720px) / 2);
    }

    #insights.itum-insights-overlay.insights-detail-open .insights-detail-badge {
        left: 72%;
        top: 150px;
        transform: scale(.88);
    }
}


/* Keep the bottom-right Insights label aligned like service pages on both desktop and mobile. */
@media (max-width: 767px) {
    #insights.itum-insights-overlay:not(.insights-detail-open) .insights-photo-credit {
        display: block;
        position: absolute;
        right: 18px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 78px);
        z-index: 11;
        min-width: 96px;
        padding-left: 16px;
        color: #ebf1f9;
        font-size: 12px;
        font-weight: 300;
        font-style: italic;
        line-height: 14px;
        text-align: left;
        white-space: nowrap;
        pointer-events: none;
    }

    #insights.itum-insights-overlay .insights-photo-credit:before {
        width: 9px;
        height: 9px;
        margin-top: -4.5px;
    }
}


/* Use the same photo-credit flow as service pages for Insights. */
#insights.itum-insights-overlay .insights-index-view .insights-photo-credit {
    display: block;
    position: relative;
    right: auto;
    bottom: auto;
    z-index: auto;
    min-width: 0;
    margin-top: -16px;
    text-align: left;
    white-space: nowrap;
    pointer-events: none;
}

#insights.itum-insights-overlay.insights-detail-open .insights-photo-credit {
    display: none !important;
}

@media (min-width: 768px) {
    #insights.itum-insights-overlay .insights-index-view .insights-photo-credit {
        float: right;
        margin-right: 0;
    }
}

@media (max-width: 767px) {
    #insights.itum-insights-overlay .insights-index-view .insights-photo-credit {
        display: block;
        float: right;
        position: relative;
        right: auto;
        bottom: auto;
        z-index: auto;
        margin-top: -16px;
        margin-right: 0;
        padding-left: 18px;
        font-size: 14px;
        line-height: 16px;
    }

    #insights.itum-insights-overlay .insights-index-view .insights-photo-credit:before {
        width: 10px;
        height: 10px;
        margin-top: -5px;
    }
}


/* Final positioning for the Insights photo-credit: match service-page behavior on desktop and mobile. */
#insights.itum-insights-overlay .insights-photo-credit {
    display: block;
    position: absolute;
    right: calc((100vw - 1140px) / 2);
    bottom: 88px;
    z-index: 6;
    float: none;
    margin-top: 0;
    padding-left: 18px;
    color: #ebf1f9;
    font-size: 14px;
    font-weight: 300;
    font-style: italic;
    line-height: 16px;
    white-space: nowrap;
    pointer-events: none;
}

#insights.itum-insights-overlay .insights-photo-credit:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-radius: 50%;
    background: linear-gradient(90deg,#ed1266 0,#f04825 100%);
}

#insights.itum-insights-overlay.insights-detail-open .insights-photo-credit {
    display: none !important;
}

@media (min-width: 992px) and (max-width: 1199px) {
    #insights.itum-insights-overlay .insights-photo-credit {
        right: calc((100vw - 960px) / 2);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #insights.itum-insights-overlay .insights-photo-credit {
        right: calc((100vw - 720px) / 2);
    }
}

@media (max-width: 767px) {
    #insights.itum-insights-overlay .insights-photo-credit {
        display: block;
        right: 22px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 76px);
        z-index: 12;
        padding-left: 18px;
        font-size: 14px;
        line-height: 16px;
    }

    #insights.itum-insights-overlay .insights-photo-credit:before {
        width: 10px;
        height: 10px;
        margin-top: -5px;
    }
}


/* Exact service-page photo-credit structure and positioning. */
#insights.itum-insights-overlay .insights-credit-layout {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
}

#insights.itum-insights-overlay .insights-credit-layout .itum-page-content-table,
#insights.itum-insights-overlay .insights-credit-layout .itum-page-content-cell {
    width: 100%;
    height: 100%;
}

#insights.itum-insights-overlay.insights-detail-open .insights-credit-layout {
    display: none;
}


/* Article introduction: separate long technical text into readable paragraphs. */
#insights.itum-insights-overlay .insights-article-detail .headline p {
    margin: 0 0 16px;
}

#insights.itum-insights-overlay .insights-article-detail .headline p:last-child {
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    #insights.itum-insights-overlay .insights-article-detail .headline p {
        margin-bottom: 13px;
    }

    #insights.itum-insights-overlay .insights-article-detail .headline p:last-child {
        margin-bottom: 16px;
    }
}
