.hg-ad-display,
.hg-ad-display * { box-sizing: border-box; }
.hg-ad-display { display: block; width: 100%; max-width: 100%; min-width: 0; margin: 14px 0; overflow: hidden; color: #f2eee7; font: inherit; text-align: left; }
.hg-ad-heading { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; color: #b6a782; font-size: 10px; line-height: 1.5; }
.hg-ad-heading > span:first-child { flex: 0 0 auto; padding: 1px 5px; border: 1px solid #665b3c; border-radius: 3px; }
.hg-ad-hint { overflow: hidden; color: #99949e; text-overflow: ellipsis; white-space: nowrap; }
.hg-ad-viewport { position: relative; display: block; width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-color: #665b3c transparent; scrollbar-width: thin; direction: ltr; }
.hg-ad-viewport::-webkit-scrollbar { height: 4px; }
.hg-ad-viewport::-webkit-scrollbar-thumb { border-radius: 4px; background: #665b3c; }
.hg-ad-track { display: flex; width: 100%; min-width: 0; align-items: stretch; gap: 9px; padding: 0 0 3px; }
.hg-ad-strip { position: relative; min-width: 0; }
.hg-ad-display[data-mode="horizontal"] { --hg-ad-gap: 9px; }
.hg-ad-display[data-mode="horizontal"] .hg-ad-track { gap: var(--hg-ad-gap); }
.hg-ad-display[data-mode="horizontal"] .hg-ad-card { flex-basis: calc((100% - (var(--hg-ad-items) - 1) * var(--hg-ad-gap)) / var(--hg-ad-items)); scroll-snap-stop: always; }
.hg-ad-display[data-mode="horizontal"] .hg-ad-copy { padding: 8px 9px; }
.hg-ad-display[data-mode="horizontal"] .hg-ad-description { -webkit-line-clamp: 1; }
.hg-ad-display[data-mode="horizontal"] .hg-ad-viewport { scrollbar-width: none; }
.hg-ad-display[data-mode="horizontal"] .hg-ad-viewport::-webkit-scrollbar { display: none; }
.hg-ad-strip-arrows { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 3px; pointer-events: none; }
.hg-ad-display .hg-ad-strip-arrows .hg-ad-arrow { min-width: 29px; min-height: 35px; padding: 1px 5px; border-radius: 7px; background: #17131ee0; box-shadow: 0 2px 8px #0005; pointer-events: auto; }
.hg-ad-display[data-mode="horizontal"][data-card-style="icon"] { --hg-ad-gap: clamp(4px, 1.5vw, 12px); }
.hg-ad-display[data-card-style="icon"] .hg-ad-card { align-items: center; border: 0; border-radius: 0; background: transparent; }
.hg-ad-display[data-card-style="icon"] .hg-ad-media { position: relative; flex: 0 0 auto; width: min(100%, var(--hg-ad-icon-size)); aspect-ratio: 1; margin: 0 auto; border: var(--hg-ad-icon-border-width, 1px) solid var(--hg-ad-icon-border-color, #685733); border-radius: var(--hg-ad-icon-radius); background: var(--hg-ad-icon-background-color, #242026); box-shadow: 0 3px 9px #0003; }
.hg-ad-display[data-card-style="icon"] .hg-ad-media img { object-fit: contain; border-radius: inherit; }
.hg-ad-display[data-card-style="icon"] .hg-ad-copy { flex: 0 0 auto; width: 100%; min-height: 0; align-items: center; gap: 0; padding: 6px 1px 1px; text-align: center; }
.hg-ad-display[data-card-style="icon"] .hg-ad-copy strong { font-size: 11px; font-weight: 500; line-height: 1.4; }
.hg-ad-display[data-card-style="icon"] .hg-ad-description,.hg-ad-display[data-card-style="icon"] .hg-ad-visit { display: none; }
.hg-ad-icon-placeholder { display: grid; place-items: center; color: #e5c47e; font-size: clamp(17px, 5vw, 28px); }
.hg-ad-display[data-card-style="icon"] .hg-ad-icon-label { position: absolute; inset: auto 0 0; z-index: 1; display: -webkit-box; max-height: 54%; margin: 0; overflow: hidden; padding: 8px 2px 3px; background: linear-gradient(transparent,#141015bd 30%,#100e12eb); color: #fff4da; font-size: 10px; font-weight: 650; line-height: 1.25; text-align: center; text-shadow: 0 1px 2px #000; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hg-ad-display[data-card-style="icon"][data-icon-label="inside"] .hg-ad-copy { display: none; }
.hg-ad-display[data-card-style="icon"] .hg-ad-card[href]:hover { background: transparent; }
.hg-ad-display[data-card-style="icon"] .hg-ad-card[href]:hover .hg-ad-media { border-color: var(--hg-ad-icon-border-color, #685733); }
@media (hover: none) {
  .hg-ad-display[data-card-style="icon"] .hg-ad-strip-arrows { display: none; }
}
.hg-ad-card { display: flex; flex: 0 0 min(100%, clamp(148px, 44%, 240px)); min-width: 0; max-width: 100%; flex-direction: column; overflow: hidden; border: 1px solid #3d3540; border-radius: 9px; background: #1a171e; color: #f2eee7; text-decoration: none; scroll-snap-align: start; scroll-margin: 1px; }
.hg-ad-display[data-count="1"] .hg-ad-card,
.hg-ad-display[data-mode="carousel"] .hg-ad-card { flex-basis: 100%; }
.hg-ad-display[data-mode="row"][data-count="2"] .hg-ad-card { flex-basis: calc((100% - 9px) / 2); }
.hg-ad-display[data-mode="horizontal"] .hg-ad-card { flex: 0 0 calc((100% - (var(--hg-ad-items) - 1) * var(--hg-ad-gap)) / var(--hg-ad-items)); }
.hg-ad-display[data-mode="horizontal"][data-card-style="icon"] .hg-ad-card { flex: 0 0 calc((100% - (var(--hg-ad-items) - 1) * var(--hg-ad-gap)) / var(--hg-ad-items)); }
.hg-ad-display[data-mode="horizontal"][data-card-style="icon"] .hg-ad-media { width: min(100%, var(--hg-ad-icon-size)); }
.hg-ad-display[data-mode="horizontal"][data-card-style="icon"] .hg-ad-copy { display: flex; flex: 0 0 auto; width: 100%; min-height: 0; align-items: center; padding: 6px 1px 1px; text-align: center; }
.hg-ad-display[data-mode="horizontal"][data-card-style="icon"][data-icon-label="inside"] .hg-ad-copy { display: none; }
.hg-ad-display[data-mode="horizontal"][data-card-style="icon"] .hg-ad-icon-label { display: -webkit-box; }
.hg-ad-card[href]:hover { border-color: #a88b4c; background: #211c25; }
.hg-ad-display :focus-visible { outline: 2px solid #ebca76; outline-offset: -3px; }
.hg-ad-media { display: block; width: 100%; min-width: 0; overflow: hidden; aspect-ratio: 16 / 7; background: #110f15; }
.hg-ad-media img { display: block; width: 100%; height: 100%; min-width: 0; margin: 0; border: 0; object-fit: contain; }
.hg-ad-copy { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; gap: 5px; padding: 10px 11px; }
.hg-ad-copy strong { display: -webkit-box; min-width: 0; overflow: hidden; color: inherit; font-size: 12px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hg-ad-description { display: -webkit-box; overflow: hidden; color: #bcb6c2; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hg-ad-visit { display: inline-flex; align-self: flex-start; align-items: center; gap: 5px; margin-top: auto; padding-top: 3px; color: #e4c47d; font-size: 10px; line-height: 1.5; }
.hg-ad-card--text .hg-ad-copy { justify-content: center; min-height: 103px; }
.hg-ad-controls { display: none; }
.hg-ad-display .hg-ad-arrow,
.hg-ad-display .hg-ad-toggle { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; margin: 0; padding: 3px 10px; border: 1px solid #51464f; border-radius: 6px; background: #211b25; color: #f2e5c7; font-family: inherit; line-height: 1.4; cursor: pointer; }
.hg-ad-display .hg-ad-arrow { min-width: 40px; font-size: 22px; }
.hg-ad-display .hg-ad-toggle { min-width: 78px; font-size: 10px; }
.hg-ad-display .hg-ad-arrow:hover,
.hg-ad-display .hg-ad-toggle:hover { border-color: #a88b4c; }
.hg-ad-display .hg-ad-toggle:disabled { color: #aaa2ae; cursor: default; }
.hg-ad-counter { min-width: 40px; color: #c8bdce; font-size: 11px; line-height: 1.5; text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 360px) {
  .hg-ad-track { gap: 7px; }
  .hg-ad-display[data-mode="horizontal"] { --hg-ad-gap: 7px; }
  .hg-ad-display[data-mode="horizontal"][data-per-view="3"] .hg-ad-copy { padding: 7px 5px; }
  .hg-ad-display[data-mode="row"][data-count="2"] .hg-ad-card { flex-basis: calc((100% - 7px) / 2); }
  .hg-ad-copy { padding: 8px; }
  .hg-ad-copy strong { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hg-ad-viewport { scroll-behavior: auto; }
}
