/**
 * Webinar Template Stylesheet
 * Dedicated styles for the webinar page template
 */

/* ==========================================================================
   Webinar Template Wrapper
   ========================================================================== */
body.armor-resource-template-resource-webinar {
  background: url( '/wp-content/themes/Armor-BW/assets/images/2026-background-webinar.jpg') 0 0 no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.webinar-template-wrapper {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.webinar-template-wrapper .webinar-main {
  padding: 0;
  margin: 0;
}

.webinar-template-wrapper .webinar-content-wrapper {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.webinar-template-wrapper .entry-content {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

:root {
  --white: #fff;
  --almostwhite: #F0F0F0;
  --grey: #d9d9d9;
  --paragraph: #3d3d3d;
  --gunmetal: #323232;
  --black: #000;
  --gold: #e1b753;
  --purple: #313144;
}

footer {
  background-color: var(--black);
  margin-top: 90px;
}


/* ==========================================================================
   Hero Section
   ========================================================================== */
.webinar-hero {
  background-color: var(--almostwhite);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 600px;
  position: relative;
}

.webinar-hero .container {
  position: relative;
  z-index: 2;
}

.webinar-hero-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.webinar-hero-left {
  flex: 1;
  max-width: 600px;
}

.webinar-logo {
  margin-bottom: 30px;
}

.webinar-logo img {
  max-width: 120px;
  height: auto;
}

.webinar-label {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--gunmetal);
  text-transform: uppercase;
  margin-bottom: 20px;
  background-color: var(--grey);
  display: inline-block;
  padding: 5px 10px;
  border: 0;
}

.webinar-title {
  font-family: 'Lora', serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--gunmetal);
  margin-bottom: 20px;
}

.webinar-datetime {
  font-size: 24px;
  color: var(--gunmetal);
  margin-bottom: 0;
  font-weight: 200;
}

.webinar-description {
  font-size: 24px;
  line-height: 1.6;
  color: var(--paragraph);
}

.webinar-hero-right {
  background: var(--gunmetal);
  padding: 40px 30px;
  border-radius: 4px;
}

.webinar-hero-right h3 {
  display: none;
}

/* HubSpot Form Overrides */
.hs_firstname,
.hs_lastname,
.hs_email,
.hs_company,
.hs_company_website,
.hs_jobtitle {
  float: left;
  width: 48%;
}

.hs_lastname,
.hs_company_website,
.hs_jobtitle {
  float: right;
}

.legal-consent-container {
  color: var(--almostwhite);
  font-family: 'Inter';
  font-size: 10px;
  clear: both;
  line-height: 14px;
  clear: both;
}

.legal-consent-container a {
  color: var(--almostwhite);
  text-decoration: underline;
}

.webinar-hero-right .hs-form-field {
  margin-bottom: 20px;
}

.webinar-hero-right .hs-form label {
  color: var(--almostwhite);
  font-family: 'Inter';
  font-weight: 300;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.webinar-hero-right .hs-form .hs-input {
  width: 100%;
  height: calc(1.5em + 1rem + 2px);
  padding: .375rem .75rem;
  border: 0 none;
  background: var(--white);
  border-radius: 0;
  font-size: 14px;
}

.webinar-hero-right .hs-form .hs_email,
.webinar-hero-right .hs-form .hs_email .hs-input,
.webinar-hero-right .hs-form .hs_phone .hs-input {
  width: 100%;
}

.webinar-hero-right .hs-form .hs_email,
.webinar-hero-right .hs-form .hs_company,
.webinar-hero-right .hs-form .hs_microsoft_sponsor_email {
  clear: both;

}

.webinar-hero-right .hs-button {
  width: 48%;
  padding: 15px 30px;
  background: var(--gold);
  color: #000000;
  border: none;
  border-radius: 0;
  font-size: 16px;
  font-weight: 500;
  margin-top: 1.25rem;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0.5px;
  transition: background 0.3s ease;
}

.webinar-hero-right .hs-button:hover {
  background: #f0f0f0;
}

.webinar-hero-right .hs-form-required {
  color: #ff052b;
  font-size: .95rem;
  margin-left: .25rem;
  position: relative;
  top: -1px;
}

.hs-error-msgs {
  margin-left: 0;
  padding-left: 0;
}

.hs-error-msgs li {
  list-style: none;
}

.webinar-hero-right .hs-form label.hs-error-msg {
  font-size: 10px;
  text-transform: none;
}

/* ==========================================================================
   Agenda Highlights Section
   ========================================================================== */
.webinar-agenda {
  position: relative;
  padding: 80px 0;
  color: var(--almostwhite);
  background: linear-gradient(#05050500 0%,#05050533 0%,#0003 65%,#050505 98%);
}

.webinar-agenda .container {
  position: relative;
  z-index: 2;
}

.webinar-agenda h2 {
  font-family: 'Lora', serif;
  font-size: 42px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 50px;
  color: var(--almostwhite);
}

.agenda-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.agenda-item {
  text-align: center;
}

.agenda-item h3 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--almostwhite);
  margin: 0;
}

.agenda-runtime {
  text-align: center;
  font-size: 16px;
  font-style: italic;
  color: var(--almostwhite);
  opacity: 0.9;
}

/* ==========================================================================
   Speakers Section
   ========================================================================== */
.webinar-speakers {
  background: #f5f5f5;
  padding: 80px 0;
}

.webinar-speakers h2 {
  font-family: 'Lora', serif;
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 50px;
  color: #000000;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
}

.speaker-card {
  text-align: center;
}

.speaker-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: #d3d3d3;
  overflow: hidden;
}

.speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-name {
  font-family: 'Inter';
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
  color: #000000;
}

.speaker-title {
  font-size: 16px;
  color: #666666;
  margin-bottom: 4px;
}

.speaker-company {
  font-size: 16px;
  color: #666666;
  margin-bottom: 15px;
}

.speaker-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.speaker-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--black);
  border-radius: 50%;
  color: var(--almostwhite);
  transition: background 0.3s ease;
}

