/* ================================================
   How to Get a Norwegian Bank Account – in 7 Steps
   Editorial CSS  |  Prefix: bnk-
   Accent: Nordic blue #2d5fa6
   ================================================ */

/* --- Theme overrides --- */
article {
  --art-accent:           #2d5fa6;
  --art-accent-dark:      #1e4178;
  --art-accent-glow:      rgba(45, 95, 166, 0.25);
  --art-accent-subtle:    rgba(45, 95, 166, 0.12);
  --art-link:             #2d5fa6;
  --art-link-hover:       #1e4178;
  --art-link-underline:   rgba(45, 95, 166, 0.35);
  --art-ornament:         #7dd3c0;
  --art-hero-accent-line: #7dd3c0;
}


/* ── Hero overrides ── */
.art-hero__media img {
  object-position: center 60%;
}

.art-hero__overlay {
  background: none;
}

.art-hero__category {
  background: rgba(45, 95, 166, 0.9);
  color: #fff;
}


/* ── Tighten intro → first section gap ── */
.art-intro + .art-section {
  padding-top: 2rem;
}


/* ================================================
   PHASE LABELS — editorial section dividers
   "Before the Bank", "At the Bank", "After the Visit"
   ================================================ */
.bnk-phase {
  text-align: center;
  padding: 3rem 0 1rem;
}

.bnk-phase__label {
  display: inline-block;
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--art-accent, #2d5fa6);
  padding: 0.5rem 1.5rem;
  border: 1.5px solid var(--art-accent-subtle, rgba(45, 95, 166, 0.2));
  border-radius: 100px;
}


/* ================================================
   DIVIDER — three dots between step groups
   ================================================ */
