@charset "UTF-8";
/**
 * SCSS Custom Styles for Celine's Academy Website
 * custom-style.scss Compiles to custom-style.css
 * Author: Andrew Likezo Kwabula
 * Version 1.02
 * Year: June 2025
 */
/*
/**
 * Celine's Academy Typography
 *
 // <weight>: Use a value from 300 to 900
// <uniquifier>: Use a unique and descriptive class name

.figtree-<uniquifier> {
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} 
Radley: CSS classes

.radley-regular {
  font-family: "Radley", serif;
  font-weight: 400;
  font-style: normal;
}

.radley-regular-italic {
  font-family: "Radley", serif;
  font-weight: 400;
  font-style: italic;
}

 */
/**
  * Celine's Academy Color Scheme
  * Primary Color: #303192 (RGB: 48, 49, 146)
  * Secondary Color: #f58221 (RGB: 245, 130, 33)
  * Accent Color: #00a651 (RGB: 0, 166, 81)
 */
.text-primary {
  color: #303192 !important;
}

.text-secondary {
  color: #f58221 !important;
}

.text-accent {
  color: #00a651 !important;
}

.text-secondary-darker {
  color: rgb(192.8146551724, 92.9331896552, 8.6853448276) !important;
}

.bg-primary {
  background-color: #303192 !important;
}

.bg-secondary {
  background-color: #f58221 !important;
}

.bg-accent {
  background-color: #00a651 !important;
}

/*General Styles*/
body,
p {
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  text-align: left;
}

/*** Headings */
h2,
h3,
h4,
h5,
h6 {
  color: #000000;
  font-family: "Radley", serif;
  font-weight: 700;
  font-style: normal;
  line-height: 1.3;
  margin: 0.5rem 0;
  text-align: left;
}

h1 {
  color: #f58221;
  font-family: "Radley", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.3;
  margin: 0.5rem 0;
  font-size: 2.2rem;
  text-align: center;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.3rem;
}

h4 {
  font-size: 1.1rem;
}

/*** Lists */
/**targeting ONLY content within the main part of the page */
main li {
  font-size: 1rem;
  list-style-type: disc;
}

main ul,
main ol {
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: 1rem;
}

/*
 * Custom styles for Celine's Academy website
 */
/* Form progress steps */
.form-progress {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
  /* Remove any secondary color line */
}
.form-progress::after {
  display: none !important;
}

/* Additional rule to target any potential secondary color line */
.form-progress::after {
  display: none !important;
}

.form-progress-step {
  position: relative;
  z-index: 2;
  text-align: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.form-progress-step.clickable {
  cursor: pointer;
}
.form-progress-step.clickable:hover .form-progress-step-number {
  background-color: #303192;
  color: white;
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.form-progress-step.clickable:hover .form-progress-step-label {
  color: #303192;
  font-weight: bold;
}
.form-progress-step.active .form-progress-step-number {
  background-color: #303192;
  color: white;
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.form-progress-step.active .form-progress-step-label {
  color: #303192;
  font-weight: bold;
}
.form-progress-step.completed .form-progress-step-number {
  background-color: #2ecc71;
  color: white;
}
.form-progress-step.completed .form-progress-step-label {
  color: #2ecc71;
}
.form-progress-step.completed:hover .form-progress-step-number {
  background-color: #27ae60;
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

/* Form progress step number styles */
.form-progress-step-number {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0 auto 8px;
  background-color: #ddd;
  color: #666;
  border-radius: 50%;
  font-size: 16px;
  font-weight: bold;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.form-progress-step-label {
  font-size: 14px;
  color: #666;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/* Form steps */
.form-step {
  display: none;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.form-step.active {
  display: block;
  opacity: 1;
}

/* reCAPTCHA styling */
.recaptcha-error {
  border: 2px solid #e74c3c;
  border-radius: 4px;
  padding: 10px;
  background-color: rgba(231, 76, 60, 0.05);
  margin-bottom: 15px;
}

.recaptcha-error-message {
  color: #e74c3c;
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 10px;
}

/**Header styles */
.website-name {
  color: #303192 !important;
}

.rounded-div {
  border-radius: 10px;
  overflow: hidden;
  /* Add word breaking properties to prevent text overflow */
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  -ms-hyphens: auto;
      hyphens: auto;
}

/* Management sidebar specific styles */
.management-sidebar a {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  -ms-hyphens: auto;
      hyphens: auto;
  display: block;
  width: 100%;
}

/* Logo and celinesacademy name container */
.nav-text {
  background: none repeat scroll 0 0 #303192;
}

.logo-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.logo-container .logo {
  margin: 2px;
}

.logo-container h1 {
  margin: 0;
  color: #303192;
  font-size: 2.2rem;
  text-align: left;
  font-weight: 600;
}

/* Add specific padding for logo section on governance page */
body.page-template-page-governance #logo-section {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Centered menu styles */
.centered-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Changed from left to center */
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  float: none !important;
}

.centered-menu > li {
  float: none !important;
  display: inline-block;
}

/* Child Pages List Styles */
.child-pages-container {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f8f9fa;
}
@media screen and (max-width: 768px) {
  .child-pages-container {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }
}

.child-page-card {
  height: 100%;
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}
.child-page-card:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
          box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.child-page-card .child-page-image {
  overflow: hidden;
}
.child-page-card .child-page-image img {
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  width: 100%;
  height: auto;
}
.child-page-card .child-page-image img:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.child-page-card h3 a {
  color: #303192;
}
.child-page-card h3 a:hover {
  color: #f58221;
}
.child-page-card .button {
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}
.child-page-card .button:hover {
  background-color: #f58221;
}

.grandchild-note {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 5px;
  margin-top: 1rem;
}

.full-img {
  width: 100%;
  height: auto;
}

/* WordPress Menu Styles */
nav#top-nav,
nav#top-nav.background-white {
  background: #303192 !important;
  border-radius: 0 !important; /* Remove rounded corners for full-width nav */
}

/* Remove rounded corners from full-width navigation container */
.nav-text,
.top-nav {
  border-radius: 0 !important;
}

.top-nav {
  background: transparent !important;
}

.top-nav ul.menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  float: none !important;
  margin: 0;
  padding: 0;
}

.top-nav ul.menu > li {
  float: none !important;
  display: inline-block;
  position: relative;
}

.top-nav ul.menu > li > a {
  display: block;
  padding: 0.7rem 1.25rem;
  text-decoration: none;
  color: #ffffff !important;
  font-size: 1rem;
  -webkit-transition: all 0.2s linear 0s;
  transition: all 0.2s linear 0s;
}

/* Enhanced specificity for top-level navigation hover */
.top-nav ul.menu > li > a:hover,
nav#top-nav .top-nav ul.menu > li > a:hover,
nav.background-white .top-nav ul.menu > li > a:hover {
  color: #ffffff !important;
  background-color: #f58221 !important;
}

.top-nav ul.menu > li.menu-item-has-children > a:after,
.top-nav ul.menu > li.submenu > a:after {
  content: "▼";
  font-size: 0.6rem;
  margin-left: 0.5rem;
  position: relative;
  top: -0.2rem;
  color: #ffffff;
}

.top-nav ul.menu > li > ul.sub-menu {
  background: white none repeat scroll 0 0;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #f58221 !important;
  position: absolute;
  display: none;
  top: 100%;
  width: 13rem;
  z-index: 10;
  margin: 0;
  padding: 0;
}

.top-nav ul.menu > li:hover > ul.sub-menu,
.top-nav ul.menu > li > ul.sub-menu.show-ul {
  display: block;
}

.top-nav ul.menu > li > ul.sub-menu > li {
  float: left;
  list-style: none;
  width: 100%;
}

.top-nav ul.menu > li > ul.sub-menu > li > a {
  color: #444 !important;
  display: block;
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
  text-decoration: none;
  -webkit-transition: all 0.15s linear 0s;
  transition: all 0.15s linear 0s;
}

.top-nav ul.menu > li > ul.sub-menu > li > a:hover {
  background: #303192 none repeat scroll 0 0 !important;
  color: white !important;
}

/* Second level dropdown menu styles */
.top-nav ul.menu > li > ul.sub-menu > li.menu-item-has-children > a:after {
  content: "▶"; /* Right-pointing triangle */
  font-size: 0.6rem;
  margin-left: 0.5rem;
  position: relative;
  top: -0.1rem;
}

.top-nav ul.menu > li > ul.sub-menu > li > ul.sub-menu {
  background: white none repeat scroll 0 0;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 2px solid #f58221 !important;
  position: absolute;
  display: none;
  left: 100%; /* Position to the right of the first level dropdown */
  top: 0;
  width: 13rem;
  z-index: 11; /* Higher than first dropdown */
  margin: 0;
  padding: 0;
}

.top-nav ul.menu > li > ul.sub-menu > li:hover > ul.sub-menu,
.top-nav ul.menu > li > ul.sub-menu > li > ul.sub-menu.show-ul {
  display: block;
}

.top-nav ul.menu > li > ul.sub-menu > li > ul.sub-menu > li {
  float: left;
  list-style: none;
  width: 100%;
}

.top-nav ul.menu > li > ul.sub-menu > li > ul.sub-menu > li > a {
  color: #444 !important;
  display: block;
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
  text-decoration: none;
  -webkit-transition: all 0.15s linear 0s;
  transition: all 0.15s linear 0s;
}

.top-nav ul.menu > li > ul.sub-menu > li > ul.sub-menu > li > a:hover {
  background: #303192 none repeat scroll 0 0 !important;
  color: white !important;
}

/* Mobile Menu Fixes - Remove borders from submenus on mobile */
@media screen and (max-width: 768px) {
  /* Target all possible submenu elements */
  .top-nav ul.menu > li > ul.sub-menu,
  .top-nav ul.menu > li > ul.sub-menu > li > ul.sub-menu,
  nav#top-nav .top-nav ul.menu > li > ul.sub-menu,
  nav#top-nav .top-nav ul.menu > li > ul.sub-menu > li > ul.sub-menu,
  .top-nav ul.menu li.menu-item-has-children > ul.sub-menu,
  .top-nav ul.menu li.menu-item-has-children > ul.sub-menu li.menu-item-has-children > ul.sub-menu {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    outline: none !important;
    /* Temporary visual indicator - remove this once confirmed working */
    background-color: red !important;
  }
  /* Also target the parent menu items that might have borders */
  .top-nav ul.menu > li.menu-item-has-children,
  .top-nav ul.menu > li.submenu,
  nav#top-nav .top-nav ul.menu > li.menu-item-has-children,
  nav#top-nav .top-nav ul.menu > li.submenu {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    outline: none !important;
  }
  /* Target menu item links that might have borders */
  .top-nav ul.menu > li.menu-item-has-children > a,
  .top-nav ul.menu > li.submenu > a,
  nav#top-nav .top-nav ul.menu > li.menu-item-has-children > a,
  nav#top-nav .top-nav ul.menu > li.submenu > a {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    outline: none !important;
  }
}
/* Footer Menu Styles */
.footer-main {
  background-color: #f8f9fa !important;
}

.main-footer, .heading-bg, .site-header {
  background-color: #f8f9fa; /* Fallback color #eeeeee */
  background-image: url("../img/white_carbon.png");
  background-repeat: repeat;
  border: 2px solid #f8f9fa;
  border-bottom: none;
}

.heading-bg {
  border-bottom: 2px solid #f8f9fa;
  padding: 1rem 0.65rem 1.5rem 0.65rem;
}

.heading-bg h1 {
  color: #f58221;
}

.footer-links .menu-item {
  margin-bottom: 10px;
}

.footer-links .menu-item a {
  color: #cccccc;
  text-decoration: none;
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}

.footer-links .menu-item a:hover {
  color: #E2CF36;
  text-decoration: underline;
}

.social-bar-footer {
  border-bottom: 2px solid rgba(54, 73, 226, 0.7);
}

/* Footer Full Width and Color Overrides */
footer .line {
  max-width: none !important;
  width: 100% !important;
}

/* Remove rounded corners from full-width footer elements */
footer,
footer .section,
footer .section.background-blue,
footer .section.background-yellow,
footer .padding.background-yellow {
  border-radius: 0 !important;
}

footer .footer-links a {
  color: #555 !important;
}
footer .footer-links a:hover {
  color: #E2CF36 !important;
}

footer p a {
  color: #cccccc !important;
}
footer p a:hover {
  color: #E2CF36 !important;
}

.footer-bottom {
  background-color: #303192;
  color: #ccc;
}
.footer-bottom p, .footer-bottom a, .footer-bottom span {
  color: #ffffff !important;
}
.footer-bottom .text-blue {
  color: #ffffff !important;
}
.footer-bottom a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

/* Responsive Legal Links Styles */
.legal-links-responsive {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(238, 238, 238, 0.3);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.legal-links-responsive .legal-link-item {
  color: #eeeeee !important;
  text-decoration: none !important;
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  margin: 0;
}
.legal-links-responsive .legal-link-item:hover {
  color: #f58221 !important;
  background-color: rgba(238, 238, 238, 0.15);
  text-decoration: none !important;
}
.legal-links-responsive .legal-link-item:not(:last-child)::after {
  display: none;
}
@media (max-width: 768px) {
  .legal-links-responsive {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 0.5rem;
    width: auto;
  }
  .legal-links-responsive .legal-link-item {
    font-size: 0.9rem;
    padding: 0.2rem 0.4rem;
    margin: 0;
    color: #eeeeee !important;
  }
}
@media (max-width: 480px) {
  .legal-links-responsive {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 0.5rem;
    width: auto;
    border-top: 1px solid rgba(238, 238, 238, 0.4);
  }
  .legal-links-responsive .legal-link-item {
    font-size: 0.9rem;
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(238, 238, 238, 0.4);
    border-radius: 6px;
    min-width: 120px;
    text-align: center;
    margin: 0;
    color: #eeeeee !important;
  }
  .legal-links-responsive .legal-link-item:hover {
    border-color: #f58221;
    background-color: rgba(238, 238, 238, 0.2);
    color: #f58221 !important;
  }
}

/** Event styles */
.event-date {
  margin-top: 10px;
  background-color: #f58221;
  color: #ffffff;
  padding: 6px 10px;
}

.event-card {
  background-color: #ffffff;
  border-radius: 10px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 20px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.event-card:hover {
  -webkit-box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
          box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
}

/* Event sidebar styles */
.s-12 .event-date {
  padding: 4px 8px;
  font-size: 0.85rem;
  display: inline-block;
}

aside .grid .icon-sli-clock {
  margin-top: 3px;
}

aside h6 a {
  color: #303192;
}
aside h6 a:hover {
  color: #f58221;
}

.container-modern {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-modern {
  padding: 2.25rem 0;
  position: relative;
  overflow: hidden;
}
.section-modern.background-light {
  background-color: #f8f9fa !important;
}

.section-header {
  text-align: left !important;
  margin-bottom: 1.5rem;
}
.section-header.flex-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}
@media (max-width: 768px) {
  .section-header.flex-header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    text-align: left;
  }
}

.section-label {
  display: block;
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: #f58221 !important;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 55px;
  text-align: left !important;
}
.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 45px;
  height: 2px;
  background-color: #f58221 !important;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.section-title {
  font-size: 2.5rem;
  color: #303192 !important;
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: left !important;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.button-modern {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none !important;
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 2px solid transparent;
}
.button-modern i {
  margin-left: 8px;
  font-size: 0.9em;
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}
.button-modern:hover i {
  -webkit-transform: translateX(4px);
          transform: translateX(4px);
}
.button-modern.button-primary {
  background-color: #303192;
  color: #ffffff;
  -webkit-box-shadow: 0 4px 15px rgba(48, 49, 146, 0.3);
          box-shadow: 0 4px 15px rgba(48, 49, 146, 0.3);
}
.button-modern.button-primary:hover {
  background-color: rgb(41.6907216495, 42.5592783505, 126.8092783505);
  -webkit-box-shadow: 0 6px 20px rgba(48, 49, 146, 0.4);
          box-shadow: 0 6px 20px rgba(48, 49, 146, 0.4);
  color: #ffffff;
}
.button-modern.button-outline {
  border-color: #303192;
  color: #303192;
  background: transparent;
}
.button-modern.button-outline:hover {
  background-color: #303192;
  color: #ffffff;
}
.button-modern.button-secondary {
  background-color: #ffffff;
  color: #303192;
  border: 2px solid #ffffff;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.button-modern.button-secondary:hover {
  background-color: #303192;
  border-color: #303192;
  -webkit-box-shadow: 0 6px 20px rgba(48, 49, 146, 0.4);
          box-shadow: 0 6px 20px rgba(48, 49, 146, 0.4);
  color: #ffffff;
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}

.hero-section {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hero-section .carousel-container {
  -webkit-box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.3);
          box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.3);
}
.hero-section .hero-overlay-decoration {
  display: none !important; /* Hide irregular diagonal cut */
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.about-content {
  background-color: rgba(48, 49, 146, 0.04);
  padding: 2.5rem;
  border-radius: 20px;
  position: relative;
}
.about-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: -webkit-gradient(linear, left top, left bottom, from(#f58221), to(transparent));
  background: linear-gradient(to bottom, #f58221, transparent);
  border-radius: 20px 0 0 20px;
}

.lead-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgb(59.5, 59.5, 59.5);
  margin-bottom: 2rem;
}

.about-image {
  position: relative;
}
.about-image .image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1280/500;
}
.about-image .image-wrapper img {
  border-radius: 20px;
  -webkit-box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
          box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.about-image .experience-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(48, 49, 146, 0.75);
  color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
          box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  text-align: center;
  min-width: 140px;
}
.about-image .experience-badge .years {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.about-image .experience-badge .text {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.notifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.notification-card-modern {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  -webkit-box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
          box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  border-top: 4px solid #f58221;
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
}
.notification-card-modern:hover {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-top-color: transparent;
}
.notification-card-modern:hover .card-icon {
  background-color: #f8f9fa;
  color: #303192;
}
.notification-card-modern .card-header-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.notification-card-modern .card-icon {
  width: 42px;
  height: 42px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  background: #f58221;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 1.1rem;
  color: white;
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.notification-card-modern .card-title {
  font-size: 1.1rem;
  margin: 0;
  color: #303192;
  font-family: "Radley", serif;
  line-height: 1.3;
}
.notification-card-modern .date-badge {
  font-size: 0.78rem;
  color: #555;
  display: block;
  margin-bottom: 0.4rem;
}
.notification-card-modern .card-excerpt {
  color: #555555;
  font-size: 0.95rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.events-grid-capped {
  grid-template-columns: repeat(3, minmax(0, 360px));
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
}
@media (max-width: 768px) {
  .events-grid-capped {
    grid-template-columns: repeat(2, minmax(0, 360px));
  }
}
@media (max-width: 480px) {
  .events-grid-capped {
    grid-template-columns: 1fr;
  }
}

.event-card-v2 .event-date-header {
  background: #f58221;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.1rem;
  border-radius: 20px 20px 0 0;
}
.event-card-v2 .event-date-header .event-date-day {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}
.event-card-v2 .event-date-header .event-date-due {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  -ms-flex-item-align: center;
      align-self: center;
  margin-right: -0.3rem;
}
.event-card-v2 .event-date-header .event-date-month-year {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}
.event-card-v2 .card-image-wrapper {
  border-radius: 0 0 0 0;
}
.event-card-v2 .card-content-overlay .category-title {
  font-size: 1.4rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}
.event-card-v2:hover .event-date-header {
  background: #303192;
}

.category-card-modern {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  text-decoration: none !important;
}
.category-card-modern .card-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.category-card-modern .card-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}
.category-card-modern .card-image-wrapper .card-gradient-overlay-premium {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(48, 49, 146, 0.9)), to(transparent));
  background: linear-gradient(to top, rgba(48, 49, 146, 0.9), transparent);
  -webkit-transition: height 0.3s ease;
  transition: height 0.3s ease;
}
.category-card-modern .card-image-wrapper .card-content-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  z-index: 2;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.category-card-modern .card-image-wrapper + .card-hover-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: rgba(48, 49, 146, 0.95);
  -webkit-transform: translateY(100%);
          transform: translateY(100%);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  z-index: 3;
}
.category-card-modern .card-content-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  z-index: 2;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.category-card-modern .card-content-overlay .category-title {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6), 0 2px 12px rgba(0, 0, 0, 0.4);
}
.category-card-modern .card-content-overlay .category-ranges {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.8rem;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0.5rem 0 0 0 !important;
}
.category-card-modern .card-content-overlay .range-pill {
  background: rgba(0, 0, 0, 0.7) !important;
  padding: 8px 14px !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  font-size: 0.9rem !important;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  font-weight: 600 !important;
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.category-card-modern .card-content-overlay .range-pill i {
  margin-right: 10px;
  color: #f58221 !important;
  font-size: 1.1rem;
  -webkit-filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
          filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}
.category-card-modern .card-hover-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: rgba(48, 49, 146, 0.95);
  -webkit-transform: translateY(100%);
          transform: translateY(100%);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  z-index: 3;
}
.category-card-modern .card-hover-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.category-card-modern .card-hover-content .learn-more {
  color: #f58221;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.category-card-modern .card-hover-content .learn-more i {
  margin-left: 5px;
}
.category-card-modern:hover .card-image-wrapper img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.category-card-modern:hover .card-hover-content {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
.category-card-modern:hover .card-image-wrapper + .card-hover-content {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.section-stats {
  background-image: linear-gradient(135deg, #303192 0%, rgb(35.381443299, 36.118556701, 107.618556701) 100%);
  padding: 4rem 0;
}

.stats-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 2rem;
}

.stat-item-modern {
  text-align: center;
}
.stat-item-modern .stat-number-wrapper {
  font-size: 3.5rem;
  font-weight: 800;
  color: #f58221;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: "Figtree", sans-serif;
}
.stat-item-modern .stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.flex-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .flex-header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  .flex-header .button-text {
    margin-top: 1rem;
  }
  .flex-header .section-label {
    padding-left: 0;
  }
  .flex-header .section-label::before {
    display: none;
  }
}

.button-text {
  color: #303192;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 1px;
}
.button-text:hover {
  color: #f58221;
  text-decoration: none;
}
.button-text i {
  margin-left: 5px;
}

.blog-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card-modern {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.blog-card-modern:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
          box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}
.blog-card-modern:hover .blog-image-wrapper img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.blog-card-modern:hover .blog-title a {
  color: #f58221;
}
.blog-card-modern .blog-image-wrapper {
  height: 220px;
  display: block;
  overflow: hidden;
}
.blog-card-modern .blog-image-wrapper img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}
.blog-card-modern .blog-content {
  padding: 1.5rem;
}
.blog-card-modern .blog-meta {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.8rem;
}
.blog-card-modern .blog-meta .separator {
  margin: 0 5px;
}
.blog-card-modern .blog-meta .category {
  font-weight: 600;
}
.blog-card-modern .blog-title {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}
.blog-card-modern .blog-title a {
  color: #222;
  text-decoration: none;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}
.blog-card-modern .blog-excerpt {
  margin-bottom: 1.25rem;
}
.blog-card-modern .read-more-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #303192;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border: 2px solid #303192;
  border-radius: 8px;
  text-decoration: none !important;
  -webkit-transition: background-color 0.2s ease, color 0.2s ease;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.blog-card-modern .read-more-link:hover {
  background-color: #303192;
  color: #ffffff;
  text-decoration: none !important;
}

.section-activities {
  background-color: #f0f4f8;
}

.activities-layout {
  /* Removed grid layout since quick links are gone */
  display: block;
}

.activities-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .activities-list {
    grid-template-columns: 1fr;
  }
}

.column-title {
  font-size: 1.5rem;
  color: #303192;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.column-title i {
  margin-right: 10px;
}

.activity-card-horizontal {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  height: 180px;
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.activity-card-horizontal:hover {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.activity-card-horizontal .activity-image-side {
  width: 35%;
  background-size: cover;
  background-position: center;
  position: relative;
}
.activity-card-horizontal .scope-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.activity-card-horizontal .activity-content-side {
  width: 65%;
  padding: 1.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; /* Fix vertical alignment */
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column; /* Fix vertical alignment */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Fix vertical alignment */
}
.activity-card-horizontal .activity-content-side h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.activity-card-horizontal .activity-content-side h4 a {
  color: #303192;
  text-decoration: none;
}
.activity-card-horizontal .activity-content-side p {
  font-size: 0.9rem;
  color: #555555;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .activity-card-horizontal {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: auto;
  }
  .activity-card-horizontal .activity-image-side {
    width: 100%;
    height: 150px;
  }
  .activity-card-horizontal .activity-content-side {
    width: 100%;
  }
}

.quick-links-card-modern {
  background: #303192;
  border-radius: 20px;
  padding: 2rem;
  color: #fff;
  -webkit-box-shadow: 0 10px 30px rgba(48, 49, 146, 0.3);
          box-shadow: 0 10px 30px rgba(48, 49, 146, 0.3);
}

.quick-links-grid {
  display: grid;
  gap: 1rem;
}

.quick-link-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none !important;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.quick-link-btn i {
  width: 24px;
  font-size: 1.1rem;
  margin-right: 10px;
  opacity: 0.8;
}
.quick-link-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  -webkit-transform: translateX(5px);
          transform: translateX(5px);
  color: #fff;
}
.quick-link-btn.primary {
  background: #f58221;
  border-color: #f58221;
  font-weight: 600;
}
.quick-link-btn.primary:hover {
  background: rgb(246.099137931, 143.7392241379, 57.400862069);
}

.category-padding {
  padding: 15px 10px !important;
}

#top-nav {
  -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
          box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  background: #fff !important;
}
#top-nav .logo-container {
  padding: 10px 0;
}

