/**
 * From-UA theme styles — tokens and layout mirrored from from-ua.info (Cream Magazine).
 */

:root {
	--container-width: 1170px;
	--content-width: 66.666667%;
	--sidebar-width: 33.333333%;

	--color-text: #010101;
	--color-muted: #6f6f6f;
	--color-border: #eeeeee;
	--color-background: #ffffff;
	--color-surface: rgba(0, 0, 0, 0.02);
	--color-surface-strong: rgba(0, 0, 0, 0.03);
	--color-accent: #ec521e;
	--color-accent-default: #ff3d00;
	--color-footer: #111111;
	--color-white: #ffffff;
	--color-nav: #111111;

	--font-primary: "Mulish", "Muli", sans-serif;
	--font-heading: "Roboto", sans-serif;

	--space-xs: 5px;
	--space-sm: 10px;
	--space-md: 20px;
	--space-lg: 30px;
	--space-xl: 40px;

	--radius: 0;
	--transition: all 0.7s ease;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--font-primary);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-background);
	letter-spacing: 0;
	word-wrap: break-word;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	border: 0;
}

a {
	color: var(--color-text);
	text-decoration: none;
	transition: var(--transition);
}

a:hover,
a:focus {
	color: var(--color-accent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 var(--space-md);
	letter-spacing: 0;
}

h1 { font-size: 38px; line-height: 1.1; }
h2 { font-size: 32px; line-height: 1.2; }
h3 { font-size: 26px; line-height: 1.3; }

p { margin: 0 0 1em; }

ul,
ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

figure {
	margin: 0;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.clearfix::after {
	content: "";
	display: table;
	clear: both;
}

/* ---------- Grid (Cream Magazine columns) ---------- */
.cm-container {
	position: relative;
	max-width: var(--container-width);
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	margin: 0 auto;
}

.row {
	display: flex;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px;
}

/* Home two-column: columns stack from top independently (no stretch gap). */
.left_and_right_layout_divider > .row {
	align-items: flex-start;
}

.row.align-items-center {
	align-items: center;
}

[class*="cm-col-"] {
	position: relative;
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
}

.cm-col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.cm-col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.cm-col-12 { flex: 0 0 100%; max-width: 100%; }

@media (min-width: 768px) {
	.cm-col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
	.cm-col-md-6 { flex: 0 0 50%; max-width: 50%; }
	.cm-col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
	.cm-col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
	.cm-col-lg-3 { flex: 0 0 25%; max-width: 25%; }
	.cm-col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
	.cm-col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
	.cm-col-lg-6 { flex: 0 0 50%; max-width: 50%; }
	.cm-col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
	.cm-col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
	.cm-col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

/* ---------- Header ---------- */
.general-header {
	background: var(--color-background);
}

.logo-container {
	position: relative;
	z-index: 10;
	text-align: left;
	padding: 30px 0;
	margin-bottom: 0;
	background: transparent;
	background-image: none;
}

.site-logo,
h1.site-logo {
	margin: 0;
	font-size: 0;
	line-height: 0;
	font-weight: inherit;
}

.site-logo a {
	color: inherit;
	font-size: 0;
	line-height: 0;
}

.custom-logo-link {
	display: inline-block;
	line-height: 0;
}

.custom-logo {
	max-height: 125px;
	width: auto;
	max-width: 100%;
	display: block;
	margin: 0;
}

.main-navigation {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: stretch;
	background: #000;
	min-height: 49px;
}

.primary-navigation {
	position: relative;
	flex: 1 1 auto;
	width: 100%;
	z-index: 9900;
	line-height: normal;
	overflow: hidden;
}

.primary-navigation.dark {
	background: #000;
}

.primary-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: block;
	text-align: left;
}

.primary-navigation ul > li {
	list-style: none;
	display: inline-block;
	margin: 0;
	padding: 0;
	position: relative;
	vertical-align: middle;
	line-height: normal;
}

.primary-navigation ul > li > a {
	display: block;
	padding: 15px 7px;
	color: #fff;
	font-size: 0.92rem;
	font-weight: 400;
	font-family: var(--font-primary);
	line-height: normal;
	white-space: nowrap;
	box-sizing: border-box;
	transition: all 0.3s ease-out;
}

@media (min-width: 1200px) {
	.primary-navigation ul > li > a {
		padding: 15px 8px;
		font-size: 0.95rem;
	}
}

.primary-navigation.dark li a {
	color: #fff;
}

.primary-navigation ul > li > a:hover,
.primary-navigation ul > li > a:focus,
.primary-navigation ul > li.current-menu-item > a,
.primary-navigation ul > li.current-menu-ancestor > a,
.primary-navigation.dark li a:hover {
	color: var(--color-accent);
}

.primary-navigation > ul > li.home-btn {
	background: var(--color-accent);
}

.primary-navigation > ul > li.home-btn > a {
	padding-left: 15px;
	padding-right: 15px;
	color: #fff;
}

.primary-navigation.dark li.home-btn a:hover {
	color: #fff;
}

.icon-home::before {
	content: "⌂";
	font-style: normal;
}

.menu-toggle {
	display: none;
	background: transparent;
	border: 0;
	color: var(--color-white);
	padding: 14px 16px;
	cursor: pointer;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--color-white);
	position: relative;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
	content: "";
	position: absolute;
	left: 0;
}

.menu-toggle-icon::before { top: -7px; }
.menu-toggle-icon::after { top: 7px; }

.header-search-container {
	display: flex;
	align-items: center;
	padding: 0 10px;
	background: #000;
	flex: 0 0 auto;
}

.cm-search-form {
	display: flex;
	align-items: center;
}

.cm-search-form input[type="search"] {
	border: 0;
	background: transparent;
	color: var(--color-white);
	padding: 8px 10px;
	width: 120px;
	font-size: 13px;
	outline: none;
}

.cm-search-form input[type="search"]::placeholder {
	color: #cccccc;
}

.cm-submit-btn {
	border: 0;
	background: transparent;
	color: var(--color-white);
	cursor: pointer;
	padding: 8px;
	font-size: 16px;
}

.icon-search::before {
	content: "⌕";
}

/* ---------- Ticker ---------- */
.ticker-news-area {
	margin: var(--space-md) 0 0;
}

.news_ticker_wrap {
	display: flex;
	align-items: flex-start;
	flex-wrap: nowrap;
	position: relative;
	border: 0;
	background: transparent;
	overflow: hidden;
}

.ticker_head,
.news_ticker_wrap .ticker_items {
	height: 30px;
	line-height: 30px;
}

.ticker_head {
	display: block;
	max-width: 200px;
	flex: 0 0 auto;
	overflow: hidden;
	background-color: var(--color-accent);
	color: var(--color-white);
	padding: 0 10px;
	text-align: center;
	white-space: nowrap;
}

.ticker_icon {
	display: inline-block;
	margin-right: 2px;
	font-size: 13px;
	line-height: 30px;
	vertical-align: top;
}

.ticker_title {
	display: inline-block;
	font-size: 15px;
	margin-left: 3px;
	font-weight: 400;
	font-family: var(--font-primary);
	white-space: nowrap;
	line-height: 30px;
	vertical-align: top;
}

.ticker_items {
	flex: 1 1 auto;
	overflow: hidden;
	position: relative;
	height: 30px;
	line-height: 30px;
}

.ticker_carousel {
	position: relative;
	height: 30px;
}

.ticker_carousel .item {
	display: none;
	padding: 0 15px;
	line-height: 30px;
	height: 30px;
}

.ticker_carousel .item.is-active {
	display: block;
}

.ticker_carousel .item a {
	font-size: 14px;
	font-weight: 400;
}

.ticker_carousel .item a:hover {
	color: var(--color-accent);
}

/* ---------- Banner ---------- */
.banner-area {
	margin-top: 30px;
	margin-bottom: 30px;
}

.cm_banner-five .gutter-left {
	padding-right: 5px;
}

.cm_banner-five .gutter-right {
	padding-left: 5px;
}

.cm_banner-five .gutter-left .post_thumb {
	height: 420px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
	background-color: #222;
}

.cm_banner-five .post-holder {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: var(--space-md);
	z-index: 2;
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 40%, #000 100%);
	color: var(--color-white);
}

.cm_banner-five .post_title h2 {
	font-size: 28px;
	margin: 0 0 8px;
	color: var(--color-white);
}

.cm_banner-five .post_title h2 a {
	color: var(--color-white);
}

.cm_banner-five .post_title h2 a:hover {
	color: var(--color-accent);
}

.cm_banner-five .post_meta li a,
.cm_banner-five .cm-post-meta {
	color: #ddd;
}

.cm_banner-carousel-five {
	position: relative;
	overflow: hidden;
}

.cm_banner-carousel-five .item {
	display: none;
}

.cm_banner-carousel-five .item.is-active {
	display: block;
}

.cm_banner-carousel-five .carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 40px;
	height: 40px;
	border: 0;
	background: var(--color-accent);
	color: #fff;
	cursor: pointer;
	font-size: 18px;
	line-height: 40px;
	text-align: center;
	padding: 0;
}

