/*
Theme Name: HungryHop Blog
Theme URI: https://hungryhop.com
Author: HungryHop
Author URI: https://hungryhop.com
Description: Dynamic, mobile-responsive WordPress theme for HungryHop blog — converted from Figma design.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: hungryhop
*/

/* =============================================
   CSS VARIABLES
============================================= */
:root {
  --color-primary: #e37416;
  --color-primary-dark: #e37517;
  --color-amber: #faa932;
  --color-bg: #fdfbfa;
  --color-bg-light: #f3f2f3;
  --color-bg-gray: #f5f5f5;
  --color-white: #ffffff;
  --color-text-dark: #141414;
  --color-text-body: #474d5d;
  --color-text-muted: #5b5b5b;
  --color-black: #000000;
  --color-border: #ccc;
  --color-divider: #c0c0c0;
  --color-line: #d9d9d9;
  --color-star: #FAA932;
  --color-pill-active-bg: #fcf2ea;
  --color-pill-inactive-bg: #f7f7f7;
  --color-pill-inactive-border: #858585;
  --color-dot: #edebed;
  --font-primary: 'Open Sans', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  --max-width: 1920px;
  --container-pad: 120px;
  --hero-pad: 187px;
  --radius-card: 16px;
  --radius-img: 8px;
  --radius-pill: 9999px;
  --radius-banner: 45px;
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  font-family: var(--font-primary);
  background: var(--color-white);
  color: var(--color-text-dark);
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* =============================================
   LAYOUT
============================================= */
.hh-page {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--color-white);
  overflow-x: hidden;
}

.hh-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* =============================================
   HERO SECTION
============================================= */
.hh-hero {
  width: 100%;
  height: 590px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hh-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hh-hero__content {
  position: relative;
  z-index: 1;
  padding: 20px var(--hero-pad);
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  padding-top: 100px;
}

.hh-hero__title {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 60px;
  color: white;
  letter-spacing: 1.28px;
  line-height: 57.6px;
  max-width: 869px;
  word-break: break-word;
}

.hh-hero__subtitle {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 20px;
  color: white;
  letter-spacing: 0.48px;
  line-height: 29px;
}

.hh-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-dark);
  color: white;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 20px;
  border-radius: var(--radius-pill);
  text-transform: capitalize;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  transition: opacity 0.2s, transform 0.2s;
}

.hh-btn-primary:hover {
  /*opacity: 0.92;*/
  /*transform: translateY(-1px);*/
  background: #73B000;
}
a.hh-btn-primary
{
  color: #fff !important;
  text-decoration: none !important;
}

/* =============================================
   FEATURED BLOGS
============================================= */
.hh-featured {
  background: var(--color-bg-light);
  width: 100%;
  padding: 40px var(--container-pad);
}

.hh-section-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 38px;
  color: var(--color-primary);
  text-transform: capitalize;
  text-align: center;
  line-height: 62px;
  margin-bottom: 40px;
}

