/* ============================================================================
   Agent Program Page Styles
   Template: page-agent-program.php
   ========================================================================== */

   body.page-template-page-agent-program {
    background: #fff;
}

body.page-template-page-agent-program
    .elementor-section.elementor-element-1628106,
.agent-program-page .elementor-section[data-id="1628106"] {
    min-height: 400px;
    position: relative;
    overflow: hidden;
    background-color: #111827;
    background-size: cover;
    background-position: center center;
}

body.page-template-page-agent-program
    .elementor-element-1628106
    .elementor-background-overlay,
.agent-program-page
    .elementor-section[data-id="1628106"]
    .elementor-background-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(15, 23, 42, 0.72),
        rgba(15, 23, 42, 0.32)
    );
}

body.page-template-page-agent-program
    .elementor-element-1628106
    > .elementor-container,
.agent-program-page
    .elementor-section[data-id="1628106"]
    > .elementor-container {
    min-height: 400px;
    width: min(1500px, calc(100% - 48px)) !important;
    max-width: 1500px !important;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}

body.page-template-page-agent-program
    .elementor-element-1628106
    .rank-math-breadcrumb,
body.page-template-page-agent-program
    .elementor-element-1628106
    .rank-math-breadcrumb
    a,
.agent-program-page .elementor-section[data-id="1628106"] .rank-math-breadcrumb,
.agent-program-page
    .elementor-section[data-id="1628106"]
    .rank-math-breadcrumb
    a {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 24px;
    /* font-weight: 500; */
    text-decoration: none;
}

body.page-template-page-agent-program
    .elementor-element-1628106
    .rank-math-breadcrumb
    a,
.agent-program-page
    .elementor-section[data-id="1628106"]
    .rank-math-breadcrumb
    a {
    color: #fff;
}

/* body.page-template-page-agent-program
    .elementor-element-1628106
    .elementor-heading-title,
.agent-program-page
    .elementor-section[data-id="1628106"]
    .elementor-heading-title {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.03em;
} */

.buss-wrapper {
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
    padding: 146px 0 96px;
}

.buss-wrapper .elysia-container {
    width: min(1500px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 400px);
    gap: 40px;
    align-items: start;
}

.agent-program-page .buss-wrapper .elysia-container {
    width: min(1500px, calc(100vw - 48px)) !important;
    max-width: 1500px !important;
}

.agent-program-page
    .elementor-section.elementor-section-boxed
    > .elementor-container {
    width: min(1500px, calc(100vw - 48px)) !important;
    max-width: 1500px !important;
}

.buss-wrapper .left,
.buss-wrapper .right {
    width: auto;
    min-width: 0;
}

.buss-wrapper .box,
.buss-wrapper .right-box {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e6eaf0;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.buss-wrapper .box {
    margin-bottom: 32px;
    padding: clamp(30px, 4vw, 56px);
}

.buss-wrapper .box:last-child,
.buss-wrapper .right-box:last-child {
    margin-bottom: 0;
}

.buss-wrapper .box .t1,
.buss-wrapper .box .t2,
.buss-wrapper .right-box .t3,
.buss-wrapper .right-box .t4 {
    color: #191b2f;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.buss-wrapper .box .t1 {
    max-width: 620px;
    margin: 0 0 24px;
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.12;
}

.buss-wrapper .box .t2 {
    margin: 38px 0 22px;
    font-size: clamp(26px, 2.8vw, 38px);
    line-height: 1.16;
}

.buss-wrapper .box .after::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin-top: 18px;
    border-radius: 999px;
    background: #1f73c9;
}

.buss-wrapper .agent-rich-text h2,
.buss-wrapper .agent-rich-text h3 {
    color: #191b2f;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.16;
}

.buss-wrapper .agent-rich-text h2 {
    margin: 0 0 22px;
    font-size: clamp(26px, 2.8vw, 38px);
}

.buss-wrapper .agent-rich-text h3 {
    margin: 38px 0 18px;
    font-size: clamp(22px, 2.2vw, 30px);
}

.buss-wrapper .agent-rich-text h2::after,
.buss-wrapper .agent-rich-text h3::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin-top: 18px;
    border-radius: 999px;
    background: #1f73c9;
}

.buss-wrapper .agent-rich-text p {
    margin: 0 0 14px;
}

.buss-wrapper .agent-rich-text img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px 0;
    border-radius: 14px;
}

.buss-wrapper .agent-rich-text > *:first-child {
    margin-top: 0;
}

