/* Front polish — clearer blocks, no white-on-white */

.front-main {
    background: #eef4fa;
}

.front-main > .hero,
.front-main > section.py-3,
.front-main > section.py-5 {
    background: linear-gradient(110deg, #edf8ff 0%, #f7fbfe 60%, #e2f2ff 100%);
}

.front-main .section-pad,
.front-main .pb-5 {
    background: transparent;
}
article a {
    FONT-WEIGHT: 700;
    color: rgb(7 105 180);
}
.panel,
.article-card,
.category-card,
.front-note {
    background: #fff;
    border: 1px solid #cfdceb;
    box-shadow: 0 4px 16px rgba(8, 44, 81, .07);
}

.category-card {
    border: 1px solid #cfdceb;
}

.front-note {
    background: #e2f0fb;
    border: 1px solid #b9d6ee;
}

.front-main .content img {
    max-width: 100%;
    height: auto;
}

.front-main .content p {
    line-height: 1.7;
    color: #3e536b;
}

.front-main .lead {
    font-size: 1.05rem;
    color: #53677b;
}

/* Header search */
.header-search {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 220px;
    max-width: 280px;
    width: 100%;
    background: #f3f8fc;
    border: 1px solid #c5d8ea;
    border-radius: 999px;
    padding: 3px 3px 3px 12px;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.header-search:focus-within {
    background: #fff;
    border-color: #096fc2;
    box-shadow: 0 0 0 3px rgba(9, 111, 194, .15);
}

.header-search > i {
    color: #5f7a96;
    font-size: 14px;
    flex-shrink: 0;
}

.header-search input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    outline: none;
    height: 32px;
    padding: 0 8px;
    font-size: 13px;
    color: #142b46;
}

.header-search input[type="search"]::placeholder {
    color: #7a8fa5;
}

.header-search input[type="search"]::-webkit-search-decoration,
.header-search input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.header-search button {
    flex-shrink: 0;
    border: 0;
    border-radius: 999px;
    background: #096fc2;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 0 14px;
    height: 32px;
    line-height: 1;
}

.header-search button:hover {
    background: #04569d;
}

.header-search--mobile {
    display: none;
}

@media (max-width: 991.98px) {
    .header-search--desktop {
        display: none;
    }

    .site-navlinks.open .header-search--mobile {
        display: flex;
        max-width: none;
        width: 100%;
        margin-top: 8px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .header-search--desktop {
        min-width: 180px;
        max-width: 210px;
    }

    .header-search--desktop button {
        padding: 0 12px;
    }
}

.article-card h3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pagination .page-link {
    color: #176eb6;
    border-color: #cfdceb;
    background: #fff;
}

.pagination .page-item.active .page-link {
    background: #096fc2;
    border-color: #096fc2;
}

.article-seo-meta {
    color: #60748a;
    font-size: 13px;
}

/* Homepage hero photo */
.hero-art {
    position: relative;
    width: 46%;
    min-height: 330px;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-art::before {
    content: none !important;
}

.hero-art img {
    width: 100%;
    max-width: 520px;
    height: min(420px, 52vw);
    object-fit: cover;
    object-position: center 35%;
    border-radius: 18px;
    border: 1px solid #c5d8ea;
    box-shadow: 0 18px 40px rgba(8, 44, 81, .18);
    background: #d7e8f6;
}

.hero-art .symbol,
.hero-art .orb {
    display: none !important;
}

@media (max-width: 900px) {
    .hero-art {
        width: 42%;
        min-height: 260px;
    }

    .hero-art img {
        height: 280px;
    }
}

@media (max-width: 600px) {
    .hero-art {
        width: 100%;
        min-height: 0;
        margin-top: 8px;
        margin-bottom: 28px;
    }

    .hero-art img {
        max-width: 100%;
        height: 240px;
    }
}
