/* Munster FA homepage (design: Susan, Nov 2026, 1920px canvas, 1530px content).
   Sections are native Enfold Color Sections with custom classes mfa-sec + mfa-sec--<part>. */

@font-face { font-family: "MFA Josefin"; src: url("fonts/josefinsans.woff2") format("woff2"); font-weight: 100 700; font-display: swap; }
@font-face { font-family: "MFA Open Sans"; src: url("fonts/opensans.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "MFA Source Sans"; src: url("fonts/sourcesans3.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

.mfa-sec {
	--mfa-navy: #163e9d;
	--mfa-green: #6ebc45;
	--mfa-ink: #111111;
	--mfa-gap: 30px;
}

/* ---------- Section shell: drop Enfold padding, 1530px content ---------- */
/* (1,1,0) on purpose: the per-section padding rules below must be able to override it */
#top .mfa-sec { padding: 0; border: 0; background: #fff; }
#top .mfa-sec .container,
.responsive #top #wrap_all .mfa-sec .container { max-width: 1560px; width: auto; padding: 0 15px; } /* Enfold mobile: .responsive #top #wrap_all .container = 85% */
#top .mfa-sec .content,
#top .mfa-sec .template-page { padding: 0 !important; }
#top .mfa-sec .entry-content-wrapper { padding: 0; }
#top .mfa-sec .entry-content-wrapper::before,
#top .mfa-sec .entry-content-wrapper::after { display: none; }
#top .mfa-sec .avia_textblock { font-family: "MFA Open Sans", "Open Sans", Arial, sans-serif; }
#top .mfa-sec .avia_textblock p:last-child { margin-bottom: 0; }

.mfa-title,
#top .mfa-sec h2.mfa-title {
	font-family: "MFA Josefin", "Josefin Sans", sans-serif; font-weight: 700;
	font-size: 46px; line-height: 1.1; color: var(--mfa-ink); margin: 0; letter-spacing: 0; text-transform: none;
}

/* Round arrow buttons (hero = navy, carousels = green + lime) */
.mfa-arrow {
	width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center; color: #fff;
	transition: filter .2s, transform .2s;
}
.mfa-arrow:hover { filter: brightness(1.1); }
.mfa-arrow:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--mfa-navy); }
.mfa-arrow--navy { background: var(--mfa-navy); }
.mfa-arrow--green { background: #00b350; }
.mfa-arrow--lime { background: #96cd79; }

/* ---------- Hero ---------- */
#top .mfa-sec--hero .container, .responsive #top #wrap_all .mfa-sec--hero .container { max-width: none; padding: 0; }
.mfa-hero {
	position: relative; height: 700px; overflow: hidden; color: #fff;
	background: linear-gradient(180deg, #05307e 0%, #0a3c81 14%, #1e5f75 43%, #378867 71%, #419a60 100%);
}
.mfa-hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.mfa-hero-slide.is-active { opacity: 1; visibility: visible; }
.mfa-hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 62.5%; }
.mfa-hero-media img {
	width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 12%, #000 26%);
	        mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 12%, #000 26%);
}
.mfa-hero-inner { position: relative; z-index: 2; max-width: 1560px; margin: 0 auto; padding: 117px 15px 0; }
.mfa-hero-inner > * { max-width: 470px; }
#top .mfa-hero-date {
	font-family: "MFA Josefin", "Josefin Sans", sans-serif; font-weight: 700; font-size: 22px; line-height: 26px;
	color: #fff; margin: 0 0 4px;
}
#top .mfa-hero-title {
	font-family: "MFA Josefin", "Josefin Sans", sans-serif; font-weight: 700; font-size: 40px; line-height: 60px;
	text-transform: uppercase; letter-spacing: .5px; margin: 0; color: var(--mfa-green);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
#top .mfa-hero-title a { color: var(--mfa-green); text-decoration: none; }
#top .mfa-hero-title a:hover { color: #8fd36a; }
#top .mfa-hero-text {
	font-family: "MFA Open Sans", "Open Sans", sans-serif; font-size: 18px; line-height: 36px; color: #fff; margin: 46px 0 0;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
#top .mfa-hero-btn {
	display: inline-flex; align-items: center; justify-content: center; width: 200px; height: 60px; margin-top: 58px;
	border-radius: 30px; background: var(--mfa-navy); color: #fff; text-decoration: none;
	font-family: "MFA Open Sans", "Open Sans", sans-serif; font-size: 15px; text-transform: uppercase; letter-spacing: .2px;
	transition: background .2s;
}
#top .mfa-hero-btn:hover { background: #0f2f7a; color: #fff; }
.mfa-hero-nav { position: absolute; left: 0; right: 0; top: 563px; z-index: 3; pointer-events: none; }
.mfa-hero-nav-inner { max-width: 1560px; margin: 0 auto; padding: 0 15px; display: flex; gap: 30px; }
.mfa-hero-nav .mfa-arrow { pointer-events: auto; }

