/*
Theme Name: Assisi ANM Nursing School
Theme URI: https://assisi-anm-school.com
Author: Sikha Njanaseelan
Description: Custom WordPress theme for Assisi ANM Nursing School.
Version: 1.0
Text Domain: assisi-anm
*/

:root {
  --primary: #0f766e;
  --primary-dark: #064e49;
  --secondary: #2563eb;
  --accent: #f8b84e;
  --bg: #f8fafc;
  --text: #1e293b;
  --muted: #64748b;
  --white: #ffffff;
  --light-teal: #effffc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1180px;
  margin: auto;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
}

.btn-light {
  background: var(--white);
  color: var(--primary-dark);
  border: 1px solid #dbeafe;
}
.top-bar {
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  gap: 15px;
}

.top-apply {
  background: var(--accent);
  color: #111827;
  padding: 7px 18px;
  border-radius: 6px;
  font-weight: 700;
}

.main-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo-area h2 {
  color: var(--primary);
  font-size: 28px;
  line-height: 1;
}

.logo-area p {
  font-size: 14px;
  font-weight: 600;
}

.main-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  font-weight: 600;
  color: #0f172a;
}

.main-nav a:hover {
  color: var(--primary);
}
.site-footer {
    margin-top: 80px;
    background: #064e49;
    color: #ffffff;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 0.8fr 1.15fr;
    gap: 55px;
    padding-top: 70px;
    padding-bottom: 55px;
}

.footer-about h2 {
    margin: 0;
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
}

.footer-logo-text span {
    display: block;
    margin-top: 6px;
    color: #ccfbf1;
    font-size: 16px;
    font-weight: 600;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 22px;
    text-decoration: none;
}

.footer-about p {
    max-width: 330px;
    margin-bottom: 25px;
    color: #d1fae5;
    font-size: 15px;
    line-height: 1.8;
}

.footer-column h3 {
    position: relative;
    margin-bottom: 24px;
    padding-bottom: 12px;
    color: #ffffff;
    font-size: 20px;
}

.footer-column h3::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    content: "";
    background: #f8b84e;
    border-radius: 20px;
}

.footer-menu,
.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-menu li,
.footer-links li {
    margin-bottom: 12px;
}

.footer-menu a,
.footer-links a {
    position: relative;
    display: inline-block;
    padding-left: 16px;
    color: #d1fae5;
    font-size: 15px;
    transition: 0.25s ease;
}

.footer-menu a::before,
.footer-links a::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "›";
    color: #f8b84e;
    font-weight: 800;
}

.footer-menu a:hover,
.footer-links a:hover {
    padding-left: 22px;
    color: #ffffff;
}

.footer-contact {
    display: block;
}

.footer-contact-item {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 13px;
    margin-bottom: 20px;
    align-items: start;
}

.footer-contact-item > span {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #f8b84e;
    border-radius: 50%;
}

.footer-contact-item strong {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 14px;
}

.footer-contact-item a,
.footer-contact-item p {
    color: #d1fae5;
    font-size: 14px;
    line-height: 1.65;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    font-weight: 700;
    transition: 0.25s ease;
}

.footer-social a:hover {
    background: #f8b84e;
    color: #111827;
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.17);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer-bottom p {
    color: #ccfbf1;
    font-size: 14px;
}

.footer-policy-links {
    display: flex;
    gap: 22px;
}

.footer-policy-links a {
    color: #ccfbf1;
    font-size: 14px;
}

.footer-policy-links a:hover {
    color: #f8b84e;
}

