/* =====================================================
   CLEANUP
   ===================================================== */

/* Remove hero banner completely */
.banner {
    display: none !important;
}

/* Remove folder icon next to Help Center Portal */
.article-overview-page h1 img {
    display: none !important;
}

/* =====================================================
   PAGE LAYOUT
   ===================================================== */

body,
main.article-overview-page.detail-layout.body {
    background: #ffffff;
}

/* Give content more room */
.content {
    max-width: 1400px;
    margin: 0 auto;
}

/* Remove theme width restriction on intro section */
.article-overview-page .intro {
    max-inline-size: none !important;
}

/* =====================================================
   PAGE TITLE
   ===================================================== */

.article-overview-page h1 {
    text-align: center !important;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0c214c;
    margin-bottom: 0.5rem;
}

/* Hide empty subtitle paragraph */
.intro p:empty {
    display: none;
}

/* Intro paragraph styling */
.intro p {
    color: #5b6475;
    font-size: 1.1rem;
}

/* =====================================================
   TILE LAYOUT
   ===================================================== */

.items.tiles {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 0rem !important;
}

/* Remove width constraints */
.items.tiles > li {
    width: 100% !important;
    max-width: none !important;
    list-style: none;
}

/* =====================================================
   TILE STYLING
   ===================================================== */

.tile {
    position: relative;

    background:
        radial-gradient(
            circle at top left,
            rgba(3, 80, 216, 0.85) 0%,
            rgba(3, 80, 216, 0.35) 45%,
            transparent 75%
        ),
        #0c214c !important;

    color: #ffffff !important;
    border: none !important;
    border-radius: 16px;

    min-height: 180px;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* Interior spacing */
.tile-body {
    padding: 1.25rem;
}

/* =====================================================
   TILE TYPOGRAPHY
   ===================================================== */

.tile-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.tile .tile-title,
.tile .tile-title a {
    color: #ffffff !important;
    text-decoration: none;
}

.tile .tile-text {
    color: rgba(255, 255, 255, 0.92) !important;
    line-height: 1.6;
}

/* =====================================================
   HOVER EFFECTS
   ===================================================== */

.tile:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(12, 33, 76, 0.30),
        0 0 20px rgba(3, 80, 216, 0.25);
}

.tile:hover .tile-title a {
    color: #ffffff !important;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1200px) {
    .items.tiles {
        grid-template-columns: repeat(3, minmax(250px, 1fr));
    }
}

@media (max-width: 900px) {
    .items.tiles {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
    }
}

@media (max-width: 600px) {
    .items.tiles {
        grid-template-columns: 1fr;
    }
}

.article-overview-page .intro>p {
    max-inline-size: unset !important;
}
