/* Homepage styles
 * Extracted for RKD Performance Audit Fixes v1.0.3.
 * Source: Additional CSS / GeneratePress Elements.
 */

body.home {
  background: #ffffff;
}

body.home .site,
body.home .site-content,
body.home .inside-article,
body.home .entry-content,
body.home .rk-home-wrap {
  background: #ffffff;
}

.rk-home-wrap {
  background: #ffffff;
}

.rk-home {
  --rk-bg: #ffffff;
  --rk-black: #101010;
  --rk-pink: #d10057;
  --rk-yellow: #f4db2d;
  --rk-accent: #d3fdf8;
  --rk-muted: #666666;
  --rk-block-gap: 36px;

  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 20px 0;
  background: #ffffff;
  color: var(--rk-black);
  font-family: "Source Sans 3", Arial, Helvetica, sans-serif;
}

.rk-home a {
  color: inherit;
  text-decoration: none;
}

.rk-section {
  margin-bottom: var(--rk-block-gap);
}

.rk-section-title,
.rk-home h2,
.rk-home h3 {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.rk-home .rk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 1.2px;
  line-height: 1;
  padding: 13px 18px;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.rk-home .rk-btn-yellow {
  background: var(--rk-yellow);
  color: #111 !important;
}

.rk-home .rk-btn:hover {
  transform: translateY(-1px);
}

/* Top Cards */
.rk-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.rk-feature-card {
  background: transparent;
  overflow: hidden;
}

.rk-feature-card .rk-term-image-link {
  display: block;
  overflow: hidden;
}

.rk-feature-card img {
  display: block;
  width: 100%;
  height: 135px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.rk-feature-card p {
  margin: 0;
  background: var(--rk-yellow);
  color: #111;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 14px;
  text-align: center;
  text-transform: lowercase;
  padding: 9px 8px;
  line-height: 1;
}

.rk-feature-card p a {
  color: #111;
  text-decoration: none;
}

/* Browse by Category */
.rk-browse-section {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #f5f5f5;
  text-align: center;
  padding: 34px max(20px, calc((100vw - 1120px) / 2 + 20px)) 30px;
  box-sizing: border-box;
}

.rk-browse-script {
  margin: 0 0 18px;
  font-family: "Ms Madi", Georgia, serif;
  font-style: italic;
  font-size: 28px;
  color: #111;
  line-height: 1;
}

.rk-circle-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px 12px;
  align-items: start;
}

.rk-circle-card {
  text-align: center;
}

.rk-circle-card .rk-term-image-link {
  display: block;
}

.rk-circle-card img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  margin: 0 auto 14px;
  border: 3px solid #f2f2f2;
}

.rk-circle-card p {
  margin: 0;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1.2;
}

.rk-circle-card p a {
  color: #111;
  text-decoration: none;
}

.rk-circle-card p a {
  display: inline-block;
}

/* About */
.rk-about-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: center;
}

.rk-about-image img {
  display: block;
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.rk-about-text h2 {
  font-size: 24px;
  margin: 0 0 12px;
}

.rk-about-text p {
  max-width: 480px;
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 18px;
}

/* Full Width Bands */
.rk-breakout {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
}

.rk-pink-band {
  background: var(--rk-pink);
  color: #fff;
}

.rk-band-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 20px;
}

/* Ebook */
.rk-ebook-band {
  margin-top: 0;
  margin-bottom: var(--rk-block-gap);
}

.rk-ebook-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.rk-ebook-book {
  width: 72px;
  height: 92px;
  background: #d9d9d9;
  box-shadow: 0 10px 18px rgba(0,0,0,.22);
  transform: rotate(-3deg);
}

.rk-ebook-inner h2 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

/* The Latest */
.rk-latest-section {
  position: relative;
  padding-bottom: 32px;
  margin-bottom: var(--rk-block-gap);
}

.rk-title-line {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 0 0 24px;
  padding-bottom: 0;
  border-bottom: 0;
  font-size: 40px;
  line-height: 1;
  white-space: nowrap;
}

.rk-title-line::after {
  content: "";
  display: block;
  flex: 1;
  height: 1px;
  background: var(--rk-accent, #d3fdf8);
  margin-top: 6px;
}

.rk-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 42px;
}

