/* =========================================================
   Interactive Learning Tools
   /interactive-learning-tools/interactive-learning-tools.css
   ========================================================= */

.ilt-page {
    font-family: "Inter", sans-serif;
    color: #1f2933;
    background-color: #ffffff;
}


/* =========================================================
   Main tools section
   ========================================================= */

.ilt-tools-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.ilt-section-heading {
    max-width: 760px;
    margin-bottom: 3.5rem;
}

.ilt-eyebrow {
    margin-bottom: 0.75rem;
    color: #008c95;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ilt-section-heading h2 {
    margin-bottom: 1rem;
    color: #1f2933;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
}

.ilt-section-heading > p:last-child {
    margin-bottom: 0;
    color: #5f6b76;
    font-size: 1.05rem;
    line-height: 1.75;
}


/* =========================================================
   Category sections
   ========================================================= */

.ilt-category {
    margin-bottom: 5rem;
}

.ilt-category:last-child {
    margin-bottom: 0;
}

.ilt-category-heading {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    max-width: 820px;
    margin-bottom: 2rem;
}

.ilt-category-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-top: 0.15rem;
    color: #008c95;
    background-color: rgba(0, 140, 149, 0.1);
    border-radius: 0.85rem;
}

.ilt-category-icon svg {
    width: 1.6rem;
    height: 1.6rem;
    stroke-width: 2;
}

.ilt-category-eyebrow {
    margin-bottom: 0.35rem;
    color: #008c95;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ilt-category-heading h2 {
    margin-bottom: 0.65rem;
    color: #1f2933;
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 800;
    line-height: 1.25;
}

.ilt-category-heading p:last-child {
    margin-bottom: 0;
    color: #65717d;
    line-height: 1.7;
}


/* =========================================================
   Tool grid
   ========================================================= */

.ilt-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}


/* =========================================================
   Tool cards
   ========================================================= */

.ilt-tool-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 1.75rem;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #dfe5ea;
    border-radius: 1rem;
    box-shadow: 0 0.4rem 1.25rem rgba(31, 41, 51, 0.07);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.ilt-tool-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 140, 149, 0.4);
    box-shadow: 0 1rem 2rem rgba(31, 41, 51, 0.13);
}

.ilt-tool-card-featured {
    background:
        linear-gradient(
            145deg,
            rgba(0, 140, 149, 0.07),
            rgba(0, 140, 149, 0.015)
        ),
        #ffffff;
    border-color: rgba(0, 140, 149, 0.3);
}

.ilt-tool-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1.25rem;
    color: #008c95;
    background-color: rgba(0, 140, 149, 0.1);
    border-radius: 0.8rem;
}

.ilt-tool-icon svg {
    width: 1.55rem;
    height: 1.55rem;
    stroke-width: 2;
}

.ilt-tool-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.ilt-tool-heading {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.ilt-tool-heading h3 {
    margin: 0;
    color: #1f2933;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.35;
}

.ilt-tool-status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.6rem;
    color: #087f5b;
    background-color: #e8f8f1;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.ilt-tool-status-collection {
    color: #006b73;
    background-color: rgba(0, 140, 149, 0.12);
}

.ilt-tool-content > p {
    margin-bottom: 1rem;
    color: #65717d;
    line-height: 1.7;
}

.ilt-tool-features {
    margin: 0 0 1.5rem;
    padding-left: 1.15rem;
    color: #4e5b66;
}

.ilt-tool-features li {
    margin-bottom: 0.45rem;
    line-height: 1.5;
}

.ilt-tool-features li:last-child {
    margin-bottom: 0;
}


/* =========================================================
   Tool buttons
   ========================================================= */

.ilt-tool-button {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    padding: 0.8rem 1rem;
    color: #ffffff;
    background-color: #008c95;
    border: 1px solid #008c95;
    border-radius: 0.55rem;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.ilt-tool-button:hover,
.ilt-tool-button:focus {
    color: #ffffff;
    background-color: #00747c;
    border-color: #00747c;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 0.5rem 1rem rgba(0, 140, 149, 0.2);
}

.ilt-tool-button svg {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    transition: transform 180ms ease;
}

.ilt-tool-card:hover .ilt-tool-button svg {
    transform: translateX(3px);
}


/* =========================================================
   Information section
   ========================================================= */

.ilt-info-section {
    padding: 5rem 0;
    background-color: #f5f8fa;
}

.ilt-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.ilt-info-grid article {
    padding: 1.75rem;
    background-color: #ffffff;
    border: 1px solid #e1e7ec;
    border-radius: 1rem;
}

.ilt-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.15rem;
    color: #008c95;
    background-color: rgba(0, 140, 149, 0.1);
    border-radius: 0.75rem;
}

.ilt-info-icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

.ilt-info-grid h2 {
    margin-bottom: 0.75rem;
    color: #1f2933;
    font-size: 1.3rem;
    font-weight: 800;
}

.ilt-info-grid p {
    margin-bottom: 0;
    color: #65717d;
    line-height: 1.7;
}


/* =========================================================
   SEO content section
   ========================================================= */

.ilt-seo-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.ilt-seo-content {
    max-width: 900px;
}

.ilt-seo-content h2 {
    margin-bottom: 1.25rem;
    color: #1f2933;
    font-size: clamp(1.9rem, 4vw, 2.5rem);
    font-weight: 800;
}

.ilt-seo-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    color: #1f2933;
    font-size: 1.35rem;
    font-weight: 800;
}

.ilt-seo-content p {
    color: #5f6b76;
    font-size: 1.02rem;
    line-height: 1.8;
}

.ilt-seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    margin-top: 2rem;
}

.ilt-resource-link {
    color: #008c95;
    font-weight: 700;
    text-decoration: none;
}

.ilt-resource-link:hover,
.ilt-resource-link:focus {
    color: #00747c;
    text-decoration: underline;
}


/* =========================================================
   Responsive layout
   ========================================================= */

@media (max-width: 1199.98px) {
    .ilt-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .ilt-tools-section,
    .ilt-info-section,
    .ilt-seo-section {
        padding: 4rem 0;
    }

    .ilt-info-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .ilt-tools-section,
    .ilt-info-section,
    .ilt-seo-section {
        padding: 3.5rem 0;
    }

    .ilt-section-heading {
        margin-bottom: 2.75rem;
    }

    .ilt-category {
        margin-bottom: 4rem;
    }

    .ilt-category-heading {
        gap: 1rem;
    }

    .ilt-category-icon {
        width: 3rem;
        height: 3rem;
    }

    .ilt-tools-grid {
        grid-template-columns: 1fr;
    }

    .ilt-tool-card {
        padding: 1.5rem;
    }

    .ilt-tool-heading {
        flex-direction: column;
        gap: 0.65rem;
    }

    .ilt-seo-links {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .ilt-category-heading {
        flex-direction: column;
    }

    .ilt-category-icon {
        margin-top: 0;
    }

    .ilt-tool-button {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
        font-size: 0.86rem;
    }
}