/*
Theme Name: Astra Web Solution
Theme URI: https://astrawebsolution.com
Author: Astra Web Solution
Author URI: https://astrawebsolution.com
Description: Blog theme for astrawebsolution.com/blog. Same header (contact bar, Services mega menu, dropdowns, mobile menu) and footer as the main website, plus a blog listing with a featured post, category filters, readable articles with share buttons, author box, related posts and an enquiry call-to-action. Contact details are set in Appearance → Customize → Astra Web Solution.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astraweb
Tags: blog, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

/* ---------- Tokens ---------- */
:root {
	--navy: #0b1f3a;
	--navy-2: #12305a;
	--ink: #06122a;
	--orange: #f39a3b;
	--orange-2: #ffb766;
	--cream: #fff6ea;
	--paper: #fffdf9;
	--white: #ffffff;
	--muted: #8a9bb8;
	--text: #283a58;
	--text-soft: #52617a;
	--line: rgba(255, 255, 255, 0.12);
	--line-dark: rgba(11, 31, 58, 0.12);
	--radius: 22px;
	--shadow: 0 20px 60px -20px rgba(6, 18, 42, 0.45);
	--font-display: 'Bricolage Grotesque', 'Space Grotesk', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;
	--wrap: 1240px;
	--logo-ink: #fff;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	background: var(--paper);
	color: var(--text);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.menu-open {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
	cursor: pointer;
}

::selection {
	background: var(--orange);
	color: var(--ink);
}

h1,
h2,
h3,
h4,
h5 {
	font-family: var(--font-display);
	line-height: 1.08;
	letter-spacing: -0.03em;
	margin: 0;
	color: var(--navy);
}

p {
	line-height: 1.7;
}

:focus-visible {
	outline: 3px solid var(--orange);
	outline-offset: 3px;
	border-radius: 6px;
}

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

.skip-link:focus {
	clip: auto;
	width: auto;
	height: auto;
	margin: 0;
	left: 16px;
	top: 16px;
	z-index: 100;
	padding: 12px 18px;
	border-radius: 12px;
	background: var(--orange);
	color: var(--ink);
	font-weight: 700;
}

.wrap {
	width: min(var(--wrap), 100% - 32px);
	margin-inline: auto;
}

.wrap.narrow {
	width: min(860px, 100% - 32px);
}

.section {
	padding: clamp(56px, 8vw, 110px) 0;
	position: relative;
}

.section.light {
	background: var(--cream);
}

.section.paper {
	background: var(--paper);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--orange);
	margin-bottom: 18px;
}

.eyebrow::before {
	content: '';
	width: 28px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}

.h-lg {
	font-size: clamp(38px, 6vw, 76px);
	font-weight: 800;
}

.h-md {
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 800;
	margin-bottom: 36px;
}

.lead {
	font-size: clamp(17px, 1.6vw, 20px);
	max-width: 680px;
	color: var(--muted);
	margin: 22px 0 0;
}

/* ---------- Buttons ---------- */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 16px;
	border: 2px solid transparent;
	transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
	cursor: pointer;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary,
.wp-block-button__link,
input[type='submit'] {
	background: var(--orange);
	color: var(--ink);
}

.btn-primary:hover {
	background: var(--orange-2);
}

.btn-ghost {
	border-color: var(--line);
	color: #fff;
}

.btn-ghost:hover {
	border-color: var(--orange);
	color: var(--orange);
}

.btn-dark {
	background: var(--navy);
	color: #fff;
}

.btn-dark:hover {
	background: var(--ink);
}

.btn-ghost-dark {
	border-color: rgba(11, 31, 58, 0.35);
	color: var(--navy);
}

.btn-ghost-dark:hover {
	background: rgba(11, 31, 58, 0.08);
}

.btn .arrow {
	transition: transform 0.3s;
}

.btn:hover .arrow {
	transform: translateX(4px) rotate(-45deg);
}

.btn-row {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

/* ---------- Progress bar ---------- */
.progress {
	position: fixed;
	inset: 0 0 auto 0;
	height: 3px;
	z-index: 60;
	background: var(--orange);
	transform: scaleX(0);
	transform-origin: 0 50%;
}

/* ---------- Header ---------- */
.header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--navy);
	color: #fff;
	transition: background 0.3s, box-shadow 0.3s;
}

