/* Silang Idea editorial refinements — draft theme, responsive-first */
:root{--si-ink:#17212b;--si-muted:#61707b;--si-line:#e1e5e8;--si-paper:#fffdfa;--si-accent:#9b342d}
body{background:var(--si-paper);color:var(--si-ink)}
.wp-site-blocks{overflow-x:clip}
.np-masthead{border-bottom:1px solid var(--si-line)}
.np-site-title a{letter-spacing:-.045em;text-decoration:none}
.np-site-tagline{letter-spacing:.2em;font-weight:650}
.np-main{width:100%;max-width:1480px;margin-inline:auto}
.np-section-header{margin-bottom:clamp(1rem,2.4vw,2rem);gap:1rem}
.np-section-header__title{letter-spacing:-.025em;line-height:1.15}
.np-section-header__rule{flex:1;min-width:1.5rem}
.np-story-card{min-width:0}
.np-story-card__body{min-width:0}
.np-story-card .wp-block-post-title{line-height:1.18;letter-spacing:-.025em;overflow-wrap:anywhere}
.np-story-card .wp-block-post-title a{text-decoration:none;text-underline-offset:.16em}
.np-story-card .wp-block-post-title a:hover{text-decoration:underline}
.np-story-card__image{overflow:hidden;background:#eae7e1}
.np-story-card__image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
@media(hover:hover){.np-story-card:hover .np-story-card__image img{transform:scale(1.025)}}
.np-byline{color:var(--si-muted);font-size:.78rem;gap:.5rem}
.np-category-label{font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.np-hero-primary .wp-block-post-title{font-size:clamp(2rem,4.3vw,4.5rem);line-height:1.07}
.np-hero-secondary .wp-block-post-title{font-size:clamp(1.25rem,2vw,1.8rem)}
.np-hero-grid{align-items:start}
.np-section{min-width:0}
.wp-block-post-template>li{min-width:0}
.wp-block-post-featured-image img{object-fit:cover}
.wp-block-navigation a{text-underline-offset:.25em}
.wp-block-navigation__responsive-container-open,.wp-block-navigation__responsive-container-close{min-width:44px;min-height:44px;align-items:center;justify-content:center}
.wp-block-button__link{transition:background-color .2s ease,transform .2s ease}
@media(hover:hover){.wp-block-button__link:hover{transform:translateY(-1px)}}
@media(max-width:1023px){
 .np-main{padding-inline:clamp(1rem,3vw,2rem)!important}
 .np-hero-grid{grid-template-columns:minmax(0,1fr)}
 .np-hero-secondary .wp-block-post-template{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}
 .np-content-sidebar{grid-template-columns:minmax(0,1fr)!important}
 .np-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
 .np-utility-bar{font-size:.72rem}
 .np-masthead__inner{padding-block:.8rem}
 .np-site-title{font-size:clamp(1.8rem,8vw,2.8rem)!important;line-height:1.1}
 .np-site-tagline{font-size:.65rem!important;letter-spacing:.14em}
 .np-main{padding-inline:1rem!important;padding-top:1.2rem!important}
 .np-section{padding-block:1.25rem!important;margin-bottom:1.25rem!important}
 .np-section-header__title{font-size:clamp(1.3rem,5vw,1.7rem)}
 .np-hero-primary .wp-block-post-title{font-size:clamp(1.9rem,8vw,2.75rem)}
 .np-hero-secondary .wp-block-post-template{grid-template-columns:minmax(0,1fr)}
 .np-grid-2,.np-grid-3,.np-grid-4{grid-template-columns:minmax(0,1fr)}
 .np-story-card{padding-inline:0}
 .np-story-card__image{border-radius:3px}
 .wp-block-columns:not(.is-not-stacked-on-mobile){gap:1.25rem}
 .wp-block-navigation__responsive-container.is-menu-open{padding:1.25rem}
 .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{gap:1rem}
 .wp-block-post-content,.entry-content{overflow-wrap:anywhere}
}
@media(min-width:768px) and (max-width:1023px){
 .np-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
 .np-site-title{font-size:clamp(2.5rem,5vw,4rem)!important}
}
/* Keep narrow devices usable even with long editorial headlines. */
@media(max-width:1199px){.np-main,.np-content-sidebar,.np-hero-grid{min-width:0}.wp-block-post-template,.np-grid-2,.np-grid-3,.np-grid-4{max-width:100%}}
@media(max-width:767px){.np-newsletter{padding:1.25rem!important}.np-section-header{flex-wrap:wrap}.np-section-header__rule{min-width:2rem}.np-sidebar{max-width:100%}.np-story-card__body{overflow-wrap:break-word}}
@media(max-width:360px){
 .np-main{padding-inline:.8rem!important}
 .np-site-title{font-size:1.7rem!important}
}
/* Editorial panorama is a temporary replaceable illustration, not a stock photograph. */
.np-masthead{background-color:#faf8f4;background-image:url("../branding/silang-editorial-header.svg");background-position:right center;background-repeat:no-repeat;background-size:auto 100%;border-bottom:1px solid #d7d0c6}
.np-masthead__inner{position:relative;min-height:clamp(175px,19vw,280px);display:flex!important;flex-direction:column;justify-content:center}
.np-masthead__branding{position:relative;z-index:1;align-self:flex-start!important;margin-left:clamp(1rem,3vw,3.5rem)!important;padding:1.1rem 1.5rem 1.1rem 0;background:linear-gradient(90deg,rgba(250,248,244,.96) 0%,rgba(250,248,244,.9) 75%,transparent)}
.np-masthead__nav-start{position:relative;z-index:2;order:2;align-self:stretch;background:rgba(250,248,244,.96);border-top:1px solid #ded7ce;padding:.55rem clamp(1rem,3vw,3rem)}
@media(max-width:767px){
 .np-masthead{background-position:right center;background-size:auto 100%}
 .np-masthead__inner{min-height:155px!important}
 .np-masthead__branding{margin-left:.8rem!important;padding:.8rem .5rem .8rem 0}
 .np-masthead__nav-start{padding:.2rem .8rem}
}
/* About-page editorial portrait, limited to the draft page template. */
.si-about-page{padding:clamp(1.5rem,4vw,4rem) 1.25rem}
.si-editor-profile{margin-top:clamp(2.5rem,5vw,5rem);padding-top:clamp(1.5rem,3vw,2.5rem);border-top:3px solid #9b342d}
.si-editor-profile>h2{font-family:Georgia,serif;margin-bottom:1.5rem}
.si-editor-profile__columns{gap:clamp(1.5rem,4vw,3rem)}
.si-editor-profile .wp-block-image img{display:block;width:100%;height:auto;max-height:440px;object-fit:cover;object-position:center 35%;border-radius:6px}
.si-editor-profile h3{font-family:Georgia,serif;font-size:clamp(1.5rem,2.5vw,2.2rem);line-height:1.2}
@media(max-width:767px){.si-editor-profile .wp-block-image img{max-height:420px;object-position:center 30%}}
/* SILANG IDEA identity system: SVG assets remain inside the draft theme. */
.np-masthead__branding .np-site-logo{display:none!important}
.np-masthead__branding .np-site-title{position:relative;display:block!important;width:min(90vw,540px);height:120px;margin:0!important;font-size:0!important;line-height:0!important}
.np-masthead__branding .np-site-title a{display:block;width:100%;height:100%;font-size:0!important;overflow:hidden;background:url("../branding/silang-idea-primary.svg") center/contain no-repeat}
.np-masthead__branding .np-site-tagline{display:none!important}
.np-footer__nameplate{display:block;position:relative;min-height:55px;font-size:0!important;line-height:0!important}
.np-footer__nameplate a{display:block;width:min(100%,260px);height:55px;font-size:0!important;background:url("../branding/silang-idea-compact.svg") left center/contain no-repeat;background-color:#faf8f4;border-radius:2px}
@media(max-width:767px){
 .np-masthead__branding .np-site-title{width:min(66vw,300px);height:66px}
 .np-masthead__branding .np-site-title a{background-image:url("../branding/silang-idea-compact.svg")}
}
/* Consistent keyboard access and responsive reading comfort. */
:where(.np-main,.np-masthead,.np-footer) a:focus-visible,
:where(.np-main,.np-masthead,.np-footer) button:focus-visible{
 outline:3px solid #9b342d;outline-offset:3px;border-radius:2px
}
.np-main .wp-block-post-title{hyphens:auto;overflow-wrap:anywhere}
.np-main .wp-block-post-excerpt{max-width:70ch}
@media(max-width:767px){
 .np-main .wp-block-post-title{line-height:1.18}
 .np-main .wp-block-post-excerpt{font-size:1rem;line-height:1.6}
 .np-main .wp-block-post-template{row-gap:1.5rem}
 .np-footer__columns{gap:1.5rem}
}
@media(min-width:768px) and (max-width:1023px){
 .np-content-sidebar{gap:2rem}
 .np-main .np-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Strong editorial section rhythm: visible separators without visual clutter. */
.home .np-main>.np-section,
.home .np-content-sidebar .np-section{
  position:relative;
  border-top:2px solid #c9c3ba;
  padding-top:clamp(1.75rem,3.5vw,3rem)!important;
  margin-top:clamp(1.75rem,3.5vw,3rem);
}
.home .np-main>.np-section--hero{border-top:0;margin-top:0;padding-top:clamp(.75rem,2vw,2rem)!important}
.home .np-section-header{border-bottom:1px solid #d9d4cb;padding-bottom:.8rem;margin-bottom:1.4rem}
.home .np-section-header__title{position:relative;padding-left:1rem}
.home .np-section-header__title::before{content:"";position:absolute;left:0;top:.1em;bottom:.1em;width:4px;background:#9b342d;border-radius:2px}
.home .np-section-header__rule{border-top-color:#c9c3ba!important}
.home .np-section--teologi{border-top:2px solid #c9c3ba}
@media(max-width:767px){
 .home .np-main>.np-section,.home .np-content-sidebar .np-section{margin-top:1.4rem;padding-top:1.4rem!important}
 .home .np-section-header{padding-bottom:.65rem;margin-bottom:1.1rem}
 .home .np-section-header__title{padding-left:.8rem}
 .home .np-section-header__title::before{width:3px}
}
/* Editorial contributors are credited in article content, not the shared admin account. */
.home .np-story-card .wp-block-post-author{display:none}
.home .np-section--teologi{padding-block:clamp(1.5rem,3vw,3rem);border-top:1px solid var(--si-line)}
.home .np-newsletter a{color:var(--si-accent);font-weight:700;text-underline-offset:.2em}
@media(prefers-reduced-motion:reduce){.np-story-card__image img,.wp-block-button__link{transition:none!important;transform:none!important}}

/* Art-directed editorial image panels for articles without featured images.
   Decorative only; real editorial photography replaces these when uploaded. */
.home .np-story-card:not(:has(.wp-block-post-featured-image img))::before{
 content:"";display:block;width:100%;aspect-ratio:16/9;
 background:radial-gradient(circle at 76% 28%,#dfc9ad 0 9%,transparent 9.4%),
 linear-gradient(130deg,transparent 42%,rgba(255,255,255,.14) 42.2% 43%,transparent 43.2%),
 linear-gradient(155deg,#273f50 0%,#4b6570 47%,#c5a584 47.3%,#eadbc6 100%);
 border:1px solid rgba(0,0,0,.07);border-radius:2px;
}
.home .category-ekonomi .np-story-card:not(:has(.wp-block-post-featured-image img))::before{
 background:repeating-linear-gradient(90deg,transparent 0 12%,rgba(255,255,255,.13) 12.2% 12.8%,transparent 13% 24%),
 linear-gradient(145deg,#173a43,#4d7778 57%,#b7b2a0);
}
.home .category-industri .np-story-card:not(:has(.wp-block-post-featured-image img))::before{
 background:linear-gradient(125deg,transparent 38%,rgba(255,255,255,.15) 38.2% 39%,transparent 39.2%),
 repeating-linear-gradient(0deg,transparent 0 18px,rgba(255,255,255,.07) 19px 20px),
 linear-gradient(135deg,#3e4851,#9a7459);
}
.home .category-kesihatan .np-story-card:not(:has(.wp-block-post-featured-image img))::before{
 background:radial-gradient(ellipse at 70% 30%,#d9e8df 0 18%,transparent 18.5%),
 linear-gradient(135deg,#456b69,#a2bdb2 60%,#e4e4d6);
}
.home .category-teologi .np-story-card:not(:has(.wp-block-post-featured-image img))::before{
 background:repeating-radial-gradient(circle at 50% 130%,transparent 0 26px,rgba(255,255,255,.13) 27px 29px,transparent 30px 56px),
 linear-gradient(140deg,#273d48,#8b7868);
}
.home .category-wacana-umum .np-story-card:not(:has(.wp-block-post-featured-image img))::before{
 background:radial-gradient(circle at 77% 28%,#dec9a9 0 11%,transparent 11.3%),
 linear-gradient(135deg,#253a4c,#687a80 60%,#d0bda5);
}
.home .np-hero-primary .np-story-card::before{aspect-ratio:16/8.5}
.home .np-hero-secondary .np-story-card::before{aspect-ratio:16/8}
.home .np-grid-4 .np-story-card::before{aspect-ratio:3/2}
.home .np-story-card:not(:has(.wp-block-post-featured-image img))::before{margin-bottom:clamp(.75rem,1.5vw,1.25rem)}
.home .np-story-card .np-category-label a{color:#9b342d;text-decoration:none;font-weight:750}
.home .np-section-header__title{font-family:var(--wp--preset--font-family--playfair-display,Georgia,serif)}
.home .np-section--hero{padding-top:clamp(.75rem,2vw,2rem)}
.home .np-section--hero .np-hero-grid{gap:clamp(1.5rem,3vw,3rem)}
.home .np-hero-secondary .np-story-card{border-bottom:1px solid var(--si-line);padding-bottom:1.25rem}
.home .np-section--hero .np-hero-primary .np-story-card{padding-bottom:1.5rem}
@media(max-width:767px){
 .home .np-hero-primary .np-story-card::before{aspect-ratio:4/3}
 .home .np-hero-secondary .np-story-card::before{aspect-ratio:16/9}
 .home .np-grid-4 .np-story-card::before{aspect-ratio:16/9}
 .home .np-section--hero .np-hero-grid{gap:1.5rem}
 .home .np-hero-secondary .np-story-card{padding-bottom:1rem}
}

