/* Layout helpers to match the provided Tailwind structure.
   These are purely structural (no fonts/colors enforced). */

.cobb-section {
  position: relative;
}

/* Tailwind-ish paddings: px-6 md:px-24 */
.cobb-pad-x {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 768px) {
  .cobb-pad-x {
    padding-left: 6rem;
    padding-right: 6rem;
  }
}

/* Astra + alignfull can offset full-width wrappers.
   For "standard" COBB sections (image+text), move side padding onto the centered inner container
   so the section visually stays perfectly centered. Full-bleed sections use `.cobb-split` and are unaffected. */
.cobb-section.cobb-pad-x:not(.cobb-split) {
  padding-left: 0;
  padding-right: 0;
}
.cobb-section.cobb-pad-x:not(.cobb-split) .cobb-inner,
.cobb-section.cobb-pad-x:not(.cobb-split) .cobb-inner-narrow {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 768px) {
  .cobb-section.cobb-pad-x:not(.cobb-split) .cobb-inner,
  .cobb-section.cobb-pad-x:not(.cobb-split) .cobb-inner-narrow {
    padding-left: 6rem;
    padding-right: 6rem;
  }
}

/* =========================================================
   Site-wide max width cap for very large (2K+) screens
   - Upper bound only (won't widen existing layouts)
   - Does not affect `alignfull` blocks (they intentionally break out)
   ========================================================= */
:root {
  --cobb-site-max-cap: 1600px;
}

@media (min-width: 1600px) {
  /* Astra uses --ast-normal-container-width for its container max width. */
  .site-content > .ast-container,
  .ast-container {
    max-width: min(
      var(--ast-normal-container-width, 1200px),
      var(--cobb-site-max-cap, 1600px)
    );
  }
}

