:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --card-bg-color: #FFFFFF;
    --background-color: #F5F7FA;
    --text-main-color: #333333;
    --border-color: #E0E0E0;
    --gradient-button: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
}

.page-cockfighting-event-schedule {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color); /* Body background is light, so text is dark */
    background-color: var(--background-color);
}

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

.page-cockfighting-event-schedule__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.page-cockfighting-event-schedule__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-cockfighting-event-schedule__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding if body has header-offset */
    background-color: #000;
    overflow: hidden;
}

.page-cockfighting-event-schedule__hero-image-wrapper {
    width: 100%;
    height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-cockfighting-event-schedule__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-cockfighting-event-schedule__hero-content-wrapper {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    text-align: center;
    background: var(--background-color);
}

.page-cockfighting-event-schedule__hero-title {
    font-size: clamp(2.5em, 4vw, 3.5em);
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.page-cockfighting-event-schedule__hero-description {
    font-size: 1.2em;
    color: var(--text-main-color);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-cockfighting-event-schedule__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-cockfighting-event-schedule__btn-primary,
.page-cockfighting-event-schedule__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    word-wrap: break-word;
}

.page-cockfighting-event-schedule__btn-primary {
    background: var(--gradient-button);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-cockfighting-event-schedule__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-cockfighting-event-schedule__btn-secondary {
    background: var(--card-bg-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-cockfighting-event-schedule__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.page-cockfighting-event-schedule__btn-center {
    display: block;
    margin: 30px auto;
    text-align: center;
}

.page-cockfighting-event-schedule__introduction-section,
.page-cockfighting-event-schedule__detailed-schedule-section,
.page-cockfighting-event-schedule__faq-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.page-cockfighting-event-schedule__access-guide-section,
.page-cockfighting-event-schedule__betting-guide-section,
.page-cockfighting-event-schedule__cta-final-section {
    padding: 60px 0;
    background-color: var(--card-bg-color);
}

.page-cockfighting-event-schedule__dark-bg {
    background-color: var(--primary-color);
    color: #ffffff;
}

.page-cockfighting-event-schedule__dark-bg .page-cockfighting-event-schedule__section-title {
    color: #ffffff;
}

.page-cockfighting-event-schedule__dark-bg .page-cockfighting-event-schedule__text-block {
    color: #f0f0f0;
}

.page-cockfighting-event-schedule__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting-event-schedule__feature-item {
    background: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-main-color);
    border: 1px solid var(--border-color);
}

.page-cockfighting-event-schedule__feature-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-cockfighting-event-schedule__feature-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-cockfighting-event-schedule__types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting-event-schedule__type-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-cockfighting-event-schedule__type-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.page-cockfighting-event-schedule__type-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-cockfighting-event-schedule__schedule-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.page-cockfighting-event-schedule__schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px; /* Ensure table is readable on smaller screens */
}

.page-cockfighting-event-schedule__schedule-table th,
.page-cockfighting-event-schedule__schedule-table td {
    padding: 15px;
    border: 1px solid var(--border-color);
    text-align: left;
    vertical-align: middle;
}

.page-cockfighting-event-schedule__schedule-table th {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: bold;
    white-space: nowrap;
}

.page-cockfighting-event-schedule__schedule-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.page-cockfighting-event-schedule__schedule-table tbody tr:hover {
    background-color: #f0f0f0;
}

.page-cockfighting-event-schedule__faq-list {
    margin-top: 40px;
}

.page-cockfighting-event-schedule__faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg-color);
    color: var(--text-main-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-cockfighting-event-schedule__faq-item summary {
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-color);
    list-style: none; /* Hide default marker */
}

.page-cockfighting-event-schedule__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-cockfighting-event-schedule__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--secondary-color);
}

.page-cockfighting-event-schedule__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-main-color);
}

.page-cockfighting-event-schedule__faq-answer p {
    margin-bottom: 10px;
}

/* General image responsive styles */
.page-cockfighting-event-schedule img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-cockfighting-event-schedule__container {
        padding: 15px;
    }

    .page-cockfighting-event-schedule__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-cockfighting-event-schedule__text-block {
        font-size: 1em;
    }

    /* HERO 主图区域 */
    .page-cockfighting-event-schedule__hero-section {
        padding-top: 10px !important;
    }

    .page-cockfighting-event-schedule__hero-image-wrapper {
        height: 300px;
    }

    .page-cockfighting-event-schedule__hero-title {
        font-size: 2em;
    }

    .page-cockfighting-event-schedule__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-cockfighting-event-schedule__hero-cta-buttons,
    .page-cockfighting-event-schedule__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 按钮与按钮容器 */
    .page-cockfighting-event-schedule__btn-primary,
    .page-cockfighting-event-schedule__btn-secondary,
    .page-cockfighting-event-schedule a[class*="button"],
    .page-cockfighting-event-schedule a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 通用图片与容器 */
    .page-cockfighting-event-schedule img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-cockfighting-event-schedule__introduction-section,
    .page-cockfighting-event-schedule__access-guide-section,
    .page-cockfighting-event-schedule__types-section,
    .page-cockfighting-event-schedule__detailed-schedule-section,
    .page-cockfighting-event-schedule__betting-guide-section,
    .page-cockfighting-event-schedule__safety-section,
    .page-cockfighting-event-schedule__faq-section,
    .page-cockfighting-event-schedule__cta-final-section,
    .page-cockfighting-event-schedule__card,
    .page-cockfighting-event-schedule__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting-event-schedule__feature-list,
    .page-cockfighting-event-schedule__types-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting-event-schedule__feature-image,
    .page-cockfighting-event-schedule__type-image {
        height: 180px;
    }

    .page-cockfighting-event-schedule__schedule-table-wrapper {
        margin-top: 20px;
    }

    .page-cockfighting-event-schedule__schedule-table {
        min-width: unset;
    }

    .page-cockfighting-event-schedule__schedule-table th,
    .page-cockfighting-event-schedule__schedule-table td {
        padding: 10px;
        font-size: 0.9em;
    }

    .page-cockfighting-event-schedule__faq-item summary {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-cockfighting-event-schedule__faq-answer {
        font-size: 1em;
        padding: 0 15px 15px 15px;
    }
}