.ta-index-page {
    background: #07675a;
    color: #fff;
}

.ta-index-page a {
    color: #2fd897;
    text-decoration: none;
}

.ta-index-page a:hover {
    color: #fff;
}

.ta-index-page .ta-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
    min-height: min(720px, 100vh);
    background: #2c45dd;
}

.ta-index-page .ta-hero-media {
    --ta-bar-duration: 5s;
    position: relative;
    min-height: 480px;
    overflow: hidden;
    background: #04072a;
}

.ta-index-page .ta-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

.ta-index-page .ta-slide.is-active {
    z-index: 1;
    opacity: 1;
}

.ta-index-page .ta-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ta-index-page .ta-bars {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 28px;
    z-index: 10;
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.ta-index-page .ta-bar {
    position: relative;
    flex: 1;
    height: 5px;
    border: none;
    padding: 0;
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.45);
    font-family: inherit;
    pointer-events: auto;
}

.ta-index-page .ta-bar-fill {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #2fd897;
    transform: scaleX(0);
    transform-origin: left center;
    pointer-events: none;
}

.ta-index-page .ta-bar.is-complete .ta-bar-fill {
    transform: scaleX(1);
}

.ta-index-page .ta-bar.is-active .ta-bar-fill {
    animation: ta-bar-timer var(--ta-bar-duration, 5s) linear forwards;
}

@keyframes ta-bar-timer {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ta-index-page .ta-bar.is-active .ta-bar-fill {
        animation: none;
        transform: scaleX(1);
    }
}

.ta-index-page .ta-bar::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    bottom: -14px;
}

.ta-index-page .ta-hero-copy {
    padding: clamp(40px, 5vw, 80px) clamp(28px, 5vw, 88px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    min-width: 0;
}

.ta-index-page .ta-hero-copy h1 {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ta-index-page .ta-hero-copy h1 span {
    font: 800 clamp(40px, 4.4vw, 72px) / 1.02 Poppins, sans-serif;
    letter-spacing: -0.035em;
    color: #fff;
    text-wrap: balance;
}

.ta-index-page .ta-hero-copy h1 span.accent {
    color: #2fd897;
}

.ta-index-page .ta-hero-copy p {
    margin: 0;
    font: 400 18px / 1.7 Poppins, sans-serif;
    color: #fff;
    max-width: 560px;
    text-wrap: pretty;
}

.ta-index-page .ta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
}

.ta-index-page .ta-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid #fff;
    font: 700 17px / 1 Poppins, sans-serif;
    color: #fff;
}

.ta-index-page .ta-link:hover {
    color: #2fd897;
    border-color: #2fd897;
}

.ta-index-page .ta-mosaic {
    background: #07675a;
    padding: 56px clamp(20px, 4vw, 40px) 72px;
}

.ta-index-page .ta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr));
    grid-auto-rows: 1fr;
    gap: 24px;
    max-width: 1440px;
    margin: 0 auto;
}

.ta-index-page .ta-card {
    /* Override homepage marquee `.ta-card` (padding + max-width) */
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    padding-inline: 0;
    flex-direction: column;
    overflow: hidden;
    border-radius: 32px;
    background: #12b49c;
    scroll-margin-top: 24px;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.ta-index-page .ta-card.blue {
    background: #2c45dd;
}

.ta-index-page .ta-card:hover {
    box-shadow: 0 0 0 4px #2fd897, 0 30px 60px rgba(4, 7, 42, 0.35);
    transform: translateY(-6px);
}

.ta-index-page .ta-card-media {
    position: relative;
    display: block;
    width: 100%;
    height: clamp(300px, 28vw, 420px);
    overflow: hidden;
    background: #04072a;
    border-radius: 0;
}

.ta-index-page .ta-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s ease;
}

.ta-index-page .ta-card:hover .ta-card-media img {
    transform: scale(1.08);
}

.ta-index-page .ta-card-body {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px 20px;
    padding: 26px 28px 28px;
}

.ta-index-page .ta-card-title {
    font: 800 clamp(24px, 2.2vw, 32px) / 1.05 Poppins, sans-serif;
    letter-spacing: -0.03em;
    color: #fff;
}

.ta-index-page .ta-card-arrow {
    grid-row: span 2;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    color: #2c45dd;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 20px / 1 Poppins, sans-serif;
}

.ta-index-page .ta-card-desc {
    grid-column: 1;
    align-self: start;
    max-height: clamp(7.5rem, 22vh, 11.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding-right: 6px;
    font: 400 15px / 1.6 Poppins, sans-serif;
    color: #fff;
    text-wrap: pretty;
}

.ta-index-page .ta-card-desc::-webkit-scrollbar {
    width: 5px;
}

.ta-index-page .ta-card-desc::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(255 255 255 / 0.35);
}

@media (max-width: 640px) {
    .ta-index-page .ta-bars {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
}
