/* Comunidad Médica — revista médica */

.mp-comunidad-medica .page-top,
.mp-comunidad-medica .blog-page,
.mp-comunidad-medica .sidebar,
.mp-comunidad-medica .comments-wrapper {
	display: none !important;
}

.mp-cm-hero {
	background: linear-gradient(135deg, #1c3d5e 0%, #245278 55%, #3ab5b0 100%);
	color: #fff;
	padding: 72px 0 56px;
}

.mp-cm-hero__inner {
	max-width: 820px;
}

.mp-cm-hero__eyebrow {
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.85;
	margin: 0 0 12px;
}

.mp-cm-hero__title {
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.15;
	margin: 0 0 16px;
	font-weight: 700;
}

.mp-cm-hero__subtitle,
.mp-cm-hero__intro {
	font-size: 1.05rem;
	line-height: 1.7;
	opacity: 0.95;
	margin: 0 0 14px;
}

.mp-cm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.mp-cm-filters {
	background: #f0f4f8;
	padding: 28px 0 32px;
	border-bottom: 1px solid rgba(28, 61, 94, 0.08);
}

.mp-cm-filters__search {
	display: flex;
	gap: 10px;
	margin-bottom: 18px;
}

.mp-cm-filters__search input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 1px solid #d7e0ea;
	border-radius: 6px;
	padding: 12px 14px;
	font-size: 15px;
}

.mp-cm-filters__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	align-items: end;
}

.mp-cm-filters__field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #1c3d5e;
	margin-bottom: 6px;
}

.mp-cm-filters__field select {
	width: 100%;
	border: 1px solid #d7e0ea;
	border-radius: 6px;
	padding: 10px 12px;
	background: #fff;
}

