@charset "utf-8";

/* CSS Document */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Poppins', sans-serif;
	background: #f7f5fa;
	color: #1f2235;
}

img {
	max-width: 100%;
	display: block;
}

ol {
  margin-left: 18px;
}

/* =========================
ARTICLE HERO
========================= */
.article-hero {
	position: relative;
	height: 520px;
	overflow: hidden;
}

.article-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, .18), rgba(0, 0, 0, .65));
}

.hero-content {
	position: absolute;
	left: 50%;
	bottom: 70px;
	transform: translateX(-50%);
	width: min(1100px, 90%);
	color: #fff;
	z-index: 3;
}

.article-tag {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border-radius: 40px;
	background: rgba(255, 255, 255, .14);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, .15);
	margin-bottom: 24px;
	font-size: 14px;
	letter-spacing: 1px;
	font-weight: 600;
}

.hero-content h1 {
	font-size: 36px;
	line-height: 1.3;
	margin-bottom: 28px;
	max-width: 1000px;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	color: rgba(255, 255, 255, .88);
	font-size: 15px;
	margin-bottom: 40px;
}

.article-meta i {
	color: #ff73d8;
	margin-right: 10px;
}

blockquote {
	font-size: 16px;
	font-style: italic;
	color: #666;
	border-left: 5px solid #ff4ca7;
	padding-left: 20px;
	margin-bottom: 20px;
	font-size: 18px;
}

/* =========================
MAIN LAYOUT
========================= */
.article-wrapper {
	width: min(1400px, 92%);
	margin: auto;
	margin-top: -80px;
	position: relative;
	z-index: 5;
}

.article-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 35px;
}

/* =========================
GLASS CARD
========================= */
.glass-card {
	background: rgba(255, 255, 255, .76);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 34px;
	box-shadow: 0 15px 45px rgba(180, 120, 220, .10);
}

/* =========================
ARTICLE CONTENT
========================= */
.article-content {
	padding: 55px;
	margin-bottom: 50px;
}

.article-content p {
	color: #555;
	line-height: 1.6;
	font-size: 18px;
	margin-bottom: 30px;
}

.article-content h2 {
	font-size: 24px;
	line-height: 1.25;
	margin-top: 30px;
	margin-bottom: 24px;
	color: #1f2235;
}

.article-content h3 {
	font-size: 30px;
	margin-top: 45px;
	margin-bottom: 18px;
}

.article-content strong {
	color: #1f2235;
}

.article-content ul {
	padding-left: 24px;
	margin-bottom: 20px;
}

.article-content li {
	color: #555;
	line-height: 1.6;
	font-size: 18px;
}

/* =========================
QUOTE
========================= */
.article-quote {
	position: relative;
	padding: 45px;
	margin: 50px 0;
	border-radius: 30px;
	background: linear-gradient(135deg, #ff4ca7, #c63fd8, #7d43ff);
	color: #fff;
	overflow: hidden;
}

.article-quote: : before {
	content: "“";
	position: absolute;
	top: -20px;
	left: 20px;
	font-size: 180px;
	opacity: .08;
	font-weight: 700;
}

.article-quote p {
	color: #fff;
	font-size: 28px;
	line-height: 1.7;
	margin-bottom: 20px;
}

.article-quote span {
	opacity: .9;
}

/* =========================
SHARE
========================= */
.article-share {
	margin-top: 70px;
	padding-top: 35px;
	border-top: 1px solid rgba(0, 0, 0, .08);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	flex-wrap: wrap;
}

.share-buttons {
	display: flex;
	gap: 14px;
}

.share-buttons a {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: #fff;
	background: linear-gradient(135deg, #ff4ca7, #c63fd8);
	transition: .35s ease;
}

.share-buttons a:hover {
	transform: translateY(-6px) scale(1.05);
	box-shadow: 0 12px 25px rgba(255, 80, 210, .35);
}

.back-link{
    display:block;
    align-items:center;
    gap:12px;
    margin-top:20px;
    color:var(--dark);
    text-decoration:none;
    font-size:1rem;
    font-weight:600;
    transition:.3s ease;
}

.back-link i{
    transition:.3s ease;
}

.back-link:hover{
    color:var(--pink);
}

.back-link:hover i{
    transform:translateX(-6px);
}

/* =========================
SIDEBAR
========================= */
.sidebar {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.sidebar-card {
	padding: 35px;
}

/* AUTHOR */
.author {
	text-align: center;
}

.author img {
	width: 140px;
	height: 140px;
	object-fit: cover;
	border-radius: 50%;
	margin: 0 auto 22px;
	border: 5px solid rgba(255, 255, 255, .8);
}

.author h3 {
	font-size: 38px;
	color: #ea42ba;
	font-weight: 700;
	margin-bottom: 12px;
}

.author p {
	color: #666;
	line-height: 1.8;
}

/* CATEGORY */
.sidebar-title {
	font-size: 22px;
	margin-bottom: 24px;
}

.category-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.category-list a {
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #f7f4fb;
	padding: 16px 18px;
	border-radius: 18px;
	color: #555;
	transition: .3s ease;
}

.category-list a:hover {
	background: #ffe7f8;
	color: #d84bc0;
}

/* NEWSLETTER */
.newsletter {
	text-align: center;
}

.newsletter-icon {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 24px;
	background: linear-gradient(135deg, #ff4ca7, #c63fd8);
	color: #fff;
	font-size: 28px;
}

.newsletter h3 {
	font-size: 30px;
	margin-bottom: 18px;
}

.newsletter p {
	color: #666;
	line-height: 1.9;
	margin-bottom: 24px;
}

.newsletter input {
	width: 100%;
	height: 58px;
	border: none;
	border-radius: 18px;
	background: #f7f4fb;
	padding: 0 18px;
	margin-bottom: 18px;
}

.newsletter button,
.textbox button {
	width: 100%;
	height: 58px;
	border: none;
	border-radius: 18px;
	cursor: pointer;
	color: #fff;
	font-weight: 600;
	background: linear-gradient(135deg, #ff4ca7, #c63fd8);
	transition: .35s ease;
}

.textbox button {
	width: auto;
	margin-bottom: 20px;
}

.textbox button a {
	color: #fff;
	text-decoration: none;
	padding: 0 30px;
}

.newsletter button:hover,
.textbox button:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 25px rgba(255, 80, 210, .35);
}

/* =========================
RESPONSIVE
========================= */
@media(max-width: 1200px) {
	.article-layout {
		grid-template-columns: 1fr;
	}
}

@media(max-width: 900px) {
	.article-hero {
		height: 420px;
	}

	.hero-content h1 {
		font-size: 36px;
	}

	.article-content {
		padding: 35px;
	}

	.article-content h2 {
		font-size: 26px;
	}

	.article-content h3 {
		font-size: 26px;
	}
}

@media(max-width: 650px) {
	.article-hero {
		height: 360px;
	}

	.hero-content {
		bottom: 40px;
	}

	.hero-content h1 {
		font-size: 36px;
	}

	.article-content {
		padding: 28px;
	}

	.article-content p {
		font-size: 16px;
		line-height: 1.6;
	}

	.article-quote {
		padding: 35px 28px;
	}

	.article-quote p {
		font-size: 22px;
	}
}