/* =========================================================
   広報誌 SIRE（Figma「SIRE：イメージ／検索結果」）
   ========================================================= */
/* SIRE ページは白いカードの余白が狭い（Figma：47px） */
.gh-card:has(.gh-sire-search) {
  padding: 47px;
}

@media (max-width: 767px) {
  .gh-card:has(.gh-sire-search) {
    padding: 24px 16px;
  }
}

.is-sire-search .gh-sire-home {
  display: none !important;
}

/* ---------- 最新号 ---------- */
.gh-sire-latest {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 392px;
  gap: 40px;
  padding: 51px 65px 40px 57px;
  overflow: hidden;
  background: #fefdec;
  border-radius: 40px 10px 40px 10px;
}

.gh-sire-latest::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 31px;
  width: 61%;
  max-width: 656px;
  aspect-ratio: 656 / 253;
  background: url("../images/sire/sire-watermark.png") left top / contain no-repeat;
  pointer-events: none;
}

.gh-sire-latest__body {
  position: relative;
  align-self: end;
  padding-top: 260px;
}

.gh-sire-latest__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 12px;
  color: var(--gh-sub);
}

.gh-sire-latest__badge {
  display: inline-grid;
  place-items: center;
  min-width: 135px;
  height: 38px;
  font-size: 22px;
  font-weight: 700;
  color: var(--gh-white);
  background: var(--gh-blue);
  border-radius: 50px;
}

.gh-sire-latest .gh-sire-latest__title {
  margin: 18px 0 0;
  padding: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: #000;
  background: none;
  border: 0;
}

.gh-sire-latest .gh-sire-latest__title::before,
.gh-sire-latest .gh-sire-latest__title::after {
  content: none;
}

ul.gh-sire-latest__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

ul.gh-sire-latest__toc > li {
  display: inline-grid;
  place-items: center;
  min-height: 30px;
  margin: 0;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--gh-white);
  background: #b0b0b0;
  border-radius: 50px;
}

ul.gh-sire-latest__toc > li::before {
  content: none;
}

.gh-sire-latest__cover {
  position: relative;
}

.gh-sire-latest__cover img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.gh-sire-latest__cover a:hover img {
  transform: translateY(-4px);
}

.gh-sire-latest__note {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--gh-sub);
}

/* ---------- 連載カード（グループ gh-scards > gh-scard） ---------- */
.gh-scards > .wp-block-group__inner-container,
.gh-scards:not(:has(> .wp-block-group__inner-container)) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.wp-block-group.gh-scards {
  margin-top: 20px;
}

.wp-block-group.gh-scard {
  position: relative;
  min-height: 148px;
  margin: 0;
  padding: 22px 152px 18px 20px;
  overflow: hidden;
  color: var(--gh-white);
  background: #0f9eda;
  border-radius: 40px 10px 40px 10px;
}

.gh-scard > *,
.gh-scard > .wp-block-group__inner-container > * {
  margin: 0;
}

.gh-scard > .wp-block-group__inner-container {
  position: static;
}

.gh-scard .wp-block-image {
  position: absolute !important;
  top: 0;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 132px;
  margin: 0;
  padding: 10px;
  background: var(--gh-white);
  border-radius: 0 10px 40px 0;
}

.gh-scard .wp-block-image img {
  max-width: 100%;
  max-height: 128px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.gh-scard:hover .wp-block-image img {
  transform: scale(1.06);
}

p.gh-scard__en {
  font-size: 20px;
  font-weight: 900;
  line-height: 24px;
}

p.gh-scard__ja {
  margin-top: 8px;
  font-size: 13px;
}

p.gh-scard__more {
  margin-top: 12px;
}

.gh-scard__more a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 140px;
  height: 25px;
  padding: 0 3px 0 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: var(--gh-ink);
  background: var(--gh-white);
  border-radius: 50px;
}

