/**
 * Medifee Theme - Single Question Page Styles
 *
 * @package Medifee
 * @since   1.0.0
 */

/* ==========================================================================
   Layout (sidebar sizing)
   ========================================================================== */
.question-sidebar {
	flex: 0 0 280px;
	max-width: 280px;
	position: sticky;
	top: 80px;
}

/* ==========================================================================
   Question Title
   ========================================================================== */
.ap-question-title {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.3;
	color: #1E293B;
	margin: 0 0 16px;
	word-wrap: break-word;
	overflow-wrap: break-word;
	font-family: Lexend;
	letter-spacing: -0.8px;
}

/* ==========================================================================
   Question Meta Bar
   ========================================================================== */
.question-meta-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding-bottom: 24px;
	margin-bottom: 23px;
	border-bottom: 1px solid var(--mf-border);
}

.question-meta-bar .meta-item,
.question-meta-bar .meta-item .desktop {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #1E293B;
	font-weight: 500;
}

.question-meta-bar .meta-icon {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.question-meta-bar .meta-item .mobile {
	display: none;
}

/* ==========================================================================
   Question Meta
   ========================================================================== */
.ap-question-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--mf-border);
	margin-bottom: 20px;
	font-size: 13px;
	color: var(--mf-text-secondary);
}

/* ==========================================================================
   Question Header (Author + Meta)
   ========================================================================== */
.ap-question-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 0;
}

.ap-question-header .ap-avatar img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--mf-border);
}

.ap-question-author-meta {
	flex: 1;
	min-width: 0;
}

.ap-question-author-meta .ap-q-metas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.ap-question-author-meta .ap-author {
	font-weight: 600;
	color: var(--mf-text);
}

.ap-question-author-meta .ap-author a {
	color: var(--mf-primary);
	text-decoration: none;
}

.ap-question-author-meta .ap-posted {
	color: var(--mf-text-muted);
	font-size: 13px;
	text-decoration: none;
}

.ap-question-author-meta .ap-comments-count {
	color: var(--mf-text-muted);
	font-size: 13px;
}

/* ==========================================================================
   Question Body
   ========================================================================== */
.ap-question-body {
	display: flex;
	gap: 16px;
	padding: 0 0 20px;
}

/* Vote */
.ap-single-vote {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding-top: 4px;
}

.ap-single-vote .ap-vote-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--mf-radius);
	border: 1px solid var(--mf-border);
	background: var(--mf-bg);
	color: var(--mf-text-secondary);
	cursor: pointer;
	transition: all var(--mf-transition);
}

.ap-single-vote .ap-vote-btn:hover {
	border-color: var(--mf-primary);
	color: var(--mf-primary);
	background: #eff6ff;
}

.ap-single-vote .ap-vote-btn.active,
.ap-single-vote .ap-vote-btn.voted {
	border-color: var(--mf-primary);
	color: var(--mf-primary);
	background: #eff6ff;
}

.ap-single-vote .ap-vote-count {
	font-weight: 700;
	font-size: 16px;
	color: var(--mf-text);
}

/* Content */
.ap-question-body .ap-cell {
	flex: 1;
	min-width: 0;
}

.ap-q-inner {
	margin-bottom: 16px;
}

.ap-q-content {
	font-size: 15px;
	line-height: 1.75;
	color: var(--mf-text);
	word-wrap: break-word;
}

.ap-q-content p {
	margin-bottom: 12px;
}

.ap-q-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--mf-radius);
}

.ap-q-content ul,
.ap-q-content ol {
	padding-left: 24px;
	margin-bottom: 12px;
}

.ap-q-content blockquote {
	border-left: 3px solid var(--mf-primary);
	padding: 8px 16px;
	margin: 12px 0;
	background: var(--mf-bg-light);
	border-radius: 0 var(--mf-radius) var(--mf-radius) 0;
}

.ap-q-content code {
	background: var(--mf-bg-light);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 13px;
}

.ap-q-content pre {
	background: #1e293b;
	color: #e2e8f0;
	padding: 16px;
	border-radius: var(--mf-radius);
	overflow-x: auto;
	font-size: 13px;
}

/* ==========================================================================
   Post Footer
   ========================================================================== */
.ap-post-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 12px 0;
	border-top: 1px solid var(--mf-border);
}

.ap-post-footer .ap-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 8px;
	font-size: 13px;
	color: var(--mf-text-secondary);
	background: var(--mf-bg-light);
	border: 1px solid var(--mf-border);
	border-radius: var(--mf-radius);
	cursor: pointer;
	transition: all var(--mf-transition);
}