.top-nav ul.menu > li > a {
  color: #303192 !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 1.5rem 1rem;
}
.top-nav ul.menu > li > a:hover {
  color: #f58221 !important;
  background: transparent !important;
}

@media (max-width: 768px) {
  #top-nav {
    padding: 10px 0;
  }
  .mobile-only-logo img {
    max-height: 40px;
  }
}
.hero-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  border-radius: 16px !important;
  overflow: visible;
  /* Widescreen Carousel Arrows */
}
.hero-section section.background-white.margin-top-20 {
  background: transparent !important;
  margin-top: 1.5rem !important; /* Space below header */
  padding-top: 0 !important;
  border-radius: 16px !important;
  overflow: hidden;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.hero-section .line,
.hero-section .carousel-main,
.hero-section .carousel-main .item,
.hero-section .carousel-main .item img {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 16px !important; /* Rounded rectangular images */
  overflow: hidden;
}
.hero-section .carousel-text-container {
  background: rgba(245, 130, 33, 0.75);
  padding: 2rem;
  border-radius: 0 20px 20px 0;
  max-width: 600px;
}
.hero-section .carousel-text-container .carousel-heading {
  font-family: "Radley", serif;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.hero-section .owl-carousel .owl-nav {
  display: block !important;
}
.hero-section .owl-carousel .owl-nav .owl-prev,
.hero-section .owl-carousel .owl-nav .owl-next {
  position: absolute !important;
  top: 50% !important;
  -webkit-transform: translateY(-50%) !important;
          transform: translateY(-50%) !important;
  margin-top: 0 !important;
  width: 46px !important;
  height: 46px !important;
  line-height: 44px !important;
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  font-family: mfg !important;
  font-size: 1.25rem !important;
  text-align: center !important;
  border-radius: 50% !important;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  cursor: pointer !important;
  z-index: 100 !important;
}
.hero-section .owl-carousel .owl-nav .owl-prev:hover,
.hero-section .owl-carousel .owl-nav .owl-next:hover {
  background: rgba(255, 255, 255, 0.45) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  color: #ffffff !important;
  -webkit-box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
          box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
  -webkit-transform: translateY(-50%) scale(1.08) !important;
          transform: translateY(-50%) scale(1.08) !important;
}
.hero-section .owl-carousel .owl-nav .owl-prev {
  left: 24px !important;
}
.hero-section .owl-carousel .owl-nav .owl-next {
  right: 24px !important;
}

.main-footer {
  background-image: none !important;
  background-color: #f9f9f9 !important;
  border: none !important;
  padding: 4rem 0;
}

.footer-bottom {
  background-color: rgb(41.6907216495, 42.5592783505, 126.8092783505) !important;
  padding: 1.5rem 0;
}

@media (max-width: 768px) {
  .section-modern {
    padding: 1.5rem 0;
  }
  .section-title {
    font-size: 2rem;
  }
}
/* School Category Range Alignment Styles */
.category-ranges {
  margin: 10px 0;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #303192;
  padding: 12px 15px;
  /* Remove bottom margin from last range item */
  /* Responsive adjustments for smaller screens */
}
.category-ranges .grade-range,
.category-ranges .age-range {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 5px;
  line-height: 1.4;
}
.category-ranges .grade-range .range-label,
.category-ranges .age-range .range-label {
  display: inline-block;
  width: 100px; /* Fixed width for consistent alignment */
  font-weight: 500;
  color: rgb(192.8146551724, 92.9331896552, 8.6853448276);
  -ms-flex-negative: 0;
      flex-shrink: 0; /* Prevent shrinking */
  font-size: 0.95rem;
}
.category-ranges .grade-range .range-value,
.category-ranges .age-range .range-value {
  font-weight: 600;
  color: #222;
  margin-left: 5px;
  font-size: 0.95rem;
}
.category-ranges .age-range {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .category-ranges .grade-range .range-label,
  .category-ranges .age-range .range-label {
    width: 90px; /* Slightly smaller on mobile */
    font-size: 0.9rem;
  }
  .category-ranges .grade-range .range-value,
  .category-ranges .age-range .range-value {
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .category-ranges .grade-range .range-label,
  .category-ranges .age-range .range-label {
    width: 80px; /* Even smaller on very small screens */
  }
}

/* Custom Accordion Block Styles */
.accordion-section {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  /* Responsive adjustments */
}
.accordion-section .accordion-title {
  font-size: 1.1rem;
  padding: 15px 20px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  margin: 0;
  color: #222;
  background: #f8f9fa;
  position: relative;
  font-weight: 600;
  border-left: 4px solid #303192;
}
.accordion-section .accordion-title:hover {
  background-color: rgb(233.125, 236.25, 239.375);
}
.accordion-section .accordion-title::before {
  content: "+";
  font-family: monospace;
  margin-right: 10px;
  font-size: 18px;
  width: 20px;
  height: 20px;
  line-height: 18px;
  text-align: center;
  display: inline-block;
  color: #303192;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.accordion-section.active-accordion-section > .accordion-title {
  background-color: rgb(233.125, 236.25, 239.375);
  color: #303192;
}
.accordion-section.active-accordion-section > .accordion-title::before {
  content: "-";
  color: #f58221;
}
.accordion-section .accordion-content {
  padding: 20px;
  border: 1px solid #f8f9fa;
  background-color: #ffffff;
  /* Card-like styling for paragraphs when needed */
}
.accordion-section .accordion-content ul, .accordion-section .accordion-content ol {
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: 1.5rem;
}
.accordion-section .accordion-content li {
  margin-bottom: 0.5rem;
  position: relative;
}
.accordion-section .accordion-content p {
  margin-bottom: 1rem;
}
.accordion-section .accordion-content .content-card {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  border-left: 3px solid #f58221;
}
@media (max-width: 768px) {
  .accordion-section .accordion-title {
    font-size: 1rem;
    padding: 12px 15px;
  }
  .accordion-section .accordion-content {
    padding: 15px;
  }
}

/* Blog Card Metadata Styling */
.blog-metadata {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 10px 12px 5px 10px !important;
  margin: 10px 0 15px 0;
  border-left: 3px solid rgb(192.8146551724, 92.9331896552, 8.6853448276);
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.blog-metadata .s-4 {
  font-size: 0.85rem;
  line-height: 1.3;
  color: #222;
}
.blog-metadata .s-4 a {
  color: #222;
  text-decoration: none;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  font-weight: 500;
}
.blog-metadata .s-4 a:hover {
  color: #303192;
  text-decoration: underline;
}

/* Active link in sidebar */
.active-link {
  border: 2px solid #f58221 !important;
  background-color: white !important;
  color: #000000 !important; /* Make text black */
  font-weight: bold !important;
  position: relative;
  padding: 10px 30px 10px 15px !important; /* Increased padding all around, with extra on the right for the tick */
  line-height: 1.8 !important; /* Further increased line height for better readability */
  margin: 0.2rem 0 !important; /* Add margin for better spacing between items */
}
.active-link:after {
  content: "✓";
  position: absolute;
  right: 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  color: #f58221;
}

/* Responsive Carousel Styles */
.carousel-default .item {
  position: relative;
  overflow: hidden;
}
.carousel-default .item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* Responsive carousel image heights for different screen sizes */
.carousel-main .item {
  position: relative;
  display: block;
  /* Carousel content positioning - inside .item which is the <a> tag */
}
.carousel-main .item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  /* Desktop - wide screens */
  /* Medium-large screens (between tablet and large desktop) */
  /* Medium screens (tablets) */
  /* Small screens (mobile) */
}
@media (min-width: 1200px) {
  .carousel-main .item img {
    height: 720px;
    -o-object-fit: cover;
       object-fit: cover;
  }
}
@media (max-width: 1199px) and (min-width: 769px) {
  .carousel-main .item img {
    height: 500px;
    -o-object-fit: cover;
       object-fit: cover;
  }
}
@media (max-width: 768px) and (min-width: 481px) {
  .carousel-main .item img {
    height: 350px; /* Reduced height for tablets */
    -o-object-fit: cover;
       object-fit: cover;
  }
}
@media (max-width: 480px) {
  .carousel-main .item img {
    height: 250px; /* Further reduced height for mobile */
    -o-object-fit: cover;
       object-fit: cover;
  }
}
.carousel-main .item .carousel-content {
  /* Large and medium screens - overlay on image at bottom-left */
  /* Small screens - below image */
}
@media (min-width: 481px) {
  .carousel-main .item .carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: none;
  }
}
@media (max-width: 480px) {
  .carousel-main .item .carousel-content {
    position: relative;
    background: #ffffff;
  }
}
.carousel-main .item .carousel-content .content-bottom {
  padding: 15px;
}
@media (min-width: 481px) {
  .carousel-main .item .carousel-content .content-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }
}
.carousel-main .item .carousel-content .content-bottom .carousel-text-container {
  background: rgba(48, 49, 146, 0.75);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 40px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 90%;
  /* Large and medium screens - position at left */
  /* Small screens - full width */
}
@media (min-width: 481px) {
  .carousel-main .item .carousel-content .content-bottom .carousel-text-container {
    margin-left: 20px;
    margin-bottom: 20px;
  }
}
@media (max-width: 480px) {
  .carousel-main .item .carousel-content .content-bottom .carousel-text-container {
    margin: 0;
    border-radius: 0;
  }
}
.carousel-main .item .carousel-content .content-bottom .carousel-text-container .carousel-heading {
  margin-bottom: 8px;
  padding: 0;
  color: #ffffff;
}
.carousel-main .item .carousel-content .content-bottom .carousel-text-container .carousel-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 8px 0;
  height: 1px;
}
.carousel-main .item .carousel-content .content-bottom .carousel-text-container .carousel-description {
  margin-bottom: 0;
  padding: 0;
  line-height: 1.4;
  color: #ffffff;
}
@media (max-width: 768px) and (min-width: 481px) {
  .carousel-main .item .carousel-content .content-bottom {
    padding: 10px;
  }
  .carousel-main .item .carousel-content .content-bottom .carousel-text-container {
    padding: 15px;
    margin-bottom: 15px;
    margin-left: 15px;
  }
  .carousel-main .item .carousel-content .content-bottom .carousel-text-container .carousel-heading {
    font-size: 1.3rem !important;
    margin-bottom: 6px;
  }
  .carousel-main .item .carousel-content .content-bottom .carousel-text-container .carousel-divider {
    margin: 6px 0;
  }
  .carousel-main .item .carousel-content .content-bottom .carousel-text-container .carousel-description {
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
  }
}
@media (max-width: 480px) {
  .carousel-main .item .carousel-content .content-bottom {
    position: relative;
    padding: 15px;
  }
  .carousel-main .item .carousel-content .content-bottom .carousel-text-container {
    padding: 15px;
    margin-bottom: 0;
    background: rgba(48, 49, 146, 0.85);
    width: 100%;
    max-width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  .carousel-main .item .carousel-content .content-bottom .carousel-text-container .carousel-heading {
    font-size: 1.1rem !important;
    margin-bottom: 5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  }
  .carousel-main .item .carousel-content .content-bottom .carousel-text-container .carousel-divider {
    margin: 5px 0;
  }
  .carousel-main .item .carousel-content .content-bottom .carousel-text-container .carousel-description {
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
  }
}

/* Enhanced Gallery Styles */
.page-template-page-galleries .category-card-modern .category-title {
  font-size: 1.2rem !important;
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8), 0 2px 16px rgba(0, 0, 0, 0.6) !important;
}

.gallery-thumbnail-item {
  position: relative;
  margin-bottom: 20px;
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}
.gallery-thumbnail-item:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
          box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.gallery-thumbnail-item.hover-active .gallery-thumbnail-image {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.gallery-thumbnail-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background-color: #f8f9fa;
  aspect-ratio: 16/9;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.gallery-thumbnail-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease, -webkit-transform 0.3s ease;
  border-radius: 10px;
}

.gallery-thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(54, 73, 226, 0.8);
  display: none;
  border-radius: 10px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.gallery-thumbnail-overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
}
.gallery-thumbnail-overlay-content i {
  font-size: 2.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  display: block;
  margin-bottom: 10px;
}
.gallery-thumbnail-overlay-content:hover i {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}
.gallery-thumbnail-overlay-content .thumbnail-caption {
  color: white;
  font-size: 0.9rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  line-height: 1.3;
  max-height: 3.9rem; /* 3 lines max */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 10;
}
.loading-spinner i {
  font-size: 2rem;
  color: #303192;
  -webkit-animation: spin 1s linear infinite;
          animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
/* Gallery Navigation Hints */
.gallery-navigation-hints {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  z-index: 10000;
  font-size: 0.9rem;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.gallery-navigation-hints .hint-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 8px;
}
.gallery-navigation-hints .hint-item:last-child {
  margin-bottom: 0;
}
.gallery-navigation-hints .hint-key {
  background: #303192;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-weight: bold;
  margin-right: 10px;
  min-width: 40px;
  text-align: center;
  font-size: 0.8rem;
}
.gallery-navigation-hints .hint-text {
  font-size: 0.85rem;
}

/* Enhanced Lightcase Overrides */
body.gallery-open {
  overflow: hidden;
}

#lightcase-case .gallery-counter {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.85rem;
  margin-left: 10px;
  display: inline-block;
}

/* Fix Lightcase Image Display Issues */
#lightcase-content {
  /* Ensure content container takes full available space and is centered */
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 1280px !important;
  max-height: 720px !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center !important;
      -ms-flex-align: center !important;
          align-items: center !important;
  -webkit-box-pack: center !important;
      -ms-flex-pack: center !important;
          justify-content: center !important;
  margin: 0 auto !important;
  /* Prevent iframe styling */
  /* Ensure images display properly */
}
#lightcase-content iframe {
  display: none !important; /* Hide any iframes that might be created */
}
#lightcase-content img {
  width: auto !important;
  height: auto !important;
  max-width: 90% !important;
  max-height: 90% !important;
  -o-object-fit: contain !important;
     object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Lightcase container fixes */
#lightcase-case {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  -webkit-transform: translate(-50%, -50%) !important;
          transform: translate(-50%, -50%) !important;
  width: auto !important;
  height: auto !important;
  max-width: 90vw !important;
  max-height: 90vh !important;
  z-index: 9999 !important;
  /* Ensure the case container is properly sized */
  /* Override any iframe styles */
}
#lightcase-case .lightcase-content {
  width: 100% !important;
  height: 100% !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center !important;
      -ms-flex-align: center !important;
          align-items: center !important;
  -webkit-box-pack: center !important;
      -ms-flex-pack: center !important;
          justify-content: center !important;
  position: relative !important;
}
#lightcase-case iframe {
  display: none !important;
}

/* Force image mode for lightcase */
.lightcase-image {
  width: auto !important;
  height: auto !important;
  max-width: 1280px !important;
  max-height: 720px !important;
  -o-object-fit: contain !important;
     object-fit: contain !important;
}

/* Additional Lightcase fixes */
#lightcase-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.9) !important;
  z-index: 9998 !important;
}

#lightcase-case {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  -webkit-transform: translate(-50%, -50%) !important;
          transform: translate(-50%, -50%) !important;
  max-width: 90vw !important;
  max-height: 90vh !important;
  width: auto !important;
  height: auto !important;
  z-index: 9999 !important;
  background: transparent !important;
  border: none !important;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
}

/* Ensure content wrapper is properly sized */
#lightcase-content-wrapper {
  width: 100% !important;
  height: 100% !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center !important;
      -ms-flex-align: center !important;
          align-items: center !important;
  -webkit-box-pack: center !important;
      -ms-flex-pack: center !important;
          justify-content: center !important;
  position: relative !important;
}

/* Ensure lightcase info is positioned correctly */
#lightcase-info {
  position: fixed !important;
  bottom: 20px !important;
  left: 50% !important;
  -webkit-transform: translateX(-50%) !important;
          transform: translateX(-50%) !important;
  background: rgba(0, 0, 0, 0.7) !important;
  color: white !important;
  padding: 10px 20px !important;
  border-radius: 20px !important;
  z-index: 10001 !important;
  font-size: 0.9rem !important;
}

/* Override any default lightcase iframe styles */
.lightcase-iframe,
#lightcase-content.lightcase-iframe {
  width: auto !important;
  height: auto !important;
}
.lightcase-iframe iframe,
#lightcase-content.lightcase-iframe iframe {
  display: none !important;
}
.lightcase-iframe img,
#lightcase-content.lightcase-iframe img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 1280px !important;
  max-height: 720px !important;
  -o-object-fit: contain !important;
     object-fit: contain !important;
}

/* Lightcase Navigation Enhancement */
#lightcase-nav-prev,
#lightcase-nav-next {
  position: fixed !important;
  top: 50% !important;
  -webkit-transform: translateY(-50%) !important;
          transform: translateY(-50%) !important;
  background: rgba(54, 73, 226, 0.8) !important;
  border: none !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center !important;
      -ms-flex-align: center !important;
          align-items: center !important;
  -webkit-box-pack: center !important;
      -ms-flex-pack: center !important;
          justify-content: center !important;
  -webkit-transition: all 0.3s ease !important;
  transition: all 0.3s ease !important;
  z-index: 10001 !important;
  cursor: pointer !important;
}
#lightcase-nav-prev:hover,
#lightcase-nav-next:hover {
  background: rgb(54, 73, 226) !important;
  -webkit-transform: translateY(-50%) scale(1.1) !important;
          transform: translateY(-50%) scale(1.1) !important;
}
#lightcase-nav-prev:before,
#lightcase-nav-next:before {
  font-size: 1.5rem !important;
  color: white !important;
  line-height: 1 !important;
}

#lightcase-nav-prev {
  left: 20px !important;
}

#lightcase-nav-next {
  right: 20px !important;
}

#lightcase-close {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  background: rgba(226, 207, 54, 0.9) !important;
  border: none !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center !important;
      -ms-flex-align: center !important;
          align-items: center !important;
  -webkit-box-pack: center !important;
      -ms-flex-pack: center !important;
          justify-content: center !important;
  -webkit-transition: all 0.3s ease !important;
  transition: all 0.3s ease !important;
  z-index: 10001 !important;
  cursor: pointer !important;
}
#lightcase-close:hover {
  background: rgb(226, 207, 54) !important;
  -webkit-transform: scale(1.1) !important;
          transform: scale(1.1) !important;
}
#lightcase-close:before {
  font-size: 1.2rem !important;
  color: white !important;
  line-height: 1 !important;
}

/* Mobile Gallery Enhancements */
@media (max-width: 768px) {
  .gallery-thumbnail-item {
    margin-bottom: 15px;
  }
  .gallery-thumbnail-item:hover {
    -webkit-transform: none;
            transform: none;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .gallery-navigation-hints {
    top: 10px;
    right: 10px;
    left: 10px;
    padding: 10px 15px;
    font-size: 0.8rem;
  }
  .gallery-navigation-hints .hint-item {
    margin-bottom: 5px;
  }
  .gallery-navigation-hints .hint-key {
    min-width: 35px;
    padding: 3px 6px;
    font-size: 0.7rem;
  }
  .gallery-navigation-hints .hint-text {
    font-size: 0.8rem;
  }
  .gallery-thumbnail-overlay-content i {
    font-size: 2rem;
  }
  #lightcase-nav-prev,
  #lightcase-nav-next {
    width: 40px !important;
    height: 40px !important;
  }
  #lightcase-nav-prev:before,
  #lightcase-nav-next:before {
    font-size: 1.2rem !important;
  }
  #lightcase-nav-prev {
    left: 10px !important;
  }
  #lightcase-nav-next {
    right: 10px !important;
  }
  #lightcase-close {
    top: 10px !important;
    right: 10px !important;
    width: 35px !important;
    height: 35px !important;
  }
  #lightcase-close:before {
    font-size: 1rem !important;
  }
  #lightcase-info {
    bottom: 10px !important;
    left: 10px !important;
    right: 10px !important;
    -webkit-transform: none !important;
            transform: none !important;
    text-align: center !important;
  }
}
/* Very small screens */
@media (max-width: 480px) {
  .gallery-thumbnail-container {
    aspect-ratio: 4/3;
  }
  .gallery-navigation-hints {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    margin: 10px;
    text-align: center;
  }
}
/* Custom Gallery Styles */
.custom-gallery-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: none;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.custom-gallery-overlay.show {
  opacity: 1;
}

.custom-gallery-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.custom-gallery-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.custom-gallery-image,
#custom-gallery-image {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
          box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

.custom-gallery-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 10001;
}

.custom-gallery-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #303192;
  border-radius: 50%;
  -webkit-animation: spin 1s linear infinite;
          animation: spin 1s linear infinite;
}