.gh-scard__more a::after {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--gh-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9h8M10 6l3 3-3 3' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") center / 100% no-repeat;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.gh-scard:hover .gh-scard__more a::after {
  transform: translateX(3px);
}

/* カード全体をリンクに */
.gh-scard__more a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* ---------- 目次から探す ---------- */
.gh-sire-search {
  margin-top: 22px;
  scroll-margin-top: 24px;
}

.gh-sire-search__head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 24px;
  width: 100%;
  min-height: 50px;
  padding: 10px 64px 10px 49px;
  font-family: inherit;
  text-align: left;
  color: var(--gh-white);
  background: var(--gh-blue);
  border: 0;
  border-radius: 2px 2px 0 0;
  cursor: pointer;
}

.gh-sire-search__head::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  border-right: 7px solid transparent;
  border-bottom: 10px solid var(--gh-white);
  border-left: 7px solid transparent;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.gh-sire-search__head[aria-expanded="false"]::after {
  transform: translateY(-50%) rotate(180deg);
}

.gh-sire-search__title {
  font-size: 24px;
  font-weight: 700;
}

.gh-sire-search__desc {
  font-size: 13px;
}

.gh-sire-search__body {
  padding: 34px 49px 30px;
  background: var(--gh-white);
  border: 1.5px solid var(--gh-blue);
  border-top: 0;
  border-radius: 0 0 40px 2px;
}

.gh-sire-search__field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.gh-sire-search__field label,
.gh-sire-search__field legend {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--gh-sub);
}

.gh-sire-search input[type="search"],
.gh-sire-search select {
  width: 100%;
  height: 52px;
  padding: 0 20px;
  font-family: inherit;
  font-size: 14px;
  color: var(--gh-ink);
  background: var(--gh-white);
  border: 1px solid #b8c4cc;
  border-radius: 8px;
}

.gh-sire-search select {
  width: 220px;
  height: 48px;
  padding: 0 40px 0 18px;
  appearance: none;
  background: var(--gh-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23222' stroke-width='1.6'/%3E%3C/svg%3E") right 18px center / 12px no-repeat;
}

.gh-sire-search input:focus-visible,
.gh-sire-search select:focus-visible {
  outline: 2px solid var(--gh-cyan);
  outline-offset: 1px;
}

.gh-sire-search__row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  margin-top: 24px;
}

.gh-sire-search__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gh-sire-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gh-sire-chip span {
  display: inline-grid;
  place-items: center;
  height: 40px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gh-blue);
  background: var(--gh-white);
  border: 1px solid var(--gh-blue);
  border-radius: 52px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.gh-sire-chip:hover span {
  background: var(--gh-pale);
}

.gh-sire-chip input:checked + span {
  color: var(--gh-white);
  background: var(--gh-blue);
}

.gh-sire-chip input:focus-visible + span {
  outline: 2px solid var(--gh-cyan);
  outline-offset: 2px;
}

.gh-sire-search__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

.gh-sire-search__submit {
  width: 180px;
  height: 48px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--gh-white);
  background: var(--gh-blue);
  border: 1.5px solid var(--gh-blue);
  border-radius: 52px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.gh-sire-search__submit:hover {
  color: var(--gh-blue);
  background: var(--gh-white);
}

.gh-sire-search__clear {
  font-size: 13px;
  white-space: nowrap;
  font-weight: 500;
  color: var(--gh-blue);
}

.gh-sire-search__note {
  margin: 20px 0 0;
  font-size: 11px;
  color: var(--gh-sub);
}

/* ---------- 検索結果 ---------- */
.gh-sire-results {
  margin-top: 40px;
}

.gh-sire-results__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin: 0 0 20px;
}

.gh-sire-results__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gh-blue);
}

.gh-sire-results__count {
  font-size: 14px;
  color: var(--gh-sub);
}

.gh-sire-result {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 24px;
  margin-top: 20px;
  padding: 21px;
  background: var(--gh-white);
  border: 1px solid #dde3e8;
  border-radius: 12px;
}