.ap-post-footer .ap-btn:hover {
	background: var(--mf-bg-hover);
	color: var(--mf-text);
}

/* Dropdown */
.ap-dropdown-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: var(--mf-radius);
	border: 1px solid var(--mf-border);
	background: var(--mf-bg);
	cursor: pointer;
}

.ap-dropdown-menu {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 100;
	min-width: 160px;
	padding: 6px 0;
	margin-top: 4px;
	background: var(--mf-bg);
	border: 1px solid var(--mf-border);
	border-radius: var(--mf-radius);
	box-shadow: var(--mf-shadow-md);
	list-style: none;
}

.ap-dropdown-menu li a {
	display: block;
	padding: 8px 14px;
	font-size: 13px;
	color: var(--mf-text);
}

.ap-dropdown-menu li a:hover {
	background: var(--mf-bg-hover);
}

/* ==========================================================================
   Comments
   ========================================================================== */
apcomment {
	display: block;
	padding: 12px 0;
	border-top: 1px solid var(--mf-border);
}

apcomment:first-child {
	border-top: none;
}

.ap-comment-inner {
	display: flex;
	gap: 10px;
}

apcomment .ap-avatar img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
}

apcomment .comment-inner {
	flex: 1;
	min-width: 0;
}

apcomment .comment-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	margin-bottom: 4px;
}

.ap-comment-author {
	font-weight: 600;
	color: var(--mf-text);
}

.ap-comment-time {
	color: var(--mf-text-muted);
	font-size: 12px;
}

.ap-comment-actions {
	margin-left: auto;
	display: flex;
	gap: 8px;
}

.ap-comment-actions a {
	font-size: 12px;
	color: var(--mf-text-muted);
}

.ap-comment-actions a:hover {
	color: var(--mf-primary);
}

.ap-comment-content {
	font-size: 14px;
	line-height: 1.5;
}

/* ==========================================================================
   Answers Section
   ========================================================================== */
#ap-answers-c,
.ap-answers-container {
	margin-top: 40px;
	padding-top: 0;
	border-top: none;
}

.ap-sorting-tab {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 24px;
}

.medifee-layout #anspress .ap-answers-label {
	gap: 8px;
	color: #1E293B;
	margin-bottom: 10px;
	font-family: Lexend, sans-serif;
	font-weight: 600;
	font-size: 20px;
	line-height: 28px;
	letter-spacing: 0px;
	display: flex;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.medifee-layout #anspress .ap-sorting-tab {
	border: none;
}

.ap-answers-label svg {
	color: #1E293B;
}

.ap-answers-label span {
	color: inherit;
}

.medifee-layout #anspress .answer.best-answer{
	border: 1px solid #005EA433;
	border-radius: 20px;
	padding: 20px;
	position: relative;
	box-shadow: 0px 2px 4px -2px #0000001A;
	box-shadow: 0px 4px 6px -1px #0000001A;
}

/* Answer Card */
.answer {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-left: 4px solid var(--mf-primary, #4318D1);
	border-radius: 12px;
	padding: 28px;
	margin-bottom: 20px;
	transition: box-shadow 0.2s ease;
}

.answer:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.answer.best-answer {
	border-left-color: #16a34a;
	background: #ffffff;
}

/* Answer Header */
.ap-answer-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid #f1f5f9;
}

.ap-answer-author-info {
	display: flex;
	align-items: center;
	gap: 20px;
}

.ap-answer-header .ap-avatar {
	position: relative;
	flex-shrink: 0;
	margin: 0px;
}

.ap-answer-header .ap-avatar img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #e2e8f0;
}

.ap-verified-badge {
	position: absolute;
	bottom: 7px;
    right: 5px;
    width: 13px;
    height: 13px;
	background: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ap-answer-author-meta {
	flex: 1;
	min-width: 0;
}

.ap-answer-author-meta .ap-author-name,
.ap-answer-author-meta .ap-author-name a {
	color: #1E293B;
	text-decoration: none;
	font-family: Lexend;
	font-weight: 600;
	font-size: 20px;
	line-height: 28px;
}

.ap-answer-author-meta .ap-author-credentials {
	color: #64748B;
	margin-top: 2px;
	font-family: Lexend;
	font-weight: 400;
	font-size: 14px;
	line-height: 14px;
	letter-spacing: 0.7px;
}

.ap-answer-author-meta .ap-author-credentials.hospital {
	color: #1E293B;
	font-family: Lexend;
	font-weight: 400;
	font-size: 12px;
	line-height: 12px;
	letter-spacing: 0px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 5px;
}

#anspress .answer.question-single .ap-answer-header {
	border: 0px;
	padding-bottom: 30px;
	margin: 0px;
}

