/* Buttons, after uk-button: Poppins 500, 2px tracking, capitalised, 12px radius */
.button { display: inline-block; padding: 0 50px; font-family: var(--font-display); font-weight: 500; font-size: 18px; line-height: 38px; letter-spacing: 2px; text-transform: capitalize; text-align: center; color: #fff; background: var(--color-red); border: 1px solid transparent; border-radius: var(--radius-button); transition: background-color .1s ease-in-out, color .1s ease-in-out; }
.button:hover { background: #c4322c; color: #fff; text-decoration: none; }
.button--large { font-size: 20px; line-height: 60px; padding: 0 60px; }
.button--light { background: #fff; color: var(--color-dark); }
.button--light:hover { background: #fff; color: var(--color-red); }

/* Text styles */
.kicker { font-family: var(--font-body); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--color-red); margin-bottom: 10px; }
.kicker--light { color: #fff; }
.lead { font-family: var(--font-accent); font-size: 20px; line-height: 1.5; color: var(--color-red); }
.divider { padding-bottom: 15px; border-bottom: 1px solid var(--color-rule); margin-bottom: 40px; }
.quote { font-style: italic; }
.rule-title { display: flex; align-items: center; gap: 30px; text-align: center; font-size: clamp(24px, 1vw + 18px, 28px); max-width: 900px; margin: 0 auto 50px; }
.rule-title::before, .rule-title::after { content: ""; flex: 1; height: 1px; background: var(--color-rule); }
.rule-title--short { max-width: 420px; display: block; padding-bottom: 15px; border-bottom: 1px solid var(--color-rule); }
.rule-title--short::before, .rule-title--short::after { display: none; }

/* Hero, after the full-height cover slideshow */
.hero { position: relative; isolation: isolate; min-height: 620px; display: flex; align-items: flex-end; overflow: hidden; background: #222; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .45); }
@media (min-width: 960px) { .hero { min-height: 948px; } }
.hero__body { width: 100%; padding-top: 180px; padding-bottom: var(--section-large); }
.hero__title { max-width: 805px; margin: 0 0 20px; padding-bottom: 10px; font-size: var(--hero-title); line-height: 1.25; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hero__lead { font-family: var(--font-display); font-size: clamp(18px, 1.2vw + 12px, 28px); color: #fff; margin-bottom: 30px; }

/* About */
.band--pattern { background: linear-gradient(rgba(255, 255, 255, .93), rgba(255, 255, 255, .93)), #fff url(/img/partnerns.webp) center / cover no-repeat; }
.person { display: flex; align-items: center; gap: 30px; margin-top: 30px; }
.person img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; }
.person h3 { margin: 0 0 4px; font-size: 20px; }

/* GBC Hub strip and slider */
.hub-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 60px; }
.hub-head .lead { margin-bottom: 20px; }
.hub-text { max-width: 600px; font-size: 20px; }
.band--hub-strip { padding-bottom: var(--section-large); }
.hub-slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 120px) / 4.2); gap: 40px; margin: 0; padding: 0 0 0 83px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hub-slider::-webkit-scrollbar { display: none; }
.hub-slider > li { scroll-snap-align: start; }
.hub-card { position: relative; display: block; aspect-ratio: 330 / 410; border-radius: var(--radius); overflow: hidden; background: #6b6b6b; color: #fff; }
.hub-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hub-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .65)); }
.hub-card__body { position: absolute; z-index: 1; inset: auto 0 0; padding: 30px; }
.hub-card__title { display: block; font-family: var(--font-display); font-size: 20px; line-height: 1.5; }
.hub-card__more { display: block; margin-top: 10px; font-size: 13px; }
.hub-card:hover { text-decoration: none; }
@media (max-width: 959px) { .hub-slider { grid-auto-columns: 70%; padding-left: var(--gutter); } }

/* Services, after uk-card-default with a red border */
.services { display: grid; gap: 20px; align-items: center; }
@media (min-width: 960px) { .services { grid-template-columns: 387px 1fr 387px; gap: 20px; } }
.services__col { display: grid; gap: 20px; }
.services__img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); }
.card { padding: 40px; background: #fff; color: #000; border: 1px solid var(--color-red); border-radius: var(--radius); }
.card h3 { font-size: 20px; letter-spacing: 2px; margin-bottom: 20px; }
.lines { list-style: none; padding: 0; }

/* Who we help, red band with accordion */
.band--red { background: linear-gradient(rgba(224, 70, 63, .96), rgba(224, 70, 63, .96)), var(--color-red-band) url(/img/building.webp) center / cover no-repeat; color: #fff; }
.band--red h3 { color: #fff; }
.help-head { display: grid; gap: 30px; align-items: end; margin-bottom: 60px; }
@media (min-width: 960px) { .help-head { grid-template-columns: 1fr 1fr; } }
.help-head hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .6); width: 100%; margin: 0 0 12px; }
.statement { font-family: var(--font-display); font-size: clamp(20px, 1vw + 14px, 24px); line-height: 1.4; max-width: 600px; }
.accordion details { border-top: 1px solid rgba(255, 255, 255, .3); padding: 20px 0; }
.accordion details:last-child { border-bottom: 1px solid rgba(255, 255, 255, .3); }
.accordion summary { display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: pointer; font-family: var(--font-display); font-size: clamp(18px, .8vw + 14px, 25px); color: #fff; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 22px; line-height: 1; color: rgba(255, 255, 255, .8); }
.accordion details[open] summary::after { content: "−"; }
.accordion__body { display: grid; gap: 40px; align-items: center; padding-top: 30px; font-size: 14px; }
.accordion__body img { width: 100%; border-radius: var(--radius); }
.accordion__body ul { margin-bottom: 20px; }
@media (min-width: 960px) { .accordion__body { grid-template-columns: 1fr 1fr; } }

/* How we help, image tiles */
.how-head { display: grid; gap: 30px; align-items: end; padding-bottom: 30px; margin-bottom: 40px; border-bottom: 1px solid var(--color-rule); }
@media (min-width: 960px) { .how-head { grid-template-columns: 704fr 456fr; } }
.how-head .lead { margin-bottom: 10px; }
.how-head h2 { font-size: clamp(22px, .8vw + 18px, 28px); margin: 0; }
.tiles { display: grid; gap: 40px; }
@media (min-width: 960px) { .tiles { grid-template-columns: 376fr 248fr 376fr; } .tiles .tile:nth-child(1) { grid-column: 1 / 3; } .tiles .tile:nth-child(4) { grid-column: 2 / 4; } }
.tile { position: relative; isolation: isolate; min-height: 380px; display: flex; align-items: flex-end; border-radius: var(--radius); overflow: hidden; color: rgba(255, 255, 255, .85); font-size: 14px; }
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .6)); }
.tile > div { padding: 40px; }
.tile h3 { color: #fff; }

/* Team */
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 80px; margin-top: 40px; }
.team figure { margin: 0; width: 280px; }
.team img { width: 100%; aspect-ratio: 319 / 400; object-fit: cover; border-radius: 50%; }
.team h3 { margin: 20px 0 10px; }
.team .lead { font-size: 16px; }

