/* style/cockfighting.css */
.page-cockfighting {
    font-family: Arial, sans-serif;
    color: #333333;
    background-color: #ffffff;
}

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

.page-cockfighting__hero-section {
    position: relative;
    padding: 100px 20px;
    background-color: #017439;
    color: #ffffff;
    text-align: center;
    padding-top: var(--header-offset, 120px);
}

.page-cockfighting__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFF00; /* Custom color for main title */
}

.page-cockfighting__description {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    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;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background-color: #C30808; /* Custom color for Register/Login */
    color: #FFFF00; /* Custom font color for Register/Login */
    border: 2px solid #C30808;
}

.page-cockfighting__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-cockfighting__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2c;
    border-color: #005f2c;
}

.page-cockfighting__video-section {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #017439;
    text-align: center;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 30px auto;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
}

.page-cockfighting__video-caption {
  font-style: italic;
  margin-top: 10px;
  color: #555555;
}

.page-cockfighting__content-section {
    padding: 60px 20px;
    background-color: #f8f8f8;
}

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

.page-cockfighting__content-block {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-cockfighting__sub-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
}

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

.page-cockfighting__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-cockfighting__list-item {
    margin-bottom: 10px;
    line-height: 1.6;
}

.page-cockfighting__list-item strong {
    color: #017439;
}

.page-cockfighting__advantages-section {
    padding: 80px 20px;
    background-color: #017439;
    color: #ffffff;
    text-align: center;
}

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

.page-cockfighting__card {
    background-color: #ffffff;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-align: left;
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

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

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
}

.page-cockfighting__card-text {
    font-size: 1em;
    line-height: 1.6;
    flex-grow: 1;
}

.page-cockfighting__cta-buttons--center {
  margin-top: 40px;
}

.page-cockfighting__guide-section {
    padding: 60px 20px;
    background-color: #ffffff;
}

.page-cockfighting__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-cockfighting__guide-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.page-cockfighting__guide-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
}

.page-cockfighting__guide-text {
    font-size: 1.1em;
    line-height: 1.6;
}

.page-cockfighting__btn-primary--large {
    padding: 18px 35px;
    font-size: 1.1em;
    margin-top: 20px;
}

.page-cockfighting__tournaments-section {
    padding: 80px 20px;
    background-color: #017439;
    color: #ffffff;
    text-align: center;
}

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

.page-cockfighting__list--tournaments .page-cockfighting__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1em;
}

.page-cockfighting__list--tournaments .page-cockfighting__list-item strong {
    color: #FFFF00;
}

.page-cockfighting__tips-section {
    padding: 60px 20px;
    background-color: #ffffff;
}

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

.page-cockfighting__tip-card {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

.page-cockfighting__tip-title {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 15px;
}

.page-cockfighting__tip-text {
    font-size: 1em;
    line-height: 1.6;
}

.page-cockfighting__btn-secondary--large {
    padding: 18px 35px;
    font-size: 1.1em;
    margin-top: 40px;
    display: block;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__promotions-section {
    padding: 80px 20px;
    background-color: #017439;
    color: #ffffff;
}

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

.page-cockfighting__btn-primary--small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 15px;
    align-self: flex-start;
}

.page-cockfighting__faq-section {
    padding: 60px 20px;
    background-color: #ffffff;
}

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

.page-cockfighting__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.page-cockfighting__faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #f8f8f8;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    color: #333333;
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: #f0f0f0;
}

.page-cockfighting__faq-title {
    margin: 0;
    font-size: 1.1em;
    color: #017439;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px;
}

.page-cockfighting__contact-cta {
    padding: 80px 20px;
    background-color: #017439;
    color: #ffffff;
    text-align: center;
}

.page-cockfighting__contact-cta-content {
  max-width: 800px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 2.8em;
    }
    .page-cockfighting__section-title {
        font-size: 2.2em;
    }
    .page-cockfighting__sub-title {
        font-size: 1.6em;
    }
    .page-cockfighting__card-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 80px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-cockfighting__main-title {
        font-size: 2.2em;
    }
    .page-cockfighting__description {
        font-size: 1em;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__text-block,
    .page-cockfighting__card-text,
    .page-cockfighting__guide-text,
    .page-cockfighting__tip-text,
    .page-cockfighting__list-item {
        font-size: 0.95em;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-primary--large,
    .page-cockfighting__btn-secondary--large,
    .page-cockfighting__btn-primary--small {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__container,
    .page-cockfighting__content-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__tournaments-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__contact-cta {
      padding-left: 15px;
      padding-right: 15px;
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }
    .page-cockfighting img {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
        display: block !important;
    }
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
        display: block !important;
    }
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-cockfighting__content-grid,
    .page-cockfighting__advantages-grid,
    .page-cockfighting__promotions-grid,
    .page-cockfighting__tips-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-cockfighting__card,
    .page-cockfighting__content-block,
    .page-cockfighting__guide-item,
    .page-cockfighting__tip-card {
        padding: 20px;
    }
    .page-cockfighting__faq-question {
      padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
      padding: 0 20px;
    }
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
      padding: 15px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: 1.8em;
    }
    .page-cockfighting__section-title {
        font-size: 1.5em;
    }
    .page-cockfighting__sub-title {
        font-size: 1.4em;
    }
    .page-cockfighting__card-title {
        font-size: 1.2em;
    }
}