/**
 * Intro Tabs Widget Styles
 */

.hp-intro-tabs {
    width: 100%;
}

.hp-intro-tabs__wrap {
    display: flex;
    gap: 48px;
    align-items: stretch;
}

.hp-intro-tabs__sidebar {
    position: relative;
    width: 300px;
    flex-shrink: 0;
    border-radius: 24px;
    overflow: hidden;
}

.hp-intro-tabs__sidebar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #F5FBFF;
    border-radius: 24px;
}

.hp-intro-tabs__list {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 16px 12px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 100%;
    overflow-y: auto;
}

.hp-intro-tabs__list::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.hp-intro-tabs__tab {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 20px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #0A2349;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.hp-intro-tabs__tab.is-active {
    background: #1E5AB2;
    color: #ffffff;
}

.hp-intro-tabs__tab.is-active::after {
    content: '';
    position: absolute;
    right: -10px;
    bottom: -9px;
    width: 18px;
    height: 9px;
    background: #003E83;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.hp-intro-tabs__tab.is-active::before {
    content: '';
    position: absolute;
    right: -10px;
    bottom: 0;
    width: 18px;
    height: 9px;
    background: #ffffff;
    clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

.hp-intro-tabs__content {
    position: relative;
    flex: 1;
    padding: 24px 0;
}

.hp-intro-tabs__panel {
    display: none;
    height: 100%;
}

.hp-intro-tabs__panel.is-active {
    display: block;
}

.hp-intro-tabs__panel-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.hp-intro-tabs__heading {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #00C7F2;
    margin: 0;
}

.hp-intro-tabs__heading span {
    color: #003E83;
}

.hp-intro-tabs__text {
    color: #1F2A44;
    font-size: 16px;
    line-height: 1.7;
}

.hp-intro-tabs__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hp-intro-tabs__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    background: #F0F8FF;
    color: #0A2349;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hp-intro-tabs__chip:hover {
    background: #1E5AB2;
    color: #ffffff;
}

.hp-intro-tabs__button-wrap {
    display: flex;
    justify-content: flex-end;
}

.hp-intro-tabs__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: #00AEEF;
    color: #ffffff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.hp-intro-tabs__button-icon {
    font-size: 18px;
}

.hp-intro-tabs__button:hover {
    filter: brightness(0.95);
}

@media (max-width: 1024px) {
    .hp-intro-tabs__wrap {
        flex-direction: column;
        max-width: 100%;
        min-width: 0;
    }

    .hp-intro-tabs__sidebar {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hp-intro-tabs__list {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        max-width: 100%;
        min-width: 0;
        padding-right: 16px;
        -webkit-overflow-scrolling: touch;
    }

    .hp-intro-tabs__tab {
        white-space: nowrap;
    }

    .hp-intro-tabs__tab.is-active::after,
    .hp-intro-tabs__tab.is-active::before {
        display: none;
    }

    .hp-intro-tabs__content {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .hp-intro-tabs__heading {
        font-size: 28px;
    }

    .hp-intro-tabs__button-wrap {
        justify-content: flex-start;
    }
}
