/* Carattere del logo, solo per il titolo della hero della home. Un unico peso:
   niente grassetto simulato. Il file disegna solo lettere senza accenti, punto
   e trattino (apostrofi, virgole, numeri e accentate sono vuoti): gli altri
   caratteri passano a Montserrat tramite unicode-range. */
@font-face {
    font-family: "Corporate HQ";
    src: url("./fonts/corporate-hq.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0020, U+002D-002E, U+0041-005A, U+0061-007A;
}

/* Più specifico della regola globale di fonts.css, che impone Montserrat. */
html body .jc-home-hero h1.elementor-heading-title {
    font-family: "Corporate HQ", var(--jc-font) !important;
    font-weight: 400;
    font-synthesis: none;
    letter-spacing: normal;
    /* Rispetta l'a capo del testo salvato, dopo «IERI,». */
    white-space: pre-line;
}

.jc-home-hero > .elementor-container > .elementor-column > .elementor-widget-wrap {
    padding-block: clamp(38px, 6vw, 76px);
}

.jc-home-hero .s01 {
    padding: 0;
}

.jc-home-hero #jobcamere-search {
    margin-inline: auto;
    max-width: 920px;
}

.jc-home-hero #jobcamere-search .inner-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(124px, auto);
    gap: 10px;
    padding: 12px;
    border: 1px solid #fff;
    /* Stesso raggio a pillola dei pulsanti del sito. */
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 12px 32px #19000642;
}

/* Il modulo importato dichiara un'altezza fissa con priorità. */
.jc-home-hero #jobcamere-search .input-field {
    width: auto;
    min-width: 0;
    height: 54px !important;
    margin: 0;
}

.jc-home-hero #jobcamere-search input {
    padding: 0 22px;
    border: 1px solid #d9d7d7;
    border-radius: 999px;
    background: #f8f7f7;
    color: #303030;
    font: 500 1rem/1.25 var(--jc-font);
}

.jc-home-hero #jobcamere-search input::placeholder {
    color: #575757;
    opacity: 1;
}

.jc-home-hero #jobcamere-search button {
    padding: 0 18px;
    font: 700 1rem/1.2 var(--jc-font);
}

.jc-home-hero #jobcamere-search :is(input, button):focus-visible {
    outline: 2px solid #dd0731;
    outline-offset: 2px;
}

.jc-home-vacancies .elementor-button-wrapper {
    text-align: center;
}

.jc-home-hero.elementor-section .jc-home-vacancies .elementor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 44px;
    padding: 10px 24px;
    border: 1px solid #fffd;
    background: #30303088;
    color: #fff;
}

.jc-home-vacancies .elementor-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.jc-home-roles.elementor-section {
    padding-block: clamp(14px, 2vw, 28px);
}

.jc-home-roles.elementor-section .elementor-inner-column > .elementor-widget-wrap,
.jc-home-actions .jc-home-action-card.elementor-column > .elementor-widget-wrap {
    border-radius: 14px;
    padding: clamp(20px, 3.4vw, 42px);
    box-shadow: 0 12px 36px #30303016;
}

.jc-home-roles.elementor-section h2.elementor-heading-title,
.jc-home-actions.elementor-section h2.elementor-heading-title {
    font-size: clamp(1.5rem, 3vw, 2.35rem);
    line-height: 1.12;
    text-wrap: balance;
}

.jc-home-story.elementor-section {
    padding-block: clamp(20px, 4vw, 48px);
}

.jc-home-story.elementor-section h2.elementor-heading-title {
    text-wrap: balance;
}

/* Schede e testo centrati in verticale, così i due blocchi restano allineati tra loro. */
.jc-home-story > .elementor-container > .elementor-column > .elementor-widget-wrap {
    align-content: center;
}

.jc-home-story > .elementor-container > .elementor-column:first-child > .elementor-widget-wrap {
    align-items: center;
}

/* Colonna sinistra (JobCamereHomeStory): tre schede bianche con indice e bordo rosso. */
.jc-home-story__panel {
    width: 100%;
    font-family: var(--jc-font);
}

.jc-home-story__panel strong {
    display: block;
    color: #303030;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
}

.jc-home-story__panel li div > span:last-child {
    display: block;
    margin-top: 4px;
    color: #575757;
    font-size: 0.95rem;
    line-height: 1.5;
}

.jc-home-story__commitments {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jc-home-story__commitments li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    padding: 20px 22px;
    border-left: 4px solid #dd0731;
    border-radius: 2px 14px 14px 2px;
    background: #fff;
    box-shadow: 0 10px 28px #30303012;
}

.jc-home-story__index {
    color: #dd0731;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.jc-home-story__label {
    display: block;
    margin-bottom: 2px;
    color: #dd0731;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    /* Su una colonna sola il titolo «La nostra storia» viene prima. */
    .jc-home-story > .elementor-container > .elementor-column:first-child {
        order: 2;
    }

    .jc-home-story__commitments li {
        gap: 14px;
        padding: 16px 18px;
    }
}

.jc-home-actions > .elementor-container > .elementor-column > .elementor-widget-wrap,
.jc-home-actions .jc-home-action-card > .elementor-widget-wrap {
    flex-direction: column;
    flex-wrap: nowrap;
}

.jc-home-actions .elementor-inner-section {
    flex: 1;
    display: flex;
}

.jc-home-actions .jc-home-action-card .elementor-widget-button {
    margin-top: auto;
}

@media (max-width: 767px) {
    .jc-home-hero #jobcamere-search .inner-form {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 28px;
    }
}
