/* ----------------------
   1. BLOG BASICS & LAYOUT
   ---------------------- */


/* Blog section styling */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Tab styling */
.blog-tabs-container {
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 2rem;
}

.blog-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.blog-tabs::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari/Opera */
}

.blog-card a {
  color: #333;
}

.tab-link {
  padding: 0.8rem 1.5rem;
  color: #555;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tab-link:hover {
  color: #E80027;
}

.tab-link.active {
  color: #E80027;
  border-bottom: 3px solid #E80027;
}

/* Blog card grid */
.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

@media (max-width: 768px) {
  .blog-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Blog card styling */
.blog-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 2rem;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-image {
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: #333;
  line-height: 1.4;
}

.blog-card-excerpt {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.read-more {
  color: #E80027;
  font-weight: 600;
  display: inline-block;
  position: relative;
}

.read-more:after {
  content: "→";
  margin-left: 0.25rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.blog-card:hover .read-more:after {
  transform: translateX(4px);
}

/* Tab content */
.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Coming soon styling */
.coming-soon {
  grid-column: 1 / -1;
  padding: 3rem;
  background: linear-gradient(45deg, #f8f8f8, #ffffff);
  border: 1px dashed #ddd;
}

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

/* Featured section styling */
body {
  background-color: var(--color-blog-bg-dark);

}

.featured-section {

  padding: 3rem 0;
  margin-bottom: 2rem;
}

.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

@media (max-width: 992px) {
  .featured-article {
    grid-template-columns: 1fr;
  }
}

.featured-content {
  padding: 3rem;
}

@media (max-width: 768px) {
  .featured-content {
    padding: 2rem 1.5rem;
  }
}

.featured-tag {
  display: inline-block;
  background-color: #FFF5F6;
  color: #E80027;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.featured-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #1A1A1A;
}

@media (max-width: 768px) {
  .featured-title {
    font-size: 1.875rem;
  }
}

.accent-text {
  color: #E80027;
  position: relative;
  display: inline-block;
}

.accent-text:after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #E80027;
  border-radius: 2px;
}

.featured-excerpt {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 2rem;
  max-width: 560px;
}

.featured-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background-color: #E80027;
  color: white;
  border: 2px solid #E80027;
}

.btn-primary:hover {
  background-color: #D10022;
  border-color: #D10022;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 0, 39, 0.2);
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: #1A1A1A;
  border: 2px solid #E1E1E1;
}

.btn-outline:hover {
  background-color: #F8F8F8;
  border-color: #D1D1D1;
  transform: translateY(-2px);
}

.featured-image {
  height: 100%;
}

.image-wrapper {
  position: relative;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
}

@media (max-width: 992px) {
  .image-wrapper {
    min-height: 300px;
  }
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.featured-article:hover .image-wrapper img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
}

@media (max-width: 992px) {
  .image-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
  }
}



#blogs {
  background-color: var(--color-blog-bg-dark);
  color: var(--color-blog-text);
}

#blogs .article {
  background-color: var(--color-blog-bg);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* Main article image */
.article-main-img-wrapper {
  margin-bottom: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

#main-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ----------------------
     2. TYPOGRAPHY
     ---------------------- */
/* Headings */
#blogs .article h1 {
  color: var(--color-blog-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--spacing-md);
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: var(--spacing-sm);
}

#blogs .article h2 {
  color: var(--color-blog-heading);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-top: var(--spacing-lg);
}

#blogs .article h3 {
  color: var(--color-blog-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
}

/* Paragraphs & Links */
#blogs .article p {
  color: var(--color-blog-text);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.article-content a {
  color: var(--color-secondary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.article-content a:hover {
  color: #b10000;
  text-decoration-thickness: 2px;
}

.related-articles a {
  color: var(--color-secondary);
}

/* Lists */
.article-list {
  color: var(--color-blog-text);
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-md);
}

.article-list li {
  margin-bottom: var(--spacing-xs);
  line-height: 1.6;
}

/* ----------------------
     3. ARTICLE COMPONENTS
     ---------------------- */
/* Article metadata */
.article-meta {
  display: flex;
  justify-content: space-between;
  color: var(--color-blog-caption);
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-sm);
  border-bottom: 1px solid #eaeaea;
  padding-bottom: var(--spacing-sm);
}

.article-author {
  font-weight: 600;
}

.article-date {
  font-style: italic;
}

