/* ==========================================================================
   index-v2.php layout – 5 steps per client requirement
   ========================================================================== */

@keyframes hv2-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes hv2-fade-left {
    from { opacity: 0; transform: translateX(-36px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes hv2-fade-right {
    from { opacity: 0; transform: translateX(36px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes hv2-fade-up {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hv2-pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.65; }
}

@keyframes hv2-shine {
    0% { left: -120%; }
    100% { left: 120%; }
}

.hv2-animate-left,
.hv2-animate-right,
.hv2-animate-up {
    opacity: 1;
    transform: none;
}

.hv2-animate-left.is-visible {
    animation: hv2-fade-left 0.65s ease both;
}

.hv2-animate-right.is-visible {
    animation: hv2-fade-right 0.65s ease both;
}

.hv2-animate-up.is-visible {
    animation: hv2-fade-up 0.65s ease both;
}

.hv2-animate-delay-1.is-visible { animation-delay: 0.08s; }
.hv2-animate-delay-2.is-visible { animation-delay: 0.16s; }

.home-v2-body {
    background: #f6f4ee;
}

.hv2-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b75906;
    margin-bottom: 6px;
}

.hv2-title {
    margin: 0;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: #1a1a1a;
}

/* ==========================================================================
   Responsive header (index-v2 only)
   ========================================================================== */

.hv2-header {
    position: relative;
    z-index: 1000;
}

.hv2-header__container {
    max-width: 1398px;
}

.hv2-header__top {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.hv2-header__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hv2-header__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.hv2-header__logo {
    width: 110px;
    max-width: 110px;
    height: auto;
    flex-shrink: 0;
}

.hv2-header__titles h1 {
    margin: 0;
    font-size: clamp(15px, 1.5vw, 19px);
    line-height: 1.25;
    font-weight: 700;
    color: #111;
}

.hv2-header__hindi {
    margin: 2px 0 0;
    font-size: clamp(13px, 1.2vw, 16px);
    color: #b75906;
    line-height: 1.3;
}

.hv2-header__naac {
    margin: 2px 0 0;
    font-size: 12px;
    color: #333;
}

.hv2-header__top-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.hv2-header__social {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.hv2-header__social a img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.hv2-header__gate {
    max-height: 52px;
    width: auto;
}

.hv2-header__gate-sm {
    max-height: 36px;
    width: auto;
    flex-shrink: 0;
}

/* Mobile compact bar */
.hv2-header__mobile {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}

.hv2-header__mobile-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hv2-header__logo-sm {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.hv2-header__mobile-text {
    flex: 1;
    min-width: 0;
    line-height: 1.2;
}

.hv2-header__mobile-text strong {
    display: block;
    font-size: 0.88rem;
    color: #111;
}

.hv2-header__mobile-text span {
    font-size: 0.72rem;
    color: #b75906;
}

/* Orange nav bar */
.hv2-header__nav {
    background: #b75906;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.hv2-header__nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 48px;
}

.hv2-header__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 16px;
    width: 100%;
}

.hv2-header__progress {
    display: none !important;
}

.hv2-header__menu a {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 4px;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.hv2-header__menu a:hover {
    opacity: 0.85;
}

.hv2-header__menu img {
    max-height: 14px;
    margin-left: 3px;
    vertical-align: middle;
}

.hv2-header__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 8px 10px;
    margin-left: auto;
    flex-shrink: 0;
}

.hv2-header__mobile .hv2-header__toggle {
    color: #b75906;
    font-size: 1.35rem;
    margin-left: 0;
}

/* Offcanvas mobile menu */
.hv2-offcanvas {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    visibility: hidden;
}

.hv2-offcanvas.is-open {
    pointer-events: auto;
    visibility: visible;
}

.hv2-offcanvas__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.hv2-offcanvas.is-open .hv2-offcanvas__overlay {
    opacity: 1;
}

.hv2-offcanvas__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100%;
    background: #fff;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
    padding: 16px;
    overflow-y: auto;
}

.hv2-offcanvas.is-open .hv2-offcanvas__panel {
    transform: translateX(0);
}

.hv2-offcanvas__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.hv2-offcanvas__close {
    border: 0;
    background: #f3f4f6;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 1.1rem;
    color: #333;
}

.hv2-offcanvas__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hv2-offcanvas__nav a {
    display: block;
    padding: 12px 10px;
    border-radius: 8px;
    color: #1f2937 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #eef0f3;
    background: #fafafa;
}

.hv2-offcanvas__nav a:hover {
    background: #fff3e8;
    border-color: #f0d4b8;
    color: #b75906 !important;
}

.hv2-offcanvas__nav img {
    max-height: 14px;
    margin-left: 4px;
}

.hv2-offcanvas__social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.hv2-offcanvas__social img {
    width: 30px;
    height: 30px;
    border-radius: 6px;
}

body.hv2-menu-open {
    overflow: hidden;
}

@media (max-width: 1199px) {
    .hv2-header__titles h1 {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .hv2-header__nav-inner {
        justify-content: flex-end;
        min-height: 44px;
    }
}

@media (max-width: 767px) {
    .hv2-header__mobile-text strong {
        font-size: 0.82rem;
    }
}

/* Banner offset for header height */
@media (min-width: 992px) {
    .hv2-banner {
        padding-top: 88px !important;
    }
}

@media (max-width: 991px) {
    .hv2-banner {
        padding-top: 72px !important;
        padding-bottom: 38px !important;
    }
}

@media (max-width: 767px) {
    .hv2-banner {
        padding-top: 64px !important;
        padding-bottom: 32px !important;
    }
}

/* ---- STEP 1: Banner + progress ---- */
.hv2-banner {
    padding-bottom: 52px !important;
}

.hv2-banner__content {
    max-width: 920px;
    margin: 0 auto;
}

.hv2-banner__title {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 2rem) !important;
}

.hv2-banner__session {
    margin: 6px 0 18px;
    color: #fff;
    font-size: 14px;
    opacity: 0.92;
}

/* Banner progress bar */
.hv2-banner-progress {
    margin-top: 8px;
    padding: 16px 18px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.hv2-banner-progress__title {
    margin: 0 0 12px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.hv2-banner-progress__track {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2px;
}

.hv2-banner-progress__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
}

.hv2-banner-progress__dot {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hv2-banner-progress__label {
    font-size: 0.72rem;
    line-height: 1.15;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    max-width: 88px;
}

.hv2-banner-progress__conn {
    flex: 0 1 18px;
    height: 4px;
    border-radius: 999px;
    margin-top: 16px;
    min-width: 8px;
}

.hv2-banner-progress__conn--done {
    background: linear-gradient(90deg, #43ab47, #ffb800);
}

.hv2-banner-progress__conn--current {
    background: linear-gradient(90deg, #ffb800, rgba(255, 255, 255, 0.35));
}

.hv2-banner-progress__conn--upcoming {
    background: rgba(255, 255, 255, 0.28);
}

.hv2-banner-progress__step--done .hv2-banner-progress__dot {
    background: linear-gradient(135deg, #43ab47, #2d8a31);
    border-color: rgba(255, 255, 255, 0.4);
}

.hv2-banner-progress__step--current .hv2-banner-progress__dot {
    background: linear-gradient(135deg, #ffb800, #ff7a00);
    border-color: #43ab47;
    animation: hv2-progress-pulse 2s ease infinite;
}

.hv2-banner-progress__step--upcoming .hv2-banner-progress__dot {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.9);
}

.hv2-banner-progress__step--upcoming .hv2-banner-progress__label {
    color: rgba(255, 255, 255, 0.65);
}

@keyframes hv2-progress-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(67, 171, 71, 0.35), 0 4px 14px rgba(255, 140, 0, 0.45); }
    50% { box-shadow: 0 0 0 6px rgba(67, 171, 71, 0.18), 0 4px 18px rgba(255, 184, 0, 0.55); }
}

@media (max-width: 767px) {
    .hv2-banner-progress {
        padding: 12px 10px 10px;
    }

    .hv2-banner-progress__dot {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .hv2-banner-progress__label {
        font-size: 0.58rem;
        max-width: 56px;
    }

    .hv2-banner-progress__conn {
        margin-top: 13px;
        min-width: 4px;
    }
}

/* ---- STEP 2: Important links ---- */
.hv2-important {
    padding: 26px 0 28px;
    background: #fff;
    border-bottom: 1px solid #eadfce;
}

.hv2-important__head {
    text-align: center;
    margin-bottom: 18px;
}

.hv2-important__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 1080px;
    margin: 0 auto;
}

.hv2-important__grid p {
    margin: 0 !important;
    text-align: center !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
}

.hv2-important__grid span { display: block; width: 100%; }

.hv2-important__grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    color: #fff !important;
    background: #43ab47;
    border: 2px solid #43ab47;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    position: relative;
    overflow: hidden;
}

.hv2-important__grid a::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: none;
}

.hv2-important__grid a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 171, 71, 0.28);
    color: #fff !important;
}

.hv2-important__grid a:hover::after {
    animation: hv2-shine 0.75s ease;
}

/*.hv2-important__grid p:nth-child(1) a {
    background: #b75906;border-color: #b75906;
}

.hv2-important__grid p:nth-child(1) a:hover {
    box-shadow: 0 8px 20px rgba(183, 89, 6, 0.28);
}

.hv2-important__grid p:nth-child(2) a {
    background: #2563eb;border-color: #2563eb;
}

.hv2-important__grid p:nth-child(2) a:hover {
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}*/

.hv2-important__grid img {
    max-height: 16px;
    margin-left: 4px;
}

@media (max-width: 991px) {
    .hv2-important__grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

/* ---- STEP 3: Marquee ---- */
.hv2-marquee {
    background: #fff8e1;
    border-top: 1px solid #ffe082;
    border-bottom: 1px solid #ffe082;
}

.hv2-marquee .ticker {
    background: transparent;
    border: 0;
    margin: 0;
}

.hv2-marquee .ticker p {
    color: #c62828;
    font-weight: 700;
    font-size: 0.9rem;
    padding-top: 10px;
    padding-bottom: 10px;
    white-space: nowrap;
    display: inline-block;
    padding-left: 100%;
    animation: hv2-scroll 34s linear infinite;
}

/* ---- Progress bar (moved to nav) ---- */
.hv2-progress {
    display: none;
}

/* ---- STEP 4: Split panels ---- */
.hv2-split {
    padding: 28px 0 32px;
    background: linear-gradient(180deg, #f6f4ee 0%, #ece7df 100%);
}

.hv2-split-grid {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 20px;
    width: 100%;
}

.hv2-split-grid__links {
    flex: 1 1 38%;
    min-width: 280px;
    max-width: 38%;
    order: 1;
}

.hv2-split-grid__news {
    flex: 1 1 62%;
    min-width: 0;
    max-width: 62%;
    order: 2;
}

.hv2-split-grid__news,
.hv2-split-grid__links {
    display: block;
}

.hv2-card--news .table-responsive {
    overflow-x: auto;
    max-width: 100%;
}

.hv2-card--news .news {
    max-width: 100%;
}

.hv2-card--news .table {
    word-break: break-word;
}

.hv2-split .hv2-card {
    height: 900px;
    min-height: 900px;
    max-height: 900px;
}

.hv2-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2d6c6;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hv2-card__top {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.hv2-card--news .hv2-card__top {
    border-left: 5px solid #b75906;
}

.hv2-card--links .hv2-card__top {
    border-left: 5px solid #43ab47;
}

.hv2-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hv2-card__icon--orange {
    background: #fff0e6;
}

.hv2-card__icon--green {
    background: #e8f7e9;
}

.hv2-card__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #222;
}

.hv2-card__sub {
    margin: 2px 0 0;
    font-size: 0.8rem;
    color: #777;
}

.hv2-card__body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 12px;
    overflow: hidden;
}

.hv2-scroll {
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
}

.hv2-scroll::-webkit-scrollbar {
    width: 8px;
}

.hv2-scroll::-webkit-scrollbar-track {
    background: #f3ede4;
    border-radius: 999px;
}

.hv2-scroll::-webkit-scrollbar-thumb {
    background: #b75906;
    border-radius: 999px;
    border: 2px solid #f3ede4;
}

.hv2-scroll::-webkit-scrollbar-thumb:hover {
    background: #43ab47;
}

/* Notifications table */
.hv2-card--news .ex1 {
    height: auto !important;
    overflow: visible !important;
}

.hv2-card--news .table {
    margin: 0;
    font-size: 13px;
}

.hv2-card--news .table thead th {
    background: #fff3cd;
    color: #8f4504;
    text-align: center;
}

.hv2-card--news .table td,
.hv2-card--news .table th {
    vertical-align: top;
    line-height: 1.45;
}

.hv2-card--news .table tbody tr {
    transition: background 0.2s ease;
}

.hv2-card--news .table tbody tr:hover {
    background: #fffbf2;
}

.hv2-card--news a {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 5px;
    background: #b75906;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

.hv2-card--news a:hover {
    background: #43ab47;
}

/* All links – right panel list */
@keyframes hv2-link-in {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: translateX(0); }
}

.hv2-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hv2-links-list__item {
    opacity: 1;
    transform: none;
}

.hv2-links-list__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #dce5ef;
    border-radius: 10px;
    background: #f8fbff;
    text-decoration: none !important;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hv2-links-list__link:hover {
    border-color: #43ab47;
    background: #fff;
    transform: translateX(4px);
    box-shadow: 0 6px 16px rgba(67, 171, 71, 0.12);
}

.hv2-links-list__num {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #43ab47;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    display: grid;
    place-items: center;
}

.hv2-links-list__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hv2-links-list__text strong {
    display: block;
    font-size: 0.82rem;
    line-height: 1.35;
    color: #1f2937;
    font-weight: 700;
}

.hv2-links-list__text small {
    display: block;
    font-size: 0.72rem;
    line-height: 1.3;
    color: #6b7280;
}

.hv2-links-list__arrow {
    flex-shrink: 0;
    color: #b75906;
    font-weight: 800;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.hv2-links-list__link:hover .hv2-links-list__arrow {
    transform: translateX(4px);
}

/* Highlighted portal links */
.hv2-links-list--highlight .hv2-links-list__link {
    border-width: 2px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.hv2-links-list__badge {
    display: inline-block;
    width: fit-content;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.hv2-links-list__item--green .hv2-links-list__link { border-color: #43ab47; background: linear-gradient(90deg, #f0fff1, #fff); }
.hv2-links-list__item--green .hv2-links-list__num { background: #43ab47; }
.hv2-links-list__item--green .hv2-links-list__badge { background: #e8f7e9; color: #2d7a31; }

.hv2-links-list__item--orange .hv2-links-list__link { border-color: #b75906; background: linear-gradient(90deg, #fff8f2, #fff); }
.hv2-links-list__item--orange .hv2-links-list__num { background: #b75906; }
.hv2-links-list__item--orange .hv2-links-list__badge { background: #fff0e6; color: #b75906; }

.hv2-links-list__item--blue .hv2-links-list__link { border-color: #2563eb; background: linear-gradient(90deg, #f0f7ff, #fff); }
.hv2-links-list__item--blue .hv2-links-list__num { background: #2563eb; }
.hv2-links-list__item--blue .hv2-links-list__badge { background: #dbeafe; color: #1d4ed8; }

.hv2-links-list__item--purple .hv2-links-list__link { border-color: #7c3aed; background: linear-gradient(90deg, #f5f0ff, #fff); }
.hv2-links-list__item--purple .hv2-links-list__num { background: #7c3aed; }
.hv2-links-list__item--purple .hv2-links-list__badge { background: #ede9fe; color: #6d28d9; }

.hv2-links-list__item--teal .hv2-links-list__link { border-color: #0d9488; background: linear-gradient(90deg, #ecfeff, #fff); }
.hv2-links-list__item--teal .hv2-links-list__num { background: #0d9488; }
.hv2-links-list__item--teal .hv2-links-list__badge { background: #ccfbf1; color: #0f766e; }

.hv2-links-list__item--cyan .hv2-links-list__link { border-color: #0891b2; background: linear-gradient(90deg, #ecfeff, #fff); }
.hv2-links-list__item--cyan .hv2-links-list__num { background: #0891b2; }
.hv2-links-list__item--cyan .hv2-links-list__badge { background: #cffafe; color: #0e7490; }

.hv2-links-list__item--gold .hv2-links-list__link { border-color: #ffb800; background: linear-gradient(90deg, #fffbeb, #fff); }
.hv2-links-list__item--gold .hv2-links-list__num { background: #ffb800; color: #5c4200; }
.hv2-links-list__item--gold .hv2-links-list__badge { background: #fef3c7; color: #b45309; }

.hv2-links-list__item--red .hv2-links-list__link { border-color: #dc2626; background: linear-gradient(90deg, #fff1f2, #fff); }
.hv2-links-list__item--red .hv2-links-list__num { background: #dc2626; }
.hv2-links-list__item--red .hv2-links-list__badge { background: #fee2e2; color: #b91c1c; }

.hv2-links-list--highlight .hv2-links-list__link:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .hv2-split-grid {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .hv2-split-grid__news,
    .hv2-split-grid__links {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 0;
        order: unset;
    }

    .hv2-split .hv2-card {
        height: 600px;
        min-height: 600px;
        max-height: 600px;
    }
}

@media (max-width: 767px) {
    .hv2-links-list__link {
        padding: 10px;
    }

    .hv2-links-list__text strong {
        font-size: 0.78rem;
    }

    .hv2-links-list__link:hover {
        transform: none;
    }
}

/* Legacy linkdeck rules removed */
.hv2-linkdeck { display: none; }

/* ---- STEP 5: Dates + Documents ---- */
.hv2-meta {
    padding: 32px 0 40px;
    background: linear-gradient(180deg, #ece7df 0%, #f6f4ee 100%);
}

.hv2-meta-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    width: 100%;
}

.hv2-meta-grid__docs,
.hv2-meta-grid__dates {
    min-width: 0;
}

.hv2-meta-grid__docs {
    order: 1;
}

.hv2-meta-grid__dates {
    order: 2;
}

@media (max-width: 991px) {
    .hv2-meta-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.hv2-meta-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
    max-height: 500px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2d6c6;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.hv2-meta-box__head {
    flex-shrink: 0;
    padding: 14px 18px;
    background: linear-gradient(90deg, #b75906, #d4761a);
    color: #fff;
}

.hv2-meta-box__head--blue {
    background: linear-gradient(90deg, #1e5a8a, #2563eb);
}

.hv2-meta-box__head h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.hv2-meta-box__body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 10px 12px;
    overflow: hidden;
}

.hv2-meta-box .tp-section,
.hv2-meta-box .tp-section-4-title,
.hv2-meta-box .noo {
    display: none !important;
}

.hv2-meta-box .tp-event-wrap {
    margin: 0;
}

.hv2-meta-box .tp-event-item {
    border: 1px solid #eee !important;
    border-radius: 10px;
    padding: 10px 12px !important;
    margin-bottom: 8px;
}

.hv2-meta-box .tp-event-item:first-child {
    border-top: 1px solid #eee !important;
}

.hv2-meta-box .tp-event-item .row {
    --bs-gutter-x: 10px;
    align-items: center;
    margin: 0;
}

.hv2-meta-box .tp-event-item [class*="col-"] {
    padding-top: 0;
    padding-bottom: 0;
}

.hv2-meta-box .tp-event-list-count {
    font-size: 13px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    width: 34px;
    height: 34px;
    margin: 0;
    display: grid;
    place-items: center;
    background: #fff3e6;
    color: #b75906;
    border-radius: 8px;
}

.hv2-meta-box .tp-event-title {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    line-height: 1.35 !important;
}

.hv2-meta-box .tp-event-title a {
    color: #333 !important;
    text-decoration: none !important;
    pointer-events: none;
}

.hv2-meta-box .tp-event-list span {
    font-size: 0.8rem !important;
    text-transform: none !important;
    color: #b75906 !important;
    font-weight: 700;
    white-space: nowrap;
}

.hv2-meta-box .tp-event-list a {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 6px;
    background: #2563eb;
    color: #fff !important;
    font-weight: 700;
    font-size: 11px;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background 0.2s ease;
}

.hv2-meta-box .tp-event-list a:hover {
    background: #43ab47;
}

.hv2-meta-box .tp-event-item .col-md-2 {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
}

.hv2-meta-box .tp-event-item .col-md-7 {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
}

.hv2-meta-box .tp-event-item .col-md-3 {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    text-align: right;
}

.hv2-meta-box p[style*="1747d9"] {
    font-size: 0.78rem;
    line-height: 1.45;
    margin: 6px 0 0;
    padding: 8px 10px;
    background: #f0f7ff;
    border-radius: 8px;
    border-left: 3px solid #2563eb;
}

@media (max-width: 767px) {
    .hv2-meta-box {
        min-height: 600px;
        max-height: 650px;
    }

    .hv2-meta-box .tp-event-item .col-md-3 {
        text-align: left;
        margin-top: 4px;
    }
}

/* Remove old progress wrapper */
.hv2-progress-wrap {
    display: none;
}

@media (max-width: 767px) {
    .hv2-split {
        padding: 28px 0;
    }

    .hv2-meta {
        padding: 32px 0 40px;
    }
}
