/* =========================================================
   10) BREWERY PAGE
   ========================================================= */


/* ---------------------------------------------------------
   GENERAL
   --------------------------------------------------------- */

.gbi-brewery .gbi-style-v6__main{
  max-width:1050px;
}

.gbi-brewery-section{
  min-width:0;
}

.gbi-brewery-section-intro{
  max-width:52rem;
  margin:-0.5rem 0 1.25rem;
  font-size:0.95rem;
  line-height:1.6;
  color:#4b5563;
}


/* ---------------------------------------------------------
   COMPETITION RECORD
   --------------------------------------------------------- */

.gbi-brewery-stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}

.gbi-brewery-stat{
  padding:1.25rem 1.4rem;
  border:1px solid #dbe3ee;
  border-radius:10px;
  background:#fff;
}

.gbi-brewery-stat__value{
  display:block;
  margin-bottom:0.25rem;
  font-size:1.65rem;
  line-height:1.2;
  font-weight:700;
  color:#0f2d57;
}

.gbi-brewery-stat__label{
  display:block;
  font-size:0.9rem;
  line-height:1.4;
  color:#4b5563;
}

.gbi-brewery-stat__detail{
  display:block;
  margin-top:.45rem;
  font-size:.88rem;
  line-height:1.4;
  color:#6b7280;
}


/* ---------------------------------------------------------
   COMPACT HIGHLIGHT
   --------------------------------------------------------- */

.gbi-brewery-highlight-line{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:.35rem .65rem;
  max-width:1050px;
  padding:.8rem 1rem;
  border-left:4px solid #2563eb;
  background:#f7f9fc;
}

.gbi-brewery-highlight-line__label{
  font-size:.78rem;
  line-height:1.3;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#4b5563;
}

.gbi-brewery-highlight-line__value{
  font-size:1rem;
  line-height:1.4;
  color:#111827;
}

.gbi-brewery-highlight-line__meta{
  font-size:.88rem;
  color:#6b7280;
}

/* ---------------------------------------------------------
   AWARD HISTORY — YEARS
   --------------------------------------------------------- */

.gbi-brewery-history{
  max-width:1050px;
}

.gbi-brewery-history__year{
  margin-top:2rem;
  padding-top:1.5rem;
  border-top:1px solid #dbe3ee;
}

.gbi-brewery-history__year:first-child{
  margin-top:0;
  padding-top:0;
  border-top:0;
}

.gbi-brewery-history__year-header{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:0.75rem;
}

.gbi-brewery-history__year-header h3{
  margin:0;
  font-size:1.45rem;
  line-height:1.25;
  font-weight:700;
  color:#0f2d57;
}

.gbi-brewery-history__year-header span{
  font-size:0.9rem;
  color:#6b7280;
}


/* ---------------------------------------------------------
   AWARD HISTORY — RESULTS
   --------------------------------------------------------- */

.gbi-brewery-history__results{
  border-top:1px solid #e5e7eb;
}

.gbi-brewery-result-card{
  display:grid;
  grid-template-columns:90px minmax(0,1fr);
  gap:1.25rem;
  padding:1rem 0;
  border-bottom:1px solid #e5e7eb;
}

.gbi-brewery-result-card__medal{
  padding-top:0.1rem;
}

.gbi-medal{
  display:inline-block;
  min-width:64px;
  padding:0.3rem 0.55rem;
  border-radius:999px;
  text-align:center;
  font-size:0.76rem;
  line-height:1.2;
  font-weight:700;
  border:1px solid #d1d5db;
  background:#f3f4f6;
  color:#374151;
}

/*
 * Deliberately subtle medal colours.
 * The text remains the primary indicator.
 */

.gbi-medal--gold{
  background:#fff8dc;
  border-color:#e5cf82;
  color:#735b00;
}

.gbi-medal--silver{
  background:#f4f5f7;
  border-color:#c5cbd3;
  color:#4b5563;
}

.gbi-medal--bronze{
  background:#f8eee7;
  border-color:#d7b69f;
  color:#7a4528;
}

