/* style/resources-cockfighting-rules.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #FFFFFF;
    --login-button-color: #EA7C07;
    --border-color: #e0e0e0;
    --card-bg: #FFFFFF;
    --section-bg-light: #f9f9f9;
    --section-bg-dark: #26A9E0; /* Using primary color for dark sections */
}

/* Base styles for the page content */
.page-resources-cockfighting-rules {
    font-family: 'Arial', sans-serif;
    color: var(--text-color-dark); /* Default text color for light body background */
    line-height: 1.6;
    background-color: var(--secondary-color); /* Matches body background from shared.css */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-cockfighting-rules__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-cockfighting-rules__section {
    padding: 60px 0;
}

.page-resources-cockfighting-rules__section:nth-of-type(even) {
    background-color: var(--section-bg-light);
}

.page-resources-cockfighting-rules__section-title {
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-resources-cockfighting-rules__sub-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-cockfighting-rules__paragraph {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: justify;
}

.page-resources-cockfighting-rules__highlight {
    font-weight: bold;
    color: var(--primary-color);
}

/* Hero Section */
.page-resources-cockfighting-rules__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 40px; 
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, #36baf2 100%); /* Blue gradient background */
    color: var(--text-color-light);
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-cockfighting-rules__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2; /* Ensure content is above image */
}

.page-resources-cockfighting-rules__hero-content {
    width: 100%;
    margin-bottom: 30px;
}

.page-resources-cockfighting-rules__main-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-color-light);
}

.page-resources-cockfighting-rules__hero-description {
    font-size: 22px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-light);
}

.page-resources-cockfighting-rules__hero-image-wrapper {
    width: 100%;
    max-width: 900px; /* Limit image width */
    margin-top: 30px;
}

.page-resources-cockfighting-rules__hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* CTA Button */
.page-resources-cockfighting-rules__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--login-button-color); /* Use login button color for primary CTA */
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-resources-cockfighting-rules__cta-button:hover {
    background: #e06c00; /* Darken on hover, conceptual */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}