.rk-latest-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: center;
}

.rk-latest-card img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  display: block;
}

.rk-latest-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.02;
  text-transform: lowercase;
}

.rk-latest-section::after {
  content: "";
  display: block;
  width: 100%;
  height: 14px;
  margin-top: 34px;
  background-image: repeating-linear-gradient(
    135deg,
    var(--rk-accent, #d3fdf8) 0 7px,
    transparent 7px 14px
  );
}

/* Top 10 */
.rk-top10-section .rk-section-title {
  font-size: 32px;
  margin: 0 0 16px;
}

.rk-top-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  counter-reset: rkTopCounter;
}

.rk-top-card {
  position: relative;
  counter-increment: rkTopCounter;
}

.rk-top-card img {
  display: block;
  width: 100%;
  height: 185px;
  object-fit: cover;
}

.rk-top-card::after {
  content: counter(rkTopCounter);
  position: absolute;
  left: 50%;
  top: 172px;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--rk-yellow);
  color: #111;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.rk-top-card h3 {
  margin: 14px 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.15;
  text-transform: lowercase;
}

/* Viral */
.rk-viral-band {
  margin-top: 0;
  margin-bottom: var(--rk-block-gap);
}

.rk-viral-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 34px;
  align-items: center;
}

.rk-viral-image img {
  display: block;
  width: 145px;
  height: 145px;
  object-fit: cover;
  border: 5px solid #fff;
  transform: rotate(-8deg);
  box-shadow: 0 3px 8px rgba(0,0,0,.12);
}

.rk-viral-script {
  margin: 0 0 8px;
  font-family: "Ms Madi", Georgia, serif;
  font-style: italic;
  font-size: 24px;
  color: #fff;
  line-height: 1;
}

.rk-viral-text h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 24px;
}

.rk-viral-text p {
  margin: 0 0 18px;
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
}

/* Dinner / Side Dishes */
.rk-section-head {
  display: block;
  margin-bottom: 14px;
}

.rk-category-section .rk-section-title {
  margin: 0;
  font-size: 36px;
}

.rk-four-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.rk-grid-card img {
  display: block;
  width: 100%;
  height: 195px;
  object-fit: cover;
}

.rk-grid-card h3 {
  margin: 10px 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.15;
  text-transform: lowercase;
}

.rk-category-more {
  margin: 26px 0 0;
  text-align: right;
  font-family: "Source Sans 3", Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 1;
  color: #111;
}

.rk-category-more span {
  color: #111;
  font-weight: 400;
}

.rk-category-more a {
  color: var(--rk-pink) !important;
  font-weight: 400;
  text-decoration: underline !important;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

/* Reader Favorites */
.rk-reader-section {
  text-align: center;
}

.rk-reader-icon {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.rk-reader-title {
  margin: 0 0 18px;
  font-size: 24px;
  text-transform: lowercase;
}

.rk-review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.rk-review-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--rk-accent);
  text-align: center;
}

.rk-review-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
}

.rk-review-content {
  text-align: center;
}

.rk-stars {
  margin: 0 0 6px;
  font-size: 15px;
  letter-spacing: 1px;
  font-weight: 900;
}

.rk-review-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.rk-review-card p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
}

/* Seen In */
.rk-seen-section {
  padding-top: 4px;
  padding-bottom: 38px;
}

.rk-seen-label {
  margin: 0 0 18px;
  font-family: "Ms Madi", Georgia, serif;
  font-style: italic;
  font-size: 30px;
  line-height: 1;
  color: #111;
}

.rk-seen-images,
.rk-seen-logos.rk-seen-images {
  --rk-seen-gap: 48px;

  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: center;
  gap: var(--rk-seen-gap) !important;
  width: 100%;
  max-width: 100%;
}

.rk-seen-images img,
.rk-seen-logos.rk-seen-images img {
  display: block;
  width: calc((100% - var(--rk-seen-gap)) / 2) !important;
  max-width: calc((100% - var(--rk-seen-gap)) / 2) !important;
  flex: 0 0 calc((100% - var(--rk-seen-gap)) / 2) !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
  margin: 0 !important;
  padding: 0 !important;
}