.gbi-brewery-result-card__content{
  min-width:0;
}

.gbi-brewery-result-card__beer{
  margin:0 0 0.2rem;
  font-size:1.05rem;
  line-height:1.35;
  font-weight:700;
  color:#111827;
}

.gbi-brewery-result-card__competition{
  margin-bottom:0.35rem;
  font-size:0.9rem;
  color:#374151;
}

.gbi-brewery-result-card__category,
.gbi-brewery-result-card__style,
.gbi-brewery-result-card__represented{
  font-size:0.85rem;
  line-height:1.55;
  color:#4b5563;
}

.gbi-brewery-result-card__category,
.gbi-brewery-result-card__style{
  display:inline;
}

/* Separator only when a primary GBI style follows the category */
.gbi-brewery-result-card__category:has(+ .gbi-brewery-result-card__style)::after{
  content:" · ";
  margin:0 0.25rem;
  color:#9ca3af;
}

.gbi-brewery-result-card__represented{
  display:block;
  margin-top:0.1rem;
}

.gbi-brewery-result-card__label{
  font-weight:600;
  color:#6b7280;
}

.gbi-brewery-result-card__style a,
.gbi-brewery-result-card__represented a{
  color:#1d4ed8;
  font-weight:600;
  text-decoration:none;
}

.gbi-brewery-result-card__style a:hover,
.gbi-brewery-result-card__represented a:hover{
  text-decoration:underline;
}

.gbi-brewery-result-card__label{
  font-weight:600;
  color:#6b7280;
}

.gbi-brewery-result-card__style a{
  color:#1d4ed8;
  font-weight:600;
  text-decoration:none;
}

