/**
 * Blog Interior Styles
 * 
 * Custom styles for single blog post pages.
 * Matches Figma blog interior design.
 * 
 * NOTE: This is a compiled fallback. Source is in:
 * assets/src/scss/components/_blog-interior.scss
 */

/* ==========================================================================
   Blog Interior Layout
   ========================================================================== */

.blog-interior.post {
  padding: 0;
  margin: 0;
}

.blog-interior__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 30px 80px;
}

.blog-interior__content {
  max-width: 800px;
}

.blog-interior__header {
  margin-bottom: 40px;
}

/* Category Badge */
.blog-interior__category {
  display: inline-block;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #0BA5A0;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.blog-interior__title {
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.25;
  color: #000000;
  margin: 0 0 16px;
}

@media (min-width: 768px) {
  .blog-interior__title {
    font-size: 42px;
  }
}

/* Post Meta / Date */
.blog-interior__meta {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e5e5e5;
}

.blog-interior__date {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  color: #666666;
}

/* Back to News Link */
.blog-interior__back {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e5e5e5;
}

.blog-interior__back-link {
  display: inline-flex;
  align-items: center;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #0BA5A0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-interior__back-link:hover {
  color: #098a86;
}

.cta-arrow--back::after {
  display: none;
}

/* Blog Interior Body Content */
.blog-interior__body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #000000;
}

@media (min-width: 768px) {
  .blog-interior__body {
    font-size: 17px;
  }
}

.blog-interior__body p {
  margin-bottom: 1.5em;
}

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

/* Section Subheads (h2) */
.blog-interior__body h2 {
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  color: #2f1d53;
  margin: 2em 0 1em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .blog-interior__body h2 {
    font-size: 32px;
  }
}

.blog-interior__body h2:first-child {
  margin-top: 0;
}

/* h3 Headings */
.blog-interior__body h3 {
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: #2f1d53;
  margin: 1.5em 0 0.75em;
}

@media (min-width: 768px) {
  .blog-interior__body h3 {
    font-size: 24px;
  }
}

/* h4 Headings */
.blog-interior__body h4 {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #000000;
  margin: 1.5em 0 0.75em;
}

/* Lists - Two Column Layout (per Figma) */
.blog-interior__body ul {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 40px;
}

@media (min-width: 600px) {
  .blog-interior__body ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-interior__body ul li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

.blog-interior__body ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #0BA5A0;
  font-weight: bold;
}

/* Ordered Lists - Single Column */
.blog-interior__body ol {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  counter-reset: item;
}

.blog-interior__body ol li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.6;
}

.blog-interior__body ol li::before {
  content: counter(item) ".";
  counter-increment: item;
  position: absolute;
  left: 0;
  color: #0BA5A0;
  font-weight: 600;
}

/* Links */
.blog-interior__body a {
  color: #0BA5A0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-interior__body a:hover {
  color: #098a86;
  text-decoration: underline;
}

/* CTA Links - Teal Uppercase with Arrow (per Figma) */
.blog-interior__body p.cta,
.blog-interior__body .cta-block {
  margin: 32px 0;
}

.blog-interior__body p.cta a,
.blog-interior__body .cta-block a {
  display: inline-flex;
  align-items: center;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0BA5A0;
  text-decoration: none;
}

.blog-interior__body p.cta a:hover,
.blog-interior__body .cta-block a:hover {
  color: #098a86;
  text-decoration: none;
}

.blog-interior__body p.cta a::after,
.blog-interior__body .cta-block a::after {
  content: "→";
  margin-left: 8px;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.blog-interior__body p.cta a:hover::after,
.blog-interior__body .cta-block a:hover::after {
  transform: translateX(4px);
}

/* Video Placeholder with Play Button (per Figma) */
.blog-interior__body .video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  margin: 32px 0 12px;
}

.blog-interior__body .video-placeholder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  margin: 0;
}