.cm_banner-carousel-five .carousel-prev { left: 10px; }
.cm_banner-carousel-five .carousel-next { right: 10px; }

.right-content-holder .custom_row {
	display: flex;
	flex-wrap: wrap;
	margin: -7.5px;
}

.right-content-holder .small_posts {
	width: 50%;
	padding: 7.5px;
	margin: 0;
}

.right-content-holder .small_posts .post_thumb {
	height: 200px;
	background-size: cover;
	background-position: center;
	position: relative;
	background-color: #333;
}

.right-content-holder .small_posts .post-holder {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 12px;
	z-index: 2;
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 50%, #000 100%);
}

.right-content-holder .post_title h2 {
	font-size: 15px;
	margin: 0 0 4px;
}

.right-content-holder .post_title h2 a {
	color: #fff;
}

.right-content-holder .post_meta li a {
	color: #ddd;
	font-size: 12px;
}

/* ---------- Sections ---------- */
.news-area {
	margin-bottom: 0;
}

.top-news-area.news-area,
.middle-news-area.news-area,
.bottom-news-area.news-area {
	margin-bottom: 0;
}

.cm-post-widget-section {
	margin-bottom: 30px;
}

.news-area .cm-post-widget-three,
.news-area .cm_post_widget_six,
.news-area .cm_middle_post_widget_one,
.news-area .cm_middle_post_widget_four,
.news-area .cm_middle_post_widget_six {
	margin-bottom: 0;
}

