/* Scoped container styling to prevent affecting global CSS */
.assessment-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #2d3748;
    line-height: 1.7;
    margin-top: 2rem;
}

.assessment-container h3,
.assessment-container h4,
.assessment-container h5 {
    font-family: 'Inter', sans-serif;
}

/* Sub-Hero Intro Card */
.assessment-hero-card {
    padding: 4rem 3rem;
    background: linear-gradient(135deg, #003366 0%, #005696 100%);
    position: relative;
    overflow: hidden;
    color: white;
    border-radius: 8px;
    margin-bottom: 4rem;
    box-shadow: 0 10px 30px rgba(0, 86, 150, 0.15);
}

.assessment-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.1;
    pointer-events: none;
}

.badge-intelligence {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    color: #fff;
}

.assessment-hero-card h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.assessment-hero-card p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-w-2xl;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Section Styles */
.assessment-section {
    border-bottom: 1px solid #edf2f7;
}

.assessment-section:last-child {
    border-bottom: none;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #005696;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.editorial-heading {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* Service Cards (Overview) */
.service-panel-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-panel {
    background: #fff;
    border: 1px solid #f1f5f9;
    padding: 3rem 2.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
    border-radius: 16px;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    text-align: left;
}

.service-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
    border-color: #e2e8f0;
}

.service-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e2e8f0;
    line-height: 1;
    transition: color 0.3s;
    flex-shrink: 0;
    letter-spacing: -0.02em;
}

.service-panel:hover .service-number {
    color: #cbd5e1;
}

.service-content {
    flex-grow: 1;
}

.service-panel h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-top: 0.3rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.service-description {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.7;
}

.service-description p {
    margin-bottom: 1.2rem;
    color: #4a5568;
}

.service-description p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .service-panel {
        padding: 2rem;
        flex-direction: column;
        gap: 1rem;
    }

    .service-number {
        font-size: 2rem;
    }

    .service-panel h3 {
        margin-top: 0;
        margin-bottom: 1rem;
    }
}

/* Opinion Cards */
.opinion-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .opinion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.opinion-card {
    background: #f8fafc;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    position: relative;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.opinion-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    background: #ffffff;
}

.opinion-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(45deg, transparent 50%, #005696 50%);
    border-top-right-radius: 3px;
    transition: background 0.3s;
}

.opinion-card:hover::after {
    background: linear-gradient(45deg, transparent 50%, #003366 50%);
}

.opinion-icon-box {
    width: 3rem;
    height: 3rem;
    background: rgba(0, 86, 150, 0.08);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #005696;
    transition: all 0.3s;
}

.opinion-card:hover .opinion-icon-box {
    background: #005696;
    color: #ffffff;
}

.opinion-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.opinion-card p {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Explanation Section (Methodology) */
.explanation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 992px) {
    .explanation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.explanation-card {
    background: white;
    padding: 3rem 2.5rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.explanation-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
    border-color: #e2e8f0;
}

.explanation-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
    border-bottom: none;
    padding-bottom: 0;
    display: block;
}

.explanation-card p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.btn-pdf-download {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #e0f2fe;
    color: #005696;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.2s ease-in-out;
    text-decoration: none !important;
    border: none;
    width: fit-content;
}

.btn-pdf-download:hover {
    background-color: #bae6fd;
    color: #003366;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 86, 150, 0.1);
}

.btn-pdf-download:active {
    transform: translateY(0);
}

.text-pefindo-blue {
    color: #005696;
}

.font-bold {
    font-weight: 700;
}

.regulatory-box {
    margin-top: 3rem;
    padding-top: 2rem;
}

.regulatory-box h4 {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #a0aec0;
    margin-bottom: 0.75rem;
}

.regulatory-box p {
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Reports Section */
.report-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .report-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.report-grid-item {
    background: white;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    height: 100%;
    border-bottom: 1px solid #e2e8f0;
}

.report-grid-item:last-child {
    border-bottom: none;
}

@media (min-width: 768px) {
    .report-grid-item {
        border-bottom: none;
    }

    .report-grid-item:first-child {
        border-right: 1px solid #e2e8f0;
    }
}

.report-grid-item:hover {
    background: #f8fafc;
}

.report-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: #005696;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.report-grid-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.2rem;
}

.report-grid-item p {
    font-size: 0.925rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.btn-action {
    background: #005696;
    color: white !important;
    padding: 0.8rem 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    display: inline-block;
    transition: background 0.2s, transform 0.2s;
    border: none;
    text-decoration: none !important;
    border-radius: 4px;
    width: fit-content;
}

.btn-action:hover {
    background: #003366;
    transform: translateY(-1px);
}

.btn-action:active {
    transform: translateY(0);
}

.publications-description {
    font-size: 1rem;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.publications-description p {
    margin-bottom: 1.2rem;
}

.publications-description p:last-child {
    margin-bottom: 0;
}

.subsection-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a202c;
    margin-top: 2rem;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.document-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.document-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
    flex: 1 1 280px;
    max-width: 300px;
}

.document-image-link {
    width: 100%;
    display: block;
    text-decoration: none !important;
}

.document-image-container {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    aspect-ratio: 677 / 935;
    background-color: #f8fafc;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}

.document-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.document-card:hover .document-image-container {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.document-card:hover .document-image-container img {
    transform: scale(1.02);
}

.document-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.btn-document-access {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e0f2fe;
    color: #005696;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.2s ease-in-out;
    text-decoration: none !important;
    border: none;
    width: fit-content;
}

.btn-document-access:hover {
    background-color: #bae6fd;
    color: #003366;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 86, 150, 0.1);
}

.btn-document-access:active {
    transform: translateY(0);
}

@media (max-width: 576px) {
    .document-grid {
        justify-content: center;
        gap: 2rem;
    }

    .document-card {
        max-width: 320px;
        flex: 1 1 100%;
    }
}

/* CKEditor Content Rendering Normalization */
.assessment-container ul {
    list-style-type: disc !important;
    list-style-position: outside !important;
    padding-inline-start: 2rem !important;
    padding-left: 2rem !important;
    margin-inline-start: 0 !important;
    margin-left: 0 !important;
    margin-top: 0.5rem !important;
    margin-bottom: 1rem !important;
    display: block !important;
}

.assessment-container ol {
    list-style-type: decimal !important;
    list-style-position: outside !important;
    padding-inline-start: 2rem !important;
    padding-left: 2rem !important;
    margin-inline-start: 0 !important;
    margin-left: 0 !important;
    margin-top: 0.5rem !important;
    margin-bottom: 1rem !important;
    display: block !important;
}

.assessment-container li {
    display: list-item !important;
    margin-bottom: 0.35rem !important;
    line-height: 1.75 !important;
    color: #4a5568 !important;
    font-size: 1rem !important;
}

/* Inline any paragraphs inserted inside CKEditor lists to prevent excessive vertical spacing */
.assessment-container li p {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
}