/* ==================================================================
   WordPress-specific styling.
   The original HTML template had no comments, sidebar, pagination or
   archive markup, so those live here.
   ================================================================== */

/* ---------- Layout scaffolding ---------- */
.mc-site-content { position: relative; }
.mc-page-area,
.mc-archive,
.mc-single,
.mc-404-area { padding: 90px 0; }

.mc-elementor-page .mc-page-area { padding: 0; }

/* ---------- Header additions ---------- */
.header-logo .mc-logo-text {
	font-size: 26px;
	font-weight: 700;
	color: var(--mc-heading);
	text-decoration: none;
	line-height: 1.2;
}
.header-logo img,
.header-logo .custom-logo { max-width: 180px; height: auto; }

.header-munu ul li.menu-item-has-children { position: relative; }
.header-munu ul li .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .09);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: all .3s ease;
	z-index: 99;
	padding: 8px 0;
}
.header-munu ul li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.header-munu ul li .sub-menu ul { display: block; }
.header-munu ul li .sub-menu ul li { display: block; margin: 0; }
.header-munu ul li .sub-menu ul li a { display: block; padding: 9px 22px; font-size: 15px; }
.header-munu ul li .sub-menu .sub-menu { top: 0; left: 100%; }

.mc-header-btn .mc-btn {
	display: inline-block;
	padding: 10px 22px;
	color: #fff;
	text-decoration: none;
	font-weight: 500;
}

.mc-header-layout-centered .header-logo { margin-bottom: 12px; }
.mc-header-layout-centered .header-munu > ul { justify-content: center; }

.mc-header-layout-transparent .header-area {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background: transparent !important;
	z-index: 20;
}
.mc-header-layout-transparent .header-area.sticky-nav {
	position: fixed;
	background: #fff !important;
}