.buss-wrapper .agent-rich-text > *:last-child {
    margin-bottom: 0;
}

.buss-wrapper .agent-rich-text ul,
.buss-wrapper .agent-rich-text ol {
    margin: 0 0 14px;
    padding-left: 1.3em;
}

.buss-wrapper .agent-rich-text li + li {
    margin-top: 8px;
}

.buss-wrapper .agent-rich-text a {
    color: #1f73c9;
    text-decoration: none;
}

.buss-wrapper .agent-rich-text a:hover {
    text-decoration: underline;
}

.buss-wrapper .box p:has(> img) {
    margin: 30px 0;
}

.buss-wrapper img.img-fluid,
.buss-wrapper .box img,
.buss-wrapper .right-box img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.buss-wrapper .right {
    position: sticky;
    top: 110px;
}

.buss-wrapper .right-box {
    margin-bottom: 28px;
    padding: 28px;
}

.buss-wrapper .right-box .t4 {
    margin: 0 0 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e7ebf1;
    text-align: center;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.25;
}

.buss-wrapper .right-box .t3 {
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e7ebf1;
    font-size: 24px;
    line-height: 1.25;
}

.form-feedback,
.form-feedback .form-row,
.form-feedback .form-group,
.form-feedback .btn-box {
    width: 100%;
}

.form-feedback .form-row {
    margin: 0;
}

.form-feedback .form-group {
    margin: 0 0 12px;
    padding: 0;
}

.form-feedback .form-control {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    color: #1f2937;
    background: #f8fafc;
    border: 1px solid #dbe1e8;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.45;
    box-shadow: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.form-feedback textarea.form-control {
    min-height: 132px;
    resize: vertical;
}

.form-feedback .form-control:focus {
    outline: none;
    border-color: #1f73c9;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(31, 115, 201, 0.12);
}

.form-feedback .form-control::placeholder {
    color: #a2acba;
}

.form-feedback .type-box {
    margin: 18px 0 22px;
}

.form-feedback .type-box .type {
    margin-bottom: 14px;
    color: #191b2f;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.form-feedback .type-box .list {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 12px;
    align-items: center;
}

.form-feedback .type-box .list input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #1f73c9;
}

.form-feedback .type-box .list span {
    color: #566174;
    font-size: 14px;
    line-height: 1.35;
}

.button01,
.form-feedback .btn-block {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 13px 26px;
    color: #fff;
    background: linear-gradient(135deg, #c51f28, #e23a43);
    border: 0;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}

.button01:hover,
.form-feedback .btn-block:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(197, 31, 40, 0.26);
}

.form-feedback .feedback-result {
    display: none;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
}

.form-feedback .feedback-result.success {
    display: block;
    color: #14532d;
    background: #dcfce7;
    border: 1px solid #86efac;
}

.form-feedback .feedback-result.error {
    display: block;
    color: #7f1d1d;
    background: #fee2e2;
    border: 1px solid #fecaca;
}

@media (max-width: 1180px) {
    .buss-wrapper {
        padding: 50px 0 56px;
    }
    .buss-wrapper .elysia-container {
        grid-template-columns: minmax(0, 1fr);
    }

    .buss-wrapper .right {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .buss-wrapper .right-box:first-child {
        grid-column: 1 / -1;
    }
    .buss-wrapper .right-box {
        margin-bottom: 0px;
    }
}

@media (max-width: 768px) {
    body.page-template-page-agent-program
        .elementor-section.elementor-element-1628106,
    body.page-template-page-agent-program
        .elementor-element-1628106
        > .elementor-container,
    .agent-program-page .elementor-section[data-id="1628106"],
    .agent-program-page
        .elementor-section[data-id="1628106"]
        > .elementor-container {
        min-height: 280px;
    }

    body.page-template-page-agent-program
        .elementor-element-1628106
        > .elementor-container,
    .agent-program-page
        .elementor-section[data-id="1628106"]
        > .elementor-container {
        padding: 0 18px;
    }

    .buss-wrapper {
        padding: 50px 0 56px;
    }

    .agent-program-page .buss-wrapper .elysia-container {
        width: min(100% - 32px, 1500px) !important;
        gap: 24px;
    }

    .buss-wrapper .box,
    .buss-wrapper .right-box {
        border-radius: 14px;
        padding: 24px 18px;
    }

    .buss-wrapper .right {
        display: block;
    }

    .buss-wrapper .right-box {
        margin-bottom: 22px;
    }
}
