/* Blog, posts and Tapas Academy refresh (app/content-ui.php). Scoped to body.ic-cnt. */

body.ic-cnt { --iccnt-ink: #1a202c; --iccnt-muted: #4d5c6b; --iccnt-gold: #d3ae76; --iccnt-gold-dark: #8a6a35; --iccnt-line: #ece3d6; --iccnt-cream: #fbf6ee; }

/* ---------- Cards (blog sections, related items) ---------- */
body.ic-cnt .popular article figure,
body.ic-cnt section:is(.recipes, .spain, .jamon, .tapas) article figure,
body.ic-cnt section.tapas li figure,
body.ic-cnt .related article figure {
  border-radius: 12px !important;
  overflow: hidden;
}
body.ic-cnt .popular article figure img,
body.ic-cnt section:is(.recipes, .spain, .jamon, .tapas) figure img,
body.ic-cnt .related article figure img {
  border-radius: 12px !important;
  transition: transform .35s ease;
}
body.ic-cnt .popular article:hover figure img,
body.ic-cnt section:is(.recipes, .spain, .jamon, .tapas) li:hover figure img,
body.ic-cnt .related article:hover figure img { transform: scale(1.04); }
body.ic-cnt section:is(.recipes, .spain, .jamon, .tapas) .entry-title,
body.ic-cnt .related .entry-title {
  margin-top: 0;
  font-family: Gordita, 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}
body.ic-cnt section:is(.recipes, .spain, .jamon, .tapas) .entry-title a,
body.ic-cnt .related .entry-title a,
body.ic-cnt .popular .entry-title a { color: var(--iccnt-ink) !important; transition: color .15s; }
body.ic-cnt section:is(.recipes, .spain, .jamon, .tapas) .entry-title a:hover,
body.ic-cnt .related .entry-title a:hover,
body.ic-cnt .popular .entry-title a:hover { color: var(--iccnt-gold-dark) !important; }

/* ---------- Blog index ---------- */
body.blog.ic-cnt section:is(.popular, .recipes, .spain, .jamon, .tapas, .help) > h2,
body.blog.ic-cnt section:is(.recipes, .spain, .jamon, .tapas, .help) > div > h2 {
  font-family: Gordita, 'Helvetica Neue', Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--iccnt-ink);
}
/* Sections fill the row whatever the number of curated posts (3 left an empty 4th column) */
@media (min-width: 768px) {
  body.blog.ic-cnt section:is(.recipes, .spain, .jamon, .tapas) > ul {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    column-gap: 24px !important;
  }
  /* Most popular: three equal cards across the container */
  body.blog.ic-cnt .popular ul.slider {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.blog.ic-cnt .popular ul.slider > li { width: auto !important; padding-left: 0 !important; }
}
body.blog.ic-cnt .popular .entry-title { margin: 6px 0 10px; font-family: Gordita, 'Helvetica Neue', Arial, sans-serif !important; font-size: 22px !important; font-weight: 700 !important; line-height: 1.25 !important; }
body.blog.ic-cnt .popular .label {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--iccnt-cream);
  font-family: Gordita, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--iccnt-gold-dark);
}
/* Phones: most popular as a swipe row of wide cards (it was three 100px columns) */
@media (max-width: 767px) {
  body.blog.ic-cnt .popular ul.slider {
    display: flex !important;
    gap: 14px;
    margin: 16px -16px 0 !important;
    padding: 0 16px 6px !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px; /* snap to the padding, not the screen edge */
    scrollbar-width: none;
  }
  body.blog.ic-cnt .popular ul.slider::-webkit-scrollbar { display: none; }
  body.blog.ic-cnt .popular ul.slider > li { flex: 0 0 78%; width: auto !important; padding: 0 !important; scroll-snap-align: start; }
  body.blog.ic-cnt .popular .entry-title { font-size: 19px !important; }
  body.blog.ic-cnt section:is(.recipes, .spain, .jamon, .tapas) > ul { column-gap: 14px !important; row-gap: 22px !important; }
  body.blog.ic-cnt section:is(.recipes, .spain, .jamon, .tapas) .entry-title { font-size: 15px !important; }
  /* Category icons: snap so each one lands whole */
  body.blog.ic-cnt .page-header .category-slider { scroll-snap-type: x mandatory; scrollbar-width: none; }
  body.blog.ic-cnt .page-header .category-slider > li { scroll-snap-align: start; }
}
/* FAQ teasers as cards */
body.blog.ic-cnt section.help > ul {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}
body.blog.ic-cnt section.help > ul > li { margin: 0 !important; }
body.blog.ic-cnt section.help > ul > li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid var(--iccnt-line);
  border-radius: 12px;
  background: #fff;
  color: var(--iccnt-ink) !important;
  font-family: Gordita, sans-serif;
  font-weight: 600;
  transition: border-color .15s;
}
body.blog.ic-cnt section.help > ul > li a::after { content: '→'; color: var(--iccnt-gold-dark); }
body.blog.ic-cnt section.help > ul > li a:hover { border-color: var(--iccnt-gold); }
body.blog.ic-cnt section.help > ul > li::marker { content: ''; }