.speaker-social a:hover {
  background: #005885;
}

/* ==========================================================================
   FAQs Section
   ========================================================================== */
.webinar-faqs {
  background: var(--grey);
  padding: 80px 0;
}

.webinar-faqs h2 {
  font-family: 'Lora', serif;
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 40px;
  color: #000000;
}

.webinar-faqs .accordion {
  max-width: 900px;
}

.webinar-faqs .card {
  box-shadow: none;
  border: none;
  border-bottom: 0 none;
  margin-bottom: 0;
  background: transparent;
  border-radius: 0;
}

.webinar-faqs .card-header {
  background: transparent;
  border: none;
  padding: 0;
}

.webinar-faqs .card-header h3 {
  margin: 0;
}

.webinar-faqs .btn.btn-link {
  font-size: 24px;
  font-weight: 400;
  color: var(--gunmetal);
  font-family: 'Inter';
  background: transparent;
  border: none;
  padding: 20px 0;
  box-shadow: none;
  transition: all 0.3s ease-in-out;
  text-align: left;
  width: 100%;
  position: relative;
  text-decoration: none;
  text-transform: none;
  display: block;
}

.webinar-faqs .btn.btn-link:not(.collapsed) {
  background: transparent;
  color: #000000;
  box-shadow: none;
}

.webinar-faqs .btn.btn-link:focus {
  box-shadow: none;
  border: none;
  outline: none;
  text-decoration: none;
}

.webinar-faqs .btn.btn-link:hover {
  color: #2c3e50;
  text-decoration: none;
}

.webinar-faqs .btn.btn-link::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease-in-out;
}

.webinar-faqs .btn.btn-link:not(.collapsed)::after {
  transform: translateY(-50%) rotate(-180deg);
}

.webinar-faqs .collapse {
  transition: none;
}

.webinar-faqs .collapsing {
  transition: height 0.45s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.webinar-faqs .card-body {
  padding: 0 0 20px 0;
  font-size: 16px;
  line-height: 1.6;
  color: #666666;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (min-width: 1200px) {
  .webinar-hero {
    padding: 11.5rem 0 60px;
    }
}

@media (max-width: 1199px) {
  .agenda-items {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

  .speakers-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

  .webinar-hero {
    padding: 40px 0;
  }
}

@media (max-width: 991px) {
  .webinar-hero-content {
    flex-direction: column;
  }

  .webinar-hero-right {
    flex: 1;
    width: 100%;
  }

  .webinar-title {
    font-size: 36px;
  }

  .agenda-items {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  }

  .speakers-grid {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  }

  .hs_firstname,
  .hs_lastname,
  .hs_phone,
  .hs_jobtitle,
  .hs_company,
  .hs_company_website,
  .hs_partner_first_name,
  .hs_partner_last_name,
  .hs_partner_phone_number,
  .hs_partner_job_title,
  .hs_opportunity_company_name,
  .hs_opportunity_company_website,
  .hs_country {
    float: none;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .webinar-hero {
    padding: 40px 0;
    min-height: auto;
  }

  .webinar-title {
    font-size: 28px;
  }

  .webinar-description {
    font-size: 18px;
  }

  .webinar-hero-right {
    padding: 30px 20px;
  }

  .webinar-hero-right .hs-button {
    max-width: 100%;
  }

  .webinar-agenda h2,
  .webinar-speakers h2,
  .webinar-faqs h2 {
    font-size: 32px;
  }

  .agenda-items {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .speakers-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
  .webinar-hero::before,
  .webinar-agenda::before {
    display: none;
  }

  .webinar-hero-right {
    display: none;
  }
}
