﻿        /* Section Container */
        .resource-section {
            background-color: #f0f0f0; /* Background set to ccc */
            padding: 20px 10px;
            font-family: system-ui, -apple-system, sans-serif;
        }

        /* Heading Style */
        .resource-heading {
            color: #00264c; 
            text-align: center;
            margin-bottom: 20px;
            font-size: 1.4rem;
            font-weight: bold;
        }

        /* 7-Column Grid */
        .resource-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 12px;
            max-width: 1100px;
            margin: 0 auto;
        }

        /* Link Wrapper - Forced Black and No Decoration */
        .resource-link {
            text-decoration: none !important;
            color: #000000 !important; 
            display: block;
        }

        .resource-link:hover, 
        .resource-link:active, 
        .resource-link:visited {
            text-decoration: none !important;
            color: #000000 !important;
        }

        .resource-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        /* White Logo Box */
        .logo-container {
            width: 100%;
            height: 65px;
            background: #ffffff; 
            border-radius: 3px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 5px;
            margin-bottom: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        /* Hover Lift Effect (Visual cue only) */
        .resource-link:hover .logo-container {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.2);
        }

        .logo-container img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        /* Agency Text - Forced Black */
        .agency-name {
            font-size: 0.68rem;
            line-height: 1.2;
            color: #000000; 
            font-weight: 600;
            text-decoration: none !important;
        }

        /* Mobile Adjustments */
        @media (max-width: 1024px) {
            .resource-grid { grid-template-columns: repeat(4, 1fr); }
        }
        @media (max-width: 600px) {
            .resource-grid { grid-template-columns: repeat(2, 1fr); }
            .resource-heading { font-size: 1.1rem; }
        }