/* Rune Guide Tips: extends existing css/styles.css without replacing shared styles. */
/* No CSS gap property is used. */
body.rune-guide-page { overflow-x: hidden; }
body.rune-guide-page::before { opacity: 0; }

/* Keep the SAME shared header, shell, back-link and hero heights as Resource Guide. */
.rune-guide-page .rune-guide-background {
  background-image:
    linear-gradient(180deg, rgba(7,7,6,.28) 0%, rgba(8,7,5,.18) 28%, rgba(5,5,4,.46) 100%),
    url("../assets/tips/rune-guide/background.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.rune-guide-page .rune-guide-panel + .rune-guide-panel { margin-top: clamp(.9em, 3.6vw, 1.25em); }
.rune-guide-page .rune-guide-panel { padding: 20px 16px; }
.rune-guide-page .rune-guide-panel-heading { margin: 0 0 1em; }

/* GLASS BOX 01. All three arrows have equal 64-unit line lengths and stroke widths. */
.rune-guide-flow { width: 100%; }
.rune-guide-flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  min-height: 3.4rem;
  padding: .75rem .45rem;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: .65rem;
  background: rgba(14,13,13,.44);
  color: #f8f7f5;
  font-size: .85rem;
  font-weight: 670;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
}
.rune-guide-flow-node-wide { width: 100%; }
.rune-guide-flow-node strong { display: block; font-size: inherit; font-weight: 690; }
.rune-guide-flow-node small { display: block; margin-top: .35rem; color: rgba(245,245,245,.8); font-size: .72rem; font-weight: 500; line-height: 1.4; }
.rune-guide-flow-arrow {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 10 / 3;
  margin-right: auto;
  margin-left: auto;
  overflow: visible;
  fill: none;
  stroke: #D6AA4F;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rune-guide-flow-branches { display: flex; width: 100%; }
.rune-guide-flow-branch { flex: 1 1 0; width: 50%; min-height: 4.3rem; }
.rune-guide-flow-branch:first-child { margin-right: .35rem; }
.rune-guide-flow-branch:last-child { margin-left: .35rem; }
.rune-guide-flow-parallel { margin: .75rem 0 0; color: #edce8b; font-size: .76rem; font-weight: 570; line-height: 1.45; text-align: center; }
.rune-guide-flow-node-common { background: rgba(22,19,14,.60); }

/* GLASS BOX 02: one unified content pane with all image/text left edges aligned. */
.rune-guide-step + .rune-guide-step { margin-top: 1.65rem; padding-top: 1.65rem; border-top: 1px solid rgba(255,255,255,.17); }
.rune-guide-step-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(18,19,21,.75);
}
.rune-guide-step-label { margin: 14px 0 0; color: #e2bb70; font-size: .72rem; font-weight: 700; letter-spacing: .05em; }
.rune-guide-step-title { margin: 6px 0 0; color: #fff; font-size: clamp(1.02rem,4.2vw,1.16rem); font-weight: 670; line-height: 1.35; overflow-wrap: anywhere; }
.rune-guide-step-text { margin: 10px 0 0; color: rgba(255,255,255,.9); font-size: .9rem; font-weight: 480; line-height: 1.65; overflow-wrap: anywhere; }

/* Image banner: always 320:100 (16:5) ratio, responsive with the content area width. */
.rune-guide-banner-area { margin-top: 1.7rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.17); }
.rune-guide-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 5;
  padding: .45rem clamp(.6rem,3vw,1rem);
  border: 1px solid rgba(233,198,123,.52);
  border-radius: 8px;
  background-image:
    linear-gradient(90deg,rgba(5,7,9,.88),rgba(7,9,11,.68) 59%,rgba(7,9,11,.18)),
    url("../assets/tips/rune-guide/rune-plan-banner.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}
.rune-guide-banner:focus-visible { outline: 2px solid #f0d392; outline-offset: 3px; }
.rune-guide-banner-copy { display: block; flex: 1 1 auto; min-width: 0; }
.rune-guide-banner-kicker { display: block; color: #f0cb82; font-size: clamp(.48rem,1.9vw,.64rem); letter-spacing: .09em; line-height: 1.15; }
.rune-guide-banner-copy strong { display: block; margin-top: .16rem; font-size: clamp(.78rem,3vw,1rem); line-height: 1.3; font-weight: 720; overflow-wrap: anywhere; }
.rune-guide-banner-copy small { display: block; margin-top: .12rem; color: rgba(255,255,255,.85); font-size: clamp(.57rem,2.2vw,.73rem); line-height: 1.3; overflow-wrap: anywhere; }
.rune-guide-banner-chevron { flex: 0 0 auto; margin-left: .5rem; color: #f0cb82; font-size: 1.15rem; }


html[lang="ru"] .rune-guide-page .rune-guide-flow-node,
html[lang="es"] .rune-guide-page .rune-guide-flow-node { font-size: .79rem; line-height: 1.45; }
html[lang="ru"] .rune-guide-page .rune-guide-banner-copy strong,
html[lang="es"] .rune-guide-page .rune-guide-banner-copy strong { font-size: clamp(.71rem,2.8vw,.92rem); }
@media (max-width: 360px) {
  .rune-guide-page .rune-guide-panel { padding: 20px 16px; }
  .rune-guide-flow-node { font-size: .78rem; }
  .rune-guide-flow-node small { font-size: .66rem; }
  .rune-guide-step-title { font-size: 1.02rem; }
  .rune-guide-step-text { font-size: .88rem; }
  .rune-guide-banner { padding-left: .6rem; padding-right: .6rem; }
}
@media (prefers-reduced-motion: reduce) { .rune-guide-page .rune-guide-banner { scroll-behavior: auto; } }

/* Header geometry and logo sizing are owned exclusively by v2-shared-header.css. */
