.rules_page {
  color: #1f2823;
  padding-bottom: 80px;
}

.rules_hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: stretch;
  margin-top: 34px;
  margin-bottom: 28px;
  padding: 0 !important;
}

.rules_hero_content,
.rules_hero_panel,
.rules_card,
.rules_notice {
  border: 1px solid rgba(37, 51, 43, 0.10);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 18px 50px rgba(28, 35, 31, 0.08);
}

.rules_hero_content {
  min-height: 250px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(120deg, rgba(65, 67, 85, 0.82), rgba(65, 67, 85, 0.40)),
    url("/local/templates/.default/img/hero.jpg") center/cover no-repeat;
  overflow: hidden;
}

.rules_eyebrow,
.rules_section_label,
.rules_card_number,
.rules_hero_panel span {
  display: inline-flex;
  width: fit-content;
  font: 700 12px/1.2 "Manrope", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rules_hero_content .rules_eyebrow {
  color: #f3d2a5;
  margin-bottom: 16px;
}

.rules_section_label,
.rules_card_number {
  color: #971520;
}

.rules_hero_content h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 6.4vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

.rules_hero_content p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.rules_hero_panel {
  min-height: 250px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #414355;
  color: #fff;
}

.rules_hero_panel span {
  color: rgba(255, 255, 255, 0.72);
}

.rules_hero_panel strong {
  margin-top: 16px;
  color: #f3d2a5;
  font: 800 32px/1.05 "Manrope", sans-serif;
  letter-spacing: 0;
}

.rules_hero_panel p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.rules_list_header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 20px;
}

.rules_list_header h2 {
  margin: 8px 0 0;
  color: #1f2823;
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0;
}

.rules_list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.rules_card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-decoration: none;
}

.rules_card_media {
  min-height: 100%;
  background: #fff;
}

.rules_card_media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-width: 450px;
  display: block;
  object-fit: contain;
  object-position: top center;
  margin: 0 auto;
}

.rules_card_body {
  min-width: 0;
  padding: 26px 26px 0;
  text-align: center;
}

.rules_card_body h3 {
  margin: 12px 0 0;
  color: #1f2823;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 0;
}

.rules_card_text {
  margin-top: 18px;
  color: rgba(31, 40, 35, 0.76);
  font-size: 16px;
  line-height: 1.65;
}

.rules_card_text p,
.rules_card_text li {
  color: inherit;
}

.rules_card_text p:first-child,
.rules_card_text ul:first-child,
.rules_card_text ol:first-child {
  margin-top: 0;
}

.rules_card_text p:last-child,
.rules_card_text ul:last-child,
.rules_card_text ol:last-child {
  margin-bottom: 0;
}

.rules_card_text a {
  color: #971520;
  font-weight: 700;
  text-decoration: none;
}

.rules_card_text a:hover {
  color: #414355;
}

.rules_notice {
  margin-top: 28px;
  padding: clamp(22px, 3vw, 34px);
  display: block;
  align-items: start;
  border-color: rgba(151, 21, 32, 0.20);
  background: rgba(151, 21, 32, 0.05);
}

.rules_notice > img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 22px;
}

.rules_notice p {
  margin: 0;
  color: #971520;
  font-size: 18px;
  line-height: 1.6;
  max-width: unset;
}

.rules_notice p:last-child {
  margin-bottom: 0;
}

.rules_notice b {
  color: #971520;
  text-align: center;
  font-size: 24px;
  display: block;
}

.rules_notice .fish-handling {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(37, 51, 43, 0.10);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  background: rgb(174 215 178);
}

.rules_notice .fish-handling--wrong {
  border-color: rgba(151, 21, 32, 0.22);
  background: rgba(151, 21, 32, 0.06);
}

.rules_notice .fish-handling h2 {
  margin: 0 0 18px;
  color: #1f2823;
  font: 800 30px/1.08 "Manrope", sans-serif;
  letter-spacing: 0;
  text-align: center;
}

.rules_notice .fish-handling--wrong h2 {
  color: #971520;
}

.rules_notice .fish-handling__list {
  counter-reset: fish-handling;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.rules_notice .fish-handling__item {
  counter-increment: fish-handling;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(37, 51, 43, 0.10);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(28, 35, 31, 0.06);
}

.rules_notice .fish-handling__img {
  width: 100%;
  display: block;
  object-fit: contain;
  background: #f5f6f1;
  border-radius: 0;
}

.rules_notice .fish-handling__item h3 {
  position: relative;
  margin: 0;
  padding: 18px 18px;
  font: 800 20px/1.15 "Manrope", sans-serif;
  letter-spacing: 0;
}



.rules_notice .fish-handling__item p {
  margin: 12px 0 0;
  padding: 0 18px 18px;
  color: rgba(31, 40, 35, 0.72);
  font-size: 15px;
  line-height: 1.48;
}

.rules_dop_info {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 18px;
}

.rules_dop_info img {
  border-radius: 8px;
  max-width: 50%;
}

@media screen and (max-width: 1400px) {
  .rules_notice .fish-handling__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 900px) {
  .rules_dop_info {
    flex-direction: column;
  }

  .rules_dop_info img {
    border-radius: 8px;
    max-width: 100%;
  }

  .rules_hero,
  .rules_card {
    grid-template-columns: 1fr;
  }

  .rules_hero_panel {
    min-height: 180px;
  }

  .rules_notice .fish-handling__list {
    grid-template-columns: 1fr;
  }

  .rules_card_body h3 {
    font-size: 26px;
  }
}

@media screen and (max-width: 768px) {
  .rules_list {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 680px) {
  .rules_page {
    padding-bottom: 48px;
  }

  .rules_hero {
    margin-top: 22px;
    gap: 16px;
  }

  .rules_hero_content,
  .rules_hero_panel {
    min-height: 220px;
    padding: 20px;
  }

  .rules_hero_content h1 {
    font-size: 44px;
  }

  .rules_hero_content p {
    font-size: 16px;
  }

  .rules_list_header {
    display: block;
  }

  .rules_list_header h2,
  .rules_card_body h3 {
    font-size: 30px;
  }

  .rules_card_media img {
    min-height: 220px;
  }

  .rules_notice .fish-handling {
    padding: 18px;
  }

  .rules_notice .fish-handling h2 {
    font-size: 26px;
  }

  .rules_notice .fish-handling__list {
    grid-template-columns: 1fr;
  }

  .rules_notice .fish-handling__img {
    height: auto;
  }
}