*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Barlow", sans-serif;

}
ul li{
	list-style: none;
}
a{
	text-decoration: none;
}
a:hover{
	text-decoration: none!important;
}
li{
	list-style: none!important;
}

h1 {
	font-size: 40px!important;        
	font-weight: 700!important;       
	line-height: 1.2!important;
	margin-bottom: 10px!important;
  }

h2{
	font-size: 28px!important;
	font-weight: 600!important;
}
p{
	font-size: 22px;
}
.flex-center{
	display: flex;
	align-items: center;
}
.section-padding{
	width: 100%;
	display: flex;
	padding: 25px 0;
}
.light-green{
	background: #9ADAC9;
}

.light-green-color{
	color: #9ADAC9;;
}

.dark-blue{
	background: #001E44;
}

.color-red {
	background: #ED254E;
}

#hero{
	width: 100%;
	background:url(../images/hero.png) center center no-repeat;
	background-size: cover;
}

.container{
	max-width: 1350px;
}
.navbar-nav {
    width: 90%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.nav-item a{
	font-size: 14px;
	color: #030303;
	font-weight: 600;
	margin: 0 15px;
	
}

.nav-item a:hover{
	color: #000;
}

.social-icon{
	display: flex;
	margin: 0;
	margin-left: auto;
	padding: 0;
	align-items: center;
}
.social-icon li {
	margin-left: 15px;
}
.social-icon li a{
	color: #030303;
}
.hero-content {
    padding-top: 0;
    margin-bottom: 32px; /* keep some space below if needed */
}

.hero-content .video-container {
    padding-top: 15px;
}

.section-title{
	position: relative;
	margin-bottom: 30px;
}
.section-title h2{
	font-size: 32px;
	font-weight: 600;
	color: #333333;
	padding: 20px 0;
	border-bottom: 1px #E2E2E2 solid;
	text-transform: uppercase;
	margin-bottom: 20px;
}
.bar {
	width: 126px;
	height: 5px;
	position: absolute;
	bottom: 0;
}

.newsletter{
	display: flex;
	justify-content: center;
}

.blog-box ul li{
	margin-bottom: 10px;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
	max-width: 100%;
	/*background: #000;*/
	margin: 0 auto;
}
.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

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

.checklist {
	list-style-type: none;
	padding-left: 0;
}

.checklist li {
	padding-left: 30px;
	position: relative;
}

.checklist li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	background-image: url('../images/check-mark.png');
	background-size: contain;
	background-repeat: no-repeat;
}

.subscribe-note {
	font-size: 20px;
	line-height: 1.6;
	text-align: left;
	max-width: 680px;
	margin: 20px auto;
	color: #333;
  }

  .hero-content p {
	font-size: 22px;
	line-height: 1.5;
	max-width: 900px;
	margin: 10px auto;
	color: #333;
	text-align: left;
  }

  /* Override for centered workshop subtitles */
  .hero-content.text-center p {
	text-align: center;
  }


  form .btn-primary,
  .register-box .btn-primary {
	background-color: #9ADAC9 !important;
	color: black !important;
	border: none !important;
	padding: 12px 0;
  }

  form .btn-primary:hover,
  .register-box .btn-primary:hover {
	background-color: #7fcab7 !important; /* Slightly darker than #9ADAC9 */
	color: black !important;
	cursor: pointer;
  }
  

  /* for register box */

  .register-box form {
	max-width: 480px;
	margin: 0 auto;
	text-align: left;
  }

  .auth-section {
	padding: 100px 0 160px;
  }
  
  .register-box {
	background: #f9f9f9;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 30px;
	margin: 0 auto;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
	max-width: 600px;
  }

  .register-box label {
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 5px;
  }
  
  .register-box input {
	font-size: 16px;
	padding: 10px;
  }

  /* auth page header */
  .auth-header {
	max-width: 640px;
	margin: 0 auto 40px;
	text-align: center;
  }
  
  .auth-header h2 {
	font-size: 28px;
	font-weight: 700;
	color: #222;
	margin-bottom: 100px;
  }
  
  .auth-header p {
	padding-top: 20px;
	font-size: 18px;
	color: #7c7b7b;
	line-height: 1.6;
  }


  .access-denied-title h2 {
	margin-bottom: 10px;
	padding-bottom: 0;
	border-bottom: 16px;
  }


  @media (max-width: 768px) {
	.register-box {
	  padding: 20px;
	}
  
	.auth-section {
	  padding: 60px 20px 100px;
	}
  
	.auth-header {
	  margin: 0 auto 24px;
	  padding: 0 10px;
	}
  
	.auth-header h2 {
	  font-size: 24px;
	  margin-bottom: 12px;
	}
  
	.auth-header p {
	  font-size: 14px;
	  padding-top: 10px;
	}
  
	.form-group {
	  margin-bottom: 20px;
	}
  
	form .btn-primary {
	  padding: 12px 0;
	  font-size: 16px;
	}
  }

 

