:root {
  --navy: #092458;
  --blue: #197ddd;
  --pink: #f93b83;
  --green: #15965d;
  --muted: #546784;
  --line: #e6edf4;
  --pale: #f7fbff;
  --shadow: 0 8px 24px rgba(28, 69, 111, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  max-width: 100%;
  color: #12244a;
  background: #fff;
  font:
    500 15px/1.55 Nunito,
    Arial,
    sans-serif;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.13;
}

h1,
h2 {
  font-family: Fredoka, Nunito, sans-serif;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.3rem, 4.8vw, 4rem);
}

h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.15rem);
}

h3 {
  font-size: 1.12rem;
}

p {
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid #ffb42f;
  outline-offset: 3px;
}

.container {
  width: min(100% - 78px, 1160px);
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  background: #fff;
  padding: 10px;
  z-index: 999;
}

.skip-link:focus {
  top: 10px;
}

.empty-message {
  padding: 30px;
  border: 1px dashed #cddde9;
  border-radius: 15px;
  background: #f8fcff;
}

.site-header {
  height: 62px;
  background: #fff;
  box-shadow: 0 2px 18px rgba(20, 53, 99, 0.08);
}

.header-inner {
  height: 62px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: block;
  flex: 0 0 260px;
  height: 60px;
  overflow: hidden;
  position: relative;
}

.brand-art {
  display: block;
  height: 60px;
  background: url("../images/Logo.webp") no-repeat center;
}

.brand-fallback {
  position: absolute;
  left: -9999px;
}

.brand-has-img {
  overflow: visible;
  display: flex;
  align-items: center;
}

.site-logo {
  display: block;
  max-height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.site-logo-footer {
  max-height: 42px;
}

.primary-menu {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font:
    700 11px/1.2 Nunito,
    sans-serif;
  color: #0d2b64;
}

.primary-menu a:hover,
.primary-menu a[aria-current] {
  color: var(--pink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-search-toggle {
  width: 50px;
  height: 50px;
  border: 1px solid #e5edf5;
  border-radius: 50%;
  background: #fff;
  color: #08265d;
  font: 700 38px/36px Fredoka;
  display: grid;
  place-items: center;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--pink);
  color: #fff !important;
  border-radius: 12px;
  padding: 11px 20px;
  font-weight: 900;
  white-space: nowrap;
}

.pill-button:hover,
.search-form button:hover {
  filter: brightness(0.94);
}

.header-search-panel {
  position: absolute;
  right: 26px;
  top: 66px;
  width: min(480px, calc(100vw - 52px));
  padding: 14px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 36px #2039562a;
}

.mobile-menu-button {
  display: none;
}

.site-footer {
  position: relative;
  color: #0b2b68;
  overflow: hidden;
}

.site-footer:before {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  top: -58px;
  height: 100px;
  background: #fff;
  border-radius: 50% 50% 45% 55%;
  transform: rotate(-1deg);
}

.footer-landscape {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.footer-flowers {
  position: absolute;
  font-size: 30px;
  top: 3px;
}

.footer-flowers.left {
  left: 0;
}

.footer-flowers.right {
  right: 0;
}

.footer-inner {
  position: relative;
  width: min(100% - 76px, 1160px);
  margin: auto;
  display: grid;
}

.footer-inner>div+div {
  border-left: 1px solid #cae3f2;
}

.brand-small {
  width: 176px;
  height: 41px;
  flex-basis: 176px;
}

.brand-small .brand-art {
  transform: scale(0.68);
  transform-origin: top left;
}

.footer-brand p {
  font-size: 12px;
  margin: 0;
}

/* ColorKidPlay App Store Buttons (Consistent across Popup, Header, Footer) */
.ckp-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 14px;
  background: #0f172a !important;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
  text-align: left;
}

.ckp-store-btn:hover,
.ckp-store-btn:focus-visible {
  background: #1e293b !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.28);
  text-decoration: none !important;
}

.ckp-store-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ckp-store-logo .ckp-store-icon {
  display: block;
}

.ckp-store-label {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
  text-align: left;
}

.ckp-store-label small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8 !important;
  display: block;
  line-height: 1.15;
}

.ckp-store-label strong {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff !important;
  white-space: nowrap;
  display: block;
  line-height: 1.2;
}

.footer-app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.footer-app-badges .ckp-store-btn {
  flex: 1 1 140px;
  max-width: 175px;
  padding: 8px 12px;
}

.footer-column h2 {
  font: 900 12px Nunito;
  margin: 2px 0 10px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  font-size: 11px;
  font-weight: 700;
}

.footer-links a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e92d40;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
}

.social-links a:nth-child(2) {
  background: #2d83e6;
}

.social-links a:nth-child(3) {
  background: #e52535;
}

.social-links a:nth-child(4) {
  background: linear-gradient(45deg, #fba848, #ed37a4, #9656dc);
}

.search-form {
  display: flex;
  align-items: center;
  height: 49px;
  background: #fff;
  border: 1px solid #dbe5f0;
  border-radius: 25px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.search-form .search-icon {
  font: 600 30px Fredoka;
  color: #204478;
}

.search-form input {
  border: 0;
  outline: 0;
  min-width: 0;
  flex: 1;
  color: #09285b;
  font-size: 14px;
}

.search-form input::placeholder {
  color: #8798ad;
}

.search-form button {
  align-self: stretch;
  border: 0;
  background: var(--pink);
  color: #fff;
  padding: 0 24px;
  font-weight: 900;
  white-space: nowrap;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 16px 0;
  color: #687c9d;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
}

.breadcrumbs a,
.breadcrumbs .breadcrumb-link {
  display: inline-flex;
  align-items: center;
  color: #2c6fbd;
  text-decoration: none;
  flex-shrink: 0;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumbs a:hover,
.breadcrumbs .breadcrumb-link:hover {
  text-decoration: underline;
  color: #1a569a;
}

.breadcrumbs span[aria-hidden="true"],
.breadcrumbs .breadcrumb-separator {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: #94a3b8;
  font-size: 13px;
  user-select: none;
  padding: 0 1px;
}

.breadcrumbs span[aria-current="page"],
.breadcrumbs .breadcrumb-current {
  display: inline-block;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #475569;
  font-weight: 600;
}

@media (max-width: 640px) {
  .breadcrumbs {
    margin: 12px 0;
    font-size: 12px;
    gap: 4px;
  }

  .breadcrumbs a,
  .breadcrumbs .breadcrumb-link {
    max-width: 105px;
  }
}

.section {
  padding-top: 26px;
  padding-bottom: 8px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-heading h2,
.section-heading h1 {
  margin: 0;
}

.section-heading p {
  margin: 8px 0 0;
}

.section-heading>a {
  font-weight: 900;
  font-size: 13px;
}

.section-heading>a:hover {
  text-decoration: underline;
}

.section-heading h2 {
  font-size: 28px;
}

.demo-hero {
  background: linear-gradient(100deg, #fff9ef, #fffcf7 45%, #f2faff);
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 50% 50%;
  height: 425px;
  position: relative;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 10px 0;
}

.hero-copy h1 {
  font-size: 48px;
  letter-spacing: -1px;
  margin: 8px 0 12px;
}

.hero-copy>p:not(.hero-kicker) {
  font-size: 18px;
  max-width: 480px;
}

.hero-kicker {
  font-size: 13px;
  font-weight: 900;
  color: #168f63;
  letter-spacing: 0.02em;
  margin: 0;
}

.rainbow-words i {
  font-style: normal;
  color: #f8547e;
}

.rainbow-words {
  color: #168ee2;
}

.hero-copy .search-form {
  margin-top: 25px;
  max-width: 525px;
}

.hero-copy .search-form button {
  background: #139764;
}

.hero-benefits {
  display: flex;
  gap: 30px;
  margin-top: 24px;
  font-size: 13px;
}

.hero-art {
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero-art-home,
.hero-art-blog {
  background: none;
}

.home-hero .hero-layout {
  height: 425px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 11px;
}

.topic-tile {
  display: block;
  background: #fff;
  border: 1px solid #edf1f6;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s;
}

.topic-tile:hover {
  transform: translateY(-3px);
}

.topic-art {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: #eef9f4;
  overflow: hidden;
}

.topic-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-sheet {
  background: #f2f9f6;
}

.topic-sheet-0 {
  background-position: 0 0;
}

.topic-sheet-1 {
  background-position: 50% 0;
}

.topic-sheet-2 {
  background-position: 100% 0;
}

.topic-sheet-3 {
  background-position: 0 100%;
}

.topic-sheet-4 {
  background-position: 50% 100%;
}

.topic-sheet-5 {
  background-position: 100% 100%;
}

.topic-name {
  display: block;
  padding: 9px 2px;
  font-size: 13px;
  font-weight: 900;
  color: #0e2b62;
}

.coloring-grid {
  display: grid;
  gap: 20px;
}

.home-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-grid.six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.coloring-card {
  min-width: 0;
}

.coloring-card-image {
  display: block;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid #dce4ec;
  border-radius: 10px;
  overflow: hidden;
}

.coloring-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coloring-card h3 {
  font: 800 14px/1.3 Nunito;
  margin: 9px 0 7px;
}

.coloring-card h3 a:hover {
  color: var(--blue);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #6e7e91;
}

.card-meta>span {
  color: #fb5c76;
}

.card-meta>span span {
  color: #667789;
}

.ckp-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 100px;
  background: linear-gradient(145deg, #f5f9ff, #e8f8ee);
  font-size: 52px;
}

.benefit-strip {
  background: #e9fbf4;
  padding: 26px 0;
  margin-top: 36px;
}

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

.benefit-grid>div {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 0 10px;
}

.benefit-grid span {
  grid-row: span 2;
  font-size: 32px;
}

.benefit-grid strong {
  font-size: 14px;
}

.benefit-grid small {
  font-size: 12px;
}

.archive-main {
  padding: 14px 0 30px;
}

.archive-guide,
.archive-faq {
  margin-top: 42px;
}

.archive-guide {
  padding: 28px;
  border: 1px solid #dcebe5;
  border-radius: 22px;
  background: linear-gradient(135deg, #f1faf5, #f5faff);
}

.archive-content-heading {
  max-width: 760px;
}

.archive-eyebrow {
  color: #3e8f64;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.archive-content-heading h2 {
  margin: 5px 0 7px;
  color: var(--navy);
  font: 800 clamp(24px, 2.5vw, 32px)/1.2 Fredoka, sans-serif;
}

.archive-content-heading p {
  margin: 0;
  color: #52677b;
  line-height: 1.6;
}

.archive-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.archive-guide-grid>div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-content: start;
  align-items: baseline;
  column-gap: 10px;
  padding: 20px;
  border: 1px solid #e4edf0;
  border-radius: 16px;
  background: #fff;
}

.archive-guide-number {
  color: #46976a;
  font: 800 19px Fredoka, sans-serif;
}

.archive-guide-grid h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font: 800 18px/1.25 Fredoka, sans-serif;
}

.archive-guide-grid p {
  grid-column: 2;
  margin: 0;
  color: #52677b;
  line-height: 1.55;
}

.archive-guide-grid a,
.archive-faq a {
  color: #24764b;
  font-weight: 800;
  text-underline-offset: 3px;
}

.archive-faq-list {
  display: grid;
  gap: 10px;
  max-width: 950px;
  margin-top: 20px;
}

.archive-faq-list details {
  border: 1px solid #dfe8ef;
  border-radius: 13px;
  background: #fff;
}

.archive-faq-list details[open] {
  border-color: #b8dbc9;
  box-shadow: 0 5px 18px rgba(31, 69, 88, .06);
}

.archive-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 18px;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.archive-faq-list summary::-webkit-details-marker {
  display: none;
}

.archive-faq-list summary::after {
  content: '+';
  flex: 0 0 auto;
  color: #46976a;
  font: 700 24px/1 Fredoka, sans-serif;
}

.archive-faq-list details[open] summary::after {
  content: '−';
}

.archive-faq-list summary:focus-visible {
  outline: 3px solid #89bdf4;
  outline-offset: 2px;
}

.archive-faq-list details p {
  margin: -2px 18px 17px;
  max-width: 760px;
  color: #52677b;
  line-height: 1.6;
}

.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
  padding-top: 15px;
}

.archive-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 17px;
}

@media (max-width: 650px) {

  .archive-guide,
  .archive-faq {
    margin-top: 30px;
  }

  .archive-guide {
    padding: 19px;
  }

  .archive-guide-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .archive-guide-grid>div {
    padding: 16px;
  }

  .archive-faq-list summary {
    padding: 15px;
  }

  .archive-faq-list details p {
    margin: -2px 15px 15px;
  }
}

.archive-sidebar,
.single-sidebar,
.search-aside {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.sidebar-box {
  border: 1px solid #edf1f5;
  background: #fff;
  border-radius: 13px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.sidebar-box h2 {
  font: 900 17px Nunito;
  margin: 0 0 13px;
}

.sidebar-box p {
  font-size: 12px;
  line-height: 1.5;
  margin: 8px 0;
}

.sidebar-box .search-form {
  height: 38px;
  border-radius: 9px;
}

.sidebar-box .search-form .search-icon {
  font-size: 22px;
  padding: 0 8px;
}

.sidebar-box .search-form input {
  font-size: 11px;
}

.sidebar-box .search-form button:first-letter {
  font-size: 18px;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
}

.sidebar-links a {
  display: flex;
  justify-content: space-between;
  padding: 7px 3px;
  border-top: 1px solid #eef2f6;
  font-size: 12px;
  color: #17366c;
}

.sidebar-links a:hover {
  color: var(--pink);
}

.mini-post {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid #eef2f6;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.mini-post img,
.mini-post .ckp-placeholder {
  width: 62px;
  height: 62px;
  min-height: 62px;
  border-radius: 8px;
  object-fit: cover;
  font-size: 22px;
  flex: 0 0 62px;
}

.navigation.pagination {
  margin: 25px auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.page-numbers {
  display: grid;
  place-items: center;
  min-width: 31px;
  height: 33px;
  padding: 0 9px;
  border-radius: 8px;
  background: #f4f7fb;
  font-size: 13px;
}

.page-numbers.current,
.page-numbers:hover {
  background: #169862;
  color: #fff;
}

.category-hero-inner {
  display: grid;
  grid-template-columns: 50% 50%;
  height: 285px;
}

.category-hero p {
  max-width: 490px;
  font-size: 17px;
}

.category-points {
  display: flex;
  gap: 20px;
  color: #536782;
  font-size: 12px;
  margin-top: 20px;
}

.subtopics,
.blog-categories {
  display: flex;
  align-items: center;
  gap: 9px;
  overflow: auto;
  padding: 14px 0;
  white-space: nowrap;
}

.subtopics a,
.blog-categories a {
  background: #f5f7fb;
  border-radius: 11px;
  padding: 9px 15px;
  font-weight: 800;
  font-size: 12px;
}

.subtopics a.selected,
.blog-categories a.selected {
  background: #159963;
  color: #fff;
}

.sort-form select {
  padding: 8px 12px;
  border: 1px solid #dce6ef;
  border-radius: 8px;
  background: #fff;
  color: #183562;
}

.archive-title {
  font-size: 28px;
  margin: 0 0 14px;
}

.blog-hero .hero-layout {
  height: 330px;
}

.blog-hero .hero-copy h1 {
  font-size: 50px;
}

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

.blog-card {
  border: 1px solid #e9eff4;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.blog-card-image {
  height: 160px;
  display: block;
  overflow: hidden;
}

.blog-card-image img,
.blog-card-image .ckp-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 11px 13px 13px;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  color: #8090a6;
  font-size: 11px;
}

.blog-card h3 {
  font: 900 15px/1.25 Nunito;
  margin: 8px 0;
}

.blog-card p {
  font-size: 12px;
  line-height: 1.35;
  min-height: 50px;
  margin-bottom: 5px;
}

.text-link {
  display: block;
  text-align: right;
  color: #087de8;
  font-weight: 900;
  font-size: 12px;
}

.single-coloring,
.single-blog {
  padding-bottom: 28px;
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(255px, 0.95fr);
  gap: 22px;
}

.single-heading h1 {
  font-size: 34px;
  margin: 7px 0;
}

.single-heading>p {
  font-size: 14px;
  margin-bottom: 10px;
}

.post-byline {
  display: flex;
  flex-wrap: wrap;
  color: #637493;
  margin: 14px 0;
}

.featured-preview {
  border: 1px solid #e5ecf2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.featured-preview>img {
  display: block;
  width: 100%;
  object-fit: contain;
  background: #fff;
}

.preview-actions {
  display: flex;
  gap: 10px;
  background: #f8fbfe;
}

.preview-actions .pill-button {
  background: #149b63;
  padding: 7px 14px;
  font-size: 12px;
}

.print-button {
  border: 1px solid #cfe0ee;
  background: #fff;
  color: #204175;
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 800;
}

.preview-thumbs {
  display: flex;
  gap: 10px;
  overflow: auto;
  margin: 13px 0 20px;
}

.preview-thumbs img {
  width: 90px;
  height: 72px;
  object-fit: cover;
  border: 1px solid #dce6ec;
  border-radius: 8px;
}

.article-content {
  color: #536781;
  font-size: 14px;
  line-height: 1.7;
}

.article-content h2 {
  font: 600 23px Fredoka;
  margin: 25px 0 10px;
}

.article-content h3 {
  font: 900 18px Nunito;
  margin: 20px 0 8px;
}

.article-content p {
  margin-bottom: 12px;
}

.article-content img {
  border-radius: 10px;
}

.article-content a:not(.download-mini) {
  color: var(--blue);
  text-decoration: underline;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin: 14px 0 25px;
}

.gallery-item {
  margin: 0;
  min-width: 0;
}

.gallery-preview {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item figcaption {
  color: #183563;
}

.gallery-item figcaption span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
}

.download-mini {
  font-size: 11px;
  color: #168f73;
}

.info-panel {
  padding: 22px;
  border-radius: 15px;
  margin: 20px 0;
}

.info-panel h2 {
  font-size: 21px;
}

.info-panel li {
  margin: 4px 0;
  color: #4f6178;
}

.related-section {
  margin-top: 35px;
}

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

.download-primary {
  background: #139863;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  padding: 12px 15px;
  font-weight: 900;
}

.download-row {
  display: flex;
  gap: 7px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f4;
  font-size: 13px;
  font-weight: 800;
}

.download-row span {
  color: #159961;
}

.detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 13px;
  margin: 0;
}

.detail-list dt {
  color: #6c7e98;
}

.detail-list dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-list a {
  background: #f1edff;
  color: #3c3a8a;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.blog-article {
  border: 1px solid #eef2f6;
  border-radius: 15px;
  background: #fff;
}

.blog-featured img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.article-end {
  text-align: center;
  margin: 24px auto;
}

.article-end .download-primary {
  display: inline-block;
  min-width: 300px;
}

.share-links {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 0;
  border-block: 1px solid #edf2f6;
  font-size: 12px;
}

.share-links a,
.share-links button {
  border: 0;
  border-radius: 7px;
  background: #eaf3ff;
  color: #1a4a88;
  padding: 7px 10px;
  font-weight: 800;
}

/* Author Box Card - Compact Modern Layout */
.author-box-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbfe 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 22px;
  margin: 24px 0 20px;
  box-shadow: 0 4px 16px rgba(15, 30, 60, 0.04);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.author-box-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff7b54 0%, #ffb26b 50%, #54a0ff 100%);
}

.author-box-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.author-box-avatar {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.author-box-avatar .author-avatar-img,
.author-box-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: block;
}

.author-box-avatar .author-avatar-site-icon {
  background: #ffffff;
  padding: 3px;
  object-fit: contain;
}

.author-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: #0284c7;
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}

.author-fallback-icon {
  width: 24px;
  height: 24px;
  stroke: #0284c7;
}

.author-verified-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #0ea5e9;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
  box-shadow: 0 1px 4px rgba(14, 165, 233, 0.35);
}

.author-box-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.author-box-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  line-height: 1.2;
}

.author-box-role {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 2px 8px;
  border-radius: 100px;
  line-height: 1.3;
}

.author-box-name {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.author-box-bio {
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 10px !important;
}

.author-box-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.author-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
  padding: 3px 9px;
  border-radius: 100px;
  border: 1px solid #e2e8f0;
  line-height: 1.3;
}

.author-badge-chip .badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.author-badge-chip .ckp-icon {
  width: 12px;
  height: 12px;
  vertical-align: 0;
  stroke-width: 2.2;
}

.author-badge-safe {
  background: #eff6ff;
  border-color: #dbeafe;
  color: #1e40af;
}

.author-badge-safe .ckp-icon {
  stroke: #2563eb;
}

.author-badge-print {
  background: #f5f3ff;
  border-color: #ede9fe;
  color: #5b21b6;
}

.author-badge-print .ckp-icon {
  stroke: #7c3aed;
}

.author-badge-free {
  background: #fff1f2;
  border-color: #ffe4e6;
  color: #9f1239;
}

.author-badge-free .ckp-icon {
  stroke: #e11d48;
}

@media (max-width: 580px) {
  .author-box-card {
    padding: 13px 15px;
    margin: 16px 0;
    border-radius: 14px;
  }

  .author-box-header {
    gap: 11px;
    margin-bottom: 8px;
  }

  .author-box-avatar {
    width: 42px;
    height: 42px;
  }

  .author-box-avatar .author-avatar-img,
  .author-box-avatar img,
  .author-avatar-fallback {
    width: 42px;
    height: 42px;
  }

  .author-box-name {
    font-size: 15px;
  }

  .author-box-eyebrow {
    font-size: 10px;
  }

  .author-box-role {
    font-size: 10px;
    padding: 1.5px 7px;
  }

  .author-box-bio {
    font-size: 12.5px;
    line-height: 1.45;
    margin: 0 0 8px !important;
  }

  .author-badge-chip {
    font-size: 10.5px;
    padding: 2.5px 7px;
  }
}

.page-main {
  padding: 20px 0 80px;
}

.page-article {
  max-width: 790px;
}

.page-article h1 {
  font-size: 40px;
}

.search-hero {
  height: 202px;
  text-align: center;
}

.search-hero .search-form {
  width: min(490px, 90%);
  box-shadow: 0 0 0 8px #ffffffb8;
}

.search-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 200px;
  gap: 17px;
}

