.gov-home-page {
    color: #213347;
    overflow-x: clip;
    padding-bottom: 8px;
    position: relative;
}

.gov-home-container {
    max-width: 1220px;
    padding-left: 24px;
    padding-right: 24px;
}

.gov-home-hero {
    overflow: hidden;
    padding: 0 0 18px;
}

.gov-home-hero__panel {
    background:
        linear-gradient(120deg, rgba(41, 67, 96, 0.96), rgba(93, 124, 156, 0.9)),
        url("../images/bg-wall.png");
    border-radius: 0;
    box-shadow: var(--portal-shadow);
    min-height: 544px;
    position: relative;
}

.gov-home-hero__panel::before {
    content: "";
    inset: 0;
    position: absolute;
    background:
        radial-gradient(circle at right center, rgba(170, 214, 255, 0.26), transparent 34%),
        linear-gradient(90deg, rgba(6, 20, 39, 0.18), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.gov-home-hero__content,
.gov-home-greeting {
    position: relative;
    z-index: 1;
}

.gov-home-hero__content {
    color: #fff;
    padding: 64px 0 40px;
}

.gov-home-pilltag {
    align-items: center;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    min-height: 36px;
    padding: 0 16px;
}

.gov-home-hero__content h1 {
    color: #fff;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: clamp(3.25rem, 5.4vw, 4.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin: 18px 0 18px;
    max-width: 7.4ch;
}

.gov-home-hero__content p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.08rem;
    line-height: 1.8;
    margin: 0;
    max-width: 46rem;
}

.gov-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.gov-home-button {
    align-items: center;
    border-radius: 15px;
    box-shadow: 0 20px 34px rgba(12, 32, 56, 0.2);
    display: inline-flex;
    font-size: 18px;
    font-weight: 700;
    justify-content: center;
    min-height: 50px;
    min-width: 172px;
    padding: 0 26px;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.gov-home-button:hover,
.gov-home-button:focus {
    text-decoration: none;
    transform: translateY(-2px);
}

.gov-home-button--primary {
    background: linear-gradient(135deg, #2f6cad, #4c85bc);
    color: #fff;
}

.gov-home-button--secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: #fff;
}

.gov-home-greeting {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    color: #fff;
    margin: 64px 0 56px auto;
    max-width: 446px;
    padding: 24px 28px 28px;
}

.gov-home-section-kicker {
    color: #f7b252;
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.gov-home-greeting h2 {
    color: #fff;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: clamp(1.3rem, 1.9vw, 1.95rem);
    line-height: 1.45;
    margin: 0 0 14px;
}

.gov-home-greeting p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0;
}

.gov-home-noticebar {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 26px;
    box-shadow: 0 28px 56px rgba(16, 42, 72, 0.14);
    display: grid;
    gap: 12px;
    grid-template-columns: 220px 1fr;
    margin: -34px auto 0;
    max-width: 100%;
    padding: 0 14px 0 0;
    position: relative;
}

.gov-home-noticebar__label {
    align-items: center;
    background: #fff;
    border-radius: 0 0 22px 22px;
    box-shadow: 0 16px 34px rgba(16, 42, 72, 0.08);
    color: #12467f;
    display: inline-flex;
    font-size: 15px;
    font-weight: 700;
    gap: 10px;
    justify-content: center;
    margin-left: 0;
    min-height: 56px;
}

.gov-home-noticebar__ticker {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.gov-home-noticebar__track {
    align-items: center;
    color: #305273;
    display: inline-flex;
    font-size: 15px;
    font-weight: 700;
    gap: 18px;
    min-width: 100%;
    padding-right: 12px;
    will-change: transform;
    animation: govTicker 26s linear infinite;
}

.gov-home-noticebar__badge {
    align-items: center;
    background: #f5dfbf;
    border-radius: 999px;
    color: #9b6116;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    height: 30px;
    justify-content: center;
    padding: 0 12px;
    text-transform: uppercase;
}

.gov-home-grid {
    padding: 40px 0 0;
}

.gov-info-card {
    background: var(--portal-card);
    border: 1px solid var(--portal-border);
    border-radius: 26px;
    box-shadow: var(--portal-shadow);
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 22px;
    min-width: 0;
    padding: 24px;
}

.gov-info-card--tall {
    min-height: 560px;
}

.gov-info-card__head {
    align-items: start;
    display: grid;
    gap: 16px 24px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 270px);
}

.gov-info-card__tag {
    color: #d97f19;
    display: block;
    font-family: "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.gov-info-card__head h2 {
    color: #16375d;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: clamp(1.95rem, 3vw, 2.4rem);
    line-height: 1.06;
    margin: 0;
}

.gov-info-card__head p {
    color: #677d93;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.gov-scroll-list {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 16px;
    max-height: 460px;
    overflow-y: auto;
    padding-right: 8px;
}

.gov-scroll-list::-webkit-scrollbar {
    width: 8px;
}

.gov-scroll-list::-webkit-scrollbar-thumb {
    background: rgba(66, 108, 150, 0.4);
    border-radius: 999px;
}

.gov-doc-row,
.gov-cta-row {
    align-items: center;
    background: linear-gradient(180deg, #fff, #faf7f0);
    border: 1px solid rgba(18, 54, 84, 0.12);
    border-radius: 24px;
    color: #173659;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    min-width: 0;
    padding: 18px 18px 18px 18px;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.gov-doc-row:hover,
.gov-doc-row:focus,
.gov-cta-row:hover,
.gov-cta-row:focus {
    border-color: rgba(37, 92, 145, 0.28);
    box-shadow: 0 18px 32px rgba(16, 42, 72, 0.08);
    color: #173659;
    text-decoration: none;
    transform: translateY(-2px);
}

.gov-doc-row__icon,
.gov-support-box__icon {
    align-items: center;
    background: linear-gradient(180deg, #edf2f8, #f3e8da);
    border-radius: 18px;
    color: #14518c;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 24px;
    height: 56px;
    justify-content: center;
    width: 56px;
}

.gov-doc-row__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.gov-doc-row__body strong,
.gov-cta-row strong {
    color: #17375d;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}

.gov-doc-row__body small,
.gov-cta-row small {
    color: #678096;
    font-size: 14px;
    line-height: 1.5;
}

.gov-doc-row__meta {
    align-items: center;
    color: #7088a0;
    display: inline-flex;
    flex-wrap: wrap;
    font-size: 14px;
    gap: 10px;
}

.gov-doc-row__new {
    align-items: center;
    background: #f6e0c1;
    border-radius: 999px;
    color: #9d6314;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    height: 22px;
    justify-content: center;
    padding: 0 10px;
    text-transform: uppercase;
}

.gov-doc-row__action {
    color: #e4861c;
    flex: 0 0 auto;
    font-size: 18px;
}

.gov-cta-list {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 16px;
}

.gov-cta-row > span:first-child {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.gov-cta-row__button {
    align-items: center;
    background: #d8e8f6;
    border-radius: 999px;
    color: #1b558b;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 800;
    height: 30px;
    justify-content: center;
    min-width: 84px;
    padding: 0 14px;
}

.gov-support-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gov-support-box {
    background: linear-gradient(180deg, #fff, #faf7f0);
    border: 1px solid rgba(18, 54, 84, 0.12);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
}

.gov-support-box strong {
    color: #17375d;
    font-size: 1.2rem;
    line-height: 1.35;
}

.gov-support-box a {
    color: #16835a;
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
}

.gov-support-box small {
    color: #677f94;
    font-size: 14px;
    line-height: 1.55;
}

.gov-home-page.has-motion [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.gov-home-page.has-motion [data-reveal="slide"] {
    transform: translateX(34px);
}

.gov-home-page.has-motion [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@keyframes govTicker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-38%);
    }
}

@media (max-width: 1199.98px) {
    .gov-home-hero__panel {
        min-height: 0;
    }

    .gov-home-hero__content {
        padding: 54px 0 28px;
    }

    .gov-home-greeting {
        margin: 0 0 42px;
        max-width: none;
    }

    .gov-info-card__head {
        grid-template-columns: 1fr;
    }

    .gov-home-noticebar {
        grid-template-columns: 200px 1fr;
    }
}

@media (max-width: 991.98px) {
    .gov-home-hero__content {
        padding: 40px 0 18px;
    }

    .gov-home-greeting {
        margin: 0 0 34px;
        padding: 22px 22px 24px;
    }

    .gov-home-noticebar {
        grid-template-columns: 1fr;
        margin-top: -24px;
        padding: 0 14px 14px;
    }

    .gov-home-noticebar__label {
        border-radius: 18px;
        margin-top: -18px;
        min-height: 52px;
        width: 100%;
    }

    .gov-support-grid {
        grid-template-columns: 1fr;
    }

    .gov-info-card--tall {
        min-height: 0;
    }

    .gov-scroll-list {
        max-height: none;
    }
}

@media (max-width: 767.98px) {
    .gov-home-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .gov-home-hero {
        padding-bottom: 14px;
    }

    .gov-home-hero__panel {
        min-height: 0;
    }

    .gov-home-hero__content {
        padding: 30px 0 14px;
    }

    .gov-home-hero__content h1 {
        max-width: none;
        font-size: clamp(2.6rem, 12vw, 3.55rem);
        line-height: 1.12;
        margin: 14px 0 14px;
    }

    .gov-home-hero__content p {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .gov-home-pilltag {
        font-size: 13px;
        min-height: 34px;
        padding: 0 14px;
    }

    .gov-home-hero__actions {
        gap: 10px;
        margin-top: 20px;
    }

    .gov-home-button {
        min-height: 48px;
        min-width: 0;
        width: 100%;
    }

    .gov-home-greeting {
        border-radius: 24px;
        margin-bottom: 22px;
        padding: 18px 18px 20px;
    }

    .gov-home-greeting h2 {
        font-size: clamp(1.2rem, 6vw, 1.55rem);
        margin-bottom: 10px;
    }

    .gov-home-greeting p {
        font-size: 0.93rem;
    }

    .gov-home-noticebar {
        border-radius: 22px;
        margin-top: -14px;
        padding: 0 12px 12px;
    }

    .gov-home-noticebar__label {
        font-size: 14px;
        min-height: 48px;
    }

    .gov-home-noticebar__track {
        animation-duration: 20s;
        font-size: 14px;
        gap: 14px;
        padding-right: 8px;
    }

    .gov-home-grid {
        padding-top: 28px;
    }

    .gov-info-card {
        border-radius: 22px;
        gap: 18px;
        margin-bottom: 18px;
        padding: 18px;
    }

    .gov-info-card__head {
        gap: 10px;
    }

    .gov-info-card__head h2 {
        font-size: clamp(1.65rem, 8vw, 2rem);
    }

    .gov-info-card__head p {
        font-size: 14px;
        line-height: 1.45;
    }

    .gov-doc-row,
    .gov-cta-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .gov-doc-row__action,
    .gov-cta-row__button {
        margin-left: 0;
    }

    .gov-doc-row__icon,
    .gov-support-box__icon {
        height: 50px;
        width: 50px;
    }

    .gov-doc-row__body strong,
    .gov-cta-row strong {
        font-size: 1.02rem;
    }

    .gov-doc-row__body small,
    .gov-cta-row small,
    .gov-support-box small {
        font-size: 13px;
    }

    .gov-support-box {
        border-radius: 20px;
        padding: 16px;
    }

    .gov-support-box strong {
        font-size: 1.05rem;
    }

    .gov-support-box a {
        font-size: 1rem;
    }
}

@media (max-width: 479.98px) {
    .gov-home-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .gov-home-hero__content {
        padding-top: 24px;
    }

    .gov-home-hero__content h1 {
        font-size: clamp(2.15rem, 11vw, 2.85rem);
    }

    .gov-home-hero__content p {
        font-size: 0.92rem;
    }

    .gov-home-greeting {
        padding: 16px;
    }

    .gov-home-greeting h2 {
        font-size: 1.12rem;
    }

    .gov-home-noticebar {
        padding: 0 10px 10px;
    }

    .gov-home-noticebar__label {
        margin-top: -14px;
        min-height: 44px;
    }

    .gov-home-noticebar__track {
        font-size: 13px;
    }

    .gov-info-card {
        padding: 16px;
    }

    .gov-doc-row,
    .gov-cta-row,
    .gov-support-box {
        border-radius: 18px;
    }

    .gov-cta-row__button {
        min-width: 78px;
    }
}
