/*
Theme Name:   Edge One Frost
Theme URI:    https://edgeonemedia.com
Description:  Edge One Media child theme built on Frost. Provides global style foundation and per-template style variations for the Edge One template library.
Author:       Edge One Media
Author URI:   https://edgeonemedia.com
Template:     frost
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  edge-one-frost
*/

/* ===========================================
   LAWYER -- Professional & Authority
   =========================================== */

/* --- Hero Cover --- */

.block-hero-cover .wp-block-button.is-style-outline .wp-block-button__link {
	background-color: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.4);
}

.block-hero-cover .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background-color: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.6);
}

/* --- Link Band --- */

.block-link-band .wp-block-column > .wp-block-group {
	transition: background-color 0.2s ease;
	cursor: pointer;
}

.block-link-band .wp-block-column > .wp-block-group:hover {
	background-color: rgba(255, 255, 255, 0.08);
}

/* --- Practice Areas Grid --- */

.block-practice-areas-grid .wp-block-column .wp-block-image img {
	display: block;
	width: 100%;
}

/* --- About Split: Checkmark List --- */

.block-about-split .is-style-checkmark {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}

.block-about-split .is-style-checkmark li {
	position: relative;
	padding-left: 1.75rem;
}

.block-about-split .is-style-checkmark li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--wp--preset--color--secondary);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.5;
}

/* --- Testimonials --- */

.block-testimonials .wp-block-columns {
	align-items: stretch;
}

.block-testimonials .wp-block-column {
	display: flex;
	flex-direction: column;
}

.block-testimonials .wp-block-column > .wp-block-group {
	flex: 1;
}

/* SHORTCODE */

.t-nav-preview {
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.t-preview-item {
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.t-preview-item.active {
  opacity: 1;
}

.t-dot.active {
  background: #000; /* adjust to brand */
}

/* --- Contact Form: Fake Fields --- */

.block-contact-form .block-contact-form__fields .wp-block-group:not(.wp-block-buttons) {
	cursor: text;
}

.block-contact-form .block-contact-form__fields .wp-block-group:not(.wp-block-buttons):hover {
	background-color: #fafafa;
}

/* --- Stats Bar --- */

@media (max-width: 781px) {
	.block-stats-bar .wp-block-columns {
		flex-wrap: wrap;
	}

	.block-stats-bar .wp-block-column {
		flex-basis: 50% !important;
		padding-bottom: var(--wp--preset--spacing--large);
	}

	.block-stats-bar .wp-block-column .wp-block-group {
		border-right: none !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}


/* --- Team Grid --- */

.block-team-grid .wp-block-column .wp-block-group .wp-block-group:first-child {
	width: 100%;
}

/* --- FAQ --- */

.block-faq .wp-block-group + .wp-block-group {
	border-top: 1px solid rgba(3, 7, 5, 0.1);
	padding-top: var(--wp--preset--spacing--large);
}

/* --- Process Steps --- */

.block-process-steps .wp-block-columns {
	align-items: start;
}

.block-process-steps .wp-block-column {
	position: relative;
}

.block-process-steps .wp-block-column:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 2.5rem;
	right: calc(-1 * var(--wp--preset--spacing--large) / 2);
	width: var(--wp--preset--spacing--large);
	height: 1px;
	background-color: var(--wp--preset--color--secondary);
	opacity: 0.4;
}

@media (max-width: 781px) {
	.block-process-steps .wp-block-column:not(:last-child)::after {
		display: none;
	}
}

/* --- Blog Grid --- */

.block-blog-grid .wp-block-column {
	display: flex;
	flex-direction: column;
}

.block-blog-grid .wp-block-column > .wp-block-group {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.block-blog-grid .wp-block-column .wp-block-buttons {
	margin-top: auto;
	padding-top: var(--wp--preset--spacing--medium);
}

.block-blog-grid .wp-block-button.is-style-outline .wp-block-button__link {
	border-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--secondary);
}

.block-blog-grid .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--background);
}

/* --- CTA Banner --- */

.block-cta-banner .wp-block-button__link:hover {
	opacity: 0.9;
}

/* --- Global Button Radius Override for Lawyer --- */

.professional-authority .wp-block-button__link {
	border-radius: 0 !important;
}

/* Construction vertical styles live in the per-variation CSS files
   loaded by the edge-one-templates plugin (construction-bold.css,
   construction-warm.css, construction-clean.css). Do not add
   construction rules here — they would apply regardless of variation. */
