/* style/news-center-market-analysis-report.css */

/* Variables for colors */
:root {
    --kkwin-primary: #0A246A;
    --kkwin-secondary: #FFD700;
    --kkwin-text-dark: #333333;
    --kkwin-text-light: #ffffff;
    --kkwin-bg-light: #f8f8f8;
    --kkwin-bg-dark: #1a1a2e; /* Darker background for contrast */
    --kkwin-accent-contrast: #f5db95; /* Complementary to primary for highlights */
}

.page-news-center-market-analysis-report {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--kkwin-text-dark);
    background-color: var(--kkwin-bg-light);
}

.page-news-center-market-analysis-report__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-news-center-market-analysis-report__hero {
    background: linear-gradient(135deg, var(--kkwin-primary) 0%, #1A3E8A 100%); /* Slightly lighter primary */
    color: var(--kkwin-text-light);
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-news-center-market-analysis-report__hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.page-news-center-market-analysis-report__hero h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--kkwin-secondary); /* Gold for emphasis */
    line-height: 1.2;
}

.page-news-center-market-analysis-report__hero p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-news-center-market-analysis-report__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.15; /* Subtle background image */
}

.page-news-center-market-analysis-report__hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(50%);
}

.page-news-center-market-analysis-report__section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.page-news-center-market-analysis-report__section:last-of-type {
    border-bottom: none;
}

.page-news-center-market-analysis-report__section h2 {
    font-size: 2.2em;
    color: var(--kkwin-primary);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-news-center-market-analysis-report__section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--kkwin-secondary);
    border-radius: 2px;
}

.page-news-center-market-analysis-report__section h3 {
    font-size: 1.8em;
    color: var(--kkwin-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid var(--kkwin-secondary);
    padding-left: 15px;
}

.page-news-center-market-analysis-report__section p {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--kkwin-text-dark);
}

.page-news-center-market-analysis-report__section ul,
.page-news-center-market-analysis-report__section ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.page-news-center-market-analysis-report__section li {
    margin-bottom: 10px;
    list-style-type: disc;
    color: var(--kkwin-text-dark);
}

.page-news-center-market-analysis-report__section ol li {
    list-style-type: decimal;
}

.page-news-center-market-analysis-report__image--large {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-news-center-market-analysis-report__image--medium {
    width: 80%;
    height: 300px;
    object-fit: cover;
    margin: 30px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-news-center-market-analysis-report__image--small {
    width: 60%;
    height: 250px;
    object-fit: cover;
    margin: 30px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-news-center-market-analysis-report__btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    font-size: 1.05em;
    margin: 10px;
}

.page-news-center-market-analysis-report__btn--primary {
    background-color: var(--kkwin-secondary);
    color: var(--kkwin-primary); /* Dark text on gold */
    border: 2px solid var(--kkwin-secondary);
}

.page-news-center-market-analysis-report__btn--primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
}

.page-news-center-market-analysis-report__btn--secondary {
    background-color: transparent;
    color: var(--kkwin-primary);
    border: 2px solid var(--kkwin-primary);
}

.page-news-center-market-analysis-report__btn--secondary:hover {
    background-color: var(--kkwin-primary);
    color: var(--kkwin-text-light);
    transform: translateY(-2px);
}

.page-news-center-market-analysis-report__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
    margin: 5px;
}

.page-news-center-market-analysis-report__cta-group {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background-color: var(--kkwin-bg-light);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-news-center-market-analysis-report__cta-group p {
    font-size: 1.2em;
    margin-bottom: 25px;
    color: var(--kkwin-primary);
    font-weight: bold;
}

/* Floating CTA */
.page-news-center-market-analysis-report__floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--kkwin-primary);
    color: var(--kkwin-text-light);
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    animation: fadeInSlideUp 0.5s ease-out forwards;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out; /* Add transition */
}

.page-news-center-market-analysis-report__floating-cta.is-hidden {
    transform: translateY(100px); /* Move out of view */
    opacity: 0;
    pointer-events: none; /* Make it unclickable when hidden */
}

.page-news-center-market-analysis-report__floating-cta p {
    margin: 0;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--kkwin-secondary);
}

.page-news-center-market-analysis-report__floating-cta .page-news-center-market-analysis-report__btn {
    margin: 0;
}

.page-news-center-market-analysis-report__floating-cta .page-news-center-market-analysis-report__btn--small {
    background-color: var(--kkwin-secondary);
    color: var(--kkwin-primary);
    border: none;
    padding: 10px 20px;
}

.page-news-center-market-analysis-report__floating-cta .page-news-center-market-analysis-report__btn--small:hover {
    background-color: #e6c200;
    transform: translateY(-1px);
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-news-center-market-analysis-report__hero h1 {
        font-size: 2.2em;
    }

    .page-news-center-market-analysis-report__section h2 {
        font-size: 1.8em;
    }

    .page-news-center-market-analysis-report__section h3 {
        font-size: 1.5em;
    }

    .page-news-center-market-analysis-report__image--large,
    .page-news-center-market-analysis-report__image--medium {
        height: 300px;
    }

    .page-news-center-market-analysis-report__image--small {
        height: 200px;
        width: 70%;
    }
}

@media (max-width: 768px) {
    .page-news-center-market-analysis-report__hero {
        padding: 60px 0;
    }

    .page-news-center-market-analysis-report__hero h1 {
        font-size: 1.8em;
    }

    .page-news-center-market-analysis-report__hero p {
        font-size: 1em;
    }

    .page-news-center-market-analysis-report__section {
        padding: 40px 0;
    }

    .page-news-center-market-analysis-report__section h2 {
        font-size: 1.6em;
    }

    .page-news-center-market-analysis-report__section h3 {
        font-size: 1.3em;
    }

    .page-news-center-market-analysis-report__image--large,
    .page-news-center-market-analysis-report__image--medium {
        height: 250px;
        width: 100%;
    }

    .page-news-center-market-analysis-report__image--small {
        height: 180px;
        width: 90%;
    }

    .page-news-center-market-analysis-report__btn {
        padding: 10px 20px;
        font-size: 0.95em;
    }

    .page-news-center-market-analysis-report__cta-group {
        padding: 20px;
    }

    .page-news-center-market-analysis-report__cta-group p {
        font-size: 1em;
    }

    .page-news-center-market-analysis-report__floating-cta {
        flex-direction: column;
        align-items: flex-end;
        right: 10px;
        bottom: 10px;
        padding: 10px 15px;
        text-align: right;
    }

    .page-news-center-market-analysis-report__floating-cta p {
        font-size: 0.9em;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .page-news-center-market-analysis-report__hero h1 {
        font-size: 1.5em;
    }

    .page-news-center-market-analysis-report__hero p {
        font-size: 0.9em;
    }

    .page-news-center-market-analysis-report__section h2 {
        font-size: 1.4em;
    }

    .page-news-center-market-analysis-report__section h3 {
        font-size: 1.2em;
    }

    .page-news-center-market-analysis-report__btn {
        width: 100%;
        margin: 10px 0;
    }
    .page-news-center-market-analysis-report__cta-group .page-news-center-market-analysis-report__btn {
        display: block;
    }
    .page-news-center-market-analysis-report__floating-cta {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        bottom: 10px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }
    .page-news-center-market-analysis-report__floating-cta p {
        flex-grow: 1;
        margin-right: 10px;
        text-align: left;
    }
    .page-news-center-market-analysis-report__floating-cta .page-news-center-market-analysis-report__btn--small {
        white-space: nowrap;
    }
}