/* style/resources-mcw-cockfighting-app-guide.css */

:root {
    --page-primary-color: #0A192F;
    --page-secondary-color: #FFD700;
    --page-text-light: #FFFFFF;
    --page-text-dark: #333333;
    --page-accent-red: #E44D26; /* For CTA buttons, ensuring contrast */
    --page-bg-light: #F8F8F8;
    --page-border-color: #e0e0e0;
}

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

.page-resources-mcw-cockfighting-app-guide__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-resources-mcw-cockfighting-app-guide__hero-section {
    background: linear-gradient(135deg, var(--page-primary-color), #2C3E50);
    color: var(--page-text-light);
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources-mcw-cockfighting-app-guide__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_lines,geometric_pattern,dark_blue_gold]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-resources-mcw-cockfighting-app-guide__hero-section > .page-resources-mcw-cockfighting-app-guide__container {
    position: relative;
    z-index: 1;
}

.page-resources-mcw-cockfighting-app-guide__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--page-text-light);
    line-height: 1.2;
    font-weight: bold;
}

.page-resources-mcw-cockfighting-app-guide__main-title .highlight {
    color: var(--page-secondary-color);
}

.page-resources-mcw-cockfighting-app-guide__subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.page-resources-mcw-cockfighting-app-guide__btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
}

.page-resources-mcw-cockfighting-app-guide__btn--primary {
    background-color: var(--page-secondary-color);
    color: var(--page-primary-color);
    border: 2px solid var(--page-secondary-color);
}

.page-resources-mcw-cockfighting-app-guide__btn--primary:hover {
    background-color: #E6B800; /* Slightly darker gold */
    transform: translateY(-2px);
}

.page-resources-mcw-cockfighting-app-guide__btn--secondary {
    background-color: var(--page-accent-red);
    color: var(--page-text-light);
    border: 2px solid var(--page-accent-red);
    margin-top: 15px;
}

.page-resources-mcw-cockfighting-app-guide__btn--secondary:hover {
    background-color: #C6391C; /* Slightly darker red */
    transform: translateY(-2px);
}

.page-resources-mcw-cockfighting-app-guide__hero-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-mcw-cockfighting-app-guide__content-section {
    padding: 60px 0;
}

.page-resources-mcw-cockfighting-app-guide__article-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-resources-mcw-cockfighting-app-guide__table-of-contents {
    flex: 0 0 280px;
    background-color: var(--page-text-light);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 20px; /* Adjust based on header height */
    max-height: calc(100vh - 100px); /* Adjust based on header/footer */
    overflow-y: auto;
}

.page-resources-mcw-cockfighting-app-guide__toc-title {
    font-size: 1.4em;
    color: var(--page-primary-color);
    margin-bottom: 15px;
    font-weight: bold;
    border-bottom: 2px solid var(--page-secondary-color);
    padding-bottom: 10px;
}

.page-resources-mcw-cockfighting-app-guide__table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-resources-mcw-cockfighting-app-guide__table-of-contents li {
    margin-bottom: 10px;
}