/* Featured carousel */
.hh-featured-carousel {
  width: 100%;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

.hh-featured-carousel.is-dragging,
.hh-featured-carousel.is-dragging a {
  cursor: grabbing;
}

.hh-featured-viewport {
  width: 100%;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.hh-featured-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.hh-featured-carousel.is-animating .hh-featured-track {
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.hh-featured-carousel.is-dragging .hh-featured-track {
  transition: none !important;
}

.hh-featured-slide {
  flex: 0 0 auto;
  display: flex;
  min-width: 0;
  transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              max-width 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.hh-featured-carousel.is-dragging .hh-featured-slide {
  transition: none;
}

/* Active = large horizontal card; inactive = small peek card */
.hh-featured-slide .hh-blog-card--featured {
  display: none;
  width: 100%;
}

.hh-featured-slide .hh-featured-slide__peek {
  display: flex;
}

.hh-featured-slide.is-active {
  width: calc(100% - 425px);
  max-width: calc(100% - 425px);
}

.hh-featured-slide.is-active .hh-blog-card--featured {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.hh-featured-slide.is-active .hh-featured-slide__peek {
  display: none;
}

.hh-featured-slide:not(.is-active) {
  width: 405px;
}

.hh-blog-card--featured {
  background: white;
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 20px;
  flex: 1;
  position: relative;
  min-width: 0;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.hh-blog-card--featured .hh-blog-card__image {
  flex: 1 1 50%;
  min-width: 0;
  height: 478px;
  border-radius: 10px;
  overflow: hidden;
  background: #6c6c6c;
}

.hh-blog-card--featured .hh-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hh-blog-card--featured .hh-blog-card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 50%;
  min-width: 0;
  padding-bottom: 28px;
}

.hh-blog-card__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 38px;
  color: var(--color-text-dark);
  line-height: normal;
  margin-bottom: 20px;
}

.hh-blog-card__title a {
  color: #000 !important;
}

.hh-blog-card__excerpt {
  font-family: var(--font-primary);
  font-size: 21px;
  font-weight: 400;
  color: var(--color-text-body);
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hh-blog-card__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 20px;
  gap: 16px;
}

.hh-blog-card__author {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.hh-blog-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  background: #b6b6b6;
  flex-shrink: 0;
}

.hh-blog-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hh-blog-card__author-name {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text-dark);
  line-height: 25px;
}

.hh-blog-card__date {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-body);
  line-height: 19px;
}

.hh-blog-card__stars {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: 150px;
}

.hh-blog-card__stars--card {
  margin-top: 10px;
}

.hh-stars {
  display: flex;
  align-items: center;
}

.hh-stars svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.hh-reviews {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-text-muted);
  text-transform: capitalize;
  white-space: nowrap;
}

.hh-featured-slide.is-active:last-child,
.hh-featured-slide.is-active:only-child {
  width: 100%;
  max-width: 100%;
}

/* Web: corner cut (page bg) + centered white oval pill */
.hh-blog-card__pagination {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 156px;
  height: 50px;
  background: #f3f2f3;
  border-top-left-radius: 28px;
  border-bottom-right-radius: 16px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 8px 10px 6px 14px;
  box-sizing: border-box;
  z-index: 5;
  pointer-events: auto;
}

.hh-blog-card__pagination .hh-dots-pill,
.hh-dots-pill {
  background: #ffffff !important;
  border-radius: 999px !important;
  height: 36px !important;
  min-height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  padding: 0 5px !important;
  margin: 0 auto;
  box-shadow: none;
  border: none;
  flex: 0 0 auto;
}
.hh-dot {
  animation: none !important;
}

.hh-blog-card__pagination .hh-dot {
  pointer-events: auto;
  cursor: pointer;
}

/* Mobile: centered capsule below carousel (hidden on desktop) */
.hh-featured-dots {
  display: none;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
  background: transparent;
  padding: 0;
  height: auto;
}

.hh-dots-pill--mobile {
  background: #edebed !important;
  border-radius: 999px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 18px !important;
  gap: 8px;
}

/* Dots — no width transition (that caused the “dancing”) */
.hh-featured-carousel button.hh-dot,
.hh-dots-pill button.hh-dot,
button.hh-dot.hh-dot,
.hh-dot {
  display: block !important;
  box-sizing: border-box !important;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  min-height: 14px !important;
  max-height: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #d0ccd0 !important;
  flex: 0 0 14px !important;
  line-height: 0 !important;
  font-size: 0 !important;
  overflow: hidden !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
  vertical-align: middle;
}

/* Active = wide orange line (pill), not a circle */
.hh-featured-carousel button.hh-dot.hh-dot--active,
.hh-dots-pill button.hh-dot.hh-dot--active,
button.hh-dot.hh-dot--active,
.hh-dot.hh-dot--active {
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  height: 14px !important;
  min-height: 14px !important;
  max-height: 14px !important;
  flex: 0 0 36px !important;
  border-radius: 999px !important;
  background: #e37416 !important;
}

.hh-dots-pill--mobile .hh-dot {
  background: #cfcacf !important;
}

.hh-dots-pill--mobile .hh-dot.hh-dot--active {
  background: #e37416 !important;
}

/* Small blog card */
.hh-blog-card--small {
  background: white;
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  width: 405px;
  max-width: 100%;
  min-height: 420px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.04);
  position: relative;
  cursor: pointer;
}

