/*
Theme Name: Room Decode
Theme URI: https://roomdecode.com/
Description: Room Decode child theme for editorial affiliate room breakdowns.
Author: Room Decode
Template: twentytwentyfive
Version: 1.1.0
*/

.single-post .wp-site-blocks {
  background: #fffaf7;
}

.single-post main,
.single-post .wp-block-post-content,
.single-post .wp-block-post-title,
.single-post .wp-block-post-featured-image,
.single-post .entry-content {
  max-width: 1320px !important;
}

.single-post main {
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.single-post .wp-block-post-title {
  font-size: clamp(2.5rem, 5vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: 0;
  margin-top: 56px;
  margin-bottom: 28px;
}

.single-post .wp-block-group:has(> .taxonomy-category.wp-block-post-terms) {
  display: none;
}

.single-post .wp-block-post-featured-image {
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 22px 60px rgba(80, 45, 25, 0.14);
}

.single-post .wp-block-post-featured-image img {
  display: block;
}

.single-post .wp-block-post-content,
.single-post .entry-content {
  color: #231915;
  font-size: 1.08rem;
  line-height: 1.72;
  width: min(100%, 1320px) !important;
  overflow-x: hidden;
}

.rd-article {
  max-width: 1060px;
  margin: 0 auto;
}

.rd-disclosure {
  max-width: 760px;
  color: #6f5b52;
  font-size: 0.95rem;
}

.rd-dek {
  max-width: 860px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.45;
  color: #3a2922;
}

.rd-product-card {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  margin: 34px 0;
  padding: 26px;
  background: #ffffff;
  border: 1px solid #efd9cf;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(97, 57, 38, 0.08);
}

.rd-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  margin: 0;
  padding: 20px;
  background: #fff;
  border-radius: 6px;
}

.single-post .rd-product-card .rd-product-image img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 360px !important;
  object-fit: contain !important;
}

.rd-product-copy h2,
.rd-decode-box h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.08;
  margin: 0 0 14px;
}

.rd-product-copy p {
  margin-top: 0;
}

