* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	margin: auto;
	padding: ;
	font-family: Open Sans, sans-serif !important;
	color: #000000;
}

a {
	text-decoration: none;
	color: ;
}

h1{
font-weight:300;
font-size: 4rem;
color: var(--black);
text-transform: none;
letter-spacing: -0.1rem;
}

.card-body h6{
font-family: Open Sans, sans-serif;
font-weight: 400;
font-size: 1.2rem;
color: var(--black);
text-align:left;
text-decoration: none;
}

.card-body a{
	text-decoration:none;
	color: var(--blacl);
}

.hero-section {
	position: relative;
	align-content: center;
}

.hero-section--blog-article {
	display: block;
	width: 100%;
	height: clamp(14rem, 36vw, 28rem);
	overflow: hidden;
	background-color: #f3f3f3;
}

.hero-section--blog-article__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero-card {
	/* background image for mobile view */
	background: url("https://legacy.mediatraining.ltd.uk/projectx/images/heroes/hero_all_courses.jpg") no-repeat center center;
	background-size: cover;
	height: 100%;
	border-radius: 8px;
}

.hero-text {
	padding: 25px;
}

.hero-text h2{
	font-size: 2.1rem;
	font-weight: 500;
	margin-bottom: 20px;
}

.hero-text p{
	font-weight:200;
	font-size: 1.4rem;
	margin-bottom: 20px;
}

@media (min-width: 768px) {
	/* Hero Image for Desktop */
	.hero-image {
		margin-right: 12%;
		background: url("https://mediatraining.ltd.uk/images/heroes/hero_all_courses.jpg") no-repeat center center;
		background-size: cover;
		display: block;
		height: 500px;
		z-index: 1;
		border-radius: 8px;
		box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	}
	/* Hero card for Desktop */
	.hero-card {
		background: #FFF;
		position: relative;
		margin-left: 10%;
		margin-top: 10%;
		width: 100%;
		z-index: 2;
		border-radius: 8px;
		box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	}
	.hero-card:hover {
		color: rgba(0,0,0,0.6);
		box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
	}
}

@media (max-width: 1199px) {
		/* Change Hero Image & Hero Card Position on screens less than 1200px */
    .hero-section .row {
        display: flex;
        flex-direction: column;
    }

    .hero-section .hero-image, 
    .hero-section .hero-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-section .hero-image {
        order: 1; /* Place hero image first */
				width: 100%;
    }

    .hero-section .hero-card {
        order: 2; /* Place hero card second */
				top: auto;
				left: ;
				width: 80%;
				margin: auto;
    }
}

@media (max-width: 768px) {
		/* Reset hero Card for screens less than 768px */
		.hero-section .hero-card {
				width: 95%;
				margin: auto;
				border-radius: 0px;
				color: white;
				background:none;
		}

}

.filter-navbar {
	background-color: white;
	font-family:  Open Sans, sans-serif !important;
	font-size: 1rem;
	font-style: normal;
	font-weight: 500;
	text-align:left;
	color:var(--black);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Optional: Add a shadow for visual separation */
}

.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020; /* Ensure it's above other content */
}

    .btn-group-sm .btn-link {
        text-decoration: none; /* Remove underline */
        color: inherit; /* Inherit text color */
        background-color: transparent; /* Make background transparent */
        padding: 0.375rem 0.75rem; /* Add padding for button feel */
        border: 1px solid transparent; /* Add border for visual separation */
        border-radius: 0.25rem; /* Add border radius for rounded corners */
    }

    .btn-group-sm .btn-link:hover,
    .btn-group-sm .btn-link:focus {
        text-decoration: underline 2px; /* Remove underline on hover/focus */
        color: #000000; /* Change color on hover/focus */
        background-color: none; /* Light background on hover/focus */
    }


.form-select {
	width: 100%;
}

.btn-group .btn {
	margin-right: 0.5rem;
}

.input-group {
	position: relative;
}

.input-group input[type="text"] {
	padding-right: 2.375rem;
}

#search-button {

}

@media (min-width: 767px) {
  .btn-group .btn {
    margin-right: 0.75rem; /* Increased space between buttons on larger screens */
  }
  .form-select.d-md-none {
    display: none; /* Hide the dropdown on medium and larger screens */
  }
}

.page-title{
	margin-bottom: 100px;
	margin-top: 100px;
}

.feature-article-section {
	
}

.feature-article {
	background: white;
	border-radius 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	margin-top: 500px;
}

