/* Flowcat journal archive
 * A warm editorial surface aligned with the homepage and product collection.
 */

body.blog {
  --flowcat-ink: #2B2620;
  --flowcat-brown: #6F4E37;
  --flowcat-accent: #8E5E43;
  --flowcat-muted: #74655A;
  --flowcat-ivory: #FAF6F0;
  --flowcat-paper: #FFFFFF;
  --flowcat-band: #F1E8DC;
  --flowcat-line: #E3D5C6;
  color: var(--flowcat-ink) !important;
  background: var(--flowcat-ivory) !important;
}

/* Header */
body.blog #header [data-row="middle"] {
  --height: 96px;
  height: 96px !important;
  background: var(--flowcat-band) !important;
  border-bottom: 1px solid var(--flowcat-line) !important;
}
body.blog #header [data-row="middle"] > .ct-container {
  grid-template-columns: 1fr auto 1fr !important;
  height: 96px !important;
  align-items: center !important;
}
body.blog #header .site-branding {
  height: 96px !important;
  margin-left: 17px !important;
  align-items: center !important;
}
body.blog #header [data-id="logo"] {
  --logo-max-height: 30px !important;
}
body.blog #header .site-logo-container {
  display: flex !important;
  height: auto !important;
  align-items: center !important;
}
body.blog #header .site-logo-container img {
  display: block !important;
  width: auto !important;
  max-width: 190px !important;
  max-height: 30px !important;
}
body.blog #header .ct-menu-link {
  position: relative !important;
  height: 96px !important;
  color: var(--flowcat-ink) !important;
  background: transparent !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 1.8px !important;
  transition: color 180ms ease, transform 180ms ease !important;
}
body.blog #header .ct-menu-link::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  bottom: 22px !important;
  left: 0 !important;
  height: 1.5px !important;
  background: var(--flowcat-accent) !important;
  transform: scaleX(0) !important;
  transform-origin: center !important;
  transition: transform 180ms ease !important;
}
body.blog #header .ct-menu-link:hover,
body.blog #header .ct-menu-link:focus-visible {
  color: var(--flowcat-brown) !important;
  transform: translateY(-1px) !important;
}
body.blog #header .ct-menu-link:hover::after,
body.blog #header .ct-menu-link:focus-visible::after,
body.blog #header .current-menu-item > .ct-menu-link::after {
  transform: scaleX(1) !important;
}
body.blog #header .ct-header-search {
  display: none !important;
}
body.blog #header .ct-header-account {
  display: inline-flex !important;
  margin-right: 16px !important;
  align-items: center !important;
}
body.blog #header .ct-account-item .ct-media-container,
body.blog #header .ct-account-item .ct-icon {
  display: none !important;
}
body.blog #header .ct-account-item::before {
  content: "" !important;
  display: block !important;
  width: 19px !important;
  height: 19px !important;
  background-color: var(--flowcat-ink) !important;
  -webkit-mask: url("../images/account.svg") center / contain no-repeat !important;
  mask: url("../images/account.svg") center / contain no-repeat !important;
}
body.blog #header .ct-header-cart,
body.blog #header .ct-account-item {
  color: var(--flowcat-ink) !important;
}
body.blog #header .ct-dynamic-count-cart {
  color: #FFFFFF !important;
  background: var(--flowcat-brown) !important;
  border-radius: 999px !important;
}

/* Header popovers */
body.blog #header .ct-header-account-dropdown,
body.blog #header .ct-cart-content {
  --dropdown-background-color: var(--flowcat-ivory);
  --mini-cart-background-color: var(--flowcat-ivory);
  --dropdown-items-background-hover-color: var(--flowcat-band);
  --theme-text-color: var(--flowcat-ink);
  --theme-link-initial-color: var(--flowcat-ink);
  --theme-link-hover-color: var(--flowcat-brown);
  color: var(--flowcat-ink) !important;
  background: var(--flowcat-ivory) !important;
  border: 1px solid var(--flowcat-line) !important;
  border-radius: 4px !important;
  box-shadow: 0 18px 44px rgba(43, 38, 32, 0.16) !important;
}
body.blog #header .ct-header-account-dropdown {
  --dropdown-width: 320px;
  overflow: hidden !important;
}
body.blog #header .ct-account-welcome,
body.blog #header .ct-cart-content .cart-empty {
  color: var(--flowcat-ink) !important;
  background: var(--flowcat-band) !important;
  border-color: var(--flowcat-line) !important;
}
body.blog #header .ct-header-account-dropdown a,
body.blog #header .ct-account-user-box,
body.blog #header .ct-account-user-box span,
body.blog #header .ct-cart-content,
body.blog #header .ct-cart-content a:not(.button) {
  color: var(--flowcat-ink) !important;
}
body.blog #header .ct-cart-content {
  width: 320px !important;
  padding: 22px !important;
}
body.blog #header .ct-cart-content .button {
  color: #FFFFFF !important;
  background: var(--flowcat-brown) !important;
  border-radius: 999px !important;
}