/* Cap specific full-bleed split sections on 2K+ screens (opt-in via class). */
@media (min-width: 1600px) {
  .cobb-cap-2k .wp-block-columns.alignfull {
    max-width: var(--cobb-site-max-cap, 1600px);
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================================
   UGC carousel (swipe/scroll on desktop + mobile)
   ========================================================= */
.cobb-ugc {
  width: 100%;
}
.cobb-ugc__wrap {
  position: relative;
}
.cobb-ugc__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(
    (100% - (var(--cobb-ugc-gap, 16px) * (var(--cobb-ugc-cols, 4) - 1))) /
      var(--cobb-ugc-cols, 4)
  );
  gap: var(--cobb-ugc-gap, 16px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
  /* Edge inset for snap targets (avoid 50% — unusable on mobile). */
  scroll-padding-left: max(1rem, env(safe-area-inset-left, 0px));
  scroll-padding-right: max(1rem, env(safe-area-inset-right, 0px));
}
.cobb-ugc__track::before,
.cobb-ugc__track::after {
  content: "";
  width: var(--cobb-ugc-edge-pad, 0px);
}
.cobb-ugc__track::-webkit-scrollbar {
  display: none;
}
.cobb-ugc__item {
  scroll-snap-align: center;
  scroll-snap-stop: always;
  border-radius: var(--cobb-card-radius, 16px);
  overflow: hidden;
  background: #0b1220;
  position: relative;
  transform: scale(0.94);
  transition: transform 280ms ease;
  will-change: transform;
}
.cobb-ugc__item.is-active {
  transform: scale(var(--cobb-ugc-active-scale, 1.12));
}
.cobb-ugc__loader {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(1px);
}
.cobb-ugc__item.is-loading .cobb-ugc__loader {
  display: flex;
}
.cobb-ugc__loader::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: rgba(255, 255, 255, 0.9);
  animation: cobbSpin 900ms linear infinite;
}
@keyframes cobbSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cobb-ugc__loader::before {
    animation: none;
  }
}
.cobb-ugc__video,
.cobb-ugc__placeholder {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: var(--cobb-ugc-aspect, 9/16);
  object-fit: cover;
  background: linear-gradient(135deg, #111827, #0f172a);
}
.cobb-ugc__embed {
  width: 100%;
  aspect-ratio: var(--cobb-ugc-aspect, 9/16);
  background-size: cover;
  background-position: center;
  background-color: #111827;
  position: relative;
}
.cobb-ugc__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.cobb-ugc__placeholder {
  background: linear-gradient(135deg, #111827, #0f172a);
}
.cobb-ugc__caption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  font-size: 0.75rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.cobb-ugc__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  color: #111827;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: pointer;
}
.cobb-ugc__nav--prev {
  left: -10px;
}
.cobb-ugc__nav--next {
  right: -10px;
}

@media (max-width: 767px) {
  .cobb-ugc__nav {
    display: none;
  }
}

@media (max-width: 767px) {
  .cobb-ugc__track {
    --cobb-ugc-gap: 12px;
    gap: var(--cobb-ugc-gap);
    box-sizing: border-box;
    padding-inline: max(0.75rem, env(safe-area-inset-left, 0px)) max(0.75rem, env(safe-area-inset-right, 0px));
    /* One “hero” slide with a sliver of the next; gap included in width math. */
    grid-auto-columns: calc(100% - 1.5rem - var(--cobb-ugc-gap));
    max-width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .cobb-ugc__track {
    grid-auto-columns: 46%;
  }
}

@media (max-width: 767px) {
  .cobb-ugc--disable-mobile {
    display: none !important;
  }
}

/* Tailwind-ish vertical padding: py-32 */
.cobb-pad-y-32 {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

/* Constrained inner wrapper similar to max-w-7xl + mx-auto */
.cobb-inner {
  max-width: 80rem; /* ~max-w-7xl */
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Tighter inner wrapper for centered headings */
.cobb-inner-narrow {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Mobile responsiveness for Gutenberg layout inside COBB sections.
   This ensures the same behavior as grid-cols-1 md:grid-cols-* / flex-col md:flex-row. */
@media (max-width: 767px) {
  .cobb-section .wp-block-columns {
    flex-wrap: wrap !important;
    gap: 1rem !important;
  }

  .cobb-section .wp-block-columns > .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
    min-width: 0;
  }

  /* Reduce very large vertical padding on phones (py-32 → ~py-20) */
  .cobb-pad-y-32 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

/* Small tablets: allow 2-up grids (like md breakpoints in your HTML feel). */
@media (min-width: 600px) and (max-width: 767px) {
  .cobb-section
    .wp-block-columns.is-style-two-columns-on-mobile
    > .wp-block-column,
  .cobb-section .wp-block-columns.cobb-2up-mobile > .wp-block-column {
    flex-basis: calc(50% - 0.5rem) !important;
    width: calc(50% - 0.5rem) !important;
  }
}

/* Full-bleed split sections should have no column gap/padding */
.cobb-split {
  padding: 0;
}
.cobb-split .wp-block-columns {
  gap: 0 !important;
  margin: 0;
}
.cobb-split .wp-block-column {
  padding: 0;
}

/* Split sections should stack on mobile like flex-col. */
@media (max-width: 767px) {
  .cobb-split .wp-block-columns {
    flex-wrap: wrap !important;
    gap: 0 !important;
  }
  .cobb-split .wp-block-columns > .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
  }
}

/* Make cover sections behave like h-screen where used */
.cobb-min-h-screen {
  min-height: 100vh;
}

/* Button animations (Tailwind-like hover). Scoped to COBB sections only. */
.cobb-section .wp-element-button,
.cobb-section .wp-block-button__link {
  transition:
    transform 300ms ease,
    background-color 300ms ease,
    color 300ms ease,
    border-color 300ms ease,
    opacity 300ms ease,
    box-shadow 300ms ease;
  transform: translateZ(0);
  will-change: transform;
}

.cobb-section .wp-element-button:hover,
.cobb-section .wp-block-button__link:hover {
  transform: scale(1.05);
}

.cobb-section .wp-element-button:active,
.cobb-section .wp-block-button__link:active {
  transform: scale(0.99);
}

.cobb-section .wp-element-button:focus-visible,
.cobb-section .wp-block-button__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .cobb-section .wp-element-button,
  .cobb-section .wp-block-button__link {
    transition: none !important;
  }
  .cobb-section .wp-element-button:hover,
  .cobb-section .wp-block-button__link:hover,
  .cobb-section .wp-element-button:active,
  .cobb-section .wp-block-button__link:active {
    transform: none !important;
  }
}

/* Make columns stretch so row layouts align card heights inside COBB sections. */
.cobb-section .wp-block-columns {
  align-items: stretch;
}
.cobb-section .wp-block-columns > .wp-block-column {
  display: flex;
  flex-direction: column;
}

/* Hero responsive typography + button sizing via CSS variables. */
.cobb-hero-media .cobb-hero__eyebrow {
  font-size: var(--cobb-hero-eyebrow-size-m, 12px);
}
.cobb-hero-media .cobb-hero__h1 {
  font-size: var(--cobb-hero-h1-size-m, 40px);
}
.cobb-hero-media .cobb-hero__button {
  font-size: var(--cobb-hero-btn-size-m, 12px);
  padding-top: var(--cobb-hero-btn-py-m, 14px) !important;
  padding-bottom: var(--cobb-hero-btn-py-m, 14px) !important;
  padding-left: var(--cobb-hero-btn-px-m, 36px) !important;
  padding-right: var(--cobb-hero-btn-px-m, 36px) !important;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cobb-hero-media .cobb-hero__eyebrow {
    font-size: var(--cobb-hero-eyebrow-size-t, 12px);
  }
  .cobb-hero-media .cobb-hero__h1 {
    font-size: var(--cobb-hero-h1-size-t, 64px);
  }
  .cobb-hero-media .cobb-hero__button {
    font-size: var(--cobb-hero-btn-size-t, 12px);
    padding-top: var(--cobb-hero-btn-py-t, 14px) !important;
    padding-bottom: var(--cobb-hero-btn-py-t, 14px) !important;
    padding-left: var(--cobb-hero-btn-px-t, 36px) !important;
    padding-right: var(--cobb-hero-btn-px-t, 36px) !important;
  }
}
@media (min-width: 1024px) {
  .cobb-hero-media .cobb-hero__eyebrow {
    font-size: var(--cobb-hero-eyebrow-size-d, 12px);
  }
  .cobb-hero-media .cobb-hero__h1 {
    font-size: var(--cobb-hero-h1-size-d, 76px);
  }
  .cobb-hero-media .cobb-hero__button {
    font-size: var(--cobb-hero-btn-size-d, 12px);
    padding-top: var(--cobb-hero-btn-py-d, 14px) !important;
    padding-bottom: var(--cobb-hero-btn-py-d, 14px) !important;
    padding-left: var(--cobb-hero-btn-px-d, 36px) !important;
    padding-right: var(--cobb-hero-btn-px-d, 36px) !important;
  }
}

/* Speed option: allow disabling hero video on small screens. */
@media (max-width: 767px) {
  .cobb-disable-video-mobile {
    display: none !important;
  }
}

/* =========================================================
   COBB Responsive Wrapper (Astra-like device switch UX)
   ========================================================= */
.cobb-rsp {
  /* Desktop defaults */
  padding-top: var(--cobb-rsp-pt-d, 0px);
  padding-right: var(--cobb-rsp-pr-d, 0px);
  padding-bottom: var(--cobb-rsp-pb-d, 0px);
  padding-left: var(--cobb-rsp-pl-d, 0px);
}

/* =========================================================
   COBB Recipe Archive (tabs + sort + grid + pagination)
   ========================================================= */

.cobb-recipe-archive {
  width: 100%;
  --cobb-blog-brand: var(--wp--preset--color--ast-global-color-0, #0f172a);
  --cobb-blog-card-radius: 5px;
  view-transition-name: cobb-recipe-archive;
}

.cobb-recipe-archive__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.cobb-recipe-archive__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cobb-recipe-archive__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #334155;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  transition:
    border-color 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.cobb-recipe-archive__tab:hover {
  border-color: rgba(0, 0, 0, 0.28);
  border-bottom-color: rgba(0, 0, 0, 0.28);
  text-decoration: none !important;
  box-shadow: none;
  transform: translateY(-1px);
}

.cobb-recipe-archive__tab:focus,
.cobb-recipe-archive__tab:focus-visible,
.cobb-recipe-archive__tab:active {
  text-decoration: none !important;
  box-shadow: none;
  outline: 2px solid rgba(15, 23, 42, 0.35);
  outline-offset: 2px;
}

.cobb-recipe-archive__tab.is-active {
  background: var(--cobb-blog-brand);
  color: #fff;
  border-color: var(--cobb-blog-brand);
  border-bottom-color: var(--cobb-blog-brand);
}

@media (prefers-reduced-motion: reduce) {
  .cobb-recipe-archive__tab {
    transition: none;
  }
  .cobb-recipe-archive__tab:hover {
    transform: none;
  }
}

.cobb-recipe-archive__sort {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cobb-recipe-archive__sort-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.cobb-recipe-archive__sort-select {
  /* Make native select + popup readable on mobile (esp. dark color-scheme). */
  color-scheme: light;
  -webkit-appearance: menulist;
  appearance: menulist;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: #0f172a;
  padding: 6px 10px;
  border-radius: 4px;
}

.cobb-recipe-archive__sort-select option {
  color: #0f172a;
  background: #fff;
}

/* Custom sort dropdown (mobile) */
.cobb-recipe-archive__sort-custom {
  position: relative;
  display: none;
}

.cobb-recipe-archive__sort-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 160px;
  max-width: 220px;
  width: auto;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  background: #fff !important;
  color: #0f172a !important;
  padding: 6px 10px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px !important;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none !important;
  text-decoration: none !important;
  outline: none;
}

.cobb-recipe-archive__sort-btn:hover,
.cobb-recipe-archive__sort-btn:focus,
.cobb-recipe-archive__sort-btn:focus-visible,
.cobb-recipe-archive__sort-btn:active {
  background: #fff !important;
  color: #0f172a !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.cobb-recipe-archive__sort-btn-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cobb-recipe-archive__sort-btn-caret {
  font-family: "Material Symbols Outlined";
  font-size: 18px;
  line-height: 1;
  opacity: 0.8;
}

.cobb-recipe-archive__sort-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 6px); /* always directly under the button */
  width: 100%;
  z-index: 9999;
  margin: 0;
  padding: 6px;
  padding-left: 0 !important; /* override theme `.entry-content ul` padding */
  margin-left: 0 !important;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 220ms cubic-bezier(0.22, 1, 0.36, 1), transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cobb-recipe-archive__sort-custom.is-open .cobb-recipe-archive__sort-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cobb-recipe-archive__sort-item {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #0f172a;
  padding: 10px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cobb-recipe-archive__sort-item:hover,
.cobb-recipe-archive__sort-item:focus,
.cobb-recipe-archive__sort-item:focus-visible {
  background: rgba(15, 23, 42, 0.06);
  outline: none;
}

.cobb-recipe-archive__sort-item.is-active {
  background: rgba(15, 23, 42, 0.09);
}

@media (max-width: 782px) {
  /* On mobile use custom dropdown so the menu appears under the button. */
  .cobb-recipe-archive__sort-select.js-cobb-sort-native {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  .cobb-recipe-archive__sort-custom {
    display: inline-block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cobb-recipe-archive__sort-menu {
    transition: none;
    transform: none;
  }
}

@keyframes cobb-recipe-archive-grid-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cobb-recipe-archive__grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* mobile: 2 */
  animation: cobb-recipe-archive-grid-in 0.48s cubic-bezier(0.22, 1, 0.36, 1)
    both;
}

/* Beat theme rules that set grid items to start alignment; rows share one height. */
.cobb-recipe-archive__grid > .cobb-recipe-card {
  align-self: stretch;
  min-height: 0;
}

@media (prefers-reduced-motion: reduce) {
  .cobb-recipe-archive__grid {
    animation: none;
  }
}

/* Smoother cross-document transitions when the browser supports View Transitions (category tab clicks). */
::view-transition-old(cobb-recipe-archive),
::view-transition-new(cobb-recipe-archive) {
  animation-duration: 0.4s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Tablet: 3 columns (Astra often uses ~921px content; 4 cols from 992px avoids a “stuck at 3” band). */
@media (min-width: 768px) and (max-width: 991px) {
  .cobb-recipe-archive__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* tablet: 3 */
  }
}

@media (min-width: 992px) {
  .cobb-recipe-archive__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* desktop: 4 */
  }
}

/* Recipe card — row height comes from the archive grid (tallest in row); this card uses a 2-row grid so the body fills the rest with no height: %. */
.cobb-recipe-card {
  box-sizing: border-box;
  border-radius: var(--cobb-blog-card-radius, 5px);
  border: 1px solid rgba(15, 23, 42, 0.12);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  min-height: 0;
  background-color: #fff;
  background-image: radial-gradient(
    130% 85% at 50% -25%,
    color-mix(in srgb, var(--cobb-blog-brand) 14%, transparent) 0%,
    transparent 55%
  );
  box-shadow:
    inset 0 0 36px color-mix(in srgb, var(--cobb-blog-brand) 6%, transparent),
    0 0 14px -6px color-mix(in srgb, var(--cobb-blog-brand) 11%, transparent);
  transition:
    box-shadow 220ms ease,
    transform 220ms ease;
}

.cobb-recipe-card:hover {
  box-shadow:
    inset 0 0 42px color-mix(in srgb, var(--cobb-blog-brand) 9%, transparent),
    0 0 18px -5px color-mix(in srgb, var(--cobb-blog-brand) 14%, transparent),
    0 10px 25px -5px rgba(30, 41, 59, 0.07);
  transform: translateY(-1px);
}

.cobb-recipe-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f5f9;
}

.cobb-recipe-card__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cobb-recipe-card__pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--cobb-blog-brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cobb-recipe-card__body {
  padding-block: 1.5rem;
  padding-inline: 2rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 16px;
}

.cobb-recipe-card__kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0;
}

.cobb-recipe-card__kicker-text {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cobb-blog-brand);
  letter-spacing: 0.04em;
}

.cobb-recipe-card__title {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.cobb-recipe-card__title a {
  color: #0f172a;
  text-decoration: none !important;
  border: 0;
  box-shadow: none;
}

.cobb-recipe-card__title a:hover,
.cobb-recipe-card__title a:focus,
.cobb-recipe-card__title a:focus-visible,
.cobb-recipe-card__title a:active {
  text-decoration: none !important;
  border: 0;
  box-shadow: none;
  color: var(--cobb-blog-brand);
}

/* Pin prep/cook/temp + CTA to the card bottom; extra space sits under the title. */
.cobb-recipe-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 0;
  margin-top: auto;
  margin-bottom: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  flex-shrink: 0;
}

.cobb-recipe-card__title + .cobb-recipe-card__actions {
  margin-top: auto;
}

.cobb-recipe-card__meta-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cobb-recipe-card__meta-col.is-mid {
  border-left: 1px solid rgba(15, 23, 42, 0.06);
  border-right: 1px solid rgba(15, 23, 42, 0.06);
  padding-left: 5px;
  padding-right: 5px;
}

.cobb-recipe-card__meta-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.55);
}