.mp-cm-filters__field--submit {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.mp-cm-main {
	padding: 48px 0 64px;
	background: #fff;
}

.mp-cm-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.mp-cm-card {
	background: #fff;
	border: 1px solid #e6edf3;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(28, 61, 94, 0.06);
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mp-cm-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(28, 61, 94, 0.1);
}

.mp-cm-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.mp-cm-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mp-cm-card__image--placeholder {
	background: linear-gradient(135deg, #e8f3f2, #d7e8f4);
	height: 100%;
}

.mp-cm-card__body {
	padding: 22px 22px 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.mp-cm-card__specialty {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #3ab5b0;
	margin: 0 0 8px;
}

.mp-cm-card__title {
	font-size: 1.25rem;
	line-height: 1.35;
	margin: 0 0 14px;
}

.mp-cm-card__title a {
	color: #1c3d5e;
	text-decoration: none;
}

.mp-cm-card__title a:hover {
	color: #3ab5b0;
}

.mp-cm-card__author {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-bottom: 12px;
}

.mp-cm-card__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.mp-cm-card__author-name {
	margin: 0;
	font-weight: 600;
	color: #1c3d5e;
	font-size: 14px;
}

.mp-cm-card__author-specialty {
	margin: 2px 0 0;
	font-size: 13px;
	color: #6b7c8f;
}

.mp-cm-card__meta {
	list-style: none;
	padding: 0;
	margin: 0 0 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 13px;
	color: #6b7c8f;
}

.mp-cm-card__excerpt {
	font-size: 15px;
	line-height: 1.65;
	color: #4a5d70;
	margin: 0 0 14px;
	flex: 1;
}

.mp-cm-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.mp-cm-card__tags a {
	font-size: 12px;
	padding: 5px 10px;
	border-radius: 999px;
	background: #eef6f5;
	color: #1c3d5e;
	text-decoration: none;
}

.mp-cm-card__cta {
	align-self: flex-start;
	margin-top: auto;
}

.mp-cm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border: none;
	border-radius: 6px;
	padding: 11px 18px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mp-cm-btn--primary {
	background: #3ab5b0;
	color: #fff;
}

.mp-cm-btn--primary:hover {
	background: #2f9d98;
	color: #fff;
}

.mp-cm-btn--secondary {
	background: #1c3d5e;
	color: #fff;
}

.mp-cm-btn--secondary:hover {
	background: #163149;
	color: #fff;
}

.mp-cm-btn--ghost {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.55);
}

.mp-comunidad-medica .mp-cm-btn--ghost {
	color: #1c3d5e;
	border-color: #c8d5e2;
	background: #fff;
}

.mp-cm-btn--link {
	background: transparent;
	color: #1c3d5e;
	padding-left: 0;
	padding-right: 0;
}

.mp-cm-invite {
	padding: 0 0 72px;
	background: #fff;
}

.mp-cm-invite__card {
	background: #f0f4f8;
	border-radius: 12px;
	padding: 36px 32px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.mp-cm-invite__content h2 {
	margin: 0 0 10px;
	color: #1c3d5e;
}

.mp-cm-invite__content p {
	margin: 0;
	color: #4a5d70;
	max-width: 640px;
	line-height: 1.65;
}

.mp-cm-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 48px 20px;
	background: #f8fafc;
	border-radius: 10px;
}

.mp-cm-single__hero-image img {
	width: 100%;
	max-height: 460px;
	object-fit: cover;
	display: block;
}

.mp-cm-single {
	padding-bottom: 72px;
}

.mp-cm-single__header {
	padding: 36px 0 24px;
	max-width: 820px;
}

.mp-cm-single__breadcrumb {
	font-size: 14px;
	margin-bottom: 12px;
}

.mp-cm-single__breadcrumb a {
	color: #3ab5b0;
	text-decoration: none;
}

.mp-cm-single__title {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	line-height: 1.2;
	color: #1c3d5e;
	margin: 0 0 20px;
}

.mp-cm-single__author-bar {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 14px 16px;
	align-items: center;
}

.mp-cm-single__author-bar img {
	grid-row: span 2;
	border-radius: 50%;
	object-fit: cover;
}

.mp-cm-single__author-name {
	margin: 0;
	font-weight: 700;
}

.mp-cm-single__author-name a {
	color: #1c3d5e;
	text-decoration: none;
}

.mp-cm-single__author-specialty {
	margin: 2px 0 0;
	color: #3ab5b0;
	font-weight: 600;
}

.mp-cm-single__meta {
	grid-column: 2;
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 14px;
	color: #6b7c8f;
}

.mp-cm-single__content {
	max-width: 820px;
	font-size: 1.05rem;
	line-height: 1.8;
	color: #334155;
}

.mp-cm-single__content img,
.mp-cm-single__content iframe,
.mp-cm-single__content video {
	max-width: 100%;
	height: auto;
}

.mp-cm-single__footer {
	max-width: 820px;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid #e6edf3;
}

.mp-cm-single__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.mp-cm-single__tags a {
	font-size: 13px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #eef6f5;
	color: #1c3d5e;
	text-decoration: none;
}

.mp-cm-single__pdf {
	max-width: 820px;
	margin-top: 20px;
}

.mp-cm-interactions {
	max-width: 820px;
	margin: 40px auto 0;
	padding: 28px;
	background: #f8fafc;
	border-radius: 10px;
}

.mp-cm-share {
	max-width: 820px;
	margin: 40px auto 0;
	padding: 28px;
	background: #ffffff;
	border: 1px solid #e6edf3;
	border-radius: 10px;
}

.mp-cm-share__title {
	margin: 0 0 8px;
	color: #1c3d5e;
	font-size: 1.2rem;
}

.mp-cm-share__help {
	margin: 0 0 18px;
	color: #4a5d70;
	line-height: 1.6;
}

.mp-cm-share__warning {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 8px;
	background: #fff7ed;
	color: #9a3412;
	font-size: 14px;
	line-height: 1.5;
}

.mp-cm-share__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mp-cm-share__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: none;
	border-radius: 6px;
	padding: 11px 16px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, opacity 0.15s ease;
	color: #fff;
}

.mp-cm-share__btn:hover {
	transform: translateY(-1px);
	opacity: 0.95;
	color: #fff;
}

.mp-cm-share__btn--facebook {
	background: #1877f2;
}

.mp-cm-share__btn--whatsapp {
	background: #25d366;
}

.mp-cm-share__btn--linkedin {
	background: #0a66c2;
}

.mp-cm-share__btn--copy {
	background: #1c3d5e;
}

.mp-cm-share__btn.is-copied {
	background: #0f766e;
}

.mp-cm-share__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.18);
	font-size: 12px;
	font-weight: 700;
}

