/**
 * Infovibenews — mobile-first stylesheet
 * Layout blocks aligned with verixocapital.info (Writee-style)
 */

:root {
	--ivn-accent: #bf9e3b;
	--ivn-text: #222222;
	--ivn-muted: #777777;
	--ivn-bg: #ffffff;
	--ivn-soft: #f5f5f5;
	--ivn-border: #e5e5e5;
	--ivn-black: #000000;
	--ivn-white: #ffffff;
	--ivn-container: 1170px;
	--ivn-content: 780px;
	--ivn-sidebar: 300px;
	--ivn-gap: 30px;
	--ivn-font: "Lato", "Lora", Helvetica, Arial, sans-serif;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--ivn-font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ivn-text);
	background: var(--ivn-bg);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--ivn-text);
	text-decoration: none;
	transition: color 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
}

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ivn-font);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 0.6em;
	color: var(--ivn-text);
}

p { margin: 0 0 1em; }

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

.text-center { text-align: center; }

/* ---------- Layout grid ---------- */
.site-wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--ivn-bg);
}

.site-wrapper.shadow-wrapper {
	box-shadow: none;
}

.site-container {
	width: 100%;
	max-width: var(--ivn-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}

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

.site-column-9,
.site-column-12,
.site-content,
.site-sidebar {
	padding-left: 15px;
	padding-right: 15px;
	width: 100%;
}

.site-column-12 { width: 100%; }

.site-main {
	flex: 1 0 auto;
	padding: 24px 0 48px;
}

/* ---------- Header ---------- */
.site-header {
	background: var(--ivn-white);
	border-bottom: 1px solid var(--ivn-border);
	position: relative;
	z-index: 100;
}

.site-header-top {
	border-bottom: 1px solid var(--ivn-border);
	min-height: 0;
}

.site-header-top:empty,
.site-header-top .site-header-top-left:empty {
	display: none;
}

.site-header-bottom {
	padding: 18px 0;
}

.site-header-middle-center {
	width: 100%;
	text-align: center;
	position: relative;
	padding: 0 48px;
}

.site-brand {
	position: relative;
	display: inline-block;
	max-width: 100%;
}

.site-heading {
	display: block;
	margin: 0;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: none;
}

.site-heading a {
	color: var(--ivn-text);
}

.site-heading a:hover {
	color: var(--ivn-accent);
}

.site-description {
	margin: 6px 0 0;
	font-size: 0.85rem;
	color: var(--ivn-muted);
	font-weight: 400;
}

.site-logo {
	margin-bottom: 8px;
}

.site-logo img {
	max-height: 64px;
	width: auto;
}

.mobile-navigation-toggle {
	position: absolute;
	right: -40px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 22px;
	display: block;
	cursor: pointer;
}

.mobile-navigation-toggle::before,
.mobile-navigation-toggle::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--ivn-black);
	transition: transform 0.25s ease, top 0.25s ease;
}

.mobile-navigation-toggle::before {
	top: 4px;
	box-shadow: 0 8px 0 var(--ivn-black);
}

.mobile-navigation-toggle::after {
	bottom: 4px;
}

.nav-open .mobile-navigation-toggle::before {
	top: 10px;
	box-shadow: none;
	transform: rotate(45deg);
}

.nav-open .mobile-navigation-toggle::after {
	bottom: 10px;
	transform: rotate(-45deg);
}

.primary-navigation {
	display: none;
	margin-top: 16px;
}

.primary-navigation .primary-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 18px;
}

.primary-navigation a {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 6px 0;
	display: inline-block;
}

/* Mobile drawer — hidden off-canvas; does not intercept clicks when closed */
.site-mobile-navigation {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 280px;
	max-width: 85vw;
	height: 100%;
	background: var(--ivn-white);
	z-index: 1000;
	transform: translateX(-105%);
	transition: transform 0.3s ease;
	overflow-y: auto;
	padding: 60px 20px 24px;
	box-shadow: 2px 0 16px rgba(0, 0, 0, 0.08);
	pointer-events: none;
	visibility: hidden;
}

.nav-open .site-mobile-navigation {
	display: block;
	transform: translateX(0);
	pointer-events: auto;
	visibility: visible;
}

