/* Extracted from WordPress page 946: Resources. */

/* --- Specific Styles for Resources Hub --- */
    .ez-res-wrapper {
        position: relative;
        overflow: hidden;
        background: transparent;
        padding-bottom: 80px;
    }
    
    /* Dynamic Background Blobs */
    .ez-res-blob {
        position: absolute;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        filter: blur(120px);
        opacity: 0.3;
        z-index: -1;
        pointer-events: none;
    }
    .ez-res-blob-top { background: var(--ez-orange-soft); top: -100px; right: -10vw; }
    .ez-res-blob-mid { background: var(--ez-blue-soft); top: 30%; left: -10vw; }

    /* Hero Section */
    .ez-res-hero {
        padding: 160px 20px 60px;
        text-align: center;
        max-width: 900px;
        margin: 0 auto;
    }
    
    /* SEO Breadcrumbs */
    .ez-breadcrumbs {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--ez-gray);
        margin-bottom: 24px;
    }
    .ez-breadcrumbs a { color: var(--ez-text); min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; transition: var(--ez-t); }
    .ez-breadcrumbs a:hover { color: var(--ez-orange); }
    .ez-breadcrumbs svg { width: 14px; height: 14px; color: var(--ez-light); }

    /* ----------------------------------------------------
        TYPOGRAPHY PATTERNS (MATCHED WITH HOMEPAGE)
    ---------------------------------------------------- */
    
    /* Pattern 1: H1 Hero Title (Split Gradient) */
    .ez-hero-title {
        font-size: clamp(2.5rem, 5vw, 56px);
        font-weight: 900;
        line-height: 1.1;
        color: var(--ez-text);
        margin-bottom: 24px;
        letter-spacing: -1px;
    }
    .ez-hero-title-gradient {
        background: linear-gradient(90deg, var(--ez-orange), var(--ez-red));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    /* Hero Description */
    .ez-res-hero p {
        font-size: 1.15rem;
        color: var(--ez-gray);
        line-height: 1.7;
        margin-bottom: 0;
        font-weight: 500;
    }

    /* Directory Grid Container */
    .ez-res-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto 60px;
        padding: 0 20px;
        position: relative;
        z-index: 10;
    }

    /* Glassmorphism Hub Cards */
    .ez-res-card {
        background: rgba(255, 255, 255, 0.70);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.9);
        border-radius: var(--ez-r-xl);
        padding: 40px 30px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        text-decoration: none;
        box-shadow: 0 15px 35px rgba(18, 52, 77, 0.05), inset 0 1px 0 var(--ez-white);
        transition: var(--ez-t-spring);
    }
    
    .ez-res-card:hover {
        transform: translateY(-8px);
        background: rgba(255, 255, 255, 0.95);
        border-color: rgba(242, 103, 42, 0.4);
        box-shadow: 0 25px 50px rgba(242, 103, 42, 0.15), inset 0 1px 0 var(--ez-white);
    }

    /* Pattern 2: Card Titles (Matched with Homepage H3 Cards) */
    .ez-res-card-title {
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--ez-text);
        margin: 24px 0 12px;
        line-height: 1.3;
    }

    .ez-res-card p {
        font-size: 0.95rem;
        color: var(--ez-gray);
        line-height: 1.6;
        margin: 0 0 24px 0;
        flex-grow: 1;
    }

    .ez-res-link {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--ez-orange);
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: var(--ez-t);
        margin-top: auto;
    }
    .ez-res-card:hover .ez-res-link {
        gap: 12px;
        color: var(--ez-dark);
    }
    .ez-res-link svg { width: 18px; height: 18px; transition: transform 0.3s; }

    /* Responsive Perfection */
    @media (max-width: 992px) {
        .ez-res-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
        .ez-res-hero { padding: 130px 20px 40px; }
        .ez-res-grid { grid-template-columns: 1fr; gap: 20px; }
        .ez-res-card {
            padding: 30px 24px;
            align-items: center; /* Centers icon and button */
            text-align: center;  /* Centers typography */
        }
    }
