.cpd-single-hero {
    background-color: #26282a;
    display: flex;
    flex-direction: column;
    position: relative;
}

.cpd-single-hero__content-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding-bottom: 4rem;
    padding-top: 8rem;
}

.cpd-single-hero__title-container {
    width: 100%;
    max-width: 604px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 16px;
}

.cpd-single-hero__category {
    padding: 6px 16px;
    background: rgba(242, 93, 33, 0.15);
    border: 1px solid rgba(242, 93, 33, 0.3);
    color: #f25d21;
    font-family: var(--font-aeonik);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
}

.cpd-single-hero__title {
    color: #fff;
    font-family: Aeonik;
    font-size: 4rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.05;
    text-wrap: balance;
    margin: 0;
}

.cpd-single-hero__description-container {
    width: 100%;
    max-width: 571px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 2rem;
}

.cpd-single-hero__description {
    color: #e8e8e8;
    font-family: var(--font-aeonik);
    font-size: 1.05rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-wrap: pretty;
    margin: 0;
}

.cpd-single-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 1.5rem;
    background-color: #f25d21;
    color: #fff;
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    box-shadow: 0 0 1px 0 rgba(242, 93, 33, 0.5) inset, 0 0 1px 0 rgba(242, 93, 33, 0.5);
}

.cpd-single-hero__image {
    width: 100%;
    height: 100%;
    max-height: 484px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cpd-single-hero__image-img {
    width: 100%;
    object-position: center;
    object-fit: cover;
}

/* Modal */
.cpd-single-hero__modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cpd-single-hero__modal.is-active {
    opacity: 1;
    visibility: visible;
}

.cpd-single-hero__modal-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.cpd-single-hero__modal-content {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.cpd-single-hero__modal.is-active .cpd-single-hero__modal-content {
    transform: translateY(0);
}

.cpd-single-hero__modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid #e8e8e8;
}

.cpd-single-hero__modal-title {
    color: #27272c;
    font-family: var(--font-aeonik);
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
}

.cpd-single-hero__modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background-color: #f5f5f5;
    border: none;
    border-radius: 50%;
    color: #686873;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cpd-single-hero__modal-close:hover {
    background-color: #e8e8e8;
    color: #27272c;
}

.cpd-single-hero__modal-body {
    padding: 0;
    overflow-y: auto;
    max-height: calc(90vh - 100px);
}

@media (max-width: 992px) {
    .cpd-single-hero__content-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .cpd-single-hero__title {
        font-size: 3.5rem;
    }

    .cpd-single-hero__modal-header {
        padding: 20px 24px;
    }

    .cpd-single-hero__modal-body {
        padding: 24px;
    }
}

@media (max-width: 576px) {
    .cpd-single-hero__title {
        font-size: 3rem;
    }

    .cpd-single-hero__content-container {
        padding-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .cpd-single-hero__title {
        font-size: 2.5rem;
    }
}
