/* EVE Online: Rubicon — в духе помпейских фресок: разделы — панели на стене виллы,
   помпейский красный, чёрный и охра, тонкие линии-рамки. Без орнамента.
   Шапка — ключевой арт Rubicon, внизу во всю ширину — станция над планетой. */

.ev-eve-rubicon {
  --cream: #f1e6d2;
  --pred: #7d2a1f;      /* помпейский красный */
  --pred2: #6a2219;
  --pblack: #17110f;    /* помпейский чёрный */
  --ochre: #b8873a;     /* охра */
  --ochre-l: #d9b26a;
}
.ev-eve-rubicon article, .ev-eve-rubicon .ev-hero-in, .ev-eve-rubicon .ev-meta, .ev-eve-rubicon .neighbours { font-family: "Lora", Georgia, serif; }

/* ── шапка ── */
.ev-eve-rubicon .ev-cover::after { background:
  radial-gradient(60% 62% at 50% 64%, rgba(12,9,8,.78), rgba(12,9,8,.3) 75%),
  linear-gradient(180deg, rgba(12,9,8,.15) 0%, rgba(12,9,8,.2) 50%, #0c0908 97%) !important; }
.ev-eve-rubicon .ev-hero-in { text-align: center; }
.ev-eve-rubicon .chip.back { font-family: "Inter", sans-serif; }
.ev-eve-rubicon .kicker { font-family: "Lora", serif; font-weight: 400; letter-spacing: .34em; color: var(--ochre-l); }
.ev-eve-rubicon .kicker b { color: var(--cream); font-weight: 700; }
.ev-eve-rubicon.s-classic .ev-years { justify-content: center; gap: 16px; margin-top: 22px; }
.ev-eve-rubicon.s-classic .ev-years .num { background: none; -webkit-background-clip: border-box; background-clip: border-box; filter: none;
  font-family: "Lora", serif; font-weight: 700; color: var(--cream); text-shadow: 0 4px 30px rgba(0,0,0,.8); }
.ev-eve-rubicon.s-classic .ev-years .lbl { font-family: "Lora", serif; font-weight: 400; font-style: italic; color: #d8cbb4; text-shadow: 0 2px 16px rgba(0,0,0,.8); }
.ev-eve-rubicon.s-classic .ev-lead { margin-top: 22px; font-style: italic; font-size: 17px; color: #ab9f8c; }
.ev-eve-rubicon.s-classic .ev-lead b { display: block; margin-top: 10px; font-style: normal; }
.ev-eve-rubicon .ev-lead b .gm { display: block; padding-left: .4em; font-size: clamp(15px, 1.6vw, 19px); font-weight: 500; letter-spacing: .4em; text-transform: uppercase; color: var(--ochre-l); margin-bottom: 10px; }
.ev-eve-rubicon .ev-lead b .exp { display: block; padding-left: .2em; font-size: clamp(50px, 8.6vw, 112px); font-weight: 700; line-height: 1; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cream); text-shadow: 0 6px 40px rgba(0,0,0,.85); }
.ev-eve-rubicon .ev-sub { margin: 20px auto 0; font-style: italic; font-size: 18px; color: #d8cbb4; }

/* ── разделы — панели фрески ── */
.ev-eve-rubicon.s-classic .rule, .ev-eve-rubicon.s-classic .pts:empty { display: none; }
.ev-eve-rubicon article { counter-reset: sec; }
.ev-eve-rubicon .feat.sec { counter-increment: sec; max-width: 860px; margin: 28px auto 0; padding: 40px 54px 30px;
  background: radial-gradient(120% 90% at 50% 40%, var(--pred), var(--pred2));
  box-shadow: inset 0 0 0 10px var(--pred2), inset 0 0 0 11px rgba(23,17,15,.9), inset 0 0 0 16px var(--pred2), inset 0 0 0 17px rgba(217,178,106,.75); }
.ev-eve-rubicon .feat.sec:first-of-type { margin-top: 56px; }
.ev-eve-rubicon .feat.sec h2 { text-align: center; font-size: clamp(22px, 2.8vw, 30px); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); margin-bottom: 20px; }
.ev-eve-rubicon .feat.sec h2::before { content: counter(sec, upper-roman); display: block; margin-bottom: 6px; font-size: 16px; letter-spacing: .3em; color: var(--ochre-l); }
.ev-eve-rubicon .feat.sec p { font-size: 18px; line-height: 1.75; color: #ecdfca; margin-bottom: 14px; }
.ev-eve-rubicon .feat.sec p b { color: #fff; }

/* чёрные панели — II и V */
.ev-eve-rubicon .feat.sec.motto, .ev-eve-rubicon .feat.sec:nth-of-type(5) {
  background: radial-gradient(120% 90% at 50% 40%, #221915, var(--pblack));
  box-shadow: inset 0 0 0 10px var(--pblack), inset 0 0 0 11px rgba(125,42,31,.9), inset 0 0 0 16px var(--pblack), inset 0 0 0 17px rgba(217,178,106,.6); }
.ev-eve-rubicon .feat.sec.motto { text-align: center; }
.ev-eve-rubicon .feat.sec.motto p { font-style: italic; font-size: 19.5px; color: var(--cream); }

/* охристая панель — финал */
.ev-eve-rubicon .feat.sec.final { margin-top: 28px; text-align: center;
  background: radial-gradient(120% 90% at 50% 40%, #c39349, #a77731);
  box-shadow: inset 0 0 0 10px #a77731, inset 0 0 0 11px rgba(23,17,15,.85), inset 0 0 0 16px #a77731, inset 0 0 0 17px rgba(125,42,31,.85); }
.ev-eve-rubicon .feat.sec.final h2 { color: #2a1810; }
.ev-eve-rubicon .feat.sec.final h2::before { color: var(--pred); }
.ev-eve-rubicon .feat.sec.final p { color: #2f1d12; }
.ev-eve-rubicon .feat.sec.final p:last-child { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(42,24,16,.4); font-size: 19.5px; font-style: italic; }
.ev-eve-rubicon .feat.sec.final p:last-child b { color: #1d0f08; font-weight: 700; }

/* IV — четыре малые чёрные панели внутри красной */
.ev-eve-rubicon .feat.sec .items { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 10px; }
.ev-eve-rubicon .feat.sec .items li { padding: 18px 20px; background: var(--pblack); box-shadow: inset 0 0 0 5px var(--pblack), inset 0 0 0 6px rgba(217,178,106,.55); }
.ev-eve-rubicon .feat.sec .items b { display: block; margin-bottom: 6px; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre-l); }
.ev-eve-rubicon .feat.sec .items span { font-size: 16px; line-height: 1.6; color: #e6d9c3; }

/* ── низ: станция над планетой во всю ширину ── */
body.ev-eve-rubicon { position: relative; isolation: isolate; }
body.ev-eve-rubicon::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0;
  height: max(640px, calc(100vw * 1280 / 2048));
  background: linear-gradient(180deg, rgba(12,9,8,.55), rgba(12,9,8,.1) 55%, rgba(12,9,8,.4)),
              url("../../img/eve-rubicon/station.jpg?v=25510ec8") center 70% / cover no-repeat;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, #000 40%, rgba(0,0,0,.55) 68%, transparent 100%);
          mask-image: linear-gradient(0deg, #000 0%, #000 40%, rgba(0,0,0,.55) 68%, transparent 100%);
  pointer-events: none; }
.ev-eve-rubicon .ev-meta { margin-top: 48px; padding: 14px 18px; border-top: 0; background: rgba(12,9,8,.8); backdrop-filter: blur(6px); font-style: italic; color: #d8cbb4; }
.ev-eve-rubicon .ev-meta b { font-style: normal; color: var(--ochre-l); }
.ev-eve-rubicon .neighbours a { border-radius: 0; background: rgba(12,9,8,.82); backdrop-filter: blur(6px); border-color: rgba(217,178,106,.3); }
.ev-eve-rubicon .site-foot { background: rgba(12,9,8,.75); backdrop-filter: blur(6px); }

@media (max-width: 760px) {
  /* на телефоне обложка целиком по ширине, чтобы логотип EVE Rubicon не обрезался */
  .ev-eve-rubicon .ev-cover { background-size: 100% auto !important; background-position: center top !important; }
  .ev-eve-rubicon .ev-cover::after { background: linear-gradient(180deg, rgba(12,9,8,0) 0, rgba(12,9,8,0) calc(100vw * 1440 / 2560 - 90px), #0c0908 calc(100vw * 1440 / 2560)) !important; }
  .ev-eve-rubicon .ev-hero-in { padding-top: calc(100vw * 1440 / 2560 - 40px); }
  .ev-eve-rubicon.s-classic .ev-years .num { font-size: 88px; }
  .ev-eve-rubicon.s-classic .ev-years .lbl { font-size: 28px; }
  .ev-eve-rubicon .ev-lead b .gm { letter-spacing: .26em; }
  .ev-eve-rubicon .ev-lead b .exp { letter-spacing: .12em; }
  .ev-eve-rubicon .feat.sec { padding: 34px 24px 22px; margin-left: -6px; margin-right: -6px; }
  .ev-eve-rubicon .feat.sec p { font-size: 16.5px; }
  .ev-eve-rubicon .feat.sec .items { grid-template-columns: 1fr; }
}

/* ── «роспись» в углу каждой панели: фрагмент арта, стилизованный под фреску,
   тонируется цветом панели и растворяется из угла ── */
.ev-eve-rubicon .feat.sec { position: relative; isolation: isolate; }
.ev-eve-rubicon .feat.sec > * { position: relative; z-index: 1; }
.ev-eve-rubicon .feat.sec::before { content: ""; position: absolute; z-index: 0; top: 18px; right: 18px; width: 62%; height: calc(100% - 36px); max-height: 420px;
  background: var(--fresco) right top / cover no-repeat; mix-blend-mode: hard-light; opacity: .9; pointer-events: none;
  -webkit-mask-image: radial-gradient(130% 130% at 100% 0%, #000 0%, #000 22%, rgba(0,0,0,.6) 45%, transparent 75%);
          mask-image: radial-gradient(130% 130% at 100% 0%, #000 0%, #000 22%, rgba(0,0,0,.6) 45%, transparent 75%); }
/* чётные — из левого угла */
.ev-eve-rubicon .feat.sec:nth-of-type(even)::before { right: auto; left: 18px; background-position: left top;
  -webkit-mask-image: radial-gradient(130% 130% at 0% 0%, #000 0%, #000 22%, rgba(0,0,0,.6) 45%, transparent 75%);
          mask-image: radial-gradient(130% 130% at 0% 0%, #000 0%, #000 22%, rgba(0,0,0,.6) 45%, transparent 75%); }
/* на чёрных панелях soft-light почти не виден — там светлее и через screen */
.ev-eve-rubicon .feat.sec.motto::before, .ev-eve-rubicon .feat.sec:nth-of-type(5)::before { mix-blend-mode: screen; opacity: .55; }
.ev-eve-rubicon .feat.sec.final::before { mix-blend-mode: multiply; opacity: .75; }
.ev-eve-rubicon .feat.sec:nth-of-type(1) { --fresco: url("../../img/eve-rubicon/fresco-1.jpg?v=9c2a067b"); }
.ev-eve-rubicon .feat.sec:nth-of-type(2) { --fresco: url("../../img/eve-rubicon/fresco-2.jpg?v=5d3a1781"); }
.ev-eve-rubicon .feat.sec:nth-of-type(3) { --fresco: url("../../img/eve-rubicon/fresco-3.jpg?v=d99bf497"); }
.ev-eve-rubicon .feat.sec:nth-of-type(4) { --fresco: url("../../img/eve-rubicon/fresco-4.jpg?v=cdf0c3d6"); }
.ev-eve-rubicon .feat.sec:nth-of-type(5) { --fresco: url("../../img/eve-rubicon/fresco-5.jpg?v=829269dd"); }
.ev-eve-rubicon .feat.sec:nth-of-type(6) { --fresco: url("../../img/eve-rubicon/fresco-6.jpg?v=10c73617"); }
@media (max-width: 760px) { .ev-eve-rubicon .feat.sec::before { width: 90%; max-height: 300px; } }

/* I — фото Энди Нордгрен: портрет-«фреска» слева, текст справа от него */
.ev-eve-rubicon .feat.sec:nth-of-type(1) { padding-left: calc(30% + 30px); }
.ev-eve-rubicon .feat.sec:nth-of-type(1) h2 { text-align: left; }
.ev-eve-rubicon .feat.sec:nth-of-type(1)::before { right: auto; left: 18px; top: 18px; width: 34%; height: calc(100% - 36px); max-height: none;
  background-position: center 20%; background-size: cover;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%), linear-gradient(180deg, #000 60%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, #000 55%, transparent 100%), linear-gradient(180deg, #000 60%, transparent 100%);
          mask-composite: intersect; }
@media (max-width: 760px) {
  .ev-eve-rubicon .feat.sec:nth-of-type(1) { padding-left: 24px; padding-top: 250px; }
  .ev-eve-rubicon .feat.sec:nth-of-type(1)::before { width: calc(100% - 36px); height: 250px; background-size: auto 140%; background-position: center 18%; background-repeat: no-repeat;
    -webkit-mask-image: radial-gradient(50% 62% at 50% 38%, #000 60%, transparent 100%); mask-image: radial-gradient(50% 62% at 50% 38%, #000 60%, transparent 100%); -webkit-mask-composite: source-over; mask-composite: add; }
}

/* II — кадр трейлера Rubicon (лицо на голоэкране): охристая «фреска» справа, девиз слева */
.ev-eve-rubicon .feat.sec.motto { padding-right: calc(30% + 30px); }
.ev-eve-rubicon .feat.sec.motto::before { left: auto; right: 18px; top: 18px; width: 34%; height: calc(100% - 36px); max-height: none;
  background-position: center 30%; background-size: cover; mix-blend-mode: normal; opacity: .9;
  -webkit-mask-image: linear-gradient(270deg, #000 50%, transparent 100%), linear-gradient(0deg, transparent 0, #000 25%, #000 75%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(270deg, #000 50%, transparent 100%), linear-gradient(0deg, transparent 0, #000 25%, #000 75%, transparent 100%);
          mask-composite: intersect; }
@media (max-width: 760px) {
  .ev-eve-rubicon .feat.sec.motto { padding-right: 24px; padding-top: 250px; }
  .ev-eve-rubicon .feat.sec.motto::before { right: 18px; width: calc(100% - 36px); height: 250px; background-size: auto 140%; background-position: center 30%;
    -webkit-mask-image: radial-gradient(50% 62% at 50% 38%, #000 60%, transparent 100%); mask-image: radial-gradient(50% 62% at 50% 38%, #000 60%, transparent 100%);
    -webkit-mask-composite: source-over; mask-composite: add; }
}

/* III — таможня над планетой: широкая «фреска»-фриз над текстом, растворяется вниз */
.ev-eve-rubicon .feat.sec:nth-of-type(3) { padding-top: 300px; }
.ev-eve-rubicon .feat.sec:nth-of-type(3)::before { left: 18px; right: 18px; top: 18px; width: auto; height: 340px; max-height: none;
  background-size: cover; background-position: center 40%; mix-blend-mode: normal; opacity: 1;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%), linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(180deg, #000 55%, transparent 100%), linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-composite: intersect; }
@media (max-width: 760px) {
  .ev-eve-rubicon .feat.sec:nth-of-type(3) { padding-top: 190px; }
  .ev-eve-rubicon .feat.sec:nth-of-type(3)::before { width: auto; height: 220px; background-position: 70% 40%; }
}

/* IV — корабль с манипулятором: «фреска» в правом верхнем углу, заголовок и вводная — слева от неё, таблички ниже */
.ev-eve-rubicon .feat.sec:nth-of-type(4) { min-height: 0; }
.ev-eve-rubicon .feat.sec:nth-of-type(4) h2, .ev-eve-rubicon .feat.sec:nth-of-type(4) > p:first-of-type { max-width: 44%; text-align: left; }
.ev-eve-rubicon .feat.sec:nth-of-type(4) > p:first-of-type { min-height: 150px; }
.ev-eve-rubicon .feat.sec:nth-of-type(4)::before { left: auto; right: 18px; top: 18px; width: 58%; height: 330px; max-height: none;
  background-size: cover; background-position: center; mix-blend-mode: normal; opacity: 1;
  -webkit-mask-image: linear-gradient(270deg, #000 55%, transparent 100%), linear-gradient(180deg, #000 55%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(270deg, #000 55%, transparent 100%), linear-gradient(180deg, #000 55%, transparent 100%);
          mask-composite: intersect; }
@media (max-width: 760px) {
  .ev-eve-rubicon .feat.sec:nth-of-type(4) { padding-top: 200px; }
  .ev-eve-rubicon .feat.sec:nth-of-type(4) h2, .ev-eve-rubicon .feat.sec:nth-of-type(4) > p:first-of-type { max-width: none; text-align: center; min-height: 0; }
  .ev-eve-rubicon .feat.sec:nth-of-type(4)::before { left: 18px; width: auto; height: 230px;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); -webkit-mask-composite: source-over; mask-composite: add; }
}

/* V — Stratios с концепт-арта: фриз под текстом, растворяется вверх */
.ev-eve-rubicon .feat.sec:nth-of-type(5) { padding-bottom: 300px; }
.ev-eve-rubicon .feat.sec:nth-of-type(5)::before { left: 18px; right: 18px; top: auto; bottom: 18px; width: auto; height: 360px; max-height: none;
  background-size: cover; background-position: center 55%; mix-blend-mode: normal; opacity: 1;
  -webkit-mask-image: linear-gradient(0deg, #000 50%, transparent 100%), linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(0deg, #000 50%, transparent 100%), linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-composite: intersect; }
@media (max-width: 760px) {
  .ev-eve-rubicon .feat.sec:nth-of-type(5) { padding-bottom: 180px; }
  .ev-eve-rubicon .feat.sec:nth-of-type(5)::before { height: 210px; }
}

/* VI — переход Рубикона: цветная иллюстрация фризом над текстом, «впитана» в охру (multiply) */
.ev-eve-rubicon .feat.sec.final { padding-top: 290px; }
.ev-eve-rubicon .feat.sec.final::before { left: 18px; right: 18px; top: 18px; width: auto; height: 300px; max-height: none;
  background-size: cover; background-position: center bottom; mix-blend-mode: multiply; opacity: 1;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%), linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(180deg, #000 60%, transparent 100%), linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-composite: intersect; }
@media (max-width: 760px) {
  .ev-eve-rubicon .feat.sec.final { padding-top: 170px; }
  .ev-eve-rubicon .feat.sec.final::before { height: 180px; background-position: 18% bottom; }
}

/* без римских номеров у разделов */
.ev-eve-rubicon .feat.sec h2::before { content: none; display: none; }
