/* sertifikalar sayfasının özel CSS'i (orijinal siteden) */
/* ===================================
   INMOBED - SERTİFİKALAR
=================================== */

.inmobed-certificates {
    background: #f7f7f5;
    padding: 110px 20px;
    font-family: inherit;
}

.cert-container {
    max-width: 1280px;
    margin: 0 auto;
}


/* HEADER */

.cert-header {
    max-width: 760px;
    margin-bottom: 65px;
}

.cert-small-title {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #8a8a82;
    margin-bottom: 18px;
}

.cert-header h1 {
    font-size: 52px;
    line-height: 1.05;
    letter-spacing: -2px;
    color: #1d1d1b;
    margin: 0 0 20px;
    font-weight: 500;
}

.cert-header p {
    max-width: 670px;
    font-size: 17px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}


/* GRID */

.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}


/* CARD */

.cert-card {
    position: relative;
    background: #fff;
    min-height: 430px;
    padding: 42px;
    border: 1px solid #e9e9e5;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.cert-card:hover {
    transform: translateY(-6px);
    border-color: #d6d6cf;
    box-shadow: 0 25px 60px rgba(0,0,0,.07);
}


/* BACKGROUND NUMBER */

.cert-number {
    position: absolute;
    right: -5px;
    top: -15px;

    font-size: 105px;
    font-weight: 700;
    letter-spacing: -8px;

    color: #f3f3f0;
    line-height: 1;

    pointer-events: none;

    transition: .4s ease;
}

.cert-card:hover .cert-number {
    transform: translateX(-8px);
    color: #eeeeea;
}


/* CONTENT */

.cert-content {
    position: relative;
    z-index: 2;
}

.cert-label {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: #8a8a82;
    margin-bottom: 25px;
}

.cert-content h3 {
    max-width: 380px;
    font-size: 27px;
    line-height: 1.25;
    color: #20201e;
    margin: 0 0 18px;
    font-weight: 500;
}

.cert-content > p {
    max-width: 470px;
    font-size: 14px;
    line-height: 1.75;
    color: #777;
    margin-bottom: 35px;
}


/* INFO */

.cert-info {
    border-top: 1px solid #ecece7;
    margin-top: 25px;
    padding-top: 22px;

    display: flex;
    gap: 40px;

    margin-bottom: 28px;
}

.cert-info div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cert-info span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: #999;
}

.cert-info strong {
    font-size: 12px;
    color: #333;
    font-weight: 500;
}


/* BUTTON */

.cert-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    min-width: 205px;

    padding: 14px 18px;

    border: 1px solid #222;

    color: #222 !important;

    font-size: 12px;
    font-weight: 500;
    letter-spacing: .3px;

    text-decoration: none !important;

    transition: all .3s ease;
}

.cert-button span {
    font-size: 16px;
    margin-left: 25px;
}

.cert-button:hover {
    background: #222;
    color: #fff !important;
}


/* SON KART */

.cert-card:last-child {
    grid-column: span 2;
}


/* ===================================
   TABLET
=================================== */

@media (max-width: 900px) {

    .inmobed-certificates {
        padding: 80px 20px;
    }

    .cert-header h1 {
        font-size: 44px;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }

    .cert-card:last-child {
        grid-column: auto;
    }

}


/* ===================================
   MOBILE
=================================== */

@media (max-width: 600px) {

    .inmobed-certificates {
        padding: 60px 15px;
    }

    .cert-header {
        margin-bottom: 40px;
    }

    .cert-header h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .cert-header p {
        font-size: 14px;
    }

    .cert-card {
        min-height: auto;
        padding: 30px 24px;
    }

    .cert-number {
        font-size: 70px;
        letter-spacing: -5px;
        top: -5px;
    }

    .cert-content h3 {
        font-size: 23px;
    }

    .cert-info {
        flex-direction: column;
        gap: 15px;
    }

    .cert-button {
        width: 100%;
    }

}