body,
.wp-block-button__link,
button:not(.wp-block-accordion-heading__toggle),
.font-main-bold,
strong {
    font-family: 'Inter', sans-serif;
}

body {
    font-weight: 400;
}

font-main-bold,
strong {
    font-weight: 500;
}

.wp-block-button__link,
button {
    font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

/* Archive hero */
.mmg-archive-hero {
	background-color: #022147;
	padding: 40px 20px;
	text-align: center;
}

.mmg-archive-hero__breadcrumbs {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 12px;
}

.mmg-archive-hero__breadcrumbs a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
}

.mmg-archive-hero__breadcrumbs a:hover {
	color: #fff;
}

.mmg-archive-hero__breadcrumbs .breadcrumb_last {
	color: #f4c353e3;
}

.mmg-archive-hero__title {
	font-size: clamp(28px, 5vw, 48px);
	font-weight: 800;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 10px;
	letter-spacing: 1px;
}

.mmg-archive-hero__count {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
}

.mmg-container {
    margin-top: 56px;
}

/* Blog archive — grid */
.mmg-blog-posts--grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin: 0 0 32px;
}

@media (max-width: 600px) {
	.mmg-blog-posts--grid { grid-template-columns: 1fr; }
}

/* Blog card */
.mmg-blog-card {
	background: #fff;
	border: 1px solid #e9e9e9;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.mmg-blog-card__img-wrap {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.mmg-blog-card__img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mmg-blog-card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.mmg-blog-card__cat {
	display: inline-block;
	width: fit-content;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: #fff;
	background: #F2633D;
	padding: 3px 8px;
	border-radius: 3px;
	margin-bottom: 10px;
	text-decoration: none;
    letter-spacing: 2px;
}

.mmg-blog-card__cat:hover {
	text-decoration: none;
	color: #fff;
}

.mmg-blog-card__title {
	font-size: 17px;
	line-height: 1.3;
	margin-bottom: 10px;
    text-transform: uppercase;
}

.mmg-blog-card__title a {
	text-decoration: none;
	color: inherit;
}

.mmg-blog-card__excerpt {
	font-size: 14px;
	color: #555;
	line-height: 1.6;
	margin-bottom: 16px;
	flex: 1;
}

.mmg-blog-card__meta {
	display: flex;
	align-items: center;
	gap: 2px;
	font-size: 12px;
	color: #a3a3a3;
	margin-top: auto;
	border-top: 1px solid #e5e5e5;
	padding-top: 10px;
}

.mmg-blog-card__read-more {
	margin-left: auto;
	font-size: 12px;
	font-weight: 700;
	color: #022147;
	text-decoration: none;
	letter-spacing: 0.5px;
}

/* Section layout */
.section-blog-posts__row {
	gap: 40px;
}

.section-blog-posts__left-col {
	flex-basis: 66.66%;
	min-width: 0;
}

.section-blog-posts__right-col {
	flex-basis: 33.33%;
	min-width: 0;
}

.section-blog-posts__left-col,
.section-blog-posts__right-col {
	flex-grow: 1;
}

@media (max-width: 781px) {
	.section-blog-posts__left-col,
	.section-blog-posts__right-col {
		flex-basis: 100%;
	}
}