.blog-interior__body .video-placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.blog-interior__body .video-placeholder .play-button {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.blog-interior__body .video-placeholder .play-icon {
  width: 50px;
  height: 50px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-interior__body .video-placeholder .play-icon::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 4px;
}

.blog-interior__body .video-caption,
.blog-interior__body p.video-caption {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-style: italic;
  color: #888888;
  margin-top: 0;
  margin-bottom: 32px;
}

/* Blockquotes */
.blog-interior__body blockquote {
  margin: 2em 0;
  padding: 20px 30px;
  border-left: 4px solid #0BA5A0;
  background: rgba(11, 165, 160, 0.05);
  font-style: italic;
  font-size: 18px;
}

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

/* Images in content */
.blog-interior__body img {
  max-width: 100%;
  height: auto;
  margin: 1.5em 0;
}

.blog-interior__body figure {
  margin: 2em 0;
}

.blog-interior__body figure img {
  margin: 0;
}

.blog-interior__body figure figcaption {
  font-size: 14px;
  color: #666666;
  margin-top: 10px;
  font-style: italic;
}

/* Horizontal rules */
.blog-interior__body hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 2.5em 0;
}

.blog-interior__share {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e5e5e5;
}

.blog-interior__comments {
  margin-top: 60px;
}

/* ==========================================================================
   Blog Hero
   ========================================================================== */

.blog-hero {
  margin-bottom: 50px;
}

.blog-hero__image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.blog-hero__image {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 500px;
}

.blog-hero__caption-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 30px;
}

.blog-hero__caption {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #666666;
  font-style: italic;
  margin-top: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e5e5;
}

/* ==========================================================================
   Blog Meta
   ========================================================================== */

.blog-meta {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

.blog-meta__inner {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #666666;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.blog-meta__separator {
  color: #ccc;
}

.blog-meta__author-link,
.blog-meta__category-link,
.blog-meta__comments-link {
  color: #0BA5A0;
  text-decoration: none;
}

.blog-meta__author-link:hover,
.blog-meta__category-link:hover,
.blog-meta__comments-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Blog Author
   ========================================================================== */

.blog-author {
  margin-top: 50px;
  padding: 30px;
  background: #f8f8f8;
  border-radius: 4px;
}

.blog-author__title {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #2f1d53;
  margin: 0 0 20px;
}

.blog-author__title a {
  color: #0BA5A0;
  text-decoration: none;
}

.blog-author__title a:hover {
  text-decoration: underline;
}

.blog-author__content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

@media (max-width: 767px) {
  .blog-author__content {
    flex-direction: column;
  }
}

.blog-author__avatar {
  flex-shrink: 0;
}

.blog-author__avatar-img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
}

.blog-author__bio {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #000000;
}

.blog-author__bio p {
  margin: 0;
}

/* ==========================================================================
   Content Components
   ========================================================================== */

/* Two-Column List */
.list-two-col ul,
.list-two-col ol {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 40px;
}

@media (min-width: 768px) {
  .list-two-col ul,
  .list-two-col ol {
    grid-template-columns: repeat(2, 1fr);
  }
}

.list-two-col ul li,
.list-two-col ol li {
  margin-bottom: 0;
}

/* CTA Link with Arrow */
.cta-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0BA5A0 !important;
  text-decoration: none !important;
}

.cta-arrow::after {
  content: "→";
  font-size: 16px;
  transition: transform 0.2s ease;
}

.cta-arrow:hover {
  text-decoration: none !important;
}

.cta-arrow:hover::after {
  transform: translateX(4px);
}

/* Video Block */
.video-block {
  margin: 2em 0;
  position: relative;
}

.video-block__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: 4px;
}

.video-block__wrapper iframe,
.video-block__wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-block .video-caption,
.video-block__caption {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #666666;
  font-style: italic;
  margin-top: 12px;
  text-align: center;
}

/* Callout Box */
.callout-box {
  margin: 2em 0;
  padding: 25px 30px;
  background: linear-gradient(135deg, rgba(47, 29, 83, 0.05), rgba(11, 165, 160, 0.05));
  border-left: 4px solid #0BA5A0;
  border-radius: 0 4px 4px 0;
}

.callout-box h3,
.callout-box h4 {
  margin-top: 0;
  color: #2f1d53;
}

.callout-box p:last-child {
  margin-bottom: 0;
}

/* Figure with Caption */
.figure-caption {
  margin: 2em 0;
}

.figure-caption img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.figure-caption figcaption {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #666666;
  font-style: italic;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e5e5;
}

/* Full-width image break */
.full-width-image {
  margin: 3em -30px;
}

@media (min-width: 960px) {
  .full-width-image {
    margin-left: calc((100vw - 800px) / -2);
    margin-right: calc((100vw - 800px) / -2);
    width: 100vw;
  }
}

.full-width-image img {
  width: 100%;
  height: auto;
  margin: 0;
}