.search-filters {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e8eef5;
  border-radius: 13px;
  overflow: hidden;
  align-self: start;
}

.search-filters .sidebar-box {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.search-filters a {
  display: block;
  font-size: 12px;
  color: #1d4884;
  padding: 7px;
  border-radius: 7px;
}

.search-filters a:hover {
  background: #ffeaf2;
}

.search-results .section-heading {
  margin-bottom: 12px;
}

.search-results .section-heading h2 {
  font-size: 23px;
}

.search-results .section-heading p {
  font-size: 12px;
}

.search-result {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 14px;
  border: 1px solid #e4ecf4;
  border-radius: 12px;
  padding: 9px;
  margin-bottom: 10px;
  min-height: 115px;
}

.search-result>a {
  height: 110px;
  overflow: hidden;
  border-radius: 9px;
}

.search-result img,
.search-result .ckp-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result h3 {
  font: 900 16px Nunito;
  margin: 4px 0;
}

.search-result p {
  font-size: 12px;
  line-height: 1.3;
  margin: 0;
}

.result-type {
  display: inline-block;
  color: #1180ce;
  background: #e7f6ff;
  padding: 2px 8px;
  border-radius: 12px;
}

.search-aside .pill-button {
  font-size: 11px;
  padding: 8px;
}

.error-page {
  background: #f5fcff;
}

.error-hero {
  height: min(56vw, 574px);
  background: url("../images/404-meadow.webp") no-repeat center;
  position: relative;
}

.error-home {
  position: absolute;
  left: 21%;
  top: 70%;
  width: 22%;
  height: 12%;
  border-radius: 15px;
}

.error-recovery {
  text-align: center;
  padding-top: 10px;
}

.error-recovery h2 {
  font-size: 33px;
  margin: 0 0 6px;
}

.error-recovery p {
  font-size: 16px;
  line-height: 1.35;
}

.error-recovery>.search-form {
  width: min(640px, 100%);
  margin: 18px auto 28px;
}

.error-recovery>.search-form button {
  padding: 0 28px;
}

.error-recovery h2:nth-of-type(n + 2) {
  font-size: 25px;
  margin: 28px 0 16px;
}

.error-topics {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.error-topics .topic-tile {
  background: #fffaf2;
}

.error-posts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.error-post {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e6edf4;
  box-shadow: var(--shadow);
  text-align: left;
  padding-bottom: 10px;
}

.error-post img,
.error-post .ckp-placeholder {
  width: 100%;
  height: 106px;
  object-fit: cover;
}

.error-post strong {
  display: block;
  font-size: 13px;
  line-height: 1.25;
  margin: 6px 9px;
  color: #0b2e67;
}

.error-post>span:last-child {
  display: grid;
  place-items: center;
  margin-left: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
}

@media (max-width: 1100px) {
  .header-inner {
    width: calc(100% - 32px);
    gap: 8px;
  }

  .brand {
    flex-basis: 235px;
    width: 235px;
  }

  .primary-menu {
    gap: 12px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .pill-button {
    padding: 10px 14px;
  }

  .container {
    width: calc(100% - 60px);
  }
}

@media (max-width: 850px) {
  .mobile-menu-button {
    display: block;
    border: 0;
    background: none;
    color: var(--navy);
    font-size: 25px;
    margin-left: auto;
  }

  .primary-menu {
    display: none;
    position: absolute;
    left: 15px;
    right: 15px;
    top: 64px;
    background: #fff;
    box-shadow: 0 10px 25px #12345a30;
    border-radius: 12px;
    padding: 15px;
    flex-wrap: wrap;
  }

  .primary-menu.open {
    display: flex;
  }

  .header-actions .pill-button {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 55% 45%;
  }

  .hero-copy h1 {
    font-size: 39px;
  }

  .hero-copy>p:not(.hero-kicker) {
    font-size: 15px;
  }

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

  .home-grid,
  .home-grid.six {
    grid-template-columns: repeat(3, 1fr);
  }

  .archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .search-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .search-aside {
    display: none;
  }
}

@media (max-width: 650px) {
  .container {
    width: calc(100% - 30px);
  }

  .site-header,
  .header-inner {
    height: 58px;
  }

  .brand {
    height: 58px;
  }

  .brand-art {
    transform-origin: left top;
  }

  .header-search-toggle {
    font-size: 27px;
  }

  .header-inner {
    gap: 5px;
  }

  .demo-hero .hero-layout {
    height: auto;
    display: block;
    min-height: 620px;
    padding-top: 28px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-copy h1 {
    font-size: 39px;
  }

  .hero-benefits {
    flex-wrap: wrap;
  }

  .hero-art {
    height: 280px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-size: 750px auto;
    background-position: -335px -42px;
  }

  .blog-hero .hero-art {
    background-position: -335px -42px;
  }

  .topic-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .topic-name {
    font-size: 11px;
  }

  .section-heading h2 {
    font-size: 23px;
  }

  .home-grid,
  .home-grid.six {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .coloring-card h3 {
    font-size: 12px;
  }

  .card-meta {
    font-size: 10px;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-hero-inner {
    height: auto;
    display: block;
    position: relative;
  }

  .category-hero-art {
    left: auto;
    right: 0;
    bottom: 0;
  }

  .category-points {
    flex-wrap: wrap;
  }

  .archive-layout,
  .single-layout {
    grid-template-columns: 1fr;
  }

  .archive-sidebar,
  .single-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .blog-card-image {
    height: 130px;
  }

  .blog-card-body {
    padding: 9px;
  }

  .blog-card h3 {
    font-size: 13px;
  }

  .blog-card p {
    font-size: 11px;
  }

  .single-heading h1,
  .blog-article-header h1 {
    font-size: 31px;
  }

  .gallery-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-layout {
    grid-template-columns: 1fr;
  }

  .search-filters {
    display: none;
  }

  .footer-inner .footer-brand {
    grid-column: span 2;
  }

  .footer-inner .footer-column:nth-child(3) {
    border-left: 0;
  }

  .error-hero {
    height: 56vw;
    background-size: 100vw auto;
    background-position: center -6vw;
  }

  .error-recovery h2 {
    font-size: 28px;
  }

  .error-topics {
    grid-template-columns: repeat(3, 1fr);
  }

  .error-posts {
    grid-template-columns: repeat(2, 1fr);
  }

  .error-post:nth-child(n + 5) {
    display: none;
  }
}

@media (max-width: 400px) {
  .brand-art {
    transform: scale(0.72);
  }

  .search-form input {
    font-size: 12px;
  }

  .search-form button {
    padding-inline: 15px;
  }

  .archive-sidebar,
  .single-sidebar {
    grid-template-columns: 1fr;
  }

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

  .blog-card-image {
    height: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .topic-tile {
    transition: none;
  }
}

/* Supplied source artwork: crisp logo, garden footer, and transparent hero illustration. */
.brand-art {
  background-position: center;
  background-repeat: no-repeat;
}

.card-excerpt {
  font-size: 11px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 3px 0 7px;
  min-height: 27px;
}

.home-grid .card-excerpt {
  display: none;
}

.topic-grid>.empty-message,
.coloring-grid>.empty-message,
.blog-grid>.empty-message {
  grid-column: 1/-1;
}

.primary-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu .current-menu-item>a {
  color: var(--pink);
}

.subtopics {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(110px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding: 14px 0 6px;
}

.subtopics .subtopic-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #f1f9f6;
  border: 1px solid #e6eef0;
  text-align: center;
  padding: 7px;
  color: var(--navy);
}

.subtopics .subtopic-tile:nth-child(3n) {
  background: #fff3f8;
}

.subtopics .subtopic-tile:nth-child(3n + 1) {
  background: #eff7ff;
}

.subtopics .subtopic-tile.selected {
  border-color: #23a56c;
  box-shadow: inset 0 0 0 1px #23a56c;
}

.subtopic-icon {
  font-size: 31px;
  height: 42px;
  display: grid;
  place-items: center;
}

.subtopic-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.subtopic-tile strong {
  font-size: 12px;
  line-height: 1.15;
}

.subtopic-tile small {
  font-size: 10px;
  color: #697e98;
}

.home-hero .hero-copy {
  align-self: start;
  padding-top: 58px;
}

@media (max-width: 650px) {
  .home-hero .hero-copy {
    padding-top: 0;
  }
}

.footer-inner {
  grid-template-columns: 1.3fr 1.35fr 1.25fr 0.9fr;
  gap: 18px;
}

.footer-inner>div+div {
  padding-left: 20px;
}

.footer-links {
  gap: 5px 12px;
}

@media (max-width: 850px) {
  .footer-inner {
    grid-template-columns: 1.25fr 1.25fr 1fr;
  }

  .footer-social {
    display: none;
  }
}

@media (max-width: 650px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner .footer-brand,
  .footer-inner .footer-column:nth-child(2),
  .footer-inner .footer-column:nth-child(3) {
    grid-column: span 2;
  }

  .footer-inner>div+div {
    border-left: 0;
    padding-left: 0;
  }
}

.site-footer:before,
.footer-flowers {
  display: none;
}

.home-hero:before,
.blog-hero:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 53%;
  background: linear-gradient(90deg, #fff9ef 70%, #fff9ef00);
  pointer-events: none;
}

.home-hero,
.blog-hero {
  position: relative;
}

.hero-art-home,
.hero-art-blog {
  display: none;
}

.error-hero {
  background-image: url("../images/404-meadow.webp");
  background-position: center center;
  background-size: 100% 100%;
}

.search-hero {
  background-image: url("../images/banner-search.webp");
  background-size: cover;
  background-position: center 53%;
  padding-top: 19px;
}

.search-hero h1,
.search-hero p {
  position: static;
  left: auto;
  margin: 0;
  text-shadow: 0 2px 15px #fff;
}

.search-hero h1 {
  font-size: 40px;
}

.search-hero p {
  font-size: 14px;
  color: var(--navy);
}

.search-hero .search-form {
  margin: 18px auto 0;
}

@media (max-width: 650px) {

  .home-hero,
  .blog-hero {
    background-size: auto 56%;
    background-position: center bottom;
  }

  .home-hero:before,
  .blog-hero:before {
    display: none;
  }

  .search-hero h1 {
    font-size: 31px;
  }

  .search-hero .search-form {
    margin-top: 16px;
  }
}

/* Keep the supplied illustration at its intended scale across viewport sizes. */
.home-hero,
.blog-hero {
  background: #fdf7ec;
  isolation: isolate;
}

.home-hero::before,
.blog-hero::before {
  display: none;
}

.home-hero::after,
.blog-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(100%, 1024px);
  background: url("../images/banner-home.webp") right center/1024px auto no-repeat;
  z-index: 0;
  pointer-events: none;
}

.home-hero .hero-layout,
.blog-hero .hero-layout {
  z-index: 1;
}

.home-hero .hero-copy,
.blog-hero .hero-copy {
  max-width: 510px;
}

.hero-copy h1 {
  line-height: 1.08;
}

.hero-copy>p:not(.hero-kicker) {
  line-height: 1.48;
}

.hero-benefits {
  align-items: center;
  flex-wrap: wrap;
  column-gap: 25px;
  row-gap: 8px;
}

@media (min-width: 1200px) {

  .home-hero::after,
  .blog-hero::after {
    right: max(0px, calc((100vw - 1440px) / 2));
  }
}

@media (min-width: 651px) and (max-width: 850px) {

  .home-hero .hero-layout,
  .blog-hero .hero-layout {
    display: block;
    height: 690px;
  }

  .home-hero .hero-copy,
  .blog-hero .hero-copy {
    width: min(100%, 590px);
    max-width: 590px;
    padding-top: 32px;
  }

  .home-hero::after,
  .blog-hero::after {
    width: 100%;
    height: 395px;
    inset: auto 0 0;
    background-size: 800px auto;
    background-position: right bottom;
  }
}

@media (max-width: 650px) {
  .hero-copy h1 {
    line-height: 1.08;
  }

  .hero-benefits {
    column-gap: 12px;
  }
}

@media (max-width: 360px) {

  .home-hero::after,
  .blog-hero::after {
    background-size: 540px auto;
  }
}

/* Hero and footer illustration placement matched to the reference canvas. */
@media (min-width: 851px) {

  .home-hero::after,
  .blog-hero::after {
    transform: translateX(55px);
  }

  .blog-hero::after {
    top: 28px;
  }
}

.category-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(105deg, #fffaf2 0%, #fffaf2 47%, #f3fcf8 100%);
}

.category-hero-inner {
  position: relative;
  align-items: center;
}

.category-hero-art {
  background-image: url("../images/category-hero-animals.webp");
  background-size: 510px auto;
  background-position: right bottom;
}

.category-hero-art.is-topic-art {
  background-image: var(--ckp-topic-hero);
  background-size: 265px auto;
  background-position: center;
}

.category-hero-art.is-topic-banner {
  background-image: var(--ckp-topic-hero);
  background-size: contain;
  background-position: center bottom;
}

.category-hero h1 {
  font-size: 48px;
  line-height: 1.08;
  margin: 12px 0 10px;
}

.category-hero p {
  line-height: 1.45;
}

.category-points {
  flex-wrap: wrap;
  row-gap: 8px;
}

.site-footer {
  padding: 65px 0 15px;
}

.footer-inner {
  align-items: start;
}

.footer-brand p {
  line-height: 1.45;
}

.footer-links {
  line-height: 1.45;
  row-gap: 6px;
}

.social-links span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e92d40;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
}

.social-links span:nth-child(2) {
  background: #2d83e6;
}

.social-links span:nth-child(3) {
  background: #e52535;
}

.social-links span:nth-child(4) {
  background: linear-gradient(45deg, #fba848, #ed37a4, #9656dc);
}

.category-results {
  min-width: 0;
  transition: opacity 0.18s ease;
}

.category-results.is-loading {
  opacity: 0.55;
}

@media (max-width: 850px) {
  .category-hero-art {
    background-size: 530px auto;
  }
}

@media (max-width: 650px) {
  .category-hero-inner {
    padding-bottom: 245px;
  }

  .category-hero-art {
    width: 100%;
    height: 245px;
    background-size: min(115%, 520px) auto;
    background-position: center bottom;
  }

  .site-footer {
    background-position: center bottom;
  }
}

.primary-menu a[aria-current],
.primary-menu .current-menu-item>a {
  border-bottom: 2px solid #168d60;
  padding-bottom: 8px;
}

.header-search-toggle svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
}

.search-form .search-icon {
  width: 43px;
  padding: 0;
  display: grid;
  place-items: center;
  flex: 0 0 43px;
}

.search-form .search-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.sidebar-box .search-form .search-icon {
  width: 32px;
  flex-basis: 32px;
}

.sidebar-box .search-form .search-icon svg {
  width: 15px;
  height: 15px;
}

.sidebar-box .search-form button {
  font-size: 11px;
  padding: 0 10px;
}

.saved-mobile-link {
  display: none;
}

.header-saved {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid #e5edf5;
  border-radius: 50%;
  color: #ed3b79;
  font: 700 27px Fredoka;
}

.header-saved-count {
  position: absolute;
  right: -4px;
  top: -5px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 3px;
  border-radius: 20px;
  background: #159764;
  color: #fff;
  font: 800 10px Nunito;
}

.header-saved-count[hidden] {
  display: none;
}

.save-page-button {
  border: 1px solid #f7c1d3;
  background: #fff4f8;
  color: #bd2e64;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.save-page-button:hover,
.save-page-button.is-saved {
  background: #f84183;
  color: #fff;
  border-color: #f84183;
}

.topic-tile.is-inactive {
  cursor: default;
}

.topic-tile.is-inactive:hover {
  transform: none;
}

.coloring-card>.save-page-button {
  margin-top: 8px;
}

.gallery-caption {
  margin: 7px 2px 0;
  color: #6c7c90;
  font-size: 11px;
  line-height: 1.4;
}

.collection-rights {
  margin: 18px 0 0;
  padding-top: 12px;
  border-top: 1px solid #e5edf2;
  color: #64748b;
  font-size: 11px;
  line-height: 1.5;
}

.collection-rights strong {
  color: #425875;
}

.collection-rights ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.collection-rights li+li {
  margin-top: 4px;
}

.preview-actions {
  align-items: center;
  flex-wrap: wrap;
}

.saved-page {
  padding-bottom: 36px;
  min-height: 65vh;
}

.saved-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 28px 0 20px;
}

.saved-heading h1 {
  margin: 0 0 6px;
}

.saved-heading p {
  margin: 0;
}

.saved-heading-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: #fff0f6;
  color: #f43c7e;
  font-size: 36px;
}

.saved-notice {
  border-radius: 14px;
  background: #eff9f5;
  border: 1px solid #d3eadf;
  padding: 14px 18px;
  color: #315f53;
  line-height: 1.5;
}

.saved-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 25px 0 17px;
}

.saved-toolbar p {
  margin: 0;
  font-weight: 800;
  color: var(--navy);
}

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

.saved-card {
  border: 1px solid #e7edf3;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.saved-card-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1.2;
  background: #f7fafc;
  font-size: 44px;
}

.saved-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.saved-card-body {
  padding: 12px 14px 15px;
}

.saved-card h2 {
  font: 800 15px/1.35 Nunito;
  margin: 0 0 12px;
}

.saved-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.saved-card-actions .saved-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 40px;
  padding: 8px 6px;
  border: 1px solid #cbdbea;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font: 800 13px/1.2 Nunito, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s;
}

.saved-card-actions .saved-action:hover {
  transform: translateY(-2px);
}

.saved-card-actions .saved-action:focus-visible {
  outline: 3px solid #89bdf4;
  outline-offset: 2px;
}

.saved-card-actions .saved-action-view:hover {
  background: #f1f7fe;
  border-color: #92bae8;
}

.saved-card-actions .saved-action-download {
  border-color: #4a9a6b;
  background: #4a9a6b;
  color: #fff;
}

.saved-card-actions .saved-action-download:hover {
  border-color: #347e53;
  background: #347e53;
}

.saved-card-actions .saved-action-remove {
  grid-column: 1 / -1;
  min-height: 36px;
  border-color: #f1d9e0;
  background: #fff6f8;
  color: #9e3d5e;
}

.saved-card-actions .saved-action-remove:hover {
  border-color: #e8abc0;
  background: #ffecf1;
}

.saved-card-actions-single .saved-action-view {
  grid-column: 1 / -1;
}

.saved-empty {
  text-align: center;
  margin: 30px auto;
  padding: 45px 20px;
  border: 1px dashed #cadee8;
  border-radius: 20px;
  background: #f7fcff;
}

.saved-empty>span {
  font-size: 55px;
}

.saved-empty h2 {
  margin: 8px 0;
}

.saved-empty p {
  margin-bottom: 20px;
}

@media (max-width: 850px) {
  .saved-mobile-link {
    display: block;
  }

  .header-saved {
    display: none;
  }

  .saved-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .saved-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .saved-heading-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    font-size: 29px;
  }

  .saved-heading h1 {
    font-size: 29px;
  }

  .saved-card-body {
    padding: 10px;
  }

  .saved-card-actions {
    gap: 6px;
  }
}

@media (max-width: 400px) {
  .saved-grid {
    grid-template-columns: 1fr 1fr;
  }

  .saved-card h2 {
    font-size: 13px;
  }

  .saved-card-actions {
    grid-template-columns: 1fr;
  }

  .saved-card-actions .saved-action {
    grid-column: 1;
  }
}

/* Continuous illustrated transitions; keep the wave height fixed on wide and narrow screens. */
.home-hero .hero-layout::after,
.blog-hero .hero-layout::after,
.category-hero-inner::after,
.search-hero::after,
.error-hero::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -1px;
  width: 100vw;
  height: 36px;
  transform: translateX(-50%);
  background: url("../images/hero-wave.svg") center bottom/100% 100% no-repeat;
  pointer-events: none;
}

