/*
Theme Name: Iwebsoul
Theme URI: https://iwebsoul.com/
Author: Iwebsoul
Description: A clean, responsive WordPress theme built for Elementor, with Elementor Theme Builder header and footer support.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: iwebsoul
*/

:root {
	--iwebsoul-ink: #142235;
	--iwebsoul-muted: #667085;
	--iwebsoul-brand: #f26a3d;
	--iwebsoul-brand-dark: #d9522a;
	--iwebsoul-surface: #f5f7fa;
	--iwebsoul-border: #e5e9ef;
	--iwebsoul-content-width: 1200px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--iwebsoul-ink);
	background: #fff;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

a {
	color: var(--iwebsoul-brand-dark);
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--iwebsoul-ink);
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--iwebsoul-brand);
	outline-offset: 3px;
}

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

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 12px 18px;
	margin: 0;
	clip: auto;
	color: var(--iwebsoul-ink);
	background: #fff;
	box-shadow: 0 2px 12px rgb(20 34 53 / 18%);
}

.site-header {
	position: relative;
	z-index: 5;
	border-bottom: 1px solid var(--iwebsoul-border);
	background: #fff;
}

.site-header__inner,
.site-footer__inner {
	display: flex;
	width: min(calc(100% - 48px), var(--iwebsoul-content-width));
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	margin-inline: auto;
}

.site-header__inner {
	min-height: 88px;
}

.site-branding {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--iwebsoul-ink);
	font-size: 1.25rem;
	font-weight: 750;
	letter-spacing: -0.04em;
	text-decoration: none;
}

.site-branding:hover {
	color: var(--iwebsoul-ink);
}

.custom-logo {
	display: block;
	width: auto;
	max-height: 56px;
}

.site-nav__list,
.site-footer-nav .menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-nav__list a,
.site-footer-nav a {
	color: var(--iwebsoul-ink);
	font-size: 0.93rem;
	font-weight: 600;
	text-decoration: none;
}

.site-nav__list a:hover,
.site-footer-nav a:hover {
	color: var(--iwebsoul-brand-dark);
}

.site-main {
	min-height: 55vh;
}

.content-wrap {
	width: min(calc(100% - 48px), var(--iwebsoul-content-width));
	margin: 0 auto;
	padding-block: clamp(56px, 8vw, 104px);
}

.entry-header {
	max-width: 780px;
	margin-bottom: 32px;
}

.entry-title {
	margin: 0 0 16px;
	font-size: clamp(2.25rem, 5vw, 4rem);
	font-weight: 750;
	letter-spacing: -0.055em;
	line-height: 1.08;
}

.entry-meta {
	color: var(--iwebsoul-muted);
	font-size: 0.9rem;
}

.entry-content {
	max-width: 820px;
}

.entry-content > * {
	margin-block: 0 1.4em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	letter-spacing: -0.035em;
	line-height: 1.2;
}

.post-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-top: 44px;
}

.post-card {
	padding: 28px;
	border: 1px solid var(--iwebsoul-border);
	border-radius: 16px;
	background: #fff;
}

.post-card__title {
	margin: 0 0 12px;
	font-size: 1.45rem;
	line-height: 1.25;
}

.post-card__title a {
	color: var(--iwebsoul-ink);
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--iwebsoul-brand-dark);
}

.post-card__excerpt {
	color: var(--iwebsoul-muted);
}

.pagination {
	margin-top: 40px;
}

.site-footer {
	padding-block: 32px;
	border-top: 1px solid var(--iwebsoul-border);
	background: var(--iwebsoul-surface);
}

.site-footer__inner {
	flex-wrap: wrap;
}

.site-footer__copyright {
	margin: 0;
	color: var(--iwebsoul-muted);
	font-size: 0.9rem;
}

body.elementor-page .site-main {
	min-height: 0;
}

@media (max-width: 700px) {
	.site-header__inner,
	.site-footer__inner {
		width: min(calc(100% - 32px), var(--iwebsoul-content-width));
	}

	.site-header__inner {
		min-height: 72px;
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		gap: 10px;
		padding-block: 12px;
	}

	.site-nav__list,
	.site-footer-nav .menu {
		gap: 16px;
	}

	.site-nav__list a {
		font-size: 0.88rem;
	}

	.content-wrap {
		width: min(calc(100% - 32px), var(--iwebsoul-content-width));
	}

	.post-list {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
