@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,700&family=Lato:wght@300;400;600;700&family=Dancing+Script:wght@600;700&display=swap');

/*
TEMPLATE FOR MEDIA QUERIES
	@media screen and (min-width:1180px) {}
	@media screen and (min-width:880px) and (max-width:1179px) {}
	@media screen and (max-width:879px) {}

INDEX
	- PAGE RESET
	- STRUCTURE
	- HEADER
	- FOOTER
	- TYPOGRAPHY
	- ENDPAGE/SEPARATOR
	- SCROLL TO TOP
	- HMENU01
	- VMENU01
	- BULETTINS
	- RELATED LINKS
	- TOP PAGE
	- MISSION & VISION
	- HISTORY
	- LIGHTBOX
	- ICONS GALLERY
	- DEVOTION GALLERY
	- DONATE
	- OUR TEAM PAGE
	- SACRAMENTS
	- HALF COLOR SECTION
	- MUSIC
	- MINI MUSIC PLAYER
	- PAGE INDEX
	- WORD FROM THE PASTOR
*/

/*-----------------------------------------------------------  PAGE RESET ----------------------*/
:root {
	--bg_hd: rgba(51,68,104,.8);   /* #334468 semi-transparent */
	--tx_hd: #FAF7F2;
	--aa_hd: #FAF7F2;
	--ah_hd: #E4D5C2;
	--h1_hd: #FAF7F2;
	--h2_hd: #FAF7F2;
	--h3_hd: #FAF7F2;

	--color_pd: #314568;           /* dark navy   hover/dark states */
	--color_p:  #334468;           /* navy   primary color */
	--color_pl: #E4D5C2;           /* warm beige   light primary */

	--color_ad: #363636;           /* dark charcoal */
	--color_a:  #363636;           /* charcoal   footer, submenus */
	/* --color_al: #E4D5C2; */
	--color_al: #E4D5C2;           /* beige   light accent */

	--color_cl: #FAF7F2;          /* beige   light accent */
	--color_panel: #F0EDE8;        /* light warm gray   bulletin/news side panel background */

	--color_cd: #B76B49;           /* cream   dark content */
	--color_muted: #999;           /* muted / secondary text */

	--confirm: #4fac53;
}


.phone, .fax, a.email, a.web, a.pdf, p.email, dd.email, a {
    color: var(--color_p);
}

#page_navigation a, #section_navigation a, .section_navigation a{
	background: transparent;
	border-color: var(--color_p);
	color: var(--color_p);
	text-decoration: none;
	transition: background 0.25s ease, color 0.25s ease;
}

#page_navigation a:hover, #section_navigation a:hover, .section_navigation a:hover,
#page_navigation a.selected, #section_navigation a.selected, .section_navigation a.selected{
	background: var(--color_p);
	color: #fff;
}

input.submit {
    /* background: var(--color_p); */
    /* color: #FFF !important; */
}
input.submit:hover {
    background: var(--color_pd);
    color: #FFF;
}

html.lg-EN .lg-SP, html.lg-EN .lg-PT { display: none !important; }
html.lg-SP .lg-EN, html.lg-SP .lg-PT { display: none !important; }
html.lg-PT .lg-EN, html.lg-PT .lg-SP { display: none !important; }

/*-----------------------------------------------------------  STRUCTURE -----------------------*/
@media screen and (min-width:1180px) {
	aside, .content { flex-basis: auto;}
	
	section.has_aside aside { 
		order: 2;
		padding: 2.5em 0 0.8em;
	}

	section.has_aside .content { padding: 1.8em 3.125em 1.8em 0; }    
	
	.content { order: 1; padding: 0.8em 0; }
	
	main section.has_aside { /*background: linear-gradient(90deg, #fff calc(100% - 300px), #f9f9f9 300px);*/ }
}

.content_narrow {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}

@media screen and (min-width:880px) and (max-width:1179px) {
	section.has_aside aside { 
		display: flex;
		flex-wrap: wrap;
	}    
}

@media screen and (max-width:879px) {
	section.has_aside aside { 
		display: flex;
		flex-wrap: wrap;
	}    
}

body {
	font-family: 'Lato', sans-serif;
}

main { min-height: 450px; }    

section.has_aside aside {
	position: relative;
	padding-bottom: 63px;
}

input { border-radius: 0; }

aside .spanish{display:none;}

/*-----------------------------------------------------------  HEADER --------------------------*/

/* === GENERAL === */
header {
	background: var(--aa_hd);
	border-bottom: none;
	color: var(--gray4);
	position: relative;
	z-index: 1;
}

header a { color: var(--color_pd); }
header a:hover { color: var(--color_a); }
header h1, header h2, header h3 { color: var(--color_p); }

/* === TOP BAR === */
#header_top {
	/* background: #fff; */
	/* border-bottom: 1px solid var(--gray2); */
	font-size: 13px;
}

#header_top section {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	height: auto !important;
	padding: 7px 0 0px 0;
}

.h_left {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

#h_location, #h_phone {
	display: inline-flex;
	align-items: flex-start;
	gap: 5px;
	color: var(--gray4);
	font-size: 13px;
	line-height: 1.4;
}

#h_location i, #h_phone i {
	color: var(--color_p);
	font-size: 12px;
	margin-top: 2px;
	flex-shrink: 0;
}

#h_phone a {
	color: var(--gray4);
	text-decoration: none;
}

#h_phone a:hover { color: var(--color_p); }

#h_cta {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* DONATE button */
#h_cta > a {
	display: inline-block !important;
	background: transparent !important;
	color: var(--color_pd) !important;
	border: 1px solid var(--color_pd) !important;
	padding: 6px 18px !important;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none !important;
	transition: all 0.2s;
	white-space: nowrap;
	line-height: 1;
}

#h_cta > a:hover {
	background: var(--color_pd) !important;
	color: #fff !important;
}

/* ABCD Campaign button (.btn-abcd)   update the label text each year in main.html */
#h_cta a:not(:first-child),
#h_cta .btn-abcd {
	display: inline-block !important;
	background: var(--color_pd) !important;
	color: #fff !important;
	border: 1px solid var(--color_pd) !important;
	padding: 6px 18px !important;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none !important;
	transition: all 0.2s;
	white-space: nowrap;
	line-height: 1;
}

#h_cta a:not(:first-child):hover,
#h_cta .btn-abcd:hover {
	background: var(--color_p) !important;
	color: #fff !important;
}

/* === LOGO === */

