/* homepage CSS */
.home-lead {
    width: 100%;
    height: auto;
    margin-inline: auto;
    margin-block: 0;
}
.home-hero {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1.91;
}
.home-hero img {
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 25% 25%;
}
.home-lead-text {
    width: 100%;
    height: 100%;
    padding-block: 30px 30px;
    padding-inline: 1rem 1rem;
}
.home-lead-text h1 {
    font-size: 2.5rem;
} 
.home-lead-text p {
    font-size: 1.5rem;
    margin-block: 1.25rem 0;
    line-height: 1.4;
}
.home-join-link {
    margin-top: 1.5rem;
}
.home-join-link .btn {
    font-size: 1.75rem;
}

.home-lead-detailing {
    color: var(--light);
    background: url('/assets/images/chimp-swing-home.png') top right no-repeat, url(/assets/images/rsuae-footer-detail.png) bottom right no-repeat, var(--uae-flag-green-gradient);
    width: 100%;
}

.home-lead .bg-uae-flag-green {
    display: none;
}


@media (min-width: 960px){
    .home-lead-text {
        max-width: 455px;
        padding-block: 100px 50px;
        padding-inline: 40px 60px;
    }

    .home-lead {
        display: grid;
        grid-template: 1fr / 2fr 1fr;
    }
    .home-hero {
        aspect-ratio: auto;
    }
    .home-lead-text {
        width: 100%;
        height: 100%;
        max-width: 455px;
        padding-block: 100px 50px;
        padding-inline: 40px 60px;
    }

}

@media (min-width: 1280px){
    .home-lead .bg-uae-flag-green {
        display: block;
        width: 100%;
    }
    .home-lead {
        display: grid;
        grid-template: 1fr / calc(50% - 640px) 825px auto;
    }
}


.content-1160.home-map-endorse, .content-1160.home-highlight, .content-1160.home-news {
    padding-block: 30px
}

@media (min-width: 960px){
    .content-1160.home-map-endorse, .content-1160.home-highlight, .content-1160.home-news {
        padding-block: 60px
    }
}

.home-map-endorse-grid {
    display: grid;
    grid-gap: 30px;
    grid-template: auto auto / 100%;
}

@media (min-width: 800px){
    .home-map-endorse-grid {
        grid-template: 1fr / 2.16fr 1fr;
    }
}
@media (min-width: 960px){
    .home-map-endorse-grid {
        grid-gap: 40px;
    }
}

.home-map {
    background-color: var(--uae-omanense-yellow-10);
    border-radius: 5px;
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.10);
    width: 100%;
    height: 100%;
    padding-block: 15px;
    padding-inline: 15px;
}

.home-endorse {
    background-color: var(--light);
    border-radius: 5px;
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.10);
    width: 100%;
    height: 100%;  
    padding-block: 15px;
    padding-inline: 15px;
}

.home-map-endorse img {
    width: 100%;
    height: auto;
    display: block;
    margin-block: 0 25px;
    padding: 0;
    border-radius: 5px;
}

.home-map h2 {
    margin-block: 0 10px;
    font-size: 2.375rem;
    font-weight: 600;
    line-height: 1;
}

.home-map p {
    margin-block: 0 20px;
    line-height: 1.4;
}



.home-endorse h2 {
    margin-block: 0 20px;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.21;
}

.home-endorse p {
    font-size: 1.125rem;
    line-height: 1.4;
    margin: 0;
}

.home-highlight-grid {
    display: grid;
    grid-template: auto auto / 100%;
    background-color: var(--light);
    border-radius: 5px;
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.10);
    width: 100%;
    height: 100%;  
    padding-block: 15px;
    padding-inline: 15px;
}

@media (min-width: 800px){
    .home-highlight-grid {
        grid-template: 1fr / 1fr 1fr;
    }
}

.home-highlight-hero {
    padding: 0;
}
.home-highlight-hero img {
    display: block;
    padding: 0;
    margin: 0;
    border-radius: 5px;
    width: 100%;
    height: auto;
}
.home-highlight-text {
    padding-block: 20px;
    padding-inline: 0;
}
.home-highlight-text h2 {
    font-size: 2.375rem;
    font-weight: 600;
    margin-block: 0 20px;
    line-height: 1.25;
}

.home-highlight-text p {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-block: 0 20px;
}


@media (min-width: 800px){
    .home-highlight-text {
        padding-inline: 60px 45px;
        align-self: center;
    }
    .home-highlight-text h2 {
        font-size: 2.375rem;
    }
    .home-highlight-text p {
        margin-block: 0 60px;
    }
}


.home-resources-grid {
    display: grid;
    grid-template: auto auto auto / 1fr 1fr;
    grid-gap: 20px 10px;
}

.home-resources-featured {
    grid-area: 2 / 1 / 3 / 3;
}

.home-resources-categories {
    grid-area: 3 / 1 / 4 / 3;    
}

@media (min-width: 800px){
    .home-resources-grid {
        grid-template: auto auto / 1fr 1fr;
        grid-gap: 20px 30px;
    }
    .home-resources-featured {
        grid-area: auto;
    }

    .home-resources-categories {
        grid-area: auto;    
    }

}

.home-resources-grid h2 {
    align-self: center;
    margin: 0;
    line-height: 1;
    font-size: 2.125rem;
    font-weight: 600;
}

