/* =========================================
   HSDD LOOP — Card Tender
   ========================================= */

.hsdd-loop .hsdd-card--tender {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
    min-height: 360px;
    margin-bottom: 36px !important;
}

.hsdd-card--tender .hsdd-card__col--info {
    position: relative;
}
.hsdd-card--tender .hsdd-card__tax-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    line-height: 2em;
    padding: 0px 9px;
    background: #ececec;
    color: #666;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
}

/* Il plugin applica un transform in hover a .hsdd-card (translate3d),
   che crea un containing block per i figli position:fixed (il modale
   contatti), facendolo agganciare/tagliare dalla card invece che dal
   viewport. Lo neutralizziamo per la variante tender. */
.hsdd-loop .hsdd-card--tender:hover {
    transform: none;
}

.hsdd-card--tender ul,
.hsdd-card--tender li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hsdd-card--tender .hsdd-card__statusbar {
    flex: 0 0 50px;
    width: 50px;
    background-size: 200% 200%;
    animation: hsdd-statusbar-shift 8s ease-in-out infinite alternate;
}
.hsdd-card--tender .hsdd-card__statusbar.hsdd-card__status--open {
    background-image: linear-gradient(6deg, #1e9450, #2ecc71, #48e08a, #2ecc71, #1e9450);
}
.hsdd-card--tender .hsdd-card__statusbar.hsdd-card__status--closed {
    background-image: linear-gradient(6deg, #c0392b, #e74c3c, #ef6f61, #e74c3c, #c0392b);
}

@keyframes hsdd-statusbar-shift {
    0%   { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .hsdd-card--tender .hsdd-card__statusbar {
        animation: none;
    }
}

.hsdd-card--tender .hsdd-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    gap: 0;
    padding: 0;
    min-width: 0;
}

.hsdd-card--tender .hsdd-card__col--info {
    flex: 0 0 33%;
    min-width: 0;
    padding: 50px 28px 28px;
    border-right: 1px solid rgba(0, 0, 0, .1);
}
.hsdd-card--tender .hsdd-card__col--docs {
    flex: 0 0 67%;
    min-width: 0;
}

.hsdd-card--tender .hsdd-card__status-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.hsdd-card--tender .hsdd-card__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.hsdd-card--tender .hsdd-card__status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}
.hsdd-card--tender .hsdd-card__status--open .hsdd-card__status-dot {
    position: relative;
    background-color: #2ecc71;
    box-shadow: 0 0 0 4px rgba(46, 204, 113, .18);
}
.hsdd-card--tender .hsdd-card__status--open .hsdd-card__status-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: #2ecc71;
    animation: hsdd-status-pulse 1.8s ease-out infinite;
}
@keyframes hsdd-status-pulse {
    0%   { opacity: .6; transform: scale(1); }
    100% { opacity: 0; transform: scale(2.6); }
}
@media (prefers-reduced-motion: reduce) {
    .hsdd-card--tender .hsdd-card__status--open .hsdd-card__status-dot::after {
        animation: none;
    }
}
.hsdd-card--tender .hsdd-card__status--open .hsdd-card__status-label {
    color: #1e9450;
}
.hsdd-card--tender .hsdd-card__status--closed .hsdd-card__status-dot {
    background-color: #e74c3c;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, .18);
}
.hsdd-card--tender .hsdd-card__status--closed .hsdd-card__status-label {
    color: #c0392b;
}

.hsdd-card--tender .hsdd-card__deadline {
    font-size: 14px;
    opacity: .7;
    margin: 0;
}

.hsdd-card--tender .hsdd-card__title {
    font-size: 26px;
    line-height: 1.25;
    margin: 0 0 10px;
}

.hsdd-card--tender .hsdd-card__excerpt {
    margin: 0;
}