#header_middle section {
	display: flex !important;
	align-items: center;
	justify-content: center !important;
	height: 85px !important;
	padding: 0px 0 10px 0;
	position: relative;
}

#logo {
    display: block;
    background-repeat: no-repeat;
    background-position: left center;
    background-image: url(/ctm/31378/projects/CorpusChristi/layout01/images/CC-LogoREV-Color-Horiz.png);
    background-size: contain;
    position: relative;
    z-index: 800;
    width: 255px;
    height: 75px;
    top: auto;
    left: auto;
}

/* === NAV BAR === */
header > section.relative {
	/* background: #fff; */
	/* border-top: 1px solid var(--gray2); */
	/* border-bottom: 2px solid var(--color_pd); */
	position: relative;
	display: flex;
	align-items: center;
	min-height: 50px;
}

header nav {
	position: relative !important;
	bottom: auto !important;
	right: auto !important;
	margin: 0 auto;
}

/* === UTILITIES === */
.bg-pgtop {
	background: rgba(255,255,255,0.9) url(https://www.parishmate.com//images/template_pm/bg-pgtop-church.jpg) center top no-repeat;
	background-size: cover;
	background-blend-mode: screen;
	background-attachment: fixed;
}

.pg_top {
	height: 400px;
	background-image: url(https://www.parishmate.com//images/template_pm/pg_top.png);
	background-position: center;
	width: 100%;
	background-size: cover;
	max-width: 1150px;
	margin: 0 auto;
}

/* === RESPONSIVE === */
@media screen and (min-width:1180px) {
	/* display:table !important needed to beat the display:flex !important on the base rule above */
	#header_middle section {
		width: auto;
		display: table !important;
	}

	#header_middle {
		width: auto;
		display: table;
		margin: -25px auto 0 auto;
	}
}

@media screen and (min-width:880px) and (max-width:1179px) {
	#logo { width: 250px; height: 78px; }
	#header_middle section { height: 95px !important; }
}

@media screen and (max-width:879px) {
	#header_top .h_left { flex-wrap: wrap; gap: 8px; }
	#header_top section {
		flex-wrap: wrap;
		gap: 8px;
		padding: 8px 0;
		height: auto !important;
	}
	#logo { width: 200px; height: 62px; }
	#header_middle section { height: 80px !important; }
}

/*-----------------------------------------------------------  LANGUAGE SELECTOR  --------------*/

/* push the language form to the right inside the nav bar */
header > section.relative form { margin-left: auto; }

/* flag shown via ::before using data-lang set by JS */
.lg-form {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lg-form::before {
    content: '';
    position: absolute;
    left: 8px;
    width: 22px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 2px;
    pointer-events: none;
    z-index: 1;
}

.lg-form[data-lang="EN"]::before {
    background-image: url('/ctm/31378/projects/CorpusChristi/layout01/images/usa-flag.png');
}
.lg-form[data-lang="SP"]::before {
    background-image: url('/ctm/31378/projects/CorpusChristi/layout01/images/spain-flag.png');
}
.lg-form[data-lang="PT"]::before {
    background-image: url('/ctm/31378/projects/CorpusChristi/layout01/images/brasil-pt-icon.png');
}

.lg-form select {
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    border: 1px solid var(--color_pl);
    border-radius: 3px;
    padding: 5px 24px 5px 36px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color_pd);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23314568'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 8px;
}

.lg-form select:focus { outline: none; border-color: var(--color_pd); }

/*-----------------------------------------------------------  FOOTER --------------------------*/

@media screen and (max-width:879px) {
	#ft_adom .org_info, #ft_adom .newsletter {
        width: 100%;
        margin-bottom: 30px;
        max-width: 280px;
        margin: 0 auto;
    }
	
	footer section { padding: 20px 0; }
	footer#ft_adom .fx_2:nth-child(1n),
	footer#ft_adom .fx_2:nth-child(2n) {
		text-align: center !important;
	}
	footer#ft_adom p{font-size:14px}
	footer#ft_adom h1 {margin-bottom: 20px !important;}
	footer#ft_adom .social{
		justify-content: center !important;
	}
}

footer {
    background-color: var(--color_cl);
    color: #000;
    font-size: 16px;
	padding-top: 30px;
}

footer section { 
	padding: 30px 0; 
	position: relative;
}

footer h1 {
    text-transform: uppercase;
    font-size: 14px !important;
    margin-bottom: 5px !important;
    color: var(--color_p);
}

footer h2 { color: var(--color1d); }
footer h3 { color: var(--color1d); }

footer a { color: #000; }
/* footer a:hover { font-weight: bold; } */

footer#ft_adom .fx_2:nth-child(1n){text-align: left;}
footer#ft_adom .fx_2:nth-child(2n){text-align: right;}

footer#ft_adom p{
	line-height: 15px;
    font-size: 13px;
}

footer#ft_adom section.flex{padding: 3.2em 0 2.5em;}

footer#ft_adom .social{
	font-size: 19px;
	line-height: 30px;
	gap: 11px;
	display: flex;
	justify-content: flex-end;
}

#ft_adom form input[type="submit"]{
	width: 100%;
    max-width: 100px;
    background: var(--color_p);
    color: #FFF;
    text-align: center;
}
#ft_adom form input[type="submit"]:hover{
    background: var(--color_cl);
	color: var(--color_p);
}

.wrap_admin {background-color: var(--color_cl);
    font-family: "Lora", serif;
    justify-content: space-between;
}
.wrap_admin p, 
.wrap_admin a { color: #000; }
.wrap_admin a:hover { color: var(--color_cd); }

.wrap_admin .fx_2 { margin: 0; }

.social-icons {
    display: flex;
    gap: 14px;
    margin-top: 10px;
	margin-bottom: 30px;
  }

  .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color_p);
    color: #FFF;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;

  }

  .social-icons a:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);

  }

/*-----------------------------------------------------------  TYPOGRAPHY   --------------------*/

.content h1 {
	font-family: "Playfair Display", "Playfair", serif;
	color: var(--color_p);
	font-size: clamp(30px, 7vw, 40px);
	margin-bottom: 30px;
}

/* Page title   centered with a small decorative underline, same kicker/underline
   language as .team-intro h1 / .mv_card h2 elsewhere on the site */
.content h1.titlepage {
	position: relative;
	text-align: center;
	padding-bottom: 22px;
	margin: 0 auto 40px;
}