.gbi-brewery-result-card__style a:hover{
  text-decoration:underline;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width:900px){

  .gbi-brewery-stats{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

}


@media (max-width:640px){

  .gbi-brewery-stats{
    grid-template-columns:1fr 1fr;
    gap:0.75rem;
  }

  .gbi-brewery-stat{
    padding:1rem;
  }

  .gbi-brewery-stat__value{
    font-size:1.4rem;
  }

  .gbi-brewery-result-card{
    grid-template-columns:1fr;
    gap:0.5rem;
  }

  .gbi-brewery-history__year-header{
    align-items:flex-end;
  }

}


@media (max-width:420px){

  .gbi-brewery-stats{
    grid-template-columns:1fr;
  }

}
/* ---------------------------------------------------------
   AWARD HISTORY — INTERACTION
   --------------------------------------------------------- */

.gbi-brewery-history-tools{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  max-width:1050px;
  margin:0 0 1.25rem;
}

.gbi-brewery-history-filters{
  display:flex;
  flex:1 1 auto;
  gap:.65rem;
  align-items:center;
  min-width:0;
}

.gbi-brewery-history-filters select{
  flex:1 1 0;
  min-width:0;
  min-height:40px;
  padding:.55rem 2.2rem .55rem .75rem;
  border:1px solid #dbe3ee;
  border-radius:8px;
  background:#fff;
  color:#374151;
  font:inherit;
  font-size:.88rem;
}

.gbi-brewery-history-filters select.is-active{
  border-color:#2563eb;
  background-color:#f7faff;
  color:#0f2d57;
}

.gbi-brewery-filter-reset{
  flex:0 0 auto;
  min-height:40px;
  padding:.55rem .8rem;
  border:1px solid #dbe3ee;
  border-radius:8px;
  background:#fff;
  color:#1d4ed8;
  font:inherit;
  font-size:.88rem;
  font-weight:600;
  cursor:pointer;
}

.gbi-brewery-filter-reset:hover{
  background:#f7f9fc;
}

.gbi-brewery-filter-count{
  flex:0 0 auto;
  font-size:.88rem;
  color:#6b7280;
}

.gbi-brewery-history__year[hidden],
.gbi-brewery-result-card[hidden]{
  display:none!important;
}

.gbi-brewery-history__year-header{
  align-items:stretch;
}

/* Keep the whole year row clickable without making it look like a button. */
.gbi-brewery-history__year-toggle,
.gbi-brewery-history__year-toggle:hover,
.gbi-brewery-history__year-toggle:focus,
.gbi-brewery-history__year-toggle:active{
  display:grid;
  grid-template-columns:1fr auto auto;
  align-items:center;
  gap:.75rem;
  width:100%;
  padding:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:transparent;
  background-color:transparent;
  background-image:none;
  text-align:left;
  cursor:pointer;
  color:inherit;
  text-decoration:none;
}

.gbi-brewery-history__year-toggle:hover h3,
.gbi-brewery-history__year-toggle:focus h3,
.gbi-brewery-history__year-toggle:active h3{
  color:#0f2d57;
}

.gbi-brewery-history__year-toggle:focus-visible{
  outline:2px solid #93b4e8;
  outline-offset:4px;
}

.gbi-brewery-history__chevron{
  width:.55rem;
  height:.55rem;
  border-right:2px solid #64748b;
  border-bottom:2px solid #64748b;
  transform:rotate(45deg) translateY(-2px);
  transition:transform .15s ease,border-color .15s ease;
}

.gbi-brewery-history__year-toggle:hover .gbi-brewery-history__chevron{
  border-color:#0f2d57;
}

.gbi-brewery-history__year-toggle[aria-expanded="false"] .gbi-brewery-history__chevron{
  transform:rotate(-45deg);
}

@media(max-width:640px){
  .gbi-brewery-history-tools{
    align-items:stretch;
    flex-direction:column;
  }

  .gbi-brewery-history-filters{
    display:grid;
    grid-template-columns:1fr;
  }

  .gbi-brewery-history-filters select,
  .gbi-brewery-filter-reset{
    width:100%;
  }

  .gbi-brewery-filter-count{
    align-self:flex-end;
  }
}


/* ---------------------------------------------------------
   BREWERY INSIGHTS
   --------------------------------------------------------- */

.gbi-brewery-insights{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.25rem;
  max-width:1050px;
  margin-top:1rem;
}

.gbi-brewery-insight{
  min-width:0;
  padding:1.2rem 1.35rem;
  border:1px solid #dbe3ee;
  border-radius:10px;
  background:#fff;
}

.gbi-brewery-insight__title{
  margin:0 0 1rem;
  font-size:1rem;
  line-height:1.35;
  font-weight:700;
  color:#0f2d57;
}

.gbi-brewery-bars{
  display:grid;
  gap:.7rem;
}

.gbi-brewery-bar-row{
  display:grid;
  grid-template-columns:145px minmax(80px,1fr) 2rem;
  align-items:center;
  gap:.7rem;
}

.gbi-brewery-bar-row__label{
  min-width:0;
  font-size:.84rem;
  line-height:1.3;
  color:#374151;
}

.gbi-brewery-bar-row__track{
  height:.55rem;
  overflow:hidden;
  border-radius:999px;
  background:#eef2f7;
}

.gbi-brewery-bar-row__fill{
  display:block;
  height:100%;
  min-width:3px;
  border-radius:inherit;
  background:#2563eb;
}

.gbi-brewery-bar-row__value{
  text-align:right;
  font-size:.84rem;
  font-weight:700;
  color:#0f2d57;
}

.gbi-brewery-bar-row.is-maximum .gbi-brewery-bar-row__label,
.gbi-brewery-bar-row.is-maximum .gbi-brewery-bar-row__value{
  font-weight:700;
  color:#0f2d57;
}

@media(max-width:760px){
  .gbi-brewery-insights{
    grid-template-columns:1fr;
  }
}

@media(max-width:480px){
  .gbi-brewery-insight{
    padding:1rem;
  }

  .gbi-brewery-bar-row{
    grid-template-columns:110px minmax(60px,1fr) 1.6rem;
    gap:.5rem;
  }
}


/* ---------------------------------------------------------
   BREWERY PROFILE / PORTFOLIO
   --------------------------------------------------------- */

.gbi-brewery-website{
  color:inherit;
  text-decoration:underline;
  text-underline-offset:2px;
}

.gbi-brewery-about__text{
  max-width:52rem;
  color:#374151;
  line-height:1.7;
}

.gbi-brewery-about__text > :first-child{ margin-top:0; }
.gbi-brewery-about__text > :last-child{ margin-bottom:0; }

.gbi-brewery-section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:1rem;
  max-width:1050px;
}