.bnk-divider {
  text-align: center;
  padding: 2rem 0;
  font-size: 1.2rem;
  letter-spacing: 0.5em;
  color: var(--color-gold, #d4a574);
  opacity: 0.5;
}


/* ================================================
   STEP BLOCKS — default (number left, content right)
   ================================================ */
.bnk-step {
  position: relative;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.bnk-step__header {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.bnk-step__number {
  flex-shrink: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-gold, #d4a574);
}

.bnk-step__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-midnight, #0a1628);
  margin: 0;
  letter-spacing: -0.01em;
}

.bnk-step__body {
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #3a3a3a;
}

.bnk-step__body p {
  margin: 0 0 0.9rem;
}

/* Light variant for dark backgrounds */
.bnk-step--light .bnk-step__number {
  color: var(--color-gold, #d4a574);
  opacity: 0.4;
}

.bnk-step--light .bnk-step__title {
  color: #fbf9f6;
}

.bnk-step--light .bnk-step__body {
  color: rgba(251, 249, 246, 0.85);
}


/* ================================================
   1. FAKTABOKS — "Visste du?" / passive info
   Gold left border, cream bg
   Used for: definitions, explanations, background info
   ================================================ */
.bnk-factbox {
  max-width: 800px;
  margin: 1.5rem auto;
  background: var(--color-cream, #fbf9f6);
  border-left: 4px solid var(--color-gold, #d4a574);
  border-radius: 0 1rem 1rem 0;
  padding: 1.75rem 2rem;
}

.bnk-factbox__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-midnight, #0a1628);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bnk-factbox__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bnk-factbox__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #2c2c2c;
}

.bnk-factbox__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-gold, #d4a574);
  font-weight: 700;
}

.bnk-factbox p {
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #2c2c2c;
  margin: 0.6rem 0 0;
}

/* Factbox on dark backgrounds */
.bnk-dark .bnk-factbox {
  background: rgba(251, 249, 246, 0.06);
  border-left-color: var(--art-accent, #2d5fa6);
}

.bnk-dark .bnk-factbox .bnk-factbox__title {
  color: var(--color-gold, #d4a574);
}

.bnk-dark .bnk-factbox .bnk-factbox__list li {
  color: rgba(251, 249, 246, 0.85);
}

.bnk-dark .bnk-factbox .bnk-factbox__list li::before {
  color: var(--art-accent, #2d5fa6);
}

.bnk-dark .bnk-factbox p {
  color: rgba(251, 249, 246, 0.75);
}

.bnk-dark .bnk-factbox a {
  color: var(--art-ornament, #7dd3c0);
}


/* ================================================
   2. CHECKLIST — "Gjør dette" / action items
   Card with outline, checkmarks, no left bar
   Used for: things reader must prepare/do
   ================================================ */
.bnk-checklist {
  max-width: 800px;
  margin: 1.5rem auto;
  padding: 2rem 2.25rem;
  background: #fff;
  border: 1.5px solid rgba(10, 22, 40, 0.1);
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.04);
}

.bnk-checklist__title {
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--art-accent, #2d5fa6);
  margin: 0 0 1rem;
}

.bnk-checklist__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bnk-checklist__list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.7rem;
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #2c2c2c;
}

.bnk-checklist__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 1.35rem;
  height: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: var(--art-ornament, #7dd3c0);
  border-radius: 50%;
}


/* ================================================
   3. TIP / CALLOUT — "Lurt å vite" / compact advice
   Warm gold-tinted bg, rounded, no left bar
   Used for: short practical tips, one-liners
   ================================================ */
.bnk-tip {
  max-width: 720px;
  margin: 1.5rem auto;
  padding: 1.2rem 1.75rem;
  background: rgba(212, 165, 116, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.bnk-tip::before {
  content: attr(data-icon);
  flex-shrink: 0;
  font-size: 1.3rem;
  line-height: 1.6;
}

.bnk-tip__label {
  display: block;
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold, #d4a574);
  margin-bottom: 0.2rem;
}

.bnk-tip p {
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #3a3a3a;
  margin: 0;
}


/* ================================================
   BANK CARDS — visual grid for bank options
   ================================================ */
.bnk-bank-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 800px;
  margin: 1.5rem auto;
}

.bnk-bank-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--color-midnight, #0a1628);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bnk-bank-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.bnk-bank-card__name {
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.bnk-bank-card__arrow {
  margin-left: auto;
  color: var(--art-accent, #2d5fa6);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.bnk-bank-card:hover .bnk-bank-card__arrow {
  transform: translateX(3px);
}


/* ================================================
   4. PULLQUOTE — "Nøkkelbudskap"
   Decorative oversized quote mark, centered italic
   One unified style that adapts to bg
   ================================================ */
.bnk-pullquote {
  position: relative;
  max-width: 650px;
  margin: 2.5rem auto;
  padding: 2.5rem 2rem 1.5rem;
  text-align: center;
}

.bnk-pullquote::before {
  content: '\201C';
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--color-gold, #d4a574);
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.bnk-pullquote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  color: var(--color-midnight, #0a1628);
  margin: 0;
}

/* Pullquote on dark backgrounds */
.bnk-dark .bnk-pullquote::before {
  color: var(--color-gold, #d4a574);
  opacity: 0.35;
}

.bnk-dark .bnk-pullquote p {
  color: rgba(251, 249, 246, 0.85);
}


/* ================================================
   TIMELINE — processing steps (step 6)
   ================================================ */
.bnk-timeline {
  --tl-rail: 1.25rem;
  max-width: 600px;
  margin: 2rem auto;
  padding-left: calc(var(--tl-rail) + 1.5rem);
  position: relative;
}

.bnk-timeline::before {
  content: '';
  position: absolute;
  left: calc(var(--tl-rail) + 0.5px);
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--art-accent, #2d5fa6) 0%, var(--art-ornament, #7dd3c0) 100%);
  border-radius: 1px;
}

.bnk-timeline__item {
  position: relative;
  padding-bottom: 2rem;
}

.bnk-timeline__item:last-child {
  padding-bottom: 0;
}

.bnk-timeline__item::before {
  content: '';
  position: absolute;
  left: calc(-1.5rem - 5px);
  top: 0.55rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--art-accent, #2d5fa6);
  border: 2px solid var(--color-cream, #fbf9f6);
  box-shadow: 0 0 0 2px var(--art-accent-subtle, rgba(45, 95, 166, 0.2));
}

.bnk-timeline__item:last-child::before {
  background: var(--art-ornament, #7dd3c0);
  box-shadow: 0 0 0 2px rgba(125, 211, 192, 0.2);
}

.bnk-timeline__title {
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-midnight, #0a1628);
  margin: 0 0 0.25rem;
}

.bnk-timeline__desc {
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #5a5a5a;
  margin: 0;
}


/* ================================================
   DARK SECTION — for KYC / step 5
   ================================================ */
.bnk-dark {
  background: var(--color-midnight, #0a1628);
  color: #fbf9f6;
}

.bnk-dark .art-section__inner {
  max-width: 900px;
}

.bnk-dark .art-heading h2 {
  color: #fbf9f6;
}

.bnk-dark .art-heading::after {
  background: var(--art-accent, #2d5fa6);
}

.bnk-dark .art-prose {
  color: rgba(251, 249, 246, 0.85);
}

.bnk-dark .art-prose p {
  color: rgba(251, 249, 246, 0.85);
}


/* ================================================
   SUMMARY GRID — closing 3-column layout
   ================================================ */
.bnk-summary-intro {
  text-align: center;
}

.bnk-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
}

.bnk-summary__item {
  padding: 1.5rem 1rem;
}

.bnk-summary__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.bnk-summary__text {
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #3a3a3a;
}


/* ================================================
   FAQ  (<details> / <summary>)
   ================================================ */
.bnk-faq {
  max-width: 800px;
  margin: 0 auto;
}

.bnk-faq details {
  border-bottom: 1px solid rgba(10, 22, 40, 0.1);
  padding: 1.25rem 0;
}

.bnk-faq details:first-of-type {
  border-top: 1px solid rgba(10, 22, 40, 0.1);
}

.bnk-faq summary {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-midnight, #0a1628);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 0.5rem;
}

.bnk-faq summary::-webkit-details-marker {
  display: none;
}

.bnk-faq summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-gold, #d4a574);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.bnk-faq details[open] summary::after {
  content: '−';
}

.bnk-faq details p {
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 0.95rem;
  line-height: 1.85;
  color: #3a3a3a;
  margin: 0.75rem 0 0.5rem;
}


/* ================================================
   TIPS LIST
   ================================================ */
.bnk-tips {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto;
  max-width: 800px;
}

.bnk-tips li {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: 1rem;
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  color: #3a3a3a;
}

.bnk-tips li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--art-ornament, #7dd3c0);
  font-weight: 700;
  font-size: 1.1rem;
}


/* ================================================
   IMAGE PLACEHOLDER  (temporary)
   ================================================ */
.bnk-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  max-width: 800px;
  margin: 1.5rem auto;
  background: #e8e4df;
  border-radius: 1rem;
  color: #9a9590;
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 0.85rem;
  font-style: italic;
  text-align: center;
  padding: 2rem;
}


/* ================================================
   RELATED ARTICLES — card overrides
   ================================================ */
.art-card-grid__card {
  background: #fff;
}

.art-card-grid__body {
  background: #fff;
}

.art-card-grid {
  padding-top: var(--space-xl, 2rem);
  background: var(--color-cream, #fbf9f6);
}


/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 768px) {
  .bnk-bank-cards {
    grid-template-columns: 1fr;
  }

  .bnk-summary {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .bnk-summary__item {
    padding: 1rem;
  }

  .bnk-factbox {
    padding: 1.25rem 1.5rem;
  }

  .bnk-checklist {
    padding: 1.5rem 1.5rem;
  }

  .bnk-pullquote {
    margin: 2rem auto;
    padding: 2rem 1rem 1rem;
  }

  .bnk-timeline {
    --tl-rail: 1rem;
  }
}

@media (max-width: 480px) {
  .bnk-factbox {
    padding: 1rem 1.25rem;
    border-radius: 0 0.75rem 0.75rem 0;
  }

  .bnk-checklist {
    padding: 1.25rem;
  }

  .bnk-tip {
    padding: 1rem 1.25rem;
  }

  .bnk-bank-card {
    padding: 1rem 1.25rem;
  }

  .bnk-img-placeholder {
    min-height: 180px;
  }

  .bnk-phase__label {
    font-size: 0.65rem;
    padding: 0.4rem 1rem;
  }
}


/* ================================================
   REDUCED MOTION
   ================================================ */
@media (prefers-reduced-motion: reduce) {
  .art-hero__media img {
    animation: none;
  }

  .bnk-faq summary::after {
    transition: none;
  }

  .bnk-bank-card {
    transition: none;
  }
}