.content h1.titlepage::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 44px;
	height: 2px;
	background: var(--color_pl);
}

.content h2 {
	color: var(--color_a);
	margin-bottom: 4px;
}

.content h3 {
	color: var(--color_ad);
	margin-bottom: 2px;
}

.content h4 {
	color: var(--color_ad);
	font-size: 20px;
	font-weight: 300;
	margin-top: 15px;
}

.content p {
	8px;
	margin-bottom: 12px;
}

.content blockquote {
	margin: 24px 0;
	padding: 18px 24px;
	background: var(--color_cl);
	border-left: 4px solid var(--color_p);
	color: var(--color_ad);
}

.content blockquote p {
	margin: 0;
	color: inherit;
	font-family: "Playfair Display", "Playfair", serif;
	font-style: italic;
	font-size: 18px;
	line-height: 1.7;
}

/* Scripture citation block (e.g. Baptism, Confirmation pages) */
.content .quote {
	position: relative;
	margin: 20px auto 30px;
	padding: 6px 0 6px 36px;
	max-width: 800px;
}

.content .quote::before {
	content: "\201C";
	position: absolute;
	top: -18px;
	left: 0;
	font-family: "Playfair Display", "Playfair", serif;
	font-size: 60px;
	font-weight: 700;
	color: var(--color_pl);
	line-height: 1;
}

.content .quote p {
	margin: 0 0 10px;
	font-family: "Playfair Display", "Playfair", serif;
	font-style: italic;
	font-size: 20px;
	line-height: 1.6;
	color: var(--color_ad);
}

.content .quote p.source {
	font-family: "Lato", sans-serif;
	font-style: normal;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: var(--color_p);
}

/* Eligibility/registration notice callout (e.g. Funeral Mass page) */
.content .notice {
	max-width: 800px;
	margin: 0 auto 30px;
	padding: 16px 24px;
	background: var(--color_cl);
	border-left: 4px solid var(--color_p);
	font-weight: 700;
	color: var(--color_ad);
}

/* Centered contact card   same shadow language as .mv_card/.donate-card elsewhere on the site */
.content .contact-card {
	max-width: 420px;
	margin: 0 auto;
	padding: 34px 30px;
	text-align: center;
	background: var(--color_cl);
	box-shadow: 0 12px 30px rgba(51, 68, 104, 0.08);
}

.content .contact-card h2 {
	margin-top: 0;
	margin-bottom: 18px;
}

.content .contact-card p {
	font-size: 18px;
	margin-bottom: 10px;
}

.content .contact-card i {
	color: var(--color_p);
	margin-right: 8px;
	width: 16px;
	text-align: center;
}

.content .contact-card a {
	color: var(--color_p);
}

.content .contact-card a:hover {
	color: var(--color_pd);
}

.content a.button01 {
	display: block;
	max-width: 260px;
	width: 100%;
	text-transform: uppercase;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	padding: 10px 5px;
	border: 1px solid var(--color_al);
	color: var(--color_al);
	margin: 0 auto 10px;
	transition: all 0.2s linear;
}

.content a.button01:hover {
	background: var(--color_al);
	border: 1px solid var(--color_al);
	color: white;
	transition: all 0.2s linear;
}

/*-----------------------------------------------------------  ENDPAGE/SEPARATOR ---------------*/
.separator {
	background: url(https://www.parishmate.com//images/template_pm/separator.png);
	height: 2px;
	width: 227px;
	margin: 30px auto;
	clear: both;
}

/*-----------------------------------------------------------  SCROLL TO TOP   ------------------*/
#scrollToTop { color: rgba(0,0,0,0.4); }

/*-----------------------------------------------------------  HMENU01   ------------------------*/
@media (min-width: 1180px) {
	/* FIRST LEVEL    -----------------*/
	.hmenu01 ul#main-menu > li > a {
		background-color: transparent;
		color: var(--color_p);
		padding: 13px 20px;
		font-size: 14px;
		font-weight: 600;
		text-decoration: none;
		text-transform: uppercase;
		letter-spacing: 0.5px;
		position: relative;
		transition: color 0.2s;
	}

	.hmenu01 ul#main-menu > li > a::after {
		content: '';
		position: absolute;
		bottom: 10px;
		left: 20px;
		right: 20px;
		height: 2px;
		background: var(--color_p);
		transform: scaleX(0);
		transform-origin: center;
		transition: transform 0.3s ease;
	}

	.hmenu01 ul#main-menu > li > a.selected::after,
	.hmenu01 ul#main-menu > li > a.highlighted::after,
	.hmenu01 ul#main-menu > li > a.current::after {
		transform: scaleX(1);
	}

	.hmenu01 ul#main-menu > li > a:hover {
		color: var(--color_pd);
		background-color: transparent;
	}

	.hmenu01 ul#main-menu > li > a:hover::after {
		background: var(--color_pd);
		transform: scaleX(1);
	}
	
	/* SECOND+ LEVEL    ---------------*/
	.hmenu01 ul#main-menu > li ul { box-shadow: 3px 3px rgba(80,80,80,0.2); }

	.hmenu01 ul#main-menu > li > ul li { width: 100%; }

	.hmenu01 ul#main-menu > li > ul li a {
		background-color: var(--color_p); 
		color: var(--white); 
		border-bottom: 1px solid var(--white);
		padding: 10px 25px 10px 8px;
	}

	.hmenu01 ul#main-menu > li ul li a:hover{ 
		background-color: var(--color_cl);
        color: var(--color_pd);
	} 

	.hmenu01 ul#main-menu > li > ul li:last-child a { border-bottom: none; }

	.hmenu01 ul#main-menu > li > ul li a.has-submenu span.sub-arrow { right: 0.9375em; }

	.hmenu01 ul#main-menu > li > ul li a.has-submenu span.sub-arrow:after {
		content: '\f105';
		font-family: "Font Awesome 5 Free";
		font-weight: 900;
		position: absolute;
	}
}