.gbi-brewery-section-heading .gbi-section-title{
  margin-bottom:1rem;
}

.gbi-brewery-portfolio-count{
  flex:0 0 auto;
  margin-bottom:1.25rem;
  font-size:.88rem;
  color:#6b7280;
}

.gbi-brewery-portfolio-tools{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(220px,.8fr);
  gap:.65rem;
  max-width:1050px;
  margin:0 0 1rem;
}

.gbi-brewery-portfolio-tools input,
.gbi-brewery-portfolio-tools select{
  width:100%;
  min-height:42px;
  padding:.6rem .8rem;
  border:1px solid #dbe3ee;
  border-radius:8px;
  background:#fff;
  color:#374151;
  font:inherit;
  font-size:.9rem;
}

.gbi-brewery-portfolio-tools input:focus,
.gbi-brewery-portfolio-tools select:focus{
  outline:2px solid #93b4e8;
  outline-offset:1px;
  border-color:#2563eb;
}

.gbi-brewery-beer-list{
  max-width:1050px;
  border-top:1px solid #e5e7eb;
}

.gbi-brewery-beer-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:1rem;
  min-width:0;
  padding:.8rem .2rem;
  border-bottom:1px solid #e5e7eb;
}

.gbi-brewery-beer-row[hidden]{ display:none!important; }

.gbi-brewery-beer-row__main{
  min-width:0;
}

.gbi-brewery-beer-row__title{
  margin:0 0 .25rem;
  font-size:1rem;
  line-height:1.35;
  font-weight:700;
  color:#111827;
}

.gbi-brewery-beer-link{
  color:inherit;
  font-weight:inherit;
  text-decoration:none;
}

.gbi-brewery-beer-link:hover,
.gbi-brewery-beer-link:focus-visible{
  color:#1d4ed8;
  text-decoration:underline;
  text-underline-offset:2px;
}

.gbi-brewery-beer-row__meta{
  display:flex;
  flex-wrap:wrap;
  gap:.25rem .65rem;
  font-size:.82rem;
  line-height:1.4;
  color:#6b7280;
}

.gbi-brewery-beer-row__meta > * + *::before{
  content:"·";
  margin-right:.65rem;
  color:#c0c7d0;
}

.gbi-brewery-beer-row__meta a{
  color:#1d4ed8;
  font-weight:600;
  text-decoration:none;
}

.gbi-brewery-beer-row__meta a:hover{
  text-decoration:underline;
}

.gbi-brewery-beer-row__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:.5rem .9rem;
}

.gbi-brewery-beer-row__medals,
.gbi-brewery-beer-row__medals:hover,
.gbi-brewery-beer-row__medals:active{
  padding:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:transparent;
  color:#1d4ed8;
  font:inherit;
  font-size:.84rem;
  font-weight:700;
  line-height:1.4;
  text-decoration:none;
  cursor:pointer;
}

.gbi-brewery-beer-row__medals:hover{
  text-decoration:underline;
}

.gbi-brewery-beer-row__medals:focus-visible{
  outline:2px solid #93b4e8;
  outline-offset:3px;
}


.gbi-brewery-portfolio-empty{
  max-width:1050px;
  padding:1rem;
  border:1px dashed #dbe3ee;
  border-radius:8px;
  color:#6b7280;
}

/* ---------------------------------------------------------
   CLAIM CTA
   --------------------------------------------------------- */

.gbi-brewery-claim{
  max-width:1050px;
}

