/* =========================================================
   VIRALDADA TAG ARCHIVE
   Version 1.0
   ========================================================= */

.vd-tag-page {
    --vd-black: #111111;
    --vd-dark: #181818;
    --vd-white: #ffffff;
    --vd-text: #222222;
    --vd-muted: #777777;
    --vd-border: #e8e8e8;
    --vd-soft: #f7f7f8;
    --vd-accent: #ff3150;
    --vd-accent-dark: #e51f3d;
    --vd-radius: 16px;
    --vd-shadow: 0 12px 38px rgba(0, 0, 0, .07);

    background: #fff;
    color: var(--vd-text);
    overflow: hidden;
}

.vd-tag-page *,
.vd-tag-page *::before,
.vd-tag-page *::after {
    box-sizing: border-box;
}

.vd-tag-page img {
    display: block;
    max-width: 100%;
}

.vd-tag-page a {
    text-decoration: none;
}


/* =========================================================
   HERO
   ========================================================= */

.vd-tag-hero {
    position: relative;
    padding: 70px 0 65px;
    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(255, 49, 80, .11),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fafafa 100%
        );
}

.vd-tag-hero::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 49, 80, .035);
    pointer-events: none;
}

.vd-tag-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.vd-tag-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--vd-accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2.5px;
    line-height: 1;
}

.vd-tag-eyebrow::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 2px;
    margin-right: 10px;
    border-radius: 10px;
    background: var(--vd-accent);
}

.vd-tag-title {
    margin: 0;
    color: var(--vd-black);
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -2.8px;
    overflow-wrap: anywhere;
}

.vd-tag-description {
    max-width: 720px;
    margin: 20px 0 0;
    color: var(--vd-muted);
    font-size: 16px;
    line-height: 1.7;
}

.vd-tag-description p {
    margin: 0;
}


/* =========================================================
   STORIES SECTION
   ========================================================= */

.vd-tag-stories {
    padding: 70px 0 80px;
    background: #fff;
}

.vd-tag-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 32px;
}

.vd-tag-section-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--vd-accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.vd-tag-section-heading h2 {
    margin: 0;
    color: var(--vd-black);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.9px;
}

.vd-tag-count {
    flex-shrink: 0;
    padding: 9px 14px;
    border: 1px solid var(--vd-border);
    border-radius: 50px;
    color: #666;
    background: #fff;
    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   GRID
   ========================================================= */

.vd-tag-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 24px;
}


/* =========================================================
   CARD
   ========================================================= */

.vd-tag-card {
    min-width: 0;
}

.vd-tag-card-image {
    position: relative;
    display: block;
    height: 270px;
    overflow: hidden;
    border-radius: var(--vd-radius);
    background: #eeeeee;
}

.vd-tag-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform .65s cubic-bezier(.2, .7, .2, 1);
}

.vd-tag-card:hover .vd-tag-card-image img {
    transform: scale(1.055);
}

.vd-tag-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 45%,
            rgba(0, 0, 0, .24) 100%
        );
    opacity: 0;
    transition: opacity .3s ease;
}

.vd-tag-card:hover .vd-tag-image-overlay {
    opacity: 1;
}


/* =========================================================
   READ BADGE
   ========================================================= */

.vd-tag-read-badge {
    position: absolute;
    right: 15px;
    bottom: 15px;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 9px 13px;

    border-radius: 50px;
    background: #fff;
    color: #111;

    font-size: 10px;
    font-weight: 900;

    opacity: 0;
    transform: translateY(7px);

    transition:
        opacity .3s ease,
        transform .3s ease;
}

.vd-tag-card:hover .vd-tag-read-badge {
    opacity: 1;
    transform: translateY(0);
}

.vd-tag-read-badge span {
    font-size: 13px;
}


/* =========================================================
   CATEGORY
   ========================================================= */

.vd-tag-category {
    display: inline-block;
    margin-top: 16px;
    color: var(--vd-accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
}

.vd-tag-category:hover {
    color: var(--vd-accent-dark);
}


/* =========================================================
   CARD TITLE
   ========================================================= */

.vd-tag-card-title {
    margin: 8px 0 0;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.35px;
}

.vd-tag-card-title a {
    color: #171717;
    transition: color .2s ease;
}

.vd-tag-card-title a:hover {
    color: var(--vd-accent);
}


/* =========================================================
   EXCERPT
   ========================================================= */

.vd-tag-card-excerpt {
    margin: 11px 0 0;
    color: #777;
    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   CARD FOOTER
   ========================================================= */

.vd-tag-card-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
    color: #999;
    font-size: 10px;
    font-weight: 600;
}

.vd-tag-separator {
    color: #c7c7c7;
}


/* =========================================================
   NO IMAGE
   ========================================================= */

.vd-tag-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255, 49, 80, .42),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #151515,
            #353535
        );

    color: #fff;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1px;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.vd-tag-pagination {
    margin-top: 55px;
}