.search-hero {
  position: relative;
}

.error-hero::after {
  height: 42px;
  background-image: url("../images/hero-wave-blue.svg");
}

.site-footer {
  margin-top: 42px;
  padding-top: 70px;
  -webkit-mask-image: url("../images/footer-wave-mask.svg"), linear-gradient(#000 0 0);
  mask-image: url("../images/footer-wave-mask.svg"), linear-gradient(#000 0 0);
  -webkit-mask-size:
    100% 70px,
    100% calc(100% - 69px);
  mask-size:
    100% 70px,
    100% calc(100% - 69px);
  -webkit-mask-position:
    top center,
    bottom center;
  mask-position:
    top center,
    bottom center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.site-footer::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: 10%;
  width: 80%;
  height: 95px;
  background: linear-gradient(180deg, #f7fcff 0%, #eaf9ff 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  pointer-events: none;
}

.footer-inner {
  z-index: 1;
}

@media (max-width: 650px) {

  .home-hero .hero-layout::after,
  .blog-hero .hero-layout::after,
  .category-hero-inner::after,
  .search-hero::after {
    height: 28px;
  }

  .site-footer {
    padding-top: 78px;
  }
}

/* 2026-10 visual refinement */
.ckp-icon {
  width: 1.1em;
  height: 1.1em;
  display: inline-block;
  vertical-align: -0.17em;
  flex: none;
  stroke: currentColor;
}

.primary-menu {
  gap: 13px;
  font-size: 13px;
  font-weight: 800;
}

.primary-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 58px;
  padding: 0 2px;
  vertical-align: middle;
}

.primary-menu a[aria-current],
.primary-menu .current-menu-item>a {
  padding: 0 2px;
  border: 0;
}

.primary-menu a[aria-current]::after,
.primary-menu .current-menu-item>a::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 2px;
  right: 2px;
  height: 2px;
  border-radius: 2px;
}

.primary-menu .ckp-icon,
.menu-topic-image {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.header-inner {
  width: min(100% - 32px, 1240px);
  gap: 15px;
}

.brand {
  flex-basis: 226px;
  width: 226px;
}

.brand-art {
  background-size: 226px auto;
  width: 226px;
}

.header-actions .pill-button {
  font-size: 13px;
  padding: 10px 14px;
}

.header-actions .header-printables-btn {
  background: #0f172a;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  font-weight: 800;
  gap: 8px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-actions .header-printables-btn:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22);
}

.header-actions .header-printables-btn .ckp-store-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.header-saved {
  font-size: 22px;
}

.header-saved .ckp-icon {
  width: 22px;
  height: 22px;
}

.mobile-menu-button .ckp-icon {
  width: 27px;
  height: 27px;
}

.pill-button .ckp-icon,
.download-primary .ckp-icon {
  width: 17px;
  height: 17px;
}

.hero-benefits span,
.category-points span,
.post-byline span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-benefits .ckp-icon,
.category-points .ckp-icon {
  width: 18px;
  height: 18px;
  color: #16a46b;
}

.category-points span:nth-child(2) .ckp-icon {
  color: #f2a42c;
}

.category-points span:nth-child(3) .ckp-icon {
  color: #ee5482;
}

.benefit-grid .ckp-icon {
  width: 30px;
  height: 30px;
  color: #16986d;
}

.card-meta .ckp-icon {
  width: 13px;
  height: 13px;
}

.card-meta a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.save-page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.save-page-button .ckp-icon {
  width: 14px;
  height: 14px;
}

.ckp-placeholder .ckp-icon {
  width: 52px;
  height: 52px;
  color: #36a18a;
}

.coloring-archive-hero {
  background: linear-gradient(100deg, #fff9e8 0%, #fffaf1 45%, #e9faff 100%);
}

.coloring-archive-art {
  background: url("../images/banner-coloring.webp") no-repeat center bottom/contain;
}

.coloring-archive-hero .category-hero-inner {
  height: 320px;
}

.category-hero.theme-animals {
  background: linear-gradient(105deg, #fffaf0 0%, #fffdf6 39%, #e8f8e2 100%);
}

.category-hero.theme-princesses {
  background: linear-gradient(105deg, #fff6f9 0%, #fff8fc 39%, #f9ddf0 100%);
}

.category-hero.theme-vehicles {
  background: linear-gradient(105deg, #f2faff 0%, #f7fcff 39%, #d8efff 100%);
}

.category-hero.theme-superheroes {
  background: linear-gradient(105deg, #f7f8ff 0%, #f8faff 39%, #dee7ff 100%);
}

.category-hero.theme-cartoons {
  background: linear-gradient(105deg, #fff7f8 0%, #fffaf7 39%, #f4e8ff 100%);
}

.category-hero.theme-dinosaurs {
  background: linear-gradient(105deg, #f6fced 0%, #f7fcf3 39%, #d9f1cd 100%);
}

.category-hero.theme-holidays {
  background: linear-gradient(105deg, #fff8ed 0%, #fffaf4 39%, #ffe7dd 100%);
}

.category-hero.theme-nature {
  background: linear-gradient(105deg, #f3fbf7 0%, #f7fcf9 39%, #d7f2e5 100%);
}

.category-hero.theme-educational {
  background: linear-gradient(105deg, #fffbed 0%, #fffdf5 39%, #fff1be 100%);
}

.category-hero.theme-fantasy {
  background: linear-gradient(105deg, #faf7ff 0%, #fbf8ff 39%, #e9dfff 100%);
}

.category-hero.theme-kawaii {
  background: linear-gradient(105deg, #fff7f8 0%, #fff9fb 39%, #ffe0eb 100%);
}

.filter-box h2 {
  display: flex;
  align-items: center;
  gap: 7px;
}

.filter-box h2 .ckp-icon {
  color: #159861;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-pills a {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 10px;
  background: #f4f7fa;
  color: #28406c;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.filter-pills a:hover,
.filter-pills a.selected {
  background: #159965;
  color: #fff;
}

.category-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 18px;
}

.category-toolbar h2 {
  margin: 0;
  font: 900 26px/1.2 Nunito, sans-serif;
  color: #102c61;
}

.category-controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 9px;
  margin-left: auto;
}

.category-controls label {
  display: grid;
  gap: 4px;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.category-controls select {
  min-width: 132px;
  height: 39px;
  padding: 0 32px 0 12px;
  border: 1px solid #dce6ef;
  border-radius: 10px;
  background-color: #fff;
  color: #183562;
  font-size: 12px;
  font-weight: 800;
}

.category-controls select:focus-visible,
.category-apply:focus-visible,
.category-other-list a:focus-visible {
  outline: 3px solid #169965;
  outline-offset: 2px;
}

.category-apply {
  min-height: 39px;
  padding: 0 13px;
  border: 0;
  border-radius: 10px;
  background: #159965;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.category-controls.is-enhanced .category-apply {
  display: none;
}

.category-other-list {
  display: grid;
  gap: 2px;
}

.category-other-box h2 {
  margin-bottom: 8px;
}

@media (max-width: 650px) {
  .category-toolbar h2 {
    font-size: 23px;
  }

  .category-controls {
    width: 100%;
    margin-left: 0;
  }

  .category-controls label {
    flex: 1 1 140px;
  }

  .category-controls select {
    width: 100%;
  }
}

.subtopics .subtopic-tile {
  min-height: 112px;
}

.subtopics .subtopic-tile strong {
  font-size: 13px;
}

.subtopic-icon .ckp-icon {
  width: 32px;
  height: 32px;
  color: #149873;
}

.single-coloring,
.single-blog {
  background: linear-gradient(180deg, #f8fbff 0, #fff 330px);
}

.single-coloring .single-layout,
.single-blog .single-layout {
  grid-template-columns: minmax(0, 2.25fr) minmax(270px, 0.95fr);
  gap: 23px;
}

.single-coloring .single-heading h1 {
  font-size: 38px;
}

.single-coloring .single-heading>p {
  font-size: 15px;
}

.post-byline {
  font-size: 12px;
  gap: 17px;
}

.post-byline .ckp-icon {
  color: #7a8fa7;
}

.featured-preview {
  background: #fff;
}

.featured-preview>img {
  max-height: 650px;
  padding: 8px;
}

.preview-actions {
  padding: 10px 14px;
}

.preview-actions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.single-sidebar .download-box {
  border-color: #dcefe6;
}

.single-sidebar .download-primary {
  margin-bottom: 10px;
}

.download-primary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

.download-row {
  align-items: center;
  justify-content: flex-start;
}

.download-row .ckp-icon:last-child {
  margin-left: auto;
  color: #159961;
}

.collection-about {
  position: relative;
  padding: 5px 2px 10px;
}

.collection-about h2,
.collection-editorial>h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 25px;
}

.collection-about h2 .ckp-icon,
.collection-editorial>h2 .ckp-icon {
  color: #19996b;
}

.collection-about-content.is-collapsed {
  max-height: 210px;
  overflow: hidden;
  mask-image: linear-gradient(#000 72%, transparent);
}

.collection-about-content.is-collapsed.is-expanded {
  max-height: none;
  mask-image: none;
}

.about-toggle {
  border: 0;
  background: #eaf8f2;
  color: #15855b;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 900;
}

.about-toggle .ckp-icon {
  margin-left: 3px;
}

.about-toggle[aria-expanded="true"] .ckp-icon {
  transform: rotate(180deg);
}

.blog-article {
  padding: 13px 15px 20px;
  border-color: #e7f0f6;
  box-shadow: var(--shadow);
}

.blog-article-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32%;
  min-height: 220px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(110deg, #fffefa, #f0faff);
  padding: 20px 18px 2px;
}

.blog-article-header h1 {
  font-size: 38px;
  margin: 2px 0 10px;
}

.blog-article-header p {
  font-size: 14px;
  line-height: 1.5;
}

.blog-article-header .post-byline {
  margin-top: 19px;
}

.blog-head-copy {
  z-index: 1;
}

.blog-head-art {
  background: url("../images/blog-single-hero.webp") center bottom/contain no-repeat;
}

.blog-featured {
  margin: 12px 0 20px;
}

.blog-featured img {
  max-height: 390px;
  object-fit: cover;
}

.blog-content {
  font-size: 15px;
  line-height: 1.8;
  padding: 0 6px;
}

.blog-content h2 {
  font-size: 25px;
  border-top: 1px solid #edf2f5;
  padding-top: 20px;
}

.blog-content h3 {
  font-size: 19px;
}

.blog-content ol {
  list-style: none;
  counter-reset: article;
  padding: 0;
}

.blog-content ol>li {
  position: relative;
  counter-increment: article;
  padding: 14px 10px 15px 58px;
  border-top: 1px solid #ebf0f4;
  min-height: 55px;
}

.blog-content ol>li::before {
  content: counter(article);
  position: absolute;
  left: 4px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fa4d88;
  color: #fff;
  font-weight: 900;
}

.blog-content ol>li:nth-child(4n + 2)::before {
  background: #2894e5;
}

.blog-content ol>li:nth-child(4n + 3)::before {
  background: #0fb879;
}

.blog-content ol>li:nth-child(4n)::before {
  background: #f69b31;
}

.blog-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 17px;
}

.blog-post-nav a {
  border: 1px solid #e8eef4;
  border-radius: 12px;
  padding: 10px 13px;
}

.blog-post-nav small {
  display: block;
  color: #7890a5;
}

.blog-post-nav strong {
  font-size: 13px;
}

.share-links .ckp-icon {
  width: 14px;
  height: 14px;
}

.saved-heading-icon .ckp-icon {
  width: 37px;
  height: 37px;
}

.saved-empty .ckp-icon {
  width: 55px;
  height: 55px;
  color: #17986b;
}

.saved-card-image.no-image {
  background: #eef9f3 url("../icons/palette.svg") center/55px no-repeat;
}

@media (max-width: 1020px) {
  .mobile-menu-button {
    display: block;
    border: 0;
    background: none;
    color: var(--navy);
    margin-left: auto;
  }

  .primary-menu {
    display: none;
    position: absolute;
    left: 15px;
    right: 15px;
    top: 64px;
    background: #fff;
    box-shadow: 0 10px 25px #12345a30;
    border-radius: 12px;
    padding: 12px;
    flex-wrap: wrap;
    white-space: normal;
  }

  .primary-menu.open {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  .primary-menu a {
    height: 42px;
    padding: 4px 8px;
  }

  .primary-menu a[aria-current],
  .primary-menu .current-menu-item>a {
    padding: 4px 8px;
  }

  .primary-menu a[aria-current]::after,
  .primary-menu .current-menu-item>a::after {
    bottom: 2px;
    left: 8px;
    right: 8px;
  }

  .saved-mobile-link {
    display: flex;
  }

  .header-saved {
    display: none;
  }
}

@media (max-width: 850px) {

  .single-coloring .single-layout,
  .single-blog .single-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .primary-menu.open {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand {
    flex-basis: 200px;
    width: 200px;
  }

  .brand-art {
    background-size: 200px auto;
    width: 200px;
    transform: none;
  }

  .header-actions {
    gap: 4px;
  }

  .header-search-toggle {
    width: 38px;
    height: 38px;
  }

  .category-hero-art,
  .coloring-archive-art {
    bottom: 0;
    left: 0;
    right: 0;
  }

  .archive-layout {
    gap: 18px;
  }

  .archive-sidebar {
    grid-template-columns: 1fr;
  }

  .single-coloring .single-heading h1 {
    font-size: 32px;
  }

  .single-coloring .single-sidebar,
  .single-blog .single-sidebar {
    grid-template-columns: 1fr;
  }

  .preview-actions {
    gap: 7px;
  }

  .preview-actions .pill-button {
    width: 100%;
  }

  .blog-article-header {
    grid-template-columns: 1fr;
    min-height: 310px;
    padding-bottom: 150px;
  }

  .blog-head-art {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 55%;
    height: 175px;
  }

  .blog-article-header h1 {
    font-size: 31px;
  }

  .blog-post-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .brand {
    flex-basis: 178px;
    width: 178px;
  }

  .brand-art {
    background-size: 178px auto;
    width: 178px;
  }

  .primary-menu.open {
    grid-template-columns: 1fr 1fr;
  }
}

/* Footer crop keeps the illustrated garden visible behind the links. */
.site-footer {
  min-height: 245px;
  background: #eaf9ff url("../images/footer-crop.webp") center bottom/100% 100% no-repeat;
}

.site-footer::after {
  display: none;
}

.primary-menu .saved-mobile-link {
  display: none;
}

body.term-animals main#main {
  background: linear-gradient(#fff 365px, #fcfff9 700px, #fff 1100px);
}

body.term-princesses main#main,
body.term-kawaii main#main {
  background: linear-gradient(#fff 365px, #fffafb 700px, #fff 1100px);
}

body.term-vehicles main#main,
body.term-superheroes main#main {
  background: linear-gradient(#fff 365px, #f8fcff 700px, #fff 1100px);
}

body.term-dinosaurs main#main,
body.term-nature main#main {
  background: linear-gradient(#fff 365px, #f8fff9 700px, #fff 1100px);
}

body.term-cartoons main#main,
body.term-fantasy main#main {
  background: linear-gradient(#fff 365px, #fcf9ff 700px, #fff 1100px);
}

body.term-educational main#main,
body.term-holidays main#main {
  background: linear-gradient(#fff 365px, #fffdf5 700px, #fff 1100px);
}

@media (max-width: 1020px) {
  .primary-menu.open .saved-mobile-link {
    display: flex;
  }
}

@media (max-width: 850px) {}

@media (max-width: 650px) {
  .site-footer {
    min-height: 330px;
    background-size: auto 100%;
  }
}

@media (max-width: 650px) {
  .site-footer {
    background: #eaf9ff;
  }

  .site-footer::before,
  .site-footer::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 0;
    top: 9px;
    width: 130px;
    height: 115px;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .site-footer::before {
    left: -12px;
    background-image: url("../images/footer-left.webp");
  }

  .site-footer::after {
    right: -12px;
    background-image: url("../images/footer-right.webp");
  }
}

/* Collection gallery: one featured preview, then distinct remaining pages. */
.collection-about {
  display: flow-root;
  min-height: 215px;
  margin: 20px 0 30px;
}

.collection-about-art {
  float: right;
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 0 0 8px 18px;
}

.collection-pages {
  margin: 27px 0 32px;
}

.collection-pages>h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 25px Fredoka;
  margin: 0 0 9px;
}

.collection-pages>h2 .ckp-icon {
  width: 27px;
  height: 27px;
  color: #169969;
}

.collection-pages-intro {
  font-size: 13px;
  margin: 0 0 14px;
}

.collection-pages .gallery-grid {
  margin: 14px 0 0;
  gap: 20px 16px;
}

.collection-pages .gallery-item {
  border: 0;
  background: transparent;
}

.gallery-item figcaption {
  padding: 7px 1px 2px;
  font-size: 13px;
  line-height: 1.35;
}

.gallery-item figcaption span {
  font-weight: 800;
}

.gallery-item .download-mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  color: #11926b;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.gallery-item .download-mini .ckp-icon {
  width: 14px;
  height: 14px;
}

.gallery-item>.save-page-button {
  margin: 8px 0 0;
}

.gallery-preview {
  border: 1px solid #dbe7f1;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(16, 53, 89, 0.03);
}

.info-panel {
  position: relative;
  overflow: hidden;
  padding: 22px 26px 20px;
  background: linear-gradient(110deg, #fff9e6 0%, #fff4d8 100%);
  border-radius: 16px;
  border: 1px solid #fef08a;
  margin: 20px 0;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.05);
}

.info-panel-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.info-panel-art-wrap {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 170px;
  height: 150px;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.info-panel-art {
  display: block;
  width: 100%;
  height: auto;
  max-height: 145px;
  object-fit: contain;
  object-position: bottom right;
  opacity: 0.28;
  mix-blend-mode: multiply;
  filter: saturate(1.1);
}

.info-panel h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
}

.info-panel h2 .ckp-icon {
  width: 21px;
  height: 21px;
  color: #f4a322;
}

.info-panel ol {
  margin: 0;
  padding-left: 20px;
}

.info-panel li {
  margin-bottom: 8px;
  line-height: 1.55;
}

.info-panel li:last-child {
  margin-bottom: 0;
}

@media (max-width: 650px) {
  .home-hero .hero-layout {
    padding-top: 18px;
  }

  .blog-hero .hero-layout {
    padding-top: 18px;
  }

  .hero-copy h1,
  .blog-hero .hero-copy h1 {
    font-size: 33px;
    margin: 5px 0 9px;
  }

  .hero-copy>p:not(.hero-kicker) {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 9px;
  }

  .hero-copy .search-form {
    height: 44px;
    margin-top: 11px;
  }

  .hero-benefits {
    font-size: 11px;
    margin-top: 10px;
    gap: 7px 11px;
  }

  .hero-benefits .ckp-icon {
    width: 15px;
    height: 15px;
  }

  .category-hero-inner,
  .coloring-archive-hero .category-hero-inner {
    height: auto;
  }

  .category-hero .breadcrumbs {
    margin: 14px 0 8px;
  }

  .category-hero h1 {
    font-size: 34px;
    margin: 5px 0 8px;
  }

  .category-hero p {
    font-size: 13px;
    line-height: 1.38;
    margin-bottom: 10px;
  }

  .category-points {
    font-size: 10px;
    gap: 6px 10px;
    margin-top: 8px;
  }

  .category-points .ckp-icon {
    width: 14px;
    height: 14px;
  }

  .collection-about {
    min-height: 0;
    margin: 16px 0 26px;
  }

  .collection-about-art {
    width: 105px;
    height: 105px;
    margin-left: 10px;
  }

  .collection-pages>h2 {
    font-size: 22px;
  }

  .collection-pages>h2 .ckp-icon {
    width: 23px;
    height: 23px;
  }

  .gallery-item figcaption {
    font-size: 12px;
  }

  .info-panel {
    padding: 16px 18px 14px;
    border-radius: 14px;
  }

  .info-panel-content {
    padding-bottom: 0;
  }

  .info-panel-content h2 {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .info-panel-content ol {
    padding-left: 18px;
    gap: 6px;
  }

  .info-panel-content li {
    font-size: 13.5px;
    line-height: 1.5;
  }

  .info-panel-art-wrap {
    width: 135px;
    height: 120px;
    right: -4px;
    bottom: -4px;
  }

  .info-panel-art {
    display: block;
    width: 100%;
    max-height: 115px;
    opacity: 0.22;
  }
}

@media (max-width: 400px) {}

@media (max-width: 650px) {
  .home-hero .hero-layout {
    height: 425px;
    min-height: 425px;
  }

  .blog-hero .hero-layout {
    height: 390px;
    min-height: 390px;
  }
}

@media (max-width: 400px) {
  .home-hero .hero-layout {
    height: 425px;
    min-height: 425px;
  }

  .blog-hero .hero-layout {
    height: 390px;
    min-height: 390px;
  }

  .home-hero::after,
  .blog-hero::after {
    height: 185px;
    background-size: 380px auto;
  }
}

@media (max-width: 360px) {
  .home-hero .hero-layout {
    height: 450px;
    min-height: 450px;
  }
}

/* Centered search dialog with cached, in-browser live suggestions. */
.search-overlay[hidden],
.search-modal-results[hidden],
.search-suggestions[hidden] {
  display: none !important;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
}

.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 29, 65, 0.54);
  backdrop-filter: blur(5px);
}

.search-dialog {
  position: relative;
  width: min(100%, 760px);
  max-height: min(86vh, 820px);
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 28px 100px rgba(5, 26, 61, 0.28);
  padding: 24px 27px 26px;
}

.search-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.search-dialog-kicker {
  display: block;
  margin: 0 0 2px;
  color: #168c63;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-dialog-header h2 {
  font-size: 30px;
  margin: 0;
}

.search-dialog-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid #e4eaf2;
  border-radius: 50%;
  background: #f8fbff;
  color: #304b74;
}

.search-dialog-close:hover {
  background: #eaf4fc;
}

.search-dialog-close .ckp-icon {
  width: 19px;
  height: 19px;
}

.search-dialog-form {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding-left: 17px;
  border: 2px solid #dce8f1;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(30, 73, 110, 0.06);
}

.search-dialog-form:focus-within {
  border-color: #2bb78a;
  box-shadow: 0 0 0 4px rgba(42, 183, 138, 0.12);
}

.search-dialog-form>.ckp-icon {
  width: 21px;
  height: 21px;
  color: #5a789b;
}

.search-dialog-form input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  color: #0b2c64;
  background: transparent;
  font-size: 16px;
}

.search-dialog-form input::placeholder {
  color: #92a1b1;
}

.search-dialog-form button {
  align-self: stretch;
  flex: 0 0 auto;
  margin: -2px -2px -2px 0;
  padding: 0 23px;
  border: 0;
  border-radius: 0 13px 13px 0;
  background: #159a67;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.search-dialog-form button:hover {
  background: #118253;
}

.search-live-status {
  min-height: 21px;
  margin: 10px 2px 15px;
  color: #71829b;
  font-size: 12px;
}

.search-suggestions-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.search-suggestions-heading h3,
.search-topics-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  font: 900 16px Nunito;
  margin: 0;
}

.search-suggestions-heading h3 .ckp-icon {
  color: #f55c72;
  width: 17px;
  height: 17px;
}

.search-suggestions-heading>a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #168e62;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.search-suggestions-heading>a .ckp-icon {
  width: 14px;
  height: 14px;
}

.search-featured-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 74px;
  padding: 7px;
  border: 1px solid #e8edf3;
  border-radius: 13px;
  background: #fff;
  transition:
    background 0.15s,
    border-color 0.15s;
}

.search-result-item:hover,
.search-result-item:focus-visible {
  background: #f4fcf8;
  border-color: #b6e5cf;
}

.search-result-art {
  display: grid;
  place-items: center;
  flex: 0 0 62px;
  width: 62px;
  height: 58px;
  overflow: hidden;
  border-radius: 9px;
  background: #f2f8f6;
}

.search-result-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-art.search-no-image {
  background: #eef9f3 url("../icons/palette.svg") center/28px no-repeat;
}

.search-result-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.search-result-copy small {
  color: #159264;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.search-result-copy strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
  color: #0c2b60;
  font-size: 13px;
}

.search-result-copy>span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #73839a;
  font-size: 11px;
}

.search-result-arrow {
  color: #3fa782;
  font-weight: 900;
}

.search-suggestion-empty {
  grid-column: 1/-1;
  margin: 0;
  padding: 13px;
  background: #f5fbf8;
  border-radius: 10px;
  font-size: 13px;
}

.search-topics-heading {
  margin: 19px 0 10px;
}

.search-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-topic-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid #e5eaf0;
  border-radius: 999px;
  background: #f8fbfd;
  color: #203d70;
  font-size: 12px;
  font-weight: 800;
}

.search-topic-list a:hover {
  border-color: #31b687;
  background: #effaf3;
}

.search-topic-list img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.search-modal-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.search-no-results,
.search-view-all {
  grid-column: 1/-1;
  margin: 0;
  padding: 14px;
  border-radius: 10px;
  background: #f6faff;
  color: #536a87;
  font-size: 13px;
}

.search-view-all {
  text-align: center;
  background: #e9f8ef;
  color: #12835a;
  font-weight: 900;
}

@media (max-width: 650px) {
  .search-overlay {
    padding: 12px;
  }

  .search-dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    border-radius: 20px;
    padding: 18px 15px 20px;
  }

  .search-dialog-header h2 {
    font-size: 24px;
  }

  .search-dialog-form {
    height: 50px;
    padding-left: 11px;
    gap: 7px;
  }

  .search-dialog-form input {
    font-size: 14px;
  }

  .search-dialog-form button {
    padding: 0 12px;
    font-size: 12px;
  }

  .search-featured-list,
  .search-modal-results {
    grid-template-columns: 1fr;
  }

  .search-result-item {
    min-height: 67px;
  }

  .search-result-art {
    width: 53px;
    height: 52px;
    flex-basis: 53px;
  }

  .search-topics-heading {
    margin-top: 14px;
  }
}

/* On narrow screens, hero copy sits over the left side of artwork anchored right. */
@media (max-width: 650px) {

  .home-hero .hero-layout,
  .blog-hero .hero-layout {
    height: 390px;
    min-height: 390px;
    padding-top: 0;
    display: flex;
    align-items: flex-start;
  }

  .home-hero .hero-copy,
  .blog-hero .hero-copy {
    width: min(82%, 330px);
    padding-top: 29px;
  }

  .home-hero::after,
  .blog-hero::after {
    inset: 0 0 0 auto;
    width: 100%;
    height: 100%;
    transform: none;
    background-size: 620px auto;
    background-position: right bottom;
    opacity: 0.92;
    mask-image: linear-gradient(90deg, transparent 0%, transparent 38%, rgba(0, 0, 0, 0.24) 59%, #000 91%);
  }

  .home-hero .hero-copy h1,
  .blog-hero .hero-copy h1 {
    max-width: 290px;
  }

  .home-hero .hero-copy>p,
  .blog-hero .hero-copy>p {
    max-width: 260px;
  }

  .category-hero {
    overflow: hidden;
  }

  .category-hero-inner,
  .coloring-archive-hero .category-hero-inner {
    display: flex;
    align-items: flex-start;
    min-height: 310px;
    padding-top: 16px;
    padding-bottom: 22px;
  }

  .category-hero-inner>div:first-child {
    position: relative;
    z-index: 2;
    width: min(76%, 315px);
  }

  .category-hero-art,
  .coloring-archive-art {
    position: absolute;
    inset: 0 0 0 auto;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-size: auto 98%;
    background-position: right bottom;
    mask-image: linear-gradient(90deg, transparent 0%, transparent 36%, rgba(0, 0, 0, 0.26) 61%, #000 92%);
  }

  .category-hero-art.is-topic-banner {
    background-size: auto 98%;
    background-position: right bottom;
  }

  .category-hero-art.is-topic-art {
    background-size: auto 80%;
    background-position: right bottom;
  }

  .category-hero p {
    max-width: 280px;
  }

  .category-points {
    max-width: 260px;
  }

  .search-hero {
    background-image:
      linear-gradient(90deg, #fff9ef 4%, rgba(255, 249, 239, 0.92) 40%, transparent 85%),
      url("../images/banner-search.webp");
    background-size:
      cover,
      auto 100%;
    background-position:
      center,
      right center;
    text-align: left;
    padding-left: 0;
  }

  .search-hero .search-form {
    margin-left: 0;
  }
}

@media (max-width: 400px) {

  .home-hero .hero-layout,
  .blog-hero .hero-layout {
    height: 380px;
    min-height: 380px;
  }

  .category-hero-inner,
  .coloring-archive-hero .category-hero-inner {
    min-height: 325px;
  }
}

.collection-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 12px 0 18px;
  padding: 12px 16px;
  border: 1px solid #dfeee8;
  border-radius: 13px;
  background: #f7fcf9;
}

.collection-rating>div:first-child {
  min-width: 145px;
}

.collection-rating strong {
  font-size: 14px;
  color: #0c2b60;
}

.collection-rating p {
  margin: 2px 0 0;
  color: #58738b;
  font-size: 12px;
}

.rating-stars {
  display: flex;
  gap: 4px;
}

.rating-stars button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 4px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #f3ac26;
  cursor: pointer;
}

.rating-stars button:hover,
.rating-stars button:focus-visible,
.rating-stars button.is-selected {
  background: #fff1cc;
}

.rating-stars button:disabled {
  cursor: default;
}

.rating-stars .ckp-icon {
  width: 24px;
  height: 24px;
}

.rating-stars button.is-selected .ckp-icon {
  fill: #f3ac26;
}

.collection-rating .rating-message {
  flex-basis: 100%;
  margin: 0;
}

.coloring-card-media,
.gallery-media,
.featured-preview-media {
  position: relative;
}

.coloring-card-media>.save-page-button,
.gallery-media>.save-page-button,
.featured-preview-media>.save-page-button {
  position: absolute;
  z-index: 2;
  top: 9px;
  right: 9px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(20, 38, 75, 0.18);
  background: #fff9fc;
}

.coloring-card-media>.save-page-button:hover,
.gallery-media>.save-page-button:hover,
.featured-preview-media>.save-page-button:hover,
.coloring-card-media>.save-page-button.is-saved,
.gallery-media>.save-page-button.is-saved,
.featured-preview-media>.save-page-button.is-saved {
  background: #f84183;
}

.featured-preview-media>img {
  display: block;
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  background: #fff;
}

.back-to-top[hidden] {
  display: none;
}

.floating-actions {
  position: fixed;
  z-index: 9;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.floating-actions button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  transition:
    transform 0.18s,
    background 0.18s;
}

.floating-actions .floating-categories-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 48px;
  height: 48px;
  padding: 0 18px 0 12px !important;
  border-radius: 999px !important;
  border: 2px solid #ffffff !important;
  background: linear-gradient(135deg, #ff4071 0%, #ff7843 100%) !important;
  color: #ffffff !important;
  font-family: 'Fredoka', 'Nunito', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 24px rgba(255, 64, 113, 0.38), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  cursor: pointer;
  pointer-events: auto;
  gap: 8px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, filter 0.2s ease !important;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.floating-actions .floating-categories-toggle:hover,
.floating-actions .floating-categories-toggle:focus-visible {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 12px 28px rgba(255, 64, 113, 0.48), 0 4px 10px rgba(0, 0, 0, 0.12) !important;
  filter: brightness(1.04);
}

.floating-actions .floating-categories-toggle:active {
  transform: translateY(0) scale(0.97) !important;
}

.floating-categories-toggle .floating-btn-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  flex-shrink: 0;
}

.floating-categories-toggle .ckp-icon {
  width: 17px !important;
  height: 17px !important;
  color: #ffffff !important;
}

.floating-categories-toggle .floating-btn-label {
  white-space: nowrap;
}

.floating-search-toggle {
  border: 1px solid #dce6ef;
  background: #fff;
  color: #0b346f;
  box-shadow: 0 7px 22px rgba(15, 55, 91, 0.16);
}

.floating-search-toggle:hover,
.floating-search-toggle:focus-visible {
  background: #f8eaf2;
  color: #d8266b;
  transform: translateY(-3px);
}

.back-to-top {
  border: 1px solid #a9d9c3;
  background: #139863;
  color: #fff;
  box-shadow: 0 7px 22px rgba(15, 81, 67, 0.22);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: #0d7850;
  transform: translateY(-3px);
}

.floating-actions .ckp-icon {
  width: 24px;
  height: 24px;
}

@media (max-width: 650px) {

  .coloring-card-media>.save-page-button,
  .gallery-media>.save-page-button {
    top: 6px;
    right: 6px;
    padding: 5px 7px;
    font-size: 10px;
  }

  .coloring-card-media>.save-page-button .ckp-icon,
  .gallery-media>.save-page-button .ckp-icon {
    width: 12px;
    height: 12px;
  }

  .floating-actions {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .floating-actions button {
    width: 44px;
    height: 44px;
  }

  .floating-actions .floating-categories-toggle {
    width: auto !important;
    height: 44px;
    padding: 0 14px 0 10px !important;
    font-size: 13.5px !important;
    gap: 7px;
  }

  .floating-categories-toggle .floating-btn-icon {
    width: 26px;
    height: 26px;
  }

  .floating-categories-toggle .ckp-icon {
    width: 15px !important;
    height: 15px !important;
  }
}

/* ==========================================================================
   Coloring Categories Modal / Bottom Sheet Drawer
   ========================================================================== */
.ckp-cat-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.ckp-cat-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ckp-cat-modal-overlay[hidden] {
  display: none !important;
}

.ckp-cat-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 28, 65, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ckp-sheet-handle {
  display: none;
}

.ckp-cat-modal-dialog {
  position: relative;
  width: min(100%, 780px);
  max-height: min(88vh, 820px);
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0 25px 80px rgba(7, 24, 58, 0.32), 0 4px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.ckp-cat-modal-overlay.is-open .ckp-cat-modal-dialog {
  transform: scale(1) translateY(0);
}

.ckp-cat-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px 14px;
}

.ckp-cat-modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ff4071;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #fff0f5;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.ckp-cat-modal-kicker .ckp-icon {
  width: 13px;
  height: 13px;
}

.ckp-cat-modal-title {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #092458;
  margin: 0 0 4px;
}

.ckp-cat-modal-subtitle {
  font-size: 14px;
  color: #546784;
  margin: 0;
  line-height: 1.4;
}

.ckp-cat-modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f2f6fa;
  border: 1px solid #e1ebf4;
  color: #546784;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, transform 0.16s;
}

.ckp-cat-modal-close:hover {
  background: #ffeef3;
  color: #ff4071;
  transform: rotate(90deg);
}

.ckp-cat-modal-close .ckp-icon {
  width: 18px;
  height: 18px;
}

.ckp-cat-search-wrap {
  padding: 0 26px 14px;
}

.ckp-cat-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  border-radius: 999px;
  background: #f5f8fc;
  border: 1.5px solid #dce8f2;
  padding: 0 16px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.ckp-cat-search-bar:focus-within {
  border-color: #ff4071;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 64, 113, 0.12);
}

.ckp-cat-search-icon {
  display: grid;
  place-items: center;
  color: #8ea2b8;
}

.ckp-cat-search-icon .ckp-icon {
  width: 18px;
  height: 18px;
}

.ckp-cat-search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14.5px;
  color: #092458;
}

.ckp-cat-search-input::placeholder {
  color: #94a7bd;
}

.ckp-cat-search-clear {
  background: none;
  border: none;
  padding: 4px;
  color: #8ea2b8;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 0.15s, transform 0.15s;
}

.ckp-cat-search-clear:hover {
  color: #ff4071;
  transform: scale(1.1);
}

.ckp-cat-search-clear .ckp-icon {
  width: 16px;
  height: 16px;
}

.ckp-cat-modal-body {
  padding: 4px 26px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1;
  min-height: 220px;
  scrollbar-width: thin;
  scrollbar-color: #d1dde8 transparent;
}

.ckp-cat-modal-body::-webkit-scrollbar {
  width: 6px;
}

.ckp-cat-modal-body::-webkit-scrollbar-thumb {
  background: #d1dde8;
  border-radius: 999px;
}

.ckp-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.ckp-cat-card {
  background: #ffffff;
  border: 1.5px solid #eaf0f7;
  border-radius: 18px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ckp-cat-card:hover {
  transform: translateY(-2px);
  border-color: #ffd2e0;
  box-shadow: 0 8px 24px rgba(255, 64, 113, 0.12);
}

.ckp-cat-card-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.ckp-cat-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #f3f8fc;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ckp-cat-card:hover .ckp-cat-card-icon {
  transform: scale(1.08) rotate(3deg);
}

.ckp-cat-card-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.ckp-cat-card-icon .ckp-icon {
  width: 24px;
  height: 24px;
  color: #ff4071;
}

/* Category card theme tints */
.theme-animals .ckp-cat-card-icon {
  background: #eaf8ef;
}

.theme-princesses .ckp-cat-card-icon {
  background: #fff0f5;
}

.theme-dinosaurs .ckp-cat-card-icon {
  background: #e6f7f3;
}

.theme-cartoons .ckp-cat-card-icon {
  background: #fff4ea;
}

.theme-vehicles .ckp-cat-card-icon {
  background: #edf5ff;
}

.theme-superheroes .ckp-cat-card-icon {
  background: #fdf0f0;
}

.theme-fantasy .ckp-cat-card-icon {
  background: #f5f0ff;
}

.theme-anime .ckp-cat-card-icon {
  background: #fff0f8;
}

.theme-nature .ckp-cat-card-icon {
  background: #eef8ee;
}

.theme-holidays .ckp-cat-card-icon {
  background: #fefce8;
}

.theme-educational .ckp-cat-card-icon {
  background: #eef3ff;
}

.theme-video-games .ckp-cat-card-icon {
  background: #f2eeff;
}

.theme-kawaii .ckp-cat-card-icon {
  background: #fff2ed;
}

.theme-cats .ckp-cat-card-icon {
  background: #fff5eb;
}

.theme-dogs .ckp-cat-card-icon {
  background: #edf7ff;
}

.ckp-cat-card-content {
  flex: 1;
  min-width: 0;
}

.ckp-cat-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ckp-cat-card-title {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  color: #092458;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ckp-cat-card-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: #ff4071;
  background: #fff0f4;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ckp-cat-card-desc {
  font-size: 12px;
  color: #6d819c;
  margin: 3px 0 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ckp-cat-card-arrow {
  color: #c1d0e0;
  transition: transform 0.18s, color 0.18s;
  margin-left: 4px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.ckp-cat-card-arrow .ckp-icon {
  width: 16px;
  height: 16px;
}

.ckp-cat-card:hover .ckp-cat-card-arrow {
  color: #ff4071;
  transform: translateX(3px);
}

.ckp-cat-subchips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 6px;
  border-top: 1px dashed #edf2f7;
}

.ckp-cat-subchip {
  font-size: 11px;
  font-weight: 700;
  color: #476082;
  background: #f4f8fc;
  padding: 3px 8px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.ckp-cat-subchip:hover {
  background: #ff4071;
  color: #ffffff;
}

.ckp-cat-empty {
  text-align: center;
  padding: 36px 16px;
}

.ckp-cat-empty-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f0f5fa;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  color: #8aa0b6;
}

.ckp-cat-empty-icon .ckp-icon {
  width: 24px;
  height: 24px;
}

.ckp-cat-empty-title {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #092458;
  margin: 0 0 6px;
}

.ckp-cat-empty-hint {
  font-size: 13.5px;
  color: #6d819c;
  margin: 0;
}

.ckp-cat-modal-footer {
  padding: 14px 26px;
  background: #f9fbfe;
  border-top: 1px solid #eaf0f7;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.ckp-cat-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.16s, box-shadow 0.16s, background 0.16s, color 0.16s;
}

.ckp-cat-footer-btn .ckp-icon {
  width: 16px;
  height: 16px;
}

.ckp-cat-footer-primary {
  background: linear-gradient(135deg, #ff4071 0%, #ff7843 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(255, 64, 113, 0.28);
}

.ckp-cat-footer-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 64, 113, 0.36);
  filter: brightness(1.03);
}

.ckp-cat-footer-secondary {
  background: #edf4fe;
  color: #197ddd !important;
}

.ckp-cat-footer-secondary:hover {
  background: #e0ecfc;
  transform: translateY(-1px);
}

/* Categories Bottom Sheet Drawer on Mobile */
@media (max-width: 680px) {
  .ckp-cat-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .ckp-cat-modal-dialog {
    width: 100%;
    max-height: 88vh;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
  }

  .ckp-cat-modal-overlay.is-open .ckp-cat-modal-dialog {
    transform: translateY(0);
  }

  .ckp-sheet-handle {
    display: block;
    width: 42px;
    height: 4.5px;
    border-radius: 999px;
    background: #d3deea;
    margin: 8px auto 2px;
  }

  .ckp-cat-modal-header {
    padding: 12px 18px 10px;
  }

  .ckp-cat-modal-title {
    font-size: 22px;
  }

  .ckp-cat-modal-subtitle {
    font-size: 13px;
  }

  .ckp-cat-search-wrap {
    padding: 0 18px 10px;
  }

  .ckp-cat-search-bar {
    height: 44px;
    padding: 0 14px;
  }

  .ckp-cat-search-input {
    font-size: 13.5px;
  }

  .ckp-cat-modal-body {
    padding: 4px 18px 14px;
  }

  .ckp-cat-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ckp-cat-card {
    padding: 9px 12px;
  }

  .ckp-cat-card-icon {
    width: 46px;
    height: 46px;
  }

  .ckp-cat-card-icon img {
    width: 38px;
    height: 38px;
  }

  .ckp-cat-modal-footer {
    flex-direction: column;
    padding: 12px 18px 16px;
    gap: 8px;
  }

  .ckp-cat-footer-btn {
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
  }
}

/* Editorial article and search results, matched to the supplied page references. */
.single-blog {
  background: linear-gradient(115deg, #eef9ff 0%, #fff 42%, #f8fff2 100%);
  padding-bottom: 34px;
}

.single-blog .breadcrumbs {
  margin: 16px 0 12px;
}

.single-blog .single-layout {
  grid-template-columns: minmax(0, 2.45fr) minmax(260px, 0.96fr);
  gap: 14px;
}

.single-blog .blog-article {
  padding: 12px;
  border-radius: 16px;
  border: 0;
  box-shadow: 0 12px 34px rgba(30, 73, 111, 0.05);
}

.single-blog .blog-article-header {
  grid-template-columns: minmax(0, 1fr) 34%;
  min-height: 215px;
  padding: 11px 11px 0;
  background: #fff;
  overflow: hidden;
}

.single-blog .blog-article-header h1 {
  font:
    700 clamp(27px, 3.25vw, 39px)/1.08 Fredoka,
    Nunito,
    sans-serif;
  letter-spacing: -0.025em;
  margin: 3px 0 9px;
}

.single-blog .blog-article-header p {
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  max-width: 505px;
}

.single-blog .blog-head-art {
  background-size: contain;
  background-position: right bottom;
  align-self: end;
  min-height: 205px;
}

.single-blog .post-byline {
  align-items: center;
  gap: 7px 11px;
  margin: 15px 0 3px;
  color: #667991;
}

.single-blog .post-byline strong {
  color: #092458;
  font-size: 12px;
}

.single-blog .post-byline>span:not(.blog-byline-avatar) {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-byline-avatar,
.blog-author-avatar {
  display: block;
  flex: none;
  border-radius: 50%;
  background: #fff0d6 url("../images/blog-single-hero.webp") 54% 22%/210% auto no-repeat;
  border: 2px solid #f5a74a;
}

.blog-byline-avatar {
  width: 40px;
  height: 40px;
}

.blog-author-avatar {
  width: 66px;
  height: 66px;
}

.blog-category-pill {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 9px;
  background: #efe6ff;
  color: #6843a2;
  font-size: 10px;
  font-weight: 800;
}

.single-blog .blog-featured {
  margin: 8px 0 13px;
}

.single-blog .blog-featured img {
  display: block;
  width: 100%;
  max-height: 390px;
  aspect-ratio: 2.7/1;
  object-fit: cover;
  border-radius: 10px;
}

.single-blog .blog-content {
  padding: 0 4px;
  font-size: 13px;
  line-height: 1.55;
}

.single-blog .blog-content h2 {
  font:
    700 23px/1.2 Fredoka,
    Nunito,
    sans-serif;
  margin: 21px 0 8px;
  padding-top: 14px;
}

.single-blog .blog-content p {
  margin: 7px 0 12px;
}

.single-blog .blog-content ol {
  margin: 12px 0 18px;
}

.single-blog .blog-content ol>li {
  padding: 15px 9px 18px 55px;
}

.single-blog .blog-content ol>li::before {
  top: 13px;
  width: 36px;
  height: 36px;
  font: 700 19px Fredoka;
}

.single-blog .blog-content ol>li h2,
.single-blog .blog-content ol>li h3 {
  border: 0;
  padding: 0;
  margin: 0 0 7px;
  font:
    700 19px/1.2 Fredoka,
    Nunito,
    sans-serif;
}

.single-blog .blog-content ol>li p {
  max-width: 95%;
}

.blog-benefits-article .blog-content ol>li {
  padding-right: 132px;
  min-height: 124px;
}

.blog-benefits-article .blog-content ol>li::after {
  content: "";
  position: absolute;
  right: 0;
  top: 7px;
  width: 112px;
  height: 112px;
  border-radius: 12px;
  background-image: url("../images/blog-benefit-scenes.webp");
  background-size: 200% 200%;
  background-position: 0 0;
}

.blog-benefits-article .blog-content ol>li:nth-child(4n + 2)::after {
  background-position: 100% 0;
}

.blog-benefits-article .blog-content ol>li:nth-child(4n + 3)::after {
  background-position: 0 100%;
}

.blog-benefits-article .blog-content ol>li:nth-child(4n)::after {
  background-position: 100% 100%;
}

.single-blog .article-end {
  margin: 17px 0;
}

.single-blog .article-end .download-primary {
  display: inline-flex;
  min-width: 320px;
  border-radius: 999px;
}

.single-blog .share-links {
  border: 1px solid #e8eef5;
  border-radius: 13px;
  padding: 10px;
  gap: 7px;
}

.single-blog .share-links strong {
  font-size: 11px;
  margin-right: auto;
}

.single-blog .share-links a,
.single-blog .share-links button {
  font-size: 11px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.single-blog .share-links .share-facebook {
  background: #3267c8;
  color: #fff;
}

.single-blog .share-links .share-pinterest {
  background: #d91f37;
  color: #fff;
}

.single-blog .share-links .share-email {
  background: #687789;
  color: #fff;
}

.single-blog .tag-list {
  align-items: center;
  margin: 12px 0;
}

.single-blog .tag-list strong {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
}

.single-blog .author-box {
  margin-top: 24px;
}

.single-blog .blog-post-nav {
  margin-top: 10px;
}

.single-blog .blog-post-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 75px;
  background: #fff;
}

.single-blog .blog-post-nav a:last-child {
  text-align: right;
  justify-content: flex-end;
}

.single-blog .blog-post-nav strong {
  display: block;
  font-size: 12px;
  line-height: 1.25;
}

.blog-nav-thumb {
  display: block;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 8px;
}

.blog-nav-thumb img,
.blog-nav-thumb .ckp-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
}

.single-blog .blog-sidebar {
  gap: 13px;
}

.single-blog .blog-sidebar .sidebar-box {
  padding: 14px 15px;
  border: 0;
  border-radius: 14px;
}

.single-blog .blog-sidebar .sidebar-box h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid #e5ecf3;
  padding-bottom: 10px;
  margin-bottom: 6px;
  font-size: 17px;
}

.single-blog .blog-sidebar .sidebar-box h2 .ckp-icon {
  color: #ffa91f;
}

.single-blog .blog-sidebar .sidebar-box:first-child h2 .ckp-icon {
  color: #189b71;
}

.single-blog .blog-sidebar .sidebar-box .search-form {
  height: 42px;
}

.single-blog .blog-sidebar .mini-post {
  font-size: 12px;
}

.single-blog .blog-sidebar .mini-post small {
  display: block;
  color: #71829c;
  font-size: 10px;
  font-weight: 600;
  margin-top: 3px;
}

.single-blog .blog-sidebar .sidebar-links a {
  align-items: center;
  font-size: 12px;
}

.single-blog .blog-sidebar .sidebar-links small {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e4f5ff;
  color: #2380b8;
}

.blog-newsletter>p {
  font-size: 12px !important;
  line-height: 1.45 !important;
  margin: 7px 0 10px !important;
}

.blog-newsletter form {
  display: grid;
  gap: 8px;
}

.blog-newsletter input[type="email"] {
  width: 100%;
  height: 40px;
  border: 1px solid #dfe9f2;
  border-radius: 9px;
  padding: 0 10px;
  background: #fbfdff;
  color: #092458;
  font-size: 12px;
}

.blog-newsletter .newsletter-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.blog-newsletter .newsletter-consent {
  display: flex;
  gap: 6px;
  align-items: start;
  color: #5e718d;
  font-size: 10px;
  line-height: 1.3;
}

.blog-newsletter .newsletter-consent input {
  margin: 2px 0 0;
}

.blog-newsletter button {
  height: 39px;
  border: 0;
  border-radius: 9px;
  background: #fa4386;
  color: #fff;
  font-weight: 900;
}

.blog-newsletter>small {
  display: block;
  margin-top: 8px;
  color: #75849b;
  font-size: 10px;
}

.blog-newsletter>small a {
  text-decoration: underline;
}

.blog-newsletter .newsletter-status {
  padding: 7px 9px;
  border-radius: 8px;
  background: #e8f8ef;
  color: #116d4b !important;
  font-weight: 800;
}

.search-page {
  background: linear-gradient(110deg, #f0faff, #fff 45%, #f8fff5);
  padding-bottom: 40px;
}

.search-page .search-hero {
  height: 205px;
  padding: 21px 0 0;
  background-image: url("../images/banner-search.webp");
  background-size: cover;
  background-position: center 47%;
  border-radius: 0 0 18px 18px;
}

.search-page .search-hero-inner {
  text-align: center;
}

.search-page .search-hero h1 {
  font:
    700 39px/1.08 Fredoka,
    Nunito,
    sans-serif;
  margin: 0 0 3px;
  text-shadow: 0 2px 12px #d6f7ff;
}

.search-page .search-hero p {
  font-size: 14px;
  margin: 0;
}

.search-page .search-results-form {
  width: min(490px, 100%);
  height: 55px;
  margin: 12px auto 0;
  padding: 5px;
  background: #fff;
  box-shadow: 0 0 0 7px #ffffffa8;
  border-color: #d9ecf7;
}

.search-page .search-results-form input {
  padding-left: 15px;
}

.search-page .search-results-form button {
  width: 49px;
  padding: 0;
  border-radius: 13px;
  display: grid;
  place-items: center;
}

.search-page .search-results-form button .ckp-icon {
  width: 25px;
  height: 25px;
}

.search-page .search-layout {
  grid-template-columns: 200px minmax(0, 1fr) 200px;
  gap: 15px;
  padding-top: 0;
}

.search-page .search-filters {
  display: block;
  border-color: #e7eef6;
  background: #fff;
}

.search-filter-group {
  padding: 12px 10px;
  border-bottom: 1px solid #e8eef4;
}

.search-filter-group:last-child {
  border-bottom: 0;
}

.search-filter-group h2 {
  font: 900 14px Nunito;
  margin: 0 0 6px;
}

.search-page .search-filter-link,
.category-other-list .search-filter-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 7px;
  color: #173b76;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.search-page .search-filter-link:hover,
.category-other-list .search-filter-link:hover,
.search-page .search-filter-link.is-active {
  background: #ffeaf2;
  color: #f7387c;
}

.search-filter-link>.ckp-icon {
  flex: none;
  width: 17px;
  height: 17px;
  color: #3696d8;
}

.search-filter-link>span:nth-child(2) {
  flex: 1;
}

.search-filter-link>small {
  display: grid;
  place-items: center;
  min-width: 24px;
  padding: 2px 5px;
  border-radius: 12px;
  background: #edf4fb;
  color: #496591;
  font-size: 10px;
}

.search-filter-link.is-active>small {
  background: #f8d8e6;
  color: #ed3374;
}

.search-filter-topic-art {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #f6f4ed;
  overflow: hidden;
}

.search-filter-topic-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-filter-topic-art .ckp-icon {
  width: 16px;
  height: 16px;
}

.search-clear-filters {
  display: block;
  text-align: center;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  padding: 8px;
  margin: 11px 2px 0;
  font-size: 11px;
  font-weight: 800;
}

.search-results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  margin: 5px 0 11px;
}

.search-results-heading h2 {
  font:
    700 22px/1.17 Fredoka,
    Nunito,
    sans-serif;
  margin: 0;
}

.search-results-heading h2 span {
  color: #fa3b7e;
}

.search-results-heading p {
  font-size: 11px;
  margin: 4px 0 0;
}

.search-results-heading form {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: none;
  font-size: 10px;
  color: #617393;
}

.search-results-heading select {
  max-width: 118px;
  font-size: 10px;
  padding: 7px 5px;
  border: 1px solid #dce6f0;
  border-radius: 7px;
  background: #fff;
}

.search-page .search-result {
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 12px;
  padding: 8px;
  margin-bottom: 10px;
  min-height: 115px;
  background: #fff;
}

.search-result-image {
  display: block;
  height: 106px;
  border-radius: 9px;
  overflow: hidden;
}

.search-result-image img,
.search-result-image .ckp-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
}

.search-result-body {
  min-width: 0;
}

.search-result-body h3 {
  font: 900 15px/1.2 Nunito;
  margin: 3px 0;
}

.search-result-body p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.35;
  margin: 0;
  color: #627392;
}

.result-type {
  font-size: 9px;
}

.result-type.is-blog {
  background: #e9f1ff;
  color: #2875ca;
}

.search-result-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.search-result-tags span {
  font-size: 10px;
  line-height: 1.2;
  border-radius: 999px;
  padding: 4px 8px;
  background: #e5f8ec;
  color: #179360;
}

.search-result-tags span:nth-child(2) {
  background: #ffe9f1;
  color: #ef4c83;
}

.search-result-tags span:nth-child(3) {
  background: #f0e9ff;
  color: #8354d0;
}

.search-page .search-aside .sidebar-box h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 900 14px Nunito;
  border-bottom: 1px solid #e5edf5;
  padding-bottom: 8px;
}

