/*
Theme Name: Coloring
Theme URI: https://www.figma.com/design/BnWyErMc9trslLjmUm5v5g/Coloring
Author: Codex
Description: WordPress theme built from Figma for coloring content.
Version: 1.0.0
Text Domain: coloring
*/

:root {
  --violet: #473f82;
  --secondary: #e1e5f8;
  --text: #242425;
  --grey: #6a6a6a;
  --dark-grey: #343436;
  --light-grey: #ededed;
  --background: #fafafa;
  --white: #ffffff;
  --accent-green: #72d080;
  --shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 0 20px rgba(0, 0, 0, 0.15);
  --radius: 20px;
  --container: 1650px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: var(--header-height, 80px);
}

body {
  margin: 0;
  font-family: "Noto Sans", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

.footer {
  flex-shrink: 0;
}

.screen-reader-text {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  padding: 0 24px;
  margin: 0 auto;
}

.home-section {
  position: relative;
  overflow: visible;
  z-index: 0;
}

.home-section::after {
  content: none;
}

.home-section--content {
  margin-top: 64px;
  margin-bottom: 64px;
}

.home-content-text {
  max-width: 820px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--dark-grey, #2a2a2a);
}

.home-content-text h2 {
  font-size: 28px;
  line-height: 1.25;
  margin: 48px 0 16px;
  font-weight: 700;
}

.home-content-text h2:first-child {
  margin-top: 0;
}

.home-content-text h3 {
  font-size: 22px;
  line-height: 1.3;
  margin: 32px 0 12px;
  font-weight: 700;
}

.home-content-text p {
  margin: 0 0 16px;
}

.home-content-text ul,
.home-content-text ol {
  margin: 0 0 16px 20px;
}

.home-content-text li {
  margin-bottom: 8px;
}

.home-content-text a {
  color: var(--color-primary, #7dc35c);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-content-text strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  .home-section--content {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .home-content-text {
    font-size: 16px;
  }
  .home-content-text h2 { font-size: 24px; margin: 36px 0 12px; }
  .home-content-text h3 { font-size: 19px; margin: 24px 0 10px; }
}

.content-narrow {
  width: 100%;
  max-width: 1090px;
  margin: 0 auto;
}

.site-header {
  background: var(--violet);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s;
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: var(--violet);
  pointer-events: none;
}

.site-header--scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.site-header .container {
  padding: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 98px;
  padding: 21px 0;
  transition: min-height 0.3s, padding 0.3s;
}

.site-header--scrolled .site-header__inner {
  min-height: 64px;
  padding: 10px 0;
}

.site-header__logo {
  flex: 0 0 auto;
  transition: transform 0.3s;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  line-height: 1;
  color: var(--white);
  transition: gap 0.3s;
}

.site-logo__icon {
  flex: 0 0 auto;
  width: 51px;
  height: 51px;
  display: block;
  object-fit: contain;
  transition: width 0.3s, height 0.3s;
}

.site-header--scrolled .site-logo__icon {
  width: 40px;
  height: 40px;
}

.site-header--scrolled .site-logo {
  gap: 12px;
}

.site-logo__text {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  font-family: "Noto Sans", system-ui, -apple-system, sans-serif;
}

.site-logo__title {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  text-transform: uppercase;
  color: inherit;
}

.site-logo__subtitle {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  color: inherit;
  opacity: 0.85;
}

.site-header .site-logo__title {
  color: var(--white);
}

.site-header .site-logo__subtitle {
  color: var(--white);
  opacity: 0.8;
}

.site-header--scrolled .site-logo__title {
  font-size: 18px;
}

.site-header--scrolled .site-logo__subtitle {
  font-size: 12px;
}

.site-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 77px;
  flex: 1 1 auto;
  min-width: 0;
}

.site-header__actions {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
}

.search-block {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: var(--white);
  width: 100%;
  max-width: 500px;
}

.search-block__label {
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
  white-space: nowrap;
}

.search-block form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 30px;
  height: 55px;
  padding: 6px 8px 6px 30px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