.gbi-brewery-claim__content{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
  padding:1.35rem 1.5rem;
  border:1px solid #dbe3ee;
  border-left:4px solid #2563eb;
  border-radius:10px;
  background:#f7f9fc;
}

.gbi-brewery-claim__eyebrow{
  display:block;
  margin-bottom:.25rem;
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:#64748b;
}

.gbi-brewery-claim h2{
  margin:0 0 .3rem;
  font-size:1.15rem;
  color:#0f2d57;
}

.gbi-brewery-claim p{
  margin:0;
  max-width:45rem;
  font-size:.9rem;
  line-height:1.55;
  color:#4b5563;
}

.gbi-brewery-claim__link{
  flex:0 0 auto;
  padding:.65rem .9rem;
  border:1px solid #2563eb;
  border-radius:8px;
  background:#fff;
  color:#1d4ed8;
  font-size:.88rem;
  font-weight:700;
  text-decoration:none;
}

.gbi-brewery-claim__link:hover{ background:#eef4ff; }

@media(max-width:760px){
  .gbi-brewery-portfolio-tools{ grid-template-columns:1fr; }
  .gbi-brewery-claim__content{ align-items:flex-start; flex-direction:column; }
}

@media(max-width:520px){
  .gbi-brewery-section-heading{ align-items:flex-start; flex-direction:column; }
  .gbi-brewery-portfolio-count{ margin-top:-.8rem; }

  .gbi-brewery-beer-row{
    grid-template-columns:1fr;
    gap:.55rem;
    padding:.8rem 0;
  }

  .gbi-brewery-beer-row__actions{
    justify-content:flex-start;
  }
}


/* ---------------------------------------------------------
   BREWERY HERO — OPTIONAL LOGO / FOUNDED METADATA
   --------------------------------------------------------- */

.gbi-brewery-hero{
  display:flex;
  align-items:center;
  gap:1.5rem;
}

.gbi-brewery-hero__logo{
  flex:0 0 96px;
  width:96px;
  height:96px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border:1px solid #dbe3ee;
  border-radius:12px;
  background:#fff;
}

.gbi-brewery-hero__logo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  padding:.45rem;
}

.gbi-brewery-hero__content{
  min-width:0;
}

/* ---------------------------------------------------------
   BEER PORTFOLIO — OPTIONAL RICH DETAILS
   --------------------------------------------------------- */

.gbi-brewery-beer-row:has(.gbi-brewery-beer-details){
  grid-template-rows:auto auto;
}

.gbi-brewery-beer-row__details-toggle,
.gbi-brewery-beer-row__details-toggle:hover,
.gbi-brewery-beer-row__details-toggle:active{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:transparent;
  color:#4b5563;
  font:inherit;
  font-size:.82rem;
  font-weight:600;
  line-height:1.4;
  cursor:pointer;
}

.gbi-brewery-beer-row__details-toggle:hover{
  color:#1d4ed8;
  text-decoration:underline;
}

.gbi-brewery-beer-row__details-toggle:focus-visible{
  outline:2px solid #93b4e8;
  outline-offset:3px;
}

.gbi-brewery-beer-row__details-chevron{
  width:.42rem;
  height:.42rem;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  transition:transform .15s ease;
}

.gbi-brewery-beer-row__details-toggle[aria-expanded="true"] .gbi-brewery-beer-row__details-chevron{
  transform:rotate(225deg) translate(-1px,-1px);
}

.gbi-brewery-beer-details{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:110px minmax(0,1fr);
  gap:1rem;
  align-items:start;
  margin:.25rem 0 .2rem;
  padding:1rem;
  border:1px solid #e5e7eb;
  border-radius:8px;
  background:#f8fafc;
}

.gbi-brewery-beer-details[hidden]{
  display:none!important;
}

.gbi-brewery-beer-details__image{
  width:110px;
  height:110px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:7px;
  background:#fff;
}

.gbi-brewery-beer-details__image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

.gbi-brewery-beer-details__content{
  min-width:0;
  font-size:.9rem;
  line-height:1.65;
  color:#374151;
}