.cobb-recipe-card__meta-val {
  font-size: 13px;
  color: #0f172a;
  font-weight: 600;
}

.cobb-recipe-card__actions {
  margin-top: 0;
  flex-shrink: 0;
}

.cobb-recipe-card__cta {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border-radius: var(--cobb-blog-card-radius, 5px);
  border: 1px solid var(--cobb-blog-brand);
  padding: 9px 12px;
  text-decoration: none !important;
  border-bottom: 1px solid var(--cobb-blog-brand);
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  font-size: 11px;
  color: var(--cobb-blog-brand);
  background-color: #f8fafc;
  background-color: color-mix(in srgb, var(--cobb-blog-brand) 8%, #fff);
  transition:
    background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.cobb-recipe-card__cta::after {
  content: "arrow_forward";
  font-family: "Material Symbols Outlined";
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  margin-left: auto;
  color: var(--cobb-blog-brand);
}

.cobb-recipe-card__cta:hover,
.cobb-recipe-card__cta:focus,
.cobb-recipe-card__cta:focus-visible,
.cobb-recipe-card__cta:active {
  background: var(--cobb-blog-brand);
  color: #fff;
  border-color: var(--cobb-blog-brand);
  border-bottom-color: var(--cobb-blog-brand);
  text-decoration: none !important;
  box-shadow: none;
}

.cobb-recipe-card__cta:hover::after,
.cobb-recipe-card__cta:focus::after,
.cobb-recipe-card__cta:focus-visible::after,
.cobb-recipe-card__cta:active::after {
  color: #fff;
}

/* Pagination */
.cobb-recipe-archive__pagination {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.cobb-recipe-archive__page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--cobb-blog-card-radius, 5px);
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  text-decoration: none;
  color: #0f172a;
}

.cobb-recipe-archive__page-btn span {
  font-family: "Material Symbols Outlined";
  font-size: 18px;
  line-height: 1;
}

.cobb-recipe-archive__page-btn:hover {
  background: rgba(15, 23, 42, 0.04);
  text-decoration: none;
}

.cobb-recipe-archive__page-btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.cobb-recipe-archive__page-numbers {
  display: inline-flex;
  gap: 8px;
}

.cobb-recipe-archive__page-num {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--cobb-blog-card-radius, 5px);
  border: 1px solid rgba(0, 0, 0, 0.12);
  text-decoration: none;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.cobb-recipe-archive__page-num:hover {
  background: rgba(15, 23, 42, 0.04);
  text-decoration: none;
}

.cobb-recipe-archive__page-num.is-active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

@media (max-width: 420px) {
  .cobb-recipe-archive__grid {
    grid-template-columns: 1fr; /* super small phones: 1 */
  }
}

/* =========================================================
   Astra blog / archive / search grid — post cards
   Cobb recipe-style cards + theme brand (ast-global-color-0).
   Applies to blog posts (.type-post) and recipe CPT archive (.type-cobb_recipe).
   ========================================================= */

/* One radius token for cards, read-more, and Astra pagination (override on body in child theme). */
body.blog,
body.archive,
body.search {
  --cobb-blog-card-radius: 5px;
}

/* Astra numbered pagination — match blog card radius (theme default is ~2px on .current). */
body.blog #primary .ast-pagination .page-numbers:not(.dots),
body.archive #primary .ast-pagination .page-numbers:not(.dots),
body.search #primary .ast-pagination .page-numbers:not(.dots) {
  border-radius: var(--cobb-blog-card-radius, 5px);
}