/* Archive title */
body.blog .hero-section {
  display: flex !important;
  min-height: 280px !important;
  height: 280px !important;
  padding: 0 24px !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--flowcat-band) !important;
  border-bottom: 1px solid var(--flowcat-line) !important;
}
body.blog .hero-section .entry-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body.blog .hero-section .page-title {
  margin: 0 !important;
  color: var(--flowcat-ink) !important;
  font-family: "League Spartan", sans-serif !important;
  font-size: 56px !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
}
body.blog .hero-section .page-title::before {
  content: "Flowcat Journal";
  display: block;
  margin-bottom: 16px;
  color: var(--flowcat-accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

/* Journal surface */
body.blog #main > .ct-container {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  padding-top: 64px !important;
  padding-bottom: 80px !important;
}
body.blog #main > .ct-container > section {
  width: 100% !important;
  min-width: 0 !important;
}
body.blog .entries {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 28px !important;
}
body.blog article.entry-card {
  display: grid !important;
  grid-template-columns: minmax(320px, 46%) minmax(0, 1fr) !important;
  gap: 48px !important;
  height: 480px !important;
  min-height: 480px !important;
  padding: 28px !important;
  overflow: hidden !important;
  color: var(--flowcat-ink) !important;
  background: var(--flowcat-paper) !important;
  border: 1px solid var(--flowcat-line) !important;
  border-radius: 6px !important;
  box-shadow: 0 18px 46px rgba(43, 38, 32, 0.08) !important;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease !important;
}
body.blog article.entry-card:hover {
  border-color: #D4BEAA !important;
  box-shadow: 0 22px 52px rgba(43, 38, 32, 0.12) !important;
  transform: translateY(-2px) !important;
}
body.blog article.entry-card > .ct-media-container {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: var(--flowcat-ivory) !important;
  border-radius: 4px !important;
}
body.blog article.entry-card > .ct-media-container img {
  width: 100% !important;
  height: 100% !important;
  padding: 22px !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  transition: transform 260ms ease !important;
}
body.blog article.entry-card:hover > .ct-media-container img,
body.blog article.entry-card > .ct-media-container:focus-visible img {
  transform: scale(1.025) !important;
}
body.blog article.entry-card .card-content {
  display: flex !important;
  min-width: 0 !important;
  padding: 48px 28px 48px 0 !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
}
body.blog article.entry-card .entry-meta {
  margin: 0 0 16px !important;
  color: var(--flowcat-accent) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
}
body.blog article.entry-card .entry-meta a {
  color: var(--flowcat-accent) !important;
}
body.blog article.entry-card .entry-title {
  margin: 0 0 18px !important;
  color: var(--flowcat-ink) !important;
  font-family: "League Spartan", sans-serif !important;
  font-size: 38px !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}
body.blog article.entry-card .entry-title a {
  color: var(--flowcat-ink) !important;
  transition: color 180ms ease !important;
}
body.blog article.entry-card .entry-title a:hover,
body.blog article.entry-card .entry-title a:focus-visible {
  color: var(--flowcat-brown) !important;
}
body.blog article.entry-card .entry-excerpt {
  max-width: 560px !important;
  margin: 0 !important;
  color: var(--flowcat-muted) !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
}
body.blog article.entry-card .entry-excerpt p {
  margin: 0 !important;
}
body.blog .ct-pagination {
  margin-top: 36px !important;
}
body.blog .ct-pagination a,
body.blog .ct-pagination .current {
  color: var(--flowcat-brown) !important;
  background: var(--flowcat-paper) !important;
  border: 1px solid var(--flowcat-line) !important;
  border-radius: 4px !important;
}
body.blog .ct-pagination a:hover,
body.blog .ct-pagination a:focus-visible,
body.blog .ct-pagination .current {
  color: #FFFFFF !important;
  background: var(--flowcat-brown) !important;
  border-color: var(--flowcat-brown) !important;
}