/* course card */
.course-card {
  position: relative;
  background: #fffdfd;
  background-size: cover;
  background-position: center left;
  border-radius: 16px;
  height: 260px;
  display: flex;
  align-items: center;
 /* padding: 0 40px;  */
  padding: 30px 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  background-repeat: no-repeat;
  gap: 30px;
}

.course-card-text {
  max-width: 600px;
  margin-left: auto;
  text-align: left;
  flex-grow: 1;
}

.course-card-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

.course-card-text p {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 16px;
}

.course-card-text .btn {
  font-size: 16px;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.course-card-text .btn.btn-primary {
  background-color: #9ADAC9;
  color: black;
  border: none;
}

.course-card-text .btn.btn-primary:hover {
  background-color: #7fcab7;
  color: black;
}

.course-icon {
	width: 160px;
	height: auto;
	flex-shrink: 0;
  }

  /* cta highlight box */

  .cta-highlight-box {
	background: linear-gradient(145deg, #9ADAC9, #c9f6c5);
	padding: 40px 20px;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	margin-top: 40px;
	margin-bottom: 40px;
  }

  /* Workshop-specific CTA with no bottom margin */
  .cta-highlight-box.workshop-cta {
	margin-bottom: 0;
  }
  
  .cta-highlight-box h3,
  .cta-highlight-box h4 {
	font-size: 24px;
	font-weight: 700;
	color: #000;
	text-shadow: 0 1px 1px rgba(255,255,255,0.4);

  }
  
  .btn-cta-large {
	background-color: #fff !important;
	color: #000 !important;
	font-weight: 600;
	font-size: 19px;
	padding: 16px 36px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	transition: transform 0.15s, box-shadow 0.15s;
	border: none;
  }
  .btn-cta-large:hover {
	background-color: #f0f0f0 !important;
	color: #000 !important;
	transform: translateY(-2px), scale(1.03);
	box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  }

.resources-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  padding: 48px 36px 36px 36px;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Resources page button styling */
#hero .btn.btn-primary {
  background-color: #9ADAC9;
  color: black;
  border: none;
  font-weight: 600;
}

#hero .btn.btn-primary:hover {
  background-color: #7fcab7;
  color: black;
}

/* Extropy brand color utilities */
.text-extropy-green {
  color: #9ADAC9 !important;
}

.text-extropy-blue {
  color: #002147 !important;
}

.text-extropy-red {
  color: #ED254E !important;
}

/* Remove custom flex and gap from .resources-section .row to restore Bootstrap grid */
/* .resources-section .row {
  display: flex;
  gap: 48px;
} */

.resources-col {
  padding-left: 24px;
  padding-right: 24px;
}

.resources-section h4 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
}

.resources-section ul {
  margin-bottom: 18px;
}

.resources-section ul li {
  margin-bottom: 7px;
  font-size: 16px;
}

@media (max-width: 991px) {
  .resources-section {
    padding: 28px 10px;
  }
  /* .resources-section .row {
    flex-direction: column;
    gap: 0;
  } */
}

.learning-list {
  font-size: 22px;
  margin-left: 1.5em;
  margin-bottom: 24px;
  list-style-type: disc !important;
  padding-left: 1.2em;
}

.learning-list li {
  margin-bottom: 12px;
  line-height: 1.5;
  list-style-type: disc !important;
  display: list-item !important;
}

.learning-list li::marker {
  color: #ED254E; /* or any accent color you like */
  font-size: 1.2em;
}

/* Course Modules Table */
.table, .table th, .table td {
  font-size: 20px;
}

/* Resources Section */
.resources-section ul li {
  font-size: 20px;
}

