/* Shared finishing rules for every migrated interior page. */
.interior-page { --content-width: 1120px; }
.interior-page .page-hero > .wrap,
.interior-page > .breadcrumbs,
.interior-page > .section > .content-surface {
  width: min(var(--content-width), calc(100% - 40px));
  max-width: none;
}
.interior-page .page-hero h1 {
  max-width: none;
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  line-height: 1.12;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.interior-page .content-surface p,
.interior-page .topic-intro,
.interior-page .decision-guide > p { max-width: none; }
.content-surface { overflow-wrap: anywhere; }
.article-layout .j-blog-content > [id^="cc-matrix"] { gap: 26px; }
.article-layout > .j-module:first-child { margin-bottom: 24px; }
.article-panel + .article-panel { margin-top: 26px; }
.article-panel > h2:first-child,
.article-panel > .j-header:first-child h2 { margin-top: 0; }
.content-columns > .content-column:only-child { grid-column: 1 / -1; }
.gift-card-grid { align-items: stretch; }
.gift-card h2,.gift-card h3 { font:700 1.35rem/1.2 Georgia,serif; letter-spacing:-.015em; }
.gift-card h2 a,.gift-card h3 a { color:inherit; }
.crosslinks-heading { margin:44px 0 10px !important; color:var(--red); font-size:.78rem; font-weight:850; letter-spacing:.14em; text-transform:uppercase; }
.selection-intro { clear:both !important; width:100% !important; max-width:none !important; margin-left:0 !important; }
.content-columns:not(.retro-links-grid) .content-column { padding:20px 24px; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 10px 26px rgba(51,9,19,.05); }
.content-columns:not(.retro-links-grid) .content-column h2 { margin:.25em 0; font:700 1.25rem/1.25 Georgia,serif; }
.content-columns:not(.retro-links-grid) .content-column h2 a { color:var(--ink); }
.content-columns:not(.retro-links-grid) .content-column h2 a:hover { color:var(--ruby); }
.article-layout > .j-module:not(.editorial-media) { clear:both; }
.article-layout h2,.article-layout h3 { width:100%; max-width:none !important; text-wrap:wrap; }
.article-layout > .article-panel,.article-layout > .j-module:not(.editorial-media) { max-width:none; }
.gift-card-grid, .content-columns, .download-section, .decision-guide { clear: both; }
.editorial-image .editorial-image { float: none !important; max-width: 100% !important; margin: 0 !important; }
.gift-card-grid > .gift-card:last-child:nth-child(odd) { grid-column: auto; }
.compact-choice-grid,.recipient-choice-grid,.funny-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.compact-choice-grid > .gift-card:last-child:nth-child(odd) { grid-column: auto; }
.compact-choice-grid > .gift-card:last-child:nth-child(3n + 1) { grid-column: auto; }
.compact-choice-grid > .gift-card:last-child:nth-child(3n + 2) { grid-column: auto; }
.content-surface .gift-card h3 {
  margin: 0 0 16px;
  font: 700 clamp(1.25rem, 1.7vw, 1.48rem)/1.25 Georgia, serif;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.gift-card .j-callToAction { margin-top: auto; padding-top: 18px; }
.gift-card .j-calltoaction-wrapper { margin-top: 0; }
.j-calltoaction-wrapper { justify-content: center; }
.product-link {
  text-align: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
.product-link .button-label { display: block; min-width: 0; overflow-wrap: anywhere; }
.product-link::after { content: "→"; flex: 0 0 auto; margin: 0; }
.product-link .affiliate-marker { display: inline; margin: 0; white-space: nowrap; }
.affiliate-link .affiliate-marker { white-space: nowrap; }
.gift-card > .product-link { margin-top: auto; }
.editorial-media { display: flow-root; }
.editorial-media ul, .editorial-media ol { display: flow-root; }
.article-feature-intro .j-text { min-width: 0; }
.article-feature-intro p { max-width: none; }
.article-panel > figure { display: block; }
.article-layout .long-copy { columns: auto; }
@media (max-width: 900px) {
  .compact-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compact-choice-grid > .gift-card:last-child:nth-child(n) { grid-column: auto; }
  .compact-choice-grid > .gift-card:last-child:nth-child(odd) { grid-column: auto; }
}
@media (max-width: 620px) {
  .interior-page .page-hero > .wrap,
  .interior-page > .breadcrumbs,
  .interior-page > .section > .content-surface { width: calc(100% - 26px); }
  .interior-page .page-hero h1 { font-size: clamp(2rem, 8.5vw, 2.9rem); }
  .gift-card-grid, .compact-choice-grid { grid-template-columns: minmax(0, 1fr); }
  .compact-choice-grid,.recipient-choice-grid,.funny-topic-grid { grid-template-columns: minmax(0,1fr) !important; }
  .gift-card-grid > .gift-card:last-child:nth-child(n) { grid-column: auto; }
  .article-panel, .article-feature-intro { padding: 24px 19px; }
  .product-link { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
.cc-m-gallery-container {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;clear:both;width:100%}
.cc-m-gallery-container .cc-m-gallery-cool-item {width:auto!important;height:auto!important;float:none!important}
.cc-m-gallery-container img {display:block;width:100%;height:220px;object-fit:contain}
@media(max-width:700px){.cc-m-gallery-container{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cc-m-gallery-container img{height:160px}}
.content-columns.retro-links-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:620px){.content-columns.retro-links-grid{grid-template-columns:minmax(0,1fr)}}
