/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Trio Solutions
Author URI:
Description:
Tags: 
Version: 4.11.15.1764592823
Updated: 2025-12-01 07:40:23

*/

@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@400;700&display=swap');

h1, h2, h3, h4, h5, h6, p {
  word-break: normal !important;
  overflow-wrap: normal;
}

/*announcement bar*/

.announcement-bar {
    background: #25408f;
    color: #ffffff;
    font-size: 20px;
}

.announcement-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.announcement-link {
    color: #ffffff;
    text-decoration: underline;
}

.top-header {
  height: 37px;
  display: flex;
  align-items: center;
}
.site-title a {
  letter-spacing: 3px;
}
#ast-hf-menu-1 > li:not(:last-child) > a {
  position: relative;
}

#ast-hf-menu-1 > li:not(:last-child) > a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 24px;              
  width: 2px;
  background-color: #0B2682;    
}
.hero-slider-img .swiper-content {
  min-height: 436px;
  background-position: 50% 50%;
}
.hero-slider .swiper-button-prev {
  left: -100px !important;
}
.hero-slider .swiper-button-next {
  right: -100px !important;
}

.hero-slider-1 .swiper-content {
  background-position: 50% 40%;
}
.hero-slider-2 .swiper-content {
  background-position: 50% 15%;
}
.hero-slider-3 .swiper-content {
  background-position: 50% 40%;
}
.hero-slider-4 .swiper-content {
  background-position: 50% 10%;
}

.wp-block-button__link {
  transition: 0.3s ease all !important;
  box-shadow: inset 0px 0px 0px 2px rgba(255, 255, 255, .9) !important;
  border-width: 2px !important;
}

.footer-btn {
  background: #f3f3f3;
  padding: 1em 2em;
  display: block;
  width: fit-content;
  color: #21438b !important;
  border: 1px solid #fff;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  transition: 0.3s ease all !important;
  box-shadow: inset 0px 0px 0px 2px rgb(211, 35, 42) !important;
  border-width: 2px !important;
  font-family: "Anton";
  letter-spacing: 2px;
}
.footer-btn:hover {
  color: #f3f3f3 !important;
  background: transparent;
}
.site-footer-above-section-2.site-footer-section.site-footer-section-2 {
  justify-self: end;
}

.site-above-footer-wrap.ast-builder-grid-row-container.site-footer-focus-item.ast-builder-grid-row-full.ast-builder-grid-row-tablet-full.ast-builder-grid-row-mobile-full.ast-footer-row-stack.ast-footer-row-tablet-stack.ast-footer-row-mobile-stack {
  border-bottom: 10px solid #be202f;
}
.site-primary-footer-wrap.ast-builder-grid-row-container.site-footer-focus-item.ast-builder-grid-row-4-equal.ast-builder-grid-row-tablet-4-equal.ast-builder-grid-row-mobile-full.ast-footer-row-stack.ast-footer-row-tablet-stack.ast-footer-row-mobile-stack {
  padding: 0 1em;
}
/* Make the whole card act like a clickable tile */
.link-card {
  cursor: pointer;
}
.link-card:hover .wp-block-heading,
.link-card:hover h4,
.link-card:hover h3 {
  color: #be202f; /* change this to your desired hover color */
  transition: color 0.2s ease-in-out;
}

/*Upcoming events*/

/* Events grid */
.sp-events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 100px;
  align-items: stretch;
}

/* Event card */
.sp-event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Image */
.sp-event-image-link {
  display: block;
  overflow: hidden;
  position: relative;
}

.sp-event-image-link,
.sp-event-placeholder-image {
  flex-shrink: 0;
}

.sp-event-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  transition: transform 0.35s ease;
}

.sp-event-card:hover .sp-event-image {
  transform: scale(1.06);
}

/* Placeholder if no image set */
.sp-event-placeholder-image {
  background: #003399; /* adjust to your school blue */
  min-height: 200px;
}