#anspress .answer.question-single .ap-answer-body .ap-answer-content *{
    font-family: Lexend, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    letter-spacing: 0;
    color: #404752;
	margin-bottom: 20px;
	margin-top: 0px;
}

#anspress .answer.question-single .ap-answer-body .ap-answer-content h1,
#anspress .answer.question-single .ap-answer-body .ap-answer-content h2,
#anspress .answer.question-single .ap-answer-body .ap-answer-content h3,
#anspress .answer.question-single .ap-answer-body .ap-answer-content h4,
#anspress .answer.question-single .ap-answer-body .ap-answer-content h5,
#anspress .answer.question-single .ap-answer-body .ap-answer-content h6 {
    font-family: Lexend, sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0;
    color: #404752;
	margin-bottom: 10px;
	margin-top: 0px;
}

.answer.question-single .ap-answer-body .ap-answer-content > :first-child {
    margin: 0;
}

.ap-answer-author-meta .ap-answer-time {
	font-size: 13px;
	color: #64748b;
	margin-top: 4px;
}

.ap-answer-author-meta .ap-answer-time a {
	color: #64748b;
	text-decoration: none;
}

.ap-best-answer-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: Lexend;
	font-weight: 400;
	color: #FFFFFF;
	font-size: 14px;
	line-height: 14px;
	letter-spacing: 0.7px;
	white-space: nowrap;
	background: linear-gradient(90deg, #562F88 0%, #21014C 100%);
	box-shadow: 0px 1px 2px 0px #0000000D;
	border-top-left-radius: 9999px;
	border-bottom-left-radius: 9999px;
	padding-top: 4px;
	padding-right: 16px;
	padding-bottom: 4px;
	padding-left: 16px;
	position: absolute;
	right: 0;
}

/* Answer Body */
.ap-answer-body {
	display: block;
}

.ap-answer-body .ap-cell {
	width: 100%;
}

.ap-answer-content.ap-q-content {
	font-size: 15px;
	line-height: 1.8;
	color: #334155;
}

.ap-answer-content.ap-q-content h2,
.ap-answer-content.ap-q-content h3,
.ap-answer-content.ap-q-content h4 {
	color: #1E293B;
	margin-top: 24px;
	margin-bottom: 10px;
	font-family: Lexend, sans-serif;
}

.ap-answer-content.ap-q-content ul,
.ap-answer-content.ap-q-content ol {
	padding-left: 20px;
	margin-bottom: 16px;
}

.ap-answer-content.ap-q-content li {
	margin-bottom: 6px;
}

/* Answer Footer */
.answer.question-single .ap-post-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 38px 0 0;
	margin-top: 30px;
	border-top: 1px solid #E2E8F0;
}

.ap-footer-left {
	display: flex;
	align-items: center;
	gap: 24px;
}

.ap-footer-right {
	margin-left: auto;
}

.answer.question-single .ap-post-footer .ap-btn {
	border: none;
}

.answer.question-single .ap-footer-right .ap-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 22px;
	font-family: Lexend;
	font-weight: 600;
	height: auto;
	font-size: 14px;
	line-height: 28px;
	letter-spacing: 0px;
	text-align: center;
	color: #ffffff;
	background: #262F6C;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: background 0.2s ease;
	text-decoration: none;
	border: none;
}

.ap-footer-right .ap-btn:hover {
	background: #3311a8;
	color: #ffffff;
}

.ap-post-footer .ap-single-vote {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 6px;
	padding: 0;
}

.ap-post-footer .ap-single-vote .ap-vote-btn {
	width: 32px;
	height: 32px;
	border-radius: 6px;
}

.ap-post-footer .ap-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	font-size: 13px;
	color: #64748b;
	background: transparent;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
}

.ap-post-footer .ap-footer-left .ap-btn {
	font-family: Lexend;
	font-weight: 400;
	font-size: 14px;
	line-height: 14px;
	letter-spacing: 0.7px;
	text-align: center;
	color: #64748B;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px 8px;
}

.ap-post-footer .ap-footer-left .ap-btn:hover {
	background: none;
}