.hsdd-card--tender .hsdd-card__actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.hsdd-card--tender .hsdd-card__btn {
    display: inline-flex;
    align-items: center;
    height: 50px;
    width: 50px;
    max-width: 50px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 25px;
    background-color: #1e9450;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    opacity: .76;
    transition: max-width .35s ease-in-out, background-color .3s ease-in-out, border-color .3s ease-in-out, opacity .25s ease-in-out;
}
.hsdd-card--tender .hsdd-card__btn:hover,
.hsdd-card--tender .hsdd-card__btn:focus-visible {
    opacity: 1;
}
.hsdd-card--tender .hsdd-card__btn,
.hsdd-card--tender .hsdd-card__btn:hover,
.hsdd-card--tender .hsdd-card__btn:focus-visible,
.hsdd-card--tender .hsdd-card__btn .hsdd-card__btn-label {
    color: #fff !important;
}

.hsdd-card--tender .hsdd-card__btn--zip {
    background-color: transparent;
    background-image: linear-gradient(6deg, #1e9450, #2ecc71, #48e08a, #2ecc71, #1e9450);
    background-size: 200% 200%;
    animation: hsdd-statusbar-shift 8s ease-in-out infinite alternate;
}
.hsdd-card--tender .hsdd-card__btn--zip.hsdd-card__status--closed {
    background-image: linear-gradient(6deg, #c0392b, #e74c3c, #ef6f61, #e74c3c, #c0392b);
}
@media (prefers-reduced-motion: reduce) {
    .hsdd-card--tender .hsdd-card__btn--zip {
        animation: none;
    }
}

.hsdd-card--tender .hsdd-card__btn--info {
    background-color: transparent;
    border-color: #2c3e50;
    color: #2c3e50;
}
.hsdd-card--tender .hsdd-card__btn--info,
.hsdd-card--tender .hsdd-card__btn--info:hover,
.hsdd-card--tender .hsdd-card__btn--info:focus-visible,
.hsdd-card--tender .hsdd-card__btn--info .hsdd-card__btn-label {
    color: #2c3e50 !important;
}
.hsdd-card--tender .hsdd-card__btn--info.hsdd-card__status--open {
    border-color: #1e9450;
}
.hsdd-card--tender .hsdd-card__btn--info.hsdd-card__status--open,
.hsdd-card--tender .hsdd-card__btn--info.hsdd-card__status--open:hover,
.hsdd-card--tender .hsdd-card__btn--info.hsdd-card__status--open:focus-visible,
.hsdd-card--tender .hsdd-card__btn--info.hsdd-card__status--open .hsdd-card__btn-label {
    color: #1e9450 !important;
}
.hsdd-card--tender .hsdd-card__btn--info.hsdd-card__status--closed {
    border-color: #c0392b;
}
.hsdd-card--tender .hsdd-card__btn--info.hsdd-card__status--closed,
.hsdd-card--tender .hsdd-card__btn--info.hsdd-card__status--closed:hover,
.hsdd-card--tender .hsdd-card__btn--info.hsdd-card__status--closed:focus-visible,
.hsdd-card--tender .hsdd-card__btn--info.hsdd-card__status--closed .hsdd-card__btn-label {
    color: #c0392b !important;
}

.hsdd-card--tender .hsdd-card__btn-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hsdd-card--tender .hsdd-card__btn-icon--serif {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    color: inherit;
}
.hsdd-card--tender .hsdd-card__btn-label {
    max-width: 0;
    opacity: 0;
    padding-right: 0;
    font-size: 13px;
    font-weight: 600;
    transition: max-width .35s ease-in-out, opacity .3s ease-in-out, padding-right .35s ease-in-out;
}
.hsdd-card--tender .hsdd-card__btn:hover,
.hsdd-card--tender .hsdd-card__btn:focus-visible,
.hsdd-card--tender .hsdd-card__btn[aria-expanded="true"] {
    max-width: 220px;
}
.hsdd-card--tender .hsdd-card__btn:hover .hsdd-card__btn-label,
.hsdd-card--tender .hsdd-card__btn:focus-visible .hsdd-card__btn-label,
.hsdd-card--tender .hsdd-card__btn[aria-expanded="true"] .hsdd-card__btn-label {
    max-width: 220px;
    opacity: 1;
    padding-right: 20px;
}

/* ── Modale contatti ── */
.hsdd-card--tender .hsdd-card__modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 32, .55);
    backdrop-filter: blur(2px);
}
.hsdd-card--tender .hsdd-card__modal-overlay[hidden] {
    display: none;
}
.hsdd-card--tender .hsdd-card__modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}
.hsdd-card--tender .hsdd-card__modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(255, 255, 255, .2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: background-color .2s ease-in-out;
}
.hsdd-card--tender .hsdd-card__modal-close:hover {
    background: rgba(255, 255, 255, .32);
}
.hsdd-card--tender .hsdd-card__modal-header {
    padding: 28px;
    background-size: 200% 200%;
    background-image: linear-gradient(6deg, #1e9450, #2ecc71, #48e08a, #2ecc71, #1e9450);
    animation: hsdd-statusbar-shift 8s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
    .hsdd-card--tender .hsdd-card__modal-header {
        animation: none;
    }
}
.hsdd-card--tender .hsdd-card__modal-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 20px;
    text-align: left;
    color: #fff;
}
.hsdd-card--tender .hsdd-card__modal-subtitle {
    margin: 6px 0 0 !important;
    padding: 0 !important;
    font-size: 13px;
    text-align: left;
    color: rgba(255, 255, 255, .85);
}
.hsdd-card--tender .hsdd-card__contact-list {
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.hsdd-card--tender .hsdd-card__contact-item {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.hsdd-card--tender .hsdd-card__contact-item:last-child {
    border-bottom: none;
}
/* Tutto lo spazio interno della riga contatto vive qui, non su title/ul/li,
   per avere un unico punto di controllo del padding. */
.hsdd-card--tender .hsdd-card__contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 !important;
    padding: 9px 28px !important;
    text-decoration: none;
}
.hsdd-card--tender .hsdd-card__contact-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(30, 148, 80, .1);
    color: #1e9450;
}
.hsdd-card--tender .hsdd-card__contact-text {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    text-align: left;
}
.hsdd-card--tender .hsdd-card__contact-link:hover .hsdd-card__contact-text {
    text-decoration: underline;
}

