/* style/news-regulatory-changes.css */

/* Variables */
:root {
    --page-news-regulatory-changes-primary-color: #007bff;
    --page-news-regulatory-changes-secondary-color: #28a745;
    --page-news-regulatory-changes-dark-text: #333;
    --page-news-regulatory-changes-light-text: #fff;
    --page-news-regulatory-changes-grey-bg: #f8f9fa;
    --page-news-regulatory-changes-border-color: #e9ecef;
}

.page-news-regulatory-changes__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-news-regulatory-changes__hero-section {
    background: linear-gradient(135deg, var(--page-news-regulatory-changes-primary-color), var(--page-news-regulatory-changes-secondary-color));
    color: var(--page-news-regulatory-changes-light-text);
    padding: 100px 0;
    text-align: center;
}

.page-news-regulatory-changes__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--page-news-regulatory-changes-light-text); /* Ensure high contrast */
}

.page-news-regulatory-changes__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.page-news-regulatory-changes__cta-button {
    display: inline-block;
    background-color: var(--page-news-regulatory-changes-dark-text); /* Darker for contrast */
    color: var(--page-news-regulatory-changes-light-text);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.page-news-regulatory-changes__cta-button:hover {
    background-color: darken(var(--page-news-regulatory-changes-dark-text), 10%);
}

.page-news-regulatory-changes__content-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 60px 20px;
    background-color: var(--page-news-regulatory-changes-light-text);
    color: var(--page-news-regulatory-changes-dark-text);
}

.page-news-regulatory-changes__article {
    flex: 3;
    min-width: 60%;
    line-height: 1.8;
}

.page-news-regulatory-changes__sidebar {
    flex: 1;
    min-width: 300px;
    background-color: var(--page-news-regulatory-changes-grey-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-news-regulatory-changes__section-title {
    font-size: 2.2em;
    color: var(--page-news-regulatory-changes-primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--page-news-regulatory-changes-secondary-color);
    padding-bottom: 10px;
}

.page-news-regulatory-changes__sub-section-title {
    font-size: 1.8em;
    color: var(--page-news-regulatory-changes-secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-news-regulatory-changes__paragraph {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-news-regulatory-changes__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-news-regulatory-changes__list li {
    margin-bottom: 8px;
}

.page-news-regulatory-changes__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-news-regulatory-changes__sidebar-card {
    background-color: var(--page-news-regulatory-changes-light-text);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--page-news-regulatory-changes-primary-color);
}

.page-news-regulatory-changes__sidebar-title {
    font-size: 1.6em;
    color: var(--page-news-regulatory-changes-primary-color);
    margin-bottom: 15px;
}

.page-news-regulatory-changes__sidebar-text {
    font-size: 1em;
    margin-bottom: 20px;
    color: var(--page-news-regulatory-changes-dark-text);
}

.page-news-regulatory-changes__sidebar-button {
    display: block;
    background-color: var(--page-news-regulatory-changes-secondary-color);
    color: var(--page-news-regulatory-changes-light-text);
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.page-news-regulatory-changes__sidebar-button:hover {
    background-color: darken(var(--page-news-regulatory-changes-secondary-color), 10%);
}

.page-news-regulatory-changes__related-posts {
    list-style-type: none;
    padding: 0;
}

.page-news-regulatory-changes__related-posts li {
    margin-bottom: 10px;
}

.page-news-regulatory-changes__related-posts li a {
    color: var(--page-news-regulatory-changes-primary-color);
    text-decoration: none;
    font-size: 1.05em;
    transition: color 0.3s ease;
}

.page-news-regulatory-changes__related-posts li a:hover {
    color: var(--page-news-regulatory-changes-secondary-color);
    text-decoration: underline;
}

.page-news-regulatory-changes__cta-section {
    background-color: var(--page-news-regulatory-changes-primary-color);
    color: var(--page-news-regulatory-changes-light-text);
    padding: 80px 0;
    text-align: center;
}

.page-news-regulatory-changes__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--page-news-regulatory-changes-light-text); /* Ensure high contrast */
}

.page-news-regulatory-changes__cta-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.page-news-regulatory-changes__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-news-regulatory-changes__main-cta-button,
.page-news-regulatory-changes__secondary-cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-news-regulatory-changes__main-cta-button {
    background-color: var(--page-news-regulatory-changes-secondary-color);
    color: var(--page-news-regulatory-changes-light-text);
    border: 2px solid var(--page-news-regulatory-changes-secondary-color);
}

.page-news-regulatory-changes__main-cta-button:hover {
    background-color: darken(var(--page-news-regulatory-changes-secondary-color), 10%);
    border-color: darken(var(--page-news-regulatory-changes-secondary-color), 10%);
}

.page-news-regulatory-changes__secondary-cta-button {
    background-color: transparent;
    color: var(--page-news-regulatory-changes-light-text);
    border: 2px solid var(--page-news-regulatory-changes-light-text);
}

.page-news-regulatory-changes__secondary-cta-button:hover {
    background-color: var(--page-news-regulatory-changes-light-text);
    color: var(--page-news-regulatory-changes-primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-news-regulatory-changes__content-section {
        flex-direction: column;
        gap: 20px;
    }

    .page-news-regulatory-changes__article,
    .page-news-regulatory-changes__sidebar {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-news-regulatory-changes__hero-title {
        font-size: 2.5em;
    }

    .page-news-regulatory-changes__hero-subtitle {
        font-size: 1.2em;
    }

    .page-news-regulatory-changes__section-title {
        font-size: 1.8em;
    }

    .page-news-regulatory-changes__sub-section-title {
        font-size: 1.5em;
    }

    .page-news-regulatory-changes__cta-title {
        font-size: 2em;
    }

    .page-news-regulatory-changes__cta-text {
        font-size: 1.1em;
    }

    .page-news-regulatory-changes__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-news-regulatory-changes__main-cta-button,
    .page-news-regulatory-changes__secondary-cta-button {
        width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .page-news-regulatory-changes__hero-title {
        font-size: 2em;
    }

    .page-news-regulatory-changes__hero-subtitle {
        font-size: 1em;
    }

    .page-news-regulatory-changes__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-news-regulatory-changes__section-title {
        font-size: 1.5em;
    }

    .page-news-regulatory-changes__sub-section-title {
        font-size: 1.3em;
    }

    .page-news-regulatory-changes__cta-title {
        font-size: 1.8em;
    }

    .page-news-regulatory-changes__cta-text {
        font-size: 1em;
    }

    .page-news-regulatory-changes__main-cta-button,
    .page-news-regulatory-changes__secondary-cta-button {
        width: 90%;
        font-size: 1em;
        padding: 12px 25px;
    }
}