.mp-cm-interactions__title {
	margin: 0 0 16px;
	color: #1c3d5e;
	font-size: 1.2rem;
}

.mp-cm-interactions__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mp-cm-interactions__note {
	margin: 14px 0 0;
	font-size: 13px;
	color: #6b7c8f;
}

.mp-cm-author-box {
	max-width: 820px;
	margin: 36px auto 0;
}

.mp-cm-author-box__inner {
	background: #fff;
	border: 1px solid #e6edf3;
	border-radius: 12px;
	padding: 28px;
}

.mp-cm-author-box__title {
	margin: 0 0 18px;
	color: #1c3d5e;
}

.mp-cm-author-box__profile {
	display: flex;
	gap: 20px;
}

.mp-cm-author-box__avatar img {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
}

.mp-cm-author-box__meta h3 {
	margin: 0 0 6px;
	color: #1c3d5e;
}

.mp-cm-author-box__specialty {
	color: #3ab5b0;
	font-weight: 600;
	margin: 0 0 6px;
}

.mp-cm-author-box__city,
.mp-cm-author-box__clinic,
.mp-cm-author-box__bio {
	margin: 0 0 8px;
	color: #4a5d70;
	line-height: 1.6;
}

.mp-cm-author-box__social {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 12px 0;
}

.mp-cm-author-box__social a {
	color: #1c3d5e;
	font-weight: 600;
	text-decoration: none;
}

.mp-cm-author-box__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.mp-cm-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.mp-cm-modal[hidden] {
	display: none !important;
}

.mp-cm-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(28, 61, 94, 0.55);
}

.mp-cm-modal__dialog {
	position: relative;
	background: #fff;
	border-radius: 12px;
	width: min(640px, 100%);
	max-height: 90vh;
	overflow: auto;
	padding: 28px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.mp-cm-modal__note {
	font-size: 14px;
	color: #4a5d70;
	background: #f0f4f8;
	border-radius: 8px;
	padding: 12px 14px;
	margin: 0 0 18px;
	line-height: 1.55;
}

.mp-cm-modal__close {
	position: absolute;
	top: 12px;
	right: 14px;
	border: none;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #1c3d5e;
}

.mp-cm-form label {
	display: block;
	margin-bottom: 14px;
	font-weight: 600;
	color: #1c3d5e;
	font-size: 14px;
}

.mp-cm-form input,
.mp-cm-form textarea {
	width: 100%;
	margin-top: 6px;
	border: 1px solid #d7e0ea;
	border-radius: 6px;
	padding: 10px 12px;
	font: inherit;
}

.mp-cm-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 14px;
}

.mp-cm-form__status {
	margin-top: 12px;
	font-size: 14px;
}

.mp-cm-form__status.is-success {
	color: #0f766e;
}

.mp-cm-form__status.is-error {
	color: #b42318;
}

@media (max-width: 991px) {
	.mp-cm-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mp-cm-filters__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.mp-cm-hero {
		padding: 52px 0 40px;
	}

	.mp-cm-grid,
	.mp-cm-filters__grid,
	.mp-cm-form__grid {
		grid-template-columns: 1fr;
	}

	.mp-cm-filters__search {
		flex-direction: column;
	}

	.mp-cm-author-box__profile {
		flex-direction: column;
	}

	.mp-cm-single__author-bar {
		grid-template-columns: 48px 1fr;
	}

	.mp-cm-invite__card {
		padding: 28px 22px;
	}
}
