/*
Theme Name: Astra Child — The Land of Venice
Template: astra
Version: 1.1
*/

/* ================================
   FONT INTER
   ================================ */

/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('/wp-content/themes/astra-child/fonts/inter-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/astra-child/fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  src: url('/wp-content/themes/astra-child/fonts/inter-v20-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('/wp-content/themes/astra-child/fonts/inter-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 500;
  src: url('/wp-content/themes/astra-child/fonts/inter-v20-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('/wp-content/themes/astra-child/fonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 600;
  src: url('/wp-content/themes/astra-child/fonts/inter-v20-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}




/* ================================
   THE LAND OF VENICE — GLOBAL
   ================================ */

:root {
  --tlv-bg: #fbf8f3;
  --tlv-text: #243040;
  --tlv-heading: #1f2933;
  --tlv-muted: #5f6b7a;
  --tlv-border: rgba(36, 48, 64, 0.14);
  --tlv-red: #a30d18;
  --tlv-red-dark: #8a010c;
  --tlv-gold: #d7b46a;
  --tlv-white: #ffffff;
  --tlv-dark: #1a1a1a;
  --tlv-shadow-soft: 0 10px 28px rgba(36, 48, 64, 0.05);
  --tlv-shadow-medium: 0 14px 36px rgba(36, 48, 64, 0.06);
  --tlv-container: min(1120px, calc(100% - 48px));
  --tlv-text-col: 760px;
}

html {
  overflow-x: hidden;
}

body {
  background: var(--tlv-bg);
  color: var(--tlv-text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

.site,
.site-content,
.ast-plain-container,
.ast-page-builder-template {
  background: var(--tlv-bg);
}

a {
  color: var(--tlv-red);
}

.site-header {
  background-color: #fff !important;
  border-bottom: 1px solid #d1d5db;
}

.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-1 .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle,
.ast-builder-menu-1 .current-menu-ancestor > .menu-link {
  color: var(--tlv-red);
}

.entry-meta,
.entry-meta * {
  line-height: 1.45;
  color: #808285;
  font-weight: 600;
}

/* Global badges */
.tag-durata,
.tag-tipologia,
.badge-durata,
.exp-tipo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: var(--tlv-red);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 11px;
  border-radius: 999px;
  font-weight: 600;
}

/* Blog/archive Astra cards */
.archive .ast-article-post .ast-article-inner,
.blog .ast-article-post .ast-article-inner,
.archive .ast-article-post .ast-article-inner:hover,
.blog .ast-article-post .ast-article-inner:hover {
  border-radius: 6px;
  overflow: hidden;
  background-color: #fff;
}

.ast-blog-layout-4-grid .ast-article-post {
  width: 33.33%;
  margin-bottom: 2em;
  border-bottom: 0;
  background-color: transparent;
  padding-top: 100px;
}

@media (max-width: 900px) {
  .ast-blog-layout-4-grid .ast-article-post {
    width: 50%;
  }
}

@media (max-width: 600px) {
  .ast-blog-layout-4-grid .ast-article-post {
    width: 100%;
  }
}

/* =========================
   HEADER GLOBALE
========================= */

/* Logo più piccolo su mobile (tutte le pagine) */
@media (max-width: 921px) {
  header .custom-logo-link img {
    max-width: 90px;
    width: 90px;
  }

  /* Hamburger colore scuro su pagine interne */
  [data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
    width: 20px;
    height: 20px;
    fill: #1a1008;
  }
}

.site-header {
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.main-header-bar {
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.site-branding,
.ast-site-identity {
  padding: 0;
}

.main-header-menu .menu-link {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
}

.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item > .menu-link {
  color: #ffffff;
  opacity: .75;
}

.site-header-primary-section-left {
  margin-left: 0 !important;
}

.ast-builder-grid-row {
  width: min(1280px, calc(100% - 64px));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.ast-below-header-bar.ast-below-header {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}


#ast-scroll-top {
  background-color: #A40C19 !important;
}