.admin-bar .header {
	top: 32px;
}

.header.scrolled {
	background: rgba(6, 18, 42, 0.9);
	backdrop-filter: blur(16px);
	box-shadow: 0 12px 40px -24px rgba(0, 0, 0, 0.6);
}

.header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.topbar {
	max-height: 44px;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.03);
	font-size: 13px;
	color: #9fb0cc;
	transition: max-height 0.35s, opacity 0.3s, border-color 0.3s;
}

.header.scrolled .topbar {
	max-height: 0;
	opacity: 0;
	border-color: transparent;
}

.topbar .wrap {
	min-height: 40px;
}

.tb-left,
.tb-right {
	display: flex;
	align-items: center;
	gap: 22px;
}

.topbar a:hover {
	color: #fff;
}

.header-main {
	position: relative;
	padding-block: 14px;
	transition: padding 0.3s;
}

.header.scrolled .header-main {
	padding-block: 10px;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #fff;
}

.logo-badge {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--navy);
	border: 1px solid var(--line);
	transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-badge {
	transform: rotate(-12deg) scale(1.08);
}

.custom-logo {
	max-height: 46px;
	width: auto;
}

.logo-word {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 19px;
	letter-spacing: -0.02em;
	line-height: 1;
	white-space: nowrap;
}

.nav {
	display: flex;
	gap: 4px;
	padding: 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--line);
}

.nav-item {
	position: relative;
	display: flex;
	align-items: center;
}

.nav-item.has-mega {
	position: static;
}

.nav-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 500;
	color: #c8d3e6;
	border: 1px solid transparent;
	transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-item.open > .nav-link,
.nav-item:focus-within > .nav-link {
	color: #fff;
}

.nav-link.active {
	color: #fff;
	background: rgba(243, 154, 59, 0.18);
	border-color: rgba(243, 154, 59, 0.4);
}

.caret {
	font-size: 11px;
	opacity: 0.7;
	transition: transform 0.25s;
}

.nav-item:hover .caret,
.nav-item.open .caret {
	transform: rotate(180deg);
}

.drop-toggle {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
	padding: 0;
}

.drop-toggle:focus-visible {
	clip: auto;
	width: auto;
	height: auto;
	right: 2px;
	top: 50%;
	translate: 0 -50%;
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--orange);
	color: var(--navy);
}

.drop {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 60;
	padding-top: 14px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.drop-wide {
	left: 0;
	right: 0;
	top: calc(100% - 6px);
}

.nav-item:hover > .drop,
.nav-item.open > .drop,
.nav-item:focus-within > .drop {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.mega {
	background: #fff;
	color: var(--navy);
	border-radius: 22px;
	box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(11, 31, 58, 0.06);
	padding: 14px;
}

.mega-list {
	width: 340px;
	display: grid;
	gap: 2px;
}

.mega-services {
	display: grid;
	grid-template-columns: repeat(3, 1fr) 1.05fr;
	gap: 8px;
	padding: 22px;
}

.mega-col h5 {
	margin: 4px 12px 10px;
	font-family: var(--font-body);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #8a97ad;
}

.mega-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 10px 12px;
	border-radius: 14px;
	transition: background 0.2s;
}

.mega-item:hover,
.mega-item:focus-visible {
	background: #fff4e8;
}

.mega-item b {
	display: block;
	font-size: 15px;
	font-weight: 650;
	color: var(--navy);
}

.mega-item small {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	line-height: 1.4;
	color: #6b7a93;
}

.mi-icon {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: #f3f6fa;
	font-size: 16px;
}

.mega-item:hover .mi-icon {
	background: #fff;
}

.mega-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px;
	border-radius: 18px;
	background: linear-gradient(160deg, var(--navy), var(--navy-2));
	color: #fff;
}

.mega-card small {
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--orange);
}

.mega-card b {
	font-family: var(--font-display);
	font-size: 21px;
	line-height: 1.2;
}

.mega-card p {
	margin: 0 0 6px;
	font-size: 14px;
	color: #b8c5da;
}

.mega-card .btn {
	padding: 12px 18px;
}