.search-page .search-aside .sidebar-box h2 .ckp-icon {
  width: 18px;
  height: 18px;
  color: #ffa91f;
}

.search-page .search-aside .mini-post {
  font-size: 11px;
}

.search-page .search-aside .mini-post img,
.search-page .search-aside .mini-post .ckp-placeholder {
  width: 49px;
  height: 49px;
  min-height: 49px;
  flex-basis: 49px;
}

.search-related-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.search-related-terms a {
  padding: 5px 8px;
  border-radius: 9px;
  background: #ffe8f0;
  color: #ed3676;
  font-size: 11px;
}

.search-help {
  text-align: center;
}

.search-help h2 {
  text-align: left;
}

.search-help-art {
  height: 115px;
  background: url("../images/blog-single-hero.webp") center 19% / auto 190px no-repeat;
}

.search-help strong {
  display: block;
  font-size: 13px;
  line-height: 1.25;
}

.search-help p {
  font-size: 11px;
}

.search-help .pill-button {
  width: 100%;
  white-space: normal;
  line-height: 1.2;
}

.search-empty {
  text-align: center;
  background: #fff;
  border: 1px dashed #dce6f0;
  border-radius: 14px;
  padding: 35px 20px;
}

.search-empty h3 {
  margin-bottom: 4px;
}