.ap-post-footer .ap-footer-left .ap-btn.ap-btn-vote.link-button svg {
	transform: scaleY(-1);
}

/* ==========================================================================
   Cost Factors Section
   ========================================================================== */
.cost-factors-section {
	margin-top: 48px;
	padding-top: 0;
}

.cost-factors-title {
	color: #1E293B;
	margin: 0 0 10px;
	font-family: Lexend, sans-serif;
	font-weight: 600;
	font-size: 20px;
	line-height: 28px;
	letter-spacing: 0px;
}

.cost-factors-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.cost-factor-card {
	border-radius: 20px;
	padding: 20px;
	background: #006C481A;
	border: 1px solid #E2E8F0
}

.cost-factor-card__title {
	color: #1E293B;
	margin: 0 0 12px;
	font-family: Lexend, sans-serif;
	font-weight: 700;
	font-size: 14px;
	line-height: 14px;
	letter-spacing: 0.7px;
}

.cost-factor-card__desc {
	color: #404752;
	margin: 0;
	font-family: Lexend;
	font-weight: 400;
	font-size: 12px;
	line-height: 21px;
	letter-spacing: 0px;
}

@media (max-width: 768px) {
	.cost-factors-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.cost-factors-title {
		font-size: 20px;
		line-height: 28px;
		letter-spacing: 0px;
		margin-bottom: 16px;
	}
}

/* ==========================================================================
   Insurance Banner Section
   ========================================================================== */
.insurance-banner {
	margin-top: 24px;
}

.insurance-banner__content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #005EA4;
	border-radius: 20px;
	padding: 32px;
	position: relative;
	overflow: hidden;
}

.insurance-banner__text {
	flex: 1;
	min-width: 0;
	max-width: 470px;
	z-index: 2;
}

.insurance-banner__title {
	color: #ffffff;
	margin: 0 0 15px;
	font-family: Lexend, sans-serif;
	font-weight: 600;
	font-size: 20px;
	line-height: 33.6px;
	letter-spacing: 0px;
}

.insurance-banner__desc {
	color: #FFFFFF;
	margin: 0 0 14px;
	font-family: Lexend;
	font-weight: 400;
	font-size: 14px;
	line-height: 25.6px;
	letter-spacing: 0px;
}

.insurance-banner__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 32px;
}

.insurance-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	font-family: Lexend;
	font-weight: 400;
	font-size: 14px;
	line-height: 14px;
	letter-spacing: 0.7px;
	color: #ffffff;
	background: #FFFFFF1A;
	border: none;
	border-radius: 8px;
}

