/* ===================================
   HERO SECTION
   =================================== */
.ms-hero {
	position: relative;
	padding: 6rem 0;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	background: linear-gradient(135deg, #1e1e3a 0%, #2c2c49 40%, #1a3a5c 100%);
	overflow: hidden;
}

.ms-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image:
		radial-gradient(circle at 20% 50%, rgba(0, 164, 239, 0.12) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(0, 164, 239, 0.08) 0%, transparent 40%),
		radial-gradient(circle at 60% 80%, rgba(91, 193, 253, 0.06) 0%, transparent 40%);
	pointer-events: none;
}

.ms-hero::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	pointer-events: none;
}

.ms-hero-overlay {
	display: none;
}

.ms-hero .container {
	position: relative;
	z-index: 1;
}

.ms-hero-content {
	max-width: 700px;
	margin: 0 auto;
}

.ms-hero-content::after {
	content: '';
	display: block;
	width: 50px;
	height: 3px;
	background: linear-gradient(90deg, #00a4ef, #5bc1fd);
	border-radius: 2px;
	margin: 1.5rem auto 0;
}

.ms-hero h1 {
	color: #fff;
	font-size: 2.2rem;
	font-family: "raleway-bold", sans-serif;
	line-height: 1.2;
	margin-bottom: 0.6rem;
	letter-spacing: 0.5px;
}

.ms-hero-subtitle {
	color: rgba(255, 255, 255, 0.7);
	font-size: 1.05rem;
	font-family: "raleway-regular", sans-serif;
	line-height: 1.7;
	letter-spacing: 0.2px;
	margin: 0;
}

/* ===================================
   ARTICLES SECTION
   =================================== */
.ms-articles {
	padding: 6rem 0 7rem;
	background: #f8f9fa;
}

.ms-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	max-width: 1100px;
	margin: 0 auto;
}

/* ===================================
   CARD
   =================================== */
.ms-card {
	background: #fff;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 8px rgba(0, 0, 0, 0.03);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

.ms-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* Featured card */
.ms-card--featured {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
}

.ms-card--featured .ms-card__image {
	height: 100%;
	min-height: 320px;
}

/* Image */
.ms-card__image {
	width: 100%;
	height: 220px;
	overflow: hidden;
}

.ms-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.ms-card:hover .ms-card__image img {
	transform: scale(1.04);
}

.ms-card__image img.img-bottom {
	object-position: center 35%;
}

/* Content */
.ms-card__content {
	padding: 1.8rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.ms-card--featured .ms-card__content {
	padding: 2.2rem;
	justify-content: center;
}

/* Tag */
.ms-card__tag {
	display: inline-block;
	background: rgba(0, 164, 239, 0.1);
	color: #00a4ef;
	font-family: "raleway-semibold", sans-serif;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 0.35rem 0.9rem;
	border-radius: 2rem;
	margin-bottom: 1rem;
	align-self: flex-start;
}

/* Title */
.ms-card h2 {
	font-family: "raleway-bold", sans-serif;
	font-size: 1.2rem;
	color: #2c2c49;
	line-height: 1.45;
	letter-spacing: 0.15px;
	margin-bottom: 0.8rem;
}

.ms-card--featured h2 {
	font-size: 1.5rem;
	letter-spacing: 0.2px;
}

/* Text */
.ms-card p {
	color: #555;
	font-size: 0.92rem;
	font-family: "raleway-regular", sans-serif;
	line-height: 1.8;
	letter-spacing: 0.1px;
	flex-grow: 1;
}

/* List */
.ms-card__list {
	list-style: none;
	padding: 0;
	margin: 0;
	flex-grow: 1;
}

.ms-card__list li {
	position: relative;
	padding: 0.55rem 0 0.55rem 1.4rem;
	color: #555;
	font-size: 0.88rem;
	font-family: "raleway-regular", sans-serif;
	line-height: 1.7;
	letter-spacing: 0.1px;
	border-bottom: 1px solid #f0f0f0;
}

.ms-card__list li:last-child {
	border-bottom: none;
}

.ms-card__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 6px;
	height: 6px;
	background: linear-gradient(135deg, #00a4ef 0%, #0077b6 100%);
	border-radius: 50%;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media all and (min-width: 100px) {
	.ms-hero {
		padding: 6rem 0 3rem;
	}
	.ms-hero h1 {
		font-size: 1.7rem;
	}
	.ms-hero-subtitle {
		font-size: 0.95rem;
	}
	.ms-grid {
		grid-template-columns: 1fr;
	}
	.ms-card--featured {
		display: flex;
		flex-direction: column;
	}
	.ms-card--featured .ms-card__image {
		min-height: 200px;
		height: 200px;
	}
	.ms-card h2 {
		font-size: 1.1rem;
	}
	.ms-card--featured h2 {
		font-size: 1.2rem;
	}
	.ms-articles {
		padding: 3.5rem 0 4.5rem;
	}
}

@media all and (min-width: 576px) {
	.ms-hero {
		padding: 7rem 0 4rem;
	}
	.ms-hero h1 {
		font-size: 1.9rem;
	}
	.ms-card--featured .ms-card__image {
		min-height: 240px;
		height: 240px;
	}
	.ms-articles {
		padding: 4rem 0 5rem;
	}
}

@media all and (min-width: 768px) {
	.ms-hero {
		padding: 8rem 0 5rem;
	}
	.ms-hero h1 {
		font-size: 2.1rem;
	}
	.ms-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.ms-card--featured {
		display: grid;
		grid-template-columns: 1.2fr 1fr;
	}
	.ms-card--featured .ms-card__image {
		min-height: 320px;
		height: 100%;
	}
	.ms-card h2 {
		font-size: 1.15rem;
	}
	.ms-card--featured h2 {
		font-size: 1.4rem;
	}
	.ms-articles {
		padding: 5rem 0 6rem;
	}
}

@media all and (min-width: 992px) {
	.ms-hero h1 {
		font-size: 2.2rem;
	}
	.ms-card h2 {
		font-size: 1.2rem;
	}
	.ms-card--featured h2 {
		font-size: 1.5rem;
	}
	.ms-articles {
		padding: 5.5rem 0 6.5rem;
	}
}

@media all and (min-width: 1200px) {
	.ms-hero h1 {
		font-size: 2.3rem;
	}
	.ms-articles {
		padding: 6rem 0 7rem;
	}
}

@media all and (min-width: 1440px) {
	.ms-hero {
		padding: 8rem 0 5rem;
	}
	.ms-hero h1 {
		font-size: 2.4rem;
	}
}

@media all and (min-width: 1920px) {
	.ms-hero {
		padding: 9rem 0 6rem;
	}
	.ms-hero h1 {
		font-size: 2.5rem;
	}
	.ms-hero-subtitle {
		font-size: 1.1rem;
	}
	.ms-card h2 {
		font-size: 1.3rem;
	}
	.ms-card--featured h2 {
		font-size: 1.6rem;
	}
}