.section-title {
	position: relative;
	margin-bottom: 25px;
	text-align: left;
	overflow: hidden;
	padding-bottom: 0;
	border-bottom: 0;
}

.section-title h1,
.section-title h2 {
	display: inline-block;
	font-size: 20px;
	font-weight: 700;
	position: relative;
	width: 100%;
	margin: 0;
	padding-right: 0;
	background: transparent;
	line-height: 1.2;
}

.section-title h2::after,
.section-title h1::after {
	content: "";
	position: absolute;
	height: 2px;
	width: 100%;
	top: 50%;
	margin-left: 15px;
	background-color: var(--color-accent);
}

.section-title h2 a:hover {
	color: var(--color-accent);
}

.cm_archive_page .section-title h1 {
	font-size: 26px;
	line-height: 1.1;
}

.cm_archive_page .section-title h1::after {
	margin-left: 15px;
}

.cm-post-meta {
	margin-top: 5px;
}

.cm-post-meta ul.post_meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.cm-post-meta .posted_date a,
.cm-post-meta .entry_cats a {
	font-size: 13px;
	color: var(--color-muted);
}

.cm-post-meta .posted_date a:hover,
.cm-post-meta .entry_cats a:hover {
	color: var(--color-accent);
}

.entry_cats ul.post-categories {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.entry_cats ul.post-categories li a {
	display: inline-block;
	font-size: 12px;
	background: var(--color-accent);
	color: #fff !important;
	padding: 2px 8px;
	line-height: 1.4;
}

.post_title h2 {
	font-size: 18px;
	margin: 0 0 6px;
	line-height: 1.35;
}

.post_title h2 a:hover {
	color: var(--color-accent);
}

/* Overlay / big cards (Політика only — NOT war/tech stacked cards) */
.big-card,
.cm-post-widget-two .big-card {
	color: #fff;
	margin-bottom: 30px;
	position: relative;
}

.big-card .post_thumb,
.cm-post-widget-two .big-card .post_thumb {
	position: relative;
	overflow: hidden;
	background-color: #222;
}

.big-card .post-holder,
.cm-post-widget-two .big-card .post-holder {
	position: absolute;
	width: 100%;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 20px;
	z-index: 2;
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 40%, #000 100%);
}

.big-card .post_title h2,
.cm-post-widget-two .big-card .post-holder .post_title h2 {
	font-size: 24px;
	color: #fff;
}

.big-card .post_title h2 a,
.cm-post-widget-two .big-card .post-holder .post_title h2 a,
.big-card .post_meta li a,
.cm-post-widget-two .big-card .post_meta li a {
	color: #fff;
}

.big-card .post_title h2 a:hover,
.cm-post-widget-two .big-card .post-holder .post_title h2 a:hover {
	color: var(--color-accent);
}

.big-card .post-excerpt {
	font-size: 14px;
	color: #eee;
	margin-bottom: 8px;
}

.mask {
	position: absolute;
	inset: 0;
	background: transparent;
	transition: background 0.3s ease;
	z-index: 1;
	pointer-events: none;
}

.big-card:hover .mask {
	background-color: rgba(0, 0, 0, 0.25);
}

/* Stacked cards (Війна top / Технології featured) — image + content BELOW */
.cm_middle_post_widget_one .card,
.cm_middle_post_widget_four .left-container .card {
	color: var(--color-text);
	margin-bottom: 30px;
	position: relative;
}

.cm_middle_post_widget_one .card .post_thumb,
.cm_middle_post_widget_four .left-container .card .post_thumb {
	position: relative;
	overflow: hidden;
}

.cm_middle_post_widget_one .card .post-holder,
.cm_middle_post_widget_four .post-holder {
	position: relative;
	padding: 20px;
	background-color: var(--color-surface);
	border: 1px solid var(--color-surface-strong);
}

.cm_middle_post_widget_one .card .post_title h2,
.cm_middle_post_widget_four .post-holder .post_title h2 {
	font-size: 20px;
	color: var(--color-text);
	margin: 0 0 6px;
}

.cm_middle_post_widget_one .card .post_title h2 a,
.cm_middle_post_widget_four .post-holder .post_title h2 a {
	color: var(--color-text);
}

.cm_middle_post_widget_one .card .post_title h2 a:hover,
.cm_middle_post_widget_four .post-holder .post_title h2 a:hover {
	color: var(--color-accent);
}

.cm_middle_post_widget_four .post-holder .post-excerpt {
	margin-top: 10px;
	margin-bottom: 8px;
	font-size: 14px;
	color: var(--color-muted);
}

/* Layout-one compact rows (Війна bottom) */
.cm_middle_post_widget_one .card.card_layout_one {
	margin-bottom: 20px;
	color: var(--color-text);
}

.cm_middle_post_widget_one .boxes_holder .post_title h2 {
	font-size: 16px;
	margin: 0 0 4px;
	line-height: 1.35;
}

.cm_middle_post_widget_one .boxes_holder .post_title h2 a {
	color: var(--color-text);
}

.cm_middle_post_widget_one .boxes_holder .post_title h2 a:hover {
	color: var(--color-accent);
}

.cm_middle_post_widget_one .card.card_layout_one .boxes_holder .row {
	margin-left: -10px;
	margin-right: -10px;
}

.cm_middle_post_widget_one .card.card_layout_one .boxes_holder [class*="cm-col-"] {
	padding-left: 10px;
	padding-right: 10px;
}

/* Small cards */
.small-card {
	position: relative;
	margin-bottom: var(--space-lg);
}

.small-card .post_thumb {
	position: relative;
}

.small-card .post-holder {
	position: relative;
	padding: 15px;
	background-color: var(--color-surface);
	border: 1px solid var(--color-surface-strong);
}

.small-card .post_title h2,
.cm-post-widget-two .small-card .post-holder .post_title h2 {
	font-size: 18px;
}

/* Grid cards */
.card {
	margin-bottom: var(--space-lg);
}

.card .post_thumb {
	position: relative;
}

.image-holder {
	position: relative;
	display: block;
	overflow: hidden;
	background: #e5e5e5;
	height: 0;
}

.image-holder img,
.image-holder .wp-post-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.image-holder .no-thumb {
	position: absolute;
	inset: 0;
	background: #ddd;
}

.card_content {
	padding: 20px;
	background-color: var(--color-surface);
	border: 1px solid var(--color-surface-strong);
}

.card_content .post_title h2 {
	font-size: 18px;
}

/* Horizontal boxes */
.box {
	margin-bottom: var(--space-md);
}

.box .post_title h2 {
	font-size: 15px;
	line-height: 1.35;
}

.right_box {
	padding-left: 0;
}

/* Society carousel */
.cm_middle_post_widget_six .middle_widget_six_carousel {
	position: relative;
	display: flex;
	gap: 15px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 0;
}

.cm_middle_post_widget_six .item {
	flex: 0 0 calc(33.333% - 10px);
	scroll-snap-align: start;
	min-width: 220px;
}

.cm_middle_post_widget_six .middle_widget_six_carousel .card,
.cm_middle_post_widget_six .card.post_thumb {
	position: relative;
	min-height: 400px;
	height: auto;
	background-size: cover;
	background-position: center;
	background-color: #222;
	margin-bottom: 0;
	display: block;
}

.cm_middle_post_widget_six .middle_widget_six_carousel .card .card_content,
.cm_middle_post_widget_six .card_content {
	position: absolute;
	z-index: 10;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	padding: 20px;
	border: 0;
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 40%, #000 100%);
	color: #fff;
}

.cm_middle_post_widget_six .post_title h2,
.cm_middle_post_widget_six .post_title h2 a,
.cm_middle_post_widget_six .post_meta li a {
	color: #fff;
}

.cm_middle_post_widget_six .post_title h2 {
	font-size: 20px;
}

.cm_middle_post_widget_four .right-container .box {
	margin-bottom: 15px;
}

.cm_middle_post_widget_four .right_box .post_title h2 {
	font-size: 16px;
}

/* Horizontal list density (Здоров'я / В світі) */
.cm_post_widget_six .box {
	margin-bottom: 20px;
}

.cm_post_widget_six .post_title h2 {
	font-size: 16px;
	margin: 0 0 4px;
}

.cm_post_widget_six .right_box {
	padding-left: 0;
	padding-top: 0;
}

.cm-post-widget-three .card {
	margin-bottom: 30px;
}

.cm-post-widget-three .post_title h2 {
	font-size: 20px;
}

.cm-post-widget-three .card_content {
	padding: 20px;
}

/* ---------- Sidebar ---------- */
.sidebar-widget-area .widget {
	margin-bottom: var(--space-lg);
	overflow: hidden;
	background-color: var(--color-surface-strong);
	padding: var(--space-lg) var(--space-md);
}

.sidebar-widget-area .widget-title {
	margin-bottom: 25px;
}

.sidebar-widget-area .widget-title h2 {
	font-size: 18px;
	margin: 0;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--color-accent);
	position: relative;
}

