/* ИГА open-day banner: students supplied by the institute, transparent cutouts. */
.od-campaign { position: relative; isolation: isolate; overflow: hidden; background: #fff9fa url('/images/open-day/2026-12-19/campaign-blush-gold-1800-20261203.webp') center / 100% 100% no-repeat; color: #080c1a; border-bottom: 1px solid #f1e0e4; }
.od-campaign[hidden] { display: none; }
.od-campaign__inner { position: relative; isolation: isolate; width: min(1440px,100%); min-height: 232px; margin-inline: auto; padding: 22px 36px; box-sizing: border-box; display: grid; grid-template-columns: minmax(290px,1fr) minmax(0,1.12fr) auto; align-items: center; gap: 20px; }
.od-campaign__copy { grid-column: 1; grid-row: 1; position: relative; z-index: 2; display: grid; justify-items: start; gap: 9px; min-width: 0; color: #080c1a; text-decoration: none; }
.od-campaign__intro { color: #70535d; font-size: clamp(14px,1.4vw,19px); line-height: 1.4; font-weight: 500; }
.od-campaign__title { font-size: clamp(34px,3.35vw,48px); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; }
.od-campaign__title em { color: #c00014; font-style: normal; }
.od-campaign__details { color: #9c0b1c; display: flex; flex-wrap: wrap; align-items: center; gap: 5px 16px; margin-top: 5px; font-size: 13px; line-height: 1.5; }
.od-campaign__when { font-size: clamp(15px,1.4vw,20px); font-weight: 750; white-space: nowrap; }
.od-campaign__address { display: inline-flex; align-items: center; gap: 6px; color: #69545e; white-space: nowrap; }
.od-campaign__address svg { flex-shrink: 0; }
.od-campaign__visual { grid-column: 2; grid-row: 1; position: relative; z-index: 1; align-self: stretch; min-width: 0; margin-block: -22px; pointer-events: none; }
.od-campaign__students { z-index: 1; position: absolute; top: 10px; left: 50%; width: min(100%,500px); max-width: none; height: auto; transform: translateX(-50%); pointer-events: none; filter: drop-shadow(0 6px 12px rgb(46 0 0 / .2)); }
.od-campaign__action { grid-column: 3; grid-row: 1; position: relative; z-index: 2; display: grid; justify-items: center; gap: 8px; padding-top: 3px; }
.od-campaign__date-art { display: block; width: 140px; height: 105px; object-fit: contain; pointer-events: none; }
.od-campaign__button { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 12px; min-height: 52px; padding: 14px 20px; box-sizing: border-box; border-radius: 12px; background: #c70019; color: #fff; font-size: clamp(14px,1.25vw,18px); font-weight: 800; line-height: 1.4; text-decoration: none; white-space: nowrap; transition: background-color .15s ease,color .15s ease; }
.od-campaign__button:hover { background: #a90015; color: #fff; }
.od-campaign__dismiss { position: absolute; z-index: 4; top: 7px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px; background: rgb(255 255 255 / .82); color: #9f0b1a; cursor: pointer; }
.od-campaign__dismiss:hover { background: #fff; }
.od-campaign :is(a,button):focus-visible { outline: 2px solid #a00018; outline-offset: 4px; }
.od-campaign__button:focus-visible { outline-offset: 5px; }
@media (min-width:1600px) { .od-campaign__inner { min-height: 244px; } .od-campaign__students { top: 13px; } }
@media (min-width:901px) and (max-width:1100px) {
    .od-campaign__inner { min-height: 222px; padding: 20px 28px; grid-template-columns: minmax(270px,1fr) minmax(0,1.05fr) auto; gap: 14px; }
    .od-campaign__title { font-size: clamp(32px,3.8vw,40px); }
    .od-campaign__details { flex-direction: column; align-items: flex-start; gap: 4px; }
    .od-campaign__visual { margin-block: -20px; }
    .od-campaign__students { top: 12px; }
    .od-campaign__date-art { width: 112px; height: 84px; }
    .od-campaign__button { padding: 12px 14px; gap: 8px; font-size: 14px; }
}
@media (max-width:900px) {
    .od-campaign { background-size: auto 100%; background-position: right bottom; }
    .od-campaign__inner { height: 180px; min-height: 180px; padding: 14px 16px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 8px; }
    .od-campaign__visual { position: absolute; top: 0; bottom: 0; right: 0; width: min(48vw,220px); margin: 0; }
    .od-campaign__students { top: 5px; left: auto; right: 0; width: 100%; height: auto; transform: none; filter: drop-shadow(-3px 4px 8px rgb(45 0 0 / .15)); }
    .od-campaign__copy { max-width: 65%; gap: 6px; }
    .od-campaign__intro { display: none; }
    .od-campaign__title { font-size: clamp(23px,6.5vw,27px); }
    .od-campaign__details { gap: 4px; margin-top: 0; }
    .od-campaign__when { display: inline-flex; padding: 2px 6px; border-radius: 5px; background: #fbe3e7; color: #a00018; font-size: 13px; line-height: 1.4; }
    .od-campaign__address { display: none; }
    .od-campaign__action { display: contents; }
    .od-campaign__date-art { display: none; }
    .od-campaign__button { min-height: 44px; margin: 0; padding: 11px 13px; font-size: 13px; border-radius: 9px; gap: 8px; }
    .od-campaign__button svg { width: 19px; height: 19px; }
    .od-campaign__dismiss { top: 3px; right: 3px; }
}
@media (max-width:380px) { .od-campaign__inner { padding-inline: 14px; } .od-campaign__title { font-size: 23px; } .od-campaign__button { font-size: 12px; gap: 7px; } }
@media (prefers-reduced-motion:reduce) { .od-campaign__button { transition: none; } }
