/*
Theme Name: Casa Cachanilla
Theme URI: https://casacachanilla.com
Author: Casa Cachanilla
Description: Tema de bloques editable con Gutenberg para propiedades de Mexicali.
Version: 1.2.6
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: casa-cachanilla
*/

:root {
  --cc-green: #0b604f;
  --cc-dark: #073f36;
  --cc-orange: #e97823;
  --cc-bg: #f8f2e8;
  --cc-card: #ffffff;
  --cc-soft: #e7f0ec;
  --cc-warm: #f1e6d4;
  --cc-text: #273a35;
  --cc-muted: #66736e;
  --cc-border: #ddd2bf;
  --cc-shadow: 0 1px 2px rgba(21, 57, 49, 0.06), 0 10px 28px -18px rgba(21, 57, 49, 0.3);
  --cc-radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cc-bg);
  color: var(--cc-text);
  font-family: Figtree, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--cc-orange);
  outline-offset: 3px;
}

.wp-site-blocks {
  min-height: 100vh;
  background: var(--cc-bg);
}

.cc-page-main,
.cc-page-main > .wp-block-post-content {
  width: 100%;
  max-width: none !important;
  margin-inline: 0 !important;
}

.cc-page-main > .wp-block-post-content > .alignwide,
.cc-page-main > .wp-block-post-content > .cc-home-catalog {
  width: min(calc(100% - 2rem), 1216px);
  max-width: 1216px;
  margin-inline: auto;
}

.cc-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--cc-border);
  background: rgba(248, 242, 232, 0.97);
  backdrop-filter: blur(10px);
}

.admin-bar .cc-site-header {
  top: 32px;
}

.cc-header-inner {
  min-height: 80px;
  padding-inline: 1.5rem;
}

.cc-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.cc-site-header .wp-block-navigation-item__content {
  border-radius: var(--cc-radius);
  padding: 0.55rem 0.65rem;
}

.cc-site-header .wp-block-navigation-item__content:hover,
.cc-site-header .current-menu-item > .wp-block-navigation-item__content {
  background: var(--cc-warm);
  text-decoration: none;
}

.home .cc-site-header .wp-block-navigation-item:first-child > .wp-block-navigation-item__content {
  background: var(--cc-warm);
}

.cc-site-header .cc-site-logo img {
  width: 160px;
  max-height: 54px;
}

.cc-header-whatsapp {
  gap: 0.45rem;
}

.cc-header-whatsapp svg {
  width: 18px;
  height: 18px;
}

.cc-home-hero {
  position: relative;
  min-height: 360px;
  margin-top: 1.25rem !important;
  overflow: hidden;
  border-left: 5px solid var(--cc-orange);
  background: linear-gradient(105deg, var(--cc-soft) 0 72%, var(--cc-warm) 72%);
  padding: 4.25rem clamp(1.5rem, 6vw, 5rem);
}

.cc-home-intro {
  padding: 0 1.5rem;
}

.cc-home-intro-grid {
  width: 100%;
  max-width: none !important;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-bottom: 0;
}

.cc-home-intro-grid > .wp-block-column:first-child {
  flex-basis: 62% !important;
}

.cc-home-intro-grid > .wp-block-column:last-child {
  flex-basis: 38% !important;
}

.cc-home-intro h1 {
  max-width: 760px;
  margin: 0.3rem 0 0.85rem;
  font-size: 2.25rem;
  line-height: 1.12;
}

.cc-home-intro .cc-kicker {
  color: var(--cc-orange);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: none;
}