.sidebar-widget-area .widget_recent_entries ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar-widget-area .widget_recent_entries li {
	padding: 10px 0;
	border-bottom: 1px solid var(--color-border);
}

.sidebar-widget-area .widget_recent_entries li:last-child {
	border-bottom: 0;
}

.sidebar-widget-area .widget_recent_entries a {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.sidebar-widget-area .textwidget img {
	margin: 8px 0 16px;
	display: block;
	width: 100%;
	height: auto;
}

.sidebar-widget-area .textwidget p {
	margin-bottom: 10px;
}

.page-container {
	padding-top: var(--space-lg);
	padding-bottom: var(--space-xl);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumb {
	margin-bottom: var(--space-md);
	font-size: 13px;
}

.breadcrumb .trail-items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.breadcrumb .trail-items li:not(:last-child)::after {
	content: "›";
	margin-left: 6px;
	color: var(--color-muted);
}

.breadcrumb .trail-end span {
	color: var(--color-accent);
}

/* ---------- Archive grid ---------- */
.cm_archive_page .section-title {
	margin-bottom: 25px;
}

.grid-post-holder {
	margin-bottom: 0;
}

.archive-description {
	margin-bottom: var(--space-md);
	color: var(--color-muted);
}

/* ---------- Pagination ---------- */
.navigation.pagination {
	margin: var(--space-lg) 0;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.pagination .page-numbers {
	display: inline-block;
	font-size: 15px;
	margin-right: 10px;
	margin-bottom: 10px;
	border: 1px solid var(--color-border);
	line-height: 45px;
	width: 45px;
	height: 45px;
	text-align: center;
	border-radius: 0;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--color-accent);
	color: #fff;
	border-color: var(--color-accent);
}

.pagination .prev,
.pagination .next {
	width: auto;
	padding: 0 14px;
}

/* ---------- Single ---------- */
body.single .the_title h1 {
	font-size: 38px;
	line-height: 1.1;
	margin-bottom: 20px;
}

@media (max-width: 768px) {
	body.single .the_title h1 {
		font-size: 28px;
		line-height: 1.1;
	}
}

body.single .content-entry article.post-detail .cm-post-meta {
	margin-bottom: 1.5em;
}

body.single .post_thumb {
	margin-bottom: var(--space-md);
}

body.single .post_thumb figure img {
	width: 100%;
	height: auto;
	display: block;
}

.post-views {
	margin-bottom: 1em;
	font-size: 14px;
	color: var(--color-muted);
}

.post-views-count {
	font-weight: 700;
	color: var(--color-text);
}

.the_content,
.entry-content {
	font-size: 16px;
	line-height: 1.7;
}

.the_content > :first-child {
	margin-top: 0;
}

.the_content > :last-child {
	margin-bottom: 0;
}

.the_content h1,
.the_content h2,
.the_content h3,
.the_content h4,
.the_content h5,
.the_content h6 {
	margin-top: 1.4em;
	margin-bottom: 0.6em;
}

.the_content a {
	color: var(--color-accent);
	text-decoration: underline;
}

.the_content a:hover {
	color: var(--color-text);
}

.the_content img,
.the_content figure,
.the_content iframe,
.the_content video,
.the_content embed {
	max-width: 100%;
	height: auto;
}

.the_content iframe,
.the_content video {
	display: block;
	margin: 1em 0;
}

.the_content figure {
	margin: 1.25em 0;
}

.the_content figcaption {
	font-size: 13px;
	color: var(--color-muted);
	margin-top: 6px;
}

.the_content blockquote {
	margin: 1.5em 0;
	padding: 12px 20px;
	border-left: 3px solid var(--color-accent);
	background: var(--color-surface);
	color: #333;
}

.the_content ul,
.the_content ol {
	margin: 1em 0;
	padding-left: 1.4em;
}

.the_content li {
	margin-bottom: 0.35em;
}

.the_content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.25em 0;
	overflow-x: auto;
	display: block;
}

.the_content table td,
.the_content table th {
	border: 1px solid var(--color-border);
	padding: 8px 10px;
}

.the_content pre {
	overflow-x: auto;
	padding: 15px;
	background: #f6f6f6;
	border: 1px solid var(--color-border);
	font-size: 14px;
	line-height: 1.5;
}

.the_content .alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
	max-width: 50%;
}

