/* Proof & Principle v452 — shared Whisk(e)y guide layout guardrails
   Reference composition: Canadian Whisky, Chapter 07.
   These rules stabilize existing geometry without replacing guide-specific design. */

.pp-whisky-guide{
  --pp-whisky-media-max:612px;
  --pp-whisky-copy-max:68ch;
  --pp-whisky-grid-gap:28px;
  --pp-whisky-card-pad:10px;
}

.pp-whisky-guide .section-grid,
.pp-whisky-guide .section-grid > *{
  min-width:0;
}

.pp-whisky-guide .section-grid > .body-copy{
  width:100%;
  max-width:var(--pp-whisky-copy-max);
}

.pp-whisky-guide .section-grid > .figure.media-card{
  box-sizing:border-box;
}

.pp-whisky-guide .section-grid > .figure.media-card img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  object-fit:contain;
}

@media (min-width:1101px){
  .pp-whisky-guide .section-grid{
    gap:var(--pp-whisky-grid-gap)!important;
  }

  .pp-whisky-guide #oak > .section-grid.reverse:first-of-type{
    grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);
    align-items:start;
  }

  .pp-whisky-guide #oak > .section-grid.reverse:first-of-type > .figure.media-card{
    width:100%;
    max-width:var(--pp-whisky-media-max);
    padding:var(--pp-whisky-card-pad);
    justify-self:center;
  }
}

@media (max-width:1100px){
  .pp-whisky-guide .section-grid,
  .pp-whisky-guide .section-grid.reverse{
    grid-template-columns:minmax(0,1fr);
  }
}

@media (max-width:760px){
  .pp-whisky-guide .section-grid,
  .pp-whisky-guide .section-grid.reverse{
    display:grid;
    grid-template-columns:minmax(0,1fr)!important;
    gap:18px!important;
    align-items:start!important;
  }

  .pp-whisky-guide .section-grid > *,
  .pp-whisky-guide .section-grid.reverse > *{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    justify-self:stretch!important;
  }

  .pp-whisky-guide .section-grid > .figure.media-card{
    margin:0!important;
  }
}
