/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


.text-primary{
    color: #F9FA03 !important;
}

.comments-area a, .page-content a {
    text-decoration: none !important;
}


p {
    margin-block-start: 0 !important;
}


.ns-header-menu{
    z-index: 1;
}

@media (max-width: 768px) {
    .ns-header-menu .menu-item-link {
        color: #000 !important;
    }
}


/* ── SLP Tabs ───────────────────────────────────────── */
.slp-tabs {
    max-width: 680px;
}

.slp-tabs .slp-tabs__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.slp-tabs .slp-tabs__nav .slp-tab-btn {
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    color: #aaa !important;
    background: transparent !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 7px 20px !important;
    cursor: pointer;
    transition: color .2s, box-shadow .2s, background .2s;
    font-family: inherit !important;
    text-align: center;
    box-shadow: none !important;
    width: 100%;
    line-height: 1.4;
    font-size: 1rem !important;
    font-weight: 700 !important;
}

.slp-tabs .slp-tabs__nav .slp-tab-btn:hover {
    color: #555 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.slp-tabs .slp-tabs__nav .slp-tab-btn.active {
    color: #111 !important;
    background: #fff !important;
    box-shadow:
            0 0 0 1px rgba(0,0,0,0.08),
            0 2px 12px rgba(0,0,0,0.15) !important;
    border: none !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
}

/* Pannello */
.slp-tab-panel {
    display: none;
    background: #fff;
    border-radius: 20px;
    box-shadow:
            0 0 0 1px rgba(0,0,0,0.06),
            0 4px 24px rgba(0,0,0,0.10);
    padding: 24px 28px;
}

.slp-tab-panel.active {
    display: block;
}

/* Lista specs */
.slp-specs {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.slp-specs li {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    padding-left: 14px;
    position: relative;
}

.slp-specs li::before {
    content: "·";
    position: absolute;
    left: 0;
    color: #aaa;
    font-size: 16px;
    line-height: 1.3;
}

/* Mobile — rimane grid 3 col, solo testo più piccolo */
@media (max-width: 480px) {
    .slp-tabs .slp-tabs__nav .slp-tab-btn {
        font-size: 11px !important;
        padding: 6px 8px !important;
    }
    .slp-tab-panel {
        padding: 18px 16px;
    }
}


/* ── EGM Request Form ───────────────────────────────── */
.egm-request-form {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.egm-request-form .cf-col-6 {
    width: calc(50% - 7px);
}

.egm-request-form .cf-col-12 {
    width: 100%;
}

.egm-request-form .form-control {
    width: 100%;
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    background: #fafafa !important;
    color: #111 !important;
    transition: border-color .2s !important;
    box-shadow: none !important;
    appearance: none;
}

.egm-request-form .form-control:focus {
    border-color: #999 !important;
    outline: none !important;
    background: #fff !important;
}

.egm-request-form textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

/* Privacy checkbox */
.egm-request-form .form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.egm-request-form .form-check-input {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #111;
}

.egm-request-form .form-check-label {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.egm-request-form .form-check-label a {
    color: #111;
    text-decoration: underline;
}

/* Submit */
.egm-request-form .btn-egm {
    width: 100%;
    padding: 14px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    cursor: pointer;
}

/* Mobile: tutto full width sotto 560px */
@media (max-width: 560px) {
    .egm-request-form .cf-col-6 {
        width: 100%;
    }
}
.egm-request-form select.form-control {
    height: 46px;
    border-radius: 4px;
    width: 100%;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px !important;
    cursor: pointer;
}


/* ── Sidebar Categorie News ───────────────────────────── */
.sidebar-categorie-news .elementor-widget-container {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

.sidebar-categorie-news h5 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #adadad;
    margin: 0 0 14px 0;
}

.sidebar-categorie-news ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-categorie-news ul li a {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 6px;
    transition: background .15s, color .15s;
}

.sidebar-categorie-news ul li a:hover {
    background: #f5f5f5;
    color: #111;
}

.sidebar-categorie-news ul li.current-cat a {
    background: #f0f0f0;
    color: #111;
    font-weight: 600;
}



/* ── Post Content ───────────────────────────────────── */
.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.post-content p {
    margin-bottom: 1.4rem;
}

.post-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #111;
    margin: 2rem 0 1rem;
}

.post-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111;
    margin: 1.75rem 0 0.75rem;
}

.post-content ul,
.post-content ol {
    padding-left: 1.25rem;
    margin-bottom: 1.4rem;
}

.post-content ul li,
.post-content ol li {
    margin-bottom: 0.4rem;
    line-height: 1.7;
}

.post-content strong {
    font-weight: 600;
    color: #111;
}

.post-content a {
    color: #111;
    text-decoration: underline;
}


/* Hashtag — rimpiccioliti e grigi */
.post-content .post-hashtags {
    font-size: 14px;
    color: #dadada;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}


@media (max-width: 600px) {
    .ns-loop-posts .elementor-grid-item {
        display: flex;
        flex-direction: column;
    }

    .ns-loop-posts .elementor-grid-item a.elementor-post__thumbnail__link {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 16px;
    }
}