/* Call to action */
.band--cta { padding-bottom: var(--section-large); }
.cta { padding: 80px 30px; border-radius: var(--radius); background: #f2615a url(/img/c2c.webp) center / cover no-repeat; color: #fff; text-align: center; }
.cta h2 { max-width: 460px; margin: 0 auto 30px; font-size: clamp(28px, 1.6vw + 18px, 42px); line-height: 1.2; color: #fff; }
.cta p { max-width: 480px; margin-inline: auto; font-size: 14px; }

/* Blog */
.band--hub { padding-block: 160px 70px; }
.hub-intro { max-width: 640px; }
.hub-intro h1 { color: #fff; margin-bottom: 30px; }
.post-grid { display: grid; gap: 60px 40px; margin: 0; padding: 0; list-style: none; align-items: start; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card img { width: 100%; border-radius: var(--radius); margin-bottom: 20px; }
.post-card h2 { font-size: 18px; line-height: 1.5; margin-bottom: 15px; }
.post-card h2 a { color: var(--color-heading); }
.post-card p { font-size: 14px; color: #555; margin-bottom: 15px; }
.read-more { font-family: var(--font-display); font-size: 13px; color: var(--color-heading); }
.pagination { display: flex; justify-content: center; gap: 30px; margin-top: 60px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }

/* Post */
.band--post { padding-top: 20px; }
.post-hero { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); margin-bottom: 40px; }
.post-title { font-size: clamp(22px, 1vw + 16px, 26px); max-width: 1200px; margin-bottom: 15px; }
.post-date { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--color-meta); margin-bottom: 40px; }
.prose { font-size: 16px; line-height: 1.7; }
.prose h2 { font-size: clamp(24px, 1vw + 18px, 32px); margin-top: 40px; }
.prose h3 { font-size: 22px; margin-top: 30px; }
.prose img, .prose figure img { border-radius: var(--radius); margin-block: 20px; }
.prose figure { margin: 0; }
.prose blockquote { margin: 30px 0; padding-left: 20px; border-left: 3px solid var(--color-red); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin-block: 20px; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--color-rule); padding: 10px; text-align: left; }
.prose a { text-decoration: underline; }

/* Footer social, after uk-icon-button */
.social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 500px; color: rgba(255, 255, 255, .7); }
.social a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
