.abp5_single_content_header {
    width: 100%;
    background: #1d1d1d;
    padding: 60px 0;
    margin: 0;
}

.abp5_single_content_header_inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20%;
    box-sizing: border-box;
    text-align: center;
}

.abp5_single_content_title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-align: center;
}

.abp5_single_content_bonus_amount_row {
    margin-top: 16px;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.abp5_single_content_bonus_label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.abp5_single_content_bonus_amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #ea011d;
}

.abp5_single_content_main {
    width: 100%;
    background: #000000;
    padding: 60px 0;
    min-height: 60vh;
}

.abp5_single_content_content_wrap {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 40px;
    align-items: start;
}

.abp5_single_content_main_content {
    width: 100%;
    min-width: 0;
}

.abp5_single_content_article {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.abp5_single_content_featured_image {
    width: 100%;
    margin: 0;
}

.abp5_single_content_featured_image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.abp5_single_content_excerpt {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.abp5_single_content_content {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #ffffff;
}

.abp5_single_content_content p {
    margin: 0 0 20px 0;
}

.abp5_single_content_content h2,
.abp5_single_content_content h3,
.abp5_single_content_content h4 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    margin: 30px 0 20px 0;
}

.abp5_single_content_content a {
    color: #ea011d;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.abp5_single_content_content a:hover {
    color: #ffffff;
}

.abp5_single_content_content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 20px 0;
}

.abp5_single_content_sidebar_wrap {
    width: 100%;
    align-self: start;
    height: fit-content;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.abp5_sidebar {
    width: 100%;
    background: #1d1d1d;
    border-radius: 16px;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.abp5_sidebar_section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.abp5_sidebar_section_title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.abp5_sidebar_form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.abp5_sidebar_form_field {
    width: 100%;
}

.abp5_sidebar_form_input,
.abp5_sidebar_form_textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 14px;
    padding: 12px 0;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.abp5_sidebar_form_textarea {
    resize: vertical;
    min-height: 80px;
}

.abp5_sidebar_form_input:focus,
.abp5_sidebar_form_textarea:focus {
    border-bottom-color: rgba(255, 255, 255, 0.6);
}

.abp5_sidebar_form_input::placeholder,
.abp5_sidebar_form_textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.abp5_sidebar_form_input:-webkit-autofill,
.abp5_sidebar_form_input:-webkit-autofill:hover,
.abp5_sidebar_form_input:-webkit-autofill:focus,
.abp5_sidebar_form_input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff !important;
    background-color: transparent !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

.abp5_sidebar_form_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 999px;
    background: #d0021b;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
    align-self: flex-start;
}

.abp5_sidebar_form_button:hover {
    background: #e31a2f;
    box-shadow: 0 12px 28px rgba(208, 2, 27, 0.35);
    transform: translateY(-2px);
}

.abp5_sidebar_form_button i {
    font-size: 16px;
}

.abp5_sidebar_contact_list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.abp5_sidebar_contact_item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.abp5_sidebar_contact_icon {
    color: #4a90e2;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.abp5_sidebar_contact_content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.abp5_sidebar_contact_location {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
}

.abp5_sidebar_contact_address {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    padding-left: 0;
}

.abp5_sidebar_contact_link {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.abp5_sidebar_contact_link:hover {
    color: #6ba3e8;
}

@media (max-width: 1279px) {
    .abp5_single_content_header_inner,
    .abp5_single_content_content_wrap {
        padding: 0 10%;
    }

    .abp5_single_content_content_wrap {
        grid-template-columns: 70% 30%;
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .abp5_single_content_header_inner,
    .abp5_single_content_content_wrap {
        padding: 0 5%;
    }

    .abp5_single_content_content_wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .abp5_single_content_sidebar_wrap {
        order: -1;
    }

    .abp5_sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .abp5_single_content_header {
        padding: 40px 0;
    }

    .abp5_single_content_title {
        font-size: 36px;
    }

    .abp5_single_content_main {
        padding: 40px 0;
    }

    .abp5_single_content_header_inner,
    .abp5_single_content_content_wrap {
        padding: 0 3%;
    }
}
