/* === Custom hero styles ONLY for Baku 2025 === */
body.postid-9167 .hero-title,
body.postid-9233 .hero-title,
body.postid-9236 .hero-title {
  color: #4285F4;
  font-weight: 800;
  font-size: 36px;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 0 8px rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.6);
  -webkit-text-stroke: 0.3px rgba(0, 0, 0, 0.3);
  padding-right: 1rem;
  border-radius: 12px;
  display: inline-block;
  backdrop-filter: blur(6px);
}

body.postid-9167 .hero_subtitle,
body.postid-9233 .hero_subtitle,
body.postid-9236 .hero_subtitle {
  font-weight: 600;
  color: #00B140;
  -webkit-text-stroke: 0.3px rgba(0, 0, 0, 0.3);
}

body.postid-9167 .hero-left p:nth-of-type(3),
body.postid-9233 .hero-left p:nth-of-type(3),
body.postid-9236 .hero-left p:nth-of-type(3) {
  font-weight: 800;
  color: #00B140;
  -webkit-text-stroke: 0.3px rgba(0, 0, 0, 0.3);
}

body.postid-9167 .hero-left p:nth-of-type(4),
body.postid-9233 .hero-left p:nth-of-type(4),
body.postid-9236 .hero-left p:nth-of-type(4) {
  font-weight: 800;
  color: #F4B400;
  -webkit-text-stroke: 0.3px rgba(0, 0, 0, 0.3);
}

body.postid-9167 .hero-left p:nth-of-type(5),
body.postid-9233 .hero-left p:nth-of-type(5),
body.postid-9236 .hero-left p:nth-of-type(5) {
  font-weight: 800;
  color: #EA4335;
  -webkit-text-stroke: 0.3px rgba(0, 0, 0, 0.3);
}

body.postid-9167 .webinar-countdown,
body.postid-9233 .webinar-countdown,
body.postid-9236 .webinar-countdown {
  color: #00B140;
}

body.postid-9167 .countdown-label,
body.postid-9233 .countdown-label,
body.postid-9236 .countdown-label {
  color: #4285F4;
}

@media (max-width: 768px) {
  body.postid-9167 .hero-left p:nth-of-type(2),
  body.postid-9233 .hero-left p:nth-of-type(2),
  body.postid-9236 .hero-left p:nth-of-type(2) {
    font-weight: 800;
    -webkit-text-stroke: 0.3px rgba(0, 0, 0, 0.3);
    color: #00B140;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    margin-bottom: 0.5rem;
  }

  body.postid-9167 .hero-left p:nth-of-type(3),
  body.postid-9233 .hero-left p:nth-of-type(3),
  body.postid-9236 .hero-left p:nth-of-type(3) {
    font-weight: 800;
    color: #F4B400;
    -webkit-text-stroke: 0.3px rgba(0, 0, 0, 0.3);
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    margin-bottom: 0.5rem;
  }

  body.postid-9167 .hero-left p:nth-of-type(4),
  body.postid-9233 .hero-left p:nth-of-type(4),
  body.postid-9236 .hero-left p:nth-of-type(4) {
    font-weight: 800;
    color: #EA4335;
    -webkit-text-stroke: 0.3px rgba(0, 0, 0, 0.3);
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  }

  body.postid-9167 .hero_subtitle,
  body.postid-9233 .hero_subtitle,
  body.postid-9236 .hero_subtitle {
    font-weight: 600;
    color: #00B140;
    -webkit-text-stroke: 0.3px rgba(0, 0, 0, 0.3);
  }
}

/* === Custom hero styles ONLY for Nutanix 101  === */

 body.postid-9305 .countdown-label,
 body.postid-9302 .countdown-label,
 body.postid-9256 .countdown-label {
  color: #8347FF;
}

 body.postid-9305 .hero-title,
 body.postid-9302 .hero-title,
 body.postid-9256 .hero-title {
  max-width: 70%;
  font-weight: 800;
  font-size: 36px;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 0 8px rgba(255, 255, 255, 0.2);
}

 body.postid-9305 .hero-left p,
 body.postid-9302 .hero-left p,
 body.postid-9256 .hero-left p {
  font-weight: 800;
}

/* ===== Hero Section - Mobile First ===== */
.webinar-hero {
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  position: relative;
  font-weight: 600;
  color: #003857;
  -webkit-text-stroke: 0.3px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  margin: 0 auto;
}