/* ---------- Sponsor banners (full width, 1920x300 images) ---------- */
#top .mfa-sec--banners { padding-top: 87px; }
#top .mfa-sec--banners .container, .responsive #top #wrap_all .mfa-sec--banners .container { max-width: none; padding: 0; }
#top .mfa-sec--banners .avia-image-container { display: block; margin: 0 0 36px; }
#top .mfa-sec--banners .avia-image-container:last-child { margin-bottom: 0; }
#top .mfa-sec--banners .avia-image-container-inner,
#top .mfa-sec--banners .avia-image-overlay-wrap { display: block; width: 100%; }
#top .mfa-sec--banners img.avia_image { width: 100%; height: auto; display: block; }

/* ---------- Rule Books / Forms buttons ---------- */
#top .mfa-sec--quick { padding-top: 91px; }
#top .mfa-sec--quick .entry-content-wrapper { display: flex; gap: var(--mfa-gap); }
#top .mfa-sec--quick .flex_column.mfa-qbtn {
	flex: 1 1 0; width: auto; margin: 0; min-height: 150px; padding: 0 30px 0 154px !important;
	display: flex; align-items: center; position: relative; cursor: pointer; overflow: hidden;
	background:
		radial-gradient(ellipse 45% 85% at 0% 100%, #055ca3 0%, rgba(5,92,163,0) 100%),
		linear-gradient(180deg, #09ae4f 0%, #05ae51 25%, #00996d 55%, #018a80 100%);
	transition: filter .2s;
}
#top .mfa-sec--quick .flex_column.mfa-qbtn:hover { filter: brightness(1.06); }
#top .mfa-qbtn::before {
	content: ""; position: absolute; left: 37px; top: 50%; width: 92px; height: 92px; transform: translateY(-50%);
	background: no-repeat center / contain; visibility: visible; display: block; /* Enfold's .flex_column clearfix hides ::before */
}
#top .mfa-qbtn--rules::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='white' stroke-width='3' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M18 8h34a5 5 0 0 1 5 5v4H23'/%3E%3Cpath d='M23 13v37a6 6 0 0 1-6 6h-3a6 6 0 0 1-6-6v-3h15'/%3E%3Cpath d='M17 56h30a5 5 0 0 0 5-5V17'/%3E%3Cpath d='M30 23h15M30 29h15M30 35h15M30 41h15M30 47h10'/%3E%3C/svg%3E");
}
#top .mfa-qbtn--forms::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='white' stroke-width='3' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M15 6h24l13 13v35a4 4 0 0 1-4 4H15a4 4 0 0 1-4-4V10a4 4 0 0 1 4-4z'/%3E%3Cpath d='M39 6v13h13'/%3E%3Cpath d='M26 30h17M26 38h17M26 46h17'/%3E%3Ccircle cx='20' cy='30' r='1.2' fill='white'/%3E%3Ccircle cx='20' cy='38' r='1.2' fill='white'/%3E%3Ccircle cx='20' cy='46' r='1.2' fill='white'/%3E%3C/svg%3E");
}
#top .mfa-qbtn .avia_textblock,
#top .mfa-qbtn .avia_textblock p {
	font-family: "MFA Josefin", "Josefin Sans", sans-serif; font-weight: 700; font-size: 46px; line-height: 1.1;
	color: #fff; margin: 0; padding: 0;
}
#top .mfa-qbtn .avia_textblock a { color: #fff; text-decoration: none; }

