/* Study For Next: reusable, demo-populated homepage section system. */
.sfntheme-homepage-region { min-width: 0; }
.sfntheme-homepage-widget { min-width: 0; margin: 0; }
.sfntheme-homepage-pair { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.sfntheme-homepage-pair .sfntheme-homepage-widget { height: 100%; }
.sfntheme-homepage-pair .sfntheme-content-section { height: 100%; border: 1px solid #e6ebf3; border-radius: .9rem; box-shadow: 0 8px 24px rgba(22, 45, 84, .08); }
.sfntheme-homepage-pair .sfntheme-content-section > .container { width: 100%; max-width: none; height: 100%; padding: 1rem; }
.sfntheme-homepage-pair .sfntheme-content-section__header { margin-bottom: .85rem; }
.sfntheme-content-section { --sfntheme-section-radius: 0; position: relative; min-width: 0; color: #172033; background: #fff; }
.sfntheme-content-section--light { background: #fff; }
.sfntheme-content-section--pale { background: #eef5ff; }
.sfntheme-content-section--navy { background: #122f75; color: #fff; }
.sfntheme-content-section__header { position: relative; max-width: 860px; margin: 0 auto 1.8rem; text-align: center; }
.sfntheme-content-section__header h2 { margin: 0; color: #172554; font-size: clamp(1.3rem, 2vw, 1.9rem); font-weight: 900; line-height: 1.22; letter-spacing: -.025em; text-wrap: balance; }
.sfntheme-content-section--navy .sfntheme-content-section__header h2 { color: #fff; }
.sfntheme-content-section__header h2::after { display: block; width: 52px; height: 3px; margin: .68rem auto 0; border-radius: 999px; background: #f5bd35; content: ''; }
.sfntheme-content-section__header p { max-width: 680px; margin: .7rem auto 0; color: #64748b; font-size: .9rem; line-height: 1.7; }
.sfntheme-content-section--navy .sfntheme-content-section__header p { color: #dbeafe; }
.sfntheme-content-section__badge { display: inline-flex; align-items: center; gap: .3rem; margin-top: .7rem; padding: .28rem .65rem; border-radius: 999px; background: #e23b44; color: #fff; font-size: .64rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.sfntheme-section-eyebrow { margin: 0 0 .7rem; color: #f8ca46; font-size: .73rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.sfntheme-button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 42px; padding: .72rem 1.1rem; border-radius: .55rem; font-size: .8rem; font-weight: 900; text-decoration: none; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.sfntheme-button:hover { transform: translateY(-2px); }
.sfntheme-button--accent { background: #f5bd35; color: #173a7a; box-shadow: 0 7px 18px rgba(245,189,53,.2); }
.sfntheme-button--accent:hover { background: #ffdc70; color: #102958; }
.sfntheme-button--primary { background: #245be0; color: #fff; }
.sfntheme-button--primary:hover { background: #173d9e; color: #fff; }
.sfntheme-section-footer { margin: 1.6rem 0 0; text-align: center; }

/* Hero slider: soft fade, overlay and optional decorative engineering iconography. */
.sfntheme-content-section--hero-slider { padding: 0; background: #081a3d; }
.sfntheme-hero-slider { position: relative; min-height: 455px; overflow: hidden; isolation: isolate; background: #09204b; }
.sfntheme-hero-slide { position: absolute; inset: 0; display: flex; align-items: center; min-height: 455px; padding: 3rem max(1.25rem, calc((100vw - 1240px) / 2)); overflow: hidden; color: #fff; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .75s ease, visibility .75s ease; }
.sfntheme-hero-slide.is-active { z-index: 1; opacity: 1; visibility: visible; pointer-events: auto; }
.sfntheme-hero-slide__image, .sfntheme-hero-slide__overlay { position: absolute; inset: 0; z-index: -2; }
.sfntheme-hero-slide__image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sfntheme-hero-slide__overlay { z-index: -1; background: linear-gradient(90deg, rgba(6, 23, 55, .94) 0%, rgba(12, 36, 77, .78) 38%, rgba(13, 33, 68, .2) 100%); }
.sfntheme-hero-slide__content { position: relative; z-index: 3; width: min(650px, 70%); text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.sfntheme-hero-slide__content h2 { margin: 0; color: #fff; font-size: clamp(2rem, 4.4vw, 4.3rem); font-weight: 950; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.sfntheme-hero-slide__excerpt { max-width: 590px; margin: 1.1rem 0 1.5rem; color: #e7edfa; font-size: clamp(.95rem, 1.35vw, 1.12rem); line-height: 1.7; }
.sfntheme-slider-controls { position: absolute; z-index: 10; right: max(1rem, calc((100vw - 1240px) / 2)); bottom: 1.2rem; display: flex; align-items: center; gap: .65rem; }
.sfntheme-slider-controls > button { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; background: rgba(7,25,59,.48); color: #fff; cursor: pointer; }
.sfntheme-slider-controls > button:hover, .sfntheme-slider-controls > button:focus-visible { background: #f5bd35; color: #102957; }
.sfntheme-slider-dots { display: flex; gap: .35rem; align-items: center; }
.sfntheme-slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.55); cursor: pointer; transition: width .2s ease, background .2s ease; }
.sfntheme-slider-dots button[aria-pressed="true"] { width: 23px; background: #f5bd35; }
/* Main cards grid for mentors, courses, services, and benefits. */
.sfntheme-content-grid { display: grid; grid-template-columns: repeat(var(--sfntheme-columns, 3), minmax(0, 1fr)); gap: 1.05rem; }
.sfntheme-content-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e5eaf2; border-radius: .9rem; background: #fff; box-shadow: 0 6px 18px rgba(20,43,82,.07); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.sfntheme-content-section--cards .sfntheme-content-card { border-color: #e4eaf2; }
.sfntheme-content-card:hover { transform: translateY(-4px); border-color: #bad0ff; box-shadow: 0 14px 30px rgba(20,43,82,.14); }
.sfntheme-content-card__image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #eaf0f8; }
.sfntheme-content-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sfntheme-content-card:hover .sfntheme-content-card__image img { transform: scale(1.055); }
.sfntheme-content-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1rem; }
.sfntheme-content-card__body h3 { margin: 0 0 .55rem; color: #153b78; font-size: .98rem; font-weight: 900; line-height: 1.38; }
.sfntheme-content-card__body h3 a { color: inherit; text-decoration: none; }
.sfntheme-content-card__body p { margin: 0 0 .9rem; color: #667085; font-size: .82rem; line-height: 1.65; }
.sfntheme-content-card__icon { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; margin: 1.1rem 0 0; border-radius: 50%; background: #e0ecff; color: #2763d7; font-size: 1.1rem; }
.sfntheme-content-grid--icon-grid .sfntheme-content-card { align-items: center; min-height: 135px; text-align: center; }
.sfntheme-content-grid--icon-grid .sfntheme-content-card__body { align-items: center; padding: .85rem; }
.sfntheme-content-grid--icon-grid .sfntheme-content-card__body h3 { margin-bottom: .3rem; font-size: .8rem; text-transform: uppercase; }
.sfntheme-content-grid--icon-grid .sfntheme-content-card__body p { margin-bottom: 0; font-size: .7rem; }
.sfntheme-text-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; color: #174ea6; font-size: .74rem; font-weight: 900; text-decoration: none; }
.sfntheme-text-link:hover { color: #d99b08; }
.sfntheme-content-grid--icon-grid .sfntheme-content-card__body .sfntheme-text-link { margin-top: .45rem; }

/* Gallery grid: entrance motion, image zoom, and animated reveal overlay. */
.sfntheme-gallery-grid { display: grid; grid-template-columns: repeat(var(--sfntheme-columns, 4), minmax(0, 1fr)); gap: .7rem; }
.sfntheme-gallery-grid__item { position: relative; min-width: 0; overflow: hidden; border: 1px solid #e5eaf2; border-radius: .65rem; background: #fff; box-shadow: 0 4px 13px rgba(20,43,82,.09); }
.sfntheme-gallery-grid__item > a { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #eaf0f8; }
.sfntheme-gallery-grid__image { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .35s ease; }
.sfntheme-gallery-grid__overlay { position: absolute; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem .75rem; background: linear-gradient(180deg, transparent, rgba(8,24,55,.9)); color: #fff; font-size: .78rem; font-weight: 850; opacity: 0; transform: translateY(9px); transition: opacity .25s ease, transform .25s ease; }
.sfntheme-gallery-grid__item:hover .sfntheme-gallery-grid__image, .sfntheme-gallery-grid__item:focus-within .sfntheme-gallery-grid__image { transform: scale(1.08); filter: saturate(1.08); }
.sfntheme-gallery-grid__item:hover .sfntheme-gallery-grid__overlay, .sfntheme-gallery-grid__item:focus-within .sfntheme-gallery-grid__overlay { opacity: 1; transform: translateY(0); }
.sfntheme-gallery-grid__item > p { margin: 0; padding: .55rem .65rem; color: #64748b; font-size: .7rem; line-height: 1.5; }

/* Animated workshop / notice list, automatically paused on hover or focus. */
.sfntheme-notice-viewport { position: relative; max-height: 310px; overflow: hidden; border: 1px solid #e3e9f1; border-radius: .8rem; background: #fff; box-shadow: 0 5px 15px rgba(20,43,82,.06); mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%); }
.sfntheme-notice-track { display: flex; flex-direction: column; width: 100%; }
.sfntheme-notice-viewport.is-animated .sfntheme-notice-track { animation: sfntheme-notice-scroll 27s linear infinite; }
.sfntheme-notice-viewport:hover .sfntheme-notice-track, .sfntheme-notice-viewport:focus-within .sfntheme-notice-track { animation-play-state: paused; }
.sfntheme-notice-track__clone { display: contents; }
.sfntheme-notice-item { display: flex; align-items: flex-start; gap: .65rem; min-height: 66px; padding: .75rem .8rem; border-bottom: 1px solid #edf1f6; background: #fff; }
.sfntheme-notice-item time { display: inline-flex; flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: center; min-width: 49px; min-height: 44px; padding: .25rem; border-radius: .45rem; background: #eff5ff; color: #2752a7; font-size: .57rem; font-weight: 800; text-align: center; }
.sfntheme-notice-item__content { min-width: 0; flex: 1 1 auto; }
.sfntheme-notice-item__content h3 { margin: .05rem 0 .2rem; color: #172554; font-size: .78rem; font-weight: 900; line-height: 1.4; }
.sfntheme-notice-item__content h3 a { color: inherit; text-decoration: none; }
.sfntheme-notice-item__content h3 a:hover { color: #1d4ed8; }
.sfntheme-notice-item__content p { margin: .2rem 0 0; color: #667085; font-size: .68rem; line-height: 1.5; }
.sfntheme-notice-item__badge { display: inline-flex; margin-left: .25rem; padding: .1rem .32rem; border-radius: .2rem; background: #ef4444; color: #fff; font-size: .53rem; font-weight: 900; letter-spacing: .03em; vertical-align: middle; }
@keyframes sfntheme-notice-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* Director / featured profile section. */
.sfntheme-profile-list { display: grid; gap: 1rem; }
.sfntheme-profile-card { display: grid; grid-template-columns: minmax(190px, 31%) minmax(0, 1fr); overflow: hidden; border: 1px solid #e1e8f1; border-radius: .95rem; background: #fff; box-shadow: 0 9px 23px rgba(20,43,82,.11); }
.sfntheme-profile-card__image { min-height: 265px; background: #e5eaf1; }
.sfntheme-profile-card__image img { display: block; width: 100%; height: 100%; min-height: 265px; object-fit: cover; }
.sfntheme-profile-card__body { align-self: center; padding: clamp(1rem, 3vw, 2rem); }
.sfntheme-profile-card__body .sfntheme-section-eyebrow { color: #2763d7; }
.sfntheme-profile-card__body h3 { margin: 0 0 .7rem; color: #102958; font-size: clamp(1.2rem, 2.2vw, 1.8rem); font-weight: 950; line-height: 1.2; }
.sfntheme-profile-card__excerpt { margin-bottom: 1rem; color: #5c687c; font-size: .88rem; line-height: 1.8; }

/* Feature list plus embedded video. */
.sfntheme-content-section--feature-video { background: #edf4ff; }
.sfntheme-feature-video-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); overflow: hidden; border: 1px solid #dfe7f4; border-radius: .9rem; background: #fff; box-shadow: 0 10px 26px rgba(20,43,82,.13); }
.sfntheme-feature-video-layout__panel { display: flex; flex-direction: column; background: #1f3f91; }
.sfntheme-feature-video-layout__intro { padding: 1.5rem 1.5rem .5rem; }
.sfntheme-feature-video-layout__intro h2 { margin: 0 0 .7rem; color: #fff; font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 900; }
.sfntheme-feature-video-layout__intro p { margin: 0 0 .8rem; color: #dce8ff; font-size: .82rem; line-height: 1.6; }
.sfntheme-feature-list { margin: 0; padding: 1.1rem 1.5rem 1.45rem; list-style: none; background: #1f3f91; color: #fff; }
.sfntheme-feature-video-layout__intro + .sfntheme-feature-list { padding-top: .5rem; }
.sfntheme-feature-list li { display: flex; align-items: flex-start; gap: .65rem; margin: 0 0 .8rem; color: #eef4ff; font-size: .8rem; line-height: 1.6; }
.sfntheme-feature-list li:last-child { margin-bottom: 0; }
.sfntheme-feature-list__marker { display: inline-flex; flex: 0 0 19px; align-items: center; justify-content: center; width: 19px; height: 19px; margin-top: .06rem; border-radius: 50%; background: #f5bd35; color: #16356f; font-size: .61rem; }
.sfntheme-feature-video { position: relative; min-height: 280px; aspect-ratio: 16 / 9; background: #0b1730; }
.sfntheme-feature-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Animated stats strip. */
.sfntheme-content-section--counters { background: linear-gradient(105deg, #1d4ed8, #2867ee 50%, #1743b4); color: #fff; }
.sfntheme-content-section--counters .container { padding-top: 1.8rem; padding-bottom: 1.8rem; }
.sfntheme-content-section--counters .sfntheme-content-section__header { margin-bottom: 1rem; }
.sfntheme-content-section--counters .sfntheme-content-section__header h2 { color: #fff; }
.sfntheme-content-section--counters .sfntheme-content-section__header p { color: #e1eaff; }
.sfntheme-counter-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.sfntheme-counter-card { padding: .5rem .3rem; text-align: center; }
.sfntheme-counter-value { color: #ffda51; font-size: clamp(1.65rem, 2.8vw, 2.35rem); font-weight: 950; line-height: 1.12; letter-spacing: -.035em; }
.sfntheme-counter-suffix { display: inline-block; margin-left: .04em; }
.sfntheme-counter-card p { margin: .45rem 0 0; color: #fff; font-size: .75rem; font-weight: 750; letter-spacing: .015em; }

/* Logo / affiliation marquee. */
.sfntheme-content-section--logos { overflow: hidden; background: #fff; }
.sfntheme-logo-marquee { width: 100%; overflow: hidden; mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%); }
.sfntheme-logo-track { display: flex; align-items: center; gap: 1.15rem; width: max-content; }
.sfntheme-logo-marquee.is-animated .sfntheme-logo-track { animation: sfntheme-logo-scroll 32s linear infinite; }
.sfntheme-logo-marquee:hover .sfntheme-logo-track, .sfntheme-logo-marquee:focus-within .sfntheme-logo-track { animation-play-state: paused; }
.sfntheme-logo-track__clone { display: flex; align-items: center; gap: 1.15rem; }
.sfntheme-logo-grid__item { display: inline-flex; flex: 0 0 116px; align-items: center; justify-content: center; min-height: 62px; padding: .5rem; color: #748094; text-align: center; text-decoration: none; filter: grayscale(1); opacity: .68; transition: filter .2s ease, opacity .2s ease; }
.sfntheme-logo-grid__item:hover { filter: grayscale(0); opacity: 1; }
.sfntheme-logo-grid__item img { display: block; max-width: 100%; max-height: 45px; width: auto; height: auto; object-fit: contain; }
.sfntheme-logo-grid__item span { color: #657184; font-size: .75rem; font-weight: 900; }
@keyframes sfntheme-logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Scroll-based reveal effects are progressive: content remains visible without JS. */
html.sfntheme-js .sfntheme-animations-enabled .reveal-on-scroll { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; transition-delay: calc(min(var(--sfntheme-reveal-index, 0), 6) * 55ms); }
html.sfntheme-js .sfntheme-animations-enabled .reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.sfntheme-content-section--hero-slider.sfntheme-animations-disabled .sfntheme-hero-slide { transition: none; }
.sfntheme-content-section--notices.sfntheme-animations-disabled .sfntheme-notice-track, .sfntheme-content-section--logos.sfntheme-animations-disabled .sfntheme-logo-track { animation: none !important; }

/* Fresh installation, before a demo is imported. */
.sfntheme-empty-homepage { padding: clamp(2rem, 6vw, 4rem) 1.25rem; border: 1px dashed #cad5e5; border-radius: 1rem; background: #fff; text-align: center; }
.sfntheme-empty-homepage h2 { margin: 0 0 .5rem; color: #173a7a; font-size: 1.5rem; font-weight: 900; }
.sfntheme-empty-homepage p { margin: 0 0 1.1rem; color: #64748b; }
.sfntheme-widget-card { margin-bottom: 1.2rem; padding: 1.2rem; border: 1px solid #e4eaf2; border-radius: .85rem; background: #fff; box-shadow: 0 5px 18px rgba(20,43,82,.06); }
.sfntheme-widget-card .widget-title { margin: 0 0 .8rem; color: #173a7a; font-size: 1.05rem; font-weight: 850; }
.sfntheme-footer-widget .widget-title { margin: 0 0 1rem; padding-left: .7rem; border-left: 3px solid #f5bd35; color: #fff; font-size: .95rem; font-weight: 900; text-transform: uppercase; }

@media (max-width: 1050px) {
	.sfntheme-content-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sfntheme-gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.sfntheme-hero-slider, .sfntheme-hero-slide { min-height: 400px; }
	.sfntheme-primary-nav .sfntheme-mega-menu-panel { gap: .45rem; padding: .75rem; }
	.sfntheme-primary-nav .sfntheme-mega-menu-panel > .sfntheme-menu-item > .sfntheme-menu-link { font-size: .73rem; }
}
@media (max-width: 760px) {
	.sfntheme-content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sfntheme-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sfntheme-profile-card { grid-template-columns: minmax(0, 1fr); }
	.sfntheme-profile-card__image { max-height: 330px; }
	.sfntheme-profile-card__image img { min-height: 240px; max-height: 330px; }
	.sfntheme-feature-video-layout { grid-template-columns: minmax(0,1fr); }
	.sfntheme-feature-video-layout__intro { padding: 1.25rem 1.25rem .35rem; }
	.sfntheme-feature-list { padding: 1rem 1.25rem 1.35rem; }
	.sfntheme-feature-video { min-height: 240px; }
	.sfntheme-hero-slider, .sfntheme-hero-slide { min-height: 370px; }
	.sfntheme-hero-slide { padding: 2rem 1.25rem; }
	.sfntheme-hero-slide__content { width: min(100%, 520px); }
	.sfntheme-hero-slide__overlay { background: linear-gradient(90deg, rgba(6,23,55,.92), rgba(12,36,77,.56)); }
	.sfntheme-logo-grid__item { flex-basis: 95px; }
}
@media (max-width: 480px) {
	.sfntheme-homepage-pair { padding: .75rem .6rem; }
	.sfntheme-homepage-pair .grid { gap: 1rem; }
	.sfntheme-content-grid { grid-template-columns: minmax(0,1fr); }
	.sfntheme-counter-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .65rem; }
	.sfntheme-counter-card p { font-size: .68rem; }
	.sfntheme-notice-viewport { max-height: 290px; }
	.sfntheme-notice-item { gap: .5rem; padding: .65rem .55rem; }
	.sfntheme-notice-item time { min-width: 43px; font-size: .53rem; }
	.sfntheme-hero-slider, .sfntheme-hero-slide { min-height: 350px; }
	.sfntheme-hero-slide__content h2 { font-size: clamp(1.8rem, 8vw, 2.7rem); }
	.sfntheme-slider-controls { right: .75rem; bottom: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
	.sfntheme-content-section *, .sfntheme-content-section *::before, .sfntheme-content-section *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Prevent background scrolling while the mobile navigation drawer is open. */
body.sfntheme-mobile-nav-open { overflow: hidden; }

/* Optional animation switch also disables decorative hover transforms. */
.sfntheme-content-section--gallery.sfntheme-animations-disabled .sfntheme-gallery-grid__image,
.sfntheme-content-section--gallery.sfntheme-animations-disabled .sfntheme-gallery-grid__overlay,
.sfntheme-content-section--cards.sfntheme-animations-disabled .sfntheme-content-card,
.sfntheme-content-section--icon-grid.sfntheme-animations-disabled .sfntheme-content-card {
	transition: none !important;
}
.sfntheme-content-section--gallery.sfntheme-animations-disabled .sfntheme-gallery-grid__item:hover .sfntheme-gallery-grid__image,
.sfntheme-content-section--gallery.sfntheme-animations-disabled .sfntheme-gallery-grid__item:focus-within .sfntheme-gallery-grid__image,
.sfntheme-content-section--cards.sfntheme-animations-disabled .sfntheme-content-card:hover,
.sfntheme-content-section--icon-grid.sfntheme-animations-disabled .sfntheme-content-card:hover {
	transform: none !important;
}
.sfntheme-feature-video-layout__panel { min-width: 0; }


/* Screenshot-matched layouts: campus/gallery + workshop side-by-side, mentor carousel, course cards and visible partner logos. */
.sfntheme-homepage-pair .sfntheme-content-section--gallery,
.sfntheme-homepage-pair .sfntheme-content-section--notices {
	height: 100%;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	border-radius: .65rem;
	background: #fff;
	box-shadow: 0 7px 18px rgba(15, 35, 70, .11);
}
.sfntheme-homepage-pair .sfntheme-content-section--gallery > .container,
.sfntheme-homepage-pair .sfntheme-content-section--notices > .container {
	width: 100%;
	max-width: none;
	height: 100%;
	padding: 0;
}
.sfntheme-homepage-pair .sfntheme-content-section__header {
	display: flex;
	align-items: center;
	gap: .65rem;
	min-height: 46px;
	max-width: none;
	margin: 0;
	padding: .65rem .85rem;
	background: #203d8c;
	color: #fff;
	text-align: left;
}
.sfntheme-homepage-pair .sfntheme-content-section__header h2 { color: #fff; font-size: .9rem; font-weight: 900; text-align: left; }
.sfntheme-homepage-pair .sfntheme-content-section__header h2::after { display: none; }
.sfntheme-homepage-pair .sfntheme-content-section__header p { display: none; }
.sfntheme-homepage-pair .sfntheme-content-section__badge { margin: 0 0 0 auto; padding: .23rem .5rem; font-size: .6rem; }
.sfntheme-homepage-pair .sfntheme-content-section--gallery .sfntheme-gallery-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 3px;
	padding: 3px;
}
.sfntheme-homepage-pair .sfntheme-gallery-grid__item { border: 0; border-radius: 0; box-shadow: none; }
.sfntheme-homepage-pair .sfntheme-gallery-grid__item > a { aspect-ratio: 1.13 / 1; }
.sfntheme-homepage-pair .sfntheme-gallery-grid__item > p { display: none; }
.sfntheme-homepage-pair .sfntheme-notice-viewport { max-height: 318px; margin: .75rem; border: 0; border-radius: .35rem; box-shadow: none; mask-image: linear-gradient(to bottom, #000 0%, #000 92%, transparent 100%); }
.sfntheme-homepage-pair .sfntheme-notice-item { min-height: 58px; gap: .5rem; padding: .6rem .65rem; border: 0; border-bottom: 1px solid #edf1f6; }
.sfntheme-homepage-pair .sfntheme-notice-item time { display: none; }
.sfntheme-homepage-pair .sfntheme-notice-item__content h3 { font-size: .75rem; }
.sfntheme-homepage-pair .sfntheme-notice-item__content p { margin-top: .15rem; font-size: .63rem; }
.sfntheme-homepage-pair .sfntheme-section-footer { margin: .25rem 0 0; padding: .55rem; border-top: 1px solid #e5eaf2; background: #f8fafc; }
.sfntheme-homepage-pair .sfntheme-section-footer .sfntheme-button { min-height: 28px; padding: .4rem .7rem; background: transparent; color: #2147a1; font-size: .72rem; box-shadow: none; }

.sfntheme-mentor-carousel { position: relative; padding: .1rem 0; }
.sfntheme-mentor-carousel__viewport { overflow-x: auto; overflow-y: hidden; padding: .45rem .1rem 1rem; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.sfntheme-mentor-carousel__viewport::-webkit-scrollbar { display: none; }
.sfntheme-mentor-carousel__track { display: flex; align-items: stretch; gap: 1rem; min-width: 0; }
.sfntheme-mentor-card { display: flex; flex: 0 0 calc((100% - 3rem) / 4); min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #e1e6ee; border-radius: .75rem; background: #fff; box-shadow: 0 5px 13px rgba(20, 42, 80, .1); scroll-snap-align: start; transition: transform .22s ease, box-shadow .22s ease; }
.sfntheme-mentor-card:hover { transform: translateY(-4px); box-shadow: 0 13px 24px rgba(20, 42, 80, .16); }
.sfntheme-mentor-card__image { display: flex; align-items: center; justify-content: center; overflow: hidden; aspect-ratio: 1.16 / 1; background: #edf3fd; }
.sfntheme-mentor-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sfntheme-mentor-card:hover .sfntheme-mentor-card__image img { transform: scale(1.045); }
.sfntheme-mentor-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #2c55a4; font-size: 3rem; }
.sfntheme-mentor-card__body { display: flex; flex: 1 1 auto; flex-direction: column; padding: .85rem .8rem .75rem; text-align: center; }
.sfntheme-mentor-card__body h3 { margin: 0; color: #1d3c83; font-size: .9rem; font-weight: 900; line-height: 1.4; }
.sfntheme-mentor-card__body h3 a { color: inherit; text-decoration: none; }
.sfntheme-mentor-card__body p { min-height: 1.2rem; margin: .25rem 0 .6rem; color: #64748b; font-size: .68rem; text-transform: uppercase; }
.sfntheme-mentor-card__link { display: block; margin-top: auto; padding-top: .65rem; border-top: 1px solid #e5eaf2; color: #1d4ed8; font-size: .72rem; font-weight: 850; text-decoration: none; }
.sfntheme-mentor-carousel__arrow { position: absolute; z-index: 3; top: 42%; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid #e2e8f0; border-radius: 50%; background: #fff; color: #2044a0; box-shadow: 0 5px 15px rgba(15, 35, 70, .16); cursor: pointer; transform: translateY(-50%); }
.sfntheme-mentor-carousel__arrow:hover { background: #2044a0; color: #fff; }
.sfntheme-mentor-carousel__arrow--prev { left: -.75rem; }
.sfntheme-mentor-carousel__arrow--next { right: -.75rem; }

.sfntheme-course-grid { display: grid; grid-template-columns: repeat(var(--sfntheme-columns, 3), minmax(0, 1fr)); gap: 1.25rem; }
.sfntheme-course-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1.5px solid #f2bc36; border-radius: .75rem; background: #fff; box-shadow: 0 5px 15px rgba(19, 43, 83, .08); transition: transform .22s ease, box-shadow .22s ease; }
.sfntheme-course-card:hover { transform: translateY(-4px); box-shadow: 0 12px 22px rgba(19, 43, 83, .16); }
.sfntheme-course-card__image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #e9eff8; }
.sfntheme-course-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .38s ease; }
.sfntheme-course-card:hover .sfntheme-course-card__image img { transform: scale(1.04); }
.sfntheme-course-card__body { display: flex; flex: 1 1 auto; flex-direction: column; align-items: stretch; padding: .8rem .85rem .9rem; }
.sfntheme-course-card__body h3 { margin: 0 0 .5rem; color: #203d8c; font-size: 1rem; font-weight: 900; line-height: 1.35; }
.sfntheme-course-card__body h3 a { color: inherit; text-decoration: none; }
.sfntheme-course-card__body p { flex: 1 1 auto; margin: 0 0 .85rem; color: #475569; font-size: .82rem; line-height: 1.55; }
.sfntheme-course-card__button { width: 100%; min-height: 37px; padding: .55rem .7rem; border-radius: .35rem; font-size: .72rem; text-align: center; }

/* Logos are intentionally full-colour and large enough to recognise. */
.sfntheme-logo-track { gap: 1.5rem; }
.sfntheme-logo-track__clone { gap: 1.5rem; }
.sfntheme-logo-grid__item { flex-basis: 155px; min-height: 78px; padding: .55rem; filter: none; opacity: 1; }
.sfntheme-logo-grid__item img { max-height: 66px; max-width: 145px; object-fit: contain; }
.sfntheme-logo-grid__item span { color: #39465b; font-size: .8rem; font-weight: 900; }
.sfntheme-content-section--logos .sfntheme-content-section__header { margin-bottom: 1rem; }
.sfntheme-content-section--notices .sfntheme-content-section__header { display: flex; align-items: center; gap: .65rem; }
.sfntheme-content-section--notices .sfntheme-content-section__badge { margin-left: auto; }

@media (max-width: 900px) {
	.sfntheme-mentor-card { flex-basis: calc((100% - 2rem) / 3); }
	.sfntheme-course-grid { grid-template-columns: repeat(min(2, var(--sfntheme-columns, 3)), minmax(0, 1fr)); }
	.sfntheme-logo-grid__item { flex-basis: 132px; }
	.sfntheme-logo-grid__item img { max-height: 58px; }
}
@media (max-width: 620px) {
	.sfntheme-mentor-card { flex-basis: calc((100% - 1rem) / 2); }
	.sfntheme-mentor-carousel__arrow { width: 34px; height: 34px; }
	.sfntheme-mentor-carousel__arrow--prev { left: -.4rem; }
	.sfntheme-mentor-carousel__arrow--next { right: -.4rem; }
	.sfntheme-course-grid { grid-template-columns: minmax(0, 1fr); }
	.sfntheme-logo-grid__item { flex-basis: 112px; }
	.sfntheme-logo-grid__item img { max-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
	.sfntheme-mentor-card, .sfntheme-course-card, .sfntheme-mentor-card__image img { transition: none !important; }
	.sfntheme-mentor-carousel__viewport { scroll-behavior: auto; }
}


/* Education demo: matched campus-gallery/workshop card heights and aligned footers. */
.sfntheme-homepage-pair > .grid {
	align-items: stretch;
}
.sfntheme-homepage-pair .sfntheme-homepage-widget {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
}
.sfntheme-homepage-pair .sfntheme-content-section--gallery,
.sfntheme-homepage-pair .sfntheme-content-section--notices {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	min-height: 100%;
	height: 100%;
}
.sfntheme-homepage-pair .sfntheme-content-section--gallery > .container,
.sfntheme-homepage-pair .sfntheme-content-section--notices > .container {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	min-height: 100%;
	height: 100%;
}
.sfntheme-homepage-pair .sfntheme-content-section--gallery .sfntheme-gallery-grid {
	flex: 1 1 auto;
	align-content: stretch;
	grid-auto-rows: 1fr;
}
.sfntheme-homepage-pair .sfntheme-content-section--gallery .sfntheme-gallery-grid__item > a {
	aspect-ratio: 1.32 / 1;
	min-height: 128px;
}
.sfntheme-homepage-pair .sfntheme-content-section--notices .sfntheme-notice-viewport {
	flex: 1 1 auto;
	min-height: 320px;
	max-height: none;
	margin: .7rem .75rem .35rem;
	mask-image: linear-gradient(to bottom, #000 0%, #000 94%, transparent 100%);
}
.sfntheme-homepage-pair .sfntheme-content-section--notices .sfntheme-notice-item {
	min-height: 68px;
	align-items: center;
}
.sfntheme-homepage-pair .sfntheme-content-section--notices .sfntheme-section-footer,
.sfntheme-homepage-pair .sfntheme-content-section--gallery .sfntheme-section-footer {
	flex: 0 0 auto;
	margin-top: auto;
}

/* Affiliations: make actual logo artwork recognisable at desktop and mobile sizes. */
.sfntheme-content-section--logos .sfntheme-logo-grid__item {
	flex-basis: 190px;
	min-height: 112px;
	padding: .65rem .8rem;
	filter: none;
	opacity: 1;
}
.sfntheme-content-section--logos .sfntheme-logo-grid__item img {
	width: auto;
	max-width: 178px;
	max-height: 86px;
	object-fit: contain;
}
.sfntheme-content-section--logos .sfntheme-logo-grid__item span {
	color: #27364d;
	font-size: .88rem;
	font-weight: 900;
}

/* Optional custom hero HTML: user-provided safe markup can carry a custom animation. */
@media (max-width: 1023px) {
	.sfntheme-homepage-pair .sfntheme-content-section--gallery,
	.sfntheme-homepage-pair .sfntheme-content-section--notices {
		min-height: 0;
		height: auto;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--gallery > .container,
	.sfntheme-homepage-pair .sfntheme-content-section--notices > .container {
		min-height: 0;
		height: auto;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--notices .sfntheme-notice-viewport {
		flex: 0 0 auto;
		min-height: 260px;
		max-height: 340px;
	}
	.sfntheme-content-section--logos .sfntheme-logo-grid__item {
		flex-basis: 160px;
		min-height: 96px;
	}
	.sfntheme-content-section--logos .sfntheme-logo-grid__item img {
		max-width: 148px;
		max-height: 76px;
	}
}
@media (max-width: 620px) {
	.sfntheme-homepage-pair .sfntheme-content-section--gallery .sfntheme-gallery-grid__item > a {
		aspect-ratio: 1.2 / 1;
		min-height: 100px;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--notices .sfntheme-notice-viewport {
		min-height: 240px;
	}
	.sfntheme-content-section--logos .sfntheme-logo-grid__item {
		flex-basis: 138px;
		min-height: 88px;
	}
	.sfntheme-content-section--logos .sfntheme-logo-grid__item img {
		max-width: 128px;
		max-height: 68px;
	}
}


/* Final affiliation polish: large, readable local wordmarks with breathing room. */
.sfntheme-content-section--logos .sfntheme-logo-marquee {
	padding: .75rem 0 1rem;
}
.sfntheme-content-section--logos .sfntheme-logo-track,
.sfntheme-content-section--logos .sfntheme-logo-track__clone {
	align-items: center;
	gap: 2rem;
}
.sfntheme-content-section--logos .sfntheme-logo-grid__item {
	flex: 0 0 230px;
	width: 230px;
	min-height: 122px;
	padding: .8rem;
	border: 1px solid #e8edf5;
	border-radius: .85rem;
	background: #fff;
	box-shadow: 0 5px 18px rgba(20, 42, 80, .07);
	filter: none;
	opacity: 1;
}
.sfntheme-content-section--logos .sfntheme-logo-grid__item img {
	display: block;
	width: auto;
	max-width: 210px;
	max-height: 94px;
	object-fit: contain;
	filter: none;
}
.sfntheme-content-section--logos .sfntheme-logo-grid__item:hover {
	transform: translateY(-2px);
	box-shadow: 0 9px 22px rgba(20, 42, 80, .12);
}
@media (max-width: 900px) {
	.sfntheme-content-section--logos .sfntheme-logo-grid__item { flex-basis: 205px; width: 205px; min-height: 108px; }
	.sfntheme-content-section--logos .sfntheme-logo-grid__item img { max-width: 188px; max-height: 82px; }
}
@media (max-width: 620px) {
	.sfntheme-content-section--logos .sfntheme-logo-grid__item { flex-basis: 176px; width: 176px; min-height: 96px; padding: .6rem; }
	.sfntheme-content-section--logos .sfntheme-logo-grid__item img { max-width: 160px; max-height: 72px; }
}


/* Hospital demo: compact Gallery + Health Updates row. */
.sfntheme-homepage-pair > .grid {
	align-items: start !important;
}
.sfntheme-homepage-pair .sfntheme-homepage-widget {
	height: auto !important;
	min-height: 0 !important;
	align-self: start;
}
.sfntheme-homepage-pair .sfntheme-content-section--gallery,
.sfntheme-homepage-pair .sfntheme-content-section--notices {
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
}
.sfntheme-homepage-pair .sfntheme-content-section--gallery > .container,
.sfntheme-homepage-pair .sfntheme-content-section--notices > .container {
	height: auto !important;
	min-height: 0 !important;
	flex: 0 0 auto !important;
}
.sfntheme-homepage-pair .sfntheme-content-section--gallery .sfntheme-gallery-grid {
	flex: 0 0 auto !important;
	align-content: start !important;
	grid-auto-rows: auto !important;
	grid-template-rows: auto !important;
	gap: 3px;
}
.sfntheme-homepage-pair .sfntheme-content-section--gallery .sfntheme-gallery-grid__item > a {
	aspect-ratio: 2 / 1 !important;
	min-height: 0 !important;
}
.sfntheme-homepage-pair .sfntheme-content-section--notices .sfntheme-notice-viewport {
	flex: 0 0 150px !important;
	height: 150px !important;
	min-height: 150px !important;
	max-height: 150px !important;
	margin: .45rem .65rem .25rem !important;
}
.sfntheme-homepage-pair .sfntheme-content-section--notices .sfntheme-notice-item {
	min-height: 38px !important;
	padding: .35rem .5rem !important;
	gap: .4rem;
}
.sfntheme-homepage-pair .sfntheme-content-section--notices .sfntheme-notice-item__content h3 {
	font-size: .74rem;
	line-height: 1.35;
}
.sfntheme-homepage-pair .sfntheme-content-section--notices .sfntheme-section-footer,
.sfntheme-homepage-pair .sfntheme-content-section--gallery .sfntheme-section-footer {
	margin: .25rem 0 0 !important;
}
@media (max-width: 1023px) {
	.sfntheme-homepage-pair > .grid {
		align-items: start !important;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--notices .sfntheme-notice-viewport {
		flex-basis: 150px !important;
		height: 150px !important;
		min-height: 150px !important;
		max-height: 150px !important;
	}
}
@media (prefers-reduced-motion: reduce) {
	.sfntheme-homepage-pair .sfntheme-content-section--notices .sfntheme-notice-track {
		animation: none !important;
	}
}

/* Hospital demo final layout: 2x2 gallery and a matching-height animated updates panel. */
@media (min-width: 1024px) {
	.sfntheme-homepage-pair > .grid {
		align-items: stretch !important;
	}
	.sfntheme-homepage-pair .sfntheme-homepage-widget {
		display: flex !important;
		align-self: stretch !important;
		min-width: 0;
		height: 100% !important;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--gallery,
	.sfntheme-homepage-pair .sfntheme-content-section--notices {
		display: flex !important;
		flex: 1 1 auto !important;
		flex-direction: column !important;
		min-width: 0;
		min-height: 0 !important;
		height: 100% !important;
		max-height: none !important;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--gallery > .container,
	.sfntheme-homepage-pair .sfntheme-content-section--notices > .container {
		display: flex !important;
		flex: 1 1 auto !important;
		flex-direction: column !important;
		min-width: 0;
		min-height: 0 !important;
		height: 100% !important;
		padding: 0 !important;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--gallery .sfntheme-gallery-grid {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		grid-template-rows: auto auto !important;
		grid-auto-rows: auto !important;
		align-content: start !important;
		gap: 3px !important;
		padding: 3px !important;
		flex: 0 0 auto !important;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--gallery .sfntheme-gallery-grid__item > a {
		aspect-ratio: 2 / 1 !important;
		min-height: 132px !important;
		max-height: 180px;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--gallery .sfntheme-gallery-grid__image {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--notices .sfntheme-notice-viewport {
		flex: 0 0 310px !important;
		width: auto;
		height: 310px !important;
		min-height: 310px !important;
		max-height: 310px !important;
		margin: .45rem .65rem .25rem !important;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--notices .sfntheme-notice-item {
		min-height: 49px !important;
		padding: .48rem .55rem !important;
		gap: .4rem;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--notices .sfntheme-notice-item__content h3 {
		font-size: .74rem;
		line-height: 1.35;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--notices .sfntheme-notice-item__content p {
		margin-top: .12rem;
		font-size: .63rem;
		line-height: 1.4;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--gallery .sfntheme-section-footer,
	.sfntheme-homepage-pair .sfntheme-content-section--notices .sfntheme-section-footer {
		flex: 0 0 auto;
		margin-top: auto !important;
	}
}

@media (max-width: 1023px) {
	.sfntheme-homepage-pair .sfntheme-content-section--gallery .sfntheme-gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		grid-template-rows: auto auto !important;
		grid-auto-rows: auto !important;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--gallery .sfntheme-gallery-grid__item > a {
		aspect-ratio: 1.7 / 1 !important;
		min-height: 110px !important;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--notices .sfntheme-notice-viewport {
		flex: 0 0 auto !important;
		height: 300px !important;
		min-height: 300px !important;
		max-height: 300px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sfntheme-homepage-pair .sfntheme-content-section--notices .sfntheme-notice-track {
		animation: none !important;
	}
}

.sfntheme-cols-2 { --sfntheme-columns: 2; }
.sfntheme-cols-3 { --sfntheme-columns: 3; }
.sfntheme-cols-4 { --sfntheme-columns: 4; }
.sfntheme-cols-5 { --sfntheme-columns: 5; }
.sfntheme-cols-6 { --sfntheme-columns: 6; }
.sfntheme-reveal-0 { --sfntheme-reveal-index: 0; }
.sfntheme-reveal-1 { --sfntheme-reveal-index: 1; }
.sfntheme-reveal-2 { --sfntheme-reveal-index: 2; }
.sfntheme-reveal-3 { --sfntheme-reveal-index: 3; }
.sfntheme-reveal-4 { --sfntheme-reveal-index: 4; }
.sfntheme-reveal-5 { --sfntheme-reveal-index: 5; }
.sfntheme-reveal-6 { --sfntheme-reveal-index: 6; }

/* Strict Equal-Height Gallery + Notice Slider Pair across all demos (Desktop) */
@media (min-width: 1024px) {
	.sfntheme-homepage-pair > .grid {
		align-items: stretch !important;
	}
	.sfntheme-homepage-pair .sfntheme-homepage-widget {
		display: flex !important;
		flex-direction: column !important;
		height: 452px !important;
		min-height: 452px !important;
		max-height: 452px !important;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--gallery,
	.sfntheme-homepage-pair .sfntheme-content-section--notices {
		display: flex !important;
		flex: 1 1 auto !important;
		flex-direction: column !important;
		height: 100% !important;
		min-height: 100% !important;
		max-height: 100% !important;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--gallery > .container,
	.sfntheme-homepage-pair .sfntheme-content-section--notices > .container {
		display: flex !important;
		flex: 1 1 auto !important;
		flex-direction: column !important;
		height: 100% !important;
		min-height: 0 !important;
		padding: 0 !important;
	}
	.sfntheme-homepage-pair .sfntheme-content-section__header {
		flex: 0 0 48px !important;
		min-height: 48px !important;
		max-height: 48px !important;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--gallery .sfntheme-gallery-grid {
		display: grid !important;
		flex: 1 1 0% !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
		height: 100% !important;
		min-height: 0 !important;
		gap: 4px !important;
		padding: 4px !important;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--gallery .sfntheme-gallery-grid__item {
		height: 100% !important;
		min-height: 0 !important;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--gallery .sfntheme-gallery-grid__item > a {
		height: 100% !important;
		min-height: 0 !important;
		max-height: none !important;
		aspect-ratio: auto !important;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--notices .sfntheme-notice-viewport {
		flex: 1 1 0% !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		margin: .45rem .65rem .25rem !important;
	}
	.sfntheme-homepage-pair .sfntheme-content-section--gallery .sfntheme-section-footer,
	.sfntheme-homepage-pair .sfntheme-content-section--notices .sfntheme-section-footer {
		flex: 0 0 46px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		margin-top: auto !important;
	}
}