@media (max-width: 1179px) {
	.hmenu01 > ul#main-menu {
		background-color: var(--color_a);
		width: 240px;
		padding: 0 5px;
		top: 48px;
		left: 0;
	}

	/* FIRST LEVEL    -----------------*/
	.hmenu01 ul#main-menu > li > a {
		color: #ffffff;
		border-bottom: 1px solid #ffffff;
		padding: 12px 5px;
		font-size: 17px;
		font-weight: normal;
		text-decoration: none;
		text-transform: uppercase;
	}
	
	.hmenu01 ul#main-menu > li > a.current,
	.hmenu01 ul#main-menu > li > a.highlighted { 
		border-bottom: none;
		background-color: var(--color_al);
	}    
	
	.hmenu01 ul#main-menu > li:last-child > a { border-bottom: none; }
	
	.hmenu01 ul#main-menu > li > a.has-submenu span.sub-arrow { right: 0.9375em; }

	.hmenu01 ul#main-menu > li > a.has-submenu span:after {
		content: '\f107';
		font-family: "Font Awesome 5 Free";
		font-weight: 900;
		position: absolute;
	}

	.hmenu01 ul#main-menu > li > ul li a:hover { 
		color: var(--white);
		border-bottom-color: var(--white);
		background: var(--color_al);
	}
	
	/* SECOND+ LEVEL    ---------------*/
	.hmenu01 ul#main-menu > li ul { margin: 0 10px 15px; }

	.hmenu01 ul#main-menu > li > ul li a {
		color: white; 
		border-bottom: 1px dotted var(--white);
		padding: 10px 8px;
	}

	.hmenu01 ul#main-menu > li > a.has-submenu span.sub-arrow { right: 0.9375em; }

	.hmenu01 ul#main-menu > li > a.has-submenu span:after {
		content: '\f107';
		font-family: "Font Awesome 5 Free";
		font-weight: 900;
		position: absolute;
	}

	.hmenu01 ul#main-menu > li > ul li a.current { color: var(--color_ad); }
	
	.main-menu-btn { top: 0; }
}

/* hamburger icon */
.main-menu-btn-icon,
.main-menu-btn-icon:before,
.main-menu-btn-icon:after {
	background-color: var(--color_a);
}


/*-----------------------------------------------------------  VMENU01   -----------------------*/
@media screen and (min-width:1180px) {
	.vmenu01.fx_3 {
		position: relative;
		top: -75px;
		z-index: 900;
	}

	.vmenu01.fx_3 ul.side-nav {
		padding: 0 1.5625em;
	}
}

.vmenu01 > h1 {
	background-color: rgba(49,70,144,.8);
	color: white;
	border-top: 1px solid rgb(119, 124, 145);
	display: block;
	text-align: center;
	margin-bottom: 7px;
	height: 35px;
	line-height: 35px;
	width: 300px;
	/*left: -25px;*/
	position: relative;
	text-transform: uppercase;
	font-size: 14px;
}

.mbar {
	background-color: rgba(0,0,0,0.03);
	position: absolute;
	width: 92%;
	height: 100%;
	top: 0;
	left: 4%;
	z-index: -1;
}

.vmenu01 > ul > li {
	border: none;
	margin: 0;
}

.vmenu01 ul li::before{content: none !important;}

.vmenu01 > ul > li > a {
	color: var(--gray4);
	border-bottom: 1px solid transparent;
	border-left: none;
	font-size: 18px;
	padding: 10px 0 5px;
}

.vmenu01 a:hover,
.vmenu01 a.selected{ 
	color: var(--color_ad); 
	border-color: var(--color_ad); 
}

.vmenu01 > ul > li ul { margin: 0 15px 10px 45px !important; }

.vmenu01 > ul > li ul li {
	border-bottom: dashed 1px var(--gray2); 
	text-transform: uppercase;
	font-size: 0.8em;
	transition: .5s ease;
}


/*-----------------------------------------------------------  BULETTINS   ---------------------*/


/*----- NAVIGATION   ---------*/
#archives .section_navigation a {
	border-bottom: 1px solid var(--color_a);
	color: var(--color_a) !important;
	background: transparent;
}

#archives .section_navigation a:hover {
	color: var(--color_al);
	border-bottom-color: var(--color_al);
}

 #archives .section_navigation a.selected { background: var(--color_a); color: white !important; }

a.latest_bulletin.button {
    background: var(--color_p);
    color: #FFF;
}
a.latest_bulletin.button:hover {
    background: var(--color_pd);
    color: #FFF;
}

/*-----  MONTH   ------------*/
@media screen and (min-width:645px) { 
	.month {
		margin: 0 15px 15px 0;
		float: left;
	}
}

#archives { font-family: "Work Sans", sans-serif; }

@media screen and (max-width:644px) { .month { margin: 15px auto; } }

#archives .fx_4 {
	text-align: center;
    float: left;
    background: transparent;
}

#archives .fx_4 h3 {
	background: var(--color_p);
    text-align: center;
    font-weight: normal;
    padding: 0px 10px;
    overflow: hidden;
    color: white;
    font-size: 16px;
    margin: 0;
	line-height: 34px;
}

#archives .fx_4 a {
	color: var(--gray5);
    display: block;
    list-style: none;
    position: relative;
    margin: 0;
    font-size: 14px;
    border-bottom: dashed 1px var(--gray3);
    padding: 5px;
}

#archives .fx_4 a:hover {
	border-color: var(--color_p);
	background: var(--gray1);
    color: var(--color_p) !important;
}

#archives .fx_4 ul li::before {
	content: none;
}

#archives .fx_4 ul li {
	list-style: none;
    background: none !important;
	padding: 0;
    margin: 0 !important;
}

#archives .fx_4 ul {
	margin-left: 0;
}  

/*-----------------------------------------------------------  OUR TEAM   ---------------------*/

.mainline {
	background: var(--color_p);
	color: #FFFFFF;
	text-align: center;
	width: 100%;
	border-radius: 7px;
}

/*.mainline span {
	background: url(../images/phone-icon.png) no-repeat center left;
	padding: 10px 10px 10px 46px;
}*/

.mainline {
	background: var(--color_p);
    color: #FFFFFF;
    text-align: center;
    width: 100%;
    border-radius: 7px;
    padding: 5px 20px;
}
        

.js_fixPosition {
	position: fixed;
	top: 5px;
	left: calc(50% - 138px);
}
        
        

/*-----------------------------------------------------------  DEFAULT TABLE   ---------------------*/
table.default caption {
    background: var(--color_p);
    color: #fff;
    margin-bottom: 5PX;
}

/*-----------------------------------------------------------  LOCATIONS TABLE (Marriage License offices, etc.)   ---------------------*/
.table-locations {
	width: 100%;
	border-collapse: collapse;
	margin: 10px 0 20px;
	font-size: 16px;
}

.table-locations td {
	padding: 10px 14px;
	border-bottom: 1px solid var(--color_pl);
	vertical-align: top;
}