.insurance-badge__icon {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.insurance-banner__cta {
	display: inline-block;
	padding: 12px 32px;
	font-family: Lexend;
	font-weight: 700;
	font-size: 14px;
	line-height: 24px;
	letter-spacing: 0px;
	text-align: center;
	color: #005EA4;
	background: #ffffff;
	border-radius: 12px;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.insurance-banner__shield {
	position: absolute;
    top: 1px;
    right: 110px;
    width: 133px;
    height: 166px;
    object-fit: contain;
    opacity: 0.2;
}

.insurance-banner__doctor {
	position: absolute;
	bottom: 0px;
	right: 0;
	height: 270px;
	width: auto;
	object-fit: contain;
}

.insurance-badge svg {
	display: none;
}

/* Mobile: stacked layout with bottom CTA */
@media (max-width: 768px) {
	.insurance-banner__content {
		flex-direction: column;
		padding: 48px 24px 24px 24px;
		text-align: left;
	}

	.insurance-banner__visual {
		display: none;
	}

	.insurance-banner__title {
		font-size: 20px;
		line-height: 28px;
		letter-spacing: 0px;
	}

	.insurance-banner__badges {
		flex-direction: column;
		gap: 10px;
		margin-bottom: 24px;
	}

	.insurance-badge {
		background: transparent;
		border: none;
		padding: 0;
		font-weight: 500;
		font-size: 12px;
		line-height: 12px;
		letter-spacing: 0px;
		color: #ffffff;
	}

	.insurance-badge img {
		display: none;
	}

	.insurance-badge svg {
		display: block;
	}

	.insurance-banner__cta {
		display: block;
		text-align: center;
		border-radius: 6px;
		padding: 12px 24px;
		font-weight: 700;
		font-size: 14px;
		line-height: 24px;
		letter-spacing: 0px;
		text-align: center;
		color: #005EA4;
	}

	.insurance-banner__desc {
		font-weight: 400;
		font-size: 14px;
		line-height: 21px;
		letter-spacing: 0px;
		margin-bottom: 24px;
	}
}

@media (max-width: 480px) {
	.insurance-banner__title {
		font-size: 20px;
	}
}

/* ==========================================================================
   Answer Form
   ========================================================================== */
.ap-answer-form,
#answer-form-c {
	margin-top: 32px;
	padding: 20px;
	background: var(--mf-bg-light);
	border: 1px solid var(--mf-border);
	border-radius: var(--mf-radius-lg);
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

#answer-form-c .ap-avatar img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

.ap-form-c {
	flex: 1;
	min-width: 0;
}

.ap-dummy-editor {
	border: 1px solid var(--mf-border);
	border-radius: var(--mf-radius);
	background: var(--mf-bg);
	min-height: 80px;
	padding: 12px;
	cursor: text;
	transition: border-color var(--mf-transition);
}

.ap-dummy-editor:hover {
	border-color: var(--mf-primary);
}

.ap-dummy-placeholder {
	color: var(--mf-text-muted);
	font-size: 14px;
	padding: 8px 12px;
}

.ap-dummy-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 8px;
	border-bottom: 1px solid var(--mf-border);
	margin-bottom: 8px;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.ap-pagination {
	display: flex;
	justify-content: center;
	gap: 4px;
	padding: 20px 0;
}

.ap-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	font-size: 14px;
	color: var(--mf-text-secondary);
	background: var(--mf-bg);
	border: 1px solid var(--mf-border);
	border-radius: var(--mf-radius);
	text-decoration: none;
}

.ap-pagination .page-numbers:hover {
	border-color: var(--mf-primary);
	color: var(--mf-primary);
}

.ap-pagination .page-numbers.current {
	background: var(--mf-primary);
	border-color: var(--mf-primary);
	color: #ffffff;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */
.question-sidebar .widget {
	background: var(--mf-bg);
	border: 1px solid var(--mf-border);
	border-radius: var(--mf-radius-lg);
	padding: 16px;
	margin-bottom: 16px;
}

.question-sidebar .widget-title {
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 8px;
}

/* ==========================================================================
   Login/Signup
   ========================================================================== */
.ap-login-signup {
	margin-top: 24px;
	padding: 20px;
	text-align: center;
	background: var(--mf-bg-light);
	border: 1px solid var(--mf-border);
	border-radius: var(--mf-radius-lg);
}

.ap-login-signup a {
	color: var(--mf-primary);
	font-weight: 600;
}

/* No permission */
.ap-no-permission {
	padding: 24px;
	text-align: center;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: var(--mf-radius-lg);
	color: #991b1b;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.question-sidebar {
		flex: 1 1 auto;
		max-width: 100%;
		position: static;
	}
}

@media (max-width: 768px) {
	.ap-question-title {
		font-size: 20px;
	}

	.ap-question-body {
		flex-direction: column;
		gap: 12px;
	}

	.ap-single-vote {
		flex-direction: row;
		gap: 8px;
	}

	.answer {
		padding: 20px 16px;
	}

	.ap-answer-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.ap-answer-header .ap-avatar img {
		width: 44px;
		height: 44px;
	}

	.ap-post-footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.ap-footer-right {
		margin-left: 0;
		width: 100%;
	}

	.ap-footer-right .ap-btn {
		width: 100%;
		justify-content: center;
	}

	.ap-sorting-tab {
		flex-direction: column;
		align-items: flex-start;
	}

	#answer-form-c,
	.ap-answer-form {
		flex-direction: column;
		padding: 14px;
	}
}

.medifee-layout #anspress .answer.best-answer .ap-avatar .profile-picture {
	background: #1E88E51A;
	border-radius: 9999px;
	font-weight: 700;
	font-size: 20px;
	line-height: normal;
	letter-spacing: 0px;
	text-align: center;
	color: #1E88E5;
	width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
	.ap-question-title {
		font-size: 18px;
	}

	.ap-answers-label {
		font-size: 18px;
	}

	.ap-answer-author-info {
		/* flex-direction: column; */
		gap: 16px;
	}

	.ap-answer-author-info.have-padding {
		padding-top: 20px;
	}
}