/* ---------- Single post / tapa ---------- */
body.ic-cnt.single .entry-title { font-family: Gordita, 'Helvetica Neue', Arial, sans-serif; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; color: var(--iccnt-ink); }
@media (min-width: 768px) { body.ic-cnt.single header .entry-title { font-size: 40px; } }
@media (max-width: 767px) { body.ic-cnt.single header .entry-title { font-size: 30px; } }
body.ic-cnt .iccnt-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; font-family: Gordita, sans-serif; font-size: 13px; color: var(--iccnt-muted); }
body.ic-cnt .iccnt-meta span[aria-hidden] { color: #c8b8a0; }

body.ic-cnt.single .entry-content { font-size: 18px; line-height: 1.75; color: #2d3748; }
@media (max-width: 767px) { body.ic-cnt.single .entry-content { font-size: 17px; } }
body.ic-cnt.single .entry-content > p { margin: 0 0 1.15em; }
body.ic-cnt.single .entry-content h2 { margin: 2em 0 .6em; font-family: Gordita, sans-serif; font-size: 26px; font-weight: 800; line-height: 1.25; color: var(--iccnt-ink); }
body.ic-cnt.single .entry-content h3 { margin: 1.7em 0 .5em; font-family: Gordita, sans-serif; font-size: 21px; font-weight: 700; line-height: 1.3; color: var(--iccnt-ink); }
body.ic-cnt.single .entry-content a { color: var(--iccnt-gold-dark); text-decoration: underline; text-decoration-color: rgba(211, 174, 118, .55); text-underline-offset: 3px; }
body.ic-cnt.single .entry-content a:hover { text-decoration-color: var(--iccnt-gold-dark); }
body.ic-cnt.single .entry-content img { border-radius: 12px; }
body.ic-cnt.single .entry-content figure { margin: 1.8em 0; }
body.ic-cnt.single .entry-content figcaption,
body.ic-cnt.single .entry-content .wp-caption-text { margin-top: 8px; font-family: Gordita, sans-serif; font-size: 13px; font-style: normal; text-align: center; color: var(--iccnt-muted); }
body.ic-cnt.single .entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--iccnt-gold); font-style: italic; color: var(--iccnt-ink); }
body.ic-cnt.single .entry-content ul,
body.ic-cnt.single .entry-content ol { padding-left: 1.3em; }
body.ic-cnt.single .entry-content li { margin-bottom: .45em; }
body.ic-cnt.single .tags h3 { font-family: Gordita, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--iccnt-gold-dark); }
body.ic-cnt.single .related h2 { font-family: Gordita, sans-serif; font-size: 22px; font-weight: 800; color: var(--iccnt-ink); }

