/* ARTICLE LIST */

.page--article-list { width: 100%; background: #fff; }
.page--article-list .articles { width: 100%; }

/* FEATURED ARTICLE */

.articles__featured { width: 100%; padding: 75px 0 100px; background: #F1EFEB; }
.articles__featured-container { display: flex; justify-content: center; }
.articles__featured .article-teaser { width: 100%; max-width: 750px; margin: 0 auto; text-align: center; }
.articles__featured .article-teaser__image { width: 100%; max-width: 460px; margin: 0 auto; }
.articles__featured .article-teaser__content { max-width: 700px; margin: 0 auto; padding-top: 25px; }
.articles__featured .article-teaser__title { max-width: 700px; font-size: 42px; line-height: 1.15; }
.articles__featured .article-teaser__description { max-width: 600px; }

/* ARTICLE GRID */

.articles__results { width: 100%; padding: 100px 0 130px; background: #fff; }
.articles__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 30px; row-gap: 90px; }
.articles__grid .article-teaser { min-width: 0; }
.articles__grid .article-teaser__image { width: 100%; }
.articles__grid .article-teaser__title { font-size: 28px; }

/* ARTICLE TEASER */

.article-teaser { width: 100%; min-width: 0; }
.article-teaser__image { display: block; width: 100%; max-width: 100%; overflow: hidden; }
.article-teaser__image .field { display: block; width: 100%; }
.article-teaser__image .field__item { display: block; width: 100%; }
.article-teaser__image img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.article-teaser__image:hover img { transform: scale(1.04); }
.article-teaser__content { padding-top: 22px; }
.article-teaser__category { margin-bottom: 12px; color: #111; font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; }
.article-teaser__category .field__label { display: none; }
.article-teaser__category a { color: inherit; text-decoration: none; }
.article-teaser__title { margin: 0 auto 15px; color: #111; font-family: 'Italiana', sans-serif; font-size: 28px; font-weight: 400; line-height: 1.2; }
.article-teaser__title a { color: inherit; text-decoration: none; transition: color .3s ease; }
.article-teaser__title a:hover { color: var(--vf-olive); }
.article-teaser__description { max-width: 600px; margin: 0 auto; color: #888; font-size: 14px; line-height: 1.65; }

/* PAGINATION */

.articles__pagination { padding-top: 20px; padding-bottom: 90px; text-align: center; background: #fff; }

/* ARTICLE DETAIL */

.article-detail { width: 100%; --article-image-width: 625px; --article-image-overlap: 312px; }
.article-detail__heading { position: relative; padding: 30px 0 0; background: #F1EFEB; text-align: center; }
.article-detail__title { max-width: 750px; margin: 0 auto 20px; color: #111; font-family: 'Italiana', sans-serif; font-size: clamp(36px, 4vw, 48px); font-weight: 400; line-height: 1.1; }
.article-detail__date { margin-bottom: 40px; color: #333; font-size: 12px; line-height: 1.5; }
.article-detail__image { position: relative; z-index: 2; width: min(100%, var(--article-image-width)); margin: 0 auto -200px; overflow: hidden; }
.article-detail__image .field { width: 100%; }
.article-detail__image img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; transform-origin: center; }
.article-detail__body { position: relative; padding: 250px 0 120px; background: #fff; }
.article-detail__text { max-width: 780px; margin: 0 auto; color: #555; font-size: 16px; line-height: 1.85; }
.article-detail__text p { margin: 0 0 25px; }
.article-detail__text h2 { margin: 55px 0 20px; color: #111; font-family: 'Italiana', sans-serif; font-size: 36px; font-weight: 400; line-height: 1.2; }
.article-detail__text h3 { margin: 40px 0 20px; color: #111; font-family: 'Italiana', sans-serif; font-size: 28px; font-weight: 400; line-height: 1.2; }
.article-detail__text img { display: block; max-width: 100%; height: auto; margin: 35px auto; }
.article-detail__text blockquote { margin: 50px 0; padding: 15px 35px; border-left: 1px solid var(--vf-olive); color: #111; font-family: 'Italiana', sans-serif; font-size: 30px; line-height: 1.4; }
.article-detail__text a { color: var(--vf-olive); text-decoration: underline; text-underline-offset: 4px; }
.article-detail__tags { display: flex; flex-wrap: wrap; gap: 15px; max-width: 780px; margin: 60px auto 0; padding-top: 25px; border-top: 1px solid #ddd; font-size: 13px; }
.article-detail__tags a { color: var(--vf-olive); }

/* TABLET */

@media (max-width: 1024px) {
    .articles__featured { padding: 60px 0 80px; }
    .articles__results { padding: 80px 0 100px; }
    .articles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 65px 25px; }
}

/* MOBILE */

@media (max-width: 767px) {
    .articles__featured { padding: 45px 0 65px; }
    .articles__featured .article-teaser__title { font-size: 34px; }
    .articles__results { padding: 65px 0 80px; }
    .articles__grid { grid-template-columns: minmax(0, 1fr); row-gap: 65px; }
    .article-teaser__title { font-size: 27px; }
    .article-teaser__content { padding-top: 20px; }
    .article-detail { --article-image-overlap: 40vw; }
    .article-detail__heading { padding-top: 45px; }
    .article-detail__title { font-size: 34px; }
    .article-detail__date { margin-bottom: 30px; }
    .article-detail__image { width: min(100%, 80vw); }
    .article-detail__body { padding-top: calc(var(--article-image-overlap) + 65px); padding-bottom: 80px; }
    .article-detail__text { font-size: 15px; }
    .article-detail__text h2 { font-size: 30px; }
    .article-detail__text h3 { font-size: 24px; }
    .article-detail__text blockquote { margin: 35px 0; padding: 10px 20px; font-size: 24px; }
}