/* Jampang Gutenberg news layout: shared between editor and public view. */
.jampang-block-home,.editor-styles-wrapper{--jp-red:#e60012;--jp-ink:#151820;--jp-line:#e9ebef;--jp-muted:#707784}
.jampang-block-home{max-width:1180px;margin:auto;padding:28px 20px 72px}
.jampang-block-home .jampang-block-section,.editor-styles-wrapper .jampang-block-section{margin:0 0 36px;max-width:none}
.jampang-block-home .jampang-block-kicker,.editor-styles-wrapper .jampang-block-kicker{font-size:12px;font-weight:850;letter-spacing:.1em;color:var(--jp-red);border-bottom:1px solid var(--jp-line);padding-bottom:14px;margin:0 0 22px}
.jampang-block-home .jampang-block-headlines,.editor-styles-wrapper .jampang-block-headlines{gap:20px;align-items:stretch}
.jampang-block-home .jampang-block-headlines>.wp-block-column:first-child,.editor-styles-wrapper .jampang-block-headlines>.wp-block-column:first-child{min-width:0}
.jampang-block-home .jampang-block-headlines>.wp-block-column:first-child .wp-block-post,.editor-styles-wrapper .jampang-block-headlines>.wp-block-column:first-child .wp-block-post{background:linear-gradient(145deg,#23252c,#540d17);border-radius:15px;overflow:hidden;position:relative;min-height:355px;display:flex;flex-direction:column;justify-content:end;padding:0 0 20px}
.jampang-block-home .jampang-block-headlines>.wp-block-column:first-child .wp-block-post-featured-image,.editor-styles-wrapper .jampang-block-headlines>.wp-block-column:first-child .wp-block-post-featured-image{margin:0;position:absolute;inset:0;height:100%;z-index:0}
.jampang-block-home .jampang-block-headlines>.wp-block-column:first-child .wp-block-post-featured-image img,.editor-styles-wrapper .jampang-block-headlines>.wp-block-column:first-child .wp-block-post-featured-image img{height:100%;width:100%;object-fit:cover;border-radius:0}
.jampang-block-home .jampang-block-headlines>.wp-block-column:first-child .wp-block-post:before,.editor-styles-wrapper .jampang-block-headlines>.wp-block-column:first-child .wp-block-post:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.86),transparent 75%);z-index:1;pointer-events:none}
.jampang-block-home .jampang-block-headlines>.wp-block-column:first-child .wp-block-post-title,.editor-styles-wrapper .jampang-block-headlines>.wp-block-column:first-child .wp-block-post-title{font-size:clamp(22px,2.5vw,34px);margin:0 24px 9px;line-height:1.22;position:relative;z-index:2}
.jampang-block-home .jampang-block-headlines>.wp-block-column:first-child .wp-block-post-title a,.editor-styles-wrapper .jampang-block-headlines>.wp-block-column:first-child .wp-block-post-title a{color:white;text-decoration:none}
.jampang-block-home .jampang-block-headlines>.wp-block-column:first-child .wp-block-post-date,.editor-styles-wrapper .jampang-block-headlines>.wp-block-column:first-child .wp-block-post-date{color:#eee;margin:0 24px;position:relative;z-index:2;font-size:12px}
.jampang-block-home .jampang-block-headlines>.wp-block-column:last-child,.editor-styles-wrapper .jampang-block-headlines>.wp-block-column:last-child{background:#fff;border:1px solid var(--jp-line);border-radius:15px;padding:20px!important}
.jampang-block-home .jampang-block-headlines>.wp-block-column:last-child h2,.editor-styles-wrapper .jampang-block-headlines>.wp-block-column:last-child h2{font-size:19px;font-weight:800;margin:0 0 12px;padding-bottom:12px;border-bottom:2px solid var(--jp-red)}
.jampang-block-home .jampang-block-headlines>.wp-block-column:last-child .wp-block-post,.editor-styles-wrapper .jampang-block-headlines>.wp-block-column:last-child .wp-block-post{padding:10px 0;border-bottom:1px solid var(--jp-line)}
.jampang-block-home .jampang-block-headlines>.wp-block-column:last-child .wp-block-post-title,.editor-styles-wrapper .jampang-block-headlines>.wp-block-column:last-child .wp-block-post-title{font-size:14px;line-height:1.4;margin:0 0 4px}
.jampang-block-home .jampang-block-section>h2,.editor-styles-wrapper .jampang-block-section>h2{font-size:23px;font-weight:850;margin:0 0 20px;padding-bottom:13px;border-bottom:1px solid var(--jp-line)}
.jampang-block-home .jampang-news-query .wp-block-post,.editor-styles-wrapper .jampang-news-query .wp-block-post{background:white;border:1px solid var(--jp-line);border-radius:12px;overflow:hidden;padding-bottom:14px}
.jampang-block-home .jampang-news-query .wp-block-post-featured-image,.editor-styles-wrapper .jampang-news-query .wp-block-post-featured-image{margin:0 0 12px}
.jampang-block-home .jampang-news-query .wp-block-post-title,.editor-styles-wrapper .jampang-news-query .wp-block-post-title{font-size:16px;line-height:1.4;margin:8px 14px}
.jampang-block-home .jampang-news-query .wp-block-post-terms,.jampang-block-home .jampang-news-query .wp-block-post-date,.editor-styles-wrapper .jampang-news-query .wp-block-post-terms,.editor-styles-wrapper .jampang-news-query .wp-block-post-date{margin:0 14px;font-size:12px}
.jampang-block-home .wp-block-post-title a,.editor-styles-wrapper .jampang-block-section .wp-block-post-title a{text-decoration:none}
.jampang-block-home .wp-block-post-title a:hover{color:var(--jp-red)}
.jampang-block-home .wp-block-query-no-results{background:#f7f8fa;padding:18px;border-radius:10px;color:var(--jp-muted)}
@media(max-width:781px){.jampang-block-home{padding:18px 16px 45px}.jampang-block-home .jampang-block-headlines{flex-direction:column}.jampang-block-home .jampang-block-headlines>.wp-block-column{flex-basis:auto!important;width:100%}.jampang-block-home .jampang-block-headlines>.wp-block-column:first-child .wp-block-post{min-height:300px}.jampang-block-home .wp-block-post-template.is-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.jampang-block-home .wp-block-post-template.is-layout-grid{grid-template-columns:1fr}.jampang-block-home .jampang-block-headlines>.wp-block-column:first-child .wp-block-post{min-height:260px}.jampang-block-home .jampang-block-headlines>.wp-block-column:first-child .wp-block-post-title{font-size:23px}}