/* Closing shop card */
body.ic-cnt .iccnt-shop {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 28px 0 32px;
  padding: 20px;
  border: 1px solid #e9dcc6;
  border-radius: 16px;
  background: var(--iccnt-cream);
}
body.ic-cnt .iccnt-shop img { width: 132px; height: 132px; flex: none; border-radius: 12px; object-fit: cover; }
body.ic-cnt .iccnt-shop__body { min-width: 0; }
body.ic-cnt .iccnt-shop p { margin: 0; }
body.ic-cnt .iccnt-shop__eyebrow { font-family: Gordita, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--iccnt-gold-dark); }
body.ic-cnt .iccnt-shop__title { margin-top: 4px !important; font-family: Gordita, sans-serif; font-size: 21px; font-weight: 800; line-height: 1.2; color: var(--iccnt-ink); }
body.ic-cnt .iccnt-shop__text { margin-top: 6px !important; font-size: 15px; line-height: 1.5; color: var(--iccnt-muted); }
body.ic-cnt .iccnt-shop__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 14px; }
body.ic-cnt .iccnt-shop__btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  background: var(--iccnt-gold);
  font-family: Gordita, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff !important;
  text-decoration: none !important;
  transition: background .15s;
}
body.ic-cnt .iccnt-shop__btn:hover { background: var(--iccnt-ink); }
body.ic-cnt .iccnt-shop__link { font-family: Gordita, sans-serif; font-size: 14px; font-weight: 600; color: var(--iccnt-gold-dark) !important; }
@media (max-width: 520px) {
  body.ic-cnt .iccnt-shop { flex-direction: column; align-items: flex-start; gap: 14px; }
  body.ic-cnt .iccnt-shop img { width: 100%; height: 160px; }
}

