/* News listing: scoped to the page so festival blocks keep their layout. */
/* Front-page news keeps its existing translucent background. */
.path-frontpage :is(.view-festival-news, .view-display-id-news_block) .view-content ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.path-frontpage :is(.view-festival-news, .view-display-id-news_block) .view-content ul > li {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 8px 16px;
    align-content: start;
    height: auto;
    min-height: 120px;
    margin: 0;
    padding: 14px;
    border-radius: 10px;
    overflow: visible;
}

.path-frontpage :is(.view-festival-news, .view-display-id-news_block) .view-content ul > li::before,
.path-frontpage :is(.view-festival-news, .view-display-id-news_block) .view-content ul > li::after {
    content: none;
}

.path-frontpage :is(.view-festival-news, .view-display-id-news_block) .views-field-field-news-images {
    position: static;
    grid-column: 1;
    grid-row: 1 / span 2;
    width: auto;
}

.path-frontpage :is(.view-festival-news, .view-display-id-news_block) .views-field-field-news-images img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 12%);
}

.path-frontpage :is(.view-festival-news, .view-display-id-news_block) .views-field-title {
    grid-column: 2;
    min-width: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.path-frontpage :is(.view-festival-news, .view-display-id-news_block) .views-field-title a {
    color: #30291f;
    text-decoration: none;
}

.path-frontpage :is(.view-festival-news, .view-display-id-news_block) .views-field-title a:hover {
    color: #633d08;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.path-frontpage :is(.view-festival-news, .view-display-id-news_block) a:focus-visible {
    outline: 3px solid #633d08;
    outline-offset: 3px;
}

.path-frontpage :is(.view-festival-news, .view-display-id-news_block) .views-field-field-news-body {
    grid-column: 2;
    min-width: 0;
    color: #30291f;
    font-size: 15px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.path-frontpage :is(.view-festival-news, .view-display-id-news_block) .views-field-field-news-body p {
    margin: 0 0 6px;
}

.path-frontpage :is(.view-festival-news, .view-display-id-news_block) .views-field-field-news-body p:last-child {
    margin-bottom: 0;
}

.path-frontpage :is(.view-festival-news, .view-display-id-news_block) .more-link {
    margin-top: 14px;
    font-size: 15px;
    font-weight: 700;
}

@media (max-width: 480px) {
    .path-frontpage :is(.view-festival-news, .view-display-id-news_block) .view-content ul > li {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 10px 12px;
        padding: 12px;
    }

    .path-frontpage :is(.view-festival-news, .view-display-id-news_block) .views-field-field-news-images {
        grid-row: 1;
    }

    .path-frontpage :is(.view-festival-news, .view-display-id-news_block) .views-field-field-news-body {
        grid-column: 1 / -1;
    }
}

.path-news .content-holder {
    padding-top: 32px;
    padding-bottom: 48px;
}

.path-news .content-holder > .contetn-holder {
    width: 100%;
    padding: 0;
}

.path-news .region-content > .page-header {
    margin: 0 0 28px;
    padding: 0 0 16px;
    border-bottom: 0;
    color: #29251f;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.2;
}

.news-list-page > .view-content {
    display: grid;
    gap: 24px;
}

.news-list-page .view-content > .new-item {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    margin: 0;
    overflow: hidden;
    border: 1px solid #e8dfd2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 18px rgb(65 44 15 / 7%);
}

.news-list-page .view-content > .new-item::before,
.news-list-page .view-content > .new-item::after {
    content: none;
}

.news-list-page .new-item > .new-list-itme-left-side {
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    width: auto;
    padding: 14px;
    background: #f3eee5;
}

.news-list-page .new-list-itme-left-side img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 280px;
    min-height: 0;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgb(65 44 15 / 12%);
}

.news-list-page .new-item > .new-list-itme-left-right {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 16px;
    align-content: start;
    float: none;
    width: auto;
    min-width: 0;
    min-height: 0;
    padding: 24px 28px;
}

.news-list-page .new-list-itme-left-right h2 {
    grid-column: 1 / -1;
    margin: 0;
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.news-list-page .new-list-itme-left-right h2 a {
    color: #30291f;
    text-decoration: none;
}

.news-list-page .new-list-itme-left-right h2 a:hover {
    color: #8a540c;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.news-list-page a:focus-visible {
    outline: 3px solid #985e10;
    outline-offset: 4px;
}

.news-list-page .new-item .new-list-itme-left-right .news-summery {
    grid-column: 1 / -1;
    color: #514c45;
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
    overflow-wrap: anywhere;
}

.news-list-page .news-summery p {
    margin: 0 0 8px;
}

.news-list-page .news-summery p:last-child {
    margin-bottom: 0;
}

.news-list-page .new-item .new-list-itme-left-right .published-on,
.news-list-page .new-item .new-list-itme-left-right .news-categories {
    position: static;
    align-self: center;
    margin-top: 4px;
}

.news-list-page .new-item .new-list-itme-left-right .published-on {
    grid-column: 2;
    grid-row: 3;
    color: #686158;
    font-size: 13px;
    font-style: normal;
    line-height: 1.6;
}

.news-list-page .new-item .news-categories {
    grid-column: 1;
    grid-row: 3;
}

.news-list-page .news-categories ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.news-list-page .news-categories ul li {
    width: auto;
    margin: 0;
    padding: 5px 10px;
    border-radius: 6px;
    background: #fcf0d7;
    color: #78501a;
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.news-list-page .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 32px 0 0;
}

.news-list-page .pagination > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    border: 1px solid #dfd2bd;
    border-radius: 8px;
    color: #79501a;
}

.news-list-page .pagination > .active > a,
.news-list-page .pagination > li > a:hover {
    border-color: #855918;
    background: #855918;
    color: #fff;
}

@media (max-width: 767px) {
    .path-news .content-holder {
        width: calc(100% - 30px);
        padding-top: 24px;
        padding-bottom: 32px;
    }

    .path-news .region-content > .page-header {
        margin-bottom: 20px;
    }

    .news-list-page > .view-content {
        gap: 20px;
    }

    .news-list-page .view-content > .new-item {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 12px;
    }

    .news-list-page .new-list-itme-left-side img {
        height: auto;
        min-height: 0;
        max-height: 300px;
        object-fit: contain;
    }

    .news-list-page .new-item > .new-list-itme-left-right {
        grid-template-columns: minmax(0, 1fr);
        padding: 20px;
    }

    .news-list-page .new-item .news-categories {
        grid-column: 1;
        grid-row: 3;
    }

    .news-list-page .new-item .new-list-itme-left-right .published-on {
        grid-column: 1;
        grid-row: 4;
        margin-top: 0;
    }
}

/* Full news articles retain the page's existing background. */
.page-node-type-news .content-holder > .contetn-holder {
    width: 100%;
    padding: 0;
}

.page-node-type-news .region-content > .page-header {
    max-width: 900px;
    margin: 16px auto 12px;
    padding: 0;
    border-bottom: 0;
    color: #30291f;
    font-size: clamp(26px, 2.7vw, 36px);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.02em;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.page-node-type-news .field--name-field-news-published-on {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    margin: 0 0 14px;
    padding: 6px 0;
    border-bottom: 1px solid #a88957;
    color: #51412c;
    font-size: 14px;
    line-height: 1.6;
}

.page-node-type-news .field--name-field-news-published-on > .field--label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.page-node-type-news .field--name-field-news-published-on time {
    font-variant-numeric: tabular-nums;
}

.page-node-type-news .field--name-field-news-body {
    max-width: none;
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.7;
    text-align: justify;
    hyphens: auto;
    overflow-wrap: anywhere;
}

.page-node-type-news .field--name-field-news-body p {
    margin-bottom: 16px;
    text-align: justify;
}

.page-node-type-news .lightgallery-wrapper {
    margin: 32px 0;
}

.page-node-type-news .lightgallery-wrapper ul.lightgallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
}

.page-node-type-news .lightgallery-wrapper ul.lightgallery > li {
    width: auto;
    height: auto;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
}

.page-node-type-news .lightgallery .field-content,
.page-node-type-news .lightgallery .field-content a {
    display: block;
    height: 100%;
}

.page-node-type-news .lightgallery-wrapper ul li img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    margin: 0;
    object-fit: contain;
}

