.ob-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 460px at 12% -6%, var(--pg-glow, rgba(58, 72, 148, .5)), transparent 62%),
    radial-gradient(700px 380px at 92% 6%, var(--pg-glow-gold, rgba(172, 143, 85, .13)), transparent 60%),
    var(--pg-dark-1, #1f2247);
}

.main:has(> .tp-page) {
  padding-bottom: 0;
}

.ob-dark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tp-gold), transparent);
}

.ob-hero {
  background: none;
  padding-bottom: clamp(26px, 20px + .9vw, 40px);
}

.ob-hero::after { display: none; }

.ob-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--ob-hero-img);
  background-size: cover;
  background-position: 50% 45%;
  opacity: .22;
  mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
}

.ob-hero > .container {
  position: relative;
  z-index: 1;
}

.ob-list {
  position: relative;
  z-index: 1;
  padding: 0 0 clamp(48px, 36px + 2vw, 88px);
}

.ob-list__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(20px, 16px + .7vw, 30px);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.ob-list__count {
  font-family: GothamPro-Medium;
  font-size: 13px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--tp-gold-light);
}

.ob-list__hint {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .5);
}


.ob-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: clamp(20px, 16px + .8vw, 28px);
}


.ob-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(5, 9, 22, .34);
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s;
}

.ob-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 4;
  height: 3px;
  background: linear-gradient(90deg, var(--pg-dark-1, #1f2247), #3f74c4);
  opacity: 0;
  transition: opacity .3s;
}

.ob-card:hover,
.ob-card:focus-visible {
  transform: translateY(-6px);
  box-shadow:
    0 30px 60px rgba(5, 9, 22, .5),
    0 0 0 1px rgba(63, 116, 196, .55);
  outline: none;
}

.ob-card:hover::before,
.ob-card:focus-visible::before { opacity: 1; }

.ob-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--tp-blue-soft), #dbe6f6);
}

.ob-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}

.ob-card:hover .ob-card__media img { transform: scale(1.06); }

.ob-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 36, .42) 0%, transparent 48%);
}

.ob-card__badges {
  position: absolute;
  left: 14px;
  top: 16px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ob-card__badge {
  padding: 7px 14px;
  border-radius: 50px;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(8px);
  font-family: GothamPro-Medium;
  font-size: 12.5px;
  color: var(--tp-blue-deep);
  white-space: nowrap;
}

.ob-card__badge_gold {
  background: linear-gradient(135deg, var(--tp-gold-light), var(--tp-gold));
  color: #2a0d16;
}

.ob-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 12px;
  padding: 26px 26px 22px;
}

.ob-card__title {
  margin: 0;
  font-family: GothamPro-Bold;
  font-size: clamp(19px, 17px + .4vw, 22px);
  line-height: 1.22;
  color: var(--tp-ink);
  transition: color .25s;
}

.ob-card:hover .ob-card__title { color: var(--tp-blue); }

.ob-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ob-card__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 50px;
  background: rgba(31, 34, 71, .07);
  font-size: 13px;
  line-height: 1.3;
  color: var(--tp-blue-deep);
}

.ob-card__chip svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: var(--tp-blue);
}

.ob-card__text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--tp-text);
}

.ob-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--tp-line);
}

.ob-card__dev {
  font-family: GothamPro-Medium;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--tp-text);
}

.ob-card__btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  font-family: GothamPro-Medium;
  font-size: 14.5px;
  color: var(--tp-blue);
  cursor: pointer;
}

.ob-arrow {
  flex: 0 0 auto;
  width: 17px;
  height: 11px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6h15'/%3E%3Cpath d='m11 1 5 5-5 5'/%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 18 12' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6h15'/%3E%3Cpath d='m11 1 5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s;
}

.ob-card:hover .ob-arrow { transform: translateX(4px); }


.ob-card_premier {
  background: linear-gradient(165deg, #4a0616 0%, #36020f 60%, #24010a 100%);
  box-shadow:
    0 16px 44px rgba(54, 2, 15, .5),
    0 0 0 1px rgba(172, 143, 85, .45);
}

.ob-card_premier::before {
  background: linear-gradient(90deg, var(--tp-gold), var(--tp-gold-light));
}

.ob-card_premier:hover {
  box-shadow:
    0 32px 64px rgba(54, 2, 15, .6),
    0 0 0 1px rgba(216, 189, 136, .7);
}

.ob-card_premier .ob-card__title { color: var(--tp-gold-light); }
.ob-card_premier:hover .ob-card__title { color: #f0dfbe; }
.ob-card_premier .ob-card__text { color: rgba(216, 189, 136, .8); }

.ob-card_premier .ob-card__chip {
  background: rgba(216, 189, 136, .12);
  color: var(--tp-gold-light);
}

.ob-card_premier .ob-card__chip svg { color: var(--tp-gold-light); }
.ob-card_premier .ob-card__footer { border-top-color: rgba(216, 189, 136, .22); }
.ob-card_premier .ob-card__dev { color: rgba(216, 189, 136, .62); }
.ob-card_premier .ob-card__btn { color: var(--tp-gold-light); }


.ob-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  visibility: hidden;
  pointer-events: none;
}

.ob-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.ob-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 24, .66);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .4s;
}

.ob-drawer.is-open .ob-drawer__overlay { opacity: 1; }

.ob-drawer__panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(620px, 100%);
  overflow-y: auto;
  background: #fff;
  box-shadow: -30px 0 90px rgba(6, 10, 24, .45);
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.22, .8, .28, 1);
}

.ob-drawer.is-open .ob-drawer__panel { transform: none; }

.ob-drawer__close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  color: var(--tp-ink);
  cursor: pointer;
  transition: background .25s, transform .35s;
}

.ob-drawer__close:hover {
  background: #fff;
  transform: rotate(90deg);
}

.ob-drawer__close svg { width: 15px; height: 15px; }

.ob-drawer__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--tp-blue-soft), #dbe6f6);
}

.ob-drawer__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ob-drawer__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 36, .38) 0%, transparent 50%);
}

.ob-drawer__body {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 18px + 1vw, 40px);
}

.ob-drawer__body .ob-card__badges {
  position: static;
  left: auto;
  top: auto;
}

.ob-drawer__body .ob-card__badge {
  background: rgba(31, 34, 71, .08);
  backdrop-filter: none;
}

.ob-drawer__body .ob-card__badge_gold {
  background: linear-gradient(135deg, var(--tp-gold-light), var(--tp-gold));
}

.ob-drawer__title {
  margin: 0;
  font-family: GothamPro-Bold;
  font-size: clamp(23px, 19px + 1vw, 32px);
  line-height: 1.18;
  color: var(--tp-ink);
}

.ob-drawer__text {
  font-size: 16px;
  line-height: 1.65;
  white-space: pre-line;
  color: var(--tp-text);
}

.ob-drawer__dev {
  padding-top: 15px;
  border-top: 1px solid var(--tp-line);
  font-family: GothamPro-Medium;
  font-size: 14px;
  color: var(--tp-text);
}

.ob-drawer__btn { justify-self: start; }

@media (max-width: 767px) {
  .ob-drawer__panel { width: 100%; }
  .ob-drawer__media { aspect-ratio: 16 / 11; }
}

@media (max-width: 575px) {
  .ob-card__body { padding: 22px 20px 20px; }
  .ob-card__footer { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ob-list__head { flex-direction: column; }
}