.gh-sire-result__cover img,
.gh-sire-year__list img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #c9cfd3;
}

.gh-sire-result__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.gh-sire-result .gh-sire-result__title {
  margin: 0;
  padding: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--gh-ink);
  background: none;
  border: 0;
}

.gh-sire-result .gh-sire-result__title::before,
.gh-sire-result .gh-sire-result__title::after {
  content: none;
}

.gh-sire-result__date {
  font-size: 13px;
  color: var(--gh-sub);
}

.gh-sire-result__pdf {
  margin-left: auto;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: var(--gh-blue);
  border: 1px solid var(--gh-blue);
  border-radius: 52px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.gh-sire-result__pdf:hover {
  color: var(--gh-white);
  background: var(--gh-blue);
}

ul.gh-sire-result__hits {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

ul.gh-sire-result__hits > li {
  margin: 0 0 6px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  background: #f1f7fb;
  border-radius: 8px;
}

ul.gh-sire-result__hits > li::before {
  content: none;
}

.gh-sire-result mark {
  font-weight: 700;
  color: var(--gh-blue);
  background: none;
}

.gh-sire-result__toc {
  margin-top: 10px;
}

.gh-sire-result__toc summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gh-blue);
  list-style: none;
  cursor: pointer;
}

.gh-sire-result__toc summary::-webkit-details-marker {
  display: none;
}

.gh-sire-result__toc summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.gh-sire-result__toc[open] summary::after {
  transform: rotate(135deg);
}

.gh-sire-result__toc ul {
  margin: 10px 0 0;
  padding: 0 0 0 1.2em;
  font-size: 14px;
  line-height: 1.9;
}

.gh-sire-result__notoc {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--gh-sub);
}

.gh-sire-pager {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.gh-sire-pager a,
.gh-sire-pager span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--gh-blue);
  border: 1px solid var(--gh-blue);
  border-radius: 52px;
}

.gh-sire-pager .is-current {
  color: var(--gh-white);
  background: var(--gh-blue);
}

.gh-sire-pager .is-next::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: translateX(-2px) rotate(45deg);
}

/* ---------- バックナンバー ---------- */
.wp-block-heading.gh-sire-backhead {
  margin: 40px 0 0;
  padding: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--gh-blue);
  background: none;
  border: 0;
}

.wp-block-heading.gh-sire-backhead::before,
.wp-block-heading.gh-sire-backhead::after {
  content: none;
}

.gh-sire-back {
  margin-top: 28px;
}

.gh-sire-year {
  display: grid;
  grid-template-columns: 188px 1fr;
  align-items: center;
  margin-top: 21px;
}

.gh-sire-year__label {
  margin: 0;
  padding: 0 0 8px 3px;
  font-size: 17px;
  font-weight: 700;
  color: #777;
  border-bottom: 1px solid #999;
  margin-right: 0;
}

ul.gh-sire-year__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 21px 27px;
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.gh-sire-year__list > li {
  margin: 0;
}

ul.gh-sire-year__list > li::before {
  content: none;
}

.gh-sire-year__list a {
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gh-sire-year__list a:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.gh-sire-year__name {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--gh-sub);
}

.gh-sire-back__more {
  margin-top: 28px;
}

.gh-sire-back__more > summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gh-blue);
  list-style: none;
  border: 1.5px solid var(--gh-blue);
  border-radius: 52px;
  cursor: pointer;
}

.gh-sire-back__more > summary::-webkit-details-marker {
  display: none;
}

.gh-sire-back__more > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.gh-sire-back__more[open] > summary {
  display: none;
}

.gh-sire-noimage {
  display: grid;
  place-items: center;
  aspect-ratio: 200 / 282;
  padding: 10px;
  font-size: 12px;
  text-align: center;
  background: var(--gh-field);
}

