:root {
  --am-orange: #ff9800;
  --am-orange-dark: #e18700;
  --am-blue: #0d6efd;
  --am-blue-dark: #0b5ed7;
  --am-text-dark: #1f2937;
  --am-text-medium: #374151;
  --am-text-soft: #6b7280;
  --am-card-bg: #f3f4f6;
  --am-card-bg-hover: #eef1f4;
  --am-card-border: rgba(0, 0, 0, 0.06);
  --am-card-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  --am-card-shadow-hover: 0 14px 28px rgba(0, 0, 0, 0.08);
  --am-dropdown-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.theme-preset-artemarziale {
  --public-primary: var(--am-orange);
  --public-accent: var(--am-blue);
  --public-navbar-bg: var(--am-orange);
  --public-navbar-text: #ffffff;
  --public-footer-bg: #111827;
  --public-footer-text: #e5e7eb;
  --public-muted-bg: #f3f4f6;
  --public-radius: 18px;
  --public-shadow: var(--am-card-shadow);
}

body {
  color: var(--am-text-dark);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

p {
  color: var(--am-text-medium);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #111827;
}

.public-header {
  background-color: var(--am-orange);
}

.public-navbar {
  background-color: var(--am-orange) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  min-height: var(--public-navbar-min-height);
}

.public-navbar .navbar-brand {
  color: rgba(255, 255, 255, 0.98) !important;
  font-weight: 700;
  font-size: 1.5rem;
  margin-left: 0.65rem;
  margin-right: 1.5rem;
  white-space: nowrap;
}

.public-navbar .public-logo {
  width: var(--public-logo-size);
  max-width: var(--public-logo-size);
  height: var(--public-logo-size);
  max-height: var(--public-logo-size);
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
}

.public-navbar .nav-link {
  color: rgba(255, 255, 255, 0.96) !important;
  font-weight: 600;
  padding-left: 0.7rem;
  padding-right: 0.7rem;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.public-navbar .nav-link:hover,
.public-navbar .nav-link:focus,
.public-navbar .nav-link.active {
  color: #ffffff !important;
  opacity: 1;
}

.public-navbar .btn-dark {
  background-color: #111827;
  border-color: #111827;
}

.public-navbar .dropdown-menu {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: var(--am-dropdown-shadow);
  min-width: 240px;
  padding: 0.55rem;
}

.public-navbar .dropdown-item {
  border-radius: 10px;
  color: var(--am-text-dark);
  font-weight: 600;
  padding: 0.72rem 1rem;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.public-navbar .dropdown-item:hover,
.public-navbar .dropdown-item:focus {
  background-color: #fff3df;
  color: #8a4f00;
  transform: translateX(2px);
}

.public-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
}

.public-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.18);
}

.home-hero-split.bg-dark {
  background: linear-gradient(135deg, var(--am-blue) 0%, var(--am-blue-dark) 100%) !important;
  color: #ffffff !important;
}

.theme-preset-artemarziale .site-builder-region--hero {
  background: var(--public-hero-bg, linear-gradient(135deg, var(--am-blue) 0%, var(--am-blue-dark) 100%));
  color: var(--public-hero-text, #ffffff);
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.theme-preset-artemarziale .site-builder-region--hero .site-builder-region__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.theme-preset-artemarziale .site-builder-region--hero h1,
.theme-preset-artemarziale .site-builder-region--hero h2,
.theme-preset-artemarziale .site-builder-region--hero h3,
.theme-preset-artemarziale .site-builder-region--hero p {
  color: #ffffff;
}

.theme-preset-artemarziale .site-builder-region--hero h1 {
  font-size: clamp(2.45rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
}

.theme-preset-artemarziale .site-builder-region--hero p {
  font-size: 1.25rem;
  line-height: 1.45;
}

.theme-preset-artemarziale .site-builder-region--hero .site-builder-block + .site-builder-block {
  margin-top: 0;
}

.theme-preset-artemarziale .site-builder-region--hero .site-builder-image {
  border-radius: 18px;
  width: 100%;
  box-shadow: none;
}

.theme-preset-artemarziale .site-builder-region--hero .site-builder-cta {
  border-color: #ffffff;
  background: transparent;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0.65rem 1.75rem;
}

.theme-preset-artemarziale .site-builder-region--hero .site-builder-cta:hover,
.theme-preset-artemarziale .site-builder-region--hero .site-builder-cta:focus {
  background: #ffffff;
  color: var(--am-blue);
}

.home-hero-split .home-hero-split__lead {
  background: transparent;
  border: 0 !important;
}

.home-hero-split .display-6 {
  color: #ffffff !important;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
}

.home-hero-split .lead {
  color: #ffffff !important;
  font-size: 1.25rem;
  line-height: 1.45;
  max-width: 680px;
}

.home-hero-split .home-hero-split__lead .d-flex.flex-wrap {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.65rem !important;
}

.home-hero-split .btn-outline-light {
  display: inline-flex;
  font-size: 1.25rem;
  justify-content: center;
  padding: 0.65rem 1.75rem;
}

.home-hero-split .btn-outline-light {
  border-width: 1.5px;
  font-weight: 600;
}

.home-hero-split .btn-outline-light:hover,
.home-hero-split .btn-outline-light:focus {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--am-blue) !important;
}

.home-hero-split .rounded-4.overflow-hidden {
  border-radius: 18px !important;
}

.home-feature-card {
  background: var(--am-card-bg) !important;
  border-color: var(--am-card-border) !important;
  border-radius: 18px !important;
  box-shadow: var(--am-card-shadow);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-feature-card:hover {
  background: var(--am-card-bg-hover) !important;
  box-shadow: var(--am-card-shadow-hover);
  transform: translateY(-3px);
}

.theme-preset-artemarziale .site-builder-feature-grid-section {
  padding: 1rem 0;
}

.theme-preset-artemarziale .site-builder-feature-grid-section .site-builder-section-heading {
  margin-bottom: 1.5rem;
}

.theme-preset-artemarziale .site-builder-feature-card {
  background: var(--am-card-bg);
  border-color: var(--am-card-border);
  border-radius: 18px;
  box-shadow: var(--am-card-shadow);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.theme-preset-artemarziale .site-builder-feature-card:hover {
  background: var(--am-card-bg-hover);
  box-shadow: var(--am-card-shadow-hover);
  transform: translateY(-3px);
}

.theme-preset-artemarziale .site-builder-testimonial {
  background: #ffffff;
  border-color: var(--am-card-border) !important;
  box-shadow: var(--am-card-shadow);
}

.theme-preset-artemarziale .site-builder-testimonial blockquote {
  color: #111827;
}

.theme-preset-artemarziale .site-builder-cta-panel {
  background: linear-gradient(135deg, var(--am-blue) 0%, var(--am-blue-dark) 100%) !important;
  border: 0 !important;
  box-shadow: var(--am-card-shadow-hover);
  color: #ffffff;
}

.theme-preset-artemarziale .site-builder-cta-panel h2,
.theme-preset-artemarziale .site-builder-cta-panel p {
  color: #ffffff;
}

.theme-preset-artemarziale .site-builder-cta-panel .site-builder-cta-secondary {
  border-color: #ffffff;
  color: #ffffff;
}

.theme-preset-artemarziale .site-builder-cta-panel .site-builder-cta-secondary:hover,
.theme-preset-artemarziale .site-builder-cta-panel .site-builder-cta-secondary:focus {
  background: #ffffff;
  color: var(--am-blue);
}

.theme-preset-artemarziale .site-builder-contacts {
  background: var(--am-card-bg);
  border-color: var(--am-card-border);
  box-shadow: var(--am-card-shadow);
}

.theme-preset-artemarziale .site-builder-contacts__title {
  color: #111827;
}

.theme-preset-artemarziale .site-builder-contacts__list li > span:first-child {
  color: var(--am-text-soft);
}

.theme-preset-artemarziale .site-builder-social .public-social-link {
  border-color: var(--am-blue);
  color: var(--am-blue);
}

.theme-preset-artemarziale .site-builder-social .public-social-link:hover,
.theme-preset-artemarziale .site-builder-social .public-social-link:focus {
  background: var(--am-blue);
  color: #ffffff;
}

.theme-preset-artemarziale .site-builder-editorial-card {
  background: var(--am-card-bg);
  border-color: var(--am-card-border);
  box-shadow: var(--am-card-shadow);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.theme-preset-artemarziale .site-builder-editorial-card:hover {
  background: var(--am-card-bg-hover);
  box-shadow: var(--am-card-shadow-hover);
  transform: translateY(-3px);
}

.theme-preset-artemarziale .site-builder-editorial-card .btn-outline-primary {
  background-color: var(--am-blue);
  border-color: var(--am-blue);
  color: #ffffff;
}

.theme-preset-artemarziale .site-builder-editorial-card .btn-outline-primary:hover,
.theme-preset-artemarziale .site-builder-editorial-card .btn-outline-primary:focus {
  background-color: var(--am-blue-dark);
  border-color: var(--am-blue-dark);
  color: #ffffff;
}

.theme-preset-artemarziale .site-builder-faq .accordion-item {
  border-color: var(--am-card-border);
  box-shadow: var(--am-card-shadow);
}

.theme-preset-artemarziale .site-builder-faq .accordion-button:not(.collapsed) {
  background: #fff3df;
  color: #8a4f00;
}

.theme-preset-artemarziale .site-builder-gallery .public-gallery-thumb {
  border-radius: 14px;
}

.theme-preset-artemarziale .public-page-hero {
  background: #f3f4f6 !important;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.theme-preset-artemarziale .public-page-hero h1,
.theme-preset-artemarziale .public-page-title,
.theme-preset-artemarziale .public-content-header h1 {
  color: #111827;
  font-weight: 700;
}

.theme-preset-artemarziale .public-page-hero .lead,
.theme-preset-artemarziale .public-content-body,
.theme-preset-artemarziale .public-content-body p,
.theme-preset-artemarziale .cms-content,
.theme-preset-artemarziale .cms-content p {
  color: var(--am-text-medium);
  line-height: 1.7;
}

.theme-preset-artemarziale .public-detail-box,
.theme-preset-artemarziale .public-archive-card,
.theme-preset-artemarziale .public-form {
  background: #ffffff;
  border-color: var(--am-card-border) !important;
  border-radius: 18px !important;
  box-shadow: var(--am-card-shadow);
}

.theme-preset-artemarziale .public-archive-card {
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.theme-preset-artemarziale .public-archive-card:hover {
  box-shadow: var(--am-card-shadow-hover) !important;
  transform: translateY(-3px);
}

.theme-preset-artemarziale .public-archive-card__media,
.theme-preset-artemarziale .public-detail-media img,
.theme-preset-artemarziale .public-gallery-thumb {
  border-radius: 18px;
}

.theme-preset-artemarziale .public-filter-bar {
  background: #ffffff;
}

.theme-preset-artemarziale .public-pagination .page-link {
  border-color: rgba(13, 110, 253, 0.28);
  color: var(--am-blue);
}

.theme-preset-artemarziale .public-pagination .page-link:hover,
.theme-preset-artemarziale .public-pagination .page-link:focus,
.theme-preset-artemarziale .public-pagination .active .page-link {
  background: var(--am-blue);
  border-color: var(--am-blue);
  color: #ffffff;
}

.theme-preset-artemarziale .public-accordion .accordion-item {
  border-color: var(--am-card-border);
  box-shadow: var(--am-card-shadow);
}

.theme-preset-artemarziale .public-accordion .accordion-button:not(.collapsed) {
  background: #fff3df;
  color: #8a4f00;
}

.theme-preset-artemarziale .public-form .form-control,
.theme-preset-artemarziale .public-form .form-select {
  border-color: rgba(17, 24, 39, 0.14);
  border-radius: 12px;
}

.theme-preset-artemarziale .site-builder-region--before_content {
  background: #ffffff;
  padding-bottom: 1.5rem;
}

.theme-preset-artemarziale .site-builder-region--main {
  background: #ffffff;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.theme-preset-artemarziale .site-builder-region--after_content {
  background: #ffffff;
  padding-top: 1.5rem;
}

.theme-preset-artemarziale .site-builder-region--sidebar .site-builder-region__inner {
  background: var(--am-card-bg);
  border: 1px solid var(--am-card-border);
  border-radius: 18px;
  box-shadow: var(--am-card-shadow);
  padding: clamp(1rem, 3vw, 1.75rem);
}

.theme-preset-artemarziale .site-builder-block--width-content {
  max-width: 980px;
}

.theme-preset-artemarziale .site-builder-block--width-narrow {
  max-width: 760px;
}

.theme-preset-artemarziale .site-builder-block--width-wide {
  max-width: 1180px;
}

.theme-preset-artemarziale .site-builder-block--width-content,
.theme-preset-artemarziale .site-builder-block--width-narrow,
.theme-preset-artemarziale .site-builder-block--width-wide {
  margin-left: auto;
  margin-right: auto;
}

.theme-preset-artemarziale .site-builder-block--width-full {
  width: 100%;
  max-width: none;
}

.theme-preset-artemarziale .site-builder-block--align-center {
  text-align: center;
}

.theme-preset-artemarziale .site-builder-block--align-end {
  text-align: right;
}

.theme-preset-artemarziale .site-builder-block--spacing-none {
  margin-top: 0;
  margin-bottom: 0;
}

.theme-preset-artemarziale .site-builder-block--spacing-compact {
  margin-top: .75rem;
  margin-bottom: .75rem;
}

.theme-preset-artemarziale .site-builder-block--spacing-normal {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.theme-preset-artemarziale .site-builder-block--spacing-relaxed {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.theme-preset-artemarziale .site-builder-block--tone-muted {
  background: #f8fafc;
  border-radius: 18px;
  padding: clamp(1rem, 3vw, 1.75rem);
}

.theme-preset-artemarziale .site-builder-block--tone-card {
  background: var(--am-card-bg);
  border: 1px solid var(--am-card-border);
  border-radius: 18px;
  box-shadow: var(--am-card-shadow);
  padding: clamp(1rem, 3vw, 1.75rem);
}

.theme-preset-artemarziale .site-builder-block--tone-brand {
  background: var(--am-orange);
  border-radius: 18px;
  color: #ffffff;
  padding: clamp(1rem, 3vw, 1.75rem);
}

.theme-preset-artemarziale .site-builder-block--tone-brand a:not(.btn) {
  color: #ffffff;
}

.theme-preset-artemarziale .site-builder-region--has-native .site-builder-block--native_content > :first-child {
  margin-top: 0;
}

.theme-preset-artemarziale .site-builder-region--has-native .site-builder-block--native_content > :last-child {
  margin-bottom: 0;
}

.theme-preset-artemarziale .site-builder-native {
  width: 100%;
}

.theme-preset-artemarziale .site-builder-native__title {
  color: #111827;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 1rem;
}

.theme-preset-artemarziale .site-builder-native--article .site-builder-native__body {
  max-width: 980px;
}

.theme-preset-artemarziale .site-builder-native--listing .site-builder-native__body {
  max-width: none;
}

.theme-preset-artemarziale .site-builder-native--card {
  background: var(--am-card-bg);
  border: 1px solid var(--am-card-border);
  border-radius: 18px;
  box-shadow: var(--am-card-shadow);
  padding: clamp(1rem, 3vw, 1.75rem);
}

.theme-preset-artemarziale .site-builder-page-title {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.theme-preset-artemarziale .site-builder-page-title .public-page-title {
  color: #111827;
  font-weight: 800;
  letter-spacing: 0;
}

.theme-preset-artemarziale .site-builder-page-body {
  color: var(--am-text-dark);
  line-height: 1.7;
}

.theme-preset-artemarziale .site-builder-page-body--lead {
  color: #6b7280;
  font-size: 1.125rem;
}

.theme-preset-artemarziale .site-builder-page-body--muted {
  color: #6b7280;
}

.theme-preset-artemarziale .site-builder-main-image {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.theme-preset-artemarziale .site-builder-main-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

.theme-preset-artemarziale .site-builder-region--has-native .public-text-page,
.theme-preset-artemarziale .site-builder-region--has-native .public-category-page,
.theme-preset-artemarziale .site-builder-region--has-native .public-events-page,
.theme-preset-artemarziale .site-builder-region--has-native .public-news-page,
.theme-preset-artemarziale .site-builder-region--has-native .public-faq-page,
.theme-preset-artemarziale .site-builder-region--has-native .public-contact-page {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.theme-preset-artemarziale .site-builder-region--main.site-builder-region--has-native .site-builder-block--native_content > section.py-5:first-of-type {
  padding-top: 0 !important;
}

.theme-preset-artemarziale .site-builder-region--main.site-builder-region--has-native .site-builder-block--native_content > section.py-5:last-of-type {
  padding-bottom: 0 !important;
}

.theme-preset-artemarziale .site-builder-region--has-native .site-builder-block--native_content .bg-body-tertiary:first-of-type {
  border-radius: 18px;
}

.home-feature-card h3 {
  color: #111827;
}

.home-feature-card p {
  color: var(--am-text-dark) !important;
  line-height: 1.65;
}

.home-testimonial {
  background-color: #f8f9fa;
}

.home-testimonial blockquote,
.home-testimonial .fst-italic {
  color: var(--am-text-medium);
  line-height: 1.7;
}

.home-rich-text article {
  border-radius: 18px !important;
}

.home-rich-text .home-rich-text__body {
  color: var(--am-text-medium);
  line-height: 1.75;
}

.home-rich-text .btn-dark,
.home-feature-card .btn-outline-dark:hover,
.home-post-card .card-body > .badge.mt-auto {
  background-color: var(--am-blue) !important;
  border-color: var(--am-blue) !important;
  color: #ffffff !important;
}

.home-rich-text .btn-dark:hover,
.home-rich-text .btn-dark:focus {
  background-color: var(--am-blue-dark);
  border-color: var(--am-blue-dark);
}

.home-category-posts {
  background-color: #ffffff;
}

.home-post-card {
  border-radius: 18px !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.home-post-card:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-3px);
}

.home-post-card .card-img-top {
  height: 250px;
  object-fit: cover;
}

.home-post-card h3 a {
  color: #111827;
}

.home-post-card p {
  color: var(--am-text-medium) !important;
  line-height: 1.6;
}

.public-category-page .breadcrumb,
.public-text-page .breadcrumb {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.public-breadcrumb-bar {
  background: #ffffff;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.04);
  padding-bottom: 0.7rem;
  padding-top: 0.7rem;
}

.public-breadcrumb-bar .breadcrumb {
  align-items: center;
  color: var(--am-text-soft);
  flex-wrap: wrap;
  font-size: 0.95rem;
  gap: 0.15rem 0;
}

.public-breadcrumb-bar .breadcrumb-item {
  color: var(--am-text-soft);
  line-height: 1.35;
}

.public-breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
  color: #9ca3af;
  padding-right: 0.55rem;
}

.public-breadcrumb-bar .breadcrumb a {
  color: var(--am-blue);
  font-weight: 600;
  text-decoration: none;
}

.public-breadcrumb-bar .breadcrumb a:hover,
.public-breadcrumb-bar .breadcrumb a:focus {
  color: var(--am-blue-dark);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.public-breadcrumb-bar .breadcrumb-item.active {
  color: var(--am-text-medium);
  font-weight: 500;
}

.public-breadcrumb-bar + .py-5 {
  padding-top: 3rem !important;
}

.public-category-page .breadcrumb > li:not(:first-child):not(:last-child),
.public-text-page .breadcrumb > li:not(:first-child):not(:last-child) {
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-category-page h1,
.public-text-page h1 {
  color: #111827;
}

.public-text-page h2 {
  color: #111827;
  font-size: 1.5rem;
}

.public-text-page .cms-content {
  line-height: 1.7;
}

.public-gallery-thumb {
  background: #f8f9fa;
  border-radius: 10px;
  display: block;
  overflow: hidden;
  padding-top: 100%;
  position: relative;
  width: 100%;
}

.public-gallery-thumb__img,
.public-gallery-thumb picture {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.public-gallery-thumb__img {
  object-fit: cover;
  transition: transform 0.2s ease;
}

.public-gallery-thumb:hover .public-gallery-thumb__img,
.public-gallery-thumb:focus .public-gallery-thumb__img {
  transform: scale(1.03);
}

.public-list-card {
  border-radius: 18px !important;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.public-list-card .card-body {
  flex: 1 1 auto;
  min-height: 0;
}

.public-list-card:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-3px);
}

.public-list-card__media {
  background: #f8f9fa;
  margin-bottom: 1rem;
  overflow: hidden;
}

.public-list-card__media picture {
  display: block;
  height: 100%;
  width: 100%;
}

.public-list-card__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.public-list-card h3 {
  display: -webkit-box;
  line-height: 1.25;
  min-height: 3.15rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.public-list-card .card-text {
  display: -webkit-box;
  line-height: 1.55;
  min-height: 4.65rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.public-list-card .btn-outline-primary {
  border-color: var(--am-blue);
  color: var(--am-blue);
  font-weight: 600;
}

.public-list-card .btn-outline-primary:hover,
.public-list-card .btn-outline-primary:focus {
  background-color: var(--am-blue);
  border-color: var(--am-blue);
  color: #ffffff;
}

.public-list-card .card-footer {
  flex: 0 0 auto;
}

.public-primary-cta.btn-primary {
  background-color: #0d6efd !important;
  border-color: #0d6efd !important;
  color: #ffffff !important;
}

.public-primary-cta.btn-primary:hover,
.public-primary-cta.btn-primary:focus {
  background-color: #0b5ed7 !important;
  border-color: #0a58ca !important;
  color: #ffffff !important;
}

.public-gallery-lightbox {
  align-items: center;
  background: rgba(17, 24, 39, 0.86);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 1.5rem;
  position: fixed;
  z-index: 1080;
}

.public-gallery-lightbox.is-open {
  display: flex;
}

.public-gallery-lightbox__dialog {
  max-height: 92vh;
  max-width: min(1100px, 94vw);
  position: relative;
  width: auto;
}

.public-gallery-lightbox__img {
  background: #ffffff;
  border-radius: 12px;
  display: block;
  max-height: 86vh;
  max-width: 100%;
  object-fit: contain;
}

.public-gallery-lightbox__caption {
  color: #ffffff;
  font-weight: 600;
  margin-top: 0.75rem;
  text-align: center;
}

.public-gallery-lightbox__close {
  align-items: center;
  background: #ffffff;
  border: 0;
  border-radius: 999px;
  color: #111827;
  display: inline-flex;
  font-size: 1.5rem;
  height: 2.5rem;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: -0.75rem;
  top: -0.75rem;
  width: 2.5rem;
}

.public-footer {
  background-color: #111827;
  color: rgba(255, 255, 255, 0.72);
  padding-bottom: 1.5rem !important;
  padding-top: 1.5rem !important;
}

.public-footer a,
.public-footer .public-footer__link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
}

.public-footer a:hover,
.public-footer .public-footer__link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.public-footer > .container > .row.g-4,
.public-footer hr,
.public-footer [data-cms-consent-open] {
  display: none !important;
}

.public-footer .d-flex.flex-column.flex-md-row {
  align-items: center;
  flex-direction: row !important;
  justify-content: space-between !important;
}

.public-footer small {
  color: #ffffff;
}

.public-footer .d-flex.flex-wrap.gap-3 {
  gap: 0 !important;
}

.public-footer .d-flex.flex-wrap.gap-3 a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
}

.public-footer .d-flex.flex-wrap.gap-3 a + a::before {
  color: #ffffff;
  content: "\00b7";
  display: inline-block;
  margin-left: 0.45rem;
  margin-right: 0.45rem;
}

a:focus-visible,
button:focus-visible,
.nav-link:focus-visible,
.dropdown-item:focus-visible {
  outline: 3px solid rgba(13, 110, 253, 0.28);
  outline-offset: 2px;
}

@media (max-width: 991.98px) {
  .public-navbar {
    min-height: auto;
  }

  .public-navbar .public-logo {
    width: 82px;
    max-width: 82px;
    height: 82px;
    max-height: 82px;
  }

  .public-navbar .navbar-brand {
    font-size: 1rem;
    line-height: 1.2;
    max-width: 230px;
    white-space: normal;
  }

  .public-navbar .navbar-collapse {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin-top: 1rem;
    padding: 0.8rem 0.9rem;
  }

  .public-navbar .nav-link {
    padding-bottom: 0.65rem;
    padding-top: 0.65rem;
  }

  .theme-preset-artemarziale .site-builder-region--hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .theme-preset-artemarziale .site-builder-region--hero .site-builder-region__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .public-navbar .public-logo {
    width: 68px;
    max-width: 68px;
    height: 68px;
    max-height: 68px;
  }

  .public-navbar .navbar-brand {
    font-size: 0.95rem;
    max-width: 180px;
  }

  .home-hero-split .display-6 {
    font-size: 2rem;
  }

  .theme-preset-artemarziale .site-builder-region--hero h1 {
    font-size: 2rem;
  }

  .home-post-card .card-img-top {
    height: 220px;
  }

  .public-category-page .breadcrumb > li:not(:first-child):not(:last-child),
  .public-text-page .breadcrumb > li:not(:first-child):not(:last-child) {
    padding: 0;
    visibility: hidden;
    width: 0;
  }

  .public-category-page .breadcrumb > li:last-child::before,
  .public-text-page .breadcrumb > li:last-child::before {
    content: var(--bs-breadcrumb-divider, "/ ... /");
  }

  .public-footer .d-flex.flex-column.flex-md-row {
    align-items: flex-start;
    flex-direction: column !important;
  }
}