.rd-step {
  color: #a74724;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.rd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  background: #15100d;
  border-radius: 999px;
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.rd-decode-box {
  margin: 44px 0 10px;
  padding: 30px;
  background: #f4e8ff;
  border: 1px solid #dfc8ee;
  border-radius: 8px;
}

.rd-inline-image {
  margin: 34px 0 42px;
}

.rd-inline-image img,
.rd-paragraph-image img {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  border: 1px solid #ead5ca;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(58, 35, 24, 0.11);
}

.rd-inline-image figcaption,
.rd-paragraph-image figcaption {
  max-width: 780px;
  margin-top: 10px;
  color: #6f5b52;
  font-size: 0.92rem;
  line-height: 1.45;
}

.rd-paragraph-image {
  margin: 26px 0 38px;
}

.rd-paragraph-image img {
  aspect-ratio: 16 / 9;
  max-height: 560px;
}

.rd-crop-1 img {
  object-position: center center;
}

.rd-crop-2 img {
  aspect-ratio: 5 / 3;
  object-position: left center;
}

.rd-crop-3 img {
  aspect-ratio: 4 / 3;
  object-position: right center;
}

.rd-crop-4 img {
  aspect-ratio: 21 / 9;
  object-position: center top;
}

.rd-crop-5 img {
  aspect-ratio: 3 / 2;
  object-position: center bottom;
}

.rd-crop-6 img {
  aspect-ratio: 1 / 1;
  object-position: center center;
}

.single-post .wp-block-comments,
.single-post .post-navigation-link-next,
.single-post .post-navigation-link-previous,
.single-post .wp-block-query,
.single-post .wp-block-template-part footer,
.single-post .wp-block-navigation {
  display: none;
}

.single-post main > .wp-block-group.alignwide:has(.wp-block-query) {
  display: none;
}

.single-post header {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.home .wp-site-blocks,
.page .wp-site-blocks {
  background: #fffaf7;
}

.home main,
.home .entry-content,
.home .wp-block-post-content,
.page-template-default main,
.page-template-default .entry-content,
.page-template-default .wp-block-post-content {
  width: 100% !important;
  max-width: none !important;
}

.home main.wp-block-group {
  margin-top: 0 !important;
}

.home main > .wp-block-group.alignfull {
  padding-top: 0 !important;
  padding-bottom: 28px !important;
}

.page .wp-block-post-title {
  display: none;
}

.rd-home {
  width: calc(100% - 64px);
  max-width: 1480px;
  margin: 0 auto;
  color: #18120f;
}

.home main.rd-home {
  max-width: 1480px !important;
}

.rd-home-hero {
  padding: 82px 0 42px;
}

.rd-home-hero-modern {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 48px;
  align-items: end;
  padding-top: 92px;
}

.rd-kicker {
  color: #a74724;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.rd-home-hero h1 {
  max-width: 1120px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.rd-home-hero p:last-child {
  max-width: 820px;
  margin-top: 26px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.rd-home-hero-modern p:last-child {
  margin: 0 0 16px;
  color: #4c3b34;
}

.rd-category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
}

.rd-category-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #e2c7bb;
  border-radius: 999px;
  color: #241713;
  font-size: 0.9rem;
  text-decoration: none;
}

.rd-category-strip a:hover {
  background: #fff;
}

.rd-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 90px;
}

.rd-home-card h2 a,
.rd-post-card {
  color: inherit;
  text-decoration: none;
}

.rd-home-card {
  position: relative;
  display: block;
  min-height: 500px;
  overflow: hidden;
  border-radius: 8px;
  background: #15100d;
  box-shadow: 0 20px 56px rgba(58, 35, 24, 0.14);
}

.rd-home-grid-modern .rd-home-card {
  min-height: 460px;
}

.rd-home-grid-modern .rd-home-card img {
  min-height: 460px;
}

.rd-home-card-large {
  grid-column: span 2;
}

.rd-home-card img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 220ms ease, opacity 220ms ease;
}

.rd-home-card:hover img {
  transform: scale(1.025);
  opacity: 0.9;
}

.rd-home-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 16, 13, 0.02), rgba(21, 16, 13, 0.72));
}

.rd-home-card div {
  position: absolute;
  z-index: 1;
  left: 26px;
  right: 26px;
  bottom: 24px;
}

.rd-home-card span,
.rd-home-card h2,
.rd-home-card h2 a {
  color: #fff;
}

.rd-home-card span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rd-home-card h2 {
  max-width: 620px;
  margin: 10px 0 0;
  font-size: clamp(1.65rem, 3.5vw, 3.4rem);
  line-height: 0.98;
}

.rd-home-card:not(.rd-home-card-large) h2 {
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
}

.rd-latest {
  padding: 74px 0 90px;
}

.rd-latest > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.rd-latest h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: 0.95;
}

.rd-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rd-post-card {
  display: block;
  padding: 14px;
  background: #fff;
  border: 1px solid #efd9cf;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(97, 57, 38, 0.08);
}

.rd-post-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
}

.rd-post-card h3 {
  margin: 16px 4px 6px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.05;
}

.rd-latest-section {
  padding: 12px 0 96px;
}

.rd-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
  gap: 28px;
  align-items: end;
  margin: 42px 0 26px;
}

.rd-section-heading h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.95;
}

.rd-latest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.rd-latest-card {
  min-width: 0;
}

.rd-latest-card a {
  display: block;
  height: 100%;
  padding: 12px;
  border: 1px solid #ead5ca;
  border-radius: 8px;
  background: #fff;
  color: #18120f;
  text-decoration: none;
  box-shadow: 0 16px 42px rgba(58, 35, 24, 0.08);
}

