.jp-section { position: relative; isolation: isolate; padding: 6rem 0; background: #101a39; background-image: radial-gradient(ellipse at 5% 35%, #35477988, transparent 52%), radial-gradient(ellipse at 100% 85%, #a9183033, transparent 45%); color: #fff; overflow: clip; }
.jp-section::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .13; background-image: linear-gradient(#ffffff25 1px, transparent 1px), linear-gradient(90deg, #ffffff25 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(transparent, #000, transparent); }
.jp-container { max-width: 1280px; margin-inline: auto; padding-inline: 32px; }
.jp-header { max-width: 860px; margin: 0 auto 3rem; text-align: center; }
.jp-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .15em; margin-bottom: 1.2rem; }
.jp-eyebrow::before { content: ''; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #fb4654; box-shadow: 0 0 18px #fb4654; }
.jp-header .section-heading { color: #fff; font-size: clamp(1.9rem, 3.5vw, 3rem); line-height: 1.12; text-wrap: balance; }
.jp-intro { color: #c6cfe3; line-height: 1.75; }
.jp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 28px; }
.jp-article { min-width: 0; display: flex; flex-direction: column; }
.jp-card { flex: 1; display: flex; flex-direction: column; position: relative; background: linear-gradient(145deg, #27365d, #15213e 80%); border: 1px solid #ffffff25; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 45px #03091a66, inset 0 1px #ffffff15; }
.jp-enhanced .jp-card { cursor: pointer; }
.jp-media { position: relative; aspect-ratio: 2.15; background: #364b74; overflow: hidden; }
.jp-image { width: 100%; height: 100%; object-fit: cover; }
.jp-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #233154 0%, #14213e22 58%, transparent); pointer-events: none; }
.jp-icon { position: absolute; bottom: 12px; left: 28px; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid #ffffff55; border-radius: 15px; background: #ffffff17; backdrop-filter: blur(12px); color: #fff; font-size: 1.8rem; box-shadow: 0 6px 20px #06102e44; }
.jp-card-content { padding: 8px 28px 28px; flex: 1; display: flex; flex-direction: column; gap: 12px; overflow-wrap: anywhere; }
.jp-card h3 { color: #fff; font-size: clamp(1.4rem, 2.1vw, 1.9rem); font-weight: 800; line-height: 1.13; letter-spacing: -.03em; margin: 0; }
.jp-subtitle, .jp-short { color: #ced6e8; font-size: .95rem; line-height: 1.55; margin: 0; }
.jp-highlight { margin: 2px 0 0; padding: 12px 15px; border-left: 3px solid #ef5364; border-radius: 0 10px 10px 0; background: linear-gradient(100deg, #ef536414, #ffffff04); }
.jp-highlight > p { font-size: clamp(1.05rem, 1.55vw, 1.35rem); font-weight: 700; line-height: 1.25; letter-spacing: .015em; color: #ffb0b9; margin: 0; }
.jp-highlight > span { display: block; color: #c6cfe3; margin-top: .35rem; font-size: .85rem; }
.jp-keywords { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 4px; padding: 0; }
.jp-keywords li { font-size: .7rem; font-weight: 500; color: #e0e7f5; border: 1px solid #ffffff24; border-radius: 999px; padding: 4px 10px; background: #ffffff06; }
.jp-cta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 50px; padding: 12px 18px; border: 1px solid #ff6d7666; border-radius: 10px; background: linear-gradient(110deg, #c20e1a, #a70c24); color: #fff; box-shadow: 0 6px 20px #83051b33; font-size: .76rem; font-weight: 800; letter-spacing: .07em; transition: background .2s, box-shadow .2s; }
.jp-cta i { font-size: 1.65rem; }
.jp-cta:hover { color: #fff; background: #d2182b; box-shadow: 0 8px 26px #df233344; }
.jp-section a:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.jp-dialog a:focus-visible, .jp-close:focus-visible { outline: 3px solid #c20e1a; outline-offset: 3px; }
.jp-card:focus-within { border-color: #ffffffb3; }
.jp-details { padding: 24px; background: #fff; color: #232f5e; margin-top: 16px; border-radius: 16px; }
.jp-details .jp-modal-bar { display: none; }
.jp-details .jp-modal-layout { display: block; }
.jp-details .jp-modal-visual { min-height: 180px; margin-bottom: 24px; border-radius: 12px; }
.jp-details .jp-modal-reading { overflow: visible; }
.jp-dialog { --jp-backdrop: 1; inset: 0; margin: auto; padding: 0; width: min(1180px, calc(100% - 48px)); max-width: none; max-height: min(860px, calc(100vh - 48px)); max-height: min(860px, calc(100dvh - 48px)); overflow: hidden; border: 1px solid #ffffff30; border-radius: 24px; background: #fff; color: #232f5e; box-shadow: 0 40px 140px #0008; }
.jp-dialog::backdrop { background: rgb(6 13 32 / 82%); backdrop-filter: blur(9px); opacity: var(--jp-backdrop); }
.jp-modal-bar { position: sticky; top: 0; height: 0; z-index: 3; pointer-events: none; }
.jp-close { position: absolute; right: 12px; top: 12px; pointer-events: auto; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; line-height: 1; background: #f4f5faee; border: 1px solid #d8dce5; border-radius: 50%; color: #232f5e; cursor: pointer; font: inherit; font-size: 1.8rem; box-shadow: 0 3px 14px #0c183011; }
.jp-close svg { display: block; width: 20px; height: 20px; flex-shrink: 0; pointer-events: none; }
.jp-modal-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.7fr); max-height: inherit; }
.jp-modal-visual { position: relative; display: flex; align-items: flex-end; min-width: 0; overflow: hidden; background: #192645; }
.jp-modal-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jp-modal-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #101a39 2%, #15213eab 40%, #15213e05 100%); }
.jp-modal-caption { position: relative; z-index: 1; width: 100%; padding: 32px 28px; color: #fff; overflow-wrap: anywhere; }
.jp-modal-caption > i { display: block; font-size: 2.2rem; margin-bottom: 1rem; }
.jp-modal-caption > p { color: #fff; font-size: clamp(1.8rem, 2.7vw, 2.8rem); font-weight: 900; line-height: 1.05; letter-spacing: -.035em; }
.jp-modal-caption > span { display: block; margin-top: .6rem; font-size: .88rem; color: #d9e0f0; }
.jp-modal-reading { overflow: auto; overscroll-behavior: contain; max-height: inherit; scrollbar-width: thin; scrollbar-color: #b8c1d3 #f3f5f9; }
.jp-modal-content { padding: 36px; overflow-wrap: anywhere; }
.jp-details .jp-modal-content { padding: 0; }
.jp-modal-content h4 { padding-right: 25px; font-size: clamp(1.4rem, 2.1vw, 1.9rem); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; margin-bottom: 1.15rem; }
.jp-modal-content h4:focus { outline: none; }
.jp-prose { font-size: .96rem; line-height: 1.6; color: #45536b; }
.jp-prose p, .jp-prose ul, .jp-prose ol { margin-bottom: .8rem; }
.jp-prose ul, .jp-prose ol { padding-left: 1.5rem; }
.jp-prose a { color: #b50e20; text-decoration: underline; text-underline-offset: 3px; }
.jp-quote { margin-top: 1.15rem; padding: 1rem 1.1rem; background: #f3f4f8; border-left: 3px solid #c20e1a; font-size: .98rem; line-height: 1.5; font-weight: 700; }
.jp-related { display: inline-flex; align-items: center; min-height: 48px; max-width: 100%; margin-bottom: 18px; padding: 12px 16px; border: 1px solid #ff8792; border-radius: 10px; background: #b50e20; color: #fff; box-shadow: 0 6px 20px #0004; font-size: .95rem; line-height: 1.4; font-weight: 800; text-decoration: none; transition: background .2s; }
.jp-related:hover { background: #d2182b; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.jp-modal-caption .jp-related:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@media (max-width: 759px) {
  .jp-dialog { width: calc(100% - 20px); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); overflow: auto; overscroll-behavior: contain; border-radius: 18px; }
  .jp-modal-layout { display: block; max-height: none; }
  .jp-modal-visual { min-height: 170px; }
  .jp-modal-caption { padding: 64px 22px 20px; }
  .jp-modal-caption > p { font-size: 1.7rem; }
  .jp-modal-caption > i { display: none; }
  .jp-modal-reading { overflow: visible; max-height: none; }
  .jp-modal-content { padding: 24px; }
  .jp-modal-content h4 { padding-right: 0; }
}
@media (max-width: 719px) {
  .jp-section { padding-block: 3.5rem; }
  .jp-container { padding-inline: 20px; }
  .jp-header { margin-bottom: 2rem; }
  .jp-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 24px; }
  .jp-card-content { padding: 8px 22px 22px; }
  .jp-card h3 { min-height: 0; }
  .jp-icon { left: 22px; }
}
@media (prefers-reduced-motion: reduce) { .jp-cta { transition: none; } .jp-dialog, .jp-modal-reading { scroll-behavior: auto; } }
