.page-navbar.navbar{
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-navbar .navbar-nav .nav-item a{
    font-weight: bold;
}

.page-navbar.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

.page-navbar .logo{
    font-size: 1.5rem;
}

.gradient{
    background: linear-gradient(120deg, #7364e4, #0f89db);
}

.content-block{
    text-align: center;
    margin: auto;
}

.page {
    padding-top: 20px;
}

.page-home {
    padding-top: 0;
}

@media print {
    .no-print, header, footer, .btn, .alert, .nav, .sidebar { 
        display: none !important; 
    }
    @media print {
        .container *:last-child { margin-bottom: 0 !important; }
    }
}

.asteriskField {
    display: none !important;
}

#result {
    scroll-margin-top: 80px;
}

.home-shell {
    text-align: left;
}

.home-hero-wrap {
    position: relative;
    overflow: hidden;
    margin-top: -30px;
    margin-bottom: 3rem;
    padding: 2rem 0 1rem;
    background:
        radial-gradient(circle at top right, rgba(255, 196, 77, 0.22), transparent 30%),
        radial-gradient(circle at left center, rgba(15, 137, 219, 0.16), transparent 35%),
        linear-gradient(135deg, #0f172a 0%, #102348 52%, #163b78 100%);
}

.home-hero-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.5;
    pointer-events: none;
}

.home-hero,
.home-main-content {
    position: relative;
    z-index: 1;
}

.home-hero {
    padding: 2.5rem 0 2rem;
    color: #fff;
}

.home-eyebrow,
.home-section-label,
.home-panel-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
}

.home-eyebrow {
    margin-bottom: 1rem;
    padding: 0.55rem 0.95rem;
    color: #ffe6ad;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-title {
    max-width: 10ch;
    margin-bottom: 1rem;
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    line-height: 0.95;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.home-title span {
    color: #ffca5c;
}

.home-subtitle {
    max-width: 40rem;
    margin-bottom: 1.75rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
}

.home-cta-group {
    margin-bottom: 1.75rem;
}

.home-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 38rem;
}

.home-stat-card {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.18);
}

.home-stat-card strong,
.home-stat-card span {
    display: block;
}

.home-stat-card strong {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.home-stat-card span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.home-hero-panel {
    position: relative;
    padding: 1rem 0 1rem 1rem;
}

.home-hero-panel-glow {
    position: absolute;
    inset: 2rem 0 1rem 4rem;
    border-radius: 2rem;
    background: linear-gradient(180deg, rgba(255, 202, 92, 0.35), rgba(40, 167, 69, 0));
    filter: blur(36px);
    opacity: 0.75;
}

.home-hero-panel-card {
    position: relative;
    border-radius: 1.5rem;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.3);
}

.home-hero-primary {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
}

.home-hero-primary h2 {
    margin: 0.6rem 0;
    font-size: 1.75rem;
    line-height: 1.05;
}

.home-hero-primary p {
    color: rgba(255, 255, 255, 0.8);
}

.home-panel-label {
    padding: 0.45rem 0.8rem;
    color: #081120;
    background: #ffca5c;
}

.home-mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.home-mini-links a {
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.09);
}

.home-mini-links a:hover,
.home-category-card:hover,
.home-shortcut-list a:hover {
    transform: translateY(-2px);
}

.home-hero-secondary {
    width: 82%;
    margin: -1.2rem 0 0 auto;
    padding: 1.1rem 1.2rem;
    background: rgba(10, 18, 35, 0.85);
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
    color: #ffca5c;
    font-size: 0.9rem;
    font-weight: 700;
}

.home-checklist {
    margin: 0;
    padding-left: 1rem;
    color: rgba(255, 255, 255, 0.82);
}

.home-checklist li + li {
    margin-top: 0.55rem;
}