.mega-all {
	font-size: 14px;
	font-weight: 600;
	color: #c8d3e6;
	text-align: center;
}

.mega-all:hover {
	color: #fff;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 18px;
}

.header-phone {
	display: flex;
	align-items: center;
	gap: 10px;
	line-height: 1.2;
}

.header-phone > span:first-child {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.05);
}

.header-phone small {
	display: block;
	font-size: 11px;
	color: var(--muted);
}

.header-phone b {
	font-size: 14px;
	white-space: nowrap;
}

.header-cta {
	padding: 12px 22px;
}

.burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: var(--navy);
	color: #fff;
	position: relative;
	z-index: 52;
}

.burger span {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	margin: 4px auto;
	transition: transform 0.3s;
}

.menu-open .burger span:first-child {
	transform: translateY(5px) rotate(45deg);
}

.menu-open .burger span:last-child {
	transform: translateY(-5px) rotate(-45deg);
}

/* mobile menu */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 49;
	background: var(--navy);
	color: #fff;
	padding: 100px 24px 32px;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	clip-path: circle(0% at 100% 0%);
	transition: clip-path 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.mobile-menu.show {
	clip-path: circle(150% at 100% 0%);
}

.mobile-menu[hidden] {
	display: none;
}

.mm-row {
	border-bottom: 1px solid var(--line);
}

.mm-head {
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	padding: 14px 0;
	border: 0;
	background: none;
	color: #fff;
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -0.03em;
	text-align: left;
}

.mm-head.active {
	color: var(--orange);
}

.mm-plus {
	font-size: 30px;
	font-weight: 400;
	color: var(--orange);
	transition: transform 0.3s;
}

.mm-head[aria-expanded='true'] .mm-plus {
	transform: rotate(45deg);
}

.mm-sub {
	display: grid;
	padding-bottom: 14px;
}

.mm-sub[hidden] {
	display: none;
}

.mm-sub a {
	padding: 9px 0;
	font-size: 17px;
	color: #c8d3e6;
}

.mm-sub .mm-all {
	color: var(--orange);
	font-weight: 600;
}

.mm-foot {
	margin-top: 28px;
	color: var(--muted);
	font-size: 15px;
	display: grid;
	gap: 12px;
}

/* ---------- Social buttons ---------- */
.socials {
	display: flex;
	gap: 10px;
	margin-top: 14px;
}

.social {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	padding: 0;
	transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.social:hover {
	transform: translateY(-3px);
	border-color: transparent;
}

.social.whatsapp:hover {
	background: #25d366;
}

.social.instagram:hover {
	background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social.linkedin:hover {
	background: #0a66c2;
}

.social.x:hover,
.social.copy-link:hover {
	background: #111;
}

.socials.mini {
	gap: 6px;
	margin: 0;
}

.socials.mini .social {
	width: 26px;
	height: 26px;
}

.socials.mini .social svg {
	width: 13px;
	height: 13px;
}

/* ---------- Page hero ---------- */
.page-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(50% 80% at 90% 0%, rgba(243, 154, 59, 0.18), transparent 70%),
		radial-gradient(40% 60% at 0% 100%, rgba(59, 130, 246, 0.14), transparent 70%),
		var(--navy);
	color: #fff;
	padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
}

.page-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
	pointer-events: none;
}

.page-hero .wrap {
	position: relative;
	z-index: 1;
}

.page-hero h1 {
	color: #fff;
}

.crumbs {
	font-size: 14px;
	color: var(--muted);
	margin-bottom: 26px;
}

.crumbs a:hover {
	color: var(--orange);
}

.crumbs span {
	color: #c8d3e6;
}

.hero-tools {
	margin-top: 30px;
	max-width: 520px;
}

/* search form */
.search-form {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 6px 6px 18px;
	border-radius: 999px;
	background: #fff;
	box-shadow: var(--shadow);
}

.search-icon {
	font-size: 15px;
}

.search-form input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 16px;
	color: var(--navy);
	padding: 10px 4px;
}

.search-form input:focus {
	outline: none;
}

.search-form button {
	border: 0;
	border-radius: 999px;
	padding: 11px 20px;
	font-weight: 600;
	background: var(--orange);
	color: var(--ink);
}