/* Content */
.sp-event-content {
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.sp-event-title {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.sp-event-title a {
  text-decoration: none;
}

.sp-event-date {
  font-weight: bold;
  margin: 0 0 0.75rem;
  color: #be202f;
}

.sp-event-excerpt {
  flex: 0 0 auto;
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
}

/* Ticket button */

.sp-event-tickets {
  margin-top: auto;
}

.sp-event-ticket-button {
  display: inline-block;
  padding: 16px 32px;
  text-decoration: none !important;
  border: 1px solid #be202f;
  background: #be202f;
  color: #fff;
  text-transform: uppercase;
  transform: 0.3s ease all;
  font-weight: 400;
  font-family: "Anton";
  font-size: 16px;
  letter-spacing: 2px;
  box-shadow: inset 0px 0px 0px 2px rgba(255, 255, 255, .9) !important;
  border-width: 2px !important;
  transition: .3s ease all;
	width: 300px;
	text-align: center;
}

.sp-event-ticket-button:hover {
  background: transparent;
  color: #be202f;
}
.sp-event-ticket-button:focus {
  color: #fff;
}
.sp-event-card-link:hover {
  color: #1c3e95;
}

/*End upcoming events*/

/*calendar styling*/

.sp-calendar {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  table-layout: fixed;
}

.sp-calendar th {
  background: #003399;
  color: #fff;
  padding: 0.75rem;
  text-align: center;
  font-weight: bold;
  font-size: 12px;
}

.sp-calendar td {
  border: 1px solid #ddd;
  padding: 6px;
  position: relative;
  height: 150px;
  vertical-align: top;
  overflow: hidden;
}

.sp-calendar td .sp-day-event {
  white-space: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  line-height: 1.4;
}

.sp-empty {
  background: #f9f9f9;
}

.sp-day-number {
  font-weight: bold;
  margin-bottom: 4px;
}

.sp-day-event:hover {
  color: #d3232a;
  background: #fff;
}

.sp-calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.sp-cal-nav-btn {
  background: #003399;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Anton',sans-serif;
}

.sp-cal-nav-btn:hover {
  opacity: 0.9;
}

/*end calendar styling*/

/*publications styling*/

.sp-pagination {
  display: flex;
  justify-content: center;
  font-size: 24px;
  gap: 16px;
  font-family: 'Anton',sans-serif;
}

.sp-pagination .page-numbers.current {
  color: #d3232a;
}

.sp-publication-grid h3 {
  font-size: 20px;
}

/* GRID LAYOUT */
.sp-publication-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin: 2rem 0;
  max-width: 1200px;
}

/* CARDS */
.sp-publication-card {
  background: #fff;
  padding: 1rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: flex-start;
  gap: 16px;
  text-decoration: none !important;
}

.sp-publication-card:hover h3 {
  color: #d3232a;
  transition: .3s ease all;
}

/* IMAGE */
.sp-publication-image img {
	border-radius: 4px;
	margin-bottom: 1rem;
	aspect-ratio: 4/5;
	width: 100%;
	background-size: cover;
}

/* TITLE */
.sp-publication-title {
  font-size: 1.1rem;
  color: #003399;
  margin-bottom: 0.75rem;
}

/* EXCERPT */
.sp-publication-excerpt {
  flex: 1;
  margin-bottom: 1.5rem;
}

/* BUTTON */
.sp-publication-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #b41f23;
  color: #fff;
  text-decoration: none !important;
  transition: 0.3s ease all;
  border: 1px solid #b41f23;
}

.sp-publication-button:hover {
  color: #b41f23;
  background: transparent;
}

.sp-publication-button-wrap {
  text-align: center;
}
.sp-publication-card img {
  aspect-ratio: 8 / 10;
  width: 100%;
  object-fit: cover;
}

/*end publications styling*/

/*start swiper slider*/

.swiper {
  overflow: visible;
}

/* Slider container override */
.sp-peek-slider {
  width: 100%;
  padding-bottom: 40px;
  overflow: visible !important; /* ensures side slides are visible */
}

/* Slides */
.sp-peek-slider .swiper-slide {
  text-align: center;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.35s ease;
  width: 70%; /* REQUIRED for slidesPerView:auto */
  max-width: 850px;
}

.sp-peek-slider .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  aspect-ratio: 16/9;
  margin: 4em 0;
}

.sp-peek-slider img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* Make center slide slightly larger */
.sp-peek-slider .swiper-slide.swiper-slide-active {
  transform: scale(1.5, 1.5);
  z-index: 1;
}

.sp-peek-slider,
.sp-peek-slider .swiper,
.sp-peek-slider .swiper-wrapper {
  overflow: visible !important;
}

/* Navigation arrows */
.swiper-button-next,
.swiper-button-prev {
  background: red;
  padding: 2em;
  border-radius: 99px;
  color: #fff !important;
}
.swiper-button-next {
  right: 67px !important;
}

.swiper-button-prev {
  left: 67px !important;
}

/* Pagination dots */
.swiper-pagination-bullet {
  background: #aaa;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #003399;
}

/* Base: all slides get a dark overlay */
.sp-peek-slider .swiper-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  transition: opacity 0.3s ease;
  pointer-events: none;
  opacity: 1;
  aspect-ratio: 16/9;
  margin: 4em 0;
}

/* The main centered slide should have NO overlay */
.sp-peek-slider .swiper-slide-active::after {
  opacity: 0;
}

/* Make sure slides can show overlay */
.sp-peek-slider .swiper-slide {
  position: relative;
}

/*end swiper slider*/

.homepage-terrier img {
  position: absolute;
  top: -274px;
  z-index: 0;
  width: 75%;
  right: 97px;
}

.site-above-footer-wrap {
  z-index: 9999999999;
  position: relative;
}
.hero-text {
	position: relative;
}
.hero-text h1 {

}
.ast-above-header-bar .site-above-header-wrap {
  min-height: 4px;
}

.event-header {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: #0e3a8a;
  font-size: 30px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  line-height: 1.2em;
}

.event-header__line {
  flex: 1;
  height: 2px;
  background: #0e3a8a;
  opacity: 0.35;
}

.script-blue h2 {
  -webkit-text-stroke: 2px #21438b;
}

.script-white h2 {
  -webkit-text-stroke: 2px #fff;
}

