
/* =========================================================
   PAVLOS ANDRIAS — HOMEPAGE DYNAMIC SECTIONS ONLY
   ========================================================= */

.pah-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 46px;
}

.pah-section-head span {
    display: block;
    margin-bottom: 10px;
    color: #706B65;
    font-family: "ASTY CF", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.pah-section-head h2 {
    margin: 0;
    color: #181615;
    font-family: Georgia, serif;
    font-size: 54px;
    font-weight: 400;
    line-height: .92;
}

.pah-section-head a {
    padding-bottom: 4px;
    border-bottom: 1px solid #181615;
    color: #181615;
    font-family: "ASTY CF", sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}


/* BOOKS */

.pah-books-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.pah-book a {
    color: #181615;
    text-decoration: none;
}

.pah-book-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 5;
    margin-bottom: 18px;
    padding: 24px;
    background: rgba(255,255,255,.52);
}

.pah-book-image img {
    width: auto;
    height: auto;
    max-width: 82%;
    max-height: 100%;
    object-fit: contain;
}

.pah-book span,
.pah-article span {
    color: #706B65;
    font-family: "ASTY CF", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.pah-book h3 {
    margin: 7px 0 0;
    color: #181615;
    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.05;
}


/* ARTICLES */

.pah-articles-grid {
    display: grid;
    grid-template-columns: 1.45fr .7fr;
    gap: 30px 36px;
}

.pah-article a {
    color: #181615;
    text-decoration: none;
}

.pah-article-featured {
    grid-row: 1 / span 2;
}

.pah-article-image {
    margin-bottom: 14px;
    overflow: hidden;
}

.pah-article-image img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.pah-article-featured .pah-article-image img {
    height: 455px;
}

.pah-article h3 {
    margin: 7px 0 0;
    color: #181615;
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.07;
}

.pah-article-featured h3 {
    font-size: 32px;
}


/* TABLET */

@media (max-width: 1024px) {

    .pah-books-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pah-articles-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pah-article-featured {
        grid-row: auto;
    }

}


/* MOBILE */

@media (max-width: 767px) {

    .pah-section-head {
        display: block;
    }

    .pah-section-head h2 {
        font-size: 42px;
    }

    .pah-section-head a {
        display: inline-block;
        margin-top: 18px;
    }

    .pah-books-grid,
    .pah-articles-grid {
        grid-template-columns: 1fr;
    }

    .pah-article-image img,
    .pah-article-featured .pah-article-image img {
        height: 280px;
    }

}