.custom-gallery-btn {
  position: fixed;
  background: rgba(54, 73, 226, 0.8);
  border: none;
  color: white;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  z-index: 10001;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.custom-gallery-btn:hover {
  background: rgb(54, 73, 226);
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.custom-gallery-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.custom-gallery-btn.disabled:hover {
  -webkit-transform: none;
          transform: none;
}
.custom-gallery-btn span {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: bold;
}

.custom-gallery-close {
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(226, 207, 54, 0.8);
}
.custom-gallery-close:hover {
  background: rgb(226, 207, 54);
}
.custom-gallery-close span {
  font-size: 2rem;
}

.custom-gallery-nav {
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 60px;
  height: 60px;
}

.custom-gallery-prev {
  left: 20px;
}

.custom-gallery-next {
  right: 20px;
}

.custom-gallery-info {
  position: fixed;
  bottom: 20px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px 25px;
  border-radius: 25px;
  z-index: 10001;
  text-align: center;
  max-width: 80%;
}

.custom-gallery-title {
  font-size: 1rem;
  margin-bottom: 5px;
  font-weight: 500;
}

.custom-gallery-counter {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Body class when gallery is open */
body.custom-gallery-open {
  overflow: hidden;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .custom-gallery-btn {
    width: 50px;
    height: 50px;
  }
  .custom-gallery-btn span {
    font-size: 1.3rem;
  }
  .custom-gallery-close {
    top: 10px;
    right: 10px;
    width: 45px;
    height: 45px;
  }
  .custom-gallery-close span {
    font-size: 1.8rem;
  }
  .custom-gallery-nav {
    width: 50px;
    height: 50px;
  }
  .custom-gallery-prev {
    left: 10px;
  }
  .custom-gallery-next {
    right: 10px;
  }
  .custom-gallery-info {
    bottom: 10px;
    left: 10px;
    right: 10px;
    -webkit-transform: none;
            transform: none;
    max-width: none;
    padding: 10px 15px;
    border-radius: 15px;
  }
  .custom-gallery-title {
    font-size: 0.9rem;
  }
  .custom-gallery-counter {
    font-size: 0.8rem;
  }
}
@media (max-width: 480px) {
  .custom-gallery-content {
    max-width: 95vw;
    max-height: 85vh;
  }
  .custom-gallery-image,
  #custom-gallery-image {
    max-height: 85vh;
  }
}
/* Simple Gallery Overrides for Larger Images */
#simple-gallery img {
  /* Allow images to display at their full size on large screens */
  max-width: 1280px !important;
  max-height: 720px !important;
  width: auto !important;
  height: auto !important;
  -o-object-fit: contain !important;
     object-fit: contain !important;
}

/* Ensure gallery container can accommodate larger images */
@media (min-width: 1400px) {
  #simple-gallery img {
    /* On very large screens, allow full 1280x720 display */
    max-width: 1280px !important;
    max-height: 720px !important;
  }
}
/* For medium to large screens, scale appropriately */
@media (min-width: 1024px) and (max-width: 1399px) {
  #simple-gallery img {
    max-width: 90vw !important;
    max-height: 80vh !important;
  }
}
/* For tablets and smaller laptops */
@media (max-width: 1023px) {
  #simple-gallery img {
    max-width: 85vw !important;
    max-height: 75vh !important;
  }
}
/* Simple Gallery Button Hover Effects */
#simple-gallery button {
  -webkit-transition: all 0.3s ease !important;
  transition: all 0.3s ease !important;
}
#simple-gallery button:hover {
  -webkit-transform: scale(1.1) !important;
          transform: scale(1.1) !important;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}
#simple-gallery #simple-gallery-close:hover {
  background: #d4b82e !important; /* Darker yellow on hover */
}
#simple-gallery #simple-gallery-prev:hover,
#simple-gallery #simple-gallery-next:hover {
  background: #2a3bc7 !important; /* Darker blue on hover */
  -webkit-transform: translateY(-50%) scale(1.1) !important;
          transform: translateY(-50%) scale(1.1) !important;
}
#simple-gallery #simple-gallery-prev:hover {
  -webkit-transform: translateY(-50%) scale(1.1) !important;
          transform: translateY(-50%) scale(1.1) !important;
}

/* WordPress Gutenberg Block Editor Styles */
/* 
 * Column Card Styles - Consistent with site-wide card design
 * 
 * Usage Instructions:
 * 1. Add these classes to individual columns in the Gutenberg editor
 * 2. In the block editor, select a column and add the class in "Advanced > Additional CSS class(es)"
 * 
 * Available Classes:
 * - column-card: Basic white card with shadow
 * - column-card-primary: White card with blue left border accent
 * - column-card-light: Light grey background card
 * - column-card-highlight: Light blue background card
 * 
 * Modifiers (can be combined):
 * - Add "-compact" for less padding (e.g., column-card-compact)
 * - Add "-spacious" for more padding (e.g., column-card-spacious)
 * - Add "-center" for centered text (e.g., column-card-center)
 * - Add "-static" to disable hover effects (e.g., column-card-static)
 * - Add "-icon-top" for icon/image at top layout (e.g., column-card-icon-top)
 * 
 * For equal height cards, add "equal-height-cards" class to the Columns block
 */
/* Basic column card - matches event-card styling */
.wp-block-columns .wp-block-column.column-card,
.wp-block-column.column-card {
  background-color: #ffffff;
  border-radius: 10px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 20px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}
.wp-block-columns .wp-block-column.column-card:hover,
.wp-block-column.column-card:hover {
  -webkit-box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
          box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
}

/* Column card with primary accent - matches extracurricular-summary styling */
.wp-block-columns .wp-block-column.column-card-primary,
.wp-block-column.column-card-primary {
  background-color: #ffffff;
  border-radius: 10px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 20px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 4px solid #303192;
  margin-bottom: 20px;
}
.wp-block-columns .wp-block-column.column-card-primary:hover,
.wp-block-column.column-card-primary:hover {
  -webkit-box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
          box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
}

/* Light background column card - matches blog-metadata styling */
.wp-block-columns .wp-block-column.column-card-light,
.wp-block-column.column-card-light {
  background-color: #f8f9fa;
  border-radius: 10px;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 20px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}
.wp-block-columns .wp-block-column.column-card-light:hover,
.wp-block-column.column-card-light:hover {
  -webkit-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
          box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}

/* Primary highlight column card - light blue background */
.wp-block-columns .wp-block-column.column-card-highlight,
.wp-block-column.column-card-highlight {
  background-color: rgba(54, 73, 226, 0.1); /* Light blue background using primary color with transparency */
  border-radius: 10px;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 20px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 1px solid rgba(54, 73, 226, 0.2);
  margin-bottom: 20px;
}
.wp-block-columns .wp-block-column.column-card-highlight:hover,
.wp-block-column.column-card-highlight:hover {
  background-color: rgba(54, 73, 226, 0.15); /* Slightly darker on hover */
  -webkit-box-shadow: 0 6px 15px rgba(54, 73, 226, 0.15);
          box-shadow: 0 6px 15px rgba(54, 73, 226, 0.15);
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}

/* Padding modifiers */
.wp-block-column.column-card-compact,
.wp-block-column.column-card-primary-compact,
.wp-block-column.column-card-light-compact,
.wp-block-column.column-card-highlight-compact {
  padding: 15px !important;
}

.wp-block-column.column-card-spacious,
.wp-block-column.column-card-primary-spacious,
.wp-block-column.column-card-light-spacious,
.wp-block-column.column-card-highlight-spacious {
  padding: 30px !important;
}

/* Remove bottom margin for last column cards in a row */
.wp-block-columns .wp-block-column:last-child.column-card,
.wp-block-columns .wp-block-column:last-child.column-card-primary,
.wp-block-columns .wp-block-column:last-child.column-card-light,
.wp-block-columns .wp-block-column:last-child.column-card-highlight {
  margin-bottom: 0;
}

/* Responsive adjustments for column cards */
@media (max-width: 768px) {
  .wp-block-column.column-card,
  .wp-block-column.column-card-primary,
  .wp-block-column.column-card-light,
  .wp-block-column.column-card-highlight {
    margin-bottom: 15px;
    padding: 15px;
  }
  .wp-block-column.column-card.column-card-compact,
  .wp-block-column.column-card-primary.column-card-compact,
  .wp-block-column.column-card-light.column-card-compact,
  .wp-block-column.column-card-highlight.column-card-compact {
    padding: 12px !important;
  }
  .wp-block-column.column-card.column-card-spacious,
  .wp-block-column.column-card-primary.column-card-spacious,
  .wp-block-column.column-card-light.column-card-spacious,
  .wp-block-column.column-card-highlight.column-card-spacious {
    padding: 20px !important;
  }
}
/* Content styling within column cards */
.wp-block-column.column-card,
.wp-block-column.column-card-primary,
.wp-block-column.column-card-light,
.wp-block-column.column-card-highlight {
  /* Style headings within column cards */
  /* Style paragraphs within column cards */
  /* Style lists within column cards */
  /* Style images within column cards */
  /* Style buttons within column cards */
}
.wp-block-column.column-card h1, .wp-block-column.column-card h2, .wp-block-column.column-card h3, .wp-block-column.column-card h4, .wp-block-column.column-card h5, .wp-block-column.column-card h6,
.wp-block-column.column-card-primary h1,
.wp-block-column.column-card-primary h2,
.wp-block-column.column-card-primary h3,
.wp-block-column.column-card-primary h4,
.wp-block-column.column-card-primary h5,
.wp-block-column.column-card-primary h6,
.wp-block-column.column-card-light h1,
.wp-block-column.column-card-light h2,
.wp-block-column.column-card-light h3,
.wp-block-column.column-card-light h4,
.wp-block-column.column-card-light h5,
.wp-block-column.column-card-light h6,
.wp-block-column.column-card-highlight h1,
.wp-block-column.column-card-highlight h2,
.wp-block-column.column-card-highlight h3,
.wp-block-column.column-card-highlight h4,
.wp-block-column.column-card-highlight h5,
.wp-block-column.column-card-highlight h6 {
  margin-top: 0;
  margin-bottom: 15px;
}
.wp-block-column.column-card h1:last-child, .wp-block-column.column-card h2:last-child, .wp-block-column.column-card h3:last-child, .wp-block-column.column-card h4:last-child, .wp-block-column.column-card h5:last-child, .wp-block-column.column-card h6:last-child,
.wp-block-column.column-card-primary h1:last-child,
.wp-block-column.column-card-primary h2:last-child,
.wp-block-column.column-card-primary h3:last-child,
.wp-block-column.column-card-primary h4:last-child,
.wp-block-column.column-card-primary h5:last-child,
.wp-block-column.column-card-primary h6:last-child,
.wp-block-column.column-card-light h1:last-child,
.wp-block-column.column-card-light h2:last-child,
.wp-block-column.column-card-light h3:last-child,
.wp-block-column.column-card-light h4:last-child,
.wp-block-column.column-card-light h5:last-child,
.wp-block-column.column-card-light h6:last-child,
.wp-block-column.column-card-highlight h1:last-child,
.wp-block-column.column-card-highlight h2:last-child,
.wp-block-column.column-card-highlight h3:last-child,
.wp-block-column.column-card-highlight h4:last-child,
.wp-block-column.column-card-highlight h5:last-child,
.wp-block-column.column-card-highlight h6:last-child {
  margin-bottom: 0;
}
.wp-block-column.column-card p,
.wp-block-column.column-card-primary p,
.wp-block-column.column-card-light p,
.wp-block-column.column-card-highlight p {
  margin-bottom: 15px;
}
.wp-block-column.column-card p:last-child,
.wp-block-column.column-card-primary p:last-child,
.wp-block-column.column-card-light p:last-child,
.wp-block-column.column-card-highlight p:last-child {
  margin-bottom: 0;
}
.wp-block-column.column-card ul, .wp-block-column.column-card ol,
.wp-block-column.column-card-primary ul,
.wp-block-column.column-card-primary ol,
.wp-block-column.column-card-light ul,
.wp-block-column.column-card-light ol,
.wp-block-column.column-card-highlight ul,
.wp-block-column.column-card-highlight ol {
  margin-bottom: 15px;
}
.wp-block-column.column-card ul:last-child, .wp-block-column.column-card ol:last-child,
.wp-block-column.column-card-primary ul:last-child,
.wp-block-column.column-card-primary ol:last-child,
.wp-block-column.column-card-light ul:last-child,
.wp-block-column.column-card-light ol:last-child,
.wp-block-column.column-card-highlight ul:last-child,
.wp-block-column.column-card-highlight ol:last-child {
  margin-bottom: 0;
}
.wp-block-column.column-card img,
.wp-block-column.column-card-primary img,
.wp-block-column.column-card-light img,
.wp-block-column.column-card-highlight img {
  border-radius: 6px;
  max-width: 100%;
  height: auto;
}
.wp-block-column.column-card .wp-block-button,
.wp-block-column.column-card-primary .wp-block-button,
.wp-block-column.column-card-light .wp-block-button,
.wp-block-column.column-card-highlight .wp-block-button {
  margin-bottom: 10px;
}
.wp-block-column.column-card .wp-block-button:last-child,
.wp-block-column.column-card-primary .wp-block-button:last-child,
.wp-block-column.column-card-light .wp-block-button:last-child,
.wp-block-column.column-card-highlight .wp-block-button:last-child {
  margin-bottom: 0;
}

/* Additional utility classes for column cards */
/* Center content within column cards */
.wp-block-column.column-card-center,
.wp-block-column.column-card-primary-center,
.wp-block-column.column-card-light-center,
.wp-block-column.column-card-highlight-center {
  text-align: center;
}

/* Vertical centering classes for Gutenberg columns */
/* 
 * ========================================
 * VERTICAL CENTERING UTILITY CLASSES
 * ========================================
 * 
 * These classes allow you to vertically center content in Gutenberg columns
 * without relying on spacer blocks. Text remains left-aligned for readability.
 * 
 * USAGE INSTRUCTIONS:
 * 1. In the Gutenberg editor, select a Column block
 * 2. In the sidebar, go to "Advanced" → "Additional CSS class(es)"
 * 3. Add one or more of the classes below
 * 
 * BASIC VERTICAL ALIGNMENT:
 * - column-vcenter: Center content vertically (most common)
 * - column-vcenter-top: Align content to top (default behavior)
 * - column-vcenter-bottom: Align content to bottom

 * 
 * HEIGHT CONTROL (combine with alignment classes):
 * - column-height-200: Set minimum height to 200px
 * - column-height-250: Set minimum height to 250px
 * - column-height-300: Set minimum height to 300px
 * - column-height-350: Set minimum height to 350px
 * - column-height-400: Set minimum height to 400px
 * - column-height-450: Set minimum height to 450px
 * - column-height-500: Set minimum height to 500px
 * - column-height-50vh: Set minimum height to 50% of viewport height
 * - column-height-60vh: Set minimum height to 60% of viewport height
 * - column-height-70vh: Set minimum height to 70% of viewport height
 * - column-height-80vh: Set minimum height to 80% of viewport height
 * 
 * EXAMPLES:
 * - "column-vcenter" → Center content with default 200px minimum height
 * - "column-vcenter column-height-400" → Center content in 400px tall column
 * - "column-vcenter-bottom column-height-300" → Bottom-align content in 300px column
 * - "column-vcenter-top column-height-250" → Top-align content in 250px column
 * - "column-card column-vcenter" → Centered content in a styled card
 * - "column-card-primary column-vcenter column-height-350" → Primary card with centered content
 * 
 * COMPATIBILITY:
 * - Works with all column-card classes (column-card, column-card-primary, etc.)
 * - Works with equal-height-cards containers
 * - Responsive: Heights adjust automatically on mobile devices
 * - Text always remains left-aligned for readability
 */
/* Basic vertical centering - content centered, text left-aligned */
.wp-block-column.column-vcenter {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
      -ms-flex-direction: column !important;
          flex-direction: column !important;
  -webkit-box-pack: center !important;
      -ms-flex-pack: center !important;
          justify-content: center !important;
  -webkit-box-align: stretch !important;
      -ms-flex-align: stretch !important;
          align-items: stretch !important; /* Keep full width for text alignment */
  min-height: 200px; /* Minimum height to see centering effect */
  /* Ensure text remains left-aligned */
  /* Override any center text alignment from other classes */
}
.wp-block-column.column-vcenter * {
  text-align: left !important;
}
.wp-block-column.column-vcenter.column-card-center *, .wp-block-column.column-vcenter.column-card-primary-center *, .wp-block-column.column-vcenter.column-card-light-center *, .wp-block-column.column-vcenter.column-card-highlight-center * {
  text-align: left !important;
}

/* Vertical align to top */
.wp-block-column.column-vcenter-top {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
      -ms-flex-direction: column !important;
          flex-direction: column !important;
  -webkit-box-pack: start !important;
      -ms-flex-pack: start !important;
          justify-content: flex-start !important;
  -webkit-box-align: stretch !important;
      -ms-flex-align: stretch !important;
          align-items: stretch !important;
}
.wp-block-column.column-vcenter-top * {
  text-align: left !important;
}

/* Vertical align to bottom */
.wp-block-column.column-vcenter-bottom {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
      -ms-flex-direction: column !important;
          flex-direction: column !important;
  -webkit-box-pack: end !important;
      -ms-flex-pack: end !important;
          justify-content: flex-end !important;
  -webkit-box-align: stretch !important;
      -ms-flex-align: stretch !important;
          align-items: stretch !important;
  min-height: 200px;
}
.wp-block-column.column-vcenter-bottom * {
  text-align: left !important;
}

/* Enhanced vertical centering for columns within equal-height containers */
.wp-block-columns.equal-height-cards .wp-block-column.column-vcenter,
.wp-block-columns.equal-height-cards-grid .wp-block-column.column-vcenter {
  min-height: auto !important; /* Let the container determine height */
}

/* Responsive adjustments for vertical centering */
@media (max-width: 768px) {
  .wp-block-column.column-vcenter,
  .wp-block-column.column-vcenter-bottom,
  .wp-block-column.column-vcenter-stretch {
    min-height: 150px; /* Smaller minimum height on mobile */
  }
}
@media (max-width: 480px) {
  .wp-block-column.column-vcenter,
  .wp-block-column.column-vcenter-bottom,
  .wp-block-column.column-vcenter-stretch {
    min-height: 120px; /* Even smaller on very small screens */
  }
}
/* Additional height utility classes for columns */
/* 
 * Height Utility Classes for Columns
 * 
 * Usage: Add these classes along with vertical centering classes
 * Example: "column-vcenter column-height-300" for 300px tall centered column
 */
.wp-block-column.column-height-200 {
  min-height: 200px !important;
}

.wp-block-column.column-height-250 {
  min-height: 250px !important;
}

.wp-block-column.column-height-300 {
  min-height: 300px !important;
}

.wp-block-column.column-height-350 {
  min-height: 350px !important;
}

.wp-block-column.column-height-400 {
  min-height: 400px !important;
}

.wp-block-column.column-height-450 {
  min-height: 450px !important;
}

.wp-block-column.column-height-500 {
  min-height: 500px !important;
}

/* Full viewport height options */
.wp-block-column.column-height-50vh {
  min-height: 50vh !important;
}

.wp-block-column.column-height-60vh {
  min-height: 60vh !important;
}

.wp-block-column.column-height-70vh {
  min-height: 70vh !important;
}

.wp-block-column.column-height-80vh {
  min-height: 80vh !important;
}

/* Responsive height adjustments */
@media (max-width: 768px) {
  .wp-block-column.column-height-400,
  .wp-block-column.column-height-450,
  .wp-block-column.column-height-500 {
    min-height: 300px !important;
  }
  .wp-block-column.column-height-70vh,
  .wp-block-column.column-height-80vh {
    min-height: 60vh !important;
  }
}
@media (max-width: 480px) {
  .wp-block-column.column-height-300,
  .wp-block-column.column-height-350,
  .wp-block-column.column-height-400,
  .wp-block-column.column-height-450,
  .wp-block-column.column-height-500 {
    min-height: 250px !important;
  }
  .wp-block-column.column-height-50vh,
  .wp-block-column.column-height-60vh,
  .wp-block-column.column-height-70vh,
  .wp-block-column.column-height-80vh {
    min-height: 50vh !important;
  }
}
/* Equal height column cards (when used in a columns block) */
/* Using very specific selectors to override Gutenberg's CSS */
.wp-block-columns.equal-height-cards.is-layout-flex.wp-block-columns-is-layout-flex,
.wp-block-columns.equal-height-cards.is-layout-flex,
.wp-block-columns.equal-height-cards {
  -webkit-box-align: stretch !important;
      -ms-flex-align: stretch !important;
          align-items: stretch !important;
  min-height: 100% !important;
}

.wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow.column-card, .wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow.column-card-primary, .wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow.column-card-light, .wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow.column-card-highlight,
.wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.column-card,
.wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.column-card-primary,
.wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.column-card-light,
.wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.column-card-highlight,
.wp-block-columns.equal-height-cards .wp-block-column.column-card,
.wp-block-columns.equal-height-cards .wp-block-column.column-card-primary,
.wp-block-columns.equal-height-cards .wp-block-column.column-card-light,
.wp-block-columns.equal-height-cards .wp-block-column.column-card-highlight {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
      -ms-flex-direction: column !important;
          flex-direction: column !important;
  -ms-flex-item-align: stretch !important;
      align-self: stretch !important;
  height: auto !important;
  min-height: 100% !important;
  -webkit-box-flex: 1 !important;
      -ms-flex: 1 1 auto !important;
          flex: 1 1 auto !important;
  /* Ensure all content within the card is properly spaced */
  /* Remove margin from last element and make it grow */
}
.wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow.column-card > *, .wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow.column-card-primary > *, .wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow.column-card-light > *, .wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow.column-card-highlight > *,
.wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.column-card > *,
.wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.column-card-primary > *,
.wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.column-card-light > *,
.wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.column-card-highlight > *,
.wp-block-columns.equal-height-cards .wp-block-column.column-card > *,
.wp-block-columns.equal-height-cards .wp-block-column.column-card-primary > *,
.wp-block-columns.equal-height-cards .wp-block-column.column-card-light > *,
.wp-block-columns.equal-height-cards .wp-block-column.column-card-highlight > * {
  margin-bottom: 15px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow.column-card > *:last-child, .wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow.column-card-primary > *:last-child, .wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow.column-card-light > *:last-child, .wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow.column-card-highlight > *:last-child,
.wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.column-card > *:last-child,
.wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.column-card-primary > *:last-child,
.wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.column-card-light > *:last-child,
.wp-block-columns.equal-height-cards .wp-block-column.is-layout-flow.column-card-highlight > *:last-child,
.wp-block-columns.equal-height-cards .wp-block-column.column-card > *:last-child,
.wp-block-columns.equal-height-cards .wp-block-column.column-card-primary > *:last-child,
.wp-block-columns.equal-height-cards .wp-block-column.column-card-light > *:last-child,
.wp-block-columns.equal-height-cards .wp-block-column.column-card-highlight > *:last-child {
  margin-bottom: 0 !important;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

/* Alternative approach using CSS Grid for equal heights */
.wp-block-columns.equal-height-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: 20px !important;
  -webkit-box-align: stretch !important;
      -ms-flex-align: stretch !important;
          align-items: stretch !important;
}
.wp-block-columns.equal-height-cards-grid .wp-block-column.column-card, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-primary, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-light, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-highlight {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
      -ms-flex-direction: column !important;
          flex-direction: column !important;
  height: 100% !important;
  -webkit-box-align: stretch !important;
      -ms-flex-align: stretch !important;
          align-items: stretch !important;
  /* Reset all margins and ensure consistent spacing */
  /* First element should have no top margin */
  /* Last element grows to fill space and has no bottom margin */
  /* Ensure headings have consistent spacing */
  /* Ensure paragraphs have consistent spacing */
  /* Reset any WordPress block margins that might cause differences */
}
.wp-block-columns.equal-height-cards-grid .wp-block-column.column-card > *, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-primary > *, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-light > *, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-highlight > * {
  margin-top: 0 !important;
  margin-bottom: 15px !important;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.wp-block-columns.equal-height-cards-grid .wp-block-column.column-card > *:first-child, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-primary > *:first-child, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-light > *:first-child, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-highlight > *:first-child {
  margin-top: 0 !important;
}
.wp-block-columns.equal-height-cards-grid .wp-block-column.column-card > *:last-child, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-primary > *:last-child, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-light > *:last-child, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-highlight > *:last-child {
  margin-bottom: 0 !important;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
.wp-block-columns.equal-height-cards-grid .wp-block-column.column-card h1, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card h2, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card h3, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card h4, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card h5, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card h6, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-primary h1, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-primary h2, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-primary h3, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-primary h4, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-primary h5, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-primary h6, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-light h1, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-light h2, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-light h3, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-light h4, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-light h5, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-light h6, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-highlight h1, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-highlight h2, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-highlight h3, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-highlight h4, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-highlight h5, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-highlight h6 {
  margin-top: 0 !important;
  margin-bottom: 15px !important;
  line-height: 1.3 !important;
}
.wp-block-columns.equal-height-cards-grid .wp-block-column.column-card p, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-primary p, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-light p, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-highlight p {
  margin-top: 0 !important;
  margin-bottom: 15px !important;
  line-height: 1.5 !important;
}
.wp-block-columns.equal-height-cards-grid .wp-block-column.column-card .wp-block-heading, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-primary .wp-block-heading, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-light .wp-block-heading, .wp-block-columns.equal-height-cards-grid .wp-block-column.column-card-highlight .wp-block-heading {
  margin-top: 0 !important;
  margin-bottom: 15px !important;
}

/* Improved flexbox approach with better height matching */
.wp-block-columns.equal-height-cards-flex {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: stretch !important;
      -ms-flex-align: stretch !important;
          align-items: stretch !important;
  gap: 20px !important;
}
.wp-block-columns.equal-height-cards-flex .wp-block-column {
  -webkit-box-flex: 1 !important;
      -ms-flex: 1 !important;
          flex: 1 !important;
}
.wp-block-columns.equal-height-cards-flex .wp-block-column.column-card, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-primary, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-light, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-highlight {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
      -ms-flex-direction: column !important;
          flex-direction: column !important;
  height: 100% !important;
  /* Reset all spacing to ensure consistency */
  /* Consistent heading and paragraph spacing */
}
.wp-block-columns.equal-height-cards-flex .wp-block-column.column-card > *, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-primary > *, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-light > *, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-highlight > * {
  margin-top: 0 !important;
  margin-bottom: 15px !important;
}
.wp-block-columns.equal-height-cards-flex .wp-block-column.column-card > *:first-child, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-primary > *:first-child, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-light > *:first-child, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-highlight > *:first-child {
  margin-top: 0 !important;
}
.wp-block-columns.equal-height-cards-flex .wp-block-column.column-card > *:last-child, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-primary > *:last-child, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-light > *:last-child, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-highlight > *:last-child {
  margin-bottom: 0 !important;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.wp-block-columns.equal-height-cards-flex .wp-block-column.column-card h1, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card h2, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card h3, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card h4, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card h5, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card h6, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-primary h1, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-primary h2, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-primary h3, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-primary h4, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-primary h5, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-primary h6, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-light h1, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-light h2, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-light h3, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-light h4, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-light h5, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-light h6, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-highlight h1, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-highlight h2, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-highlight h3, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-highlight h4, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-highlight h5, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-highlight h6 {
  margin-top: 0 !important;
  margin-bottom: 15px !important;
  line-height: 1.3 !important;
}
.wp-block-columns.equal-height-cards-flex .wp-block-column.column-card p, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-primary p, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-light p, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-highlight p {
  margin-top: 0 !important;
  margin-bottom: 15px !important;
  line-height: 1.5 !important;
}
.wp-block-columns.equal-height-cards-flex .wp-block-column.column-card .wp-block-heading, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-primary .wp-block-heading, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-light .wp-block-heading, .wp-block-columns.equal-height-cards-flex .wp-block-column.column-card-highlight .wp-block-heading {
  margin-top: 0 !important;
  margin-bottom: 15px !important;
}

/* No hover effects variant */
.wp-block-column.column-card-static:hover,
.wp-block-column.column-card-primary-static:hover,
.wp-block-column.column-card-light-static:hover,
.wp-block-column.column-card-highlight-static:hover {
  -webkit-transform: none !important;
          transform: none !important;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
}

/* Column card with icon/image at top */
.wp-block-column.column-card-icon-top,
.wp-block-column.column-card-primary-icon-top,
.wp-block-column.column-card-light-icon-top,
.wp-block-column.column-card-highlight-icon-top {
  text-align: center;
}
.wp-block-column.column-card-icon-top .wp-block-image:first-child,
.wp-block-column.column-card-icon-top img:first-child,
.wp-block-column.column-card-primary-icon-top .wp-block-image:first-child,
.wp-block-column.column-card-primary-icon-top img:first-child,
.wp-block-column.column-card-light-icon-top .wp-block-image:first-child,
.wp-block-column.column-card-light-icon-top img:first-child,
.wp-block-column.column-card-highlight-icon-top .wp-block-image:first-child,
.wp-block-column.column-card-highlight-icon-top img:first-child {
  margin-bottom: 15px;
  max-width: 80px;
  height: auto;
  border-radius: 50%;
}

/* Responsee Framework Integration */
/* Ensure column cards work well with Responsee grid system */
.wp-block-columns .wp-block-column.column-card, .wp-block-columns .wp-block-column.column-card-primary, .wp-block-columns .wp-block-column.column-card-light, .wp-block-columns .wp-block-column.column-card-highlight {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
}
@media (min-width: 769px) {
  .wp-block-columns .wp-block-column.column-card, .wp-block-columns .wp-block-column.column-card-primary, .wp-block-columns .wp-block-column.column-card-light, .wp-block-columns .wp-block-column.column-card-highlight {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Integration with existing Responsee classes */
.wp-block-column.column-card.background-white, .wp-block-column.column-card-primary.background-white, .wp-block-column.column-card-light.background-white, .wp-block-column.column-card-highlight.background-white {
  background-color: #ffffff !important;
}
.wp-block-column.column-card.background-grey-light, .wp-block-column.column-card-primary.background-grey-light, .wp-block-column.column-card-light.background-grey-light, .wp-block-column.column-card-highlight.background-grey-light {
  background-color: #f8f9fa !important;
}

/* Reusable image styles */
.rounded-image-top {
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

.rounded-image, .carousel-default .item img, .grid.margin article.s-12.m-12.l-6.margin-m-bottom:last-child img {
  border-radius: 10px;
  overflow: hidden;
}
.rounded-image img, .carousel-default .item img img, .grid.margin article.s-12.m-12.l-6.margin-m-bottom:last-child img img {
  border-radius: 10px;
  overflow: hidden;
}

.rounded-image-full {
  border-radius: 10px;
  overflow: hidden;
}
.rounded-image-full img {
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 16/9;
}

/* Gallery specific styles */
.image-with-hover-overlay.rounded-image-full {
  margin-bottom: 20px;
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.image-with-hover-overlay.rounded-image-full:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
          box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.full-img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

.full-width-img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  margin: 0 auto;
  max-width: 1720px;
}

/* Extracurricular page styles */
.extracurricular-summary {
  background-color: #f8f8f8;
  border-left: 4px solid #303192;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 4px solid #303192; /* Maintain the left border */
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.extracurricular-summary:hover {
  -webkit-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
          box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.extracurricular-summary p {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.5;
}
.extracurricular-summary p:last-child {
  margin-bottom: 0;
}
.extracurricular-summary p strong {
  color: #303192;
  font-weight: 600;
}

/* Single Extracurricular Activity Styles */
.background-primary-hightlight {
  background-color: rgb(189.9020618557, 190.3479381443, 233.5979381443);
  padding: 15px; /* Reduced padding from 20px to 15px */
  border-radius: 10px;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(54, 73, 226, 0.1);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  /* Governance filter buttons */
  /* Style for each info row */
  /* Reduce margin in grid */
  /* Special styling for Extracurricular Category section */
}
.background-primary-hightlight .teacher-filter-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
}
.background-primary-hightlight .teacher-filter-buttons .teacher-filter-btn {
  margin: 5px;
  padding: 8px 15px;
  background-color: white;
  color: #303192;
  border: 1px solid #303192;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.background-primary-hightlight .teacher-filter-buttons .teacher-filter-btn:hover {
  background-color: #303192;
  color: white;
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}
.background-primary-hightlight .teacher-filter-buttons .teacher-filter-btn.active {
  background-color: #303192;
  color: white;
  font-weight: bold;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.background-primary-hightlight:hover {
  -webkit-box-shadow: 0 6px 15px rgba(54, 73, 226, 0.15);
          box-shadow: 0 6px 15px rgba(54, 73, 226, 0.15);
}
.background-primary-hightlight .activity-excerpt {
  font-size: 0.95rem;
  line-height: 1.3;
  padding-bottom: 8px;
}
.background-primary-hightlight .s-12.margin-bottom-10 {
  margin-bottom: 1px; /* Reduced from 15px to 8px */
  padding-bottom: 1px; /* Reduced from 12px to 8px */
}
.background-primary-hightlight .s-12.margin-bottom-10:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.background-primary-hightlight .grid.margin {
  margin: 0 -5px; /* Reduced margin */
  /* Reduce spacing between grid items */
}
.background-primary-hightlight .grid.margin > div {
  padding: 0 5px;
}
.background-primary-hightlight .s-12.margin-bottom-10:nth-child(2) {
  background-color: rgba(54, 73, 226, 0.08);
  border-radius: 6px;
  padding: 6px;
  margin: 8px 0;
  border-left: 3px solid #303192;
}
.background-primary-hightlight .s-12.margin-bottom-10:nth-child(2) a.category-link {
  display: inline-block;
  position: relative;
  padding: 3px 20px 3px 3px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}
.background-primary-hightlight .s-12.margin-bottom-10:nth-child(2) a.category-link i.icon-tag {
  color: #303192;
}
.background-primary-hightlight .s-12.margin-bottom-10:nth-child(2) a.category-link:after {
  content: "→";
  position: absolute;
  right: 5px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  color: #303192;
  font-size: 0.8rem;
}
.background-primary-hightlight .s-12.margin-bottom-10:nth-child(2) a.category-link:hover {
  background-color: rgba(255, 255, 255, 0.9);
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.background-primary-hightlight .s-12.margin-bottom-10:nth-child(2) a.category-link:hover:after {
  right: 5px;
}

/* Activity Summary Table Styles */
.activity-summary-container {
  background-color: white;
  border-radius: 10px;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(54, 73, 226, 0.1);
  overflow: hidden;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.activity-summary-container:hover {
  -webkit-box-shadow: 0 6px 15px rgba(54, 73, 226, 0.15);
          box-shadow: 0 6px 15px rgba(54, 73, 226, 0.15);
}

.activity-summary-table {
  width: 100%;
  border-collapse: collapse;
  /* Make table responsive */
  /* Table styles for larger screens */
  /* Alternating row backgrounds */
  /* Excerpt cell styling */
  /* Category link styling */
}
@media screen and (max-width: 600px) {
  .activity-summary-table {
    display: block;
  }
  .activity-summary-table tbody, .activity-summary-table tr, .activity-summary-table th, .activity-summary-table td {
    display: block;
    width: 100%;
  }
  .activity-summary-table th {
    text-align: left;
    background-color: rgb(201.4164948454, 201.7835051546, 237.3835051546);
    padding: 10px;
    border-bottom: 1px solid rgba(54, 73, 226, 0.1);
  }
  .activity-summary-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(54, 73, 226, 0.1);
  }
  .activity-summary-table tr:last-child td, .activity-summary-table tr:last-child th {
    border-bottom: none;
  }
}
@media screen and (min-width: 601px) {
  .activity-summary-table th {
    text-align: left;
    padding: 5px 15px;
    width: 40%;
    font-weight: 600;
    color: #303192;
  }
  .activity-summary-table td {
    padding: 5px 15px;
  }
}
.activity-summary-table .table-row-odd {
  background-color: rgb(189.9020618557, 190.3479381443, 233.5979381443);
}
.activity-summary-table .table-row-even {
  background-color: white;
}
.activity-summary-table .activity-excerpt-cell {
  padding: 10px 15px !important;
}
.activity-summary-table .activity-excerpt {
  font-size: 0.95rem;
  line-height: 1.4;
  color: rgb(192.8146551724, 92.9331896552, 8.6853448276);
  font-weight: 500;
}
.activity-summary-table .category-link {
  display: inline-block;
  position: relative;
  padding: 3px 20px 3px 3px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}
.activity-summary-table .category-link:after {
  content: "→";
  position: absolute;
  right: 5px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  color: #303192;
  font-size: 0.8rem;
}
.activity-summary-table .category-link:hover {
  background-color: rgba(255, 255, 255, 0.9);
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Extracurricular Item Page Image */
.extracurricular-page-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Activity items on extracurricular pages */
.activities-list {
  /* Styles for the simplified related activities (title and date only) */
  /* Separator line between activities */
  /* Thumbnail image in activity cards */
}
.activities-list a.activity-link {
  text-decoration: none;
  display: block;
  color: inherit;
  padding: 12px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  cursor: pointer;
  /* Add border-bottom to separate activities in the single rounded div */
}
.activities-list a.activity-link:hover {
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}
.activities-list a.activity-link.border-bottom {
  border-bottom: 1px solid rgba(54, 73, 226, 0.2);
  padding-bottom: 15px;
  margin-bottom: 10px;
}
.activities-list a.activity-link h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
  line-height: 1.3;
  color: #303192;
}
.activities-list a.activity-link p {
  margin: 0;
  color: #666;
}
.activities-list hr.activity-separator {
  border: 0;
  height: 1px;
  background: rgba(54, 73, 226, 0.2);
  margin: 10px 0;
}
.activities-list .activity-thumbnail {
  width: 100%;
  height: auto;
  border-radius: 6px;
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* No activities message styling */
.no-activities-message .background-grey-light {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.no-activities-message .background-grey-light:hover {
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.no-activities-message .icon-info-circled {
  color: #303192;
  display: inline-block;
  margin-bottom: 15px;
}
.no-activities-message p {
  color: #555;
  line-height: 1.5;
}
.no-activities-message p.text-strong {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 8px;
}
.no-activities-message .button {
  margin-top: 10px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.no-activities-message .button:hover {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}

/* Buttons with primary background */
.button.background-primary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 1.1rem;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 2px solid #303192;
}
.button.background-primary:hover {
  background-color: transparent !important;
  color: #303192 !important;
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Blog author and category links */
.blog-author,
.blog-category {
  color: #0000ff !important;
}
.blog-author:hover,
.blog-category:hover {
  text-decoration: underline;
}

/* About Celine's Academy section styles */
.grid.margin article.s-12.m-12.l-6.margin-m-bottom:first-child {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 100%;
  text-align: left;
}
.grid.margin article.s-12.m-12.l-6.margin-m-bottom:first-child h2,
.grid.margin article.s-12.m-12.l-6.margin-m-bottom:first-child p,
.grid.margin article.s-12.m-12.l-6.margin-m-bottom:first-child a {
  text-align: left;
}

/* Apply rounded corners to the About Celine's Academy image */
.celinesacademy-stats {
  background-color: #eaeaea;
  padding: 0.8rem;
  border-radius: 10px;
}

.number-stat {
  border: 1px solid #ffffff;
  background-color: #f2f2f2;
  border-radius: 10px;
}

.timer {
  display: inline-block;
  min-width: 1em;
  text-align: center;
  opacity: 1;
  visibility: visible;
}

/** Links */
/* Font colors */
.background-white,
.background-white p,
a.background-white,
.background-white a,
.background-white a:active {
  color: #444;
}

.background-white a:link {
  color: #0000ff;
}

.background-white a:visited {
  color: #303192;
}

.background-white a:hover {
  color: #ff0000;
}

.category-filter {
  color: #222;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

/* Teacher filter section */
.teacher-filter-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 20px;
}
.teacher-filter-buttons .button {
  margin: 5px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.teacher-filter-btn {
  background-color: white !important;
  color: black !important;
  border: 1px solid black !important;
  border-radius: 5px !important;
  padding: 8px 15px !important;
}

.teacher-filter-buttons .button.active {
  background-color: #303192 !important;
  color: white !important;
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.teacher-filter-buttons .button:hover {
  background-color: #303192 !important;
  color: white !important;
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.background-grey {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.background-grey:hover {
  -webkit-box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
          box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.box-shadow {
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.box-shadow:hover {
  -webkit-box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
          box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
}

/* Notification styles */
.notification-card {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background-color: #ffffff !important;
  border: 1px solid #cccccc; /* Grey border around all sides */
  border-left: 4px solid #f58221; /* Thick left border with secondary color */
  border-radius: 10px !important;
  padding: 5px 10px 15px 10px !important;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
}
.notification-card h3 {
  padding: 0.5rem 1rem;
  color: #fff;
  border-radius: 10px;
  text-align: center;
  background: #303192;
}
.notification-card:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
          box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
}
.notification-card small {
  color: #777;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 12px;
}
.notification-card p {
  color: #333;
  line-height: 1.5;
}

/* WordPress Login Page Styles */
body.login {
  background: url("../img/celines-bg.webp") no-repeat center center fixed !important;
  background-size: cover !important;
  position: relative;
  /* Add overlay for better readability */
}
body.login::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* Login form container */
#login {
  width: 400px !important;
  padding: 8% 0 0;
  margin: auto;
}
#login h1 {
  text-align: center;
  margin-bottom: 30px;
}
#login h1 a {
  background: rgba(255, 255, 255, 0.95) !important;
  text-decoration: none !important;
  padding: 20px !important;
  border-radius: 15px !important;
  -webkit-box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
          box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center !important;
      -ms-flex-align: center !important;
          align-items: center !important;
  -webkit-box-pack: center !important;
      -ms-flex-pack: center !important;
          justify-content: center !important;
  -webkit-transition: all 0.3s ease !important;
  transition: all 0.3s ease !important;
  width: 120px !important;
  height: 120px !important;
  margin: 0 auto !important;
  /* Hide the default WordPress logo text */
  text-indent: -9999px !important;
  overflow: hidden !important;
  /* Add the custom logo */
}
#login h1 a::before {
  content: "" !important;
  background: url("../img/celinesacademy-logo.png") no-repeat center center !important;
  background-size: contain !important;
  width: 80px !important;
  height: 80px !important;
  display: block !important;
  text-indent: 0 !important;
}
#login h1 a:hover {
  background: rgb(255, 255, 255) !important;
  -webkit-transform: translateY(-2px) !important;
          transform: translateY(-2px) !important;
  -webkit-box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3) !important;
          box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3) !important;
}
#login h1 a:hover::before {
  -webkit-transform: scale(1.05) !important;
          transform: scale(1.05) !important;
}
#login h1 a:focus {
  -webkit-box-shadow: 0 0 0 3px rgba(54, 73, 226, 0.3) !important;
          box-shadow: 0 0 0 3px rgba(54, 73, 226, 0.3) !important;
  outline: none !important;
}

/* Login form styling */
.login form {
  background: rgba(255, 255, 255, 0.95) !important;
  padding: 30px !important;
  border-radius: 15px !important;
  -webkit-box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
          box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
  border: none !important;
  margin-top: 20px !important;
  backdrop-filter: blur(10px) !important;
}
.login form .forgetmenot {
  margin-bottom: 20px !important;
}
.login form p {
  margin-bottom: 20px !important;
}
.login form p label {
  color: #222 !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  margin-bottom: 8px !important;
  display: block !important;
}
.login form p input[type=text],
.login form p input[type=password],
.login form p input[type=email] {
  width: 100% !important;
  padding: 12px 15px !important;
  border: 2px solid #e1e5e9 !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  -webkit-transition: all 0.3s ease !important;
  transition: all 0.3s ease !important;
  background: white !important;
}
.login form p input[type=text]:focus,
.login form p input[type=password]:focus,
.login form p input[type=email]:focus {
  border-color: #303192 !important;
  -webkit-box-shadow: 0 0 0 3px rgba(54, 73, 226, 0.1) !important;
          box-shadow: 0 0 0 3px rgba(54, 73, 226, 0.1) !important;
  outline: none !important;
}
.login form p input[type=checkbox] {
  margin-right: 8px !important;
  -webkit-transform: scale(1.2) !important;
          transform: scale(1.2) !important;
}
.login form .submit {
  text-align: center !important;
  margin-top: 25px !important;
}
.login form .submit input[type=submit] {
  background: #303192 !important;
  color: white !important;
  border: none !important;
  padding: 12px 30px !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  -webkit-transition: all 0.3s ease !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
}
.login form .submit input[type=submit]:hover {
  background: rgb(35.381443299, 36.118556701, 107.618556701) !important;
  -webkit-transform: translateY(-2px) !important;
          transform: translateY(-2px) !important;
  -webkit-box-shadow: 0 4px 15px rgba(54, 73, 226, 0.3) !important;
          box-shadow: 0 4px 15px rgba(54, 73, 226, 0.3) !important;
}
.login form .submit input[type=submit]:active {
  -webkit-transform: translateY(0) !important;
          transform: translateY(0) !important;
}

/* Login links styling */
.login #nav,
.login #backtoblog {
  text-align: center !important;
  margin: 20px 0 !important;
}
.login #nav a,
.login #backtoblog a {
  color: white !important;
  text-decoration: none !important;
  background: rgba(0, 0, 0, 0.6) !important;
  padding: 8px 15px !important;
  border-radius: 20px !important;
  font-size: 14px !important;
  -webkit-transition: all 0.3s ease !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
}
.login #nav a:hover,
.login #backtoblog a:hover {
  background: rgba(0, 0, 0, 0.8) !important;
  color: #f58221 !important;
  -webkit-transform: translateY(-1px) !important;
          transform: translateY(-1px) !important;
}

/* Error and success messages */
.login .message,
.login #login_error {
  background: rgba(255, 255, 255, 0.95) !important;
  border-left: 4px solid #303192 !important;
  border-radius: 8px !important;
  padding: 15px !important;
  margin: 20px 0 !important;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}
.login .message.error,
.login #login_error.error {
  border-left-color: #dc3545 !important;
}
.login .message.updated,
.login #login_error.updated {
  border-left-color: #28a745 !important;
}

/* Responsive adjustments for login page */
@media (max-width: 480px) {
  #login {
    width: 90% !important;
    padding: 5% 0 0 !important;
  }
  .login form {
    padding: 20px !important;
    margin: 10px !important;
  }
  #login h1 a {
    padding: 15px !important;
    width: 90px !important;
    height: 90px !important;
  }
  #login h1 a::before {
    width: 60px !important;
    height: 60px !important;
  }
}
/* Sidebar Card Styles */
.blog-card {
  background-color: #ffffff;
  border-radius: 10px;
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.blog-card:hover {
  -webkit-box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
          box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}
.blog-card h6 a {
  color: #303192;
  text-decoration: none;
  font-weight: 600;
}
.blog-card h6 a:hover {
  color: rgb(35.381443299, 36.118556701, 107.618556701);
  text-decoration: underline;
}
.blog-card p {
  color: #666;
  line-height: 1.4;
  margin: 0;
}
.blog-card small {
  color: #888;
  font-size: 0.85rem;
}

/* Sidebar event card specific styles (different from main event cards) */
aside .event-card {
  background-color: #ffffff;
  border-radius: 10px;
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
aside .event-card:hover {
  -webkit-box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
          box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}
aside .event-card h6 a {
  color: #303192;
  text-decoration: none;
  font-weight: 600;
}
aside .event-card h6 a:hover {
  color: rgb(35.381443299, 36.118556701, 107.618556701);
  text-decoration: underline;
}
aside .event-card p {
  color: #666;
  line-height: 1.4;
  margin: 0;
}
aside .event-card small {
  color: #888;
  font-size: 0.85rem;
}

/* Sidebar notification card specific styles */
aside .notification-card {
  background-color: #ffffff;
  border-radius: 10px;
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-left: 4px solid #f58221;
}
aside .notification-card:hover {
  -webkit-box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
          box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}
aside .notification-card h6 a {
  color: #303192;
  text-decoration: none;
  font-weight: 600;
}
aside .notification-card h6 a:hover {
  color: rgb(35.381443299, 36.118556701, 107.618556701);
  text-decoration: underline;
}
aside .notification-card p {
  color: #666;
  line-height: 1.4;
  margin: 0;
}
aside .notification-card small {
  color: #888;
  font-size: 0.85rem;
}

/* Sidebar button styles */
aside .button {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: capitalize;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
aside .button:hover {
  background-color: rgb(35.381443299, 36.118556701, 107.618556701) !important;
  -webkit-transform: translateY(-1px);
          transform: translateY(-1px);
  -webkit-box-shadow: 0 4px 10px rgba(54, 73, 226, 0.3);
          box-shadow: 0 4px 10px rgba(54, 73, 226, 0.3);
}

.notification-detail {
  background-color: #ffffff !important;
  border-radius: 0 10px 10px 0 !important;
  border-left: 4px solid #303192;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}
.notification-detail h2 {
  color: #f58221;
  font-weight: 600;
  margin-bottom: 10px;
}
.notification-detail .margin-bottom-20 {
  line-height: 1.6;
}
.notification-detail .margin-bottom-20 p {
  margin-bottom: 15px;
}
.notification-detail .margin-bottom-20 ul,
.notification-detail .margin-bottom-20 ol {
  margin-left: 20px;
  margin-bottom: 15px;
}
.notification-detail h2 {
  color: #f58221;
  border-bottom: 1px solid #f8f9fa;
  padding-bottom: 10px;
}
.notification-detail small {
  color: #777;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 15px;
}

.display-block {
  display: block;
}

/* Breadcrumbs Styling */
.position-relative {
  position: relative;
}

.breadcrumbs-container {
  position: absolute;
  bottom: 5px; /* Changed from -15px to keep it inside the header */
  left: 10px;
  z-index: 10;
}

.background-white-transparent {
  background-color: #f8f9fa; /* Semi-transparent white */
}

.breadcrumbs {
  font-size: 0.8rem;
  text-align: left;
}
.breadcrumbs .breadcrumb-item {
  display: inline-block;
}
.breadcrumbs .breadcrumb-item a {
  color: #0000ff;
  text-decoration: none;
}
.breadcrumbs .breadcrumb-item a:hover {
  text-decoration: underline;
  color: #ff0000;
}
.breadcrumbs .breadcrumb-separator {
  display: inline-block;
  margin: 0 5px;
  color: #cccccc;
}

.padding-1x {
  padding: 10px 15px;
}

.padding-2x {
  padding: 2rem !important; /* Updated to match template-style.css but with a bit less padding */
}

/* Gallery thumbnails in single-gallery.php */
.image-with-hover-overlay img {
  border-radius: 10px;
  overflow: hidden;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.image-with-hover-overlay {
  border-radius: 10px;
  overflow: hidden;
}

/* Responsive adjustments for breadcrumbs */
@media screen and (min-width: 992px) {
  /* Adjustments for large screens */
  .breadcrumbs-container {
    bottom: 15px;
  }
}
@media screen and (max-width: 768px) {
  /* Adjustments for small screens */
  .breadcrumbs-container {
    position: relative;
    bottom: auto;
  }
}
/* Lightcase Gallery Fixes */
/* Fix for iframe scrollbars in lightcase galleries */
#lightcase-content {
  overflow: hidden !important;
}

#lightcase-content .lightcase-contentInner {
  overflow: hidden !important;
}

/* Application Form Field with Counter Styles */
.field-with-counter {
  position: relative;
  margin-bottom: 20px; /* Add space between fields */
  width: 100%;
}
.field-with-counter input,
.field-with-counter textarea,
.field-with-counter select {
  width: 100%;
  margin-bottom: 0 !important; /* Remove default bottom margin */
}

/* Application Form Character Counter Styles */
.form-header {
  background-color: #ffffff;
  clear: both;
}

.character-counter {
  font-size: 0.8rem;
  text-align: right;
  color: #666;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  padding: 5px;
  border-radius: 3px;
  display: block;
}
.character-counter.warning {
  color: #e2a736;
  font-weight: bold;
  background-color: rgba(226, 167, 54, 0.1);
}
.character-counter.error {
  color: #e74c3c;
  font-weight: bold;
  background-color: rgba(231, 76, 60, 0.1);
}

.field-error-message {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 5px;
  display: block;
  /* When inside a field-with-counter */
}
.field-with-counter .field-error-message {
  margin-bottom: 5px;
}

/* Form field validation styles */
input.error,
textarea.error,
select.error {
  border-color: #e74c3c !important;
  border-left-width: 3px !important;
}

input.valid,
textarea.valid,
select.valid {
  border-color: #2ecc71 !important;
  border-left-width: 3px !important;
}

/* Default border style for form fields */
input.default-border,
textarea.default-border,
select.default-border {
  border-color: #ddd !important;
  border-left-width: 1px !important;
}

/* Character counter styles */
.field-with-counter {
  position: relative;
  margin-bottom: 15px;
}

.character-counter {
  position: absolute;
  right: 10px;
  top: -20px;
  font-size: 12px;
  color: #777;
}

.character-counter.warning {
  color: #f39c12;
}

.character-counter.error {
  color: #e74c3c;
}

/* Field error message */
.field-error-message {
  display: block;
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
}

/* Form message container */
.form-message {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  display: none;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* MailerLite Form Styling */
/* Match the contact form styling for consistency */
.mailerlite-form {
  background: white;
  border-radius: 8px;
  padding: 25px;
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
  /* Form title styling */
  /* Form description styling */
  /* Form inputs container */
  /* Individual form field styling */
  /* Submit button container */
  /* Loading state */
  /* Success/Response message */
  /* Error message styling */
  /* Hidden fields */
}
.mailerlite-form .mailerlite-form-title {
  margin-bottom: 15px;
}
.mailerlite-form .mailerlite-form-title h3 {
  color: #f58221;
  font-family: "Radley", serif;
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0 0 10px 0;
  text-align: center;
}
.mailerlite-form .mailerlite-form-description {
  margin-bottom: 25px;
}
.mailerlite-form .mailerlite-form-description p {
  color: #222;
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
  margin: 0;
}
.mailerlite-form .mailerlite-form-inputs {
  margin-bottom: 20px;
}
.mailerlite-form .mailerlite-form-field {
  margin-bottom: 20px;
  /* Textarea specific styling */
}
.mailerlite-form .mailerlite-form-field label {
  display: block;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
  font-size: 1rem;
}
.mailerlite-form .mailerlite-form-field input[type=email],
.mailerlite-form .mailerlite-form-field input[type=text],
.mailerlite-form .mailerlite-form-field input[type=tel],
.mailerlite-form .mailerlite-form-field textarea,
.mailerlite-form .mailerlite-form-field select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: "Figtree", sans-serif;
  background-color: #fff;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* Make fields wider and more prominent */
  min-height: 48px;
  /* Required field styling - red left border */
  /* Valid field styling */
  /* Error field styling */
}
.mailerlite-form .mailerlite-form-field input[type=email]:focus,
.mailerlite-form .mailerlite-form-field input[type=text]:focus,
.mailerlite-form .mailerlite-form-field input[type=tel]:focus,
.mailerlite-form .mailerlite-form-field textarea:focus,
.mailerlite-form .mailerlite-form-field select:focus {
  outline: none;
  border-color: #303192;
  -webkit-box-shadow: 0 0 0 3px rgba(54, 73, 226, 0.1);
          box-shadow: 0 0 0 3px rgba(54, 73, 226, 0.1);
}
.mailerlite-form .mailerlite-form-field input[type=email]::-webkit-input-placeholder, .mailerlite-form .mailerlite-form-field input[type=text]::-webkit-input-placeholder, .mailerlite-form .mailerlite-form-field input[type=tel]::-webkit-input-placeholder, .mailerlite-form .mailerlite-form-field textarea::-webkit-input-placeholder, .mailerlite-form .mailerlite-form-field select::-webkit-input-placeholder {
  color: #999;
  font-style: italic;
}
.mailerlite-form .mailerlite-form-field input[type=email]::-moz-placeholder, .mailerlite-form .mailerlite-form-field input[type=text]::-moz-placeholder, .mailerlite-form .mailerlite-form-field input[type=tel]::-moz-placeholder, .mailerlite-form .mailerlite-form-field textarea::-moz-placeholder, .mailerlite-form .mailerlite-form-field select::-moz-placeholder {
  color: #999;
  font-style: italic;
}
.mailerlite-form .mailerlite-form-field input[type=email]:-ms-input-placeholder, .mailerlite-form .mailerlite-form-field input[type=text]:-ms-input-placeholder, .mailerlite-form .mailerlite-form-field input[type=tel]:-ms-input-placeholder, .mailerlite-form .mailerlite-form-field textarea:-ms-input-placeholder, .mailerlite-form .mailerlite-form-field select:-ms-input-placeholder {
  color: #999;
  font-style: italic;
}
.mailerlite-form .mailerlite-form-field input[type=email]::-ms-input-placeholder, .mailerlite-form .mailerlite-form-field input[type=text]::-ms-input-placeholder, .mailerlite-form .mailerlite-form-field input[type=tel]::-ms-input-placeholder, .mailerlite-form .mailerlite-form-field textarea::-ms-input-placeholder, .mailerlite-form .mailerlite-form-field select::-ms-input-placeholder {
  color: #999;
  font-style: italic;
}
.mailerlite-form .mailerlite-form-field input[type=email]::placeholder,
.mailerlite-form .mailerlite-form-field input[type=text]::placeholder,
.mailerlite-form .mailerlite-form-field input[type=tel]::placeholder,
.mailerlite-form .mailerlite-form-field textarea::placeholder,
.mailerlite-form .mailerlite-form-field select::placeholder {
  color: #999;
  font-style: italic;
}
.mailerlite-form .mailerlite-form-field input[type=email][required],
.mailerlite-form .mailerlite-form-field input[type=text][required],
.mailerlite-form .mailerlite-form-field input[type=tel][required],
.mailerlite-form .mailerlite-form-field textarea[required],
.mailerlite-form .mailerlite-form-field select[required] {
  border-left: 4px solid #c81010;
}
.mailerlite-form .mailerlite-form-field input[type=email].valid,
.mailerlite-form .mailerlite-form-field input[type=text].valid,
.mailerlite-form .mailerlite-form-field input[type=tel].valid,
.mailerlite-form .mailerlite-form-field textarea.valid,
.mailerlite-form .mailerlite-form-field select.valid {
  border-color: #2ecc71 !important;
  border-left-width: 4px !important;
  border-left-color: #2ecc71 !important;
}
.mailerlite-form .mailerlite-form-field input[type=email].error,
.mailerlite-form .mailerlite-form-field input[type=text].error,
.mailerlite-form .mailerlite-form-field input[type=tel].error,
.mailerlite-form .mailerlite-form-field textarea.error,
.mailerlite-form .mailerlite-form-field select.error {
  border-color: #e74c3c !important;
  border-left-width: 4px !important;
  border-left-color: #e74c3c !important;
}
.mailerlite-form .mailerlite-form-field textarea {
  min-height: 120px;
  resize: vertical;
}
.mailerlite-form .mailerlite-subscribe-button-container {
  text-align: center;
  margin-top: 25px;
}
.mailerlite-form .mailerlite-subscribe-button-container .mailerlite-subscribe-submit {
  background-color: #303192;
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  min-width: 200px;
  font-family: "Figtree", sans-serif;
}
.mailerlite-form .mailerlite-subscribe-button-container .mailerlite-subscribe-submit:hover {
  background-color: #2a3bc7; /* Darker shade of primary color */
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 4px 12px rgba(54, 73, 226, 0.3);
          box-shadow: 0 4px 12px rgba(54, 73, 226, 0.3);
}
.mailerlite-form .mailerlite-subscribe-button-container .mailerlite-subscribe-submit:active {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
.mailerlite-form .mailerlite-subscribe-button-container .mailerlite-subscribe-submit:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  -webkit-transform: none;
          transform: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.mailerlite-form .mailerlite-form-loader {
  text-align: center;
  color: #303192;
  font-weight: 600;
  margin: 15px 0;
  display: none;
}
.mailerlite-form .mailerlite-form-loader.active {
  display: block;
}
.mailerlite-form .mailerlite-form-response {
  margin-top: 20px;
  padding: 20px;
  border-radius: 6px;
  text-align: center;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
}
.mailerlite-form .mailerlite-form-response h4 {
  margin: 0;
  color: #155724;
}
.mailerlite-form .mailerlite-form-response h4 p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.4;
  color: #155724;
}
.mailerlite-form .mailerlite-form-response h4 p span {
  font-weight: 600;
}
.mailerlite-form .mailerlite-form-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 15px;
  border-radius: 6px;
  margin: 15px 0;
  text-align: center;
  font-weight: 600;
}
.mailerlite-form input[type=hidden] {
  display: none;
}

/* Responsive adjustments for MailerLite form */
@media (max-width: 768px) {
  .mailerlite-form {
    padding: 20px 15px;
    margin: 15px 0;
  }
  .mailerlite-form .mailerlite-form-title h3 {
    font-size: 1.2rem;
  }
  .mailerlite-form .mailerlite-form-description p {
    font-size: 0.95rem;
  }
  .mailerlite-form .mailerlite-form-field input[type=email],
  .mailerlite-form .mailerlite-form-field input[type=text],
  .mailerlite-form .mailerlite-form-field input[type=tel],
  .mailerlite-form .mailerlite-form-field textarea,
  .mailerlite-form .mailerlite-form-field select {
    padding: 10px 12px;
    font-size: 0.95rem;
    min-height: 44px;
  }
  .mailerlite-form .mailerlite-subscribe-button-container .mailerlite-subscribe-submit {
    padding: 12px 30px;
    font-size: 1rem;
    min-width: 180px;
  }
}
@media (max-width: 480px) {
  .mailerlite-form {
    padding: 15px 10px;
  }
  .mailerlite-form .mailerlite-subscribe-button-container .mailerlite-subscribe-submit {
    padding: 12px 25px;
    font-size: 0.95rem;
    min-width: 160px;
  }
}
/* Additional MailerLite specific selectors */
/* Target the actual MailerLite form structure from the HTML */
.ml-form-embedContainer .ml-form-embedContent,
.ml-form-embedWrapper .ml-form-embedContent,
.ml-form-embedBody .ml-form-embedContent {
  background: white;
  border-radius: 8px;
  padding: 25px;
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
}
.ml-form-embedContainer .ml-form-title h3,
.ml-form-embedWrapper .ml-form-title h3,
.ml-form-embedBody .ml-form-title h3 {
  color: #f58221 !important;
  font-family: "Radley", serif !important;
  font-weight: 600 !important;
  font-size: 1.4rem !important;
  margin: 0 0 15px 0 !important;
  text-align: center !important;
}
.ml-form-embedContainer .ml-form-fieldRow,
.ml-form-embedWrapper .ml-form-fieldRow,
.ml-form-embedBody .ml-form-fieldRow {
  margin-bottom: 20px !important;
}
.ml-form-embedContainer .ml-form-fieldRow .ml-field-group,
.ml-form-embedWrapper .ml-form-fieldRow .ml-field-group,
.ml-form-embedBody .ml-form-fieldRow .ml-field-group {
  width: 100% !important;
}
.ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=email],
.ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=text],
.ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=tel],
.ml-form-embedContainer .ml-form-fieldRow .ml-field-group textarea,
.ml-form-embedContainer .ml-form-fieldRow .ml-field-group select,
.ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=email],
.ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=text],
.ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=tel],
.ml-form-embedWrapper .ml-form-fieldRow .ml-field-group textarea,
.ml-form-embedWrapper .ml-form-fieldRow .ml-field-group select,
.ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=email],
.ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=text],
.ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=tel],
.ml-form-embedBody .ml-form-fieldRow .ml-field-group textarea,
.ml-form-embedBody .ml-form-fieldRow .ml-field-group select {
  width: 100% !important;
  padding: 12px 15px !important;
  border: 2px solid #ddd !important;
  border-radius: 6px !important;
  font-size: 1rem !important;
  font-family: "Figtree", sans-serif !important;
  background-color: #fff !important;
  -webkit-transition: all 0.3s ease !important;
  transition: all 0.3s ease !important;
  -webkit-box-sizing: border-box !important;
          box-sizing: border-box !important;
  min-height: 48px !important;
}
.ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=email]:focus,
.ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=text]:focus,
.ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=tel]:focus,
.ml-form-embedContainer .ml-form-fieldRow .ml-field-group textarea:focus,
.ml-form-embedContainer .ml-form-fieldRow .ml-field-group select:focus,
.ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=email]:focus,
.ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=text]:focus,
.ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=tel]:focus,
.ml-form-embedWrapper .ml-form-fieldRow .ml-field-group textarea:focus,
.ml-form-embedWrapper .ml-form-fieldRow .ml-field-group select:focus,
.ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=email]:focus,
.ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=text]:focus,
.ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=tel]:focus,
.ml-form-embedBody .ml-form-fieldRow .ml-field-group textarea:focus,
.ml-form-embedBody .ml-form-fieldRow .ml-field-group select:focus {
  outline: none !important;
  border-color: #303192 !important;
  -webkit-box-shadow: 0 0 0 3px rgba(54, 73, 226, 0.1) !important;
          box-shadow: 0 0 0 3px rgba(54, 73, 226, 0.1) !important;
}
.ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=email]::-webkit-input-placeholder, .ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=text]::-webkit-input-placeholder, .ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=tel]::-webkit-input-placeholder, .ml-form-embedContainer .ml-form-fieldRow .ml-field-group textarea::-webkit-input-placeholder, .ml-form-embedContainer .ml-form-fieldRow .ml-field-group select::-webkit-input-placeholder, .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=email]::-webkit-input-placeholder, .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=text]::-webkit-input-placeholder, .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=tel]::-webkit-input-placeholder, .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group textarea::-webkit-input-placeholder, .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group select::-webkit-input-placeholder, .ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=email]::-webkit-input-placeholder, .ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=text]::-webkit-input-placeholder, .ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=tel]::-webkit-input-placeholder, .ml-form-embedBody .ml-form-fieldRow .ml-field-group textarea::-webkit-input-placeholder, .ml-form-embedBody .ml-form-fieldRow .ml-field-group select::-webkit-input-placeholder {
  color: #999 !important;
  font-style: italic !important;
}
.ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=email]::-moz-placeholder, .ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=text]::-moz-placeholder, .ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=tel]::-moz-placeholder, .ml-form-embedContainer .ml-form-fieldRow .ml-field-group textarea::-moz-placeholder, .ml-form-embedContainer .ml-form-fieldRow .ml-field-group select::-moz-placeholder, .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=email]::-moz-placeholder, .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=text]::-moz-placeholder, .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=tel]::-moz-placeholder, .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group textarea::-moz-placeholder, .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group select::-moz-placeholder, .ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=email]::-moz-placeholder, .ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=text]::-moz-placeholder, .ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=tel]::-moz-placeholder, .ml-form-embedBody .ml-form-fieldRow .ml-field-group textarea::-moz-placeholder, .ml-form-embedBody .ml-form-fieldRow .ml-field-group select::-moz-placeholder {
  color: #999 !important;
  font-style: italic !important;
}
.ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=email]:-ms-input-placeholder, .ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=text]:-ms-input-placeholder, .ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=tel]:-ms-input-placeholder, .ml-form-embedContainer .ml-form-fieldRow .ml-field-group textarea:-ms-input-placeholder, .ml-form-embedContainer .ml-form-fieldRow .ml-field-group select:-ms-input-placeholder, .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=email]:-ms-input-placeholder, .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=text]:-ms-input-placeholder, .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=tel]:-ms-input-placeholder, .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group textarea:-ms-input-placeholder, .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group select:-ms-input-placeholder, .ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=email]:-ms-input-placeholder, .ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=text]:-ms-input-placeholder, .ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=tel]:-ms-input-placeholder, .ml-form-embedBody .ml-form-fieldRow .ml-field-group textarea:-ms-input-placeholder, .ml-form-embedBody .ml-form-fieldRow .ml-field-group select:-ms-input-placeholder {
  color: #999 !important;
  font-style: italic !important;
}
.ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=email]::-ms-input-placeholder, .ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=text]::-ms-input-placeholder, .ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=tel]::-ms-input-placeholder, .ml-form-embedContainer .ml-form-fieldRow .ml-field-group textarea::-ms-input-placeholder, .ml-form-embedContainer .ml-form-fieldRow .ml-field-group select::-ms-input-placeholder, .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=email]::-ms-input-placeholder, .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=text]::-ms-input-placeholder, .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=tel]::-ms-input-placeholder, .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group textarea::-ms-input-placeholder, .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group select::-ms-input-placeholder, .ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=email]::-ms-input-placeholder, .ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=text]::-ms-input-placeholder, .ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=tel]::-ms-input-placeholder, .ml-form-embedBody .ml-form-fieldRow .ml-field-group textarea::-ms-input-placeholder, .ml-form-embedBody .ml-form-fieldRow .ml-field-group select::-ms-input-placeholder {
  color: #999 !important;
  font-style: italic !important;
}
.ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=email]::placeholder,
.ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=text]::placeholder,
.ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=tel]::placeholder,
.ml-form-embedContainer .ml-form-fieldRow .ml-field-group textarea::placeholder,
.ml-form-embedContainer .ml-form-fieldRow .ml-field-group select::placeholder,
.ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=email]::placeholder,
.ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=text]::placeholder,
.ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=tel]::placeholder,
.ml-form-embedWrapper .ml-form-fieldRow .ml-field-group textarea::placeholder,
.ml-form-embedWrapper .ml-form-fieldRow .ml-field-group select::placeholder,
.ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=email]::placeholder,
.ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=text]::placeholder,
.ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=tel]::placeholder,
.ml-form-embedBody .ml-form-fieldRow .ml-field-group textarea::placeholder,
.ml-form-embedBody .ml-form-fieldRow .ml-field-group select::placeholder {
  color: #999 !important;
  font-style: italic !important;
}
.ml-form-embedContainer .ml-form-submitRow,
.ml-form-embedWrapper .ml-form-submitRow,
.ml-form-embedBody .ml-form-submitRow {
  text-align: center !important;
  margin-top: 25px !important;
}
.ml-form-embedContainer .ml-form-submitRow .primary,
.ml-form-embedWrapper .ml-form-submitRow .primary,
.ml-form-embedBody .ml-form-submitRow .primary {
  background-color: #303192 !important;
  color: white !important;
  border: none !important;
  padding: 15px 40px !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  -webkit-transition: all 0.3s ease !important;
  transition: all 0.3s ease !important;
  min-width: 200px !important;
  font-family: "Figtree", sans-serif !important;
}
.ml-form-embedContainer .ml-form-submitRow .primary:hover,
.ml-form-embedWrapper .ml-form-submitRow .primary:hover,
.ml-form-embedBody .ml-form-submitRow .primary:hover {
  background-color: #2a3bc7 !important; /* Darker shade of primary color */
  -webkit-transform: translateY(-2px) !important;
          transform: translateY(-2px) !important;
  -webkit-box-shadow: 0 4px 12px rgba(54, 73, 226, 0.3) !important;
          box-shadow: 0 4px 12px rgba(54, 73, 226, 0.3) !important;
}
.ml-form-embedContainer .ml-form-submitRow .primary:active,
.ml-form-embedWrapper .ml-form-submitRow .primary:active,
.ml-form-embedBody .ml-form-submitRow .primary:active {
  -webkit-transform: translateY(0) !important;
          transform: translateY(0) !important;
}
.ml-form-embedContainer .ml-form-successBody,
.ml-form-embedWrapper .ml-form-successBody,
.ml-form-embedBody .ml-form-successBody {
  background-color: #d4edda !important;
  color: #155724 !important;
  border: 1px solid #c3e6cb !important;
  padding: 20px !important;
  border-radius: 6px !important;
  text-align: center !important;
  margin-top: 20px !important;
}
.ml-form-embedContainer .ml-form-successBody h4, .ml-form-embedContainer .ml-form-successBody p,
.ml-form-embedWrapper .ml-form-successBody h4,
.ml-form-embedWrapper .ml-form-successBody p,
.ml-form-embedBody .ml-form-successBody h4,
.ml-form-embedBody .ml-form-successBody p {
  color: #155724 !important;
  margin: 0 !important;
}