.search-block input[type="search"] {
  border: none;
  outline: none;
  font-size: 24px;
  line-height: 36px;
  color: var(--grey);
  background: transparent;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

.search-block input[type="search"]::placeholder {
  color: var(--grey);
}

.search-submit {
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--violet);
  color: var(--white);
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.search-submit:hover,
.search-submit:focus-visible {
  background: #3a3468;
  outline: none;
}

.search-submit svg {
  width: 20px;
  height: 20px;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
  line-height: 33px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.lang-pill img {
  width: 24px;
  height: 24px;
}

.hero {
  position: relative;
  padding: 170px 0 80px;
  min-height: clamp(420px, 44vw, 750px);
  background-color: #eef2fb;
  overflow: hidden;
}

.hero__bg-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.hero__decor {
  position: absolute;
  pointer-events: none;
  opacity: 0.95;
  z-index: 1;
  aspect-ratio: 1;
}

.hero__decor--spray { left: 23%; top: 8%; width: 110px; }
.hero__decor--brush { left: 36%; top: 15%; width: 110px; }
.hero__decor--marker { right: 23%; top: 9%; width: 110px; }
.hero__decor--eraser { left: 29%; top: 70%; width: 110px; }
.hero__decor--pencil { right: 41%; top: 71%; width: 110px; }

.hero .container {
  position: relative;
  z-index: 2;
}

.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
}

.hero__label {
  font-size: 66px;
  font-weight: 700;
  line-height: 99px;
  padding: 10px 30px;
  border-radius: 20px;
  display: inline-block;
}

.hero__label--light {
  background: var(--secondary);
  color: var(--violet);
}

.hero__label--green {
  background: var(--accent-green);
  color: var(--text);
  transform: rotate(-2deg);
}

.hero__subtitle {
  max-width: 810px;
  text-align: center;
  margin: 20px auto 0;
  font-size: 18px;
  line-height: 27px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-bullets {
  list-style: none;
  margin: 24px auto 0;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 596px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  line-height: 27px;
}

.hero-bullet__check {
  width: 20px;
  height: 30px;
  min-width: 20px;
  flex-shrink: 0;
}

.stats {
  margin: -40px auto 0;
  background: var(--secondary);
  border-radius: 20px;
  padding: 24px clamp(24px, 7vw, 140px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1650px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.stats__item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--violet);
  white-space: nowrap;
}

.stats__item img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.section-title {
  margin: 80px auto 24px;
  text-align: center;
  font-size: 48px;
  line-height: 72px;
  font-weight: 700;
}

.section-title__underline {
  display: block;
  margin: 8px auto 0;
  height: 54px;
}

.section-subtitle {
  text-align: center;
  margin: 0 auto 48px;
  max-width: 980px;
  font-size: 18px;
  line-height: 27px;
}

.post-type-archive-coloring .section-title,
.tax-coloring_category .section-title,
.coloring-category-base .section-title {
  text-align: left;
  margin-left: 0;
  margin-top: 20px;
  margin-bottom: 16px;
}

.post-type-archive-coloring .section-subtitle,
.tax-coloring_category .section-subtitle,
.coloring-category-base .section-subtitle {
  text-align: left;
  margin-left: 0;
  margin-bottom: 34px;
}

.post-type-archive-coloring .section-subtitle p:first-child,
.tax-coloring_category .section-subtitle p:first-child,
.coloring-category-base .section-subtitle p:first-child {
  margin-top: 0;
}

.post-type-archive-coloring .section-subtitle p:last-child,
.tax-coloring_category .section-subtitle p:last-child,
.coloring-category-base .section-subtitle p:last-child {
  margin-bottom: 0;
}

.catalog-section {
  padding: clamp(28px, 4vw, 48px) 0;
}

.home-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.category-rail {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-type-archive-coloring .home-layout,
.tax-coloring_category .home-layout,
.coloring-category-base .home-layout {
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: clamp(16px, 2.2vw, 30px);
}

.post-type-archive-coloring .home-content,
.tax-coloring_category .home-content,
.coloring-category-base .home-content {
  gap: 0;
}

.home-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.catalog-content {
  position: relative;
  z-index: 0;
}

.catalog-decor {
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.catalog-decor--green {
  left: -20px;
  top: 480px;
  width: 160px;
}

.catalog-decor--blue {
  left: -10px;
  top: 700px;
  width: 250px;
  opacity: 0.95;
}

.catalog-decor--sun {
  right: -20px;
  top: 900px;
  width: 260px;
  height: 140px;
  background-image:
    radial-gradient(circle at 82% 45%, rgba(255, 205, 97, 0.95) 0%, rgba(255, 205, 97, 0.6) 45%, rgba(255, 205, 97, 0) 72%),
    url('assets/scribble-red.png');
  background-repeat: no-repeat;
  background-size: 120px 120px, contain;
  background-position: right 0 center, left center;
  filter: blur(0.2px);
}

.category-rail__title {
  font-size: 24px;
  line-height: 36px;
  font-weight: 500;
  margin: 0 0 10px;
}

.category-rail__list {
  background: var(--background);
  border-radius: 30px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 760px;
  overflow-y: auto;
}

.category-rail__list--tall {
  max-height: none;
}

.category-rail__item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
  border-radius: 20px;
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.category-rail__item img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.category-rail__item--active {
  background: var(--secondary);
  color: var(--violet);
  font-weight: 500;
}

.category-rail__children {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 10px 20px;
  font-size: 16px;
  line-height: 24px;
}

.category-rail__section {
  color: var(--text);
  font-weight: 500;
  margin: 0;
}

.category-rail__section--active {
  color: var(--violet);
  font-weight: 500;
}

.category-rail__section a {
  color: inherit;
}

.category-rail__group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-rail__sublist {
  list-style: none;
  margin: 0;
  padding: 0 0 0 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--grey);
}

.category-rail__sublist a {
  color: inherit;
}

.catalog-controls {
  display: none;
  margin: 8px 0 4px;
}

.category-bottom-content {
  margin-top: clamp(56px, 8vw, 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.category-bottom-content__eyebrow {
  margin: 0;
  width: min(100%, 600px);
  text-align: center;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 36px;
  font-weight: 400;
  color: var(--violet);
}

.category-bottom-content__title {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.5;
  font-weight: 700;
  color: var(--text);
}

.category-bottom-content__description {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  font-size: 18px;
  line-height: 27px;
  color: var(--text);
}

.category-bottom-content__description > div {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-bottom-content__description h2,
.category-bottom-content__description h3,
.category-bottom-content__description h4 {
  margin: 0;
  font-size: 24px;
  line-height: 36px;
  font-weight: 400;
  color: var(--text);
}

.category-bottom-content__description p {
  margin: 0;
  font-size: 18px;
  line-height: 27px;
}

.category-bottom-content__description > div:nth-child(-n+2) h2,
.category-bottom-content__description > div:nth-child(-n+2) h3,
.category-bottom-content__description > div:nth-child(-n+2) h4 {
  color: var(--violet);
  text-transform: uppercase;
}

.filter-trigger {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid var(--light-grey);
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.filter-trigger__icon {
  width: 20px;
  height: 16px;
  position: relative;
  display: inline-block;
  background: linear-gradient(currentColor, currentColor) center/16px 2px no-repeat;
}

.filter-trigger__icon::before,
.filter-trigger__icon::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.filter-trigger__icon::before {
  top: 1px;
  width: 14px;
  margin: 0 auto;
}

.filter-trigger__icon::after {
  bottom: 1px;
  width: 18px;
  margin: 0 auto;
}

.filter-panel {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.filter-panel__scrim {
  position: absolute;
  inset: 0;
  background: rgba(18, 22, 38, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.filter-panel__sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: var(--white);
  border-radius: 24px 24px 0 0;
  transform: translateY(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.filter-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--light-grey);
}

.filter-panel__title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  margin: 0;
}

.filter-panel__close {
  border: none;
  background: var(--light-grey);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 18px;
  cursor: pointer;
}

.filter-panel__list {
  padding: 14px 20px 24px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  flex: 1;
}

.filter-panel__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 16px;
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  text-decoration: none;
}

.filter-panel__item img {
  width: 22px;
  height: 22px;
}

.filter-panel__item--active {
  background: var(--secondary);
  color: var(--violet);
}

.filter-panel--open {
  opacity: 1;
  pointer-events: auto;
}

.filter-panel--open .filter-panel__scrim {
  opacity: 1;
}

.filter-panel--open .filter-panel__sheet {
  transform: translateY(0);
}

body.filter-panel-open {
  overflow: hidden;
}

.chips-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 50px;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chips__arrow {
  border: none;
  background: transparent;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.chips__arrow img {
  width: 100%;
  height: 100%;
}

.chips__arrow--back img {
  transform: scaleX(-1);
}

.chips-wrapper--mobile {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 20px;
  background: var(--light-grey);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  white-space: nowrap;
  min-height: 50px;
}

.chip img {
  width: 24px;
  height: 24px;
}

.chip--active {
  background: var(--secondary);
  color: var(--violet);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.post-type-archive-coloring .cards,
.tax-coloring_category .cards,
.coloring-category-base .cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 30px);
}

.card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.card-link:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
}

@media (hover: none) {
  .card-link:active {
    transform: scale(0.98);
    box-shadow: var(--shadow-strong);
  }
}

/* Block-link pattern:
 * The whole .card is clickable through a transparent ::after overlay
 * spawned by .card__title-link. Anchor text stays short (title only),
 * which keeps SEO tools happy about link-text length. The excerpt is
 * lifted above the overlay with z-index so visitors can still select
 * the text and so hover targets the whole card.
 */
.card {
  position: relative;
}

.card__title-link {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.card__title-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card__excerpt {
  position: relative;
  z-index: 2;
}

.card:focus-within {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
}

@media (hover: none) {
  .card:active {
    transform: scale(0.98);
    box-shadow: var(--shadow-strong);
  }
}

.card__image {
  aspect-ratio: 720 / 500;
  background: #f4f4f4;
  overflow: hidden;
  position: relative;
}

.card__image-link {
  display: block;
  position: relative;
}

.card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(41, 51, 124, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card__overlay-btn {
  background: var(--white);
  color: var(--violet);
  padding: 18px 28px;
  border-radius: 20px;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: var(--shadow-strong);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card__title {
  font-size: 24px;
  line-height: 36px;
  font-weight: 600;
  margin: 0;
}

.card__excerpt {
  font-size: 16px;
  line-height: 24px;
  color: var(--text);
  font-weight: 500;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card:hover,
.card:focus-within {
  background: var(--secondary);
}

.card:hover .card__overlay,
.card:focus-within .card__overlay {
  opacity: 1;
}

.card:hover .card__title,
.card:focus-within .card__title,
.card:hover .card__excerpt,
.card:focus-within .card__excerpt {
  color: var(--violet);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 20px;
  font-family: inherit;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--violet);
  color: var(--white);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--white);
  color: var(--violet);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.btn--primary:active {
  transform: scale(0.97);
}

.btn--secondary {
  background: var(--secondary);
  color: var(--violet);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: var(--white);
  color: var(--violet);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.btn--secondary:active {
  transform: scale(0.97);
}

.center {
  text-align: center;
}

.footer {
  position: relative;
  margin-top: 24px;
  background: #ffffff;
  overflow: hidden;
  padding-top: 32px;
}

.home .footer {
  margin-top: 154px;
}

.footer__scribble {
  position: absolute;
  left: 404px;
  top: 0;
  width: 453px;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

.footer__wave {
  position: absolute;
  left: 0;
  top: 22px;
  display: block;
  width: 100%;
  height: 134.47px;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.footer__inner {
  height: 124px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.footer__logo {
  flex: 0 0 auto;
}

.site-logo--footer .site-logo__title {
  color: var(--violet);
}

.site-logo--footer .site-logo__subtitle {
  color: var(--dark-grey);
  opacity: 1;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 18px;
  color: var(--dark-grey);
}

.footer__links__list {
  display: contents;
}

.footer__links li {
  list-style: none;
  display: inline-flex;
}

.footer__links li a {
  color: inherit;
}

.footer__lang {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer__lang img {
  width: 48px;
  height: 48px;
}

.decor-scribble {
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.decor-scribble--blue { left: 18%; bottom: -40px; width: 140px; }
.decor-scribble--green { left: -40px; top: 32%; width: 170px; }
.decor-scribble--red { right: 4%; top: 30%; width: 120px; }

/* Coloring page */
.coloring-detail {
  position: relative;
  padding: 100px 0 24px;
}

.coloring-detail__content {
  display: flex;
  flex-direction: column;
  gap: 46px;
}

.coloring-decor {
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.coloring-decor--top {
  right: 6%;
  top: 140px;
  width: 260px;
}

.coloring-decor--wave {
  right: 10%;
  top: 58%;
  width: 220px;
}

.coloring-decor--bottom {
  left: 6%;
  bottom: -20px;
  width: 140px;
}

.breadcrumbs {
  font-size: 18px;
  line-height: 27px;
  color: var(--violet);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 0;
}

.breadcrumbs a { color: var(--violet); }

.breadcrumbs__line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.breadcrumbs__current {
  margin: 0;
}

.breadcrumbs__arrow {
  width: 16px;
  height: 16px;
}

.coloring-hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.coloring-hero__title {
  font-size: 36px;
  font-weight: 500;
  line-height: 54px;
  margin: 0;
}

.coloring-hero__description {
  font-size: 18px;
  line-height: 27px;
  margin: 0;
}

.coloring-image-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.coloring-image {
  position: relative;
}

.coloring-image__asset-wrap {
  background: var(--white);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.coloring-image__asset {
  width: 100%;
  height: auto;
  display: block;
}

.coloring-image__nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.coloring-image__nav img {
  width: 100%;
  height: 100%;
}

.coloring-image__nav:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 50%;
}

.coloring-image__nav--prev {
  left: -56px;
  transform: translateY(-50%) rotate(180deg);
}

.coloring-image__nav--next {
  right: -56px;
}

.coloring-image__nav--disabled {
  opacity: 0.35;
  pointer-events: none;
}

.coloring-image__caption {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--grey);
}

.coloring-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
}

.coloring-actions .btn {
  flex: 1 1 0;
  min-width: 0;
}

.coloring-actions .download-button {
  flex: 0 0 auto;
}

.coloring-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.coloring-highlights .section-h3 {
  color: var(--violet);
}

.highlight-list {
  display: grid;
  gap: 10px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  line-height: 24px;
}

.highlight-item img {
  width: 24px;
  height: 13px;
  min-width: 24px;
  object-fit: contain;
  margin-top: 0;
}

.section-h3 {
  font-size: 36px;
  font-weight: 500;
  line-height: 54px;
  margin: 0;
}

.coloring-richtext {
  font-size: 18px;
  line-height: 27px;
}

.coloring-richtext p {
  margin: 0 0 14px;
}

.coloring-richtext p:last-child {
  margin-bottom: 0;
}

.coloring-related {
  margin-top: 92px;
}

.coloring-related__title {
  margin-bottom: 32px;
}

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

.card--compact .card__body {
  padding: 20px;
  gap: 0;
}

/* Responsive */
@media (max-width: 1680px) {
  .site-header .container {
    padding: 0 24px;
  }
}

@media (max-width: 1400px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coloring-related .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1200px) {
  .post-type-archive-coloring .home-layout,
  .tax-coloring_category .home-layout,
  .coloring-category-base .home-layout {
    grid-template-columns: 1fr;
  }
  .post-type-archive-coloring .category-rail,
  .tax-coloring_category .category-rail,
  .coloring-category-base .category-rail {
    display: none;
  }
  .catalog-controls {
    display: flex;
  }
  .filter-panel {
    display: block;
  }
  .post-type-archive-coloring .chips-wrapper--mobile,
  .tax-coloring_category .chips-wrapper--mobile,
  .coloring-category-base .chips-wrapper--mobile {
    display: flex;
  }
  .post-type-archive-coloring .home-content,
  .tax-coloring_category .home-content,
  .coloring-category-base .home-content {
    gap: 20px;
  }
  .coloring-detail {
    padding-top: 72px;
  }
  .coloring-image__nav {
    width: 42px;
    height: 42px;
  }
  .coloring-image__nav--prev {
    left: -50px;
  }
  .coloring-image__nav--next {
    right: -50px;
  }
  .coloring-actions {
    gap: 18px;
  }
  .coloring-actions .btn {
    font-size: 20px;
    line-height: 30px;
    padding: 16px 12px;
  }
  .coloring-related .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .site-header__inner {
    flex-wrap: wrap;
  }
  .site-header__right {
    gap: 32px;
    flex: 1 1 auto;
  }
  .site-header__actions {
    flex: 1 1 auto;
    min-width: 0;
  }
  .search-block {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    justify-content: flex-start;
  }
  .search-block__label { font-size: 20px; line-height: 28px; }
  .search-block form { width: 280px; }
  .hero { padding: 100px 0 60px; }
  .hero__label { font-size: 48px; line-height: 64px; }
  .hero__decor { width: 80px; }
  .stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 20px clamp(20px, 4vw, 60px);
  }
  .stats__item { font-size: 18px; }
  .stats__item img { width: 60px; height: 60px; }
  .home-layout { grid-template-columns: 1fr; }
  .category-rail { display: none; }
  .chips-wrapper--mobile { display: flex; }
  .category-rail__list { max-height: none; }
  .section-title { font-size: 40px; line-height: 56px; }
  .coloring-detail__content {
    gap: 36px;
  }
  .coloring-hero__title,
  .section-h3 {
    font-size: 32px;
    line-height: 44px;
  }
  .breadcrumbs,
  .coloring-hero__description,
  .highlight-item,
  .coloring-richtext {
    font-size: 16px;
    line-height: 24px;
  }
  .coloring-image__caption {
    font-size: 15px;
    line-height: 22px;
  }
}

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .post-type-archive-coloring .cards,
  .tax-coloring_category .cards,
  .coloring-category-base .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding: 80px 0 50px; min-height: 0; }
  .hero__label { font-size: 40px; line-height: 56px; padding: 8px 22px; }
  .hero__subtitle { max-width: 100%; font-size: 16px; line-height: 24px; }
  .hero__decor { display: none; }
  .section-title { font-size: 36px; line-height: 48px; margin-top: 48px; }
  .section-subtitle { font-size: 16px; line-height: 24px; }
  .footer__scribble { display: none; }
  .decor-scribble { display: none; }
  .catalog-decor { display: none; }
  .home-section::after { content: none; }
  .category-bottom-content {
    margin-top: 64px;
    gap: 24px;
  }
  .category-bottom-content__eyebrow {
    font-size: 20px;
    line-height: 30px;
  }
  .category-bottom-content__title {
    font-size: 36px;
    line-height: 48px;
  }
  .category-bottom-content__description {
    font-size: 16px;
    line-height: 24px;
    gap: 24px;
  }
  .category-bottom-content__description h2,
  .category-bottom-content__description h3,
  .category-bottom-content__description h4 {
    font-size: 22px;
    line-height: 32px;
  }
  .category-bottom-content__description p {
    font-size: 16px;
    line-height: 24px;
  }
  .coloring-detail {
    padding-top: 56px;
  }
  .coloring-detail__content {
    gap: 30px;
  }
  .breadcrumbs {
    font-size: 14px;
    line-height: 21px;
    gap: 6px;
    padding-top: 16px;
  }
  .breadcrumbs__line {
    display: block;
  }
  .breadcrumbs__arrow {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 4px;
  }
  .coloring-hero__title,
  .section-h3 {
    font-size: 28px;
    line-height: 38px;
  }
  .coloring-image__nav {
    display: none;
  }
  .coloring-actions {
    flex-direction: column;
    gap: 12px;
  }
  .coloring-actions .btn {
    width: 100%;
  }
  .highlight-list {
    gap: 10px;
  }
  .highlight-item {
    gap: 12px;
  }
  .coloring-related {
    margin-top: 64px;
  }
  .card__title,
  .card__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3em;
  }
  .card__title { -webkit-line-clamp: 2; }
  .card__excerpt { -webkit-line-clamp: 2; }
}

/* TABLET SCOPE: iPad mini → iPad Pro 12.9" (744px–1366px). Do not leak outside this range. */
@media (min-width: 744px) and (max-width: 1366px) {
  .hero__decor { display: none; }

  .hero-bullets {
    max-width: 520px;
    margin-top: 32px;
    padding: 20px 28px;
  }
  .hero-bullets li {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 10px;
  }
  .hero-bullets li .hero-bullet__check {
    display: block;
    flex-shrink: 0;
    margin-right: 0;
  }

  .search-block form { width: 440px; }

  .chips__arrow { display: none; }
  .chips-wrapper { margin-left: -24px; margin-right: -24px; }
  .chips { padding-left: 24px; padding-right: 24px; }
  .chip { padding: 10px 20px 10px 14px; }

  .filter-panel {
    top: var(--header-height, 0px);
    z-index: 90;
  }
  .filter-panel__sheet {
    top: 40px;
    height: auto;
    border-radius: 0;
  }

  /* Tablet: solid violet background (no blur), no scroll-triggered shrink animation */
  .site-header,
  .site-header--scrolled {
    box-shadow: none !important;
    transition: none !important;
  }
  .site-header .container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .site-header__inner,
  .site-header--scrolled .site-header__inner {
    min-height: 98px !important;
    padding: 28px 0 !important;
    transition: none !important;
  }
  .site-header__logo,
  .site-header--scrolled .site-header__logo {
    flex: 0 0 auto !important;
    transition: none !important;
  }
  /* Neutralize .site-header--scrolled sizing in the rare case the class sticks
     after resizing desktop→tablet while the page is scrolled. */
  .site-logo,
  .site-header--scrolled .site-logo {
    gap: 14px !important;
    transition: none !important;
  }
  .site-logo__icon,
  .site-header--scrolled .site-logo__icon {
    width: 51px !important;
    height: 51px !important;
    transition: none !important;
  }
  .site-header--scrolled .site-logo__title {
    font-size: 24px;
  }
  .site-header--scrolled .site-logo__subtitle {
    font-size: 14px;
  }

  .footer__inner { padding: 20px 24px; }

  .catalog-section,
  .coloring-detail {
    padding-left: 24px;
    padding-right: 24px;
  }

  .coloring-detail { padding-top: 32px; }

  .coloring-image__nav { display: none; }
}

/* Tablet (wrapped rows, iPad Mini & iPad portrait): compact layout, align
   search row with the logo's left edge, shrink logo text. */
@media (min-width: 744px) and (max-width: 1100px) {
  .site-header__inner {
    gap: 14px 32px;
    padding: 28px 0 !important;
    min-height: 0 !important;
  }
  .site-header__right {
    justify-content: flex-start !important;
    gap: 0 !important;
  }
  .site-header__actions {
    justify-content: flex-start !important;
  }
  .search-block {
    max-width: none !important;
  }
  .search-block form {
    width: 100% !important;
    max-width: 500px;
    height: 44px;
    padding: 4px 4px 4px 22px;
  }
  .search-block input[type="search"] {
    font-size: 16px;
    line-height: 22px;
  }
  .search-submit {
    width: 36px;
    height: 36px;
  }
  .search-submit svg {
    width: 16px;
    height: 16px;
  }
  .site-logo__title {
    font-size: 20px;
  }
  .site-logo__subtitle {
    font-size: 12px;
  }
}

@media (max-width: 700px) {
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }
  .hero-bullets {
    padding: 18px 22px;
    border-radius: 20px;
  }
  .site-header {
    transition: transform 0.25s ease, box-shadow 0.3s;
    will-change: transform;
    width: 100%;
  }
  .site-header--hidden {
    transform: translateY(-100%);
  }
  .filter-panel {
    top: var(--header-height, 0px);
    z-index: 90;
  }
  .filter-panel__sheet {
    top: 40px;
    height: auto;
    border-radius: 0;
  }
  .site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 14px 12px;
    padding: 28px 20px !important;
    align-items: center;
  }
  .site-header__right {
    display: contents;
  }
  .site-header__logo {
    grid-column: 1;
    grid-row: 1;
    flex: 0 0 auto;
  }
  .site-logo {
    gap: 12px;
  }
  .site-logo__icon {
    width: 44px;
    height: 44px;
  }
  .site-logo__title {
    font-size: 18px;
  }
  .site-logo__subtitle {
    font-size: 12px;
  }
  .site-header .lang-pill {
    grid-column: 2;
    grid-row: 1;
    order: unset;
    justify-self: end;
    font-size: 16px;
    gap: 6px;
  }
  .lang-pill img { width: 24px; height: 24px; }
  .site-header__actions {
    grid-column: 1 / -1;
    grid-row: 2;
    order: unset;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
  }
  .search-block {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 22px;
    width: 100%;
  }
  .search-block__label {
    font-size: 12px;
    line-height: 16px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .search-block form {
    flex: 1;
    width: auto;
    padding: 4px 4px 4px 18px;
    height: 44px;
    border-radius: 22px;
  }
  .search-block input[type="search"] { font-size: 14px; }
  .search-submit {
    width: 36px;
    height: 36px;
  }
  .search-submit svg {
    width: 16px;
    height: 16px;
  }
  .hero { padding: 60px 0 40px; }
  .hero__label { font-size: 28px; line-height: 40px; padding: 6px 16px; border-radius: 14px; }
  .hero__subtitle { font-size: 14px; line-height: 21px; padding: 10px 14px; }
  .stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    margin-top: 0;
    border-radius: 16px;
  }
  .stats__item {
    font-size: 16px;
    white-space: normal;
    gap: 12px;
    align-items: center;
    justify-content: center;
  }
  .stats__item img { width: 48px; height: 48px; }
  .section-title { font-size: 26px; line-height: 36px; margin-top: 40px; margin-bottom: 16px; }
  .section-title__underline { height: 36px; }
  .section-subtitle { font-size: 14px; line-height: 22px; margin-bottom: 24px; }
  .cards { grid-template-columns: 1fr; gap: 20px; }
  .post-type-archive-coloring .cards,
  .tax-coloring_category .cards,
  .coloring-category-base .cards {
    grid-template-columns: 1fr;
  }
  .related-grid { grid-template-columns: 1fr; }
  .card__title { font-size: 20px; line-height: 28px; }
  .card__excerpt { font-size: 14px; line-height: 21px; }
  .card__body { padding: 16px; gap: 10px; }
  .card__overlay-btn { font-size: 18px; padding: 12px 20px; }
  .chips__arrow { display: none; }
  .chips-wrapper { margin-left: -24px; margin-right: -24px; }
  .chips { padding-left: 24px; padding-right: 24px; }
  .chip { padding: 8px 40px 8px 14px; font-size: 14px; min-height: 40px; }
  .chip img { width: 20px; height: 20px; }
  .filter-trigger {
    font-size: 15px;
    padding: 10px 14px;
    border-radius: 16px;
  }
  .filter-panel__title { font-size: 18px; }
  .filter-panel__item { font-size: 15px; }
  .btn { font-size: 18px; padding: 14px 22px; }
  .coloring-detail {
    padding-top: 40px;
  }
  .coloring-hero__title,
  .section-h3 {
    font-size: 24px;
    line-height: 34px;
  }
  .coloring-hero__description,
  .highlight-item,
  .coloring-richtext {
    font-size: 14px;
    line-height: 22px;
  }
  .coloring-image__caption {
    font-size: 13px;
    line-height: 20px;
  }
  .card--compact .card__title {
    font-size: 20px;
    line-height: 28px;
  }
  .coloring-decor { display: none; }
  .footer {
    padding-top: 48px;
    margin-top: 48px;
    background: var(--white);
  }
  .home .footer { margin-top: 48px; }
  .footer__wave {
    display: block;
    top: 0;
    height: 72px;
  }
  .footer__scribble {
    display: block;
    left: 50%;
    top: 6px;
    width: 160px;
    transform: translateX(-50%);
  }
  .footer__logo {
    width: 164px;
    height: 36px;
    flex-basis: 164px;
  }
  .footer__logo img { width: 164px; height: 36px; }
  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: auto;
    padding: 16px 20px;
    gap: 16px;
    margin-top: -18px;
  }
  .footer__links {
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    font-size: 14px;
  }
  .footer__lang { gap: 6px; font-size: 14px; }
  .footer__lang img { width: 28px; height: 28px; }
  .post-type-archive-coloring .home-content,
  .tax-coloring_category .home-content,
  .coloring-category-base .home-content {
    gap: 16px;
  }
  .category-bottom-content {
    margin-top: 48px;
    gap: 18px;
  }
  .category-bottom-content__eyebrow {
    width: 100%;
    font-size: 16px;
    line-height: 24px;
  }
  .category-bottom-content__title {
    font-size: 30px;
    line-height: 42px;
  }
  .category-bottom-content__description {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .category-bottom-content__description h2,
  .category-bottom-content__description h3,
  .category-bottom-content__description h4 {
    font-size: 20px;
    line-height: 30px;
  }
  .category-bottom-content__description p {
    font-size: 14px;
    line-height: 22px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .site-header__inner { gap: 12px 10px; padding: 22px 16px !important; }
  .site-header__logo {
    flex: 0 0 auto;
  }
  .site-logo {
    gap: 10px;
  }
  .site-logo__icon {
    width: 40px;
    height: 40px;
  }
  .site-logo__title {
    font-size: 15px;
  }
  .site-logo__subtitle {
    font-size: 11px;
  }
  .site-header .lang-pill { font-size: 14px; gap: 5px; }
  .lang-pill img { width: 20px; height: 20px; }
  .search-block { gap: 18px; }
  .search-block__label { font-size: 11px; }
  .search-block form { padding: 4px 4px 4px 16px; height: 42px; }
  .search-block input[type="search"] { font-size: 13px; }
  .search-submit {
    width: 34px;
    height: 34px;
  }
  .search-submit svg {
    width: 14px;
    height: 14px;
  }
  .hero { padding: 48px 0 32px; }
  .hero__label { font-size: 24px; line-height: 34px; padding: 5px 14px; border-radius: 12px; }
  .section-title { font-size: 22px; line-height: 30px; }
  .section-title__underline { height: 28px; }
  .stats { padding: 14px 16px; border-radius: 14px; }
  .stats__item { font-size: 14px; }
  .stats__item img { width: 40px; height: 40px; }
  .card__overlay-btn { font-size: 16px; padding: 10px 16px; border-radius: 14px; }
  .btn { font-size: 16px; padding: 12px 18px; border-radius: 16px; }
  .breadcrumbs {
    font-size: 12px;
    line-height: 18px;
  }
  .coloring-hero,
  .coloring-block {
    gap: 12px;
  }
  .coloring-related__title {
    margin-bottom: 18px;
  }
  .footer { padding-top: 48px; padding-bottom: 20px; }
  .footer__wave { height: 80px; }
  .footer__scribble {
    width: 140px;
    top: -5px;
  }
  .footer__inner { padding: 0 16px; gap: 12px; }
  .footer__logo {
    width: 146px;
    height: 32px;
    flex-basis: 146px;
  }
  .footer__logo img { width: 146px; height: 32px; }
  .footer__links { gap: 10px; font-size: 13px; }
  .footer__lang img { width: 24px; height: 24px; }
  .footer__lang { gap: 4px; font-size: 13px; }
  .post-type-archive-coloring .cards,
  .tax-coloring_category .cards,
  .coloring-category-base .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .post-type-archive-coloring .cards,
  .tax-coloring_category .cards,
  .coloring-category-base .cards {
    grid-template-columns: 1fr;
  }
}
