p {
	margin-bottom: 0px !important;
	font-size: 18px !important;
}

.ast-container {
	padding: 0px !important;
}

@media (max-width: 981px) {
	p {
		font-size: 16px !important;
	}

}

.top-header-bar-column-1 p {
	margin-bottom: 0px !important;
}

.top-header-bar-column-1 {
	gap: 0px !important;
}

.main-header-bar-menu-col {
	display: flex;
    justify-content: center !important;
}

.main-header-bar-logo-col div:first-child {
	z-index: 99;
}

@media (min-width: 767px) and (max-width: 981px) {
	.main-header-bar {
		display: flex !important;
	}
}

@media (max-width: 766px) {
  .main-header-bar{
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-auto-flow: dense !important;
    align-items: center;
  }

  /* 1: logo (row 1 col 1) */
  .main-header-bar > .main-header-bar-logo-col{
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
  }

  /* 3: button (row 1 col 2) */
  .main-header-bar > .main-header-bar-btn-col{
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
  }

  /* 2: menu (row 2 full width) */
  .main-header-bar > .main-header-bar-menu-col{
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }
	
	.main-header-bar > .e-con{
		width: auto !important;
	}
	
	.main-header-bar {
		display: flex !important;
		flex-direction: row !important;
		justify-content: space-between !important;
	}
	
	.main-header-bar-menu-col {
		display: flex !important;
		flex-direction: column !important;
		order: 3 !important;
		margin-right: 10px !important;
	}
}


.hero-section-heading h1 {
  display: inline-block;
  overflow: hidden;
  border-right: 2px solid currentColor; 
  line-height: 1.2;                     
  vertical-align: bottom;
  font-family: "Aleo", Sans-serif !important;
}

/* Apply text-decoration to all h1 and h2 except the hero-section-heading h1 */
h1:not(.hero-section-heading h1) {
  text-decoration: underline; 
}

