/* style/cockfighting.css */

:root {
    --page-cockfighting-primary-color: #11A84E;
    --page-cockfighting-secondary-color: #22C768;
    --page-cockfighting-background-dark: #08160F;
    --page-cockfighting-card-bg: #11271B;
    --page-cockfighting-text-main: #F2FFF6;
    --page-cockfighting-text-secondary: #A7D9B8;
    --page-cockfighting-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-cockfighting-border-color: #2E7A4E;
    --page-cockfighting-glow-color: #57E38D;
    --page-cockfighting-gold-color: #F2C14E;
    --page-cockfighting-divider-color: #1E3A2A;
    --page-cockfighting-deep-green: #0A4B2C;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    background-color: var(--page-cockfighting-background-dark);
    color: var(--page-cockfighting-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--page-cockfighting-background-dark);
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-cockfighting__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: 20px;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--page-cockfighting-gold-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__hero-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 30px;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-button-gradient);
    color: var(--page-cockfighting-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--page-cockfighting-gold-color);
    border: 2px solid var(--page-cockfighting-gold-color);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--page-cockfighting-gold-color);
    color: var(--page-cockfighting-background-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--page-cockfighting-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-cockfighting__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--page-cockfighting-text-main);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-cockfighting__text-block {
    font-size: 1.1rem;
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-cockfighting__highlight {
    color: var(--page-cockfighting-gold-color);
    font-weight: bold;
}

.page-cockfighting__introduction-section,
.page-cockfighting__events-section,
.page-cockfighting__support-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-background-dark);
}

.page-cockfighting__light-bg {
    background-color: var(--page-cockfighting-card-bg);
    color: var(--page-cockfighting-text-main);
    padding: 80px 0;
}

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

.page-cockfighting__flex-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-cockfighting__content-block {
    flex: 1;
    min-width: 300px;
}

.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__image-text-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
    align-items: flex-start;
}

.page-cockfighting__image-text-block .page-cockfighting__image-content {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-cockfighting__text-content {
    flex: 1;
}

.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-cockfighting__list-item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    color: var(--page-cockfighting-text-secondary);
    font-size: 1.05rem;
}

.page-cockfighting__list-item::before {
    content: '•';
    color: var(--page-cockfighting-gold-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    top: 0;
}

.page-cockfighting__card {
    background-color: var(--page-cockfighting-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    border: 1px solid var(--page-cockfighting-border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-title {
    font-size: 1.5rem;
    color: var(--page-cockfighting-gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__card-text {
    color: var(--page-cockfighting-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-cockfighting__card .page-cockfighting__btn-primary,
.page-cockfighting__card .page-cockfighting__btn-secondary {
    margin-top: auto;
    align-self: flex-start;
}

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

.page-cockfighting__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__faq-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-card-bg);
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-cockfighting__faq-item {
    background-color: var(--page-cockfighting-background-dark);
    border: 1px solid var(--page-cockfighting-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.15rem;
    color: var(--page-cockfighting-text-main);
    transition: background-color 0.3s ease;
    list-style: none;
}

.page-cockfighting__faq-item[open] > .page-cockfighting__faq-question {
    background-color: var(--page-cockfighting-deep-green);
    color: var(--page-cockfighting-gold-color);
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--page-cockfighting-gold-color);
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    color: var(--page-cockfighting-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Responsive styles */
@media (max-width: 992px) {
    .page-cockfighting__hero-section {
        padding: 40px 0;
    }
    .page-cockfighting__hero-content {
        padding: 20px;
    }
    .page-cockfighting__flex-content {
        flex-direction: column;
        align-items: center;
    }
    .page-cockfighting__image-text-block {
        flex-direction: column;
    }
    .page-cockfighting__content-block,
    .page-cockfighting__text-content {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__section-title {
        margin-bottom: 30px;
    }
    .page-cockfighting__introduction-section,
    .page-cockfighting__events-section,
    .page-cockfighting__support-section,
    .page-cockfighting__light-bg,
    .page-cockfighting__faq-section {
        padding: 50px 0;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-section,
    .page-cockfighting__introduction-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__events-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__support-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__image-text-block,
    .page-cockfighting__flex-content,
    .page-cockfighting__grid-layout,
    .page-cockfighting__promotion-cards,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
    }
    .page-cockfighting__card-image {
        height: auto;
    }
    .page-cockfighting__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
    }
}