/* Footer */
html body.blog footer.ct-footer,
html body.blog footer.ct-footer [data-row] {
  color: var(--flowcat-ink) !important;
  background: #EFE5D9 !important;
}
html body.blog footer.ct-footer {
  box-shadow: 0 -6px 18px rgba(43, 38, 32, 0.06) !important;
}
html body.blog footer.ct-footer a {
  color: var(--flowcat-ink) !important;
}
html body.blog footer.ct-footer a:hover,
html body.blog footer.ct-footer a:focus-visible {
  color: var(--flowcat-brown) !important;
}
html body.blog footer.ct-footer .ct-footer-copyright {
  color: #74665D !important;
}
html body.blog footer.ct-footer .ct-icon-container {
  color: var(--flowcat-brown) !important;
  background: #FFFFFF !important;
  border: 1px solid #D8C7B6 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
html body.blog footer.ct-footer .ct-icon,
html body.blog footer.ct-footer svg {
  fill: var(--flowcat-brown) !important;
}
html body.blog footer.ct-footer [data-row="middle"] {
  display: none !important;
}
html body.blog footer.ct-footer [data-row="top"],
html body.blog footer.ct-footer [data-row="bottom"] {
  border-top: 1px solid #D8C7B6 !important;
}
html body.blog footer.ct-footer [data-row="top"] .ct-container {
  padding-top: 40px !important;
  padding-bottom: 28px !important;
}
html body.blog footer.ct-footer [data-row="bottom"] .ct-container {
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}

@media (max-width: 1023px) {
  body.blog #header [data-device="mobile"] [data-row="middle"] {
    --height: 72px;
    height: 72px !important;
    background: var(--flowcat-band) !important;
  }
  body.blog #header [data-device="mobile"] [data-row="middle"] > .ct-container,
  body.blog #header [data-device="mobile"] .site-branding {
    height: 72px !important;
    align-items: center !important;
  }
  body.blog #header [data-device="mobile"] [data-row="middle"] > .ct-container {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
  body.blog #header [data-device="mobile"] [data-id="logo"] {
    --logo-max-height: 28px !important;
  }
  body.blog #header [data-device="mobile"] .site-logo-container img {
    width: auto !important;
    max-width: 178px !important;
    max-height: 28px !important;
  }
  body.blog #header .ct-header-trigger {
    color: var(--flowcat-brown) !important;
  }
  body.blog #offcanvas.ct-panel {
    background: rgba(43, 38, 32, 0.48) !important;
  }
  body.blog #offcanvas .ct-panel-inner {
    --side-panel-width: min(calc(100vw - 24px), 420px);
    width: min(calc(100vw - 24px), 420px) !important;
    max-width: 420px !important;
    color: var(--flowcat-ink) !important;
    background: var(--flowcat-ivory) !important;
    border-left: 1px solid var(--flowcat-line) !important;
    box-shadow: -18px 0 48px rgba(43, 38, 32, 0.18) !important;
  }
  body.blog #offcanvas .ct-panel-actions {
    top: 20px !important;
    right: 20px !important;
  }
  body.blog #offcanvas .ct-toggle-close {
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 11px !important;
    color: var(--flowcat-brown) !important;
    background: #FFFDF9 !important;
    border: 1px solid #DCCCBD !important;
    border-radius: 50% !important;
    box-shadow: 0 6px 18px rgba(43, 38, 32, 0.08) !important;
  }
  body.blog #offcanvas .ct-toggle-close .ct-icon {
    display: block !important;
    width: 14px !important;
    height: 14px !important;
    color: inherit !important;
    fill: currentColor !important;
    opacity: 1 !important;
  }
  body.blog #offcanvas .ct-toggle-close:hover {
    color: #FFFFFF !important;
    background: var(--flowcat-brown) !important;
    border-color: var(--flowcat-brown) !important;
  }
  body.blog #offcanvas .ct-panel-content-inner {
    width: 100% !important;
    min-height: 100% !important;
    padding: 42px 28px 28px !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    color: var(--flowcat-ink) !important;
  }
  body.blog #offcanvas [data-id="offcanvas-logo"] {
    width: 164px !important;
    max-width: calc(100% - 52px) !important;
    margin: 0 0 32px !important;
  }
  body.blog #offcanvas [data-id="offcanvas-logo"] img {
    content: url("https://flowcat.store/wp-content/uploads/2026/08/flowcat-logo-transparent.png") !important;
    width: 164px !important;
    height: auto !important;
  }
  body.blog #offcanvas .mobile-menu,
  body.blog #offcanvas .mobile-menu > ul {
    width: 100% !important;
    margin: 0 !important;
  }
  body.blog #offcanvas .mobile-menu .menu-item {
    width: 100% !important;
    border-bottom: 1px solid var(--flowcat-line) !important;
  }
  body.blog #offcanvas .mobile-menu .menu-item:first-child {
    border-top: 1px solid var(--flowcat-line) !important;
  }
  body.blog #offcanvas .mobile-menu .ct-menu-link {
    width: 100% !important;
    min-height: 56px !important;
    padding: 0 4px !important;
    justify-content: flex-start !important;
    color: var(--flowcat-ink) !important;
    font-family: "League Spartan", sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }
  body.blog #offcanvas .mobile-menu .current-menu-item > .ct-menu-link,
  body.blog #offcanvas .mobile-menu .ct-menu-link:hover {
    padding-left: 16px !important;
    color: var(--flowcat-brown) !important;
    background: var(--flowcat-band) !important;
    box-shadow: inset 3px 0 0 var(--flowcat-accent) !important;
  }
  body.blog #offcanvas .ct-header-text {
    width: 100% !important;
    margin-top: auto !important;
    padding: 24px 4px 0 !important;
    color: var(--flowcat-muted) !important;
    border-top: 1px solid var(--flowcat-line) !important;
    text-align: left !important;
  }
  body.blog #offcanvas .ct-header-text h5 {
    margin: 0 0 10px !important;
    color: var(--flowcat-accent) !important;
    font-family: "League Spartan", sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
  }
  body.blog #offcanvas .ct-header-text p {
    margin: 0 !important;
    color: var(--flowcat-muted) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }
}

