:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg: #17191F;
    --body-bg: #0D0E12; /* Assuming shared.css sets body background to this */
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
    --header-offset: 0px; /* Placeholder, actual value from shared.css */
}

/* Base styles for the page-cockfighting scope */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Dark background, so light text */
    background-color: var(--body-bg); /* Ensure this is consistent with shared.css */
    line-height: 1.6;
    padding-top: 0; /* Handled by body padding-top in shared.css */
}

/* Headings */
.page-cockfighting h1,
.page-cockfighting h2,
.page-cockfighting h3,
.page-cockfighting h4,
.page-cockfighting h5,
.page-cockfighting h6 {
    color: var(--text-main);
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cockfighting h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem); /* Responsive H1 font size */
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 176, 77, 0.5); /* Subtle glow effect */
}

.page-cockfighting h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}
.page-cockfighting h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-cockfighting h3 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Paragraphs and Lists */
.page-cockfighting p {
    margin-bottom: 15px;
}

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

.page-cockfighting a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-cockfighting__ordered-list,
.page-cockfighting__unordered-list {
    margin-bottom: 20px;
    padding-left: 25px;
}

.page-cockfighting__ordered-list li,
.page-cockfighting__unordered-list li {
    margin-bottom: 10px;
}

/* Sections and Containers */
.page-cockfighting__section {
    padding: 60px 0;
}

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

/* Backgrounds */
.page-cockfighting__light-bg {
    background-color: var(--card-bg); /* Using card-bg for light section as it's lighter than body-bg */
    color: var(--text-main); /* Still light text as card-bg is also dark */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, main offset from body in shared.css */
    overflow: hidden; /* To contain any overflow from image */
}

.page-cockfighting__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure flex container takes full width */
}

.page-cockfighting__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 100%; /* Ensure image container fits */
}

.page-cockfighting__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(255, 176, 77, 0.6); /* Glow effect */
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

/* CTA Button */
.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px; /* More rounded button */
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 176, 77, 0.4);
}

.page-cockfighting__cta-button:hover {
    background: linear-gradient(180deg, var(--glow-color) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 176, 77, 0.6);
}

/* Content Wrapper for text and image blocks */
.page-cockfighting__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.page-cockfighting__content-wrapper:nth-of-type(odd) {
    flex-direction: row-reverse;
}

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

.page-cockfighting__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-cockfighting__image-block img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__feature-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-cockfighting__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__feature-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure no extra space below image */
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__feature-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* FAQ Section */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
  font-weight: 600;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: rgba(255, 140, 26, 0.1); /* Lighter version of primary color for hover */
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: left;
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  background: rgba(255, 140, 26, 0.05); /* Very light primary color background */
  border-radius: 0 0 12px 12px;
  color: var(--text-main);
}
.page-cockfighting__faq-answer p {
    margin-bottom: 0;
}

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

.page-cockfighting__blog-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-cockfighting__blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__blog-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-cockfighting__blog-card .page-cockfighting__blog-title {
    padding: 15px 20px 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-cockfighting__blog-card .page-cockfighting__blog-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-cockfighting__blog-card .page-cockfighting__blog-title a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-cockfighting__blog-card .page-cockfighting__blog-date {
    font-size: 0.9rem;
    color: #bbb;
    padding: 0 20px;
    margin-bottom: 10px;
}

.page-cockfighting__blog-card .page-cockfighting__blog-excerpt {
    font-size: 1rem;
    color: #ccc;
    padding: 0 20px 15px;
}

.page-cockfighting__blog-card .page-cockfighting__read-more {
    display: block;
    text-align: right;
    padding: 0 20px 20px;
    font-weight: bold;
    color: var(--primary-color);
}

.page-cockfighting__view-all-button-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .page-cockfighting__content-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .page-cockfighting__content-wrapper:nth-of-type(odd) {
        flex-direction: column; /* Reset order for mobile */
    }
    .page-cockfighting__image-block {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-cockfighting__hero-image img {
        border-radius: 4px;
    }
    
    .page-cockfighting__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0;
        margin-right: 0;
    }

    .page-cockfighting__container {
        padding: 0 15px;
    }

    .page-cockfighting h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .page-cockfighting h2 {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-cockfighting h3 {
        font-size: clamp(1.2rem, 6vw, 1.6rem);
    }

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

    .page-cockfighting__image-block img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-cockfighting__feature-card,
    .page-cockfighting__blog-card {
        padding: 20px;
        border-radius: 8px;
    }
    
    details.page-cockfighting__faq-item {
        border-radius: 8px;
    }
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
    .page-cockfighting__faq-qtext { font-size: 1rem; }
    .page-cockfighting__faq-toggle { font-size: 20px; }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }

    .page-cockfighting__blog-card img {
        
    }
    .page-cockfighting__blog-card .page-cockfighting__blog-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__content-wrapper,
    .page-cockfighting__feature-grid,
    .page-cockfighting__blog-grid,
    .page-cockfighting__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}