/* Front Page: a broadsheet where this birthday is the only story. Column rules, newsprint, no rounded corners. */
:root { --te-radius: 0; }
.te-site {
  --rule: color-mix(in srgb, var(--te-ink) 78%, transparent);
  --hair: color-mix(in srgb, var(--te-ink) 32%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Chrome */
.te-nav-wrap { position: relative; padding: 0; }
.te-nav { max-width: 76rem; border-radius: 0; background: var(--te-menu-bg, transparent); border-bottom: 1px solid var(--hair); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.te-nav-sheet { background: var(--te-bg); border-radius: 0 !important; }
.te-nav-brand { font-style: italic; font-weight: 700 !important; }
.te-nav-link { border-radius: 0; opacity: 1; font-size: 1rem; }
.te-nav-link.is-active { background: none; font-weight: 700; box-shadow: inset 0 -2px 0 var(--te-accent); }
.te-btn, .te-btn-outline { border-radius: 0; box-shadow: none; font-family: var(--te-heading); font-weight: 700; font-size: 1.0625rem; }
.te-btn { background: var(--te-primary); color: var(--te-on-primary); }
.te-btn-sm { font-size: .9375rem; }
.te-btn-accent { background: var(--te-accent); color: var(--te-on-accent); box-shadow: none; }
.te-btn-soft { background: transparent; color: var(--te-ink); box-shadow: inset 0 0 0 1px var(--rule); }
.te-btn-light { background: #fff; color: #14141c; box-shadow: none; }
.te-btn.te-btn-outline { background: transparent; color: var(--te-primary-text); border: 1px solid var(--rule); }
.te-btn:hover { transform: none; opacity: .86; }
.te-chip { border-radius: 0; background: none; padding: 0; color: var(--te-accent-text); font-style: italic; font-weight: 600; font-size: .9375rem; }
.te-field, .te-choice { border-radius: 0; }
.te-field { background: transparent; border: 1px solid var(--rule); }

/* Hero */
.fp-hero { max-width: 76rem; margin-inline: auto; padding: 1.25rem 1rem 2rem; }
.fp-masthead { font-weight: 800; font-size: calc(var(--fit, 1) * clamp(1.75rem, 8.5vw, 4.25rem)); line-height: 1.05; text-align: center; overflow-wrap: break-word; padding-bottom: .625rem; }
.fp-dateline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .125rem 1.5rem; padding: .4375rem 0; border-top: 3px double var(--rule); border-bottom: 3px double var(--rule); font-size: .9375rem; font-style: italic; }
.fp-kicker { margin-top: 1.25rem; font-style: italic; font-weight: 600; font-size: 1.125rem; color: var(--te-accent-text); }
h1.fp-head { margin-top: .5rem; font-weight: 900; font-size: calc(var(--fit, 1) * clamp(3.25rem, 18vw, 13rem)); line-height: .92; letter-spacing: -.025em; overflow-wrap: break-word; }
.fp-body { display: grid; gap: 1.5rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.fp-photo > * { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 16%; filter: grayscale(1) contrast(1.08); mix-blend-mode: multiply; }
.fp-cap { margin-top: .5rem; padding-bottom: .625rem; border-bottom: 1px solid var(--hair); font-style: italic; font-size: 1.0625rem; line-height: 1.4; }
.fp-side { display: grid; gap: 1rem; align-content: start; justify-items: stretch; }
.fp-block { padding-bottom: 1rem; border-bottom: 1px solid var(--hair); font-size: 1rem; line-height: 1.45; }
.fp-big { font-family: var(--te-heading); font-weight: 700; font-size: 1.75rem; line-height: 1.12; margin-bottom: .25rem; }
@media (min-width: 900px) {
  .fp-body { grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 0; }
  .fp-lead { padding-right: 1.75rem; }
  .fp-side { padding-left: 1.75rem; border-left: 1px solid var(--rule); }
}
.te-count { justify-content: flex-start; gap: 0; }
.te-count-cell { background: none !important; box-shadow: none !important; border-radius: 0; padding: 0 .25rem; max-width: none; }
.te-count-cell + .te-count-cell { border-left: 1px solid var(--hair); }
.te-count-num { font-weight: 800; font-size: 2rem; color: var(--te-ink); }
.te-count-label { font-style: italic; font-size: .8125rem; color: var(--te-ink); margin-top: .125rem; }

/* Everything below continues the paper */
.te-tile, .te-card { background: none; border: 0; border-radius: 0; box-shadow: none; }
a.te-card:hover, a.te-tile:hover { transform: none; box-shadow: none; opacity: .8; }
.te-icon-tile { display: none; }
.te-primary { color: var(--te-ink); }
.te-eyebrow { font-style: italic; font-size: .9375rem; margin-top: 0 !important; color: var(--te-muted); }
.te-section-head { max-width: 72rem; text-align: left; margin-bottom: 1rem; border-top: 4px double var(--rule); padding-top: .5rem; }
.te-h-section, .te-h-page { font-weight: 800; font-style: italic; font-size: clamp(2.25rem, 9vw, 4.25rem); line-height: 1; letter-spacing: -.015em; }
.te-h-card { font-weight: 700; font-size: 1.3125rem; }
.te-section { padding-block: 2.5rem; }
.te-explore a.te-card > svg, .te-facts-grid a > span > svg, .te-story a svg { display: none; }
.te-accent { color: var(--te-accent-text); }

/* Facts: three ruled columns */
.te-facts-grid { max-width: 72rem !important; gap: 0 !important; grid-template-columns: 1fr !important; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.te-facts-grid > * { padding: 1rem 0 !important; grid-column: auto !important; }
.te-facts-grid > * + * { border-top: 1px solid var(--hair); }
@media (min-width: 1024px) { .te-facts-grid { grid-template-columns: repeat(3, 1fr) !important; } .te-facts-grid > * { padding: 1rem 1.5rem !important; } .te-facts-grid > :first-child { padding-left: 0 !important; } .te-facts-grid > * + * { border-top: 0; border-left: 1px solid var(--rule); } }

/* Explore: an "inside" index strip */
.te-explore > div { max-width: 72rem !important; }
.te-explore .grid { gap: 0 !important; grid-template-columns: 1fr !important; border-bottom: 1px solid var(--rule); }
.te-explore a.te-card { padding: .75rem 0 !important; border-top: 1px solid var(--hair); }
@media (min-width: 900px) { .te-explore .grid { grid-template-columns: repeat(4, 1fr) !important; } .te-explore a.te-card { padding: .75rem 1.25rem !important; border-top: 0; align-items: flex-start; } .te-explore a.te-card + a.te-card { border-left: 1px solid var(--hair); } .te-explore a.te-card:first-child { padding-left: 0 !important; } }

/* Story: an article with a drop cap */
.te-story > .te-card { max-width: 72rem !important; padding: 0 !important; border-top: 4px double var(--rule); padding-top: .75rem !important; }
.te-story .te-chip { font-size: 1.125rem; }
.te-prose p:first-of-type::first-letter { float: left; font-family: var(--te-heading); font-weight: 900; font-size: 4.25em; line-height: .78; padding: .08em .08em 0 0; color: var(--te-ink); }
@media (min-width: 760px) { .te-prose:not(.line-clamp-6) { columns: 2; column-gap: 2.5rem; column-rule: 1px solid var(--hair); } }
@media (min-width: 1100px) { .te-story .te-prose:not(.line-clamp-6) { columns: 3; } }

/* Programme: the order of the day, set in columns */
.te-schedule > div { max-width: 72rem !important; }
.te-timeline { padding: 0 !important; columns: 1; }
.te-timeline li { grid-template-columns: 1fr !important; padding: .875rem 0 !important; border-bottom: 1px solid var(--hair); break-inside: avoid; }
.te-timeline li > div:first-child { display: none; }
.te-timeline .te-chip { display: block; margin-bottom: .125rem !important; font-size: 1rem; }
.te-timeline .te-h-card { font-size: 1.375rem; line-height: 1.2; }
@media (min-width: 760px) { .te-timeline { columns: 2; column-gap: 2.5rem; column-rule: 1px solid var(--rule); } }
@media (min-width: 1100px) { .te-timeline { columns: 3; } }

/* Details: classifieds */
#details .grid:has(> article) { max-width: 72rem !important; gap: .625rem !important; }
#details article { border: 1px solid var(--rule); padding: .875rem 1rem !important; text-align: center; }
#details article .te-h-card { margin-top: 0 !important; padding-bottom: .25rem; border-bottom: 1px solid var(--hair); font-size: 1.125rem; font-style: italic; }
#details article p { font-size: 1rem !important; }
#venue .te-card { max-width: 72rem !important; padding: 0 !important; }

.te-page-head { margin: 0 auto; max-width: 76rem; border-radius: 0; background: none; text-align: left; border-bottom: 3px double var(--rule); padding: 2rem 1rem 1rem; }

/* Gallery: a picture spread, lead image larger */
.te-gallery-grid { max-width: 72rem !important; gap: .5rem !important; }
.te-gallery-item { border-radius: 0 !important; }
.te-gallery-item img { filter: grayscale(1) contrast(1.08); mix-blend-mode: multiply; object-position: 50% 18%; }
.te-gallery-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.te-closing-panel { max-width: 72rem !important; background: none; border: 1px solid var(--rule); outline: 1px solid var(--rule); outline-offset: 3px; }