/* ---------- Tapas Academy archive ---------- */
body.post-type-archive-tapas.ic-cnt,
body.post-type-archive-tapas.ic-cnt main,
body.post-type-archive-tapas.ic-cnt .wrap { background: #f8f5f1 !important; color: var(--iccnt-ink); }
/* The header photo pointed at the old theme (404): a dark gradient instead of a flat navy */
body.post-type-archive-tapas.ic-cnt .page-header.blog { margin: 0 !important; padding: 28px 16px 40px !important; background: radial-gradient(120% 140% at 50% 0%, #2a2f38 0%, #0d0f12 70%) !important; }
body.post-type-archive-tapas.ic-cnt .page-header.blog .bg { display: none; }
body.post-type-archive-tapas.ic-cnt .page-header.blog h3 { margin: 0 0 6px; font-family: Gordita, sans-serif; font-size: 22px; font-weight: 800; color: #fff; }
body.post-type-archive-tapas.ic-cnt .page-header.blog p { margin: 0 auto; max-width: 34rem; font-size: 16px; line-height: 1.5; color: #d7dce3; }
/* Search: centred and visible (it was a small grey box at 1/5 of the width) */
body.post-type-archive-tapas.ic-cnt .container > div:has(> .search-form-custom-tapas) { width: 100% !important; max-width: 520px; margin: -24px auto 0 !important; position: relative; z-index: 2; }
body.post-type-archive-tapas.ic-cnt .search-field-tapas {
  height: 50px !important;
  padding-left: 46px !important;
  border: 1px solid #e2d6c3 !important;
  border-radius: 999px !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6a35' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 17px center / 18px no-repeat !important;
  box-shadow: 0 10px 28px rgba(13, 15, 18, .12);
  font-size: 16px !important;
  color: var(--iccnt-ink) !important;
}
body.post-type-archive-tapas.ic-cnt #posts { row-gap: 8px; }
body.post-type-archive-tapas.ic-cnt #posts article { background: transparent !important; }
body.post-type-archive-tapas.ic-cnt #posts article figure { position: relative; border-radius: 12px !important; overflow: hidden; }
body.post-type-archive-tapas.ic-cnt #posts article figure img { border-radius: 12px !important; transition: transform .35s ease; }
body.post-type-archive-tapas.ic-cnt #posts article:hover figure img { transform: scale(1.04); }
/* They are videos: say so */
body.post-type-archive-tapas.ic-cnt #posts article figure::after {
  content: '';
  position: absolute;
  left: 12px;
  bottom: 12px;
  top: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(13, 15, 18, .72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 7l9 5-9 5z'/%3E%3C/svg%3E") 55% center / 18px no-repeat;
  pointer-events: none;
}
body.post-type-archive-tapas.ic-cnt #posts .entry-title { margin: 0; font-family: Gordita, sans-serif !important; font-size: 16px !important; font-weight: 600 !important; line-height: 1.35 !important; }
body.post-type-archive-tapas.ic-cnt #posts .entry-title a { color: var(--iccnt-ink) !important; }
body.post-type-archive-tapas.ic-cnt #posts .entry-title a:hover { color: var(--iccnt-gold-dark) !important; }
body.post-type-archive-tapas.ic-cnt #loadmore_posts {
  max-width: 280px;
  padding: 14px 20px;
  border: 1px solid var(--iccnt-gold) !important;
  border-radius: 6px;
  background: #fff !important;
  font-family: Gordita, sans-serif;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
  color: var(--iccnt-ink) !important;
}
body.post-type-archive-tapas.ic-cnt #loadmore_posts:hover { background: var(--iccnt-cream) !important; }
/* Bottom category row on phones was white text for a dark page */
body.post-type-archive-tapas.ic-cnt .text-white:has(> .menu-blog-categories-menu-container),
body.post-type-archive-tapas.ic-cnt .menu-blog-categories-menu-container a { color: var(--iccnt-ink) !important; }
@media (max-width: 767px) {
  body.post-type-archive-tapas.ic-cnt #posts .entry-title { font-size: 15px !important; }
  body.post-type-archive-tapas.ic-cnt #posts article figure::after { width: 34px; height: 34px; left: 8px; bottom: 8px; background-size: 15px; }
}

/* ---------- Tapa page ---------- */
body.single-tapas.ic-cnt .iccnt-video { margin: 22px auto 8px; border-radius: 14px; overflow: hidden; }
body.single-tapas.ic-cnt .meta { border: 1px solid var(--iccnt-line) !important; border-radius: 12px !important; background: #fff; }
body.single-tapas.ic-cnt .ingredients h3,
body.single-tapas.ic-cnt .instructions h3,
body.single-tapas.ic-cnt .iccnt-ingr__title { font-family: Gordita, sans-serif; font-size: 21px; font-weight: 800; color: var(--iccnt-ink); }
body.single-tapas.ic-cnt .ingredients ul { padding: 0; list-style: none; }
body.single-tapas.ic-cnt .ingredients ul > li { position: relative; padding-left: 28px; font-size: 17px; line-height: 1.5; }
body.single-tapas.ic-cnt .ingredients ul > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--iccnt-cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6a35' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
  box-shadow: inset 0 0 0 1px #e2d6c3;
}
body.single-tapas.ic-cnt .ingredients a,
body.single-tapas.ic-cnt .instructions a { color: var(--iccnt-gold-dark); text-decoration: underline; text-decoration-color: rgba(211, 174, 118, .55); text-underline-offset: 3px; }
body.single-tapas.ic-cnt .ingredients ol { padding: 0; list-style: none; counter-reset: iccnt-step; }
body.single-tapas.ic-cnt .ingredients ol > li { position: relative; margin-bottom: 14px; padding-left: 40px; font-size: 17px; line-height: 1.55; counter-increment: iccnt-step; }
body.single-tapas.ic-cnt .ingredients ol > li::before {
  content: counter(iccnt-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--iccnt-ink);
  font-family: Gordita, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  color: #fff;
}

/* Shop the ingredients */
body.ic-cnt .iccnt-ingr { margin: 26px 0 30px; padding: 20px; border: 1px solid #e9dcc6; border-radius: 16px; background: var(--iccnt-cream); }
body.ic-cnt .iccnt-ingr__title { margin: 0 0 14px; }
body.ic-cnt .iccnt-ingr__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
body.ic-cnt .iccnt-ingr__item { display: flex; align-items: center; gap: 14px; margin: 0; padding: 10px 12px 10px 10px; border-radius: 12px; background: #fff; }
body.ic-cnt .iccnt-ingr__img { flex: none; }
body.ic-cnt .iccnt-ingr__img img { display: block; width: 64px !important; height: 64px !important; border-radius: 8px; object-fit: cover; }
body.ic-cnt .iccnt-ingr__body { flex: 1; min-width: 0; }
body.ic-cnt .iccnt-ingr__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: Gordita, sans-serif; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--iccnt-ink) !important; text-decoration: none !important; }
body.ic-cnt .iccnt-ingr__price { display: block; margin-top: 3px; font-family: Gordita, sans-serif; font-size: 14px; font-weight: 700; color: var(--iccnt-ink); }
body.ic-cnt .iccnt-ingr__price del { font-weight: 400; color: #8a94a3; }
body.ic-cnt .iccnt-ingr__price ins { text-decoration: none; }
body.ic-cnt .iccnt-ingr__add {
  flex: none;
  min-width: 72px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--iccnt-gold);
  font-family: Gordita, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
  color: #fff !important;
  text-decoration: none !important;
  transition: background .15s;
}
body.ic-cnt .iccnt-ingr__add:hover { background: var(--iccnt-ink); }
body.ic-cnt .iccnt-ingr__add--view { border: 1px solid var(--iccnt-gold); background: #fff; color: var(--iccnt-ink) !important; }
body.ic-cnt .iccnt-ingr__add.added { background: var(--iccnt-ink); }
body.ic-cnt .iccnt-ingr__add #loading, body.ic-cnt .iccnt-ingr + .added_to_cart, body.ic-cnt .iccnt-ingr__item .added_to_cart { display: none !important; }

/* Thumbnails fill their square (some tapa images are shorter and left a grey band) */
body.ic-cnt .related article figure img,
body.post-type-archive-tapas.ic-cnt #posts article figure img { width: 100% !important; height: 100% !important; object-fit: cover; }
body.ic-cnt .related article figure > a,
body.post-type-archive-tapas.ic-cnt #posts article figure > a { display: block; height: 100%; }

/* ---------- Archives (categories, tags): same cards and search as Tapas Academy ---------- */
body.ic-cnt.archive:not(.post-type-archive-help) #posts article { background: transparent !important; }
body.ic-cnt.archive:not(.post-type-archive-help) #posts article figure { position: relative; border-radius: 12px !important; overflow: hidden; }
body.ic-cnt.archive:not(.post-type-archive-help) #posts article figure > a { display: block; height: 100%; }
body.ic-cnt.archive:not(.post-type-archive-help) #posts article figure img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 12px !important; transition: transform .35s ease; }
body.ic-cnt.archive:not(.post-type-archive-help) #posts article:hover figure img { transform: scale(1.04); }
body.ic-cnt.archive:not(.post-type-archive-help) #posts .entry-title { margin: 0; font-family: Gordita, sans-serif !important; font-size: 16px !important; font-weight: 600 !important; line-height: 1.35 !important; }
body.ic-cnt.archive:not(.post-type-archive-help) #posts .entry-title a { color: var(--iccnt-ink) !important; }
body.ic-cnt.archive:not(.post-type-archive-help) #posts .entry-title a:hover { color: var(--iccnt-gold-dark) !important; }
body.ic-cnt.archive .container > div:has(> form[class^="search-form-custom"]) { width: 100% !important; max-width: 520px; margin: 8px auto 0 !important; }
body.ic-cnt.archive form[class^="search-form-custom"] input[type="search"] {
  height: 48px !important;
  padding-left: 44px !important;
  border: 1px solid #e2d6c3 !important;
  border-radius: 999px !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6a35' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 16px center / 18px no-repeat !important;
  font-size: 16px !important;
  color: var(--iccnt-ink) !important;
}
body.ic-cnt.archive #loadmore_posts {
  max-width: 280px;
  padding: 14px 20px;
  border: 1px solid var(--iccnt-gold) !important;
  border-radius: 6px;
  background: #fff !important;
  font-family: Gordita, sans-serif;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
  color: var(--iccnt-ink) !important;
}
body.ic-cnt.archive #loadmore_posts:hover { background: var(--iccnt-cream) !important; }
@media (max-width: 767px) {
  body.ic-cnt.archive:not(.post-type-archive-help) #posts .entry-title { font-size: 15px !important; }
  /* Blog-style headers (categories, help) touched the screen edge on phones */
  body.ic-cnt .page-header.blog > div { padding-left: 16px; padding-right: 16px; }
}

/* ---------- Help Center ---------- */
body.post-type-archive-help.ic-cnt { background: #f8f5f1; }
body.post-type-archive-help.ic-cnt .page-header.blog { padding-bottom: 28px !important; margin-bottom: 0 !important; }
body.ic-cnt .iccnt-helpsearch { margin: 14px 0 0; }
body.ic-cnt .iccnt-helpsearch input[type="search"] {
  width: 100%;
  height: 50px;
  padding: 0 18px 0 46px;
  border: 0;
  border-radius: 999px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6a35' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 17px center / 18px no-repeat;
  font-family: Gordita, sans-serif;
  font-size: 16px;
  color: var(--iccnt-ink);
}
body.ic-cnt .iccnt-helpquick { margin: 12px 0 0; font-family: Gordita, sans-serif; font-size: 14px; color: #c9cfd8; }
body.ic-cnt .iccnt-helpquick a { color: var(--iccnt-gold) !important; font-weight: 600; text-decoration: none; }
body.post-type-archive-help.ic-cnt #posts { margin-top: 28px !important; gap: 12px; }
body.post-type-archive-help.ic-cnt #posts article {
  position: relative;
  margin: 0 !important;
  padding: 18px 48px 18px 20px;
  border: 1px solid var(--iccnt-line);
  border-radius: 14px;
  background: #fff !important;
  transition: border-color .15s, box-shadow .15s;
}
body.post-type-archive-help.ic-cnt #posts article:hover { border-color: var(--iccnt-gold); box-shadow: 0 8px 22px rgba(26, 32, 44, .06); }
body.post-type-archive-help.ic-cnt #posts article::after { content: '→'; position: absolute; right: 20px; top: 20px; font-family: Gordita, sans-serif; font-size: 18px; color: var(--iccnt-gold-dark); }
body.post-type-archive-help.ic-cnt #posts .entry-title { margin: 0 0 6px; font-family: Gordita, sans-serif !important; font-size: 18px !important; font-weight: 700 !important; line-height: 1.3 !important; }
body.post-type-archive-help.ic-cnt #posts .entry-title a { color: var(--iccnt-ink) !important; }
/* The whole card is the link */
body.post-type-archive-help.ic-cnt #posts .entry-title a::after { content: ''; position: absolute; inset: 0; }
body.post-type-archive-help.ic-cnt #posts .entry-summary p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--iccnt-muted); -webkit-line-clamp: 2; }
@media (max-width: 767px) {
  body.post-type-archive-help.ic-cnt #posts { padding-left: 16px !important; padding-right: 16px !important; }
  body.post-type-archive-help.ic-cnt #posts .entry-title { font-size: 17px !important; }
}

/* ---------- Contact cards (contact page) ---------- */
body.ic-cnt .iccnt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 26px 0 34px; }
body.ic-cnt .iccnt-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid var(--iccnt-line);
  border-radius: 14px;
  background: #fff;
  color: var(--iccnt-ink) !important;
  text-decoration: none !important;
  transition: border-color .15s, box-shadow .15s;
}
body.ic-cnt .iccnt-card:hover { border-color: var(--iccnt-gold); box-shadow: 0 8px 22px rgba(26, 32, 44, .06); }
body.ic-cnt .iccnt-card .ichdr-ico { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--iccnt-cream); color: var(--iccnt-gold-dark); }
body.ic-cnt .iccnt-card__text { min-width: 0; }
body.ic-cnt .iccnt-card__title { display: block; font-family: Gordita, sans-serif; font-size: 16px; font-weight: 700; line-height: 1.25; }
body.ic-cnt .iccnt-card__sub { display: block; margin-top: 2px; font-size: 14px; line-height: 1.35; color: var(--iccnt-muted); }

/* ---------- Contact page ---------- */
body.page.contact.ic-cnt .page-content > p:has(> a[href="/help"]),
body.page.contact.ic-cnt .page-content > p:has(a[onclick*="tidio"]),
body.page.contact.ic-cnt .page-content > .wp-block-buttons:empty { display: none !important; }
body.page.contact.ic-cnt .page-content > h2 { font-family: Gordita, sans-serif; font-size: 32px; font-weight: 800; line-height: 1.2; text-align: center; color: var(--iccnt-ink); }
@media (max-width: 767px) { body.page.contact.ic-cnt .page-content > h2 { font-size: 25px; } }
body.ic-cnt .iccnt-form-title { margin: 0 0 14px; font-family: Gordita, sans-serif; font-size: 21px; font-weight: 800; color: var(--iccnt-ink); }
body.page.contact.ic-cnt .af-form { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 22px; border: 1px solid var(--iccnt-line); border-radius: 16px; background: #fff; box-sizing: border-box; }
body.page.contact.ic-cnt .af-form .af-fields { max-width: none !important; }
body.page.contact.ic-cnt .af-form .acf-label label { font-family: Gordita, sans-serif; font-size: 14px; font-weight: 600; color: var(--iccnt-ink); }
body.page.contact.ic-cnt .af-form input[type="text"],
body.page.contact.ic-cnt .af-form input[type="email"],
body.page.contact.ic-cnt .af-form input[type="tel"],
body.page.contact.ic-cnt .af-form input[type="number"],
body.page.contact.ic-cnt .af-form select,
body.page.contact.ic-cnt .af-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #e2d6c3 !important;
  border-radius: 10px !important;
  background: #fff;
  font-size: 16px !important;
  color: var(--iccnt-ink);
  box-shadow: none !important;
}
body.page.contact.ic-cnt .af-form :is(input, select, textarea):focus { border-color: var(--iccnt-gold) !important; outline: none; box-shadow: 0 0 0 3px rgba(211, 174, 118, .25) !important; }
body.page.contact.ic-cnt .af-form .acf-field { border: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
body.page.contact.ic-cnt .af-form .af-submit,
body.page.contact.ic-cnt .af-form [type="submit"] {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  background: var(--iccnt-gold) !important;
  font-family: Gordita, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff !important;
  cursor: pointer;
}
body.page.contact.ic-cnt .af-form [type="submit"]:hover { background: var(--iccnt-ink) !important; }

/* ---------- About / Contact hero titles: the first line was drawn at normal weight ---------- */
body.page.ic-cnt .page-title { font-family: Gordita, sans-serif; font-weight: 800 !important; letter-spacing: .02em; }
body.page.ic-cnt .page-title::first-line { font-weight: 800 !important; }

/* ---------- About page (template-about) in the new look ---------- */
body.page-template-template-about.ic-cnt { --about-ink: #1a202c; }
body.page-template-template-about.ic-cnt section :is(h2, h4) { font-family: Gordita, 'Helvetica Neue', Arial, sans-serif; font-weight: 800; letter-spacing: -.01em; }
/* Dark ink only on the light sections: the reviews band is black (its title went unreadable) */
body.page-template-template-about.ic-cnt :is(.curators, #mission, .logos) :is(h2, h4) { color: var(--about-ink); }
body.page-template-template-about.ic-cnt section .btn.solid {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px !important;
  border-radius: 6px !important;
  font-family: Gordita, sans-serif;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
}
/* Perks bar */
body.page-template-template-about.ic-cnt section:first-of-type > div.grid { border: 1px solid var(--iccnt-line); box-shadow: 0 14px 34px rgba(26, 32, 44, .08) !important; }
/* We are curators: photo as a rounded card (its cut-out edge showed), text column with the
   button under the quote, quote as a cream card with a gold rule */
body.page-template-template-about.ic-cnt .curators figure { width: 100%; border-radius: 18px; overflow: hidden; }
body.page-template-template-about.ic-cnt .curators figure img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 60%; border-radius: 18px !important; }
body.page-template-template-about.ic-cnt .curators h2 { font-size: 40px !important; line-height: 1.1; }
body.page-template-template-about.ic-cnt .curators hr { width: 64px !important; margin: 16px 0 0; border-color: var(--iccnt-gold) !important; }
body.page-template-template-about.ic-cnt .curators h3 { margin: 20px 0 !important; font-family: Gordita, sans-serif; font-size: 22px !important; font-weight: 500; line-height: 1.45 !important; color: var(--iccnt-muted) !important; }
body.page-template-template-about.ic-cnt .curators .text-boulder-500 p { font-size: 17px; line-height: 1.7; color: #2d3748; }
body.page-template-template-about.ic-cnt .curators .blockquote { max-width: none !important; margin-top: 18px !important; padding: 0 !important; background: none !important; }
body.page-template-template-about.ic-cnt .curators .blockquote > div { padding: 18px 22px !important; border: 0 !important; border-left: 3px solid var(--iccnt-gold) !important; border-radius: 0 12px 12px 0 !important; background: var(--iccnt-cream); }
body.page-template-template-about.ic-cnt .curators .blockquote svg { display: none; }
body.page-template-template-about.ic-cnt .curators blockquote { margin: 0; font-size: 22px !important; line-height: 1.4 !important; color: var(--about-ink); }
@media (min-width: 1024px) {
  body.page-template-template-about.ic-cnt .curators > div > div:last-child { padding-left: 24px; }
  body.page-template-template-about.ic-cnt .curators > div > div:last-child > .btn { margin-left: 2rem; }
}
/* A truly unique jamón: text sized for the band */
body.page-template-template-about.ic-cnt section.jamon h2 { font-size: 48px !important; line-height: 1.08; color: #fff; }
body.page-template-template-about.ic-cnt section.jamon p { max-width: 440px; font-size: 18px; line-height: 1.6; color: #e5e7eb; }
/* Mission */
body.page-template-template-about.ic-cnt #mission h2 { font-size: 44px !important; line-height: 1.12; }
body.page-template-template-about.ic-cnt #mission hr { width: 64px !important; border-color: var(--iccnt-gold) !important; }
body.page-template-template-about.ic-cnt #mission h3 { font-size: 24px !important; line-height: 1.5 !important; color: var(--iccnt-muted); }
body.page-template-template-about.ic-cnt #mission figure { border-radius: 18px; overflow: hidden; box-shadow: 0 14px 34px rgba(26, 32, 44, .12) !important; }
body.page-template-template-about.ic-cnt #mission figure img { display: block; width: 100%; }
body.page-template-template-about.ic-cnt #mission h4 { font-size: 32px !important; line-height: 1.15; }
body.page-template-template-about.ic-cnt #mission span.uppercase { font-family: Gordita, sans-serif; font-size: 12px !important; font-weight: 700 !important; letter-spacing: .14em; color: var(--iccnt-gold-dark) !important; }
body.page-template-template-about.ic-cnt #mission p { font-size: 17px; line-height: 1.7 !important; color: #2d3748 !important; }
body.page-template-template-about.ic-cnt #mission .rounded-md.shadow { border: 1px solid var(--iccnt-line); border-radius: 16px !important; box-shadow: none !important; background: var(--iccnt-cream) !important; }
body.page-template-template-about.ic-cnt #mission blockquote { font-size: 24px !important; line-height: 1.5 !important; color: var(--about-ink); }
/* As seen on: quiet logos */
body.page-template-template-about.ic-cnt section.logos img { filter: grayscale(1); opacity: .55; transition: opacity .2s; }
body.page-template-template-about.ic-cnt section.logos img:hover { opacity: .9; }
@media (max-width: 767px) {
  body.page-template-template-about.ic-cnt .curators h2,
  body.page-template-template-about.ic-cnt #mission h2 { font-size: 32px !important; }
  body.page-template-template-about.ic-cnt section.jamon h2 { font-size: 36px !important; }
  body.page-template-template-about.ic-cnt .curators h3 { font-size: 19px !important; }
  body.page-template-template-about.ic-cnt #mission h4 { font-size: 26px !important; }
  body.page-template-template-about.ic-cnt #mission h3,
  body.page-template-template-about.ic-cnt #mission blockquote { font-size: 20px !important; }
  body.page-template-template-about.ic-cnt .curators figure img { aspect-ratio: 4 / 3; }
  body.page-template-template-about.ic-cnt section .btn.solid { width: 100%; }
}
/* The curators photo has a hard cut-out edge (the black sleeve) at its top right: zoom in from
   the bottom-left so the frame only shows the carving */
body.page-template-template-about.ic-cnt .curators figure { position: relative; aspect-ratio: 4 / 5; background: #fff; }
body.page-template-template-about.ic-cnt .curators figure img { position: absolute; inset: 0; height: 100% !important; aspect-ratio: auto; object-fit: cover; object-position: 0% 100%; transform: scale(1.28); transform-origin: 0% 100%; }
@media (max-width: 767px) { body.page-template-template-about.ic-cnt .curators figure { aspect-ratio: 4 / 3; } }
@media (max-width: 767px) {
  body.page-template-template-about.ic-cnt .curators figure img { object-position: 35% 25%; transform: scale(1.1); transform-origin: 35% 25%; }
}
