/* The programme pages (gzclp.html, 531.html, phul.html), on top of site.css: the
   hero, the programme's blocks and its tables. Shared so the three pages stay the same. */

.hero { position: relative; overflow: hidden; }
.hero > .wrap:not(.nav) { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 30px; padding-bottom: 96px; }
.hero h1.poster { font-size: clamp(70px, 7.6vw, 110px); }
.hero .lede { margin-top: 28px; }
.hero .badge { margin-top: 30px; }

.shot { margin: 0; justify-self: center; }
.shot img { width: 460px; max-width: 100%; height: auto; border-radius: 26px; transform: rotate(2.5deg);
  box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 12px 24px rgba(0,0,0,.35), 0 0 0 1.5px rgba(255,255,255,.1); }
.shot figcaption { margin-top: 22px; font: 600 14px/1.4 'Inter', sans-serif; color: rgba(255,255,255,.85); text-align: center; }

.block { padding-top: 88px; padding-bottom: 88px; background: var(--black); }
.block.tint { background: #141416; }
.block h2.poster { font-size: clamp(46px, 5.4vw, 76px); line-height: .9; max-width: 900px; }
.block p:not(.kicker) { margin: 18px 0 0; font: 500 17px/1.6 'Inter', sans-serif; color: rgba(255,255,255,.72); max-width: 720px; }
.block p strong { color: #fff; font-weight: 700; }
.block ul { margin: 22px 0 0; padding-left: 20px; max-width: 720px; font: 500 16px/1.6 'Inter', sans-serif; color: rgba(255,255,255,.72); }
.block li + li { margin-top: 8px; }
.block li strong { color: #fff; }

.table-wrap { margin-top: 30px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; min-width: 620px; border-collapse: collapse; font: 500 15px/1.5 'Inter', sans-serif; }
th { text-align: left; font: 800 15px/1 'BC', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--red);
  padding: 0 16px 12px 0; border-bottom: 1.5px solid rgba(255,255,255,.14); }
td { padding: 14px 16px 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.78); vertical-align: top; }
td:first-child { color: #fff; font-weight: 700; white-space: nowrap; }
td .plus { color: #fff; font-weight: 700; }
.block p.units { margin-top: 12px; font-size: 14px; color: #8E8E93; }

.lines { display: grid; gap: 12px; margin-top: 26px; max-width: 720px; }
.line { background: var(--card); border-radius: 16px; padding: 15px 18px; font: 600 15px/1.45 'Inter', sans-serif; color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.07); border-left: 4px solid var(--red); }
.line small { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; color: #8E8E93; }

.block p.more { margin-top: 30px; font-size: 15px; }
.more a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.cta .poster { font-size: clamp(60px, 7.6vw, 110px); }

.footer { padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.1); font: 600 13px/1.5 'Inter', sans-serif; color: #8E8E93; }
.footer .row { display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; }
.footer nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer nav a { color: #B4B4BA; text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }
.footer .credit { margin: 14px 0 0; font-weight: 500; }

@media (max-width: 1000px) {
  .hero > .wrap:not(.nav) { grid-template-columns: minmax(0, 1fr); gap: 50px; padding-top: 16px; padding-bottom: 72px; }
  .hero h1.poster { font-size: clamp(56px, 15vw, 110px); }
  .block { padding-top: 64px; padding-bottom: 64px; }
  .block h2.poster { font-size: clamp(40px, 10.5vw, 76px); }
}

/* On a phone each table row becomes a small card, every cell under its column's
   name, so no column hides off the side. */
@media (max-width: 640px) {
  .table-wrap { overflow-x: visible; }
  table { min-width: 0; }
  table:not(.keep) thead { display: none; }
  table:not(.keep), table:not(.keep) tbody, table:not(.keep) tr, table:not(.keep) td { display: block; width: 100%; }
  table:not(.keep) tr { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  table:not(.keep) td { border: 0; padding: 2px 0 0; }
  table:not(.keep) td:first-child { font-size: 17px; white-space: normal; }
  table.keep { font-size: 14px; }
  table.keep th, table.keep td { padding-right: 10px; }
  table:not(.keep) td[data-label]::before { content: attr(data-label); display: block; margin-top: 10px; font: 800 13px/1 'BC', sans-serif;
    letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
}

/* The calculator links under the footer's main row. */
.footer .row.calcs { margin-top: 10px; justify-content: flex-end; }