/* Add drop cap styling */
.large-letter {
  float: left;
  font-size: 3em;
  line-height: 0.8;
  margin-right: 0.1em;
  margin-top: 0.1em;
  color: #E80027;
  font-family: 'Concert One', sans-serif;
}

/* Quote styling */
#blogs .article blockquote {
  background-color: #f5f5f5;
  border-left: 5px solid var(--color-secondary);
  padding: var(--spacing-md);
  margin: var(--spacing-md) 0;
  font-style: italic;
  color: #555555;
}

.user-testimonial {
  background-color: #f5f5f5;
  border-left: 5px solid var(--color-secondary);
  padding: var(--spacing-md);
  margin: var(--spacing-md) 0;
  border-radius: var(--border-radius-sm);
}

.user-testimonial p {
  margin-bottom: var(--spacing-xs) !important;
}

.testimonial-author {
  color: var(--color-blog-caption);
  font-style: italic;
  text-align: right;
}

/* Special content boxes */
.solution-box,
.proof-concept-box,
.investment-highlight {
  background-color: #f9f9f9;
  border: 1px solid #eaeaea;
  border-left: 5px solid var(--color-primary);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-sm);
  margin: var(--spacing-md) 0;
}

.solution-box h3,
.proof-concept-box h3,
.investment-highlight h3 {
  color: var(--color-blog-heading);
  margin-top: 0;
  margin-bottom: var(--spacing-xs);
}

/* CTA section */
.article-cta {
  background-color: #f5f5f5;
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  text-align: center;
  margin: var(--spacing-lg) 0;
}

.article-cta h2 {
  color: var(--color-blog-heading);
  margin-bottom: var(--spacing-md);
}

/* ----------------------
     4. RELATED ARTICLES
     ---------------------- */
.related-articles {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid #eaeaea;
  max-width: 920px;
  margin-bottom: 2rem;
}


.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.related-article {
  background-color: white;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-article img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.related-article h3 {
  padding: var(--spacing-sm);
  margin: 0;
  font-size: var(--font-size-md);
  color: var(--color-blog-heading);
}

/* ----------------------
     5. COMMENTS SECTION
     ---------------------- */
#comment-section {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid #eaeaea;
}

.comment-box {
  background-color: white;
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comment {
  background-color: #f9f9f9;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  border-radius: var(--border-radius-sm);
  border-left: 3px solid var(--color-primary);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
}

.comment-date {
  color: var(--color-blog-caption);
  font-size: var(--font-size-sm);
}

.comment-submit-btn {
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  border: none;
  border-radius: var(--border-radius-sm);
  padding: var(--spacing-xs) var(--spacing-md);
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.comment-submit-btn:hover {
  background-color: #e6c200;
}
/* ----------------------
     6. VIDEO STYLES
     ---------------------- */
     
     .video-fullscreen {
       position: fixed;
       top: 0;
       left: 0;
       width: 100vw;
       height: 100vh;
       z-index: 9999;
       background-color: #000;
       object-fit: contain;
     }
     video:focus {
      outline: none !important;
    }
    
     .video-container-fullscreen {
       position: fixed;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       z-index: 9998;
       background-color: #000;
       display: flex;
       justify-content: center;
       align-items: center;
     }
     
     
     /* Hide play button in fullscreen mode */
     .video-fullscreen + .play-btn {
       display: none !important;
     }
   

/* ----------------------
     7. RESPONSIVE STYLES
     ---------------------- */
@media (max-width: 768px) {
  #blogs .article {
    padding: 0;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .article-meta {
    flex-direction: column;
  }

  .article-date {
    margin-top: var(--spacing-xs);
  }
}


/* Custom styles for this article */
#myVideo {
  max-width: 100%;
}

.creator-profile {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid #E80027;
}

.creator-stats {
  list-style-type: none;
  padding-left: 0;
  margin-top: 1rem;
}

.creator-stats li {
  margin-bottom: 0.5rem;
}

.creator-quote {
  font-size: 1.1rem;
  line-height: 1.6;
  font-style: italic;
  border-left: 3px solid #E80027;
  padding-left: 1rem;
  color: #333;
}

.highlight-box {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.journey-timeline {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.journey-title {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333;
}

.journey-step {
  display: flex;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.journey-step:last-child {
  margin-bottom: 0;
}

.step-number {
  background-color: #E80027;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.step-content {
  margin-left: 1rem;
}

.step-content h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #333;
}

.step-content p {
  margin: 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.impact-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-top: 3px solid #E80027;
  height: 100%;
}

.impact-item h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  color: #333;
}

.impact-item p {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }
}