/* Tailwind Preflight Overrides (it's not being disabled for some reason */
* {
  box-sizing: border-box; 
}
h1.wp-block-heading {
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: bold;
}

h2.wp-block-heading {
	font-size: var(--wp--preset--font-size--large);
	font-weight: bold;
}

h3.wp-block-heading {
	font-size: var(--wp--preset--font-size--medium);
	font-weight: bold;
}
/* table style*/
tr:first-child {
	position: relative;
	background:#E0F6FF
}
tr {
	position: relative;
	background:#ffffff
}
td:first-child {
	width:80px
}
table, th, td {
  border: 1px solid #A1D5E8 !important;
  border-left:0px !important;
  border-right:0px !important;	
  		
}

/* These critical TailPress css isn't working consistently. */
.flex-1 {
	flex: 1 1 0%;
}

.basis-1\/2 {
	flex-basis: 50%;
}

.overflow-x-scroll {
	overflow-x: scroll;
}

.min-w-fit {
	min-width: fit-content;
}

.z-index-100 {
	z-index: 100;
}

/* Add overflow:visible for Safari */
.\[\&\>div\]\:drop-shadow-lg > div {
	overflow: visible;
}

@media (min-width: 768px) {
	.md\:\!flex-none {
		flex: 0 0 auto !important;
	}
}

/* WP Block Style Overrides */

a:where(:not(.wp-element-button)) {
	color: var(--wp--preset--color--primary);
}

:where(.wp-block-group.has-background) {
	padding: 1rem;
}

@media (min-width: 600px) {
	:where(.wp-block-group.has-background) {
		padding: 1.25rem;
	}
}

.wp-block-button .wp-block-button__link {
	padding: 0.5rem 1.5rem;
	background: var(--wp--preset--color--primary-dark);
	border: 3px solid var(--wp--preset--color--primary);
	box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25),
		0px 4px 0px var(--wp--preset--color--primary);
	border-radius: 8px;
	color: var(--wp--preset--color--white);
}

.wp-block-button .wp-block-button__link:hover,
.wp-block-navigation-button .wp-block-navigation-item__content:hover {
	box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.25),
		0px 2px 0px var(--wp--preset--color--primary);
	transform: translateY(2px);
}

.wp-block-navigation-button {
	color: var(--wp--preset--color--white);
}
.wp-block-button.is-style-accent > .wp-block-button__link,
.wp-block-navigation-button .wp-block-navigation-item__content {
    background: var(--wp--preset--color--accent);
    border: 3px solid var(--wp--preset--color--accent-dark);
    box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25),
        0px 4px 0px var(--wp--preset--color--accent);
    color: var(--wp--preset--color--accent-dark) !important;
    padding: 0.5rem 1.5rem;
	border-radius: 10px;
}
.wp-block-button.is-style-accent > .wp-block-button__link:hover {
    box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.25),
        0px 2px 0px var(--wp--preset--color--accent);
}
.wp-block-navigation-button .wp-block-navigation-item__content {
  padding: 0.5rem 1rem;
}
.category-celpip .wp-block-navigation-button .wp-block-navigation-item__content {
    background: var(--wp--preset--color--primary-dark);
    border: 3px solid var(--wp--preset--color--primary);
    box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25),
        0px 4px 0px var(--wp--preset--color--primary);
    color: var(--wp--preset--color--white) !important;
    padding: 0.5rem 1.5rem;
	border-radius: 10px;
}

/* Invert Icon color */
.wp-block-button.is-style-accent img {
  filter: invert(1);
}
/* Use brighter button colors as (above).
.wp-block-button.is-style-accent > .wp-block-button__link,
.wp-block-navigation-button .wp-block-navigation-item__content {
	background: var(--wp--preset--color--accent-dark);
	border: 3px solid var(--wp--preset--color--accent);
	box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25),
		0px 4px 0px var(--wp--preset--color--accent);
	padding: 0.5rem 1rem;
	border-radius: 10px;
}

.wp-block-button.is-style-accent > .wp-block-button__link:hover {
	box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.25),
		0px 2px 0px var(--wp--preset--color--accent);
}
*/

.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 3px solid var(--wp--preset--color--primary);
	padding: 0.5rem 1.5rem;
}

.wp-block-button.is-style-outline
	> .wp-block-button__link:not(.has-background) {
	background: var(--wp--preset--color--white);
}

