/** Draft */
.cardContainerDraftCreate { background: #3EA5C7 0% 0% no-repeat padding-box; border-radius: 8px; opacity: 1; width: 100%;}
.cardContainerDraftCreate .cardCntTitleButton h2 { font: normal normal bold 34px/36px BROTHER; letter-spacing: 0px; color: #F9C514; text-shadow: 2px 1px 0px #000000; opacity: 1;}
.cardContainerDraftCreate .cardCntTitleButton a { background: #F9C514 0% 0% no-repeat padding-box; border-radius: 100px; opacity: 1; text-align: center; font: normal normal bold 14px/21px Inter; letter-spacing: 0px; color: #FFFFFF; text-transform: uppercase; }

.heading-text .h2 {
    font-family: "Inter", serif;
}

.main-container .row-container .row-parent {
    padding-top: 20px;
    padding-bottom: 0;
}

.heading-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.heading-text .h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
}

.heading-text .link-see-all-section {
    color: #939393;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.t-entry-visual {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.t-entry-visual::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    z-index: 1;
    pointer-events: none;
    border-radius: 8px;
}

.t-entry-visual .over-bollino,
.t-entry-visual .over-bookmark {
    position: absolute;
    top: 11px;
    z-index: 99;
}

.t-entry-visual .over-bollino {
    border-radius: 100px;
    width: 21px;
    height: 21px;

    left: 11px;
}

.t-entry-visual .over-bookmark {
    width: 18px;
    height: 16px;
    right: 11px;
}

.t-entry-visual .row-overlay-likes {
    position: absolute;
    bottom: 11px;
    left: 11px;
    z-index: 2;

    color: white;
    font-size: 12px;
}

.t-entry-visual .row-overlay-likes img {
    width: 13px;
    height: 13px;
    margin-right: 3px;

    filter: invert(1) brightness(3) contrast(2);
}

.t-entry-text{
    position: absolute;
    z-index: 1;
    padding: 20px 7px;
    bottom: 0;
}

.t-entry-text-tc {
    padding: 5px 0;
}

.t-entry-title {
    display: inline-block;

    /* text-shadow: 2px 1px black; */
    /* font-family: "Brother Bold", sans-serif; */
    font-size: 20px;

    /* color: #F9C514;
    background-color: #3EA5C7; */
    background-size: auto;

    padding: 0 5px 5px 4px;
}

/* .t-entry-title a {
    color: #F9C514;
} */

.t-entry .tagline {
    margin: 0;
    font-size: 13px;
    color: black;
}

.row-carousel-none p {
    margin-top: 11px;
}

/** Filter */
#content-filter-box {background: #3EA5C7 0% 0% no-repeat padding-box; border-radius: 8px; opacity: 1;}
@media (min-width: 960px) {
    #content-filter-box .col-lg-6 {
        height: auto!important;
    }
}
.select2-container .select2-selection--multiple .select2-selection__rendered { padding: 0 !important; }
.select2-search textarea { 
    display: inherit!important;
    font-size: 14px !important;
    align-content: center;
    font-family: 'Inter' !important;
}

.select2-selection li { 
    font-size: 14px !important;
    align-content: center;
    font-family: 'Inter' !important;
}

@media (max-width: 768px) {
    .select2-container button {
        width: auto!important;
    }
}

.modal-preview-wrapper {
    display: none;
    position: fixed;
    z-index: 999999;
    /* left: 50%; */
    /* top: 50%; */
    /* transform: translate(-50%, -50%); */
    width: 91vw;
    height: 85vh;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 0;
    transition: opacity 0.3s ease;
    bottom: 0;
    right: 0;
}
.modal-preview-content {
    background-color: #141414;
    margin-left: 50%;
    margin-top: 42vh;
    transform: translate(-50%, -50%);
    padding: 12px;
    border-radius: 25px;
    width: 80vw;
    height: 75vh;
    max-width: none;
    box-shadow: none;
    position: relative;
    z-index: 1000000;
    color: white;
    display: flex;
    box-shadow: 0 0 13px rgba(249, 197, 20, 0.1);

    flex-direction: column;
    /* overflow: hidden; */
    /* position: absolute;*/
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1000001;
    width: 48px;
    height: 48px;
    background-color: rgba(20, 20, 20, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #f9c514;
    background-color: rgba(20, 20, 20, 0.9);
}

.modal-header {
    /* padding: 30px 70px 20px;
    border-bottom: 1px solid #333;
    flex-direction: column;
    text-align: left;
    align-items: flex-start; */
    padding: 30px 70px 20px;
    border-bottom: 1px solid #333;
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    justify-content: left;
}

.modal-header h2 {
    color: white!important;
    margin: 0;
    font-size: 2.2rem;
    line-height: 1.2;
}

.modal-tagline {
    font-size: 1.2rem;
    color: #cccccc;
    margin-top: 12px;
    margin-bottom: 5px;
    font-style: italic;
}

.modal-body {
    display: flex;
    flex: 1;
    overflow: hidden;
    height: calc(100% - 120px);
}

.modal-image {
    flex: 0.5;
    padding: 10px;
    /* background-color: #0d0d0d; */
    position: relative;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}

.modal-info {
    flex: 1;
    position: relative;
    color: white;
    padding: 5px 4vw;
    overflow-y: auto;
    max-height: 100%;
}

.modal-bollino {
    margin-bottom: 25px;
}

.modal-description {
    margin-bottom: 30px;
    color: #e0e0e0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.modal-description p {
    margin-bottom: 15px;
}

.modal-details {
    margin-bottom: 30px;
    color: #e0e0e0;
}

.modal-details p {
    margin: 10px 0;
    font-size: 0.95rem;
}

.modal-likes {
    margin-bottom: 30px;
}

.modal-likes img {
    filter: invert(1) brightness(3) contrast(2);
    margin-top: -10px;
    margin-right: 5px;
}

.btn-view-project {
    display: inline-block;
    padding: 14px 28px;
    background-color: #f9c514;
    color: #000;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 1.05rem;
    max-width: 16vw;
}

.btn-view-project:hover {
    background-color: #ffda47;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(249, 197, 20, 0.3);
}
#modal-permalink{
    margin-left: 5vw;
}

/* Stili responsive - tablet */
@media (max-width: 1024px) {
    .modal-body {
        flex-direction: column;
        overflow-y: auto;
    }
    
    .modal-image {
        flex: none;
        height: 40vh;
    }
    
    .modal-info {
        flex: none;
        /* height: auto; */
        padding: 25px;
    }
    
    .modal-header {
        padding: 25px 25px 15px;
    }
    
    .modal-header h2 {
        font-size: 1.8rem;
    }
    
    .modal-tagline {
        font-size: 1rem;
    }
}

/* Stili responsive - mobile */
@media (max-width: 768px) {
    
    .modal-preview-wrapper {
        width: 100vw; /* Larghezza maggiore su mobile */
        height: 85vh; /* Altezza maggiore su mobile */
        bottom: auto;
        top: 50px;
    }

    /* .modal-preview-content{
        height: 100%;
    } */
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .modal-header {
        padding: 20px 20px 15px;
        flex-direction: column;
    }
    #modal-permalink{
        margin-left: 0;
    }
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-tagline {
        font-size: 0.95rem;
        margin-top: 8px;
    }
    
    .modal-body {
        height: calc(100% - 90px);
    }
    
    .modal-image {
        height: 25vh;
    }
    
    .modal-info {
        padding: 20px;
        
        overflow: auto;
    }
    
    .modal-description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .btn-view-project {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 1rem;
        max-width: initial;
    }
}

/* Fixed button for very small screens */
@media (max-width: 480px) {
    .modal-info {
        padding-bottom: 80px;
    }
/*     
    .btn-view-project {
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        width: calc(100% - 40px);
    } */
}