.hh-featured-slide__peek {
  width: 405px;
  height: 100%;
}

.hh-blog-card--small .hh-blog-card__image {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: #6c6c6c;
  flex-shrink: 0;
}

.hh-blog-card--small .hh-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hh-blog-card__body-small {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  margin-top: 20px;
}

.hh-blog-card--small .hh-blog-card__title {
  font-size: 18px;
  line-height: 25px;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hh-blog-card--small .hh-blog-card__excerpt {
  font-size: 13px;
  line-height: 19px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 0;
}

.hh-blog-card__body-small .hh-spacer {
  flex: 1;
}

.hh-blog-card--small .hh-blog-card__author {
  width: 100%;
  margin-top: auto;
  padding-top: 12px;
  align-items: center;
}

/* =============================================
   BLOGS GRID + FILTER
============================================= */
.hh-no-posts {
  text-align: center;
  font-family: var(--font-primary);
  font-size: 18px;
  color: var(--color-text-body);
  padding: 60px 0;
  width: 100%;
}

.hh-blogs {
  background: var(--color-bg-light);
  width: 100%;
  padding: 0 var(--container-pad) 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.hh-blogs__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 38px;
  color: var(--color-primary);
  text-transform: capitalize;
  line-height: 62px;
  text-align: center;
}

.hh-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: 100%;
}

.hh-category-pill {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  background: var(--color-pill-inactive-bg);
  border: 1px solid var(--color-pill-inactive-border);
  color: var(--color-pill-inactive-border);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.hh-category-pill:hover,
.hh-category-pill--active {
  background: var(--color-pill-active-bg);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.hh-blog-grid-wrap {
  width: 100%;
  transition: opacity 0.2s;
}

.hh-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.hh-blog-grid .hh-blog-card--small {
  width: 100%;
  max-width: none;
  min-width: 0;
  flex-shrink: 1;
}

/* =============================================
   MEHKO ARTICLE (home)
============================================= */
.hh-article,
.hh-mehko {
  background: var(--color-white);
  padding: 40px var(--hero-pad);
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hh-mehko__head {
  width: 100%;
  text-align: center;
}

.hh-article__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 38px;
  line-height: 62px;
  color: var(--color-text-dark);
  text-align: center;
}

.hh-article__body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 19px;
  color: #121212;
  width: 100%;
}

.hh-article__banner {
  width: 100%;
  border-radius: var(--radius-banner);
  overflow: hidden;
}

.hh-article__banner img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-banner);
  object-fit: cover;
}

/* =============================================
   CATEGORY / COLLECTION PAGE
============================================= */
.hh-category-page {
  background: var(--color-bg-light);
}

.hh-blog-category {
  background: var(--color-bg-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 80px var(--container-pad) 40px;
  width: 100%;
}

.hh-category-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 38px;
  line-height: 62px;
  color: var(--color-primary);
  text-transform: capitalize;
  text-align: center;
}

.hh-category-grid-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hh-rise {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.hh-rise__heading {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 38px;
  line-height: 62px;
  color: var(--color-primary);
  text-transform: capitalize;
}

.hh-rise__para {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 18px;
  line-height: normal;
  color: var(--color-text-body);
}

.hh-read-more,
.hh-read-more-wrap a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-amber);
  border-radius: var(--radius-pill);
  padding: 20px 28px;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 24px;
  color: white !important;
  text-transform: capitalize;
  transition: opacity 0.2s;
}

.hh-read-more:hover {
  opacity: 0.92;
}

.hh-pagination {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hh-pagination .page-numbers {
  display: flex;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.hh-pagination .page-numbers li a,
.hh-pagination .page-numbers li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-text-body);
  font-family: var(--font-secondary);
  font-weight: 500;
}