.table-locations tr:nth-child(odd) {
	background: var(--color_cl);
}

.table-locations td:first-child {
	color: var(--color_p);
	white-space: nowrap;
}

/*-----------------------------------------------------------  TODAY'S READINGS   ---------------------*/

/* Accordion list   one gap between each day's bar */
#rsstopic,
#readings_spanish #rsstopic {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Bar header   title left, +/- toggle right */
#readings h2,
#readings_spanish .rsslayer h2 {
  background: var(--color_p);
  color: white;
  margin: 0;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  cursor: pointer;
}

#readings h2:hover,
#readings_spanish .rsslayer h2:hover {
  background: var(--color_pd);
  transition: all 0.3s linear;
}

#readings h2 span,
#readings_spanish .rsslayer h2 span {
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1;
}

/* Expanded content   white panel below the bar */
.rsscontent {
  background: #fff;
  padding: 20px 22px 5px;
}

.rsscontent ul.nested {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  font-size: 14px;
  font-style: italic;
  color: var(--color_muted);
}

.rsscontent ul.nested li::before { content: none; }

.rsscontent .poetry {
  margin-bottom: 10px;
}

.rsscontent .poetry p {
  line-height: 1.8;
}

/* Drop cap on Reading 1 and the Gospel   always the first and last .poetry block
   in each day's markup, so this targets them structurally no matter what the
   RSS feed's text is that day. Psalm/Alleluia are skipped since they open with
   the "R." refrain marker, not a real first letter. */
.rsscontent .poetry:first-of-type p::first-letter,
.rsscontent .poetry:last-of-type p::first-letter {
  float: left;
  font-family: "Playfair Display", "Playfair", serif;
  font-size: 3.6em;
  font-weight: 700;
  line-height: 0.8;
  color: var(--color_p);
  padding: 5px 8px 0 0;
}

.rsscontent a {
    font-style: italic;
    color: var(--color_pd);
	font-weight: bold;
}
.rsscontent a:hover {
    color: var(--color_pl);
}

/* Copyright line at the end of each day's readings */
.rsscontent > p {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid var(--color_cl);
  font-size: 12px;
  line-height: 1.6;
  color: var(--color_muted);
}

@media screen and (max-width: 879px) {
  #readings h2,
  #readings_spanish .rsslayer h2 {
    padding: 12px 16px;
    font-size: 14px;
  }

  .rsscontent {
    padding: 16px 16px 5px;
  }

  .rsscontent .poetry:first-of-type p::first-letter,
  .rsscontent .poetry:last-of-type p::first-letter {
    font-size: 2.6em;
    padding: 3px 6px 0 0;
  }
}

/*-----------------------------------------------------------  RELATED LINKS   ---------------------*/
.hm_related {
    margin-top: 25px;
}
.hm_related h1 {
    font-size: 24px;
    color: var(--gray4);
    margin: 0 0 30px;
}

#swiper_related h1 {
	color: var(--gray5);
	font-size: clamp(20px, 2vw, 26px);
}

/* Container clips slides so the carousel never bleeds past its own box */
#swiper-related { overflow: hidden; }

#swiper-related .swiper-wrapper { align-items: center; }

/* Fixed-height row so every logo lines up on the same vertical center regardless of its own aspect ratio */
#swiper-related .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 90px;
}

#swiper-related .swiper-slide img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	filter: grayscale(100%);
	opacity: 0.7;
	transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

#swiper-related .swiper-slide:hover img {
	filter: grayscale(0%);
	opacity: 1;
	transform: scale(1.06);
}

/* Navigation arrows hidden   autoplay/loop carries the carousel */
#swiper_related .swiper-button-prev,
#swiper_related .swiper-button-next {
	display: none;
}

/*-----------------------------------------------------------  TOP PAGE  -----------------------*/

#top_page {
	position: relative;
	width: 100%;
	background-size: cover;
	background-position: center;
	height: 100vh;
	max-height: 800px;
	transition: 0.3s;
}

#top_page-img {
	position: relative;
	width: 100%;
	background-size: cover;
	background-position: center;
	height: auto;
	overflow: hidden;
	transition: 0.3s;
}

.caption {
	position: absolute;
	bottom: 4px;
	left: 0;
	z-index: 0;
	padding: 5px 20px;
	background: rgb(0 0 0 / 59%);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	display: none;
}

.caption p {
	margin: 0;
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #fedbad;
}

img.imgtop {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 0;
}

/*-----------------------------------------------------------  MISSION & VISION  -----------------*/

.hm_mission {
	position: relative;
	padding: 70px 0 80px;
	background: var(--color_cl);
	overflow: hidden;
}

/* Faint watermark centered behind the cards   reuses the existing IHS/grape symbol asset */
.hm_mission::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 600px;
	height: 600px;
	transform: translate(-50%, -50%);
	background: url(/ctm/31378/projects/CorpusChristi/gallery/2026/07/bg-symbolofCC.png) center / contain no-repeat;
	opacity: 0.4;
	pointer-events: none;
}

.hm_mission .content {
	position: relative;
	z-index: 1;
}


.mv_grid {
	display: flex;
	gap: 36px;
	align-items: stretch;
}

.mv_card {
	flex: 1;
	background: #fff;
	padding: 44px 40px;
	text-align: center;
	box-shadow: 0 12px 30px rgba(51, 68, 104, 0.08);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mv_card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 36px rgba(51, 68, 104, 0.14);
}

.mv_kicker {
	display: block;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--color_pl);
}

.mv_card h2 {
	position: relative;
	font-family: "Playfair Display", "Playfair", serif;
	font-size: clamp(24px, 2.4vw, 30px);
	font-weight: 700;
	color: var(--color_p);
	margin: 4px 0 20px;
	padding-bottom: 18px;
}

.mv_card h2::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 44px;
	height: 2px;
	background: var(--color_pl);
}

.mv_card p {
	line-height: 1.85;
	color: var(--color_ad);
	margin: 0;
}

@media screen and (max-width: 879px) {
	.hm_mission { padding: 50px 20px 60px; }

	.hm_mission::before { width: 340px; height: 340px; }

	.mv_grid { flex-direction: column; gap: 24px; }

	.mv_card { padding: 34px 26px; }
}

/*-----------------------------------------------------------  HISTORY  -----------------*/

.hm_history { padding: 70px 0 80px; background: var(--color_cl); }

.history-copy { margin: 0 auto 50px; }

.history-copy .text-column2 p { line-height: 1.7; }

