/**
 * Blog Template Stylesheet
 * Dedicated styles for the blog post page template
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
  --white: #fff;
  --almostwhite: #F0F0F0;
  --grey: #d9d9d9;
  --paragraph: #3d3d3d;
  --gunmetal: #323232;
  --cite: #c1c1c1;
  --black: #000;
  --gold: #e1b753;
  --purple: #313144;
}

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

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

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

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

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

/* ==========================================================================
   Blog Hero Section
   ========================================================================== */
.blog-hero {
  background: linear-gradient(#05050500 0%,#05050533 0%,#0003 65%,#050505 98%);
  position: relative;
}

.blog-hero-intro {
  background-color: var(--almostwhite);
  padding: 60px 0;
}

.blog-hero .container,
.blog-hero-intro .container {
max-width: 1350px;
margin: 0 auto;
padding: 0 25px;
}

@media(max-width: 1299px) {
  .blog-hero .container {
    padding:0;
  }
}

.blog-label {
  font-family: 'Geist Mono', 'Courier New', Courier, monospace;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.blog-title {
  font-family: 'Lora', serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
}

.blog-meta {
  font-size: 16px;
  color: var(--almostwhite);
  margin-bottom: 0;
}

.blog-meta .separator {
  margin: 0 8px;
}

.blog-intro {
  font-size: 18px;
  line-height: 1.7;
  color: var(--paragraph);
  margin-bottom: 32px;
}

.blog-intro p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 16px;
}

.blog-intro a {
  color: var(--paragraph);
  text-decoration: underline;
}

.blog-intro a:hover {
  color: var(--black);
}

/* ==========================================================================
   Feature Cards Grid
   ========================================================================== */
.feature-cards-section {
  background-color: var(--almostwhite);
  padding: 0 0 80px;
}

.feature-cards-section .container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 25px;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ==========================================================================
   Feature Card Component
   ========================================================================== */
.feature-card {
  border: 1px solid var(--grey);
  background-color: transparent;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature-card--image {
  padding: 0;
  overflow: hidden;
}

.feature-card--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-card__label {
  background-color: var(--grey);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--paragraph);
  padding: 5px;
  text-transform: uppercase;
  text-align: right;
}

.feature-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--black);
  margin: 30px 0;
  padding-bottom: 0;
}

.feature-card__subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--paragraph);
  text-decoration: none;
  text-transform: uppercase;
  margin-bottom: 0;
}

.feature-card__highlight {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--black);
  margin: 0 0 20px;
}

.feature-card__body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--paragraph);
}

.feature-card__body p {
  margin: 0;
}

/* ==========================================================================
   Blog Quote Section
   ========================================================================== */
.blog-quote-section {
  background-color: var(--paragraph);
  padding: 80px 0;
}

.blog-quote-section .container {
  margin: 0 auto;
}

.blog-quote {
  position: relative;
}

.blog-quote__mark {
  font-family: 'Lora', serif;
  font-size: 72px;
  color: var(--white);
  line-height: 1;
  margin-bottom: -20px;
  display: block;
}

.blog-quote__text {
  font-family: 'Lora', serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 24px;
}

.blog-quote__attribution {
  font-size: 16px;
  color: var(--cite);
  font-style: normal;
  font-weight: 400;
}

/* ==========================================================================
   Blog Content Section
   ========================================================================== */
.blog-content-section {
  background-color: var(--almostwhite);
  padding: 80px 0;
}

.blog-content-section .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-content-section__title {
  font-family: 'Lora', serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 24px;
}

.blog-content-section__intro {
  font-size: 16px;
  line-height: 1.7;
  color: var(--paragraph);
  margin-bottom: 24px;
  max-width: 900px;
}

.blog-content-section__list {
  list-style: none;
  padding: 0;
  margin: 0 0 0 1.25rem;
}

.blog-content-section__list 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;
}

.blog-content-section__footer {
  font-size: 16px;
  line-height: 1.7;
  color: var(--paragraph);
}

.blog-content-section__footer strong {
  font-weight: 600;
}

/* ==========================================================================
   Blog CTA Section
   ========================================================================== */
.blog-cta-section {
  background-color: var(--grey);
  padding: 80px 0;
}

.blog-cta-section .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-cta__title,
.blog-hero__title {
  font-family: 'Lora', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 24px;
  line-height: 38px;
}

.blog-cta__content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--paragraph);
  margin-bottom: 32px;
}

.blog-cta__content p {
  line-height: 24px;
  margin-bottom: 16px;
}

.blog-cta__content p:last-child {
  margin-bottom: 0;
}

.blog-cta__content strong {
  font-weight: 600;
}

.blog-cta__button {
  display: inline-block;
  padding: 9px 14px;
  background-color: var(--black);
  color: var(--white);
  border: none;
  border-radius: 0;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease;
}

.blog-cta__button:visited {
  color: var(--white);
}

.blog-cta__button:hover {
  background-color: var(--white);
  color: var(--gunmetal);
  text-decoration: none;
}

/* ==========================================================================
   Button Arrow Icon
   ========================================================================== */
.button-arrow {
  position: relative;
  padding-right: 40px;
}

.button-arrow::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 0 10 L 10 0' fill='transparent' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' stroke='rgb(0,0,0)' transform='translate(7 7)'/%3E%3Cpath d='M 0 0 L 10 0 L 10 10' fill='transparent' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' stroke='rgb(0,0,0)' transform='translate(7 7)'/%3E%3C/svg%3E") no-repeat center / contain;
  background-color: currentColor;
  transition: transform 0.3s ease;
}

.button-arrow:hover::after {
  transform: translateY(-50%) translateX(4px);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
 .blog-hero {
    flex-flow: column;
    place-content: center flex-end;
    align-items: center;
    gap: 10px;
    height: min-content;
    padding: 125px 25px 40px;
    display: flex;
    position: relative;
    overflow: visible;
  }

@media (max-width: 991px) {
  .blog-title {
    font-size: 36px;
  }

  .feature-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card__title {
    font-size: 24px;
    padding-right: 60px;
  }

  .blog-quote__text {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  /* .blog-hero {
    padding: 40px 0 30px;
  } */

  .blog-title,
  .blog-cta__title,
  .blog-hero__title {
    font-size: 28px;
  }

  .blog-intro {
    font-size: 16px;
  }

  .feature-card {
    padding: 30px;
  }

  .feature-card__label {
    top: 20px;
    right: 20px;
  }

  .feature-card__title {
    font-size: 22px;
    padding-right: 50px;
  }

  .blog-quote-section {
    padding: 60px 0;
  }

  .blog-quote-section .container {
    padding: 0 20px;
  }

  .blog-quote__text {
    font-size: 18px;
  }

  .blog-content-section,
  .blog-cta-section {
    padding: 60px 0;
  }

  .blog-content-section__title,
  .blog-cta__title {
    font-size: 26px;
  }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
  .blog-cta-section {
    display: none;
  }
}
