/* ==========================================================================
   Block: Fees
   File:   css/blocks/fees.css
   Markup: includes/blocks/fees.php

   Entries sit side by side in matching gold-capped panels, each led by a
   gold eyebrow. The first column is wider, since it is where the fuller
   explanation goes; an amount is set in display type but kept modest, with
   any note about it directly beneath.
   ========================================================================== */

.fees {
  --fee-heading-size: 38px;
  --fee-amount-size: 32px;

  width: 100%;
  margin: var(--vir-section-gap) 0 0;
  padding: 0 var(--vir-gutter);
  box-sizing: border-box;
}

.fees__inner {
  width: 100%;
  max-width: var(--vir-measure);
  margin: 0 auto;
}

/* --- Head ---------------------------------------------------------------- */

.fees__head {
  max-width: 760px;
  margin: 0 0 40px;
}

.fees .fees__heading {
  margin: 0;
  color: var(--vir-heading);
  font-family: var(--vir-font-display);
  font-size: var(--fee-heading-size);
  line-height: 1.12em;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fees .fees__heading::before {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 0 0 26px;
  background-color: var(--vir-gold);
}

.fees .fees__intro p {
  margin: 20px 0 0;
  color: var(--vir-body);
  font-family: var(--vir-font-body);
  font-size: 16px;
  line-height: 1.8em;
  letter-spacing: 0.04em;
}

/* --- Entries ------------------------------------------------------------- */

.fees__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px;
}

/* A single entry takes the full width rather than leaving an empty column. */
.fees__item:only-child {
  grid-column: 1 / -1;
}

.fees__item {
  display: flex;
  flex-direction: column;
  padding: 36px 34px 38px;
  border-top: 6px solid var(--vir-gold);
  background-color: var(--vir-surface);
  box-sizing: border-box;
}

.fees .fees__label {
  margin: 0;
  color: var(--vir-gold);
  font-family: var(--vir-font-body);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fees .fees__amount {
  margin: 18px 0 0;
  color: var(--vir-white);
  font-family: var(--vir-font-display);
  font-size: var(--fee-amount-size);
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
}

.fees .fees__detail p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--vir-font-body);
  font-size: 16px;
  line-height: 1.85em;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.fees .fees__amount + .fees__detail p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.6em;
}

/* An entry carrying only a note is given the same optical weight as the
   priced one by a hairline under its label. */
.fees__item--note .fees__label {
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.45);
}

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 991px) {
  .fees {
    --fee-heading-size: 30px;
    --fee-amount-size: 30px;
  }

  .fees__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 575px) {
  .fees {
    --fee-heading-size: 23px;
    --fee-amount-size: 28px;
  }

  .fees__item {
    padding: 30px 24px 32px;
  }
}
