/* RC5 content master: scoped category, blog index and article visuals. */

.category-master-page,
.blog-master-page,
.article-master-page {
  --rc5-ink: #173326;
  --rc5-muted: #5a685f;
  --rc5-green: #2f8739;
  --rc5-green-dark: #1f622a;
  --rc5-green-soft: #e9f4e9;
  --rc5-cream: #f7f4ee;
  --rc5-line: rgba(30, 74, 44, .13);
  --rc5-shadow: 0 22px 55px rgba(31, 71, 44, .10);
  color: var(--rc5-ink);
  background: #fbfcfa;
}

/* Category --------------------------------------------------------------- */

.category-master-page .kat-hero {
  padding: 22px 0 54px;
  background: linear-gradient(145deg, #f7fbf6 0%, #edf5ec 58%, #f7f3eb 100%);
}

.category-master-page .kat-hero__grid {
  grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: clamp(38px, 5vw, 76px);
}

.category-master-page .kat-hero h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: .98;
  color: var(--rc5-ink);
  margin-bottom: 22px;
}

.category-master-page .kat-hero__lead {
  max-width: 58ch;
  font-size: 1.05rem;
  color: var(--rc5-muted);
}

.category-master-page .kat-hero__pills {
  gap: 9px;
}

.category-master-page .kat-pill {
  background: rgba(255, 255, 255, .72);
  border-color: rgba(47, 135, 57, .18);
  color: var(--rc5-green-dark);
}

.category-master-page .kat-hero__visual {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 28px;
  background: #dce9d9;
  box-shadow: var(--rc5-shadow);
  border: 1px solid rgba(255, 255, 255, .9);
}

.category-master-page .kat-hero__visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.category-master-page .kat-hero__count-overlay {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-width: 112px;
  padding: 12px 17px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 16px;
  color: white;
  text-align: right;
  background: rgba(20, 54, 32, .76);
  box-shadow: 0 10px 28px rgba(15, 44, 26, .2);
  backdrop-filter: blur(10px);
}

.category-master-page .kat-hero__count-num {
  font-size: 2.15rem;
  color: white;
}

.category-master-page .kat-hero__count-label {
  color: rgba(255, 255, 255, .83);
}

.category-master-page .kat-section {
  padding-top: 52px;
}

.category-master-page .kat-section__head {
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--rc5-line);
}

.category-master-page .kat-section__title {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.category-master-page .sort-chip {
  min-height: 36px;
  padding: 7px 14px;
  background: white;
  border: 1px solid var(--rc5-line);
  border-radius: 999px;
}

.category-master-page .sort-chip.active {
  color: white;
  background: var(--rc5-green);
  border-color: var(--rc5-green);
}

.category-master-page .prod-grid {
  width: min(calc(100% - 40px), 1180px);
  gap: 22px;
}

.category-master-page .prod-card {
  border-color: var(--rc5-line);
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(29, 70, 41, .055);
}

.category-master-page .prod-img-wrap {
  background: linear-gradient(145deg, #fff 20%, #f4f8f3 100%);
}

.category-master-page .prod-img-wrap img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}

.category-master-page .prod-price-cat {
  font-weight: 850;
  color: var(--rc5-ink);
}

.category-master-page .prod-link {
  color: var(--rc5-green);
}

.category-master-page .prod-mobile-note {
  display: none;
}

.category-vyhodne-sety-page .seo-grid {
  grid-template-columns: minmax(0, 780px);
}

/* Blog ------------------------------------------------------------------- */

.blog-master-page .blog-hero {
  padding: 38px 0 58px;
  background: linear-gradient(145deg, #f8fbf6 0%, #eaf4e9 63%, #f6f0e7 100%);
  border-bottom: 1px solid var(--rc5-line);
}

.blog-master-page .blog-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
  align-items: center;
  gap: clamp(38px, 5.5vw, 82px);
}

.blog-master-page .blog-hero__copy {
  min-width: 0;
}

.blog-master-page .blog-hero h1 {
  max-width: 760px;
  font-size: clamp(2.25rem, 4.4vw, 4.35rem);
  line-height: .99;
  letter-spacing: -.055em;
  color: var(--rc5-ink);
}

.blog-master-page .blog-hero h1 em {
  color: var(--rc5-green);
}

.blog-master-page .blog-hero__lead {
  max-width: 59ch;
  font-size: 1.04rem;
  color: var(--rc5-muted);
}

.blog-master-page .blog-hero__stats {
  flex-wrap: wrap;
}

.blog-master-page .blog-hero__stat {
  color: var(--rc5-muted);
}

.blog-master-page .blog-hero__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin: 0;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .9);
  background: #dce9d9;
  box-shadow: var(--rc5-shadow);
}

