/*
Theme Name:     Maxbizz Child
Theme URI:      http://wpdemo.archiwp.com/maxbizz/
Description:    Make your modifications to [Parent Theme] in this child theme.
Author:         Oceanthemes
Author URI:     http://oceanthemes.net/
Version:        1.0
Template:       maxbizz
*/

/* @import url("../maxbizz/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

/* tipografia base 2Kind */
:root {
  /* BASE TYPOGRAPHY */
  --font-size-base: 17px;
  --scale-ratio: 1.25;

  --line-height-heading: 1.25;
  --line-height-text: 1.7;
  --line-height-tight: 1.45;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* TYPOGRAPHY SCALE */
  --step--1: clamp(0.85rem, calc(0.8rem + 0.15vw), 0.95rem);     /* 13–14 px */
  --step-0:  clamp(1rem, calc(0.95rem + 0.2vw), 1.125rem);       /* 16–17 px */
  --step-1:  clamp(1.125rem, calc(1.05rem + 0.25vw), 1.35rem);   /* 18–20 px */
  --step-2:  clamp(1.25rem, calc(1.2rem + 0.3vw), 1.5rem);       /* 20–24 px */
  --step-3:  clamp(1.375rem, calc(1.3rem + 0.35vw), 1.7rem);     /* 22–27 px */
  --step-4:  clamp(1.5rem, calc(1.4rem + 0.4vw), 1.9rem);        /* 24–30 px */
  --step-5:  clamp(1.625rem, calc(1.5rem + 0.45vw), 2.1rem);     /* 26–33 px */
  --step-6:  clamp(1.75rem, calc(1.6rem + 0.5vw), 2.4rem);       /* 28–38 px */
  --step-7:  clamp(2rem, calc(1.8rem + 0.6vw), 3rem);            /* 32–48 px */
}

/* ==========================================
   BASE
========================================== */
html, body, .elementor, .elementor-section, .elementor-widget-container {
  font-size: 16px;
  line-height: var(--line-height-text);
  font-family: 'Montserrat', sans-serif;
  font-weight: var(--weight-regular);
}

/* ==========================================
   CORPO TESTO BASE
========================================== */
/* Applica la base ai testi normali */
body p,
.elementor-widget-text-editor p,
.elementor-widget-container p {
  font-size: var(--step-0) !important;
  line-height: var(--line-height-text) !important;
  font-weight: var(--weight-regular);
  margin-bottom: 1em;
}

/* ==========================================
   VARIANTI — con priorità più alta
========================================== */

/* testo piccolo */
.text-small,
.text-small p,
.elementor-widget-text-editor.text-small p,
.elementor-widget-container.text-small p {
  font-size: var(--step--1) !important;
  line-height: var(--line-height-tight) !important;
}

/* testo grande / lead */
.grande,
.grande p,
.elementor-widget-text-editor.grande p,
.grande .elementor-widget-container {
  font-size: var(--step-1) !important;
  line-height: var(--line-height-text) !important;
  font-weight: var(--weight-regular);
}

/* ==========================================
   TITOLI
========================================== */
h1, h2, h3, h4, h5, h6,
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3,
.elementor-widget-heading h4,
.elementor-widget-heading h5,
.elementor-widget-heading h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: var(--weight-semibold);
  line-height: var(--line-height-heading);
  margin-top: 0;
  margin-bottom: 0.5em;
}

h1 { font-size: var(--step-7) !important; }
h2 { font-size: var(--step-6) !important; }
h3 { font-size: var(--step-5) !important; }
h4 { font-size: var(--step-4) !important; }
h5 { font-size: var(--step-3) !important; }
h6 { font-size: var(--step-2) !important; }

/* ==========================================
   RESPONSIVE FIX
========================================== */
@media (min-width: 1440px) {
  h1 { font-size: 2.9rem !important; }
  h2 { font-size: 2.4rem !important; }
  h3 { font-size: 2rem !important; }
  h4 { font-size: 1.8rem !important; }
  h5 { font-size: 1.6rem !important; }
  h6 { font-size: 1.45rem !important; }
  .grande, .elementor-widget-text-editor.grande p { font-size: 1.35rem !important; }
}

@media (max-width: 767px) {
  h1 { font-size: 2rem !important; }
  h2 { font-size: 1.6rem !important; }
  h3 { font-size: 1.45rem !important; }
  h4 { font-size: 1.35rem !important; }
  h5 { font-size: 1.25rem !important; }
  h6 { font-size: 1.15rem !important; }
  .grande, .elementor-widget-text-editor.grande p { font-size: 1.2rem !important; }
}





/* Blockquote */
blockquote {
  font-size: clamp(1.25em, 3vw, 1.5em);
  line-height: var(--line-height-text);
  font-style: italic;
  margin: 1.5em 0;
  padding-left: 1.5em;
  border-left: 4px solid #ccc;
  color: #555;
}

/* Liste */
ul,
ol {
  font-size: clamp(1.125em, 2.5vw, 1.25em);
  line-height: var(--line-height-text);
  margin-bottom: 1em;
  padding-left: 1.2em;
}

/* Mark */
mark {
  background-color: #fff1a8;
  padding: 0.1em 0.3em;
  border-radius: 0.2em;
  font-weight: var(--weight-bold);
}

/* Lead text opzionale */
.lead {
  font-size: clamp(1.25em, 3vw, 1.5em);
  line-height: var(--line-height-text);
  font-weight: var(--weight-text);
}




 /* fine tipografia base 2Kind --*/

.blu{
	color:#134C9C;
}

.bg-blu{
	color:#134C9C;
}

.arancione{
	color:#F78933;
}


.bg-arancione{
	color:#F78933;
}

.bold{
	font-weight:bold;
}

.eael-advance-tabs .eael-tab-content-item{
	padding: 1em 2em !important;
}

/*grid css 2Kind */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.grid-item {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 6px;
}

/*---fine grid css 2Kind */

.book-heading-block h3{
	font-size:1.2vw;
}

.page-header {
    display: none;
}

.owl-carousel .owl-item img {
    max-width: 128px;
	margin:auto;
}

.book-heading-block h3 {
  margin: 0;
}
.book-heading-block a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.eael-post-grid .eael-entry-wrapper > .eael-entry-meta span.eael-posted-on::before, .eael-post-grid .eael-entry-wrapper > .eael-entry-header-after .eael-entry-meta span.eael-posted-on::before {
    content: "";
    padding: 0;
}

.elementor-11 .elementor-element.elementor-element-8567228 .eael-call-to-action {
    overflow: hidden;
}

.eael-call-to-action.cta-flex .content {
    padding:1em !important;
}

.eael-call-to-action.cta-flex .action{
    -ms-flex-preferred-size: 40% !important;
    flex-basis: 40% !important;
}

.elementor-widget-eael-adv-tabs{
    width:100%;
}

._3d-flip-book .book-thumbnail img {
    width: 100%;
    object-fit: contain;
}

table.fb3d-categories td, table.fb3d-categories{
    border: none;
}

table.fb3d-categories {
  width: 100%;
  table-layout: fixed;
}

table.fb3d-categories td {
  width: 33.33%;
  padding: 20px;
  vertical-align: top;
}

.fb3d-thumbnail-lightbox-mode .book-heading h3, .fb3d-thumbnail-mode .book-heading h3{
    font-size:16px !important;
}



/* RESPONSIVE */
@media (max-width: 767px) {
table.fb3d-categories td {
  width: 100%;
  display: block;
}
}