/* Agreement Hero */
.cu-hero.agreement-hero .cu-hero__bg {
    background: url(../assets/images/agreement/agreement.png) center/cover no-repeat;
    height: 500px;
}

/* Responsive hero image height */
@media (min-width: 768px) {
    .cu-hero.agreement-hero .cu-hero__bg {
        height: 600px;
    }
}

@media (min-width: 1024px) {
    .cu-hero.agreement-hero .cu-hero__bg {
        height: 700px;
    }
}

/* Agreement Content Section */
.agreement-content {
    background: #ffffff;
}

.agreement-intro {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.agreement-intro p {
    color: #475569;
    font-size: 16px;
    line-height: 1.6;
}

/* Accordion Styling */
.agreement-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #e2e8f0;
}

.agreement-item {
    cursor: pointer;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.agreement-item:hover {
    background: transparent;
}

.agreement-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 500;
    color: #0f172a;
    font-size: 1rem;
    list-style: none;
    user-select: none;
    padding: 1.25rem 0;
    transition: all 0.2s ease;
}

.agreement-item summary::-webkit-details-marker {
    display: none;
}

.agreement-item summary:hover {
    color: #0078c8;
}

.agreement-item summary svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #64748b;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    stroke-width: 1.5;
}

.agreement-item[open] summary svg {
    transform: rotate(180deg);
}

.agreement-item[open] summary {
    color: #0f172a;
    font-weight: 600;
    padding-bottom: 1rem;
}

.agreement-item[open] {
    background: #f9fafb;
    border-bottom: 1px solid #e2e8f0;
}

.agreement-item>div {
    background: #f9fafb;
    margin: 0;
    padding: 0 0 1.5rem 0;
    border-top: 1px solid #f3f4f6;
    color: #475569;
    font-size: 15px;
    line-height: 1.65;
}

.agreement-item>div p {
    margin: 0;
    color: #475569;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .agreement-item summary {
        font-size: 0.95rem;
        padding: 1rem 0;
    }

    .agreement-intro p {
        font-size: 15px;
    }

    .agreement-item>div {
        font-size: 14px;
        padding: 0 0 1rem 0;
    }
}