.script-red h2 {
  -webkit-text-stroke: 2px #d3232a;
}

.through-the-years {
  display: flex;
  justify-content: center;
}

.through-the-years h2::before {
  content: "";
  background: url(http://stfrancisprepa.wpenginepowered.com/wp-content/uploads/Group-317.png);
    background-repeat: repeat;
  background-repeat: repeat;
  width: 100%;
  height: 100%;
  position: absolute;
  background-repeat: no-repeat;
  bottom: 0;
  top: 46px;
  right: -478px;
}

.through-the-years h2::after {
  content: "";
  background: url(http://stfrancisprepa.wpenginepowered.com/wp-content/uploads/Group-317.png);
    background-repeat: repeat;
  width: 100%;
  height: 100%;
  position: absolute;
  background-repeat: no-repeat;
  bottom: 0;
  top: 46px;
  right: -1087px;
}
.footer-sep-2 {
  width: 53% !important;
  display: flex;
  align-self: start;
}

.swiper-button-prev::after, .swiper-rtl .swiper-button-next::after {
  font-size: 22px !important;
}

.swiper-button-next::after, .swiper-rtl .swiper-button-prev::after {
  font-size: 22px !important;
}

.sp-day-event {
  width: 100% !important;
  display: block;
  background: red;
  padding: 4px;
  border-radius: 4px;
  color: #fff;
  text-decoration: none !important;
  font-family: "Anton";
}

.ul-mar {
	margin: 0 0 0 2em !important;
}

@media (max-width: 900px) and (min-width: 767px) {
	.sp-peek-slider .swiper-slide img {
		width: 65vw;
		max-height: 270px;
		margin: 32px auto 0 auto;
	}
}
@media(max-width:1500px) {
	.main-header-menu li a {
		font-size: 15px !important;
	}
}
@media(max-width:1400px) {
	.main-header-menu li a {
		font-size: 17px !important;
	}
}
@media (max-width:1600px) {
	.hero-slider .swiper-button-next {
		right: 16px !important;
	}
	.hero-slider .swiper-button-prev {
		left: 16px !important;
	}
	.uagb-slider-container.uagb-block-7bd68ce8.uagb-slider-container .swiper-button-prev,
	.uagb-slider-container.uagb-block-7bd68ce8.uagb-slider-container .swiper-button-next {
		width: 39px !important;
		height: 39px !important;
	}
	.swiper-button-next, .swiper-button-prev {
		padding: 1em !important;
	}
}
@media (max-width: 1300px) {
  .sp-events-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
	.site-above-footer-wrap[data-section="section-above-footer-builder"].ast-footer-row-tablet-stack .site-footer-section {
		display: block;
		margin-bottom: 10px;
		justify-self: flex-start;
	}
  .ast-builder-grid-row-container.ast-builder-grid-row-tablet-4-equal .ast-builder-grid-row {
    padding: 0 1em;
  }
}
@media (max-width: 1100px) {
  .sp-events-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .sp-publication-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
	.sp-event-ticket-button {
		padding: 6px 24px;
	}
	.sp-calendar th {
		font-size: 12px;
	}
	.sp-calendar td .sp-day-event {
		font-size: 10px;
	}
	.ast-header-social-1-wrap {
		margin-top: 2px;
	}
	.site-header-section {
		height: auto;
	}
	.sp-event-image {
		max-width: 92vw;
		height: auto;
		display: block;
		aspect-ratio: 16/9;
		transition: transform 0.35s ease;
	}
	.announcement-inner {
		flex-direction: column;
		text-align: center;
	}
	.hero-slider-img .swiper-content {
		min-height: 140px;
	}
	.hero-slider .swiper-button-prev {
		display: none;
	}
	.hero-slider .swiper-button-next {
		display: none;
	}
	.sp-peek-slider-container {
		display: none !important;
	}
	.hero-text span {
		font-size: 44px !important;
	}
	.sp-peek-slider {
		display: none;
	}
	.through-the-years h2::before, .through-the-years h2::after {
		display: none !important;
	}
	.sp-events-grid {
		gap: 32px;
	}
	.swiper-button-next {
		right: 0 !important;
	}

	.swiper-button-prev {
		left: 0 !important;
	}
	.homepage-terrier img {
		right: 0vw;
		bottom: -94px;
		top: auto;
		opacity: .04;
		width: 99%;
	}
	.site-footer-above-section-2.site-footer-section.site-footer-section-2 {
		justify-self: start;
	}
	.footer-h2 {
		font-size: 32px !important;
	}
	.sp-peek-slider,
	.sp-peek-slider .swiper,
	.sp-peek-slider .swiper-wrapper {
		overflow: hidden !important;
	}
	.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
		background-image: url( http://stfrancisprepa.wpenginepowered.com/wp-content/uploads/sfp-footer-bg-1.jpg);
		background-position: center center;
		background-color: #21438b;
	}
}

@media (max-width: 600px) {
  .sp-publication-grid {
    grid-template-columns: 1fr;
  }
  .sp-events-grid {
    grid-template-columns: 1fr;
  }
}