.hh-pagination .page-numbers li .current {
  background: var(--color-primary);
  color: white;
}

/* =============================================
   SINGLE POST (informational + recipe)
============================================= */
.hh-single-page {
  background: var(--color-bg-light);
  overflow: visible;
}

.hh-blog-page {
  background: var(--color-bg-light);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 130px var(--container-pad) 40px;
  width: 100%;
  overflow: visible;
}

.hh-post-article {
  flex: 1 1 auto;
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
}

.hh-post-article__header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.hh-post-article__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.3;
  color: var(--color-primary);
  text-transform: capitalize;
  word-break: break-word;
}

.hh-post-article__intro {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.45;
  color: var(--color-text-dark);
  margin: 0;
}

.hh-post-article__intro a {
  color: #2563eb;
  text-decoration: underline;
}

.hh-post-article__byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
}

.hh-byline__name {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 18px;
  line-height: 25px;
  color: var(--color-text-dark);
}

.hh-byline__date {
  font-family: var(--font-primary);
  font-size: 13px;
  line-height: 19px;
  color: var(--color-text-dark);
}

.hh-byline__socials {
  display: flex;
  align-items: center;
  gap: 14px;
  /*margin-left: auto;*/
}

.hh-byline__socials a {
  width: 28px;
  height: 28px;
  display: block;
}

.hh-byline__socials img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hh-post-article__body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.hh-post-article__hero {
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #6c6c6c;
}

.hh-post-article__hero img {
  width: 100%;
  height: auto;
  max-height: 709px;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.hh-post-article__hero--2 img {
  max-height: 465px;
}

.hh-post-content {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-text-dark);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hh-post-content h2,
.hh-article-block__h2 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 28px;
  color: var(--color-black);
  margin: 20px 0 10px;
}

.hh-post-content p,
.hh-article-block__p {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-text-dark);
}

.hh-post-content ul,
.hh-post-content ol {
  list-style: disc;
  padding-left: 27px;
}

.hh-post-content li {
  margin-bottom: 6px;
}

.hh-post-content img {
  border-radius: var(--radius-card);
  margin: 10px 0;
}

.hh-article-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Sidebar */
.hh-sidebar {
  width: 440px;
  flex-shrink: 0;
  align-self: flex-start;
  position: sticky;
  top: 110px;
  z-index: 2;
}

.hh-sidebar__sticky {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hh-app-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.hh-app-card__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 400 / 377;
}

.hh-app-card__circle {
  position: absolute;
  left: 15%;
  top: 16%;
  width: 69%;
  height: 73%;
  border-radius: 50%;
  background: var(--color-amber);
}

.hh-app-card__phone {
  position: absolute;
  inset: 0;
}

.hh-app-card__phone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hh-app-card__heading {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 28px;
  line-height: normal;
  color: var(--color-black);
}

.hh-app-card__sub {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-text-dark);
}

.hh-app-card__badges {
  display: flex;
  gap: 20px;
  width: 100%;
}

.hh-app-card__badges a {
  flex: 1;
}

.hh-app-card__badges img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hh-seller-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 260px;
  background: #111;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.06);
}

.hh-seller-card__bg {
  position: absolute;
  inset: 0;
}

.hh-seller-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hh-seller-card__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.45) 42%,
    rgba(0, 0, 0, 0.12) 72%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

.hh-seller-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 0px 25px 0px;
  max-width: 78%;
  min-height: 260px;
  justify-content: center;
}

.hh-seller-card__heading {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
  color: #fff;
  margin: 0;
}

.hh-seller-card__sub {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  max-width: 240px;
}

.hh-seller-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  background: var(--color-primary-dark);
  border-radius: var(--radius-pill);
  padding: 14px 22px;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.hh-seller-card__btn:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

.hh-sidebar__socials {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.hh-sidebar__socials a {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}

.hh-sidebar__socials img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hh-find-store {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-dark);
  border-radius: var(--radius-pill);
  padding: 20px;
  width: 100%;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 24px;
  color: white;
  text-transform: capitalize;
  text-align: center;
  transition: opacity 0.2s;
}

