/* AiWebSoft Theme – main stylesheet
   Colours/fonts come from CSS variables printed by the Customizer (inc/customizer.php). */

:root {
	--aws-accent: #ff5b37;
	--aws-accent-2: #e6334f;
	--aws-navy: #1c2035;
	--aws-text: #3a3f55;
	--aws-bg: #fbf7f3;
	--aws-header-bg: #ffffff;
	--aws-muted: #6b7085;
	--aws-line: #efe6de;
	--aws-tint: #fff1ec;
	--aws-card: #ffffff;
	--aws-grad: linear-gradient(135deg, var(--aws-accent) 0%, var(--aws-accent-2) 100%);
	--aws-radius: 18px;
	--aws-radius-sm: 12px;
	--aws-shadow: 0 1px 2px rgba(28, 32, 53, .04), 0 10px 30px -12px rgba(28, 32, 53, .12);
	--aws-shadow-lg: 0 2px 4px rgba(28, 32, 53, .04), 0 24px 48px -18px rgba(28, 32, 53, .22);
	--aws-font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--aws-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--aws-article-size: 17px;
	--aws-header-h: 76px;
	--aws-container: 1200px;
	--aws-top: var(--wp-admin--admin-bar--height, 0px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--aws-header-h) + 20px); }
body {
	margin: 0;
	font-family: var(--aws-font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--aws-text);
	background: var(--aws-bg);
	background-image:
		radial-gradient(900px 420px at 100% 0, rgba(255, 91, 55, .07), transparent 70%),
		radial-gradient(700px 380px at 0 0, rgba(255, 220, 200, .25), transparent 70%);
	background-repeat: no-repeat;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--aws-accent-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--aws-accent); }
h1, h2, h3, h4, h5, h6 { font-family: var(--aws-font-head); color: var(--aws-navy); line-height: 1.25; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1.1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--aws-accent) 55%, transparent); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--aws-container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 880px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--aws-navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons / badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; font-family: var(--aws-font-head); font-weight: 700; font-size: 15px; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, filter .2s; white-space: nowrap; }
.btn--primary { background: var(--aws-grad); color: #fff; box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--aws-accent) 70%, transparent); }
.btn--primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--aws-accent) 80%, transparent); filter: saturate(1.08); }
.badge { display: inline-block; padding: 7px 16px; border-radius: 999px; background: var(--aws-tint); border: 1px solid color-mix(in srgb, var(--aws-accent) 25%, transparent); color: var(--aws-accent-2); font-family: var(--aws-font-head); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--aws-line); background: #fff; color: var(--aws-navy); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.icon-btn:hover { background: var(--aws-tint); border-color: color-mix(in srgb, var(--aws-accent) 30%, transparent); color: var(--aws-accent-2); }

/* ---------- Header (light, smart sticky) ---------- */
.site-header { position: sticky; top: var(--aws-top); z-index: 100; background: var(--aws-header-bg); border-bottom: 1px solid var(--aws-line); transition: transform .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(28, 32, 53, .18); }
.site-header.is-smart.is-hidden { transform: translateY(calc(-100% - var(--aws-top))); }
.site-header.is-hidden .sub-menu { opacity: 0 !important; visibility: hidden !important; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--aws-header-h); }
.site-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-logo__img { width: auto; max-width: 240px; object-fit: contain; }
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.primary-nav { margin-left: auto; }
.primary-nav__head, .nav-cta-mobile, .nav-toggle { display: none; }