.search-filter-toggle {
  display: none;
}

@media (max-width: 980px) {
  .search-page .search-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .search-page .search-aside {
    display: none;
  }

  .single-blog .single-layout {
    grid-template-columns: minmax(0, 1fr) 245px;
  }
}

@media (max-width: 760px) {

  .single-blog .single-layout,
  .search-page .search-layout {
    grid-template-columns: 1fr;
  }

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

  .search-page .search-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-filter-group {
    border-right: 1px solid #e8eef4;
  }
}

@media (max-width: 550px) {
  .single-blog .blog-article-header {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: 115px;
  }

  .single-blog .blog-article-header h1 {
    font-size: 29px;
  }

  .single-blog .blog-head-art {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 46%;
    height: 130px;
    min-height: 0;
  }

  .single-blog .blog-article-header p {
    font-size: 12px;
  }

  .single-blog .post-byline {
    max-width: 75%;
  }

  .single-blog .blog-featured img {
    aspect-ratio: 1.65/1;
  }

  .single-blog .blog-sidebar {
    grid-template-columns: 1fr;
  }

  .blog-benefits-article .blog-content ol>li {
    padding-right: 8px;
    padding-bottom: 90px;
  }

  .blog-benefits-article .blog-content ol>li::after {
    top: auto;
    bottom: 5px;
    right: 8px;
    width: 78px;
    height: 78px;
  }

  .single-blog .article-end .download-primary {
    min-width: 0;
    width: 100%;
  }

  .search-page .search-hero {
    height: 178px;
    background-size: auto 100%;
    background-position: center;
  }

  .search-page .search-hero h1 {
    font-size: 30px;
  }

  .search-page .search-hero p {
    font-size: 12px;
    max-width: 230px;
    margin: auto;
  }

  .search-page .search-results-form {
    height: 47px;
    margin-top: 10px;
  }

  .search-page .search-filters {
    grid-template-columns: 1fr;
  }

  .search-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
    padding: 8px 12px;
    border: 1px solid #dce8f2;
    border-radius: 9px;
    background: #fff;
    color: #0d3471;
    font-size: 12px;
    font-weight: 900;
  }

  .search-filter-toggle .ckp-icon {
    width: 17px;
    height: 17px;
  }

  .search-filter-group {
    padding: 9px;
    border-right: 0;
  }

  .search-page .search-filters.is-enhanced:not(.is-open) .search-filter-group:not(:first-child) {
    display: none;
  }

  .search-filter-group:first-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
  }

  .search-filter-group:first-child h2 {
    flex-basis: 100%;
  }

  .search-filter-group:first-child .search-filter-link {
    width: auto;
    font-size: 10px;
  }

  .search-filter-group:first-child .search-filter-link small {
    display: none;
  }

  .search-results-heading {
    align-items: start;
  }

  .search-results-heading h2 {
    font-size: 19px;
  }

  .search-results-heading form {
    flex-direction: column;
    align-items: end;
  }

  .search-page .search-result {
    grid-template-columns: 102px minmax(0, 1fr);
    gap: 9px;
    min-height: 103px;
  }

  .search-result-image {
    height: 95px;
  }

  .search-result-body h3 {
    font-size: 13px;
  }

  .search-result-body p {
    font-size: 10px;
  }

  .search-result-tags span {
    font-size: 9px;
    padding: 3px 6px;
  }
}

