body[data-page="home"] .hero-section {
    padding-bottom: 3.3rem;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    padding: 0.36rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 251, 234, 0.96);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.content-card {
    border-radius: 1.4rem;
    border: 1px solid rgba(124, 58, 237, 0.18);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 36px rgba(33, 37, 41, 0.08);
    padding: clamp(1.1rem, 2vw, 1.7rem);
}

.task-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.task-card {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.05rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(124, 58, 237, 0.16);
    background: rgba(255, 255, 255, 0.96);
    color: #3d2148;
    min-height: 100%;
}

.task-card:hover,
.task-card:focus-visible {
    color: #3d2148;
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 14px 28px rgba(124, 58, 237, 0.16);
    transform: translateY(-2px);
}

.task-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(237, 182, 1, 0.18));
    color: #7c3aed;
    flex-shrink: 0;
}

.task-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    flex: 1 1 auto;
}

.task-card__title {
    font-weight: 700;
    line-height: 1.35;
}

.task-card__description {
    color: #6b5b76;
    font-size: 0.92rem;
    line-height: 1.5;
}

.task-card__arrow {
    color: rgba(124, 58, 237, 0.7);
    padding-top: 0.2rem;
}

.task-card--quick-link {
    align-items: center;
    gap: 0.75rem;
}

.task-card--quick-link .task-card__body {
    justify-content: center;
    min-height: 3rem;
}

.task-card--quick-link .task-card__title {
    line-height: 1.4;
}

.metric-card {
    height: 100%;
    padding: 1rem 1.15rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(124, 58, 237, 0.16);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.metric-card__label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #7b6b85;
}

.metric-card__value {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 2.5vw, 2.6rem);
    line-height: 1.1;
    margin-top: 0.5rem;
}

.metric-card__hint {
    color: #6b5b76;
    font-size: 0.9rem;
    margin-top: 0.35rem;
}

.metric-card--success {
    border-color: rgba(22, 163, 74, 0.2);
}

.metric-card--warning {
    border-color: rgba(245, 158, 11, 0.24);
}

.metric-card--danger {
    border-color: rgba(220, 38, 38, 0.24);
}

.search-panel {
    padding: 1.2rem;
    border-radius: 1.4rem;
    border: 1px solid rgba(124, 58, 237, 0.16);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 234, 0.95));
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.news-list {
    display: grid;
    gap: 0.85rem;
}

.news-list__item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 1rem;
    border: 1px solid rgba(124, 58, 237, 0.12);
    background: rgba(255, 255, 255, 0.9);
}

.news-list__item h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.news-list__item time {
    font-size: 0.85rem;
    color: #7b6b85;
}

.stacked-list {
    display: grid;
    gap: 0.8rem;
}

.stacked-list__item {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(124, 58, 237, 0.12);
    background: rgba(255, 255, 255, 0.88);
}

.government-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.government-link-card {
    display: grid;
    gap: 0.9rem;
    min-height: 100%;
    padding: 1rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(124, 58, 237, 0.14);
    background: rgba(255, 255, 255, 0.95);
    color: #3d2148;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.government-link-card:hover,
.government-link-card:focus-visible {
    color: #3d2148;
    border-color: rgba(124, 58, 237, 0.28);
    box-shadow: 0 16px 32px rgba(124, 58, 237, 0.14);
    transform: translateY(-2px);
}

.government-link-card__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4.5rem;
    padding: 0.55rem;
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.08), rgba(255, 251, 234, 0.95));
}

.government-link-card__brand img {
    display: block;
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
}

.government-link-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.12);
    color: #7c3aed;
    font-size: 1.1rem;
}

.government-link-card__title {
    font-weight: 700;
    line-height: 1.45;
}

.government-link-card__action {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #7c3aed;
    font-size: 0.92rem;
    font-weight: 600;
}

.detail-list dt {
    font-weight: 700;
    color: #5e4768;
}

.detail-list dd {
    margin-bottom: 0.8rem;
}

.timeline {
    display: grid;
    gap: 1rem;
}

.timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 1rem 1fr;
    gap: 1rem;
}

.timeline__item::before {
    content: '';
    position: absolute;
    left: 0.46rem;
    top: 1rem;
    bottom: -1rem;
    width: 2px;
    background: rgba(124, 58, 237, 0.16);
}