.primary-nav .menu, .primary-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.primary-nav .menu { display: flex; align-items: center; gap: 4px; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu a { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; color: var(--aws-navy); font-family: var(--aws-font-head); font-weight: 600; font-size: 15px; line-height: 1.2; transition: background .2s, color .2s; }
.primary-nav .menu a:hover, .primary-nav .menu li:focus-within > a { background: var(--aws-tint); color: var(--aws-accent-2); }
.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav .current_page_item > a { background: #f4f1ee; color: var(--aws-navy); }
.primary-nav .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; margin-left: 2px; }
.submenu-toggle { display: none; }
.primary-nav .sub-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; padding: 8px; background: #fff; border: 1px solid var(--aws-line); border-radius: 14px; box-shadow: var(--aws-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 10; }
.primary-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.primary-nav .sub-menu .sub-menu { top: -8px; left: calc(100% + 8px); }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu, .primary-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { padding: 10px 12px; font-size: 14.5px; font-weight: 500; }
.primary-nav .sub-menu .menu-item-has-children > a::after { transform: rotate(-45deg); margin-left: auto; }

.header-search { border-top: 1px solid var(--aws-line); background: var(--aws-header-bg); padding: 16px 0; }
.header-search .search-form { max-width: 640px; margin: 0 auto; }

.burger { display: grid; gap: 4px; width: 18px; }
.burger i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
.nav-open .site-header { z-index: 300; transform: none; }
.nav-overlay { position: fixed; inset: 0; background: rgba(28, 32, 53, .45); z-index: 150; opacity: 0; transition: opacity .25s; }
.nav-overlay.is-visible { opacity: 1; }

/* ---------- Search form ---------- */
.search-form { display: flex; align-items: center; background: #fff; border: 1px solid var(--aws-line); border-radius: 999px; padding: 4px 4px 4px 18px; transition: border-color .2s, box-shadow .2s; }
.search-form:focus-within { border-color: color-mix(in srgb, var(--aws-accent) 50%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--aws-accent) 12%, transparent); }
.search-form__input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 8px 0; font-size: 15px; }
.search-form__btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--aws-grad); color: #fff; cursor: pointer; }

/* ---------- Ads ---------- */
.aws-ad { margin: 24px auto; text-align: center; overflow: hidden; }
.aws-ad__label { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #a3a7b6; margin-bottom: 6px; }
.ad-wrap--top .aws-ad { min-height: 100px; }
.sidebar .aws-ad { margin: 0 0 24px; min-height: 250px; }
.entry-content .aws-ad { margin: 28px auto; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: 14px; color: var(--aws-muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid #b5b8c5; border-top: 1.5px solid #b5b8c5; transform: rotate(45deg); margin-right: 4px; }
.breadcrumbs a { color: var(--aws-muted); font-weight: 500; }
.breadcrumbs a:hover { color: var(--aws-accent-2); }
.breadcrumbs [aria-current] span { color: var(--aws-navy); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; max-width: 60ch; }

/* ---------- Listing hero ---------- */
.page-hero { padding: 56px 0 40px; text-align: center; }
.page-hero--home { padding: 72px 0 48px; }
.page-hero__inner { max-width: 860px; }
.page-hero .breadcrumbs ol { justify-content: center; }
.page-hero .badge { margin-bottom: 18px; }
.page-hero__title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; margin-bottom: 14px; text-wrap: balance; }
.page-hero__text { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--aws-muted); max-width: 680px; margin: 0 auto; text-wrap: pretty; }
.page-hero__search { max-width: 560px; margin: 24px auto 8px; }
.page-hero .btn { margin-top: 20px; }
.listing__body { padding-bottom: 72px; }

/* ---------- Post grid (3 columns) ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; background: var(--aws-card); border: 1px solid var(--aws-line); border-radius: var(--aws-radius); overflow: hidden; box-shadow: var(--aws-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--aws-shadow-lg); }
.card__media { display: block; aspect-ratio: 16 / 9; background: #fdfdfd; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__media img.is-default-image, .mini-posts__img img.is-default-image { object-fit: contain; padding: 6%; background: #fefefe; }
.card:hover .card__media img.is-default-image { transform: none; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 22px; }
.card__cat { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--aws-accent-2); background: var(--aws-tint); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.card__title { font-size: 1.2rem; line-height: 1.35; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.35em * 2); text-wrap: balance; }
.card__title a { color: var(--aws-navy); }
.card__title a:hover { color: var(--aws-accent-2); }
.card__excerpt { font-size: 15px; line-height: 1.65; color: var(--aws-muted); margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--aws-line); font-size: 13px; color: #8a8fa3; font-weight: 500; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }

/* ---------- Pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--aws-line); color: var(--aws-navy); font-weight: 600; font-size: 15px; }
.pagination .page-numbers:hover { border-color: var(--aws-accent); color: var(--aws-accent-2); }
.pagination .page-numbers.current { background: var(--aws-grad); color: #fff; border-color: transparent; }
.pagination .dots { border: 0; background: none; }

.empty-state { text-align: center; padding: 48px 24px; background: #fff; border-radius: var(--aws-radius); border: 1px solid var(--aws-line); max-width: 640px; margin: 0 auto; }

/* ---------- Single post ---------- */
.post-header { padding: 44px 0 32px; }
.post-title { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.85rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 16px; max-width: 26ch; text-wrap: balance; }
.post-header--page .post-title { max-width: none; }
.post-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.65; color: var(--aws-muted); max-width: 72ch; margin: 0 0 26px; text-wrap: pretty; }