.hsdd-card--tender .hsdd-card__docs-list {
    list-style: none;
    margin: 0 0 16px;
    padding-bottom: 24px;
    border-top: 1px solid rgba(0, 0, 0, .1);
}
.hsdd-card--tender .hsdd-card__docs-list--has-extra {
    margin-bottom: 0;
    padding-bottom: 0;
}

.hsdd-card--tender .hsdd-card__docs-extra {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.hsdd-card--tender .hsdd-card__docs-extra.is-open {
    max-height: 2000px;
}
.hsdd-card--tender .hsdd-card__docs-extra .hsdd-card__docs-list--extra {
    margin: 0;
    padding: 0;
    border-top: none;
}

.hsdd-card--tender .hsdd-card__docs-toggle-all {
    display: block;
    width: 100%;
    padding: 12px 24px 24px;
    margin: 0;
    border: none;
    background: none;
    color: inherit;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-align: center;
    opacity: .55;
    cursor: pointer;
    transition: opacity .2s ease-in-out;
}
.hsdd-card--tender .hsdd-card__docs-toggle-all:hover {
    opacity: .85;
}
.hsdd-card--tender .hsdd-card__docs-toggle-all-label-hide {
    display: none;
}
.hsdd-card--tender .hsdd-card__docs-toggle-all[aria-expanded="true"] .hsdd-card__docs-toggle-all-label-show {
    display: none;
}
.hsdd-card--tender .hsdd-card__docs-toggle-all[aria-expanded="true"] .hsdd-card__docs-toggle-all-label-hide {
    display: inline;
}
.hsdd-card--tender .hsdd-card__docs-heading {
    margin: 24px 28px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .55;
}

/* Toggle "Mostra/Nascondi Documenti": nascosto su desktop (l'elenco è
   sempre visibile), mostrato solo su tablet/smartphone dove l'elenco
   documenti parte chiuso — stesso linguaggio visivo del toggle
   "Mostra tutti" già usato per i documenti extra. */
.hsdd-card--tender .hsdd-card__docs-section-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 14px 16px;
    margin: 0;
    border: none;
    background: none;
    color: inherit;
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: left;
    opacity: .66;
    cursor: pointer;
    transition: opacity .2s ease-in-out;
}
.hsdd-card--tender .hsdd-card__docs-section-toggle:hover {
    opacity: .9;
}
.hsdd-card--tender .hsdd-card__docs-section-toggle-chevron {
    flex-shrink: 0;
    order: 1;
    margin-left: auto;
    transition: transform .2s ease-in-out;
}
.hsdd-card--tender .hsdd-card__docs-section-toggle[aria-expanded="true"] .hsdd-card__docs-section-toggle-chevron {
    transform: rotate(180deg);
}
.hsdd-card--tender .hsdd-card__docs-section-toggle-label-hide {
    display: none;
}
.hsdd-card--tender .hsdd-card__docs-section-toggle[aria-expanded="true"] .hsdd-card__docs-section-toggle-label-show {
    display: none;
}
.hsdd-card--tender .hsdd-card__docs-section-toggle[aria-expanded="true"] .hsdd-card__docs-section-toggle-label-hide {
    display: inline;
}