.blog .ast-article-post.type-post, .blog .ast-article-post.type-cobb_recipe,
.archive .ast-article-post.type-post, .archive .ast-article-post.type-cobb_recipe,
.search .ast-article-post.type-post, .search .ast-article-post.type-cobb_recipe {
  --cobb-blog-brand: var(--wp--preset--color--ast-global-color-0, #0f172a);
  /* Faint outer brand halo (on article so it is not clipped by inner overflow). */
  box-shadow: 0 0 14px -6px color-mix(in srgb, var(--cobb-blog-brand) 11%, transparent);
  transition:
    box-shadow 220ms ease,
    transform 220ms ease;
}

/* Astra puts .ast-grid-common-col on the article AND .post-content — zero theme padding on the article (no horizontal margin here: margin + 33.33% width breaks 3-column flex rows). Gutter between cards = column-gap on .ast-row + width calc below. */
.blog .ast-article-post.type-post.ast-grid-common-col,
.blog .ast-article-post.type-cobb_recipe.ast-grid-common-col,
.archive .ast-article-post.type-post.ast-grid-common-col,
.archive .ast-article-post.type-cobb_recipe.ast-grid-common-col,
.search .ast-article-post.type-post.ast-grid-common-col,
.search .ast-article-post.type-cobb_recipe.ast-grid-common-col {
  box-sizing: border-box;
  padding-inline-start: 0 !important;
  padding-inline-end: 0 !important;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

.blog .ast-article-post.type-post .post-content.ast-grid-common-col,
.blog .ast-article-post.type-cobb_recipe .post-content.ast-grid-common-col,
.archive .ast-article-post.type-post .post-content.ast-grid-common-col,
.archive .ast-article-post.type-cobb_recipe .post-content.ast-grid-common-col,
.search .ast-article-post.type-post .post-content.ast-grid-common-col,
.search .ast-article-post.type-cobb_recipe .post-content.ast-grid-common-col {
  padding-inline-start: 0 !important;
  padding-inline-end: 0 !important;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

/* 4-up grid (large screens). 3 gaps × 16px = 48px. */
@media (min-width: 1024px) {
  .ast-blog-layout-4-grid .ast-row,
  .ast-blog-layout-6-grid .ast-row {
    column-gap: 16px;
  }

  .ast-blog-layout-4-grid .ast-row > .ast-article-post.type-post,
  .ast-blog-layout-4-grid .ast-row > .ast-article-post.type-cobb_recipe,
  .ast-blog-layout-6-grid .ast-row > .ast-article-post.type-post,
  .ast-blog-layout-6-grid .ast-row > .ast-article-post.type-cobb_recipe {
    width: calc((100% - 48px) / 4) !important;
    max-width: calc((100% - 48px) / 4);
    flex: 0 0 calc((100% - 48px) / 4) !important;
    box-sizing: border-box;
  }
}

/* Tablet: 3 columns. 2 gaps × 16px = 32px. */
@media (min-width: 768px) and (max-width: 1023px) {
  .ast-blog-layout-4-grid .ast-row,
  .ast-blog-layout-6-grid .ast-row {
    column-gap: 16px;
  }

  .ast-blog-layout-4-grid .ast-row > .ast-article-post.type-post,
  .ast-blog-layout-4-grid .ast-row > .ast-article-post.type-cobb_recipe,
  .ast-blog-layout-6-grid .ast-row > .ast-article-post.type-post,
  .ast-blog-layout-6-grid .ast-row > .ast-article-post.type-cobb_recipe {
    width: calc((100% - 32px) / 3) !important;
    max-width: calc((100% - 32px) / 3);
    flex: 0 0 calc((100% - 32px) / 3) !important;
    box-sizing: border-box;
  }
}

/* Astra layout 4/6: flex row already equalizes article height; grid (not height: %) passes it to the card shell. */
.ast-blog-layout-4-grid .ast-row > .ast-article-post.type-post,
.ast-blog-layout-4-grid .ast-row > .ast-article-post.type-cobb_recipe,
.ast-blog-layout-6-grid .ast-row > .ast-article-post.type-post,
.ast-blog-layout-6-grid .ast-row > .ast-article-post.type-cobb_recipe {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-self: stretch;
  min-height: 0;
}

.ast-blog-layout-4-grid .ast-article-post.type-post .ast-article-inner,
.ast-blog-layout-4-grid .ast-article-post.type-cobb_recipe .ast-article-inner,
.ast-blog-layout-6-grid .ast-article-post.type-post .ast-article-inner,
.ast-blog-layout-6-grid .ast-article-post.type-cobb_recipe .ast-article-inner {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
  padding-block: 1.5rem;
  padding-inline: 2rem;
  border-radius: var(--cobb-blog-card-radius, 5px);
  border: 1px solid rgba(15, 23, 42, 0.12);
  overflow: hidden;
  width: 100%;
  background-color: #fff;
  background-image: radial-gradient(
    130% 85% at 50% -25%,
    color-mix(in srgb, var(--cobb-blog-brand) 14%, transparent) 0%,
    transparent 55%
  );
  /* Inset-only so glow is not clipped by overflow:hidden on this layer. */
  box-shadow: inset 0 0 36px color-mix(in srgb, var(--cobb-blog-brand) 6%, transparent);
  transition: box-shadow 220ms ease;
}

.ast-blog-layout-5-grid .ast-article-post.type-post .ast-article-inner,
.ast-blog-layout-5-grid .ast-article-post.type-cobb_recipe .ast-article-inner {
  box-sizing: border-box;
  padding-block: 1.5rem;
  padding-inline: 2rem;
  border-radius: var(--cobb-blog-card-radius, 5px);
  border: 1px solid rgba(15, 23, 42, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  width: 100%;
  background-color: #fff;
  background-image: radial-gradient(
    130% 85% at 50% -25%,
    color-mix(in srgb, var(--cobb-blog-brand) 14%, transparent) 0%,
    transparent 55%
  );
  box-shadow: inset 0 0 36px color-mix(in srgb, var(--cobb-blog-brand) 6%, transparent);
  transition: box-shadow 220ms ease;
}

/* Lift shadow lives on the article so it is not clipped by .ast-article-inner overflow. */
.blog .ast-article-post.type-post:hover,
.blog .ast-article-post.type-cobb_recipe:hover,
.archive .ast-article-post.type-post:hover,
.archive .ast-article-post.type-cobb_recipe:hover,
.search .ast-article-post.type-post:hover,
.search .ast-article-post.type-cobb_recipe:hover {
  box-shadow:
    0 0 18px -5px color-mix(in srgb, var(--cobb-blog-brand) 14%, transparent),
    0 10px 25px -5px rgba(30, 41, 59, 0.07);
  transform: translateY(-1px);
}

.blog .ast-article-post.type-post:hover .ast-article-inner,
.blog .ast-article-post.type-cobb_recipe:hover .ast-article-inner,
.archive .ast-article-post.type-post:hover .ast-article-inner,
.archive .ast-article-post.type-cobb_recipe:hover .ast-article-inner,
.search .ast-article-post.type-post:hover .ast-article-inner,
.search .ast-article-post.type-cobb_recipe:hover .ast-article-inner {
  box-shadow: inset 0 0 42px color-mix(in srgb, var(--cobb-blog-brand) 9%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  .blog .ast-article-post.type-post, .blog .ast-article-post.type-cobb_recipe,
  .archive .ast-article-post.type-post, .archive .ast-article-post.type-cobb_recipe,
  .search .ast-article-post.type-post, .search .ast-article-post.type-cobb_recipe {
    transition: none;
    transform: none;
  }

  .blog .ast-article-post.type-post:hover,
  .blog .ast-article-post.type-cobb_recipe:hover,
  .archive .ast-article-post.type-post:hover,
  .archive .ast-article-post.type-cobb_recipe:hover,
  .search .ast-article-post.type-post:hover,
  .search .ast-article-post.type-cobb_recipe:hover {
    transform: none;
  }

  .blog .ast-article-post.type-post, .blog .ast-article-post.type-cobb_recipe .ast-article-inner,
  .archive .ast-article-post.type-post, .archive .ast-article-post.type-cobb_recipe .ast-article-inner,
  .search .ast-article-post.type-post, .search .ast-article-post.type-cobb_recipe .ast-article-inner {
    transition: none;
  }
}

.ast-blog-layout-4-grid .ast-article-post.type-post .post-content,
.ast-blog-layout-4-grid .ast-article-post.type-cobb_recipe .post-content,
.ast-blog-layout-6-grid .ast-article-post.type-post .post-content,
.ast-blog-layout-6-grid .ast-article-post.type-cobb_recipe .post-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  gap: 16px;
}

.ast-blog-layout-4-grid .ast-article-post.type-post .post-content .ast-read-more-container,
.ast-blog-layout-4-grid .ast-article-post.type-cobb_recipe .post-content .ast-read-more-container,
.ast-blog-layout-4-grid .ast-article-post.type-post .post-content p.read-more,
.ast-blog-layout-4-grid .ast-article-post.type-cobb_recipe .post-content p.read-more,
.ast-blog-layout-6-grid .ast-article-post.type-post .post-content .ast-read-more-container,
.ast-blog-layout-6-grid .ast-article-post.type-cobb_recipe .post-content .ast-read-more-container,
.ast-blog-layout-6-grid .ast-article-post.type-post .post-content p.read-more,
.ast-blog-layout-6-grid .ast-article-post.type-cobb_recipe .post-content p.read-more {
  margin-top: auto;
}

.ast-blog-layout-5-grid .ast-article-post.type-post .post-content,
.ast-blog-layout-5-grid .ast-article-post.type-cobb_recipe .post-content {
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 16px;
}

/* Featured image: full bleed to .ast-article-inner edges (matches inner padding-inline 2rem, block-start 1.5rem). */
.ast-blog-layout-4-grid .ast-article-post.type-post .post-content > .ast-blog-featured-section:first-child,
.ast-blog-layout-4-grid .ast-article-post.type-cobb_recipe .post-content > .ast-blog-featured-section:first-child,
.ast-blog-layout-6-grid .ast-article-post.type-post .post-content > .ast-blog-featured-section:first-child,
.ast-blog-layout-6-grid .ast-article-post.type-cobb_recipe .post-content > .ast-blog-featured-section:first-child {
  margin: -1.5rem -2rem 0;
  width: calc(100% + 4rem);
  max-width: none;
  border-top-left-radius: var(--cobb-blog-card-radius, 5px);
  border-top-right-radius: var(--cobb-blog-card-radius, 5px);
  overflow: hidden;
}

.ast-blog-layout-5-grid .ast-article-post.type-post .post-thumb.ast-blog-featured-section:first-child,
.ast-blog-layout-5-grid .ast-article-post.type-cobb_recipe .post-thumb.ast-blog-featured-section:first-child {
  margin: 0;
  width: auto;
  max-width: none;
}

.ast-article-post.type-post .ast-blog-featured-section.post-thumb, .ast-article-post.type-cobb_recipe .ast-blog-featured-section.post-thumb,
.ast-article-post.type-post .post-thumb-img-content , .ast-article-post.type-cobb_recipe .post-thumb-img-content {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f5f9;
}

.ast-blog-layout-5-grid .ast-article-post.type-post .ast-blog-featured-section.post-thumb,
.ast-blog-layout-5-grid .ast-article-post.type-cobb_recipe .ast-blog-featured-section.post-thumb {
  flex: 0 0 46%;
  max-width: 50%;
  aspect-ratio: auto;
  min-height: 180px;
}

.ast-article-post.type-post .post-thumb-img-content a , .ast-article-post.type-cobb_recipe .post-thumb-img-content a {
  display: block;
  height: 100%;
}

.ast-article-post.type-post .post-thumb-img-content img , .ast-article-post.type-cobb_recipe .post-thumb-img-content img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ast-article-post.type-post .post-content .entry-content , .ast-article-post.type-cobb_recipe .post-content .entry-content {
  padding: 0 !important;
  margin: 0 !important;
  border: 0;
}

.ast-article-post.type-post h2.entry-title , .ast-article-post.type-cobb_recipe h2.entry-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.ast-article-post.type-post h2.entry-title a , .ast-article-post.type-cobb_recipe h2.entry-title a {
  color: #0f172a;
  text-decoration: none !important;
  border: 0;
  box-shadow: none;
}

.ast-article-post.type-post h2.entry-title a:hover, .ast-article-post.type-cobb_recipe h2.entry-title a:hover,
.ast-article-post.type-post h2.entry-title a:focus, .ast-article-post.type-cobb_recipe h2.entry-title a:focus,
.ast-article-post.type-post h2.entry-title a:focus-visible , .ast-article-post.type-cobb_recipe h2.entry-title a:focus-visible {
  text-decoration: none !important;
  color: var(--cobb-blog-brand);
}

.ast-article-post.type-post .entry-header.ast-blog-meta-container , .ast-article-post.type-cobb_recipe .entry-header.ast-blog-meta-container {
  margin: 0;
}

.ast-article-post.type-post .entry-meta , .ast-article-post.type-cobb_recipe .entry-meta {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(15, 23, 42, 0.55);
}

.ast-article-post.type-post .entry-meta a , .ast-article-post.type-cobb_recipe .entry-meta a {
  color: inherit;
  text-decoration: none;
}

.ast-article-post.type-post .entry-meta a:hover , .ast-article-post.type-cobb_recipe .entry-meta a:hover {
  color: var(--cobb-blog-brand);
}

.ast-article-post.type-post .ast-excerpt-container , .ast-article-post.type-cobb_recipe .ast-excerpt-container {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(15, 23, 42, 0.72);
}

.ast-article-post.type-post .ast-excerpt-container p , .ast-article-post.type-cobb_recipe .ast-excerpt-container p {
  margin: 0;
}

/* Category / tag row — theme brand */
.ast-article-post.type-post .ast-taxonomy-container.cat-links, .ast-article-post.type-cobb_recipe .ast-taxonomy-container.cat-links,
.ast-article-post.type-post .ast-taxonomy-container.tags-links , .ast-article-post.type-cobb_recipe .ast-taxonomy-container.tags-links {
  margin: 0;
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ast-article-post.type-post .ast-taxonomy-container.cat-links a, .ast-article-post.type-cobb_recipe .ast-taxonomy-container.cat-links a,
.ast-article-post.type-post .ast-taxonomy-container.tags-links a , .ast-article-post.type-cobb_recipe .ast-taxonomy-container.tags-links a {
  color: var(--cobb-blog-brand);
  text-decoration: none;
}

.ast-article-post.type-post .ast-taxonomy-container.cat-links a:hover, .ast-article-post.type-cobb_recipe .ast-taxonomy-container.cat-links a:hover,
.ast-article-post.type-post .ast-taxonomy-container.tags-links a:hover , .ast-article-post.type-cobb_recipe .ast-taxonomy-container.tags-links a:hover {
  text-decoration: underline;
  opacity: 0.88;
}

.ast-article-post.type-post .ast-read-more-container, .ast-article-post.type-cobb_recipe .ast-read-more-container,
.ast-article-post.type-post p.read-more , .ast-article-post.type-cobb_recipe p.read-more {
  margin: 0;
  /* Extra air above the CTA; flex gap handles space between text blocks. */
  padding-top: 12px;
}

.ast-article-post.type-post .ast-read-more-container a, .ast-article-post.type-cobb_recipe .ast-read-more-container a,
.ast-article-post.type-post p.read-more a,
.ast-article-post.type-cobb_recipe p.read-more a {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border-radius: var(--cobb-blog-card-radius, 5px);
  border: 1px solid var(--cobb-blog-brand);
  border-bottom: 1px solid var(--cobb-blog-brand);
  padding: 9px 12px;
  text-decoration: none !important;
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  font-size: 11px;
  color: var(--cobb-blog-brand);
  background-color: #f8fafc;
  background-color: color-mix(in srgb, var(--cobb-blog-brand) 8%, #fff);
  transition:
    background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.ast-article-post.type-post .ast-read-more-container a::after, .ast-article-post.type-cobb_recipe .ast-read-more-container a::after,
.ast-article-post.type-post p.read-more a::after,
.ast-article-post.type-cobb_recipe p.read-more a::after {
  content: "arrow_forward";
  font-family: "Material Symbols Outlined";
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  margin-left: auto;
  color: var(--cobb-blog-brand);
}

.ast-article-post.type-post .ast-read-more-container a:hover, .ast-article-post.type-cobb_recipe .ast-read-more-container a:hover,
.ast-article-post.type-post .ast-read-more-container a:focus, .ast-article-post.type-cobb_recipe .ast-read-more-container a:focus,
.ast-article-post.type-post .ast-read-more-container a:focus-visible, .ast-article-post.type-cobb_recipe .ast-read-more-container a:focus-visible,
.ast-article-post.type-post p.read-more a:hover, .ast-article-post.type-cobb_recipe p.read-more a:hover,
.ast-article-post.type-post p.read-more a:focus, .ast-article-post.type-cobb_recipe p.read-more a:focus,
.ast-article-post.type-post p.read-more a:focus-visible,
.ast-article-post.type-cobb_recipe p.read-more a:focus-visible {
  background: var(--cobb-blog-brand);
  color: #fff;
  border-color: var(--cobb-blog-brand);
  text-decoration: none !important;
}

.ast-article-post.type-post .ast-read-more-container a:hover::after, .ast-article-post.type-cobb_recipe .ast-read-more-container a:hover::after,
.ast-article-post.type-post .ast-read-more-container a:focus::after, .ast-article-post.type-cobb_recipe .ast-read-more-container a:focus::after,
.ast-article-post.type-post .ast-read-more-container a:focus-visible::after, .ast-article-post.type-cobb_recipe .ast-read-more-container a:focus-visible::after,
.ast-article-post.type-post p.read-more a:hover::after, .ast-article-post.type-cobb_recipe p.read-more a:hover::after,
.ast-article-post.type-post p.read-more a:focus::after, .ast-article-post.type-cobb_recipe p.read-more a:focus::after,
.ast-article-post.type-post p.read-more a:focus-visible::after,
.ast-article-post.type-cobb_recipe p.read-more a:focus-visible::after {
  color: #fff;
}

/* Phone: 2-column grid (below tablet 3-up). Negative row margin counters outer padding so cards align to screen edges. */
@media (max-width: 767px) {
  .ast-blog-layout-4-grid .ast-row,
  .ast-blog-layout-6-grid .ast-row {
    column-gap: 12px;
    row-gap: 0;
    margin: 0 -10px;
  }

  .ast-blog-layout-4-grid .ast-row > .ast-article-post.type-post,
  .ast-blog-layout-4-grid .ast-row > .ast-article-post.type-cobb_recipe,
  .ast-blog-layout-6-grid .ast-row > .ast-article-post.type-post,
  .ast-blog-layout-6-grid .ast-row > .ast-article-post.type-cobb_recipe {
    width: calc((100% - 12px) / 2) !important;
    max-width: calc((100% - 12px) / 2);
    flex: 0 0 calc((100% - 12px) / 2) !important;
    box-sizing: border-box;
  }
}

/* Smaller type + compact card padding (Astra-style break at 921px). */
@media (max-width: 921px) {
  .ast-blog-layout-5-grid .ast-article-post.type-post,
  .ast-blog-layout-5-grid .ast-article-post.type-cobb_recipe {
    width: 50% !important;
    max-width: 50%;
    flex: 0 0 50% !important;
    box-sizing: border-box;
  }

  .ast-blog-layout-4-grid .ast-article-post.type-post .post-content,
  .ast-blog-layout-4-grid .ast-article-post.type-cobb_recipe .post-content,
  .ast-blog-layout-6-grid .ast-article-post.type-post .post-content,
  .ast-blog-layout-6-grid .ast-article-post.type-cobb_recipe .post-content,
  .ast-blog-layout-5-grid .ast-article-post.type-post .post-content,
  .ast-blog-layout-5-grid .ast-article-post.type-cobb_recipe .post-content {
    padding: 0;
    gap: 10px;
  }

  .ast-blog-layout-4-grid .ast-article-post.type-post .post-content > .ast-blog-featured-section:first-child,
  .ast-blog-layout-4-grid .ast-article-post.type-cobb_recipe .post-content > .ast-blog-featured-section:first-child,
  .ast-blog-layout-6-grid .ast-article-post.type-post .post-content > .ast-blog-featured-section:first-child,
  .ast-blog-layout-6-grid .ast-article-post.type-cobb_recipe .post-content > .ast-blog-featured-section:first-child {
    margin: -1rem -1.25rem 0;
    width: calc(100% + 2.5rem);
  }

  .ast-article-post.type-post h2.entry-title,
  .ast-article-post.type-cobb_recipe h2.entry-title {
    font-size: 12px;
    line-height: 1.25;
    letter-spacing: 0.02em;
  }

  .ast-article-post.type-post .entry-meta,
  .ast-article-post.type-cobb_recipe .entry-meta {
    font-size: 9px;
    letter-spacing: 0.04em;
  }

  .ast-article-post.type-post .ast-excerpt-container,
  .ast-article-post.type-cobb_recipe .ast-excerpt-container {
    font-size: 11px;
    line-height: 1.45;
  }

  .ast-article-post.type-post .ast-taxonomy-container.cat-links, .ast-article-post.type-cobb_recipe .ast-taxonomy-container.cat-links,
  .ast-article-post.type-post .ast-taxonomy-container.tags-links,
  .ast-article-post.type-cobb_recipe .ast-taxonomy-container.tags-links {
    font-size: 9px;
    letter-spacing: 0.03em;
  }

  .ast-article-post.type-post .ast-read-more-container, .ast-article-post.type-cobb_recipe .ast-read-more-container,
  .ast-article-post.type-post p.read-more,
  .ast-article-post.type-cobb_recipe p.read-more {
    padding-top: 8px;
  }

  .ast-article-post.type-post .ast-read-more-container a, .ast-article-post.type-cobb_recipe .ast-read-more-container a,
  .ast-article-post.type-post p.read-more a,
  .ast-article-post.type-cobb_recipe p.read-more a {
    padding: 7px 8px;
    font-size: 9px;
    letter-spacing: 0.08em;
    gap: 6px;
  }

  .ast-article-post.type-post .ast-read-more-container a::after, .ast-article-post.type-cobb_recipe .ast-read-more-container a::after,
  .ast-article-post.type-post p.read-more a::after,
  .ast-article-post.type-cobb_recipe p.read-more a::after {
    font-size: 14px;
  }

  .ast-blog-layout-5-grid .ast-article-post.type-post .ast-blog-featured-section.post-thumb,
  .ast-blog-layout-5-grid .ast-article-post.type-cobb_recipe .ast-blog-featured-section.post-thumb {
    min-height: 100px;
  }

  .ast-blog-layout-4-grid .ast-article-post.type-post .ast-article-inner,
  .ast-blog-layout-4-grid .ast-article-post.type-cobb_recipe .ast-article-inner,
  .ast-blog-layout-5-grid .ast-article-post.type-post .ast-article-inner,
  .ast-blog-layout-5-grid .ast-article-post.type-cobb_recipe .ast-article-inner,
  .ast-blog-layout-6-grid .ast-article-post.type-post .ast-article-inner,
  .ast-blog-layout-6-grid .ast-article-post.type-cobb_recipe .ast-article-inner {
    padding-block: 1rem;
    padding-inline: 1.25rem;
    box-shadow: inset 0 0 28px color-mix(in srgb, var(--cobb-blog-brand) 5%, transparent);
  }

  .blog .ast-article-post.type-post, .blog .ast-article-post.type-cobb_recipe,
  .archive .ast-article-post.type-post, .archive .ast-article-post.type-cobb_recipe,
  .search .ast-article-post.type-post, .search .ast-article-post.type-cobb_recipe {
    box-shadow: 0 0 10px -5px color-mix(in srgb, var(--cobb-blog-brand) 9%, transparent);
  }
}

.cobb-rsp {
  text-align: var(--cobb-rsp-ta-d, inherit);
}

/* Align Buttons blocks inside wrapper */
.cobb-rsp .wp-block-buttons {
  justify-content: var(--cobb-rsp-ba-d, flex-start);
}

/* Optional typography helpers (only when set) */
.cobb-rsp :where(h1, h2, h3) {
  font-size: var(--cobb-rsp-h-d, inherit);
}
.cobb-rsp p {
  font-size: var(--cobb-rsp-p-d, inherit);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .cobb-rsp {
    padding-top: var(--cobb-rsp-pt-t, var(--cobb-rsp-pt-d, 0px));
    padding-right: var(--cobb-rsp-pr-t, var(--cobb-rsp-pr-d, 0px));
    padding-bottom: var(--cobb-rsp-pb-t, var(--cobb-rsp-pb-d, 0px));
    padding-left: var(--cobb-rsp-pl-t, var(--cobb-rsp-pl-d, 0px));
    text-align: var(--cobb-rsp-ta-t, var(--cobb-rsp-ta-d, inherit));
  }
  .cobb-rsp .wp-block-buttons {
    justify-content: var(--cobb-rsp-ba-t, var(--cobb-rsp-ba-d, flex-start));
  }
  .cobb-rsp :where(h1, h2, h3) {
    font-size: var(--cobb-rsp-h-t, var(--cobb-rsp-h-d, inherit));
  }
  .cobb-rsp p {
    font-size: var(--cobb-rsp-p-t, var(--cobb-rsp-p-d, inherit));
  }
}

@media (max-width: 767px) {
  .cobb-rsp {
    padding-top: var(--cobb-rsp-pt-m, var(--cobb-rsp-pt-d, 0px));
    padding-right: var(--cobb-rsp-pr-m, var(--cobb-rsp-pr-d, 0px));
    padding-bottom: var(--cobb-rsp-pb-m, var(--cobb-rsp-pb-d, 0px));
    padding-left: var(--cobb-rsp-pl-m, var(--cobb-rsp-pl-d, 0px));
    text-align: var(--cobb-rsp-ta-m, var(--cobb-rsp-ta-d, inherit));
  }
  .cobb-rsp .wp-block-buttons {
    justify-content: var(--cobb-rsp-ba-m, var(--cobb-rsp-ba-d, flex-start));
  }
  .cobb-rsp :where(h1, h2, h3) {
    font-size: var(--cobb-rsp-h-m, var(--cobb-rsp-h-d, inherit));
  }
  .cobb-rsp p {
    font-size: var(--cobb-rsp-p-m, var(--cobb-rsp-p-d, inherit));
  }
}

/* About page pattern (11-about-cobb): icon above label, brand-colored Material symbols. */
.cobb-about-icon-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
}

.cobb-about-icon-stack .material-symbols-outlined {
  color: var(--wp--preset--color--ast-global-color-0, #c41e3a);
  line-height: 1;
}

.cobb-about-icon-stack :where(h4, p) {
  margin-block: 0;
}

.cobb-about-icon-stack p {
  max-width: 22rem;
}

/* Trust strip stacks cleanly on small screens. */
@media (max-width: 767px) {
  .cobb-about-trust-bar .wp-block-columns {
    gap: 0.75rem;
  }
}

/* =========================================================
   COBB FAQ (accordion, theme-aligned tokens)
   ========================================================= */

.cobb-faq {
  width: 100%;
  --cobb-faq-brand: var(--wp--preset--color--ast-global-color-0, #0f172a);
  --cobb-faq-radius: var(--cobb-blog-card-radius, 5px);
}

.cobb-faq__header {
  margin-bottom: 2rem;
}

.cobb-faq__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.cobb-faq__intro {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.72);
}

.cobb-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cobb-faq__item {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--cobb-faq-radius);
  background: #fff;
  box-shadow: inset 0 0 28px color-mix(in srgb, var(--cobb-faq-brand) 5%, transparent);
  overflow: hidden;
  transition:
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.cobb-faq__item:hover {
  border-color: rgba(15, 23, 42, 0.2);
  box-shadow:
    inset 0 0 34px color-mix(in srgb, var(--cobb-faq-brand) 7%, transparent),
    0 8px 22px -10px rgba(15, 23, 42, 0.12);
}

.cobb-faq__item[open] {
  border-color: color-mix(in srgb, var(--cobb-faq-brand) 35%, rgba(15, 23, 42, 0.12));
}

.cobb-faq__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  background: var(--cobb-faq-brand);
  user-select: none;
  transition:
    background-color 0.22s ease,
    filter 0.22s ease;
}

.cobb-faq__summary:hover {
  filter: brightness(1.08);
}

.cobb-faq__summary:active {
  filter: brightness(0.96);
}

.cobb-faq__summary::-webkit-details-marker {
  display: none;
}

.cobb-faq__summary-text {
  flex: 1 1 auto;
  min-width: 0;
}

.cobb-faq__chevron {
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
  color: #fff;
  opacity: 0.92;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease;
}

.cobb-faq__item[open] .cobb-faq__chevron {
  transform: rotate(180deg);
}

.cobb-faq__summary:hover .cobb-faq__chevron,
.cobb-faq__summary:focus-visible .cobb-faq__chevron {
  color: #fff;
  opacity: 1;
}

.cobb-faq__summary:focus {
  outline: none;
}

.cobb-faq__summary:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

/* Accordion bar themes (block setting: Brand | Neutral | Soft). */
.cobb-faq.cobb-faq--accordion-neutral .cobb-faq__summary {
  color: #0f172a;
  background: #f1f5f9;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.cobb-faq.cobb-faq--accordion-neutral .cobb-faq__summary:hover {
  filter: none;
  background: #e2e8f0;
}

.cobb-faq.cobb-faq--accordion-neutral .cobb-faq__summary:active {
  filter: none;
  background: #cbd5e1;
}

.cobb-faq.cobb-faq--accordion-neutral .cobb-faq__chevron {
  color: var(--cobb-faq-brand);
  opacity: 1;
}

.cobb-faq.cobb-faq--accordion-neutral .cobb-faq__summary:hover .cobb-faq__chevron,
.cobb-faq.cobb-faq--accordion-neutral .cobb-faq__summary:focus-visible .cobb-faq__chevron {
  color: var(--cobb-faq-brand);
  opacity: 1;
}

.cobb-faq.cobb-faq--accordion-neutral .cobb-faq__summary:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--cobb-faq-brand) 42%, transparent);
  outline-offset: 2px;
}

.cobb-faq.cobb-faq--accordion-soft .cobb-faq__summary {
  color: var(--cobb-faq-brand);
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: inset 4px 0 0 0 var(--cobb-faq-brand);
  transition: background-color 0.22s ease, color 0.22s ease;
}

.cobb-faq.cobb-faq--accordion-soft .cobb-faq__summary:hover {
  filter: none;
  background: color-mix(in srgb, var(--cobb-faq-brand) 6%, #fff);
}

.cobb-faq.cobb-faq--accordion-soft .cobb-faq__summary:active {
  filter: none;
  background: color-mix(in srgb, var(--cobb-faq-brand) 10%, #fff);
}

.cobb-faq.cobb-faq--accordion-soft .cobb-faq__chevron {
  color: var(--cobb-faq-brand);
  opacity: 1;
}

.cobb-faq.cobb-faq--accordion-soft .cobb-faq__summary:hover .cobb-faq__chevron,
.cobb-faq.cobb-faq--accordion-soft .cobb-faq__summary:focus-visible .cobb-faq__chevron {
  color: var(--cobb-faq-brand);
  opacity: 1;
}

.cobb-faq.cobb-faq--accordion-soft .cobb-faq__summary:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--cobb-faq-brand) 42%, transparent);
  outline-offset: 2px;
}

.cobb-faq__panel {
  padding: 0 1.15rem 1.15rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.cobb-faq__answer {
  margin: 0;
  padding-top: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.78);
}

@media (prefers-reduced-motion: reduce) {
  .cobb-faq__chevron {
    transition: none;
  }
  .cobb-faq__summary {
    transition: none;
  }
  .cobb-faq__summary:hover,
  .cobb-faq__summary:active {
    filter: none;
  }
}

/* =========================================================
   COBB Warranty / policy layout blocks
   ========================================================= */

.cobb-info-panel {
  --cobb-panel-brand: var(--wp--preset--color--ast-global-color-0, #0f172a);
  --cobb-panel-radius: var(--cobb-blog-card-radius, 5px);
  box-sizing: border-box;
}

.cobb-info-panel__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-content: center;
  justify-content: flex-start;
  text-align: center;
  border-radius: var(--cobb-panel-radius);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  padding: 1.35rem 1.35rem 1.25rem;
  box-shadow:
    inset 0 0 28px color-mix(in srgb, var(--cobb-panel-brand) 5%, transparent),
    0 0 14px -6px color-mix(in srgb, var(--cobb-panel-brand) 8%, transparent);
  transition: box-shadow 220ms ease, border-color 220ms ease, transform 220ms ease;
  height: 100%;
}

.cobb-info-panel:hover .cobb-info-panel__inner {
  border-color: rgba(15, 23, 42, 0.2);
  box-shadow:
    inset 0 0 34px color-mix(in srgb, var(--cobb-panel-brand) 7%, transparent),
    0 10px 26px -12px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .cobb-info-panel:hover .cobb-info-panel__inner {
    transform: none;
    transition: none;
  }
}

/* Icon chip: centred in card, larger glyph, lighter treatment. */
.cobb-info-panel__icon {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
  width: 3.75rem;
  height: 3.75rem;
  margin-bottom: 1.1rem;
  border-radius: var(--cobb-blog-card-radius, 5px);
  line-height: 1;
  color: var(--cobb-panel-brand);
  background: color-mix(in srgb, var(--cobb-panel-brand) 11%, #fff);
  border: 1.5px solid color-mix(in srgb, var(--cobb-panel-brand) 38%, rgba(15, 23, 42, 0.12));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.cobb-info-panel__icon.material-symbols-outlined {
  align-self: center;
  align-content: center;
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-weight: 500;
  font-size: 2.125rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings:
    "FILL" 0,
    "wght" 550,
    "GRAD" 0,
    "opsz" 32;
}

.cobb-info-panel__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.55);
}

.cobb-info-panel__title {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #0f172a;
}

.cobb-info-panel__body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.78);
}

