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

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color);
    background-color: var(--bg-color-dark);
}

.page-cockfighting__dark-bg {
    background-color: var(--bg-color-dark);
    color: var(--text-main-color);
}

.page-cockfighting__light-bg {
    background-color: var(--text-main-color);
    color: var(--bg-color-dark);
}

.page-cockfighting__section {
    padding: 60px 0;
    text-align: center;
}

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

.page-cockfighting__hero-section {
    position: relative;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 10;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    max-width: 800px;
    margin-top: -80px; /* Adjust to place content below image with some overlap for visual flow */
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.page-cockfighting__hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.page-cockfighting__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--button-gradient);
    border-radius: 2px;
}

.page-cockfighting__text-block {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-main-color);
    margin-bottom: 20px;
    text-align: left;
}

.page-cockfighting__text-block a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__text-block a:hover {
    text-decoration: underline;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    background: var(--button-gradient);
    color: var(--text-main-color);
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

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

.page-cockfighting__card {
    background-color: var(--bg-color-card);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text-main-color);
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
}

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

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

.page-cockfighting__card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary-color);
}

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

.page-cockfighting__guide-item {
    background-color: var(--bg-color-card);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid var(--border-color);
    color: var(--text-main-color);
}

.page-cockfighting__guide-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: var(--button-gradient);
    color: var(--text-main-color);
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__guide-title {
    font-size: 1.4rem;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__guide-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary-color);
}

.page-cockfighting__image-with-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
}

.page-cockfighting__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: block;
}

.page-cockfighting__image-caption {
    font-size: 0.95rem;
    color: var(--text-secondary-color);
    font-style: italic;
    text-align: center;
    max-width: 800px;
}

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

.page-cockfighting__strategy-card {
    background-color: var(--bg-color-card);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-main-color);
}

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

.page-cockfighting__strategy-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary-color);
}

.page-cockfighting__advantage-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__advantage-list li {
    background-color: var(--bg-color-card);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-main-color);
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__advantage-list li strong {
    color: var(--gold-color);
}

.page-cockfighting__advantage-list li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__advantage-list li a:hover {
    text-decoration: underline;
}

.page-cockfighting__faq-list {
    margin-top: 40px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__faq-item {
    background-color: var(--bg-color-card);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    color: var(--text-main-color);
}

.page-cockfighting__faq-item summary {
    list-style: none;
}

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

.page-cockfighting__faq-question {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--border-color);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    border-bottom: 1px solid var(--border-color);
}

.page-cockfighting__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
    padding: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary-color);
    background-color: var(--bg-color-card);
}

.page-cockfighting__faq-answer p {
    margin: 0;
    text-align: left;
}

.page-cockfighting__faq-answer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__faq-answer a:hover {
    text-decoration: underline;
}

.page-cockfighting__conclusion-section .page-cockfighting__cta-button {
    margin-top: 30px;
}

/* Image and Video Responsiveness */
.page-cockfighting img,
.page-cockfighting video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Desktop video container width */
.page-cockfighting__video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        margin-top: -60px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__container {
        padding: 0 15px !important;
    }

    .page-cockfighting__section {
        padding: 40px 0;
    }

    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Ensure small top padding */
        min-height: 400px;
    }

    .page-cockfighting__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-cockfighting__hero-content {
        margin-top: -40px;
        padding: 15px;
    }

    .page-cockfighting__main-title {
        font-size: 2rem;
    }

    .page-cockfighting__hero-description {
        font-size: 1rem;
    }

    .page-cockfighting__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-cockfighting__text-block {
        font-size: 1rem;
    }

    .page-cockfighting__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-cockfighting__grid-layout,
    .page-cockfighting__guide-steps,
    .page-cockfighting__strategy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__card-image {
        height: 180px;
    }

    .page-cockfighting__card-title,
    .page-cockfighting__guide-title,
    .page-cockfighting__strategy-title {
        font-size: 1.3rem;
    }

    .page-cockfighting__card-description,
    .page-cockfighting__guide-description,
    .page-cockfighting__strategy-description {
        font-size: 0.95rem;
    }

    .page-cockfighting__image-with-text {
        margin-top: 40px;
    }

    .page-cockfighting__content-image {
        border-radius: 8px;
    }

    .page-cockfighting__advantage-list li {
        padding: 15px;
        font-size: 1rem;
    }

    .page-cockfighting__faq-question {
        font-size: 1.1rem;
        padding: 15px;
    }

    .page-cockfighting__faq-answer {
        font-size: 0.95rem;
        padding: 15px;
    }

    /* Mobile image responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Mobile video responsiveness */
    .page-cockfighting video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: 1.8rem;
    }

    .page-cockfighting__hero-description {
        font-size: 0.9rem;
    }

    .page-cockfighting__section-title {
        font-size: 1.6rem;
    }

    .page-cockfighting__cta-button {
        font-size: 0.95rem;
        padding: 10px 15px;
    }
}