/* WPForms fixes */
/* Initial field looks */
.wpforms-container input[type=date],
.wpforms-container input[type=datetime],
.wpforms-container input[type=datetime-local],
.wpforms-container input[type=email],
.wpforms-container input[type=month],
.wpforms-container input[type=number],
.wpforms-container input[type=password],
.wpforms-container input[type=range],
.wpforms-container input[type=search],
.wpforms-container input[type=tel],
.wpforms-container input[type=text],
.wpforms-container input[type=time],
.wpforms-container input[type=url],
.wpforms-container input[type=week],
.wpforms-container select,
.wpforms-container textarea {
    background: #fff;
    border-width: 0 0 1px 0;
    color: var(--ast-global-color-2);
    opacity: 0.5;
}
/* On focus */
.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus {
    outline: none;
    opacity: 1;
    border-color: var(--ast-global-color-0);
}
/* Don't allow resizing the Message box */
.wpforms-container textarea {
    resize: none;
}
/* Message box fixed height */
.wpforms-container .wpforms-field-textarea textarea.wpforms-field-medium {
    height: 136px;
}
/* Button size & font size */
.wpforms-container button {
    padding: 15px 34px;
    font-size: 15px;
}
/* WPForms done */
/* Footer 2 big columns on sides and 1 small one in the middle */
.ast-builder-grid-row-3-equal .ast-builder-grid-row {
    grid-template-columns: 3fr 1fr 3fr;
}

/* Solo su mobile */
/* Card orizzontali su mobile */
@media (max-width: 767px) {

.card-scroll{
    display:flex !important;
    flex-wrap:nowrap !important;
    overflow-x:auto;
    overflow-y:hidden;
    gap:16px;
    padding:0 12px 16px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
}

.card-scroll::-webkit-scrollbar{
    display:none;
}

.card-scroll > .e-con{
    flex:0 0 82%;
    min-width:82%;
    scroll-snap-align:start;
}

}

/* ===== NEWSLETTER ===== */

/* Titoli e testi */
.tnp-subscription,
.tnp-subscription label,
.tnp-subscription p {
    color: #3C3C3C;
}

/* Campo email */
.tnp-subscription input[type="email"]{
    border: 1px solid #D9E5EC;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
}

/* Pulsante */
.tnp-subscription input[type="submit"]{
    background: #A7C7D9;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 26px;
    font-weight: 600;
    font-size: 15px;
    transition: all .25s ease;
    cursor: pointer;
}

/* Hover pulsante */
.tnp-subscription input[type="submit"]:hover{
    background: #95B8CD;
}

/* Checkbox */
.tnp-subscription input[type="checkbox"]{
    accent-color: #A7C7D9;
    cursor: pointer;
}

/* Focus personalizzato */
.tnp-subscription input[type="checkbox"]:focus{
    outline: none;
    box-shadow: 0 0 0 3px rgba(167,199,217,.35);
}

/* Link Privacy */
.tnp-subscription a{
    color: #fffff;
    text-decoration: underline;
}

.tnp-subscription a:hover{
    color: #D9E5EC;
}

/* Pulsante WPForms */
.wpforms-container .wpforms-submit {
    background-color: #D4A64C;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    padding: 15px 34px;
    transition: all .3s ease;
}

/* Hover */
.wpforms-container .wpforms-submit:hover {
    background-color: #C9952F;
    color: #ffffff;
}
.wpforms-container input::placeholder,
.wpforms-container textarea::placeholder {
    color: #9B948C;
    opacity: 1;
}
.wpforms-container input:focus,
.wpforms-container textarea:focus {
    border-color: #A7C7D9;
    box-shadow: 0 0 0 3px rgba(167,199,217,.25);
    outline: none;
}

/* Pulsante Leggi tutto del blog */
.ast-post-read-more,
.read-more,
.entry-read-more a {
    background: #D4A548;
    color: #ffffff !important;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: all .3s ease;
    display: inline-block;
}

.ast-post-read-more:hover,
.read-more:hover,
.entry-read-more a:hover {
    background: #C79536;
    color: #ffffff !important;
}
.blog .post,
.archive .post {
    margin-bottom: 90px;
    padding-bottom: 50px;
    border-bottom: 1px solid #E8E3DB;
}
.blog .entry-title a,
.archive .entry-title a {
    color: #3F3F3F;
    transition: .3s;
}

.blog .entry-title a:hover,
.archive .entry-title a:hover {
    color: #D4A548;
}
.blog .entry-content,
.archive .entry-content {
    color: #555;
    line-height: 1.8;
}