.cobb-info-panel--brand .cobb-info-panel__inner {
  border-color: color-mix(in srgb, var(--cobb-panel-brand) 28%, rgba(15, 23, 42, 0.12));
  background-image: radial-gradient(
    120% 70% at 0% 0%,
    color-mix(in srgb, var(--cobb-panel-brand) 10%, transparent) 0%,
    transparent 55%
  );
}

.cobb-info-panel--muted .cobb-info-panel__inner {
  background: #f8fafc;
  box-shadow: inset 0 0 22px rgba(15, 23, 42, 0.04);
}

.cobb-info-panel--accent .cobb-info-panel__inner {
  background: color-mix(in srgb, var(--cobb-panel-brand) 6%, #fff);
  border-color: color-mix(in srgb, var(--cobb-panel-brand) 22%, rgba(15, 23, 42, 0.12));
}

.cobb-spec-list__card {
  border-radius: var(--cobb-blog-card-radius, 5px);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 0 14px -6px color-mix(in srgb, var(--wp--preset--color--ast-global-color-0, #0f172a) 9%, transparent);
}

.cobb-spec-list__heading {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #0f172a;
}

.cobb-spec-list__placeholder {
  color: rgba(15, 23, 42, 0.45);
}

.cobb-spec-list__intro {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.72);
}

.cobb-spec-list__rows {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cobb-spec-list__row {
  display: grid;
  grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
  gap: 1rem 1.5rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  align-items: start;
}

.cobb-spec-list__row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.cobb-spec-list__label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.55);
}

.cobb-spec-list__value {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #0f172a;
  font-weight: 600;
}

@media (max-width: 600px) {
  .cobb-spec-list__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.cobb-process-steps__header {
  max-width: 48rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.cobb-process-steps__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.cobb-process-steps__intro {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.72);
}

.cobb-process-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  counter-reset: none;
}

.cobb-process-steps__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem 1.25rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  border-radius: var(--cobb-blog-card-radius, 5px);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  box-shadow: inset 0 0 26px color-mix(in srgb, var(--wp--preset--color--ast-global-color-0, #0f172a) 5%, transparent);
}

.cobb-process-steps__num {
  align-self: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  background: var(--wp--preset--color--ast-global-color-0, #0f172a);
  flex-shrink: 0;
}

.cobb-process-steps__step-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #0f172a;
}

.cobb-process-steps__step-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.76);
}