.wp-block-button.is-style-outline
	> .wp-block-button__link:not(.has-text-color) {
	color: var(--wp--preset--color--primary-dark);
}

/* Malfunctioning WP Classes. IDK why these aren't working. Maybe because this theme is borked */
.is-content-justification-space-between {
  	justify-content: space-between;
}

/* Old Theme Overrides */

.wp-block-navigation button {
	border: none;
	background: none;
	color: var(--wp--preset--color--black);
	box-shadow: none;
}

.page-template-page_blank_organic #sticky-contact-mobile {
	right: 0;
	bottom: 0;
	padding: 1rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 60 160'%3E%3Cpath fill='%23F3E5DA' fill-opacity='.8' d='M94 33c6 38 22 57 14 104v23H0v-23c-2-43 17-32 18-65s4-52 28-67C66-8 90 7 94 33Z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: bottom right;
}

@media (min-width: 768px) {
	.page-template-page_blank_organic #sticky-contact-mobile {
		display: none;
	}
}

.page-template-page_blank_organic
	#sticky-contact-mobile
	.sticky-contact-mobile__qr {
	width: 55px;
	padding: 0;
	background: #06c361;
	box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 0px #06c361;
	border-radius: 16px;
	color: var(--wp--preset--color--white);
}

html[lang="zh-tw"]
	.page-template-page_blank_organic
	#sticky-contact-mobile
	.sticky-contact-mobile__qr,
html[lang="en"]
	.page-template-page_blank_organic
	#sticky-contact-mobile
	.sticky-contact-mobile__qr {
	display: none;
}

.page-template-page_blank_organic .sticky-contact-mobile__qr img {
	width: 55px;
	content: url("https://www.studypug.com/learning/wp-content/themes/studious/assets/images/social-wechat@2x.png");
}


/* Custom Element Styles & Spectra Plugin Styles (UAGB) */
header.is-position-sticky {
	transition: background-color 0.25s;
}

header.is-position-sticky.is-stickied {
	background-color: var(--wp--preset--color--white) !important;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
	z-index: 20;
}

nav[aria-label^="group-"] {
	padding: 0.25rem 0.5rem;
	background-color: rgba(217, 217, 217, 0.25);
	box-shadow: inset 0px 1px 4px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
}

.wp-block-navigation ul li {
	border-radius: 4px;
	padding: 0 0.25rem;
	transition: all 0.25s;
}

.wp-block-navigation ul li:hover {
	background-color: var(--wp--preset--color--primary-light);
}

.wp-block-navigation__submenu-container.wp-block-navigation-submenu {
	border-radius: 4px;
}

.contact-widget {
}

.contact-widget .backdrop-blur-md {
	background: rgba(255, 255, 255, 0.5);
}

@media (min-width: 600px) and (max-width: 800px) {
	#nav-logo img {
		height: 54px !important;
	}
}

.arrow-downwards {
    position: relative;
}

.arrow-downwards::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath fill='%23057' stroke='%23fff' stroke-width='2' d='m2.03 10.55 5.57 5.46a2 2 0 0 0 2.8 0l5.58-5.42a2 2 0 0 0 0-2.86l-.17-.18h-.01a2 2 0 0 0-2.8 0l-1.83 1.78V3a2 2 0 0 0-2-2h-.34a2 2 0 0 0-2 2v6.33L5 7.55a2 2 0 0 0-2.8 0l-.18.17a2 2 0 0 0 0 2.83Z'/%3E%3C/svg%3E");
	animation: arrowDownwards 1.5s ease 0.4s infinite forwards;
    z-index: 1;
}

.category-celpip .arrow-downwards::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath fill='%23d42' stroke='%23fff' stroke-width='2' d='m2.03 10.55 5.57 5.46a2 2 0 0 0 2.8 0l5.58-5.42a2 2 0 0 0 0-2.86l-.17-.18h-.01a2 2 0 0 0-2.8 0l-1.83 1.78V3a2 2 0 0 0-2-2h-.34a2 2 0 0 0-2 2v6.33L5 7.55a2 2 0 0 0-2.8 0l-.18.17a2 2 0 0 0 0 2.83Z'/%3E%3C/svg%3E");
}
  