.home-hero-cta a {
	background: linear-gradient(135deg, #7a1616, #b72741, #77051d) !important;
	font-family: "Aleo", Sans-serif !important;
}

.homepage-mass-time-col p {
	margin-bottom: 0px !important;
}

.home-welcome-col-2 p {
	font-size: 20px !important;
}

@media (min-width: 922px) {
    .ast-container {
        max-width: 100%;
		padding-left: 0px;
		padding-right: 0px;
    }
}

/* .mass-times-section {
	background-position: calc(0% - 0px) calc(55% - 80px) !important;
} */

.sacraments-container {
	background: linear-gradient(135deg, #7a1616 0%, #b72741 50%, #77051d 100%);
	background-repeat: no-repeat;
	background-size: cover;
}

.slogan-with-church-bg-container {
	background-position: center 30% !important;
}

.site-below-footer-wrap[data-section="section-below-footer-builder"] {
	display: none !important;
}

.footer-section {
	background: linear-gradient(135deg, #7a1616 0%, #b72741 50%, #77051d 100%);
	background-repeat: no-repeat;
	background-size: cover;
}

.footer-section-location-col p, .footer-section-contact-col p {
	margin-bottom: 0px !important;
}

/* ---------------------------------
   Newsletter Card Styles
   Prefix: spc-
   This styles the latest newsletter block
   --------------------------------- */

/* outer section block (you can control padding/background of the section here if needed) */
.spc-newsletter-feature {
    /* You can style the section background in Phase 4 if needed */
    margin: 0 auto 2rem auto;
}

/* empty state */
.spc-newsletter-feature--empty {
    text-align: center;
    font-style: italic;
    color: #666;
}

/* the card itself */
.spc-newsletter-card {
    background-color: #fff;
    border: 4px solid #7a1616; /* dark-ish red frame */
/*     box-shadow: 0 8px 20px rgba(0,0,0,0.4); */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* image wrapper */
.spc-newsletter-card__imagewrap {
    position: relative;
    line-height: 0;
    background-color: #000;
}

.spc-newsletter-card__image {
    display: block;
    width: 100%;
    height: 250px !important;
    object-fit: cover;
}

/* "NEWSLETTER" badge */
.spc-newsletter-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #f9d66c; /* warm gold */
    color: #000;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    padding: 6px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
    letter-spacing: 0.03em;
}

/* white body box */
.spc-newsletter-card__body {
    background-color: #fff;
    padding: 1.5rem;
    color: #000;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* title */
.spc-newsletter-card__title {
    margin: 0 0 1rem 0;
    color: #8a0000; /* deep liturgical red */
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 500;
    font-family: Georgia, "Times New Roman", Times, serif; /* more traditional look */
}

/* excerpt paragraph */
.spc-newsletter-card__excerpt {
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #000;
}

/* READ MORE link */
.spc-newsletter-card__readmore {
    margin: 0 0 1.25rem 0;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.spc-newsletter-card__readmore a {
    color: #b8860b; /* muted gold-ish tone */
    text-decoration: none;
}

.spc-newsletter-card__readmore a:hover {
    text-decoration: underline;
}

/* footer row */
.spc-newsletter-card__footer {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #555;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 0.75rem;
}

.spc-newsletter-card__date,
.spc-newsletter-card__comments,
.spc-newsletter-card__sep {
    margin-right: 0.5rem;
}

/* Responsive niceness */
@media (min-width: 480px) {
    .spc-newsletter-feature {
        max-width: 420px;
    }
}

@media (min-width: 768px) {
    .spc-newsletter-feature {
        max-width: 480px;
    }
}

/* ---------------------------------
   Newsletter Archive Grid + Pagination
   Prefix: spc-
   --------------------------------- */

.spc-newsletter-archive {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    padding: 0 1rem;
}

.spc-newsletter-archive__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* each column wrapper around the card */
.spc-newsletter-archive__col {
    display: flex;
}

/* reuse .spc-newsletter-card from Phase 2,
   but now it will stretch full width of its grid cell */
.spc-newsletter-card {
    width: 100%;
}

/* tablet: 2 cols */
@media (min-width: 768px) {
    .spc-newsletter-archive__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* desktop: 3 cols */
@media (min-width: 1024px) {
    .spc-newsletter-archive__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Pagination */
.spc-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    font-size: 0.9rem;
    line-height: 1;
}

.spc-pagination__item .page-numbers {
    display: inline-block;
    min-width: 2rem;
    text-align: center;
    border: 1px solid #4a0a0a; /* same dark red tone as card border */
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    color: #4a0a0a;
    font-weight: 500;
    border-radius: 3px;
    line-height: 1.2;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.spc-pagination__item .page-numbers:hover {
    text-decoration: none;
    background-color: #4a0a0a;
    color: #fff;
}

/* Active page */
.spc-pagination__item .page-numbers.current {
    background-color: #4a0a0a;
    color: #fff;
    pointer-events: none;
}

/* ---------------------------------
   contact form styles
   --------------------------------- */

/* Remove CF7's extra <br> spacing inside labels */
.spc-cf7-label br {
  display: none;
}

/* Hide only the label text, not the input */
.spc-cf7-label {
  font-size: 0;
  line-height: 0;
  margin: 0;
  padding: 0;
  display: block;
}

/* Restore font for actual fields */
.spc-cf7-label .wpcf7-form-control {
  font-size: 16px;
  line-height: 21px;
  font-family: "AR One Sans", sans-serif;
}



/* CF7 sometimes wraps everything in <p> with big margins */
.wpcf7 p {
  margin: 0;
}

/* Add consistent spacing per field wrapper */
.wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 16px;
}

/* Spinner alignment (optional) */
.wpcf7-spinner {
  margin-left: 12px;
}




/* Inputs + textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  font-family: "AR One Sans", sans-serif;
  font-size: 16px;
  line-height: 21px;
  color: rgb(0, 0, 0);

  padding: 14px 18px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background-color: #ffffff;

  outline: none;
  box-shadow: none;
}

/* Placeholder */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  font-family: "AR One Sans", sans-serif;
  font-size: 16px;
  line-height: 21px;
  opacity: 0.7;
}

/* Focus */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: #7A1616;
}

/* Textarea */
.wpcf7 textarea {
  min-height: 160px;
  resize: vertical;
}

/* Submit button */
.wpcf7 .spc-cf7-submit {
  background-color: #7A1616;
  padding: 15px 30px;
  font-family: "AR One Sans", sans-serif;
  font-size: 20px;
  color: #ffffff;
  border-style: none;
  border-radius: 50px;
  cursor: pointer;
}

.wpcf7 .spc-cf7-submit:hover, .wpcf7 .spc-cf7-submit:active, .wpcf7 .spc-cf7-submit:focus {
  filter: brightness(0.8);
  background-color: #7A1616;
}