.vd-tag-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.vd-tag-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;
    padding: 0 13px;

    border: 1px solid var(--vd-border);
    border-radius: 50px;

    background: #fff;
    color: #333;

    font-size: 11px;
    font-weight: 800;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.vd-tag-pagination a.page-numbers:hover {
    border-color: var(--vd-accent);
    background: var(--vd-accent);
    color: #fff;
    transform: translateY(-2px);
}

.vd-tag-pagination .page-numbers.current {
    border-color: var(--vd-black);
    background: var(--vd-black);
    color: #fff;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.vd-tag-empty {
    max-width: 650px;
    margin: 0 auto;
    padding: 70px 30px;
    text-align: center;
}

.vd-tag-empty-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--vd-accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.vd-tag-empty h2 {
    margin: 0;
    color: var(--vd-black);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
}

.vd-tag-empty p {
    max-width: 500px;
    margin: 14px auto 0;
    color: #777;
    font-size: 14px;
    line-height: 1.7;
}

.vd-tag-home-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: 25px;
    padding: 13px 19px;

    border-radius: 50px;
    background: var(--vd-accent);
    color: #fff;

    font-size: 12px;
    font-weight: 800;

    box-shadow: 0 10px 25px rgba(255, 49, 80, .2);

    transition:
        background .2s ease,
        transform .2s ease;
}

.vd-tag-home-button:hover {
    background: var(--vd-accent-dark);
    color: #fff;
    transform: translateY(-2px);
}


/* =========================================================
   DISCOVER CTA
   ========================================================= */

.vd-tag-discover {
    padding: 0 0 75px;
}

.vd-tag-discover-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 38px 42px;

    overflow: hidden;
    border-radius: 20px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(255, 49, 80, .32),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #111111,
            #222222
        );
}

.vd-tag-discover-kicker {
    display: block;
    margin-bottom: 8px;
    color: #ff5470;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.vd-tag-discover-inner h2 {
    max-width: 650px;
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.7px;
}

.vd-tag-discover-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    flex-shrink: 0;

    padding: 14px 19px;

    border-radius: 50px;
    background: var(--vd-accent);
    color: #fff;

    font-size: 12px;
    font-weight: 800;

    box-shadow: 0 10px 25px rgba(255, 49, 80, .2);

    transition:
        background .2s ease,
        transform .2s ease;
}

.vd-tag-discover-button:hover {
    background: var(--vd-accent-dark);
    color: #fff;
    transform: translateY(-3px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) {

    .vd-tag-card-image {
        height: 240px;
    }

    .vd-tag-card-title {
        font-size: 19px;
    }

}


/* =========================================================
   SMALL TABLET
   ========================================================= */

@media (max-width: 991px) {

    .vd-tag-hero {
        padding: 55px 0;
    }

    .vd-tag-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vd-tag-card-image {
        height: 250px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .vd-tag-hero {
        padding: 42px 0 40px;
    }

    .vd-tag-eyebrow {
        margin-bottom: 12px;
    }

    .vd-tag-title {
        font-size: 42px;
        letter-spacing: -1.8px;
    }

    .vd-tag-description {
        margin-top: 15px;
        font-size: 14px;
        line-height: 1.6;
    }

    .vd-tag-stories {
        padding: 42px 0 55px;
    }

    .vd-tag-section-heading {
        display: block;
        margin-bottom: 25px;
    }

    .vd-tag-section-heading h2 {
        font-size: 25px;
    }

    .vd-tag-count {
        display: inline-flex;
        margin-top: 14px;
    }

    .vd-tag-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .vd-tag-card-image {
        height: 245px;
        border-radius: 13px;
    }

    .vd-tag-card-title {
        font-size: 20px;
    }

    .vd-tag-card-excerpt {
        font-size: 13px;
    }

    .vd-tag-read-badge {
        display: none;
    }

    .vd-tag-discover {
        padding-bottom: 50px;
    }

    .vd-tag-discover-inner {
        display: block;
        padding: 30px 25px;
        border-radius: 16px;
    }

    .vd-tag-discover-inner h2 {
        font-size: 26px;
    }

    .vd-tag-discover-button {
        margin-top: 20px;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .vd-tag-title {
        font-size: 35px;
        letter-spacing: -1.3px;
    }

    .vd-tag-description {
        font-size: 13px;
    }

    .vd-tag-section-heading h2 {
        font-size: 22px;
    }

    .vd-tag-card-image {
        height: 220px;
    }

    .vd-tag-card-title {
        font-size: 18px;
    }

    .vd-tag-card-excerpt {
        font-size: 12px;
    }

    .vd-tag-card-footer {
        font-size: 9px;
    }

    .vd-tag-pagination .page-numbers {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
    }

    .vd-tag-empty {
        padding: 50px 20px;
    }

    .vd-tag-discover-inner h2 {
        font-size: 23px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .vd-tag-page *,
    .vd-tag-page *::before,
    .vd-tag-page *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

}


/* =========================================================
   PRINT
   ========================================================= */

@media print {

    .vd-tag-hero,
    .vd-tag-stories,
    .vd-tag-discover {
        padding: 20px 0;
    }

    .vd-tag-grid {
        display: block;
    }

    .vd-tag-card {
        margin-bottom: 25px;
    }

}