.the_content .alignright {
	float: right;
	margin: 0 0 1em 1.5em;
	max-width: 50%;
}

.the_content .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.the_content .wp-caption {
	max-width: 100%;
}

.post_tags {
	margin-top: var(--space-lg);
	margin-bottom: var(--space-lg);
}

.post_tags a {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 4px 10px;
	background: var(--color-accent);
	color: #fff !important;
	font-size: 13px;
}

/* ---------- Footer ---------- */
.footer_inner {
	position: relative;
	padding-top: var(--space-xl);
	padding-bottom: var(--space-md);
	background-color: var(--color-footer);
	color: #f1f1f1;
}

.footer_inner a {
	color: #f1f1f1;
}

.footer_inner a:hover {
	color: var(--color-accent);
}

.footer-widget-container .widget {
	margin-bottom: var(--space-lg);
}

.footer-widget-container .widget-title h2 {
	color: #fff;
	font-size: 18px;
	margin: 0 0 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--color-accent);
}

.footer-widget-container .post_title h2 {
	font-size: 14px;
	color: #fff;
}

.footer-widget-container .post_title h2 a {
	color: #fff;
}

.footer-copy {
	color: #aaa;
	font-size: 13px;
}

.footer-about {
	font-size: 13px;
	line-height: 1.6;
	color: #bbb;
}

