/**
 * NIYAPRESS: Woman Section (مرأة)
 * Pink/Rose theme - Harmonized design with AdSense
 * Updated: Perfect height alignment (600px), responsive, clean layout, text visibility
 */

/* ========================================
   SECTION CONTAINER
   ======================================== */

.np-woman-section {
	background: #fff;
	padding: 0 !important;
	margin: 0 !important;
}

/* ========================================
   SECTION HEADER
   ======================================== */

.np-woman-header {
	background: linear-gradient(135deg, #c2185b 0%, #e91e63 100%);
	padding: 15px 0;
	margin: 0;
	text-align: center;
}

.np-woman-title {
	margin: 0;
	font-size: 28px;
	font-weight: 900;
	color: #ffffff;
	font-family: 'Tajawal', sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* ========================================
   MAIN LAYOUT: AD (LEFT) + ARTICLES (RIGHT)
   ======================================== */

.np-woman-layout {
	display: flex;
	gap: 0;
	direction: ltr;
	align-items: flex-start;
	padding: 0;
	margin: 0;
	background: #fff;
}

/* ========================================
   ADVERTISEMENT - LEFT SIDE
   ======================================== */

.np-woman-ad {
	width: 300px;
	height: 600px;
	flex-shrink: 0;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	padding: 0;
	margin: 0;
}

.np-woman-ad-wrapper {
	width: 300px;
	height: 600px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	background: #f5f5f5;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	margin: 0;
	padding: 0;
}

.np-woman-ad-img {
	width: 300px;
	height: 600px;
	object-fit: cover;
	display: block;
	margin: 0;
	padding: 0;
}

/* ========================================
   ARTICLES LIST - RIGHT SIDE (600px HEIGHT)
   ======================================== */

.np-woman-articles {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 600px;
	flex: 1;
	padding: 0 0 0 30px;
	margin: 0;
	gap: 0;
}

.np-woman-card {
	display: flex;
	background: #fff;
	flex: 1;
	max-height: 150px;
	border-radius: 0;
	overflow: hidden;
	transition: all 0.3s ease;
	border-bottom: 1px solid #f0f0f0;
	padding: 15px 0;
}

.np-woman-card:first-child {
	padding-top: 0;
}

.np-woman-card:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.np-woman-card:hover {
	transform: translateX(5px);
	background: #fafafa;
}

.np-woman-link {
	display: flex;
	text-decoration: none;
	color: inherit;
	width: 100%;
	direction: rtl;
	gap: 15px;
}

/* ========================================
   ARTICLE THUMBNAIL
   ======================================== */

.np-woman-thumb {
	position: relative;
	width: 180px;
	height: 120px;
	flex-shrink: 0;
	overflow: hidden;
	background: #f5f5f5;
	border-radius: 8px;
}

.np-woman-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
	display: block;
}

.np-woman-card:hover .np-woman-img {
	transform: scale(1.08);
}

/* ========================================
   ARTICLE CONTENT
   ======================================== */

.np-woman-content {
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1;
	direction: rtl;
	text-align: right;
	gap: 8px;
}

.np-woman-card-title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.6;
	color: #1a1a1a;
	font-family: 'Tajawal', sans-serif;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	transition: color 0.3s ease;
}

.np-woman-card:hover .np-woman-card-title {
	color: #e91e63;
}

.np-woman-date {
	font-size: 13px;
	color: #999;
	font-family: 'Tajawal', sans-serif;
}

/* ========================================
   ANIMATION
   ======================================== */

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.np-woman-card {
	animation: slideInRight 0.6s ease-out;
}

.np-woman-card:nth-child(2) {
	animation-delay: 0.1s;
}

.np-woman-card:nth-child(3) {
	animation-delay: 0.2s;
}

.np-woman-card:nth-child(4) {
	animation-delay: 0.3s;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
	.np-woman-layout {
		gap: 20px;
	}
	
	.np-woman-articles {
		padding-left: 0;
	}
	
	.np-woman-thumb {
		width: 160px;
		height: 110px;
	}
	
	.np-woman-card-title {
		font-size: 16px;
	}
}

@media (max-width: 768px) {
	.np-woman-header {
		padding: 12px 0;
	}
	
	.np-woman-title {
		font-size: 24px;
	}
	
	.np-woman-layout {
		flex-direction: column;
		gap: 0;
		padding: 20px 0;
	}
	
	.np-woman-ad {
		width: 100%;
		height: auto;
		order: -1;
		margin-bottom: 20px;
		padding: 0 15px;
	}
	
	.np-woman-ad-wrapper {
		width: 100%;
		max-width: 300px;
		height: auto;
		margin: 0 auto;
	}
	
	.np-woman-ad-img {
		width: 100%;
		max-width: 300px;
		height: auto;
	}
	
	.np-woman-articles {
		height: auto;
		order: 0;
		padding: 0 15px;
	}
	
	.np-woman-card {
		flex-direction: row;
		padding: 15px 0;
		max-height: none;
	}
	
	.np-woman-link {
		flex-direction: row;
	}
	
	.np-woman-thumb {
		width: 120px;
		height: 90px;
	}
	
	.np-woman-card-title {
		font-size: 15px;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}
}

@media (max-width: 480px) {
	.np-woman-layout {
		padding: 15px 0;
	}
	
	.np-woman-card {
		padding: 12px 0;
	}
	
	.np-woman-thumb {
		width: 100px;
		height: 75px;
	}
	
	.np-woman-content {
		padding: 0;
	}
	
	.np-woman-card-title {
		font-size: 14px;
	}
	
	.np-woman-date {
		font-size: 12px;
	}
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
	.np-woman-section {
		background: white !important;
	}
	
	.np-woman-ad {
		display: none !important;
	}
	
	.np-woman-articles {
		padding-left: 0 !important;
		width: 100% !important;
		height: auto !important;
	}
	
	.np-woman-card {
		box-shadow: none !important;
		border-bottom: 1px solid #ddd !important;
	}
}