.page-node-type-news .lightgallery a:focus-visible {
    outline: 3px solid #633d08;
    outline-offset: -4px;
}

@media (max-width: 767px) {
    .page-node-type-news .content-holder {
        width: calc(100% - 30px);
    }

    .page-node-type-news .field--name-field-news-body {
        font-size: 16px;
        line-height: 1.75;
    }

    .page-node-type-news .lightgallery-wrapper ul.lightgallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

/* Festival introduction below the home-page poster and news. */
.path-frontpage .field--name-field-festival-others-second {
    margin-top: 36px;
    margin-bottom: 44px;
}

.path-frontpage .field--name-field-festival-others-second .field--name-field-para-text-custom-text {
    max-width: 82ch;
    margin: 0 auto;
    color: #30291f;
    font-size: 17px;
    line-height: 1.85;
    text-align: left;
    overflow-wrap: anywhere;
}

.path-frontpage .field--name-field-festival-others-second .field--name-field-para-text-custom-text > p {
    margin: 0 0 20px;
}

.path-frontpage .field--name-field-festival-others-second .field--name-field-para-text-custom-text > p:first-child {
    margin-bottom: 24px;
    color: #30291f;
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 600;
    line-height: 1.4;
    text-wrap: balance;
}

/* The current introduction has a blank <br> spacer after its heading. */
.path-frontpage .field--name-field-festival-others-second .field--name-field-para-text-custom-text > p:first-child + p:has(> br:only-child) {
    display: none;
}

.path-frontpage .field--name-field-festival-others-second .field--name-field-para-text-custom-text > p:last-child {
    margin-bottom: 0;
}

.path-frontpage .field--name-field-festival-others-second .field--name-field-para-text-custom-text a {
    color: #684711;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 767px) {
    .path-frontpage .field--name-field-festival-others-second {
        margin-top: 28px;
        margin-bottom: 32px;
    }

    .path-frontpage .field--name-field-festival-others-second .field--name-field-para-text-custom-text {
        font-size: 16px;
        line-height: 1.75;
    }
}
