@import url("./shared/editorial-sections.css");
/* YEHAVHA NEXUS main portal canonical owner v3.5
   Shared shell: portal-v2.css
   Content/order: projects.json + project-status.json
   Main portal presentation: this file only. */
:root{
  --portal-blue:#326da8;
  --portal-blue-2:#55b9d8;
  --portal-blue-soft:#eaf3fb;
  --portal-line:#cfd4dc;
  --portal-line-soft:#e5e7eb;
  --portal-text:#111111;
  --portal-muted:#111111;
  --portal-subtle:#111111;
  --portal-card:#ffffff;
  --portal-soft:#f7f9fc;
  --nxs-accent-system:#3f6380;
  --nxs-accent-strategy:#3f6380;
  --nxs-accent-learning:#557369;
  --nxs-accent-knowledge:#6a627b;
  --nxs-accent-legal:#8a4f57;
  --nxs-accent-publish:#8a6c46;
  --nxs-accent-invest:#5a6f7d;
  --nxs-accent-infra:#456a72;
  --nxs-card-gap:12px;
  --nxs-section-gap:14px;
  --nxs-card-pad:16px;
  --nxs-project-title-size:19px;
  --nxs-project-body-size:15px;
  --nxs-content:1160px;
}
html{scrollbar-gutter:stable;scroll-behavior:smooth}
body{font-family:Pretendard,"Noto Sans KR","Apple SD Gothic Neo",system-ui,-apple-system,sans-serif;font-size:16px;letter-spacing:-.015em;word-break:keep-all;background:#fff;color:var(--portal-text)}
.hero{padding:12px 0 12px}
.hero-card{position:relative;overflow:hidden;margin-top:0;padding:30px;border:1px solid var(--portal-line);border-radius:16px;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.06)}
.hero-main{position:relative;z-index:1;max-width:none}
.hero-main>.eyebrow{color:var(--portal-text);font-size:14px;font-weight:850;letter-spacing:.12em;line-height:1.45}
.hero-card h1{font-size:clamp(2.35rem,5vw,4rem);text-transform:uppercase;line-height:1.12}
.hero-main>h1>span{color:var(--portal-text);font-weight:700}
.hero-main>img{display:block;width:100%;height:auto;margin:20px 0 16px;border:1px solid var(--portal-line);border-radius:18px;background:#071426;box-shadow:0 12px 28px rgba(0,0,0,.12);filter:saturate(.92) contrast(1.02)}
.nexus-intro-video{position:relative;display:block;width:100%;aspect-ratio:16/9;overflow:hidden;margin:0 0 16px;border:1px solid var(--portal-line);border-radius:18px;background:#071426;box-shadow:0 12px 28px rgba(0,0,0,.12)}
.nexus-intro-video iframe{position:absolute;inset:0;display:block;width:100%;height:100%;border:0;pointer-events:auto}
.nexus-intro-video-poster{position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;border:0;background:#071426;cursor:pointer}
.nexus-intro-video-poster img{display:block;width:100%;height:100%;object-fit:cover}
.nexus-intro-video-play{position:absolute;left:50%;top:50%;display:grid;width:62px;height:44px;place-items:center;transform:translate(-50%,-50%);border-radius:13px;background:rgba(0,0,0,.72);color:#fff;font-size:22px;line-height:1;box-shadow:0 5px 18px rgba(0,0,0,.25)}
.nexus-intro-video-poster:hover .nexus-intro-video-play,.nexus-intro-video-poster:focus-visible .nexus-intro-video-play{background:rgba(34,95,150,.95)}

/* BIFF fixed home feature — canonical main-page owner */
.hero-main>.description{max-width:none;color:#111111;font-size:18px;line-height:1.78}
.quick-links{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px!important;margin-top:16px!important;justify-content:flex-start}
.quick-link{display:grid!important;grid-template-columns:26px minmax(0,1fr) auto;gap:7px!important;align-items:center;min-width:0;min-height:34px!important;padding:2px 10px!important;border:1px solid var(--portal-line)!important;border-radius:9px!important;background:#fff!important;color:var(--portal-text)!important;text-decoration:none;text-align:left}
.quick-link:hover,.quick-link:focus-visible{background:var(--portal-soft)!important;border-color:#aeb8c5!important}
.quick-icon{display:grid;place-items:center;width:26px!important;height:26px!important;flex-basis:26px!important;border:1px solid #1d5a8c;border-radius:7px;background:linear-gradient(145deg,#225f96,#43a6cf);color:#fff;box-shadow:0 4px 10px rgba(34,95,150,.14)}
.quick-icon svg{width:17px!important;height:17px!important;fill:none;stroke:#fff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.quick-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:800}
.quick-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--portal-blue-soft);color:var(--portal-blue);font-size:11px;font-weight:850;font-variant-numeric:tabular-nums}
.portal-discovery{display:grid;gap:10px;width:min(1160px,calc(100% - 32px));margin:12px auto 0}
.hero .container>.portal-discovery{width:100%;margin:12px 0 0}
.portal-search{padding:10px 14px;border:1px solid var(--portal-line);border-radius:12px;background:#fff}
.portal-search-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:9px}
.portal-search-head h2{flex:0 0 auto;margin:0;color:var(--portal-text);font-size:19px;white-space:nowrap}
.portal-search-head p{min-width:0;margin:0;color:#6b7280;font-size:12.5px;line-height:1.3;letter-spacing:-.025em;text-align:right;white-space:nowrap}
.portal-search-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
.portal-search-input{width:100%;min-height:46px;padding:0 13px;border:1px solid var(--portal-line);border-radius:9px;background:#fff;color:var(--portal-text);font-size:16px;outline:none}
.portal-search-input:focus{border-color:var(--portal-blue);box-shadow:0 0 0 2px rgba(50,109,168,.08)}
.portal-search-clear{min-height:46px;padding:0 14px;border:1px solid var(--portal-line);border-radius:9px;background:#fff;color:var(--portal-text);font-size:14px;font-weight:780;cursor:pointer}
.portal-search-results{display:grid;gap:6px;margin-top:7px}
.search-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:10px 11px;border:1px solid var(--portal-line-soft);border-radius:9px;background:#fff;text-decoration:none}
.search-result strong{display:block;color:var(--portal-text);font-size:15.5px}
.search-result span{display:block;margin-top:3px;color:#111111;font-size:13px;line-height:1.5}
.search-result-arrow{color:var(--portal-blue);font-size:16px;font-weight:850}
.search-empty{margin:0;padding:8px 2px;color:#111111;font-size:14px}
.main{padding:var(--nxs-section-gap) 0 38px}
.portal-grid{display:grid!important;gap:var(--nxs-home-section-gap,12px)!important}
.portal-tier{display:grid;gap:var(--nxs-card-gap);min-width:0;scroll-margin-top:12px}
.portal-tier-head{display:grid;grid-template-columns:50px minmax(0,1fr);gap:14px;align-items:center;padding:0 4px 12px;border-bottom:1px solid var(--portal-line-soft)}
.tier-number{display:grid;place-items:center;width:50px;height:50px;border:1px solid rgba(50,109,168,.24);border-radius:14px;background:linear-gradient(135deg,var(--portal-blue),var(--portal-blue-2));color:#fff;font-size:0;letter-spacing:0;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 6px 14px rgba(50,109,168,.13)}
.tier-number::before{display:grid;place-items:center;color:#fff;font-size:25px;font-weight:700;line-height:1}
.portal-tier-strategy .tier-number::before{content:"✦"}
.portal-tier-learning .tier-number::before{content:"▰"}
.portal-tier-knowledge .tier-number::before{content:"⚖"}
.portal-tier-legal .tier-number::before{content:"§"}
.portal-tier-publishing .tier-number::before{content:"▤"}
.tier-copy .eyebrow{margin-bottom:4px;color:#111111;font-size:12px;font-weight:800;letter-spacing:.11em}
.tier-copy h2{display:flex;align-items:center;gap:8px;min-width:0;margin:0;color:#111111;font-size:1.42rem;line-height:1.3;letter-spacing:-.025em}
.tier-copy h2::before{display:none!important;content:none!important}
.tier-description{margin:5px 0 0;color:#111111;font-size:15px;line-height:1.65}
.portal-tier-grid{display:grid;grid-template-columns:1fr;gap:var(--nxs-card-gap);min-width:0}
.category-card{position:relative;margin:0!important;overflow:visible;padding:0;border:0!important;border-radius:0;background:transparent!important;box-shadow:none;scroll-margin-top:14px;text-align:left}
.category-card::before{display:none;content:none}
.category-head,.category-compact .category-head{display:grid;grid-template-columns:50px minmax(0,1fr);gap:12px;align-items:center;margin-bottom:var(--nxs-card-gap);text-align:left}
.category-copy{min-width:0;text-align:left}
.category-head .eyebrow{margin:0 0 4px;color:var(--portal-blue);font-size:11.5px;font-weight:800;letter-spacing:.12em;text-align:left}
.category-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.category-title-row h2,.category-compact .category-head h2{margin:1px 0 3px;color:var(--portal-text);font-size:1.38rem;line-height:1.28;letter-spacing:-.03em;text-align:left}
.category-count{flex:0 0 auto;color:#111111;font-size:11.5px;font-weight:850;letter-spacing:.07em}
.category-description{margin:4px 0 0;color:#111111;font-size:15px;line-height:1.62;text-align:left}
.category-icon,.category-compact .category-icon{display:grid;place-items:center;width:50px;height:50px;border:1px solid #1d5a8c;border-radius:13px!important;background:linear-gradient(145deg,#225f96,#43a6cf);color:#fff;box-shadow:0 7px 18px rgba(34,95,150,.18)}
.category-icon-glyph,.category-icon-glyph svg,.category-compact .category-icon-glyph,.category-compact .category-icon-glyph svg{width:26px;height:26px}
.category-icon-glyph svg{fill:none;stroke:#fff!important;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.category-compact{padding:0!important;border-radius:0!important}
.category-compact .category-description{font-size:15px;line-height:1.62}
.category-compact .items-grid,.category-compact .items-grid.one-item{grid-template-columns:1fr!important}
.items-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--nxs-card-gap);align-items:start}
.items-grid.one-item{grid-template-columns:1fr}
.item-card{display:flex;flex-direction:column;min-width:0;min-height:0;padding:var(--nxs-card-pad);border:1px solid var(--portal-line)!important;border-radius:11px;background:#fff!important;box-shadow:none;transform:none!important;text-align:left;align-items:stretch}
.category-compact .item-card{padding:var(--nxs-card-pad)}
.item-card:hover{transform:none!important;background:var(--portal-soft)!important;border-color:#aeb8c5!important}
/* Compact image cards share category artwork from projects.json. */
.project-thumbnail{position:relative;display:block;flex:0 0 auto;height:clamp(116px,10vw,142px);margin-bottom:10px;overflow:hidden;border-radius:9px;background:#e8f5f4;text-decoration:none}
.project-thumbnail img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.project-thumbnail-caption{position:absolute;left:12px;top:12px;display:flex;flex-direction:column;gap:4px;max-width:65%;padding:7px 10px;border-radius:7px;background:rgba(255,255,255,.94);color:#16374c;overflow-wrap:anywhere}
.project-thumbnail-label{font-size:11px;font-weight:800;letter-spacing:.06em;line-height:1.4}
.project-thumbnail-caption strong{font-size:clamp(16px,1.8vw,22px);line-height:1.35}
.news-entry-banner .project-thumbnail-caption{max-width:min(78%,760px);gap:5px;padding:9px 12px}
.news-entry-banner .project-thumbnail-label{font-size:clamp(12px,1.2vw,15px);letter-spacing:.07em}
.news-entry-banner .project-thumbnail-caption strong{font-size:clamp(18px,2.05vw,25px);line-height:1.32}
.project-thumbnail:focus-visible{outline:3px solid var(--portal-blue);outline-offset:3px}
.item-top{display:flex;align-items:center;justify-content:flex-start!important;flex-wrap:wrap;gap:6px;text-align:left}
.item-meta,.item-domain,.project-status{color:#111111;font-size:11.5px!important;font-weight:760;text-align:left;background:#eef4f8}
.maturity-chip{display:inline-flex;align-items:center;min-height:23px;padding:0 8px;border:1px solid #b8c6d3;border-radius:999px;background:#eef4f8;color:#111111;font-size:11px;font-weight:800}
.item-card h3{display:flex;align-items:flex-start;gap:8px;min-width:0;margin:10px 0 7px;color:var(--portal-text);font-size:var(--nxs-project-title-size);line-height:1.38;text-align:left}
.category-compact .item-card h3{margin:10px 0 7px;font-size:var(--nxs-project-title-size)}
.item-card h3::before{display:block!important;content:""!important;flex:0 0 8px;width:8px;height:8px;margin-top:.52em;border:1px solid var(--category-accent,var(--portal-blue));border-radius:1px;transform:rotate(45deg);opacity:.9}
.item-card p{display:block;margin:0;color:#111111;font-size:var(--nxs-project-body-size);line-height:1.66;text-align:left;overflow:visible}
.category-compact .item-card p{font-size:var(--nxs-project-body-size);line-height:1.66}
.project-live-meta,.project-review-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px;color:var(--portal-text);font-size:11.5px;font-weight:720;justify-content:flex-start;text-align:left;line-height:1.5}
.project-live-meta span+span::before{content:"·";margin-right:8px;color:#111111}
.project-review-meta{margin-top:6px;color:#111111}
.item-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px;justify-content:flex-start;text-align:left}
.visit-link,.copy-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 13px;border:1px solid var(--portal-line);border-radius:8px;background:#fff;color:#111111;font-size:13.5px;font-weight:820;text-decoration:none;cursor:pointer}
.visit-link{background:linear-gradient(145deg,var(--portal-blue),var(--portal-blue-2));border-color:var(--portal-blue);color:#fff}
.visit-link:hover{background:linear-gradient(145deg,#285f94,#489fbd)}
.copy-btn:hover{background:var(--portal-soft)}

/* Main portal category accents. Content order remains owned by projects.json. */
.quick-link[data-category="commentary"],.quick-link[data-category="intelligence"],.quick-link[data-category="publicsector"],.quick-link[data-category="local-government-planning"],.category-commentary,.category-intelligence,.category-publicsector,.category-local-government-planning{--category-accent:var(--nxs-accent-strategy)}
.quick-link[data-category="investment"],.category-investment{--category-accent:var(--nxs-accent-invest)}
.quick-link[data-category="university"],.quick-link[data-category="learningapps"],.quick-link[data-category="education"],.category-university,.category-learningapps,.category-education{--category-accent:var(--nxs-accent-learning)}
.quick-link[data-category="edtechresearch"],.quick-link[data-category="aiknowledge"],.category-edtechresearch,.category-aiknowledge{--category-accent:var(--nxs-accent-knowledge)}
.quick-link[data-category="ai-work-infrastructure"],.category-ai-work-infrastructure{--category-accent:var(--nxs-accent-infra)}
.quick-link[data-category="legalpractice"],.quick-link[data-category="legalresearch"],.quick-link[data-category="legalintelligence"],.quick-link[data-category="legalsearch"],.category-legalpractice,.category-legalresearch,.category-legalintelligence,.category-legalsearch{--category-accent:var(--nxs-accent-legal)}
.quick-link[data-category="publishing"],.quick-link[data-category="media"],.category-publishing,.category-media{--category-accent:var(--nxs-accent-publish)}
.quick-link[data-category]{border-left:4px solid var(--category-accent,var(--nxs-accent-system))!important}
.category-card:has(>.items-grid.one-item):not(.category-research)>.items-grid.one-item>.item-card{border-left:4px solid var(--category-accent,var(--nxs-accent-system))!important}
.portal-search,.frontline-panel{border-left:4px solid var(--nxs-accent-system)}
/* Main portal search rows. */
.nexus-legal-searchbar,.nexus-google-searchbar{padding:0 0 12px}
.nexus-legal-searchbar .portal-search{border-left-color:var(--nxs-accent-legal)}
.portal-legal-submit,.portal-google-submit{min-height:46px;padding:0 15px;border-radius:9px;color:#fff;font-size:14px;font-weight:800;cursor:pointer}
.portal-legal-submit{border:1px solid var(--nxs-accent-legal);background:var(--nxs-accent-legal)}
.portal-google-submit{border:1px solid var(--nxs-accent-system);background:var(--nxs-accent-system)}
.portal-legal-submit:hover,.portal-google-submit:hover{filter:brightness(.96)}

/* Today in NEXUS. */
.nexus-frontline{padding:0 0 12px}
.frontline-panel{border:1px solid var(--line);border-left:4px solid var(--nxs-accent-system);border-radius:14px;background:#fff;padding:12px 14px}
.frontline-headingline{display:grid;grid-template-columns:auto auto 1fr;align-items:baseline;gap:9px;min-width:0;margin-bottom:8px}
.frontline-headingline h2{margin:0;font-size:1.28rem;line-height:1.2;letter-spacing:-.03em;white-space:nowrap}
.frontline-kicker{margin:0;color:var(--accent);font-size:10.8px;font-weight:850;letter-spacing:.11em;line-height:1.3;white-space:nowrap}
.frontline-date{justify-self:end;margin:0;color:#6b7280;font-size:11.5px;font-weight:750;white-space:nowrap}
.today-grid{display:grid;gap:5px}
.today-card{display:grid;gap:3px;min-width:0;border:0;box-shadow:none;border-radius:9px;background:linear-gradient(90deg,#f5f9fd 0,#fff 42%);padding:7px 10px;text-decoration:none}
.today-card:nth-child(2){background:linear-gradient(90deg,#fbf6f7 0,#fff 42%)}
.today-card:nth-child(3){background:linear-gradient(90deg,#f8f7fb 0,#fff 42%)}
.today-titleline{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;min-width:0}
.today-titleline strong{min-width:0;font-size:14.5px;line-height:1.35;letter-spacing:-.02em;white-space:normal;overflow-wrap:anywhere}
.today-meta{color:#68717b;font-size:10.2px;font-weight:850;letter-spacing:.08em;white-space:normal;text-align:right;overflow-wrap:anywhere}
.today-bodyline{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;min-width:0}
.today-bodyline p{min-width:0;margin:0;color:#4b5563;font-size:12px;line-height:1.4}
.today-action{color:#174f82;font-size:11.2px;font-weight:850;white-space:nowrap;text-align:right}
.commentary-feature-layout{display:grid;grid-template-columns:minmax(108px,34%) minmax(0,1fr);align-items:stretch;gap:10px;min-width:0}
.commentary-feature-thumb{display:block;width:100%;height:100%;min-height:94px;object-fit:cover;border-radius:7px}
.commentary-feature-copy{display:flex;min-width:0;flex-direction:column;justify-content:center}
.commentary-feature-copy .today-meta{margin-bottom:3px;text-align:left}
.commentary-feature-copy p{margin:4px 0 0;color:#4b5563;font-size:12px;line-height:1.4}
.commentary-feature-copy .today-action{margin-top:4px;text-align:left}
@media(hover:hover) and (pointer:fine){.today-card:hover{filter:brightness(.995)}.today-action:hover{text-decoration:underline}}

@media(max-width:1040px){.quick-links{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:820px){.quick-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  .hero-card{padding:24px 18px}
  .hero-main>.eyebrow{font-size:13px}
  .hero-main>img{margin-top:17px}
  .hero-main>.description{font-size:17px;line-height:1.78}
  .portal-discovery{width:calc(100% - 20px)}
  .items-grid{grid-template-columns:1fr}
  .portal-search-head h2{font-size:18px}
  .portal-search-head p{font-size:12px}
  .portal-search-input{font-size:16px}
  .portal-search-clear{font-size:14px}
}
@media(max-width:760px){.frontline-panel{padding:11px 12px}.frontline-headingline{gap:6px;margin-bottom:7px}.today-titleline{gap:6px}.today-bodyline{gap:8px}.nexus-legal-searchbar,.nexus-google-searchbar{padding-bottom:10px}}
@media(max-width:480px){
  
  .quick-link{grid-template-columns:26px minmax(0,1fr) auto;padding:2px 9px!important;min-height:34px!important}.quick-icon{width:26px!important;height:26px!important;flex-basis:26px!important;border-radius:7px;background:linear-gradient(145deg,#225f96,#43a6cf);color:#fff;box-shadow:0 4px 10px rgba(34,95,150,.14)}.quick-icon svg{width:17px!important;height:17px!important;fill:none;stroke:#fff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.quick-label{font-size:13.5px}.quick-count{min-width:22px;height:22px;padding:0 6px;font-size:11px}
  .portal-search-head{display:flex;align-items:baseline;justify-content:space-between;gap:6px}.portal-search-head h2{font-size:16px}.portal-search-head p{margin:0;font-size:10.5px;letter-spacing:-.04em;text-align:right;white-space:nowrap}.portal-search-box{grid-template-columns:minmax(0,1fr) auto}.portal-search-clear{min-height:44px;padding:0 11px;white-space:nowrap}
  .today-titleline{grid-template-columns:1fr}.today-meta{text-align:left}
}
@media(max-width:430px){.frontline-headingline h2{font-size:1.08rem}.frontline-kicker{font-size:9.2px;letter-spacing:.07em}.frontline-date{font-size:10.2px}.today-titleline strong{font-size:13.2px}.today-meta{font-size:9px;letter-spacing:.05em}.today-bodyline p{font-size:11.3px}.today-action{font-size:10.5px}.commentary-feature-layout{grid-template-columns:minmax(92px,36%) minmax(0,1fr);gap:8px}.commentary-feature-thumb{min-height:88px}.commentary-feature-copy p{font-size:11.3px}.nexus-legal-searchbar .portal-search-head,.nexus-google-searchbar .portal-search-head{align-items:baseline;display:flex;flex-direction:row;gap:5px}.nexus-legal-searchbar .portal-search-head p,.nexus-google-searchbar .portal-search-head p{font-size:9.5px}.nexus-legal-searchbar .portal-search-box,.nexus-google-searchbar .portal-search-box{grid-template-columns:1fr}.portal-legal-submit,.portal-google-submit{width:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* BIFF fixed home feature mobile */
/* NEXUS main 부산국제영화제 특집 — canonical owner.
   External BIFF logo/wordmark images are intentionally not used here. */
.home-biff-special{display:block;margin:0 0 var(--nxs-home-section-gap,14px)}
.home-biff-special-banner{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;align-items:center;min-height:82px;padding:10px 15px;overflow:hidden;border:1px solid #2b2d35;border-radius:12px;background:radial-gradient(circle at 84% 20%,rgba(226,35,62,.34),transparent 30%),linear-gradient(128deg,#0a0b0e 0%,#171218 52%,#64121f 100%);color:#fff;box-shadow:0 5px 16px rgba(20,22,28,.12);text-decoration:none!important}
.home-biff-special-banner:link,.home-biff-special-banner:visited,.home-biff-special-banner:hover,.home-biff-special-banner:active{color:#fff;text-decoration:none!important}
.home-biff-reel{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(255,255,255,.24);border-radius:50%;background:rgba(255,255,255,.06);color:#fff}
.home-biff-reel svg{display:block;width:28px;height:28px;max-width:28px;max-height:28px}
.home-biff-copy{display:flex;min-width:0;flex-direction:column;gap:2px}
.home-biff-eyebrow{color:#ffdfe4;font-size:10px;font-weight:900;letter-spacing:.14em;line-height:1.25}
.home-biff-copy strong{display:block;color:#fff;font-size:clamp(1.22rem,2.4vw,1.75rem);font-weight:900;line-height:1.08;letter-spacing:-.04em}
.home-biff-description{display:block;color:rgba(255,255,255,.82);font-size:11.8px;font-weight:720;line-height:1.35}
@media(max-width:640px){
  .home-biff-special-banner{grid-template-columns:35px minmax(0,1fr);gap:9px;min-height:72px;padding:8px 11px}
  .home-biff-reel{width:32px;height:32px}
  .home-biff-reel svg{width:24px;height:24px;max-width:24px;max-height:24px}
  .home-biff-eyebrow{font-size:9.3px}
  .home-biff-copy strong{font-size:clamp(1.08rem,5.4vw,1.4rem)}
  .home-biff-description{font-size:10.8px}
}


.home-biff-latest{margin-top:8px;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}
.home-biff-latest-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-bottom:1px solid var(--line-soft);background:#f7f9fc}
.home-biff-latest-head strong{font-size:12.5px;line-height:1.35;letter-spacing:.03em}
.home-biff-latest-head a{color:#225f96;font-size:11.5px;font-weight:850;text-decoration:none;white-space:nowrap}
.home-biff-latest-list{display:grid;gap:0}
.home-biff-latest-item{display:grid;grid-template-columns:minmax(150px,30%) minmax(0,1fr);gap:10px;align-items:start;padding:9px 10px;border-bottom:1px solid var(--line-soft);color:#111;text-decoration:none}
.home-biff-latest-item:last-child{border-bottom:0}
.home-biff-latest-item:hover,.home-biff-latest-item:focus-visible{background:#f7f9fc}
.home-biff-latest-item:not(.has-media){grid-template-columns:1fr}
.home-biff-latest-visual{display:block;overflow:hidden;border-radius:7px;background:#eef1f4}
.home-biff-latest-visual img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.home-biff-latest-copy{display:flex;min-width:0;flex-direction:column;align-items:flex-start}
.home-biff-latest-meta{color:#6b7280;font-size:10.5px;font-weight:800;line-height:1.35}
.home-biff-latest-copy strong{min-width:0;margin-top:3px;font-size:14px;line-height:1.42;letter-spacing:-.02em;overflow-wrap:anywhere}
.home-biff-latest-subtitle{display:-webkit-box;margin-top:4px;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#303943;font-size:12px;font-weight:760;line-height:1.45}
.home-biff-latest-lead{display:-webkit-box;margin-top:3px;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#66717c;font-size:11px;line-height:1.45}
.home-biff-latest-action{margin-top:5px;color:#225f96;font-size:11px;font-weight:850;line-height:1.35}
@media(max-width:640px){
  .home-biff-latest-head{padding:7px 9px}
  .home-biff-latest-item{grid-template-columns:minmax(104px,34%) minmax(0,1fr);gap:9px;padding:8px 9px}
  .home-biff-latest-copy strong{font-size:13px;line-height:1.38}
  .home-biff-latest-subtitle{font-size:11.5px;line-height:1.4}
  .home-biff-latest-lead{font-size:10.5px;line-height:1.4;-webkit-line-clamp:2}
  .home-biff-latest-action{font-size:10.5px}
}
@media(max-width:380px){
  .home-biff-latest-item{grid-template-columns:96px minmax(0,1fr)}
  .home-biff-latest-meta{font-size:9.7px}
}

/* Canonical homepage opinion media.
   Editorial, commentary, and column use the same media geometry as Today's News:
   the category/meta line stays above, while the 16:9 thumbnail begins on the title line. */
.home-opinion-stack .home-opinion-feature{
  display:grid;
  grid-template-columns:minmax(150px,34%) minmax(0,1fr);
  gap:12px;
  align-items:start;
  min-width:0;
  text-decoration:none;
}
.home-opinion-stack .home-opinion-feature > img{
  display:block;
  width:100%;
  height:auto;
  min-height:0;
  margin-top:18px;
  aspect-ratio:16/9;
  object-fit:cover;
  object-position:center;
  border-radius:7px;
  background:#eef1f4;
  align-self:start;
}

/* NEXUS COLUMN cards use one canonical editorial icon instead of video thumbnails.
   This rule applies to current and future column cards automatically. */
.home-opinion-panel[aria-labelledby="homeColumnTitle"] .home-opinion-feature > img{
  content:url("./assets/cards/column-icon.svg");
  object-fit:cover;
  background:#234d4f;
}
.home-opinion-stack .home-opinion-copy{
  display:flex;
  min-width:0;
  flex-direction:column;
  align-items:flex-start;
}
.home-opinion-stack .home-opinion-copy>span:first-child{color:#6b7280;font-size:10.5px;font-weight:850;line-height:1.35}
.home-opinion-stack .home-opinion-copy>strong{display:block;min-width:0;margin-top:3px;font-size:18px;line-height:1.4;letter-spacing:-.025em;overflow-wrap:anywhere}
.home-opinion-stack .home-opinion-subtitle{display:-webkit-box;margin-top:5px;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#303943;font-size:13px;font-weight:760;line-height:1.5}
.home-opinion-stack .home-opinion-lead{display:-webkit-box;margin:4px 0 0;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#66717c;font-size:12px;line-height:1.5}
.home-opinion-stack .home-opinion-copy>b{margin-top:6px;color:#225f96;font-size:12px;font-weight:850;line-height:1.35}

@media(max-width:760px){
  .home-opinion-stack .home-opinion-feature{
    grid-template-columns:minmax(128px,34%) minmax(0,1fr);
  }
}
@media(max-width:640px){
  .home-opinion-stack .home-opinion-feature{
    grid-template-columns:minmax(104px,34%) minmax(0,1fr);
    gap:9px;
  }
  .home-opinion-stack .home-opinion-feature > img{
    margin-top:17px;
  }
  .home-opinion-stack .home-opinion-copy>strong{font-size:15.5px;line-height:1.37}
  .home-opinion-stack .home-opinion-subtitle{font-size:11.8px;line-height:1.45}
  .home-opinion-stack .home-opinion-lead{font-size:11px;line-height:1.42;-webkit-line-clamp:2}
}
@media(max-width:380px){
  .home-opinion-stack .home-opinion-feature{
    grid-template-columns:96px minmax(0,1fr);
  }
}

/* Canonical NEXUS six-gate architecture and card rhythm v4 */
.global-search-panel{margin:0 0 14px}
.global-search-panel[hidden]{display:none!important}
.global-search-panel .portal-search{border-left:4px solid var(--nxs-accent-system)}

.yehavha-news-zone>.frontline-panel>.frontline-headingline,
.nexus-gate-heading>.frontline-headingline{padding-bottom:7px;border-bottom:2px solid #20252b}

.nexus-gate-zone{margin:0;padding:0 0 10px}
.nexus-gate-heading{padding:0 2px}
.nexus-gate-heading .frontline-headingline{margin-bottom:6px}
.nexus-gate-intro{max-width:960px;margin:0;color:#4b5563;font-size:13.5px;line-height:1.58}
.nexus-gate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:var(--nxs-card-gap);margin-top:10px}
.nexus-gate-card{
  position:relative;
  display:grid;
  grid-template-columns:50px minmax(0,1fr);
  grid-template-rows:auto auto auto;
  align-content:center;
  min-width:0;
  min-height:112px;
  padding:13px 14px;
  column-gap:12px;
  row-gap:2px;
  border:1px solid rgba(74,85,104,.18);
  border-left:4px solid var(--nxs-accent-system);
  border-radius:11px;
  background:#fff;
  color:var(--portal-text);
  box-shadow:0 5px 14px rgba(32,45,58,.055);
  text-decoration:none;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,filter .16s ease;
}
.nexus-gate-card:hover,.nexus-gate-card:focus-visible{transform:translateY(-1px);box-shadow:0 8px 18px rgba(32,45,58,.08);filter:saturate(1.03);outline:none}
.nexus-gate-icon{
  position:relative;
  display:grid;
  grid-column:1;
  grid-row:1 / 4;
  place-items:center;
  align-self:center;
  width:46px;
  height:46px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.82);
  border-radius:13px;
  background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(255,255,255,.62));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 7px 16px rgba(31,45,61,.11);
}
.nexus-gate-icon::before{content:"";position:absolute;inset:-18px auto auto -18px;width:42px;height:42px;border-radius:50%;background:currentColor;opacity:.08}
.nexus-gate-icon svg{position:relative;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.nexus-gate-card>span:not(.nexus-gate-icon),.nexus-gate-card>strong,.nexus-gate-card>p{grid-column:2;margin-left:0;position:relative;z-index:1}
.nexus-gate-card>span:not(.nexus-gate-icon){grid-row:1;margin-bottom:0;color:currentColor;font-size:10.5px;font-weight:850;letter-spacing:.085em;line-height:1.3;opacity:.75}
.nexus-gate-card>strong{grid-row:2;display:block;font-size:19px;line-height:1.28;letter-spacing:-.03em}
.nexus-gate-card>p{grid-row:3;margin:1px 0 0;color:currentColor;font-size:12.5px;line-height:1.4;opacity:.82}
.nexus-gate-card.gate-strategy{color:#173f63;border-left-color:#326da8;background:linear-gradient(135deg,#eef7ff 0%,#f8fbfe 54%,#e7f4fb 100%)}
.nexus-gate-card.gate-legal{color:#6d3540;border-left-color:#8a4f57;background:linear-gradient(135deg,#fff2f4 0%,#fcf8f8 54%,#f4e8eb 100%)}
.nexus-gate-card.gate-research{color:#3f5f55;border-left-color:#557369;background:linear-gradient(135deg,#eef8f4 0%,#f8fbfa 54%,#e5f1ec 100%)}
.nexus-gate-card.gate-life{color:#725125;border-left-color:#a1783e;background:linear-gradient(135deg,#fff7e9 0%,#fdfaf4 54%,#f4ead6 100%)}
.nexus-gate-card.gate-culture{color:#55486c;border-left-color:#6a627b;background:linear-gradient(135deg,#f5f0fb 0%,#faf8fc 54%,#ece6f3 100%)}
.nexus-gate-card.gate-resources{color:#495a66;border-left-color:#5a6f7d;background:linear-gradient(135deg,#eef3f6 0%,#fafbfc 54%,#e6edf1 100%)}
.nexus-gate-more{display:flex;justify-content:flex-end;margin-top:8px}
.nexus-gate-more a{color:#174f82;font-size:12px;font-weight:850;text-decoration:none}
.nexus-gate-more a:hover{text-decoration:underline}

/* Main-home vertical rhythm.
   One canonical 12px token owns the spacing around the NEXUS gate tail,
   the following briefing card, and subsequent home cards. */
body[data-nexus-architecture="gate-v1"] .nexus-gate-zone{padding-bottom:0}
body[data-nexus-architecture="gate-v1"] .nexus-gate-more{margin-top:var(--nxs-home-section-gap,12px)}
body[data-nexus-architecture="gate-v1"] .hero-card{padding-bottom:var(--nxs-home-section-gap,12px)}
body[data-nexus-architecture="gate-v1"] .hero{padding-bottom:0}
body[data-nexus-architecture="gate-v1"] .home-editorial-stack{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:var(--nxs-home-section-gap,12px);
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}
body[data-nexus-architecture="gate-v1"] .home-editorial-stack>.yehavha-news-zone,
body[data-nexus-architecture="gate-v1"] .home-editorial-stack>.home-biff-special,
body[data-nexus-architecture="gate-v1"] .home-editorial-stack .yehavha-news-zone>.frontline-panel,
body[data-nexus-architecture="gate-v1"] .home-editorial-stack .yehavha-news-zone>.news-entry-banner,
body[data-nexus-architecture="gate-v1"] .home-editorial-stack .yehavha-news-zone>.home-news-mirror,
body[data-nexus-architecture="gate-v1"] .home-editorial-stack .home-editorial-cell,
body[data-nexus-architecture="gate-v1"] .home-editorial-stack .home-biff-special-banner,
body[data-nexus-architecture="gate-v1"] .home-editorial-stack .home-biff-latest{
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}
body[data-nexus-architecture="gate-v1"] .home-editorial-stack>.yehavha-news-zone{padding-bottom:0}
body[data-nexus-architecture="gate-v1"] .home-editorial-stack>.home-biff-special{margin:0;padding:0}
body[data-nexus-architecture="gate-v1"] .main#projects{
  padding:var(--nxs-home-section-gap,12px) 0 38px;
}
body[data-nexus-architecture="gate-v1"] .main#projects>.main-stack{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:var(--nxs-home-section-gap,12px);
  min-width:0;
}
body[data-nexus-architecture="gate-v1"] .main#projects>.main-stack>.nexus-frontline{padding-bottom:0}
body[data-nexus-architecture="gate-v1"] .nexus-gate-bottom{margin-top:0}

.nexus-about-bottom{margin-top:var(--nxs-section-gap)}
.nexus-about-bottom .description{margin:0;color:#111;font-size:16px;line-height:1.78}

.portal-tier-strategy-intelligence .tier-number::before{content:"✦"}
.portal-tier-legal-policy .tier-number::before{content:"§"}
.portal-tier-research-education .tier-number::before{content:"▰"}
.portal-tier-life-action .tier-number::before{content:"✓"}
.portal-tier-culture-media .tier-number::before{content:"◇"}
.portal-tier-resources-services .tier-number::before{content:"▤"}
.category-lifeaction{--category-accent:var(--nxs-accent-learning)}
.category-lifeaction .category-icon{background:linear-gradient(145deg,#557369,#6e9185);border-color:#557369}

.gate-projects{padding:var(--nxs-section-gap) 0 32px}
.gate-projects .portal-grid{gap:var(--nxs-section-gap)!important}
.gate-projects .portal-tier{gap:var(--nxs-card-gap)!important}
.gate-projects .portal-tier-grid{gap:var(--nxs-card-gap)!important}
.gate-projects .portal-tier-head{display:none}
.gate-projects .category-card{
  overflow:hidden;
  padding:var(--nxs-card-pad);
  border:1px solid var(--portal-line)!important;
  border-radius:14px;
  background:#fff!important;
  box-shadow:0 4px 14px rgba(0,0,0,.035);
}
.gate-projects .category-card::before{
  display:block;
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  background:var(--category-accent,var(--nxs-accent-system));
}
.gate-projects .category-compact{
  padding:var(--nxs-card-pad)!important;
  border-radius:14px!important;
}
.gate-empty{padding:26px;border:1px solid var(--portal-line);border-radius:14px;background:#fff}
.gate-empty h2{margin:0 0 7px;font-size:1.35rem}
.gate-empty p{margin:0;color:#4b5563;line-height:1.65}

/* NEXUS card rhythm and typography standard v1 */
@media(max-width:820px){
  :root{--nxs-card-gap:11px;--nxs-section-gap:13px;--nxs-card-pad:14px;--nxs-project-title-size:18px;--nxs-project-body-size:14.5px}
  .nexus-gate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nexus-gate-card{min-height:106px;padding:12px 13px}
  .nexus-gate-icon{width:44px;height:44px}
  .category-head,.category-compact .category-head{grid-template-columns:48px minmax(0,1fr)}
  .category-icon,.category-compact .category-icon{width:48px;height:48px}
}
@media(max-width:560px){
  :root{--nxs-card-gap:10px;--nxs-section-gap:12px;--nxs-card-pad:12px;--nxs-project-title-size:17px;--nxs-project-body-size:14px}
  .nexus-gate-zone{padding-bottom:8px}
  .nexus-gate-heading{padding-left:1px;padding-right:1px}
  .nexus-gate-grid{grid-template-columns:1fr;margin-top:9px}
  .nexus-gate-card{grid-template-columns:42px minmax(0,1fr);min-height:98px;padding:11px 12px;column-gap:10px}
  .nexus-gate-icon{width:40px;height:40px;border-radius:11px}
  .nexus-gate-icon svg{width:21px;height:21px}
  .nexus-gate-card>strong{font-size:17.5px}
  .nexus-gate-card>p{font-size:12px}
  .category-head,.category-compact .category-head{grid-template-columns:46px minmax(0,1fr);gap:10px}
  .category-icon,.category-compact .category-icon{width:46px;height:46px}
  .project-thumbnail{height:clamp(108px,31vw,132px)}
  .gate-projects{padding-top:var(--nxs-section-gap)}
}


/* NEXUS main shell: the container owns page width; editorial/news sections must not be nested inside another visual card. */
body[data-nexus-architecture="gate-v1"]:not(.gate-page) .hero-card{
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  padding:18px 0 var(--nxs-home-section-gap,12px);
}
body[data-nexus-architecture="gate-v1"]:not(.gate-page) .yehavha-news-zone>.frontline-panel{
  border:0;
  border-left:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  padding:0;
}
@media(max-width:700px){
  body[data-nexus-architecture="gate-v1"]:not(.gate-page) .hero-card{padding:12px 0 10px}
}