.timeline__item:last-child::before {
    display: none;
}

.timeline__dot {
    width: 1rem;
    height: 1rem;
    margin-top: 0.1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c3aed, #edb601);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.timeline__content {
    padding-bottom: 0.25rem;
}

.timeline-list {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.8rem;
}

.attachment-preview {
    display: block;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(124, 58, 237, 0.16);
    background: rgba(255, 255, 255, 0.94);
    color: inherit;
    text-decoration: none;
}

.attachment-preview img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.attachment-preview__label {
    display: block;
    padding: 0.8rem 0.9rem;
    font-size: 0.92rem;
    font-weight: 600;
}

.manual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.homepage-slider {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 40px rgba(33, 37, 41, 0.12);
}

.homepage-slider .carousel-inner {
    border-radius: 1.4rem;
}

.homepage-slider__eyebrow {
    color: #fffbea;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.24);
}

.homepage-slider__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    padding: clamp(1.1rem, 2vw, 1.75rem);
}

.homepage-slider__slide {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #3d2148;
}

.homepage-slider__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.homepage-slider__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(27, 18, 32, 0.12) 0%, rgba(27, 18, 32, 0.26) 35%, rgba(27, 18, 32, 0.8) 100%),
        linear-gradient(90deg, rgba(37, 22, 43, 0.7) 0%, rgba(37, 22, 43, 0.24) 55%, rgba(37, 22, 43, 0.08) 100%);
}

.homepage-slider__topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.homepage-slider__content {
    display: grid;
    gap: 1rem;
    max-width: min(100%, 40rem);
}

.homepage-slider__kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    background: rgba(255, 251, 234, 0.14);
    color: #fffbea;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.homepage-slider__title {
    margin: 0;
    font-size: clamp(1.6rem, 2vw, 2.45rem);
    color: #fff;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.homepage-slider__subtitle {
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 251, 234, 0.92);
}

.homepage-slider__news-link {
    border: 0;
    color: #3d2148;
    background: rgba(255, 251, 234, 0.94);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.homepage-slider__controls {
    position: absolute;
    right: clamp(1rem, 2vw, 1.75rem);
    bottom: clamp(1rem, 2vw, 1.5rem);
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    width: calc(100% - clamp(2rem, 4vw, 3.5rem));
}

.homepage-slider__indicators {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-right: auto;
}

.homepage-slider__indicators [data-bs-target] {
    width: 0.8rem;
    height: 0.8rem;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 251, 234, 0.44);
    opacity: 1;
}

.homepage-slider__indicators .active {
    width: 2rem;
    background: linear-gradient(90deg, #fffbea, #edb601);
}

.homepage-slider__control-btn {
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 251, 234, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fffbea;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(10px);
}

.homepage-slider__control-btn:hover,
.homepage-slider__control-btn:focus-visible {
    border-color: rgba(255, 251, 234, 0.6);
    background: rgba(255, 255, 255, 0.24);
    color: #fff;
}

.manual-card {
    height: 100%;
    padding: 1.1rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(124, 58, 237, 0.16);
    background: rgba(255, 255, 255, 0.94);
}

.manual-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
    margin-bottom: 0.9rem;
}

.badge-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-stat-chart {
    display: grid;
    gap: 0.7rem;
}

.service-stat-chart__bar {
    display: grid;
    gap: 0.28rem;
}

.service-stat-chart__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
}

.service-stat-chart__progress {
    height: 0.55rem;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.1);
    overflow: hidden;
}

.service-stat-chart__progress > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7c3aed, #edb601);
}

.breadcrumb-wrap {
    padding-top: 1rem;
}

.breadcrumb-wrap .breadcrumb {
    margin-bottom: 0;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(124, 58, 237, 0.12);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

@media (max-width: 767.98px) {
    .task-grid,
    .manual-grid {
        grid-template-columns: 1fr;
    }

    .homepage-slider__slide {
        min-height: 420px;
    }

    .homepage-slider__panel {
        padding-bottom: 5rem;
    }

    .homepage-slider__controls {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        width: auto;
    }

    .homepage-slider__indicators {
        max-width: calc(100% - 6.5rem);
    }

    .homepage-slider__control-btn {
        width: 2.5rem;
        height: 2.5rem;
    }

    .attachment-preview img {
        height: 180px;
    }
}