.search-form button:hover {
	background: var(--orange-2);
}

.post-aside .search-form {
	box-shadow: none;
	border: 1px solid var(--line-dark);
}

/* ---------- Blog listing ---------- */
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 36px;
}

.chips a {
	padding: 9px 16px;
	border-radius: 999px;
	border: 1px solid var(--line-dark);
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	color: var(--text-soft);
	transition: all 0.2s;
}

.chips a:hover {
	border-color: var(--orange);
	color: var(--navy);
}

.chips a.on {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.card {
	display: flex;
	flex-direction: column;
	border-radius: var(--radius);
	background: #fff;
	border: 1px solid var(--line-dark);
	overflow: hidden;
	transition: transform 0.35s, box-shadow 0.35s;
}

.card:hover {
	transform: translateY(-6px);
	box-shadow: 0 30px 60px -30px rgba(11, 31, 58, 0.35);
}

.card-media {
	display: block;
	aspect-ratio: 16 / 9.6;
	overflow: hidden;
	background: linear-gradient(150deg, var(--navy), var(--navy-2));
}

.card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s;
}

.card:hover .card-media img {
	transform: scale(1.05);
}

.card-placeholder {
	height: 100%;
	display: grid;
	place-items: center;
	opacity: 0.35;
	background:
		radial-gradient(60% 70% at 80% 20%, rgba(243, 154, 59, 0.35), transparent 70%),
		linear-gradient(150deg, var(--navy), var(--navy-2));
}

.card-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px 26px 26px;
	flex: 1;
}