/* Container for all content */
.hero-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-logos {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.hero-logo {
  height: 32px;
  object-fit: contain;
}

.hero-logo.partner {
  height: 28px;
}

#mm-0 > div.content-area > section.webinar-hero > div > div.hero-logos > img:nth-child(1){
  align-self: flex-start;
}

#mm-0 > div.content-area > section.webinar-hero > div > div.hero-logos > img.hero-logo.partner{
  align-self: flex-end;
}

.hero-content-wrap{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Countdown heading */
.countdown-heading {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #003857;
  text-align: right;
  margin-bottom: 8px;
  letter-spacing: 0.8px;
  opacity: 0.85;
}

/* Countdown container */
.webinar-countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  color: #003857;
  padding: 20px 32px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 20px rgba(0, 56, 72, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: fit-content;
  margin-left: auto;
  margin-top: 16px;
  transform: translateY(0);
  animation: float-up 1.2s ease-out forwards;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

.countdown-value {
  font-size: 42px;
  font-weight: 800;
  text-shadow: 0 0 6px rgba(1, 144, 171, 0.6), 0 0 12px rgba(1, 144, 171, 0.4);
  letter-spacing: 1px;
}

.countdown-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #0190AB;
  opacity: 0.9;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* Optional subtle entrance animation */
@keyframes float-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===== Tablet and up ===== */
@media (min-width: 768px) {
  .webinar-hero {
    max-width: 1440px;
    margin: 0 auto;
    padding: 25px 40px;
  }

  .hero-logos{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .hero-logo {
    height: 40px;
  }

  .hero-logo.partner {
    height: 32px;
  }

  .hero-content-wrap{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .hero-right{
    padding-top: 50px;
  }

  .countdown-heading {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .countdown-value {
    font-size: 36px;
  }

  .countdown-label {
    font-size: 12px;
  }
}

/* ===== Desktop and up ===== */
@media (min-width: 1024px) {
  .countdown-value {
    font-size: 40px;
  }

  .countdown-label {
    font-size: 13px;
  }
}



/* ===== Meta Section (Tags + Author) ===== */
.webinar-meta {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 20px;
  max-width: 1440px;
  margin: 0 auto;
}

.webinar-meta-tags{
  align-self: center;
}

.webinar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.webinar-tag {
  display: inline-block;
  background-color: #e0f4f7;
  color: #0190AB;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.webinar-tag:hover {
  background-color: #0190AB;
  color: #fff;
}

#mm-0 > div.content-area > section.webinar-meta > div.webinar-meta-author > div{
  padding: 0px;
}

.webinar-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.webinar-author-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.webinar-author-name {
  font-weight: 600;
  font-size: 14px;
  color: #003857;
}

/* Tablet and up */
@media (min-width: 768px) {
  .webinar-meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
  }
}

/* BG wrapper */

.webinar-content-wrapper {
  background: linear-gradient(135deg, #e6fafd 0%, #ffffff 100%);
  border-radius: 40px;
  box-shadow: 0 20px 100px rgba(0, 168, 255, 0.08);
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.webinar-content-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 242, 255, 0.07), transparent 80%);
  pointer-events: none;
  z-index: -1;
}


/* About + Form Section */

.neon-section {
  max-width: 1440px;
  margin: 0 auto;
  border-radius: 25px;
  padding: 40px;
  position: relative;
}

/* Основна секція */
.webinar-about-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (min-width: 1024px) {
  .webinar-about-grid {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
  }
}
.webinar-about-text {
  flex: 1;
  background: white;
  border-radius: 24px;
  padding: 30px;
  font-size: 18px;
  color: #003857;
  line-height: 1.8;
  box-shadow: 0 6px 30px rgba(1, 144, 171, 0.1);
}
.webinar-about-form {
  border-radius: 25px;
  flex: 0 0 440px;
  box-shadow: 0 10px 60px rgba(1, 144, 171, 0.12);
}

.glass-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px 30px;
  box-shadow: 0 8px 60px rgba(1, 144, 171, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 1;
}

/* Glow wrapper around the form */
.form-glow-wrap {
  position: relative;
  border-radius: 28px;
  padding: 36px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 216, 255, 0.15), 0 4px 10px rgba(0, 0, 0, 0.03);
}

.form-title {
  font-size: 22px;
  text-align: center;
  color: #003857;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.form-title::after {
  content: '';
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: #00f2e0;
  margin: 10px auto 0;
  display: block;
  box-shadow: 0 0 10px #00f2e0, 0 0 20px #00f2e0;
}

.webinar-about-form .webinarform-col input,
.webinar-about-form .webinarform-col select,
.webinar-about-form .webinarform-col textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  color: #003857;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(0, 168, 255, 0.25);
  transition: box-shadow 0.2s ease;
  margin-bottom: 16px;
}
.webinar-about-form .webinarform-col input:focus,
.webinar-about-form .webinarform-col select:focus,
.webinar-about-form .webinarform-col textarea:focus {
  box-shadow: inset 0 0 0 2px #00d3ff, 0 0 8px rgba(0, 242, 255, 0.25);
  outline: none;
}
.webinar-about-form input[type="submit"],
.webinar-about-form .wpcf7-submit,
.webinar-register-btn {
  display: block;
  width: 100%;
  padding: 12px;
  font-weight: 500;
  font-size: 15px;
  color: #fff;
  border: none;
  border-radius: 25px;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(90deg, #00bcd4, #00e6e6);
  box-shadow: 0 0 10px #00f2e0, 0 0 25px rgba(0, 242, 255, 0.3);
  cursor: pointer;
  transition: 0.3s ease;
}
.webinar-about-form input[type="submit"]:hover,
.webinar-register-btn:hover {
  background: #00c7cd;
  box-shadow: 0 0 15px #00f2e0, 0 0 30px rgba(0, 242, 255, 0.4);
}

.webinar-about-form .webinarform-consent {
  text-align: center;
  font-size: 12px;
  color: #003857;
  opacity: 0.85;
  line-height: 1.4;
  margin-bottom: 20px;
}

.webinarform-consent > label > span > a{
  text-decoration: underline;
  color: #003857;

}

/* Speakers Section */
.webinar-speakers.neon-section {
  padding: 0px 40px;
  text-align: center;
}

/* Title */
.section-title {
  font-size: 28px;
  color: #003857;
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.section-title::after {
  content: "";
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: #00f2e0;
  display: block;
  margin: 12px auto 0;
  box-shadow: 0 0 10px #00f2e0, 0 0 20px #00f2e0;
}

/* Responsive Flex instead of Grid */
.speakers-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}

/* Glow wrapper */
.speaker-glow-wrap {
  position: relative;
  padding: 12px;
  border-radius: 30px;
  background: linear-gradient(135deg, #e0fcff, #f5ffff);
  box-shadow: 0 25px 70px rgba(0, 216, 255, 0.18),
              0 10px 20px rgba(0, 0, 0, 0.04);
  width: 100%;
  max-width: 680px;
}

.speaker-glow-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: radial-gradient(circle at 50% 20%, rgba(0, 242, 255, 0.15), transparent 70%);
  filter: blur(50px);
  z-index: -1;
}

/* Card */
.speaker-card.horizontal {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(18px);
  padding: 24px;
  box-shadow: 0 8px 50px rgba(1, 144, 171, 0.18);
  width: 100%;
  max-width: 640px;
}

/* ===== Inside Card Structure ===== */
.speaker-left {
  text-align: center;
  margin-bottom: 20px;
  width: 100%;
}

.speaker-photo-wrap {
  margin-bottom: 12px;
}
.speaker-photo {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #00f2e0;
  box-shadow: 0 0 12px rgba(0, 242, 255, 0.4);
}
.speaker-name {
  font-size: 1rem;
  font-weight: 700;
  color: #003857;
  margin: 0;
  line-height: 1.4;
}

.speaker-right {
  text-align: center;
  width: 100%;
}
.speaker-position {
  font-size: 0.95rem;
  color: #003857;
  opacity: 0.9;
  margin-bottom: 6px;
  font-weight: 500;
  line-height: 1.4;
}
.speaker-bio {
  font-size: 0.85rem;
  color: #444;
  opacity: 0.75;
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto;
}

/* ===== Tablet & Desktop layout ===== */
@media (min-width: 768px) {
  .speakers-grid {
    flex-direction: row;
  }
  
  .speaker-card.horizontal {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    text-align: left;
  }

  .speaker-left {
    width: 160px;
    flex-shrink: 0;
    text-align: center;
  }

  .speaker-right {
    flex-grow: 1;
    width: auto;
    text-align: left;
    padding-top: 10px;
  }

  .speaker-bio {
    margin: 0;
  }
}