.gbi-brewery-beer-details__content > :first-child{ margin-top:0; }
.gbi-brewery-beer-details__content > :last-child{ margin-bottom:0; }

@media(max-width:640px){
  .gbi-brewery-hero{
    align-items:flex-start;
    gap:1rem;
  }

  .gbi-brewery-hero__logo{
    flex-basis:72px;
    width:72px;
    height:72px;
  }

  .gbi-brewery-beer-details{
    grid-template-columns:80px minmax(0,1fr);
  }

  .gbi-brewery-beer-details__image{
    width:80px;
    height:80px;
  }
}

@media(max-width:420px){
  .gbi-brewery-hero{
    flex-direction:column;
  }

  .gbi-brewery-beer-details{
    grid-template-columns:1fr;
  }

  .gbi-brewery-beer-details__image{
    width:100px;
    height:100px;
  }
}


/* =========================================================
   BREWERY PAGE — PROFILE REFINEMENTS
   ========================================================= */

.gbi-brewery .gbi-brewery-about__text{
  max-width:1050px;
}

.gbi-brewery .gbi-brewery-hero{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}

.gbi-brewery .gbi-brewery-hero__identity{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:1.35rem;
  width:min(100%, 610px);
  margin-left:auto;
}

.gbi-brewery .gbi-brewery-hero__content{
  flex:1 1 auto;
  min-width:0;
  max-width:470px;
}

.gbi-brewery .gbi-brewery-hero__content .gbi-style__title{
  max-width:100%;
  overflow-wrap:anywhere;
}

.gbi-brewery .gbi-brewery-hero__logo{
  flex:0 0 96px;
  order:2;
}

.gbi-brewery .gbi-brewery-beer-row:has(.gbi-brewery-beer-details){
  grid-template-rows:auto auto;
}

.gbi-brewery .gbi-brewery-beer-details{
  grid-column:1 / -1;
  margin:.15rem 0 .35rem;
  padding:.85rem 1rem;
  border:1px solid #dbe3ee;
  border-left:3px solid #2563eb;
  border-radius:8px;
  background:#f8fafc;
}

.gbi-brewery .gbi-brewery-beer-row__title{
  color:#0f2d57;
}

.gbi-brewery .gbi-brewery-beer-row__medals{
  white-space:nowrap;
}

@media(max-width:760px){
  .gbi-brewery .gbi-brewery-hero{
    justify-content:flex-start;
  }

  .gbi-brewery .gbi-brewery-hero__identity{
    width:100%;
    margin-left:0;
    justify-content:flex-start;
  }

  .gbi-brewery .gbi-brewery-hero__content{
    max-width:none;
  }
}

@media(max-width:520px){
  .gbi-brewery .gbi-brewery-hero__identity{
    align-items:flex-start;
  }

  .gbi-brewery .gbi-brewery-hero__logo{
    flex-basis:72px;
    width:72px;
    height:72px;
  }
}

@media(max-width:420px){
  .gbi-brewery .gbi-brewery-hero__identity{
    flex-direction:column-reverse;
    gap:.8rem;
  }
}


/* =========================================================
   BREWERY PROFILE HERO — FINAL
   ========================================================= */

.gbi-brewery .gbi-brewery-hero-wrap{
  position:relative;

  background-image:
    linear-gradient(
      rgba(10,42,102,.38),
      rgba(10,42,102,.38)
    ),
    url('https://globalbeerindex.com/wp-content/uploads/2025/09/Globe_main.webp');

  background-size:cover;
  background-position:top center;
  background-repeat:no-repeat;
  background-attachment:fixed;
  background-color:#0A2A66;

  padding:3rem 0 2.5rem;
}

.gbi-brewery .gbi-brewery-hero{
  width:100%;
  min-height:360px;
  display:flex;
  align-items:center;
  padding:42px 28px;
  box-sizing:border-box;
}

.gbi-brewery .gbi-brewery-hero__inner{
  width:min(1050px, 100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0, 1fr) 132px;
  gap:48px;
  align-items:center;
}

