/*
Theme Name: GB Racing
Description: Portada editorial de García Brothers Racing. Tema hijo de Twenty Twenty-Five.
Author: García Brothers Racing
Version: 1.2.0
Template: twentytwentyfive
Text Domain: gb-racing
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
@font-face {
  font-family:Aveny;
  src:url('assets/fonts/aveny.woff2') format('woff2');
  font-display:swap;
  font-weight:400
}
:root {
  --gbr-red:#d20a2b;
  --gbr-ink:#17191a;
  --gbr-paper:#f5f3ed;
  --gbr-line:#d8d6d0;
  --gbr-muted:#656662;
  --gbr-gutter:clamp(22px,5vw,88px)
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:32px
}
body {
  margin:0;
  background:var(--gbr-paper);
  color:var(--gbr-ink);
  font-family:Arial,Helvetica,sans-serif;
  font-size:16px;
  line-height:1.65
}
* {
  box-sizing:border-box
}
a {
  color:inherit;
  text-underline-offset:5px
}
a:focus-visible,button:focus-visible {
  outline:3px solid #e6b529;
  outline-offset:6px
}
img {
  max-width:100%;
  height:auto
}
figure,p,h1,h2,h3,h4 {
  margin:0
}
h1,h2,h3 {
  font-family:Aveny,'Arial Narrow',sans-serif;
  font-weight:400;
  line-height:.98;
  letter-spacing:-.025em
}
p {
  max-width:65ch
}
.wp-site-blocks {
  padding:0!important
}
.wp-site-blocks>* {
  margin-block-start:0!important
}
.gbr-shell {
  max-width:1800px;
  margin:auto
}
.gbr-shell :where(.wp-block-group,.wp-block-columns,.wp-block-cover,.wp-block-image,.wp-block-buttons) {
  margin-block-start:0
}
.gbr-shell :where(p,h1,h2,h3,figure) {
  margin-block-start:0
}
.gbr-shell .wp-block-group {
  max-width:none
}
.gbr-shell .wp-block-image img {
  display:block;
  width:100%;
  object-fit:cover
}
.gbr-shell .wp-block-buttons {
  display:flex;
  gap:24px;
  align-items:center;
  flex-wrap:wrap
}
.gbr-shell .wp-block-button__link {
  display:inline-block;
  border-radius:0;
  background:var(--gbr-red);
  color:#fff;
  padding:14px 22px;
  font-size:12px;
  font-weight:700;
  line-height:1.5;
  text-decoration:none;
  letter-spacing:.09em;
  text-transform:uppercase
}
.gbr-shell .wp-block-button__link:hover {
  background:#a90925
}
.gbr-shell .is-style-outline .wp-block-button__link {
  color:inherit;
  background:transparent;
  border:1px solid currentColor
}
.gbr-shell .is-style-outline .wp-block-button__link:hover {
  background:#ffffff15
}
.gbr-header {
  background:#151718;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:22px var(--gbr-gutter);
  border-bottom:1px solid #ffffff24
}
.gbr-logo {
  width:208px;
  flex:none
}
.gbr-logo img {
  height:auto;
  object-fit:contain!important
}
.gbr-nav {
  display:flex;
  gap:clamp(16px,2.2vw,35px);
  align-items:center;
  flex-wrap:wrap
}
.gbr-nav p {
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-weight:700
}
.gbr-nav a {
  text-decoration:none
}
.gbr-nav a:hover {
  text-decoration:underline
}
.gbr-nav p:last-child {
  border-bottom:2px solid var(--gbr-red);
  padding-bottom:3px
}
.gbr-hero {
  min-height:700px;
  height:calc(100svh - 110px);
  max-height:1040px;
  position:relative;
  overflow:hidden;
  background:#292c2c;
  color:white;
  display:flex;
  align-items:flex-end
}
.gbr-hero>.gbr-hero-image {
  position:absolute;
  inset:0;
  margin:0;
  z-index:0
}
.gbr-hero>.gbr-hero-image img {
  height:100%;
  object-position:center 55%
}
.gbr-hero:after {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#0009 0%,#0002 65%),linear-gradient(0deg,#000b,transparent 80%);
  pointer-events:none
}
.gbr-hero-content {
  position:relative;
  z-index:1;
  width:100%;
  padding:64px var(--gbr-gutter) 54px
}
.gbr-eyebrow {
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:700;
  line-height:1.5
}
.gbr-hero .gbr-eyebrow:before {
  content:'';
  display:inline-block;
  width:27px;
  height:3px;
  background:var(--gbr-red);
  margin-right:12px;
  vertical-align:middle
}
.gbr-hero h1 {
  font-size:clamp(76px,10vw,166px);
  margin:25px 0 22px;
  max-width:900px;
  text-transform:uppercase;
  line-height:.85;
  letter-spacing:-.015em
}
.gbr-hero-copy {
  font-size:15px;
  line-height:1.75;
  max-width:430px;
  margin-bottom:30px
}
.gbr-hero-meta {
  position:absolute;
  bottom:54px;
  right:var(--gbr-gutter);
  text-align:right;
  font-size:10px;
  letter-spacing:.13em;
  text-transform:uppercase;
  line-height:1.9;
  border-right:2px solid var(--gbr-red);
  padding-right:14px
}
.gbr-index {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-bottom:1px solid var(--gbr-line)
}
.gbr-index>p {
  padding:19px 24px;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  text-align:center;
  max-width:none;
  border-right:1px solid var(--gbr-line)
}
.gbr-index>p:last-child {
  border:0
}
.gbr-index a {
  text-decoration:none
}
.gbr-index a:hover {
  color:var(--gbr-red)
}
.gbr-intro {
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:60px;
  padding:110px var(--gbr-gutter) 100px
}
.gbr-intro h2 {
  font-size:clamp(48px,5.8vw,86px);
  max-width:860px;
  margin-bottom:28px
}
.gbr-intro-copy>p {
  font-size:17px;
  color:#52534f;
  max-width:590px
}
.gbr-section-head {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:30px;
  margin-bottom:36px
}
.gbr-section-head h2 {
  font-size:clamp(55px,6vw,88px)
}
.gbr-programs {
  padding:0 var(--gbr-gutter) 110px
}
.gbr-program-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px
}
.gbr-program-image {
  aspect-ratio:4/5;
  overflow:hidden;
  background:#ddd
}
.gbr-program-image img {
  height:100%;
  transition:transform .5s
}
.gbr-program:hover .gbr-program-image img {
  transform:scale(1.025)
}
.gbr-program-meta {
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin:22px 0 14px!important;
  font-size:10px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gbr-muted)
}
.gbr-program h3 {
  font-size:clamp(42px,4vw,64px);
  margin:0 0 16px
}
.gbr-program>p {
  font-size:14px;
  line-height:1.8;
  color:#52534f
}
.gbr-program .gbr-program-link {
  margin-top:22px;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--gbr-ink)
}
.gbr-program-link a {
  text-decoration:none;
  border-bottom:1px solid var(--gbr-ink);
  padding-bottom:5px
}
.gbr-history {
  background:var(--gbr-ink);
  color:var(--gbr-paper);
  padding:90px var(--gbr-gutter) 100px
}
.gbr-history-top {
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:60px;
  margin-bottom:75px
}
.gbr-history h2 {
  font-size:clamp(56px,6vw,90px);
  margin:0 0 25px
}
.gbr-history-copy>p {
  color:#c0c1bb;
  max-width:590px;
  font-size:15px
}
.gbr-timeline {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
  border-top:0
}
.gbr-milestone {
  padding-top:30px;
  position:relative;
  border-top:1px solid #ffffff30
}
.gbr-milestone:before {
  content:'';
  position:absolute;
  top:-4px;
  width:7px;
  height:7px;
  background:var(--gbr-red)
}
.gbr-year {
  font-family:Aveny,sans-serif;
  font-size:58px;
  line-height:1;
  margin-bottom:22px
}
.gbr-milestone h3 {
  font-family:Arial,sans-serif;
  font-size:14px;
  font-weight:700;
  line-height:1.5;
  letter-spacing:0;
  margin-bottom:12px
}
.gbr-milestone>p:last-child {
  font-size:13px;
  line-height:1.8;
  color:#a9aaa5
}
.gbr-journal {
  padding:110px var(--gbr-gutter);
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:clamp(35px,6vw,100px);
  align-items:center
}
.gbr-journal-image {
  aspect-ratio:1.15;
  overflow:hidden
}
.gbr-journal-image img {
  height:100%
}
.gbr-journal h2 {
  font-size:clamp(56px,6vw,88px);
  margin:25px 0
}
.gbr-journal-copy>p:not(.gbr-eyebrow) {
  color:#52534f;
  font-size:15px;
  margin-bottom:28px
}
.gbr-contact {
  background:var(--gbr-red);
  color:white;
  padding:75px var(--gbr-gutter);
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:45px;
  align-items:center
}
.gbr-contact h2 {
  font-size:clamp(56px,7vw,100px);
  margin-top:22px
}
.gbr-contact-copy>p {
  font-size:15px;
  margin-bottom:26px;
  max-width:400px
}
.gbr-contact .wp-block-button__link {
  background:#fff;
  color:var(--gbr-red)
}
.gbr-footer {
  background:#111314;
  color:#d5d5cf;
  padding:50px var(--gbr-gutter) 25px
}
.gbr-footer-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:40px;
  margin-bottom:45px
}
.gbr-footer .gbr-nav {
  gap:25px
}
.gbr-footer .gbr-nav p:last-child {
  border:0;
  padding:0
}
.gbr-colophon {
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid #ffffff25;
  padding-top:22px
}
.gbr-colophon p {
  font-size:10px;
  color:#999b96;
  letter-spacing:.07em
}
.gbr-skip {
  position:absolute;
  left:20px;
  top:-100px;
  z-index:100;
  background:#fff;
  color:#111;
  padding:12px 20px
}
.gbr-skip:focus {
  top:10px
}
.gbr-hero-image img {
  animation:gbr-enter 1.2s ease-out both
}
@keyframes gbr-enter {
  from {
    transform:scale(1.035)
  }
  to {
    transform:scale(1)
  }
}
@media(min-width:1800px) {
  body {
    background:#deddd7
  }
}
@media(max-width:1000px) {
  .gbr-hero-meta {
    display:none
  }
  .gbr-header {
    gap:20px
  }
  .gbr-logo {
    width:170px
  }
  .gbr-nav {
    gap:16px
  }
  .gbr-intro,.gbr-history-top {
    grid-template-columns:1fr;
    gap:24px
  }
  .gbr-program-grid {
    gap:18px
  }
  .gbr-program-meta {
    min-height:30px
  }
  .gbr-timeline {
    grid-template-columns:repeat(2,1fr);
    row-gap:40px
  }
  .gbr-milestone:nth-child(n+3) {
    border-top:1px solid #ffffff30
  }
  .gbr-journal {
    gap:36px
  }
  .gbr-hero {
    min-height:650px
  }
  .gbr-contact {
    grid-template-columns:1.2fr 1fr
  }
}
@media(max-width:680px) {
  .gbr-header {
    padding:20px 22px;
    display:block
  }
  .gbr-logo {
    width:172px;
    margin-bottom:20px!important
  }
  .gbr-header .gbr-nav {
    justify-content:space-between;
    gap:12px
  }
  .gbr-nav p {
    font-size:10px;
    letter-spacing:.06em
  }
  .gbr-hero {
    height:76svh;
    min-height:570px;
    max-height:800px
  }
  .gbr-hero-image img {
    object-position:60% center!important
  }
  .gbr-hero-content {
    padding:38px 22px
  }
  .gbr-hero h1 {
    font-size:clamp(76px,17vw,112px);
    margin:22px 0
  }
  .gbr-hero-copy {
    font-size:14px;
    max-width:330px
  }
  .gbr-index>p {
    font-size:9px;
    padding:17px 8px;
    letter-spacing:.04em
  }
  .gbr-intro {
    padding:65px 22px;
    gap:24px
  }
  .gbr-intro h2 {
    font-size:55px
  }
  .gbr-intro-copy>p {
    font-size:15px
  }
  .gbr-programs {
    padding:0 22px 70px
  }
  .gbr-section-head {
    align-items:start
  }
  .gbr-section-head>.gbr-eyebrow {
    max-width:80px;
    text-align:right
  }
  .gbr-section-head h2 {
    font-size:55px
  }
  .gbr-program-grid {
    grid-template-columns:1fr;
    gap:50px
  }
  .gbr-program-image {
    aspect-ratio:1.1
  }
  .gbr-program-meta {
    min-height:0;
    margin-top:18px!important
  }
  .gbr-program h3 {
    font-size:55px
  }
  .gbr-program>p {
    max-width:480px
  }
  .gbr-history {
    padding:65px 22px
  }
  .gbr-history-top {
    margin-bottom:40px
  }
  .gbr-history h2 {
    font-size:58px
  }
  .gbr-timeline {
    gap:35px 24px
  }
  .gbr-year {
    font-size:49px
  }
  .gbr-milestone h3 {
    font-size:13px
  }
  .gbr-milestone>p:last-child {
    font-size:12px
  }
  .gbr-journal {
    padding:65px 22px;
    grid-template-columns:1fr;
    gap:35px
  }
  .gbr-journal-image {
    aspect-ratio:1.2
  }
  .gbr-journal h2 {
    font-size:62px;
    margin:20px 0
  }
  .gbr-contact {
    padding:60px 22px;
    grid-template-columns:1fr;
    gap:30px
  }
  .gbr-contact h2 {
    font-size:72px
  }
  .gbr-footer {
    padding:40px 22px 25px
  }
  .gbr-footer-top {
    display:block;
    margin-bottom:35px
  }
  .gbr-footer-top .gbr-logo {
    margin-bottom:30px!important
  }
  .gbr-colophon {
    display:block
  }
  .gbr-colophon p+p {
    margin-top:10px
  }
  .gbr-shell .wp-block-button__link {
    padding:13px 18px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important
  }
}
.gbr-history-picture {
  aspect-ratio:4/3;
  overflow:hidden;
  margin-top:25px!important
}
.gbr-history-picture img {
  height:100%;
  object-position:center 30%
}
.gbr-history-copy {
  align-self:center
}
.gbr-logo {
  aspect-ratio:1773/511
}

/* Keep the new cornering photograph clear of the headline. */
@media(min-width:681px) {
  .gbr-hero h1 { font-size:clamp(76px,8vw,136px); }
  .gbr-hero>.gbr-hero-image img { object-position:left center; }
}
@media(max-width:680px) {
  .gbr-hero>.gbr-hero-image { height:300px; }
  .gbr-hero>.gbr-hero-image img { object-fit:cover; object-position:center!important; }
  .gbr-hero:after { background:linear-gradient(180deg,#17191a00 100px,#17191a70 210px,#17191a 300px); }
}

/* Photographic chapters: the 2024 season and the 2026 Ecuador race. */
.gbr-moments {
  padding:100px var(--gbr-gutter);
}
.gbr-moments-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.gbr-moment img {
  aspect-ratio:3/2;
  object-fit:cover;
}
.gbr-moment figcaption,
.gbr-endurance-detail figcaption {
  margin-top:14px;
  text-align:left;
  font-size:11px;
  line-height:1.65;
  color:var(--gbr-muted);
}
.gbr-endurance {
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:clamp(35px,6vw,100px);
  align-items:center;
  padding:0 var(--gbr-gutter) 100px;
  border-bottom:1px solid var(--gbr-line);
}
.gbr-endurance-image img {
  aspect-ratio:1.25;
  object-fit:cover;
}
.gbr-endurance-copy h2 {
  font-size:clamp(55px,6vw,88px);
  margin:24px 0;
}
.gbr-endurance-copy>p:not(.gbr-eyebrow) {
  font-size:15px;
  color:#52534f;
}
.gbr-endurance-detail {
  margin-top:28px!important;
  max-width:420px;
}
.gbr-endurance-detail img {
  aspect-ratio:2.4;
  object-fit:cover;
}
#overlanding .gbr-program-image img {
  object-position:66% center;
}
.gbr-journal-image img {
  object-position:65% center;
}
.gbr-history-picture img {
  object-position:center;
}
@media(max-width:1000px) {
  .gbr-moments-grid { gap:18px; }
  .gbr-endurance { gap:36px; }
}
@media(max-width:680px) {
  .gbr-moments { padding:65px 22px; }
  .gbr-moments-grid { grid-template-columns:1fr; gap:30px; }
  .gbr-moments .gbr-section-head { display:block; }
  .gbr-moments .gbr-eyebrow { max-width:none; text-align:left; margin-top:20px; }
  .gbr-endurance { grid-template-columns:1fr; gap:30px; padding:0 22px 65px; }
  .gbr-endurance-image img { aspect-ratio:1.5; }
  .gbr-endurance-copy h2 { font-size:62px; }
  .gbr-endurance-detail { max-width:none; }
}