.card-top {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.cat-pill {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	background: #fff4e8;
	color: #c66a12;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cat-pill:hover {
	background: var(--orange);
	color: var(--ink);
}

.page-hero .cat-pill {
	background: rgba(243, 154, 59, 0.16);
	color: var(--orange);
}

.card-new {
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--navy);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.card-title {
	font-size: 22px;
	line-height: 1.2;
}

.card-title a:hover {
	color: #c66a12;
}

.card-excerpt {
	margin: 0;
	color: var(--text-soft);
	font-size: 15px;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 16px;
	font-size: 13px;
	color: #7a8aa5;
}

.post-meta > * + *::before {
	content: '•';
	margin-right: 16px;
	opacity: 0.6;
}

.meta-author {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: inherit;
}

.meta-author img {
	border-radius: 50%;
}

.card-more {
	margin-top: auto;
	padding-top: 6px;
	font-weight: 700;
	font-size: 14px;
	color: #c66a12;
}

.card-more:hover {
	color: var(--navy);
}

/* featured first post */
.card-featured {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	margin-bottom: 26px;
}

.card-featured .card-media {
	aspect-ratio: auto;
	min-height: 360px;
}

.card-featured .card-body {
	padding: clamp(28px, 4vw, 48px);
	justify-content: center;
	gap: 16px;
}

.card-featured .card-title {
	font-size: clamp(26px, 3vw, 38px);
}

.card-featured .card-excerpt {
	font-size: 17px;
}

/* pagination */
.pagination {
	margin-top: 50px;
}

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

.pagination .page-numbers {
	min-width: 46px;
	height: 46px;
	padding: 0 16px;
	display: inline-grid;
	place-items: center;
	border-radius: 999px;
	border: 1px solid var(--line-dark);
	background: #fff;
	font-weight: 600;
	color: var(--navy);
}

.pagination .page-numbers:hover {
	border-color: var(--orange);
}

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

.pagination .dots {
	border: 0;
	background: none;
}

.empty {
	text-align: center;
	padding: 60px 0;
	color: var(--navy);
}

.empty-icon {
	font-size: 56px;
}

.empty h2 {
	font-size: 32px;
	margin: 14px 0 6px;
}

.empty p {
	color: var(--text-soft);
	margin-bottom: 26px;
}

/* ---------- Single post ---------- */
.post-title {
	font-size: clamp(34px, 5vw, 62px);
	font-weight: 800;
	color: #fff;
	margin-top: 16px;
}

.post-hero .post-meta {
	margin-top: 26px;
	font-size: 14px;
	color: #b8c5da;
}

.post-section {
	padding-top: 0;
}

.post-cover {
	margin: 0 auto;
	transform: translateY(-1px);
}

.post-cover img {
	width: 100%;
	max-height: 620px;
	object-fit: cover;
	border-radius: 0 0 var(--radius) var(--radius);
}

.post-layout {
	display: grid;
	grid-template-columns: minmax(0, 760px);
	justify-content: center;
	gap: 60px;
	padding-top: clamp(40px, 6vw, 70px);
}

.has-sidebar .post-layout {
	grid-template-columns: minmax(0, 760px) 300px;
}

.post-aside {
	position: sticky;
	top: 110px;
	align-self: start;
	display: grid;
	gap: 22px;
}

/* article typography */
.entry-content {
	font-size: 18px;
	line-height: 1.8;
	color: var(--text);
}

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

.entry-content h2 {
	font-size: clamp(26px, 3vw, 34px);
	margin-top: 1.8em;
	margin-bottom: 0.6em;
}

.entry-content h3 {
	font-size: clamp(21px, 2.4vw, 26px);
	margin-top: 1.6em;
	margin-bottom: 0.5em;
}

.entry-content h4 {
	font-size: 20px;
	margin-top: 1.4em;
}

.entry-content a {
	color: #c66a12;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}

.entry-content a:hover {
	color: var(--navy);
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
}

.entry-content li {
	margin-bottom: 0.45em;
}

.entry-content li::marker {
	color: var(--orange);
	font-weight: 700;
}

.entry-content blockquote,
.wp-block-quote {
	margin-inline: 0;
	padding: 6px 0 6px 26px;
	border-left: 4px solid var(--orange);
	font-family: var(--font-display);
	font-size: 23px;
	line-height: 1.45;
	color: var(--navy);
}

.entry-content blockquote cite {
	display: block;
	margin-top: 10px;
	font-family: var(--font-body);
	font-size: 14px;
	font-style: normal;
	color: var(--text-soft);
}

.wp-block-pullquote {
	border-block: 3px solid var(--orange);
	padding: 30px 0;
	text-align: center;
}

.entry-content img,
.entry-content .wp-block-image img {
	border-radius: 16px;
}

.entry-content figcaption,
.wp-element-caption {
	margin-top: 10px;
	font-size: 14px;
	color: #7a8aa5;
	text-align: center;
}

.entry-content code {
	padding: 2px 7px;
	border-radius: 6px;
	background: #f1f4f8;
	font-size: 0.88em;
}

.entry-content pre,
.wp-block-code {
	padding: 22px;
	border-radius: 16px;
	background: var(--ink);
	color: #e4ecf8;
	font-size: 15px;
	line-height: 1.6;
	overflow-x: auto;
}

.entry-content pre code {
	padding: 0;
	background: none;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.entry-content th,
.entry-content td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--line-dark);
	text-align: left;
}

.entry-content th {
	background: var(--cream);
	color: var(--navy);
}

.entry-content hr,
.wp-block-separator {
	border: 0;
	height: 2px;
	background: var(--line-dark);
	margin-block: 2.5em;
}

.alignwide {
	margin-inline: calc((760px - min(1100px, 100vw - 32px)) / 2);
	max-width: none;
}

.alignfull {
	margin-inline: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.has-sidebar .alignwide,
.has-sidebar .alignfull {
	margin-inline: 0;
	width: auto;
}

.alignleft {
	float: left;
	margin: 0.3em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.3em 0 1em 1.5em;
}

.aligncenter {
	margin-inline: auto;
}

.wp-block-button__link {
	border-radius: 999px;
	padding: 14px 26px;
	font-weight: 600;
	text-decoration: none !important;
}

.entry-content .wp-block-button__link {
	color: var(--ink);
}

.page-links {
	display: flex;
	gap: 8px;
	font-weight: 600;
}

/* post footer */
.post-foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-top: 44px;
	padding-top: 26px;
	border-top: 1px solid var(--line-dark);
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tag-list a {
	padding: 6px 12px;
	border-radius: 999px;
	background: #f1f4f8;
	font-size: 13px;
	font-weight: 600;
	color: var(--text-soft);
}

.tag-list a:hover {
	background: var(--navy);
	color: #fff;
}

.share {
	display: flex;
	align-items: center;
	gap: 8px;
}

.share > span {
	margin-right: 6px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #7a8aa5;
}

.share .social {
	width: 40px;
	height: 40px;
	background: var(--navy);
	border: 0;
}

.copy-link.copied {
	background: #10b981 !important;
}

.author-box {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	margin-top: 36px;
	padding: 26px;
	border-radius: var(--radius);
	background: var(--cream);
}

.author-box img {
	border-radius: 50%;
	flex: none;
}

.author-box small {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #c66a12;
}

.author-box b {
	display: block;
	margin-top: 4px;
	font-family: var(--font-display);
	font-size: 20px;
	color: var(--navy);
}

.author-box p {
	margin: 8px 0 0;
	font-size: 15px;
	color: var(--text-soft);
}

.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 36px;
}

.post-nav a {
	padding: 20px 22px;
	border-radius: 18px;
	border: 1px solid var(--line-dark);
	background: #fff;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 17px;
	line-height: 1.3;
	color: var(--navy);
	transition: border-color 0.2s, transform 0.2s;
}

.post-nav a:hover {
	border-color: var(--orange);
	transform: translateY(-3px);
}

.post-nav .next {
	grid-column: 2;
	text-align: right;
}

.post-nav small {
	display: block;
	margin-bottom: 6px;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #c66a12;
}

/* ---------- Widgets ---------- */
.widget {
	padding: 24px;
	border-radius: var(--radius);
	background: #fff;
	border: 1px solid var(--line-dark);
	font-size: 15px;
}

.widget-title,
.widget .wp-block-heading {
	font-size: 18px;
	margin-bottom: 14px;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.widget a:hover {
	color: #c66a12;
}

/* ---------- Comments ---------- */
.comments {
	margin-top: 50px;
	padding-top: 36px;
	border-top: 1px solid var(--line-dark);
}

.comments-title,
.comment-reply-title {
	font-size: 26px;
	margin-bottom: 22px;
}

.comment-list,
.comment-list .children {
	list-style: none;
	padding: 0;
	margin: 0;
}

.comment-list .children {
	margin-left: clamp(16px, 4vw, 48px);
}

.comment-body {
	margin-bottom: 18px;
	padding: 20px 22px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid var(--line-dark);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	color: var(--navy);
}

.comment-author img {
	border-radius: 50%;
}

.comment-author .says {
	display: none;
}

.comment-metadata {
	margin: 4px 0 0 58px;
	font-size: 13px;
	color: #7a8aa5;
}

.comment-content {
	margin-left: 58px;
}

.reply a {
	margin-left: 58px;
	font-size: 13px;
	font-weight: 700;
	color: #c66a12;
}

.comment-form {
	display: grid;
	gap: 14px;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--navy);
}

.comment-form input[type='text'],
.comment-form input[type='email'],
.comment-form input[type='url'],
.comment-form textarea {
	width: 100%;
	padding: 14px 16px;
	border-radius: 14px;
	border: 1.5px solid #dbe2ec;
	background: #f8fafc;
	font: inherit;
	color: var(--navy);
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--orange);
	background: #fff;
}