.hsdd-card--tender .hsdd-card__doc-item {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    margin: 0px !important;
    padding: 0px !important;
}
.hsdd-card--tender .hsdd-card__doc-link {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 16px 84px 16px 46px;
    text-decoration: none;
}
.hsdd-card--tender .hsdd-card__doc-link:hover {
    background: rgba(0, 0, 0, .04);
}
.hsdd-card--tender .hsdd-card__doc-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}
.hsdd-card--tender .hsdd-card__doc-subtitle {
    font-size: 12px;
    line-height: 1.35;
    opacity: .65;
}
.hsdd-card--tender .hsdd-card__doc-icon {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    opacity: .6;
}
/* Iconcina tipo-file (pdf/word/zip/generico), a sinistra del titolo. */
.hsdd-card--tender .hsdd-doc-type-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    opacity: .7;
}

/* Colori per tipo file — condivisi fra card tender.php e riga tender-line.php. */
.hsdd-doc-type-icon--pdf {
    color: #c0392b;
}
.hsdd-doc-type-icon--word {
    color: #2b579a;
}
.hsdd-doc-type-icon--zip {
    color: #c89328;
}
.hsdd-doc-type-icon--file {
    color: #888;
}

/* Trigger anteprima PDF: bottone tondo, a sinistra dell'icona download. */
.hsdd-card--tender .hsdd-card__doc-preview-trigger {
    position: absolute;
    top: 50%;
    right: 52px;
    transform: translateY(-50%);
    z-index: 1;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 50%;
    color: currentColor;
    opacity: .55;
    cursor: pointer;
    transition: opacity .15s ease, background-color .15s ease;
}
.hsdd-card--tender .hsdd-card__doc-preview-trigger:hover,
.hsdd-card--tender .hsdd-card__doc-preview-trigger:focus-visible {
    opacity: 1;
    background: rgba(0, 0, 0, .06);
}

/* Modale anteprima documenti: iniettata una sola volta via wp_footer, fuori
   da qualunque card — non eredita quindi le regole base della modale
   contatti (scoperte sotto .hsdd-card--tender / .hsdd-tender-line-row).
   Stile completo e autonomo, ancorato all'id fisso della modale globale. */
#hsdd-pdf-preview-modal.hsdd-card__modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 32, .55);
    backdrop-filter: blur(2px);
}
#hsdd-pdf-preview-modal[hidden] {
    display: none;
}
#hsdd-pdf-preview-modal .hsdd-card__modal {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}
#hsdd-pdf-preview-modal .hsdd-card__modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(0, 0, 0, .35);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
}
#hsdd-pdf-preview-modal .hsdd-card__modal-header {
    padding: 20px 60px 16px 20px;
    background: #0f3d24;
}
#hsdd-pdf-preview-modal .hsdd-card__modal-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px;
    color: #fff;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}
#hsdd-pdf-preview-modal .hsdd-card__modal-subtitle {
    margin: 4px 0 0 !important;
    padding: 0 !important;
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
}

.hsdd-card__modal--pdf {
    max-width: 800px;
    width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}