.banner-poster img {
  	display: block;
	width: 15rem;
	height: 12rem;
	margin: 0 auto -3rem;
	border: 6px solid var(--wp--preset--color--accent);
	box-shadow: 0px -4px 0px rgba(0, 0, 0, 0.25),
		0px -4px 0px var(--wp--preset--color--accent);
	border-radius: 8px !important;
	object-fit: cover;
	object-position: top;
	transition: all 0.25s;
}

.banner-poster img:hover {
	box-shadow: 0px -4px 0px rgba(0, 0, 0, 0.25),
		0px -4px 0px var(--wp--preset--color--accent);
	transform: translateY(-4px);
}

.banner-poster::before {
	content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 14 14'%3E%3Cpath fill='%23fff' d='M7.85 13.27a1 1 0 0 1-1.42 0l-.17-.17a1 1 0 0 1 0-1.4L9.7 8.17H1a1 1 0 0 1-1-1v-.34a1 1 0 0 1 1-1h8.7L6.26 2.3a1 1 0 0 1 0-1.4l.18-.18a1 1 0 0 1 1.43 0L13.3 6.3a1 1 0 0 1 0 1.4l-5.46 5.57Z'/%3E%3C/svg%3E");
	animation: arrowRightwards 1.5s ease 0.4s infinite forwards;
}

.banner-poster::after {
	content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 14 14'%3E%3Cpath fill='%23fff' d='M6.15 13.27a1 1 0 0 0 1.42 0l.17-.17a1 1 0 0 0 0-1.4L4.3 8.17H13a1 1 0 0 0 1-1v-.34a1 1 0 0 0-1-1H4.3L7.74 2.3a1 1 0 0 0 0-1.4L7.57.72a1 1 0 0 0-1.43 0L.7 6.3a1 1 0 0 0 0 1.4l5.46 5.57Z'/%3E%3C/svg%3E");
	animation: arrowLeftwards 1.5s ease 0.4s infinite forwards;
}

@keyframes arrowDownwards {
	0% {
		opacity: 0;
		transform: translate(-50%, 0px) scale(2);
	}
	80% {
		opacity: 1;
		transform: translate(-50%, 35px) scale(2);
	}
	100% {
		opacity: 0;
		transform: translate(-50%, 35px) scale(2);
	}
}

@keyframes arrowRightwards {
	0% {
		opacity: 0;
		transform: translateX(-10px);
	}
	80% {
		opacity: 1;
		transform: translateX(25px);
	}
	100% {
		opacity: 0;
		transform: translateX(25px);
	}
}
@keyframes arrowLeftwards {
	0% {
		opacity: 0;
		transform: translateX(10px);
	}
	80% {
		opacity: 1;
		transform: translateX(-25px);
	}
	100% {
		opacity: 0;
		transform: translateX(-25px);
	}
}

.card-blur,
.tabs-classes.tabs-classes-celpip .uagb-tabs__body-wrap,
.tabs-components .uagb-tabs__body-wrap,
.uagb-tm__desc,
.uagb-tm__image img,
.uagb-faq-item {
	background: rgba(255, 255, 255, 0.5);
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(10px);
	border-radius: 8px;
	overflow: hidden;
}

.tabs-classes,
.tabs-components {
	gap: var(--wp--custom--v-spacing);
}

.tabs-classes .uagb-tabs__panel,
.tabs-components .uagb-tabs__panel {
	gap: var(--wp--custom--v-spacing);
	margin-bottom: var(--wp--custom--v-spacing) !important;
  	flex-direction: row !important;
}

.tabs-components .uagb-tabs__panel {
	flex: 1 0 33%;
	max-width: unset !important;
}

.tabs-components .uagb-tabs__body-wrap {
	flex: 1 0 66%;
	max-width: unset;
}

.tabs-classes .uagb-tab,
.tabs-components .uagb-tab {
	background-color: white;
	border-radius: 8px;
	border: none !important;
	margin-bottom: 0 !important;
	transition: all 0.25s;
}

.tabs-components .uagb-tab {
	background-color: var(--wp--preset--color--primary-light);
	box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25),
		0px 4px 0px var(--wp--preset--color--primary-light);
}

.tabs-components .uagb-tab:hover {
	background-color: var(--wp--preset--color--primary-light);
	box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.25),
		0px 2px 0px var(--wp--preset--color--primary-light);
}

.tabs-classes .uagb-tab a,
.tabs-components .uagb-tab a {
	text-align: center;
	text-decoration: none;
}

