/* style/resources-rikvip-app-download-guide.css */

/* Variables for colors */
:root {
    --page-rikvip-primary-color: #0A2239; /* Dark Blue */
    --page-rikvip-accent-color: #FFD700; /* Gold */
    --page-rikvip-text-light: #f5f5f5; /* Off-white for dark backgrounds */
    --page-rikvip-text-dark: #333333; /* Dark grey for light backgrounds */
    --page-rikvip-background-light: #ffffff; /* White background */
    --page-rikvip-background-dark: #1A3A5A; /* Slightly lighter dark blue for sections */
    --page-rikvip-link-color: #0A2239;
    --page-rikvip-link-hover-color: #001122;
}

.page-resources-rikvip-app-download-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-rikvip-text-dark);
    background-color: var(--page-rikvip-background-light);
}

.page-resources-rikvip-app-download-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-resources-rikvip-app-download-guide__hero {
    background: linear-gradient(135deg, var(--page-rikvip-primary-color), #2A4A6A); /* Dark blue gradient */
    color: var(--page-rikvip-text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources-rikvip-app-download-guide__title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--page-rikvip-accent-color);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-rikvip-app-download-guide__description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--page-rikvip-text-light);
}

.page-resources-rikvip-app-download-guide__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 10px;
    cursor: pointer;
}

.page-resources-rikvip-app-download-guide__button--primary {
    background-color: var(--page-rikvip-accent-color);
    color: var(--page-rikvip-primary-color);
    border: 2px solid var(--page-rikvip-accent-color);
}

.page-resources-rikvip-app-download-guide__button--primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
}

.page-resources-rikvip-app-download-guide__button--secondary {
    background-color: transparent;
    color: var(--page-rikvip-accent-color);
    border: 2px solid var(--page-rikvip-accent-color);
}

.page-resources-rikvip-app-download-guide__button--secondary:hover {
    background-color: var(--page-rikvip-accent-color);
    color: var(--page-rikvip-primary-color);
    transform: translateY(-2px);
}

.page-resources-rikvip-app-download-guide__hero-image {
    max-width: 80%;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Content Area */
.page-resources-rikvip-app-download-guide__content-wrapper {
    padding: 40px 0;
    background-color: var(--page-rikvip-background-light);
}

.page-resources-rikvip-app-download-guide__content-area {
    display: flex;
    gap: 40px;
    max-width: 1000px; /* Adjust for article readability */
}

/* Table of Contents */
.page-resources-rikvip-app-download-guide__table-of-contents {
    flex: 0 0 250px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    align-self: flex-start; /* Stick to top */
    position: sticky;
    top: 20px; /* Adjust if there's a fixed header */
}

.page-resources-rikvip-app-download-guide__toc-title {
    font-size: 1.4em;
    color: var(--page-rikvip-primary-color);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--page-rikvip-accent-color);
    padding-bottom: 10px;
}

.page-resources-rikvip-app-download-guide__toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-resources-rikvip-app-download-guide__toc-list li {
    margin-bottom: 10px;
}

.page-resources-rikvip-app-download-guide__toc-list a {
    text-decoration: none;
    color: var(--page-rikvip-link-color);
    font-weight: 500;
    transition: color 0.2s ease;
    display: block;
    padding: 5px 0;
}

.page-resources-rikvip-app-download-guide__toc-list a:hover {
    color: var(--page-rikvip-accent-color);
    text-decoration: underline;
}

/* Article Content */
.page-resources-rikvip-app-download-guide__article {
    flex-grow: 1;
    max-width: 700px; /* Optimal reading width */
}

.page-resources-rikvip-app-download-guide__section {
    margin-bottom: 40px;
}

.page-resources-rikvip-app-download-guide__section-title {
    font-size: 2em;
    color: var(--page-rikvip-primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.page-resources-rikvip-app-download-guide__subsection-title {
    font-size: 1.5em;
    color: var(--page-rikvip-primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-rikvip-app-download-guide__article p {
    margin-bottom: 1em;
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--page-rikvip-text-dark);
}

.page-resources-rikvip-app-download-guide__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1em;
    color: var(--page-rikvip-text-dark);
}

.page-resources-rikvip-app-download-guide__list li {
    margin-bottom: 0.5em;
    font-size: 1.05em;
    line-height: 1.6;
}

.page-resources-rikvip-app-download-guide__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-rikvip-app-download-guide__cta-group {
    text-align: center;
    margin-top: 50px;
}

.page-resources-rikvip-app-download-guide__return-link {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.page-resources-rikvip-app-download-guide__return-link a {
    color: var(--page-rikvip-link-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.page-resources-rikvip-app-download-guide__return-link a:hover {
    color: var(--page-rikvip-accent-color);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-rikvip-app-download-guide__content-area {
        flex-direction: column;
        gap: 20px;
    }

    .page-resources-rikvip-app-download-guide__table-of-contents {
        position: static;
        flex: none;
        width: 100%;
        margin-bottom: 30px;
    }

    .page-resources-rikvip-app-download-guide__hero-image {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .page-resources-rikvip-app-download-guide__title {
        font-size: 2.2em;
    }

    .page-resources-rikvip-app-download-guide__description {
        font-size: 1em;
    }

    .page-resources-rikvip-app-download-guide__section-title {
        font-size: 1.8em;
    }

    .page-resources-rikvip-app-download-guide__subsection-title {
        font-size: 1.3em;
    }

    .page-resources-rikvip-app-download-guide__button {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 576px) {
    .page-resources-rikvip-app-download-guide__hero {
        padding: 60px 0;
    }

    .page-resources-rikvip-app-download-guide__title {
        font-size: 1.8em;
    }

    .page-resources-rikvip-app-download-guide__content-wrapper {
        padding: 20px 0;
    }

    .page-resources-rikvip-app-download-guide__container {
        padding: 0 15px;
    }
    
    .page-resources-rikvip-app-download-guide__hero-image {
        max-width: 100%;
    }
}