/* Alegria News Hub — editorial styling, independent of site-wide Atlas theme.
   Brand palette: #082B63 navy, #0D5BFF blue, #10CBEF cyan, #6EDCF6 pale cyan, #B7FF00 lime.
   2026-11-13: corrected gradients, removed purple, fixed banner syntax.
*/
.nr-hub {
  background: #f6f6f6;
  color: #101923;
  font-family: Arial, 'Noto Sans JP', sans-serif;
  padding-bottom: 30px;
}
.nr-container { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }

/* Newsroom navigation: Alegria colors, no purple */
.nr-head {
  background: linear-gradient(105deg, #082B63 0%, #0D5BFF 62%, #10CBEF 90%, #B7FF00 100%);
  color: #fff;
}
.nr-head-row { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nr-head h1 { font-size: 28px; font-weight: 400; margin: 0; letter-spacing: -.03em; }
.nr-head nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nr-head nav a { font-size: 14px; color: #fff; }
.nr-head-current { text-decoration: underline; text-underline-offset: 12px; }

.nr-content { padding-top: 25px; }
.nr-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.nr-tools p { font-size: 13px; color: #4b5969; margin: 0; }
.nr-tools form { display: flex; align-items: center; gap: 8px; }
.nr-tools label { font-size: 12px; }
.nr-tools select { border: 1px solid #cbd3dc; background: #fff; border-radius: 5px; padding: 8px; font-size: 13px; max-width: 170px; }
.nr-category { font-size: 12px; letter-spacing: .02em; text-transform: uppercase; color: #082B63; font-weight: 600; }

/* Featured story */
.nr-featured { display: grid; grid-template-columns: 59% 41%; background: #fff; border-radius: 24px; padding: 24px; gap: 0; min-height: 420px; overflow: hidden; }
.nr-featured-image { display: block; min-height: 340px; overflow: hidden; border-radius: 17px; background: #dce7f4; }
.nr-featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nr-featured-copy { padding: 28px 32px 22px 46px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.nr-featured-copy h2 { font-size: clamp(25px, 2.45vw, 37px); font-weight: 400; line-height: 1.22; margin: 25px 0; }
.nr-featured-copy p { line-height: 1.7; font-size: 15px; color: #526176; max-width: 450px; margin: 0 0 22px; }
.nr-featured-copy time, .nr-card time, .nr-article time { font-size: 13px; color: #536174; }
.nr-photo-placeholder, .nr-placeholder { background: linear-gradient(130deg, #082B63, #0D5BFF 75%, #10CBEF); display: grid; place-items: center; width: 100%; height: 100%; min-height: 150px; }
.nr-photo-placeholder img, .nr-placeholder img { width: 80px; height: 80px; object-fit: contain; opacity: .85; }

/* Story cards */
.nr-latest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 28px 0 68px; }
.nr-card { display: block; background: #fff; border-radius: 24px; overflow: hidden; transition: box-shadow .15s, transform .15s; }
.nr-card:hover { box-shadow: 0 8px 28px #082b631b; transform: translateY(-2px); }
.nr-card-horizontal { display: grid; grid-template-columns: 50% 50%; padding: 24px; min-height: 205px; }
.nr-card-horizontal .nr-card-img { height: 160px; border-radius: 14px; overflow: hidden; }
.nr-card-img img { height: 100%; width: 100%; object-fit: cover; display: block; }
.nr-card-horizontal .nr-card-copy { padding: 0 0 0 22px; }
.nr-card h3 { font-weight: 500; font-size: 19px; line-height: 1.32; margin: 12px 0 16px; }
.nr-card .nr-card-copy { display: flex; flex-direction: column; }
.nr-card time { margin-top: auto; }
.nr-section { margin: 65px 0; }
.nr-section > h2 { font-size: 23px; font-weight: 400; margin: 0 0 33px; }
.nr-dont-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.nr-card-reverse { display: grid; grid-template-columns: 55% 45%; min-height: 175px; padding: 22px; }
.nr-card-reverse .nr-card-copy { grid-column: 1; grid-row: 1; padding-right: 18px; }
.nr-card-reverse .nr-card-img { grid-column: 2; grid-row: 1; height: 145px; border-radius: 15px; overflow: hidden; }

/* Explore Alegria banner — Alegria navy → blue → cyan → lime.
   A dark overlay preserves readable white text across bright brand colors. */
.nr-banner {
  background: linear-gradient(90deg, rgba(5, 24, 54, .42), rgba(5, 24, 54, .06)),
              linear-gradient(110deg, #082B63 0%, #0D5BFF 40%, #10CBEF 70%, #B7FF00 100%);
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  color: #fff;
  padding: 32px 30px;
  margin: 64px 0;
}
.nr-banner span { font-size: 11px; letter-spacing: .12em; }
.nr-banner h2 { font-size: 25px; font-weight: 500; margin: 10px 0; }
.nr-banner p { font-size: 14px; max-width: 730px; margin: 0; }
.nr-banner a { display: inline-flex; background: #fff; color: #082B63; white-space: nowrap; padding: 13px 20px; border-radius: 28px; font-size: 12px; font-weight: 700; }
.nr-banner a:hover { background: #edf7fc; }

.nr-story-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.nr-reveal { min-width: 0; }
.nr-reveal[hidden] { display: none; }
.nr-card-vertical { min-height: 395px; height: 100%; padding: 16px; }
.nr-card-vertical .nr-card-img { height: 170px; overflow: hidden; border-radius: 16px; }
.nr-card-vertical .nr-card-copy { padding: 14px 8px 8px; min-height: 186px; }
.nr-card-vertical h3 { font-size: 18px; margin: 15px 0 20px; }
.nr-pill { display: inline-flex; align-items: center; justify-content: center; background: #082B63; color: #fff; border: 0; border-radius: 30px; padding: 13px 22px; font-size: 13px; cursor: pointer; }
.nr-pill:hover { background: #0D5BFF; color: #fff; }
.nr-load { display: flex; margin: 30px auto 0; }
.nr-discover-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nr-discover-grid a { background: #fff; border-radius: 22px; padding: 25px; min-height: 196px; display: flex; flex-direction: column; }
.nr-discover-grid h3 { font-size: 18px; font-weight: 500; margin: 0 0 13px; }
.nr-discover-grid p { color: #4f5b69; font-size: 14px; }
.nr-discover-grid span { font-size: 13px; color: #082B63; font-weight: 700; margin-top: auto; }
.nr-no-news { background: #fff; border-radius: 25px; padding: 55px 38px; text-align: center; }
.nr-no-news h2 { font-size: 28px; font-weight: 500; }
.nr-no-news p { color: #607082; }

/* Individual article */
.nr-article-wrap { padding: 60px 0 100px; }
.nr-bg { background: #f6f6f6; }
.nr-article { max-width: 850px; background: #fff; border-radius: 24px; padding: 50px; }
.nr-breadcrumb { display: flex; gap: 12px; font-size: 12px; letter-spacing: .05em; margin-bottom: 40px; color: #50647a; }
.nr-article h1 { font-size: clamp(32px, 5vw, 60px); font-weight: 500; line-height: 1.18; letter-spacing: -.03em; margin: 20px 0; }
.nr-article-photo { border-radius: 15px; width: 100%; max-height: 520px; object-fit: cover; margin: 35px 0 25px; }
.nr-article-body { font-size: 17px; line-height: 1.95; white-space: normal; margin: 45px 0; }
.nr-empty { padding: 100px 0; }
.nr-empty h1 { font-size: 35px; }

@media (max-width: 960px) {
  .nr-featured { grid-template-columns: 1fr; }
  .nr-featured-copy { padding: 26px 10px 10px; }
  .nr-featured-image { height: 340px; }
  .nr-story-grid { grid-template-columns: repeat(2, 1fr); }
  .nr-head nav { gap: 12px; }
}
@media (max-width: 680px) {
  .nr-container { width: calc(100% - 28px); }
  .nr-head-row { flex-direction: column; align-items: flex-start; padding: 14px 0; }
  .nr-head nav { overflow: auto; width: 100%; white-space: nowrap; flex-wrap: nowrap; }
  .nr-tools { align-items: flex-start; flex-direction: column; }
  .nr-featured { padding: 14px; border-radius: 18px; }
  .nr-featured-image { height: 210px; min-height: 210px; }
  .nr-featured-copy h2 { font-size: 26px; margin: 14px 0; }
  .nr-latest-grid, .nr-dont-grid { grid-template-columns: 1fr; gap: 16px; margin-bottom: 45px; }
  .nr-card-horizontal, .nr-card-reverse { grid-template-columns: 43% 57%; padding: 13px; min-height: 140px; }
  .nr-card-horizontal .nr-card-img, .nr-card-reverse .nr-card-img { height: 130px; }
  .nr-card-reverse .nr-card-img { grid-column: 1; grid-row: 1; }
  .nr-card-reverse .nr-card-copy { grid-column: 2; grid-row: 1; padding-left: 15px; padding-right: 0; }
  .nr-card-horizontal .nr-card-copy { padding-left: 15px; }
  .nr-card h3 { font-size: 15px; margin: 6px 0 12px; }
  .nr-card .nr-category { font-size: 10px; }
  .nr-card time { font-size: 11px; }
  .nr-section { margin: 45px 0; }
  .nr-banner { align-items: flex-start; flex-direction: column; }
  .nr-story-grid, .nr-discover-grid { grid-template-columns: 1fr; }
  .nr-card-vertical { min-height: 0; }
  .nr-card-vertical .nr-card-img { height: 220px; }
  .nr-card-vertical .nr-card-copy { min-height: 130px; }
  .nr-article { padding: 25px 18px; }
  .nr-article-wrap { padding: 30px 0 65px; }
}
