.mediach-sidebar-shell {
	min-width: 0;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.mediach-sidebar-card,
.mediach-newsletter-box,
.mediach-sidebar-sticky {
	min-width: 0;
}

.mediach-sidebar-sticky {
	position: sticky;
	top: 25px;
	display: grid;
	gap: 18px;
	padding-bottom: 20px;
}

body.admin-bar .mediach-sidebar-sticky {
	top: 52px;
}

.mediach-notice--newsletter {
	margin-top: 14px;
}

.mediach-newsletter-box {
	padding: 26px;
	border-radius: 20px;
	background: #18233f;
	color: #fff;
}

.mediach-newsletter-box h4 {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.mediach-newsletter-box p {
	margin: 0 0 14px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
}

.mediach-newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mediach-newsletter-form input:not([type="checkbox"]) {
	padding: 13px 14px;
	border: 0;
	border-radius: 12px;
	background: #fff;
	color: #111827;
	font-size: 13px;
}

.mediach-newsletter-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 12px;
	line-height: 1.5;
}

.mediach-newsletter-consent span {
	display: block;
}

.mediach-newsletter-consent input {
	width: 16px;
	height: 16px;
	margin-top: 2px;
	flex-shrink: 0;
}

.mediach-newsletter-consent a {
	color: #ffffff;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.56);
	text-underline-offset: 3px;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.mediach-newsletter-consent a:hover,
.mediach-newsletter-consent a:focus-visible {
	color: #f8fafc;
	text-decoration-color: #ffffff;
}

.mediach-newsletter-form button {
	padding: 13px 14px;
	border: 0;
	border-radius: 12px;
	background: #ef4444;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
}

.mediach-newsletter-form button:hover {
	background: #dc2626;
}

.mediach-sidebar-card {
	overflow: hidden;
	border: 1px solid #e5e7eb;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
}

.mediach-sidebar-card__head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 16px;
	background: #1f2937;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.mediach-sidebar-card__body {
	padding: 14px 16px;
}

.mediach-sidebar-card__footer {
	padding: 0 16px 16px;
}

.mediach-sidebar-card__footer--action {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 4px;
	padding-top: 14px;
	border-top: 1px solid #eef2f7;
}

.mediach-sidebar-card__footer-note {
	color: #64748b;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.mediach-sidebar-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mediach-sidebar-social {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 10px;
	border-radius: 12px;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.mediach-sidebar-social--instagram {
	background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888);
}

.mediach-sidebar-social--x {
	background: #0f172a;
}

.sidebar-guide-item {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #f1f5f9;
	border-radius: 14px;
	text-decoration: none;
	transition: transform 0.18s ease, background-color 0.18s ease;
}

.sidebar-guide-item:last-child {
	border-bottom: 0;
}

.sidebar-guide-item__thumb {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	overflow: hidden;
	background: #f8fafc;
}

.sidebar-guide-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sidebar-guide-item__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 12px;
	color: #64748b;
	font-size: 12px;
	font-weight: 800;
	text-align: center;
}

.sidebar-guide-item__body h5 {
	display: -webkit-box;
	margin: 0 0 6px;
	color: #0f172a;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sidebar-guide-item:hover {
	background: #f8fafc;
	transform: translateX(4px);
}

.sidebar-guide-item:hover .sidebar-guide-item__body h5 {
	color: #b91c1c;
}

.sidebar-guide-item__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: #64748b;
	font-size: 10px;
	font-weight: 700;
}

.guide-all-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border: 1px solid #d1d5db;
	border-radius: 999px;
	background: #f8fafc;
	color: #475569;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.guide-all-btn:hover {
	border-color: #ef4444;
	background: #fef2f2;
	color: #b91c1c;
}

@media (max-width: 992px) {
	.mediach-sidebar-sticky {
		position: static;
		top: auto;
	}

	.mediach-sidebar-card__footer--action {
		flex-direction: column;
		align-items: stretch;
	}

	.guide-all-btn {
		width: 100%;
	}
}