/* Keep navigation and collection tools available while reading long pages. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-radius: 0 0 12px 12px;
}

.site-header.is-scrolled {
  box-shadow: 0 7px 24px rgba(15, 46, 91, 0.14);
}

.admin-bar .site-header {
  top: 32px;
}

@media (min-width: 851px) {
  .single-coloring .single-sidebar {
    position: sticky;
    top: 76px;
    align-self: start;
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding: 1px 4px 8px 1px;
  }

  .admin-bar .single-coloring .single-sidebar {
    top: 108px;
    max-height: calc(100dvh - 122px);
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }
}

@media (max-width: 1024px) {
  .header-actions .pill-button {
    display: none;
  }
}

.single-coloring .featured-preview {
  background: #f4f7fa;
  scroll-margin-top: 100px;
}

.single-coloring .featured-preview-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 18px;
  background: #f4f7fa;
}

.single-coloring .featured-preview-media>img {
  display: block;
  width: min(100%, 315px);
  height: auto;
  max-height: none;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 5px 24px rgba(27, 50, 79, 0.12);
}

.single-coloring .preview-actions {
  gap: 9px;
  background: #fff;
}

.single-coloring .selected-page-label {
  flex: 1 1 100%;
  min-width: 0;
  font-size: 13px;
  font-weight: 800;
  color: #173563;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
}

.single-coloring .view-full-link {
  font-size: 12px;
  font-weight: 800;
  color: #23679a;
  text-decoration: underline;
}

.single-coloring .collection-pages {
  margin: 29px 0 36px;
}

.collection-pages-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
}

.collection-pages-heading h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 5px;
  font:
    600 25px Fredoka,
    Nunito,
    sans-serif;
  color: #102e61;
}

.collection-pages-heading h2 .ckp-icon {
  width: 24px;
  height: 24px;
  color: #169969;
}

.collection-pages-heading p {
  margin: 0;
  font-size: 13px;
  color: #687b91;
}

.collection-pages-heading>span {
  flex: none;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eaf8f1;
  color: #16845f;
  font-size: 12px;
  font-weight: 800;
}

.single-coloring .collection-pages .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px 15px;
  margin: 0;
}

.single-coloring .gallery-preview {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  padding: 7px;
  overflow: hidden;
  background: #f4f7fa;
  border: 2px solid #e0e9f0;
  box-shadow: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.single-coloring .gallery-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.single-coloring .gallery-preview:hover,
.single-coloring .gallery-preview:focus-visible,
.single-coloring .gallery-preview.is-selected {
  border-color: #159963;
  box-shadow: 0 0 0 3px rgba(21, 153, 99, 0.13);
}

.single-coloring .gallery-item .gallery-title {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.single-coloring .collection-about {
  min-height: 0;
  margin: 30px 0;
  padding: 22px;
  border: 1px solid #e7edf3;
  border-radius: 15px;
  background: #fff;
}

.single-coloring .collection-about h2 {
  margin: 0 0 12px;
}

@media (min-width: 1151px) {
  .single-coloring .collection-pages .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  .single-coloring .collection-pages .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .single-coloring .featured-preview-media {
    padding: 12px;
  }

  .single-coloring .featured-preview-media>img {
    width: min(100%, 255px);
  }

  .single-coloring .preview-actions .pill-button {
    width: auto;
  }

  .single-coloring .collection-pages .gallery-grid {
    gap: 19px 11px;
  }

  .collection-pages-heading {
    align-items: start;
  }

  .collection-pages-heading h2 {
    font-size: 21px;
  }

  .collection-pages-heading p {
    font-size: 12px;
  }

  .single-coloring .collection-about {
    padding: 16px;
  }
}

/* Clear download actions and quick navigation for large collections. */
.collection-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.collection-page-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid #d7e8e0;
  border-radius: 999px;
  background: #f4fbf7;
  color: #16684e;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.collection-page-nav a:hover,
.collection-page-nav a:focus-visible {
  border-color: #159963;
  background: #e5f7ed;
  outline-offset: 2px;
}

.gallery-chunk {
  scroll-margin-top: 105px;
  margin: 0 0 30px;
}

.gallery-chunk>h3 {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5edf2;
  color: #15345f;
  font:
    700 19px Fredoka,
    Nunito,
    sans-serif;
}

.single-coloring .gallery-item figcaption span {
  text-align: center;
}

.single-coloring .gallery-item .download-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  margin: 9px 0 0;
  padding: 9px 12px;
  border: 1px solid #10845c;
  border-radius: 9px;
  background: #159963;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 9px rgba(15, 119, 81, 0.15);
  transition:
    background 0.15s,
    box-shadow 0.15s;
}

.single-coloring .gallery-item .download-mini .ckp-icon {
  width: 17px;
  height: 17px;
  flex: none;
}

.single-coloring .gallery-item .download-mini:hover,
.single-coloring .gallery-item .download-mini:focus-visible {
  background: #0d7650;
  color: #fff;
  box-shadow: 0 5px 13px rgba(15, 119, 81, 0.22);
  outline-offset: 2px;
}

@media (max-width: 650px) {
  .collection-page-nav {
    gap: 6px;
    margin-bottom: 18px;
  }

  .collection-page-nav a {
    min-height: 36px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .gallery-chunk>h3 {
    font-size: 17px;
  }

  .single-coloring .gallery-item .download-mini {
    min-height: 40px;
    padding: 8px 6px;
    font-size: 11px;
  }
}

/* Legible actions and larger navigation targets. */
.primary-menu a[aria-current],
.primary-menu .current-menu-item>a {
  color: #087a50;
}

.primary-menu a[aria-current]::after,
.primary-menu .current-menu-item>a::after {
  background: #087a50;
}

.header-actions .pill-button:not(.header-app-gplay-btn):not(.ckp-store-btn) {
  background: #cf1e63;
}

.header-actions .pill-button.header-app-gplay-btn,
.header-actions .pill-button.ckp-store-btn,
.header-actions .ckp-store-btn {
  background: #0f172a !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18) !important;
  border-radius: 14px !important;
  padding: 7px 14px !important;
}

.header-actions .pill-button.header-app-gplay-btn:hover,
.header-actions .pill-button.ckp-store-btn:hover,
.header-actions .ckp-store-btn:hover {
  background: #1e293b !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.28) !important;
}

.section-heading>a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #0063b5;
}

.card-meta a {
  min-height: 30px;
  color: #25695f;
}

.benefit-grid small {
  color: #4f5c70;
}

.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

.footer-links a {
  display: flex;
  align-items: center;
  min-height: 30px;
}

.site-footer:not(.has-social) .footer-inner {
  grid-template-columns: 1.3fr 1.35fr 1.25fr;
}

@media (max-width: 850px) {
  .site-footer:not(.has-social) .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .site-footer:not(.has-social) .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Personal coloring book. */
.book-collection-bar,
.book-saved-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 15px 18px;
  margin: 0 0 22px;
  border: 1px solid #cce8dc;
  border-radius: 14px;
  background: #f1fbf5;
}

.book-collection-bar p,
.book-saved-bar p {
  margin: 0;
  color: #355f52;
}

.book-collection-bar a {
  color: #087b56;
  font-weight: 900;
}

.book-collection-bar .pill-button,
.book-saved-bar .pill-button {
  border: 0;
  cursor: pointer;
}

.book-saved-bar {
  margin-top: 18px;
}

