.photo-guide-block {
  margin-top: 8px;
}

.photo-guide-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.photo-guide-section__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.photo-guide-section__intro {
  margin: 4px 0 0;
  max-width: 62ch;
}

.photo-guide-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(220px, 1fr);
  gap: 24px;
  align-items: start;
}

.photo-guide-section__notes {
  font-size: 0.92rem;
  color: rgba(28, 26, 23, 0.72);
}

.photo-guide-section__notes p {
  margin: 0 0 10px;
}

.photo-guide-custom-notes {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 20, 0.08);
}

/* Product silhouettes */
.photo-guide-product-sil {
  display: inline-block;
  width: 48px;
  height: 72px;
  margin: 0 12px;
  border-radius: 6px 6px 4px 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.08) 40%, rgba(0, 0, 0, 0.08) 100%);
  box-shadow: 12px 16px 24px rgba(0, 0, 0, 0.18);
  vertical-align: bottom;
}

.photo-guide-product-sil--serum {
  width: 36px;
  height: 80px;
  border-radius: 4px 4px 8px 8px;
}

.photo-guide-product-sil--cream {
  width: 56px;
  height: 48px;
  border-radius: 8px;
}

.photo-guide-product-sil--lipstick {
  width: 28px;
  height: 64px;
  background: linear-gradient(180deg, #c41e3a 0%, #8b1530 100%);
  box-shadow: 10px 14px 20px rgba(0, 0, 0, 0.25);
}

.photo-guide-product-sil--compact {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f3e8e2, #d4c4bc);
}

/* Modular stage */
.photo-guide-modular__lead {
  margin: 0 0 12px;
  font-size: 0.9rem;
}

.photo-guide-modular__stage {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 20, 0.1);
  min-height: 120px;
}

.photo-guide-modular__half {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px 12px 16px;
}

.photo-guide-modular__half--light {
  background: #f7f7f7;
}

.photo-guide-modular__half--dark {
  background: var(--stage-dark, #0b5a3b);
}

.photo-guide-modular__half--dark .photo-guide-product-sil {
  box-shadow: 12px 16px 28px rgba(0, 0, 0, 0.35);
}

.photo-guide-modular__channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.photo-guide-modular__channels span {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 20, 0.06);
}

/* Image groupings */
.photo-guide-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.photo-guide-group {
  padding: 14px;
  border: 1px solid rgba(15, 23, 20, 0.1);
  border-radius: 10px;
  background: #fff;
}

.photo-guide-group--warm { background: #fdf6f0; }
.photo-guide-group--skin { background: #faf3ee; }
.photo-guide-group--muted { background: #f3f4f6; }

.photo-guide-group__num {
  font-size: 1.4rem;
  font-weight: 700;
  opacity: 0.35;
}

.photo-guide-group__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 8px 0 10px;
}

.photo-guide-group__grid span {
  aspect-ratio: 1;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(15, 23, 20, 0.08), rgba(15, 23, 20, 0.16));
}

.photo-guide-group h4 {
  margin: 0 0 4px;
  font-size: 0.92rem;
}

.photo-guide-group p {
  margin: 0 0 8px;
  font-size: 0.78rem;
  color: rgba(28, 26, 23, 0.72);
}

.photo-guide-group__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.photo-guide-group__tags span {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(15, 23, 20, 0.06);
}

/* Studio table */
.photo-guide-studio-table {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(0, 1.6fr);
  border: 1px solid rgba(15, 23, 20, 0.12);
}

.photo-guide-studio-table__where {
  padding: 16px;
  background: #f7f3ea;
  border-right: 1px solid rgba(15, 23, 20, 0.12);
}

.photo-guide-studio-table__where h4 {
  margin: 0 0 10px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.photo-guide-studio-table__where ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.photo-guide-studio-table__where li {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 6px 0;
  border-bottom: 1px solid rgba(15, 23, 20, 0.06);
}

.photo-guide-studio-table__styles {
  padding: 16px;
}

.photo-guide-studio-table__styles article {
  margin-bottom: 14px;
}

.photo-guide-studio-table__styles article:last-child {
  margin-bottom: 0;
}

.photo-guide-studio-table__styles h4 {
  margin: 0 0 6px;
}

.photo-guide-studio-table__styles p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Background layouts */
.photo-guide-bg-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.photo-guide-bg-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 20, 0.1);
}

.photo-guide-bg-card__stage {
  min-height: 100px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 8px 12px;
}

.photo-guide-bg-card--white .photo-guide-bg-card__stage {
  background: #ffffff;
}

