/*
 * ITROOM - pagine dei prodotti hosting (per ora Hosting WordPress), dopo hosting-pages.css.
 * Capitoli: a sinistra la linea con i cerchi al 20% (row-cols-lg-5), a destra il blocco bianco (flex-lg-fill);
 * piani, caratteristiche apribili, pannello, sicurezza, temi, domande; fascia scura finale in hosting-pages.css.
 */

/* solo capitoli e domande: il titolo della fascia scura ha i suoi colori in hosting-pages.css */
#itroom-hosting.itroom-hosting-content.hov-scheda .hov-capitolo h2,
#itroom-hosting.itroom-hosting-content.hov-scheda .hov-domande-testa h2 {
    margin: 0;
    color: var(--hov-ink);
    font-size: var(--txt-28);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.4px;
}

/* dove l'occhiello è anche il titolo del capitolo */
#itroom-hosting.itroom-hosting-content.hov-scheda h2.hov-kicker {
    margin: 0 0 12px;
    color: var(--hov-mute);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 1.3px;
}

/* ==========================================================================
   Capitoli
   ========================================================================== */

#itroom-hosting.itroom-hosting-content .hov-capitolo {
    position: relative;
    scroll-margin-top: 48px;
}

/* la testata segue lo scorrimento finché dura il capitolo */
#itroom-hosting.itroom-hosting-content .hov-capitolo-testa {
    position: sticky;
    top: 12px;
    align-self: start;
    padding: 31px 32px 5px 0;
}

/* blocco bianco fino al bordo destro dello schermo */
#itroom-hosting.itroom-hosting-content .hov-capitolo-corpo {
    padding: 31px 0 5px 48px;
    background: #fff;
    box-shadow: 0 0 0 100vmax #fff;
    clip-path: inset(0 -100vmax 0 0);
}

/* linee tra i capitoli e sotto l'ultimo, come i selettori di /hosting: uguali sul grigio e sul bianco,
   a destra fino al bordo della finestra con l'ombra */
@media (min-width: 992px) {
    #itroom-hosting.itroom-hosting-content .hov-capitolo-corpo {
        position: relative;
    }

    #itroom-hosting.itroom-hosting-content .hov-capitolo + .hov-capitolo::before,
    #itroom-hosting.itroom-hosting-content .hov-capitolo + .hov-capitolo .hov-capitolo-corpo::before,
    #itroom-hosting.itroom-hosting-content .hov-capitolo:last-child::after,
    #itroom-hosting.itroom-hosting-content .hov-capitolo:last-child .hov-capitolo-corpo::after {
        content: "";
        position: absolute;
        left: 0;
        height: 1px;
        background: var(--hov-divisore);
    }

    #itroom-hosting.itroom-hosting-content .hov-capitolo + .hov-capitolo::before,
    #itroom-hosting.itroom-hosting-content .hov-capitolo:last-child::after {
        width: 20%;
    }

    #itroom-hosting.itroom-hosting-content .hov-capitolo + .hov-capitolo .hov-capitolo-corpo::before,
    #itroom-hosting.itroom-hosting-content .hov-capitolo:last-child .hov-capitolo-corpo::after {
        right: 0;
        box-shadow: 0 0 0 100vmax var(--hov-divisore);
        clip-path: inset(0 -100vmax 0 0);
    }

    #itroom-hosting.itroom-hosting-content .hov-capitolo + .hov-capitolo::before,
    #itroom-hosting.itroom-hosting-content .hov-capitolo + .hov-capitolo .hov-capitolo-corpo::before {
        top: 0;
    }

    #itroom-hosting.itroom-hosting-content .hov-capitolo:last-child::after,
    #itroom-hosting.itroom-hosting-content .hov-capitolo:last-child .hov-capitolo-corpo::after {
        bottom: 0;
    }
}

#itroom-hosting.itroom-hosting-content.hov-scheda h2.hov-corpo-titolo {
    margin: 0 0 14px;
    color: var(--hov-ink);
    line-height: 1.3;
}

/* ==========================================================================
   Contenuto dei capitoli
   ========================================================================== */

#itroom-hosting.itroom-hosting-content .hov-testo p {
    margin: 0 0 16px;
    color: var(--hov-mute);
    font-size: var(--txt-17);
    line-height: 1.7;
}

#itroom-hosting.itroom-hosting-content .hov-testo p:last-child {
    margin-bottom: 0;
}

#itroom-hosting.itroom-hosting-content .hov-testo a,
#itroom-hosting.itroom-hosting-content .hov-faq details a {
    color: var(--action-bg);
    font-weight: 600;
}

#itroom-hosting.itroom-hosting-content .hov-testo a:hover,
#itroom-hosting.itroom-hosting-content .hov-faq details a:hover {
    color: var(--action-hover);
}

#itroom-hosting.itroom-hosting-content .hov-apertura {
    margin-bottom: 28px;
}