.site-navigation-overlay {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-open .site-navigation-overlay {
	display: block;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

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

.mobile-menu a {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid var(--ivn-border);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 0.9rem;
}

.mobile-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding-left: 14px;
}

/* ---------- Banner carousel ---------- */
.site-banner {
	margin: 0 0 20px;
	padding: 12px 0 0;
	background: var(--ivn-white);
}

.site-banner .site-container {
	max-width: var(--ivn-container);
}

.banner-slider-wrap {
	position: relative;
	width: 100%;
}

.site-banner-carousel {
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.site-banner-carousel .slick-list,
.site-banner-carousel .slick-track {
	height: 100%;
}

.banner-item {
	position: relative;
	min-height: 260px;
	height: 260px;
	outline: none;
}

.banner-media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #2a2a2a;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	z-index: 0;
}

.banner-media-empty {
	background-image: linear-gradient(135deg, #333 0%, #111 100%);
}

.banner-media::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.35);
	z-index: 1;
	pointer-events: none;
}

.banner-text {
	position: relative;
	z-index: 2;
	height: 100%;
	min-height: 260px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 36px 48px;
	color: var(--ivn-white);
	text-align: center;
	pointer-events: none;
}

.banner-text-inner {
	max-width: 820px;
	width: 100%;
	pointer-events: auto;
}

.banner-text-cat {
	display: block;
	font-size: 0.75rem;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-weight: 700;
	margin-bottom: 12px;
}

.banner-text-cat a {
	color: #ffffff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.banner-text-cat a:hover {
	color: var(--ivn-accent);
}

.banner-text-title {
	font-size: 1.25rem;
	line-height: 1.3;
	font-weight: 700;
	margin: 0 0 12px;
	padding: 0;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.banner-text-title a {
	color: #ffffff;
}

.banner-text-title a:hover {
	color: var(--ivn-accent);
}

.banner-text-author {
	display: block;
	font-size: 0.9rem;
	font-style: italic;
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.banner-text-author a {
	color: #ffffff;
	font-style: italic;
}

.banner-text-author a:hover {
	color: var(--ivn-accent);
}

/* Arrows — white square / black chevron (reference style) */
.site-banner-carousel .slick-arrow {
	position: absolute;
	top: 50%;
	z-index: 6;
	width: 34px;
	height: 34px;
	margin-top: -17px;
	padding: 0;
	border: 1px solid #ddd;
	background: #ffffff;
	cursor: pointer;
	color: transparent;
	font-size: 0;
	line-height: 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
	pointer-events: auto;
}

.site-banner-carousel .slick-prev { left: 10px; }
.site-banner-carousel .slick-next { right: 10px; }

.site-banner-carousel .slick-prev::before,
.site-banner-carousel .slick-next::before {
	font-family: FontAwesome;
	font-size: 16px;
	color: #222222;
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	text-align: center;
	line-height: 1;
}

.site-banner-carousel .slick-prev::before { content: "\f104"; }
.site-banner-carousel .slick-next::before { content: "\f105"; }

.site-banner-carousel .slick-arrow:hover {
	background: #111;
	border-color: #111;
}

.site-banner-carousel .slick-arrow:hover::before {
	color: #fff;
}

/* Dots below the image */
.banner-dots {
	position: relative;
	z-index: 2;
	margin: 14px 0 6px;
	min-height: 18px;
	text-align: center;
	pointer-events: auto;
}

.banner-dots .slick-dots {
	position: static;
	display: flex !important;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.banner-dots .slick-dots li {
	margin: 0;
	width: auto;
	height: auto;
	padding: 0;
}

.banner-dots .slick-dots li button {
	display: block;
	width: 12px;
	height: 12px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid #999;
	background: #ffffff;
	font-size: 0;
	line-height: 0;
	color: transparent;
	cursor: pointer;
	box-shadow: none;
}

.banner-dots .slick-dots li button::before {
	display: none;
}

.banner-dots .slick-dots li.slick-active button {
	background: #111111;
	border-color: #111111;
}

/* ---------- Entries (post list) ---------- */
.standard-container {
	max-width: 100%;
}

.entry {
	margin: 0 0 42px;
	padding-bottom: 36px;
	border-bottom: 1px solid var(--ivn-border);
	text-align: center;
}

.entry-header {
	margin-bottom: 18px;
}

.entry-cat {
	font-size: 0.93rem;
	line-height: 1.2;
	color: var(--ivn-accent);
	text-transform: uppercase;
	display: block;
	letter-spacing: 1px;
	margin-bottom: 10px;
}

.entry-cat a {
	color: var(--ivn-accent);
}

.entry-title {
	font-size: 1.45rem;
	margin: 0 0 12px;
	font-weight: 700;
}

.entry-title a {
	color: var(--ivn-text);
}

.entry-title a:hover {
	color: var(--ivn-accent);
}

.entry-meta {
	font-size: 0.9rem;
	color: var(--ivn-muted);
	margin-bottom: 6px;
}

.entry-meta a {
	color: var(--ivn-muted);
}

.entry-meta a:hover {
	color: var(--ivn-accent);
}

.entry-media {
	margin: 0 0 20px;
}

.entry-thumb {
	display: block;
	overflow: hidden;
}

.entry-thumb img,
.entry-media img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.4s ease, opacity 0.3s ease;
}

.entry-thumb:hover img {
	transform: scale(1.03);
	opacity: 0.92;
}

.entry-content {
	text-align: center;
	font-size: 1rem;
	color: var(--ivn-text);
	margin-bottom: 22px;
}

.entry-content p:last-child {
	margin-bottom: 0;
}

.entry-single .entry-content,
.entry-page .entry-content {
	text-align: left;
}

.entry-button {
	position: relative;
	display: inline-block;
	padding: 0.75em 1.5em;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	background-color: var(--ivn-black);
	color: var(--ivn-white) !important;
	border: 1px solid var(--ivn-black);
}

.entry-button:hover,
.entry-button:focus {
	background: transparent;
	color: var(--ivn-black) !important;
}

.entry-footer-top {
	margin-bottom: 20px;
}

.entry-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	flex-wrap: wrap;
}

.entry-share ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 10px;
}