@media (max-width: 768px) {

	.medifee-layout #anspress .answer.best-answer .ap-avatar .profile-picture {
		width: 56px;
    	height: 56px;
		font-size: 16px;
	}

	.ap-verified-badge {
		bottom: 3px;
	}

	#anspress .answer.question-single .ap-answer-body .ap-answer-content h1, #anspress .answer.question-single .ap-answer-body .ap-answer-content h2, #anspress .answer.question-single .ap-answer-body .ap-answer-content h3, #anspress .answer.question-single .ap-answer-body .ap-answer-content h4, #anspress .answer.question-single .ap-answer-body .ap-answer-content h5, #anspress .answer.question-single .ap-answer-body .ap-answer-content h6
	{
		font-size: 18px;
		line-height: 21px;
	}


	#anspress .answer.question-single .ap-answer-body .ap-answer-content * {
		font-size: 12px;
		line-height: 21px;
		margin-bottom: 15px;
	}

	#anspress .answer.question-single .ap-answer-header {
		padding-bottom: 14px;
	}

	.question-meta-bar {
		gap: 16px;
	}

	.question-meta-bar .meta-item {
		font-size: 12px;
		line-height: 14px;
		letter-spacing: 0.7px;
	}

	.question-meta-bar .meta-item img {
		width: 10px;
		height: 10px;
	}

	.question-meta-bar {
		align-items: center;
		gap: 21px;
		border: none;
	}

	.question-meta-bar .meta-item .desktop,
	.medifee-layout #anspress .ap-answers-label img {
		display: none;
	}
	
	.question-meta-bar .meta-item .mobile {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		gap: 12px;
	}
	
	.question-meta-bar .meta-item .profile-picture {
		background: #1E88E51A;
		border-radius: 9999px;
		padding: 8px 15px;
		font-weight: 700;
		font-size: 16px;
		line-height: 24px;
		letter-spacing: 0px;
		text-align: center;
		color: #1E88E5;
	}

	.question-meta-bar .meta-item .profile-name {
		font-family: Lexend;
		font-weight: 600;
		font-size: 14px;
		line-height: 14px;
		letter-spacing: 0.7px;
		color: #1E293B;
	}

	.question-meta-bar .meta-item:first-child {
        flex: 0 0 100%;
        width: 100%;
    }

    .medifee-layout-content .question-meta-bar .meta-item:not(:first-child) {
        flex: 1;
    }

	.medifee-layout-content .ap-best-answer-badge {
		font-size: 12px;
    	line-height: normal;
		padding-right: 7px;
		padding-left: 7px;
	}

	.medifee-layout-content #anspress .ap-q .ap-avatar img {
        max-width: 56px;
        height: auto;
    }

	.medifee-layout-content #anspress .ap-post-footer>* {
        display: flex;
        text-align: center;
        font-size: 11px;
        border-bottom: none;
		width: 100%;
        justify-content: space-between;
    }

	.medifee-layout-content .answer.question-single .ap-post-footer {
		padding: 20px 0 0;
    	margin-top: 20px;
		gap: 24px;
	}

	.medifee-layout-content #anspress .ap-q .ap-avatar {
		position: relative;
	}

	.ap-verified-badge {
		width: 10px;
    	height: 10px;
	}

	.cost-factors-section {
		margin-top: 24px;
	}

	.cost-factor-card {
		padding: 10px;
		background: #E5F0ED;
		border: 1px solid #E2E8F0;
		border-radius: 8px;
	}

	.cost-factor-card__title {
		margin-bottom: 10px;
		font-size: 12px;
		line-height: normal;
	}

	.cost-factor-card__desc {
		font-size: 12px;
		line-height: normal;
	}

	.insurance-banner {
		margin-top: 22px;
	}

	.medifee-layout {
        gap: 30px;
    }

	.ap-post-footer .ap-footer-left {
		gap: 15px;
	}
}


@media (max-width: 399px) {
	.ap-post-footer .ap-footer-left {
		gap: 5px;
	}
}

@media (max-width: 320px) {
	.ap-post-footer .ap-footer-left {
		flex-wrap: wrap;
    	row-gap: 20px;
	}
}

/* ==========================================================================
   Answer Actions: Toast & Active States
   ========================================================================== */
.medifee-toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	background: #1E293B;
	color: #ffffff;
	padding: 12px 24px;
	border-radius: 8px;
	font-family: Lexend, sans-serif;
	font-size: 14px;
	font-weight: 500;
	z-index: 99999;
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.medifee-toast.show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}


.ap-btn.link-button.active,
.ap-btn.dislink-button.active {
	pointer-events: none;
}

.ap-btn.processing {
	pointer-events: none;
}