.history-copy .history-quote {
	font-family: "Playfair Display", "Playfair", serif;
	font-size: clamp(19px, 2vw, 22px);
	font-weight: 500;
	line-height: 1.5;
	color: var(--color_p);
	text-align: center;
	margin: 34px 0 0;
}

/* Video */
.history-video { max-width: 760px; margin: 0 auto 60px; text-align: center; }

.history-video-frame {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	overflow: hidden;
	box-shadow: 0 16px 34px rgba(51, 68, 104, 0.18);
}

.history-video-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.history-video-caption {
	margin: 14px 0 0;
	font-size: 14px;
	font-style: italic;
	color: var(--color_muted);
}

/* Timeline   vertical line down the center, milestones alternating left/right. Each dated entry pairs one archival photo with a short caption */
.hm_timeline {
	position: relative;
	max-width: 980px;
	margin: 0 auto;
	padding: 20px 0;
}

.hm_timeline::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	transform: translateX(-50%);
	background: var(--color_pl);
}

.tl_item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 50px;
	margin-bottom: 60px;
}

.tl_item:nth-child(even) { flex-direction: row-reverse; }

.tl_item:last-child { margin-bottom: 0; }

.tl_photo {
	flex: 0 0 calc(50% - 25px);
	border: 1px solid var(--color_pl);
	background: #fff;
	padding: 8px;
	border-radius: 4px;
	box-shadow: 0 10px 24px rgba(51, 68, 104, 0.12);
	overflow: hidden;
}

.tl_photo img {
	display: block;
	width: 100%;
	height: 290px;
	object-fit: cover;
	border-radius: 2px;
	filter: grayscale(20%);
	transition: transform 0.5s ease, filter 0.5s ease;
}

.tl_photo:hover img {
	transform: scale(1.06);
	filter: grayscale(0%);
}

.tl_dot {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 16px;
	transform: translate(-50%, -50%);
	background: var(--color_p);
	border: 3px solid var(--color_cl);
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--color_pl);
	z-index: 1;
}

.tl_text { flex: 0 0 calc(50% - 25px); }

.tl_year {
	display: inline-block;
	font-family: "Playfair Display", "Playfair", serif;
	font-weight: 700;
	font-size: 22px;
	color: var(--color_p);
	margin-bottom: 8px;
}

.tl_text p {
	line-height: 1.7;
	color: var(--color_ad);
	margin: 0;
}

@media screen and (max-width: 879px) {
	.hm_history { padding: 50px 20px 60px; }

	.hm_timeline::before { left: 10px; }

	.tl_item,
	.tl_item:nth-child(even) {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		margin-bottom: 40px;
		padding-left: 34px;
	}

	.tl_photo, .tl_text { flex: 0 0 auto; width: 100%; }

	.tl_dot { top: 10px; left: 10px; }
}

/*-----------------------------------------------------------  LIGHTBOX  -----------------*/

/* Applied to any <img class="js-lightbox">   click to open enlarged in a modal */
.js-lightbox { cursor: zoom-in; }

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(19, 24, 36, 0.92);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0s linear 0.3s;
	padding: 40px;
}

.lightbox.active {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.3s ease;
}

.lightbox-img {
	max-width: 100%;
	max-height: 90vh;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	transform: scale(0.96);
	transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img { transform: scale(1); }

.lightbox-close {
	position: absolute;
	top: 24px;
	right: 32px;
	color: white;
	font-size: 36px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.8;
	transition: opacity 0.2s ease;
}

.lightbox-close:hover { opacity: 1; }

body.lightbox-open { overflow: hidden; }

@media screen and (max-width: 879px) {
	.lightbox-close { top: 14px; right: 20px; font-size: 30px; }
}

/*-----------------------------------------------------------  ICONS GALLERY  -----------------*/

.icons-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 34px;
}

.icons-filter-btn {
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 10px 20px;
	border: 1px solid var(--color_p);
	background: transparent;
	color: var(--color_p);
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.icons-filter-btn:hover { background: var(--color_pl); }

.icons-filter-btn[aria-pressed="true"] {
	background: var(--color_p);
	color: #fff;
}

.icons-section {
	margin: 0 0 20px;
}

.icons-section.is-hidden { display: none; }

.icons-list {
	display: flex;
	flex-direction: column;
	gap: 26px;
	margin: 0 0 46px;
}

.icons-list.is-hidden { display: none; }

.icon-item {
	display: flex;
	gap: 26px;
	align-items: flex-start;
	background: #fff;
	box-shadow: 0 12px 30px rgba(51, 68, 104, 0.08);
	padding: 22px;
}

.icon-item.is-hidden { display: none; }

.icon-item img {
	flex: 0 0 200px;
	width: 200px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	cursor: zoom-in;
}

.icon-item-body { flex: 1 1 auto; min-width: 0; }

.icon-item-body h4 {
	font-family: "Playfair Display", "Playfair", serif;
	font-weight: 700;
	color: var(--color_p);
	font-size: 21px;
	margin: 0 0 10px;
}

.icon-item-body p {
	font-size: 17px;
	line-height: 1.7;
	color: var(--color_ad);
	margin-bottom: 10px;
}

@media screen and (max-width: 879px) {
	.icons-filter-btn { font-size: 13px; padding: 9px 16px; }
}

@media screen and (max-width: 639px) {
	.icon-item { flex-direction: column; }
	.icon-item img { width: 100%; flex-basis: auto; aspect-ratio: 16 / 10; }
}

/*-----------------------------------------------------------  DEVOTION GALLERY  -----------------*/

/* Video gets its own heading + shadowed card so it reads as a deliberate module, not a bare iframe dropped between text and gallery */
.cm-video-module {
	max-width: 760px;
	margin: 50px auto 0;
	text-align: center;
}

.cm-video-module h3 { margin-top: 0; }

.cm-video-card {
	background: #fff;
	padding: 22px;
	box-shadow: 0 16px 34px rgba(51, 68, 104, 0.18);
}

.cm-video-card .video { margin-bottom: 0; }

@media screen and (max-width: 639px) {
	.cm-video-card { padding: 14px; }
}

/* Full-bleed band so the photo gallery reads as a distinct block from the text/video above   same technique as .hm_history/.hm_mission */
.cm-gallery-band {
	background: var(--color_cl);
	padding: 50px 0 60px;
	margin-top: 44px;
}

.cm-gallery-band h3 { margin-top: 0; }

.cm-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 16px;
	margin: 20px 0 10px;
}

