/* style/resources-industry-news.css */
.page-resources-industry-news {
    font-family: 'Arial', sans-serif;
    color: #e5e5e5;
    background-color: #1A202C;
    line-height: 1.6;
}

.page-resources-industry-news__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-resources-industry-news__hero {
    background: linear-gradient(135deg, #FFD700, #1A202C);
    color: #1A202C;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources-industry-news__hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: page-resources-industry-news__hero-animation 15s infinite linear;
    z-index: 0;
}

@keyframes page-resources-industry-news__hero-animation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.page-resources-industry-news__hero .page-resources-industry-news__container {
    position: relative;
    z-index: 1;
}

.page-resources-industry-news__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #1A202C;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-industry-news__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: #333;
}

.page-resources-industry-news__hero-button {
    display: inline-block;
    background-color: #1A202C;
    color: #FFD700;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border: 2px solid #FFD700;
}

.page-resources-industry-news__hero-button:hover {
    background-color: #FFD700;
    color: #1A202C;
    transform: translateY(-3px);
}

.page-resources-industry-news__content-wrapper {
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

.page-resources-industry-news__article-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-resources-industry-news__article {
    flex: 3;
    background-color: #2a2a2a;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    max-width: 800px;
    margin-right: auto; /* Push TOC to the left on larger screens */
}

.page-resources-industry-news__article h2,
.page-resources-industry-news__article h3 {
    color: #FFD700;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
}

.page-resources-industry-news__article h2 {
    font-size: 2.2em;
}

.page-resources-industry-news__article h3 {
    font-size: 1.8em;
    color: #f0c000;
}

.page-resources-industry-news__article p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-resources-industry-news__article ul,
.page-resources-industry-news__article ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.page-resources-industry-news__article li {
    margin-bottom: 8px;
    font-size: 1.1em;
}

.page-resources-industry-news__article a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-industry-news__article a:hover {
    color: #f0c000;
    text-decoration: underline;
}

.page-resources-industry-news__article-toc {
    flex: 1;
    min-width: 250px;
    background-color: #2a2a2a;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    position: sticky;
    top: 100px; /* Adjust based on header height */
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.page-resources-industry-news__toc-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 10px;
}

.page-resources-industry-news__article-toc ul {
    list-style: none;
    padding: 0;
}

.page-resources-industry-news__article-toc li {
    margin-bottom: 10px;
}

.page-resources-industry-news__article-toc a {
    color: #e5e5e5;
    text-decoration: none;
    font-size: 1.05em;
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.page-resources-industry-news__article-toc a:hover {
    color: #FFD700;
    padding-left: 10px;
}

.page-resources-industry-news__image-container {
    text-align: center;
    margin: 30px 0;
    background-color: #1A202C;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.page-resources-industry-news__image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
}

.page-resources-industry-news__image-container figcaption {
    color: #aaa;
    font-size: 0.9em;
    margin-top: 10px;
}

.page-resources-industry-news__cta-group {
    margin-top: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-resources-industry-news__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.page-resources-industry-news__button--primary {
    background-color: #FFD700;
    color: #1A202C;
    border: 2px solid #FFD700;
}

.page-resources-industry-news__button--primary:hover {
    background-color: #f0c000;
    transform: translateY(-2px);
}

.page-resources-industry-news__button--secondary {
    background-color: #1A202C;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-resources-industry-news__button--secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
    transform: translateY(-2px);
}

.page-resources-industry-news__button--text {
    background: none;
    border: none;
    color: #FFD700;
    font-size: 1.1em;
    padding: 10px 0;
}

.page-resources-industry-news__button--text:hover {
    text-decoration: underline;
    color: #f0c000;
}

.page-resources-industry-news__back-link {
    margin-top: 40px;
    text-align: center;
}

.page-resources-industry-news__floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #FFD700;
    color: #1A202C;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 300px;
    text-align: center;
    animation: page-resources-industry-news__fade-in 0.5s ease-out;
}

@keyframes page-resources-industry-news__fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-resources-industry-news__ad-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #1A202C;
}

.page-resources-industry-news__ad-button {
    display: inline-block;
    background-color: #1A202C;
    color: #FFD700;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid #1A202C;
}

.page-resources-industry-news__ad-button:hover {
    background-color: #333;
    color: #FFD700;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-industry-news__article-content {
        flex-direction: column;
    }

    .page-resources-industry-news__article {
        margin-right: 0;
        max-width: 100%;
    }

    .page-resources-industry-news__article-toc {
        position: static;
        max-height: none;
        width: 100%;
        margin-bottom: 40px;
    }

    .page-resources-industry-news__hero-title {
        font-size: 2.5em;
    }

    .page-resources-industry-news__hero-subtitle {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .page-resources-industry-news__hero {
        padding: 60px 0;
    }

    .page-resources-industry-news__hero-title {
        font-size: 2em;
    }

    .page-resources-industry-news__hero-subtitle {
        font-size: 1em;
    }

    .page-resources-industry-news__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-resources-industry-news__article {
        padding: 25px;
    }

    .page-resources-industry-news__article h2 {
        font-size: 1.8em;
    }

    .page-resources-industry-news__article h3 {
        font-size: 1.5em;
    }

    .page-resources-industry-news__article p,
    .page-resources-industry-news__article li {
        font-size: 1em;
    }

    .page-resources-industry-news__floating-ad {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        bottom: 15px;
    }
}

@media (max-width: 480px) {
    .page-resources-industry-news__hero-title {
        font-size: 1.8em;
    }

    .page-resources-industry-news__hero-subtitle {
        font-size: 0.9em;
    }

    .page-resources-industry-news__cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-industry-news__button {
        width: 100%;
    }
}