.gbi-brewery .gbi-brewery-hero__content{
  min-width:0;
  max-width:720px;
  color:#fff;
}

.gbi-brewery .gbi-brewery-hero__title{
  margin:0 0 16px;
  padding:0;
  color:#fff;
  font-size:clamp(2.15rem, 4vw, 3.15rem);
  line-height:1.08;
  font-weight:700;
  letter-spacing:-.02em;
  text-shadow:0 2px 7px rgba(0,0,0,.25);
  overflow-wrap:anywhere;
}

.gbi-brewery .gbi-brewery-hero__meta{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:7px;
  color:rgba(255,255,255,.96);
  font-size:1rem;
  line-height:1.45;
}

.gbi-brewery .gbi-brewery-hero__meta-item{
  margin:0;
}


.gbi-brewery .gbi-brewery-hero__logo{
  width:132px;
  height:132px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:11px;
  box-sizing:border-box;
  border:1px solid rgba(255,255,255,.72);
  border-radius:14px;
  background:rgba(255,255,255,.96);
  box-shadow:0 8px 24px rgba(0,0,0,.18);
}

.gbi-brewery .gbi-brewery-hero__logo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:7px;
}

/* Body and hero now share one alignment grid. */
.gbi-brewery .gbi-brewery__content{
  width:min(1050px, calc(100% - 56px));
  margin-left:auto;
  margin-right:auto;
}

.gbi-brewery .gbi-brewery-about__text{
  width:100%;
  max-width:none;
}

@media(max-width:760px){
  .gbi-brewery .gbi-brewery-hero-wrap,
  .gbi-brewery .gbi-brewery-hero{
    min-height:300px;
  }

  .gbi-brewery .gbi-brewery-hero{
    padding:34px 22px;
  }

  .gbi-brewery .gbi-brewery-hero__inner{
    grid-template-columns:minmax(0, 1fr) 96px;
    gap:24px;
  }

  .gbi-brewery .gbi-brewery-hero__logo{
    width:96px;
    height:96px;
  }

  .gbi-brewery .gbi-brewery__content{
    width:min(1050px, calc(100% - 44px));
  }
}

@media(max-width:520px){
  .gbi-brewery .gbi-brewery-hero-wrap,
  .gbi-brewery .gbi-brewery-hero{
    min-height:0;
  }

  .gbi-brewery .gbi-brewery-hero{
    padding:32px 20px;
  }

  .gbi-brewery .gbi-brewery-hero__inner{
    grid-template-columns:1fr;
    gap:20px;
  }

  .gbi-brewery .gbi-brewery-hero__logo{
    grid-row:1;
    width:88px;
    height:88px;
  }

  .gbi-brewery .gbi-brewery-hero__content{
    grid-row:2;
  }

  .gbi-brewery .gbi-brewery-hero__title{
    font-size:2rem;
    margin-bottom:13px;
  }

  .gbi-brewery .gbi-brewery__content{
    width:calc(100% - 40px);
  }
}


.gbi-brewery .gbi-breadcrumbs{
  width:min(1050px, calc(100% - 56px));
  margin-left:auto;
  margin-right:auto;
}

@media(max-width:760px){
  .gbi-brewery .gbi-breadcrumbs{
    width:min(1050px, calc(100% - 44px));
  }
}

@media(max-width:520px){
  .gbi-brewery .gbi-breadcrumbs{
    width:calc(100% - 40px);
  }
}

.gbi-brewery-hero__title a{
  color:inherit;
  text-decoration:none;
}

.gbi-brewery-hero__title a:hover,
.gbi-brewery-hero__title a:focus-visible{
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:5px;
}


/* =========================================================
   Brewery – GBI Style Coverage
   ========================================================= */

.gbi-brewery-style-coverage {
    margin-top: 2.75rem;
}


/* ---------------------------------------------------------
   Section heading
   --------------------------------------------------------- */