@media (min-width: 768px) and (max-width: 1024px) {
	.tabs-classes.uagb-tabs__wrap,
	.tabs-components.uagb-tabs__wrap {
		flex-direction: column;
	}

	.tabs-classes.uagb-tabs__wrap > ul.uagb-tabs__panel,
	.tabs-components.uagb-tabs__wrap > ul.uagb-tabs__panel {
		min-width: 100% !important;
		align-items: stretch !important;
	}

	.tabs-classes.uagb-tabs__wrap > .uagb-tabs__body-wrap,
	.tabs-components.uagb-tabs__wrap > .uagb-tabs__body-wrap {
		max-width: 100%;
	}
}

@media (max-width: 600px) {
	.tabs-classes .uagb-tab a,
	.tabs-components .uagb-tab a {
		display: flex !important;
		justify-content: flex-start;
		align-items: center;
		text-align: left;
	}
}

.tabs-classes .uagb-tab:hover,
.tabs-components .uagb-tab:hover {
	transform: translateY(2px);
}

.tabs-classes .uagb-tabs__icon,
.tabs-components .uagb-tabs__icon {
	margin-bottom: 0 !important;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 30px 30px;
}

.tabs-classes .uagb-tabs__icon svg,
.tabs-components .uagb-tabs__icon svg {
	width: 30px;
	height: 30px;
	margin: 0 auto;
	visibility: hidden;
}

/* weird css to overcome limited formatting for .tabs-components */
.tabs-components .uagb-tabs-list {
	width: 100%;
	flex-flow: column nowrap;
	align-items: flex-start !important;
	padding-left: 46px !important;
}

.tabs-components .uagb-tabs__icon {
	position: absolute;
	top: 50%;
	left: 8px;
	transform: translateY(-50%);
}

.tabs-components .uagb-tabs-list br {
	display: none;
}

.tabs-components .uagb-tabs-list em {
	font-size: var(--wp--preset--font-size--x-small);
	font-style: normal;
}

.tabs-components .uagb-tabs-list strong:nth-of-type(2) {
	position: absolute;
	top: 0;
	right: 8px;
	font-size: var(--wp--preset--font-size--x-small);
}

/* SPL Specific Classes Styling */
.tabs-classes.tabs-classes-spl .uagb-tab {
	flex: calc(50% - var(--wp--custom--v-spacing));
	margin: 0;
}

.is-style-accent-medium > .wp-block-button__link,
.tabs-classes.tabs-classes-spl .uagb-tab:nth-child(1) {
	background: #ecc889;
	box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 0px #ecc889;
}

.is-style-accent-medium > .wp-block-button__link:hover,
.tabs-classes.tabs-classes-spl .uagb-tab:nth-child(1):hover {
	background: #ecc889;
	box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.25), 0px 2px 0px #ecc889;
}

.is-style-primary-light > .wp-block-button__link,
.tabs-classes.tabs-classes-spl .uagb-tab:nth-child(2) {
	background: #a1d5e8;
	box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 0px #a1d5e8;
}

.is-style-primary-light > .wp-block-button__link:hover,
.tabs-classes.tabs-classes-spl .uagb-tab:nth-child(2):hover {
	background: #a1d5e8;
	box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.25), 0px 2px 0px #a1d5e8;
}

.is-style-accent-light > .wp-block-button__link,
.tabs-classes.tabs-classes-spl .uagb-tab:nth-child(3) {
	background: #f3e5da;
	box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 0px #f3e5da;
}

.is-style-accent-light > .wp-block-button__link:hover,
.tabs-classes.tabs-classes-spl .uagb-tab:nth-child(3):hover {
	background: #f3e5da;
	box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.25), 0px 2px 0px #f3e5da;
}

.is-style-primary-medium > .wp-block-button__link,
.tabs-classes.tabs-classes-spl .uagb-tab:nth-child(4) {
	background: #a1bde8;
	box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 0px #a1bde8;
}

.is-style-primary-medium > .wp-block-button__link:hover,
.tabs-classes.tabs-classes-spl .uagb-tab:nth-child(4):hover {
	background: #a1bde8;
	box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.25), 0px 2px 0px #a1bde8;
}

.tabs-classes.tabs-classes-spl .uagb-tabs__body-wrap > div {
	/* padding: 0; */
}