/* ---------- タブレット・スマホ ---------- */
@media (max-width: 1100px) {
  .gh-sire-latest {
    grid-template-columns: 1fr 300px;
  }

  .gh-scards > .wp-block-group__inner-container,
  .gh-scards:not(:has(> .wp-block-group__inner-container)) {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .gh-sire-latest {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 20px 24px;
    border-radius: 28px 8px 28px 8px;
  }

  .gh-sire-latest::before {
    top: 16px;
    left: 14px;
    width: 80%;
  }

  .gh-sire-latest__body {
    padding-top: 110px;
  }

  .gh-sire-latest__badge {
    min-width: 96px;
    height: 30px;
    font-size: 16px;
  }

  .gh-sire-latest .gh-sire-latest__title {
    font-size: 19px;
  }

  .gh-sire-latest__cover {
    max-width: 280px;
  }

  .gh-sire-search__head {
    padding: 10px 52px 10px 20px;
  }

  .gh-sire-search__title {
    font-size: 19px;
  }

  .gh-sire-search__body {
    padding: 24px 18px;
    border-radius: 0 0 24px 2px;
  }

  .gh-sire-search select {
    width: 100%;
  }

  .gh-sire-search__row {
    flex-direction: column;
  }

  .gh-sire-chip span {
    height: 36px;
    padding: 0 14px;
    font-size: 12px;
  }

  .gh-sire-result {
    grid-template-columns: 72px 1fr;
    gap: 14px;
    padding: 14px;
  }

  .gh-sire-result .gh-sire-result__title {
    font-size: 16px;
  }

  .gh-sire-result__pdf {
    margin-left: 0;
  }

  ul.gh-sire-result__hits > li {
    padding: 10px 12px;
    font-size: 14px;
  }

  .gh-sire-year {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gh-sire-year__label {
    justify-self: start;
    min-width: 120px;
  }

  ul.gh-sire-year__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 16px;
  }
}

/* ==========================================================
   連載ページ（/sire/cow-family/ など）
   ========================================================== */
.wp-block-group.gh-series {
  margin-top: 0;
  margin-bottom: 56px;
  padding: 0;
  overflow: hidden;
  color: var(--gh-white);
  background: #0f9eda;
  border-radius: 56px 12px 56px 12px;
}

.gh-series .wp-block-columns.gh-series-intro {
  --wp-column-gap: 0px;
  align-items: stretch;
  margin: 0;
}

.gh-series-intro > .wp-block-column:first-child {
  display: grid;
  place-items: center;
  padding: 28px;
  background: var(--gh-white);
  border-radius: 0 0 56px 0;
}

.gh-series-intro .wp-block-image {
  margin: 0;
}

.gh-series-intro .wp-block-image img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 180px;
  margin: 0 auto;
}

.gh-series-intro > .wp-block-column:last-child {
  padding: 40px 48px 40px 44px;
}

.gh-series-intro > .wp-block-column:last-child > * {
  margin: 0;
}

p.gh-series__en {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.gh-series h2.gh-series__title {
  margin: 6px 0 16px;
  padding: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--gh-white);
  background: none;
  border: 0;
}

.gh-series h2.gh-series__title::before,
.gh-series h2.gh-series__title::after {
  content: none;
}

.gh-series-intro p {
  font-size: 15px;
  line-height: 1.9;
}

p.gh-series__count {
  display: inline-block;
  margin-top: 18px !important;
  padding: 4px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #0f9eda;
  background: var(--gh-white);
  border-radius: 40px;
}

/* 見出し「連載一覧」 */
h2.gh-series__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 0;
  margin-bottom: 24px;
  padding: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--gh-blue);
  background: none;
  border: 0;
}

h2.gh-series__head::before {
  content: none;
}

h2.gh-series__head::after {
  content: "";
  position: static;
  flex: 1;
  height: 1px;
  background: var(--gh-line);
  transform: none;
}

