/* ============================================================
   Content Related Links Section (cityContent.blade.php / stateContent.blade.php)
   ============================================================ */

.huc-related-links {
    padding: 1.5rem 0 3rem;
}

.huc-related-links-group {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.huc-related-links-title {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--huc-darkGray-clr);
}

.huc-related-links-card {
    flex: 1;
    border: 1px solid var(--huc-outline-stroke);
    border-radius: 12px;
    background-color: var(--huc-white-clr);
    box-shadow: 0 4px 14px rgba(var(--huc-blue-rgb), 0.05);
    padding: 1.25rem 1.5rem;
}

.huc-related-links-list {
    list-style: disc;
    margin: 0;
    padding-left: 1.1rem;
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
}

.huc-related-links-list li {
    padding: 0.5rem 0;
}

.huc-related-links-list li::marker {
    color: var(--huc-gray-clr);
}

.huc-related-links-list a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--huc-gray-clr);
    text-decoration: none;
    transition: color var(--transition-base);
}

.huc-related-links-list a:hover {
    color: var(--huc-orange-clr);
    text-decoration: underline;
}

/* ---- Scrollbar ---- */
.huc-related-links-list {
    scrollbar-width: thin;
    scrollbar-color: var(--huc-outline-stroke) transparent;
}

.huc-related-links-list::-webkit-scrollbar {
    width: 6px;
}

.huc-related-links-list::-webkit-scrollbar-track {
    background: transparent;
}

.huc-related-links-list::-webkit-scrollbar-thumb {
    background-color: var(--huc-outline-stroke);
    border-radius: 999px;
}

.huc-related-links-list::-webkit-scrollbar-thumb:hover {
    background-color: var(--huc-gray-clr);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .huc-related-links-card {
        padding: 1.1rem 1.25rem;
    }

    .huc-related-links-list {
        max-height: 280px;
    }
}

@media (max-width: 767.98px) {
    .huc-related-links {
        padding: 1.25rem 0 2.25rem;
    }

    .huc-related-links-title {
        font-size: 1.05rem;
        margin-bottom: 0.85rem;
    }

    .huc-related-links-card {
        padding: 1rem 1.15rem;
    }

    .huc-related-links-list {
        max-height: 240px;
    }

    .huc-related-links-list a {
        font-size: 0.9rem;
    }
}

@media (max-width: 420px) {
    .huc-related-links-list {
        max-height: 220px;
    }
}
