* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

.wp-block {
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.wp-block,
.wp-block-group,
.wp-block-cover,
.wp-block-image {
    box-sizing: border-box;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.page-body p {
    margin-bottom: 1rem;
}

.page-body ul,
.page-body ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.page-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
}

.alignwide {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    left: 0;
    right: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.hero {
    height: 10vh;
}

.articles-grid {
    display: grid;
/*    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); */
    grid-template-columns: repeat(4, minmax(200px, 1fr));
	gap: 20px;
    justify-content: center;
    margin: 10%;
    text-decoration: none;
}

.article-card {
    position: relative; 
    height: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 20px;
    overflow: hidden;
}

.full-link {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-indent: -9999px;
}

.article-card .div-img {
    width: 100%;
    aspect-ratio: 1 / 0.5;
    overflow: hidden;
}

.article-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flex-info {
    flex-grow: 1;
    height: auto;
    padding: 1rem 3rem;
    display: flex;
    flex-direction: column;
    color: black;
}

.flex-info h2 {
    font-size:  clamp(1.2rem, 1.5vw + 0.5rem, 1.5rem);
    font-weight: bold;
    text-decoration: none;
}

.flex-info p {
    font-size: clamp(1rem, 1.2vw + 0.2rem, 1.2rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.single_post {
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: center;
    padding: 10rem 0 0 0;
}
.article-full {
    width: 70%;
    padding: 0 0 3rem 0;
}

.single_post {
    padding: 10rem 0 0 0;
    width: 70%;
    max-width: 1000px;   
    padding: 2rem;
    text-align: start; 
}

.single_post-header img {
    width: 100%;   
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.single_post-header h1 {
    font-size: 2rem;
    margin: 0.5rem 0 1rem;
}

.single_post-header p {
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.article-full {
    line-height: 1.6;
    font-size: 1.1rem;
}


@media screen and (max-width: 900px) {

    .nav-bar {
        top:0;
        left: 0;
        width: 100%;
    }

    .nav-links {
        margin: 0;
        margin-left: +100%;
        top: 0;
        left: 0;
        position: absolute;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #A0CFC0;
        width: 100%;
        height: 100vh;
        font-size: 3rem;
        transition: all 0.5s ease;
    }

    .nav-li:hover {
        font-weight: bolder;
        font-size: clamp(1.2rem, 0.7vw + 0.75rem , 1.7rem);
    }

    .nav-contact {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-menu {
        margin-left: 0;
    }

    .footer-contact {
        flex-direction: column;
    }

    .footer-contact-text {
        width: 90%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 2rem;
    }

    .footer-bottom-cat {
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 300px;
        text-align: center;
        margin: 0;
    }

    .footer-links {
        align-items: center;
        text-align: center;
    }
    .footer-contact-cta:hover {
        font-size: 2rem;
    }
}


@media screen and (max-width: 782px) {

    .nav-bar {
        top:0;
        left: 0;
        width: 100%;
    }

    .nav-links {
        margin: 0;
        margin-left: +100%;
        top: 0;
        left: 0;
        position: absolute;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #A0CFC0;
        width: 100%;
        height: 100vh;
        font-size: 3rem;
        transition: all 0.5s ease;
    }
    
    .nav-li:hover {
        font-weight: bolder;
    }

    .nav-contact {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-menu {
        margin-left: 0;
    }

    .footer-contact {
        flex-direction: column;
    }

    .footer-contact-text {
        width: 90%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 2rem;
    }

    .footer-bottom-cat {
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 300px;
        text-align: center;
        margin: 0;
    }

    .footer-links {
        align-items: center;
        text-align: center;
    }

    .footer-contact-cta:hover {
        font-size: 2rem;
    }
}