.gbi-brewery-style-coverage .gbi-brewery-section-heading {
    margin-bottom: 1.35rem;
}

.gbi-brewery-style-coverage .gbi-brewery-section-intro {
    margin: 0.35rem 0 0;
    color: #526173;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   Summary statistics
   --------------------------------------------------------- */

.gbi-brewery-coverage-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.gbi-brewery-coverage-stat {
    display: flex;
    flex-direction: column;
    min-height: 118px;
    padding: 1.15rem 1.3rem;
    border: 1px solid #d8e1ec;
    border-radius: 10px;
    background: #fff;
}

.gbi-brewery-coverage-stat__value {
    display: block;
    margin-bottom: 0.2rem;
    color: #09264d;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.15;
}

.gbi-brewery-coverage-stat__label {
    display: block;
    color: #162b46;
    font-size: 0.95rem;
    font-weight: 600;
}

.gbi-brewery-coverage-stat__detail {
    display: block;
    margin-top: 0.3rem;
    color: #617083;
    font-size: 0.88rem;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   Represented / missing layout
   --------------------------------------------------------- */

.gbi-brewery-coverage-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
    gap: 1rem;
    align-items: stretch;
}

.gbi-brewery-coverage-panel {
    padding: 1.25rem 1.35rem;
    border: 1px solid #d8e1ec;
    border-radius: 10px;
    background: #fff;
}

.gbi-brewery-coverage-panel__title {
    margin: 0 0 0.9rem;
    color: #09264d;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}

.gbi-brewery-coverage-panel__intro {
    margin: -0.35rem 0 1rem;
    color: #617083;
    font-size: 0.88rem;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   Represented core styles
   --------------------------------------------------------- */

.gbi-brewery-coverage-list {
    display: flex;
    flex-direction: column;
}

.gbi-brewery-coverage-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #e6ebf1;
}

.gbi-brewery-coverage-row:first-child {
    padding-top: 0;
}

.gbi-brewery-coverage-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.gbi-brewery-coverage-row__style {
    min-width: 0;
    font-weight: 600;
}

.gbi-brewery-coverage-row__style a {
    color: #0645f5;
    text-decoration: none;
}

.gbi-brewery-coverage-row__style a:hover,
.gbi-brewery-coverage-row__style a:focus {
    text-decoration: underline;
}

.gbi-brewery-coverage-row__count {
    flex: 0 0 auto;
    color: #617083;
    font-size: 0.88rem;
    white-space: nowrap;
}


/* ---------------------------------------------------------
   Missing core styles
   --------------------------------------------------------- */

.gbi-brewery-coverage-missing {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gbi-brewery-coverage-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.7rem;
    border: 1px solid #d8e1ec;
    border-radius: 999px;
    background: #f6f8fb;
    color: #34465c;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition:
        border-color 0.15s ease,
        background-color 0.15s ease,
        color 0.15s ease;
}

a.gbi-brewery-coverage-chip:hover,
a.gbi-brewery-coverage-chip:focus {
    border-color: #9db9ff;
    background: #eef4ff;
    color: #0645f5;
    text-decoration: none;
}


/* ---------------------------------------------------------
   Coverage disclaimer
   --------------------------------------------------------- */

.gbi-brewery-coverage-note {
    margin: 1rem 0 0;
    padding-left: 0.85rem;
    border-left: 3px solid #2f6df6;
    color: #617083;
    font-size: 0.82rem;
    line-height: 1.55;
}


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 800px) {

    .gbi-brewery-coverage-summary {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .gbi-brewery-coverage-stat {
        min-height: 0;
    }

    .gbi-brewery-coverage-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {

    .gbi-brewery-coverage-stat,
    .gbi-brewery-coverage-panel {
        padding: 1rem;
    }

    .gbi-brewery-coverage-row {
        align-items: flex-start;
    }

    .gbi-brewery-coverage-missing {
        gap: 0.4rem;
    }

    .gbi-brewery-coverage-chip {
        padding: 0.35rem 0.6rem;
        font-size: 0.78rem;
    }
}