/*
Theme Name:    Foxiz Child
Template:      foxiz
Theme URI:     https://foxiz.themeruby.com
Author:        Theme-Ruby
Author URI:    https://themeforest.net/user/theme-ruby/portfolio/
Description:   Make your modifications to Foxiz in this child theme.
Version:       1.0
License:       Themeforest Licence
License URI:   https://themeforest.net/licenses/standard
*/

/* -------------------------------------------------------------------------
 * HEADER & LOGO
 * ------------------------------------------------------------------------- */

.the-logo a:hover {
    opacity: 1 !important;
}


/* -------------------------------------------------------------------------
 * BLOCK e SINGLE POST
 * ------------------------------------------------------------------------- */

.p-meta .meta-inner .meta-label, .ubox .nname-info .meta-label {display:none;}


.ruby-table-contents .toc-header span{font-size: 115% !important;}


/* -------------------------------------------------------------------------
 * ARCHIVI E CATEGORIE
 * ------------------------------------------------------------------------- */

.archive-header.category-header-2 {
    background-color: #2d3748 !important;
}

/* -------------------------------------------------------------------------
 * ELEMENTI UI (Bottoni e Arrotondamenti)
 * ------------------------------------------------------------------------- */

/* Uniforma i bordi arrotondati (Stile Pill) */
.p-link .p-readmore,
.loadmore-trigger span,
.qlayout-2 .qlink a,
.wpcf7 .wpcf7-submit {
    border-radius: 50px;
}

/* -------------------------------------------------------------------------
 * CONTACT FORM 7 (Centratura e Spinner)
 * ------------------------------------------------------------------------- */

.wpcf7-submit {
    display: block;
    margin: 20px auto !important;
}

.wpcf7-spinner {
    display: none !important;
}

/* -------------------------------------------------------------------------
 * CONTENUTI E TIPOGRAFIA
 * ------------------------------------------------------------------------- */

/* Stile paragrafi per articoli video - Focus su leggibilità */
.single-format-video .entry-content.rbct p {
    font-size: 90%;
    line-height: 1.6;
    color: #becae0;
}

/* Gestione spaziature intestazioni Elementor */
.elementor-widget-text-editor h2,
.elementor-widget-text-editor h3 {
    margin-bottom: 20px;
}


blockquote {margin-bottom:1.1rem; font-size:110%; opacity:0.65; border-left:1px solid;}
blockquote:before {display: none;}


/* -------------------------------------------------------------------------
 * TABLE
 * ------------------------------------------------------------------------- */

.medikea-table-box {
  --mk-blue: #1d71b8;
  --mk-red: #d44444;
  --mk-text-dark: #1e293b;
  --mk-text-soft: #475569;
  --mk-border: #e2e8f0;

  background: #E8F0FF;
  border: 1px solid var(--mk-border);
  border-left: 6px solid var(--mk-blue);
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.medikea-box-badge {
  display: inline-block;
  background: #FFFFFF;
  color: var(--mk-blue);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 6px;
  margin-bottom: 18px;
  /*border: 1px solid var(--mk-border);*/
}

.medikea-box-title {
  color: var(--mk-text-dark);
  font-size: 150%;
  margin-bottom: 25px;
  font-weight: 700;
}

.medikea-box-content {font-size: 90%; line-height: 1.3em;}

.medikea-box-row {
  display: flex;
  padding: 16px 0;
  border-bottom: 1px solid #cfdcf5;
  gap: 20px; /* Spazio tra le colonne */
}

.table-header {
  color: var(--mk-text-soft);
  font-size: 90%;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.medikea-box-row:last-child { border-bottom: none; }

/* Gestione delle 3 colonne su Desktop */
.medikea-box-label { flex: 0 0 25%; font-weight: bold;}
.medikea-box-detail { flex: 1;}
.medikea-box-info { flex: 0 0 35%;}




.highlight {
  color: var(--mk-red) !important;
}

/* RESPONSIVE: Mobile & Tablet */
@media (max-width: 900px) {
  .medikea-box-row {
    flex-direction: column;
    gap: 5px;
  }
  .table-header { display: none; } /* Nasconde l'intestazione su mobile per pulizia */
  .medikea-box-label { width: 100%; color: var(--mk-blue); margin-bottom: 5px; }
  .medikea-box-detail, .medikea-box-info { width: 100%; font-size: 100%; }
  .medikea-box-info { margin-top: 5px; padding-top: 5px; border-top: 1px dashed #eee; }
}


/* -------------------------------------------------------------------------
 * DEEP DIVE
 * ------------------------------------------------------------------------- */

#deep-dive-numeri .elementor-element .elementor-counter .elementor-counter-title {text-align: center}


/* -------------------------------------------------------------------------
 * RESPONSIVE DESIGN (Tablet & Mobile)
 * ------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .elementor-widget-container .widget-image-caption.wp-caption-text {
        padding-left: 15px;
    }
}
