/* Custom Deals and Reports Shortcode Layout */
.cs-deals-reports-layout {
    display: grid;
    grid-template-columns: 35fr 65fr;
    gap: 35px;
    margin: 40px 0;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    color: #333;
}

.cs-deals-column {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-self: start;
}

.cs-reports-column {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Column Heading Styles matching Enfold theme */
.cs-deals-column .cs-column-heading {
    font-family: 'Roboto Slab', Georgia, serif;
    font-size: 24px;
    font-weight: 300;
    color: #00568b;
    border-bottom: 2px solid #c0bb23;
    padding-bottom: 12px;
    margin: 0 0 25px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Left Column M&A Deals Grid */
.cs-deals-grid {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    width: 100%;
}

.cs-deal-card {
    position: relative;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 18px;
    border: 1px solid #e8e8e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column !important;
    align-items: center;
    width: 100%;
    aspect-ratio: 712 / 864;
    box-sizing: border-box;
}

.cs-deal-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-grow: 1;
}

.cs-deal-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    box-sizing: border-box;
    display: block;
    transition: transform 0.4s ease;
}

.cs-no-deals {
    font-style: italic;
    color: #777;
    text-align: center;
    padding: 40px 0;
}

/* Button styles below the featured transaction card */
.cs-deals-button-container {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    width: 100%;
}

.cs-deals-button {
    display: inline-block;
    background-color: #f5a947;
    /* Warm orange matching theme styling */
    color: #ffffff !important;
    padding: 12px 30px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.cs-deals-button:hover {
    background-color: #f5a947;
    /* Brand blue on hover */
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 86, 139, 0.15);
}

/* Right Column Reports List */
.cs-reports-column {
    gap: 30px;
}

.cs-reports-row-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Report Cards */
.cs-report-card {
    display: flex;
    flex-direction: column;
    background: unset !important;
    align-items: center;
    /* border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 18px;
    border: 1px solid #e8e8e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.cs-report-card:hover {
    transform: translateY(-2px);
}

.cs-report-card:hover img {
    transform: scale(1.05);
}

.cs-deal-card-title,
.cs-report-card-title {
    font-family: 'montserrat', Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    color: #276390 !important;
    text-align: center !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 15px 0;
    width: 100%;
    max-width: 240px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}

.cs-report-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 680 / 400;
    overflow: hidden;
    border-radius: 3px;
    background-color: #002a3a;
}

.cs-report-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-report-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 42, 58, 0.92);
    /* Rich dark brand overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}

.cs-report-overlay-text {
    color: #ffffff;
    font-size: 13.5px;
    line-height: 1.5;
    text-align: center;
    font-weight: 400;
    transform: translateY(15px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-report-card:hover .cs-report-overlay,
.cs-report-image-link:hover .cs-report-overlay,
.cs-report-image-container:hover .cs-report-overlay {
    opacity: 1;
}

.cs-report-card:hover .cs-report-overlay-text,
.cs-report-image-link:hover .cs-report-overlay-text,
.cs-report-image-container:hover .cs-report-overlay-text {
    transform: translateY(0);
}

.cs-report-image-link,
.cs-spotlight-image-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

/* Disable Enfold's default image overlay inside our layout */
.cs-deals-reports-layout .image-overlay {
    display: none !important;
    pointer-events: none !important;
}

/* Buttons Styling */
.cs-report-button {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 13px;
    font-weight: 300;
    text-transform: uppercase;
    background-color: #f5a947;
    color: #ffffff !important;
    padding: 11px 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-top: 18px;
    box-sizing: border-box;
}

.cs-report-button:hover {
    background-color: #f5a947;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Spotlight Card (Row 2) */
.cs-spotlight-card {
    position: relative;
    width: 100%;
    background: unset !important;
    /* border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 18px;
    border: 1px solid #e8e8e8;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.cs-spotlight-image-container {
    position: relative;
    width: 100%;
    height: 170px;
    overflow: hidden;
    border-radius: 3px;
    background: #002a3a;
}

.cs-spotlight-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-spotlight-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 42, 58, 0.45);
    /* Elegant glass overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 2;
}

.cs-spotlight-card:hover .cs-spotlight-text-overlay,
.cs-spotlight-image-link:hover .cs-spotlight-text-overlay {
    background-color: rgba(0, 42, 58, 0.58);
}

.cs-spotlight-title {
    color: #ffffff !important;
    font: 32px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-weight: 300;
    letter-spacing: 1.5px;
    margin: 0;
    text-align: center;
    padding: 10px 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.cs-spotlight-button {
    display: block;
    max-width: 250px;
    margin: 18px auto 0;
    text-align: center;
    background-color: #f5a947;
    color: #ffffff !important;
    padding: 11px 15px;
    font-size: 13px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.cs-spotlight-button:hover {
    background-color: #f5a947;
    color: #ffffff !important;
    text-decoration: none;
}

/* Responsive Breakpoints */
@media (max-width: 989px) {
    .cs-deals-reports-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cs-deals-grid {
        width: 100%;
        max-width: 550px;
        margin: 0 auto;
    }

    .cs-deal-card {
        aspect-ratio: 1/1;
    }
}

@media (max-width: 767px) {
    /* .cs-deal-card {
        max-width: 400px;
        margin: 0 auto;
    } */

    .cs-reports-row-top {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cs-spotlight-title {
        font-size: 20px;
    }

    .cs-spotlight-image-container {
        height: 180px;
    }
}