.page-cockfighting-match-rules {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-cockfighting-match-rules__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-cockfighting-match-rules__hero-section {
  background: linear-gradient(135deg, #FFD700, #DC143C);
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  padding-top: calc(var(--header-offset, 120px) + 80px); /* Adjust for header */
  position: relative;
  overflow: hidden;
}

.page-cockfighting-match-rules__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-match-rules__description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.page-cockfighting-match-rules__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-cockfighting-match-rules__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-cockfighting-match-rules__cta-button--primary {
  background: #FFD700;
  color: #333333;
}

.page-cockfighting-match-rules__cta-button--primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-match-rules__cta-button--secondary {
  background: #DC143C;
  color: #ffffff;
}

.page-cockfighting-match-rules__cta-button--secondary:hover {
  background: #b31032;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-match-rules__section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting-match-rules__section:last-of-type {
  margin-bottom: 0;
}

.page-cockfighting-match-rules__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #DC143C;
  position: relative;
}

.page-cockfighting-match-rules__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-cockfighting-match-rules__sub-title {
  font-size: 28px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #DC143C;
}

.page-cockfighting-match-rules__paragraph {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333333;
}

.page-cockfighting-match-rules__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.8;
  color: #333333;
}

.page-cockfighting-match-rules__list-item {
  margin-bottom: 10px;
}

.page-cockfighting-match-rules__list-item strong {
  color: #DC143C;
}

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

.page-cockfighting-match-rules__grid-item {
  background-color: #fdfdfd;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting-match-rules__grid-item .page-cockfighting-match-rules__item-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-cockfighting-match-rules__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
}

.page-cockfighting-match-rules__image-text-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
}

.page-cockfighting-match-rules__image-text-layout--reverse {
  flex-direction: row-reverse;
}

.page-cockfighting-match-rules__image-left,
.page-cockfighting-match-rules__image-right {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-match-rules__text-left,
.page-cockfighting-match-rules__text-right {
  flex: 1;
}

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

.page-cockfighting-match-rules__terminology-item {
  background-color: #fdfdfd;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting-match-rules__terminology-item .page-cockfighting-match-rules__item-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-cockfighting-match-rules__dark-bg {
  background: #333333;
  color: #ffffff;
  padding: 60px 0;
  border-radius: 0;
  box-shadow: none;
}

.page-cockfighting-match-rules__dark-bg .page-cockfighting-match-rules__section-title,
.page-cockfighting-match-rules__dark-bg .page-cockfighting-match-rules__sub-title,
.page-cockfighting-match-rules__dark-bg .page-cockfighting-match-rules__item-title {
  color: #FFD700;
}

.page-cockfighting-match-rules__dark-bg .page-cockfighting-match-rules__paragraph,
.page-cockfighting-match-rules__dark-bg .page-cockfighting-match-rules__list-item {
  color: #f0f0f0;
}

.page-cockfighting-match-rules__dark-bg .page-cockfighting-match-rules__list-item strong {
  color: #FFD700;
}

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

.page-cockfighting-match-rules__strategy-item {
  background-color: #444444;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-match-rules__strategy-item .page-cockfighting-match-rules__image {
  margin-top: 25px;
}

.page-cockfighting-match-rules__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-cockfighting-match-rules__advantage-item {
  background-color: #fdfdfd;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting-match-rules__advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-match-rules__advantage-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: inline-block;
  border-radius: 50%; /* Example: if icons are circular */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-cockfighting-match-rules__advantage-item .page-cockfighting-match-rules__item-title {
  font-size: 22px;
  color: #DC143C;
  margin-bottom: 10px;
}

.page-cockfighting-match-rules__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-cockfighting-match-rules__light-bg {
  background-color: #f0f0f0;
  padding: 60px 0;
  border-radius: 0;
  box-shadow: none;
}

.page-cockfighting-match-rules__light-bg .page-cockfighting-match-rules__section-title {
  color: #DC143C;
}

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