@media (max-width: 1000px) {
    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .site-footer {
        margin-top: 55px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-top: 50px;
        padding-bottom: 40px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-policy-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.hero {
  background: linear-gradient(90deg, #f8fafc 0%, #e6fffb 100%);
  padding: 70px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 50px;
}

.eyebrow,
.section-label {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
}

.hero h1 {
  font-size: 58px;
  line-height: 1.05;
  color: #073763;
  margin: 15px 0;
}

.hero-content p {
  font-size: 18px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.hero-image img {
  width: 100%;
  border-radius: 18px;
}

.stats {
  margin-top: -35px;
  position: relative;
  z-index: 2;
}

.stats-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px;
}

.stats-card div {
  text-align: center;
  border-right: 1px solid #e2e8f0;
}

.stats-card div:last-child {
  border-right: none;
}

.stats-card strong {
  display: block;
  font-size: 28px;
  color: #073763;
}

.stats-card span {
  color: var(--muted);
}

.about-home {
  padding: 80px 0 30px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 45px;
}

.about-grid img {
  width: 100%;
  border-radius: 16px;
}

.about-grid h2 {
  font-size: 36px;
  color: #073763;
  margin: 10px 0 15px;
}

.section-title {
  font-size: 34px;
  color: #073763;
  margin: 8px 0 35px;
}

.features,
.course-section,
.admission-section,
.facilities-section,
.gallery-section,
.testimonials,
.cta-section {
  padding: 70px 0;
}

.feature-grid,
.facility-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card,
.facility-box,
.testimonial-card {
  background: var(--white);
  padding: 26px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
}

.feature-card h3 {
  margin: 14px 0 8px;
  color: #073763;
}

.course-card,
.admission-card {
  background: var(--white);
  border-radius: 18px;
  padding: 35px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 35px;
  align-items: center;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
}

.course-card img,
.admission-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 14px;
}

.course-card ul,
.admission-card ul {
  margin: 20px 0;
  padding-left: 20px;
}

.course-card li,
.admission-card li {
  margin-bottom: 10px;
}

.facility-grid {
  grid-template-columns: repeat(6, 1fr);
}

.facility-box {
  text-align: center;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.center-btn {
  text-align: center;
  margin-top: 30px;
}

.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-card h4 {
  color: var(--primary);
}

.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 45px;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-box h2 {
  max-width: 600px;
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .course-card,
  .admission-card {
    grid-template-columns: 1fr;
  }

  .stats-card,
  .feature-grid,
  .facility-grid,
  .gallery-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 40px;
  }

  .cta-box {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .stats-card,
  .feature-grid,
  .facility-grid,
  .gallery-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

.page-section .page-card {
    width: 90%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.page-card > * {
    max-width: none !important;
}

.page-card .wp-block-group,
.page-card .wp-block-group__inner-container {
    width: 100%;
    max-width: none !important;
}

.page-card .wp-block-columns {
    width: 100%;
    max-width: none !important;
}

/* Temporarily convert accidental columns into one full-width column */
.page-card .wp-block-columns:has(.wp-block-column:empty) {
    display: block;
}

.page-card .wp-block-columns:has(.wp-block-column:empty) .wp-block-column {
    width: 100%;
    flex-basis: 100% !important;
}

.about-page-section {
    padding: 80px 0;
}

.about-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 60px;
}

.about-page-image img {
    display: block;
    width: 100%;
    min-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.about-page-content h2 {
    margin: 10px 0 20px;
    color: #073763;
    font-size: 42px;
    line-height: 1.2;
}

.about-page-content p {
    margin-bottom: 18px;
    color: #475569;
    font-size: 17px;
    line-height: 1.85;
}

.about-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 24px;
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.about-feature-list li {
    position: relative;
    padding-left: 32px;
    color: #1e293b;
    font-weight: 600;
}

.about-feature-list li::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "✓";
    color: #0f766e;
    font-size: 20px;
    font-weight: 800;
}

.vision-mission-section {
    padding: 0 0 80px;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.info-card {
    padding: 36px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.info-card h2 {
    margin: 10px 0 15px;
    color: #073763;
    font-size: 28px;
}

.info-card p {
    color: #475569;
    line-height: 1.8;
}

.cta-label {
    color: #ccfbf1;
}

.cta-button {
    background: #f8b84e;
    color: #111827;
}

@media (max-width: 900px) {
    .about-page-grid {
        grid-template-columns: 1fr;
    }

    .about-page-image img {
        min-height: 360px;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .about-page-section {
        padding: 55px 0;
    }

    .about-page-content h2 {
        font-size: 32px;
    }

    .about-feature-list {
        grid-template-columns: 1fr;
    }
}

.course-intro-section,
.course-details-section,
.training-section,
.course-highlights-section,
.career-section {
    padding: 80px 0;
}

.course-intro-grid,
.training-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 60px;
}

.course-intro-content h2,
.training-content h2 {
    margin: 10px 0 20px;
    color: #073763;
    font-size: 42px;
    line-height: 1.2;
}

.course-intro-content p,
.training-content p {
    margin-bottom: 18px;
    color: #475569;
    font-size: 17px;
    line-height: 1.85;
}

.course-intro-content .btn {
    margin-top: 12px;
}

.course-intro-image img,
.training-image img {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.course-details-section {
    background: #f0fdfa;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-heading h2 {
    margin: 8px 0 15px;
    color: #073763;
    font-size: 38px;
}

.section-heading p {
    color: #64748b;
    font-size: 17px;
    line-height: 1.75;
}

.course-details-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.course-detail-card {
    padding: 30px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.course-detail-icon {
    display: flex;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    background: #ccfbf1;
    color: #0f766e;
    border-radius: 50%;
    font-weight: 800;
}

.course-detail-card h3 {
    margin-bottom: 12px;
    color: #073763;
    font-size: 21px;
}

.course-detail-card p {
    color: #64748b;
    line-height: 1.7;
}

.course-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 24px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.course-feature-list li {
    position: relative;
    padding-left: 32px;
    color: #1e293b;
    font-weight: 600;
}

.course-feature-list li::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "✓";
    color: #0f766e;
    font-size: 20px;
    font-weight: 800;
}

.course-highlights-section {
    background: #f8fafc;
}

.course-highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.course-highlight-card {
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
}

.course-highlight-card h3 {
    margin-bottom: 12px;
    color: #0f766e;
    font-size: 21px;
}

.course-highlight-card p {
    color: #64748b;
    line-height: 1.75;
}

.career-box {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 45px;
    background: linear-gradient(135deg, #ecfdf5, #eff6ff);
    border-radius: 20px;
}

.career-box h2 {
    margin: 10px 0 18px;
    color: #073763;
    font-size: 36px;
}

.career-box p {
    color: #475569;
    font-size: 17px;
    line-height: 1.8;
}

.career-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.career-list span {
    padding: 14px 18px;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    font-weight: 600;
}

@media (max-width: 1000px) {
    .course-details-grid,
    .course-highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .course-intro-grid,
    .training-grid,
    .career-box {
        grid-template-columns: 1fr;
    }

    .course-intro-image {
        order: -1;
    }

    .course-intro-image img,
    .training-image img {
        height: 380px;
    }
}

@media (max-width: 600px) {
    .course-intro-section,
    .course-details-section,
    .training-section,
    .course-highlights-section,
    .career-section {
        padding: 55px 0;
    }

    .course-intro-content h2,
    .training-content h2 {
        font-size: 32px;
    }

    .course-details-grid,
    .course-highlight-grid,
    .course-feature-list,
    .career-list {
        grid-template-columns: 1fr;
    }

    .career-box {
        padding: 28px;
    }
}

.resources-page-section {
    padding: 80px 0;
}

.resources-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 50px;
    align-items: start;
}

.resources-sidebar {
    position: sticky;
    top: 120px;
}

.resources-sidebar-header {
    padding: 28px;
    background: #064e49;
    color: #ffffff;
    border-radius: 16px 16px 0 0;
}

.resources-sidebar-header .section-label {
    color: #99f6e4;
}

.resources-sidebar-header h2 {
    margin-top: 6px;
    color: #ffffff;
    font-size: 27px;
}

.resources-sidebar-nav {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 0;
}

.resources-sidebar-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.resources-sidebar-nav li {
    border-bottom: 1px solid #e2e8f0;
}

.resources-sidebar-nav li:last-child {
    border-bottom: 0;
}

.resources-sidebar-nav a {
    position: relative;
    display: block;
    padding: 17px 22px;
    color: #1e293b;
    font-weight: 600;
    transition: 0.25s ease;
}

.resources-sidebar-nav a::after {
    position: absolute;
    right: 20px;
    content: "→";
    color: #0f766e;
}

.resources-sidebar-nav a:hover,
.resources-sidebar-nav li.active a {
    padding-left: 28px;
    background: #ecfdf5;
    color: #0f766e;
}

.resources-sidebar-nav li.active a {
    border-left: 4px solid #0f766e;
}

.resources-sidebar-cta {
    margin-top: 25px;
    padding: 26px;
    background: linear-gradient(135deg, #ecfdf5, #eff6ff);
    border-radius: 16px;
}

.resources-sidebar-cta h3 {
    margin-bottom: 10px;
    color: #073763;
    font-size: 22px;
}

.resources-sidebar-cta p {
    margin-bottom: 20px;
    color: #64748b;
    line-height: 1.7;
}

.resources-main-content h2 {
    margin: 10px 0 20px;
    color: #073763;
    font-size: 42px;
    line-height: 1.2;
}

.resources-main-content h3 {
    margin: 34px 0 16px;
    color: #073763;
    font-size: 28px;
}

.resources-main-content p,
.resources-lead {
    margin-bottom: 18px;
    color: #475569;
    font-size: 17px;
    line-height: 1.85;
}

.resources-feature-image {
    display: block;
    width: 100%;
    height: 460px;
    margin: 28px 0 32px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.resources-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 25px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.resources-feature-list li {
    position: relative;
    padding-left: 32px;
    color: #1e293b;
    font-weight: 600;
}

.resources-feature-list li::before {
    position: absolute;
    left: 0;
    content: "✓";
    color: #0f766e;
    font-size: 20px;
    font-weight: 800;
}

.resource-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 35px;
}

.resource-overview-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.resource-overview-card img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.resource-overview-card-content {
    padding: 26px;
}

.resource-overview-card h3 {
    margin: 0 0 12px;
    color: #073763;
    font-size: 24px;
}

.resource-overview-card p {
    margin-bottom: 18px;
    font-size: 16px;
}

.resource-overview-card a {
    color: #0f766e;
    font-weight: 700;
}

@media (max-width: 950px) {
    .resources-layout {
        grid-template-columns: 1fr;
    }

    .resources-sidebar {
        position: static;
    }

    .resources-sidebar-nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resources-sidebar-nav li {
        border-right: 1px solid #e2e8f0;
    }
}

@media (max-width: 650px) {
    .resources-page-section {
        padding: 55px 0;
    }

    .resources-sidebar-nav ul,
    .resource-overview-grid,
    .resources-feature-list {
        grid-template-columns: 1fr;
    }

    .resources-main-content h2 {
        font-size: 32px;
    }

    .resources-feature-image {
        height: 300px;
    }
}
/* Parent menu item */
.main-menu li {
    position: relative;
}

/* Hide submenu by default */
.main-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;

    display: none;
    min-width: 220px;
    margin: 0;
    padding: 10px 0;

    list-style: none;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
}

/* Show submenu on hover */
.main-menu li:hover > .sub-menu,
.main-menu li:focus-within > .sub-menu {
    display: block;
}

/* Submenu items */
.main-menu .sub-menu li {
    width: 100%;
    margin: 0;
}

/* Submenu links */
.main-menu .sub-menu a {
    display: block;
    width: 100%;
    padding: 12px 18px;

    color: #1e293b;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

/* Submenu hover */
.main-menu .sub-menu a:hover {
    color: #0f766e;
    background: #ecfdf5;
}

/* Optional dropdown arrow */
.main-menu .menu-item-has-children > a::after {
    content: "▾";
    margin-left: 7px;
    font-size: 12px;
}

.admission-intro-section,
.admission-details-section,
.application-process-section,
.admission-notice-section,
.admission-contact-section {
    padding: 80px 0;
}

.admission-intro-grid,
.admission-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 60px;
}

.admission-intro-content h2,
.admission-contact-content h2 {
    margin: 10px 0 20px;
    color: #073763;
    font-size: 42px;
    line-height: 1.2;
}

.admission-intro-content p,
.admission-contact-content p {
    margin-bottom: 18px;
    color: #475569;
    font-size: 17px;
    line-height: 1.85;
}

.admission-intro-content .btn,
.admission-contact-content .btn {
    margin-top: 10px;
}

.admission-intro-image img {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.admission-details-section {
    background: #f0fdfa;
}

.admission-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.admission-info-card {
    padding: 32px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.admission-card-number {
    display: flex;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    background: #ccfbf1;
    color: #0f766e;
    border-radius: 50%;
    font-weight: 800;
}

.admission-info-card h3 {
    margin-bottom: 18px;
    color: #073763;
    font-size: 24px;
}

.admission-info-card ul {
    margin: 0;
    padding-left: 20px;
}

.admission-info-card li {
    margin-bottom: 12px;
    color: #475569;
    line-height: 1.7;
}

.application-process-section {
    background: #ffffff;
}

.application-process-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.process-card {
    position: relative;
    padding: 28px 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.process-card span {
    display: flex;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    align-items: center;
    justify-content: center;
    background: #0f766e;
    color: #ffffff;
    border-radius: 50%;
    font-weight: 800;
}

.process-card h3 {
    margin-bottom: 10px;
    color: #073763;
    font-size: 21px;
}

.process-card p {
    color: #64748b;
    line-height: 1.7;
}

.admission-notice-section {
    padding-top: 20px;
}

.admission-notice-box {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 25px;
    align-items: start;
    padding: 38px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 18px;
}

.admission-notice-icon {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    background: #f8b84e;
    color: #111827;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 800;
}

.admission-notice-box h2 {
    margin: 8px 0 14px;
    color: #073763;
    font-size: 30px;
}

.admission-notice-box p {
    color: #475569;
    font-size: 17px;
    line-height: 1.8;
}

.admission-contact-section {
    background: #f8fafc;
}

.admission-contact-list {
    margin: 25px 0;
}

.admission-contact-list p {
    margin-bottom: 10px;
}

.admission-contact-card {
    padding: 35px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.admission-contact-card h3 {
    margin-bottom: 20px;
    color: #073763;
    font-size: 27px;
}

.admission-contact-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.admission-contact-card li {
    position: relative;
    margin-bottom: 15px;
    padding-left: 32px;
    color: #475569;
    line-height: 1.65;
}

.admission-contact-card li::before {
    position: absolute;
    left: 0;
    content: "✓";
    color: #0f766e;
    font-size: 20px;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .application-process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .admission-intro-grid,
    .admission-contact-grid {
        grid-template-columns: 1fr;
    }

    .admission-intro-image {
        order: -1;
    }

    .admission-intro-image img {
        height: 380px;
    }

    .admission-details-grid {
        grid-template-columns: 1fr;
    }

    .application-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .admission-intro-section,
    .admission-details-section,
    .application-process-section,
    .admission-contact-section {
        padding: 55px 0;
    }

    .admission-intro-content h2,
    .admission-contact-content h2 {
        font-size: 32px;
    }

    .application-process-grid {
        grid-template-columns: 1fr;
    }

    .admission-notice-box {
        grid-template-columns: 1fr;
        padding: 28px;
    }
}

.contact-intro-section,
.contact-form-section,
.map-section {
    padding: 80px 0;
}

.contact-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    gap: 60px;
    align-items: start;
}

.contact-intro-content h2,
.contact-form-content h2 {
    margin: 10px 0 20px;
    color: #073763;
    font-size: 42px;
    line-height: 1.2;
}

.contact-intro-content > p,
.contact-form-content > p {
    margin-bottom: 18px;
    color: #475569;
    font-size: 17px;
    line-height: 1.85;
}

.contact-details-list {
    display: grid;
    gap: 18px;
    margin-top: 32px;
}

.contact-detail-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
}

.contact-detail-icon {
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    background: #ccfbf1;
    color: #0f766e;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 800;
}

.contact-detail-item span {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.contact-detail-item a,
.contact-detail-item p {
    color: #1e293b;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}

.contact-hours-card {
    padding: 36px;
    background: linear-gradient(135deg, #ecfdf5, #eff6ff);
    border-radius: 20px;
}

.contact-hours-card h2 {
    margin: 10px 0 25px;
    color: #073763;
    font-size: 30px;
}

.office-hours-list {
    margin-bottom: 22px;
    background: #ffffff;
    border-radius: 14px;
}

.office-hours-list div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.office-hours-list div:last-child {
    border-bottom: 0;
}

.office-hours-list span {
    color: #475569;
}

.office-hours-list strong {
    color: #073763;
}

.office-note {
    margin-bottom: 24px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.contact-form-section {
    background: #f8fafc;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 45px;
    align-items: start;
}

.school-contact-form {
    margin-top: 30px;
    padding: 35px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1e293b;
    font-size: 15px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 15px;
    color: #1e293b;
    font-family: inherit;
    font-size: 16px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.contact-submit-button {
    border: 0;
    cursor: pointer;
}

.contact-success-message,
.contact-error-message {
    margin-top: 24px;
    padding: 16px 18px;
    border-radius: 10px;
    font-weight: 600;
}

.contact-success-message {
    color: #065f46;
    background: #d1fae5;
    border: 1px solid #6ee7b7;
}

.contact-error-message {
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fca5a5;
}

.contact-side-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
}

.contact-side-card img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.contact-side-card-content {
    padding: 28px;
}

.contact-side-card-content h3 {
    margin: 10px 0 14px;
    color: #073763;
    font-size: 27px;
}

.contact-side-card-content p {
    margin-bottom: 22px;
    color: #64748b;
    line-height: 1.75;
}

.map-section {
    background: #ffffff;
}

.map-wrapper {
    overflow: hidden;
    margin-top: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.1);
}

.map-wrapper iframe {
    display: block;
}

@media (max-width: 900px) {
    .contact-intro-grid,
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-hours-card {
        order: -1;
    }
}

@media (max-width: 600px) {
    .contact-intro-section,
    .contact-form-section,
    .map-section {
        padding: 55px 0;
    }

    .contact-intro-content h2,
    .contact-form-content h2 {
        font-size: 32px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .school-contact-form {
        padding: 24px;
    }

    .office-hours-list div {
        flex-direction: column;
        gap: 5px;
    }
}

.faculty-section {
    padding: 80px 0;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.faculty-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.13);
}

.faculty-image img,
.faculty-placeholder {
    display: block;
    width: 100%;
    height: 330px;
    object-fit: cover;
}

.faculty-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #64748b;
}

.faculty-content {
    padding: 26px;
}

.faculty-content h3 {
    margin-bottom: 7px;
    color: #073763;
    font-size: 24px;
}

.faculty-designation {
    margin-bottom: 18px;
    color: #0f766e;
    font-weight: 700;
}

.faculty-meta {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.faculty-meta li {
    margin-bottom: 8px;
    color: #475569;
    line-height: 1.6;
}

.faculty-description {
    color: #64748b;
    line-height: 1.75;
}

@media (max-width: 950px) {
    .faculty-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .faculty-section {
        padding: 55px 0;
    }

    .faculty-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Faculty Listing Page
===================================================== */

.assisi-container {
    width: min(1180px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.faculty-page {
    background: #f7fafc;
}

.faculty-page-hero {
    padding: 90px 0 80px;
    background:
        linear-gradient(
            135deg,
            rgba(4, 54, 74, 0.96),
            rgba(15, 118, 110, 0.9)
        );
    color: #ffffff;
    text-align: center;
}

.faculty-page-eyebrow {
    margin: 0 0 12px;
    color: #f7c873;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.faculty-page-title {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.1;
}

.faculty-page-description {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.75;
}

.faculty-listing-section {
    padding: 80px 0 100px;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.faculty-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e3ebef;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
}

.faculty-card-image-link {
    display: block;
}

.faculty-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 4.5;
    background: #e9f3f3;
}

.faculty-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.faculty-card:hover .faculty-photo {
    transform: scale(1.04);
}

.faculty-photo-placeholder,
.single-faculty-photo-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: #e6f2f2;
    color: #0f766e;
}

.faculty-photo-placeholder .dashicons,
.single-faculty-photo-placeholder .dashicons {
    width: auto;
    height: auto;
    font-size: 70px;
}

.faculty-card-content {
    padding: 28px;
}

.faculty-department {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 12px;
    background: #e9f7f5;
    color: #0f766e;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.faculty-card-name {
    margin: 0 0 7px;
    font-size: 24px;
    line-height: 1.25;
}

.faculty-card-name a {
    color: #073763;
    text-decoration: none;
}

.faculty-card-name a:hover {
    color: #0f766e;
}

.faculty-designation {
    margin: 0 0 22px;
    color: #0f766e;
    font-size: 15px;
    font-weight: 700;
}

.faculty-card-meta {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
    padding: 17px;
    background: #f8fafc;
    border-radius: 12px;
}

.faculty-meta-item {
    display: grid;
    gap: 3px;
}

.faculty-meta-label {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.faculty-meta-value {
    color: #26374a;
    font-size: 14px;
    line-height: 1.5;
}

.faculty-card-excerpt {
    margin-bottom: 22px;
    color: #5f6f7f;
    font-size: 15px;
    line-height: 1.7;
}

.faculty-card-excerpt p {
    margin: 0;
}

.faculty-read-more {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: #0f766e;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.faculty-read-more:hover {
    color: #073763;
}

.faculty-empty-message {
    padding: 60px 30px;
    background: #ffffff;
    border-radius: 18px;
    text-align: center;
}

.faculty-empty-message h2 {
    margin-top: 0;
    color: #073763;
}

.faculty-pagination {
    display: flex;
    justify-content: center;
    margin-top: 55px;
}

.faculty-pagination .page-numbers {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    margin: 4px;
    padding: 8px 13px;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #073763;
    border: 1px solid #dbe5e8;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.faculty-pagination .page-numbers.current,
.faculty-pagination .page-numbers:hover {
    background: #0f766e;
    color: #ffffff;
    border-color: #0f766e;
}


/* =====================================================
   Single Faculty Profile
===================================================== */

.single-faculty-page {
    background: #f7fafc;
}

.single-faculty-hero {
    padding: 60px 0 85px;
    background:
        linear-gradient(
            135deg,
            #073763,
            #0f766e
        );
    color: #ffffff;
}

.faculty-back-link {
    display: inline-flex;
    gap: 8px;
    margin-bottom: 38px;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.faculty-back-link:hover {
    color: #f7c873;
}

.single-faculty-hero-grid {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}

.single-faculty-photo-wrapper {
    overflow: hidden;
    aspect-ratio: 4 / 4.7;
    background: #e6f2f2;
    border: 7px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.22);
}

.single-faculty-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-faculty-department {
    display: inline-block;
    margin: 0 0 17px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.13);
    color: #f7c873;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.single-faculty-name {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.1;
}

.single-faculty-designation {
    margin: 0 0 25px;
    color: #d9f4ef;
    font-size: 22px;
    font-weight: 700;
}

.single-faculty-summary {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
    line-height: 1.8;
}

.single-faculty-summary p {
    margin-top: 0;
}

.single-faculty-quick-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.faculty-quick-detail {
    display: flex;
    gap: 13px;
    padding: 17px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

.faculty-quick-icon {
    font-size: 22px;
}

.faculty-quick-label,
.faculty-quick-value {
    display: block;
}

.faculty-quick-label {
    margin-bottom: 4px;
    color: #f7c873;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.faculty-quick-value {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.55;
}

.single-faculty-content-section {
    padding: 85px 0 100px;
}

.single-faculty-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.8fr);
    gap: 45px;
    align-items: start;
}

.single-faculty-biography,
.faculty-profile-details-card {
    background: #ffffff;
    border: 1px solid #e3ebef;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
}

.single-faculty-biography {
    padding: 42px;
}

.single-faculty-section-label {
    margin: 0 0 10px;
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.single-faculty-biography h2 {
    margin: 0 0 25px;
    color: #073763;
    font-size: 34px;
}

.single-faculty-content {
    color: #4e6070;
    font-size: 16px;
    line-height: 1.85;
}

.single-faculty-content p:first-child {
    margin-top: 0;
}

.single-faculty-sidebar {
    position: sticky;
    top: 30px;
}

.faculty-profile-details-card {
    padding: 30px;
}

.faculty-profile-details-card h2 {
    margin: 0 0 25px;
    color: #073763;
    font-size: 22px;
}

.faculty-profile-details-list {
    margin: 0;
}

.faculty-profile-detail-row {
    padding: 16px 0;
    border-top: 1px solid #e5ecef;
}

.faculty-profile-detail-row:first-child {
    padding-top: 0;
    border-top: 0;
}

.faculty-profile-detail-row dt {
    margin-bottom: 5px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.faculty-profile-detail-row dd {
    margin: 0;
    color: #26374a;
    font-size: 15px;
    line-height: 1.6;
}

.faculty-profile-detail-row a {
    color: #0f766e;
    text-decoration: none;
    word-break: break-word;
}

.faculty-profile-detail-row a:hover {
    text-decoration: underline;
}

.faculty-sidebar-back-button {
    display: flex;
    gap: 9px;
    margin-top: 18px;
    padding: 15px 20px;
    align-items: center;
    justify-content: center;
    background: #0f766e;
    color: #ffffff;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
}

.faculty-sidebar-back-button:hover {
    background: #073763;
    color: #ffffff;
}


/* =====================================================
   Faculty Responsive Styles
===================================================== */

@media (max-width: 1024px) {

    .faculty-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .single-faculty-hero-grid {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 40px;
    }

    .single-faculty-content-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    }
}

@media (max-width: 760px) {

    .assisi-container {
        width: min(100% - 28px, 1180px);
    }

    .faculty-page-hero {
        padding: 65px 0;
    }

    .faculty-listing-section {
        padding: 55px 0 75px;
    }

    .faculty-grid {
        grid-template-columns: 1fr;
    }

    .single-faculty-hero {
        padding: 35px 0 60px;
    }

    .single-faculty-hero-grid {
        grid-template-columns: 1fr;
    }

    .single-faculty-photo-wrapper {
        max-width: 360px;
        margin: 0 auto;
    }

    .single-faculty-intro {
        text-align: center;
    }

    .single-faculty-summary {
        margin: 0 auto;
    }

    .single-faculty-quick-details {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .single-faculty-content-section {
        padding: 55px 0 75px;
    }

    .single-faculty-content-grid {
        grid-template-columns: 1fr;
    }

    .single-faculty-biography {
        padding: 28px 22px;
    }

    .single-faculty-sidebar {
        position: static;
    }
}

/* =====================================================
   Single Gallery Album
===================================================== */

.single-gallery-page {
    background: #f6f9f8;
}

.single-gallery-hero {
    padding: 70px 0 85px;
    background:
        linear-gradient(
            135deg,
            #073763,
            #0f766e
        );
    color: #ffffff;
    text-align: center;
}

.gallery-back-link {
    display: inline-flex;
    gap: 8px;
    margin-bottom: 30px;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.gallery-back-link:hover {
    color: #f7c873;
}

.single-gallery-category {
    display: inline-block;
    margin: 0 0 16px;
    padding: 7px 15px;
    background: rgba(255, 255, 255, 0.13);
    color: #f7c873;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.single-gallery-title {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.1;
}

.single-gallery-description {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.87);
    font-size: 17px;
    line-height: 1.8;
}

.single-gallery-description p {
    margin: 0;
}

.single-gallery-content-section {
    padding: 75px 0 100px;
}

.single-gallery-cover {
    overflow: hidden;
    max-height: 520px;
    margin-bottom: 45px;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.13);
}

.single-gallery-cover-image {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.single-gallery-content {
    padding: 38px;
    background: #ffffff;
    border: 1px solid #e1e9e7;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
}

.gallery-album-content {
    color: #536471;
    font-size: 16px;
    line-height: 1.8;
}

.gallery-album-content > p:first-child {
    margin-top: 0;
}

/* Remove default WordPress gallery layout */

.gallery-album-content .gallery {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 35px 0 0 !important;
}

.gallery-album-content .gallery-item {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

.gallery-album-content .gallery-icon {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    background: #e8efed;
}

.gallery-album-content .gallery-icon a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-album-content .gallery-icon a::after {
    content: "View";
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 7px 12px;
    background: rgba(7, 55, 99, 0.88);
    color: #ffffff;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.gallery-album-content .gallery-icon a:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.gallery-album-content .gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0 !important;
    transition: transform 0.45s ease;
}

.gallery-album-content .gallery-icon a:hover img {
    transform: scale(1.06);
}

.gallery-album-content .gallery-caption {
    margin-top: 9px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}

/* =====================================================
   Gallery Lightbox
===================================================== */

.gallery-lightbox-open {
    overflow: hidden;
}

.assisi-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    padding: 40px 90px;
    align-items: center;
    justify-content: center;
    background: rgba(4, 14, 20, 0.95);
}

.assisi-gallery-lightbox.is-open {
    display: flex;
}

.gallery-lightbox-image-wrapper {
    display: flex;
    max-width: min(1100px, 100%);
    max-height: calc(100vh - 90px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 150px);
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox-caption {
    margin: 14px 0 3px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    text-align: center;
}

.gallery-lightbox-counter {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
}

.gallery-lightbox-close,
.gallery-lightbox-arrow {
    position: absolute;
    z-index: 2;
    display: flex;
    padding: 0;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-arrow:hover {
    background: #0f766e;
}

.gallery-lightbox-close {
    top: 24px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
}

.gallery-lightbox-arrow {
    top: 50%;
    width: 52px;
    height: 64px;
    border-radius: 12px;
    font-size: 48px;
    line-height: 1;
    transform: translateY(-50%);
}

.gallery-lightbox-arrow:hover {
    transform: translateY(-50%) scale(1.05);
}

.gallery-lightbox-prev {
    left: 24px;
}

.gallery-lightbox-next {
    right: 24px;
}

/* =====================================================
   Gallery Responsive
===================================================== */

@media (max-width: 900px) {

    .gallery-album-content .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .single-gallery-cover-image {
        height: 420px;
    }
}

@media (max-width: 600px) {

    .single-gallery-hero {
        padding: 55px 0 65px;
    }

    .single-gallery-content-section {
        padding: 45px 0 70px;
    }

    .single-gallery-cover {
        margin-bottom: 28px;
    }

    .single-gallery-cover-image {
        height: 280px;
    }

    .single-gallery-content {
        padding: 22px;
    }

    .gallery-album-content .gallery {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .assisi-gallery-lightbox {
        padding: 65px 15px 25px;
    }

    .gallery-lightbox-close {
        top: 12px;
        right: 12px;
    }

    .gallery-lightbox-arrow {
        top: auto;
        bottom: 18px;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        font-size: 36px;
        transform: none;
    }

    .gallery-lightbox-arrow:hover {
        transform: scale(1.05);
    }

    .gallery-lightbox-prev {
        left: calc(50% - 62px);
    }

    .gallery-lightbox-next {
        right: calc(50% - 62px);
    }

    .gallery-lightbox-image {
        max-height: calc(100vh - 180px);
    }
}

/* =====================================================
   Gallery Listing Page
===================================================== */

.gallery-page {
    background: #f6f9f8;
}

.gallery-page-hero {
    padding: 85px 0 75px;
    background: linear-gradient(135deg, #073763, #0f766e);
    color: #ffffff;
    text-align: center;
}

.gallery-page-eyebrow {
    margin: 0 0 12px;
    color: #f7c873;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gallery-page-title {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(38px, 6vw, 62px);
    line-height: 1.1;
}

.gallery-page-description {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    line-height: 1.8;
}

.gallery-listing-section {
    padding: 80px 0 100px;
}

.gallery-album-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.gallery-album-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e1e9e7;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.gallery-album-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
}

.gallery-album-image-link {
    display: block;
}

.gallery-album-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e8efed;
}

.gallery-album-cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-album-card:hover .gallery-album-cover {
    transform: scale(1.06);
}

.gallery-album-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: #e8f3f1;
    color: #0f766e;
}

.gallery-album-placeholder .dashicons {
    width: auto;
    height: auto;
    font-size: 70px;
}

.gallery-photo-count {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    gap: 7px;
    padding: 8px 13px;
    align-items: center;
    background: rgba(7, 55, 99, 0.9);
    color: #ffffff;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.gallery-photo-count .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.gallery-album-card-content {
    padding: 26px;
}

.gallery-album-category {
    display: inline-block;
    margin: 0 0 13px;
    padding: 6px 11px;
    background: #e9f7f5;
    color: #0f766e;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.gallery-album-card-title {
    margin: 0 0 14px;
    font-size: 23px;
    line-height: 1.3;
}

.gallery-album-card-title a {
    color: #073763;
    text-decoration: none;
}

.gallery-album-card-title a:hover {
    color: #0f766e;
}

.gallery-album-excerpt {
    margin-bottom: 20px;
    color: #5f6f7f;
    font-size: 15px;
    line-height: 1.7;
}

.gallery-album-excerpt p {
    margin: 0;
}

.gallery-view-album {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: #0f766e;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.gallery-view-album:hover {
    color: #073763;
}

.gallery-empty-message {
    padding: 55px 30px;
    background: #ffffff;
    border-radius: 18px;
    text-align: center;
}

.gallery-empty-message h2 {
    margin-top: 0;
    color: #073763;
}

.gallery-pagination {
    display: flex;
    justify-content: center;
    margin-top: 55px;
}

.gallery-pagination .page-numbers {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    margin: 4px;
    padding: 8px 13px;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #073763;
    border: 1px solid #dbe5e8;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.gallery-pagination .page-numbers.current,
.gallery-pagination .page-numbers:hover {
    background: #0f766e;
    color: #ffffff;
    border-color: #0f766e;
}

@media (max-width: 980px) {
    .gallery-album-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .gallery-page-hero {
        padding: 60px 0;
    }

    .gallery-listing-section {
        padding: 55px 0 75px;
    }

    .gallery-album-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Homepage Gallery Section
===================================================== */

.home-gallery-section {
    padding: 90px 0;
    background: #f5f8fa;
}

.home-gallery-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.home-gallery-eyebrow {
    margin: 0 0 13px;
    color: #0f766e;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.home-gallery-title {
    margin: 0 0 18px;
    color: #073763;
    font-size: clamp(34px, 5vw, 48px);
    line-height: 1.2;
}

.home-gallery-description {
    margin: 0;
    color: #637383;
    font-size: 17px;
    line-height: 1.8;
}

.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.home-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e6efed;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.home-gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-gallery-item:hover .home-gallery-image {
    transform: scale(1.07);
}

.home-gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    padding: 22px;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(
        to top,
        rgba(4, 32, 48, 0.88),
        rgba(4, 32, 48, 0.05) 65%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
}

.home-gallery-item:hover .home-gallery-overlay,
.home-gallery-item:focus .home-gallery-overlay {
    opacity: 1;
}

.home-gallery-album-name {
    margin-bottom: 7px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.home-gallery-view-text {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #f7c873;
    font-size: 13px;
    font-weight: 700;
}

.home-gallery-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

.home-gallery-button {
    display: inline-flex;
    gap: 10px;
    padding: 15px 25px;
    align-items: center;
    justify-content: center;
    background: #0f766e;
    color: #ffffff;
    border: 2px solid #0f766e;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.home-gallery-button:hover {
    background: #073763;
    color: #ffffff;
    border-color: #073763;
    transform: translateY(-2px);
}

.home-gallery-empty {
    padding: 45px 25px;
    background: #ffffff;
    border: 1px dashed #cddbd8;
    border-radius: 15px;
    color: #637383;
    text-align: center;
}


/* Homepage Gallery — Tablet */

@media (max-width: 1024px) {

    .home-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* Homepage Gallery — Mobile */

@media (max-width: 600px) {

    .home-gallery-section {
        padding: 65px 0;
    }

    .home-gallery-heading {
        margin-bottom: 30px;
    }

    .home-gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-gallery-overlay {
        opacity: 1;
        background: linear-gradient(
            to top,
            rgba(4, 32, 48, 0.85),
            transparent 60%
        );
    }

    .home-gallery-item {
        aspect-ratio: 16 / 10;
    }

    .home-gallery-button-wrapper {
        margin-top: 30px;
    }
}

/* =====================================================
   Testimonials
===================================================== */

.assisi-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.assisi-testimonial-card {
    position: relative;
    padding: 34px 30px 30px;
    background: #ffffff;
    border: 1px solid #e1eae7;
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.assisi-testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.13);
}

.assisi-testimonial-quote-icon {
    position: absolute;
    top: 17px;
    right: 24px;
    color: rgba(15, 118, 110, 0.12);
    font-family: Georgia, serif;
    font-size: 70px;
    font-weight: 700;
    line-height: 1;
}

.assisi-testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 20px;
    color: #e8aa17;
    font-size: 17px;
}

.assisi-testimonial-stars .is-empty {
    color: #dce3e1;
}

.assisi-testimonial-message {
    position: relative;
    z-index: 1;
    min-height: 140px;
    color: #526471;
    font-size: 15px;
    line-height: 1.8;
}

.assisi-testimonial-message p:first-child {
    margin-top: 0;
}

.assisi-testimonial-message p:last-child {
    margin-bottom: 0;
}

.assisi-testimonial-person {
    display: flex;
    gap: 15px;
    margin-top: 26px;
    padding-top: 22px;
    align-items: center;
    border-top: 1px solid #e7edeb;
}

.assisi-testimonial-photo {
    display: flex;
    overflow: hidden;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    background: #e5f2ef;
    color: #0f766e;
    border-radius: 50%;
}

.assisi-testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.assisi-testimonial-photo .dashicons {
    width: auto;
    height: auto;
    font-size: 30px;
}

.assisi-testimonial-person-details h3 {
    margin: 0 0 4px;
    color: #073763;
    font-size: 17px;
    line-height: 1.3;
}

.assisi-testimonial-role {
    margin: 0;
    color: #0f766e;
    font-size: 13px;
    font-weight: 700;
}

.assisi-testimonial-secondary {
    margin: 4px 0 0;
    color: #7a8993;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 960px) {

    .assisi-testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {

    .assisi-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .assisi-testimonial-card {
        padding: 28px 23px;
    }

    .assisi-testimonial-message {
        min-height: auto;
    }
}

/* Homepage Testimonials Section */

.home-testimonials-section {
    padding: 90px 0;
    background: #f6f9f8;
}

.home-testimonials-heading {
    max-width: 720px;
    margin: 0 auto 45px;
    text-align: center;
}

.home-testimonials-eyebrow {
    margin: 0 0 12px;
    color: #0f766e;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.home-testimonials-title {
    margin: 0 0 16px;
    color: #073763;
    font-size: clamp(34px, 5vw, 48px);
    line-height: 1.2;
}

.home-testimonials-description {
    margin: 0;
    color: #637383;
    font-size: 17px;
    line-height: 1.8;
}

@media (max-width: 620px) {

    .home-testimonials-section {
        padding: 65px 0;
    }

    .home-testimonials-heading {
        margin-bottom: 30px;
    }
}


.home-events-section {
    padding: 85px 0;
    background: #ffffff;
}

.home-events-heading {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-end;
    margin-bottom: 38px;
}

.home-events-heading > div {
    max-width: 680px;
}

.home-events-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #168673;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.home-events-heading h2 {
    margin: 0 0 12px;
    color: #173b50;
    font-size: 38px;
    line-height: 1.2;
}

.home-events-heading p {
    margin: 0;
    color: #687c88;
    font-size: 16px;
    line-height: 1.7;
}

.home-events-all-link {
    flex-shrink: 0;
    color: #168673;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.home-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.home-event-card {
    overflow: hidden;
    border: 1px solid #e1e9ed;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(27, 59, 78, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(27, 59, 78, 0.11);
}

.home-event-image {
    position: relative;
    display: block;
    height: 210px;
    overflow: hidden;
    background: #eef5f5;
}

.home-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-event-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #79a69e;
    background: linear-gradient(135deg, #e8f4f1, #edf5f8);
}

.home-event-placeholder .dashicons {
    width: auto;
    height: auto;
    font-size: 48px;
}

.home-event-date {
    position: absolute;
    right: 15px;
    bottom: 15px;
    display: flex;
    width: 60px;
    height: 66px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 7px 20px rgba(23, 59, 80, 0.15);
}

.home-event-date span {
    color: #173b50;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.home-event-date small {
    margin-top: 4px;
    color: #168673;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.home-event-content {
    padding: 22px;
}

.home-event-content h3 {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.35;
}

.home-event-content h3 a {
    color: #173b50;
    text-decoration: none;
}

.home-event-content h3 a:hover {
    color: #168673;
}

.home-event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 17px;
}

.home-event-meta span {
    display: flex;
    gap: 7px;
    align-items: center;
    color: #6d808b;
    font-size: 13px;
}

.home-event-meta .dashicons {
    width: 16px;
    height: 16px;
    color: #168673;
    font-size: 16px;
}

.home-event-read-more {
    color: #168673;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.home-events-empty {
    padding: 35px;
    border: 1px dashed #cbd8dd;
    border-radius: 12px;
    background: #f8fbfc;
    text-align: center;
}

@media (max-width: 900px) {
    .home-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .home-events-section {
        padding: 65px 0;
    }

    .home-events-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .home-events-heading h2 {
        font-size: 30px;
    }

    .home-events-grid {
        grid-template-columns: 1fr;
    }
}