 * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a1a1a;
    background: #f8f8f6;
    line-height: 1.6;
  }

  /* ============ CAROUSEL (33vh) ============ */
  .carousel {
    position: relative;
    width: 100%;
    height: 44vh;
    min-height: 260px;
    overflow: hidden;
    background: #000;
  }

  .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }

  .slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1s ease-in-out, transform 8s ease-out;
  }

  .slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
  }

  .slide-1 { background: linear-gradient(0deg, #1c0144 0%, #8b5cf6 100%); }
  .slide-2 { background: linear-gradient(90deg, #000000 60%, #040034 100%);   }
  .slide-3 { background: linear-gradient(135deg, #0e69e9 0%, #6366f1 100%); }
  .slide-4 { background: linear-gradient(135deg, #1c0144 0%, #8b5cf6 100%); }


  .slide-1 img {
    position: absolute;
    inset: 0;
    margin-top: 0vh;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    z-index: 1;
  }


  .slide-3 img {
    position: absolute;
    inset: 0;
    margin-top: 0vh;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    z-index: 1;
  }

  .slide-4 img {
    position: absolute;
    inset: 0;
    margin-top: 0vh;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    z-index: 1;
  }

  
  .slide-2::before { display: none; }

  .slide-2 video {
    inset: 0;
    width:fit-content;
    object-fit: cover;
    z-index: 1;
  }

  .overlay {
    position: absolute;
    right:10px;
    z-index: 5;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    text-align: left;
    color: #ffffff;
    padding: 0.8rem 2rem 2rem 0.8rem;
  }

  .overlay h1 {
    font-size: clamp(0.95rem, 2.1vw, 1.7rem);
    color: #ffd166;
    font-weight: 400;
    font-size: 2rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.7rem;
    text-shadow: 
     -2px 0 8px #000,
     0 2px 15px #000;
    max-width: 1000px;
    line-height: 1.15;
  }

  .overlay h1 .accent {
    background: linear-gradient(90deg, #ffd166, #ff9a3c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
    justify-content: left;
    margin-bottom: 0.9rem;
  }

  .meta-item {
    display: flex;
    gap: 0.4rem;
    font-size: 0.9rem;
    background: rgba(17, 39, 88, 0.32);
    backdrop-filter: blur(10px);
    padding: 0.35rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
  }

  .meta-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    stroke: #ffd166;
  }

  .no-href {
    text-decoration: none;
    color:#fff;

  }
  .opac-href {
    text-decoration: none;
    background-color: #e94c0e;
    color:#fff;
  }
  .cta {
    display: inline;
    width:fit-content;
    margin-top: 2rem;
    padding: 0.5rem 1.3rem;
    background: linear-gradient(90deg, #ff9a3c, #ff5c5c);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.8rem;
    box-shadow: 0 8px 24px rgba(255, 92, 92, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 92, 92, 0.55);
  }

  /* Carousel controls */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
  }

  .carousel-btn:hover { background: rgba(255,255,255,0.3); }
  .carousel-btn.prev { left: 10px; }
  .carousel-btn.next { right: 10px; }
  .carousel-btn svg { width: 15px; height: 15px; }

  .dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    gap: 6px;
  }

  .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
  }

  .dot.active {
    background: #ffd166;
    width: 18px;
    border-radius: 4px;
  }

  /* ============ SECTIONS ============ */
  section { padding: 3rem 1.5rem; }

  .container {
    max-width: 1180px;
    margin: 0 auto;
  }

  .section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    color: #001155;
  }

  .section-title .line {
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff9a3c, #ff5c5c);
    border-radius: 2px;
    margin-bottom: 1.2rem;
  }

  /* Meetup — в 2 раза ниже по вертикали */
  .meetup {
    background: #fff;
    padding: 3rem 1.5rem;
  }

  .meetup .section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 0;
  }

  .meetup .section-title .line {
    margin-bottom: 0.7rem;
  }

  .meetup-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-top: 1.2rem;
  }

  .meetup-text-main p {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.7;
  }

  .meetup-text p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
  }

  .meetup-elephant {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7f5af0 0%, #2cb67d 100%);
    border-radius: 20px;
    aspect-ratio: 1 / 1;
    max-width: 240px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 16px 40px rgba(127, 90, 240, 0.25);
    position: relative;
    overflow: hidden;
  }

  .meetup-elephant::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), transparent 60%);
  }

  .elephant-svg {
    width: 70%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.25));
    position: relative;
    z-index: 1;
  }

  /* Talks */
  .talks { background: #f8f8f6; }

  .talk {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
    background: #fff;
    padding: 2.5rem;
    border-radius: 24px;
    margin-top: 2rem;
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .talk:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.09);
  }

  .speaker-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .speaker-photo .placeholder-avatar {
    font-size: 6rem;
    color: rgba(255,255,255,0.9);
    font-weight: 700;
    letter-spacing: 2px;
  }
  .speaker-photo-img {
    width:100%; 
  }
  .cite {
    font-style: italic; 
  }
  .talk-content h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #111;
    letter-spacing: -0.01em;
  }

  .talk-content p {
    color: #555;
    margin-bottom: 1rem;
    font-size: 1.02rem;
  }

  .speaker-name {
    margin-top: 1.2rem;
    font-weight: 600;
    color: #7f5af0;
    font-size: 0.95rem;
  }

  /* Place */
  .place { background: #fff; }

  .map-wrapper {
    margin-top: 2.5rem;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    height: 520px;
  }

  .map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }

  .place-details {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    color: #444;
  }

  .place-details svg {
    width: 22px;
    height: 22px;
    stroke: #ff5c5c;
    flex-shrink: 0;
  }

  /* Tickets */
  .tickets {
    background: linear-gradient(135deg, #111 0%, #2a1a3e 100%);
    color: #fff;
  }

  .tickets .section-title { color: #fff; }
  .tickets .section-title .line {
    background: linear-gradient(90deg, #ffd166, #ff9a3c);
  }

  .tickets-box {
    margin-top: 3rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    max-width: 720px;
    text-align: left;
  }

  .tickets-box p {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #e5e5e5;
  }

  .tickets-box p.price {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ffd166, #ff9a3c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 1.5rem;
  }

  footer {
    background: #0d0d0d;
    color: #888;
    text-align: center;
    padding: 2.5rem 1.5rem;
    font-size: 0.9rem;
  }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 900px) {
    .meetup-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .meetup-elephant { max-width: 200px; }
    .talk { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.8rem; }
    .speaker-photo { max-width: 200px; }
    .map-wrapper { height: 400px; }
    .tickets-box { padding: 2rem 1.5rem; }
    .tickets-box p { font-size: 1.1rem; }
    .tickets-box p.price { font-size: 1.3rem; }
    section { padding: 4rem 1.5rem; }
    .meetup { padding: 2rem 1.5rem; }
  }

  @media (max-width: 600px) {
    .carousel { height: 44vh; min-height: 260px; }
    .meta { flex-direction: column; gap: 0.3rem; }
  }