/* 各回のリスト（リストブロック：スタイル「連載の各回」） */
ul.is-style-gh-episodes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0 !important;
  list-style: none;
}

ul.is-style-gh-episodes > li {
  margin: 0;
  padding: 0;
}

ul.is-style-gh-episodes > li::before {
  content: none;
}

ul.is-style-gh-episodes > li > a {
  position: relative;
  display: grid;
  grid-template-columns: 4.6em 1fr;
  align-items: baseline;
  align-content: center;
  height: 100%;
  padding: 16px 70px 16px 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--gh-ink);
  text-decoration: none;
  background: var(--gh-white);
  border: 1px solid var(--gh-line);
  border-radius: 20px 6px 20px 6px;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

ul.is-style-gh-episodes > li > a strong {
  grid-row: span 2;
  font-size: 13px;
  font-weight: 700;
  color: var(--gh-blue);
}

ul.is-style-gh-episodes > li > a em {
  grid-column: 2;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.5;
  font-style: normal;
  font-weight: 400;
  color: var(--gh-sub);
}

ul.is-style-gh-episodes > li > a::after {
  content: "PDF";
  position: absolute;
  top: 50%;
  right: 18px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gh-blue);
  border: 1px solid currentColor;
  border-radius: 4px;
  transform: translateY(-50%);
  transition: color 0.25s ease, background-color 0.25s ease;
}

ul.is-style-gh-episodes > li > a:hover {
  background: var(--gh-pale);
  border-color: var(--gh-blue);
  transform: translateY(-2px);
}

ul.is-style-gh-episodes > li > a:hover::after {
  color: var(--gh-white);
  background: var(--gh-blue);
  border-color: var(--gh-blue);
}

/* いちばん新しい回に「最新」 */
ul.is-style-gh-episodes:not(.is-sorted) > li:last-child > a::before,
ul.is-style-gh-episodes > li.is-latest > a::before {
  content: "最新";
  position: absolute;
  top: -9px;
  left: 16px;
  padding: 1px 10px;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  color: var(--gh-white);
  background: var(--gh-red);
  border-radius: 20px;
}

/* 並び替えボタン（JSで挿入） */
.gh-episodes-sort {
  display: flex;
  justify-content: flex-end;
  margin: -8px 0 16px;
}

.gh-episodes-sort__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--gh-blue);
  cursor: pointer;
  background: var(--gh-white);
  border: 1.5px solid var(--gh-blue);
  border-radius: 40px;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.gh-episodes-sort__btn::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 2v12M2 5l3-3 3 3M11 14V2M8 11l3 3 3-3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 2v12M2 5l3-3 3 3M11 14V2M8 11l3 3 3-3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.gh-episodes-sort__btn:hover {
  color: var(--gh-white);
  background: var(--gh-blue);
}

p.gh-series__note {
  margin-top: 32px;
  margin-bottom: 0;
  font-size: 11px;
  color: var(--gh-sub);
}

.gh-series ~ .gh-btn-row,
.gh-series__note + .gh-btn-row {
  margin-top: 40px;
}

@media (max-width: 767px) {
  .wp-block-group.gh-series {
    margin-bottom: 40px;
    border-radius: 32px 8px 32px 8px;
  }

  .gh-series-intro > .wp-block-column:first-child {
    padding: 20px;
    border-radius: 0 0 32px 0;
  }

  .gh-series-intro .wp-block-image img {
    max-height: 120px;
  }

  .gh-series-intro > .wp-block-column:last-child {
    padding: 24px 22px 28px;
  }

  .gh-series h2.gh-series__title {
    font-size: 22px;
  }

  .gh-series-intro p {
    font-size: 14px;
  }

  ul.is-style-gh-episodes {
    gap: 10px;
  }

  ul.is-style-gh-episodes > li > a {
    padding: 14px 60px 14px 16px;
    font-size: 14px;
  }

  ul.is-style-gh-episodes > li > a::after {
    right: 14px;
  }
}