.book-saved-bar strong {
  color: #15345f;
  font-size: 18px;
}

.book-add-button {
  display: block;
  width: 100%;
  min-height: 38px;
  margin: 7px 0 0;
  border: 1px solid #d6e5ee;
  border-radius: 9px;
  background: #fff;
  color: #17699a;
  font: 800 12px Nunito, sans-serif;
  cursor: pointer;
}

.book-add-button.is-added {
  background: #eaf8f1;
  border-color: #cce8dc;
  color: #087b56;
}

.book-page {
  padding-bottom: 55px;
  min-height: 65vh;
}

.book-heading {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 28px 0;
}

.book-heading-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: #fff0f6;
  color: #d62c71;
}

.book-heading-icon .ckp-icon {
  width: 36px;
  height: 36px;
}

.book-heading h1 {
  margin: 0 0 5px;
}

.book-heading p {
  margin: 0;
  color: #5b6d7f;
}

.book-privacy-note {
  margin: -12px 0 22px;
  padding: 11px 15px;
  border-radius: 10px;
  background: #eff9f5;
  color: #315f53;
  font-size: 13px;
}

.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 24px;
}

.book-main {
  min-width: 0;
  display: grid;
  gap: 22px;
}

.book-panel {
  padding: 24px;
  border: 1px solid #e0e9ef;
  border-radius: 17px;
  background: #fff;
  box-shadow: var(--shadow);
}

.book-panel h2 {
  margin: 0 0 5px;
  color: #15345f;
  font: 600 24px Fredoka, Nunito, sans-serif;
}

.book-cover-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 205px;
  align-items: start;
  gap: 20px;
}

.book-cover-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.book-cover-option {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 7px;
  border: 2px solid #e1e9ef;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  text-align: center;
}

.book-cover-option:has(input:checked) {
  border-color: #149767;
  background: #eefaf3;
  box-shadow: 0 0 0 2px #ccebdc;
}

.book-cover-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.book-cover-option input:focus-visible+img {
  outline: 3px solid #087b56;
  outline-offset: 2px;
}

.book-cover-option img {
  display: block;
  width: 100%;
  aspect-ratio: 1054 / 1492;
  object-fit: cover;
  border-radius: 6px;
}

.book-cover-option span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #23425f;
  font-size: 12px;
  font-weight: 900;
}

.book-cover-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 1054 / 1492;
  overflow: hidden;
  border-radius: 11px;
  box-shadow: 0 10px 28px #19395025;
}

.book-cover-preview>img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-cover-preview-copy {
  position: absolute;
  inset: 0;
  color: #17365d;
  font-family: Nunito, sans-serif;
  font-weight: 900;
  text-align: center;
  pointer-events: none;
}

.book-cover-preview-copy>* {
  position: absolute;
  left: 14%;
  width: 72%;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.book-cover-preview-copy strong {
  top: 29%;
  transform: translateY(-50%);
  font-size: 13px;
}

.book-cover-preview-copy span {
  top: 40%;
  transform: translateY(-50%);
  font-size: 17px;
}

.book-cover-preview-copy small {
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
}

.book-section-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.book-section-heading p {
  margin: 0;
  color: #63798a;
  font-size: 13px;
}

.book-section-heading>a {
  color: #087b56;
  font-weight: 800;
}

.book-clear {
  padding: 6px 10px;
  border: 0;
  background: transparent;
  color: #b92558;
  font-weight: 800;
  cursor: pointer;
}

.book-empty {
  padding: 23px;
  border-radius: 12px;
  background: #f4f8fb;
  color: #51697d;
  text-align: center;
}

.book-empty p {
  margin: 0 0 15px;
}

.book-list {
  display: grid;
  gap: 9px;
}

.book-row {
  display: grid;
  grid-template-columns: 24px 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid #e1e9ef;
  border-radius: 10px;
}

.book-row-number {
  color: #6b7d8c;
  font-weight: 900;
  text-align: center;
}

.book-row img,
.book-saved-item img {
  width: 62px;
  height: 70px;
  object-fit: contain;
  background: #f7f9fa;
  border-radius: 6px;
}

.book-row strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
  color: #243d5d;
}

.book-row-actions {
  display: flex;
  gap: 5px;
}

.book-row-actions button,
.book-saved-item button {
  min-width: 34px;
  min-height: 34px;
  border: 1px solid #d8e5ea;
  border-radius: 7px;
  background: #fff;
  color: #155d84;
  font-weight: 800;
  cursor: pointer;
}

.book-row-actions button:disabled,
.book-saved-item button:disabled {
  opacity: .45;
  cursor: default;
}

.book-row-actions button:last-child {
  padding: 0 8px;
  color: #b92558;
}

.book-saved-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.book-saved-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  border: 1px solid #e1e9ef;
  border-radius: 10px;
}

.book-saved-item span {
  flex: 1;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
  font-weight: 800;
  color: #243d5d;
}

.book-saved-item button {
  padding: 0 8px;
}

.book-settings {
  position: sticky;
  top: 90px;
}

.book-settings form {
  display: grid;
  gap: 10px;
}

.book-settings label,
.book-settings legend {
  color: #243d5d;
  font-weight: 800;
}

.book-settings input[type="text"] {
  width: 100%;
  min-height: 43px;
  padding: 9px 12px;
  border: 1px solid #cbdde7;
  border-radius: 9px;
  font: inherit;
}

.book-settings fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  border: 0;
}

.book-settings legend {
  margin-bottom: 8px;
}

.book-settings fieldset label {
  font-weight: 600;
}

.book-form-note {
  margin: 3px 0;
  color: #5c7080;
  font-size: 13px;
  line-height: 1.5;
}

.book-settings .download-primary {
  width: 100%;
  border: 0;
  font: 900 15px Nunito, sans-serif;
  cursor: pointer;
}

.book-settings .download-primary:disabled {
  opacity: .5;
  cursor: default;
}

#ckp-book-form-message {
  margin: 0;
  color: #25695f;
  font-size: 13px;
}

@media (max-width: 900px) {
  .book-layout {
    grid-template-columns: 1fr;
  }

  .book-settings {
    position: static;
  }
}

@media (max-width: 650px) {
  .book-heading {
    align-items: start;
  }

  .book-heading-icon {
    width: 52px;
    height: 52px;
  }

  .book-panel {
    padding: 16px;
  }

  .book-row {
    grid-template-columns: 20px 48px minmax(0, 1fr);
    gap: 8px;
  }

  .book-row img,
  .book-saved-item img {
    width: 48px;
    height: 58px;
  }

  .book-row-actions {
    grid-column: 3;
  }

  .book-saved-list {
    grid-template-columns: 1fr;
  }

  .book-cover-layout {
    grid-template-columns: 1fr;
  }

  .book-cover-preview {
    max-width: 240px;
    margin: 0 auto;
  }
}

/* Book cover personalization and final preview. */
.book-cover-preview[data-position="upper"] .book-cover-preview-copy strong {
  top: 23%;
}

.book-cover-preview[data-position="upper"] .book-cover-preview-copy span {
  top: 35%;
}

.book-cover-preview[data-position="upper"] .book-cover-preview-copy small {
  top: 47%;
}

.book-cover-preview[data-position="lower"] .book-cover-preview-copy strong {
  top: 35%;
}

.book-cover-preview[data-position="lower"] .book-cover-preview-copy span {
  top: 46%;
}

.book-cover-preview[data-position="lower"] .book-cover-preview-copy small {
  top: 55%;
}

.book-position-control label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.book-preview-dialog {
  width: min(880px, calc(100% - 28px));
  max-height: min(92vh, 900px);
  padding: 22px;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 22px 70px #102c6159;
  color: #17365d;
}

.book-preview-dialog::backdrop {
  background: #102641b8;
}

.book-preview-dialog-head,
.book-preview-dialog-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.book-preview-dialog-head h2 {
  margin: 0 0 4px;
  font: 600 26px Fredoka, Nunito, sans-serif;
}

.book-preview-dialog-head p {
  margin: 0;
  color: #5c7080;
}

#ckp-book-preview-close {
  width: 38px;
  height: 38px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: #eef4f7;
  color: #17365d;
  font-size: 28px;
  cursor: pointer;
}

.book-preview-dialog-body {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 26px;
  margin: 22px 0;
}

.book-cover-preview-large {
  max-width: 320px;
}

.book-cover-preview-large .book-cover-preview-copy strong {
  font-size: 20px;
}

.book-cover-preview-large .book-cover-preview-copy span {
  font-size: 26px;
}

.book-cover-preview-large .book-cover-preview-copy small {
  font-size: 14px;
}

.book-preview-pages {
  min-width: 0;
  max-height: 440px;
  overflow: auto;
}

.book-preview-pages h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.book-preview-page {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #e1e9ef;
}

.book-preview-page img {
  width: 45px;
  height: 60px;
  flex: none;
  object-fit: contain;
  background: #f4f7fa;
}

.book-preview-page span {
  overflow-wrap: anywhere;
  font-weight: 800;
}

.book-preview-dialog-actions .download-primary {
  border: 0;
  cursor: pointer;
}

.book-preview-dialog-actions .download-primary:disabled {
  opacity: .5;
  cursor: default;
}

/* Keep every coloring thumbnail within the same portrait frame. */
.coloring-card-image,
.saved-card-image {
  aspect-ratio: 3 / 4;
  padding: 7px;
  background: #f4f7fa;
}

.coloring-card-image img,
.saved-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.search-page .search-result.is-coloring {
  grid-template-columns: 102px minmax(0, 1fr);
}

.search-result.is-coloring .search-result-image {
  width: 102px;
  height: auto;
  aspect-ratio: 3 / 4;
  padding: 4px;
  background: #f4f7fa;
}

.search-result.is-coloring .search-result-image img {
  object-fit: contain;
  background: #fff;
}

.book-row {
  grid-template-columns: 24px 54px minmax(0, 1fr) auto;
}

.book-row img,
.book-saved-item img {
  width: 54px;
  height: 72px;
}

/* Shared topic tiles and compact archive controls. */
.archive-categories {
  margin: 8px 0 22px;
}

.archive-categories .section-heading {
  margin-bottom: 12px;
}

.archive-topic-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.archive-collections {
  min-width: 0;
}

.coloring-archive .category-toolbar>div {
  min-width: 0;
}

.coloring-archive .category-toolbar p {
  margin: 5px 0 0;
  color: #5c7080;
  font-size: 13px;
}

.coloring-archive .category-controls {
  margin-left: 0;
}

/* Blog artwork shares the header background; contents links point to article headings. */
.single-blog .blog-article-header {
  display: block;
  min-height: 195px;
  padding: 18px;
  background: linear-gradient(90deg, #fff 0%, #fff 55%, #f3fbff 100%);
}

.single-blog .blog-head-copy {
  position: relative;
  z-index: 1;
}

.single-blog .blog-head-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: 35%;
  height: 100%;
  min-height: 0;
  opacity: .66;
  background-position: right bottom;
  pointer-events: none;
}

.single-blog .blog-article-header .post-byline {
  position: relative;
  z-index: 1;
}

.article-toc {
  margin: 18px 0 24px;
  padding: 18px 20px;
  border: 1px solid #dcebe8;
  border-radius: 14px;
  background: #f7fcfa;
}

.article-toc h2 {
  margin: 0 0 9px;
  font: 700 21px Fredoka, Nunito, sans-serif;
  color: #17365d;
}

.article-toc ol {
  columns: 2;
  column-gap: 30px;
  margin: 0;
  padding-left: 22px;
}

.article-toc li {
  break-inside: avoid;
  padding: 4px 0;
  font-size: 14px;
}

.article-toc .toc-level-3 {
  margin-left: 14px;
  font-size: 13px;
}

.article-toc a {
  color: #126d59;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content h2[id],
.article-content h3[id] {
  scroll-margin-top: 100px;
}

/* Shorter heroes on wide and narrow screens. */
.home-hero .hero-layout,
.blog-hero .hero-layout {
  height: 320px;
  min-height: 0;
}

.category-hero-inner,
.coloring-archive-hero .category-hero-inner {
  height: 235px;
  min-height: 0;
}

.search-page .search-hero {
  height: 155px;
}

@media (min-width: 651px) and (max-width: 850px) {

  .home-hero .hero-layout,
  .blog-hero .hero-layout {
    height: 410px;
  }

  .home-hero::after,
  .blog-hero::after {
    height: 300px;
  }

  .archive-topic-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .coloring-archive .archive-layout {
    grid-template-columns: 1fr;
  }

  .coloring-archive .archive-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {

  .home-hero .hero-layout,
  .blog-hero .hero-layout {
    height: 320px;
    min-height: 320px;
  }

  .home-hero .hero-copy,
  .blog-hero .hero-copy {
    padding-top: 17px;
  }

  .category-hero-inner,
  .coloring-archive-hero .category-hero-inner {
    min-height: 250px;
    padding-top: 8px;
    padding-bottom: 12px;
  }

  .category-hero h1 {
    font-size: 30px;
  }

  .category-points {
    margin-top: 7px;
  }

  .search-page .search-hero {
    height: 135px;
  }

  .archive-topic-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .coloring-archive .archive-sidebar {
    grid-template-columns: 1fr;
  }

  .coloring-archive .category-controls {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coloring-archive .category-controls label {
    min-width: 0;
  }

  .coloring-archive .category-controls select {
    min-width: 0;
  }

  .coloring-archive .category-apply {
    grid-column: 1 / -1;
  }

  .single-blog .blog-article-header {
    min-height: 190px;
    padding: 13px;
  }

  .single-blog .blog-head-art {
    width: 43%;
    height: 100%;
    opacity: .36;
  }

  .single-blog .post-byline {
    max-width: none;
  }

  .article-toc ol {
    columns: 1;
  }

  .book-preview-dialog {
    padding: 16px;
  }

  .book-preview-dialog-body {
    grid-template-columns: 1fr;
  }

  .book-cover-preview-large {
    width: min(100%, 250px);
    margin-inline: auto;
  }

  .book-preview-pages {
    max-height: 220px;
  }

  .book-row {
    grid-template-columns: 20px 48px minmax(0, 1fr);
  }

  .book-row img,
  .book-saved-item img {
    width: 48px;
    height: 64px;
  }
}

@media (max-width: 400px) {

  .category-hero-inner,
  .coloring-archive-hero .category-hero-inner {
    min-height: 265px;
  }

  .archive-topic-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Fit category copy inside the reduced hero instead of letting it overlap content. */
@media (min-width: 651px) {

  .category-hero-inner,
  .coloring-archive-hero .category-hero-inner {
    grid-template-columns: 60% 40%;
    height: 270px;
  }

  .category-hero h1 {
    font-size: clamp(33px, 3vw, 41px);
    margin: 6px 0 7px;
  }

  .category-hero p {
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 6px;
  }

  .category-points {
    margin-top: 10px;
    font-size: 11px;
  }
}

.single-coloring .mini-post.is-coloring img {
  width: 51px;
  height: 68px;
  flex: none;
  object-fit: contain;
  background: #f4f7fa;
  border-radius: 5px;
}

.article-toc ol {
  list-style: none;
  padding-left: 0;
}

/* ==========================================================================
   Standard Header Navigation, Submenu & Language Switcher Styles
   ========================================================================== */

/* Header Inner & Alignment */
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Primary Nav Menu List (Desktop) */
.primary-menu .nav-menu-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu .nav-menu-list>li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.primary-menu .nav-menu-list>li>a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  color: #1e3a63;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.primary-menu .nav-menu-list>li>a:hover {
  background: #f0f5fc;
  color: #2563eb;
  transform: translateY(-1px);
}

.primary-menu .nav-menu-list>li>a[aria-current="page"],
.primary-menu .nav-menu-list>li.current-menu-item>a {
  color: #2563eb;
  background: #edf4fe;
}

.primary-menu .menu-icon {
  width: 17px;
  height: 17px;
  color: #3b82f6;
  flex-shrink: 0;
}

/* Dropdown Arrow */
.primary-menu .dropdown-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  transition: transform 0.25s ease;
}

.primary-menu .dropdown-arrow svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.5;
  color: #64748b;
}

.primary-menu .has-dropdown:hover>a .dropdown-arrow svg,
.primary-menu .has-dropdown:focus-within>a .dropdown-arrow svg {
  transform: rotate(180deg);
  color: #2563eb;
}

.sub-menu-toggle {
  display: none;
}

/* Submenu Dropdown Card (Desktop) */
.primary-menu .ckp-sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  max-width: 320px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15, 34, 64, 0.14), 0 2px 6px rgba(15, 34, 64, 0.04);
  border: 1px solid #edf1f6;
  padding: 8px;
  z-index: 1000;
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* Bridge gap between link and dropdown */
.primary-menu .has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}

.primary-menu .has-dropdown:hover>.ckp-sub-menu,
.primary-menu .has-dropdown:focus-within>.ckp-sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.primary-menu .ckp-sub-menu>li {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.primary-menu .ckp-sub-menu>li>a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13.5px;
  color: #263852;
  text-decoration: none;
  transition: all 0.15s ease;
  width: 100%;
  box-sizing: border-box;
}

.primary-menu .ckp-sub-menu>li>a:hover {
  background: #f0f6ff;
  color: #2563eb;
  padding-left: 15px;
}

.primary-menu .ckp-sub-menu .menu-topic-image {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}

.primary-menu .ckp-sub-menu .menu-cat-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #64748b;
  transition: all 0.15s;
}

.primary-menu .ckp-sub-menu>li>a:hover .menu-cat-badge {
  background: #dbeafe;
  color: #1d4ed8;
}

.primary-menu .menu-dropdown-footer {
  border-top: 1px solid #f1f5f9;
  margin-top: 4px;
  padding-top: 6px;
}

.primary-menu .menu-dropdown-footer a.view-all-cats {
  justify-content: center;
  color: #2563eb;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 10px;
  background: #f8fafc;
}

.primary-menu .menu-dropdown-footer a.view-all-cats:hover {
  background: #eff6ff;
  padding-left: 10px;
}

/* ==========================================================================
   Language Switcher Styles
   ========================================================================== */
.ckp-lang-dropdown {
  position: relative;
  display: inline-block;
}