.feature-article img {
 	width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
	border-radius: 6px;
	margin-top: 1rem; /* Add space between the textand image on mobile view */
}

.feature-article .card {
		background-size: cover;
		color: white;
		text-shadow: 0px 2px 4px rgba(0,0,0,0.5);
  	padding: 2rem;
  	display: flex;
  	flex-direction: column;
  	justify-content: center;
  	min-height: 300px;
}

.feature-article .btn {
	text-shadow: none;
}

@media (min-width: 768px) {
  .feature-article {
    align-items: center; /* Align the text and image vertically */
  }
  .feature-article .col-md-4 {
    padding-right: ; /* Add some spacing between the text and image */
  }
  .feature-article img {
    margin-top: 0; /*Reset the margin-top for larger screens */
		width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
		border-radius: 6px;
		
  }
}

.latest-article-section {
	
}

.latest-article {
	
}

.article-card h2 {
	margin-top: 120px;
}

.article-card  h5 {
font-family: Open Sans, sans-serif;
font-weight:300;
font-size: 2.3rem;
color: var(--black);
padding-top:0.5rem;
margin-bottom:1.7rem;
margin-left:1rem;
text-transform: none;
letter-spacing: -0.1rem;
}

.card {
	border: none !important;
}

.article-card .card {
	height: 100%;
	width: 100%;
	border-radius 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.article-card .card a {
	text-decoration: none;
}

.article-card .card:hover a {
	color: rgba(0,0,0,0.6);
}

.thumb-container {
	overflow: hidden;
	border-radius: 12px;
	aspect-ratio: 16/10;
}

.article-card .card .card-img-top {
	transition: transform 0.5s ease-in-out;
}

.article-card .card:hover .card-img-top {
	transform: scale(1.03);
}

/* Container should hide overflow */
.feature-article .thumb-container {
    overflow: hidden;
    position: relative;
		
}

/* Image should fit within the container */
.feature-article img{
    transition: transform 0.5s ease-in-out;
		
}

/* Apply the scale effect on hover */
.feature-article img:hover {
    transform: scale(1.03);
		
}

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

.sidebar-article-card h2 {
	margin-top: 120px;
}

.sidebar-article-card  h5 {
font-family: Open Sans, sans-serif;
font-weight:300;
font-size: 2.3rem;
color: var(--black);
padding-top:0.5rem;
margin-bottom:1.7rem;
margin-left:1rem;
text-transform: none;
letter-spacing: -0.1rem;
}

.sidebar-article-card .card {
	height: ;
	width: 100%;
	border-radius 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-article-card .card a {
	text-decoration: none;
}

.sidebar-article-card .card:hover a {
	color: rgba(0,0,0,0.6);
}

.sidebar-article-card .card .card-img-top {
	transition: transform 0.5s ease-in-out;
}

.sidebar-article-card .card:hover .card-img-top {
	transform: scale(1.03);
}

/* ------------------------------------------------------------------- */

/* ---------- Typography & Layout ---------- */
.article-container {
  font-family: 'Segoe UI', Roboto, sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
  max-width: 900px;
}

.article-container h1,
.article-container h2,
.article-container h3 {
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-container h2 {
  font-size: 1.75rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.4rem;
}

.article-container h3 {
  font-size: 1.4rem;
  margin-top: 1.5rem;
}

/* ---------- Paragraph Spacing ---------- */
.article-container p {
  margin-bottom: 1.25rem;
}

/* ---------- Styled Lists ---------- */
.article-container ul {
  list-style: none;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-container ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.article-container ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #6c63ff; /* Soft purple bullet */
  font-weight: bold;
}

/* ---------- Hyperlinks ---------- */
.article-container a {
  color: var(--black);
  text-decoration: underline;
  transition: all 0.2s ease-in-out;
}

.article-container a:hover {
  color: #0056b3;
  text-decoration: none;
}

/* ---------- Table Styling ---------- */
.article-container table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.article-container th,
.article-container td {
  border: 1px solid #dee2e6;
  padding: 0.75rem;
  text-align: left;
}

.article-container th {
  background-color: #f8f9fa;
  font-weight: 600;
}

.article-container tr:nth-child(even) {
  background-color: #f6f6f6;
}

/* ---------- Image Styling ---------- */
.article-container img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ---------- Author Styling ---------- */
.article-container .author {
  text-align: right;
  font-style: italic;
  font-size: 0.95rem;
  color: #666;
  margin-top: 2rem;
}