.photo-guide-bg-card--brand .photo-guide-bg-card__stage {
  background: var(--bg-brand, #0b5a3b);
}

.photo-guide-bg-card--blush .photo-guide-bg-card__stage {
  background: var(--bg-blush, #f3e8e2);
}

.photo-guide-bg-card h4,
.photo-guide-bg-card p {
  padding: 0 12px;
}

.photo-guide-bg-card h4 {
  margin: 10px 0 4px;
  font-size: 0.88rem;
}

.photo-guide-bg-card p {
  margin: 0 0 12px;
  font-size: 0.75rem;
  color: rgba(28, 26, 23, 0.7);
}

/* Ratios */
.photo-guide-ratios__intro {
  margin: 0 0 14px;
  font-size: 0.85rem;
}

.photo-guide-ratios__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.photo-guide-ratio-card {
  text-align: center;
}

.photo-guide-ratio-card__frame {
  margin: 0 auto 8px;
  border: 1px solid rgba(15, 23, 20, 0.15);
  border-radius: 4px;
  overflow: hidden;
  background: #f3f4f6;
}

.photo-guide-ratio-card__scene {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #e8ddd4 30%, #c8b8ae 100%);
}

.photo-guide-ratio-card strong {
  display: block;
  font-size: 0.95rem;
}

.photo-guide-ratio-card__label {
  font-size: 0.78rem;
  color: rgba(28, 26, 23, 0.65);
}

.photo-guide-ratio-card p {
  margin: 4px 0 0;
  font-size: 0.72rem;
}

/* Corners */
.photo-guide-corners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.photo-guide-corner-card__demo {
  position: relative;
  height: 100px;
  margin-bottom: 8px;
  overflow: hidden;
  background: linear-gradient(145deg, #ddd5cc, #b8a99a);
}

.photo-guide-corner-card__demo--rounded {
  border-radius: 12px;
}

.photo-guide-corner-card__demo--sharp {
  border-radius: 0;
}

.photo-guide-corner-card__demo--inline {
  flex-shrink: 0;
  width: 120px;
  height: 100%;
}

.photo-guide-corner-card__scene {
  display: block;
  width: 100%;
  height: 100%;
  background: inherit;
}

.photo-guide-corner-card__badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.photo-guide-corner-card h4 {
  margin: 0 0 4px;
  font-size: 0.88rem;
}

.photo-guide-corner-card p {
  margin: 0;
  font-size: 0.78rem;
}

.photo-guide-corners__example {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #f3f4f6;
  border-radius: 10px;
  align-items: stretch;
}

.photo-guide-corners__copy {
  flex: 1;
}

.photo-guide-corners__copy strong {
  display: block;
  margin-bottom: 10px;
}

.photo-guide-corners__bars {
  display: block;
  height: 48px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(15, 23, 20, 0.12) 0,
    rgba(15, 23, 20, 0.12) 6px,
    transparent 6px,
    transparent 12px
  );
}

/* Model */
.photo-guide-model__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.photo-guide-model__shot {
  aspect-ratio: 3/4;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.photo-guide-model__shot--face {
  background: linear-gradient(180deg, #f5e6dc 0%, #d4b8a8 100%);
}

.photo-guide-model__shot--hands {
  background: linear-gradient(180deg, #efe8e0 0%, #c9bfb5 100%);
}

.photo-guide-model__shot--routine {
  background: linear-gradient(180deg, #e8eef0 0%, #b8c8d0 100%);
}

.photo-guide-model__label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.photo-guide-model__rules {
  margin: 0;
  padding-left: 18px;
  font-size: 0.82rem;
}

.photo-guide-model__rules li {
  margin-bottom: 4px;
}

/* Editorial */
.photo-guide-editorial__kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.photo-guide-editorial__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 64px;
  gap: 6px;
}

.photo-guide-editorial__tile {
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(15, 23, 20, 0.1), rgba(15, 23, 20, 0.2));
  display: flex;
  align-items: flex-end;
  padding: 6px;
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.photo-guide-editorial__tile--tall {
  grid-row: span 2;
}

.photo-guide-editorial__tile--wide {
  grid-column: span 2;
}

.photo-guide-editorial__tile--sq {
  grid-row: span 1;
}

/* Brand collage */
.photo-guide-brand__lead {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 600;
}

.photo-guide-brand__keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.photo-guide-brand__keywords span {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 20, 0.12);
}

.photo-guide-brand__collage {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 48px;
  gap: 4px;
}

.photo-guide-brand__cell {
  border-radius: 4px;
  background: linear-gradient(
    135deg,
    hsl(calc(140 + var(--cell-i) * 8), 25%, calc(72% - var(--cell-i) * 2%)),
    hsl(calc(30 + var(--cell-i) * 12), 30%, 55%)
  );
}

.photo-guide-brand__cell--hero { grid-column: span 2; grid-row: span 2; }
.photo-guide-brand__cell--texture { grid-row: span 2; }

/* Channel table */
.photo-guide-channel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.photo-guide-channel-table th,
.photo-guide-channel-table td {
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 20, 0.1);
  text-align: left;
  vertical-align: top;
}

.photo-guide-channel-table th {
  background: rgba(15, 23, 20, 0.04);
  font-weight: 600;
}

/* Styling */
.photo-guide-styling {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.photo-guide-styling h4 {
  margin: 0 0 8px;
  font-size: 0.88rem;
}

.photo-guide-styling p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
}

.photo-guide-styling__shadow-demo {
  display: flex;
  justify-content: center;
  padding: 20px;
  margin-bottom: 8px;
  background: #f7f7f7;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .photo-guide-section__layout {
    grid-template-columns: 1fr;
  }

  .photo-guide-groups,
  .photo-guide-bg-layout,
  .photo-guide-ratios__grid,
  .photo-guide-corners,
  .photo-guide-model__grid,
  .photo-guide-styling,
  .photo-guide-studio-table {
    grid-template-columns: 1fr;
  }

  .photo-guide-studio-table__where {
    border-right: none;
    border-bottom: 1px solid rgba(15, 23, 20, 0.12);
  }

  .photo-guide-corners__example {
    flex-direction: column;
  }

  .photo-guide-editorial__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-guide-brand__collage {
    grid-template-columns: repeat(3, 1fr);
  }
}