/* Responsive adjustments for MailerLite specific structure */
@media (max-width: 768px) {
  .ml-form-embedContainer .ml-form-embedContent,
  .ml-form-embedWrapper .ml-form-embedContent,
  .ml-form-embedBody .ml-form-embedContent {
    padding: 20px 15px !important;
    margin: 15px 0 !important;
  }
  .ml-form-embedContainer .ml-form-title h3,
  .ml-form-embedWrapper .ml-form-title h3,
  .ml-form-embedBody .ml-form-title h3 {
    font-size: 1.2rem !important;
  }
  .ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=email],
  .ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=text],
  .ml-form-embedContainer .ml-form-fieldRow .ml-field-group input[type=tel],
  .ml-form-embedContainer .ml-form-fieldRow .ml-field-group textarea,
  .ml-form-embedContainer .ml-form-fieldRow .ml-field-group select,
  .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=email],
  .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=text],
  .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group input[type=tel],
  .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group textarea,
  .ml-form-embedWrapper .ml-form-fieldRow .ml-field-group select,
  .ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=email],
  .ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=text],
  .ml-form-embedBody .ml-form-fieldRow .ml-field-group input[type=tel],
  .ml-form-embedBody .ml-form-fieldRow .ml-field-group textarea,
  .ml-form-embedBody .ml-form-fieldRow .ml-field-group select {
    padding: 10px 12px !important;
    font-size: 0.95rem !important;
    min-height: 44px !important;
  }
  .ml-form-embedContainer .ml-form-submitRow .primary,
  .ml-form-embedWrapper .ml-form-submitRow .primary,
  .ml-form-embedBody .ml-form-submitRow .primary {
    padding: 12px 30px !important;
    font-size: 1rem !important;
    min-width: 180px !important;
  }
}
@media (max-width: 480px) {
  .ml-form-embedContainer .ml-form-embedContent,
  .ml-form-embedWrapper .ml-form-embedContent,
  .ml-form-embedBody .ml-form-embedContent {
    padding: 15px 10px !important;
  }
  .ml-form-embedContainer .ml-form-submitRow .primary,
  .ml-form-embedWrapper .ml-form-submitRow .primary,
  .ml-form-embedBody .ml-form-submitRow .primary {
    padding: 12px 25px !important;
    font-size: 0.95rem !important;
    min-width: 160px !important;
  }
}
/* Any error message */
.any-error {
  color: #e74c3c;
  font-weight: bold;
}

