/* style/cockfighting.css */

/* Global styles for the page content, ensuring text contrast on default light body background */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #f9f9f9; /* Slightly off-white background for content sections */
}

/* Section base styles */
.page-cockfighting__section {
    padding: 60px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.page-cockfighting__section:last-child {
    margin-bottom: 0;
}

/* Container for content within sections */
.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background-color: #ffffff; /* Default light background for containers */
}

/* Dark background sections */
.page-cockfighting__dark-bg .page-cockfighting__container {
    background-color: #8B0000; /* Auxiliary color as background */
    color: #ffffff; /* White text for dark background */
}

.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg .page-cockfighting__section-subtitle,
.page-cockfighting__dark-bg .page-cockfighting__card-title a,
.page-cockfighting__dark-bg .page-cockfighting__feature-title,
.page-cockfighting__dark-bg .page-cockfighting__blog-title a,
.page-cockfighting__dark-bg .page-cockfighting__blog-excerpt,
.page-cockfighting__dark-bg .page-cockfighting__blog-date {
    color: #ffffff;
}

/* Titles */
.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #FFD700; /* Primary color for section titles */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-cockfighting__section-subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    color: #555555;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    background: linear-gradient(135deg, #FFD700, #8B0000); /* Gradient background for hero */
    color: #ffffff;
    margin-bottom: 30px;
    border-radius: 0 0 8px 8px;
}

.page-cockfighting__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-cockfighting__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-cockfighting__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-cockfighting__main-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__intro-description {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

/* CTA Buttons */
.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: #FFD700; /* Primary color */
    color: #ffffff;
    border: 2px solid #FFD700;
}

.page-cockfighting__btn-primary:hover {
    background: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary {
    background: transparent;
    color: #FFD700; /* Primary color for text */
    border: 2px solid #FFD700;
}

.page-cockfighting__btn-secondary:hover {
    background: #FFD700;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General image content within sections */
.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* Grid layout for cards */
.page-cockfighting__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Card styles */
.page-cockfighting__card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__dark-bg .page-cockfighting__card {
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-cockfighting__card-title {
    font-size: 22px;
    font-weight: bold;
    padding: 15px 20px 0;
    margin-top: 10px;
    color: #8B0000; /* Auxiliary color for card titles */
}

.page-cockfighting__card-title a {
    color: #8B0000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting__dark-bg .page-cockfighting__card-title a {
    color: #FFD700;
}

.page-cockfighting__card-title a:hover {
    color: #FFD700;
}

.page-cockfighting__card p {
    font-size: 15px;
    color: #555555;
    padding: 0 20px 15px;
    flex-grow: 1; /* Allows paragraph to take available space */
}

.page-cockfighting__dark-bg .page-cockfighting__card p {
    color: #e0e0e0;
}

.page-cockfighting__card .page-cockfighting__cta-button {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
    padding: 10px 20px;
    font-size: 16px;
    align-self: flex-end; /* Align button to bottom */
}

/* Guide List */
.page-cockfighting__guide-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-cockfighting__guide-list li {
    background-color: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.page-cockfighting__guide-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-cockfighting__list-item-title {
    font-size: 24px;
    color: #FFD700; /* Primary color */
    margin-top: 0;
    margin-bottom: 10px;
}

.page-cockfighting__guide-list p {
    color: #444444;
}

/* Features Grid */
.page-cockfighting__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__feature-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}