@charset "UTF-8";
/* =========================================================
   GAPS — Conference Banner (gradient like red image)
   Usage: add HTML with .conf-banner / .conf-banner__inner etc.
   ========================================================= */
/* Optional: quick theme variables */
:root {
  --conf-grad-left: #d81414;
  --conf-grad-right:#ff6a00;
  --conf-text: #ffffff;
  --conf-cta-bg: rgba(180, 0, 0, .55);
  --conf-cta-bg-hover: rgba(180, 0, 0, .70);
  --conf-cta-border: rgba(255,255,255,.35);
  --conf-shadow: 0 2px 10px rgba(0,0,0,.08);
  --conf-cta-shadow: 0 6px 16px rgba(0,0,0,.18);
  --conf-max-width: 1200px;
  /* под ваш контейнер сайта */
  --conf-pad-y: 10px;
  /* высота баннера */
  --conf-pad-x: 16px;
  --conf-gap: 18px;
  /* расстояние между левым текстом и правым блоком */
  --conf-right-basis: 280px;
  /* ширина "правого блока" под кнопку */ }

/* Whole banner is clickable */
.conf-banner {
  display: block;
  width: 100%;
  text-decoration: none;
  color: var(--conf-text);
  background: linear-gradient(90deg, var(--conf-grad-left) 0%, var(--conf-grad-right) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--conf-shadow); }

/* If you want sticky on scroll — uncomment
.conf-banner{
  position: sticky;
  top: 0;
  z-index: 9999;
}
*/
.conf-banner__inner {
  max-width: var(--conf-max-width);
  margin: 0 auto;
  padding: var(--conf-pad-y) var(--conf-pad-x);
  display: flex;
  align-items: center;
  /* IMPORTANT: do not push CTA to far right */
  justify-content: flex-start;
  gap: 12px var(--conf-gap);
  flex-wrap: wrap;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }

/* Left text block */
.conf-banner__text {
  flex: 1 1 640px;
  min-width: 260px; }

.conf-banner__headline {
  font-weight: 900;
  font-size: clamp(16px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: .2px; }

.conf-banner__meta {
  margin-top: 4px;
  font-weight: 600;
  font-size: clamp(13px, 1.25vw, 18px);
  opacity: .95; }

/* Right block: CTA centered within this area, so it sits closer to the left text */
.conf-banner__right {
  flex: 0 1 320px;
  display: flex;
  justify-content: left;
  align-items: center; }

/* CTA "button" */
.conf-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--conf-cta-bg);
  border: 1px solid var(--conf-cta-border);
  font-weight: 900;
  white-space: nowrap;
  box-shadow: var(--conf-cta-shadow);
  transition: transform .12s ease, filter .12s ease, background .12s ease; }

/* Hover effects */
.conf-banner:hover {
  filter: brightness(1.03); }

.conf-banner:hover .conf-banner__cta {
  transform: translateY(-1px);
  background: var(--conf-cta-bg-hover); }

/* Focus accessibility */
.conf-banner:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px; }

/* Mobile: CTA goes below and becomes full-width */
@media (max-width: 640px) {
  .conf-banner__inner {
    padding: 10px 12px; }

  .conf-banner__right {
    flex-basis: 100%; }

  .conf-banner__cta {
    width: 100%;
    text-align: center; } }
/* Optional: make CTA even closer to text on medium screens */
@media (max-width: 980px) {
  :root {
    --conf-right-basis: 240px;
    --conf-gap: 14px; } }