.cm-gallery img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	box-shadow: 0 8px 20px rgba(51, 68, 104, 0.1);
	transition: transform 0.3s ease;
}

/*-----------------------------------------------------------  DONATE  -----------------*/

/* Full-bleed band so "Ways You Can Donate" reads as a distinct block from the intro text above   same technique as .cm-gallery-band/.hm_history */
.donate-band {
	background: var(--color_cl);
	padding: 50px 0 60px;
}

.donate-band h3 { margin-top: 0; }

/* Card chrome only   column widths/wrapping come from the platform's .flex + .fx_3 (structure.css) */
.donate-card {
	background: #fff;
	padding: 34px 30px;
	text-align: center;
	box-shadow: 0 12px 30px rgba(51, 68, 104, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donate-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 36px rgba(51, 68, 104, 0.14);
}

.donate-card h4 {
	font-family: "Playfair Display", "Playfair", serif;
	font-weight: 700;
	color: var(--color_p);
	font-size: 22px;
	margin: 0 0 16px;
}

.donate-card .button01 { margin-top: 14px; }

/*-----------------------------------------------------------  OUR TEAM PAGE  -----------------*/

/* Page intro   cream band, centered, same kicker/underline language as .mv_card */
.team-intro {
	background: var(--color_cl);
	padding: 60px 0 50px;
	text-align: center;
}

.team-intro .content { max-width: 720px; margin: 0 auto; }

.team-intro-kicker {
	display: block;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--color_p);
}

.team-intro h1 {
	position: relative;
	margin: 8px 0 24px;
	padding-bottom: 20px;
}

.team-intro h1::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 44px;
	height: 2px;
	background: var(--color_pl);
}

.team-intro p {
	font-size: 18px;
	line-height: 1.85;
	color: var(--color_ad);
	margin-bottom: 0;
}

@media screen and (max-width: 879px) {
	.team-intro { padding: 44px 0 38px; }
}

/* Each category is its own full-bleed strip; alternating tint separates them without dividers */
.team-section { padding: 50px 0 60px; }

.team-section-tint { background: var(--color_cl); }

.team-section h3 { margin-top: 0; margin-bottom: 30px; }

.cm-gallery img:hover { transform: translateY(-4px); }

/* Card chrome   column widths/wrapping come from the platform's .flex + .fx_3/.fx_4 (structure.css) */
.team-section dl {
	margin: 0;
	background: #fff;
	padding: 30px 24px 34px;
	text-align: center;
	box-shadow: 0 12px 30px rgba(51, 68, 104, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-section dl:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 36px rgba(51, 68, 104, 0.14);
}

.team-section dt {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
}

.team-section dt img {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--color_cl);
	box-shadow: 0 6px 16px rgba(51, 68, 104, 0.18);
}

/* Ext. XXX placeholder link   see content/OurTeam-textarea-content.html header note */
.team-section dt a.phone {
	font-size: 12px;
	font-weight: 600;
	color: var(--color_pd);
	background: var(--color_cl);
	padding: 4px 12px;
	border-radius: 12px;
	text-decoration: none;
	letter-spacing: 0.3px;
	transition: background 0.2s ease;
}

.team-section dt a.phone:hover { background: var(--color_pl); }

.team-section .OT-name {
	font-family: "Playfair Display", "Playfair", serif;
	font-weight: 700;
	font-size: 19px;
	color: var(--color_p);
	margin: 0 0 4px;
}

.team-section .OT-function {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	line-height: 1.5;
	color: var(--color_muted);
	/* Reserves 2 lines so every card matches height, even when a sibling row's titles are longer/shorter */
	min-height: 3em;
}

@media screen and (max-width: 879px) {
	.team-section { padding: 40px 0 46px; }

	.team-section dl { margin-bottom: 20px; }

	.team-section dt img { width: 110px; height: 110px; }
}

/*-----------------------------------------------------------  SACRAMENTS  ---------------------*/

@media screen and (min-width: 1120px) {
	.sacrament_bg {
		width: 100%;
		display: table;
		background-size: 552px !important;
		background-repeat: no-repeat!important;
		transition: all .2s ease-in-out;
		max-width: 1520px;
		margin: 0 auto;
		/*filter: grayscale(100%);*/
	}
}

@media screen and (max-width: 1119px) {
	.sacrament_bg {background: none !important;}
}

/*-----------------------------------------------------------  HALF COLOR SECTION ---------------*/
@media screen and (min-width:1180px) {
	.wrap_half {
		position: relative;
		background-color: var(--white);
		height: auto;
	}
	.Half_ColorR {
		background: var(--gray1);
		height: 100%;
		width: 50%;
		position: absolute;
		z-index: 0;
		background-size: cover;
		color: white;
		right: 0;
	}

	.Half_ColorL {
		background: var(--gray1);
		height: 100%;
		width: 50%;
		position: absolute;
		z-index: 0;
		background-size: cover;
		color: white;
		left: 0;
	}

	center.content_f2 {
		padding: 10px;
		text-align: justify;
	}

	center.content_f2 h2{text-align: center;}
}
@media screen and (max-width:1179px) {
  .wrap_half section > .flex > .fx_2 {
    width: 100%;
    background-color: var(--white);
  }
}

/*-----------------------------------------------------------  MUSIC  ---------------------------*/

.music dl {
	margin-bottom: 30px;
}

.music dl dt {
	background-color: var(--color_p);
	color: #FFF;
	text-align: center;
	padding: 8px 3px;
	border-bottom: 1px solid var(--color_p);
	height: 36px;
}

.music dl dd {
	padding: 8px 15px;
	border-bottom: 1px dashed var(--gray3);
}

.music dl dd.form {
	font-style: italic;
	color: var(--gray4);
}

form.default fieldset dd label {
	all: unset;
	cursor: pointer;
}

.music form.default fieldset input[type="radio"]{
	position: relative;
	width: 16px !important;
	height: 16px !important;
	top: 0;
	left: -10px;
}

/*-----------------------------------------------------------  MINI MUSIC PLAYER  ---------------*/

/* Floating widget   opens on song preview click (see marriage-music-header.html) */
#mmp-player {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 300px;
	background: var(--color_pd);
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.45);
	z-index: 9999;
	display: none;
	overflow: hidden;
}

#mmp-player.mmp-open { display: block; }

#mmp-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	background: var(--color_ad);
	gap: 8px;
}