.post-meta { display: flex; flex-wrap: wrap; align-items: stretch; background: #fff; border: 1px solid var(--aws-line); border-radius: var(--aws-radius); box-shadow: var(--aws-shadow); }
.post-meta__item { display: flex; align-items: center; gap: 12px; padding: 16px 24px; flex: 1 1 0; min-width: 180px; }
.post-meta__item + .post-meta__item { border-left: 1px solid var(--aws-line); }
.post-meta__avatar { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--aws-line); }
.post-meta__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--aws-tint); color: var(--aws-accent-2); flex-shrink: 0; }
.post-meta__label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #8a8fa3; font-weight: 600; line-height: 1.3; }
.post-meta__value { display: block; font-family: var(--aws-font-head); font-weight: 700; color: var(--aws-navy); font-size: 15px; line-height: 1.4; }
a.post-meta__value:hover { color: var(--aws-accent-2); }

.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; padding-bottom: 64px; }
.post-figure { margin: 0 0 32px; }
.post-figure__img { width: 100%; height: auto; border-radius: var(--aws-radius); box-shadow: var(--aws-shadow); background: #fdfdfd; }
.post-figure__img.is-default-image { border: 1px solid var(--aws-line); }
.post-figure figcaption { font-size: 13px; color: var(--aws-muted); text-align: center; margin-top: 10px; }

/* Sticky sidebar */
.sidebar { position: sticky; top: calc(var(--aws-top) + var(--aws-header-h) + 24px); transition: top .3s ease; }
.header-hidden .sidebar { top: calc(var(--aws-top) + 24px); }
.widget { background: #fff; border: 1px solid var(--aws-line); border-radius: var(--aws-radius); padding: 22px; margin-bottom: 24px; box-shadow: var(--aws-shadow); }
.widget-title { font-size: 1rem; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--aws-line); position: relative; }
.widget-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 40px; height: 2px; background: var(--aws-grad); border-radius: 2px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.mini-posts li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 10px 0; }
.mini-posts li + li { border-top: 1px dashed var(--aws-line); }
.mini-posts__img { display: block; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: #fdfdfd; border: 1px solid var(--aws-line); }
.mini-posts__img img { width: 100%; height: 100%; object-fit: cover; }
.mini-posts__img img.is-default-image { padding: 4px; }
.mini-posts__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--aws-navy); font-family: var(--aws-font-head); font-weight: 600; font-size: 14.5px; line-height: 1.4; }
.mini-posts__title:hover { color: var(--aws-accent-2); }
.mini-posts time { font-size: 12.5px; color: #8a8fa3; }
.cat-list a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; margin: 0 -12px; border-radius: 10px; color: var(--aws-text); font-weight: 500; font-size: 15px; }
.cat-list a:hover { background: var(--aws-tint); color: var(--aws-accent-2); }
.cat-list em { font-style: normal; font-size: 12px; font-weight: 700; min-width: 28px; text-align: center; padding: 2px 8px; border-radius: 999px; background: #f4f1ee; color: var(--aws-muted); }
.widget li a { color: var(--aws-text); }

/* ---------- Article typography ---------- */
.entry-content { font-size: var(--aws-article-size); line-height: 1.8; color: var(--aws-text); overflow-wrap: break-word; }
.entry-content > * { margin-top: 0; margin-bottom: 1.25em; }
.entry-content h2 { font-size: 1.65em; margin: 1.8em 0 .6em; }
.entry-content h3 { font-size: 1.32em; margin: 1.6em 0 .55em; }
.entry-content h4 { font-size: 1.12em; margin: 1.4em 0 .5em; }
.entry-content a { color: var(--aws-accent-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--aws-accent-2) 40%, transparent); }
.entry-content a:hover { text-decoration-color: currentColor; }
.entry-content strong { color: var(--aws-navy); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--aws-accent); font-weight: 700; }
.entry-content img { border-radius: var(--aws-radius-sm); }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption { font-size: 14px; color: var(--aws-muted); text-align: center; }
.entry-content blockquote { margin: 1.8em 0; padding: 20px 26px; background: #fff; border-left: 4px solid var(--aws-accent); border-radius: 0 var(--aws-radius-sm) var(--aws-radius-sm) 0; box-shadow: var(--aws-shadow); font-size: 1.05em; color: var(--aws-navy); }
.entry-content blockquote p:last-child { margin: 0; }
.entry-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: #f4efea; padding: .15em .4em; border-radius: 6px; color: #b02a42; }
.entry-content pre { background: var(--aws-navy); color: #e8eaf3; padding: 20px 22px; border-radius: var(--aws-radius-sm); overflow-x: auto; font-size: 14.5px; line-height: 1.7; }
.entry-content pre code { background: none; color: inherit; padding: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .92em; background: #fff; border-radius: var(--aws-radius-sm); overflow: hidden; box-shadow: 0 0 0 1px var(--aws-line); }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--aws-line); text-align: left; }
.entry-content th { background: #f9f5f1; color: var(--aws-navy); font-family: var(--aws-font-head); }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content hr { border: 0; height: 1px; background: var(--aws-line); margin: 2.5em 0; }
.entry-content iframe { width: 100%; border-radius: var(--aws-radius-sm); }
.entry-content .aws-autolink { font-weight: 500; }
.page-links { display: flex; gap: 8px; font-weight: 600; }

/* Tags + author */
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 32px 0; }
.post-tags span { font-weight: 700; color: var(--aws-navy); margin-right: 4px; font-family: var(--aws-font-head); }
.post-tags a { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--aws-line); color: var(--aws-text); }
.post-tags a:hover { border-color: var(--aws-accent); color: var(--aws-accent-2); }
.author-box { display: flex; gap: 18px; align-items: flex-start; padding: 24px; background: #fff; border: 1px solid var(--aws-line); border-radius: var(--aws-radius); box-shadow: var(--aws-shadow); margin-top: 32px; }
.author-box img { border-radius: 50%; flex-shrink: 0; }
.author-box__label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #8a8fa3; font-weight: 600; }
.author-box__name { font-family: var(--aws-font-head); font-weight: 700; font-size: 1.1rem; color: var(--aws-navy); }
.author-box p { margin: 6px 0 0; font-size: 15px; color: var(--aws-muted); }

/* ---------- FAQ ---------- */
.faq-box { margin: 40px 0 8px; padding: 28px; background: #fff; border: 1px solid var(--aws-line); border-radius: var(--aws-radius); box-shadow: var(--aws-shadow); }
.faq-box__title { font-size: 1.45rem; margin-bottom: 18px; }
.faq-item { border: 1px solid var(--aws-line); border-radius: var(--aws-radius-sm); background: #fdfbf9; transition: background .2s, border-color .2s; }
.faq-item + .faq-item { margin-top: 12px; }
.faq-item[open] { background: #fff; border-color: color-mix(in srgb, var(--aws-accent) 30%, transparent); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; cursor: pointer; list-style: none; font-family: var(--aws-font-head); font-weight: 700; color: var(--aws-navy); font-size: 1.02rem; line-height: 1.45; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--aws-tint); }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--aws-accent-2); border-radius: 2px; transition: transform .25s; }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-item__a { padding: 0 20px 16px; color: var(--aws-text); font-size: 16px; line-height: 1.75; }
.faq-item__a > :last-child { margin-bottom: 0; }

/* ---------- Related (full width) ---------- */
.related { padding: 64px 0 80px; background: linear-gradient(180deg, rgba(255, 255, 255, .0), rgba(255, 255, 255, .75)); border-top: 1px solid var(--aws-line); }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head .badge { margin-bottom: 14px; }
.section-head__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; margin: 0; }

/* ---------- Pages ---------- */
.post-main--page { padding-bottom: 72px; }
.contact-extra { max-width: 880px; margin: 48px auto 0; }

/* ---------- Contact block + Contact Form 7 ---------- */
.contact-block { display: grid; grid-template-columns: 5fr 7fr; background: #fff; border: 1px solid var(--aws-line); border-radius: 24px; overflow: hidden; box-shadow: var(--aws-shadow-lg); margin: 8px 0 80px; }
.contact-block__info { position: relative; padding: 44px 40px; background: var(--aws-navy); color: #cfd2e0; overflow: hidden; }
.contact-block__info::before { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; bottom: -120px; border-radius: 50%; background: var(--aws-grad); opacity: .35; filter: blur(10px); }
.contact-block__info > * { position: relative; }
.contact-block__info .badge { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #ffb39f; margin-bottom: 18px; }
.contact-block__title { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; }
.contact-block__intro { color: #b9bdd0; margin-bottom: 28px; }
.contact-block__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-block__list li { display: flex; gap: 14px; align-items: center; }
.contact-block__list small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #8d92ab; }
.contact-block__list a, .contact-block__list span { color: #fff; font-weight: 600; word-break: break-word; }
.contact-block__icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #ff9a80; }
.contact-block__form { padding: 44px 40px; }
.contact-block__notice { padding: 16px; border-radius: 12px; background: var(--aws-tint); }

.aws-form .wpcf7-form p, .wpcf7-form p { margin: 0 0 18px; }
.aws-form label, .wpcf7-form label { display: block; font-family: var(--aws-font-head); font-weight: 600; font-size: 14px; color: var(--aws-navy); }
.wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"], .wpcf7-form input[type="url"], .wpcf7-form input[type="number"], .wpcf7-form input[type="date"], .wpcf7-form select, .wpcf7-form textarea {
	width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid #e5ddd5; border-radius: 12px; background: #fdfbf9; font-size: 15.5px; color: var(--aws-navy); transition: border-color .2s, box-shadow .2s, background .2s; outline: 0; -webkit-appearance: none; appearance: none;
}
.wpcf7-form textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.wpcf7-form select { background-image: linear-gradient(45deg, transparent 50%, var(--aws-muted) 50%), linear-gradient(135deg, var(--aws-muted) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus { border-color: var(--aws-accent); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--aws-accent) 14%, transparent); }
.wpcf7-form ::placeholder { color: #a7abba; }
.wpcf7-form input[type="submit"], .wpcf7-form button[type="submit"], .wpcf7-submit { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 34px; border: 0; border-radius: 999px; background: var(--aws-grad); color: #fff; font-family: var(--aws-font-head); font-weight: 700; font-size: 16px; cursor: pointer; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--aws-accent) 80%, transparent); transition: transform .2s, box-shadow .2s; }
.wpcf7-form input[type="submit"]:hover, .wpcf7-submit:hover { transform: translateY(-1px); }
.wpcf7-form input[type="checkbox"], .wpcf7-form input[type="radio"] { accent-color: var(--aws-accent); width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }
.wpcf7-list-item { margin: 0 16px 6px 0; }
.wpcf7-list-item-label { font-weight: 500; color: var(--aws-text); }
.wpcf7-not-valid-tip { font-size: 13px; color: #d63649; margin-top: 6px; font-weight: 500; }
.wpcf7-form .wpcf7-not-valid { border-color: #f0a1ab; background: #fff7f8; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 14px 18px; border-radius: 12px; border: 1px solid; font-size: 15px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #9ad8b4; background: #effaf3; color: #1c6b3e; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: #f3b9a6; background: #fff4ef; color: #a03a1f; }
.wpcf7-spinner { vertical-align: middle; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; }
.site-footer__main { background: #fff; border-top: 1px solid var(--aws-line); padding: 48px 0 40px; }
.site-footer__grid { display: flex; align-items: center; justify-content: space-between; gap: 40px 64px; flex-wrap: wrap; }
.site-footer__brand { max-width: 440px; }
.site-footer__brand .site-logo { margin-bottom: 14px; }
.site-footer__about { color: var(--aws-muted); font-size: 15px; margin: 0 0 16px; }
.social-links { display: flex; gap: 10px; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #f6f2ee; color: var(--aws-navy); transition: background .2s, color .2s, transform .2s; }
.social-links a:hover { background: var(--aws-grad); color: #fff; transform: translateY(-2px); }
.footer-nav { flex: 1 1 360px; display: flex; justify-content: flex-end; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 4px; }
.footer-menu a { display: inline-block; padding: 8px 14px; border-radius: 10px; color: var(--aws-navy); font-family: var(--aws-font-head); font-weight: 600; font-size: 15px; }
.footer-menu a:hover { background: var(--aws-tint); color: var(--aws-accent-2); }
.site-footer__bar { background: var(--aws-navy); color: #a9adc2; font-size: 14px; }
.site-footer__bar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; }
.site-footer__bar p { margin: 0; }
.site-footer__bar a { color: #e3e5ef; }
.site-footer__bar a:hover { color: #ff9a80; }
.site-footer__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--aws-grad); color: #fff; cursor: pointer; box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--aws-accent) 80%, transparent); opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s; }
.to-top.is-visible { opacity: 1; transform: none; }

/* HTML sitemap shortcode */
.html-sitemap ul { columns: 2 260px; }

/* WordPress core alignment classes */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.sticky .card__cat::before { content: "★ "; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.primary-nav .menu a { padding: 10px 10px; font-size: 14.5px; }
	.single-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
}

@media (max-width: 1023px) {
	:root { --aws-header-h: 68px; }
	.nav-toggle { display: inline-grid; }
	.primary-nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 200; width: min(88vw, 360px); margin: 0; background: #fff; padding: 16px 18px 28px; overflow-y: auto; transform: translateX(105%); transition: transform .3s ease; box-shadow: -20px 0 40px -20px rgba(28, 32, 53, .3); display: flex; flex-direction: column; visibility: hidden; }
	.primary-nav.is-open { transform: none; visibility: visible; }
	.primary-nav__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; margin-bottom: 10px; border-bottom: 1px solid var(--aws-line); }
	.primary-nav__head .site-logo__img { height: 38px !important; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.primary-nav .menu > li { border-bottom: 1px solid #f5efe9; }
	.primary-nav .menu a { padding: 13px 8px; font-size: 16px; }
	.primary-nav .menu-item-has-children { display: grid; grid-template-columns: 1fr 44px; align-items: center; }
	.primary-nav .menu-item-has-children > a::after { display: none; }
	.submenu-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: #f6f2ee; color: var(--aws-navy); cursor: pointer; }
	.submenu-toggle svg { transition: transform .25s; }
	.is-open > .submenu-toggle svg { transform: rotate(180deg); }
	.primary-nav .sub-menu, .primary-nav .sub-menu .sub-menu { position: static; grid-column: 1 / -1; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 8px 12px; display: none; background: transparent; }
	.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: none; }
	.primary-nav li.is-open > .sub-menu { display: block; }
	.nav-cta-mobile { display: inline-flex; margin-top: 22px; }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
	.single-layout { grid-template-columns: 1fr; gap: 8px; }
	.sidebar { position: static; }
	.post-meta__item { flex: 1 1 45%; }
	.post-meta__item:nth-child(3) { border-left: 0; }
	.post-meta__item:nth-child(n+3) { border-top: 1px solid var(--aws-line); }
	.contact-block { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.container { padding: 0 16px; }
	.header-cta { display: none; }
	.site-logo__img { max-width: 170px; }
	.page-hero { padding: 36px 0 28px; }
	.page-hero--home { padding: 44px 0 32px; }
	.post-grid { grid-template-columns: 1fr; gap: 20px; }
	.card__title { min-height: 0; }
	.post-header { padding: 28px 0 22px; }
	.post-meta__item { flex: 1 1 100%; padding: 13px 18px; }
	.post-meta__item + .post-meta__item { border-left: 0; border-top: 1px solid var(--aws-line); }
	.faq-box { padding: 20px 16px; }
	.contact-block__info, .contact-block__form { padding: 30px 22px; }
	.site-footer__grid { flex-direction: column; align-items: flex-start; gap: 24px; }
	.footer-nav { justify-content: flex-start; flex-basis: auto; }
	.footer-menu { justify-content: flex-start; margin-left: -14px; }
	.site-footer__bar-inner { flex-direction: column; align-items: flex-start; }
	.author-box { flex-direction: column; }
	.related { padding: 48px 0 56px; }
	.to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

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

@media print {
	.site-header, .site-footer, .sidebar, .related, .aws-ad, .to-top, .breadcrumbs { display: none !important; }
	.single-layout { display: block; }
}