.rd-latest-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.rd-latest-card span {
  display: block;
  margin: 16px 4px 8px;
  color: #a74724;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rd-latest-card h3 {
  margin: 0 4px 8px;
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  line-height: 1.06;
}

.home .entry-content > * {
  margin-block-start: 0;
}

.rd-pin-home {
  max-width: 1680px;
  padding-bottom: 40px;
}

.rd-pin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 48px;
  align-items: end;
  padding: 42px 0 34px;
}

.rd-pin-hero-copy h1 {
  max-width: 1020px;
  margin: 8px 0 0;
  font-size: clamp(4.2rem, 9vw, 10.5rem);
  line-height: 0.82;
  letter-spacing: 0;
}

.rd-pin-hero-copy p:last-child {
  max-width: 760px;
  margin: 24px 0 0;
  color: #46352e;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.45;
}

.rd-pin-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.rd-pin-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #1f1714;
  border-radius: 999px;
  background: #fff;
  color: #1d1410;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 3px 3px 0 #c9f36d;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.rd-pin-nav a:nth-child(2n) {
  box-shadow: 3px 3px 0 #ffb0c9;
}

.rd-pin-nav a:nth-child(3n) {
  box-shadow: 3px 3px 0 #b8d7ff;
}

.rd-pin-nav a:hover {
  background: #fff7cc;
  box-shadow: 1px 1px 0 #1f1714;
  transform: translate(2px, 2px);
}

.rd-pin-featured {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 18px;
  align-items: stretch;
  margin: 8px 0 80px;
}

.rd-pin-card {
  min-width: 0;
  break-inside: avoid;
  margin: 0 0 22px;
}

.rd-pin-card a {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid #1f1714;
  border-radius: 18px;
  background: #fff;
  color: #1d1410;
  text-decoration: none;
  box-shadow: 7px 7px 0 rgba(31, 23, 20, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.rd-pin-card a:hover {
  transform: translateY(-4px);
  box-shadow: 9px 12px 0 rgba(31, 23, 20, 0.16);
}

.rd-pin-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.rd-pin-card:nth-child(3n) img {
  aspect-ratio: 1 / 1;
}

.rd-pin-card:nth-child(4n) img {
  aspect-ratio: 4 / 3;
}

.rd-pin-card:nth-child(5n) img {
  aspect-ratio: 3 / 4;
}

.rd-pin-copy {
  padding: 16px 16px 18px;
}

.rd-pin-copy span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #a74724;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rd-pin-copy h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.35vw, 1.45rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.rd-pin-card-hero {
  grid-column: span 3;
  grid-row: span 2;
}

.rd-pin-featured .rd-pin-card:not(.rd-pin-card-hero) {
  grid-column: span 1;
}

.rd-pin-featured .rd-pin-card:nth-child(2),
.rd-pin-featured .rd-pin-card:nth-child(5) {
  grid-column: span 2;
}

.rd-pin-featured .rd-pin-card a {
  height: 100%;
}

.rd-pin-featured .rd-pin-card img {
  height: 100%;
  min-height: 310px;
  aspect-ratio: auto;
}

.rd-pin-featured .rd-pin-card-hero img {
  min-height: 650px;
}

.rd-pin-featured .rd-pin-copy {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  border-radius: 14px;
  background: rgba(255, 250, 247, 0.9);
  backdrop-filter: blur(12px);
}

.rd-pin-featured .rd-pin-card a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.rd-pin-featured .rd-pin-copy {
  pointer-events: none;
}

.rd-pin-featured .rd-pin-card-hero .rd-pin-copy h3 {
  max-width: 720px;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  line-height: 0.9;
}

.rd-pin-latest {
  padding: 8px 0 96px;
}

.rd-pin-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin: 0 0 26px;
}

.rd-pin-section-head h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.rd-pin-masonry {
  column-count: 4;
  column-gap: 22px;
}

.rd-pin-masonry .rd-pin-card {
  display: inline-block;
  width: 100%;
}