/* ---------- Carousels (Affiliated Leagues, Gallery) ---------- */
#top .mfa-sec--leagues { padding-top: 87px; }
#top .mfa-sec--gallery { padding-top: 60px; }
.mfa-car-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 72px; }
.mfa-car-nav { display: flex; gap: 30px; flex: 0 0 auto; }
.mfa-car-track {
	display: grid; grid-auto-flow: column; gap: var(--mfa-gap);
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.mfa-car-track::-webkit-scrollbar { display: none; }
.mfa-car-track:focus-visible { outline: 3px solid var(--mfa-navy); outline-offset: 4px; }
.mfa-car-item { scroll-snap-align: start; position: relative; display: block; overflow: hidden; }
.mfa-car-item img { display: block; width: 100%; height: 100%; object-fit: cover; }

.mfa-car--leagues .mfa-car-track { grid-auto-columns: calc((100% - 5 * var(--mfa-gap)) / 6); }
.mfa-car--leagues .mfa-car-item { aspect-ratio: 1; background: #f8f8f8; border: 2px solid #e1e1e1; }
.mfa-car--leagues .mfa-car-item img { object-fit: contain; }
.mfa-car-label {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center;
	background: rgba(23,62,157,.76); color: #fff; opacity: 0; transition: opacity .25s;
	font-family: "MFA Open Sans", "Open Sans", sans-serif; font-size: 18px; line-height: 30px; text-transform: uppercase;
}
.mfa-car--leagues .mfa-car-item:hover .mfa-car-label,
.mfa-car--leagues .mfa-car-item:focus-visible .mfa-car-label { opacity: 1; }

#top .mfa-sec--gallery h2.mfa-title { font-family: "MFA Source Sans", "Source Sans 3", sans-serif; font-weight: 400; }
.mfa-car--gallery .mfa-car-head { margin-bottom: 55px; }
.mfa-car--gallery .mfa-car-track { gap: 34px; grid-auto-columns: calc((100% - 3 * 34px) / 4); }
.mfa-car--gallery .mfa-car-item { aspect-ratio: 357 / 600; }

/* ---------- Facebook + X ---------- */
#top .mfa-sec--social { padding-top: 32px; }
#top .mfa-sec--social .entry-content-wrapper { display: flex; gap: var(--mfa-gap); align-items: stretch; }
#top .mfa-sec--social .flex_column.mfa-soc {
	flex: 1 1 0; width: auto; margin: 0; padding: 0 0 30px !important; background: #fff;
	box-shadow: 0 12px 22px rgba(0,0,0,.07);
}
#top .mfa-soc-head {
	position: relative; height: 110px; margin: 0 0 30px; padding: 0 140px 0 34px; background: var(--mfa-navy);
	display: flex; align-items: center;
}
#top .mfa-soc-head,
#top .mfa-soc-head p { font-family: "MFA Open Sans", "Open Sans", sans-serif; font-size: 44px; line-height: 1; color: #fff; margin: 0; }
#top .mfa-soc-head::after {
	content: ""; position: absolute; right: 0; top: 0; width: 110px; height: 110px;
	background: var(--mfa-green) no-repeat center / 54px 54px;
}
#top .mfa-soc-head--fb::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' opacity='.9'%3E%3Cpath d='M14 8.5V6.8c0-.8.2-1.3 1.4-1.3H17V2.2c-.3 0-1.3-.2-2.5-.2-2.5 0-4.2 1.5-4.2 4.3v2.2H7.6v3.6h2.7V22H14v-9.9h2.7l.4-3.6H14z'/%3E%3C/svg%3E");
}
#top .mfa-soc-head--x::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.3' opacity='.9'%3E%3Cpath d='M3.5 3h4.8l12.2 18h-4.8z'/%3E%3Cpath d='M20.3 3L13.5 10.8M10.5 13.2L3.7 21' stroke-linecap='round'/%3E%3C/svg%3E");
}
#top .mfa-soc .avia_textblock:not(.mfa-soc-head),
#top .mfa-soc .widget { padding: 0 30px; }
#top .mfa-soc .widget { margin: 0; border: 0; }
#top .mfa-soc iframe { display: block; max-width: 100%; margin: 0 auto; }
#top .mfa-soc .cameronjonesweb_facebook_page_plugin { display: flex; justify-content: center; } /* Facebook caps its plugin at 500px */