/* Course Intro */
.course-intro {
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: left;
}
.course-intro h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.course-intro p {
  font-size: 22px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.course-intro.left-align h1 {
  text-align: left;
  margin-bottom: 60px !important;
}

.course-intro.left-align p {
  text-align: left;
  margin: 0;
  max-width: 800px;
}
.course-module {
	padding: 80px 0 40px;
  }


  /* === Nav Dropdown Custom Styling === */

.dropdown-menu {
	min-width: 160px;
	width: auto;
	margin-top: 8px;
	padding: 10px 0;
	border-radius: 6px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
	right: 0 !important;
	left: auto !important;
	transform: none !important;
  }
  
  .dropdown-menu a.dropdown-item {
	padding: 10px 20px;
	font-size: 16px;
	color: #333;
  }
  
  .dropdown-menu a.dropdown-item:hover {
	background-color: #f5f5f5;
	color: #000;
  }

.course-price {
  font-size: 2rem;
  font-weight: 700;
  margin: 18px 0 14px 0;
  color: #222;
  letter-spacing: -1px;
  display: block;
}

.dashboard-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  margin: 40px 0 18px 0;
  text-align: left;
}
.dashboard-explore-link {
  margin-top: 40px;
  margin-bottom: 20px;
}
.dashboard-explore-link .btn {
  font-size: 1.1rem;
  padding: 10px 28px;
  border-radius: 6px;
}

/* Custom badge styles for course tags */
.badge {
  display: inline-block;
  padding: 0.35em 0.8em;
  font-size: 0.95em;
  font-weight: 600;
  border-radius: 0.7em;
  vertical-align: middle;
  line-height: 1;
  margin-left: 6px;
}
.badge-success {
  background-color: #9ADAC9 !important; /* Mint green */
  color: #000 !important;
}
.badge-warning {
  background-color: #FFD600 !important; /* Gold/yellow */
  color: #222 !important;
}
.badge-info {
  background-color: #B0B0B0 !important; /* Grey */
  color: #fff !important;
}

/* ========================================
   ARTICLE TEMPLATE STYLES
   ======================================== */

/* Article Header */
.article-header {
  background: linear-gradient(135deg, rgba(0, 22, 51, 0.85) 0%, rgba(0, 51, 102, 0.75) 100%);
  color: white;
  padding: 80px 0 60px 0;
  position: relative;
}

.article-header .container {
  position: relative;
  z-index: 2;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.article-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  margin-right: 8px;
  display: inline-block;
}

/* Article Content */
.article-content {
  padding: 60px 0;
  line-height: 1.8;
}

.article-content .container .row .col-lg-8 {
  max-width: 800px;
}

/* Share Section */
.share-section {
  background: #f8f9fa;
  padding: 25px 0 120px 0;
  text-align: center;
}

/* Article-specific narrow width for Share section */
.article-body .share-section .container {
  max-width: 750px;
}

.share-btn {
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  color: white;
  margin: 0 10px;
}