.rd-pin-masonry .rd-pin-card a {
  border-color: #ead5ca;
  border-radius: 20px;
  box-shadow: none;
}

.rd-pin-masonry .rd-pin-card a:hover {
  box-shadow: 0 18px 42px rgba(58, 35, 24, 0.14);
}

.rd-pin-masonry .rd-pin-copy {
  background: #fff;
}

.rd-pin-masonry .rd-pin-card:nth-child(6n+1) a {
  background: #fff7cc;
}

.rd-pin-masonry .rd-pin-card:nth-child(6n+2) a {
  background: #f5edff;
}

.rd-pin-masonry .rd-pin-card:nth-child(6n+3) a {
  background: #eef9ed;
}

.rd-pin-masonry .rd-pin-card:nth-child(6n+4) a {
  background: #fff0f6;
}

.rd-pin-masonry .rd-pin-card:nth-child(6n+5) a {
  background: #edf6ff;
}

.rd-shop-list {
  margin: 40px 0;
  padding: 26px 30px;
  background: #fff;
  border: 1px solid #efd9cf;
  border-radius: 8px;
}

.rd-shop-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  padding-left: 20px;
}

.rd-room-callout-section,
.rd-affiliate-product-grid-section {
  max-width: 1180px;
  margin: 58px auto 0;
}

.rd-product-room-article .rd-room-callout-section {
  margin: 42px 0 54px;
}

.rd-room-callout-section h2,
.rd-affiliate-product-grid-section h2 {
  max-width: 780px;
  margin: 8px 0 22px;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 0.92;
}

.rd-room-callout-image {
  margin: 0;
}

.rd-room-callout-image img {
  display: block;
  width: 100%;
  border: 1px solid #ead5ca;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(58, 35, 24, 0.14);
}

.rd-affiliate-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.rd-affiliate-card {
  display: grid;
  grid-template-columns: minmax(150px, 230px) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid #1f1714;
  border-radius: 16px;
  background: #fff;
  box-shadow: 6px 6px 0 rgba(31, 23, 20, 0.12);
}

.rd-affiliate-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 14px;
  border-radius: 12px;
  background: #fff7ef;
}

.rd-affiliate-card-media img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.rd-affiliate-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rd-affiliate-card-kicker {
  margin: 0 0 8px;
  color: #a74724;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.rd-affiliate-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1;
}

.rd-affiliate-card p {
  margin: 0 0 12px;
}

.rd-affiliate-card-best {
  color: #3d2c25;
}

.rd-affiliate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: auto;
  padding: 0 18px;
  border: 1px solid #1f1714;
  border-radius: 999px;
  background: #15100d;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 3px 3px 0 #c9f36d;
}

.rd-affiliate-card-disclosure {
  margin-top: 12px !important;
  color: #7a655c;
  font-size: 0.78rem;
  line-height: 1.35;
}

.rd-inline-shop-card {
  margin: 24px 0 54px;
}

.rd-inline-shop-card .rd-affiliate-card {
  grid-template-columns: minmax(170px, 250px) minmax(0, 1fr);
  border-color: #e4cabe;
  background: #fffdfb;
  box-shadow: 0 18px 46px rgba(82, 48, 31, 0.1);
}

.rd-inline-shop-card + h2 {
  margin-top: 62px;
}

.rd-product-room-article > h2 {
  margin-top: 46px;
}

.rd-product-room-article > p {
  max-width: 820px;
}

.home .wp-block-template-part footer,
.home .wp-block-navigation,
.page .wp-block-template-part footer,
.page .wp-block-navigation,
.single-post .wp-block-template-part footer,
.wp-site-blocks > footer {
  display: none;
}

.rd-site-footer {
  width: calc(100% - 64px);
  max-width: 1480px;
  margin: 80px auto 0;
  padding: 42px 0 34px;
  border-top: 1px solid #ead5ca;
  color: #211713;
}

.rd-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 48px;
}