.cobb-cta-banner {
  width: 100%;
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

.cobb-cta-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.cobb-cta-banner__copy {
  flex: 1 1 18rem;
  min-width: 0;
}

.cobb-cta-banner__heading {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cobb-cta-banner__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Brand band: supporting line reads as body copy in white; button inverts to white / black text */
.cobb-cta-banner--brand .cobb-cta-banner__text {
  font-weight: 400;
  color: #fff !important;
}

.cobb-cta-banner--brand .cobb-cta-banner__btn {
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.cobb-cta-banner--brand .cobb-cta-banner__btn:hover {
  background-color: #f1f5f9 !important;
  filter: none;
}

.cobb-cta-banner--brand .cobb-cta-banner__btn:focus-visible {
  outline-color: #000;
}

.cobb-cta-banner__placeholder {
  opacity: 0.75;
}

.cobb-cta-banner__action {
  flex: 0 0 auto;
}

.cobb-cta-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  border-radius: var(--cobb-blog-card-radius, 5px);
  padding: 0.85rem 1.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    transform 220ms ease,
    filter 220ms ease,
    opacity 220ms ease;
}

.cobb-cta-banner__btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.cobb-cta-banner__btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .cobb-cta-banner__btn {
    transition: none;
  }
  .cobb-cta-banner__btn:hover {
    transform: none;
  }
}

@media (max-width: 767px) {
  .cobb-cta-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cobb-cta-banner__action {
    width: 100%;
  }
  .cobb-cta-banner__btn {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Global footer — space above footer content site-wide */
.site-footer.cobb-global-footer {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