/* Ensure proper sizing for lightcase content */
#lightcase-case {
  max-width: 100vw !important;
  max-height: 100vh !important;
}

@media screen and (max-width: 768px) {
  /* Adjustments for small screens */
  .breadcrumbs-container {
    left: auto;
    margin-top: 10px;
    margin-bottom: -25px;
  }
  .breadcrumbs {
    font-size: 0.7rem;
    width: 100%;
  }
}
.background-white a:active {
  color: #ff00ff;
}

/* Blog Styles */
/* Blog post metadata container */
.blog-meta-container {
  background-color: #ffffff;
  border-radius: 10px;
  -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 10px !important;
  margin-bottom: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  /* Responsive adjustments */
}
.blog-meta-container .meta-item {
  font-size: 0.95rem;
}
.blog-meta-container .meta-item.date {
  color: #222;
}
.blog-meta-container .meta-item.author a, .blog-meta-container .meta-item.category a {
  color: #0000ff;
}
.blog-meta-container .meta-item.author a:hover, .blog-meta-container .meta-item.category a:hover {
  color: #ff0000;
  text-decoration: underline;
}
@media screen and (max-width: 768px) {
  .blog-meta-container .meta-item {
    font-size: 0.9rem;
  }
}
@media screen and (max-width: 480px) {
  .blog-meta-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .blog-meta-container .meta-item {
    width: 100%;
    margin-bottom: 5px;
    text-align: center !important;
  }
  .blog-meta-container .meta-item:last-child {
    margin-bottom: 0;
  }
}

