/* =========================================================
   GFMS Core: tutors, team page, profiles and testimonials.
   Uses the child theme's brand variables, with fallbacks so
   it still looks right if the theme ever changes.
   ========================================================= */

/* --- Tutor cards (Meet the Team and lesson pages) --- */
.gfms-tutors {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 30px;
	list-style: none;
	margin: 0;
	padding: 0 !important; /* Divi adds list padding */
}

.gfms-tutor {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gfms-tutor__link {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--gfms-white, #fff);
	border: 1px solid var(--gfms-rule, rgba(44, 45, 47, 0.15));
	border-top: 4px solid var(--gfms-gold, #E0AD55);
	border-radius: 6px;
	overflow: hidden;
	color: var(--gfms-charcoal, #2C2D2F);
	text-decoration: none;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.gfms-tutor__link:hover {
	box-shadow: 0 6px 18px rgba(44, 45, 47, 0.12);
	transform: translateY(-2px);
}

.gfms-tutor__link:focus-visible {
	outline: 3px solid var(--gfms-dark-gold, #8E641A);
	outline-offset: 3px;
}

.gfms-tutor__photo {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5; /* the box sets the shape, so theme image rules can't stretch it */
	overflow: hidden;
}

.gfms-tutor__photo img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: center top; /* keep heads in shot */
}

.gfms-tutor__photo--empty {
	aspect-ratio: 4 / 5;
	background: var(--gfms-cream, #F5F1E6);
}

.gfms-tutor__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
	padding: 18px 20px 20px;
	font-family: var(--gfms-font-body, "Lato", Arial, sans-serif);
}

.gfms-tutor__name {
	font-weight: 700;
	font-size: 20px;
	line-height: 1.3;
}

.gfms-tutor__role {
	font-size: 15px;
	font-weight: 700;
	color: var(--gfms-dark-gold, #8E641A);
}

.gfms-tutor__text {
	margin-top: 4px;
	font-size: 16px;
	line-height: 1.6;
}

.gfms-tutor__more {
	margin-top: auto;
	padding-top: 10px;
	font-weight: 700;
	font-size: 15px;
	color: var(--gfms-dark-gold, #8E641A);
}

.gfms-tutor__link:hover .gfms-tutor__more {
	text-decoration: underline;
}

/* --- Compact tutor cards [gfms_tutors layout="compact"] --- */
.gfms-tutors--compact {
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 24px;
}

.gfms-tutors--compact .gfms-tutor__link {
	box-sizing: border-box; /* include the padding in the card's height */
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	align-items: center;
	gap: 18px;
	padding: 16px;
	background: var(--gfms-cream, #F5F1E6);
	border: 0;
	border-radius: 10px;
}

.gfms-tutors--compact .gfms-tutor__photo {
	width: 120px;
	height: 150px;
	aspect-ratio: auto; /* fixed size, so the grid knows each card's height up front */
	border-radius: 8px;
}

.gfms-tutors--compact .gfms-tutor__body {
	padding: 0;
}

.gfms-tutors--compact .gfms-tutor__text {
	display: none; /* name, role and link only; the excerpt is on the profile */
}

.gfms-tutors--compact .gfms-tutor__more {
	padding-top: 6px;
}

/* --- Meet the Team groups --- */
.gfms-team-group + .gfms-team-group {
	margin-top: 60px;
}

.gfms-team-group__title,
.gfms-instrument-tutors__title,
.gfms-testimonials__title {
	margin-bottom: 24px;
}

/* --- Testimonials --- */
.gfms-testimonials {
	margin-top: 50px;
}

.gfms-quotes {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
}

.gfms-quote {
	margin: 0;
	padding: 26px 28px;
	background: var(--gfms-cream, #F5F1E6);
	border-left: 4px solid var(--gfms-gold, #E0AD55);
	border-radius: 0 6px 6px 0;
	color: var(--gfms-charcoal, #2C2D2F);
	font-family: var(--gfms-font-body, "Lato", Arial, sans-serif);
}

.gfms-quote__text {
	/* Reset Divi's own blockquote style */
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 17px;
	line-height: 1.65;
}

.gfms-quote__text p:last-child {
	padding-bottom: 0;
}

.gfms-quote__by {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 16px;
	font-size: 15px;
}

.gfms-quote__name {
	font-weight: 700;
}

.gfms-quote__tutor a {
	color: var(--gfms-dark-gold, #8E641A);
}

/* --- Testimonial slider [gfms_testimonials style="slider"] --- */
.gfms-slider {
	position: relative;
}

.gfms-slider__track {
	position: relative;
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	border-radius: 10px;
}

.gfms-slider__track::-webkit-scrollbar {
	display: none;
}

.gfms-slider__track:focus-visible {
	outline: 3px solid var(--gfms-dark-gold, #8E641A);
	outline-offset: 4px;
}

#main-content .gfms-slide,
.gfms-slide {
	flex: 0 0 100%;
	box-sizing: border-box;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 48px 8% 44px; /* % of the column, so it fits full-width and half-width rows */
	background: var(--gfms-white, #fff);
	border: 0;
	border-top: 4px solid var(--gfms-gold, #E0AD55);
	border-radius: 10px;
	text-align: center;
}

.gfms-slide__mark {
	font-family: var(--gfms-font-heading, "Cinzel", Georgia, serif);
	font-size: 90px;
	line-height: 0.6;
	height: 44px;
	color: var(--gfms-gold, #E0AD55);
}

.gfms-slide .gfms-quote__text {
	max-width: 760px;
	font-size: 22px;
	line-height: 1.6;
}

.gfms-slide .gfms-quote__by {
	align-items: center;
	margin-top: 18px;
	font-size: 16px;
}

.gfms-slider__controls {
	display: none; /* shown once the script is running */
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: 20px;
}

.gfms-slider.is-ready .gfms-slider__controls {
	display: flex;
}

.gfms-slider__btn {
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--gfms-charcoal, #2C2D2F);
	border-radius: 50%;
	background: transparent;
	color: var(--gfms-charcoal, #2C2D2F);
	font-size: 28px;
	line-height: 40px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.gfms-slider__btn:hover,
.gfms-slider__btn:focus-visible {
	background: var(--gfms-charcoal, #2C2D2F);
	color: var(--gfms-gold, #E0AD55);
}

.gfms-slider__dots {
	display: flex;
	gap: 4px;
}

.gfms-slider__dot {
	position: relative;
	width: 28px; /* comfortable tap area around a small dot */
	height: 28px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.gfms-slider__dot::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	border: 1px solid var(--gfms-dark-gold, #8E641A);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: background 0.2s ease, width 0.2s ease;
}

.gfms-slider__dot[aria-current="true"]::after {
	width: 22px;
	border-radius: 6px;
	background: var(--gfms-dark-gold, #8E641A);
}

.gfms-slider__dot:focus-visible,
.gfms-slider__btn:focus-visible {
	outline: 3px solid var(--gfms-dark-gold, #8E641A);
	outline-offset: 2px;
}

.gfms-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 600px) {
	.gfms-slide .gfms-quote__text {
		font-size: 18px;
	}
}

/* =========================================================
   Tutor profile page
   #main-content is added where Divi's own heading and
   paragraph styles would otherwise win.
   ========================================================= */
.gfms-profile-page {
	background: var(--gfms-cream, #F5F1E6);
}

/* --- 1. Hero --- */
.gfms-profile__hero {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	min-height: 600px;
	background: var(--gfms-charcoal, #2C2D2F);
	border-top: 4px solid var(--gfms-gold, #E0AD55); /* separates the hero from the charcoal header */
}

.gfms-profile__hero--no-photo {
	grid-template-columns: minmax(0, 1fr);
	min-height: 0;
}

.gfms-profile__photo {
	position: relative;
	min-height: 600px;
	background: #E9E1CD;
}

.gfms-profile__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top; /* keep heads in shot */
}

.gfms-profile__panel {
	display: flex;
	align-items: center;
	padding: 72px clamp(32px, 6vw, 88px);
	color: var(--gfms-cream, #F5F1E6);
	font-family: var(--gfms-font-body, "Lato", Arial, sans-serif);
}

.gfms-profile__panel-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	max-width: 640px;
}

.gfms-profile__crumbs {
	font-size: 14px;
	color: #B9B4A7;
}

#main-content .gfms-profile__crumbs a {
	color: var(--gfms-gold, #E0AD55);
}

#main-content .gfms-profile__name {
	margin: 0;
	padding: 0;
	font-family: var(--gfms-font-heading, "Cinzel", Georgia, serif);
	font-weight: 500;
	font-size: 64px;
	line-height: 1.05;
	letter-spacing: 0.5px;
	color: var(--gfms-gold, #E0AD55);
}

#main-content .gfms-profile__role {
	margin: 0;
	padding: 0;
	font-size: 21px;
	font-weight: 700;
	color: var(--gfms-cream, #F5F1E6);
}

.gfms-profile__instruments {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0 !important;
}

.gfms-profile__instruments li {
	margin: 0;
	list-style: none;
}

#main-content .gfms-profile__instruments a,
#main-content .gfms-profile__instruments span {
	display: inline-block;
	padding: 7px 18px;
	border: 1px solid var(--gfms-gold, #E0AD55);
	border-radius: 999px;
	color: var(--gfms-gold, #E0AD55);
	font-size: 15px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

#main-content .gfms-profile__instruments a:hover,
#main-content .gfms-profile__instruments a:focus-visible {
	background: var(--gfms-gold, #E0AD55);
	color: var(--gfms-charcoal, #2C2D2F);
}

.gfms-profile__rule {
	width: 80px;
	height: 2px;
	margin-top: 6px;
	background: var(--gfms-gold, #E0AD55);
}

#main-content .gfms-profile__quote {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
	border: 0;
}

.gfms-profile__quote-mark {
	font-family: var(--gfms-font-heading, "Cinzel", Georgia, serif);
	font-size: 80px;
	line-height: 0.6;
	height: 40px;
	color: var(--gfms-gold, #E0AD55);
}

#main-content .gfms-profile__quote p {
	margin: 0;
	padding: 0;
	font-size: 25px;
	line-height: 1.5;
	color: var(--gfms-cream, #F5F1E6);
}

#main-content .gfms-button {
	display: inline-block;
	margin-top: 12px;
	padding: 13px 26px;
	border-radius: 6px;
	background: var(--gfms-gold, #E0AD55);
	color: var(--gfms-charcoal, #2C2D2F);
	font-family: var(--gfms-font-body, "Lato", Arial, sans-serif);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s ease;
}

#main-content .gfms-button:hover,
#main-content .gfms-button:focus-visible {
	background: var(--gfms-gold-hover, #C99A44);
}

.gfms-button:focus-visible,
.gfms-profile__instruments a:focus-visible {
	outline: 3px solid var(--gfms-cream, #F5F1E6);
	outline-offset: 3px;
}

/* --- 2. At a glance --- */
.gfms-profile__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1px; /* the gaps show the background as dividing lines */
	margin: 0;
	padding: 0;
	background: var(--gfms-rule, rgba(44, 45, 47, 0.15));
	border-bottom: 1px solid var(--gfms-rule, rgba(44, 45, 47, 0.15));
	font-family: var(--gfms-font-body, "Lato", Arial, sans-serif);
}

#main-content .gfms-profile__fact {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 24px 32px;
	background: var(--gfms-white, #fff);
}

.gfms-profile__fact dt {
	font-size: 13px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #6E6F72;
}

.gfms-profile__fact dd {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--gfms-charcoal, #2C2D2F);
}

/* --- 3. About and sidebar --- */
#main-content .gfms-profile__body.container {
	padding-top: 64px;
	padding-bottom: 72px;
}

.gfms-profile__columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 56px;
	align-items: start;
}

.gfms-profile__columns--single {
	grid-template-columns: minmax(0, 760px);
}

#main-content .gfms-profile__heading {
	margin: 0 0 20px;
	padding: 0;
	font-family: var(--gfms-font-heading, "Cinzel", Georgia, serif);
	font-weight: 500;
	font-size: 28px;
	line-height: 1.25;
	color: var(--gfms-dark-gold, #8E641A);
}

.gfms-profile__bio {
	font-size: 18px;
	line-height: 1.65;
}

/* Responsive YouTube and other embeds */
.gfms-profile__bio iframe {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
}

.gfms-profile__bio figure {
	margin: 28px 0;
}

.gfms-profile__aside {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.gfms-profile__box {
	padding: 26px 28px;
	background: var(--gfms-white, #fff);
	border: 1px solid var(--gfms-rule, rgba(44, 45, 47, 0.15));
	border-radius: 8px;
	font-family: var(--gfms-font-body, "Lato", Arial, sans-serif);
}

/* Testimonials inside the sidebar box: a simple stacked list */
.gfms-profile__box .gfms-testimonials {
	margin: 0;
}

#main-content .gfms-profile__box .gfms-testimonials__title,
#main-content .gfms-profile__box-title {
	margin: 0 0 14px;
	padding: 0;
	font-family: var(--gfms-font-body, "Lato", Arial, sans-serif);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--gfms-charcoal, #2C2D2F);
}

.gfms-profile__box .gfms-quotes {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
}

.gfms-profile__box .gfms-quote {
	padding: 16px 0;
	background: none;
	border: 0;
	border-top: 1px solid var(--gfms-rule, rgba(44, 45, 47, 0.15));
	border-radius: 0;
}

.gfms-profile__box .gfms-quote:first-child {
	padding-top: 0;
	border-top: 0;
}

.gfms-profile__box .gfms-quote:last-child {
	padding-bottom: 0;
}

.gfms-profile__box .gfms-quote__text {
	font-size: 16px;
}

.gfms-profile__box .gfms-quote__by {
	margin-top: 10px;
}

.gfms-profile__box--dark {
	background: var(--gfms-charcoal, #2C2D2F);
	border-color: var(--gfms-charcoal, #2C2D2F);
}

/* Compact slider in the profile sidebar (two or more testimonials) */
.gfms-profile__box .gfms-slider__track {
	border-radius: 0;
}

#main-content .gfms-profile__box .gfms-slide {
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	text-align: left;
}

.gfms-profile__box .gfms-slide__mark {
	display: none;
}

.gfms-profile__box .gfms-slide .gfms-quote__text {
	max-width: none;
	font-size: 16px;
}

.gfms-profile__box .gfms-slide .gfms-quote__by {
	align-items: flex-start;
	margin-top: 10px;
	font-size: 15px;
}

.gfms-profile__box .gfms-slider__controls {
	justify-content: space-between;
	gap: 8px;
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid var(--gfms-rule, rgba(44, 45, 47, 0.15));
}

.gfms-profile__box .gfms-slider__btn {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	font-size: 22px;
	line-height: 32px;
}

.gfms-profile__box .gfms-slider__dots {
	flex-wrap: wrap;
	justify-content: center;
	gap: 0;
}

.gfms-profile__box .gfms-slider__dot {
	width: 22px;
	height: 28px;
}

#main-content .gfms-profile__box--dark .gfms-profile__box-title {
	color: var(--gfms-gold, #E0AD55);
}

.gfms-profile__links {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0 !important;
	list-style: none;
}

.gfms-profile__links li {
	margin: 0;
	list-style: none;
}

#main-content .gfms-profile__links a {
	color: var(--gfms-cream, #F5F1E6);
	font-size: 16px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#main-content .gfms-profile__links a:hover {
	color: var(--gfms-gold, #E0AD55);
}

/* --- Musical highlights --- */
.gfms-highlights {
	margin-top: 64px;
}

.gfms-highlights__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0 !important;
	list-style: none;
}

#main-content .gfms-highlight {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 24px 26px;
	list-style: none;
	background: var(--gfms-white, #fff);
	border: 1px solid var(--gfms-rule, rgba(44, 45, 47, 0.15));
	border-top: 4px solid var(--gfms-gold, #E0AD55);
	border-radius: 6px;
	font-family: var(--gfms-font-body, "Lato", Arial, sans-serif);
}

.gfms-highlight__year {
	font-family: var(--gfms-font-heading, "Cinzel", Georgia, serif);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.1;
	color: var(--gfms-dark-gold, #8E641A);
}

.gfms-highlight__icon {
	color: var(--gfms-dark-gold, #8E641A);
}

.gfms-highlight__text {
	font-size: 17px;
	line-height: 1.55;
	color: var(--gfms-charcoal, #2C2D2F);
}

/* --- 4. Gallery --- */
.gfms-gallery {
	margin-top: 64px;
}

.gfms-gallery__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0 !important;
	list-style: none;
}

.gfms-gallery__grid li {
	margin: 0;
	list-style: none;
}

.gfms-gallery__grid a {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1; /* the tile sets the square, so theme image rules can't stretch it */
	overflow: hidden;
	border-radius: 6px;
	background: #E9E1CD;
}

.gfms-gallery__grid img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.gfms-gallery__grid a:hover img {
	transform: scale(1.04);
}

.gfms-gallery__grid a:focus-visible {
	outline: 3px solid var(--gfms-dark-gold, #8E641A);
	outline-offset: 3px;
}

/* Photo viewer */
.gfms-lightbox {
	width: 100vw;
	height: 100vh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(20, 20, 22, 0.95);
	color: var(--gfms-cream, #F5F1E6);
	font-family: var(--gfms-font-body, "Lato", Arial, sans-serif);
}

.gfms-lightbox::backdrop {
	background: transparent;
}

.gfms-lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	height: 100%;
	margin: 0;
	padding: 60px 90px;
	box-sizing: border-box;
	pointer-events: none;
}

.gfms-lightbox__img {
	max-width: 100%;
	max-height: calc(100vh - 160px);
	object-fit: contain;
	border-radius: 4px;
	pointer-events: auto;
}

.gfms-lightbox__caption {
	font-size: 15px;
	text-align: center;
}

.gfms-lightbox__count {
	position: absolute;
	top: 22px;
	left: 24px;
	margin: 0;
	padding: 0;
	font-size: 14px;
	color: #B9B4A7;
}

.gfms-lightbox__btn {
	position: absolute;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(245, 241, 230, 0.4);
	border-radius: 50%;
	background: rgba(44, 45, 47, 0.6);
	color: var(--gfms-cream, #F5F1E6);
	font-size: 30px;
	line-height: 44px;
	cursor: pointer;
}

.gfms-lightbox__btn:hover,
.gfms-lightbox__btn:focus-visible {
	background: var(--gfms-gold, #E0AD55);
	border-color: var(--gfms-gold, #E0AD55);
	color: var(--gfms-charcoal, #2C2D2F);
	outline: none;
}

.gfms-lightbox__close {
	top: 16px;
	right: 20px;
}

.gfms-lightbox__prev,
.gfms-lightbox__next {
	top: 50%;
	transform: translateY(-50%);
}

.gfms-lightbox__prev {
	left: 20px;
}

.gfms-lightbox__next {
	right: 20px;
}

.gfms-profile__back {
	margin-top: 56px;
	font-weight: 700;
}

#main-content .gfms-profile__back a {
	color: var(--gfms-dark-gold, #8E641A);
}

/* --- Editor-only hints --- */
.gfms-hint {
	padding: 14px 18px;
	border: 1px dashed var(--gfms-dark-gold, #8E641A);
	color: var(--gfms-charcoal, #2C2D2F);
	font-size: 15px;
}

/* --- Tablets and phones --- */
@media (max-width: 980px) {
	.gfms-profile__hero {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}
	.gfms-profile__photo {
		min-height: 0;
		aspect-ratio: 4 / 5;
		max-height: 640px;
	}
	.gfms-profile__panel {
		padding: 44px 24px 52px;
	}
	#main-content .gfms-profile__name {
		font-size: 44px;
	}
	#main-content .gfms-profile__quote p {
		font-size: 21px;
	}
	.gfms-profile__columns {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
	#main-content .gfms-profile__fact {
		padding: 18px 24px;
	}
}

@media (max-width: 600px) {
	.gfms-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
	.gfms-lightbox__figure {
		padding: 70px 12px 90px;
	}
	.gfms-lightbox__prev,
	.gfms-lightbox__next {
		top: auto;
		bottom: 20px;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gfms-tutor__link,
	.gfms-gallery__grid img { transition: none; }
	.gfms-gallery__grid a:hover img { transform: none; }
	.gfms-tutor__link:hover { transform: none; }
}
