@font-face {
  font-family: Manrope;
  src: url("./manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

body.cesar-editorial {
  --editorial-paper: #f8f5ed;
  --editorial-ink: #13253c;
  --editorial-muted: #405571;
  --editorial-line: #c7c5be;
  --editorial-panel: #ece9e0;
  --editorial-light: #fffcf6;
  --editorial-blue: #eaeef0;
  --wp--preset--color--background: var(--editorial-paper);
  --wp--preset--color--foreground: var(--editorial-ink);
  --wp--preset--color--primary: var(--editorial-ink);
  --wp--preset--color--secondary: #304968;
  --wp--preset--color--tertiary: var(--editorial-panel);
  --wp--preset--font-family--body: Manrope, Arial, sans-serif;
  --wp--preset--font-family--heading: Manrope, Arial, sans-serif;
  color: var(--editorial-ink);
  background: var(--editorial-paper);
  font-family: Manrope, Arial, sans-serif;
}

.cesar-editorial .wp-site-blocks,
.cesar-editorial .wp-site-blocks :is(h1,h2,h3,h4,h5,h6,nav,button,input,select,textarea,.wp-block-button__link,.uagb-post__text) {
  font-family: Manrope, Arial, sans-serif !important;
}

.cesar-editorial .wp-site-blocks :is(h1,h2,h3,.wp-block-site-title,.wp-block-post-title,.uagb-post__title) {
  letter-spacing: -.045em;
}

.cesar-editorial .wp-site-blocks > :is(header,.wp-block-group:first-child) {
  border-bottom: 1px solid var(--editorial-ink);
  color: var(--editorial-ink);
  background: var(--editorial-paper);
}

.cesar-editorial .wp-site-blocks > footer {
  border-top: 1px solid var(--editorial-ink);
  background: var(--editorial-panel);
  color: var(--editorial-ink);
}

.cesar-editorial .wp-site-blocks :is(.wp-block-navigation__responsive-container.is-menu-open,.wp-block-navigation__submenu-container) {
  color: var(--editorial-ink) !important;
  background: var(--editorial-paper) !important;
}

.cesar-editorial .wp-site-blocks :is(h1.wp-block-post-title,h1.wp-block-query-title,h1.woocommerce-products-header__title) {
  font-weight: 800;
  line-height: .99;
  font-size: clamp(2.35rem, 5.9vw, 5.25rem);
  overflow-wrap: anywhere;
}

.cesar-editorial .wp-site-blocks :is(h1.wp-block-post-title,h1.wp-block-query-title,h1.woocommerce-products-header__title)::before {
  content: "";
  display: block;
  width: 3.8rem;
  height: .27rem;
  margin-bottom: .7rem;
  background: linear-gradient(90deg, #ee9b60, #cb5a61, #285887);
}

.cesar-editorial.single-post .wp-site-blocks .wp-block-post-content {
  line-height: 1.75;
}

.cesar-editorial .wp-site-blocks a:focus-visible,
.cesar-editorial button:focus-visible {
  outline: 2px solid #28629c;
  outline-offset: 3px;
}

.cesar-editorial .wp-site-blocks :is(.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.wc-block-components-button.contained,.single_add_to_cart_button,.wc-block-cart__submit-button) {
  background: var(--editorial-ink) !important;
  color: var(--editorial-light) !important;
  border-radius: 2px;
  box-shadow: none;
}

.cesar-editorial .wp-site-blocks :is(.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.wc-block-components-button.contained,.single_add_to_cart_button,.wc-block-cart__submit-button):hover {
  background: #294466 !important;
}

.cesar-editorial .wp-site-blocks :is(.uagb-post__inner-wrap,.wp-block-post-template > .wp-block-post,.wc-block-product,.woocommerce ul.products li.product) {
  background: var(--editorial-light) !important;
  color: var(--editorial-ink);
  border: 1px solid var(--editorial-line);
  border-radius: 3px;
}

.cesar-editorial .wp-site-blocks :is(.wc-block-product,.woocommerce ul.products li.product) {
  padding: clamp(.6rem,1.4vw,1.15rem);
}

.cesar-editorial .wp-site-blocks :is(.wc-block-components-totals-wrapper,.wc-block-cart-items,.woocommerce-checkout-review-order,.woocommerce-MyAccount-content) {
  border-color: var(--editorial-line);
}

.cesar-editorial .wp-site-blocks :is(.wc-block-components-sidebar-layout .wc-block-components-sidebar,.woocommerce-checkout-review-order,.woocommerce-MyAccount-navigation) {
  background: var(--editorial-blue);
  padding: clamp(.9rem,2vw,1.5rem);
  border-radius: 3px;
}

.cesar-editorial .wp-site-blocks :is(.wc-block-components-text-input input,.woocommerce input.input-text,.woocommerce textarea) {
  border-radius: 2px;
}

.cesar-editorial .wp-site-blocks :is(.woocommerce-Price-amount,.wc-block-components-product-price) {
  font-weight: 800;
  color: var(--editorial-ink);
}

/* Featured images for blog entries and post grids. */
.cesar-editorial.single-post .wp-block-post-featured-image img,
.cesar-editorial:not(.woocommerce-page) .wp-block-post.type-post .wp-block-post-featured-image img,
.cesar-editorial:not(.woocommerce-page) .wp-block-uagb-post-grid .uagb-post__image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  min-height: 0;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  background: var(--editorial-blue);
  object-position: center;
}