.mfa-xcard { font-family: "MFA Open Sans", "Open Sans", sans-serif; color: #111; }
.mfa-xcard-top { display: flex; align-items: flex-start; justify-content: space-between; }
.mfa-xcard-logo { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; }
#top .mfa-xcard-follow {
	background: #0f1419; color: #fff; border-radius: 20px; padding: 0 28px; height: 40px; margin-top: 13px;
	display: inline-flex; align-items: center; font-weight: 700; font-size: 16px; text-decoration: none;
}
#top .mfa-xcard-follow:hover { background: #272c30; color: #fff; }
#top .mfa-xcard-name { font-size: 18px; line-height: 1.4; margin: 14px 0 0; color: #111; }
#top .mfa-xcard-handle { font-size: 17px; line-height: 1.4; margin: 4px 0 0; color: #8a8f94; }
#top .mfa-xcard-link { display: inline-block; margin-top: 24px; font-size: 16px; color: #1d9bf0; text-decoration: none; }
#top .mfa-xcard-link:hover { text-decoration: underline; }

/* Space before the footer */
#top .mfa-sec--gallery { padding-bottom: 57px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.mfa-car--leagues .mfa-car-track { grid-auto-columns: calc((100% - 3 * var(--mfa-gap)) / 4); }
	.mfa-car--gallery .mfa-car-track { grid-auto-columns: calc((100% - 2 * 34px) / 3); }
	.mfa-title, #top .mfa-sec h2.mfa-title, #top .mfa-qbtn .avia_textblock p { font-size: 38px; }
}
@media (max-width: 989px) {
	.mfa-hero { height: auto; min-height: 0; }
	.mfa-hero-slide { position: absolute; }
	.mfa-hero-slide.is-active { position: relative; }
	.mfa-hero-media { position: relative; width: 100%; height: 280px; }
	.mfa-hero-media img { -webkit-mask-image: none; mask-image: none; }
	.mfa-hero-inner { padding: 30px 20px 100px; }
	.mfa-hero-nav { top: auto; bottom: 30px; }
	.mfa-hero-nav-inner { padding: 0 20px; }
	#top .mfa-hero-title { font-size: 30px; line-height: 40px; }
	#top .mfa-hero-text { font-size: 16px; line-height: 28px; margin-top: 18px; }
	#top .mfa-hero-btn { margin-top: 28px; }
	#top .mfa-sec--banners { padding-top: 40px; }
	#top .mfa-sec--banners .avia-image-container { margin-bottom: 16px; }
	#top .mfa-sec--quick, #top .mfa-sec--leagues { padding-top: 45px; }
	#top .mfa-sec--quick .entry-content-wrapper,
	#top .mfa-sec--social .entry-content-wrapper { flex-direction: column; gap: 20px; }
	#top .mfa-sec--quick .flex_column.mfa-qbtn { flex: none; min-height: 110px; padding-left: 120px !important; }
	#top .mfa-sec--social .flex_column.mfa-soc { flex: none; } /* basis 0 collapses cards in a column layout */
	.responsive #top #wrap_all .mfa-sec .container { padding: 0 20px; }
	.responsive #top #wrap_all .mfa-sec--hero .container, .responsive #top #wrap_all .mfa-sec--banners .container { padding: 0; }
	#top .mfa-qbtn::before { left: 28px; width: 68px; height: 68px; }
	.mfa-car-head { margin-bottom: 30px; }
	.mfa-car--leagues .mfa-car-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; }
	.mfa-car--gallery .mfa-car-track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; }
}
@media (max-width: 600px) {
	.mfa-title, #top .mfa-sec h2.mfa-title { font-size: 30px; }
	#top .mfa-qbtn .avia_textblock p { font-size: 32px; }
	#top .mfa-soc-head { height: 80px; padding-right: 100px; }
	#top .mfa-soc-head, #top .mfa-soc-head p { font-size: 32px; }
	#top .mfa-soc-head::after { width: 80px; height: 80px; background-size: 40px 40px; }
	.mfa-car--leagues .mfa-car-track { grid-auto-columns: calc((100% - 15px) / 2); gap: 15px; }
	.mfa-car--gallery .mfa-car-track { grid-auto-columns: 75%; gap: 15px; }
	#top .mfa-soc .avia_textblock:not(.mfa-soc-head), #top .mfa-soc .widget { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.mfa-hero-slide, .mfa-car-label, .mfa-arrow { transition: none; }
}
