/*!
 * Theme Name:      EduArd
 * Theme URI:       https://edu-ard.nl/
 * Author:          tripix.nl
 * Author URI:      https://tripix.nl/
 * Version:         1.0.0
 */

 .header-slider{
    max-width: calc(100vw - 7rem);
 }
 .header-slider .slick-list {
    overflow: hidden;
 }

 .extra-projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.extra-project-card {
    display: block;
    text-decoration: none;
}

.extra-project-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
}

.extra-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.extra-project-card:hover .extra-project-image img {
    transform: scale(1.05);
}

.extra-project-card h3 {
    font-size: 24px;
    position: absolute;
    bottom: 100px;
    left: 30px;
    right: 30px;
    color: white;
    text-shadow: 1px 4px 20px rgb(0 0 0 / 75%);
}
.extra-project-card .button-primary{
   position: absolute;
   bottom: 30px;
   left: 30px;
}
.group.menu-item.menu-item-type-post_type.menu-item-object-page.current-menu-item.active a{
    color: rgb(217 182 82)!important;
}
.pin-button{
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}
.gallery-grid__item:hover .pin-button {
    opacity: 1;
    visibility: visible;
}

li.group.menu-item.menu-item-type-post_type.menu-item-object-page a{
    color: rgb(60 60 59/var(--tw-text-opacity));
}
.content-image-small + .content-image-small {
    flex-direction: row-reverse;

    .reverse-text{
        padding-left: 8rem;
    }
}
.gallery-grids {
    display: grid;
    gap: 15px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
   
}

.gallery-grid__item {
    overflow: hidden;
        position: relative;
}

.gallery-grid__item.gallery-grid__item--content {
    padding-bottom: calc(125% / 3);
}

.gallery-grid__item.gallery-grid__item--content * {
 position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding-left: 30px;
}


.gallery-grid__item.gallery-grid__item--image {
    padding-bottom: 125%;
}


.gallery-grid__item.gallery-grid__item--image img { 
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: 0.3s;
}


.gallery-grid__item:nth-child(1) {
    grid-row: span 3 / span 3;
}

.gallery-grid__item:nth-child(2) {
    grid-column: span 2 / span 2;
    grid-row: span 3 / span 3;
    
     padding-bottom: calc(125% / 2);
   
}

.gallery-grid__item:nth-child(3) {
    grid-row: span 3 / span 3;
    grid-row-start: 4;
}

.gallery-grid__item:nth-child(4) {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    grid-row-start: 4;
}

.gallery-grid__item:nth-child(5) {
    grid-row: span 3 / span 3;
    grid-column-start: 2;
    grid-row-start: 6;
}

.gallery-grid__item:nth-child(6) {
    grid-row: span 3 / span 3;
    grid-column-start: 3;
    grid-row-start: 6;
}

.gallery-grid__item:nth-child(7) {
    grid-column: span 2 / span 2;
    grid-row: span 3 / span 3;
    grid-row-start: 9;

     padding-bottom: calc(125% / 2);
}

.gallery-grid__item:nth-child(8) {
    grid-row: span 3 / span 3;
    grid-column-start: 3;
    grid-row-start: 9;
}
.gallery-grid__item:nth-child(9) {
    grid-row: span 1 / span 3;
    grid-column-start: 1;
    grid-row-start: 12;
}
.gallery-grid__item:nth-child(10) {
    grid-row: span 1 / span 3;
    grid-column-start: 2;
    grid-row-start: 12;
}
.gallery-grid__item:nth-child(11) {
    grid-row: span 1 / span 3;
    grid-column-start: 3;
    grid-row-start: 12;
}



.gallery-grid__item.gallery-grid__title{
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
a.pin-button{
    display: flex;
    position: absolute;
    background: red;
    color: white;
    font-family: 'korolev';
    font-size: 14px;
    padding: 5px;
    border-radius: 5px;
    left: 15px;
    top: 15px;
}

a.pin-button::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background: url("pinterest_icon.svg") no-repeat center;
    background-size: contain;
    margin-right: 5px;
}
@media (min-width: 768px) {
    .extra-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .extra-projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
 @media (max-width: 1280px){
   .header-slider{
      max-width: 100%;
   }

 }
 @media(max-width: 992px){
    .gallery-grid {
    gap: 7.5px;
    }
 }