.ckp-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border-radius: 20px;
  background: #f3f6fa;
  border: 1px solid #dce4ef;
  color: #1e3a63;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ckp-lang-btn:hover,
.ckp-lang-dropdown.is-open .ckp-lang-btn {
  background: #eaf1fa;
  border-color: #cbd8e8;
  color: #2563eb;
  transform: translateY(-1px);
}

.ckp-lang-flag {
  font-size: 16px;
  line-height: 1;
}

.ckp-lang-code {
  font-weight: 800;
  letter-spacing: 0.5px;
}

.ckp-lang-arrow svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
  transition: transform 0.25s ease;
  color: #64748b;
}

.ckp-lang-dropdown.is-open .ckp-lang-arrow svg {
  transform: rotate(180deg);
  color: #2563eb;
}

.ckp-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 14px 35px rgba(15, 34, 64, 0.14), 0 2px 6px rgba(15, 34, 64, 0.04);
  border: 1px solid #edf1f6;
  padding: 6px;
  list-style: none;
  margin: 0;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: ckpFadeDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ckpFadeDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ckp-lang-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #243750;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.ckp-lang-item:hover {
  background: #f1f6fd;
  color: #2563eb;
}

.ckp-lang-item.is-active {
  background: #edf5fe;
  color: #2563eb;
  font-weight: 800;
}

.ckp-lang-check {
  margin-left: auto;
  display: inline-flex;
}

.ckp-lang-check svg {
  width: 15px;
  height: 15px;
  color: #2563eb;
  stroke-width: 2.5;
}

/* Mobile Language Switcher */
.ckp-mobile-lang-bar {
  display: none;
  padding: 14px 0 6px;
  border-top: 1px solid #edf1f6;
  margin-top: 12px;
}

.ckp-mobile-lang-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94a3b8;
  margin-bottom: 8px;
}

.ckp-mobile-lang-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ckp-lang-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ckp-lang-choice.is-active {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

/* ==========================================================================
   Mobile Responsive Rules for Header & Navigation (<= 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .mobile-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: #f1f5f9;
    color: var(--navy);
    border-radius: 12px;
    cursor: pointer;
    font-size: 20px;
    margin-left: auto;
    transition: all 0.2s;
  }

  .mobile-menu-button:hover {
    background: #e2e8f0;
  }

  .primary-menu {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 34, 64, 0.16);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 14px;
    z-index: 1000;
    flex-direction: column;
    max-height: calc(85vh - 70px);
    overflow-y: auto;
  }

  .primary-menu.open {
    display: flex !important;
  }

  .primary-menu .nav-menu-list {
    flex-direction: column;
    width: 100%;
    gap: 4px;
  }

  .primary-menu .nav-menu-list>li {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .primary-menu .nav-menu-list>li>a {
    flex: 1;
    padding: 11px 14px;
    font-size: 15px;
    border-radius: 12px;
  }

  .primary-menu .dropdown-arrow {
    display: none;
  }

  .sub-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #64748b;
    border-radius: 12px;
    transition: background 0.15s;
  }

  .sub-menu-toggle:hover {
    background: #f1f5f9;
    color: #2563eb;
  }

  .sub-menu-toggle svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
    transition: transform 0.25s ease;
  }

  .primary-menu .has-dropdown.is-open>.sub-menu-toggle svg {
    transform: rotate(180deg);
    color: #2563eb;
  }

  .primary-menu .ckp-sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin: 4px 0 8px;
    padding: 6px;
    display: none;
    pointer-events: auto;
  }

  .primary-menu .has-dropdown.is-open>.ckp-sub-menu {
    display: flex;
  }

  .primary-menu .ckp-sub-menu>li>a {
    padding: 10px 12px;
    font-size: 14px;
  }

  .primary-menu .saved-mobile-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    color: #1e3a63;
    margin-top: 6px;
    border-top: 1px solid #f1f5f9;
  }

  .header-actions .pill-button {
    display: none;
  }
}

/* ==========================================================================
   Complete Responsive Rules for Coloring Pages Archive & Components
   ========================================================================== */

/* Hero Section */
.coloring-archive-hero,
.category-hero {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.coloring-archive-hero .category-hero-inner {
  height: auto;
  min-height: 240px;
  padding: 24px 0 32px;
}

@media (max-width: 900px) {

  .coloring-archive-hero .category-hero-inner,
  .category-hero-inner {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    padding: 20px 0 24px;
    text-align: left;
  }

  .category-hero-inner>div:first-child {
    width: 100%;
    max-width: 100%;
  }

  .category-hero h1 {
    font-size: clamp(24px, 5vw, 34px);
    margin: 8px 0;
  }

  .category-hero p {
    font-size: 14px;
    max-width: 100%;
  }

  .coloring-archive-art,
  .category-hero-art {
    display: none !important;
  }

  .category-points {
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 14px;
  }
}

/* Category Topics Grid ("Duyệt tranh theo chủ đề") */
.archive-topic-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 992px) {
  .archive-topic-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 680px) {
  .archive-topic-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
  }

  .topic-name {
    font-size: 11.5px;
    padding: 6px 2px;
  }
}

@media (max-width: 440px) {
  .archive-topic-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
  }
}

/* Category Toolbar & Filter Form */
.category-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.category-toolbar>div {
  min-width: 0;
}

.category-controls {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 900px) {
  .category-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .category-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    width: 100%;
    gap: 8px;
    margin-left: 0;
  }

  .category-controls label {
    min-width: 0;
    width: 100%;
  }

  .category-controls select {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 580px) {
  .category-controls {
    grid-template-columns: 1fr 1fr;
  }

  .category-apply {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 40px;
  }
}

/* Archive Collections Layout & Grid */
.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
  padding-top: 15px;
}

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

@media (max-width: 1180px) {
  .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 12px;
  }
}

@media (max-width: 900px) {
  .archive-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .archive-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .archive-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .archive-grid {
    grid-template-columns: 1fr;
  }
}

/* Guide Section (01, 02, 03) */
.archive-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

@media (max-width: 900px) {
  .archive-guide-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .archive-guide {
    padding: 20px;
    border-radius: 18px;
  }
}

/* FAQ Accordion */
.archive-faq-list {
  display: grid;
  gap: 10px;
  max-width: 100%;
  margin-top: 20px;
}

.archive-faq-list summary {
  word-break: break-word;
}

.archive-faq-list details p {
  word-break: break-word;
}

/* Floating Actions Prevention */
.floating-actions {
  position: fixed;
  z-index: 99;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
}

/* General Container & Main Overflow Protection */
.coloring-archive {
  overflow-x: clip;
  max-width: 100%;
}

.container {
  max-width: 100%;
  box-sizing: border-box;
}

/* ==========================================================================
   Full-Width Archive Layout (Sidebar Removed on /coloring-pages/)
   ========================================================================== */
.coloring-archive .archive-layout {
  display: block;
  width: 100%;
}

.coloring-archive .archive-collections {
  width: 100%;
}

.coloring-archive .archive-sidebar {
  display: none !important;
}

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

@media (max-width: 1180px) {
  .coloring-archive .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 12px;
  }
}

@media (max-width: 768px) {
  .coloring-archive .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }
}

@media (max-width: 360px) {
  .coloring-archive .archive-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Universal 2-Line Truncation with Ellipsis (...) for All Titles on Site
   (Coloring Cards, Blog Cards, Search Results, Gallery Images, Sidebars, etc.)
   ========================================================================== */
.coloring-card h3,
.coloring-card h3 a,
.blog-card h3,
.blog-card h3 a,
.search-result h3,
.search-result h3 a,
.saved-card h2,
.saved-card h2 a,
.gallery-item figcaption span,
.gallery-item figcaption .gallery-title,
.gallery-title,
.selected-page-label,
.mini-post>span,
.mini-post>strong,
.mini-post span strong,
.blog-post-nav strong,
.single-blog .blog-post-nav strong,
.error-post strong,
.book-row strong,
.book-saved-item span,
.search-result-copy strong,
.search-modal-results strong,
.subtopic-tile strong,
.topic-name {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  word-break: break-word;
  line-height: 1.35;
  max-height: 2.7em;
}

/* ==========================================================================
   Single Coloring & Single Blog Responsive Fixes (Mobile & Tablet)
   ========================================================================== */
.single-coloring,
.single-blog {
  overflow-x: clip;
  max-width: 100%;
  box-sizing: border-box;
}

.single-coloring .single-layout,
.single-blog .single-layout,
.single-layout {
  min-width: 0;
  max-width: 100%;
}

.single-coloring .single-main,
.single-blog .single-main,
.single-main {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.single-coloring .single-sidebar,
.single-blog .single-sidebar,
.single-sidebar {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.single-coloring .single-heading,
.single-coloring .collection-rating,
.single-coloring .featured-preview,
.single-coloring .collection-pages,
.single-coloring .collection-about,
.single-coloring .info-panel,
.single-coloring .related-section,
.single-blog .blog-article-header,
.single-blog .blog-featured,
.single-blog .blog-content,
.single-blog .share-links,
.single-blog .author-box {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* WordPress post content, figures, captions & image scaling */
.wp-caption,
figure.wp-caption {
  max-width: 100% !important;
  width: auto !important;
  box-sizing: border-box !important;
}

.wp-caption img,
.collection-about img,
.article-content img,
.single-main img {
  max-width: 100% !important;
  height: auto !important;
  box-sizing: border-box !important;
}

.wp-caption-text {
  max-width: 100% !important;
  box-sizing: border-box !important;
  word-break: break-word !important;
  line-height: 1.4 !important;
}

.collection-about {
  word-break: break-word;
  overflow-wrap: break-word;
  overflow-x: clip;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.collection-about p,
.collection-about blockquote,
.collection-about table,
.collection-about iframe,
.collection-about video,
.collection-about div {
  max-width: 100% !important;
  box-sizing: border-box !important;
  word-break: break-word;
}

@media (max-width: 900px) {

  .single-coloring .single-layout,
  .single-blog .single-layout,
  .single-layout {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .single-coloring .single-main,
  .single-blog .single-main,
  .single-coloring .single-sidebar,
  .single-blog .single-sidebar {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .single-coloring .single-sidebar,
  .single-blog .single-sidebar {
    margin-top: 26px;
  }
}

@media (max-width: 650px) {
  .single-heading h1 {
    font-size: 23px;
    line-height: 1.3;
    margin-bottom: 8px;
    word-break: break-word;
  }

  .post-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 11.5px;
  }

  .collection-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
  }

  .rating-stars {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
  }

  .rating-stars button {
    padding: 2px;
  }

  .rating-stars button svg {
    width: 22px;
    height: 22px;
  }

  .rating-message {
    width: 100%;
    margin: 4px 0 0;
  }

  .collection-about-art {
    float: none;
    display: block;
    margin: 0 auto 14px;
    max-width: 130px;
    height: auto;
  }

  .collection-pages-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .info-panel {
    padding: 16px 18px 14px;
    min-height: 0;
  }
}

@media (max-width: 540px) {
  .single-coloring .preview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
  }

  .single-coloring .selected-page-label {
    flex: 1 1 100%;
    width: 100%;
    margin-bottom: 2px;
  }

  .single-coloring .preview-actions .pill-button,
  .single-coloring .preview-actions .print-button {
    flex: 1 1 calc(50% - 4px);
    min-height: 40px;
    padding: 8px 6px;
    font-size: 12px;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

  .single-coloring .view-full-link {
    flex: 1 1 100%;
    text-align: center;
    padding: 4px 0;
  }

  .book-collection-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .book-collection-bar .pill-button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   Home Blog Section & Carousel
   ========================================================================== */
.home-blog-section {
  margin-top: 36px;
}

.home-blog-section .section-heading {
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.home-blog-section .section-subtitle {
  color: #546784;
  font-size: 13.5px;
  margin: 4px 0 0;
}

.section-heading-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.carousel-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #d9e2ec;
  color: #092458;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(9, 36, 88, 0.05);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.carousel-btn:hover:not(:disabled) {
  background: #f0f7ff;
  border-color: #197ddd;
  color: #197ddd;
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 4px 10px rgba(25, 125, 221, 0.15);
}

.carousel-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.95);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  border-color: #e2e8f0;
}

.carousel-btn .ckp-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.blog-carousel-wrapper {
  position: relative;
  width: 100%;
}

.blog-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px 2px 14px;
  margin: 0;
  cursor: grab;
}

.blog-carousel::-webkit-scrollbar {
  display: none;
}

.blog-carousel.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.blog-carousel .carousel-item {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
}

.blog-carousel .carousel-item .blog-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.blog-carousel .carousel-item .blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(9, 36, 88, 0.1);
}

.blog-carousel .carousel-item .blog-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-carousel .carousel-item .blog-card-body .text-link {
  margin-top: auto;
}

.carousel-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d4dce5;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.carousel-dot:hover {
  background: #94a3b8;
}

.carousel-dot.is-active {
  width: 22px;
  background: #f93b83;
}

@media (max-width: 1080px) {
  .blog-carousel .carousel-item {
    flex: 0 0 calc((100% - 40px) / 3);
  }
}

@media (max-width: 768px) {
  .blog-carousel .carousel-item {
    flex: 0 0 calc((100% - 20px) / 2);
  }
  .home-blog-section .section-heading {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .blog-carousel {
    gap: 14px;
    padding-bottom: 12px;
  }
  .blog-carousel .carousel-item {
    flex: 0 0 82%;
  }
  .section-heading-actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   CONTACT PAGE & CONTACT FORM STYLING
   ========================================================================== */
.page-contact-wrap {
  padding-bottom: 90px;
}

.contact-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
  margin-top: 10px;
}

.contact-page-article {
  max-width: 100%;
}

.contact-page-header {
  margin-bottom: 28px;
}

.contact-page-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.25;
}

.contact-page-lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 680px;
}

.contact-page-intro {
  margin-bottom: 30px;
  font-size: 15px;
  line-height: 1.65;
  color: #334155;
}

/* Contact Box Card */
.ckp-contact-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 12px 36px rgba(15, 30, 60, 0.05);
  position: relative;
  overflow: hidden;
}

.ckp-contact-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--pink) 50%, #f59e0b 100%);
}

.ckp-contact-header {
  margin-bottom: 26px;
}

.ckp-contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.ckp-contact-badge .ckp-icon {
  width: 15px;
  height: 15px;
}

.ckp-contact-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.3;
}

.ckp-contact-header p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* Contact Alerts */
.ckp-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 22px;
  animation: ckpFadeIn 0.3s ease;
}

.ckp-alert .ckp-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.ckp-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.ckp-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

@keyframes ckpFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Form Controls */
.ckp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}

.ckp-form-group {
  margin-bottom: 20px;
}

.ckp-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}

.ckp-form-group label .required {
  color: #ef4444;
  margin-left: 2px;
}

.ckp-input,
.ckp-select,
.ckp-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  color: #1e293b;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 16px;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.ckp-input:focus,
.ckp-select:focus,
.ckp-textarea:focus {
  background: #ffffff;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(25, 125, 221, 0.15);
}

.ckp-input::placeholder,
.ckp-textarea::placeholder {
  color: #94a3b8;
}

.ckp-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}

/* Custom Select with Chevron */
.ckp-select-wrapper {
  position: relative;
}

.ckp-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
}

.ckp-select-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748b;
  display: flex;
  align-items: center;
}

.ckp-select-icon .ckp-icon {
  width: 16px;
  height: 16px;
}

/* Form Footer */
.ckp-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.ckp-privacy-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
  max-width: 440px;
  line-height: 1.45;
}

.ckp-privacy-notice .ckp-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #94a3b8;
}

.ckp-submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--blue) 0%, #0d64ba 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(25, 125, 221, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.ckp-submit-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 125, 221, 0.4);
}

.ckp-submit-button:active:not(:disabled) {
  transform: translateY(0);
}

.ckp-submit-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.ckp-submit-button .ckp-icon {
  width: 16px;
  height: 16px;
}

.ckp-submit-button .btn-spinner .ckp-icon {
  animation: ckpSpin 0.9s linear infinite;
}

@keyframes ckpSpin {
  100% { transform: rotate(360deg); }
}

/* Contact Page Sidebar Cards */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15, 30, 60, 0.04);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.contact-info-icon .ckp-icon {
  width: 22px;
  height: 22px;
}

.contact-fast-response .contact-info-icon {
  background: #ecfdf5;
  color: var(--green);
}

.contact-info-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.contact-info-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-list li {
  font-size: 13.5px;
  line-height: 1.5;
  color: #475569;
  border-bottom: 1px dashed #f1f5f9;
  padding-bottom: 12px;
}

.contact-info-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info-list strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  margin-bottom: 2px;
}

/* Math Verification Challenge Box */
.ckp-math-group {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ckp-math-group:focus-within {
  background: #ffffff;
  border-color: var(--blue);
  border-style: solid;
}

.ckp-math-group label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 9px;
}

.ckp-math-challenge-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ckp-math-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 8px 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.ckp-math-badge .math-icon {
  display: inline-flex;
  align-items: center;
}

.ckp-math-badge .math-icon .ckp-icon {
  width: 17px;
  height: 17px;
  color: #f59e0b;
}

.ckp-math-badge .math-expr {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 1px;
  user-select: none;
}

.ckp-math-refresh {
  background: transparent;
  border: none;
  padding: 3px;
  margin-left: 2px;
  cursor: pointer;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.ckp-math-refresh:hover {
  color: var(--blue);
  background: #eff6ff;
  transform: rotate(90deg);
}

.ckp-math-refresh .ckp-icon {
  width: 15px;
  height: 15px;
}

.ckp-math-input {
  flex: 1;
  min-width: 130px;
  max-width: 200px;
  font-size: 15.5px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
  padding: 10px 14px;
}

.ckp-field-hint {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 7px;
  line-height: 1.45;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-page-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ckp-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ckp-contact-box {
    padding: 24px 20px;
  }
}

@media (max-width: 600px) {
  .contact-page-title {
    font-size: 26px;
  }
  .ckp-contact-header h2 {
    font-size: 20px;
  }
  .ckp-form-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .ckp-privacy-notice {
    max-width: 100%;
    order: 2;
  }
  .ckp-submit-button {
    width: 100%;
    order: 1;
  }
}