/* ==========================================================================
   utility-deferred.css — Below-fold / non-critical styles
   Loaded via preload pattern (non-blocking).
   ========================================================================== */

/* 1. BADGES */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.025em;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    position: relative;
    overflow: hidden;
}

.badge:empty {
    display: none;
}

a .badge {
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

a .badge:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

a:has(.badge):hover {
    text-decoration: none;
}

.badge i {
    font-size: 0.75em;
    margin-right: 2px;
}

.badge i:last-child {
    margin-right: 0;
    margin-left: 2px;
}

@keyframes badge-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.badge[data-notification="true"] {
    animation: badge-pulse 2s ease-in-out infinite;
}

/* 2. LINKS */
.link {
    text-decoration: none;
    cursor: pointer;
}

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

.link--subtle {
    color: var(--color-text-medium);
    text-decoration: none;
}

.link--view-all {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-primary);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: color 0.3s ease;
}

.link--view-all:hover {
    color: var(--color-secondary);
    text-decoration: none;
}

.link--view-all i {
    transition: transform 0.3s ease;
}

.link--view-all:hover i {
    transform: translateX(4px);
}

.link--subtle:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.link--no-underline {
    text-decoration: none !important;
}

.link--fade:hover {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.link--smooth.link--fade {
    transition: all 0.3s ease;
}

/* 3. LINK ANIMATIONS */
@keyframes linkBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-3px);
    }

    60% {
        transform: translateY(-2px);
    }
}

@keyframes linkShake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-2px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(2px);
    }
}

@keyframes linkPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/* 4. BREADCRUMBS */
.breadcrumb {
    font-size: 1rem;
    flex-wrap: wrap;
}

.breadcrumb__item {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.breadcrumb__item:hover {
    text-decoration: underline;
}

.breadcrumb__item.is-active {
    font-weight: var(--font-weight-semibold);
}

.breadcrumb--primary .breadcrumb__item:hover {
    color: var(--color-primary);
}

.breadcrumb--secondary .breadcrumb__item:hover {
    color: var(--color-secondary);
}

.breadcrumb--dark .breadcrumb__item:hover {
    color: var(--color-text-dark);
}

.breadcrumb--light .breadcrumb__item:hover {
    color: var(--color-text-light);
}

/* 5. WIDTH & HEIGHT UTILITIES */
.w-0 {
    width: 0;
}

.w-auto {
    width: auto;
}

@media (max-width: 768px) {
    .w-mobile-full {
        width: 100%;
    }
}

.w-screen {
    width: 100vw;
}

.w-min {
    width: min-content;
}

.w-max {
    width: max-content;
}

.w-5\/6 {
    width: 83.333333%;
}

@media (max-width: 768px) {
    .w-5\/6 {
        width: 100%;
    }
}

.w-8 {
    width: 2rem;
}

.w-10 {
    width: 2.5rem;
}

.w-16 {
    width: 4rem;
}

.h-8 {
    height: 2rem;
}

.h-10 {
    height: 2.5rem !important;
}

.h-12 {
    height: 3rem !important;
}

.h-16 {
    height: 4rem !important;
}

.h-48 {
    height: 12rem !important;
}

.min-w-42 {
    min-width: 42px;
}

.max-w-5xl {
    max-width: 64rem;
}

.min-h-screen {
    min-height: 100vh;
}

.min-h-100 {
    min-height: 100px;
}

/* Percentage Widths */
.w-1\/2 {
    width: 50%;
}

.w-1\/3 {
    width: 33.333333%;
}

.w-2\/3 {
    width: 66.666667%;
}

.w-1\/4 {
    width: 25%;
}

.w-2\/4 {
    width: 50%;
}

.w-3\/4 {
    width: 75%;
}

.w-1\/5 {
    width: 20%;
}

.w-2\/5 {
    width: 40%;
}

.w-3\/5 {
    width: 60%;
}

.w-4\/5 {
    width: 80%;
}

.w-1\/6 {
    width: 16.666667%;
}

@media (max-width: 768px) {

    .w-1\/2,
    .w-1\/3,
    .w-2\/3,
    .w-1\/4,
    .w-2\/4,
    .w-3\/4,
    .w-1\/5,
    .w-2\/5,
    .w-3\/5,
    .w-4\/5,
    .w-1\/6,
    .w-5\/6 {
        width: 100%;
    }
}

/* 6. HORIZONTAL LINES */
.horizontal-line {
    border-top: 1px solid var(--Colors-Border-border-secondary, #E9EAEB);
    margin: 1rem 0;
}

.horizontal-line--secondary {
    border-top: 3px solid #EF6820;
    margin: 1rem 0;
}

/* 7. LIST HEADER LINKS */
.list-links-primary a {
    text-decoration: none;
    color: var(--color-text-medium);
    transition: color 0.2s ease;
}

.list-links-primary a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.list-links-secondary a {
    text-decoration: none;
    color: var(--color-text-medium);
    transition: color 0.2s ease;
}

.list-links-secondary a:hover {
    color: var(--color-secondary);
    text-decoration: none;
}

.list-grid-2--always {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.list-title-secondary {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    color: var(--color-secondary);
}

.list-title-secondary>a {
    color: var(--color-secondary);
    text-decoration: none;
}

/* 8. THUMBNAIL */
.thumbnail {
    width: 100%;
    min-height: 215px;
    max-height: 440px;
    object-fit: cover;
}

/* 9. LOGO IMAGE */
.logo-image {
    height: 100px;
    flex-grow: 1;
    flex-basis: 100px;
    max-width: 220px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.02);
}

/* 10. ANIMATIONS & LOADERS */
@keyframes fade {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader {
    display: none;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
    animation: spin 0.8s linear infinite;
}

.loading .btn-content {
    display: none;
}

.loading .loader {
    display: inline-block;
}

/* 11. MISC */
.pointer-events-none {
    pointer-events: none;
}

.line-limit-4 {
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
}

.lh-lg {
    line-height: 2;
}

.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
}

.video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #f0f0f0;
}

.uppercase {
    text-transform: uppercase;
}

.object-fit-cover {
    object-fit: cover;
}

.w-100 {
    width: 100%;
}