/* ---------- Off-canvas panel ---------- */
.sidebar-group { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
.sidebar-group .sidebar-widget {
	position: absolute;
	top: 0;
	right: -420px;
	width: 400px;
	max-width: 90vw;
	height: 100%;
	background: #fff;
	overflow-y: auto;
	transition: right .4s ease;
	padding: 40px 32px;
	box-shadow: -8px 0 40px rgba(0, 0, 0, .12);
	pointer-events: auto;
}
.sidebar-group.isActive { pointer-events: auto; background: rgba(0, 0, 0, .5); }
.sidebar-group.isActive .sidebar-widget { right: 0; }
.sidebar-group .widget-heading { text-align: right; margin-bottom: 20px; }
.sidebar-group .close-side-widget { font-size: 20px; color: var(--mc-heading); }
.sidebar-group .sidebar-logo img { max-width: 170px; margin-bottom: 26px; }
.sidebar-group .about-box h2,
.sidebar-group .contact-info h2 { font-size: 22px; margin-bottom: 12px; }
.sidebar-group .contact-info { margin-top: 26px; }
.sidebar-group .list-style-one { list-style: none; padding: 0; }
.sidebar-group .list-style-one li { padding: 7px 0; display: flex; gap: 10px; align-items: flex-start; }
.sidebar-group .list-style-one li i { color: var(--mc-primary); margin-top: 5px; }
.sidebar-group .social-box { list-style: none; padding: 0; display: flex; gap: 10px; margin-top: 24px; }
.sidebar-group .social-box li a {
	width: 38px; height: 38px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: var(--mc-light);
	color: var(--mc-heading);
}
.sidebar-group .social-box li a:hover { background: var(--mc-primary); color: #fff; }
body.mc-offcanvas-open { overflow: hidden; }

/* ---------- Search popup ---------- */
.search-popup {
	position: fixed; inset: 0;
	background: rgba(14, 65, 95, .96);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden;
	transition: all .35s ease;
	z-index: 10000;
}
.search-popup.popup-visible { opacity: 1; visibility: visible; }
.search-popup form { width: min(680px, 88vw); }
.search-popup .form-group { position: relative; }
.search-popup input[type="search"] {
	width: 100%;
	padding: 20px 60px 20px 24px;
	border: 0;
	border-radius: 6px;
	font-size: 20px;
}
.search-popup .form-group button {
	position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
	background: transparent; border: 0; font-size: 20px; color: var(--mc-primary);
	padding: 10px;
}
.search-popup .close-search {
	position: absolute; top: 30px; right: 34px;
	background: transparent; border: 0; color: #fff; font-size: 26px;
}
.search-popup .close-search.style-two { right: 74px; }

/* ---------- Scroll to top ---------- */
.scroll-area { position: fixed; right: 26px; bottom: 26px; z-index: 999; opacity: 0; visibility: hidden; transition: all .3s ease; }
.scroll-area.mc-visible { opacity: 1; visibility: visible; }
.go-top {
	width: 46px; height: 46px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	color: #fff; cursor: pointer;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}
.go-top i + i { display: none; }

/* ---------- Blog cards ---------- */
.mc-post-card {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 30px;
	box-shadow: 0 6px 30px rgba(24, 25, 29, .07);
	transition: transform .3s ease, box-shadow .3s ease;
}
.mc-post-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(24, 25, 29, .12); }
.mc-post-card .blog-thumb img { width: 100%; height: auto; display: block; }
.mc-post-card .blog-content { padding: 26px 24px 30px; }
.mc-post-meta ul { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }
.mc-post-meta ul li { color: var(--mc-body); }
.mc-post-meta ul li i { color: var(--mc-primary); margin-right: 5px; }
.mc-post-card .blog-title h4 { font-size: 21px; margin: 0 0 12px; }
.mc-post-card .blog-title h4 a { color: var(--mc-heading); text-decoration: none; }
.mc-post-card .blog-btn a { font-weight: 500; color: var(--mc-primary); text-decoration: none; }

/* ---------- Single post ---------- */
.mc-single-post .blog-details-thumb img { width: 100%; height: auto; border-radius: 10px; margin-bottom: 28px; }
.mc-entry-content { font-size: 17px; line-height: 1.8; }
.mc-entry-content > * + * { margin-top: 1.1em; }
.mc-entry-content h2 { font-size: 30px; }
.mc-entry-content h3 { font-size: 25px; }
.mc-entry-content ul,
.mc-entry-content ol { padding-left: 22px; }
.mc-entry-content li { margin-bottom: 8px; }
.mc-entry-content img { max-width: 100%; height: auto; border-radius: 8px; }
.mc-entry-content blockquote {
	background: var(--mc-light);
	padding: 24px 28px;
	border-radius: 6px;
	font-style: italic;
	font-size: 19px;
}
.mc-entry-content pre {
	background: #16212b;
	color: #e6edf3;
	padding: 20px;
	border-radius: 8px;
	overflow-x: auto;
}
.mc-entry-content code { background: var(--mc-light); padding: 2px 6px; border-radius: 3px; }
.mc-entry-content table { width: 100%; border-collapse: collapse; }
.mc-entry-content th,
.mc-entry-content td { border: 1px solid #e6e6e6; padding: 10px 12px; }

.mc-post-tags { margin-top: 30px; }
.mc-post-tags span { font-weight: 600; margin-right: 8px; }
.mc-post-tags a {
	display: inline-block;
	padding: 5px 14px;
	background: var(--mc-light);
	border-radius: 30px;
	font-size: 14px;
	margin: 0 6px 8px 0;
	text-decoration: none;
	color: var(--mc-heading);
}
.mc-post-tags a:hover { background: var(--mc-primary); color: #fff; }

.mc-post-navigation { display: flex; gap: 20px; margin: 40px 0; }
.mc-post-navigation .nav-links { display: flex; width: 100%; gap: 20px; }
.mc-post-navigation .nav-previous,
.mc-post-navigation .nav-next { flex: 1; }
.mc-post-navigation .nav-next { text-align: right; }
.mc-post-navigation a { text-decoration: none; display: block; padding: 18px 22px; background: var(--mc-light); border-radius: 8px; }
.mc-nav-label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--mc-primary); }
.mc-nav-title { display: block; font-weight: 600; color: var(--mc-heading); margin-top: 4px; }

/* ---------- Pagination ---------- */
.mc-pagination { margin-top: 20px; }
.mc-pagination ul { list-style: none; padding: 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.mc-pagination ul li .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 12px;
	border-radius: 6px;
	background: var(--mc-light);
	color: var(--mc-heading);
	text-decoration: none;
	font-weight: 500;
}

/* ---------- Sidebar & widgets ---------- */
.mc-sidebar { position: sticky; top: 100px; }
.mc-widget {
	background: #fff;
	border: 1px solid #eef1f3;
	border-radius: 10px;
	padding: 26px 24px;
	margin-bottom: 30px;
}
.mc-widget-title { font-size: 20px; margin: 0 0 18px; position: relative; padding-bottom: 12px; }
.mc-widget-title:after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--mc-primary); }
.mc-widget ul { list-style: none; padding: 0; margin: 0; }
.mc-widget ul li { padding: 8px 0; border-bottom: 1px dashed #eef1f3; }
.mc-widget ul li:last-child { border-bottom: 0; }
.mc-widget ul li a { color: var(--mc-body); text-decoration: none; }
.mc-widget ul li a:hover { color: var(--mc-primary); }

.mc-search-form { display: flex; position: relative; }
.mc-search-field {
	width: 100%;
	padding: 13px 50px 13px 16px;
	border: 1px solid #e3e7ea;
	border-radius: 6px;
}
.mc-search-submit {
	position: absolute; right: 4px; top: 4px; bottom: 4px;
	width: 44px; border: 0; border-radius: 5px;
	background: var(--mc-primary); color: #fff; cursor: pointer;
}

.mc-contact-info-widget ul li { display: flex; gap: 12px; align-items: flex-start; }
.mc-contact-info-widget ul li i { color: var(--mc-primary); margin-top: 5px; }

/* ---------- Comments ---------- */
.mc-comments-area { margin-top: 55px; }
.mc-comments-title { font-size: 24px; margin-bottom: 24px; }
.mc-comment-list,
.mc-comment-list .children { list-style: none; padding: 0; }
.mc-comment-list .children { padding-left: 40px; }
.mc-comment-list li.comment { margin-bottom: 26px; }
.mc-comment-list .comment-body {
	background: var(--mc-light);
	border-radius: 10px;
	padding: 22px 24px;
	position: relative;
}
.mc-comment-list .comment-author img { border-radius: 50%; float: left; margin-right: 14px; }
.mc-comment-list .comment-author .fn { font-weight: 600; color: var(--mc-heading); font-style: normal; }
.mc-comment-list .comment-metadata { font-size: 13px; color: #8d9499; }
.mc-comment-list .reply a { font-size: 14px; font-weight: 500; color: var(--mc-primary); text-decoration: none; }
.comment-respond { margin-top: 40px; }
.comment-respond .comment-reply-title { font-size: 22px; margin-bottom: 18px; }
.comment-respond .form-box { margin-bottom: 16px; }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
	width: 100%;
	padding: 14px 18px;
	border: 1px solid #e3e7ea;
	border-radius: 6px;
	background: #fff;
}
.comment-respond .submit {
	border: 0;
	padding: 14px 34px;
	color: #fff;
	cursor: pointer;
	font-weight: 500;
}

/* ---------- 404 & no results ---------- */
.mc-404-code { font-size: clamp(80px, 16vw, 170px); line-height: 1; color: var(--mc-primary); }
.mc-404-inner p { max-width: 560px; margin: 14px auto 26px; }
.mc-404-inner .mc-search-form { max-width: 420px; margin: 0 auto 26px; }
.mc-no-results { background: var(--mc-light); padding: 40px; border-radius: 10px; }

/* ---------- Footer ---------- */
.footer-area { padding: 80px 0 0; }
.footer-wiget { margin-bottom: 40px; }
.footer-wiget-log img { max-width: 180px; margin-bottom: 20px; }
.footer-wiget-title h4 { font-size: 20px; margin-bottom: 18px; }
.footer-wiget-social ul { list-style: none; padding: 0; display: flex; gap: 12px; margin-top: 18px; }
.footer-wiget-social ul li a {
	width: 38px; height: 38px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .1); color: #fff;
}
.footer-contact .contact-item { margin-bottom: 10px; }
.mc-footer-widget ul li { padding: 7px 0; border: 0; }
.mc-copyright-area { padding: 20px 0; margin-top: 40px; }
.mc-copyright-area p { margin: 0; font-size: 15px; }

/* ---------- Breadcrumb ---------- */
.breatcome-area { position: relative; padding: 120px 0; background-size: cover; background-position: center; }
.breatcome-area:before { content: ""; position: absolute; inset: 0; }
.breatcome-content { position: relative; z-index: 2; text-align: center; }
.breatcome-title h1 { color: #fff; font-size: clamp(30px, 5vw, 46px); }
.bratcome-text ul { list-style: none; padding: 0; margin-top: 14px; display: flex; gap: 10px; justify-content: center; }
.bratcome-text ul li { color: rgba(255, 255, 255, .82); }
.bratcome-text ul li + li:before { content: "/"; margin-right: 10px; opacity: .6; }
.bratcome-text ul li a { color: #fff; text-decoration: none; }

/* ---------- Accessibility ---------- */
.skip-link { position: absolute; left: -9999px; }
:focus-visible { outline: 2px solid var(--mc-primary); outline-offset: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.mc-page-area, .mc-archive, .mc-single { padding: 60px 0; }
	.mc-sidebar { position: static; margin-top: 40px; }
	.mc-post-navigation .nav-links { flex-direction: column; }
	.breatcome-area { padding: 80px 0; }
}
