/* style/cockfight-culture-history.css */
.page-cockfight-culture-history {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark gray for general text on light background */
  background-color: #f8f8f8;
}

.page-cockfight-culture-history__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-cockfight-culture-history__hero {
  background: linear-gradient(135deg, #B22222, #FFD700);
  color: #FFFFFF; /* White text on dark/gradient background */
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-cockfight-culture-history__hero-content {
  z-index: 2;
  max-width: 800px;
}

.page-cockfight-culture-history__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFFFFF; /* White for main titles */
}

.page-cockfight-culture-history__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0; /* Slightly off-white for subtitle */
}

.page-cockfight-culture-history__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-cockfight-culture-history__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-cockfight-culture-history__btn--primary {
  background-color: #B22222;
  color: #FFFFFF; /* White text on red button */
  border: 2px solid #B22222;
}

.page-cockfight-culture-history__btn--primary:hover {
  background-color: #991a1a;
  border-color: #991a1a;
  transform: translateY(-2px);
}

.page-cockfight-culture-history__btn--secondary {
  background-color: #FFD700;
  color: #B22222; /* Dark red text on gold button */
  border: 2px solid #FFD700;
}

.page-cockfight-culture-history__btn--secondary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-cockfight-culture-history__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-cockfight-culture-history__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.15;
}

.page-cockfight-culture-history__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(50%);
}

.page-cockfight-culture-history__section {
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.page-cockfight-culture-history__section:last-of-type {
  border-bottom: none;
}

.page-cockfight-culture-history__section--intro {
  background-color: #FFFFFF;
}

.page-cockfight-culture-history__section-title {
  font-size: 2.2em;
  color: #B22222; /* Deep red for section titles */
  margin-bottom: 30px;
  text-align: center;
}

.page-cockfight-culture-history__block-title {
  font-size: 1.6em;
  color: #B22222; /* Deep red for sub-section titles */
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-cockfight-culture-history__text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #444444; /* Darker gray for body text */
}

.page-cockfight-culture-history__text .highlight {
  color: #B22222;
  font-weight: bold;
}

.page-cockfight-culture-history__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfight-culture-history__image--right {
  float: right;
  margin: 0 0 20px 30px;
  width: 45%;
}

.page-cockfight-culture-history__image--left {
  float: left;
  margin: 0 30px 20px 0;
  width: 45%;
}

.page-cockfight-culture-history__image-wrapper--center {
  text-align: center;
  margin: 30px 0;
}

.page-cockfight-culture-history__image-wrapper--center .page-cockfight-culture-history__image {
  max-width: 70%;
}

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

.page-cockfight-culture-history__content-block {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-cockfight-culture-history__list,
.page-cockfight-culture-history__ordered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #444444;
}

.page-cockfight-culture-history__ordered-list {
  list-style-type: decimal;
}

.page-cockfight-culture-history__list li,
.page-cockfight-culture-history__ordered-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-cockfight-culture-history__list li strong {
  color: #B22222;
}

.page-cockfight-culture-history__link-inline {
  color: #B22222;
  text-decoration: underline;
  font-weight: bold;
}

.page-cockfight-culture-history__link-inline:hover {
  color: #991a1a;
}

.page-cockfight-culture-history__actions-bottom {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-cockfight-culture-history__section--related {
  background-color: #f0f0f0;
}

.page-cockfight-culture-history__detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-cockfight-culture-history__detail-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.page-cockfight-culture-history__detail-title {
  font-size: 1.4em;
  color: #B22222;
  margin-bottom: 15px;
  min-height: 60px; /* Ensure consistent height for titles */
}

.page-cockfight-culture-history__detail-title a {
  color: #B22222;
  text-decoration: none;
}

.page-cockfight-culture-history__detail-title a:hover {
  text-decoration: underline;
  color: #991a1a;
}

.page-cockfight-culture-history__detail-description {
  color: #555555;
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfight-culture-history__section--cta {
  background-color: #B22222;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
}

.page-cockfight-culture-history__cta-content {
  max-width: 800px;
}

.page-cockfight-culture-history__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-cockfight-culture-history__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-cockfight-culture-history__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-cockfight-culture-history__cta-actions .page-cockfight-culture-history__btn--primary {
  background-color: #FFD700;
  color: #B22222; /* Dark red text on gold button */
  border-color: #FFD700;
}

.page-cockfight-culture-history__cta-actions .page-cockfight-culture-history__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-cockfight-culture-history__cta-actions .page-cockfight-culture-history__btn--secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-cockfight-culture-history__cta-actions .page-cockfight-culture-history__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFD700;
  border-color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-cockfight-culture-history__hero-title {
    font-size: 2.2em;
  }
  .page-cockfight-culture-history__hero-subtitle {
    font-size: 1.1em;
  }
  .page-cockfight-culture-history__section-title {
    font-size: 1.8em;
  }
  .page-cockfight-culture-history__block-title {
    font-size: 1.4em;
  }
  .page-cockfight-culture-history__image--right,
  .page-cockfight-culture-history__image--left {
    float: none;
    margin: 20px auto;
    width: 80%;
  }
  .page-cockfight-culture-history__image-wrapper--center .page-cockfight-culture-history__image {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .page-cockfight-culture-history__hero {
    padding: 60px 0;
  }
  .page-cockfight-culture-history__hero-title {
    font-size: 1.8em;
  }
  .page-cockfight-culture-history__hero-subtitle {
    font-size: 1em;
  }
  .page-cockfight-culture-history__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfight-culture-history__btn {
    width: 80%;
    max-width: 250px;
  }
  .page-cockfight-culture-history__section {
    padding: 40px 0;
  }
  .page-cockfight-culture-history__section-title {
    font-size: 1.6em;
  }
  .page-cockfight-culture-history__text {
    font-size: 1em;
  }
  .page-cockfight-culture-history__cta-title {
    font-size: 2em;
  }
  .page-cockfight-culture-history__cta-description {
    font-size: 1em;
  }
  .page-cockfight-culture-history__cta-actions {
    flex-direction: column;
  }
  .page-cockfight-culture-history__detail-item {
    padding: 20px;
  }
  .page-cockfight-culture-history__detail-title {
    font-size: 1.2em;
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .page-cockfight-culture-history__hero-title {
    font-size: 1.5em;
  }
  .page-cockfight-culture-history__hero-subtitle {
    font-size: 0.9em;
  }
  .page-cockfight-culture-history__section-title {
    font-size: 1.4em;
  }
  .page-cockfight-culture-history__block-title {
    font-size: 1.2em;
  }
  .page-cockfight-culture-history__image--right,
  .page-cockfight-culture-history__image--left {
    width: 95%;
  }
  .page-cockfight-culture-history__image-wrapper--center .page-cockfight-culture-history__image {
    max-width: 100%;
  }
}