#itroom-hosting.itroom-hosting-content .hov-chiusura {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--hov-line-soft);
}

#itroom-hosting.itroom-hosting-content .hov-capitolo-azioni {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 0;
}

#itroom-hosting.itroom-hosting-content .hov-capitolo-corpo .hov-plan {
    padding: 20px 18px 18px;
}

/* tutte le caratteristiche dei piani, chiuse sotto le schede */
#itroom-hosting.itroom-hosting-content .hov-incluso {
    margin-top: 20px;
    border: 1px solid var(--hov-line);
    border-radius: 10px;
    background: #fff;
}

#itroom-hosting.itroom-hosting-content .hov-incluso summary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 10px;
    color: var(--action-bg);
    font-size: var(--txt-16);
    font-weight: 600;
    list-style: none;
    cursor: pointer;
    transition: color .2s;
}

#itroom-hosting.itroom-hosting-content .hov-incluso summary::-webkit-details-marker {
    display: none;
}

#itroom-hosting.itroom-hosting-content .hov-incluso summary:hover {
    color: var(--action-hover);
}

#itroom-hosting.itroom-hosting-content .hov-incluso summary:focus-visible {
    outline: 2px solid #618a9c;
    outline-offset: 2px;
}

#itroom-hosting.itroom-hosting-content .hov-incluso summary i {
    font-size: 12px;
    transition: transform .2s;
}

#itroom-hosting.itroom-hosting-content .hov-incluso[open] summary {
    border-bottom: 1px solid var(--hov-line-soft);
    border-radius: 10px 10px 0 0;
}

#itroom-hosting.itroom-hosting-content .hov-incluso[open] summary i {
    transform: rotate(180deg);
}

#itroom-hosting.itroom-hosting-content .hov-incluso-corpo {
    padding: 26px 28px 24px;
}

/* gruppi uno sotto l'altro, ognuno con la sua fascia grigia col titolo */
#itroom-hosting.itroom-hosting-content .hov-incluso-gruppi {
    display: grid;
    gap: 22px;
}

#itroom-hosting.itroom-hosting-content .hov-incluso-gruppo h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 14px;
    border-radius: 6px;
    background: var(--hov-page);
    color: var(--hov-ink);
    font-size: var(--txt-15);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#itroom-hosting.itroom-hosting-content .hov-incluso-gruppo h3 i {
    width: 18px;
    color: var(--hov-icon);
    font-size: 15px;
    text-align: center;
}

#itroom-hosting.itroom-hosting-content .hov-incluso-gruppo dl {
    margin: 0;
}

#itroom-hosting.itroom-hosting-content .hov-incluso-gruppo dl > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 10px 14px;
    font-size: var(--txt-16);
    line-height: 1.45;
}

#itroom-hosting.itroom-hosting-content .hov-incluso-gruppo dl > div + div {
    border-top: 1px solid var(--hov-line-soft);
}

#itroom-hosting.itroom-hosting-content .hov-incluso-gruppo dt {
    color: var(--hov-mute);
    font-weight: 400;
}

/* il valore non supera metà riga, il nome resta leggibile */
#itroom-hosting.itroom-hosting-content .hov-incluso-gruppo dd {
    flex: 0 0 auto;
    max-width: 55%;
    margin: 0;
    color: var(--hov-ink);
    font-weight: 600;
    text-align: right;
}

#itroom-hosting.itroom-hosting-content .hov-incluso-gruppo dd svg {
    width: 18px;
    height: 18px;
    color: #3f8f63;
    stroke-width: 2.2;
    vertical-align: -3px;
}

/* «finestra» del pannello: barra scura con tre cerchi e sotto tre colonne (row-cols-md-3 g-0) */
#itroom-hosting.itroom-hosting-content .hov-finestra {
    margin-top: 28px;
}

#itroom-hosting.itroom-hosting-content h2.hov-corpo-titolo + .hov-finestra {
    margin-top: 6px;
    border: 1px solid var(--hov-line);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

#itroom-hosting.itroom-hosting-content .hov-finestra-barra {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 18px;
    background: var(--hov-graphite);
}

#itroom-hosting.itroom-hosting-content .hov-finestra-barra span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .28);
}

#itroom-hosting.itroom-hosting-content .hov-finestra-barra em {
    margin-left: auto;
    color: #b8c3d0;
    font-size: var(--txt-12);
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

#itroom-hosting.itroom-hosting-content .hov-colonna {
    padding: 20px 24px 22px;
}

#itroom-hosting.itroom-hosting-content .hov-colonna + .hov-colonna {
    border-top: 1px solid var(--hov-line-soft);
}

#itroom-hosting.itroom-hosting-content .hov-colonna h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    color: var(--hov-ink);
    font-size: var(--txt-16);
    font-weight: 700;
    line-height: 1.3;
}

#itroom-hosting.itroom-hosting-content .hov-colonna h3 i {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: var(--hov-icon-bg);
    color: var(--hov-icon);
    font-size: 14px;
}

