/* =========================================================
   TISKOVÉ TECHNOLOGIE
   ========================================================= */

.technologies-page {
    padding-bottom: 4px;
}

.technologies-main {
    padding: 34px;
}

/* ÚVOD */

.technologies-intro {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.technologies-intro h1 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 1.45rem;
    line-height: 1.25;
    font-weight: 500;
}

.technologies-lead {
    margin: 0 0 11px;
    color: var(--femax-red-dark);
    font-size: 1.03rem;
    line-height: 1.55;
    font-weight: 500;
}

.technologies-intro > p:last-child {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: .94rem;
    line-height: 1.65;
}

/* ČERVENÁ LINKA */

.technologies-divider {
    width: 120px;
    height: 1px;
    margin: 29px auto 31px;
    background: #e5a295;
}

.technologies-divider--bottom {
    margin-top: 32px;
    margin-bottom: 27px;
}

/* KARTY */

.technologies-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.technology-card {
    min-width: 0;
    padding: 27px 29px 29px;
    background: #fff;
    border: 1px solid #e7e9ec;
    border-radius: var(--radius);
    box-shadow: 0 6px 20px rgba(26, 34, 44, .035);
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.technology-card:hover {
    border-color: #dcdfe3;
    box-shadow: 0 9px 24px rgba(26, 34, 44, .055);
    transform: translateY(-1px);
}

.technology-card--last {
    grid-column: 1 / -1;
    width: calc((100% - 18px) / 2);
    justify-self: center;
}

.technology-card h2 {
    margin: 0 0 15px;
    color: var(--femax-red-dark);
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 600;
    text-align: center;
}

.technology-card > p {
    margin: 0;
    color: #555d66;
    font-size: .9rem;
    line-height: 1.65;
}

.technology-card > p + p {
    margin-top: 18px;
}

.technology-use {
    color: #626a73 !important;
}

.technology-use strong {
    color: var(--ink);
    font-weight: 600;
}

/* KONTAKT */

.technologies-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.technologies-contact h2 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 600;
}

.technologies-contact p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.55;
}

.technologies-contact__link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 15px;
    color: var(--femax-red-dark);
    background: #fff;
    border: 1px solid #e3a99d;
    border-radius: 5px;
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition:
        background-color .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.technologies-contact__link:hover {
    color: var(--femax-red-dark);
    background: #fff8f6;
    border-color: var(--femax-red);
    transform: translateY(-1px);
}

/* TABLET */

@media (max-width: 900px) {
    .technologies-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .technology-card--last {
        grid-column: auto;
        width: auto;
    }

    .technology-card {
        padding: 24px 25px 26px;
    }
}

/* MOBIL */

@media (max-width: 680px) {
    .technologies-main {
        padding: 24px 20px;
    }

    .technologies-intro h1 {
        font-size: 1.35rem;
    }

    .technologies-lead {
        font-size: .98rem;
    }

    .technologies-intro > p:last-child {
        font-size: .9rem;
    }

    .technologies-divider {
        width: 92px;
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .technology-card {
        padding: 22px 20px 23px;
    }

    .technology-card h2 {
        margin-bottom: 13px;
        font-size: .97rem;
    }

    .technology-card > p {
        font-size: .88rem;
    }

    .technology-card > p + p {
        margin-top: 15px;
    }

    .technologies-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}
.technologies-hero img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 420px) {
    .technologies-main {
        padding: 22px 17px;
    }

    .technology-card {
        padding: 20px 17px 21px;
    }
}