.blog-master-page .blog-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-master-page .blog-hero__visual figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 18px;
  border-radius: 15px;
  color: white;
  font-size: .9rem;
  font-weight: 720;
  line-height: 1.35;
  background: rgba(18, 48, 29, .78);
  backdrop-filter: blur(10px);
}

.blog-master-page .blog-hero__visual figcaption span {
  display: block;
  margin-bottom: 3px;
  color: #cce9c7;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.blog-master-page .blog-filter {
  padding: 18px 0;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--rc5-line);
}

.blog-master-page .blog-filter__inner {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: thin;
}

.blog-master-page .tag-btn {
  flex: 0 0 auto;
  border-radius: 999px;
}

.blog-master-page .blog-section {
  padding: 50px 0 78px;
}

.blog-master-page .blog-results {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rc5-line);
}

.blog-master-page .blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-master-page .blog-card {
  overflow: hidden;
  border: 1px solid var(--rc5-line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 7px 28px rgba(28, 67, 40, .055);
}

.blog-master-page .blog-card__img-wrap {
  aspect-ratio: 3 / 2;
  background: #eaf2e7;
}

.blog-master-page .blog-card__img-wrap img {
  object-fit: cover;
}

.blog-master-page .blog-card__tag {
  background: rgba(27, 96, 40, .9);
  backdrop-filter: blur(8px);
}

.blog-master-page .blog-card__body {
  padding: 20px 22px 24px;
}

.blog-master-page .blog-card__title {
  font-size: 1.03rem;
  line-height: 1.38;
}

.blog-master-page .blog-card__title a {
  display: block;
}

.blog-master-page .blog-card__title a:hover {
  color: var(--rc5-green);
}

.blog-master-page .blog-card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.16fr .84fr;
  align-items: center;
  min-height: 0;
  background: linear-gradient(145deg, #fff 0%, #f0f7ef 100%);
}

.blog-master-page .blog-card--featured .blog-card__img-wrap {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  align-self: center;
}

.blog-master-page .blog-card--featured .blog-card__body {
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
}

.blog-master-page .blog-card--featured .blog-card__title {
  display: block;
  overflow: visible;
  margin-bottom: 16px;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.16;
  -webkit-line-clamp: initial;
}

.blog-master-page .blog-card--featured .blog-card__desc {
  display: block;
  overflow: visible;
  font-size: .96rem;
  -webkit-line-clamp: initial;
}

.blog-master-page .blog-seo {
  background: linear-gradient(145deg, #eef6ed, #f7f4ed);
  border-top: 1px solid var(--rc5-line);
}

.blog-master-page .blog-seo__topics li {
  background: rgba(255, 255, 255, .78);
  border-color: var(--rc5-line);
}

/* Article ---------------------------------------------------------------- */

.article-master-page main {
  padding-bottom: 18px;
}

.article-master-page .article-header {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
  align-items: center;
  gap: clamp(38px, 5vw, 74px);
  width: min(calc(100% - 40px), 1180px);
  margin-top: 22px;
  margin-bottom: 28px;
  padding: clamp(30px, 4vw, 58px);
  border: 1px solid var(--rc5-line);
  border-radius: 30px;
  background: linear-gradient(145deg, #f8fbf6 0%, #edf5ec 63%, #f7f2ea 100%);
}

.article-master-page .article-header__copy {
  min-width: 0;
}

.article-master-page .article-header h1 {
  max-width: none;
  margin-bottom: 24px;
  font-size: clamp(2.15rem, 4.2vw, 4.05rem);
  line-height: .99;
  letter-spacing: -.052em;
  color: var(--rc5-ink);
}

.article-master-page .article-tag {
  margin-bottom: 14px;
  color: var(--rc5-green);
}

.article-master-page .article-cover {
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 24px;
  background: #dce9d9;
  box-shadow: var(--rc5-shadow);
}

.article-master-page .article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-master-page .compliance-notice--article {
  max-width: 860px;
  margin: 0 auto 30px;
  padding: 13px 18px;
  border: 1px solid rgba(31, 98, 42, .14);
  border-radius: 12px;
  color: #627067;
  background: #f5f8f4;
  font-size: .78rem;
  line-height: 1.55;
}

.article-master-page .content-container.article-body {
  width: min(calc(100% - 40px), 860px);
  max-width: 860px;
}

.article-master-page .article-body > p:first-child {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #405247;
}

.article-master-page .article-body h2 {
  margin-top: 52px;
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  line-height: 1.14;
  letter-spacing: -.03em;
  color: var(--rc5-ink);
}

.article-master-page .article-body p,
.article-master-page .article-body li {
  font-size: 1rem;
  line-height: 1.78;
}

.article-master-page .key-takeaway {
  margin: 30px 0 42px;
  padding: 28px 30px;
  border: 1px solid rgba(47, 135, 57, .18);
  border-left: 5px solid var(--rc5-green);
  border-radius: 18px;
  background: linear-gradient(145deg, #f0f7ef, #f9fbf8);
}

.article-master-page .key-takeaway-title {
  color: var(--rc5-ink);
}

.article-master-page .article-two-col {
  grid-template-columns: .94fr 1.06fr;
  gap: 34px;
  align-items: center;
  width: min(1080px, calc(100vw - 40px));
  margin-left: 50%;
  transform: translateX(-50%);
  padding: 28px;
  border: 1px solid var(--rc5-line);
  border-radius: 24px;
  background: #f4f8f3;
}

.article-master-page .article-two-col__text h2 {
  margin-top: 0;
}

.article-master-page .article-two-col__img {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 18px;
  background: white;
}

.article-master-page .article-two-col__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-master-page .stat-row {
  gap: 14px;
}

.article-master-page .stat-card {
  border: 1px solid var(--rc5-line);
  border-radius: 16px;
  background: #f5f8f4;
}

.article-master-page .inline-related,
.article-master-page .faq-section,
.article-master-page .cta-box {
  border-radius: 20px;
}

.article-master-page .products-from-article {
  margin-top: 72px;
  padding: 62px 0;
  background: linear-gradient(145deg, #eef6ed, #f8f5ef);
  border-top: 1px solid var(--rc5-line);
  border-bottom: 1px solid var(--rc5-line);
}

.article-master-page .products-from-article .prod-card {
  border-color: var(--rc5-line);
  border-radius: 19px;
  background: white;
}

.article-master-page .author-box {
  border: 1px solid var(--rc5-line);
  border-radius: 20px;
  background: white;
}

.article-master-page .poznamky {
  width: min(calc(100% - 40px), 860px);
}

/* Primary navigation pages ------------------------------------------------ */

.bestsellers-master-page main > .container,
.cooperation-master-page main > .container,
.contact-master-page main > .container {
  width: min(calc(100% - 40px), 1160px);
}

.bestsellers-master-page .page-header,
.cooperation-master-page .page-header {
  margin: 8px 0 44px;
  padding: clamp(30px, 4vw, 56px);
  border: 1px solid var(--rc5-line);
  border-radius: 28px;
  background: linear-gradient(145deg, #f8fbf6 0%, #eaf4e9 62%, #f7f2ea 100%);
  box-shadow: 0 18px 48px rgba(30, 73, 43, .075);
}

/* Bestsellers */

.bestsellers-master-page .page-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, .42fr);
  align-items: center;
  gap: clamp(30px, 5vw, 68px);
}

.bestsellers-master-page .page-header h1 {
  max-width: 780px;
  margin-bottom: 20px;
  color: var(--rc5-ink);
  font-size: clamp(2.25rem, 4.4vw, 4.15rem);
  line-height: .99;
  letter-spacing: -.052em;
}

.bestsellers-master-page .page-header-perex {
  max-width: 64ch;
  color: var(--rc5-muted);
  font-size: 1rem;
  line-height: 1.72;
}

.bestsellers-master-page .quick-nav {
  padding: 22px;
  border: 1px solid rgba(47, 135, 57, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 30px rgba(32, 78, 45, .075);
}

.bestsellers-master-page .quick-nav-link {
  min-height: 42px;
  border-bottom-color: var(--rc5-line);
}

.bestsellers-master-page .quick-nav-link-num {
  color: white;
  background: var(--rc5-green);
}

.bestsellers-master-page .featured-card {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(380px, 1.05fr);
  align-items: stretch;
  gap: 0;
  margin: 0 0 58px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  background: linear-gradient(135deg, #215f2d, #318440);
  box-shadow: 0 22px 52px rgba(32, 91, 43, .18);
}

.bestsellers-master-page .featured-card > div:first-child {
  align-self: center;
  padding: clamp(30px, 4vw, 52px);
}

.bestsellers-master-page .featured-card h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.bestsellers-master-page .featured-visual {
  min-height: 430px;
  overflow: hidden;
  background: #e7efe4;
}

.bestsellers-master-page .featured-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bestsellers-master-page .cat-section {
  margin: 0 0 62px;
}

.bestsellers-master-page .cat-section-header {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rc5-line);
}

.bestsellers-master-page .products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.bestsellers-master-page .prod-card {
  overflow: hidden;
  border: 1px solid var(--rc5-line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 8px 27px rgba(27, 68, 39, .055);
}

.bestsellers-master-page .prod-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #f3f8f2);
  font-size: 0;
}

.bestsellers-master-page .prod-media img {
  width: 78%;
  height: 78%;
  margin: 11%;
  object-fit: contain;
}

.bestsellers-master-page .prod-media .prod-rank,
.bestsellers-master-page .prod-media .prod-badge {
  font-size: .72rem;
}

.bestsellers-master-page .prod-body {
  padding: 18px 20px 22px;
}

.bestsellers-master-page .editorial {
  margin: 12px 0 62px;
  padding: clamp(28px, 4vw, 46px);
  gap: clamp(28px, 5vw, 64px);
  border: 1px solid var(--rc5-line);
  border-radius: 22px;
  background: #f3f8f2;
}

/* Cooperation */

.cooperation-master-page .page-header {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 70px);
}

.cooperation-master-page .page-header h1 {
  color: var(--rc5-ink);
  font-size: clamp(2.3rem, 4.5vw, 4.25rem);
  line-height: .98;
  letter-spacing: -.052em;
}

.cooperation-master-page .page-header > p {
  color: var(--rc5-muted);
  font-size: 1.03rem;
  line-height: 1.72;
}

.cooperation-master-page .no-pressure {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.cooperation-master-page .no-pressure span {
  padding: 9px 12px;
  border: 1px solid rgba(47, 135, 57, .15);
  border-radius: 10px;
  background: rgba(255, 255, 255, .75);
  color: var(--rc5-green-dark);
}

.cooperation-master-page .cooperation-hero-image {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: stretch;
  overflow: hidden;
  min-height: 360px;
  margin: 0;
  border-radius: 22px;
  box-shadow: var(--rc5-shadow);
}

.cooperation-master-page .cooperation-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cooperation-master-page .coop-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 58px;
}

.cooperation-master-page .coop-card {
  overflow: hidden;
  border: 1px solid var(--rc5-line);
  border-radius: 21px;
  background: white;
  box-shadow: 0 9px 30px rgba(27, 68, 39, .065);
}

.cooperation-master-page .coop-card-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0;
  font-size: 0;
}

.cooperation-master-page .coop-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cooperation-master-page .coop-card-badge {
  top: 14px;
  right: 14px;
  font-size: .7rem;
}

.cooperation-master-page .coop-card-body {
  padding: 24px;
}

.cooperation-master-page .discount-highlight,
.cooperation-master-page .motivation {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(30, 72, 42, .09);
}

.cooperation-master-page .sub-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cooperation-master-page .sub-card,
.cooperation-master-page .story-card {
  border-color: var(--rc5-line);
  border-radius: 18px;
  background: white;
}

.cooperation-master-page .btn-primary,
.cooperation-master-page .motivation .btn-primary {
  color: white !important;
  background: #6d4b36 !important;
  border-color: #6d4b36 !important;
  box-shadow: 0 9px 24px rgba(109, 75, 54, .22);
}

.cooperation-master-page .btn-primary:hover,
.cooperation-master-page .motivation .btn-primary:hover {
  background: #583b2b !important;
}

/* Contact */

.contact-master-page .page-header {
  margin: 8px 0 28px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--rc5-line);
  border-radius: 25px;
  background: linear-gradient(145deg, #f7fbf6, #e8f3e8 66%, #f6f1e9);
}

.contact-master-page .page-header h1 {
  margin: 0;
  color: var(--rc5-ink);
  font-size: clamp(2.3rem, 4.5vw, 4.15rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.contact-master-page .contact-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: 26px;
  align-items: stretch;
}

.contact-master-page .contact-form-card,
.contact-master-page .contact-sidebar {
  border: 1px solid var(--rc5-line);
  border-radius: 22px;
  box-shadow: 0 10px 34px rgba(28, 69, 40, .07);
}

.contact-master-page .contact-form-card {
  padding: clamp(26px, 4vw, 42px);
  background: white;
}

.contact-master-page .contact-sidebar {
  overflow: hidden;
  background: linear-gradient(145deg, #edf6ec, #f8f5ef);
}

.contact-master-page .sidebar-inner {
  padding: clamp(24px, 3.5vw, 36px);
}

.contact-master-page .profile-card {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rc5-line);
}

.contact-master-page .profile-photo {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, var(--rc5-green), var(--rc5-green-dark));
  box-shadow: 0 10px 25px rgba(35, 100, 47, .2);
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: .04em;
}

.contact-master-page .info-grid {
  gap: 12px;
}

.contact-master-page .info-tile {
  border-color: var(--rc5-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
}

.contact-master-page input,
.contact-master-page select,
.contact-master-page textarea {
  min-height: 48px;
  border-color: rgba(32, 76, 44, .2);
  border-radius: 11px;
  background: #fbfcfa;
}

.contact-master-page input:focus,
.contact-master-page select:focus,
.contact-master-page textarea:focus {
  border-color: var(--rc5-green);
  box-shadow: 0 0 0 3px rgba(47, 135, 57, .12);
  outline: 0;
}

.contact-master-page .faq-section {
  margin-top: 52px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 22px;
  background: #f2f7f1;
}

.contact-master-page .faq-item {
  border-color: var(--rc5-line);
  border-radius: 15px;
  background: white;
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1024px) {
  .bestsellers-master-page .page-header,
  .cooperation-master-page .page-header,
  .contact-master-page .contact-layout {
    grid-template-columns: 1fr;
  }

  .bestsellers-master-page .featured-card {
    grid-template-columns: 1fr 1fr;
  }

  .bestsellers-master-page .products-grid,
  .cooperation-master-page .coop-grid,
  .cooperation-master-page .sub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cooperation-master-page .cooperation-hero-image {
    grid-column: auto;
    grid-row: auto;
    min-height: 340px;
  }

  .category-master-page .kat-hero__grid,
  .blog-master-page .blog-hero__grid,
  .article-master-page .article-header {
    grid-template-columns: 1fr;
  }

  .category-master-page .kat-hero__visual,
  .blog-master-page .blog-hero__visual {
    aspect-ratio: 16 / 9;
  }

  .category-master-page .prod-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .blog-master-page .blog-card--featured {
    grid-column: span 2;
  }

  .article-master-page .article-header__copy {
    max-width: 780px;
  }
}

@media (max-width: 720px) {
  .bestsellers-master-page main > .container,
  .cooperation-master-page main > .container,
  .contact-master-page main > .container {
    width: min(calc(100% - 24px), 1180px);
  }

  .bestsellers-master-page .page-header,
  .cooperation-master-page .page-header,
  .contact-master-page .page-header {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .bestsellers-master-page .quick-nav,
  .cooperation-master-page .no-pressure {
    grid-template-columns: 1fr;
  }

  .bestsellers-master-page .featured-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .bestsellers-master-page .featured-visual {
    order: -1;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .bestsellers-master-page .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .bestsellers-master-page .prod-body {
    padding: 14px;
  }

  .bestsellers-master-page .prod-desc,
  .bestsellers-master-page .prod-tags {
    display: none;
  }

  .bestsellers-master-page .editorial,
  .cooperation-master-page .discount-highlight,
  .cooperation-master-page .motivation,
  .contact-master-page .faq-section {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .cooperation-master-page .cooperation-hero-image {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .cooperation-master-page .coop-grid,
  .cooperation-master-page .sub-grid {
    grid-template-columns: 1fr;
  }

  .contact-master-page .contact-form-card,
  .contact-master-page .sidebar-inner {
    padding: 22px 18px;
  }

  .contact-master-page .form-row {
    grid-template-columns: 1fr;
  }

  .category-master-page .kat-hero,
  .blog-master-page .blog-hero {
    padding-top: 20px;
    padding-bottom: 38px;
  }

  .category-master-page .kat-hero__grid,
  .blog-master-page .blog-hero__grid,
  .article-master-page .article-header {
    gap: 28px;
  }

  .category-master-page .kat-hero h1,
  .blog-master-page .blog-hero h1,
  .article-master-page .article-header h1 {
    font-size: clamp(2rem, 11vw, 3.15rem);
  }

  .category-master-page .kat-hero__visual,
  .blog-master-page .blog-hero__visual,
  .article-master-page .article-cover {
    border-radius: 20px;
  }

  .category-master-page .kat-hero__count-overlay {
    right: 12px;
    bottom: 12px;
  }

  .category-master-page .sort-bar {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .category-master-page .prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: min(calc(100% - 24px), 1180px);
  }

  .category-master-page .prod-body {
    padding: 13px;
  }

  .category-master-page .prod-name {
    font-size: .88rem;
  }

  .category-master-page .prod-desc {
    display: none;
  }

  .category-master-page .prod-mobile-note {
    display: -webkit-box;
    margin: 2px 0 8px;
    overflow: hidden;
    color: #647168;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .category-master-page .prod-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-top: 9px;
  }

  .category-master-page .prod-price-cat,
  .category-master-page .prod-link {
    font-size: .78rem;
  }

  .category-master-page .prod-price-cat {
    width: 100%;
    text-align: center;
  }

  .category-master-page .prod-link {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    margin-top: 0;
  }

  .blog-master-page .blog-hero__stats {
    gap: 10px 16px;
  }

  .blog-master-page .blog-hero__visual figcaption {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .blog-master-page .blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .blog-master-page .blog-card--featured {
    grid-column: auto;
    display: flex;
    min-height: 0;
  }

  .blog-master-page .blog-card--featured .blog-card__img-wrap {
    aspect-ratio: 3 / 2;
  }

  .blog-master-page .blog-card--featured .blog-card__body {
    padding: 22px;
  }

  .blog-master-page .blog-card--featured .blog-card__title {
    font-size: 1.25rem;
  }

  .blog-master-page .blog-seo__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .article-master-page .article-header {
    width: min(calc(100% - 24px), 1180px);
    margin-top: 14px;
    padding: 24px 20px 20px;
    border-radius: 22px;
  }

  .article-master-page .article-meta-row {
    row-gap: 7px;
  }

  .article-master-page .compliance-notice--article,
  .article-master-page .content-container.article-body,
  .article-master-page .poznamky {
    width: min(calc(100% - 28px), 860px);
  }

  .article-master-page .key-takeaway {
    padding: 22px 20px;
  }

  .article-master-page .article-two-col {
    grid-template-columns: 1fr;
    width: min(calc(100vw - 24px), 1080px);
    gap: 20px;
    padding: 18px;
  }

  .article-master-page .article-two-col__text {
    order: 1;
  }

  .article-master-page .article-two-col__img {
    order: 2;
  }

  .article-master-page .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 390px) {
  .bestsellers-master-page .products-grid {
    gap: 9px;
  }

  .bestsellers-master-page .prod-body {
    padding: 11px;
  }

  .bestsellers-master-page .prod-name {
    font-size: .88rem;
  }

  .category-master-page .prod-grid {
    gap: 9px;
  }

  .category-master-page .prod-body {
    padding: 11px;
  }

  .category-master-page .prod-footer {
    display: flex;
  }

  .category-master-page .prod-link {
    margin-top: 0;
  }

  .blog-master-page .blog-seo__topics {
    grid-template-columns: 1fr;
  }
}

/* Final editorial relationships ------------------------------------------- */

.article-master-page .article-verdict {
  width: min(100%, 860px);
  margin: 56px auto 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #bfd7bd;
  border-radius: 22px;
  background: linear-gradient(145deg, #eef7ed, #f9fbf7);
  box-shadow: 0 18px 44px rgba(31, 72, 41, .08);
}

.article-master-page .article-verdict > span,
.article-master-page .article-related-head > span {
  display: block;
  margin-bottom: 8px;
  color: #2f7d3a;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.article-master-page .article-verdict h2,
.article-master-page .article-related-head h2 {
  margin: 0 0 12px;
  color: #173322;
}

.article-master-page .article-verdict p,
.article-master-page .article-related-head p {
  margin: 0;
  color: #506057;
}

.article-master-page .article-related-products {
  width: min(calc(100% - 40px), 1180px);
  margin: 68px auto 32px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid #d5e2d3;
  border-radius: 26px;
  background: #f6f9f4;
}

.article-master-page .article-related-head {
  max-width: 720px;
  margin-bottom: 26px;
}

.article-master-page .article-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-master-page .article-product-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  border: 1px solid #d7e2d5;
  border-radius: 19px;
  background: white;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.article-master-page .article-product-card:hover {
  transform: translateY(-3px);
  border-color: #9bc29a;
  box-shadow: 0 16px 34px rgba(31, 72, 41, .1);
}

.article-master-page .article-product-media {
  display: block;
  aspect-ratio: 3 / 2;
  padding: 14px;
  background: #f7f9f5;
}

.article-master-page .article-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.article-master-page .article-product-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 20px;
}

.article-master-page .article-product-copy strong {
  color: #173322;
  font-size: 1.06rem;
  line-height: 1.3;
}

.article-master-page .article-product-copy > span {
  display: -webkit-box;
  overflow: hidden;
  color: #5b665f;
  font-size: .9rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-master-page .article-product-copy em {
  margin-top: auto;
  color: #2f7d3a;
  font-size: .88rem;
  font-style: normal;
  font-weight: 800;
}

/* Cooperation: photographs and a single icon language -------------------- */

.cooperation-subpage-visual {
  width: min(100%, 1040px);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  margin: 28px auto 58px;
  border: 1px solid #d5e2d3;
  border-radius: 26px;
  background: #edf4ec;
  box-shadow: 0 22px 50px rgba(31, 72, 41, .11);
}

.cooperation-subpage-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coop-icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  vertical-align: -.2em;
}

.sub-card-icon .coop-icon,
.decision-card-icon .coop-icon,
.fit-card-icon .coop-icon,
.reward-icon .coop-icon,
.income-node-icon .coop-icon,
.reward-type-icon .coop-icon,
.special-icon .coop-icon,
.forwhom-icon .coop-icon,
.tip-icon .coop-icon {
  width: 1.65rem;
  height: 1.65rem;
}

.cooperation-editorial-note {
  width: min(calc(100% - 40px), 1160px);
  margin: 60px auto 34px;
}

.cooperation-editorial-note > div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px 24px;
  border: 1px solid #cadbc8;
  border-radius: 18px;
  background: #f4f8f2;
  color: #46584c;
}

.cooperation-editorial-note .coop-icon {
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 2px;
  color: #2f7d3a;
}

.cooperation-editorial-note p {
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .article-master-page .article-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cooperation-subpage-visual {
    margin-bottom: 42px;
    border-radius: 20px;
  }
}

@media (max-width: 560px) {
  .article-master-page .article-related-products {
    width: min(calc(100% - 24px), 1180px);
    margin-top: 46px;
    padding: 22px 16px;
    border-radius: 20px;
  }

  .article-master-page .article-product-grid {
    grid-template-columns: 1fr;
  }

  .article-master-page .article-product-card {
    display: grid;
    grid-template-columns: 112px 1fr;
  }

  .article-master-page .article-product-media {
    aspect-ratio: auto;
    min-height: 160px;
    padding: 10px;
  }

  .article-master-page .article-product-copy {
    padding: 16px 14px;
  }

  .article-master-page .article-product-copy > span {
    -webkit-line-clamp: 2;
  }

  .cooperation-subpage-visual {
    width: calc(100% - 24px);
    margin-top: 20px;
    margin-bottom: 34px;
    border-radius: 18px;
  }

  .cooperation-editorial-note {
    width: calc(100% - 24px);
  }
}


/* v49: skrytá karta blogu zůstává skrytá i při zvýrazněném vzhledu. */
.blog-master-page .blog-card.hidden {
  display: none;
}