.rd-footer-logo {
  color: inherit;
  font-size: 1.45rem;
  font-weight: 800;
  text-decoration: none;
}

.rd-footer-brand p {
  max-width: 620px;
  margin: 14px 0 0;
  color: #5d4a42;
  line-height: 1.55;
}

.rd-footer-disclosure {
  font-weight: 700;
}

.rd-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}

.rd-footer-nav a,
.rd-footer-brand a {
  color: inherit;
}

.rd-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid #ead5ca;
  color: #6f5b52;
  font-size: 0.9rem;
}

.rd-legal-page {
  width: min(100% - 48px, 920px);
  margin: 70px auto;
  color: #211713;
  font-size: 1.08rem;
  line-height: 1.72;
}

.rd-legal-page h1 {
  margin: 0 0 24px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.95;
}

.rd-legal-page h2 {
  margin-top: 36px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

@media (max-width: 820px) {
  .rd-home {
    width: calc(100% - 32px);
    max-width: 1180px;
  }

  .home main.rd-home {
    max-width: 1180px !important;
  }

  .rd-home-hero {
    padding-top: 44px;
  }

  .rd-home-hero-modern {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rd-home-grid,
  .rd-latest-grid,
  .rd-post-grid,
  .rd-affiliate-product-grid,
  .rd-shop-list ul {
    grid-template-columns: 1fr;
  }

  .rd-section-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rd-home-card,
  .rd-home-card-large {
    grid-column: auto;
    min-height: 360px;
  }

  .rd-home-card img {
    min-height: 360px;
  }

  .rd-latest > div:first-child {
    display: block;
  }

  .rd-site-footer {
    width: calc(100% - 32px);
    max-width: 1480px;
  }

  .rd-footer-inner,
  .rd-footer-nav {
    grid-template-columns: 1fr;
  }

  .rd-footer-bottom {
    display: block;
  }

  .rd-pin-home {
    width: calc(100% - 28px);
  }

  .rd-pin-hero,
  .rd-pin-section-head {
    display: block;
  }

  .rd-pin-hero {
    padding-top: 42px;
  }

  .rd-pin-hero-copy h1 {
    font-size: clamp(3.7rem, 18vw, 6.6rem);
  }

  .rd-pin-nav {
    justify-content: flex-start;
    margin-top: 22px;
  }

  .rd-pin-featured {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 58px;
  }

  .rd-pin-card-hero,
  .rd-pin-featured .rd-pin-card:not(.rd-pin-card-hero),
  .rd-pin-featured .rd-pin-card:nth-child(2),
  .rd-pin-featured .rd-pin-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .rd-pin-featured .rd-pin-card img,
  .rd-pin-featured .rd-pin-card-hero img {
    min-height: 360px;
  }

  .rd-pin-featured .rd-pin-card-hero .rd-pin-copy h3 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .rd-pin-masonry {
    column-count: 2;
    column-gap: 16px;
  }

  .rd-pin-masonry .rd-pin-card {
    margin-bottom: 16px;
  }

  .rd-pin-masonry .rd-pin-copy {
    padding: 13px;
  }
}

@media (max-width: 760px) {
  .single-post .wp-site-blocks {
    overflow-x: hidden;
  }

  .single-post main {
    padding-left: 18px;
    padding-right: 18px;
  }

  .single-post .wp-block-post-title {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
  }

  .rd-paragraph-image img,
  .rd-inline-image img {
    max-width: 100%;
  }

  .rd-product-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
  }

  .rd-affiliate-card {
    grid-template-columns: 1fr;
  }

  .rd-inline-shop-card .rd-affiliate-card {
    grid-template-columns: 1fr;
  }

  .rd-product-image {
    min-height: 220px;
  }

  .rd-product-image img {
    max-height: 300px;
  }
}

@media (max-width: 560px) {
  .rd-pin-masonry {
    column-count: 1;
  }

  .rd-pin-card a {
    border-radius: 16px;
  }

  .rd-pin-section-head h2 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }
}
