/* Styles for FileInvestorRelationsElement details page (v2) */

.section-file-investor-relations {
    padding-top: 180px;
    padding-bottom: 80px;
    background-color: #ffffff;
    font-family: 'Lexend Deca', 'Inter', sans-serif;
}

/* Page Heading */
.section-file-investor-relations .article-title {
    color: #16315E;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
}

/* File Downloads List */
.file-downloads-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.file-download-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border: 1px solid #16315E;
    background-color: #ffffff;
    color: #16315E;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 500;
    font-size: 16px;
    border-radius: 4px;
}

.file-download-box:hover {
    background-color: #5FD1C1;
    border-color: #5FD1C1;
    color: #16315E;
}

.file-download-box .file-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.file-download-box .file-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: fill 0.3s ease;
}

.file-download-box .file-title {
    flex: 1;
    line-height: 1.4;
    word-break: break-word;
}

/* Rich Text Description Area */
.rich-content-container {
    font-size: 16px;
    line-height: 1.6;
    color: #334460;
}

.rich-content-container p {
    margin-bottom: 16px;
}

/* RELATED REPORTS SECTION */
.related-reports-section {
    margin-top: 60px;
}

.related-reports-section .section-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-reports-section .related-reports-title {
    font-size: 20px;
    font-weight: 500;
    color: #16315E;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.related-reports-section .title-divider {
    height: 1px;
    background-color: rgba(22, 49, 94, 0.15);
    width: 100%;
}

.related-reports-list {
    margin-top: 20px;
}

.related-report-item {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(22, 49, 94, 0.1);
    transition: background-color 0.3s ease;
}

.related-report-item:last-child {
    border-bottom: none;
}

.related-report-link {
    display: block;
    text-decoration: none !important;
    color: inherit;
}

.related-report-img-wrapper {
    position: relative;
    aspect-ratio: 240 / 120;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
}

.related-report-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.related-report-link:hover .related-report-img-wrapper img {
    transform: scale(1.05);
}

.related-report-info-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
}

.related-report-text {
    font-size: 18px;
    font-weight: 500;
    color: #16315E;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-report-link:hover .related-report-text {
    color: #5FD1C1;
}

.related-report-date {
    font-size: 13px;
    color: #8A98A8;
    font-weight: 400;
}

.related-report-more {
    font-size: 14px;
    font-weight: 500;
    color: #16315E;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.related-report-link:hover .related-report-more {
    color: #5FD1C1;
}

.related-report-more svg {
    transition: transform 0.3s ease, stroke 0.3s ease;
}

.related-report-link:hover .related-report-more svg {
    transform: rotate(45deg);
}

/* Centered Readmore / Load More Button */
.btn-readmore.btn-readmore-news {
    border: 1px solid rgba(22, 49, 94, 0.2) !important;
    padding: 10px 32px !important;
    color: #16315E !important;
    background-color: transparent !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
}

.btn-readmore.btn-readmore-news:hover {
    border-color: #5FD1C1 !important;
    color: #5FD1C1 !important;
}

.btn-readmore.btn-readmore-news svg {
    width: 14px !important;
    height: 14px !important;
    transition: transform 0.3s ease !important;
}

.btn-readmore.btn-readmore-news:hover svg {
    transform: rotate(45deg) !important;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .section-file-investor-relations {
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .section-file-investor-relations .article-title {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .file-download-box {
        font-size: 14px;
        padding: 12px 16px;
        gap: 12px;
    }

    .file-download-box .file-icon svg {
        width: 20px;
        height: 20px;
    }

    .related-report-info-col {
        min-height: auto;
    }

    .related-report-text {
        font-size: 14px;
        line-height: 1.3;
    }

    .related-report-more {
        font-size: 12px;
        gap: 4px;
    }

    .related-report-more svg {
        width: 10px;
        height: 10px;
    }

    .btn-readmore.btn-readmore-news {
        padding: 8px 24px !important;
        font-size: 12px !important;
    }
}