.hh-find-store:hover {
  opacity: 0.92;
  color: white;
}

.hh-toc {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.hh-toc--inline {
  background: #edebed;
  border-radius: var(--radius-card);
  padding: 20px 24px;
  max-width: 420px;
}

.hh-toc__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 28px;
  color: var(--color-black);
  text-transform: capitalize;
  margin: 0;
}

.hh-toc ul {
  list-style: disc;
  padding-left: 27px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-text-dark);
}

.hh-toc a:hover {
  color: var(--color-primary);
}

/* Similar / related */
.hh-similar {
  background: var(--color-bg-light);
  padding: 40px var(--container-pad);
  width: 100%;
}

.hh-similar__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hh-similar__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 38px;
  line-height: 62px;
  color: var(--color-primary);
  text-transform: capitalize;
}

.hh-similar__row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: stretch;
}

.hh-similar__row .hh-blog-card--small {
  flex: 1 1 280px;
  max-width: 405px;
}

/* =============================================
   RECIPE-SPECIFIC
============================================= */
.hh-recipe-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
  flex-wrap: wrap;
}

.hh-recipe-meta__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hh-recipe-meta__label {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 20px;
  line-height: 25px;
  color: var(--color-black);
  text-transform: capitalize;
}

.hh-recipe-meta__value {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-text-dark);
}

.hh-recipe-meta__serving {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hh-serving-slider {
  position: relative;
  width: 160px;
  display: flex;
  align-items: center;
}

.hh-serving-slider input[type="range"] {
  width: 100%;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.hh-recipe-detail {
  display: flex;
  gap: 40px;
  align-items: stretch;
  width: 100%;
}

.hh-ingredients {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 20px 40px;
  display: flex;
  gap: 40px;
  flex: 0 0 auto;
  min-width: 280px;
}

.hh-ingredients__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hh-ingredients__col--qty {
  align-items: flex-end;
}

.hh-ingredients__head {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 20px;
  line-height: 25px;
  color: var(--color-black);
  text-transform: capitalize;
}

.hh-ingredients__cell {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-text-dark);
}

.hh-recipe-detail__image {
  flex: 1 1 auto;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #ababab;
  min-height: 320px;
}

.hh-recipe-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hh-instructions {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.hh-instructions__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 28px;
  color: var(--color-black);
}

.hh-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hh-step__title {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 24px;
  line-height: 25px;
  color: var(--color-black);
  margin: 0;
}

.hh-step__body {
  list-style: disc;
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hh-step__body li {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.45;
  color: var(--color-text-dark);
}

.hh-step__body li::marker {
  color: var(--color-black);
}

.hh-divider {
  width: 100%;
  height: 0;
  border-top: 1px solid var(--color-line);
}

.hh-author-rate {
  display: flex;
  gap: 20px;
  align-items: stretch;
  width: 100%;
}

.hh-author-box {
  flex: 1;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.hh-author-box__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hh-author-box__label {
  font-family: var(--font-primary);
  font-size: 16px;
  text-transform: capitalize;
  color: var(--color-text-dark);
}

.hh-author-box__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  margin-top: 6px;
}

.hh-author-box__name {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 18px;
  line-height: 25px;
}

.hh-author-box__date {
  font-family: var(--font-primary);
  font-size: 16px;
  text-transform: capitalize;
}

.hh-author-box__bio {
  font-family: var(--font-primary);
  font-size: 20px;
  line-height: 25px;
  color: var(--color-text-dark);
}

.hh-author-box .hh-byline__socials {
  justify-content: center;
}

.hh-rate-box {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 20px;
  width: 469px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}

.hh-rate-box__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  flex-wrap: wrap;
}

.hh-rate-box__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 28px;
  color: var(--color-black);
  text-transform: capitalize;
}

.hh-rate-box__field {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-bottom: 12px;
}

.hh-rate-box__label {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-text-muted);
  text-transform: capitalize;
}

