/*
	Style overrides for the 2026 branding refresh.
*/

:root {
	--aao-color-primary: #0072CE;
	--aao-color-secondary: #E6E7E8;
	--aao-color-accent: #FFB81C;
	--aao-color-blue: #005596;
	--aao-color-blue-dark: #00477D;
	--aao-color-cyan: #3DBCE6;
	--aao-color-cyan-dark: #00A5D9;
	--aao-color-cyan-light: #7FCBE2;
	--aao-color-cyan-lighter: #D6F5FD;
	--aao-color-cyan-lightest: #E5F6FB;
	--aao-color-green: #3FD48B;
	--aao-color-orange: #FE996B;
	--aao-color-purple: #846BFF;


	--aao-rounded-xs: 0.25rem;
	--aao-rounded-sm: 0.5rem;
	--aao-rounded-md: 1rem;
	--aao-rounded-lg: 1.5rem;
	--aao-rounded-full: calc(infinity * 1px);

	--aao-color-existing-blue: #005596; /* same as new blue */
	--aao-color-existing-blue-light: #1075c3;
	--aao-color-existing-cyan: #00a0d1;

	--aao-color-existing-cyan-light: #e3eff7;

}

.btn-box {
	border-radius: var(--aao-rounded-full);
}

.btn-gold {
	background-color: var(--aao-color-blue);
	color: white;

	&:hover {
		background-color: var(--aao-color-blue-dark);
		color: white;
	}
}

.rollover-card {

	.rc-body {
		border-radius: var(--aao-rounded-md);

		.rc-front,
		.rc-back {
			border-radius: var(--aao-rounded-md);

			&::after {
				border-radius: var(--aao-rounded-md);
			}
		}
	}
}

.ft-post {
	border-radius: var(--aao-rounded-lg);

	&::after {
		border-radius: var(--aao-rounded-lg);
	}
}

.he-row {
	.he-img > img,
	.he-stat {
		border-radius: var(--aao-rounded-md);
	}
}

.login-box {
	border-radius: var(--aao-rounded-lg);
}

.mtgs-slider-wrap {
	.aao-arrow {
		border-radius: var(--aao-rounded-full);
	}

	.mtg-slide {
		border-radius: var(--aao-rounded-lg);
		overflow: hidden;
	}
}

.news-wrap,
.related-posts {
	.aao-arrows {
		border-radius: var(--aao-rounded-full);
		overflow: hidden;
	}

	.news-row {
		article,
		.blog-cta-wrap {
			border-radius: var(--aao-rounded-md);
			overflow: hidden;
		}
	}

	.news-callout {
		border-radius: var(--aao-rounded-lg);
		overflow: hidden;
	}

}

.single-post {
	.post-ftimg img {
		border-radius: var(--aao-rounded-lg);
		overflow: hidden;
	}

	.count-share-block {
		border-radius: var(--aao-rounded-md);
	}
}

.triblock {
	border-radius: var(--aao-rounded-lg);
	padding: 0;
	overflow: hidden;
}

.wp-block-gallery {
	.wp-block-image {
		border-radius: var(--aao-rounded-md);
		overflow: hidden;
	}
}

.pageheader {
	.square-image {
		border-radius: var(--aao-rounded-lg);
		overflow: hidden;
	}

	.square-stat {
		border-radius: var(--aao-rounded-md);
	}
}

.icon-links-wrap {
	border-radius: var(--aao-rounded-lg);
}

.link-grid-row {
	.link-grid-card {
		border-radius: var(--aao-rounded-md);

		.box-arrow {
			border-radius: var(--aao-rounded-full);
			overflow: hidden;
		}
	}
}