.page-resources-mcw-cockfighting-app-guide__table-of-contents a {
    text-decoration: none;
    color: var(--page-text-dark);
    font-size: 1em;
    display: block;
    padding: 5px 0;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.page-resources-mcw-cockfighting-app-guide__table-of-contents a:hover,
.page-resources-mcw-cockfighting-app-guide__table-of-contents a.active {
    color: var(--page-primary-color);
    padding-left: 8px;
    font-weight: bold;
}

.page-resources-mcw-cockfighting-app-guide__article-content {
    flex: 1;
    background-color: var(--page-text-light);
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-resources-mcw-cockfighting-app-guide__article-content h2 {
    font-size: 2em;
    color: var(--page-primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--page-border-color);
    padding-bottom: 10px;
    line-height: 1.3;
}

.page-resources-mcw-cockfighting-app-guide__article-content h2:first-of-type {
    margin-top: 0;
}

.page-resources-mcw-cockfighting-app-guide__article-content h3 {
    font-size: 1.5em;
    color: var(--page-primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-resources-mcw-cockfighting-app-guide__article-content p {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.7;
    color: #555;
}

.page-resources-mcw-cockfighting-app-guide__article-content ul,
.page-resources-mcw-cockfighting-app-guide__article-content ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.page-resources-mcw-cockfighting-app-guide__article-content li {
    margin-bottom: 8px;
    font-size: 1.05em;
    color: #555;
}

.page-resources-mcw-cockfighting-app-guide__article-content ul li::marker {
    color: var(--page-secondary-color);
}

.page-resources-mcw-cockfighting-app-guide__nested-list {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 20px;
    list-style-type: disc;
}

.page-resources-mcw-cockfighting-app-guide__nested-list ol {
    list-style-type: decimal;
}

.page-resources-mcw-cockfighting-app-guide__image-center {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-mcw-cockfighting-app-guide__note {
    background-color: #fffbe6;
    border-left: 5px solid var(--page-secondary-color);
    padding: 15px 20px;
    margin: 25px 0;
    border-radius: 4px;
    color: #665b00;
}

.page-resources-mcw-cockfighting-app-guide__faq {
    margin-top: 30px;
}

.page-resources-mcw-cockfighting-app-guide__faq-item {
    background-color: #f0f4f8;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    border: 1px solid #e0e7ed;
}

.page-resources-mcw-cockfighting-app-guide__faq-question {
    font-size: 1.2em;
    color: var(--page-primary-color);
    margin-top: 0;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-resources-mcw-cockfighting-app-guide__faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    color: var(--page-secondary-color);
    transition: transform 0.3s ease;
}

.page-resources-mcw-cockfighting-app-guide__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-resources-mcw-cockfighting-app-guide__faq-answer {
    font-size: 1em;
    color: #666;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 10px;
}

.page-resources-mcw-cockfighting-app-guide__faq-answer.open {
    max-height: 200px; /* Adjust as needed */
    padding: 10px;
}

.page-resources-mcw-cockfighting-app-guide__back-link {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
}

.page-resources-mcw-cockfighting-app-guide__back-link a {
    color: var(--page-primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-resources-mcw-cockfighting-app-guide__back-link a:hover {
    text-decoration: underline;
    color: var(--page-secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-mcw-cockfighting-app-guide__article-wrapper {
        flex-direction: column;
    }

    .page-resources-mcw-cockfighting-app-guide__table-of-contents {
        flex: none;
        width: 100%;
        max-height: unset;
        position: static;
        margin-bottom: 30px;
    }

    .page-resources-mcw-cockfighting-app-guide__hero-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-resources-mcw-cockfighting-app-guide__main-title {
        font-size: 2.2em;
    }

    .page-resources-mcw-cockfighting-app-guide__subtitle {
        font-size: 1em;
    }

    .page-resources-mcw-cockfighting-app-guide__article-content {
        padding: 25px;
    }

    .page-resources-mcw-cockfighting-app-guide__article-content h2 {
        font-size: 1.7em;
    }

    .page-resources-mcw-cockfighting-app-guide__article-content h3 {
        font-size: 1.3em;
    }
}

@media (max-width: 576px) {
    .page-resources-mcw-cockfighting-app-guide__hero-section {
        padding: 60px 0 30px;
    }

    .page-resources-mcw-cockfighting-app-guide__main-title {
        font-size: 1.8em;
    }

    .page-resources-mcw-cockfighting-app-guide__btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    .page-resources-mcw-cockfighting-app-guide__content-section {
        padding: 40px 0;
    }

    .page-resources-mcw-cockfighting-app-guide__article-content {
        padding: 20px;
    }

    .page-resources-mcw-cockfighting-app-guide__toc-title {
        font-size: 1.2em;
    }

    .page-resources-mcw-cockfighting-app-guide__table-of-contents a {
        font-size: 0.95em;
    }
}