.comment-form-cookies-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
}

.comment-form-cookies-consent label {
	font-weight: 500;
}

.form-note {
	margin: 0;
	font-size: 14px;
	color: #7a8aa5;
}

.comment-form .submit {
	border: 0;
	border-radius: 999px;
	padding: 14px 26px;
	font-weight: 600;
	cursor: pointer;
}

/* ---------- Related + CTA ---------- */
.related .h-md {
	margin-bottom: 30px;
}

.cta-band {
	padding: clamp(56px, 8vw, 100px) 0;
	background: var(--paper);
}

.related + .cta-band {
	background: var(--cream);
}

.cta-inner {
	position: relative;
	overflow: hidden;
	padding: clamp(36px, 6vw, 80px);
	border-radius: 32px;
	background: var(--orange);
	color: var(--ink);
}

.cta-inner h2 {
	position: relative;
	max-width: 760px;
	font-size: clamp(32px, 5vw, 60px);
	font-weight: 800;
	color: var(--ink);
}

.cta-inner p {
	position: relative;
	max-width: 620px;
	margin: 18px 0 28px;
	font-size: 18px;
	color: rgba(6, 18, 42, 0.78);
}

.cta-inner .btn-row {
	position: relative;
}

.cta-mark {
	position: absolute;
	right: clamp(-40px, 2vw, 40px);
	top: 50%;
	translate: 0 -50%;
	opacity: 0.14;
	--logo-ink: var(--ink);
	--orange: var(--ink);
}