.footer-about p {
	margin-bottom: 0.75em;
}

.social-icons {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.social-icons a {
	display: inline-block;
	padding: 8px 12px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 13px;
}

.footer_nav_list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer_nav_list li {
	margin-bottom: 8px;
}

.cm_recent_posts_widget .box {
	margin-bottom: 15px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
	.cm-container {
		max-width: 96%;
	}
}

@media (max-width: 1024px) {
	.cm-container {
		max-width: 90%;
		padding-left: 15px;
		padding-right: 15px;
	}

	.cm_banner-five .gutter-left .post_thumb {
		height: 360px;
	}

	.cm_banner-five .post_title h2 {
		font-size: 22px;
	}
}

@media (max-width: 991px) {
	.logo-container {
		padding: 20px 0;
		margin-bottom: 0;
	}

	.cm_banner-five .gutter-left,
	.cm_banner-five .gutter-right {
		padding-left: 15px;
		padding-right: 15px;
	}

	.cm_banner-five .gutter-left .post_thumb {
		height: 300px;
		margin-bottom: 15px;
	}

	.right-content-holder .small_posts .post_thumb {
		height: 180px;
	}

	.cm_middle_post_widget_six .item {
		flex: 0 0 48%;
	}

	.sidebar-widget-area {
		margin-top: var(--space-lg);
	}
}

@media (max-width: 768px) {
	.logo-container {
		padding: 15px 0;
	}

	.menu-toggle {
		display: block;
	}

	.main-navigation {
		flex-wrap: wrap;
	}

	.primary-navigation {
		order: 3;
		flex: 0 0 100%;
		display: none;
		background: #000;
		overflow: visible;
	}

	.primary-navigation.is-open {
		display: block;
	}

	.primary-navigation ul {
		display: none;
	}

	.primary-navigation.is-open ul {
		display: block;
	}

	.primary-navigation ul > li {
		display: block;
	}

	.primary-navigation ul > li > a {
		padding: 15px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	}

	.header-search-container {
		margin-left: auto;
	}

	.ticker_title {
		display: none;
	}

	.ticker_head {
		max-width: 40px;
		padding: 0 8px;
	}

	h1 { font-size: 28px; }
	h2 { font-size: 24px; }

	body.single .the_title h1 {
		font-size: 24px;
	}

	.cm_banner-five .post_title h2 {
		font-size: 18px;
	}

	.big-card .post_title h2 {
		font-size: 18px;
	}

	.cm_middle_post_widget_one .card .post_title h2 {
		font-size: 18px;
		color: var(--color-text);
	}

	.cm_middle_post_widget_one .boxes_holder .post_title h2 {
		font-size: 16px;
	}

	.right-content-holder .small_posts {
		width: 100%;
	}

	.cm_middle_post_widget_six .item {
		flex: 0 0 85%;
	}

	.the_content .alignleft,
	.the_content .alignright {
		float: none;
		display: block;
		margin: 1em 0;
		max-width: 100%;
	}

	.footer_inner {
		padding: 20px 0;
	}
}

@media (max-width: 576px) {
	.cm-container {
		max-width: 100%;
		padding-left: 15px;
		padding-right: 15px;
	}

	.cm-search-form input[type="search"] {
		width: 100px;
	}

	.cm_banner-five .gutter-left .post_thumb {
		height: 240px;
	}

	.section-title h1,
	.section-title h2 {
		font-size: 18px;
	}

	.sidebar-widget-area .widget {
		padding: 20px 15px;
	}
}

@media (max-width: 420px) {
	.cm_banner-five .gutter-left .post_thumb {
		height: 200px;
	}

	.pagination .page-numbers {
		width: 38px;
		height: 38px;
		line-height: 38px;
		font-size: 13px;
		margin-right: 6px;
	}
}

@media print {
	.main-navigation,
	.ticker-news-area,
	.sidebar-widget-area,
	.footer {
		display: none;
	}
}