.share-twitter { background: #1da1f2; }
.share-linkedin { background: #0077b5; }

/* Related Articles */
.related-articles {
  background: #f8f9fa;
  padding: 60px 0;
}

/* Article-specific narrow width for Related Articles section */
.article-body .related-articles .container {
  max-width: 750px;
}

.related-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.related-card p {
  /* Text truncation to 2 lines max */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Article CTA Section */
.cta-section {
  background: linear-gradient(145deg, #9ADAC9, #c9f6c5);
  color: #000;
  border: none;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
}

.btn-cta {
  background-color: #fff;
  color: #000;
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-cta:hover {
  background-color: #f0f0f0;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Article Optional Components */
.highlight-box {
  background: #f8f9fa;
  border-left: 4px solid #e74c3c;
  padding: 20px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
}

.research-highlight {
  background: #f8f9fa;
  border-left: 4px solid #e74c3c;
  padding: 20px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
}

.feature-image {
  text-align: center;
  margin: 40px 0;
}

.feature-image img {
  width: 100%;
  max-width: 800px;
  height: 450px; /* 16:9 ratio for 800px width */
  object-fit: cover; /* Ensures proper cropping while maintaining aspect ratio */
  border-radius: 8px;
}

/* Special class for logos and brand images that should maintain natural proportions */
.feature-image .logo-image {
  width: auto;
  max-width: 500px;
  height: auto; /* Let logo maintain its natural proportions */
  object-fit: contain; /* Don't crop logos */
  border-radius: 0; /* Logos usually don't need rounded corners */
}

.feature-image-caption {
  margin-top: 15px;
  font-size: 14px;
  color: #666;
  font-style: italic;
}

.quote-box {
  background: #f8f9fa;
  border-left: 4px solid #9ADAC9;
  padding: 20px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.quote-box .quote-author {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
  font-style: normal;
  font-weight: 600;
}

.code-block {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  margin: 30px 0;
  overflow-x: auto;
}

.code-block pre {
  margin: 0;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.4;
}

.resource-grid {
  margin: 40px 0;
}

.resource-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
}

.resource-card i {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.resource-card h5 {
  margin-bottom: 10px;
  font-weight: 600;
}

.resource-card p {
  margin-bottom: 15px;
  font-size: 14px;
  color: #666;
}

/* Article Body Background */
.article-body {
  background: url('/images/hero.png') center center/cover no-repeat fixed;
}

/* ========================================
   WORKSHOP TEMPLATE STYLES
   ======================================== */

/* Workshop Header - Proper Course Style */
.workshop-meta-top {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.workshop-meta-top span {
  white-space: nowrap;
}

/* Workshop spacing within hero section */
#hero .auth-section {
  padding-bottom: 160px;
}

.workshop-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
  justify-content: center;
  flex-wrap: wrap;
}

.workshop-tag {
  background: #f8f9fa;
  color: #495057;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  margin: 0 4px 8px 4px;
  display: inline-block;
  border: 1px solid #e9ecef;
  font-weight: 500;
  transition: all 0.2s ease;
}

.workshop-tag:hover {
  background: #e9ecef;
  transform: translateY(-1px);
}

/* Workshop Content - Updated */
.workshop-content {
  padding: 30px 0 60px 0;
  line-height: 1.8;
}

.workshop-content .container .row .col-lg-8 {
  max-width: 800px;
}

/* Video Player Section */
.workshop-video {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  margin: 40px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.workshop-video .video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.workshop-video .video-container iframe,
.workshop-video .video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Workshop Info Boxes */
.workshop-info-grid {
  margin: 40px 0;
}

.workshop-info-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  height: 100%;
}

.workshop-info-card:hover {
  transform: translateY(-5px);
}

.workshop-info-card i {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.workshop-info-card h5 {
  margin-bottom: 10px;
  font-weight: 600;
}

.workshop-info-card p {
  margin-bottom: 0;
  font-size: 14px;
  color: #666;
}

/* Workshop Resources */
.workshop-resources {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  padding: 48px 36px 36px 36px;
  margin: 40px 0;
}

.workshop-resources h4 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
}

.workshop-resources ul {
  margin-bottom: 18px;
}

.workshop-resources ul li {
  margin-bottom: 7px;
  font-size: 16px;
}

/* Workshop CTA Section */
.workshop-cta-section {
  background: linear-gradient(145deg, #9ADAC9, #c9f6c5);
  color: #000;
  border: none;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
}

/* Related Workshops */
.related-workshops {
  background: #f8f9fa;
  padding: 60px 0;
}

.workshop-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Workshop Body Background */
.workshop-body {
  background: #f8f9fa;
}

/* Workshop and Article Card Styles for Index Pages */
.workshop-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.workshop-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.workshop-card h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

.workshop-card p {
    margin-bottom: 15px;
    color: #666;
    /* Text truncation to 2 lines max */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
}

/* Workshop Card with Thumbnail Styles */
.workshop-card-with-thumbnail {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 20px 16px 20px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.workshop-card-with-thumbnail:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.workshop-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.workshop-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.workshop-card-with-thumbnail:hover .workshop-thumb-img {
    transform: scale(1.05);
}

.workshop-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.workshop-content h4 {
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.3;
}

.workshop-content p {
    margin-bottom: 8px;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    flex-grow: 1;
    /* Text truncation to 2 lines max */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.workshop-content .d-flex {
    margin-top: 8px;
}

/* Prevent Bootstrap from forcing equal column heights for workshop cards */
.workshop-card-with-thumbnail {
    height: auto !important;
    min-height: auto !important;
}

.col-md-6 {
    align-self: flex-start;
}

/* Featured Content Section */
.featured-content {
    background: #f8f9fa;
}

.featured-content .row {
    align-items: stretch; /* Make columns equal height */
}

.featured-content .col-lg-4 {
    display: flex;
    flex-direction: column;
}

/* Featured Large Card */
.featured-large-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-large-card:hover {
    transform: translateY(-5px);
}

.featured-large-thumbnail {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.featured-large-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-large-card:hover .featured-large-img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.featured-large-content {
    padding: 24px 24px 48px 24px; /* Increased bottom padding */
}

.featured-large-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.featured-large-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.5;
}

.featured-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #888;
}

.featured-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Featured Small Cards - NEW DESIGN */
.featured-small-cards {
    display: flex;
    flex-direction: column;
    height: auto; /* Don't force full height */
    gap: 12px;
}

.featured-small-card-new {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    /* height: 158px; */ /* Commented out to prevent content cutoff */
    min-height: 158px; /* Ensures a consistent minimum size */
}

.featured-small-card-new:hover {
    transform: translateY(-2px);
}

/* Small Card Headers (horizontal, like big card) */
.featured-small-header {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 16px;
}

/* Workshop Header (extropy grey) */
.workshop-header {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.workshop-header-content h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.2;
}

.workshop-header-content small {
    font-size: 12px;
    opacity: 0.8;
}

/* Article Header (extropy blue to match article template) */
.article-header {
    background: linear-gradient(135deg, #001633, #003366);
}

.article-header-content h5 {
    font-size: 16px; /* Consistent sizing */
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.2;
}

.article-header-content small {
    font-size: 12px; /* Consistent sizing */
    opacity: 0.8;
}

/* Course Header (extropy green) */
.course-header {
    background: linear-gradient(135deg, #9ADAC9, #7AC7B3);
    color: #001633;
}

.course-header-content h5 {
    font-size: 16px; 
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.2;
}

.course-header-content small {
    font-size: 12px;
    opacity: 0.8;
}

/* Small Card Body */
.featured-small-body {
    padding: 12px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-small-body h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.featured-small-body small {
    font-size: 12px;
    color: #666;
}

/* Responsive Design for Workshop Cards */
@media (max-width: 768px) {
    .workshop-card-with-thumbnail {
        flex-direction: column;
        gap: 16px;
    }
    
    .workshop-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .workshop-content h4 {
        font-size: 18px;
    }
    
    .workshop-content p {
        font-size: 15px;
    }
}

/* Responsive Design for Featured Content */
/* Large tablets and small desktops */
@media (max-width: 1199px) and (min-width: 992px) {
    .featured-small-cards {
        gap: 10px;
    }
    
    .featured-small-card-new {
        min-height: calc((100% - 20px) / 3);
    }
}

/* Medium tablets */
@media (max-width: 991px) and (min-width: 769px) {
    .featured-small-cards {
        display: flex !important;
        flex-direction: row !important;
        gap: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 10px;
        height: auto;
        width: 100%;
        white-space: nowrap;
    }
    .featured-small-card-new {
        min-width: 300px;
        flex-shrink: 0;
        min-height: 180px;
        flex: none;
        display: flex;
        flex-direction: column;
    }
}

/* Small tablets */
@media (max-width: 768px) and (min-width: 577px) {
    .featured-large-thumbnail {
        height: 220px;
    }
    
    .featured-large-content h3 {
        font-size: 18px;
    }
    
    .featured-small-cards {
        margin-top: 20px;
        flex-direction: row;
        gap: 16px;
        overflow-x: auto;
        padding-bottom: 10px;
        height: auto; /* Allow natural height */
    }
    
    .featured-small-card-new {
        min-width: 260px;
        flex-shrink: 0;
        min-height: 160px;
        flex: none; /* Don't stretch on tablet */
    }
    
    .featured-small-header {
        min-height: 70px;
        padding: 12px;
    }
    
    .featured-small-body {
        padding: 12px;
    }
    
    .featured-small-header h5 {
        font-size: 14px;
    }
    
    .featured-small-header small {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .featured-large-thumbnail {
        height: 200px;
    }
    
    .featured-large-content {
        padding: 16px;
    }
    
    .featured-large-content h3 {
        font-size: 18px;
    }
    
    .featured-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .featured-small-cards {
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
        height: auto; /* Allow natural height on mobile */
    }
    
    .featured-small-card-new {
        min-width: auto;
        min-height: auto; /* Remove fixed height on mobile */
        flex: none; /* Don't stretch on mobile */
    }
    
    .featured-small-header {
        height: 120px;
    }
}

/* Resource Navigation Cards */
.resource-nav-card {
  background: linear-gradient(135deg, #ffffff 0%, rgba(0, 30, 68, 0.02) 100%);
  
  border-radius: 12px;
  padding: 30px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(154, 218, 201, 0.15);
}

.resource-nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
  /* Add a subtle brand color glow on hover */
  border-color: rgba(154, 218, 201, 0.3);
}

.resource-nav-card .fa-3x {
  transition: transform 0.3s ease;
}

.resource-nav-card:hover .fa-3x {
  transform: scale(1.1);
}

.resource-nav-card h4 {
  font-weight: 600;
  color: #001633;
  margin-bottom: 15px;
}

.resource-nav-card p {
  color: #666;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .course-card {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 18px 10px;
    gap: 16px;
  }
  .course-icon {
    width: 100px;
    margin: 0 auto 10px auto;
    display: block;
  }
  .course-card-text {
    max-width: 100%;
    margin-left: 0;
    text-align: left;
    width: 100%;
  }
  .course-card-text h2 {
    font-size: 20px;
    margin-bottom: 8px;
    word-break: break-word;
  }
  .course-card-text p {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .course-card-text .btn {
    font-size: 15px;
    padding: 10px 0;
    width: 100%;
    margin-bottom: 0;
  }
  .badge {
    font-size: 13px;
    margin-right: 6px;
    margin-bottom: 4px;
    display: inline-block;
  }
  .course-card-text h2 .badge {
    vertical-align: middle;
    margin-bottom: 0;
  }
}

@media (max-width: 991px) and (min-width: 769px) {
  .featured-large-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
  }
  /* The .featured-large-img rule was removed from this media query
     to allow it to correctly inherit the base styles, which keeps
     it filling the thumbnail container. */
  .featured-large-card {
    height: auto;
    min-height: 0;
  }
}

/* Restore and improve bullet points for article content */
.article-content ul,
.article-content ol {
  margin-left: 2em;
  margin-bottom: 1.2em;
  padding-left: 1.2em;
}

.article-content ul li,
.article-content ol li {
  list-style: disc !important;
  margin-bottom: 0.5em;
  font-size: 20px;
  line-height: 1.6;
}

/* Block code (pre/code) */
.article-content pre,
.article-content pre code,
.article-content pre * {
  font-family: 'Fira Mono', 'Consolas', 'Menlo', 'Monaco', 'Courier New', monospace !important;
  background: #f1f3f6 !important;
  border: none !important;
  border-radius: 8px;
  padding: 0;
  font-size: 16px;
  color: #222 !important;
  line-height: 1.6;
  box-shadow: none !important;
  margin: 0;
  display: inline;
  word-break: break-all;
}

/* Block code container */
.article-content pre {
  padding: 18px 20px;
  margin: 28px 0;
  display: block;
  overflow-x: auto;
}

/* Inline code (only when NOT inside pre) */
.article-content :not(pre) > code {
  font-family: 'Fira Mono', 'Consolas', 'Menlo', 'Monaco', 'Courier New', monospace !important;
  background: #f6f8fa !important;
  color: #c7254e;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 15px;
  border: 1px solid #e0e0e0;
  box-shadow: none;
  margin: 0;
  display: inline;
  word-break: break-word;
}

/* OwlCarousel Navigation Arrows */
.owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  pointer-events: none;
  z-index: 10;
}

.owl-prev,
.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: #9ADAC9 !important;
  color: #000 !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.owl-prev {
  left: -40px;
}

.owl-next {
  right: -40px;
}

.owl-prev:hover,
.owl-next:hover {
  background-color: #7fcab7 !important;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.owl-prev:focus,
.owl-next:focus {
  outline: none;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .owl-prev {
    left: -25px;
  }
  
  .owl-next {
    right: -25px;
  }
  
  .owl-prev,
  .owl-next {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

.owl-carousel {
  padding-left: 40px;
  padding-right: 40px;
}

.carousel-wrapper {
  position: relative;
}

.owl-carousel {
  padding-left: 0;
  padding-right: 0;
}

.carousel-wrapper .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

.carousel-wrapper .owl-prev,
.carousel-wrapper .owl-next {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  background-color: #9ADAC9 !important;
  color: #000 !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-50%);
}

.carousel-wrapper .owl-prev {
  left: 0;
}

.carousel-wrapper .owl-next {
  right: 0;
}

.carousel-wrapper .owl-prev:hover,
.carousel-wrapper .owl-next:hover {
  background-color: #7fcab7 !important;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-wrapper .owl-prev:focus,
.carousel-wrapper .owl-next:focus {
  outline: none;
}

@media (max-width: 768px) {
  .carousel-wrapper .owl-prev,
  .carousel-wrapper .owl-next {
    width: 44px !important;
    height: 44px !important;
    font-size: 20px !important;
  }
}