/* Responsive */
@media (max-width: 900px) {
  .rk-feature-grid,
  .rk-top-grid,
  .rk-four-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rk-circle-grid {
  grid-template-columns: repeat(4, 1fr);
}

  .rk-about-section,
  .rk-viral-card,
  .rk-review-grid {
    grid-template-columns: 1fr;
  }

  .rk-latest-grid {
    grid-template-columns: 1fr;
  }

  .rk-title-line {
    font-size: 34px;
    gap: 12px;
  }

  .rk-latest-card {
    grid-template-columns: 76px 1fr;
  }

  .rk-latest-card img {
    width: 76px;
    height: 76px;
  }

  .rk-latest-card h3 {
    font-size: 22px;
  }

  .rk-ebook-inner {
    flex-direction: column;
    text-align: center;
  }

  .rk-section-head {
    display: block;
  }
	
	.rk-circle-card img {
  width: 86px;
  height: 86px;
}

.rk-circle-card p {
  font-size: 14px;
}

  .rk-viral-image img {
    margin: 0 auto;
  }
}

/* Tablet and small screens: Seen In images stacked */
@media (max-width: 700px) {
  .rk-seen-label {
    font-size: 42px;
    line-height: 1;
    margin-bottom: 20px;
  }

  .rk-seen-images,
  .rk-seen-logos.rk-seen-images {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 22px !important;
    width: 100%;
    max-width: 100%;
  }

  .rk-seen-images img,
  .rk-seen-logos.rk-seen-images img {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    height: auto !important;
    object-fit: contain;
    margin: 0 !important;
    padding: 0 !important;
  }
}

@media (max-width: 520px) {
  .rk-home {
    padding-left: 12px;
    padding-right: 12px;
  }

  .rk-category-more {
    text-align: right;
    font-size: 18px;
  }

  .rk-feature-card img {
    height: 110px;
  }

  .rk-title-line {
    font-size: 30px;
  }

  .rk-latest-card h3 {
    font-size: 20px;
  }

  .rk-latest-section::after {
    height: 12px;
    margin-top: 28px;
  }
	
	.rk-circle-card img {
  width: 78px;
  height: 78px;
  margin-bottom: 10px;
}

.rk-circle-card p {
  font-size: 13px;
  letter-spacing: 0.4px;
}
	
	.rk-circle-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 10px;
}

  .rk-about-image img {
    height: 240px;
  }

  .rk-top-card img,
  .rk-grid-card img {
    height: 160px;
  }

  .rk-top-card::after {
    top: 147px;
  }

  .rk-review-card {
    grid-template-columns: 1fr;
  }

  .rk-seen-label {
    font-size: 38px;
  }

  .rk-seen-images,
  .rk-seen-logos.rk-seen-images {
    gap: 18px !important;
  }
}


/* Top Cards + Browse Category Hover Upgrade */

/* Top Cards: bigger images, square-friendly, smooth zoom */
.rk-feature-card .rk-term-image-link {
  display: block;
  overflow: hidden;
  background: #f5f5f5;
}

.rk-feature-card .rk-term-image-link {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f5f5f5;
}

