/* ============================================
  Style dla certyfikatów
   ============================================ */



.cert-box {
    position: relative;
    padding: 40px 35px 40px 35px;
    background-color: #ffffff;
    box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cert-box > .row:last-child {
    margin-top: auto;
}


@media (max-width: 991.98px) {
    .cert-box {
        padding: 30px 25px 30px 25px;
    }
}

@media (max-width: 767.98px) {
    .cert-box {
        padding: 25px 20px 25px 20px;
        margin-bottom: 30px !important; 
    }
}


.cert-box-title {
    font-weight: 700;
}

.cert-box-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #767676;
    margin-bottom: 20px;
    line-height: 1.4;
}


.cert-box-meta-item {
    font-size: 16px;
    font-weight: 400;
    line-height: 100%;
    color: #000;
    border-bottom: 2px solid #FED141;
    margin-bottom: 15px;
    padding-bottom: 10px;
    display: block; 
    width: auto;
}

.cert-box-meta-item strong {
    font-weight: 600;
}

.cert-box-logo {
    max-width: 120px;
    width: 100%;
    height: auto;
}

.cert-separator-line {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0;
    margin-right: 0;
    height: 2px;
    background-color: #FED141;
    margin: 20px 0;
}



@media (max-width: 767.98px) {
    .cert-box-title {
        font-size: 36px;
    }
    
    .cert-box-subtitle {
        font-size: 16px;
    }
    
    .cert-box-meta-item {
        font-size: 14px;
    }
    

    .cert-box .row.gx-4.mb-3:first-child {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .cert-box .row.gx-4.mb-3 .col-md-7,
    .cert-box .row.gx-4.mb-3 .col-md-5 {
        width: 100% !important;
        text-align: left !important;
    }
    
    .cert-box .row.gx-4.mb-3 .col-md-5 {
        text-align: center !important;
        margin-bottom: 20px;
    }
    
    .cert-box-logo {
        max-width: 120px;
        margin-top: 0;
        margin-bottom: 0;
    }
}

.cert-box .row.gx-4.mb-3:has(.btn-st) {
    margin-bottom: 20px !important;
}

.cert-box-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
    margin-top: 0;
    line-height: 1.2;
}

.cert-box .text-default:last-child {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .cert-box-section-title {
        font-size: 18px;
    }
    
    .cert-box .text-default {
        font-size: 14px;
    }
}

.cert-type-item {
    font-size: 16px !important;
    margin-bottom: 15px;
}

.cert-type-icon {
    width: 60px;
    height: 60px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 11px;
    color: #999;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .cert-type-item {
        font-size: 14px !important;
    }
    
    .cert-type-icon {
        width: 50px;
        height: 50px;
        margin-right: 12px;
    }
}

