/* Host Town link placements: navy, champagne-gold and generous outlined rows.
   Presentation only. Existing content, slot order, URLs and admin controls are unchanged. */
.ht-partners-page,
.ht-global-ads {
  --ad-ink: #f5efdf;
  --ad-muted: #b8bdc9;
  --ad-line: #665638;
  --ad-accent: #e2c386;
  --ad-paper: #111725;
  color: var(--ad-ink);
  font-family: "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
}
.ht-partners-page *,
.ht-global-ads * { box-sizing: border-box; }
.ht-partners-page {
  padding: 1px 0 56px;
  background:
    radial-gradient(ellipse at 50% 0, #d5ad6314, transparent 58%),
    linear-gradient(180deg, #101624, #080b15);
}
.ht-partners-hero {
  text-align: center;
  padding: 66px 24px 38px;
}
.ht-ad-eyebrow {
  margin: 0 0 17px;
  color: var(--ad-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  line-height: 1.8;
}
.ht-partners-hero h1 {
  margin: 0 0 18px;
  color: var(--ad-ink);
  font-family: "Noto Serif JP", "Noto Serif CJK JP", serif;
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 600;
  letter-spacing: .09em;
  line-height: 1.5;
}
.ht-partners-hero > p:not(.ht-ad-eyebrow) {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ad-muted);
  font-size: 14px;
  line-height: 2;
}
.ht-partners-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 29px 0 0;
}
.ht-partners-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  padding: 10px 24px;
  border: 1px solid var(--ad-line);
  border-radius: 99px;
  background: #121827;
  color: var(--ad-accent);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
}
.ht-partners-nav a:hover { border-color: var(--ad-accent); background: #1d2432; }
.ht-partners-nav a[aria-current=page] {
  border-color: var(--ad-accent);
  background: var(--ad-accent);
  color: #17130d;
}
.ht-partners-content { padding-top: 0; padding-bottom: 16px; }
.ht-partners-empty {
  max-width: 960px;
  margin: 0 auto;
  padding: 50px 24px;
  border: 1px solid var(--ad-line);
  border-radius: 22px;
  background: linear-gradient(140deg, #1a2030, #111725);
  box-shadow: 0 18px 48px #0002;
  text-align: center;
}
.ht-partners-empty h2 {
  margin: 22px 0 12px;
  color: var(--ad-ink);
  font-family: "Noto Serif JP", "Noto Serif CJK JP", serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.6;
}
.ht-partners-empty p {
  margin: 0;
  color: var(--ad-muted);
  font-size: 14px;
  line-height: 2;
}
.ht-partners-note {
  margin: 26px 0 0;
  color: var(--ad-muted);
  font-size: 12px;
  line-height: 1.9;
  text-align: center;
}
.ht-global-ads {
  padding: 48px 0 52px;
  border-top: 1px solid #d5ad6340;
  background: radial-gradient(ellipse at 50% 0, #d5ad6310, transparent 68%), #0b101c;
}
.ht-ad-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 24px;
}
.ht-ad-heading .ht-ad-eyebrow { margin: 0; }
.ht-ad-heading nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 12px; }
.ht-ad-heading a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ad-accent);
  text-underline-offset: 5px;
}
.ht-ad-group {
  position: relative;
  margin: 0 0 28px;
  padding: 30px;
  border: 1px solid var(--ad-line);
  border-radius: 24px;
  background: radial-gradient(ellipse at 100% 0, #d5ad6310, transparent 65%), #111725;
  box-shadow: 0 12px 36px #0002;
}
.ht-ad-group:last-child { margin-bottom: 0; }
.ht-ad-group-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 24px; }
.ht-ad-group-heading::after {
  content: "";
  flex: 1;
  min-width: 12px;
  height: 1px;
  background: linear-gradient(90deg, #a8884d80, #a8884d10);
}
.ht-ad-group-heading h2 {
  margin: 0;
  color: var(--ad-ink);
  font-family: "Noto Serif JP", "Noto Serif CJK JP", serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .06em;
  overflow-wrap: anywhere;
}
.ht-ad-label {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 4px 11px;
  border: 1px solid #a8884d;
  border-radius: 99px;
  background: #221e18;
  color: var(--ad-accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.6;
}
.ht-ad-links,
.ht-ad-banners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ht-ad-banners { gap: 22px; }
.ht-ad-banners > li:only-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 900px;
}
.ht-ad-links li,
.ht-ad-banners li { min-width: 0; }
.ht-ad-links a,
.ht-ad-banners a,
.ht-ad-card {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid #8a7147;
  border-radius: 16px;
  background: linear-gradient(110deg, #1b2332, #141b29);
  color: var(--ad-ink);
  text-decoration: none;
  box-shadow: 0 4px 14px #0002;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.ht-ad-links a:hover,
.ht-ad-banners a:hover {
  border-color: var(--ad-accent);
  color: var(--ad-ink);
  background: #252b36;
  box-shadow: 0 6px 22px #0004, inset 0 0 0 1px #e2c38624;
}
.ht-ad-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 21px 24px;
}
.ht-ad-links .ht-ad-card-footer { height: 100%; }
.ht-ad-banners .ht-ad-card-footer {
  min-height: 68px;
  border-top: 1px solid #8a714766;
  background: #161e2b;
}
.ht-ad-title {
  min-width: 0;
  color: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .03em;
  overflow-wrap: anywhere;
}
.ht-ad-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  color: var(--ad-accent);
  font-size: 24px;
  line-height: 1;
}
.ht-ad-image-frame { display: block; width: 100%; padding: 10px; background: #0c111d; }
.ht-ad-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  border-radius: 9px;
  object-fit: contain;
}
.ht-partners-page a:focus-visible,
.ht-global-ads a:focus-visible { outline: 3px solid #f4dcae; outline-offset: 4px; }
.ht-ad-group .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 700px) {
  .ht-partners-page { padding-bottom: 32px; }
  .ht-partners-hero { padding: 42px 8px 30px; }
  .ht-partners-hero h1 { font-size: clamp(27px, 7.6vw, 38px); letter-spacing: .04em; }
  .ht-partners-hero > p:not(.ht-ad-eyebrow) { font-size: 13px; }
  .ht-partners-nav { gap: 8px; margin-top: 23px; }
  .ht-partners-nav a { padding: 10px 17px; }
  .ht-partners-empty { padding: 36px 18px; border-radius: 20px; }
  .ht-partners-empty h2 { font-size: 19px; }
  .ht-partners-empty p { font-size: 13px; }
  .ht-global-ads { padding: 30px 0 34px; }
  .ht-ad-heading { gap: 4px 16px; margin-bottom: 16px; }
  .ht-ad-heading nav { gap: 4px 18px; }
  .ht-ad-group { padding: 22px 14px 16px; border-radius: 20px; margin-bottom: 20px; }
  .ht-ad-group-heading { gap: 10px; margin: 0 4px 19px; }
  .ht-ad-group-heading h2 { font-size: 19px; letter-spacing: .03em; }
  .ht-ad-links,
  .ht-ad-banners { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ht-ad-links a,
  .ht-ad-banners a,
  .ht-ad-card { border-radius: 14px; }
  .ht-ad-card-footer { min-height: 68px; gap: 14px; padding: 17px 18px; }
  .ht-ad-banners .ht-ad-card-footer { min-height: 62px; }
  .ht-ad-title { font-size: 14px; }
  .ht-ad-arrow { flex-basis: 24px; font-size: 22px; }
  .ht-ad-image-frame { padding: 7px; }
}
/* Requested section title above the existing link placement. */
.ht-ad-placement-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.5vw, 26px);
  margin: 4px 0 30px;
  color: var(--ad-accent);
  font-family: "Noto Serif JP", "Noto Serif CJK JP", serif;
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.6;
  text-align: center;
}
.ht-ad-placement-heading::before,
.ht-ad-placement-heading::after {
  content: "";
  flex: 1 1 32px;
  max-width: 96px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d5ad63a6);
}
.ht-ad-placement-heading::after {
  background: linear-gradient(90deg, #d5ad63a6, transparent);
}
@media (max-width: 700px) {
  .ht-ad-placement-heading { margin: 0 0 24px; letter-spacing: .08em; }
}
@media (prefers-reduced-motion: reduce) {
  .ht-ad-links a,
  .ht-ad-banners a,
  .ht-ad-card { transition: none; }
}
