/**
 * Assessment Template Stylesheet
 * Dedicated styles for the assessment page template
 */

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

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

.assessment-template-wrapper .assessment-main {
  padding: 0;
  margin: 0;
  margin-top: 68px;
  padding: 0;
}

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

.assessment-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;
}

.black {
  background-color: var(--black);
}

.dark-grey {
  background-color: var(--gunmetal);
}

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

h4 {
  font-family: 'Inter', Inter, Arial, sans-serif;
  font-weight: 400;
}

h4.white {
  color: var(--white);
}

p.white {
  color: var(--white);
}


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

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

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

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

.assessment-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;
}

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

.assessment-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: var(--gunmetal);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

.assessment-form-heading {
  font-family: 'Lora', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--almostwhite);
  margin-bottom: 15px;
}

.assessment-form-subheading {
  font-size: 14px;
  color: var(--almostwhite);
  margin-bottom: 25px;
  line-height: 1.5;
}

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

.hs_lastname,
.hs_jobtitle {
  float: right;
}

.hs_email {
  float: none;
  width: 100%;
  clear: both;
}

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

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

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

.assessment-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;
}

.assessment-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;
}

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

.assessment-hero-right .hs-button {
  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;
}

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

.assessment-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;
}

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

/* ==========================================================================
   Body Content Section
   ========================================================================== */
.assessment-body-content {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Default section styling */
.assessment-body-content section {
  padding: 80px 0;
}

/* Alternating background colors */
.assessment-body-content section.grey {
  background: var(--grey);
}

.assessment-body-content section.white {
  background-color: var(--almostwhite);
  padding: 80px 0;
  
}

.assessment-body-content section.white h3,
.assessment-body-content section.grey h3 {
  font-family: 'Lora', serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 24px;
}

/* Container for content sections */
.assessment-body-content .container {
  margin: 0 auto;
  padding: 0 15px;
}

/* Headings */
.assessment-body-content h2 {
  font-family: 'Lora', serif;
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 30px;
  color: var(--gunmetal);
}

/* Paragraphs */
.assessment-body-content p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--paragraph);
  margin-bottom: 20px;
}

/* Lists */
.assessment-body-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0 1.25rem;
}

.assessment-body-content ul li {
  position: relative;
  padding-left: 0.25rem;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--paragraph);
  display: list-item;
  list-style-type: square;
}

/* Ordered lists */
.assessment-body-content ol {
  margin: 20px 0;
  padding-left: 40px;
  max-width: 900px;
}

.assessment-body-content ol li {
  font-size: 18px;
  line-height: 1.8;
  color: var(--paragraph);
  margin-bottom: 15px;
}

/* Links */
.assessment-body-content a {
  color: var(--gold);
  text-decoration: underline;
}

.assessment-body-content a:hover {
  color: var(--gunmetal);
}

/* Buttons/CTAs */
.assessment-body-content .btn,
.assessment-body-content .button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--gold);
  color: #000000;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0;
  transition: background 0.3s ease, transform 0.2s ease;
  text-transform: none;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
}

.assessment-body-content .btn:hover,
.assessment-body-content .button:hover {
  background: #f0f0f0;
  color: #000000;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Special styling for dark background sections */
.assessment-body-content .dark-section {
  background: url('/wp-content/themes/Armor-BW/assets/images/2026-background-webinar.jpg') center center no-repeat;
  background-size: cover;
  position: relative;
  color: var(--almostwhite);
}

.assessment-body-content .dark-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(49, 49, 68, 0.95) 0%, rgba(50, 50, 50, 0.85) 100%);
  z-index: 1;
}

.assessment-body-content .dark-section .container {
  position: relative;
  z-index: 2;
}

.assessment-body-content .dark-section h2,
.assessment-body-content .dark-section h3,
.assessment-body-content .dark-section p,
.assessment-body-content .dark-section li {
  color: var(--almostwhite);
}

/* Center aligned sections */
.assessment-body-content .text-center {
  text-align: center;
}

.assessment-body-content .text-center p,
.assessment-body-content .text-center ul,
.assessment-body-content .text-center ol {
  margin-left: auto;
  margin-right: auto;
}

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

@media (max-width: 1199px) {
  .assessment-hero {
    padding: 40px 0;
  }
}

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

  .assessment-hero-right {
    flex: 1;
    width: 100%;
    margin-top: 40px;
  }

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

  .hs_firstname,
  .hs_lastname,
  .hs_jobtitle,
  .hs_company {
    float: none;
    width: 100%;
  }
}

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

  .assessment-title {
    font-size: 32px;
  }

  .assessment-description {
    font-size: 16px;
  }

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

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

  .assessment-body-content h2 {
    font-size: 32px;
  }

  .assessment-body-content h3 {
    font-size: 24px;
  }

  .assessment-body-content p,
  .assessment-body-content ul li,
  .assessment-body-content ol li {
    font-size: 16px;
  }

  .assessment-body-content section {
    padding: 60px 0;
  }

  .assessment-body-content .btn,
  .assessment-body-content .button {
    padding: 15px 35px;
    font-size: 16px;
  }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
  .assessment-hero-right {
    display: none;
  }

  .assessment-cta::before {
    display: none;
  }
}