.home-resources-all {
    align-self: center;
    justify-self: end;
}
.home-resources-all .btn-inverse, .home-resources-all a.btn-inverse:visited  {
    color: var(--uae-zinnia-red);
}
.home-resources .btn-inverse:focus, .home-resources .btn-inverse:hover, .home-resources a.btn-inverse:focus, .home-resources a.btn-inverse:hover {
    color: var(--uae-zinnia-red);
    background-color: var(--uae-zinnia-red-10);
}

a.home-resources-featured, a.home-resources-featured:visited {
    display: block;
    color: var(--uae-text-black);
    text-decoration: none;
    background-color: var(--light);
    border-radius: 5px;
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.10);
    width: 100%;
    height: 100%;  
    padding-block: 15px;
    padding-inline: 15px;
}
a.home-resources-featured:hover, a.home-resources-featured:focus {
    color: var(--uae-text-black);
    background-color: var(--uae-zinnia-red-10);
}
.home-resources-featured-image {
    display: block;
    width: 100%;
    aspect-ratio: 1.28;
    overflow: hidden;
}
.home-resources-featured img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}
.home-resources-featured h3 {
    font-weight: 600;
    margin-block: 20px 0;
    line-height: 1.4;
    font-size: 2.3125rem;
}
.home-resources-featured p {
    margin-block: 5px 0;
    line-height: 1.3;
    font-size: 1.375rem;
}
.home-resources-featured p.view-resource {
    margin-block: 10px 0;
    font-weight: 600;
    color: var(--uae-zinnia-red);
    text-decoration: underline;    
}
.home-resources-categories {
    display: grid;
    grid-template: 1fr 1fr 1fr / 1fr;
    grid-gap: 25px;
    background-color: var(--uae-zinnia-red-80);
    border-radius: 5px;
    width: 100%;
    height: 100%;  
    padding-block: 25px;
    padding-inline: 25px;    
}
a.home-resource-mini, a.home-resource-mini:visited {
    color: var(--uae-text-black);
    display: grid;
    grid-template: 1fr / 1fr 2.14fr;
    grid-gap: 20px;
    align-items: center;
    text-decoration: none;
    background-color: var(--light);
    border-radius: 5px;
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.10);
    width: 100%;
    height: 100%;  
    padding-block: 15px;
    padding-inline: 15px;   
}
a.home-resource-mini:hover, a.home-resource-mini:focus {
    color: var(--uae-text-black);
    background-color: var(--uae-zinnia-red-10);
}

.home-resource-mini-image {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}
.home-resource-mini-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}
.home-resource-mini h3 {
    font-weight: 600;
    margin-block: 0;
    line-height: 1.3;
    font-size: 1.5rem;
}
.home-resource-mini p {
    margin-block: 7px 0;
    line-height: 1.3;
    font-size: 1.375rem;
}


.home-news-grid {
    display: grid;
    grid-gap: 20px 10px;
    grid-template: auto auto auto auto auto / auto auto;
}
.empty {
    display: none;
}


.home-news-subscribe {
    grid-area: 2 / 1 / 3 / 3;
}
.block-1 {
    grid-area: 3 / 1 / 4 / 3;
}
.block-2 {
    grid-area: 4 / 1 / 5 / 3;
}

@media (min-width: 620px){

    .home-news-grid {
        display: grid;
        grid-gap: 20px 10px;
        grid-template: auto auto auto / auto auto;
    }
    .empty {
        display: none;
    }
    .home-news-block.block-2 {
        display: none;
    }
    .home-news-subscribe, .block-1, .block-2 {
        grid-area: auto;
    }
}

@media (min-width: 920px){
    .home-news-grid {
        grid-gap: 20px 30px;
        grid-template: auto auto / 1fr 1fr 1fr;
    }
    .empty {
        display: block;
    }
    .home-news-block.block-2 {
        display: block;
    }
}

.home-news-grid h2 {
    align-self: center;
    color: var(--uae-flag-green);
    margin: 0;
    line-height: 1;
    font-size: 2.125rem;
    font-weight: 600;
}

.home-news-all {
    align-self: center;
    justify-self: end;
}

.home-news-block, a.home-news-block, a.home-news-block:visited {
    display: block;
    color: var(--uae-text-black);
    background-color: var(--light);
    text-decoration: none;
    background-color: var(--light);
    border-radius: 5px;
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.10);
    width: 100%;
    height: 100%;  
    padding-block: 15px;
    padding-inline: 15px;
}
a.home-news-block:hover, a.home-news-block:focus {
    background-color: var(--uae-flag-green-10);
    color: var(--uae-text-black);
}
.home-news-subscribe h3 {
    color: var(--uae-text-black);
    margin-block: 0 10px;
    font-size: 1.6875rem;
    font-weight: 600;
    line-height: 130%
}
.home-news-image {
    display: block;
    width: 100%;
    aspect-ratio: 1.5;
    overflow: hidden;
}
.home-news-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}
a.home-news-block h3, a.home-news-block:visited h3 {
    color: var(--uae-flag-green);
    font-size: 1.375rem;
    line-height: 1.3;
    font-weight: 600;
    margin-block: 25px 0;
}
a.home-news-block p {
    margin-block: 10px 0;
    font-size: 1.125rem;
    line-height: 1.4;
}
a.home-news-block p.read-more {
    color: var(--uae-flag-green);
    text-decoration: underline;
    font-weight: 600;
}