.eg-cookie-banner,
.eg-cookie-modal {
  font-family: var(--fb, 'Jost', Arial, sans-serif);
}

.eg-cookie-banner {
  position: fixed;
  left: 18px;
  right: 92px;
  bottom: 18px;
  z-index: 760;
  max-width: 820px;
  background: rgba(12, 12, 12, .98);
  border: 1px solid rgba(201, 168, 76, .34);
  border-radius: 6px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
  color: #f7f2e8;
  padding: 18px;
}

.eg-cookie-banner[hidden],
.eg-cookie-modal[hidden] {
  display: none !important;
}

.eg-cookie-title {
  color: #E8C97A;
  font-family: var(--fd, Georgia, serif);
  font-size: 1.18rem;
  font-weight: 600;
  margin: 0 0 6px;
}

.eg-cookie-text {
  color: #cfcfcf;
  font-size: .86rem;
  line-height: 1.62;
  margin: 0;
}

.eg-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.eg-cookie-btn {
  align-items: center;
  border: 1px solid rgba(201, 168, 76, .72);
  border-radius: 3px;
  color: #111;
  cursor: pointer;
  display: inline-flex;
  font: 700 .72rem/1 var(--fb, Arial, sans-serif);
  justify-content: center;
  letter-spacing: .12em;
  min-height: 42px;
  padding: 12px 16px;
  text-transform: uppercase;
  transition: transform .2s, opacity .2s, background .2s, color .2s;
}

.eg-cookie-btn:focus-visible,
.eg-cookie-link:focus-visible,
.eg-cookie-close:focus-visible {
  outline: 2px solid #E8C97A;
  outline-offset: 3px;
}

.eg-cookie-btn:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.eg-cookie-btn-primary,
.eg-cookie-btn-reject {
  background: linear-gradient(135deg, #C9A84C, #E8C97A 45%, #D4A843);
  border-color: rgba(201, 168, 76, .72);
  color: #111;
  flex: 1 1 190px;
}

.eg-cookie-btn-secondary {
  background: transparent;
  color: #E8C97A;
  flex: 1 1 150px;
}

.eg-cookie-modal {
  align-items: center;
  background: rgba(0, 0, 0, .62);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 920;
}

.eg-cookie-dialog {
  background: #101010;
  border: 1px solid rgba(201, 168, 76, .34);
  border-radius: 6px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, .72);
  color: #f7f2e8;
  max-height: min(86vh, 760px);
  max-width: 680px;
  overflow: auto;
  padding: 24px;
  width: 100%;
}

.eg-cookie-head {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.eg-cookie-close {
  background: transparent;
  border: 1px solid rgba(201, 168, 76, .28);
  border-radius: 50%;
  color: #E8C97A;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 1rem;
  height: 36px;
  width: 36px;
}

.eg-cookie-category {
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 5px;
  margin-top: 12px;
  padding: 16px;
}

.eg-cookie-category h3 {
  color: #fff;
  font-family: var(--fd, Georgia, serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.eg-cookie-category p {
  color: #bdbdbd;
  font-size: .84rem;
  line-height: 1.6;
  margin: 0;
}

.eg-cookie-toggle {
  align-items: center;
  color: #E8C97A;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 12px;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eg-cookie-toggle input {
  accent-color: #C9A84C;
  height: 20px;
  width: 20px;
}

.eg-cookie-modal-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.eg-cookie-link {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
}

.eg-cookie-link:hover {
  color: #E8C97A;
}

.sf-links .eg-cookie-link {
  color: var(--t2, #7A7A7A);
  font-size: .8rem;
  font-weight: 300;
}

.sf-links .eg-cookie-link:hover {
  color: var(--gl, #E8C97A);
}

.cookie-embed-placeholder {
  align-items: center;
  background: linear-gradient(145deg, rgba(12, 12, 12, .96), rgba(28, 28, 28, .96));
  border: 1px solid rgba(201, 168, 76, .28);
  color: #e6e0d2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  justify-content: center;
  min-height: 210px;
  padding: 24px;
  text-align: center;
  width: 100%;
}

.cookie-embed-placeholder p {
  color: #cfcfcf;
  font-size: .9rem;
  line-height: 1.6;
  margin: 0;
  max-width: 420px;
}

.video-card,
.gallery-item.video-item,
.video-thumb {
  background:
    radial-gradient(circle at 50% 42%, rgba(201, 168, 76, .18), transparent 42%),
    linear-gradient(135deg, #101010, #2a2417);
  overflow: hidden;
  position: relative;
}

.video-card {
  aspect-ratio: 4 / 5 !important;
  min-height: 0 !important;
}

.video-thumb,
.cookie-embed {
  border-radius: inherit;
  display: block;
  height: 100%;
  min-height: 0;
  width: 100%;
}

.video-card video,
.video-card img,
.video-card iframe,
.video-thumb video,
.video-thumb img,
.video-thumb iframe,
.cookie-embed video,
.cookie-embed img,
.cookie-embed iframe {
  background: transparent;
  border: 0;
  display: block;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain !important;
  object-position: center center;
  width: 100%;
}

.modal video,
.lightbox video,
.video-modal video,
.gallery-modal video,
.lb video {
  background: #111;
  border-radius: 16px;
  display: block;
  height: auto;
  margin: auto;
  max-height: 82vh;
  max-width: 92vw;
  object-fit: contain !important;
  object-position: center center;
  width: auto;
}

.modal iframe,
.lightbox iframe,
.video-modal iframe,
.gallery-modal iframe,
.lb iframe {
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 16px;
  display: block;
  height: auto;
  max-height: 82vh;
  max-width: 92vw;
  width: min(92vw, 1100px);
}

.modal-content,
.lightbox-content,
.video-modal-content,
.gallery-modal-content,
.lb {
  align-items: center;
  justify-content: center;
}

.wa[href*="wa.me"] {
  display: flex !important;
}

@media (min-width: 900px) {
  .video-card {
    aspect-ratio: 16 / 10 !important;
  }
}

@media (max-width: 640px) {
  .eg-cookie-banner {
    bottom: 88px;
    left: 14px;
    right: 14px;
    padding: 16px;
  }

  .eg-cookie-actions,
  .eg-cookie-modal-actions {
    grid-template-columns: 1fr;
  }

  .eg-cookie-btn {
    width: 100%;
  }

  .eg-cookie-dialog {
    padding: 20px;
  }
}
