/* ==========================================================================
   PDF Cataloghi — stile allineato al prototipo (sezione .tls-pdf)
   Layout via utility Bootstrap inline nel template (bg-white, py-7 py-lg-10,
   grid row g-4, col-12 col-sm-6 col-lg-3, text-info = teal accent #119199).
   ========================================================================== */

/* Colonne della griglia in flex: card di pari altezza con link in fondo */
.pdf-cataloghi .row > [class*="col-"] {
    display: flex;
}

.pdf-cataloghi .eyebrow {
    font-family: "League Spartan", sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    margin-bottom: 1.5rem;
}

/* --- Titolo sezione (prototipo .tls-price__title) --- */
.pdf-cataloghi__title {
    color: #030303;
    font-family: "League Spartan", sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.85rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.pdf-cataloghi__title em {
    font-size: 0.95em;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0;
}

/* --- Card (prototipo .tls-pdf__card) --- */
.pdf-cataloghi__card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 2.25rem 2rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 4px;
    background: #f8fbfb;
    transition: border-color 0.25s ease;
}

.pdf-cataloghi__card:hover {
    border-color: var(--bs-info);
}

/* --- Icona documento (prototipo .tls-pdf__icon) --- */
.pdf-cataloghi__icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    color: var(--bs-info);
    margin-bottom: 1.25rem;
}

/* --- Badge lingua (prototipo .tls-pdf__lang-badge) --- */
.pdf-cataloghi .pdf-cataloghi__badge {
    align-self: flex-start;
    padding: 3px 8px;
    border-radius: 3px;
    background: #e5f1f1;
    color: var(--bs-info);
    font-family: "League Spartan", sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

/* --- Titolo card (prototipo .tls-pdf__title) --- */
.pdf-cataloghi__name {
    color: #030303;
    font-family: "League Spartan", sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

/* --- Descrizione (prototipo .tls-pdf__desc) --- */
.pdf-cataloghi__desc {
    color: #555555;
    font-size: 0.925rem;
    font-weight: 300;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

/* --- Link download (prototipo .tls-pdf__btn) --- */
.pdf-cataloghi__btn {
    align-self: flex-start;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bs-info);
    font-family: "League Spartan", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pdf-cataloghi__btn:hover,
.pdf-cataloghi__btn:focus {
    color: #0c777d;
    text-decoration: underline;
}

/* ==========================================================================
   Responsive (allineato alle media query del prototipo)
   Il ritmo verticale della sezione (5rem → 3rem) è demandato alle utility
   inline py-7 py-lg-10. A 991.98px la griglia torna 2-up (col-sm-6) e le
   card non richiedono override: il prototipo non ha regole .tls-pdf in quel
   breakpoint.
   ========================================================================== */

@media (max-width: 767.98px) {
    .pdf-cataloghi__card {
        padding: 1.75rem 1.25rem;
    }
}