.home-category-strip {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.home-category-card {
    display: block;
    padding: 1.25rem;
    border-radius: 1.25rem;
    color: #0f172a;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.home-category-card strong,
.home-category-card small,
.home-category-icon {
    display: block;
}

.home-category-card strong {
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
}

.home-category-card small {
    color: #4b5563;
    font-size: 0.92rem;
}

.home-category-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.9rem;
    border-radius: 0.9rem;
    text-align: center;
    line-height: 3rem;
    font-size: 1.1rem;
    color: #fff;
}

.home-category-date {
    background: linear-gradient(180deg, #f7fbff 0%, #e8f3ff 100%);
}

.home-category-date .home-category-icon {
    background: linear-gradient(135deg, #0f89db, #0f5ab7);
}

.home-category-finance {
    background: linear-gradient(180deg, #f7fff5 0%, #ecf9e9 100%);
}

.home-category-finance .home-category-icon {
    background: linear-gradient(135deg, #198754, #0f5132);
}

.home-category-creative {
    background: linear-gradient(180deg, #fff8f0 0%, #fff0db 100%);
}

.home-category-creative .home-category-icon {
    background: linear-gradient(135deg, #e67e22, #b45309);
}

.home-main-content {
    margin-bottom: 3rem;
}

.home-section-heading {
    margin-bottom: 1.75rem;
}

.home-section-label {
    margin-bottom: 0.6rem;
    padding: 0.45rem 0.8rem;
    color: #0f5ab7;
    background: #e7f1ff;
}

.home-section-heading h2 {
    margin-bottom: 0.35rem;
    font-size: 2rem;
}

.home-section-heading p {
    color: #6b7280;
    margin-bottom: 0;
}

.home-feature-card {
    overflow: hidden;
    border-radius: 1.4rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12) !important;
}

.home-feature-image {
    height: 220px;
    object-fit: cover;
}

.home-card-tag {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    color: #0f5ab7;
    background: #eef5ff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.home-wide-card {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.home-wide-card-icon {
    flex: 0 0 4rem;
    width: 4rem;
    height: 4rem;
    border-radius: 1.2rem;
    text-align: center;
    line-height: 4rem;
    color: #fff;
    font-size: 1.45rem;
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.home-wide-card-content h3 {
    margin-bottom: 0.55rem;
    font-size: 1.35rem;
}

.home-value-band {
    margin-top: 2rem;
    padding: 1.75rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

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

.home-value-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(15, 90, 183, 0.08);
}

.home-value-item i {
    color: #198754;
}

.home-sidebar {
    position: sticky;
    top: 20px;
}

.home-trending-card,
.home-sidebar-panel,
.home-help-card {
    border-radius: 1.4rem;
}

.home-sidebar-header {
    margin-bottom: 1rem;
}

.home-trending-item {
    padding: 0.95rem 0;
    border-left: 0;
    border-right: 0;
    transition: color 0.2s ease;
}

.home-trending-item .badge {
    min-width: 2rem;
    padding: 0.45rem 0;
    color: #fff;
    background: linear-gradient(135deg, #0f89db, #0f5ab7);
}

.home-trending-item i {
    color: #9ca3af;
}

.home-sidebar-panel {
    padding: 1.4rem;
    background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.home-shortcut-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.home-shortcut-list a {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease;
}

.home-help-card {
    padding: 1.6rem;
    color: #fff;
    background: linear-gradient(135deg, #0f89db 0%, #163b78 100%);
    box-shadow: 0 18px 38px rgba(15, 90, 183, 0.22);
}

.home-help-card i {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #ffca5c;
}

.home-help-card p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 991.98px) {
    .home-title {
        max-width: none;
    }

    .home-hero-panel {
        padding-left: 0;
    }

    .home-category-strip,
    .home-stat-grid {
        grid-template-columns: 1fr;
    }

    .home-sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .home-hero {
        padding-top: 1.5rem;
    }

    .home-hero-wrap {
        margin-top: -20px;
    }

    .home-hero-secondary {
        width: 100%;
        margin-top: 1rem;
    }

    .home-wide-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-feature-image {
        height: 180px;
    }
}