/* OLD - sidebar styles - replaced below */
/*
.sidebar-blog { position: sticky; top: 150px; z-index: 99; }
.sidebar-blog .wp-block-latest-posts__list { list-style: decimal; list-style-position: inside; }
.sidebar-blog .wp-block-latest-posts__list > li::marker { color: var(--wp--preset--color--mmg-primary); }
.sidebar-blog .wp-block-latest-posts__list > li { padding: 5px 30px; border-left: 2px solid transparent !important; line-height: 1.3; width: fit-content; transition: .2s !important; }
.sidebar-blog .wp-block-latest-posts__list > li:hover { color: var(--wp--preset--color--mmg-primary); border-color: currentcolor !important; }
.sidebar-blog .wp-block-latest-posts__list:hover > li { border-color: #E6E8E6; }
.sidebar-blog .all-articles-heading a { text-decoration: underline; color: var(--wp--preset--color--mmg-primary); }
.sidebar-blog .btn:hover, .sidebar-blog .social li a:hover { background: #e75a38 !important; color: #ffffff !important; }
.sidebar-blog .search, .sidebar-blog .list-group { margin-bottom: 24px; }
.sidebar-blog .list-group ul { margin: 0; }
.sidebar-blog .list-group-title { height: auto !important; padding: 10px 22px; }
.sidebar-blog .list-group-title h3 { margin-bottom: 0; font-size: 20px; line-height: 22px; }
.sidebar-blog .list-group-cont { height: auto !important; }
.sidebar-blog .list-group-cont .social { text-align: center; }
.sidebar-blog .list-group-cont .social li { height: auto !important; min-height: inherit !important; padding: 10px 5px; background: #ffffff !important; }
.sidebar-blog .list-group-tabs li.active:after, .sidebar-blog .list-group-title:after { display: none; }
.sidebar-blog .list-group.widget_categories li, .sidebar-blog .list-group.widget_archive li { background: #ffffff !important; height: auto; padding: 13px 15px; border-top: 1px solid #eaeaec; }
.sidebar-blog .list-group.widget_categories li a:after, .sidebar-blog .list-group.widget_archive li a:after { content: '\f054'; font-family: 'icomoon' !important; float: right; color: #9298a0; vertical-align: middle; font-size: 14px; }
.sidebar-blog .list-group.widget_categories li:first-child, .sidebar-blog .list-group.widget_archive li:first-child { border: none; }
.sidebar-blog .list-group.widget_categories li a, .sidebar-blog .list-group.widget_archive li a { font-size: 18px; line-height: 22px; text-transform: capitalize; color: #364150; display: inline-block; width: 100%; }
.sidebar-blog .list-group.widget_categories li a:hover, .sidebar-blog .list-group.widget_archive li a:hover, .sidebar-blog .list-group.widget_categories li a:hover:after, .sidebar-blog .list-group.widget_archive li a:hover:after { text-decoration: none; color: #49b8e1 !important; }
.sidebar-blog .list-group.widget_tags { padding: 25px 0; }
.sidebar-blog .list-group.widget_tags li { display: inline-block; float: left; padding: 2px; min-height: inherit; height: auto; background: transparent !important; }
.sidebar-blog .list-group.widget_tags .btn { padding-top: 11px; padding-bottom: 10px; letter-spacing: 2px; font-size: 12px; border-bottom: 0; }
.sidebar-blog .video-list { margin-bottom: 0; }
.mmg-blog-categories-lg .wp-block-heading, .sidebar-blog .wp-block-heading { font-family: Specter, sans-serif !important; font-weight: 700 !important; letter-spacing: 1px !important; font-size: 18px; margin-bottom: 1.5rem; }
*/
/* END OLD */

/* Sidebar */
.sidebar-blog {
	position: sticky;
	top: 150px;
	z-index: 99;
}

/* Categories rows */
.sidebar-blog .wp-block-categories-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 6px 0;
}

.sidebar-blog  .wp-block-categories-list li a {
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}

.sidebar-blog .wp-block-categories-list li a:hover {
	color: #F2633D;
	text-decoration: none !important;
    padding-left: 16px;
}

/* Remove old chevron arrow */
.sidebar-blog .wp-block-categories-list li a:after  {
	display: none !important;
}

/* Category count — text node after <a> aligned right */
.sidebar-blog .wp-block-categories-list li  {
	font-size: 13px;
	color: #A3A3A3;
}

/* Recent posts rows */
.sidebar-blog .wp-block-latest-posts__list li {
    gap: 12px;
    padding: 10px 16px;
    background: #fff;
    border-radius: 10px;
}

.sidebar-blog .wp-block-latest-posts__featured-image img {
    border-radius: 5px;
}

.sidebar-blog .wp-block-latest-posts__list  {
	display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.sidebar-blog .wp-block-latest-posts__list li a {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	line-height: 1.3;
	color: #022147;
	text-decoration: none;
}

.sidebar-blog .list-group .wp-block-latest-posts__list li a:hover {
	color: #F2633D;
}

sidebar-blog.wp-block-latest-posts__featured-image.alignleft {
    margin-right: 12px;
}

.sidebar-blog .wp-block-latest-posts__post-date {
	font-size: 12px;
	color: #A3A3A3;
	margin-top: 4px;
}

@media (max-width: 781px) {
	.sidebar-blog {
		position: static;
	}
}

/* Pagination */
.navigation.pagination {
	margin: 8px 0 32px;
}

.navigation.pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex-wrap: wrap;
}

