/* Project-level additions layered on top of the Agnes theme's css/style.css */

/* ---- Brand logo (header + footer) ---- */
.brand-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none !important;
}

.brand-mark {
	display: block;
	flex: none;
	border-radius: 11px;
}

.brand-wordmark {
	font-family: "Mukta", sans-serif;
	font-weight: 700;
	font-size: 20px;
	letter-spacing: -0.2px;
}

.footer-brand .brand-mark {
	border-radius: 9px;
}

.footer-brand .brand-wordmark {
	font-size: 18px;
}

/* ---- Footer legal / disclaimer row ---- */
.footer-legal {
	width: 100%;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px 24px;
}

.footer-disclaimer {
	margin: 0;
	max-width: 640px;
	font-size: 13px;
	line-height: 19px;
	color: #6F8394;
}

.footer-legal-links {
	margin: 0;
	font-size: 13px;
	white-space: nowrap;
}

.footer-legal-links a {
	text-decoration: none;
}

.footer-legal-links a:hover {
	text-decoration: underline;
}

/* ---- Pricing: highlight the 2nd card (Professional) as "Most Popular" ----
   nth-child(2) relies on Professional being listed second in hugo.toml's
   [[params.pricing]] — reordering the plans there moves the badge too. */
.pricing-table:nth-child(2) .pricing-table-inner {
	border: 2px solid #0081F6;
	box-shadow: 0 20px 48px rgba(0, 129, 246, 0.18);
}

.pricing-table:nth-child(2) .pricing-table-title::before {
	content: "Most Popular";
	display: block;
	width: fit-content;
	font-family: "Mukta", sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(65deg, #0081F6 0%, #44A6FF 100%);
	border-radius: 999px;
	padding: 4px 12px;
	margin-bottom: 10px;
}

/* ---- Article / post layout ---- */
.post-section {
	position: relative;
}

.post-inner {
	max-width: 760px;
	margin: 0 auto;
}

.post-header {
	margin-bottom: 32px;
}

.post-tags {
	margin-bottom: 16px;
}

.post-tag {
	display: inline-block;
	font-family: "Mukta", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: #0081F6;
	background: #EAF4FF;
	border-radius: 999px;
	padding: 6px 14px;
	margin: 0 6px 6px 0;
}

.post-title {
	margin-top: 0;
}

.post-description {
	color: #6F8394;
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

.post-meta {
	color: #97A6B4;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	font-weight: 700;
}

.post-cover {
	margin: 32px 0 40px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 16px 48px rgba(31, 43, 53, 0.12);
}

.post-cover img {
	width: 100%;
	display: block;
}

.post-content h2 {
	padding-top: 8px;
	border-top: 1px solid #E2E8ED;
}

.post-content h2:first-child {
	border-top: 0;
	padding-top: 0;
}

.post-content figure {
	margin: 32px 0;
}

.post-content figure img,
.post-content > img,
.post-content p > img {
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 16px 48px rgba(31, 43, 53, 0.12);
	margin-bottom: 8px;
}

.post-content figcaption,
.post-content em.img-caption {
	color: #97A6B4;
	font-size: 15px;
	text-align: center;
}

.post-content ul li,
.post-content ol li {
	margin-bottom: 8px;
}

.post-back-link {
	display: inline-flex;
	align-items: center;
	font-family: "Mukta", sans-serif;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	text-decoration: none !important;
	color: #0081F6 !important;
	margin-bottom: 32px;
}

.post-back-link:hover {
	color: #1F2B35 !important;
}

/* ---- Alert / callout shortcode ---- */
.alert {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	border: 1px solid transparent;
	border-left-width: 4px;
	border-radius: 8px;
	padding: 20px 24px;
	margin: 32px 0;
}

.alert-icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-top: 2px;
}

.alert-body {
	min-width: 0;
}

.alert-body > *:last-child {
	margin-bottom: 0;
}

.alert-title {
	font-family: "Mukta", sans-serif;
	font-weight: 700;
	color: #1F2B35;
	margin: 0 0 8px;
}

.alert-info {
	background: #EAF4FF;
	border-color: #BFE0FF;
	color: #0B5FB8;
}
.alert-info .alert-icon { color: #0081F6; }

.alert-success {
	background: #E9FCF6;
	border-color: #B7F3DF;
	color: #128A5E;
}
.alert-success .alert-icon { color: #17B37E; }

.alert-warning {
	background: #FFF6E5;
	border-color: #FBE3AD;
	color: #92660B;
}
.alert-warning .alert-icon { color: #D69A1D; }

.alert-danger {
	background: #FFEAF0;
	border-color: #FFC2D3;
	color: #B8123F;
}
.alert-danger .alert-icon { color: #FF4D79; }

@media (max-width: 640px) {
	.post-inner { max-width: 100%; }
	.alert { padding: 16px; }
}