.entry-share a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--ivn-border);
	border-radius: 50%;
	color: var(--ivn-muted);
	font-size: 13px;
}

.entry-share a:hover {
	color: var(--ivn-white);
	background: var(--ivn-black);
	border-color: var(--ivn-black);
}

.entry-comments a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ivn-muted);
	font-size: 0.95rem;
}

.entry-comments a:hover {
	color: var(--ivn-accent);
}

.entry-tags {
	margin-top: 18px;
	font-size: 0.9rem;
	text-align: left;
}

.archive-header,
.page-header {
	margin-bottom: 28px;
	text-align: center;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ivn-border);
}

.page-title {
	font-size: 1.6rem;
	margin: 0;
}

.archive-description {
	margin-top: 8px;
	color: var(--ivn-muted);
}

/* ---------- Pagination ---------- */
.posts-pagination {
	margin: 10px 0 20px;
	text-align: center;
}

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

.posts-pagination a,
.posts-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--ivn-border);
	color: var(--ivn-text);
	font-size: 0.9rem;
	line-height: 1;
}

.posts-pagination .current {
	background: var(--ivn-black);
	border-color: var(--ivn-black);
	color: var(--ivn-white);
}

.posts-pagination a:hover {
	border-color: var(--ivn-accent);
	color: var(--ivn-accent);
}

.post-navigation {
	margin: 30px 0;
	padding: 20px 0;
	border-top: 1px solid var(--ivn-border);
	border-bottom: 1px solid var(--ivn-border);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.post-navigation .nav-subtitle {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--ivn-muted);
	margin-bottom: 4px;
}

.post-navigation .nav-title {
	font-weight: 700;
}

/* ---------- Sidebar ---------- */
.site-sidebar {
	margin-top: 28px;
}

.widget {
	margin: 0 0 28px;
	padding-bottom: 8px;
}

.widget-title,
.widget .wp-block-heading {
	font-size: 1.15rem;
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--ivn-border);
	font-weight: 700;
}

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

.widget ul li {
	padding: 8px 0;
	border-bottom: 1px solid var(--ivn-border);
	font-size: 0.95rem;
}

.widget ul li:last-child {
	border-bottom: 0;
}

.widget a {
	color: var(--ivn-text);
}

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

.search-form-inner,
.wp-block-search__inside-wrapper {
	display: flex;
	gap: 0;
	width: 100%;
}

.search-form .search-field,
.wp-block-search__input {
	flex: 1;
	min-width: 0;
	border: 1px solid var(--ivn-border);
	padding: 10px 12px;
	font-size: 0.95rem;
	font-family: inherit;
	background: var(--ivn-white);
	color: var(--ivn-text);
}

.search-submit,
.wp-block-search__button {
	border: 1px solid var(--ivn-black);
	background: var(--ivn-black);
	color: var(--ivn-white);
	padding: 10px 14px;
	font-family: inherit;
	font-size: 0.9rem;
	cursor: pointer;
	white-space: nowrap;
}

.search-submit:hover,
.wp-block-search__button:hover {
	background: var(--ivn-accent);
	border-color: var(--ivn-accent);
}

.wp-block-search__label {
	display: block;
	margin-bottom: 8px;
	font-weight: 700;
}

/* ---------- Comments ---------- */
.comments-area {
	margin-top: 36px;
	text-align: left;
	padding-top: 20px;
	border-top: 1px solid var(--ivn-border);
}

