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

/* Base styles for the page content */
.page-resources-understanding-cockfighting-rules {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

.page-resources-understanding-cockfighting-rules__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
    background: linear-gradient(135deg, #017439, #004d2a); /* Brand colors */
    color: #ffffff;
}

.page-resources-understanding-cockfighting-rules__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Subtle background */
}

.page-resources-understanding-cockfighting-rules__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.page-resources-understanding-cockfighting-rules__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-understanding-cockfighting-rules__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

.page-resources-understanding-cockfighting-rules__dark-bg {
    background-color: #1a1a2e; /* Body dark background */
    color: #ffffff;
}

.page-resources-understanding-cockfighting-rules__light-bg {
    background-color: #2a2a4a; /* Slightly lighter dark for contrast sections */
    color: #ffffff;
}

.page-resources-understanding-cockfighting-rules__content-area {
    max-width: 1200px;
    margin: 0 auto;
}

.page-resources-understanding-cockfighting-rules__section-title {
    font-size: 2.5em;
    color: #FFFF00; /* Yellow for titles on dark background */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-understanding-cockfighting-rules__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFFF00; /* Yellow for dark sections */
    border-radius: 2px;
}

.page-resources-understanding-cockfighting-rules__light-bg .page-resources-understanding-cockfighting-rules__section-title {
    color: #017439; /* Brand color for titles on light background */
}

.page-resources-understanding-cockfighting-rules__light-bg .page-resources-understanding-cockfighting-rules__section-title::after {
    background-color: #017439; /* Brand color for light sections */
}

.page-resources-understanding-cockfighting-rules p {
    margin-bottom: 1em;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-resources-understanding-cockfighting-rules a {
    color: #FFFF00; /* Yellow for links on dark background */
    text-decoration: none;
}

.page-resources-understanding-cockfighting-rules a:hover {
    text-decoration: underline;
    color: #ffd700;
}

.page-resources-understanding-cockfighting-rules__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-resources-understanding-cockfighting-rules__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-resources-understanding-cockfighting-rules__image-full {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-understanding-cockfighting-rules__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-resources-understanding-cockfighting-rules__card-title {
    color: #FFFF00; /* Yellow for card titles on dark background */
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-resources-understanding-cockfighting-rules__light-bg .page-resources-understanding-cockfighting-rules__card-title {
    color: #017439; /* Brand color for card titles on light background */
}

.page-resources-understanding-cockfighting-rules__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-resources-understanding-cockfighting-rules__step-card {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.page-resources-understanding-cockfighting-rules__step-card:hover {
    transform: translateY(-5px);
}

.page-resources-understanding-cockfighting-rules__step-card .page-resources-understanding-cockfighting-rules__card-title {
    color: #FFFF00;
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-resources-understanding-cockfighting-rules__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources-understanding-cockfighting-rules__btn-primary,
.page-resources-understanding-cockfighting-rules__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-understanding-cockfighting-rules__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-resources-understanding-cockfighting-rules__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
    color: #ffffff;
}

.page-resources-understanding-cockfighting-rules__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Yellow for links on dark background */
    border: 2px solid #FFFF00;
}

.page-resources-understanding-cockfighting-rules__btn-secondary:hover {
    background-color: #FFFF00;
    color: #1a1a2e; /* Dark text on yellow background */
}

/* Specific button for CTA section */
.page-resources-understanding-cockfighting-rules__cta-section {
    text-align: center;
    margin-top: 50px;
}

.page-resources-understanding-cockfighting-rules__cta-banner {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(90deg, #017439, #004d2a); /* Brand colors */
    color: #ffffff;
    margin-top: 40px;
}

.page-resources-understanding-cockfighting-rules__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-understanding-cockfighting-rules__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-resources-understanding-cockfighting-rules__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* FAQ styles */
.page-resources-understanding-cockfighting-rules__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}