.gec-wrapper {
  --gec-red: #c90f12;
  --gec-red-dark: #a20a0d;
  --gec-yellow: #f4bf2a;
  --gec-text: #1f1f26;
  --gec-muted: #696977;
  --gec-surface: #ffffff;
  --gec-border: #ececef;
  --gec-shadow: 0 10px 35px rgba(0,0,0,.08);
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px;
  color: var(--gec-text);
  font-family: inherit;
}

.gec-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
  overflow: hidden;
}

.gec-hero__icon {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  background: linear-gradient(180deg, #db2023, #ae0e10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  box-shadow: var(--gec-shadow);
  flex-shrink: 0;
}

.gec-hero__content h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.6rem);
  line-height: 1.02;
  font-weight: 800;
}

.gec-hero__content p {
  margin: 6px 0 0;
  font-size: 1.1rem;
  color: var(--gec-muted);
}

.gec-hero__ribbon {
  margin-left: auto;
  width: 320px;
  height: 64px;
  background: linear-gradient(90deg, rgba(244,191,42,0.96), rgba(201,15,18,0.96));
  border-radius: 120px 0 0 120px;
  position: relative;
}

.gec-hero__ribbon::before {
  content: "";
  position: absolute;
  inset: 18px -24px 18px 18px;
  border-top: 12px dashed rgba(255,255,255,.8);
  border-bottom: 12px dashed rgba(255,255,255,0);
  border-radius: 999px;
  transform: rotate(6deg);
}

.gec-filterbar {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f4f4f5, #ececef);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.gec-filter {
  appearance: none;
  border: 1px solid rgba(0,0,0,.07);
  background: #fff;
  color: var(--gec-text);
  border-radius: 999px;
  padding: 13px 28px;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,.06);
  transition: .2s ease;
}

.gec-filter.is-active,
.gec-filter:hover {
  background: linear-gradient(180deg, var(--gec-red), var(--gec-red-dark));
  color: #fff;
}

.gec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.gec-card {
  background: var(--gec-surface);
  border: 1px solid var(--gec-border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--gec-shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.gec-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(0,0,0,.12);
}

.gec-card.is-hidden {
  display: none;
}

.gec-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.gec-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gec-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: var(--gec-yellow);
  color: #222;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .98rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

.gec-card__body {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gec-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #30303b;
  font-size: 1rem;
}

.gec-meta__icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gec-red);
  flex-shrink: 0;
}

.gec-meta__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.gec-card h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2.1rem);
  line-height: 1.08;
  font-weight: 800;
}

.gec-thumbs {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.gec-thumbs img,
.gec-thumbs__more {
  width: 86px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.gec-thumbs__more {
  background: #ececef;
  color: #1e1f25;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  line-height: 1.02;
}

.gec-thumbs__more small {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  opacity: .8;
  margin-top: 4px;
}

.gec-open-modal {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 16px;
  padding: 16px 18px;
  background: linear-gradient(180deg, var(--gec-red), var(--gec-red-dark));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(201,15,18,.35);
  transition: transform .18s ease, filter .18s ease;
}

.gec-open-modal:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.gec-meta__icon--button {
  color: #fff;
  width: 24px;
  height: 24px;
}

.gec-modal[hidden] {
  display: none !important;
}

.gec-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.gec-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, .75);
  backdrop-filter: blur(4px);
}

.gec-modal__dialog {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gec-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.92);
  color: #111;
  font-size: 30px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
}

.gec-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 24px 12px;
}

.gec-modal__title {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
}

.gec-modal__subtitle,
.gec-modal__counter,
.gec-modal__caption {
  color: var(--gec-muted);
}

.gec-modal__subtitle {
  margin: 6px 0 0;
}

.gec-modal__counter {
  font-weight: 700;
  align-self: center;
}

.gec-modal__stage {
  position: relative;
  background: #101014;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gec-modal__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gec-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.9);
  color: #111;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gec-nav--prev { left: 16px; }
.gec-nav--next { right: 16px; }

.gec-modal__caption {
  padding: 12px 24px 0;
  font-size: 1rem;
}

.gec-modal__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  gap: 10px;
  padding: 18px 24px 24px;
  overflow-y: auto;
}

.gec-modal__thumbs button {
  border: 2px solid transparent;
  padding: 0;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.gec-modal__thumbs button.is-active {
  border-color: var(--gec-red);
  box-shadow: 0 0 0 3px rgba(201,15,18,.12);
}

.gec-modal__thumbs img {
  width: 100%;
  height: 74px;
  object-fit: cover;
  display: block;
}

@media (max-width: 1100px) {
  .gec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .gec-wrapper { padding: 18px; }
  .gec-hero { align-items: flex-start; }
  .gec-hero__ribbon { display: none; }
  .gec-grid { grid-template-columns: 1fr; gap: 18px; }
  .gec-card { border-radius: 22px; }
  .gec-card__body { padding: 16px; }
  .gec-thumbs { overflow-x: auto; }
  .gec-thumbs img, .gec-thumbs__more { width: 78px; height: 66px; }
  .gec-open-modal { font-size: 1.06rem; padding: 14px 16px; }
  .gec-modal__dialog { width: calc(100% - 16px); margin: 8px auto; max-height: calc(100vh - 16px); }
  .gec-modal__header { padding: 18px 18px 10px; }
  .gec-modal__caption { padding: 10px 18px 0; }
  .gec-modal__thumbs { padding: 14px 18px 18px; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); }
  .gec-nav { width: 44px; height: 44px; font-size: 30px; }
}

.acsp-gallery-section{padding:42px 0 65px;background:#f8f3f3;border-top:1px solid #eadfe0}.acsp-gallery-section .gec-wrapper{padding:0;max-width:none;--gec-red:#c90020}.acsp-gallery-section .gec-hero__ribbon{display:none}.acsp-gallery-section .gec-card h3{font-size:clamp(19px,2vw,25px);overflow-wrap:anywhere}.gec-modal[hidden],.gec-gallery-source[hidden]{display:none!important}.gec-modal{z-index:100000!important}.gec-modal__dialog{overflow:auto}.gec-modal__stage{max-height:55vh}.gec-modal__image{height:100%;width:100%;object-fit:contain}.acsp-gallery-section .gec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:640px){.acsp-gallery-section{padding:28px 0 40px}.acsp-gallery-section .gec-grid{grid-template-columns:1fr}.acsp-gallery-section .gec-wrapper{padding:0}}