.hh-rate-box__input,
.hh-rate-form input[type="text"],
.hh-rate-form input[type="email"] {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  height: 40px;
  border-radius: var(--radius-img);
  width: 100%;
  padding: 0 12px;
  font-family: var(--font-secondary);
  font-size: 18px;
}

.hh-rate-box__textarea,
.hh-rate-form textarea {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  min-height: 158px;
  width: 100%;
  padding: 14px;
  resize: vertical;
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-text-dark);
}

.hh-rate-form .form-submit {
  margin-top: 12px;
}

.hh-rate-form .submit {
  background: var(--color-primary-dark);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}

.hh-comment-rating-field {
  margin: 12px 0;
}

.hh-post-article__body .hh-reviews {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
}

.hh-review {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hh-review__topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.hh-review__name {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 18px;
  line-height: 25px;
}

.hh-review__date {
  font-family: var(--font-primary);
  font-size: 16px;
  text-transform: capitalize;
}

.hh-review__body {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.45;
  color: var(--color-text-dark);
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Static pages */
.hh-static-page {
  background: var(--color-bg-light);
  padding: 60px var(--container-pad);
}

.hh-static-article {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =============================================
   RESPONSIVE — TABLET
============================================= */
@media (max-width: 1700px) {
  .hh-recipe-detail {
    flex-direction: column;
  }

  .hh-ingredients {
    width: 100%;
    max-width: 100%;
  }

  .hh-ingredients__head,
  .hh-ingredients__cell {
    overflow-wrap: break-word;
  }

  .hh-recipe-detail__image {
    width: 100%;
    min-width: 0;
    flex: none;
    min-height: 360px;
    max-height: 520px;
  }
}

@media (max-width: 1400px) {
  :root {
    --container-pad: 64px;
    --hero-pad: 64px;
  }

  .hh-blog-card--featured .hh-blog-card__image {
    height: 400px;
  }

  .hh-featured-slide.is-active {
    width: calc(100% - 340px);
    max-width: calc(100% - 340px);
  }

  .hh-featured-slide:not(.is-active),
  .hh-featured-slide__peek {
    width: 320px;
  }

  .hh-blog-card__title {
    font-size: 30px;
  }

  .hh-sidebar {
    width: 360px;
  }

  .hh-rate-box {
    width: 360px;
  }
}

@media (max-width: 1200px) {
  :root {
    --container-pad: 40px;
    --hero-pad: 40px;
  }

  .hh-featured-slide.is-active {
    width: calc(100% - 280px);
    max-width: calc(100% - 280px);
  }

  .hh-featured-slide:not(.is-active),
  .hh-featured-slide__peek {
    width: 260px;
  }

  .hh-blog-card--featured {
    flex-direction: column;
  }

  .hh-featured-slide.is-active .hh-blog-card--featured {
    flex-direction: column;
  }

  .hh-blog-card--featured .hh-blog-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .hh-blog-card__stars {
    margin-right: 0;
  }

  .hh-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hh-blog-grid .hh-blog-card--small {
    width: 100%;
    max-width: none;
  }

  .hh-blog-page {
    flex-direction: column;
  }

  .hh-sidebar {
    width: 100%;
    position: static;
    top: auto;
  }

  .hh-sidebar__sticky {
    position: static;
  }

  .hh-app-card__visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .hh-recipe-detail {
    flex-direction: column;
  }

  .hh-ingredients {
    width: 100%;
  }

  .hh-author-rate {
    flex-direction: column;
  }

  .hh-rate-box {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .hh-hero {
    height: auto;
    min-height: 420px;
    padding: 48px 0;
  }

  .hh-hero__title {
    font-size: 36px;
    line-height: 1.15;
    max-width: 100%;
  }

  .hh-hero__subtitle {
    font-size: 18px;
  }

  .hh-section-title,
  .hh-blogs__title,
  .hh-article__title,
  .hh-category-title,
  .hh-similar__title,
  .hh-rise__heading,
  .hh-post-article__title {
    font-size: 30px;
    line-height: 1.3;
  }

  .hh-blog-card__excerpt {
    font-size: 18px;
  }

  .hh-find-store {
    font-size: 20px;
  }

  .hh-app-card__heading,
  .hh-toc__title,
  .hh-rate-box__title,
  .hh-instructions__title {
    font-size: 24px;
  }
}

/* =============================================
   RESPONSIVE — MOBILE (matches Figma mobile)
============================================= */
@media (max-width: 768px) {
  :root {
    --container-pad: 20px;
    --hero-pad: 20px;
    --radius-banner: 20px;
  }

  .hh-hero {
    min-height: 500px;
    padding: 125px 0 50px 0;
  }

  .hh-hero__content {
    padding: 16px 20px;
    gap: 10px;
    max-width: 100%;
  }

  .hh-hero__title {
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: 0.5px;
  }

  .hh-hero__subtitle {
    font-size: 16px;
    white-space: normal;
  }

  .hh-btn-primary {
    font-size: 16px;
    width: auto;
  }

  .hh-section-title,
  .hh-blogs__title,
  .hh-article__title,
  .hh-category-title,
  .hh-similar__title,
  .hh-rise__heading {
    font-size: 28px;
    line-height: 35px;
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
  }

  .hh-section-title,
  .hh-blogs__title {
    text-align: center;
  }

  .hh-featured {
    padding: 24px var(--container-pad);
  }

  .hh-featured-track {
    gap: 10px;
  }

  .hh-featured-slide {
    transition: none;
  }

  .hh-featured-carousel.is-animating .hh-featured-track {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* Mobile: stacked card + peek of next; dots below */
  .hh-featured-slide.is-active,
  .hh-featured-slide.is-active:last-child,
  .hh-featured-slide.is-active:only-child {
    width: calc(100% - 36px);
    max-width: calc(100% - 36px);
  }

  .hh-featured-slide:not(.is-active),
  .hh-featured-slide__peek {
    width: calc(100% - 36px);
  }

  /* On mobile use peek (vertical) card for ALL slides including active */
  .hh-featured-slide.is-active .hh-blog-card--featured {
    display: none;
  }

  .hh-featured-slide.is-active .hh-featured-slide__peek {
    display: flex;
    width: 100%;
  }

  .hh-featured-slide__peek {
    min-height: 0;
  }

  .hh-blog-card--featured {
    padding: 16px;
    gap: 16px;
  }

  .hh-blog-card__pagination--in-card {
    display: none !important;
  }

  .hh-featured-dots {
    display: flex;
  }

  .hh-dots-pill--mobile .hh-dot:not(.hh-dot--active) {
    background: #ffffff !important;
  }

  .hh-blog-card__title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .hh-blog-card__excerpt {
    font-size: 15px;
    line-height: 1.45;
    -webkit-line-clamp: 4;
  }

  .hh-blog-card__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hh-blog-card__stars {
    margin-right: 0;
  }

  .hh-blogs {
    padding: 0 var(--container-pad) 24px;
    gap: 20px;
    align-items: stretch;
  }

  .hh-categories {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 4px;
    margin: 0 calc(-1 * var(--container-pad));
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
    scrollbar-width: none;
  }

  .hh-categories::-webkit-scrollbar {
    display: none;
  }

  .hh-category-pill {
    flex-shrink: 0;
    padding: 10px 20px;
    font-size: 14px;
  }

  .hh-blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hh-blog-grid .hh-blog-card--small {
    width: 100%;
    min-height: 0;
  }

  .hh-blog-card--small .hh-blog-card__image {
    height: 180px;
  }

  .hh-article,
  .hh-mehko {
    padding: 24px var(--container-pad);
    gap: 20px;
  }

  .hh-article__body {
    font-size: 16px;
    line-height: 1.5;
  }

  .hh-blog-category,
  .hh-blog-page,
  .hh-similar,
  .hh-static-page {
    padding: 110px var(--container-pad) 24px;
  }

  .hh-post-article__title {
    font-size: 28px;
    line-height: 35px;
  }

  .hh-post-article__intro,
  .hh-post-content,
  .hh-post-content p,
  .hh-article-block__p,
  .hh-rise__para {
    font-size: 16px;
  }

  .hh-post-content h2,
  .hh-article-block__h2 {
    font-size: 28px;
    line-height: 35px;
  }

  .hh-post-article__hero img {
    max-height: 220px;
    aspect-ratio: 353 / 200;
    object-fit: cover;
  }

  .hh-find-store {
    font-size: 20px;
    padding: 16px;
  }

  .hh-seller-card__heading {
    font-size: 22px;
  }

  .hh-seller-card__content {
    max-width: 85%;
    min-height: 260px;
    padding: 20px 18px 24px;
  }

  .hh-similar__row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .hh-similar__row::-webkit-scrollbar {
    display: none;
  }

  .hh-similar__row .hh-blog-card--small {
    flex: 0 0 320px;
    width: 320px;
    max-width: 320px;
  }

  .hh-recipe-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hh-ingredients {
    padding: 16px 20px;
    gap: 24px;
    width: 100%;
  }

  .hh-instructions {
    padding: 24px 20px;
    gap: 24px;
  }

  .hh-step__title {
    font-size: 20px;
  }

  .hh-read-more {
    font-size: 18px;
    padding: 16px 24px;
    width: 100%;
  }

  .hh-author-box__bio {
    font-size: 16px;
    line-height: 1.45;
  }
}

@media (max-width: 480px) {
  .hh-hero {
    min-height: 420px;
  }

  .hh-hero__title {
    font-size: 26px;
  }

  .hh-hero__subtitle {
    font-size: 14px;
  }

  .hh-section-title,
  .hh-blogs__title,
  .hh-article__title,
  .hh-category-title,
  .hh-similar__title,
  .hh-post-article__title {
    font-size: 24px;
    line-height: 1.3;
  }

  .hh-blog-card--small .hh-blog-card__title {
    font-size: 16px;
  }

  .hh-category-pill {
    padding: 8px 16px;
    font-size: 12px;
  }

  .hh-app-card__heading {
    font-size: 20px;
  }

  .hh-stars svg {
    width: 18px;
    height: 18px;
  }
}

/* Allow sticky sidebar on single posts (overflow-x:hidden breaks position:sticky) */
body.single,
body.single-post {
  overflow-x: visible;
}

body.single .hh-page,
body.single-post .hh-page {
  overflow: visible;
  overflow-x: visible;
}

/* Fix main-site header overflow on blog */
.top-menu-wrapper,
#top_header_container {
  max-width: 100%;
}

.footer_full_section {
  overflow-x: hidden;
}

.footer_full_section .hh-footer-logo {
  display: block;
  height: 100px;
  width: 150px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer_full_section .hh-footer-logo {
    margin-left: 0;
    margin-right: auto;
  }
}

/* =============================================
   POST FAQs (accordion styles come from store-v2.css)
============================================= */
.hh-article.hh-post-faqs {
  background-color: #FDFBFA;
}

.hh-post-faqs .section-accordion {
  width: 100%;
  padding-top: 15px;
  padding-bottom: 0;
}

.hh-post-faqs .p-0 {
  padding: 0 !important;
}

.hh-post-faqs .m-0 {
  margin: 0 !important;
}

.hh-post-faqs .blg_heaidng {
  margin: 0;
}

.hh-post-faqs .faq_btn_box {
  padding-top: 25px;
}

.hh-post-faqs .green-more-btn {
  display: inline-block;
  background-color: #73B000;
  color: #fff;
  padding: 5px 25px;
  border: 0;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.hh-post-faqs .green-more-btn:hover,
.hh-post-faqs .green-more-btn:focus {
  color: #fff;
  text-decoration: none;
}

.hh-post-faqs .bs-example {
  margin: 20px;
}

.hh-post-faqs .panel-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hh-post-faqs .green-more-btn {
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hh-featured-slide,
  .hh-featured-carousel.is-animating .hh-featured-track {
    transition: none !important;
  }
}