.comments-title {
	font-size: 1.25rem;
	margin-bottom: 20px;
}

.comment-list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.comment-list .comment {
	margin-bottom: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--ivn-border);
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
	font-size: 0.9rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	max-width: 100%;
	border: 1px solid var(--ivn-border);
	padding: 10px 12px;
	font-family: inherit;
	font-size: 1rem;
	margin-bottom: 14px;
}

.comment-form .submit {
	background: var(--ivn-black);
	color: var(--ivn-white);
	border: 1px solid var(--ivn-black);
	padding: 10px 18px;
	cursor: pointer;
	font-family: inherit;
}

.comment-form .submit:hover {
	background: var(--ivn-accent);
	border-color: var(--ivn-accent);
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--ivn-soft);
	border-top: 1px solid var(--ivn-border);
	margin-top: auto;
}

.site-footer-widgets {
	padding: 36px 0 12px;
}

.site-footer-bottom {
	padding: 22px 0;
	font-size: 0.9rem;
	color: var(--ivn-muted);
}

.site-footer-bottom a {
	color: var(--ivn-text);
	font-weight: 700;
}

.site-footer-bottom a:hover {
	color: var(--ivn-accent);
}

/* ---------- Scroll top ---------- */
#scrollUp {
	bottom: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	background: var(--ivn-black);
	color: #fff;
	text-align: center;
	line-height: 40px;
	z-index: 80;
}

#scrollUp::before {
	content: "\f106";
	font-family: FontAwesome;
}

/* ---------- Content typography ---------- */
.entry-content h2 { font-size: 1.4rem; }
.entry-content h3 { font-size: 1.2rem; }
.entry-content blockquote {
	margin: 1.2em 0;
	padding: 12px 18px;
	border-left: 3px solid var(--ivn-accent);
	background: var(--ivn-soft);
	font-style: italic;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1em;
}

.entry-content th,
.entry-content td {
	border: 1px solid var(--ivn-border);
	padding: 8px 10px;
}

/* =========================================================
   Tablet+
   ========================================================= */
@media screen and (min-width: 768px) {
	.site-heading {
		font-size: 2rem;
	}

	.site-header-bottom {
		padding: 28px 0;
	}

	.site-header-middle-center {
		padding: 0;
	}

	.mobile-navigation-toggle {
		display: none;
	}

	.primary-navigation {
		display: block;
	}

	.site-mobile-navigation,
	.site-navigation-overlay {
		display: none !important;
	}

	.banner-item,
	.banner-text {
		min-height: 380px;
		height: 380px;
	}

	.banner-text-title {
		font-size: 1.75rem;
	}

	.banner-text {
		padding: 40px 70px;
	}

	.entry-title {
		font-size: 1.75rem;
	}

	.site-main {
		padding: 36px 0 60px;
	}

	.post-navigation {
		flex-direction: row;
		justify-content: space-between;
	}

	.post-navigation .nav-next {
		text-align: right;
		margin-left: auto;
	}
}

/* =========================================================
   Desktop — content + right sidebar
   ========================================================= */
@media screen and (min-width: 992px) {
	.site-container {
		padding-left: 20px;
		padding-right: 20px;
	}

	.with-right-sidebar .site-content.with-sidebar {
		width: 66.666%;
		flex: 0 0 66.666%;
	}

	.with-right-sidebar .site-sidebar {
		width: 33.333%;
		flex: 0 0 33.333%;
		margin-top: 0;
	}

	.banner-item,
	.banner-text {
		min-height: 460px;
		height: 460px;
	}

	.banner-text-title {
		font-size: 2rem;
	}

	.entry-title {
		font-size: 2rem;
	}

	.standard-container {
		max-width: var(--ivn-content);
		margin-left: auto;
		margin-right: auto;
	}

	.with-right-sidebar .standard-container {
		max-width: 100%;
	}
}

@media screen and (min-width: 1200px) {
	.with-right-sidebar .site-content.with-sidebar {
		width: calc(100% - var(--ivn-sidebar) - var(--ivn-gap));
		flex: 0 0 calc(100% - var(--ivn-sidebar) - var(--ivn-gap));
	}

	.with-right-sidebar .site-sidebar {
		width: var(--ivn-sidebar);
		flex: 0 0 var(--ivn-sidebar);
		margin-left: var(--ivn-gap);
	}

	.banner-item,
	.banner-text {
		min-height: 520px;
		height: 520px;
	}

	.site-banner-carousel .slick-prev { left: 16px; }
	.site-banner-carousel .slick-next { right: 16px; }
}