/* CELPIP Specific Classes Styling */
.tabs-classes.tabs-classes-celpip .uagb-tab {
	width: 100%;
}
.tabs-classes.tabs-classes-celpip .uagb-tab:nth-child(1) {
	background: #f47b85;
	box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 0px #f47b85;
}

.tabs-classes.tabs-classes-celpip .uagb-tab:nth-child(1):hover {
	background: #f47b85;
	box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.25), 0px 2px 0px #f47b85;
}

.tabs-classes.tabs-classes-celpip .uagb-tab:nth-child(1) .uagb-tabs__icon {
	background-image: url("https://presspub.celpiptestprep.com/wp-content/themes/studious/assets/images/celpip-9@2x.png");
}

.tabs-classes.tabs-classes-celpip .uagb-tab:nth-child(2) {
	background: #f6907a;
	box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 0px #f6907a;
}

.tabs-classes.tabs-classes-celpip .uagb-tab:nth-child(2):hover {
	background: #f6907a;
	box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.25), 0px 2px 0px #f6907a;
}

.tabs-classes.tabs-classes-celpip .uagb-tab:nth-child(2) .uagb-tabs__icon {
	background-image: url("https://presspub.celpiptestprep.com/wp-content/themes/studious/assets/images/celpip-7@2x.png");
}

.tabs-classes.tabs-classes-celpip .uagb-tab:nth-child(3) {
	background: #f7a46f;
	box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 0px #f7a46f;
}

.tabs-classes.tabs-classes-celpip .uagb-tab:nth-child(3):hover {
	background: #f7a46f;
	box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.25), 0px 2px 0px #f7a46f;
}

.tabs-classes.tabs-classes-celpip .uagb-tab:nth-child(3) .uagb-tabs__icon {
	background-image: url("https://presspub.celpiptestprep.com/wp-content/themes/studious/assets/images/celpip-5@2x.png");
}

.tabs-classes.tabs-classes-celpip .uagb-tab:nth-child(4) {
	background: #f9bb62;
	box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 0px #f9bb62;
}

.tabs-classes.tabs-classes-celpip .uagb-tab:nth-child(4):hover {
	background: #f9bb62;
	box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.25), 0px 2px 0px #f9bb62;
}

.tabs-classes.tabs-classes-celpip .uagb-tab:nth-child(4) .uagb-tabs__icon {
	background-image: url("https://presspub.celpiptestprep.com/wp-content/themes/studious/assets/images/celpip-0@2x.png");
}

.tabs-classes.tabs-classes-celpip .uagb-tab:nth-child(5) {
	background: #facf57;
	box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 0px #facf57;
}

.tabs-classes.tabs-classes-celpip .uagb-tab:nth-child(5):hover {
	background: #facf57;
	box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.25), 0px 2px 0px #facf57;
}

.tabs-classes.tabs-classes-celpip .uagb-tab:nth-child(5) .uagb-tabs__icon {
	background-image: url("https://presspub.celpiptestprep.com/wp-content/themes/studious/assets/images/celpip-1on1@2x.png");
}

.tabs-components .uagb-tab {
    width: 100%;
}

.tabs-components .uagb-tab:nth-child(1) .uagb-tabs__icon {
	background-image: url("https://presspub.celpiptestprep.com/wp-content/themes/studious/assets/images/section-listen-2@2x.png");
}

.tabs-components .uagb-tab:nth-child(2) .uagb-tabs__icon {
	background-image: url("https://presspub.celpiptestprep.com/wp-content/themes/studious/assets/images/section-read-2@2x.png");
}

.tabs-components .uagb-tab:nth-child(3) .uagb-tabs__icon {
	background-image: url("https://presspub.celpiptestprep.com/wp-content/themes/studious/assets/images/section-write-2@2x.png");
}

.tabs-components .uagb-tab:nth-child(4) .uagb-tabs__icon {
	background-image: url("https://presspub.celpiptestprep.com/wp-content/themes/studious/assets/images/section-speak-2@2x.png");
}

.buttons-tabs-classes {
  display: flex;
  flex-direction: row !important;
  gap: 1rem;
}

.buttons-tabs-classes > div > a {
  width: 100%;
}

@media (max-width: 768px) {
  .buttons-tabs-classes {
    flex-wrap: nowrap !important;
    overflow-x: scroll;
    max-width: 96vw;
    padding: 0 1rem 4px;
  }
  .buttons-tabs-classes > div > a {
    min-width: 150px;
  }
}