.hsdd-card__modal-header--pdf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.hsdd-pdf-preview-nav {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.hsdd-pdf-preview-nav .hsdd-card__btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(255, 255, 255, .2);
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}
.hsdd-pdf-preview-nav .hsdd-card__btn:disabled {
    opacity: .35;
    cursor: not-allowed;
    pointer-events: none;
}
.hsdd-pdf-preview-body {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1c1c1c;
}
.hsdd-pdf-preview-iframe {
    display: block;
    width: 100%;
    height: 75vh;
    border: 0;
}
.hsdd-pdf-preview-image {
    display: none;
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    margin: 0 auto;
}
@media (max-width: 767px) {
    .hsdd-card__modal--pdf {
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
    .hsdd-pdf-preview-iframe,
    .hsdd-pdf-preview-image {
        max-height: calc(100vh - 110px);
        height: calc(100vh - 110px);
    }
}

@media (max-width: 1280px) {
    .hsdd-loop .hsdd-card--tender {
        flex-direction: column;
        min-height: 0;
    }
    .hsdd-card--tender .hsdd-card__body {
        flex-direction: column;
        gap: 16px;
    }
    .hsdd-card--tender .hsdd-card__col--info,
    .hsdd-card--tender .hsdd-card__col--docs {
        flex: 1 1 100%;
    }
    .hsdd-card--tender .hsdd-card__col--info {
        padding: 62px 16px 14px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, .1);
    }
    .hsdd-card--tender .hsdd-card__statusbar {
        flex: 0 0 10px;
        width: auto;
        height: 10px;
    }

    .hsdd-card--tender .hsdd-card__status-row {
        gap: 10px;
        margin-bottom: 8px;
    }
    .hsdd-card--tender .hsdd-card__status {
        font-size: 15px;
        gap: 6px;
    }
    .hsdd-card--tender .hsdd-card__status-dot {
        width: 11px;
        height: 11px;
    }
    .hsdd-card--tender .hsdd-card__deadline {
        font-size: 14px;
    }
    .hsdd-card--tender .hsdd-card__title {
        font-size: 21px;
        margin-bottom: 6px;
    }
    .hsdd-card--tender .hsdd-card__excerpt {
        font-size: 16px;
    }

    .hsdd-card--tender .hsdd-card__actions {
        margin-top: 14px;
        gap: 10px;
    }
    .hsdd-card--tender .hsdd-card__btn {
        height: 50px;
        width: 50px;
        max-width: 50px;
    }
    .hsdd-card--tender .hsdd-card__btn-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }
    .hsdd-card--tender .hsdd-card__btn-icon svg {
        width: 20px;
        height: 20px;
    }
    .hsdd-card--tender .hsdd-card__btn-label {
        font-size: 13px;
    }

    /* Il titolo "Elenco Documenti" duplicherebbe l'etichetta del toggle
       "Mostra/Nascondi Documenti", attivo alla stessa larghezza: nascosto
       qui. */
    .hsdd-card--tender .hsdd-card__docs-heading {
        display: none;
    }

    .hsdd-card--tender .hsdd-card__docs-section-toggle {
        display: flex;
    }
    .hsdd-card--tender .hsdd-card__docs-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    }
    .hsdd-card--tender .hsdd-card__docs-body.is-open {
        max-height: 4000px;
    }

    .hsdd-card--tender .hsdd-card__doc-link {
        padding-right: 76px;
        padding-left: 38px;
    }
    .hsdd-card--tender .hsdd-card__doc-title {
        font-size: 15px;
    }
    .hsdd-card--tender .hsdd-card__doc-subtitle {
        font-size: 13px;
    }
    .hsdd-card--tender .hsdd-card__doc-icon {
        right: 16px;
    }
    .hsdd-card--tender .hsdd-card__doc-preview-trigger {
        right: 44px;
    }
    .hsdd-card--tender .hsdd-doc-type-icon {
        left: 10px;
    }

    .hsdd-card--tender .hsdd-card__modal-header {
        padding: 22px 20px;
    }
    .hsdd-card--tender .hsdd-card__modal-title {
        font-size: 19px;
    }
    .hsdd-card--tender .hsdd-card__contact-link {
        padding: 8px 20px;
    }
    .hsdd-card--tender .hsdd-card__contact-text {
        font-size: 15px;
    }
}
