* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.public {
  margin: 0;
  font-family: var(--font-body, "Open Sans", system-ui, sans-serif);
  color: var(--color-text, #222);
  background: var(--color-bg, #f5f5f5);
  line-height: 1.65;
  transition: background-color 0.2s ease, color 0.2s ease;
}
a { color: var(--color-link, #222); text-decoration: none; }
a:hover { color: var(--color-accent, #d63384); }

.wrap { width: min(1140px, calc(100% - 2rem)); margin: 0 auto; }

.top-social { background: var(--color-top-bar, #f0c14b); }
.social-inner {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.45rem 0;
}
.social-inner a {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.social-inner a:hover { background: #000; color: #fff; }

.site-header { background: var(--color-header, #fff); }
.header-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem 0 1.1rem;
  position: relative;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none;
  max-width: min(100%, 28rem);
}
.site-logo {
  display: block;
  height: clamp(2.75rem, 8vw, 4.25rem);
  width: auto;
  max-width: min(100%, 16rem);
  object-fit: contain;
}
.site-title {
  font-family: var(--font-logo, "Great Vibes", cursive);
  font-size: clamp(2.6rem, 7vw, 4rem);
  font-weight: 400;
  color: var(--color-primary, #111);
  text-decoration: none;
  line-height: 1.1;
  text-align: center;
}
.site-brand.has-logo .site-title {
  font-size: clamp(1.55rem, 4vw, 2.35rem);
}
.theme-toggle {
  border: 0;
  background: rgba(0,0,0,0.75);
  color: #fff;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.75rem;
  line-height: 1;
}
html.theme-dark .site-header,
html.theme-dark .nav-bar,
html.theme-dark .post-card,
html.theme-dark .widget,
html.theme-dark .single,
html.theme-dark .pager {
  background: #111827;
  color: var(--color-text);
  border-color: #1f2937;
}
html.theme-dark .post-title a,
html.theme-dark .site-title { color: #f9fafb; }
html.theme-dark .site-logo { filter: none; }
html.theme-dark .meta,
html.theme-dark .excerpt { color: #9ca3af; }
html.theme-dark .btn-more {
  border-color: #e5e7eb;
  color: #e5e7eb !important;
}
html.theme-dark .site-footer { background: #020617; }
.nav-bar {
  background: #fff;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
}
.nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  position: relative;
  flex-wrap: wrap;
}
.site-search {
  display: flex;
  gap: 0.4rem;
  align-items: stretch;
  width: 100%;
}
.site-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 1px solid #d4d4d8;
  border-radius: 0.55rem;
  padding: 0.55rem 0.8rem;
  font: inherit;
  background: #fff;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.site-search input[type="search"]:focus {
  outline: none;
  border-color: var(--color-accent, #d63384);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent, #d63384) 18%, transparent);
}
.site-search button {
  border: 0;
  background: var(--color-primary, #111);
  color: #fff;
  border-radius: 0.55rem;
  padding: 0.55rem 0.95rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.site-search button:hover {
  background: #000;
  transform: translateY(-1px);
}
.site-search-nav {
  width: auto;
  min-width: 11rem;
  max-width: 16rem;
  margin-left: auto;
}
.site-search-nav input[type="search"] {
  font-size: 0.85rem;
  padding: 0.4rem 0.55rem;
}
.site-search-nav button {
  min-width: 2.25rem;
  padding: 0.4rem 0.55rem;
}
.site-search-lg { max-width: 36rem; margin: 0.75rem 0 0; }
.search-page-head { margin-bottom: 1.25rem; }
.search-page-head h1 { margin: 0 0 0.5rem; }
.search-results { margin-top: 0.5rem; }
.site-search-suggest { position: relative; }
.suggest-box {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 0.25rem);
  z-index: 80;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.55rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
  max-height: 22rem;
  overflow: auto;
  padding: 0.25rem;
}
.suggest-item {
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.4rem;
  text-decoration: none;
  color: inherit;
}
.suggest-item:hover,
.suggest-item.is-active {
  background: #f1f5f9;
}
.suggest-title { font-weight: 650; font-size: 0.92rem; line-height: 1.3; }
.suggest-title mark {
  background: #fef08a;
  color: inherit;
  padding: 0 0.1em;
  border-radius: 0.15rem;
}
.suggest-meta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent, #d63384);
}
.suggest-excerpt {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.35;
}
.suggest-all {
  border-top: 1px solid #e5e7eb;
  margin-top: 0.15rem;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--color-link, #222);
}
html.theme-dark .suggest-box {
  background: #0f172a;
  border-color: #334155;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
html.theme-dark .suggest-item:hover,
html.theme-dark .suggest-item.is-active { background: #1e293b; }
html.theme-dark .suggest-excerpt { color: #94a3b8; }
html.theme-dark .suggest-all { border-top-color: #334155; color: #e2e8f0; }
html.theme-dark .suggest-title mark { background: #854d0e; color: #fef9c3; }
html.theme-dark .site-search input[type="search"] {
  background: #111827;
  border-color: #374151;
  color: #e5e7eb;
}
html.theme-dark .site-search button {
  background: #e5e7eb;
  color: #111827;
}
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav .nav-root {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem;
  position: relative;
}
.primary-nav .nav-item {
  position: relative;
}
.primary-nav .nav-item-row {
  display: flex;
  align-items: center;
}
.primary-nav a {
  display: block;
  padding: 0.85rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #333;
  text-decoration: none;
}
.primary-nav a:hover,
.primary-nav a.active { color: var(--color-accent, #d63384); }
.primary-nav .nav-submenu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0.35rem 0.55rem;
  font-size: 0.75rem;
  line-height: 1;
}
.primary-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  z-index: 40;
  padding: 0.35rem 0;
  flex-direction: column;
  align-items: stretch;
}
.primary-nav .sub-menu a {
  padding: 0.65rem 1rem;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.primary-nav .sub-menu a:hover {
  background: #f8fafc;
}
.primary-nav .nav-item.has-children:hover > .sub-menu,
.primary-nav .nav-item.has-children:focus-within > .sub-menu,
.primary-nav .nav-item.has-children.is-open > .sub-menu {
  display: flex;
}
html.theme-dark .primary-nav a {
  color: #f3f4f6;
}
html.theme-dark .primary-nav a:hover,
html.theme-dark .primary-nav a.active {
  color: #67e8f9;
}
html.theme-dark .primary-nav .sub-menu {
  background: #111827;
  border-color: #374151;
}
html.theme-dark .primary-nav .sub-menu a:hover {
  background: #1f2937;
}
html.theme-dark .nav-bar {
  border-top-color: #374151;
  border-bottom-color: #374151;
}
.nav-toggle {
  display: none;
  border: 0;
  background: #fff;
  color: #111;
  padding: 0.35rem;
  margin: 0;
  cursor: pointer;
  line-height: 0;
  border-radius: 0.35rem;
}
.nav-toggle .hamburger-icon {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
}
html.theme-dark .nav-toggle {
  background: transparent;
  color: #f9fafb;
}

.layout-2col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.75rem;
  padding: 1.75rem 0 3rem;
  align-items: start;
}
.layout-2col.sidebar-left {
  grid-template-columns: 300px minmax(0, 1fr);
}
.layout-2col.sidebar-left .content { order: 2; }
.layout-2col.sidebar-left .sidebar { order: 1; }
.layout-1col {
  padding: 1.75rem 0 3rem;
}
.layout-1col .content { max-width: none; width: 100%; }
.page-news-full .news-full-content {
  width: 100%;
  max-width: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.page-news-full .news-full-content > .blocks {
  width: 100%;
}
.content, .sidebar { min-width: 0; }

.post-card {
  background: #fff;
  padding: 1.5rem 1.5rem 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.post-grid .post-card { margin-bottom: 0; height: 100%; }
.post-title {
  margin: 0 0 0.45rem;
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 700;
}
.post-featured .post-title { font-size: 1.7rem; }
.post-title a { color: #111; }
.post-title a:hover { color: var(--color-accent, #d63384); }
.meta { margin: 0 0 0.8rem; color: #888; font-size: 0.86rem; }
.excerpt { margin: 0 0 1rem; color: #444; }
/* Public buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  padding: 0.7rem 1.2rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  background: var(--color-primary, #111);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}
.btn:hover {
  color: #fff !important;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
}
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 2px solid var(--color-accent, #d63384);
  outline-offset: 2px;
}
.btn.secondary,
.btn-secondary {
  background: #fff;
  color: var(--color-text, #222) !important;
  border-color: #d4d4d8;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.btn.secondary:hover,
.btn-secondary:hover {
  color: var(--color-text, #222) !important;
  border-color: #a1a1aa;
  background: #fafafa;
  filter: none;
}
.btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #222;
  border-radius: 0.5rem;
  color: #222 !important;
  padding: 0.5rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-more:hover {
  background: #111;
  color: #fff !important;
  border-color: #111;
}
.post-cat { margin: 1rem 0 0; font-size: 0.85rem; color: #666; }
.post-cat a { color: #666; }
.thumb { display: block; margin: 0 0 1rem; }
.thumb img, .featured {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
}

.single {
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.single h1 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.2;
}
.prose { font-size: 1.02rem; }
.prose img { max-width: 100%; height: auto; }
.prose pre {
  overflow-x: auto;
  padding: 1rem;
  background: #1b2430;
  color: #eef2f6;
}
.prose blockquote {
  margin-left: 0;
  padding-left: 1rem;
  border-left: 3px solid var(--color-accent, #d63384);
  color: #555;
}

.widget {
  background: #fff;
  padding: 1.1rem 1.15rem 1.2rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.widget h3 {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-body, inherit);
}
.post-title, .single h1 {
  font-family: var(--font-heading, inherit);
}
.about-img {
  width: 140px;
  height: auto;
  display: block;
  margin: 0 0 0.85rem;
}
.recent-list, .cat-list { list-style: none; margin: 0; padding: 0; }
.recent-list li, .cat-list li {
  margin: 0;
  padding: 0.45rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.92rem;
}
.post-tags {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.9rem;
}
.post-tags-label { color: #888; margin-right: 0.15rem; }
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tag-chip {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fafafa;
  color: #444;
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1.3;
}
.tag-chip:hover { border-color: #999; color: #111; }
.tag-pages { margin-top: 1.5rem; background: #fff; padding: 1rem 1.1rem; }
.tag-page-list { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.tag-page-list li { padding: 0.35rem 0; border-bottom: 1px solid #eee; }
.tag-picker .tag-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin: 0.35rem 0 0.65rem;
}
.pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  font-weight: 600;
  background: #fff;
  padding: 0.9rem 1rem;
}
.empty {
  background: #fff;
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.catalog-head { margin-bottom: 1.35rem; }
.catalog-head h1 {
  margin: 0 0 0.65rem;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}
.breadcrumb { margin: 0 0 0.75rem; font-size: 0.88rem; color: #777; }

/* Category full-bleed hero */
.category-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(14rem, 38vw, 22rem);
  display: grid;
  align-items: center;
  justify-items: center;
  margin: 0 0 1.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #3f3f46 55%, #18181b 100%);
  text-align: center;
}
.category-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.02);
}
.category-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.42) 45%, rgba(0,0,0,0.72) 100%);
}
.category-hero.no-media .category-hero-scrim {
  background:
    linear-gradient(120deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.15) 100%);
}
.category-hero-inner {
  position: relative;
  z-index: 2;
  padding: 2.5rem 1rem 2.15rem;
  color: #fff;
  max-width: 44rem;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.category-hero-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  margin: 0 0 0.65rem;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.72);
}
.category-hero-crumb a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.category-hero-crumb a:hover {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.55);
}
.category-hero-inner h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
.category-hero-desc {
  margin: 0.75rem auto 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
  max-width: 34rem;
}
.catalog-category-page { padding-top: 0.25rem; }
.catalog-cat-nav-below {
  margin: 0 0 1.25rem !important;
}

.catalog-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
}
.catalog-cat-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border: 1px solid #e4e4e7;
  border-radius: 999px;
  color: #444;
  text-decoration: none;
  font-size: 0.86rem;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.catalog-cat-nav a.is-active,
.catalog-cat-nav a:hover {
  border-color: var(--color-primary, #111);
  color: #111;
  background: #fafafa;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.product-card {
  background: #fff;
  padding: 0.75rem;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1.15rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}
.product-thumb {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f0f0f0;
  margin: 0 0 0.85rem;
  border-radius: 0.85rem;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease;
}
.product-card:hover .product-thumb img {
  transform: scale(1.04);
}
.product-thumb-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eee, #f7f7f7);
}
.product-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.3;
  padding: 0 0.15rem;
}
.product-card .excerpt {
  padding: 0 0.15rem;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
}
.product-cat { margin: 0 0 0.35rem; font-size: 0.8rem; color: #777; padding: 0 0.15rem; }
.product-price {
  margin: 0.35rem 0 0.15rem;
  padding: 0 0.15rem;
  font-weight: 700;
  font-size: 1.05rem;
}
html.theme-dark .product-card,
html.theme-dark .empty {
  background: #111827;
  border-color: #1f2937;
}
html.theme-dark .catalog-cat-nav a {
  background: #0b1220;
  border-color: #334155;
  color: #e5e7eb;
}
html.theme-dark .catalog-cat-nav a.is-active,
html.theme-dark .catalog-cat-nav a:hover {
  background: #1f2937;
  color: #fff;
  border-color: #64748b;
}
@media (max-width: 640px) {
  .category-hero { min-height: 12.5rem; }
  .category-hero-inner { padding: 1.75rem 0 1.5rem; }
}
.product-price-lg { font-size: 1.35rem; }
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.75rem;
  margin-bottom: 1.75rem;
  align-items: start;
}

/* E-commerce product gallery */
.product-gallery {
  display: grid;
  gap: 0.75rem;
}
.product-gallery-main {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  background: #f3f4f6;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  aspect-ratio: 1;
}
.product-gallery-main > img,
.product-gallery-main img[data-gallery-main] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  background: #f3f4f6;
}
.product-hero-img {
  width: 100%;
  height: auto;
  display: block;
  background: #f3f3f3;
  border-radius: 0.85rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}
.product-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #111;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15);
  transition: background 0.15s ease, transform 0.15s ease;
}
.product-gallery-nav:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.product-gallery-prev { left: 0.65rem; }
.product-gallery-next { right: 0.65rem; }
.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.25rem, 1fr));
  gap: 0.5rem;
}
.product-gallery-thumb {
  appearance: none;
  border: 2px solid transparent;
  border-radius: 0.7rem;
  padding: 0;
  overflow: hidden;
  background: #f3f4f6;
  cursor: pointer;
  aspect-ratio: 1;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-gallery-thumb.is-active,
.product-gallery-thumb:hover {
  border-color: var(--color-primary, #111);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary, #111) 18%, transparent);
}
.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.product-lightbox[hidden] { display: none !important; }
.product-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(4px);
}
.product-lightbox img {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 920px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.product-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  border: 0;
  background: rgba(255,255,255,0.95);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  font-size: 1.5rem;
  cursor: pointer;
}
.product-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  font-size: 1.5rem;
  cursor: pointer;
}
.product-lightbox-nav.prev { left: 1rem; }
.product-lightbox-nav.next { right: 1rem; }
body.product-lightbox-open { overflow: hidden; }
html.theme-dark .product-gallery-main,
html.theme-dark .product-gallery-thumb {
  background: #0b1220;
}
@media (max-width: 900px) {
  .product-hero { grid-template-columns: 1fr; }
}
.product-hero-copy h1 {
  margin: 0 0 0.4rem;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.product-hero-copy .muted {
  margin: 0 0 0.65rem;
  color: #71717a;
  font-size: 0.9rem;
}
.product-hero-copy .excerpt {
  margin: 0 0 1.15rem;
  color: #3f3f46;
  font-size: 1rem;
  line-height: 1.55;
}
.catalog-product .breadcrumb {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: #71717a;
}
.catalog-product .breadcrumb a { color: #52525b; }
.catalog-product .breadcrumb a:hover { color: var(--color-accent, #d63384); }

.inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.15rem 0 0.25rem;
}
.inquiry-actions .btn {
  min-height: 2.75rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
}
.btn-whatsapp {
  background: #25d366 !important;
  border-color: #1ebe57 !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28) !important;
}
.btn-whatsapp:hover {
  background: #1ebe57 !important;
  color: #fff !important;
  filter: none;
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.36) !important;
}
html.theme-dark .btn {
  background: #f3f4f6;
  color: #111827 !important;
}
html.theme-dark .btn:hover { color: #111827 !important; }
html.theme-dark .btn.secondary,
html.theme-dark .btn-secondary {
  background: #1f2937;
  color: #e5e7eb !important;
  border-color: #334155;
}
html.theme-dark .btn-whatsapp {
  background: #25d366 !important;
  color: #fff !important;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}
.flash-ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 0.75rem 0.9rem;
  margin: 0 0 1rem;
  border-radius: 0.5rem;
}
.error, .form-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 0.75rem 0.9rem;
  margin: 0 0 1rem;
  border-radius: 0.5rem;
}

/* —— Site forms —— */
.site-form-card {
  margin: 1.5rem 0;
  padding: 1.35rem 1.4rem 1.5rem;
  background: linear-gradient(165deg, #fff 0%, #faf9f7 100%);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 1rem;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
  max-width: 34rem;
}
.site-form-card-wide { max-width: 40rem; }
.site-form-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  letter-spacing: -0.01em;
}
.site-form-desc {
  margin: 0 0 1.1rem;
  color: color-mix(in srgb, var(--color-text) 72%, transparent);
  font-size: 0.95rem;
  line-height: 1.5;
}
.site-form {
  display: grid;
  gap: 0.85rem;
}
.site-form-field label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.88rem;
}
.site-form-field label span { color: color-mix(in srgb, var(--color-text) 88%, transparent); }
.site-form-field input,
.site-form-field textarea,
.site-form-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d4d4d8;
  border-radius: 0.65rem;
  background: #fff;
  color: inherit;
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.site-form-field input:focus,
.site-form-field textarea:focus,
.site-form-field select:focus {
  outline: none;
  border-color: var(--color-accent, #d63384);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent, #d63384) 22%, transparent);
}
.site-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.site-form-check {
  display: flex !important;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500 !important;
}
.site-form-check input { width: auto !important; margin-top: 0.2rem; }
.site-form-captcha input { max-width: 8rem; }
.site-form-actions { margin-top: 0.25rem; }
.site-form-submit {
  min-width: 9rem;
  transition: transform 0.15s ease, filter 0.15s ease, opacity 0.15s ease;
}
.site-form-submit:hover { transform: translateY(-1px); }
.site-form-submit.is-loading { opacity: 0.7; pointer-events: none; }
.site-form-status {
  margin: 0.15rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: 0.55rem;
  font-size: 0.92rem;
}
.site-form-status.is-ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.site-form-status.is-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Quote modal */
body.quote-modal-open { overflow: hidden; }
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.quote-modal[hidden] { display: none !important; }
.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  animation: quoteFade 0.22s ease;
}
.quote-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 26.5rem);
  max-height: min(92vh, 40rem);
  overflow: auto;
  background: #fff;
  border-radius: 1.1rem;
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.28);
  animation: quotePop 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.quote-modal-dialog h2 {
  margin: 0 0 0.2rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
}
.quote-modal-product {
  margin: 0 0 1rem;
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
  font-size: 0.92rem;
}
.quote-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
  padding: 0.2rem 0.45rem;
  border-radius: 0.4rem;
}
.quote-modal-close:hover { background: #f1f5f9; color: #0f172a; }
@keyframes quoteFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes quotePop {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
html.theme-dark .site-form-card,
html.theme-dark .quote-modal-dialog {
  background: #111827;
  border-color: #1f2937;
}
html.theme-dark .site-form-field input,
html.theme-dark .site-form-field textarea,
html.theme-dark .site-form-field select {
  background: #0b1220;
  border-color: #334155;
  color: #e5e7eb;
}
@media (max-width: 640px) {
  .site-form-row-2 { grid-template-columns: 1fr; }
}

.site-footer {
  background: #111;
  color: rgba(255,255,255,0.85);
  padding: 1.35rem 0;
  font-size: 0.9rem;
}
.site-footer p { margin: 0; text-align: center; }

@media (max-width: 900px) {
  .layout-2col { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .product-hero { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .header-bar {
    justify-content: center;
    padding: 1.1rem 2.75rem 1rem 0.25rem; /* room on right for hamburger; keep title centered */
  }
  .site-title {
    text-align: center;
    font-size: clamp(2rem, 8vw, 2.85rem);
  }
  .site-logo {
    height: clamp(2.25rem, 9vw, 3.25rem);
    max-width: min(100%, 11rem);
  }
  .site-brand.has-logo .site-title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }
  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }
  .nav-bar { border-top: 0; }
  body:not(.nav-open) .nav-bar { border-bottom-color: transparent; }
  .primary-nav { display: none; width: 100%; }
  body.nav-open .primary-nav { display: block; }
  body.nav-open .nav-bar { border-top: 1px solid #ececec; }
  .primary-nav .nav-root { flex-direction: column; align-items: stretch; padding: 0.25rem 0 0.65rem; }
  .primary-nav a { padding: 0.75rem 0.15rem; }
  .primary-nav .nav-item-row { justify-content: space-between; width: 100%; }
  .primary-nav .nav-submenu-toggle { display: inline-flex; color: #333; }
  html.theme-dark .primary-nav .nav-submenu-toggle { color: #f3f4f6; }
  .primary-nav .sub-menu {
    position: static;
    box-shadow: none;
    border: 0;
    border-left: 2px solid #e5e7eb;
    margin: 0 0 0.35rem 0.5rem;
    padding: 0;
    background: transparent;
    display: none;
  }
  .primary-nav .nav-item.has-children:hover > .sub-menu,
  .primary-nav .nav-item.has-children:focus-within > .sub-menu {
    display: none;
  }
  .primary-nav .nav-item.has-children.is-open > .sub-menu { display: flex; }
  html.theme-dark .primary-nav .sub-menu { border-left-color: #374151; background: transparent; }
  .nav-inner { justify-content: stretch; }
  .site-search-nav {
    width: 100%;
    max-width: none;
    margin: 0.35rem 0 0.65rem;
  }
}

/* Desktop: force centered brand, never show hamburger */
@media (min-width: 901px) {
  .header-bar { justify-content: center; }
  .site-brand, .site-title { text-align: center; }
  .nav-toggle { display: none !important; }
}

/* —— News homepage —— */
.news-home { padding: 1rem 0 3rem; }
.news-ticker {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  background: #111;
  color: #fff;
  padding: 0.55rem 0.85rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.news-ticker-label {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-accent, #d63384);
  padding: 0.2rem 0.45rem;
  z-index: 1;
}
.news-ticker-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 1.25rem, #000 calc(100% - 1.25rem), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 1.25rem, #000 calc(100% - 1.25rem), transparent);
}
.news-ticker-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  width: max-content;
  will-change: transform;
  animation: news-ticker-scroll var(--ticker-duration, 40s) linear infinite;
}
.news-ticker:hover .news-ticker-list,
.news-ticker:focus-within .news-ticker-list {
  animation-play-state: paused;
}
.news-ticker-list li {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding-right: 1.25rem;
}
.news-ticker-list li::after {
  content: "•";
  margin-left: 1.25rem;
  opacity: 0.45;
  font-weight: 700;
}
.news-ticker-list a { color: #fff; font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.news-ticker-list a:hover { color: #fde68a; }
@keyframes news-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .news-ticker-list {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    gap: 0.35rem 1rem;
  }
  .news-ticker-list li { padding-right: 0; }
  .news-ticker-list li::after { display: none; }
  .news-ticker-viewport {
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
  }
}
.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.75rem;
  align-items: start;
}
.news-layout.sidebar-left {
  grid-template-columns: 300px minmax(0, 1fr);
}
.news-layout.sidebar-left .news-main { order: 2; }
.news-layout.sidebar-left .news-side { order: 1; }
.news-layout.no-sidebar { grid-template-columns: 1fr; }
.news-main { min-width: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.news-side .sidebar { margin: 0; }
.news-hero {
  background: #fff;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid #ececec;
}
.news-hero-media { display: block; min-height: 100%; }
.news-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}
.news-hero-body { padding: 1.25rem 1.35rem; }
.news-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent, #d63384);
  margin-bottom: 0.4rem;
}
.news-hero-title {
  font-family: var(--font-heading, Georgia, serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  margin: 0 0 0.5rem;
  font-weight: 700;
}
.news-hero-title a { color: inherit; }
.news-meta { margin: 0; color: #888; font-size: 0.82rem; }
.news-excerpt { margin: 0.65rem 0 1rem; color: #444; line-height: 1.55; }
.news-secondary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.news-card {
  background: #fff;
  border: 1px solid #ececec;
  padding: 0 0 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.news-card .news-kicker,
.news-card .news-card-title,
.news-card .news-meta { padding-left: 0.85rem; padding-right: 0.85rem; }
.news-card-media { display: block; }
.news-card-media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.news-card-title {
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 0.35rem 0 0;
  font-weight: 700;
}
.news-card-title a { color: #111; }
.news-card-title a:hover { color: var(--color-accent, #d63384); }
.news-card.compact .news-card-title { font-size: 0.95rem; }
.news-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid #111;
  margin-bottom: 0.85rem;
  padding-bottom: 0.35rem;
}
.news-section-head h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.news-section-more {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #666;
}
.news-section-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.news-latest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #ececec;
}
.news-latest-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f0f0f0;
  align-items: baseline;
}
.news-latest-list li:last-child { border-bottom: 0; }
.news-latest-list a {
  font-weight: 700;
  color: #111;
  flex: 1;
  min-width: 0;
}
.news-latest-list a:hover { color: var(--color-accent, #d63384); }
html.theme-dark .news-hero,
html.theme-dark .news-card,
html.theme-dark .news-latest-list {
  background: #111827;
  border-color: #1f2937;
}
html.theme-dark .news-card-title a,
html.theme-dark .news-hero-title a,
html.theme-dark .news-latest-list a { color: #f9fafb; }
html.theme-dark .news-excerpt { color: #9ca3af; }
html.theme-dark .news-section-head { border-bottom-color: #e5e7eb; }
html.theme-dark .news-section-head h2 { color: #f9fafb; }

/* Block content on public site */
.blocks { display: flex; flex-direction: column; gap: 1.1rem; }
.block-image img { max-width: 100%; height: auto; display: block; }
.block-image figcaption { font-size: 0.85rem; color: #666; margin-top: 0.35rem; }
.block-image-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}
.block-image-text.image-right { direction: rtl; }
.block-image-text.image-right > * { direction: ltr; }
.block-image-text img { width: 100%; height: auto; display: block; }
.block-quote {
  margin: 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--color-accent, #d63384);
  background: #f8f8f8;
  font-size: 1.15rem;
}
html.theme-dark .block-quote { background: #0f172a; }
.block-divider { border: 0; border-top: 1px solid #ddd; margin: 0.5rem 0; }
.block-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.block-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.home-blocks .blocks { gap: 1.5rem; }
.block-section-title { margin: 0 0 0.75rem; font-family: var(--font-heading); font-size: 1.5rem; }

/* Hero / image sliders */
.block-hero-slider, .block-image-slider {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}
/* Full-bleed: use 100% of parent (parent must be unguttered). Avoid 100vw —
   it includes the scrollbar and causes a one-sided gap. */
.block-image-slider.is-full-width {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.block-image-slider.is-full-width .image-slider-track,
.block-image-slider.is-full-width .img-slide {
  background: transparent;
}
.block-image-slider.is-full-width .img-slide {
  width: 100%;
}
.block-image-slider.is-full-width .img-slide a,
.block-image-slider.is-full-width .img-slide picture {
  display: block;
  width: 100%;
  line-height: 0;
}
/* Do not set max-height here — it can shrink used width and leave a side gap */
.block-image-slider.is-full-width .img-slide img,
.block-image-slider.is-full-width.height-sm .img-slide img,
.block-image-slider.is-full-width.height-md .img-slide img,
.block-image-slider.is-full-width.height-lg .img-slide img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: unset;
}

/* CTA banner block */
.block-cta {
  border-radius: 0.75rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
}
.block-cta-inner { max-width: 40rem; margin: 0 auto; }
.block-cta-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.85;
}
.block-cta-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-heading, Georgia, serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.block-cta-text {
  margin: 0 0 1.15rem;
  line-height: 1.55;
  opacity: 0.88;
}
.block-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.block-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 1px solid transparent;
}
.block-cta-dark {
  background: #1E242B;
  color: #fff;
}
.block-cta-dark .block-cta-title,
.block-cta-dark .block-cta-text,
.block-cta-dark .block-cta-eyebrow { color: #fff; }
.block-cta-dark .block-cta-btn-primary {
  background: #C59B27;
  color: #1E242B !important;
}
.block-cta-dark .block-cta-btn-secondary {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,0.35);
}
.block-cta-light {
  background: #F1EEE7;
  color: #1E242B;
  border: 1px solid #E6E2DA;
}
.block-cta-light .block-cta-btn-primary {
  background: #C59B27;
  color: #1E242B !important;
}
.block-cta-light .block-cta-btn-secondary {
  background: transparent;
  color: #1E242B !important;
  border-color: #E6E2DA;
}
.block-cta-gold {
  background: #C59B27;
  color: #1E242B;
}
.block-cta-gold .block-cta-btn-primary {
  background: #1E242B;
  color: #fff !important;
}
.block-cta-gold .block-cta-btn-secondary {
  background: transparent;
  color: #1E242B !important;
  border-color: rgba(30,36,43,0.35);
}

/* Contact section: info left, form right */
.block-contact-section { margin: 0.5rem 0 1.5rem; }
.block-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}
.block-contact-info {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
}
.block-contact-company {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #C59B27;
}
.block-contact-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-heading, Georgia, serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  color: #1E242B;
}
.block-contact-intro {
  margin: 0 0 1.15rem;
  color: #5B6570;
  line-height: 1.55;
}
.block-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}
.block-contact-item {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.65rem;
  align-items: start;
}
.block-contact-ico {
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(197, 155, 39, 0.16);
  color: #C59B27;
  font-size: 0.85rem;
}
.block-contact-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.15rem;
  font-weight: 700;
}
.block-contact-item a {
  color: #1E242B;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.block-contact-item a:hover { border-bottom-color: #C59B27; }
.block-contact-wa { margin: 1.25rem 0 0; }
.block-contact-form-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-heading, Georgia, serif);
  font-size: 1.25rem;
  color: #1E242B;
}
.block-contact-form .site-form-card {
  margin: 0;
  width: 100%;
  max-width: none;
}
@media (max-width: 800px) {
  .block-contact-grid { grid-template-columns: 1fr; }
}

/* Icon + text feature grid */
.block-icon-text {
  margin: 1.25rem 0 1.75rem;
}
.block-icon-text-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
}
.block-icon-text-intro {
  margin: 0 0 1.15rem;
  color: #5B6570;
  max-width: 40rem;
}
.block-icon-text-grid {
  display: grid;
  gap: 1rem;
}
.block-icon-text.cols-2 .block-icon-text-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.block-icon-text.cols-3 .block-icon-text-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.block-icon-text.cols-4 .block-icon-text-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.block-icon-text-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.block-icon-text-cards .block-icon-text-item {
  background: #fff;
  border: 1px solid #E6E2DA;
  border-radius: 0.55rem;
  padding: 1.15rem 1.05rem 1.2rem;
  box-shadow: 0 10px 28px rgba(30, 36, 43, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.block-icon-text-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(30, 36, 43, 0.1);
}
.block-icon-text-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: rgba(197, 155, 39, 0.16);
  color: #C59B27;
  margin-bottom: 0.45rem;
}
.block-icon-text-ico svg { display: block; }
.block-icon-text-item-title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1E242B;
}
.block-icon-text-item-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #5B6570;
}
html.theme-dark .block-icon-text-cards .block-icon-text-item {
  background: #1C1E1A;
  border-color: #2E322C;
  box-shadow: none;
}
html.theme-dark .block-icon-text-item-title { color: #EDEAE4; }
html.theme-dark .block-icon-text-intro,
html.theme-dark .block-icon-text-item-text { color: #A8A29A; }
html.theme-dark .block-icon-text-ico {
  background: rgba(205, 181, 137, 0.18);
  color: #CDB589;
}
@media (max-width: 900px) {
  .block-icon-text.cols-4 .block-icon-text-grid,
  .block-icon-text.cols-3 .block-icon-text-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .block-icon-text.cols-2 .block-icon-text-grid,
  .block-icon-text.cols-3 .block-icon-text-grid,
  .block-icon-text.cols-4 .block-icon-text-grid {
    grid-template-columns: 1fr;
  }
}

.block-image-slider.is-full-width .block-section-title {
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}
.block-image-slider .img-slide picture,
.block-image-slider .img-slide picture img {
  display: block;
  width: 100%;
  height: 100%;
}
.block-hero-slider,
.block-image-slider {
  background: #0f172a;
}
.hero-slider-track, .image-slider-track { position: relative; }
.hero-slide, .img-slide {
  display: none;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  min-height: 280px;
  background: #111827;
  color: #f9fafb;
}
.hero-slide.is-active { display: grid; }
.img-slide.is-active { display: block; }

/* Image slider: stacked crossfade + soft zoom */
.block-image-slider .image-slider-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
.block-image-slider .img-slide {
  display: block;
  grid-area: 1 / 1;
  width: 100%;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.85s step-end;
}
.block-image-slider .img-slide.is-active {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear;
}
.block-image-slider .img-slide a,
.block-image-slider .img-slide picture {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.block-image-slider .img-slide img {
  transform: scale(1.06);
  transition: transform 6.5s ease-out;
  will-change: transform;
}
.block-image-slider .img-slide.is-active img {
  transform: scale(1);
}
.block-image-slider .img-slide figcaption {
  opacity: 0;
  transform: translateY(0.4rem);
  transition: opacity 0.55s ease 0.15s, transform 0.55s ease 0.15s;
}
.block-image-slider .img-slide.is-active figcaption {
  opacity: 1;
  transform: translateY(0);
}
.block-image-slider .slider-dots button {
  transition: transform 0.2s ease, background 0.25s ease, width 0.25s ease;
}
.block-image-slider .slider-dots button.is-active {
  width: 1.15rem;
  border-radius: 999px;
}
.block-image-slider .slider-prev,
.block-image-slider .slider-next {
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}
.block-image-slider .slider-prev:hover,
.block-image-slider .slider-next:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.06);
}
@media (prefers-reduced-motion: reduce) {
  .block-image-slider .img-slide,
  .block-image-slider .img-slide.is-active,
  .block-image-slider .img-slide img,
  .block-image-slider .img-slide.is-active img,
  .block-image-slider .img-slide figcaption,
  .block-image-slider .img-slide.is-active figcaption {
    transition: none !important;
    transform: none !important;
  }
}

.hero-slide-media, .img-slide a, .img-slide img {
  display: block; width: 100%; height: 100%;
}
.hero-slide-media img, .img-slide img {
  width: 100%; height: 100%; object-fit: cover; min-height: 280px; max-height: 420px;
  display: block;
}
.hero-slide-placeholder {
  min-height: 280px; background: linear-gradient(135deg, #1f2937, #374151);
}
.hero-slide-body { padding: 1.35rem 1.5rem; display: flex; flex-direction: column; justify-content: center; gap: 0.45rem; }
.hero-slide-title { margin: 0; font-family: var(--font-heading); font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.2; }
.hero-slide-title a { color: inherit; text-decoration: none; }
.hero-slide .news-kicker { color: var(--color-accent, #f472b6); }
.hero-slide .news-excerpt { color: #cbd5e1; margin: 0; }
.hero-slide .news-meta { color: #94a3b8; margin: 0; }
.block-image-slider.height-sm .img-slide img { min-height: 180px; max-height: 220px; }
.block-image-slider.height-md .img-slide img { min-height: 260px; max-height: 360px; }
.block-image-slider.height-lg .img-slide img { min-height: 340px; max-height: 480px; }

.social-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.social-list a { text-decoration: none; }
.widget-body :first-child { margin-top: 0; }
.widget-body :last-child { margin-bottom: 0; }

/* Gallery grid + lightbox */
.block-gallery .gallery-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.block-gallery.cols-2 .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.block-gallery.cols-4 .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #e2e8f0;
  aspect-ratio: 1 / 1;
  text-decoration: none;
  color: inherit;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.25s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.4rem 0.55rem; font-size: 0.8rem;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  color: #fff;
}
.gallery-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(2, 6, 23, 0.88);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.gallery-lightbox[hidden] { display: none !important; }
body.gallery-lb-open { overflow: hidden; }
.gallery-lb-figure { margin: 0; max-width: min(96vw, 1100px); max-height: 90vh; text-align: center; }
.gallery-lb-figure img {
  max-width: 100%; max-height: 82vh; object-fit: contain;
  border-radius: 0.35rem; box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.gallery-lb-figure figcaption { color: #e2e8f0; margin-top: 0.65rem; font-size: 0.95rem; }
.gallery-lb-close, .gallery-lb-prev, .gallery-lb-next {
  position: absolute; border: 0; background: rgba(15,23,42,.7); color: #fff;
  cursor: pointer; border-radius: 999px; width: 2.5rem; height: 2.5rem;
  font-size: 1.5rem; line-height: 1; z-index: 2;
}
.gallery-lb-close { top: 1rem; right: 1rem; }
.gallery-lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.gallery-lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .block-gallery .gallery-grid,
  .block-gallery.cols-4 .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.img-slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.65rem 1rem; background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: #fff; font-size: 0.9rem;
}
.img-slide { position: relative; }
.slider-prev, .slider-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; border: 0; width: 2.25rem; height: 2.25rem; border-radius: 999px;
  background: rgba(15, 23, 42, 0.65); color: #fff; cursor: pointer; font-size: 1.35rem; line-height: 1;
}
.slider-prev { left: 0.65rem; }
.slider-next { right: 0.65rem; }
.slider-dots {
  position: absolute; left: 0; right: 0; bottom: 0.65rem;
  display: flex; justify-content: center; gap: 0.4rem; z-index: 3;
}
.slider-dots button {
  width: 0.55rem; height: 0.55rem; border-radius: 999px; border: 0;
  background: rgba(255,255,255,.45); cursor: pointer; padding: 0;
}
.slider-dots button.is-active { background: #fff; }

.posts-grid {
  display: grid;
  gap: 1rem;
}
.posts-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.posts-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.posts-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.block-post-carousel { position: relative; }
.carousel-viewport {
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.carousel-track {
  display: flex; gap: 1rem; padding: 0.25rem 0.15rem 0.75rem;
}
.carousel-card {
  flex: 0 0 min(260px, 78vw);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.65rem;
  overflow: hidden;
}
html.theme-dark .carousel-card { background: #111827; border-color: #1f2937; }
.block-post-carousel .slider-prev,
.block-post-carousel .slider-next {
  background: rgba(15, 23, 42, 0.8);
}

@media (max-width: 900px) {
  .news-layout { grid-template-columns: 1fr; }
  .news-hero { grid-template-columns: 1fr; }
  .news-hero-media img { min-height: 200px; max-height: 280px; }
  .news-secondary { grid-template-columns: 1fr; }
  .news-section-grid { grid-template-columns: 1fr 1fr; }
  .block-image-text { grid-template-columns: 1fr; }
  .block-image-text.image-right { direction: ltr; }
  .hero-slide.is-active { grid-template-columns: 1fr; }
  .posts-grid.cols-2, .posts-grid.cols-3, .posts-grid.cols-4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .posts-grid.cols-2, .posts-grid.cols-3, .posts-grid.cols-4 {
    grid-template-columns: 1fr;
  }
}