/* ---------- 404 ---------- */
.notfound {
	min-height: 70vh;
	display: grid;
	place-items: center;
	text-align: center;
	padding: 80px 0;
	background: var(--navy);
	color: #fff;
}

.notfound h1 {
	color: #fff;
}

.nf-code {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(110px, 22vw, 240px);
	line-height: 0.9;
	letter-spacing: -0.06em;
	color: transparent;
	-webkit-text-stroke: 2px var(--orange);
}

.notfound .lead {
	margin-inline: auto;
}

.notfound .hero-tools {
	margin: 30px auto;
}

.notfound .btn-row {
	justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
	background: var(--ink);
	color: #fff;
	border-top: 1px solid var(--line);
	padding: 80px 0 30px;
	overflow: hidden;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
}

.footer h4 {
	font-family: var(--font-body);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--muted);
	margin-bottom: 18px;
}

.footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 10px;
}

.footer li a:hover {
	color: var(--orange);
}

.footer-about {
	max-width: 320px;
	margin-top: 20px;
	color: var(--muted);
	font-size: 15px;
}

.footer-small {
	color: var(--muted);
	font-size: 13px;
}

.footer-giant {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(42px, 10.5vw, 168px);
	letter-spacing: -0.05em;
	line-height: 0.9;
	margin: 70px 0 30px;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.18);
	user-select: none;
}

.footer-giant span {
	display: inline-block;
	transition: color 0.3s, transform 0.3s;
}

.footer-giant span:hover {
	color: var(--orange);
	-webkit-text-stroke-color: var(--orange);
	transform: translateY(-10px) rotate(-6deg);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--muted);
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.footer .footer-legal {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

/* ---------- WhatsApp button ---------- */
.wa-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 40;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	display: grid;
	place-items: center;
	box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
	transition: transform 0.3s;
}

.wa-float svg {
	width: 28px;
	height: 28px;
}

.wa-float:hover {
	transform: scale(1.1) rotate(-8deg);
}

.wa-float .tip {
	position: absolute;
	right: 70px;
	white-space: nowrap;
	background: #fff;
	color: var(--navy);
	padding: 8px 14px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 600;
	pointer-events: none;
	opacity: 0;
	transform: translateX(10px);
	transition: opacity 0.25s, transform 0.25s;
	box-shadow: var(--shadow);
}

.wa-float:hover .tip {
	opacity: 1;
	transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1380px) {
	.header-phone {
		display: none;
	}
}

@media (max-width: 1180px) {
	.nav,
	.header-actions,
	.topbar {
		display: none;
	}
	.burger {
		display: flex;
	}
	.has-sidebar .post-layout {
		grid-template-columns: minmax(0, 760px);
	}
	.post-aside {
		position: static;
	}
}

@media (max-width: 1000px) {
	.post-grid {
		grid-template-columns: 1fr 1fr;
	}
	.card-featured {
		grid-template-columns: 1fr;
	}
	.card-featured .card-media {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}
	.alignwide {
		margin-inline: 0;
	}
}

@media (max-width: 860px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 782px) {
	.admin-bar .header {
		top: 46px;
	}
}

@media (max-width: 640px) {
	.post-grid {
		grid-template-columns: 1fr;
	}
	.entry-content {
		font-size: 17px;
	}
	.post-nav {
		grid-template-columns: 1fr;
	}
	.post-nav .next {
		grid-column: auto;
	}
	.post-foot {
		flex-direction: column;
		align-items: flex-start;
	}
	.alignleft,
	.alignright {
		float: none;
		margin: 0 0 1em;
	}
	.search-form button {
		padding: 11px 16px;
	}
}

@media (max-width: 520px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}
	.logo-word {
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
	html {
		scroll-behavior: auto;
	}
}
