/*
Theme Name: Advisory
Theme URI: https://example.com/advisory
Author: Albert
Author URI: https://example.com
Description: A modern, professional block theme for insurance, mortgage, and financial advisory firms. Full site editing with ready-made page patterns for Home, About, Services, Team, Claims, Our Strength, Disclosure, and Contact.
Version: 1.2.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: advisory
Tags: business, portfolio, blog, full-site-editing, block-patterns, custom-colors, custom-logo, editor-style, featured-images, threaded-comments, wide-blocks
*/

a { text-underline-offset: 0.18em; }
.wp-block-post-title a, .wp-block-site-title a { text-decoration: none; }

.advisory-eyebrow {
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-size: 0.78rem;
	font-weight: 700;
}

/* ---------- Buttons ---------- */
.wp-block-button__link {
	transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
	box-shadow: 0 6px 16px -10px rgba(15,39,66,0.5);
}
.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px -10px rgba(15,39,66,0.55);
}

/* ---------- Top contact bar ---------- */
.advisory-topbar a { color: inherit; text-decoration: none; }
.advisory-topbar a:hover { text-decoration: underline; }

/* ---------- Modern gradient hero ---------- */
.advisory-hero {
	position: relative;
	overflow: hidden;
	background-image:
		radial-gradient(60% 80% at 18% 22%, rgba(42,157,143,0.38) 0%, rgba(42,157,143,0) 60%),
		radial-gradient(55% 75% at 88% 85%, rgba(233,162,59,0.28) 0%, rgba(233,162,59,0) 60%),
		linear-gradient(135deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--contrast) 100%);
}
.advisory-hero::after {
	content: "";
	position: absolute;
	right: -120px; top: -120px;
	width: 360px; height: 360px;
	border: 1px solid rgba(255,255,255,0.10);
	border-radius: 50%;
	pointer-events: none;
}

/* Frosted card used inside the hero */
.advisory-glass {
	background: rgba(255,255,255,0.10);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 16px;
}
.advisory-glass .wp-block-list li { padding: 0.15rem 0; }

/* ---------- Cards ---------- */
.advisory-card {
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 9%, transparent);
	border-radius: 14px;
	background: var(--wp--preset--color--base);
	height: 100%;
	box-shadow: 0 2px 10px -6px rgba(15,39,66,0.18);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.advisory-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 22px 44px -22px rgba(15,39,66,0.5);
	border-color: color-mix(in srgb, var(--wp--preset--color--primary) 30%, transparent);
}

/* Service icon chip */
.advisory-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px; height: 54px;
	border-radius: 14px;
	margin-bottom: 0.5rem;
	color: var(--wp--preset--color--primary);
	background-image: linear-gradient(135deg,
		color-mix(in srgb, var(--wp--preset--color--primary) 16%, transparent),
		color-mix(in srgb, var(--wp--preset--color--secondary) 16%, transparent));
}
.advisory-chip svg { width: 28px; height: 28px; }

/* ---------- Stats ---------- */
.advisory-stat .wp-block-heading { line-height: 1; margin: 0; }

/* ---------- Testimonials ---------- */
.advisory-quote {
	border-radius: 14px;
	background: var(--wp--preset--color--base);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 9%, transparent);
	box-shadow: 0 2px 10px -6px rgba(15,39,66,0.18);
	height: 100%;
}

/* ---------- Brand image with offset accent frame ---------- */
.advisory-about-img {
	position: relative;
	min-height: 440px;
	border-radius: 16px;
	background-image: url('assets/about.jpg');
	background-size: cover;
	background-position: center;
	box-shadow: 0 26px 50px -28px rgba(15,39,66,0.6);
}
.advisory-frame { position: relative; }
.advisory-frame::before {
	content: "";
	position: absolute;
	left: -18px; bottom: -18px;
	width: 65%; height: 65%;
	border: 3px solid var(--wp--preset--color--accent);
	border-radius: 16px;
	z-index: -1;
}

/* Rounded media everywhere */
.advisory-team .wp-block-image img {
	border-radius: 14px;
	width: 100%;
	object-fit: cover;
	aspect-ratio: 4 / 5;
}
.wp-block-image img { border-radius: 12px; }

/* Equal-height card columns on desktop */
@media (min-width: 782px) {
	.advisory-equal .wp-block-column { display: flex; }
	.advisory-equal .wp-block-column > .wp-block-group,
	.advisory-equal .wp-block-column > .wp-block-group > .wp-block-group { width: 100%; }
}

/* Pill badge */
.advisory-badge {
	display: inline-block;
	padding: 0.3rem 0.8rem;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	background: color-mix(in srgb, var(--wp--preset--color--secondary) 16%, transparent);
	color: var(--wp--preset--color--primary);
}
