:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-login: #EA7C07;
    --background-color: #FFFFFF;
    --black: #000000;
}

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

.page-cockfighting-live-analysis__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); /* Ensures content is not hidden by fixed header */
    background: linear-gradient(135deg, var(--primary-color), #87CEEB); /* Lighter blue gradient */
    color: var(--text-light);
    overflow: hidden;
}

.page-cockfighting-live-analysis__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-live-analysis__hero-image {
    width: 100%;
    margin-bottom: 30px;
    z-index: 1;
}

.page-cockfighting-live-analysis__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-live-analysis__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
    margin-top: -80px; /* Overlap with image slightly */
    color: var(--text-light);
}

.page-cockfighting-live-analysis__hero-title {
    font-size: 3.2em;
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting-live-analysis__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-cockfighting-live-analysis__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-login); /* Using login color for CTA */
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-cockfighting-live-analysis__cta-button:hover {
    background: #FF8C00; /* Slightly darker orange on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-live-analysis__cta-button--centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    max-width: fit-content;
}

.page-cockfighting-live-analysis__section {
    padding: 60px 20px;
    background-color: var(--background-color);
    border-bottom: 1px solid #f0f0f0;
}

.page-cockfighting-live-analysis__section:last-of-type {
    border-bottom: none;
}

.page-cockfighting-live-analysis__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-cockfighting-live-analysis__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-cockfighting-live-analysis__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--button-login);
    border-radius: 2px;
}

.page-cockfighting-live-analysis__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
    color: var(--text-dark);
}

.page-cockfighting-live-analysis__image-grid {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.page-cockfighting-live-analysis__image-grid img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-cockfighting-live-analysis__card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e0e0e0;
}

.page-cockfighting-live-analysis__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-cockfighting-live-analysis__card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    width: 100%;
}

.page-cockfighting-live-analysis__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-cockfighting-live-analysis__card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting-live-analysis__card-title a:hover {
    color: var(--button-login);
}

.page-cockfighting-live-analysis__card p {
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
    text-align: center;
    flex-grow: 1;
}

.page-cockfighting-live-analysis__list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-cockfighting-live-analysis__list li {
    background-color: #f8f8f8;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    font-size: 1.05em;
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting-live-analysis__list li b {
    color: var(--button-login);
}

.page-cockfighting-live-analysis__image-full-width {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    margin: 40px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* FAQ styles */
.page-cockfighting-live-analysis__faq-section {
    background-color: #f5f5f5;
}

.page-cockfighting-live-analysis__faq-list {
    margin-top: 40px;
}

.page-cockfighting-live-analysis__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-cockfighting-live-analysis__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  background: #fdfdfd;
  color: #555;
  font-size: 1em;
  line-height: 1.7;
}

.page-cockfighting-live-analysis__faq-item.active .page-cockfighting-live-analysis__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-cockfighting-live-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-cockfighting-live-analysis__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-cockfighting-live-analysis__faq-question:active {
  background: #eeeeee;
}

.page-cockfighting-live-analysis__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-cockfighting-live-analysis__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-cockfighting-live-analysis__faq-item.active .page-cockfighting-live-analysis__faq-toggle {
  color: var(--button-login);
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting-live-analysis__hero-title {
        font-size: 2.5em;
    }
    .page-cockfighting-live-analysis__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting-live-analysis__section-title {
        font-size: 2em;
    }
    .page-cockfighting-live-analysis__text-block {
        font-size: 1em;
    }
    .page-cockfighting-live-analysis__card-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting-live-analysis__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting-live-analysis__hero-image img {
        border-radius: 4px;
    }
    .page-cockfighting-live-analysis__hero-content {
        margin-top: -60px;
        padding: 15px;
    }
    .page-cockfighting-live-analysis__hero-title {
        font-size: 2em;
    }
    .page-cockfighting-live-analysis__hero-description {
        font-size: 0.95em;
    }
    .page-cockfighting-live-analysis__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting-live-analysis__cta-button--centered {
        margin-top: 30px;
    }
    .page-cockfighting-live-analysis__section {
        padding: 40px 15px;
    }
    .page-cockfighting-live-analysis__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-cockfighting-live-analysis__text-block {
        font-size: 0.95em;
    }
    .page-cockfighting-live-analysis__card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting-live-analysis__list li {
        font-size: 0.95em;
        padding: 12px 15px;
    }
    .page-cockfighting-live-analysis img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting-live-analysis__section,
    .page-cockfighting-live-analysis__card,
    .page-cockfighting-live-analysis__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting-live-analysis__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-cockfighting-live-analysis__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-cockfighting-live-analysis__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-cockfighting-live-analysis__faq-answer {
        padding: 0 15px;
    }
    .page-cockfighting-live-analysis__faq-item.active .page-cockfighting-live-analysis__faq-answer {
        padding: 15px !important;
    }
}