/* Blog Category Navigation - Horizontal */
.blog-categories-horizontal {
  margin-bottom: 30px;
  /* Responsive adjustments */
  /* Medium screens - 2 per line */
  /* Small screens - stacked */
}
.blog-categories-horizontal .blog-categories-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%; /* Ensure full width */
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* Include padding in width calculation */
}
.blog-categories-horizontal .blog-categories-menu li {
  margin: 0 10px 10px 0;
  list-style-type: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* Include padding in width calculation */
}
.blog-categories-horizontal .blog-categories-menu .blog-category-link {
  display: inline-block;
  padding: 8px 12px;
  background-color: #f5f5f5;
  border-radius: 5px;
  text-align: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  color: #222;
  font-weight: 500;
  cursor: pointer;
  width: 100%; /* Ensure full width */
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* Include padding in width calculation */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* Add ellipsis for long category names */
}
.blog-categories-horizontal .blog-categories-menu .blog-category-link:hover {
  background-color: #e0e0e0;
  color: #0000ff;
  text-decoration: none;
}
.blog-categories-horizontal .blog-categories-menu .blog-category-link.active {
  background-color: #303192;
  color: white;
}
.blog-categories-horizontal .blog-categories-menu .blog-category-link.active:hover {
  background-color: rgb(35.381443299, 36.118556701, 107.618556701);
  text-decoration: none;
}
@media screen and (max-width: 768px) and (min-width: 481px) {
  .blog-categories-horizontal .blog-categories-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .blog-categories-horizontal .blog-categories-menu li {
    width: calc(50% - 10px); /* 2 per line with some margin */
    margin-right: 10px;
    margin-bottom: 10px;
  }
  .blog-categories-horizontal .blog-categories-menu li:nth-child(2n) {
    margin-right: 0; /* Remove right margin for every second item */
  }
  .blog-categories-horizontal .blog-categories-menu .blog-category-link {
    display: block;
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .blog-categories-horizontal .blog-categories-menu {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .blog-categories-horizontal .blog-categories-menu li {
    margin-right: 0;
    width: 100%;
  }
  .blog-categories-horizontal .blog-categories-menu .blog-category-link {
    display: block;
    width: 100%;
  }
}

.category-filter {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #303192;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.no-posts-message {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 5px;
  text-align: center;
  margin-top: 20px;
}
.no-posts-message p {
  margin: 0;
  color: #222;
}

/* Blog Images with Rounded Corners */
.single-post article img,
.blog article img,
.blog-sidebar img,
.s-12.m-4.l-4 img,
.s-12.m-12.l-12 img,
.wp-block-image img {
  border-radius: 10px !important;
  overflow: hidden !important;
}

/* WordPress Gutenberg Editor Content Spacing Styles */
/* Add breathing room to content blocks */
/* H2 Headings - Add more space above when following paragraphs */
.wp-block-heading h2,
h2.wp-block-heading,
.entry-content h2,
.post-content h2,
article h2 {
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
}

/* First H2 in content shouldn't have extra top margin */
.entry-content h2:first-child,
.post-content h2:first-child,
article h2:first-child,
.wp-block-heading:first-child h2,
h2.wp-block-heading:first-child {
  margin-top: 1rem !important;
}

/* Table Spacing - Add breathing room above and below tables */
.wp-block-table,
.entry-content table,
.post-content table,
article table,
table {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

/* First table in content shouldn't have extra top margin */
.entry-content table:first-child,
.post-content table:first-child,
article table:first-child,
.wp-block-table:first-child {
  margin-top: 0.625rem !important;
}

/* Last table in content shouldn't have extra bottom margin */
.entry-content table:last-child,
.post-content table:last-child,
article table:last-child,
.wp-block-table:last-child {
  margin-bottom: 0.625rem !important;
}

/* Image Spacing - Add breathing room above and below images */
.wp-block-image,
.wp-block-media-text,
.entry-content img,
.post-content img,
article img,
.entry-content figure,
.post-content figure,
article figure {
  margin-top: 2px !important;
  margin-bottom: 1.5px !important;
}

/* Specific spacing for images when they follow or precede paragraphs */
p + .wp-block-image,
p + figure,
p + img,
.wp-block-paragraph + .wp-block-image,
.wp-block-paragraph + figure {
  margin-top: 1.8rem !important;
}

.wp-block-image + p,
figure + p,
img + p,
.wp-block-image + .wp-block-paragraph,
figure + .wp-block-paragraph {
  margin-top: 1.8rem !important;
}

/* First image in content shouldn't have extra top margin */
.entry-content img:first-child,
.post-content img:first-child,
article img:first-child,
.wp-block-image:first-child,
.entry-content figure:first-child,
.post-content figure:first-child,
article figure:first-child {
  margin-top: 5px !important;
}

/* Last image in content shouldn't have extra bottom margin */
.entry-content img:last-child,
.post-content img:last-child,
article img:last-child,
.wp-block-image:last-child,
.entry-content figure:last-child,
.post-content figure:last-child,
article figure:last-child {
  margin-bottom: 5px !important;
}

/* Ensure images don't break out of their containers */
.wp-block-image img,
.entry-content img,
.post-content img,
article img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Blog Home Button */
.rounded-btn {
  border-radius: 30px;
  padding: 10px 20px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}
.rounded-btn:hover {
  background-color: rgb(35.381443299, 36.118556701, 107.618556701);
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Blog Home Link in content area */
.blog-home-link-container {
  border-top: 1px solid #f8f9fa;
  padding-top: 20px;
}
.blog-home-link-container a {
  font-size: 1.1rem;
  font-weight: 500;
  display: inline-block;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.blog-home-link-container a:hover {
  -webkit-transform: translateX(-5px);
          transform: translateX(-5px);
  text-decoration: underline;
}
.blog-home-link-container a i {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.blog-home-link-container a:hover i {
  -webkit-transform: translateX(-3px);
          transform: translateX(-3px);
}

/* Blog Category Navigation */
.blog-category-nav {
  margin-bottom: 20px !important;
  /* Add a subtle background to the filter section */
  background-color: rgba(255, 255, 255, 0.5);
  padding: 15px;
  border-radius: 8px;
}
.blog-category-nav .category-link,
.blog-category-nav .blog-category-link {
  color: #303192;
  text-decoration: none;
  padding: 8px 15px !important;
  margin: 0 5px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  display: inline-block;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.7);
}
.blog-category-nav .category-link:hover,
.blog-category-nav .blog-category-link:hover {
  color: rgb(29.0721649485, 29.6778350515, 88.4278350515);
  background-color: rgba(255, 255, 255, 0.9);
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.blog-category-nav .category-link.active,
.blog-category-nav .blog-category-link.active {
  font-weight: bold;
  background-color: #303192;
  color: white;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Filter section in extracurricular activities page */
.filter-section {
  border-bottom: 1px solid rgba(54, 73, 226, 0.2);
  padding-bottom: 20px;
  margin-bottom: 30px;
}
.filter-section h3 {
  color: #303192;
  font-weight: 600;
}

/* Activities container in extracurricular activities page */
.activities-container {
  padding-top: 10px;
  /* Add a subtle background to the activities section */
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  padding: 20px;
  /* Improve spacing between activity cards */
  /* No results message styling */
}
.activities-container .blog-post {
  margin-bottom: 30px;
}
.activities-container .no-results-message {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 8px;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
.activities-container .no-results-message p {
  color: #303192;
  font-weight: 500;
}

/* School Categories Styles */
/* Home page celinesacademy category card */
.home-category-card {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  position: relative;
  background-color: #ffffff;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.home-category-card:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
          box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.celinesacademy-category {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 0;
  border-radius: 10px;
  position: relative;
  background-color: #ffffff;
  height: 100%;
  line-height: 1.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.celinesacademy-category:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
          box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.celinesacademy-category img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  margin-bottom: 0 !important;
  border-radius: 10px 10px 0 0;
}
.celinesacademy-category h3 {
  margin-top: 15px;
  text-align: center;
  padding: 0 15px;
}
.celinesacademy-category p {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  padding: 0 15px;
}
.celinesacademy-category .text-more-info {
  display: inline-block;
  margin: 15px auto;
  text-align: center;
  width: auto;
  background-color: #303192;
  color: white !important;
  padding: 8px 20px;
  border-radius: 5px;
  font-weight: 500;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.celinesacademy-category .text-more-info:hover {
  background-color: rgb(35.381443299, 36.118556701, 107.618556701);
  color: white !important;
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Category Info Box Styles */
.category-info-box {
  border: 1px solid #eaeaea;
  margin-bottom: 10px;
}
.category-info-box h3 {
  color: #303192;
  font-size: 1.2rem;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 5px;
}
.category-info-box p {
  margin-bottom: 10px;
}

/* Category Sidebar Styles */
.category-sidebar-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.category-sidebar-item:hover {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Single Extracurricular Page Styles */
.activity-item {
  border-radius: 8px;
  overflow: hidden;
  -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.activity-item:hover {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.activity-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.activity-link:hover {
  text-decoration: none;
  color: inherit;
}

/* Activity Single Page Styles */
.activity-content {
  line-height: 1.6;
}
.activity-content p {
  margin-bottom: 1rem;
}
.activity-content h3,
.activity-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.activity-content ul,
.activity-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.activity-content img {
  max-width: 100%;
}

/* 404 Error Page Styles */
.error-404 {
  text-align: center;
}
.error-404 .error-icon {
  font-size: 120px;
  color: rgb(192.8146551724, 92.9331896552, 8.6853448276);
  margin-bottom: 20px;
}
.error-404 .error-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #303192;
}
.error-404 .error-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.error-404 .error-actions {
  margin-top: 30px;
}
.error-404 .error-actions .text-more-info {
  margin: 0 10px;
}
.error-404 .search-form {
  max-width: 500px;
  margin: 0 auto;
}
.error-404 .search-form input[type=search] {
  border: 1px solid #cccccc;
  border-radius: 5px;
  padding: 10px 15px;
  width: 70%;
}
.error-404 .search-form button {
  background-color: #303192;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.error-404 .search-form button:hover {
  background-color: rgb(35.381443299, 36.118556701, 107.618556701);
}

/* Job Listings and Job Detail Page Styles */
/* Compatible with WordPress custom post types */
.job-card,
.type-job,
.hentry.job {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.job-card .job-card-inner,
.job-card .entry-content-wrap,
.type-job .job-card-inner,
.type-job .entry-content-wrap,
.hentry.job .job-card-inner,
.hentry.job .entry-content-wrap {
  border-radius: 10px;
  padding: 20px;
  background-color: #ffffff; /* Ensure white background */
  -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.job-card .job-card-inner:hover,
.job-card .entry-content-wrap:hover,
.type-job .job-card-inner:hover,
.type-job .entry-content-wrap:hover,
.hentry.job .job-card-inner:hover,
.hentry.job .entry-content-wrap:hover {
  -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}
.job-card h3,
.job-card .entry-title,
.type-job h3,
.type-job .entry-title,
.hentry.job h3,
.hentry.job .entry-title {
  margin-top: 0;
}
.job-card h3 a,
.job-card .entry-title a,
.type-job h3 a,
.type-job .entry-title a,
.hentry.job h3 a,
.hentry.job .entry-title a {
  color: inherit;
  text-decoration: none;
}
.job-card h3 a:hover,
.job-card .entry-title a:hover,
.type-job h3 a:hover,
.type-job .entry-title a:hover,
.hentry.job h3 a:hover,
.hentry.job .entry-title a:hover {
  text-decoration: none;
}

.job-meta {
  background-color: rgba(54, 73, 226, 0.05);
  padding: 10px;
  border-radius: 5px;
}

.job-excerpt {
  font-style: italic;
  border-left: 3px solid #303192;
  padding-left: 15px;
}

.job-description,
.entry-content {
  /* WordPress image alignment classes */
}
.job-description h3,
.entry-content h3 {
  margin-top: 25px;
  margin-bottom: 10px;
  color: #303192;
}
.job-description ul,
.job-description ol,
.entry-content ul,
.entry-content ol {
  margin-left: 20px;
}
.job-description img.alignright,
.entry-content img.alignright {
  float: right;
  margin: 0 0 1em 1em;
}
.job-description img.alignleft,
.entry-content img.alignleft {
  float: left;
  margin: 0 1em 1em 0;
}
.job-description img.aligncenter,
.entry-content img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.job-description .alignright,
.entry-content .alignright {
  float: right;
  margin: 0 0 1em 1em;
}
.job-description .alignleft,
.entry-content .alignleft {
  float: left;
  margin: 0 1em 1em 0;
}
.job-description .aligncenter,
.entry-content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.job-application {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #f58221;
}

.job-actions {
  margin-top: 20px;
}
.job-actions .button {
  margin-right: 10px;
  margin-bottom: 10px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.job-actions .button:hover {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.activity-header {
  padding: 10px;
  border-radius: 8px 8px 0 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.activity-header:hover {
  background-color: #f0f0f0;
}

.activity-thumbnail {
  border-radius: 5px;
}

.activity-details {
  border-top: 1px solid #e0e0e0;
  border-radius: 0 0 8px 8px;
}

.cursor-pointer {
  cursor: pointer;
}

.background-light-grey {
  background-color: #f8f9fa;
  border-radius: 8px;
}

.category-sidebar-image {
  width: 100%;
  height: 100px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.category-sidebar-title {
  padding: 10px;
  text-align: center;
  font-weight: 500;
  color: #222;
  background-color: #f8f8f8;
}

.category-sidebar-link {
  text-decoration: none;
  color: inherit;
}
.category-sidebar-link:hover {
  text-decoration: none;
}

/* Blog Post Styling */
.blog-post {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 5px 10px;
  border-radius: 10px;
  position: relative;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.blog-image {
  margin-top: 1px;
}

.blog-post:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
          box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* Gallery card specific styling */
.gallery-card {
  padding: 0 0 0 0 !important; /* Remove all padding for gallery cards */
  background-color: #ffffff !important; /* Apply white background to entire card */
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05) !important; /* Enhanced shadow */
  overflow: hidden; /* Ensure content doesn't overflow */
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  margin-bottom: 15px !important; /* Space between the info button and the bottom edge of the card*/
  border-radius: 10px !important; /* Round all corners of the card */
  border: 1px solid rgba(0, 0, 0, 0.08); /* Subtle border for better definition */
}

.gallery-card:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
          box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08) !important; /* Enhanced shadow on hover */
}

/* Team Card Styling */
.card {
  background-color: #ffffff;
  border-radius: 12px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  margin-bottom: 0; /* Changed from 5px to remove extra space */
  padding: 0;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.08); /* Subtle border for better definition */
  /* Ensure no internal spacing that might create gaps */
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* Content wrapper for all text and buttons */
  /* Remove spacer that was pushing content apart */
}
.card:hover {
  -webkit-box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
          box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
}
.card:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.card .team-photo {
  width: 100%;
  display: block;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  margin: 0;
  padding: 0;
}
.card h3 {
  margin-top: 10px;
  font-size: 1.3rem;
}
.card h3,
.card .title,
.card .read-all {
  padding-left: 15px;
  padding-right: 15px;
  margin-top: 15px; /* Add space between image and text */
}
.card .team-link {
  color: #303192;
  text-decoration: none;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
.card .team-link:hover {
  color: rgb(35.381443299, 36.118556701, 107.618556701);
}
.card .title {
  color: #222;
  font-size: 1.1rem !important;
  font-weight: 300;
  margin: 5px 0 5px 0;
  padding: 0 10px;
}
.card:after {
  display: none; /* Hide the spacer completely */
}
.card .read-all {
  display: inline-block;
  margin: 5px 0 0; /* Removed bottom margin completely */
  padding: 8px 20px;
  background-color: #303192;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.card .read-all:hover {
  background-color: rgb(35.381443299, 36.118556701, 107.618556701);
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Fix for modal content */
.modal {
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.modal h2,
.modal h3 {
  color: #303192;
}
.modal .margin-bottom.padding {
  padding: 20px 30px;
}
.modal .modal-close-button {
  background-color: #303192;
  color: white;
  border-radius: 30px;
  padding: 8px 20px;
  display: inline-block;
  margin: 0 auto 20px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.modal .modal-close-button:hover {
  background-color: rgb(35.381443299, 36.118556701, 107.618556701);
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Gallery label styling */
.gallery-label {
  position: absolute;
  top: 25px;
  right: 15px;
  background-color: #303192;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 2;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Extracurricular label styling */
.extracurricular-label {
  background-color: #f58221;
  color: #333;
  font-weight: 600;
}

/* Teacher category header styling */
.teacher-category-header {
  background-color: #f8f9fa;
  padding: 10px 0;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  width: 100%;
  border-radius: 10px 10px 0 0;
  margin: 0;
  border-bottom: 3px solid #303192;
  /* Category link styling */
}
.teacher-category-header .category-link {
  color: #303192;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  font-weight: 600;
}
.teacher-category-header .category-link:hover {
  color: rgb(192.8146551724, 92.9331896552, 8.6853448276);
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 10px 10px 0 0;
}
.teacher-category-header .category-link:visited {
  color: #303192;
}
.teacher-category-header .category-link:visited:hover {
  color: rgb(192.8146551724, 92.9331896552, 8.6853448276);
}
.teacher-category-header .category-link:focus {
  color: #303192;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.05);
  outline: 2px solid #f58221;
  outline-offset: -2px;
  border-radius: 10px 10px 0 0;
}

/* Teaching staff card specific styling */
.card.gallery-card[data-category] {
  /* Team photo with sharp corners */
}
.card.gallery-card[data-category] .gallery-content {
  padding: 15px;
  padding-bottom: 0; /* Removed bottom padding */
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.card.gallery-card[data-category] .gallery-content h3 {
  margin-top: 10px;
  margin-bottom: 5px;
}
.card.gallery-card[data-category] .gallery-content .title {
  margin-bottom: 8px; /* Reduced bottom margin */
}
.card.gallery-card[data-category] .gallery-content .read-all {
  display: inline-block;
  margin-bottom: 0; /* Removed bottom margin */
  margin-top: auto; /* Push the button to the bottom of the flex container */
}
.card.gallery-card[data-category] .team-photo {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* Sharp corners */
}

/* Mini teacher cards for celinesacademy category pages */
.teacher-mini-card {
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}
.teacher-mini-card:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
          box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.teacher-mini-card .teacher-mini-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  margin: 0 auto 10px;
  display: block;
}
.teacher-mini-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #303192;
}
.teacher-mini-card p {
  color: #666;
  margin-bottom: 0;
}

/* Management page specific styles */
.page-management .gallery-card {
  padding-bottom: 0 !important;
}
.page-management .gallery-card .gallery-content {
  padding-bottom: 0 !important;
}
.page-management .gallery-card .gallery-content div {
  margin-bottom: 0 !important;
}
.page-management .gallery-card .gallery-content .read-all {
  margin-bottom: 0 !important;
}

/* Gallery image hover effect */
.gallery-card a img.rounded-image, .gallery-card a .carousel-default .item img, .carousel-default .item .gallery-card a img, .gallery-card a .grid.margin article.s-12.m-12.l-6.margin-m-bottom:last-child img, .grid.margin article.s-12.m-12.l-6.margin-m-bottom:last-child .gallery-card a img,
.gallery-card a .team-photo.rounded-image {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border-radius: 10px 10px 0 0 !important; /* Rounded top corners only for gallery images */
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow to the image */
  width: 100%; /* Ensure image takes full width */
  display: block; /* Remove any extra space */
}

.gallery-card a:hover img.rounded-image, .gallery-card a:hover .carousel-default .item img, .carousel-default .item .gallery-card a:hover img, .gallery-card a:hover .grid.margin article.s-12.m-12.l-6.margin-m-bottom:last-child img, .grid.margin article.s-12.m-12.l-6.margin-m-bottom:last-child .gallery-card a:hover img,
.gallery-card a:hover .team-photo.rounded-image {
  opacity: 0.85;
  -webkit-transform: scale(1.02);
          transform: scale(1.02);
  -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Gallery card text content */
.gallery-content {
  padding: 15px 15px 0px; /* Removed bottom padding to fix extra space */
  margin-top: 0;
  margin-bottom: 0; /* Added to remove bottom margin */
  /* Fix for the container of the View Bio button */
}
.gallery-content h3 {
  margin-top: 0;
  margin-bottom: 8px; /* Reduced bottom margin */
}
.gallery-content p {
  margin-bottom: 8px; /* Reduced bottom margin */
}
.gallery-content .text-more-info {
  display: inline-block;
  margin-bottom: 0; /* Removed bottom margin */
}
.gallery-content div {
  margin-bottom: 0 !important; /* Remove bottom margin from button container */
}

.blog-post img.rounded-image, .blog-post .carousel-default .item img, .carousel-default .item .blog-post img, .blog-post .grid.margin article.s-12.m-12.l-6.margin-m-bottom:last-child img, .grid.margin article.s-12.m-12.l-6.margin-m-bottom:last-child .blog-post img {
  width: 100%;
  border-radius: 10px 10px 0 0;
}

.blog-post h3 {
  line-height: 1.3;
}

.blog-post p {
  margin: 10px 0;
  line-height: 1.5;
}

.blog-author a,
.blog-category a {
  color: #555;
  text-decoration: none;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.blog-author a:hover,
.blog-category a:hover {
  color: #0074d9;
}

/* Nationality Dropdown Styling */
select[name=nationality],
select[name=nationality_f],
select[name=nationality_m] {
  max-height: 300px;
  overflow-y: auto !important;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
}
select[name=nationality] option,
select[name=nationality_f] option,
select[name=nationality_m] option {
  padding: 8px 12px;
}
select[name=nationality] option:hover,
select[name=nationality_f] option:hover,
select[name=nationality_m] option:hover {
  background-color: #f5f5f5;
}

/* Nationality Dropdown Styling */
select[name=nationality],
select[name=nationality_f],
select[name=nationality_m] {
  max-height: 300px;
  overflow-y: auto !important;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
}
select[name=nationality] option,
select[name=nationality_f] option,
select[name=nationality_m] option {
  padding: 8px 12px;
}
select[name=nationality] option:hover,
select[name=nationality_f] option:hover,
select[name=nationality_m] option:hover {
  background-color: #f5f5f5;
}

/* Pagination Styling - Removed duplicate styles */
/* Blog Details Link Styling */
.blog-categories {
  background-color: rgb(192.8146551724, 92.9331896552, 8.6853448276);
  padding: 0.8rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.blog-post .text-more-info {
  display: inline-block;
  margin-top: 10px;
  font-weight: 500;
  position: relative;
  padding-right: 20px;
}

.blog-post .text-more-info:hover:after {
  -webkit-transform: translateX(5px);
          transform: translateX(5px);
}

/* Blog Post Category Tags */
.blog-category a {
  background-color: #f1f1f1;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.85em;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}

.blog-category a:hover {
  background-color: #e0e0e0;
}

/* Footer styles */
footer .section.background-blue {
  border-radius: 0 !important; /* Remove rounded corners for full-width footer */
  overflow: hidden;
}
footer .bottom-footer {
  margin-bottom: 0.5rem;
}
footer .padding.background-yellow {
  border-radius: 0 !important; /* Remove rounded corners for full-width footer */
  overflow: hidden;
}

.footer-links {
  padding-top: 0.625rem;
}
.footer-links p {
  margin-bottom: 15px; /* Adjust this value to increase/decrease the gap */
}

.admin-contact-info {
  background: none !important;
  padding-top: 0.8rem;
  margin-top: 0.2rem;
  border-top: 1px solid #ffffff;
}

.admin-info-item {
  padding-top: 0.8rem !important;
  color: #222;
  border-radius: 10px; /* Keep rounded corners for admin info items as they're not full-width */
  overflow: hidden;
}

.footer-links {
  padding-top: 1rem;
}
.footer-links p {
  margin-bottom: 10px; /* Adjust this value to increase/decrease the gap */
}

footer h4 {
  color: #303192 !important;
  font-family: "Radley", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  text-align: left;
}

.admin-name {
  word-wrap: break-word;
}

.admin-phone {
  /* Prevent aggressive word breaking but allow natural wrapping */
  word-break: keep-all;
  overflow-wrap: break-word;
  -ms-hyphens: none;
      hyphens: none;
  /* Ensure phone numbers don't overflow their container */
  max-width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* Allow wrapping at natural break points (spaces, hyphens) */
  white-space: normal;
  /* For very long phone numbers without spaces, allow breaking as last resort */
  word-wrap: break-word;
}

/* Slider styles */
/*** Navigation bar styles */
.top-nav li a,
.background-white .top-nav li a {
  color: #ffffff !important;
  font-size: 1rem;
  padding: 0.7em 1.25em;
}

nav {
  border-bottom: 4px solid rgba(0, 0, 0, 0.05);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0;
  position: relative;
  z-index: 15;
  width: 100%;
}

.top-nav ul ul {
  background: white none repeat scroll 0 0 !important;
}

.top-nav li ul li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.top-nav li ul li:last-child {
  border-bottom: 0;
}

.top-nav li ul li a,
.background-white .top-nav li ul li a,
.top-nav .active-item li a {
  background: white none repeat scroll 0 0 !important;
  color: #444 !important;
}

@media screen and (min-width: 769px) {
  /* Optimize main navigation bar to ensure all items and search icon fit on one line */
  .centered-menu,
  .top-nav ul.menu {
    -ms-flex-wrap: wrap !important;
        flex-wrap: wrap !important;
    -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
            justify-content: center !important;
  }
  .centered-menu > li,
  .top-nav ul.menu > li {
    display: block !important;
    -webkit-box-flex: 0 !important;
        -ms-flex: 0 1 auto !important;
            flex: 0 1 auto !important;
  }
  .top-nav li a,
  .background-white .top-nav li a,
  .top-nav ul.menu > li > a {
    font-size: 1.05rem !important; /* Increased font-size for better readability */
    padding: 0.7rem 0.8rem !important; /* Adjusted padding to ensure it fits on one line */
    white-space: nowrap !important; /* Prevent text wrapping */
  }
  /* Make sure the search icon inside the ASTM menu item is aligned nicely */
  li.astm-search-menu > a {
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center !important;
        -ms-flex-align: center !important;
            align-items: center !important;
    -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
            justify-content: center !important;
  }
  /* Increase the size of the search button and make it white on desktop */
  li.astm-search-menu svg.search-icon {
    width: 24px !important;
    height: 24px !important;
    -webkit-transition: -webkit-transform 0.2s ease;
    transition: -webkit-transform 0.2s ease;
    transition: transform 0.2s ease;
    transition: transform 0.2s ease, -webkit-transform 0.2s ease;
  }
  li.astm-search-menu svg.search-icon path.search-icon-path {
    fill: #ffffff !important;
  }
  .developer-credit {
    text-align: right;
  }
}
/* Application Form Styles */
.application-form {
  color: #303192;
  font-weight: 600;
}

.any-error {
  color: #c81010;
  font-weight: bold;
}

.any-success {
  color: #06a10b;
  font-weight: bold;
}

/* Style for required fields */
form.customform input.required,
form.customform select.required,
form.customform textarea.required {
  border-left: 4px solid #c81010;
}

/* Improve form field spacing */
form.customform input,
form.customform select,
form.customform textarea {
  margin-bottom: 1rem;
}

/* Style for form section headings */
h3.application-form {
  margin-top: 2rem;
  font-size: 1.4rem;
}

h4.text-left {
  margin-top: 1.5rem;
  color: #303192;
  font-weight: 600;
}

/* Style for submit and reset buttons */
.submit-btn {
  background-color: #303192 !important;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: rgb(35.381443299, 36.118556701, 107.618556701) !important;
}

.cancel-btn {
  background-color: #c81010 !important;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}

.cancel-btn:hover {
  background-color: rgb(152.7777777778, 12.2222222222, 12.2222222222) !important;
}

/* Datepicker styling */
.ui-datepicker {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  padding: 10px;
}

.ui-datepicker-header {
  background-color: #303192;
  color: white;
  border-radius: 3px;
  padding: 5px;
}

.ui-datepicker-calendar th {
  padding: 5px;
  text-align: center;
}

.ui-datepicker-calendar td {
  padding: 2px;
  text-align: center;
}

.ui-datepicker-calendar a {
  display: block;
  padding: 5px;
  text-decoration: none;
  border-radius: 3px;
}

.ui-datepicker-calendar a:hover {
  background-color: #f58221;
  color: white;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
  /* Ensure the hamburger menu is visible */
  .nav-text {
    display: block !important;
  }
  .top-nav li a,
  .background-white .top-nav li a {
    background: #f8f9fa none repeat scroll 0 0;
    color: #222 !important;
    font-size: 1.2em;
    padding: 1em;
    text-align: center;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
  }
  .top-nav ul.menu > li > ul.sub-menu {
    background: white none repeat scroll 0 0;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f58221 !important;
    position: absolute;
    display: none;
    top: 100%;
    width: 13rem;
    z-index: 10;
    margin: 0;
    padding: 0;
  }
  .top-nav li a:hover,
  .background-white .top-nav li a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #f58221 !important;
  }
  .top-nav li ul li ul li a {
    background: none repeat scroll 0 0 #456274;
  }
  nav#top-nav,
  nav#top-nav.background-white {
    background: #303192 !important;
  }
  .top-nav li ul li a,
  .background-white .top-nav li ul li a,
  .top-nav .active-item li a {
    background: white none repeat scroll 0 0 !important;
    color: #444 !important;
  }
  h1 {
    font-size: 1.7rem;
    text-align: center;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  h4 {
    font-size: 1rem;
  }
  .blog-post h3 {
    font-size: 1.1rem;
  }
  .homepage-headers,
  .page-headers {
    font-size: 1.4rem;
  }
  .number-stat {
    margin-bottom: 15px;
  }
  /* More info button */
  a.text-more-info {
    margin-bottom: 2rem;
  }
  hr.break-alt {
    margin: 5px 0 !important;
  }
  /* Mobile centered menu styles */
  .centered-menu {
    display: block;
  }
  .centered-menu > li {
    display: block;
  }
  .admin-info-item {
    margin-bottom: 1rem;
    text-align: center;
  }
  footer h4 {
    text-align: left;
  }
}
@media screen and (max-width: 480px) {
  .developer-credit {
    margin-top: 1rem !important;
  }
}
/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .blog-post {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 480px) {
  .pagination li a {
    padding: 6px 12px;
  }
  .blog-author,
  .blog-category,
  .blog-date {
    font-size: 0.8rem;
  }
}
/* Fix for teacher cards grid to prevent cards from bumping into each other */
.grid.margin {
  grid-row-gap: 20px; /* Add vertical spacing between rows for all grids */
}

/* Specific styling for teacher cards grid */
.teacher-cards-grid {
  grid-row-gap: 50px !important; /* Add more vertical spacing between rows for teacher cards */
  display: grid !important; /* Ensure grid display is enforced */
  margin-bottom: 30px !important; /* Add bottom margin to the entire grid */
}

/* Utility class for smaller bottom margins */
.margin-bottom-5 {
  margin-bottom: 5px !important;
}

/* Specific styling for management page cards */
.page-management .gallery-card .gallery-content {
  padding: 10px 10px 5px; /* Further reduced padding for management page */
}

/* Pagination Styles */
.pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  list-style: none;
  padding: 0;
  margin: 30px 0;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.pagination li {
  margin: 0 5px;
  display: inline-block;
}

.pagination a {
  display: block;
  padding: 8px 15px;
  text-decoration: none;
  color: #222;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 5px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.pagination a:hover {
  background-color: rgb(170.7113402062, 171.2886597938, 227.2886597938);
  color: #303192;
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.pagination a.active-page {
  background-color: #303192;
  color: #ffffff;
}

.events-grid-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .events-grid-modern {
    grid-template-columns: 1fr;
  }
}

.section-title.text-event-gradient {
  color: #303192 !important;
}

.event-card-modern {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background: #fff;
  border-radius: 12px;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.event-card-modern:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
          box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-color: rgba(48, 49, 146, 0.1);
}
.event-card-modern:hover .event-date-badge {
  background-color: #303192 !important;
}
.event-card-modern:hover .event-link-arrow {
  color: #f58221;
}
.event-card-modern:hover .event-link-arrow i {
  -webkit-transform: translateX(5px);
          transform: translateX(5px);
}
.event-card-modern .event-date-badge {
  background-color: #f58221 !important;
  color: #ffffff !important;
  padding: 1.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-width: 100px;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
  position: relative;
  z-index: 10;
}
.event-card-modern .event-date-badge span {
  color: #ffffff !important;
  position: relative;
  z-index: 11;
}
.event-card-modern .event-date-badge .event-day {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: #ffffff !important;
  position: relative;
  z-index: 11;
  -webkit-box-ordinal-group: 2 !important;
      -ms-flex-order: 1 !important;
          order: 1 !important;
}
.event-card-modern .event-date-badge .event-month {
  text-transform: uppercase !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  margin: 2px 0 !important;
  color: #ffffff !important;
  position: relative;
  z-index: 11;
  -webkit-box-ordinal-group: 3 !important;
      -ms-flex-order: 2 !important;
          order: 2 !important;
}
.event-card-modern .event-date-badge .event-year {
  font-size: 0.8rem !important;
  opacity: 0.8 !important;
  color: #ffffff !important;
  position: relative;
  z-index: 11;
  -webkit-box-ordinal-group: 4 !important;
      -ms-flex-order: 3 !important;
          order: 3 !important;
}
.event-card-modern .event-details {
  padding: 1.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.event-card-modern .event-details .event-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.15rem;
  line-height: 1.3;
}
.event-card-modern .event-details .event-title a {
  color: #303192;
  text-decoration: none;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}
.event-card-modern .event-details .event-title a:hover {
  color: #f58221;
}
.event-card-modern .event-details .event-excerpt {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.event-card-modern .event-details .event-link-arrow {
  font-weight: 600;
  font-size: 0.9rem;
  color: #303192;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-decoration: none !important;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.event-card-modern .event-details .event-link-arrow i {
  margin-left: 5px;
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}

/* Event Sidebar Card Styles - Compact with Image */
.event-sidebar-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.event-sidebar-card:hover .event-sidebar-image img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.event-sidebar-card:hover h6 a {
  color: #f58221;
}
.event-sidebar-card .event-sidebar-image {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f9fa;
}
.event-sidebar-card .event-sidebar-image a {
  display: block;
  width: 100%;
  height: 100%;
}
.event-sidebar-card .event-sidebar-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.event-sidebar-card .event-sidebar-content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.event-sidebar-card .event-sidebar-content .event-sidebar-date {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: #f58221;
  margin-bottom: 5px;
}
.event-sidebar-card .event-sidebar-content .event-sidebar-date i {
  font-size: 0.85rem;
}
.event-sidebar-card .event-sidebar-content .event-sidebar-date span {
  font-weight: 600;
}
.event-sidebar-card .event-sidebar-content h6 {
  font-size: 0.9rem;
  line-height: 1.3;
}
.event-sidebar-card .event-sidebar-content h6 a {
  color: #303192;
  text-decoration: none;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}
.event-sidebar-card .event-sidebar-content h6 a:hover {
  color: #f58221;
}
.event-sidebar-card .event-sidebar-content p {
  margin: 0;
  line-height: 1.4;
}

/* Horizontal Activity Card Styles */
.activity-card-horizontal {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background: #ffffff;
  border-radius: 12px;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  height: 100%; /* Ensure consistent height in grid */
  /* Mobile Responsive */
}
.activity-card-horizontal:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
          box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-color: rgba(48, 49, 146, 0.1);
}
.activity-card-horizontal:hover .activity-image-side {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.activity-card-horizontal .activity-image-side {
  width: 40%;
  aspect-ratio: 16/9; /* Enforce 16:9 aspect ratio */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden; /* For scale effect */
  /* Removed fixed min-height to allow aspect-ratio to dictate height */
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}
.activity-card-horizontal .activity-image-side .scope-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(48, 49, 146, 0.9);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.activity-card-horizontal .activity-content-side {
  width: 60%;
  padding: 1.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.activity-card-horizontal .activity-content-side h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  line-height: 1.3;
}
.activity-card-horizontal .activity-content-side h4 a {
  color: #303192;
  text-decoration: none;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}
.activity-card-horizontal .activity-content-side h4 a:hover {
  color: #f58221;
}
.activity-card-horizontal .activity-content-side p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.activity-card-horizontal .activity-content-side .text-small {
  font-size: 0.9rem;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 0.5rem; /* Reduced from auto for smaller gap */
}
.activity-card-horizontal .activity-content-side .text-small:after, .activity-card-horizontal .activity-content-side .text-small:before {
  display: none !important;
  content: none !important;
}
.activity-card-horizontal .activity-content-side .text-small i {
  margin-left: 5px;
  font-size: 0.8rem;
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}
.activity-card-horizontal .activity-content-side .text-small:hover i {
  -webkit-transform: translateX(5px);
          transform: translateX(5px);
}
.activity-card-horizontal .activity-content-side .text-xs {
  font-size: 0.75rem;
}
.activity-card-horizontal .activity-content-side .text-lowercase {
  text-transform: lowercase !important;
}
.activity-card-horizontal .activity-content-side .text-dark-grey {
  color: #555;
}
.activity-card-horizontal .activity-content-side .margin-bottom-2 {
  margin-bottom: 10px !important;
}
@media (max-width: 768px) {
  .activity-card-horizontal {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: auto; /* Allow card to grow vertically */
  }
  .activity-card-horizontal .activity-image-side {
    width: 100%;
    /* height: 200px; Removed fixed height */
    min-height: auto;
  }
  .activity-card-horizontal .activity-content-side {
    width: 100%;
    padding: 1.25rem;
  }
}

/* Contact Form Styles */
.celinesacademy-contact-form {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  /* Form Groups */
  /* Input Controls */
  /* Required Fields Note */
  /* Submit Button */
  /* Character Counter */
  /* Field Error Message */
  /* Form Message (Success/Error) */
}
.celinesacademy-contact-form .form-group {
  margin-bottom: 20px;
  position: relative;
}
.celinesacademy-contact-form .input-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: "Figtree", sans-serif;
  font-size: 1rem;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background-color: #fff;
}
.celinesacademy-contact-form .input-control:focus {
  border-color: #303192;
  -webkit-box-shadow: 0 0 0 3px rgba(48, 49, 146, 0.1);
          box-shadow: 0 0 0 3px rgba(48, 49, 146, 0.1);
  outline: none;
}
.celinesacademy-contact-form .input-control.error {
  border-color: #e74c3c;
  background-color: #fff8f8;
}
.celinesacademy-contact-form .input-control.valid {
  border-color: #2ecc71;
  background-color: #f8fff9;
}
.celinesacademy-contact-form .required-fields-note {
  margin-bottom: 20px;
  color: #666;
  font-size: 0.9rem;
}
.celinesacademy-contact-form .submit-btn {
  padding: 12px 30px;
  background-color: #303192;
  color: #fff;
  border: none;
  border-radius: 50px; /* Pill shape */
  font-family: "Radley", serif;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: inline-block;
  min-width: 200px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.celinesacademy-contact-form .submit-btn:hover {
  background-color: #f58221;
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.celinesacademy-contact-form .submit-btn:active {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
.celinesacademy-contact-form .submit-btn.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
  padding-right: 40px;
}
.celinesacademy-contact-form .submit-btn.loading:after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  margin-top: -8px;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  -webkit-animation: spin 1s linear infinite;
          animation: spin 1s linear infinite;
}
.celinesacademy-contact-form .character-counter {
  text-align: right;
  font-size: 0.8rem;
  color: #888;
  margin-top: 5px;
}
.celinesacademy-contact-form .character-counter.warning {
  color: #f58221;
}
.celinesacademy-contact-form .character-counter.error {
  color: #e74c3c;
}
.celinesacademy-contact-form .field-error-message {
  display: block;
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 5px;
}
.celinesacademy-contact-form .form-message {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  display: none;
}
.celinesacademy-contact-form .form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.celinesacademy-contact-form .form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Screen Reader Text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* Animation */
@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .celinesacademy-contact-form {
    padding: 15px;
    /* Reset grid margin on mobile */
    /* Ensure inputs take full width on mobile */
  }
  .celinesacademy-contact-form .grid.margin {
    margin-bottom: 0px;
  }
  .celinesacademy-contact-form .s-12 {
    padding-left: 0;
    padding-right: 0;
  }
}
/* Contact Info Card Styles */
.contact-info-card {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.contact-info-card .info-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.contact-info-card .info-icon {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: #303192;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-right: 15px;
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.contact-info-card .info-icon i {
  line-height: 1;
}
.contact-info-card .info-content {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.contact-info-card .info-content p {
  line-height: 1.5;
  color: #444;
}
.contact-info-card .info-content p.text-strong {
  font-weight: 700;
}
.contact-info-card .info-content a {
  color: #303192;
  text-decoration: none;
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}
.contact-info-card .info-content a:hover {
  color: #f58221;
  text-decoration: underline;
}
.contact-info-card .contact-person {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.contact-info-card .contact-person:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* Helper classes for contact info */
.text-size-14 {
  font-size: 0.9rem !important;
}

.text-size-20 {
  font-size: 1.25rem !important;
}

.margin-right-5 {
  margin-right: 5px !important;
}

.margin-bottom-5 {
  margin-bottom: 5px !important;
}

.margin-bottom-0 {
  margin-bottom: 0 !important;
}

/* Premium Redesigned Contact Page Styles */
.contact-card-premium {
  padding: 30px;
  background-color: #ffffff;
  border: 1px solid #eef2f5;
  border-left: 4px solid #303192;
  border-radius: 12px;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
}
.contact-card-premium.accent-secondary {
  border-left-color: #f58221;
}
.contact-card-premium.accent-secondary .card-badge-icon {
  background-color: rgba(245, 130, 33, 0.08);
  color: #f58221;
}
.contact-card-premium.accent-secondary .card-badge-icon:hover {
  background-color: #f58221;
  color: #ffffff;
}
.contact-card-premium:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
          box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}
.contact-card-premium .card-title-premium {
  font-family: "Radley", serif;
  font-weight: bold;
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #303192;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.contact-card-premium .card-title-premium.accent-secondary {
  color: #f58221;
}
.contact-card-premium .card-title-premium i {
  margin-right: 10px;
}
.contact-card-premium .info-item-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin-bottom: 20px;
}
.contact-card-premium .info-item-flex:last-child {
  margin-bottom: 0;
}
.contact-card-premium .card-badge-icon {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: rgba(48, 49, 146, 0.05);
  color: #303192;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-right: 18px;
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.contact-card-premium .card-badge-icon:hover {
  background-color: #303192;
  color: #ffffff;
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.contact-card-premium .card-badge-icon i {
  font-size: 1.3rem;
  line-height: 1;
}
.contact-card-premium .info-content-premium {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.contact-card-premium .info-content-premium p {
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 8px;
  font-size: 0.98rem;
}
.contact-card-premium .info-content-premium p.text-strong {
  font-weight: 700;
  color: #000000;
}
.contact-card-premium .info-content-premium a {
  color: #303192;
  text-decoration: none;
  font-weight: 500;
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.contact-card-premium .info-content-premium a:hover {
  color: #f58221;
  text-decoration: underline;
}

/* Form Notice Box Premium */
.form-notice-box-premium {
  background-color: #fdfaf7;
  border: 1px solid rgba(245, 130, 33, 0.15);
  border-left: 4px solid #f58221;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 30px;
  -webkit-box-shadow: 0 4px 15px rgba(245, 130, 33, 0.03);
          box-shadow: 0 4px 15px rgba(245, 130, 33, 0.03);
}
.form-notice-box-premium .notice-title-premium {
  font-family: "Radley", serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: rgb(192.8146551724, 92.9331896552, 8.6853448276);
  margin-bottom: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.form-notice-box-premium .notice-title-premium i {
  margin-right: 8px;
  font-size: 1.25rem;
}
.form-notice-box-premium ul.notice-list-premium {
  margin: 0;
  padding-left: 0;
  list-style-type: none !important;
}
.form-notice-box-premium ul.notice-list-premium li {
  position: relative;
  padding-left: 24px;
  color: #4a5568;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.form-notice-box-premium ul.notice-list-premium li:last-child {
  margin-bottom: 0;
}
.form-notice-box-premium ul.notice-list-premium li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  color: #00a651;
  font-weight: bold;
  font-size: 0.95rem;
}
.form-notice-box-premium ul.notice-list-premium li span.badge-err {
  border-bottom: 2px solid #e74c3c;
  font-weight: 600;
  color: #e74c3c;
}
.form-notice-box-premium ul.notice-list-premium li span.badge-val {
  border-bottom: 2px solid #2ecc71;
  font-weight: 600;
  color: #2ecc71;
}

/* Premium Form Area Wrapper */
.contact-form-premium-wrapper {
  background-color: #ffffff;
  border: 1px solid #eef2f5;
  border-radius: 12px;
  padding: 35px;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}
@media screen and (max-width: 768px) {
  .contact-form-premium-wrapper {
    padding: 20px;
  }
}

/* Premium Redesigned Footer Styles */
.main-footer-premium {
  background-color: #111236 !important; /* Deep luxury dark indigo */
  border-top: 4px solid #f58221; /* Dynamic brand secondary top line */
  padding: 60px 0 40px 0 !important;
  color: #cbd5e1 !important; /* Slate 300 for soft reading */
  position: relative;
  overflow: hidden;
  /* Modern Footer Lists */
  /* Icon Badges Cohesive with Contact Page */
  /* Google Map frame container in tooltip */
}
.main-footer-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(48, 49, 146, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.main-footer-premium h4 {
  color: #ffffff !important;
  font-family: "Radley", serif;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  margin-bottom: 25px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
  display: inline-block;
}
.main-footer-premium h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: #f58221;
  border-radius: 2px;
}
.main-footer-premium .footer-logo-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 220px;
}
.main-footer-premium .footer-logo-container img {
  max-height: 60px;
  width: auto;
  -webkit-filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
          filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}
.main-footer-premium .footer-links-premium {
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.main-footer-premium .footer-links-premium li, .main-footer-premium .footer-links-premium p {
  margin-bottom: 14px !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  line-height: 1.5;
  font-size: 0.95rem;
}
.main-footer-premium .footer-links-premium li a, .main-footer-premium .footer-links-premium p a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-weight: 500;
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.main-footer-premium .footer-links-premium li a:hover, .main-footer-premium .footer-links-premium p a:hover {
  color: #f58221 !important;
  -webkit-transform: translateX(5px);
          transform: translateX(5px);
}
.main-footer-premium .footer-badge-icon {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: #f58221;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-right: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.main-footer-premium .footer-badge-icon:hover {
  background-color: #f58221;
  color: #ffffff;
  -webkit-transform: scale(1.08);
          transform: scale(1.08);
}
.main-footer-premium .footer-badge-icon i {
  font-size: 1.1rem;
}
.main-footer-premium .footer-info-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
}
.main-footer-premium .footer-info-text a {
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none !important;
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.main-footer-premium .footer-info-text a:hover {
  color: #f58221 !important;
}
.main-footer-premium .tooltip-container {
  position: relative;
  cursor: pointer;
  color: #ffffff;
  font-weight: 600;
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
}
.main-footer-premium .tooltip-container:hover {
  color: #f58221;
  border-bottom-color: #f58221;
}

/* Glassmorphic PWA Download Banner */
.pwa-install-banner-premium {
  background: linear-gradient(135deg, rgba(48, 49, 146, 0.95) 0%, rgba(26, 27, 84, 0.98) 100%) !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
  padding: 50px 20px !important;
  text-align: center;
  position: relative;
  z-index: 10;
  /* Hide when the app is launched as a standalone PWA (Android, iOS, Desktop) */
}
@media (display-mode: standalone), (display-mode: fullscreen), (display-mode: minimal-ui) {
  .pwa-install-banner-premium {
    display: none !important;
  }
}
.pwa-install-banner-premium.pwa-standalone-active {
  display: none !important;
}
.pwa-install-banner-premium .pwa-btn-premium {
  background: linear-gradient(135deg, #f58221 0%, rgb(192.8146551724, 92.9331896552, 8.6853448276) 100%) !important;
  border: none !important;
  color: #ffffff !important;
  padding: 14px 28px !important;
  border-radius: 50px !important;
  font-family: "Radley", serif !important;
  font-weight: bold !important;
  font-size: 1rem !important;
  letter-spacing: 0.5px;
  cursor: pointer;
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  -webkit-box-shadow: 0 8px 25px rgba(245, 130, 33, 0.25) !important;
          box-shadow: 0 8px 25px rgba(245, 130, 33, 0.25) !important;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  text-transform: uppercase;
}
.pwa-install-banner-premium .pwa-btn-premium span {
  font-size: 1.3rem;
}
.pwa-install-banner-premium .pwa-btn-premium:hover {
  -webkit-transform: translateY(-3px) scale(1.02) !important;
          transform: translateY(-3px) scale(1.02) !important;
  -webkit-box-shadow: 0 12px 30px rgba(245, 130, 33, 0.4) !important;
          box-shadow: 0 12px 30px rgba(245, 130, 33, 0.4) !important;
  background: linear-gradient(135deg, rgb(246.099137931, 143.7392241379, 57.400862069) 0%, #f58221 100%) !important;
}
.pwa-install-banner-premium .pwa-btn-premium:active {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

/* Footer Bottom Premium styling */
.footer-bottom-premium {
  background-color: #08091f !important; /* Super rich dark indigo/black */
  padding: 30px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  /* Legal link list */
}
.footer-bottom-premium p {
  color: #94a3b8 !important; /* Slate 400 */
  font-size: 0.95rem;
}
.footer-bottom-premium .developer-credit {
  text-align: right;
}
@media screen and (max-width: 768px) {
  .footer-bottom-premium .developer-credit {
    text-align: left;
    margin-top: 10px;
  }
}
.footer-bottom-premium .developer-credit a {
  color: #94a3b8 !important;
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-size: 0.85rem !important;
  font-weight: 500;
}
.footer-bottom-premium .developer-credit a:hover {
  color: #f58221 !important;
  text-decoration: underline !important;
}
.footer-bottom-premium .legal-links-responsive {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-bottom-premium .legal-links-responsive .legal-link-item {
  color: #64748b !important; /* Slate 500 */
  text-decoration: none !important;
  font-size: 0.85rem;
  font-weight: 500;
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.footer-bottom-premium .legal-links-responsive .legal-link-item:hover {
  color: #f58221 !important;
}

/* Teacher Page Styles */
.teacher-search-wrapper {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}
.teacher-search-wrapper .search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  color: #888;
  font-size: 1.2rem;
}
.teacher-search-wrapper .teacher-search-input {
  width: 100%;
  padding: 15px 15px 15px 50px;
  border: 2px solid #eee;
  border-radius: 50px;
  font-family: "Figtree", sans-serif;
  font-size: 1rem;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background-color: #fff;
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.teacher-search-wrapper .teacher-search-input:focus {
  border-color: #303192;
  -webkit-box-shadow: 0 4px 12px rgba(48, 49, 146, 0.15);
          box-shadow: 0 4px 12px rgba(48, 49, 146, 0.15);
  outline: none;
}

#teacher-grid {
  position: relative;
  min-height: 200px;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
#teacher-grid.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Teacher Card Styles */
.teacher-card {
  border: none;
  background: transparent;
}
.teacher-card .card-inner {
  background: #fff;
  border-radius: 12px;
  overflow: hidden; /* Keep for border-radius clipping on card */
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
          box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.teacher-card .card-inner:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
          box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.teacher-card .card-inner:hover .view-profile-btn {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
.teacher-card .card-inner:hover .card-overlay {
  opacity: 1;
  pointer-events: all;
}
.teacher-card .card-image {
  position: relative;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  overflow: hidden;
  background-color: #f0f0f0;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.teacher-card .card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}
.teacher-card .card-image .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(48, 49, 146, 0.75);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.teacher-card .card-image .view-profile-btn {
  /* Reset button styles */
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  border: none;
  background-color: #fff;
  color: #303192;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  -webkit-transform: translateY(20px);
          transform: translateY(20px);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0;
  display: inline-block;
  position: relative;
  z-index: 3;
}
.teacher-card .card-image .view-profile-btn:hover {
  background-color: #f58221;
  color: #fff;
}
.teacher-card .card-content {
  padding: 15px 20px 20px;
  text-align: center;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 4px;
}
.teacher-card .card-content .category-badge {
  display: inline-block;
  background-color: rgba(48, 49, 146, 0.08);
  color: #303192;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.teacher-card .card-content .teacher-name {
  font-family: "Radley", serif;
  font-size: 1.2rem;
  margin-bottom: 2px;
  margin-top: 0;
  color: #333;
}
.teacher-card .card-content .teacher-title {
  color: #f58221;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0;
}

/* Modal Styling Adjustments */
.modal-content-wrapper {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  max-width: 800px;
  margin: 50px auto;
  position: relative;
  -webkit-box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
          box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}
.modal-content-wrapper .modal-header {
  background-color: #303192;
  padding: 20px 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.modal-content-wrapper .modal-header h3 {
  color: #fff;
  margin: 0;
  font-size: 1.2rem;
}
.modal-content-wrapper .modal-header .modal-close-button {
  color: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  opacity: 0.8;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
  background: none;
  border: none;
  padding: 0;
}
.modal-content-wrapper .modal-header .modal-close-button:hover {
  opacity: 1;
}
.modal-content-wrapper .modal-body {
  padding: 40px;
  max-height: 80vh;
  overflow-y: auto;
}
.modal-content-wrapper .modal-teacher-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 40px;
}
@media screen and (max-width: 768px) {
  .modal-content-wrapper .modal-teacher-info {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
  }
}
.modal-content-wrapper .modal-teacher-image {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 300px;
          flex: 0 0 300px;
}
.modal-content-wrapper .modal-teacher-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
          box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 768px) {
  .modal-content-wrapper .modal-teacher-image {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    max-width: 300px;
    margin: 0 auto;
  }
}
.modal-content-wrapper .modal-teacher-details {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.modal-content-wrapper .modal-teacher-details h2 {
  margin-top: 0;
  margin-bottom: 5px;
  font-family: "Radley", serif;
  font-size: 2rem;
}
.modal-content-wrapper .modal-teacher-details .teacher-bio {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}
.modal-content-wrapper .modal-teacher-details .teacher-bio p {
  margin-bottom: 15px;
}

/* Override existing modal styles specifically for teachers */
.modal.teacher-modal {
  display: none; /* Hide by default */
  position: fixed; /* Fix to viewport */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  margin: 0; /* Reset Responsee's margin-top: -100% */
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  padding: 20px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  /* Hide the old close button */
  /* Hide default h3 */
  /* Hide default padding div */
}
.modal.teacher-modal.active {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important; /* Ensure it stays flex when active */
}
.modal.teacher-modal > .modal-close-button {
  display: none;
}
.modal.teacher-modal > h3 {
  display: none;
}
.modal.teacher-modal > .padding {
  display: none;
}

/* ============================================================================
   Gutenberg Block Styles - Celine's Academy
   Brand Colors: Primary #303192 | Secondary #f58221 | Accent #00a651
   ============================================================================ */
/* ============================================================================
   CARD STYLES (core/group)
   ============================================================================ */
.wp-block-group.is-style-celine-card-primary {
  border: 1px solid #303192;
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(48, 49, 146, 0.05) 0%, #ffffff 100%);
  -webkit-box-shadow: 0 4px 6px rgba(48, 49, 146, 0.1), 0 1px 3px rgba(48, 49, 146, 0.08);
          box-shadow: 0 4px 6px rgba(48, 49, 146, 0.1), 0 1px 3px rgba(48, 49, 146, 0.08);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.wp-block-group.is-style-celine-card-primary:hover {
  -webkit-box-shadow: 0 12px 16px rgba(48, 49, 146, 0.15), 0 3px 6px rgba(48, 49, 146, 0.1);
          box-shadow: 0 12px 16px rgba(48, 49, 146, 0.15), 0 3px 6px rgba(48, 49, 146, 0.1);
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}

.wp-block-group.is-style-celine-card-secondary {
  border: 1px solid #f58221;
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(245, 130, 33, 0.05) 0%, #ffffff 100%);
  -webkit-box-shadow: 0 4px 6px rgba(245, 130, 33, 0.1), 0 1px 3px rgba(245, 130, 33, 0.08);
          box-shadow: 0 4px 6px rgba(245, 130, 33, 0.1), 0 1px 3px rgba(245, 130, 33, 0.08);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.wp-block-group.is-style-celine-card-secondary:hover {
  -webkit-box-shadow: 0 12px 16px rgba(245, 130, 33, 0.15), 0 3px 6px rgba(245, 130, 33, 0.1);
          box-shadow: 0 12px 16px rgba(245, 130, 33, 0.15), 0 3px 6px rgba(245, 130, 33, 0.1);
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}

.wp-block-group.is-style-celine-card-accent {
  border: 1px solid #00a651;
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(0, 166, 81, 0.05) 0%, #ffffff 100%);
  -webkit-box-shadow: 0 4px 6px rgba(0, 166, 81, 0.1), 0 1px 3px rgba(0, 166, 81, 0.08);
          box-shadow: 0 4px 6px rgba(0, 166, 81, 0.1), 0 1px 3px rgba(0, 166, 81, 0.08);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.wp-block-group.is-style-celine-card-accent:hover {
  -webkit-box-shadow: 0 12px 16px rgba(0, 166, 81, 0.15), 0 3px 6px rgba(0, 166, 81, 0.1);
          box-shadow: 0 12px 16px rgba(0, 166, 81, 0.15), 0 3px 6px rgba(0, 166, 81, 0.1);
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}

.wp-block-group.is-style-celine-card-outline-primary {
  border: 2px solid #303192;
  border-radius: 8px;
  padding: 24px;
  background: transparent;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.wp-block-group.is-style-celine-card-outline-primary:hover {
  background: rgba(48, 49, 146, 0.02);
  border-color: rgb(35.381443299, 36.118556701, 107.618556701);
}

.wp-block-group.is-style-celine-card-outline-secondary {
  border: 2px solid #f58221;
  border-radius: 8px;
  padding: 24px;
  background: transparent;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.wp-block-group.is-style-celine-card-outline-secondary:hover {
  background: rgba(245, 130, 33, 0.02);
  border-color: rgb(217.2155172414, 104.6939655172, 9.7844827586);
}

/* ============================================================================
   LIST STYLES (core/list)
   ============================================================================ */
.is-style-celine-list-primary,
.wp-block-list.is-style-celine-list-primary {
  list-style: none !important;
  padding-left: 0;
}

.is-style-celine-list-primary li,
.wp-block-list.is-style-celine-list-primary li {
  list-style-type: none !important;
  padding-left: 28px;
  margin-bottom: 12px;
  position: relative;
}

.is-style-celine-list-primary li:before,
.wp-block-list.is-style-celine-list-primary li:before {
  content: "●";
  color: #303192;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: -2px;
  font-weight: bold;
}

.is-style-celine-list-secondary,
.wp-block-list.is-style-celine-list-secondary {
  list-style: none !important;
  padding-left: 0;
}

.is-style-celine-list-secondary li,
.wp-block-list.is-style-celine-list-secondary li {
  list-style-type: none !important;
  padding-left: 28px;
  margin-bottom: 12px;
  position: relative;
}

.is-style-celine-list-secondary li:before,
.wp-block-list.is-style-celine-list-secondary li:before {
  content: "●";
  color: #f58221;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: -2px;
  font-weight: bold;
}

.is-style-celine-list-checkmark-primary,
.wp-block-list.is-style-celine-list-checkmark-primary {
  list-style: none !important;
  padding-left: 0;
}

.is-style-celine-list-checkmark-primary li,
.wp-block-list.is-style-celine-list-checkmark-primary li {
  list-style-type: none !important;
  padding-left: 32px;
  margin-bottom: 12px;
  position: relative;
}

.is-style-celine-list-checkmark-primary li:before,
.wp-block-list.is-style-celine-list-checkmark-primary li:before {
  content: "✓";
  color: #303192;
  font-size: 18px;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.is-style-celine-list-checkmark-secondary,
.wp-block-list.is-style-celine-list-checkmark-secondary {
  list-style: none !important;
  padding-left: 0;
}

.is-style-celine-list-checkmark-secondary li,
.wp-block-list.is-style-celine-list-checkmark-secondary li {
  list-style-type: none !important;
  padding-left: 32px;
  margin-bottom: 12px;
  position: relative;
}

.is-style-celine-list-checkmark-secondary li:before,
.wp-block-list.is-style-celine-list-checkmark-secondary li:before {
  content: "✓";
  color: #f58221;
  font-size: 18px;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.is-style-celine-list-checkmark-accent,
.wp-block-list.is-style-celine-list-checkmark-accent {
  list-style: none !important;
  padding-left: 0;
}

.is-style-celine-list-checkmark-accent li,
.wp-block-list.is-style-celine-list-checkmark-accent li {
  list-style-type: none !important;
  padding-left: 32px;
  margin-bottom: 12px;
  position: relative;
}

.is-style-celine-list-checkmark-accent li:before,
.wp-block-list.is-style-celine-list-checkmark-accent li:before {
  content: "✓";
  color: #00a651;
  font-size: 18px;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* ============================================================================
   TABLE STYLES (core/table)
   ============================================================================ */
.wp-block-table.is-style-celine-table-striped-primary {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  -webkit-box-shadow: 0 1px 3px rgba(48, 49, 146, 0.1);
          box-shadow: 0 1px 3px rgba(48, 49, 146, 0.1);
}

.wp-block-table.is-style-celine-table-striped-primary table {
  width: 100%;
  border-collapse: collapse;
}

.wp-block-table.is-style-celine-table-striped-primary th {
  background-color: #303192;
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}

.wp-block-table.is-style-celine-table-striped-primary tbody tr:nth-child(even) {
  background-color: rgba(48, 49, 146, 0.05);
}

.wp-block-table.is-style-celine-table-striped-primary td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(48, 49, 146, 0.1);
}

.wp-block-table.is-style-celine-table-striped-secondary {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  -webkit-box-shadow: 0 1px 3px rgba(245, 130, 33, 0.1);
          box-shadow: 0 1px 3px rgba(245, 130, 33, 0.1);
}

.wp-block-table.is-style-celine-table-striped-secondary table {
  width: 100%;
  border-collapse: collapse;
}

.wp-block-table.is-style-celine-table-striped-secondary th {
  background-color: #f58221;
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}

.wp-block-table.is-style-celine-table-striped-secondary tbody tr:nth-child(even) {
  background-color: rgba(245, 130, 33, 0.05);
}

.wp-block-table.is-style-celine-table-striped-secondary td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(245, 130, 33, 0.1);
}

.wp-block-table.is-style-celine-table-header-primary {
  width: 100%;
  border-collapse: collapse;
}

.wp-block-table.is-style-celine-table-header-primary th {
  background: linear-gradient(135deg, #303192 0%, rgb(35.381443299, 36.118556701, 107.618556701) 100%);
  color: white;
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  border-bottom: 3px solid #303192;
}

.wp-block-table.is-style-celine-table-header-primary td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(48, 49, 146, 0.1);
}

.wp-block-table.is-style-celine-table-header-secondary {
  width: 100%;
  border-collapse: collapse;
}

.wp-block-table.is-style-celine-table-header-secondary th {
  background: linear-gradient(135deg, #f58221 0%, rgb(217.2155172414, 104.6939655172, 9.7844827586) 100%);
  color: white;
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  border-bottom: 3px solid #f58221;
}

.wp-block-table.is-style-celine-table-header-secondary td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(245, 130, 33, 0.1);
}

/* ============================================================================
   ACCORDION STYLES (core/details)
   ============================================================================ */
.wp-block-details.is-style-celine-accordion-primary {
  border: 1px solid #303192;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.wp-block-details.is-style-celine-accordion-primary > summary {
  background: linear-gradient(135deg, #303192 0%, rgb(60.618556701, 61.881443299, 184.381443299) 100%);
  color: white;
  padding: 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}

.wp-block-details.is-style-celine-accordion-primary > summary:hover {
  background: linear-gradient(135deg, rgb(60.618556701, 61.881443299, 184.381443299) 0%, rgb(93.9484536082, 95.0515463918, 202.0515463918) 100%);
}

.wp-block-details.is-style-celine-accordion-primary > summary::before {
  content: "▶";
  display: inline-block;
  margin-right: 12px;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  font-size: 14px;
}

.wp-block-details.is-style-celine-accordion-primary[open] > summary::before {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

.wp-block-details.is-style-celine-accordion-primary > *:not(summary) {
  padding: 16px;
  background-color: #fafafa;
  border-top: 1px solid #f0f0f0;
}

.wp-block-details.is-style-celine-accordion-secondary {
  border: 1px solid #f58221;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.wp-block-details.is-style-celine-accordion-secondary > summary {
  background: linear-gradient(135deg, #f58221 0%, rgb(247.1982758621, 157.4784482759, 81.8017241379) 100%);
  color: white;
  padding: 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}

.wp-block-details.is-style-celine-accordion-secondary > summary:hover {
  background: linear-gradient(135deg, rgb(247.1982758621, 157.4784482759, 81.8017241379) 0%, rgb(249.3965517241, 184.9568965517, 130.6034482759) 100%);
}

.wp-block-details.is-style-celine-accordion-secondary > summary::before {
  content: "▶";
  display: inline-block;
  margin-right: 12px;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  font-size: 14px;
}

.wp-block-details.is-style-celine-accordion-secondary[open] > summary::before {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

.wp-block-details.is-style-celine-accordion-secondary > *:not(summary) {
  padding: 16px;
  background-color: #fafafa;
  border-top: 1px solid #f0f0f0;
}

/* ============================================================================
   QUOTE STYLES (core/quote)
   ============================================================================ */
.wp-block-quote.is-style-celine-quote-primary {
  border-left: 5px solid #303192;
  padding-left: 20px;
  font-style: italic;
}

.wp-block-quote.is-style-celine-quote-secondary {
  border-left: 5px solid #f58221;
  padding-left: 20px;
  font-style: italic;
}

.wp-block-quote.is-style-celine-quote-primary-bg {
  background-color: rgba(48, 49, 146, 0.05);
  border-left: 5px solid #303192;
  padding: 20px;
  border-radius: 0 8px 8px 0;
}

.wp-block-quote.is-style-celine-quote-secondary-bg {
  background-color: rgba(245, 130, 33, 0.05);
  border-left: 5px solid #f58221;
  padding: 20px;
  border-radius: 0 8px 8px 0;
}

/* ============================================================================
   COLUMNS STYLES (core/columns)
   ============================================================================ */
.wp-block-columns.is-style-celine-columns-separated {
  gap: 2rem;
}

.wp-block-columns.is-style-celine-columns-separated > .wp-block-column {
  padding: 20px;
  background: #ffffff;
  border-radius: 8px;
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

/* ============================================================================
   HEADING STYLES (core/heading)
   ============================================================================ */
.wp-block-heading.is-style-celine-heading-underline-primary {
  display: table;
  border-bottom: 4px solid #303192;
  padding-bottom: 5px;
  margin-bottom: 1rem;
}
.wp-block-heading.is-style-celine-heading-underline-primary.has-text-align-center {
  margin-left: auto !important;
  margin-right: auto !important;
}
.wp-block-heading.is-style-celine-heading-underline-primary.has-text-align-right {
  margin-left: auto !important;
  margin-right: 0 !important;
}

.wp-block-heading.is-style-celine-heading-underline-secondary {
  display: table;
  border-bottom: 4px solid #f58221;
  padding-bottom: 5px;
  margin-bottom: 1rem;
}
.wp-block-heading.is-style-celine-heading-underline-secondary.has-text-align-center {
  margin-left: auto !important;
  margin-right: auto !important;
}
.wp-block-heading.is-style-celine-heading-underline-secondary.has-text-align-right {
  margin-left: auto !important;
  margin-right: 0 !important;
}

/* ============================================================================
   BUTTON STYLES (core/button)
   ============================================================================ */
.wp-block-button.is-style-celine-button-pill .wp-block-button__link {
  border-radius: 50px;
  padding: 12px 30px;
}

.wp-block-button.is-style-celine-button-outline-primary .wp-block-button__link {
  background: transparent !important;
  border: 2px solid #303192 !important;
  color: #303192 !important;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.wp-block-button.is-style-celine-button-outline-primary .wp-block-button__link:hover {
  background: #303192 !important;
  color: #fff !important;
}

.wp-block-button.is-style-celine-button-outline-secondary .wp-block-button__link {
  background: transparent !important;
  border: 2px solid #f58221 !important;
  color: #f58221 !important;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.wp-block-button.is-style-celine-button-outline-secondary .wp-block-button__link:hover {
  background: #f58221 !important;
  color: #fff !important;
}