#itroom-hosting.itroom-hosting-content .hov-colonna ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#itroom-hosting.itroom-hosting-content .hov-colonna li {
    position: relative;
    padding: 6px 0 6px 16px;
    color: var(--hov-mute);
    font-size: var(--txt-15);
    line-height: 1.45;
}

#itroom-hosting.itroom-hosting-content .hov-colonna li::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--action-bg);
}

/* Sicurezza: due colonne di punti con un titolo ciascuna. Griglia propria e non di Bootstrap:
   con subgrid i punti delle due colonne stanno sulle stesse righe anche se un testo va a capo */
#itroom-hosting.itroom-hosting-content .hov-difese {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 40px;
    margin-top: 4px;
}

#itroom-hosting.itroom-hosting-content .hov-difese h3 {
    margin: 0 0 16px;
    color: var(--hov-ink);
    font-size: var(--txt-16);
    font-weight: 700;
    line-height: 1.3;
}

/* colonna senza numeri: cerchio arancione e linea come la linea dei capitoli */
#itroom-hosting.itroom-hosting-content .hov-steps-punti .hov-step-n {
    position: relative;
    z-index: 1;
    height: auto;
    border: 0;
    background: none;
}

#itroom-hosting.itroom-hosting-content .hov-steps-punti .hov-step-n::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 14px;
    width: 12px;
    height: 12px;
    border: 2px solid var(--action-bg);
    border-radius: 50%;
    background: #fff;
}

#itroom-hosting.itroom-hosting-content .hov-steps-punti li:not(:last-child)::after {
    top: 20px;
    bottom: -20px;
    left: 19px;
    width: 2px;
}

@media (min-width: 768px) {
    #itroom-hosting.itroom-hosting-content .hov-difese {
        grid-template-rows: auto repeat(4, auto);
        row-gap: 0;
    }

    #itroom-hosting.itroom-hosting-content .hov-difese > div {
        display: grid;
        grid-row: 1 / span 5;
        grid-template-rows: subgrid;
    }

    #itroom-hosting.itroom-hosting-content .hov-difese .hov-steps {
        grid-row: 2 / span 4;
        grid-template-rows: subgrid;
    }

    #itroom-hosting.itroom-hosting-content .hov-difese .hov-steps li {
        align-content: start;
    }

    #itroom-hosting.itroom-hosting-content .hov-colonna + .hov-colonna {
        border-top: 0;
        border-left: 1px solid var(--hov-line-soft);
    }
}

/* ==========================================================================
   Domande e fascia finale
   ========================================================================== */

/* sopratitolo a 28px dalla linea, come i blocchi di /hosting */
#itroom-hosting.itroom-hosting-content .hov-domande-fascia {
    padding: 28px 0 40px;
    background: #fff;
}

#itroom-hosting.itroom-hosting-content .hov-domande-testa {
    margin-bottom: 32px;
}

#itroom-hosting.itroom-hosting-content .hov-domande-testa p:not(.hov-kicker) {
    margin: 10px 0 0;
    color: var(--hov-mute);
    font-size: var(--txt-16);
    line-height: 1.6;
}

#itroom-hosting.itroom-hosting-content .hov-faq-colonne summary {
    line-height: 1.4;
}

/* ==========================================================================
   Schermi stretti
   ========================================================================== */

@media (max-width: 1199.98px) {
    #itroom-hosting.itroom-hosting-content .hov-capitolo-testa {
        padding-right: 24px;
    }

    #itroom-hosting.itroom-hosting-content .hov-capitolo-corpo {
        padding-left: 36px;
    }
}

/* una colonna: tutto il capitolo sul bianco */
@media (max-width: 991.98px) {
    #itroom-hosting.itroom-hosting-content .hov-capitolo {
        padding: 30px 0 5px;
        background: #fff;
        box-shadow: 0 0 0 100vmax #fff;
        clip-path: inset(0 -100vmax);
    }

    #itroom-hosting.itroom-hosting-content .hov-capitolo + .hov-capitolo {
        border-top: 1px solid var(--hov-line-soft);
    }

    #itroom-hosting.itroom-hosting-content .hov-capitolo:last-child {
        border-bottom: 1px solid var(--hov-line-soft);
    }

    #itroom-hosting.itroom-hosting-content .hov-capitolo-corpo {
        padding: 0;
        background: none;
        box-shadow: none;
        clip-path: none;
    }
}

@media (max-width: 767.98px) {
    #itroom-hosting.itroom-hosting-content .hov-difese {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    #itroom-hosting.itroom-hosting-content .hov-capitolo-azioni .hov-button {
        width: 100%;
    }

    #itroom-hosting.itroom-hosting-content .hov-incluso summary {
        padding: 14px 16px;
    }

    #itroom-hosting.itroom-hosting-content .hov-incluso-corpo {
        padding: 20px 18px 18px;
    }
}