.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 6px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	color: #022147;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.navigation.pagination .page-numbers:hover {
	background-color: #022147;
	border-color: #022147;
	color: #fff;
}

.navigation.pagination .page-numbers.current {
	background-color: #F2633D;
	border-color: #F2633D;
	color: #fff;
}

.navigation.pagination .page-numbers.dots {
	border-color: transparent;
	background: none;
}

.navigation.pagination .prev.page-numbers,
.navigation.pagination .next.page-numbers {
	font-size: 12px;
}

/* ================================================
   Single post content
   ================================================ */
.single-blog-post p {
	font-size: 17px;
	line-height: 1.67;
}

.single-blog-post p,
.single-blog-post ul,
.single-blog-post ol {
	line-height: 2.2;
	font-weight: 300;
}

.single-blog-post ul {
	list-style: disc;
}

.single-blog-post .wp-block-embed iframe {
	margin-bottom: 35px;
	margin-top: 20px;
	width: 100%;
}

/* ================================================
   Share icons (soc-share2)
   ================================================ */

.soc-share2 {
	margin: 3rem 0 2rem 0;
	font-size: 0.85rem;
	line-height: 0;
}

.soc-share2__title {
	display: inline-block;
	font-weight: 500;
	font-size: 15px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.soc-share2__list {
	border-top: solid 1px #d8d7d7;
	padding-top: 8px;
}

.soc-share2__list__item {
	display: inline-block;
	vertical-align: middle;
	margin: 0 0.5em 0 0;
}

.soc-share2__link {
	display: inline-block;
}

.soc-share2__img {
	width: 2em;
	height: 2em;
}

.soc-share2__img--whatsapp {
	width: 2.5em;
	height: 2.5em;
}

/* ================================================
   Next / Prev posts
   ================================================ */

.mmg-next-prev-post {
	display: flex;
	gap: 14px;
	align-items: center;
	background: #fff;
	padding: 20px 20px 20px 14px;
}

.mmg-next-prev-posts-list {
	flex-direction: column;
	gap: 30px;
}

.mmg-next-prev-posts-list__col {
	flex-basis: 100%;
}

.mmg-next-prev-post__title {
	font-size: 16px;
	margin-bottom: 10px;
	text-decoration: none;
}

.mmg-next-prev-post__link {
	text-decoration: underline;
	font-size: 13px;
	color: inherit;
}

.mmg-next-prev-post img {
	width: 130px;
	height: 85px;
	object-fit: cover;
}

@media (min-width: 1120px) {
	.mmg-next-prev-posts-list__col {
		flex-basis: 50%;
	}

	.mmg-next-prev-posts-list {
		flex-direction: row;
	}
}

/* ================================================
   Related posts
   ================================================ */

.mmg-related-posts {
	margin-top: 48px;
	margin-bottom: 48px;
}

.mmg-related-posts__heading {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #022147;
	margin-bottom: 24px;
	padding-bottom: 14px;
	border-bottom: 2px solid #e9e9e9;
}

.mmg-related-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

@media (max-width: 900px) {
	.mmg-related-posts__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.mmg-related-posts__grid {
		grid-template-columns: 1fr;
	}
}

/* ================================================
   Article breadcrumb band */
.mmg-article__breadcrumb {
	font-size: 13px;
    margin-bottom: 20px;
}

.mmg-article__breadcrumb a {
	text-decoration: none;
	transition: color 0.2s;
}

/* Article header */
.mmg-article-header {
	padding: 0 0 24px;
}

.mmg-article-header__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.mmg-article-header__dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: #d4d4d4;
	display: inline-block;
	flex-shrink: 0;
}

.mmg-article-header__date,
.mmg-article-header__read-time {
	font-size: 13px;
	color: #A3A3A3;
}

.mmg-article-header__title {
	font-size: clamp(28px, 4vw, 52px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: 1.5px;
	color: #022147;
	text-transform: uppercase;
	margin: 0;
}

/* Article hero image */
.article-hero-img {
	width: 100%;
	height: 420px;
	object-fit: cover;
	border-radius: 10px;
	margin-bottom: 36px;
	display: block;
}