.rk-feature-card img {
  display: block;
  width: 100%;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.rk-feature-card:hover img,
.rk-feature-card .rk-term-image-link:hover img {
  transform: scale(1.07);
}

.rk-feature-card p {
  margin: 0;
  background: var(--rk-yellow, #f4db2d);
  color: #111;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 18px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 13px 8px;
  line-height: 1.1;
  overflow: hidden;
}

.rk-feature-card p a {
  display: inline-block;
  color: #111;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.rk-feature-card p:hover a,
.rk-feature-card p a:hover {
  transform: scale(1.08);
}

/* Browse by Category: bigger icons + uppercase names + smooth zoom */
.rk-circle-card .rk-term-image-link {
  display: block;
  width: 118px;
  height: 118px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  border: 3px solid #f2f2f2;
}

.rk-circle-card img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.rk-circle-card:hover img,
.rk-circle-card .rk-term-image-link:hover img {
  transform: scale(1.12);
}

.rk-circle-card p a {
  display: inline-block;
  color: #111;
  text-decoration: none;
  transition: transform 0.25s ease, color 0.25s ease;
}

.rk-circle-card p:hover a,
.rk-circle-card p a:hover {
  transform: scale(1.08);
  color: var(--rk-pink, #d10057);
}

/* Tablet */
@media (max-width: 900px) {
  .rk-feature-card p {
    font-size: 16px;
    padding: 12px 8px;
  }

  .rk-circle-card .rk-term-image-link {
    width: 86px;
    height: 86px;
  }

  .rk-circle-card p {
    font-size: 14px;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .rk-feature-card p {
    font-size: 14px;
    padding: 10px 6px;
  }

  .rk-circle-card .rk-term-image-link {
    width: 88px;
    height: 88px;
    margin-bottom: 10px;
  }

}

/* The Latest: bigger images + smooth zoom + title case */
.rk-latest-card {
  grid-template-columns: 112px 1fr;
  gap: 22px;
}

.rk-latest-card > a {
  display: block;
  width: 112px;
  height: 112px;
  overflow: hidden;
  background: #f5f5f5;
}

.rk-latest-card img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.rk-latest-card:hover img,
.rk-latest-card > a:hover img {
  transform: scale(1.08);
}

.rk-latest-card h3 {
  text-transform: capitalize;
  overflow: hidden;
}

.rk-latest-card h3 a {
  display: inline-block;
  color: #111;
  text-decoration: none;
  transition: transform 0.25s ease, color 0.25s ease;
  transform-origin: left center;
}

.rk-latest-card:hover h3 a,
.rk-latest-card h3 a:hover {
  transform: scale(1.05);
  color: var(--rk-pink, #d10057);
}

/* Tablet */
@media (max-width: 900px) {
  .rk-latest-card {
    grid-template-columns: 92px 1fr;
    gap: 18px;
  }

  .rk-latest-card > a,
  .rk-latest-card img {
    width: 92px;
    height: 92px;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .rk-latest-card {
    grid-template-columns: 82px 1fr;
    gap: 14px;
  }

  .rk-latest-card > a,
  .rk-latest-card img {
    width: 82px;
    height: 82px;
  }

  .rk-latest-card:hover h3 a,
  .rk-latest-card h3 a:hover {
    transform: scale(1.03);
  }
}

/* Top 10 Recipes: 2:3 images + smooth zoom + title case */
.rk-top-card {
  position: relative;
  overflow: visible;
}

.rk-top-card > a {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #f5f5f5;
}

.rk-top-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.rk-top-card:hover img,
.rk-top-card > a:hover img {
  transform: scale(1.08);
}

/* Hide old number position */
.rk-top-card::after {
  display: none;
}

/* New number badge inside image */
.rk-top-card > a::after {
  content: counter(rkTopCounter);
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--rk-yellow, #f4db2d);
  color: #111;
  display: grid;
  place-items: center;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  z-index: 2;
}

.rk-top-card h3 {
  margin: 12px 0 0;
  text-align: center;
  font-size: 17px;
  line-height: 1.15;
  text-transform: capitalize;
  overflow: hidden;
}

.rk-top-card h3 a {
  display: inline-block;
  color: #111;
  text-decoration: none;
  transition: transform 0.25s ease, color 0.25s ease;
}

.rk-top-card:hover h3 a,
.rk-top-card h3 a:hover {
  transform: scale(1.05);
  color: var(--rk-pink, #d10057);
}

/* Tablet */
@media (max-width: 900px) {
  .rk-top-card > a::after {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .rk-top-card h3 {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .rk-top-card > a::after {
    width: 28px;
    height: 28px;
    bottom: 8px;
    font-size: 12px;
  }

  .rk-top-card h3 {
    font-size: 15px;
  }

  .rk-top-card:hover h3 a,
  .rk-top-card h3 a:hover {
    transform: scale(1.03);
  }
}

/* Viral Recipe: double size + button zoom out */
.rk-viral-band .rk-band-inner {
  padding-top: 68px;
  padding-bottom: 68px;
}

.rk-viral-card {
  grid-template-columns: 340px 1fr;
  gap: 68px;
  align-items: center;
}

.rk-viral-image img {
  width: 290px;
  height: 290px;
  object-fit: cover;
  border: 8px solid #ffffff;
  transform: rotate(-8deg);
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.rk-viral-image img:hover {
  transform: rotate(-8deg) scale(1.04);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.rk-viral-script {
  font-size: 34px;
  margin-bottom: 16px;
}

.rk-viral-text h2 {
  font-size: 44px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.rk-viral-text p {
  font-size: 20px;
  line-height: 1.65;
  max-width: 900px;
  margin-bottom: 28px;
}

.rk-viral-text .rk-btn {
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 2px;
  padding: 18px 28px;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.rk-viral-text .rk-btn:hover {
  transform: scale(0.94);
}

@media (max-width: 900px) {
  .rk-viral-band .rk-band-inner {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .rk-viral-card {
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
  }

  .rk-viral-image img {
    width: 230px;
    height: 230px;
    margin: 0 auto;
  }

  .rk-viral-text h2 {
    font-size: 34px;
  }

  .rk-viral-text p {
    font-size: 18px;
  }
}

@media (max-width: 520px) {
  .rk-viral-band .rk-band-inner {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .rk-viral-image img {
    width: 190px;
    height: 190px;
  }

  .rk-viral-script {
    font-size: 28px;
  }

  .rk-viral-text h2 {
    font-size: 28px;
  }

  .rk-viral-text p {
    font-size: 16px;
  }

  .rk-viral-text .rk-btn {
    font-size: 13px;
    padding: 15px 22px;
  }
}

/* Dinner + Side Dishes: 2:3 images + smooth zoom + title case */
.rk-category-section .rk-grid-card {
  overflow: visible;
}

.rk-category-section .rk-grid-card > a {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #f5f5f5;
}

.rk-category-section .rk-grid-card img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.rk-category-section .rk-grid-card:hover img,
.rk-category-section .rk-grid-card > a:hover img {
  transform: scale(1.08);
}

.rk-category-section .rk-grid-card h3 {
  margin: 12px 0 0;
  text-align: center;
  font-size: 17px;
  line-height: 1.15;
  text-transform: capitalize;
  overflow: hidden;
}

.rk-category-section .rk-grid-card h3 a {
  display: inline-block;
  color: #111;
  text-decoration: none;
  transition: transform 0.25s ease, color 0.25s ease;
}

.rk-category-section .rk-grid-card:hover h3 a,
.rk-category-section .rk-grid-card h3 a:hover {
  transform: scale(1.05);
  color: var(--rk-pink, #d10057);
}

/* Tablet */
@media (max-width: 900px) {
  .rk-category-section .rk-grid-card h3 {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .rk-category-section .rk-grid-card h3 {
    font-size: 15px;
  }

  .rk-category-section .rk-grid-card:hover h3 a,
  .rk-category-section .rk-grid-card h3 a:hover {
    transform: scale(1.03);
  }
}

/* Reader Favorites Upgrade */
.rk-reader-icon {
  margin: 0 0 10px;
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  color: var(--rk-pink, #d10057);
}

.rk-reader-title {
  margin: 0 0 24px;
  font-size: 34px;
  line-height: 1;
  text-transform: capitalize;
}

/* Keep reader favorite cards clean and balanced */
.rk-review-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 26px;
  padding: 34px;
  border: 2px solid var(--rk-accent, #d3fdf8);
  text-align: center;
}

/* Big circle images */
.rk-review-card > a {
  display: block;
  width: 150px;
  height: 150px;
  overflow: hidden;
  border-radius: 50%;
  background: #f5f5f5;
  justify-self: center;
}

.rk-review-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  transition: transform 0.35s ease;
}

.rk-review-card:hover img,
.rk-review-card > a:hover img {
  transform: scale(1.08);
}

.rk-stars {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: 2px;
  font-weight: 900;
  color: #111;
}

.rk-review-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.15;
  text-transform: capitalize;
  overflow: hidden;
}

.rk-review-card h3 a {
  display: inline-block;
  color: #111;
  text-decoration: none;
  transition: transform 0.25s ease, color 0.25s ease;
}

.rk-review-card:hover h3 a,
.rk-review-card h3 a:hover {
  transform: scale(1.05);
  color: var(--rk-pink, #d10057);
}

.rk-review-card p {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.65;
}

/* GET RECIPE button like viral recipe: bold + zoom out */
.rk-reader-section .rk-btn {
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 2px;
  padding: 18px 28px;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.rk-reader-section .rk-btn:hover {
  transform: scale(0.94);
}

/* Tablet */
@media (max-width: 900px) {
  .rk-review-card {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .rk-review-card > a,
  .rk-review-card img {
    width: 140px;
    height: 140px;
  }

  .rk-review-card h3 {
    font-size: 22px;
  }

  .rk-review-card p {
    font-size: 17px;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .rk-reader-icon {
    font-size: 36px;
  }

  .rk-reader-title {
    font-size: 28px;
  }

  .rk-review-card {
    padding: 26px 18px;
  }

  .rk-review-card > a,
  .rk-review-card img {
    width: 120px;
    height: 120px;
  }

  .rk-stars {
    font-size: 18px;
  }

  .rk-review-card h3 {
    font-size: 20px;
  }

  .rk-review-card p {
    font-size: 16px;
  }

  .rk-reader-section .rk-btn {
    font-size: 13px;
    padding: 15px 22px;
  }

  .rk-reader-section .rk-btn:hover {
    transform: scale(0.96);
  }
}

/* About + Ebook buttons: bold + zoom out */
.rk-about-text .rk-btn,
.rk-ebook-inner .rk-btn {
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 2px;
  padding: 18px 28px;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.rk-about-text .rk-btn:hover,
.rk-ebook-inner .rk-btn:hover {
  transform: scale(0.94);
}

/* Ebook section: double size like Viral Recipe */
.rk-ebook-band .rk-band-inner {
  padding-top: 68px;
  padding-bottom: 68px;
}

.rk-ebook-inner {
  gap: 48px;
}

.rk-ebook-book {
  width: 144px;
  height: 184px;
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
  transform: rotate(-3deg);
}

.rk-ebook-inner h2 {
  font-size: 44px;
  line-height: 1.1;
  font-weight: 900;
}

/* Tablet */
@media (max-width: 900px) {
  .rk-ebook-band .rk-band-inner {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .rk-ebook-inner {
    gap: 28px;
  }

  .rk-ebook-book {
    width: 120px;
    height: 154px;
  }

  .rk-ebook-inner h2 {
    font-size: 34px;
    text-align: center;
  }

  .rk-about-text .rk-btn,
  .rk-ebook-inner .rk-btn {
    font-size: 14px;
    padding: 16px 24px;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .rk-ebook-band .rk-band-inner {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .rk-ebook-book {
    width: 96px;
    height: 124px;
  }

  .rk-ebook-inner h2 {
    font-size: 28px;
  }

  .rk-about-text .rk-btn,
  .rk-ebook-inner .rk-btn {
    font-size: 13px;
    padding: 15px 22px;
  }

  .rk-about-text .rk-btn:hover,
  .rk-ebook-inner .rk-btn:hover {
    transform: scale(0.96);
  }
}

/* Ebook image only: make image bigger without increasing the block */
.rk-ebook-book {
  transform: rotate(-3deg) scale(1.35);
  transform-origin: center center;
}

/* Keep enough space between ebook image and text */
.rk-ebook-inner {
  gap: 76px;
}

/* Tablet */
@media (max-width: 900px) {
  .rk-ebook-book {
    transform: rotate(-3deg) scale(1.22);
  }

  .rk-ebook-inner {
    gap: 42px;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .rk-ebook-book {
    transform: rotate(-3deg) scale(1.12);
  }

  .rk-ebook-inner {
    gap: 28px;
  }
}

/* Mobile Browse by Category: center last row even if only 1 or 2 icons */
@media (max-width: 520px) {
  .rk-circle-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 18px 10px !important;
    width: 100% !important;
  }

  .rk-circle-card {
    flex: 0 0 calc((100% - 20px) / 3) !important;
    max-width: calc((100% - 20px) / 3) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .rk-circle-card .rk-term-image-link {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .rk-circle-card p,
  .rk-circle-card p a {
    text-align: center !important;
  }
}

/* Blue wavy title line for Latest, Top 10, Dinner, Side Dishes */
.rk-title-line,
.rk-top10-section .rk-section-title,
.rk-category-section .rk-section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  white-space: nowrap;
}

.rk-title-line::after,
.rk-top10-section .rk-section-title::after,
.rk-category-section .rk-section-title::after {
  content: "";
  display: block;
  flex: 1;
  height: 10px;
  margin-top: 6px;
  background-color: var(--rk-accent, #d3fdf8);

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='48' height='10' viewBox='0 0 48 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 5 Q6 1 12 5 T24 5 T36 5 T48 5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg width='48' height='10' viewBox='0 0 48 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 5 Q6 1 12 5 T24 5 T36 5 T48 5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");

  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;

  -webkit-mask-size: 48px 10px;
  mask-size: 48px 10px;

  -webkit-mask-position: center;
  mask-position: center;
}

/* Latest Recipes bottom striped line: blue accent */
.rk-latest-section::after {
  background-image: repeating-linear-gradient(
    135deg,
    var(--rk-accent, #d3fdf8) 0 7px,
    transparent 7px 14px
  ) !important;
}

/* Smooth zoom-out hover for See more Dinner and See more Side Dishes */
.rk-home .rk-category-section a[href*="/category/dinner/"],
.rk-home .rk-category-section a[href*="/category/side-dishes/"] {
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease;
  transform-origin: center;
  will-change: transform;
}

.rk-home .rk-category-section a[href*="/category/dinner/"]:hover,
.rk-home .rk-category-section a[href*="/category/side-dishes/"]:hover {
  transform: scale(0.94);
  color: var(--rk-pink, #d10057);
}

/* Top 10 Recipes section title size */
.rk-home .rk-top10-section .rk-section-title {
  font-size: 36px !important;
}

/* Top 10 Recipes section title size on mobile */
@media (max-width: 520px) {
  .rk-home .rk-top10-section .rk-section-title {
    font-size: 30px !important;
  }
}

/* Latest Recipes section title size */
.rk-home .rk-latest-section .rk-title-line {
  font-size: 36px !important;
}

@media (max-width: 520px) {
  .rk-home .rk-latest-section .rk-title-line {
    font-size: 30px !important;
  }
}
/* Ebook Block Final Stable Version */
.rk-ebook-band {
  margin-top: 0 !important;
  margin-bottom: var(--rk-block-gap, 36px) !important;
}

.rk-ebook-band .rk-band-inner {
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 68px 20px !important;
  box-sizing: border-box !important;
}

.rk-ebook-inner {
  display: grid !important;
  grid-template-columns: 280px minmax(0, 1fr) auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 56px !important;
}

/* Ebook image */
.rk-ebook-book {
  width: 260px !important;
  height: auto !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  transform: rotate(-3deg) !important;
  justify-self: center !important;
}

.rk-ebook-book img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  box-shadow: 0 14px 28px rgba(0,0,0,.22) !important;
}

/* Ebook title */
.rk-ebook-inner h2 {
  margin: 0 !important;
  color: #ffffff !important;
  font-family: "Poppins", Arial, Helvetica, sans-serif !important;
  font-size: 44px !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.5px !important;
}

/* Order Now button in one line */
.rk-ebook-inner .rk-btn,
.rk-ebook-inner .rk-btn-yellow {
  width: auto !important;
  min-width: 190px !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px 28px !important;
  background: var(--rk-yellow, #f4db2d) !important;
  color: #101010 !important;
  font-family: "Poppins", Arial, Helvetica, sans-serif !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: 2px !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

.rk-ebook-inner .rk-btn:hover,
.rk-ebook-inner .rk-btn-yellow:hover {
  background: #f8f8f8 !important;
  color: #101010 !important;
  box-shadow: inset 0 0 0 2px #101010 !important;
  transform: scale(0.94) !important;
}

/* Tablet */
@media (max-width: 900px) {
  .rk-ebook-band .rk-band-inner {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }

  .rk-ebook-inner {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    text-align: center !important;
  }

  .rk-ebook-book {
    width: 175px !important;
  }

  .rk-ebook-inner h2 {
    font-size: 34px !important;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .rk-ebook-band .rk-band-inner {
    padding: 42px 16px !important;
  }

  .rk-ebook-inner {
    gap: 24px !important;
  }

  .rk-ebook-book {
    width: 145px !important;
  }

  .rk-ebook-inner h2 {
    font-size: 28px !important;
    line-height: 1.15 !important;
  }

  .rk-ebook-inner .rk-btn,
  .rk-ebook-inner .rk-btn-yellow {
    min-width: 170px !important;
    max-width: 100% !important;
    font-size: 13px !important;
    padding: 15px 24px !important;
    white-space: nowrap !important;
  }

  .rk-ebook-inner .rk-btn:hover,
  .rk-ebook-inner .rk-btn-yellow:hover {
    transform: scale(0.96) !important;
  }
}

/* Ebook Block: reduce pink background vertical space */
.rk-ebook-band .rk-band-inner {
  padding-top: 36px !important;
  padding-bottom: 36px !important;
}

/* Ebook Block mobile spacing */
@media (max-width: 520px) {
  .rk-ebook-band .rk-band-inner {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }
}

/* =========================================================
   Homepage About Block - Image Left + Clean Pinterest Button
   ========================================================= */

body.home .rk-home-about-card {
  display: grid !important;
  grid-template-columns: .95fr 1.05fr !important;
  gap: 52px !important;
  align-items: center !important;
  background: #d3fdf8 !important;
  border: 2px solid #101010 !important;
  padding: 58px 46px !important;
  margin-bottom: var(--rk-block-gap, 36px) !important;
}

body.home .rk-home-about-card .rk-about-image {
  order: 1 !important;
  width: 100% !important;
}

body.home .rk-home-about-card .rk-about-text {
  order: 2 !important;
  max-width: 650px !important;
}

body.home .rk-home-about-card h2 {
  margin: 0 0 22px !important;
  font-family: "Poppins", Arial, sans-serif !important;
  font-size: 54px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -1px !important;
  color: #101010 !important;
}

body.home .rk-home-about-card p {
  margin: 0 0 30px !important;
  font-family: "Source Sans 3", Arial, sans-serif !important;
  font-size: 19px !important;
  line-height: 1.72 !important;
  color: #101010 !important;
}

body.home .rk-home-about-card .rk-about-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 10 / 9 !important;
  object-fit: cover !important;
  object-position: center center !important;
  border: 2px solid #101010 !important;
  background: #f5f5f5 !important;
  box-shadow: none !important;
}

body.home .rk-home-about-card .rk-about-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 14px !important;
  margin-top: 4px !important;
}

body.home .rk-home-about-card .rk-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 16px 22px !important;
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: "Poppins", Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 1.3px !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease, color .25s ease !important;
}

body.home .rk-home-about-card .rk-btn-yellow {
  background: #f4db2d !important;
  color: #101010 !important;
}

body.home .rk-home-about-card .rk-btn-pinterest {
  gap: 9px !important;
  background: #d10057 !important;
  color: #ffffff !important;
}

body.home .rk-home-about-card .rk-pinterest-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 15px !important;
  height: 15px !important;
  flex: 0 0 15px !important;
}

body.home .rk-home-about-card .rk-pinterest-icon svg {
  display: block !important;
  width: 15px !important;
  height: 15px !important;
  fill: currentColor !important;
}

body.home .rk-home-about-card .rk-btn-pinterest .gb-shape {
  display: none !important;
}

body.home .rk-home-about-card .rk-btn:hover {
  background: #f8f8f8 !important;
  color: #101010 !important;
  box-shadow: inset 0 0 0 2px #101010 !important;
  transform: scale(.96) !important;
}

/* Tablet */
@media (max-width: 960px) {
  body.home .rk-home-about-card {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
    padding: 46px 28px !important;
  }

  body.home .rk-home-about-card .rk-about-image {
    order: 1 !important;
  }

  body.home .rk-home-about-card .rk-about-text {
    order: 2 !important;
    max-width: 100% !important;
  }

  body.home .rk-home-about-card h2 {
    font-size: 44px !important;
  }
}

/* Mobile */
@media (max-width: 520px) {
  body.home .rk-home-about-card {
    padding: 36px 18px !important;
    gap: 28px !important;
    margin-bottom: var(--rk-block-gap, 32px) !important;
  }

  body.home .rk-home-about-card h2 {
    font-size: 36px !important;
  }

  body.home .rk-home-about-card p {
    font-size: 16px !important;
    line-height: 1.65 !important;
    margin-bottom: 24px !important;
  }

  body.home .rk-home-about-card .rk-about-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  body.home .rk-home-about-card .rk-btn {
    width: 100% !important;
  }
}
