html, body {
  width: auto !important;
  overflow-x: hidden !important;
  padding: 0;
  margin: 0;
  font-family: 'Glacial Indifference';
}
.page-calendar .importantnote {
  display: none;
}
.page-calendar .video-container {
  padding-bottom: 156.25%;
}
.mobile-html-inner a.watchlive {
  color: #D21E1E !important;
  border: 1px solid #D31E1E;
}
.page-child i.fa-light {
  border: 2px solid black;
  border-radius: 50%;
  /* perfect circle */
  margin-bottom: -14px;
  width: 43px;
  height: 43px;
  display: flex;
  /* center horizontally + vertically */
  align-items: center;
  justify-content: center;
  font-size: 18px;
  /* ad*/
  font-weight: 500;
}
@media only screen and (max-width: 635px) {
  .video-container iframe, .video-container object, .video-container embed, .video-container video {
    position: absolute;
  }
  .page-calendar .video-container {
    padding-bottom: 1062.25%;
  }
}
/*Misc Pagess*/
.page-times-directions #js-wpv-addon-maps-render-map-1 {
  margin-bottom: -25px !important;
}
.mapdirections {
  margin-bottom: 58px !important;
}
.mapdirections input.form {
  padding: 5px;
}
.page-contact #js-wpv-addon-maps-render-map-1 {
  margin-top: -65px !important;
  height: 446px !important;
}
.blogs .posttitle a {
  text-decoration: underline;
  color: #8B172C;
  font-size: 28px;
  font-weight: 500;
}
#right .medialinks {
  max-width: 571px;
  margin: auto;
}
.smallline h1 {
  font-size: 15px;
  letter-spacing: 0;
}
.appsubtitle {
  display: block !important;
  padding-top: 4px !important;
  font-size: 15px;
}
.fullwidth.top {
  margin-top: -75px;
}
.timesbar .button.snippets {
  float: right;
  margin-right: 6px;
}
.cff-album-info a {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 400;
  color: #000000;
}
.cff-new div {
  margin-top: 11px;
}
.announcement-grid-item {
  padding-top: 0px;
  font-size: 13px;
  margin-bottom: 35px;
  text-align: center;
  position: relative;
  padding-bottom: 32px;
  background-color: #F5F5F5;
  border: 0px solid black;
}
.snippeteditbutton a.edit {
  /*+placement: 85px 3px;*/
  position: relative;
  /* left: 85px; */
  top: 3px;
}
.page-calendar .video-container {
  padding-bottom: 185.25% !important;
}
.highlighttext {
  padding: 48px 48px 57px 48px;
}
.highlighttext .container {
  max-width: 950px !important;
}
.highlighttext h2 {
  font-weight: 300;
  text-transform: uppercase;
}
.img-responsive {
  margin-bottom: -7px;
  text-align: center;
  margin: auto;
  display: block;
}
.staff-list-item .posttitle {
  padding-top: 12px;
}
.staff_grid a.readmore {
  text-decoration: none;
  color: #000000;
  border: 1px solid black;
  padding-right: 18px;
  padding-left: 20px;
  padding-bottom: 7px !important;
  display: block;
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.5;
  margin-top: 0;
}
.staff_grid .staffposition {
  padding-bottom: 0px;
  line-height: 1.4;
}
.n-uc-1fdcd7819a005-inner {
  min-width: 726px !important;
}
.annpopup {
  margin-top: 32px;
  margin: 37px 37px 30px 37px !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  text-align: center !important;
}
@media only screen and (max-width: 768px) {
  .pagecontent p {
    line-height: 1.5;
    padding-bottom: 0;
  }
  .n-uc-1fdcd7819a005-inner {
    min-width: auto !important;
  }
}
@media screen and (max-width: 550px) {
  .button1, .button2, .button3 {
    padding: 0;
    margin: 0;
  }
  .col-sm-3 .sermoncontent {
    height: auto !important;
  }
  .page-new .spacing3 td {
    text-align: center !important;
  }
  .page-new .spacing3 {
    margin-top: -14px;
  }
}
/*Staff*/
.staff_grid hr {
  display: inline-block;
  width: 100%;
  margin-bottom: 5px !important;
}
.staff-grid-item .description p {
  font-size: 17px;
}
.staff_grid .posttitle {
  font-size: 19px;
  line-height: 1.2;
  padding-bottom: 0px;
  font-weight: 600;
}
.staff_grid .description strong {
  color: #01009A;
}
.staff-grid .column {
  border: 1px solid #E8E8E8;
  margin: 9px;
  width: 31%;
}
/*Home Calendar*/
.layout-basic h4.date {
  font-size: 17px;
  border: 1px solid #C9C9C9 !important;
  /*+border-radius: 0 !important;*/
  -moz-border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -khtml-border-radius: 0 !important;
  border-radius: 0 !important;
  margin-right: 19px !important;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  max-height: 73px !important;
  overflow: hidden;
  margin-bottom: 5px !important;
}
.page-home .events li {
  margin: 0 !important;
  padding: 0px;
  border: 0px solid black !important;
}
.ics-calendar:not(.nostyle) .ics-calendar-basic-wrapper .date [data-date-format='j'] {
  font-size: 21px !important;
  text-align: center;
  width: 63px;
  font-weight: 600;
  padding-top: 2px;
}
.home .ics-calendar-basic-wrapper {
  margin-top: -18px;
}
.layout-basic .event-info {
  text-align: left;
}
/*Slideshow*/
span.place {
  font-size: 114px;
}
span.belong {
  font-size: 150px;
  font-family: 'Blacksword', sans-serif;
  color: #FFCD4B;
  display: inline-block;
  /*+placement: -6px 18px;*/
  position: relative;
  left: -6px;
  top: 18px;
  margin-bottom: -50px;
}
.n2-ss-layer-content a.rtBibleRef {
  color: #FFFFFF !important;
  pointer-events: none;
}
@media screen and (max-width: 1200px) {
  span.place {
    font-size: 83px;
  }
  span.belong {
    font-size: 123px;
    margin-top: -104px;
  }
}
@media screen and (max-width: 800px) {
  span.place {
    font-size: 36px;
  }
  span.belong {
    font-size: 61px;
    /*+placement: -37px 12px;*/
    position: relative;
    left: -37px;
    top: 12px;
  }
}
/*Titles*/
.home .event .title {
  font-weight: 500 !important;
}
.title {
  font-size: 44px;
  font-weight: 200 !important;
  text-transform: uppercase;
  line-height: 1;
  font-size: 58px;
  padding-bottom: 3px;
}
.title b {
  color: #01009A;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .title {
    font-size: 44px;
    font-weight: 200 !important;
    text-transform: uppercase;
    line-height: 1;
    font-size: 42px;
    padding-bottom: 3px;
  }
}
/* Replace your entire CSS block with this */
.sundaytimes {
  background-color: #F4F4F4;
  padding-top: 55px;
  padding-bottom: 0px;
  width: 100%;
  box-sizing: border-box;
  background: url(./images/welcomeback1.jpg) center left / cover no-repeat #F7F7F7;
}
.sundaytimes .container {
  display: flex;
  padding: 15px 50px 50px;
  max-width: 1200px !important;
  width: 90%;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin: 0 auto;
}
.left-section {
  flex: 1;
  min-width: 300px;
  text-align: center;
  padding-top: 17px;
  margin-right: 24px;
  margin-left: 24px;
}
.left-section h1 {
  font-size: 3.1em;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.1;
  font-family: 'Glacial Indifference';
}
.left-section h1 .blue {
  color: #00008B;
  font-weight: 600;
}
.left-section .subtitle {
  font-size: 1.1em;
  color: #000000;
  margin-top: -11px;
}
.details {
  display: flex;
  gap: 50px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.details > div {
  flex: 1;
  text-align: center;
  padding: 0;
  min-width: 200px;
}
.details h3 {
  font-size: 1.3em;
  font-weight: 700;
  display: block;
  align-items: center;
  color: #000000;
  margin: 25px 0 6px !important;
  font-family: 'Glacial Indifference';
}
.details h3 i {
  margin-right: 10px;
}
.details p {
  margin: 0px 0 5px;
  font-size: 19.1px;
  line-height: 1.3;
}
.details a {
  display: inline-block;
  margin-top: 11px;
  font-size: 0.9em;
  font-weight: 700;
  color: #00008B;
  text-decoration: none;
  border-bottom: 2px solid #00008B;
  padding-bottom: 2px;
}
.new-button {
  background-color: #FFD700;
  color: #00008B;
  border: 1px none #000000;
  padding: 10px 30px 9px;
  font-size: 1.2em;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  max-width: 387px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 38px;
}
.new-button:hover {
  background-color: #F0C800;
}
.right-section {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* desktop 2x2 */
  gap: 20px;
  min-width: 200px;
  max-width: 460px;
}
.right-section a {
  display: block;
}
.box {
  color: #FFF;
  padding: 13px 10px;
  text-align: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  margin: 8px;
  border: 2px solid #2828AA;
}
.box img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: auto;
}
.box:hover {
  opacity: 0.85;
}
.box i {
  font-size: 2.5em;
  display: block;
  margin: 0;
}
.box h4 {
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 5px;
  font-family: 'Glacial Indifference';
  color: #2726A8;
}
.right-section a {
  text-decoration: none !important;
}
.box p {
  font-size: 1em;
  opacity: 0.8;
  line-height: 1.1;
  color: #000000;
}
@media (max-width: 1100px) and (min-width: 651px) {
  .sundaytimes .container {
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
  }
  .left-section, .right-section {
    width: 100%;
    max-width: 1100px;
    margin-left: 0;
    margin-right: 0;
  }
  .right-section {
    max-width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    /* one row of 4 */
  }
  .details {
    justify-content: center;
  }
  .details > div {
    max-width: 420px;
  }
}
@media (max-width: 650px) {
  .sundaytimes .container {
    flex-direction: column;
    align-items: center;
    padding: 0px;
    width: 90%;
  }
  .left-section, .right-section {
    width: 100%;
    max-width: none;
    /* allow full width for 2 columns */
    margin-left: 0;
    margin-right: 0;
  }
  .right-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* two per row on mobile */
    max-width: 100%;
  }
  .details {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .details > div {
    width: 100%;
    max-width: 350px;
  }
  .left-section h1 {
    font-size: 2.5em;
  }
  .new-button {
    font-size: 1em;
    padding: 10px 20px;
    margin-bottom: 41px;
    border: 2px solid #4545B3;
    color: #4545B2;
  }
  .box {
    padding: 15px 9px 17px;
    text-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin: 0px;
    height: 158px;
    background-color: #FFFFFF;
  }
  .sundaytimes {
    background-color: #F4F4F4;
    padding-top: 55px;
    padding-bottom: 64px;
    width: 100%;
    box-sizing: border-box;
    background: url(./images/welcomeback1.jpg) center left / cover no-repeat #F7F7F7;
    margin-bottom: 0;
  }
}
/*Boxes*/
.right-section a:nth-child(2) .box {
  border: 2px solid #5A8557;
}
.right-section a:nth-child(2) .box h4 {
  color: #5A8457;
}
.right-section a:nth-child(3) .box {
  border: 2px solid #7986EC;
}
.right-section a:nth-child(3) .box h4 {
  color: #7987ED;
}
.right-section a:nth-child(4) .box {
  border: 2px solid #A91B1B;
}
.right-section a:nth-child(4) .box h4 {
  color: #A91B1B;
}
.right-section a:nth-child(1) img {
  width: 78px;
  margin-bottom: 12px;
  margin-top: -7px;
  filter: brightness(0) saturate(100%) invert(9%) sepia(96%) saturate(5264%) hue-rotate(244deg) brightness(85%) contrast(124%);
}
.right-section a:nth-child(2) img {
  width: 64px;
  margin-bottom: 18px;
  margin-top: 1px;
  filter: brightness(0) saturate(100%) invert(60%) sepia(15%) saturate(676%) hue-rotate(66deg) brightness(92%) contrast(88%);
}
.right-section a:nth-child(3) img {
  width: 78px;
  margin-bottom: 12px;
  margin-top: -7px;
  filter: brightness(0) saturate(100%) invert(68%) sepia(28%) saturate(623%) hue-rotate(199deg) brightness(75%) contrast(115%);
}
.right-section a:nth-child(4) img {
  filter: brightness(0) saturate(100%) invert(22%) sepia(56%) saturate(1524%) hue-rotate(336deg) brightness(92%) contrast(92%);
  width: 66px;
  margin-bottom: 17px;
}
.box {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  background-color: #FFFFFF;
}
.box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  background-color: rgba(0, 0, 0, 0.02);
}
@media (max-width: 768px) {
  .box {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    height: 163px;
    margin: 0;
  }
  .sundaytimes .container {
    display: flex;
    padding: 0 0 11px 0;
    max-width: none !important;
    width: auto;
    gap: 30px;
    flex-wrap: wrap;
    margin: 14px;
  }
}
/*Slideshows*/
.frontslideshow .addcontrols {
  display: none;
}
.n2-section-smartslider .small {
  font-weight: 200;
  font-size: 39px;
  text-transform: uppercase;
}
.n2-style-3fcb5c772555b976b312eda5fe970162-heading {
  background-color: ;
}
.n2-ss-layer.n-uc-1fdcd7819a005 {
  min-width: 612px !important;
}
/*.role-administrator .frontslideshow, .role-admin .frontslideshow
{
	margin-top: -47px;
}*/
@media only screen and (max-width: 890px) {
  #n2-ss-3item2 {
    font-size: 43.9px !important;
  }
  #n2-ss-3item3 {
    font-size: 35.9px !important;
    line-height: 1 !important;
  }
  #n2-ss-3item1 {
    font-size: 39.9px !important;
  }
  .n-uc-bYf4y6o95foC-inner {
    padding-left: 12px !important;
  }
}
@media only screen and (max-width: 590px) {
  #n2-ss-3item2 {
    font-size: 25.9px !important;
  }
  #n2-ss-3item3 {
    font-size: 25.9px !important;
    line-height: 1 !important;
  }
  #n2-ss-3item1 {
    font-size: 28.9px !important;
  }
  .n2-ss-layer-row {
    text-align: center !important;
    display: inline-block !important;
    padding-left: 0 !important;
    padding-top: 141px !important;
  }
  .n-uc-bYf4y6o95foC-inner {
    padding-left: 12px !important;
  }
  .n2-font-bb39ae9fb65f6c73179df027dcf6d4d6-paragraph {
    padding-top: 10px;
  }
}
/*Smart Countdown*/
.scd-digit div, .scd-digit img {
  color: #084D91;
}
.scd-counter-col {
  margin-left: -4px;
}
/*Store*/
.staff-grid.store .posttitle {
  margin-bottom: 18px;
  border-bottom: 1px solid #D2D2D2;
  padding-bottom: 5px;
  margin-left: 18px;
  margin-right: 18px;
  font-size: 23px;
  padding-top: 10px;
  color: #3E808B;
}
.store .staff_grid div {
  font-size: 15px;
  margin-bottom: 20px;
}
.staff-grid.store .staff_grid {
  background-color: #F9F8F8;
  padding: 29px 0px 24px;
  border: 1px solid #E1E1E1;
}
/*News*/
.whatshappening {
  text-align: center;
  padding-top: 72px;
  padding-bottom: 21px;
  margin-bottom: -35px;
}
.whatshappening .subtitle {
  font-size: 20px;
  margin-bottom: 27px;
}
button-container {
  display: flex;
  flex-wrap: wrap;
  /* Allow buttons to wrap on smaller screens */
  gap: 15px;
  justify-content: center;
  padding: 20px;
  background-color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  /* Optional: subtle shadow */
}
.event-button {
  /* Dark Blue */
  /* White text */
  border: 2px solid #00008B;
  padding: 7px 22px 8px;
  font-size: 0.9em;
  font-weight: 600;
  /* Bold text */
  letter-spacing: 0.5px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  margin-right: 10px;
  margin-left: 10px;
  /*+border-radius: 0;*/
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -khtml-border-radius: 0;
  border-radius: 0;
  background-color: #FFFFFF !important;
  color: #01009A !important;
}
.event-button i {
  font-size: 1.6em;
  /* Icon size */
  background-color: #01009A;
  color: #FFFFFF;
  padding: 7px 13px 13px 14px;
  margin: -8px 15px -11px -22px;
  font-weight: 300;
  line-height: 1.1;
}
.event-button:hover {
  background-color: #000070;
  /* Slightly darker blue on hover */
  border-color: #000070;
}
.announcementbox .descriptionbox .postdate {
  color: #01009A;
  font-weight: 600;
  font-size: 17px;
}
.announcementbox .readsomemore {
  font-weight: 600 !important;
  padding: 6px 5px 5px !important;
}
.announcementbox .descriptionbox .posttitle {
  font-weight: bold;
  font-size: 21.9px;
  line-height: 1.1;
  margin-bottom: 10px;
  margin-top: 10px;
}
.announcementbox .announcementimage {
  border: 1px solid #CFCFCF;
  padding: 7px 6px 0px;
}
.announcementbox .description p {
  font-size: 17.9px !important;
  line-height: 1.3 !important;
}
.modal-body .announcementdescription p {
  font-size: 17.9px;
  line-height: 1.3;
}
@media (max-width: 768px) {
  .button-container {
    flex-direction: column;
    /* Stack buttons vertically on smaller screens */
    align-items: stretch;
    /* Make buttons take full width of container */
  }
  .event-button {
    width: 285px;
    /* Make buttons full width */
    min-width: unset;
    /* Remove min-width */
    margin-bottom: 10px;
    /* Add some space between stacked buttons */
  }
  .event-button i {
    font-size: 1.6em;
    /* Icon size */
    background-color: #01009A;
    color: #FFFFFF;
    padding: 7px 13px 7px 14px;
    margin: -8px 15px -11px -22px;
    font-weight: 300;
    line-height: 1.1;
    float: left;
  }
  .event-button:last-child {
    margin-bottom: 15px;
  }
}
/*Sermons*/
.sermons {
  background-color: #EEEEEE;
  padding-top: 70px;
  padding-bottom: 78px;
  text-align: center;
  background: url( ./images/sermonback1.jpg) center left / auto no-repeat #F7F7F7;
}
.videocol2 .sb_youtube {
  margin-top: -35px;
}
.sermons a.announcementbutton {
  margin-bottom: 24px;
  display: inline-block;
  font-weight: 500;
  color: #727E9D;
  font-size: 19px;
  margin-left: 28px;
}
.videocol1 .sby_video_thumbnail_wrap {
  max-width: 168px !important;
  height: 96px;
}
.sermons i {
  font-size: 41.3px;
}
.sermons .container {
  max-width: 1100px !important;
}
.videocol1 .sby_info {
  float: left;
  width: 315px !important;
  margin-top: -80px !important;
  margin-left: 193px;
  text-align: left !important;
}
.sby_meta {
  margin-top: 5px !important;
}
.sermons .videocol1 {
  padding-top: 0;
}
.sermons .columns {
  margin-top: 29px;
}
.sby_view_count {
  display: none;
}
@media only screen and (max-width: 768px) {
  .sermons {
    background-color: #EEEEEE;
    padding-top: 70px;
    padding-bottom: 78px;
    text-align: center;
    background: none center left / auto no-repeat #F7F7F7;
  }
  .sby_items_wrap {
    padding: 0 !important;
    margin: 32px 0 0 !important;
  }
  .videocol1 .sby_info {
    width: auto !important;
    margin-top: -96px !important;
  }
}
/*Homecoming*/
.homecoming-section {
  position: relative;
  /* Main background with a blue overlay to match the reference */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
  color: #FFFFFF;
  overflow: hidden;
  background: url(./images/eventback.jpg) center left / cover no-repeat #F7F7F7;
}
.homecoming-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}
.hc-text-col {
  flex: 1;
  min-width: 300px;
}
.hc-heading {
  line-height: 1.1;
  margin-bottom: 25px;
  text-transform: uppercase;
}
.hc-heading .line-1 {
  display: block;
  color: #FDC82F;
  /* Match the yellow in image */
  font-weight: 800;
  font-size: 3.7rem;
  /* Adjust scale based on your theme's base font */
  line-height: 0.9;
}
.hc-text-col .hc-heading .line-2 {
  font-size: 3.5rem;
}
.hc-description {
  max-width: 500px;
  margin-bottom: 20px;
  line-height: 1.2;
  font-size: 1.4rem;
}
.hc-cards-col {
  flex: 1;
  display: flex;
  gap: 30px;
  justify-content: center;
  min-width: 300px;
}
.hc-card {
  position: relative;
  width: 100%;
  max-width: 280px;
  height: 450px;
  /* Fixed height for consistency */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  text-decoration: none;
  /* In case you wrap in <a> tag */
  transition: transform 0.3s ease;
  /* Background Image Setup */
  background-position: center;
  margin-right: 19px;
  border: 1px solid rgba(255, 255, 255, 0.236);
  margin-bottom: 0;
}
.hc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(10, 10, 120, 0.9) 85%);
  z-index: 1;
}
.hc-card-content {
  position: relative;
  z-index: 2;
  color: #FFF;
}
.hc-card-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 !important;
  text-transform: uppercase;
  line-height: 1;
  color: #FFFFFF;
  padding-bottom: 0 !important;
}
.hc-card-subtitle {
  font-size: 1.8rem;
  font-weight: 300 !important;
  margin: -10px 0 10px;
}
.hc-date {
  display: block;
  color: #FDC82F;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1.2rem;
  line-height: 1.1;
}
.hc-btn {
  display: inline-block;
  background-color: #FFFFFF;
  /* Dark blue text */
  padding: 4px 5px;
  /* Slight round, or 0 for sharp */
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.3s;
}
.card-bg-1 {
  /* Placeholder 1 */
  background: url(./images/event1.jpg) bottom / cover no-repeat #F7F7F7;
}
.card-bg-2 {
  /* Placeholder 2 */
  background: url(./images/event2.jpg) bottom / cover no-repeat #F7F7F7;
}
@media (max-width: 1000px) {
  .hc-btn {
    display: inline-block;
    background-color: #FFFFFF;
    /* Dark blue text */
    padding: 4px 5px;
    /* Slight round, or 0 for sharp */
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
    transition: background 0.3s;
  }
  .card-bg-1 {
    /* Placeholder 1 */
    background: url(./images/event1.jpg) bottom / cover no-repeat;
  }
  .card-bg-2 {
    /* Placeholder 2 */
    background: url(./images/event2.jpg) bottom / cover no-repeat;
  }
  .hc-text-col {
    flex: 1;
    min-width: 300px;
    max-width: 92px !important;
    margin-right: 102px;
  }
  .hc-heading .line-1 {
    display: block;
    color: #FDC82F;
    /* Match the yellow in image */
    font-weight: 800;
    font-size: 2.9rem;
    /* Adjust scale based on your theme's base font */
    line-height: 0.9;
  }
  .hc-text-col .hc-heading .line-2 {
    font-size: 2.7rem;
  }
  .hc-description {
    max-width: 500px;
    margin-bottom: 20px;
    line-height: 1.2;
    font-size: 1.2rem;
  }
}
@media (max-width: 792px) {
  .homecoming-inner {
    flex-direction: column;
    text-align: center;
  }
  .hc-description {
    margin-left: auto;
    margin-right: auto;
    min-width: 100%;
    margin-bottom: 30px !important;
  }
  .hc-text-col {
    min-width: 100%;
    margin: 0;
  }
}
@media (max-width: 580px) {
  .homecoming-inner {
    flex-direction: column;
    text-align: center;
  }
  .hc-text-col {
    min-width: 100%;
    margin: 0;
    padding-left: 15px;
    padding-right: 15px;
  }
  .hc-description {
    font-size: 1.1rem !important;
  }
  .card-bg-2 {
    /* Placeholder 2 */
    background: url(./images/event2.jpg) bottom / cover no-repeat;
    margin: 0;
  }
  .card-bg-1 {
    /* Placeholder 1 */
    background: url(./images/event1.jpg) bottom / cover no-repeat;
    margin: 0;
  }
  .homecoming-section {
    position: relative;
    /* Main background with a blue overlay to match the reference */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0px;
    color: #FFFFFF;
    overflow: hidden;
    background: url(./images/eventback.jpg) center left / cover no-repeat #F7F7F7;
  }
}
/*@media (max-width: 600px)
{
	.hc-cards-col
	{
		flex-direction: column;
		align-items: center;
		width: 100%;
	}
	.hc-card
	{
		max-width: 100%;
		(* Full width on mobile *)
		width: 100%;
		height: 400px;
	}
	.hc-heading .line-1, .hc-heading .line-2
	{
		font-size: 2.5rem;
	}
}*/
/*Mobile App*/
.involved {
  background: url( ./images/mobileback.jpg) center right / cover no-repeat #01009A;
  clear: both;
  margin-top: -8px;
  width: 100%;
  display: inline-block;
  color: #FFFFFF;
  padding-top: 72px;
  padding-bottom: 75px;
}
.involvedboxed {
  max-width: 495px;
  float: left;
}
.title2 {
  font-size: 34px;
  padding-bottom: 0px;
  font-weight: 200;
}
.involved .title b {
  color: #FFCD4B;
}
.involved .title {
  color: #FFFFFF;
}
.involved .subtitle {
  padding-bottom: 16px;
  padding-top: 18px;
  font-size: 18px;
  line-height: 1.4;
  color: #FFFFFF;
}
.involvedboxed {
  text-align: center;
  color: #000000;
}
.subytitle {
  color: #9C9CFB;
  font-weight: 400;
  font-size: 22.3px;
  line-height: 1.2;
  padding-top: 8px;
}
.app-links {
  display: flex;
  justify-content: center;
  /* center horizontally */
  align-items: center;
  /* center vertically */
  gap: 20px;
  /* space between icons */
  flex-wrap: wrap;
  /* allow wrapping on small screens */
  margin: 20px 0;
}
.app-links img {
  width: auto;
  transition: transform 0.2s ease;
  margin-right: 13px;
}
.app-links img:hover {
  transform: scale(1.05);
}
@media only screen and (max-width: 950px) {
  .involvedboxed {
    max-width: 600px;
    text-align: center;
    float: none;
    margin: auto;
    color: #FFFFFF;
  }
  .involved {
    clear: both;
    margin-top: -8px;
    width: 100%;
    display: inline-block;
    color: #FFFFFF;
    padding-top: 64px;
    padding-bottom: 53px;
    box-shadow: inset 0 0 0 1000px rgba(1, 0, 153, 0.75);
  }
  .involved .title b {
    color: #FFFFFF;
  }
}
/* Header Section Styling */
.main-container {
  max-width: 1100px !important;
  /* Wider container for this layout */
  margin: 20px auto;
  padding: 66px 15px 97px;
}
.header-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Two equal columns */
  /* Dark blue background */
  color: white;
  margin-bottom: 30px;
  overflow: hidden;
  /* Ensure rounded corners apply */
  min-height: 250px;
  /* Minimum height */
}
.header-text h2 {
  font-size: 2.8em;
  margin: 0 0 10px 0;
  font-weight: 700;
  color: #FFCD4B;
  font-family: 'Glacial Indifference';
}
.header-section {
  display: flex;
  justify-content: flex-end;
  /* pushes text to the right */
  align-items: center;
  /* vertically centers text */
  background-size: cover;
  background-position: center;
  height: 250px;
  /* adjust as needed */
  text-decoration: none;
  color: white !important;
  /* adjust text color */
  padding-right: 74px;
}
.header-text {
  max-width: 307px;
  /* keeps text from stretching too wide */
  text-align: left;
  /* aligns text inside the box */
}
.header-text p {
  font-size: 1.6em;
  margin: 0;
  font-weight: 400;
  opacity: 0.9;
}
.grid-container {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
.grid-item {
  position: relative;
  display: block;
  overflow: hidden;
  height: 260px;
  /* set exact height */
  text-decoration: none;
  background-color: #01009A;
  color: white;
}
.grid-item .grid-bg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* no cropping */
  object-position: top;
  /* stick to top */
  display: block;
  /* Apply gradient as a mask to fade image bottom */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  /* fills the space below the image */
}
.grid-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  /* adjust to control fade area */
  background: linear-gradient(to bottom, rgba(1, 0, 154, 0) 0%, #01009A 50%);
  z-index: 1;
  /* sits ABOVE the image but BELOW the text */
}
.grid-item .text-box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  /* ensures text is above gradient */
  padding: 15px;
  color: white;
}
.grid-item h3 {
  margin: 0 0 3px 0 !important;
  font-size: 1.6em;
  font-weight: 700;
  color: #FFCD4B;
  /* yellow heading */
  font-family: 'Glacial Indifference';
  line-height: 0.9 !important;
}
.grid-item p {
  margin: 0;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.3;
  color: #FFFFFF;
}
@media (max-width: 900px) {
  .header-section {
    grid-template-columns: 1fr;
    /* Stack header items */
  }
  .header-image {
    min-height: 200px;
  }
  .header-text {
    text-align: center;
    padding: 40px 20px;
  }
  .header-text h2 {
    font-size: 2.2em;
  }
  .header-text p {
    font-size: 1em;
  }
}
@media (max-width: 480px) {
  .grid-item h3 {
    font-size: 1.1em;
  }
  .grid-item p {
    font-size: 0.8em;
  }
  .grid-container {
    gap: 15px;
  }
  .grid-item, .grid-item:hover {
    height: auto;
  }
}
/* Footer */
footer {
  text-align: center;
  color: #FFFFFF;
  font-size: 18px;
  background-color: #01009A !important;
  padding-top: 25px;
  padding-bottom: 477px;
  background: url(./images/footerback.jpg) center bottom / auto no-repeat;
  line-height: 1.4;
}
footer .columns {
  max-width: 1000px;
  margin: 32px auto auto;
}
footer .column {
  min-width: 39% !important;
}
footer .sociallinks a {
  font-size: 27px;
  color: #FFFFFF;
  padding-right: 17px;
  display: inline-block;
  padding-top: 15px;
  margin-top: 17px;
}
footer a.membersbutton {
  background-color: #551A1B;
  padding-right: 19px;
  padding-left: 18px;
  padding-top: 5px;
  padding-bottom: 5px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.397);
}
footer a.contactbutton {
  background-color: #FFCD4B;
  padding-right: 19px;
  padding-left: 18px;
  padding-top: 4px;
  padding-bottom: 3px;
  text-decoration: none;
  font-size: 15px;
  color: #01009A !important;
  font-weight: 500;
  border: 1px solid #01009A;
}
a.contabutton {
  text-decoration: none !important;
  color: #FFFFFF;
  margin-top: 11px;
  background-color: #490011;
  width: 153px;
  border: 1px solid rgba(255, 255, 255, 0.409);
  display: block;
  padding: 4px 0 3px;
  text-align: center;
  font-weight: 400;
}
.bottombar {
  background-color: #F0F0F0;
  padding-top: 13px;
  padding-bottom: 2px;
  margin-top: 0px;
  border-top: 1px solid #D7D7D7;
}
.bottommenu a {
  color: #FFFFFF !important;
  font-size: 18px !important;
}
footer .column {
  text-align: left;
}
footer h6 {
  color: #FFCD4B;
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  font-family: 'Glacial Indifference';
  letter-spacing: 0pt;
}
footer div.container div.columns div.column a {
  color: #FFFFFF;
}
@media only screen and (max-width: 780px) {
  .mapback {
    background: url(./images/mapback.jpg) center / 300% no-repeat #F2F2F2;
    height: 121px;
  }
  .bottombar {
    background-color: #F0F0F0;
    padding-top: 13px;
    padding-bottom: 2px;
    margin-top: 39px;
    border-top: 1px solid #D7D7D7;
  }
  footer {
    color: #FFFFFF;
    padding-top: 24px;
    padding-bottom: 19%;
    font-size: 16px;
    margin-bottom: -40px;
  }
  footer .column {
    margin-bottom: 42px;
    margin: 0 0 51px 0 !important;
    padding: 0 !important;
    text-align: center;
  }
  .membebutton, .contabutton {
    margin: auto;
  }
  footer .columns hr {
    display: block;
    width: 200px;
    margin-bottom: 15px !important;
    margin-top: 17px;
    margin-left: 0;
    text-align: center;
    margin: auto;
    padding-top: 20px;
  }
  .bottommenu li {
    text-align: center;
    width: 265px;
    margin: auto;
  }
  footer .column:nth-child(1) {
    margin-right: auto;
    text-align: center;
  }
}