@media (min-width: 768px) {
  .buttons-tabs-classes {
    flex-direction: column !important;
  }
  
}

.tabs-classes .uagb-tabs__body-wrap,
.tabs-components .uagb-tabs__body-wrap,
.uagb-faq-item {
	border-radius: 8px !important;
	border-style: none !important;
}

.uagb-testimonial__wrap {
	padding-left: 5px !important;
	padding-right: 5px !important;
}

.uagb-tm__desc {
	padding: 1rem;
}

.uagb-tm__image-content {
	padding-left: 0 !important;
}

@media (min-width: 600px) {
	.wp-block-uagb-faq {
		display: flex;
		flex-flow: row wrap;
		gap: var(--wp--custom--v-spacing);
		align-items: stretch;
	}

	.uagb-faq-child__outer-wrap.uagb-faq-item {
		flex: calc(50% - var(--wp--custom--v-spacing));
		margin-bottom: 0;
	}
}

@media (min-width: 1024px) {
	.uagb-tm__desc {
		/* TODO: fix arbitrary height */
		min-height: 160px;
	}
}

.wp-block-uagb-faq .wp-block-uagb-faq-child > .uagb-faq-content {
	margin-top: 0;
	padding: 1rem 1rem 1rem 2rem;
}

.uagb-question {
	font-weight: bold;
}

.wp-block-latest-posts__featured-image img {
	min-width: 150px;
	border-radius: 8px;
}

.wp-block-uagb-team .uagb-team__content {
	line-height: 1.5;
}

.wp-block-uagb-team .uagb-team__content img {
	display: block;
	width: 130px;
	height: 130px;
	margin: 0 auto 8px;
	border-radius: 8px;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
	object-fit: cover;
	object-position: top;
}

.wp-block-uagb-team .uagb-team__prefix {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--black);
}

/* .wp-block-latest-posts__list {
	display: flex;
	flex-flow: row wrap;
	gap: var(--wp--custom--v-spacing);
}

.wp-block-latest-posts__list li {
	flex: calc(50% - var(--wp--custom--v-spacing));
} */


/* Table Styling */
.wp-block-table.is-style-horizontal table {
	
}

.wp-block-table.is-style-horizontal th,
.wp-block-table.is-style-horizontal td,
.wp-block-table.is-style-horizontal thead {
	border-right: none; border-left: none;
	border-color: var(--wp--preset--color--primary-medium);
}

.wp-block-table.is-style-horizontal th {
	background-color: var(--wp--preset--color--primary-light);
}

.wp-block-table.is-style-horizontal td {
	background-color: var(--wp--preset--color--white);
}


.wp-block-table.is-style-vertical th,
.wp-block-table.is-style-vertical td,
.wp-block-table.is-style-vertical thead {

	border-color: var(--wp--preset--color--primary-medium);
}

.wp-block-table.is-style-vertical th:first-child,
.wp-block-table.is-style-vertical td:first-child {
	background-color: var(--wp--preset--color--primary-light);
}

.wp-block-table.is-style-vertical th:not(:first-child),
.wp-block-table.is-style-vertical td:not(:first-child) {
	background-color: var(--wp--preset--color--white);
}

/* Footer Links - truncate long article names */
footer .wp-block-latest-posts__post-title {
  display: block;
  max-width: 20ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Fix Inconsistent image display between poster, single QR, and multi-QR modals */
#modal-content img {
  width: 85vw;
  height: auto;
}

#modal-content .modal-block img {
  width: auto;
  height: 35vw;
  max-height: calc(100vh - 64px);
}

@media (min-width: 768px) {
  #modal-content img {
    width: auto;
  }
}

/* Show mobile sticky elements only after scrolling past contact widget */
@media (max-width: 768px) {
	#sticky-contact-mobile:not(.is-hidden) {
		transition: all 0.25s;
		opacity: 1;
		visibility: visible;
	}
	.live-chat-button:not(.is-hidden) {
		opacity: 1;
		visibility: visible;
	}
	#sticky-contact-mobile.is-hidden {
		transition: all 0.25s;
		opacity: 0;
		visibility: collapse;
	}
	.live-chat-button.is-hidden {
		opacity: 0;
		visibility: collapse;
	}
}