.cc-home-intro .wp-block-column:first-child > p:last-child {
  max-width: 720px;
  margin-top: .75rem;
  margin-bottom: 0;
  color: var(--cc-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.cc-trust-note {
  min-height: 64px;
  border-left: 4px solid var(--cc-orange);
  background: var(--cc-card);
  padding: 0.65rem 1.25rem 0.65rem 3rem;
  color: var(--cc-muted);
}

.cc-trust-note::before {
  position: absolute;
  margin: 0.1rem 0 0 -2rem;
  color: var(--cc-green);
  content: "✓";
  font-size: 1.1rem;
  font-weight: 800;
}

.cc-trust-note p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.cc-home-hero::after {
  position: absolute;
  right: 5%;
  bottom: -85px;
  width: 210px;
  height: 210px;
  border: 28px solid rgba(11, 96, 79, 0.1);
  border-radius: 50%;
  content: "";
}

.cc-home-hero > * {
  position: relative;
  z-index: 1;
}

.cc-home-hero h1 {
  max-width: 780px;
  margin-block: 0.4rem 0.9rem;
}

.cc-home-hero > p {
  max-width: 720px;
}

.cc-kicker,
.cc-panel-label {
  margin: 0;
  color: var(--cc-orange);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cc-home-catalog,
.cc-home-section {
  padding-top: 2.25rem;
}

.cc-home-section {
  width: min(calc(100% - 6rem), 1168px) !important;
  max-width: 1168px !important;
  padding-top: 0;
}

.cc-home-section + .cc-home-section {
  margin-top: 3rem;
}

.cc-home-catalog + .cc-home-section {
  margin-top: 3rem;
}

.cc-home-section > h2 {
  max-width: none !important;
  margin: 0 !important;
  font-size: 1.25rem;
  line-height: 1.2;
}

.cc-home-section > h2::after {
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 0.75rem;
  background: var(--cc-orange);
  content: "";
}

.cc-home-intro + .cc-home-catalog {
  padding-top: .25rem;
}

.cc-home-catalog .cc-catalog-block {
  width: 100%;
  padding-inline: 1.5rem;
}

.cc-home-catalog > .wp-block-buttons {
  width: auto;
  max-width: none !important;
  justify-content: flex-start;
  margin: 1rem 1.5rem 0 !important;
}

.cc-choice-panels {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: none !important;
  margin: 1rem 0 0 !important;
}

.cc-choice-card {
  display: block;
  min-width: 0;
  min-height: 166px;
  border: 1px solid var(--cc-border);
  border-left: 4px solid var(--cc-green);
  border-radius: 0;
  background: var(--cc-card);
  color: var(--cc-dark);
  padding: 1.25rem;
  box-shadow: var(--cc-shadow);
  text-decoration: none;
}

.cc-choice-card:hover {
  color: var(--cc-dark);
  transform: none;
}

.cc-choice-rent {
  border-left-color: var(--cc-orange);
}

.cc-choice-icon {
  display: block;
  width: 24px;
  height: 24px;
  background: var(--cc-green);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 9-9 9 9'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cc-choice-rent .cc-choice-icon {
  background: var(--cc-orange);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3Cpath d='m21 2-9.6 9.6'/%3E%3Cpath d='m15.5 7.5 3 3L22 7l-3-3'/%3E%3C/svg%3E");
}

.cc-choice-card h3 {
  margin: 0.85rem 0 0.25rem;
  color: var(--cc-dark);
  font-size: 1.25rem;
  line-height: 1.25;
}

.cc-choice-card p {
  margin: 0;
  color: var(--cc-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.cc-choice-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--cc-green);
  font-size: 0.875rem;
  font-weight: 750;
}

.cc-choice-panels > .wp-block-column,
.cc-help-grid > .wp-block-column {
  min-width: 0;
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius);
  background: var(--cc-card);
  padding: 1.25rem;
  box-shadow: var(--cc-shadow);
}

.cc-choice-panels > .wp-block-column {
  border-left: 4px solid var(--cc-green);
}

.cc-choice-panels > .wp-block-column:nth-child(2) {
  border-left-color: var(--cc-orange);
}

.cc-choice-panels h3,
.cc-help-grid h3 {
  margin: 0.85rem 0 0.25rem;
}

.cc-choice-panels p,
.cc-help-grid p {
  margin: 0;
  color: var(--cc-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.cc-choice-panels p:last-child {
  margin-top: 1rem;
}

.cc-choice-panels a {
  font-weight: 750;
  text-decoration: none;
}

.cc-panel-label-rent {
  color: var(--cc-orange);
}

.cc-panel-label {
  width: 24px;
  height: 24px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
}

.cc-panel-label::before {
  display: block;
  width: 24px;
  height: 24px;
  background: currentColor;
  color: var(--cc-green);
  content: "";
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 9-9 9 9'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cc-panel-label-rent::before {
  color: var(--cc-orange);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3Cpath d='m21 2-9.6 9.6'/%3E%3Cpath d='m15.5 7.5 3 3L22 7l-3-3'/%3E%3C/svg%3E");
}

.cc-help-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: none !important;
  margin: 1rem 0 0 !important;
}

.cc-help-grid > .wp-block-column {
  min-height: 172px;
  box-shadow: none;
}

.cc-help-grid > .wp-block-column::before {
  display: block;
  width: 24px;
  height: 24px;
  background: var(--cc-orange);
  content: "";
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-8 9-4.5-1.5-8-4-8-9V5l8-3 8 3z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cc-help-grid > .wp-block-column:nth-child(2)::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='m9 16 2 2 4-4'/%3E%3C/svg%3E");
}

.cc-help-grid > .wp-block-column:nth-child(3)::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7'/%3E%3Cpath d='M5 10v9'/%3E%3Cpath d='M19 10v9'/%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M8 14v3'/%3E%3Cpath d='M12 14v3'/%3E%3Cpath d='M16 14v3'/%3E%3C/svg%3E");
}

.cc-border-callout {
  width: min(calc(100% - 6rem), 1168px);
  max-width: 1168px !important;
  min-height: 140px;
  margin: 3rem auto 0;
  border-left: 4px solid var(--cc-orange);
  background: var(--cc-card);
  padding: 1.25rem;
  box-shadow: none;
}

.cc-border-callout > .wp-block-group:first-child {
  flex: 1 1 0;
  max-width: none !important;
}

.cc-border-callout > .wp-block-buttons {
  flex: 0 0 auto;
  gap: 0.5rem;
}

.cc-border-callout h3 {
  margin: 0.25rem 0 0;
  font-size: 1.25rem;
  line-height: 1.4;
}

.cc-border-callout p {
  max-width: 840px;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.43;
}

.cc-border-callout h3 + p {
  margin-top: 0.5rem;
}

.cc-border-callout .wp-block-button__link {
  min-height: 42px;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.cc-border-callout .wp-block-button.is-style-outline .wp-block-button__link {
  padding: 0.5625rem 0.9375rem;
}

.cc-page-intro {
  width: min(calc(100% - 2rem), 1216px);
  max-width: 1216px !important;
  padding: 2.75rem 0 1.5rem;
}

.cc-page-intro h1 {
  max-width: 820px;
  margin-bottom: 0.5rem;
  font-size: 2.65rem;
}

.cc-page-intro > p {
  max-width: 760px;
  color: var(--cc-muted);
  font-size: 1.05rem;
}

.cc-readable {
  max-width: 820px !important;
}

.cc-blog-main {
  min-height: 62vh;
  padding-block: 3rem 4rem;
}

.cc-blog-intro {
  margin-bottom: 1.75rem;
}

.cc-blog-intro h1 {
  max-width: 800px;
  margin: 0.25rem 0 0.5rem;
  font-size: 2.65rem;
}

.cc-blog-intro p:last-child {
  max-width: 760px;
  color: var(--cc-muted);
}

.cc-post-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--cc-border);
  border-left: 4px solid var(--cc-orange);
  border-radius: var(--cc-radius);
  background: var(--cc-card);
  padding: 1.25rem;
  box-shadow: var(--cc-shadow);
}

.cc-post-card .wp-block-post-title {
  margin-top: 0.35rem;
  line-height: 1.3;
}

.cc-post-card .wp-block-post-excerpt {
  color: var(--cc-muted);
}

.cc-post-card .wp-block-post-date {
  color: var(--cc-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.cc-guides-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.cc-guides-grid .cc-post-card {
  min-height: 220px;
}

.cc-guides-grid .cc-post-card h2 {
  margin: 0.35rem 0 0.65rem;
  font-size: 1.25rem;
}

.cc-guides-grid .cc-post-card > p:not(.cc-guide-date) {
  color: var(--cc-muted);
}

.cc-guide-date {
  margin: 0;
  color: var(--cc-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.cc-guide-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.cc-not-found {
  display: grid;
  min-height: 55vh;
  align-content: center;
  padding-block: 4rem;
  text-align: center;
}

.cc-site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--cc-border);
  padding-top: 0;
  color: rgba(255, 255, 255, 0.8);
}

.cc-site-footer .wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: 1216px !important;
  height: 300px;
  margin: 0 auto !important;
  padding: 2.5rem 1.5rem;
}

.cc-site-footer .wp-block-column {
  min-width: 0;
}

.cc-site-footer .cc-site-logo {
  border-radius: 4px;
  background: var(--cc-card);
  padding: 0.45rem 0.65rem;
}

.cc-site-footer .cc-site-logo img {
  width: auto;
  height: 48px;
}

.cc-site-footer h2 {
  margin: 0;
  color: var(--cc-card) !important;
  font-size: 0.875rem !important;
  font-weight: 600;
}

.cc-site-footer a {
  color: var(--cc-card);
}

.cc-site-footer .wp-block-navigation {
  display: block;
  margin-top: 0.75rem;
  color: var(--cc-card);
}

.cc-site-footer .wp-block-navigation__container {
  display: grid !important;
  align-items: flex-start !important;
  gap: 0.5rem !important;
}

.cc-site-footer .wp-block-navigation-item,
.cc-site-footer .wp-block-navigation-item__content {
  font-size: 0.875rem;
  line-height: 1.5;
}

.cc-site-footer .wp-block-column:first-child > p {
  max-width: 320px;
  margin: 0.75rem 0 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.cc-site-footer .cc-header-whatsapp {
  min-height: 42px;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
}

.cc-business-contact {
  align-content: start;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.cc-contact-row {
  position: relative;
  padding-left: 1.75rem;
  line-height: 1.5;
}

.cc-contact-row::before {
  position: absolute;
  top: 0.15rem;
  left: 0;
  width: 18px;
  height: 18px;
  background: var(--cc-orange);
  content: "";
  mask: center / contain no-repeat;
}

.cc-contact-location::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.cc-contact-phone::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.63a2 2 0 0 1-.45 2.11L8 9.73a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.85.29 1.73.5 2.63.62A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.cc-contact-hours::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.cc-contact-pending {
  color: rgba(255, 255, 255, 0.66);
}

.cc-footer-bottom {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  min-height: 50px;
  padding: 1rem max(1.5rem, calc((100% - 1168px) / 2));
}

.cc-footer-bottom p {
  margin: 0;
  font-size: 0.75rem !important;
  line-height: 1rem;
}

.wp-block-button.is-style-outline .wp-block-button__link {
  border-color: var(--cc-green);
  color: var(--cc-green);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--cc-soft);
}

.wp-block-query-pagination {
  margin-top: 2rem;
}

.wp-block-navigation__responsive-container.is-menu-open {
  padding: 1.5rem;
  background: var(--cc-bg) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  padding-top: 3rem;
}

.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
  color: var(--cc-dark);
}

.cc-catalog-block {
  max-width: 1216px !important;
}

@media (max-width: 782px) {
  html.has-modal-open,
  html.has-modal-open body {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  .cc-site-header {
    background: var(--cc-bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  html.has-modal-open .cc-site-header {
    z-index: 100000;
  }

  .admin-bar .cc-site-header {
    top: 46px;
  }

  .cc-site-header .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 100000;
  }

  .admin-bar .cc-site-header .wp-block-navigation__responsive-container.is-menu-open {
    top: 46px !important;
    height: calc(100dvh - 46px) !important;
    min-height: calc(100vh - 46px) !important;
  }

  .cc-site-header .wp-block-navigation__responsive-close,
  .cc-site-header .wp-block-navigation__responsive-dialog,
  .cc-site-header .wp-block-navigation__responsive-container-content,
  .cc-site-header .wp-block-navigation__container {
    width: 100%;
  }

  .cc-site-header .wp-block-navigation__responsive-close,
  .cc-site-header .wp-block-navigation__responsive-dialog {
    min-height: 100%;
  }

  .cc-site-header .wp-block-navigation__responsive-container-close,
  .cc-site-header .wp-block-navigation__responsive-container-open {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    touch-action: manipulation;
  }

  .cc-site-header .wp-block-navigation__responsive-container-close {
    top: 0.75rem;
    right: 0.75rem;
  }

  .cc-site-header .wp-block-navigation__responsive-container-content,
  .cc-site-header .wp-block-navigation__container {
    align-items: stretch !important;
  }

  .cc-site-header .wp-block-navigation__responsive-container-content {
    min-height: 100%;
    padding-top: 4rem;
  }

  .cc-site-header .wp-block-navigation__container {
    gap: 0.35rem;
  }

  .cc-site-header .wp-block-navigation-item {
    width: 100%;
  }

  .cc-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 1.125rem;
    line-height: 1.35;
    touch-action: manipulation;
  }

  .cc-header-inner {
    width: 100%;
    min-height: 68px;
    padding-inline: 0.75rem;
  }

  .cc-header-actions {
    min-width: 0;
    flex: 0 0 auto;
    gap: 0.5rem;
  }

  .cc-site-header .cc-site-logo {
    min-width: 0;
    flex: 0 1 132px;
  }

  .cc-site-header .cc-site-logo img {
    width: 132px;
  }

  .cc-header-whatsapp {
    min-height: 44px;
    flex: 0 0 auto;
    touch-action: manipulation;
  }

  .cc-home-hero {
    min-height: 0;
    margin-top: 0.75rem !important;
    padding: 2rem 1.25rem;
  }

  .cc-home-intro {
    padding-inline: 1rem;
  }

  .cc-home-intro-grid {
    gap: 1.25rem;
  }

  .cc-home-intro h1 {
    font-size: 2rem;
  }

  .cc-home-intro .wp-block-column,
  .cc-home-intro .wp-block-column[style] {
    flex-basis: 100% !important;
  }

  .cc-home-hero::after {
    display: none;
  }

  .cc-site-footer .wp-block-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    height: auto;
    padding-inline: 1rem;
  }

  .cc-footer-bottom {
    align-items: flex-start !important;
    flex-direction: column;
  }

  .wp-block-post-template.is-layout-grid {
    grid-template-columns: 1fr !important;
  }

  .cc-guides-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .cc-page-main > .wp-block-post-content > .alignwide,
  .cc-page-main > .wp-block-post-content > .cc-home-catalog,
  .cc-border-callout,
  .cc-page-intro {
    width: min(calc(100% - 1.25rem), 1216px);
  }

  .cc-home-catalog,
  .cc-home-section {
    padding-top: 2.25rem;
  }

  .cc-home-section {
    width: min(calc(100% - 2rem), 1168px) !important;
    padding-top: 0;
  }

  .cc-home-catalog + .cc-home-section,
  .cc-home-section + .cc-home-section {
    margin-top: 2.5rem;
  }

  .cc-choice-panels,
  .cc-help-grid {
    grid-template-columns: 1fr;
  }

  .cc-home-intro h1 {
    font-size: 1.85rem;
  }

  .cc-page-intro h1,
  .cc-blog-intro h1 {
    font-size: 2.1rem;
  }

  .cc-border-callout {
    align-items: stretch !important;
    width: min(calc(100% - 2rem), 1168px) !important;
  }
}

@media (max-width: 360px) {
  .cc-header-inner {
    padding-inline: 0.5rem;
  }

  .cc-header-actions {
    gap: 0.25rem;
  }

  .cc-site-header .cc-site-logo {
    flex-basis: 112px;
  }

  .cc-site-header .cc-site-logo img {
    width: 112px;
  }

  .cc-site-header .cc-header-whatsapp {
    width: 44px;
    padding-inline: 0;
  }

  .cc-site-header .cc-header-whatsapp span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

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

  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