#mmp-title {
	color: var(--color_cl);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: 1;
}

#mmp-close {
	background: none;
	border: none;
	color: var(--color_muted);
	font-size: 18px;
	cursor: pointer;
	padding: 0;
	line-height: 1;
	flex-shrink: 0;
}

#mmp-close:hover { color: #fff; }

#mmp-frame-wrap { width: 300px; height: 170px; }

#mmp-frame-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* Small play button injected next to each song label */
.mmp-play-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1.5px solid var(--color_p);
	background: transparent;
	color: var(--color_p);
	cursor: pointer;
	padding: 0;
	margin-left: 10px;
	transition: background 0.15s, color 0.15s, transform 0.12s, opacity 0.15s;
	opacity: 0.35;
}

.mmp-play-btn svg { width: 9px; height: 9px; margin-left: 1px; }

.music dd:hover .mmp-play-btn { opacity: 0.85; }

.mmp-play-btn:hover { background: var(--color_p); color: #FFF; opacity: 1; transform: scale(1.1); }

.mmp-play-btn:active { transform: scale(0.9); }

.music dd { display: flex; align-items: center; }

.music dd label { flex: 1; }

/*-----------------------------------------------------------  PAGE INDEX ----------------------*/

.content .box_index {
	border-color: var(--color_a);
}

.content .box_index h1 {
	background-color: var(--color_pd);
	color: var(--white);
	padding: 5px 10px;
	text-transform: uppercase;
}

.content .box_index .page_index a {
	border-bottom: 1px dotted var(--color_a);
	font-size: 14px;
}

.index_this h3 {
	color: var(--color_p);
}

.index_back a {
	color: var(--color_p);
}

.index_back a:hover {
	color: var(--color_pd);
}

/*-----------------------------------------------------------  WORD FROM THE PASTOR  ------------*/

.wtp-wrap {
	position: relative;
	padding: 70px 0 80px;
	background: var(--color_cl);
	overflow: hidden;
}

/* Faint IHS/grape symbol watermark   tucked in a corner, low opacity, so it
   never sits directly behind the letter text (was hurting contrast/legibility
   when centered at 0.4 opacity right behind the paragraphs) */
.wtp-wrap::before {
	content: "";
	position: absolute;
	top: -60px;
	right: -80px;
	width: 420px;
	height: 420px;
	background: url(/ctm/31378/projects/CorpusChristi/gallery/2026/07/bg-symbolofCC.png) center / contain no-repeat;
	opacity: 0.16;
	pointer-events: none;
}

.wtp-wrap .content {
	position: relative;
	z-index: 1;
}

/* Letter sits on its own solid white "paper" card, floating above the cream
   background + watermark   keeps the text at full contrast and caps the line
   length to a comfortable reading measure regardless of viewport width */
.wtp-card {
	background: #fff;
	max-width: 980px;
	margin: 0 auto;
	padding: 50px 56px;
	box-shadow: 0 16px 40px rgba(51, 68, 104, 0.12);
}

.wtp-flex {
	display: flex;
	align-items: flex-start;
	gap: 46px;
}

/* Pastor photo/contact card, pulled in via ##get_textarea(our_team, key)##  
   same <dl>/<dt>/<dd class="OT-name|OT-function"> markup as the Our Team
   page, restyled here since it's outside .team-section */
.wtp-wrap dl {
	margin: 0;
	flex: 0 0 220px;
	background: var(--color_cl);
	padding: 30px 24px 26px;
	text-align: center;
}

.wtp-wrap dt {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
}

.wtp-wrap dt img {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid var(--color_cl);
	box-shadow: 0 6px 16px rgba(51, 68, 104, 0.18);
}

.wtp-wrap dt a.phone {
	font-size: 12px;
	font-weight: 600;
	color: var(--color_pd);
	background: var(--color_cl);
	padding: 4px 12px;
	border-radius: 12px;
	text-decoration: none;
	letter-spacing: 0.3px;
	transition: background 0.2s ease;
}

.wtp-wrap dt a.phone:hover { background: var(--color_pl); }

.wtp-wrap .OT-name {
	font-family: "Playfair Display", "Playfair", serif;
	font-weight: 700;
	font-size: 21px;
	color: var(--color_p);
	margin: 0 0 4px;
}

.wtp-wrap .OT-function {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--color_muted);
}

/* Letter */
.wtp-message { flex: 1; min-width: 0; }

.wtp-message h2 {
	font-family: "Playfair Display", "Playfair", serif;
	font-weight: 400;
	font-size: clamp(26px, 3vw, 34px);
	color: var(--color_p);
	margin: 0 0 24px;
}

.wtp-message p {
	font-size: 18px;
	line-height: 1.85;
	color: var(--color_ad);
	margin: 0 0 20px;
}

/* Signature block   cursive webfont stands in for a scanned signature */
.wtp-signature {
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid var(--color_pl);
}

.wtp-sign-name {
	font-family: "Dancing Script", cursive;
	font-weight: 700;
	font-size: 42px;
	line-height: 1;
	color: var(--color_p);
	margin: 0 0 6px;
}

.wtp-sign-title {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--color_muted);
}

@media screen and (max-width: 879px) {
	.wtp-wrap { padding: 50px 16px 60px; }

	.wtp-wrap::before { width: 260px; height: 260px; top: -30px; right: -50px; }

	.wtp-card { padding: 34px 22px; }

	.wtp-flex { flex-direction: column; align-items: center; gap: 26px; }

	.wtp-wrap dl { flex: none; max-width: 280px; width: 100%; }

	/* Photo card + signature read fine centered as short, self-contained
	   blocks   but the letter's paragraphs stay left-aligned, since centering
	   multi-line body text makes it harder to read, not easier */
	.wtp-signature { text-align: center; }
}

/*-----------------------------------------------------------  THANKS PAGE  --------------------*/

.thanks-page { padding: 40px 0; }

.thanks-page h2 {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.6;
	margin: 0 0 30px;
}

/* Same solid navy CTA language as .hm_pagetop .content .pagetop-cta .btn */
.thanks-page .btn {
	display: inline-block;
	width: auto;
	max-width: 80%;
	background: var(--color_p);
	color: white;
	text-transform: uppercase;
	font-weight: 600;
	font-size: clamp(11px, 12px, 14px);
	letter-spacing: 1px;
	padding: 12px 22px;
	transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.thanks-page .btn:hover {
	background: var(--color_pd);
	color: white;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(51, 68, 104, 0.3);
}