@media (max-width: 767px) {
  body.blog .hero-section {
    min-height: 220px !important;
    height: 220px !important;
    padding: 0 20px !important;
  }
  body.blog .hero-section .page-title {
    font-size: 42px !important;
  }
  body.blog .hero-section .page-title::before {
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: 1.8px;
  }
  body.blog #main > .ct-container {
    width: auto !important;
    margin: 0 20px !important;
    padding-top: 38px !important;
    padding-bottom: 56px !important;
  }
  body.blog article.entry-card {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 16px !important;
  }
  body.blog article.entry-card > .ct-media-container {
    height: 300px !important;
    min-height: 300px !important;
  }
  body.blog article.entry-card > .ct-media-container img {
    padding: 16px !important;
  }
  body.blog article.entry-card .card-content {
    padding: 28px 8px 18px !important;
  }
  body.blog article.entry-card .entry-meta {
    margin-bottom: 12px !important;
    font-size: 11px !important;
  }
  body.blog article.entry-card .entry-title {
    margin-bottom: 14px !important;
    font-size: 30px !important;
  }
  body.blog article.entry-card .entry-excerpt {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
  html body.blog footer.ct-footer [data-row="top"] .ct-container {
    padding-top: 28px !important;
    padding-bottom: 20px !important;
  }
}

@media (max-width: 479px) {
  body.blog #offcanvas .ct-panel-content-inner {
    padding: 36px 24px 24px !important;
  }
  body.blog #offcanvas [data-id="offcanvas-logo"],
  body.blog #offcanvas [data-id="offcanvas-logo"] img {
    width: 148px !important;
  }
  body.blog article.entry-card > .ct-media-container {
    height: 260px !important;
    min-height: 260px !important;
  }
}

