/* ==========================================================================
   PASF College - Main Layout & Components
   ========================================================================== */

/* Top Bar - Left: contact, Right: AQAR|IQAC|NAAC|NIRF */
.top-bar {
  background-color: var(--pasf-primary);
  color: #fff;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.top-bar a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}
.top-bar a:hover {
  color: #d4af37;
  text-decoration: none;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}
.top-bar-right a {
  color: #d4af37;
  font-weight: 600;
}
.top-bar-right a:hover {
  color: #fff;
}
.top-bar-sep {
  opacity: 0.6;
  color: rgba(255, 255, 255, 0.7);
}
.top-bar-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s;
  white-space: nowrap;
}
.top-bar-contact:hover {
  color: #d4af37;
}
.top-bar-icon {
  flex-shrink: 0;
}
.top-bar-contact-short {
  display: none;
}

/* Breadcrumb navigation - single row with prominent background effects */
.pasfanc-breadcrumb,
.breadcrumb-nav {
  background: linear-gradient(135deg, rgba(13, 61, 24, 0.28) 0%, rgba(26, 74, 60, 0.22) 40%, rgba(212, 175, 55, 0.2) 100%);
  padding: 0.85rem 0;
  font-size: 0.9rem;
  border-bottom: 2px solid rgba(13, 61, 24, 0.25);
  border-left: 6px solid var(--pasf-accent, #d4af37);
  box-shadow: 0 3px 18px rgba(13, 61, 24, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8), inset -1px 0 0 rgba(212, 175, 55, 0.25);
  position: relative;
  overflow: hidden;
}
.pasfanc-breadcrumb::before,
.breadcrumb-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230d3d18' fill-opacity='0.04'%3E%3Cpath d='M0 40L40 0H20L0 20m40 20V20L20 40'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.pasfanc-breadcrumb .container,
.breadcrumb-nav .container,
.breadcrumb-inner {
  padding-left: 15px;
  padding-right: 15px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pasfanc-breadcrumb .container::-webkit-scrollbar,
.breadcrumb-nav .container::-webkit-scrollbar,
.breadcrumb-inner::-webkit-scrollbar {
  display: none;
}
.pasfanc-breadcrumb-list,
.breadcrumb-list {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
  padding-inline-start: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0 0.5rem;
  white-space: nowrap;
}
.pasfanc-breadcrumb-item,
.pasfanc-breadcrumb-item::marker,
.breadcrumb-item,
.breadcrumb-item::marker {
  list-style: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.pasfanc-breadcrumb-item::marker,
.breadcrumb-item::marker {
  content: none !important;
  display: none !important;
}
.pasfanc-breadcrumb-item:first-child a::before,
.breadcrumb-item:first-child a::before {
  content: "⌂";
  font-size: 1.15em;
  margin-right: 0.35rem;
  color: var(--pasf-accent, #d4af37);
  font-weight: 700;
}
.pasfanc-breadcrumb-item a,
.breadcrumb-item a {
  color: var(--pasf-primary, #0d3d18);
  text-decoration: none;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.pasfanc-breadcrumb-item a:hover,
.breadcrumb-item a:hover {
  background: rgba(13, 61, 24, 0.1);
  color: var(--pasf-primary-dark, #0a2d12);
}
.pasfanc-breadcrumb-current,
.breadcrumb-current {
  color: var(--pasf-primary-dark, #0a2d12);
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0.08) 100%);
  border-radius: 6px;
  border-left: 3px solid var(--pasf-accent, #d4af37);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.pasfanc-breadcrumb-sep,
.breadcrumb-sep {
  color: var(--pasf-accent, #d4af37);
  font-size: 1.15em;
  font-weight: 600;
  margin: 0 0.4rem;
  user-select: none;
  opacity: 0.9;
  letter-spacing: 0.05em;
}

/* Branding Banner - Desktop: logo+info left, motto right */
.branding-banner {
  background: linear-gradient(180deg, var(--pasf-primary-dark, #0d3d18) 0%, #0a3014 100%);
  padding: 1rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.branding-banner .branding-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.branding-main {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  flex: 1 1 auto;
  min-width: 0;
}
.branding-logo {
  flex-shrink: 0;
}
.branding-logo a {
  display: block;
}
.branding-logo img {
  height: 120px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}
/* Customizer logo: override generic .custom-logo-link img max-height so header scales */
.branding-logo .custom-logo-link img {
  height: 120px;
  width: auto;
  max-width: 130px;
  max-height: 120px;
  object-fit: contain;
}
.branding-info {
  flex: 1 1 auto;
  min-width: 0;
}
.branding-info .college-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.35rem 0;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.branding-info .college-grant,
.branding-info .college-affiliation,
.branding-info .college-address {
  color: #d4af37;
  font-size: 0.9rem;
  margin: 0 0 0.2rem 0;
  line-height: 1.4;
}
.branding-info .college-address {
  margin-bottom: 0;
}
.college-address-icon {
  font-style: normal;
}
.branding-motto {
  flex-shrink: 0;
  padding-left: 1.5rem;
  margin-left: 1.5rem;
  border-left: 2px solid rgba(255, 255, 255, 0.25);
}
.branding-motto .motto-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d4af37;
  margin-bottom: 0.35rem;
}
.branding-motto .motto-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.4;
}
/* Mobile quick-access chips - hidden on desktop */
.branding-quick-access-mobile {
  display: none;
}
.quick-access-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 70px;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  color: #d4af37;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.quick-access-chip:hover {
  background: rgba(212, 175, 55, 0.25);
  color: #fff;
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Site Header */
.site-header {
  position: relative;
  background: var(--pasf-primary-dark, #0d3d18);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  padding: 0;
}
/* Golden line accent above navigation */
.site-header::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.8), #d4af37, rgba(212, 175, 55, 0.8));
  width: 100%;
}
.header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-branding {
  flex-shrink: 0;
}
.custom-logo-link img {
  max-height: 80px;
  width: auto;
}
.site-title-link {
  text-decoration: none;
  color: inherit;
}
.site-title {
  font-size: 1.5rem;
  margin: 0 0 0.2rem 0;
  color: var(--pasf-primary);
}
.site-tagline {
  font-size: 0.85rem;
  color: var(--pasf-text-light);
  margin: 0;
}

/* Navigation - centered, Oswald font, pipelines like top bar */
.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.nav-menu,
#primary-menu {
  display: flex !important;
  flex-wrap: wrap;
  flex-direction: row !important;
  list-style: none !important;
  margin: 0;
  padding: 0.28rem 0;
  gap: 0;
  align-items: center;
  justify-content: center;
}
.nav-menu li,
#primary-menu li {
  display: flex !important;
  align-items: center;
  list-style: none !important;
}
/* Pipe only for top-level items; sub-menus must not show it */
.nav-menu > li:not(:last-child)::after,
#primary-menu > li:not(:last-child)::after {
  content: '|';
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  margin: 0 0.75rem;
  pointer-events: none;
}
/* Oswald-Regular (400) for navigation - matches reference image */
.nav-menu a,
#primary-menu a {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  padding: 0.25rem 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
}
.nav-menu a:hover,
#primary-menu a:hover {
  color: #d4af37;
}
/* Dropdown chevron for menu items with sub-menus */
.nav-menu .menu-item-has-children > a,
#primary-menu .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-menu .menu-item-has-children > a::after,
#primary-menu .menu-item-has-children > a::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 0.2rem;
}
.nav-menu .menu-item-has-children:hover > a::after,
#primary-menu .menu-item-has-children:hover > a::after {
  border-top-color: #d4af37;
}

/* Sub-menu dropdown - Oswald font, dark green background */
.main-navigation .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  background: var(--pasf-primary-dark, #0d3d18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 100;
}
.main-navigation .menu-item-has-children {
  position: relative;
}
.main-navigation .menu-item-has-children:hover > .sub-menu {
  display: block;
}
.main-navigation .sub-menu li {
  display: block;
}
.main-navigation .sub-menu li::after {
  display: none !important;
}
.main-navigation .sub-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.menu-toggle-icon {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pasf-text);
}
.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pasf-text);
  margin: 6px 0 0 0;
}
.menu-toggle-icon::after {
  margin-top: 5px;
}

/* Hero Section - Full viewport width */
.hero-section {
  position: relative;
  width: 100vw;
  max-width: 100%;
  height: 680px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pasf-primary);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}
.hero-overlay {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  padding: 2rem;
}
.hero-overlay h1 {
  font-size: 2.5rem;
  margin: 0 0 0.5rem 0;
  color: #fff;
}
.hero-subtitle {
  font-size: 1.15rem;
  margin: 0 0 1rem 0;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-section {
  position: relative;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s, transform 0.2s;
}
.hero-scroll-indicator:hover {
  color: #d4af37;
  transform: translateX(-50%) translateY(4px);
}
.hero-scroll-chevron {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
  animation: hero-scroll-bounce 2s ease-in-out infinite;
}
@keyframes hero-scroll-bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* Quick Facts bar - between hero and about */
.quick-facts-section {
  background: linear-gradient(135deg, var(--pasf-primary-dark, #153d32) 0%, var(--pasf-primary) 100%);
  padding: 1.5rem 1rem;
  position: relative;
}
.quick-facts-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4af37, #f0d060, #d4af37, transparent);
}
.quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.quick-fact-item {
  padding: 0.5rem;
}
.quick-fact-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #d4af37;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.quick-fact-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}
.quick-facts-welcome {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 2px solid rgba(212, 175, 55, 0.5);
  text-align: center;
}
.quick-facts-welcome-text {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Section layout - quick facts between hero and about */
.pasf-hero-slider + .quick-facts-section,
.hero-section + .quick-facts-section {
  margin-top: 0;
}
.quick-facts-section + .about-section {
  margin-top: 0;
  padding-top: 0;
}

/* Flash News bar - full-width dark green strip */
.flash-news-bar {
  background: linear-gradient(135deg, #2d5a3a 0%, #3f704d 50%, #356845 100%);
  position: relative;
  padding: 0.55rem 0 0.6rem 0;
  overflow: hidden;
  border-bottom: 2px solid #d4af37;
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
}
.flash-news-bar-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  padding: 0 1.5rem;
  width: 100%;
  max-width: 100%;
}
.flash-news-bar .pasf-flash-news-ticker {
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow: hidden;
  margin: 0;
  padding: 0.15rem 0;
  flex: 1;
  min-width: 0;
  min-height: 42px;
}
.flash-news-bar .pasf-flash-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  margin: 0;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem 0.3rem 0.6rem;
  background: linear-gradient(135deg, #d4af37 0%, #c9a227 50%, #b8860b 100%);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
  animation: flash-label-blink 2s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
.flash-news-bar .pasf-flash-label::before {
  content: '●';
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}
.flash-news-bar .pasf-flash-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  animation: scroll-ticker var(--pasf-flash-duration, 50s) linear infinite;
  flex: 0 0 auto;
  will-change: transform;
  width: max-content;
  margin-left: -160px;
}
.pasf-flash-news-ticker:hover .pasf-flash-track {
  animation-play-state: paused;
}
/* Capsule-style news items */
.flash-news-bar .pasf-flash-track .pasf-flash-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: #5c9468 !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  cursor: pointer;
  line-height: 1.4;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.flash-news-bar .pasf-flash-track .pasf-flash-item a {
  color: #fff;
  text-decoration: none;
}
.flash-news-bar .pasf-flash-track .pasf-flash-item:hover,
.flash-news-bar .pasf-flash-track .pasf-flash-item a:hover {
  color: #f0d060;
}
.flash-news-bar .pasf-flash-track .pasf-flash-item-new-badge {
  flex-shrink: 0;
  background: transparent;
}
.flash-news-bar .pasf-flash-track .pasf-flash-item-new-badge img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  background: transparent;
}
.flash-news-bar .pasf-flash-track .pasf-flash-item-img img,
.flash-news-bar .pasf-flash-track .pasf-flash-item-icon {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.flash-news-bar .pasf-flash-track .pasf-flash-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.about-section .flash-news-bar {
  margin-top: 0;
  margin-bottom: 0;
}

/* Flash News Ticker (shortcode output) */
.pasf-flash-news-ticker {
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 1rem;
}
.pasf-flash-label {
  font-weight: 700;
  margin-right: 1rem;
  flex-shrink: 0;
  color: #fff;
}
.pasf-flash-track {
  display: flex;
  gap: 2rem;
  animation: pasf-scroll-ticker 50s linear infinite;
  will-change: transform;
}
.pasf-flash-track a,
.pasf-flash-track span {
  color: #fff;
  white-space: nowrap;
}
.pasf-flash-track a:hover {
  text-decoration: underline;
}
@keyframes pasf-scroll-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Flash News Ticker - hero wrapper (same full-width style as main bar) */
.flash-news-wrapper {
  background: linear-gradient(135deg, #2d5a3a 0%, #3f704d 50%, #356845 100%);
  padding: 0.55rem 0 0.6rem 0;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  border-bottom: 2px solid #d4af37;
  box-sizing: border-box;
}
.flash-news-wrapper .pasf-flash-news-ticker {
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow: hidden;
  padding: 0.15rem 1.5rem;
  gap: 0;
  min-height: 42px;
}
.flash-news-wrapper .pasf-flash-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  margin: 0;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem 0.3rem 0.6rem;
  background: linear-gradient(135deg, #d4af37 0%, #c9a227 50%, #b8860b 100%);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
  animation: flash-label-blink 2s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
.flash-news-wrapper .pasf-flash-label::before {
  content: '●';
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}
.flash-news-wrapper .pasf-flash-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  animation: scroll-ticker var(--pasf-flash-duration, 50s) linear infinite;
  flex: 0 0 auto;
  will-change: transform;
  width: max-content;
  min-width: 0;
  margin-left: -160px;
}
.flash-news-wrapper .pasf-flash-track .pasf-flash-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: #5c9468 !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.4;
}
.flash-news-wrapper .pasf-flash-track .pasf-flash-item-new-badge {
  flex-shrink: 0;
  background: transparent;
}
.flash-news-wrapper .pasf-flash-track .pasf-flash-item-new-badge img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  background: transparent;
  display: block;
}
.flash-news-wrapper .pasf-flash-track .pasf-flash-item-img img,
.flash-news-wrapper .pasf-flash-track .pasf-flash-item-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.flash-news-wrapper .pasf-flash-track .pasf-flash-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
}
.flash-news-wrapper .pasf-flash-track .pasf-flash-item-icon svg {
  width: 18px;
  height: 18px;
}
.flash-news-wrapper .pasf-flash-news-ticker:hover .pasf-flash-track {
  animation-play-state: paused;
}
.flash-news-wrapper .pasf-flash-track .pasf-flash-item-img img,
.flash-news-wrapper .pasf-flash-track .pasf-flash-item-icon {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.flash-news-wrapper .pasf-flash-track .pasf-flash-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.95);
}
.flash-news-wrapper .pasf-flash-track .pasf-flash-item-icon svg {
  width: 20px;
  height: 20px;
}
.pasf-flash-spacer {
  flex-shrink: 0;
  width: 100vw;
  display: inline-block;
  pointer-events: none;
}
@keyframes scroll-ticker {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(var(--pasf-flash-scroll, -50%)); }
}
@keyframes flash-label-blink {
  0%, 100% { opacity: 1; box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4); }
  50% { opacity: 0.92; box-shadow: 0 2px 14px rgba(212, 175, 55, 0.6); }
}

/* Flash News shortcode output */
.pasf-flash-news-ticker {
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0.5rem 0;
}
.pasf-flash-label {
  font-weight: 700;
  margin-right: 1rem;
  flex-shrink: 0;
  color: #fff;
}
.pasf-flash-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  animation: scroll-ticker var(--pasf-flash-duration, 50s) linear infinite;
  will-change: transform;
  width: max-content;
}
.pasf-flash-news-ticker:hover .pasf-flash-track {
  animation-play-state: paused;
}
.pasf-flash-track a,
.pasf-flash-track .pasf-flash-item {
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.pasf-flash-track a:hover,
.pasf-flash-track .pasf-flash-item:hover {
  text-decoration: none;
  color: #f0d060;
}
.pasf-flash-item-new-badge {
  flex-shrink: 0;
  background: transparent;
}
.pasf-flash-item-new-badge img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  background: transparent;
}
.pasf-flash-item-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.pasf-flash-item-img {
  flex-shrink: 0;
}
.pasf-flash-item-img img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  vertical-align: middle;
}
.pasf-flash-item-text {
  flex-shrink: 0;
}
.pasf-flash-item-desc {
  opacity: 0.95;
  font-weight: normal;
}
.pasf-flash-item-pdf {
  margin-left: 0.5rem;
  padding: 0.15rem 0.4rem;
  font-size: 0.75rem;
  background: rgba(212, 175, 55, 0.3);
  color: #d4af37;
  border-radius: 3px;
  text-decoration: none;
}
.pasf-flash-item-pdf:hover {
  background: rgba(212, 175, 55, 0.5);
  text-decoration: none;
  color: #fff;
}
.flash-news-wrapper .pasf-flash-news-ticker {
  margin-top: 1rem;
}

/* Section Layouts */
/* Remove gap between hero slider and welcome/about section */
.pasf-hero-slider + .about-section,
.hero-section + .about-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.pasf-hero-slider,
.hero-section {
  margin-bottom: 0 !important;
}
.site-main .pasf-hero-slider:last-of-type,
.site-main .hero-section:last-of-type {
  margin-bottom: 0;
}
.about-section .welcome-banner {
  margin-top: 0;
  margin-bottom: 0;
}
/* Space between welcome banner and about content */
.about-section .container {
  margin-top: 0;
  padding-top: 2rem;
}
.section {
  padding: var(--pasf-section-padding-y, 2.25rem) 0;
}
/* Section headers - centered */
.section .container {
  text-align: center;
}
.section .container > .about-grid,
.section .container > .guiding-grid,
.section .container > .why-choose-grid,
.section .container > .courses-grid,
.section .container > .news-events-grid,
.section .container > .news-highlights-grid,
.section .container > .gallery-grid,
.section .container > .principal-inner {
  text-align: left;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: var(--pasf-section-title-gap, 1.25rem);
  color: var(--pasf-primary);
}
.section-alt {
  background-color: var(--pasf-bg-alt);
  position: relative;
}
.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 400px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), #d4af37, rgba(212, 175, 55, 0.5), transparent);
  border-radius: 1px;
}

/* Welcome Banner - typewriter section (site green theme) */
.welcome-banner {
  position: relative;
  padding: 4rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, #0f4224 0%, #1a4a3c 35%, #153d32 70%, #1a4a3c 100%);
  /* Site green theme - matches header/top bar */
  background-size: 400% 400%;
  animation: welcome-gradient 15s ease infinite;
  overflow: hidden;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
}
.welcome-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}
@keyframes welcome-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.welcome-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.typewriter-text {
  display: inline;
}
.typewriter-cursor {
  display: inline-block;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}
@keyframes blink {
  50% { opacity: 0; }
}

@media (min-width: 768px) {
  .welcome-banner { padding: 5rem 2rem; }
  .welcome-title { font-size: 2.75rem; }
}

/* About Section - Enhanced */
.about-section {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, rgba(245, 250, 247, 0.6) 50%, #fff 100%);
}
.about-section .about-grid {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .about-section .about-grid {
    gap: 2.5rem;
  }
}
.about-image-wrap,
.about-image {
  position: relative;
}
.about-image-frame {
  position: relative;
  padding: 10px;
  background: linear-gradient(145deg, var(--pasf-primary-dark, #0d3d18) 0%, var(--pasf-primary) 100%);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(13, 61, 24, 0.28), 0 0 0 1px rgba(212, 175, 55, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.about-image-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(13, 61, 24, 0.32), 0 0 0 1px rgba(212, 175, 55, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.about-image-frame::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 2px solid rgba(212, 175, 55, 0.65);
  border-radius: 10px;
  pointer-events: none;
}
.about-image-frame img,
.about-image img {
  width: 100%;
  max-width: 320px;
  display: block;
  border-radius: 8px;
  transition: transform 0.35s ease;
}
.about-image-frame:hover {
  box-shadow: 0 16px 48px rgba(13, 61, 24, 0.3), 0 0 0 2px rgba(212, 175, 55, 0.5);
}
.about-image-frame {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.about-image-wrap:hover .about-image-frame {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(13, 61, 24, 0.3), 0 0 0 1px rgba(212, 175, 55, 0.4);
}
.about-image-frame img,
.about-image img {
  transition: transform 0.35s ease;
}
.about-image-wrap:hover .about-image-frame img,
.about-image img:hover {
  transform: scale(1.02);
}
.about-image-caption {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pasf-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.about-image-frame {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-image-wrap:hover .about-image-frame {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(13, 61, 24, 0.3);
}
.about-image-caption {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pasf-primary);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.about-image-placeholder {
  min-height: 320px;
  background: linear-gradient(135deg, #e8f0e8 0%, #d4e5d4 100%);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 2px dashed rgba(26, 95, 42, 0.3);
}
.about-image-placeholder-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pasf-primary);
  margin-bottom: 0.5rem;
}
.about-image-placeholder-hint {
  font-size: 0.85rem;
  color: var(--pasf-text-light);
  margin: 0;
}
.about-content-inner {
  padding-left: 0;
}
@media (min-width: 768px) {
  .about-content-inner {
    padding-left: 1.5rem;
    border-left: 4px solid rgba(26, 95, 42, 0.25);
    padding: 0.5rem 0 0.5rem 1.5rem;
    background: linear-gradient(90deg, rgba(26, 95, 42, 0.03) 0%, transparent 100%);
  }
}
.about-title,
.about-content h3 {
  font-size: 1.75rem;
  margin: 0 0 1rem 0;
  color: var(--pasf-primary-dark);
  letter-spacing: 0.02em;
}
.about-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--pasf-primary), #d4af37);
  margin-top: 0.6rem;
  border-radius: 2px;
}
.about-excerpt p,
.about-content p {
  margin: 0 0 1rem 0;
  line-height: 1.75;
  color: var(--pasf-text);
  text-align: justify;
  font-size: 1rem;
}
.about-content .btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--pasf-primary) 0%, var(--pasf-primary-dark) 100%);
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 0.75rem;
  box-shadow: 0 4px 14px rgba(13, 61, 24, 0.3);
}
.about-content .btn-read-more:hover {
  background: linear-gradient(135deg, var(--pasf-primary-dark) 0%, var(--pasf-primary) 100%);
  transform: translateX(6px);
  box-shadow: 0 6px 20px rgba(13, 61, 24, 0.4);
}
.about-content .btn-read-more .btn-arrow {
  display: inline-block;
  margin-left: 0.35em;
  transition: transform 0.25s ease;
}
.about-content .btn-read-more:hover .btn-arrow {
  transform: translateX(4px);
}
.about-content h2 {
  margin-bottom: 1rem;
}

/* Guiding Principles - enhanced */
.guiding-section {
  background: linear-gradient(180deg, rgba(250, 252, 251, 0.8) 0%, rgba(255, 255, 255, 0.4) 40%, #fff 100%);
  padding: 4rem 0;
  position: relative;
}
.guiding-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230d3d18' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.guiding-section .section-header .section-title {
  color: var(--pasf-primary-dark);
  position: relative;
}
.guiding-section .section-header .section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, transparent, var(--pasf-primary-dark) 30%, var(--pasf-primary-dark) 70%, transparent);
}
.guiding-section .section-header .section-title::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.65rem;
  width: 10px;
  height: 10px;
  background: #d4af37;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.4);
  z-index: 1;
}
.guiding-section .section-subtitle {
  text-align: center;
  margin: 1.25rem auto 2.5rem;
  max-width: 640px;
  color: var(--pasf-text-light);
  font-size: 1.05rem;
  line-height: 1.65;
}
.guiding-section .guiding-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.guiding-card-motto-aim {
  grid-column: 1 / -1;
}
.motto-aim-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .motto-aim-inner {
    grid-template-columns: minmax(220px, 320px) 1fr;
    align-items: start;
    gap: 2rem;
  }
  .aim-block {
    padding-left: 2rem;
    border-left: 2px solid rgba(26, 95, 42, 0.2);
  }
}
.motto-block h3,
.aim-block h3 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem 0;
  color: var(--pasf-primary-dark);
  font-weight: 700;
}
.motto-block p,
.aim-block .aim-list {
  text-align: justify;
  line-height: 1.7;
  color: var(--pasf-text);
}
.motto-block .motto-text {
  font-style: italic;
  font-size: 1.08rem;
  color: var(--pasf-primary);
}
.aim-block .aim-list {
  margin: 0.75rem 0 0 0;
}
.guiding-card {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(13, 61, 24, 0.06), 0 0 0 1px rgba(212, 175, 55, 0.08);
  border-top: 4px solid transparent;
  background-image: linear-gradient(white, white), linear-gradient(90deg, #d4af37, var(--pasf-primary), var(--pasf-primary-dark));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.guiding-card:hover {
  box-shadow: 0 12px 36px rgba(13, 61, 24, 0.12), 0 0 0 1px rgba(212, 175, 55, 0.2);
  transform: translateY(-6px);
}
.guiding-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(26, 95, 42, 0.12) 100%);
  color: var(--pasf-primary);
  flex-shrink: 0;
  transition: transform 0.3s, box-shadow 0.3s;
}
.guiding-icon svg {
  width: 28px;
  height: 28px;
}
.guiding-card:hover .guiding-icon {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(13, 61, 24, 0.15);
}
.guiding-card h3 {
  font-size: 1.3rem;
  margin: 0 0 0.75rem 0;
  color: var(--pasf-primary-dark);
  font-weight: 700;
}
.guiding-card p,
.guiding-card .aim-list {
  text-align: justify;
  line-height: 1.7;
  color: var(--pasf-text);
}
.guiding-card .guiding-sub {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--pasf-primary);
  margin: 0 0 0.5rem 0;
}
.aim-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0 0;
}
.aim-list li {
  padding: 0.3rem 0;
  padding-left: 1.5rem;
  position: relative;
  text-align: justify;
}
.aim-list li::before {
  content: attr(data-num);
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--pasf-primary);
}

/* Principal Section */
.principal-section .principal-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}
.principal-image {
  position: relative;
}
.principal-image img {
  width: 100%;
  max-width: 220px;
  border-radius: 50%;
  border: 4px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(26, 95, 42, 0.15);
  object-fit: cover;
  aspect-ratio: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.principal-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(212, 175, 55, 0.4);
}
.principal-content .principal-desk {
  font-size: 0.9rem;
  color: var(--pasf-primary);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 0.35rem 0;
}
.principal-content h3 {
  font-size: 1.4rem;
  margin: 0 0 1rem 0;
  color: var(--pasf-primary-dark);
}
.principal-content blockquote {
  margin: 0 0 1rem 0;
  font-style: italic;
  border-left: 4px solid var(--pasf-primary);
  padding-left: 1rem;
}
.principal-content .btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  background: var(--pasf-primary);
  color: #fff !important;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.principal-content .btn:hover {
  background: var(--pasf-primary-dark);
  transform: translateX(4px);
  color: #fff !important;
}

/* President Section - enhanced card with golden-to-green gradient top border */
.president-section {
  background: linear-gradient(180deg, rgba(250, 252, 251, 0.6) 0%, #fff 30%, #fff 100%);
  padding: 3rem 0;
}
.president-section .president-card {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(13, 61, 24, 0.08), 0 0 0 1px rgba(212, 175, 55, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}
.president-section .president-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #b8941e, var(--pasf-primary), var(--pasf-primary-dark));
  border-radius: 16px 16px 0 0;
}
.president-section .president-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 2rem 2.5rem;
  border-radius: 0 0 16px 16px;
}
.president-section .president-image-frame {
  position: relative;
  padding: 8px;
  background: linear-gradient(145deg, var(--pasf-primary-dark, #0d3d18) 0%, var(--pasf-primary) 100%);
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(13, 61, 24, 0.18), 0 0 0 2px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: inline-block;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.president-section .president-image-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13, 61, 24, 0.25), 0 0 0 2px rgba(212, 175, 55, 0.5);
}
.president-section .president-image-frame::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 2px solid rgba(212, 175, 55, 0.6);
  border-radius: 50%;
  pointer-events: none;
}
.president-section .president-image-frame img {
  border-radius: 50%;
  display: block;
  border: none;
  box-shadow: none;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.president-section .president-content blockquote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--pasf-text);
}
.president-section .president-content .btn {
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(13, 61, 24, 0.2);
}
.president-section .president-content .btn:hover {
  box-shadow: 0 5px 18px rgba(13, 61, 24, 0.3);
}
.president-section-header .section-title {
  color: var(--pasf-primary-dark, #0d3d18);
  position: relative;
}
.president-section-header .section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, var(--pasf-primary-dark, #0d3d18) 0%, var(--pasf-primary-dark) 40%, var(--pasf-primary-dark) 60%, var(--pasf-primary-dark) 100%);
  position: relative;
}
.president-section-header .section-title::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.6rem;
  width: 10px;
  height: 10px;
  background: #d4af37;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.5), 0 1px 3px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.president-section .president-desk {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pasf-primary, #1a5c2e);
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}
.president-section .president-name {
  color: var(--pasf-primary-dark, #0d3d18);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* Principal Message page template - distinct layout */
.principal-message-page-main .principal-message-content-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
  padding: 2rem;
  background: var(--pasf-bg-alt);
  border-radius: 16px;
  border-left: 4px solid var(--pasf-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.principal-message-page-main .principal-message-image {
  flex-shrink: 0;
}
.principal-message-page-main .principal-message-image img {
  width: 100%;
  max-width: 200px;
  border-radius: 12px;
  border: 3px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}
.principal-message-page-main .principal-message-caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pasf-primary-dark);
}
.principal-message-page-main .principal-message-entry {
  min-width: 0;
}

/* President Message page template - mirrors Principal Message layout */
.president-message-page-main .president-message-content-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
  padding: 2rem;
  background: var(--pasf-bg-alt);
  border-radius: 16px;
  border-left: 4px solid var(--pasf-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.president-message-page-main .president-message-image {
  flex-shrink: 0;
}
.president-message-page-main .president-message-image img {
  width: 100%;
  max-width: 200px;
  border-radius: 12px;
  border: 3px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}
.president-message-page-main .president-message-caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pasf-primary-dark);
}
.president-message-page-main .president-message-designation {
  font-size: 0.85rem;
  color: var(--pasf-primary);
  margin-top: 0.25rem;
}
.president-message-page-main .president-message-entry {
  min-width: 0;
}
.president-message-page-main .president-signature {
  text-align: right;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pasf-border);
}

/* General Secretary Section - same layout as President */
.secretary-section {
  background: linear-gradient(180deg, rgba(250, 252, 251, 0.6) 0%, #fff 30%, #fff 100%);
  padding: 3rem 0;
}
.secretary-section .secretary-card {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(13, 61, 24, 0.08), 0 0 0 1px rgba(212, 175, 55, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}
.secretary-section .secretary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #b8941e, var(--pasf-primary), var(--pasf-primary-dark));
  border-radius: 16px 16px 0 0;
}
.secretary-section .secretary-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 2rem 2.5rem;
  border-radius: 0 0 16px 16px;
}
.secretary-section .secretary-image-frame {
  position: relative;
  padding: 8px;
  background: linear-gradient(145deg, var(--pasf-primary-dark, #0d3d18) 0%, var(--pasf-primary) 100%);
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(13, 61, 24, 0.18), 0 0 0 2px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: inline-block;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.secretary-section .secretary-image-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13, 61, 24, 0.25), 0 0 0 2px rgba(212, 175, 55, 0.5);
}
.secretary-section .secretary-image-frame::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 2px solid rgba(212, 175, 55, 0.6);
  border-radius: 50%;
  pointer-events: none;
}
.secretary-section .secretary-image-frame img {
  border-radius: 50%;
  display: block;
  border: none;
  box-shadow: none;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.secretary-section .secretary-content blockquote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--pasf-text);
}
.secretary-section .secretary-content .btn {
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(13, 61, 24, 0.2);
}
.secretary-section .secretary-content .btn:hover {
  box-shadow: 0 5px 18px rgba(13, 61, 24, 0.3);
}
.secretary-section-header .section-title {
  color: var(--pasf-primary-dark, #0d3d18);
  position: relative;
}
.secretary-section-header .section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, var(--pasf-primary-dark, #0d3d18) 0%, var(--pasf-primary-dark) 40%, var(--pasf-primary-dark) 60%, var(--pasf-primary-dark) 100%);
  position: relative;
}
.secretary-section-header .section-title::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.6rem;
  width: 10px;
  height: 10px;
  background: #d4af37;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.5), 0 1px 3px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.secretary-section .secretary-desk {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pasf-primary, #1a5c2e);
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}
.secretary-section .secretary-name {
  color: var(--pasf-primary-dark, #0d3d18);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* General Secretary Message page template */
.secretary-message-page-main .secretary-message-content-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
  padding: 2rem;
  background: var(--pasf-bg-alt);
  border-radius: 16px;
  border-left: 4px solid var(--pasf-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.secretary-message-page-main .secretary-message-image {
  flex-shrink: 0;
}
.secretary-message-page-main .secretary-message-image img {
  width: 100%;
  max-width: 200px;
  border-radius: 12px;
  border: 3px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}
.secretary-message-page-main .secretary-message-caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pasf-primary-dark);
}
.secretary-message-page-main .secretary-message-designation {
  font-size: 0.85rem;
  color: var(--pasf-primary);
  margin-top: 0.25rem;
}
.secretary-message-page-main .secretary-message-entry {
  min-width: 0;
}
.secretary-message-page-main .secretary-signature {
  text-align: right;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pasf-border);
}

/* Vision & Mission page template - hero + cards */
.vision-mission-page-main {
  padding-bottom: 3rem;
}
.vision-mission-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pasf-primary-dark, #0d3d18) 0%, var(--pasf-primary, #0d3d18) 50%, #1a5c2e 100%);
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
.vision-mission-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 61, 24, 0.65);
  pointer-events: none;
}
.vision-mission-hero-inner {
  position: relative;
  z-index: 1;
}
.vision-mission-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.vision-mission-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 42ch;
}
.vision-mission-content-wrap {
  margin-top: 2.5rem;
}
.vision-mission-article {
  margin-bottom: 2rem;
}
.vision-mission-entry-content {
  padding: 2rem;
  background: var(--pasf-bg-alt);
  border-radius: 16px;
  border-left: 4px solid var(--pasf-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.vision-mission-entry-content h2 {
  font-size: 1.35rem;
  color: var(--pasf-primary-dark);
  margin: 1.5rem 0 0.75rem 0;
}
.vision-mission-entry-content h2:first-child {
  margin-top: 0;
}
.vision-mission-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.vision-mission-card {
  padding: 2rem;
  background: var(--pasf-bg-alt);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--pasf-primary);
  transition: transform 0.2s, box-shadow 0.2s;
}
.vision-mission-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}
.vision-mission-card-icon {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--pasf-primary);
  margin-bottom: 0.75rem;
}
.vision-mission-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pasf-primary-dark);
  margin: 0 0 0.75rem 0;
}
.vision-mission-card-text {
  margin: 0;
  line-height: 1.65;
  color: #333;
  text-align: justify;
}

/* About page template - hero + founder sidebar + explore links */
.about-page-main {
  padding-bottom: 3rem;
}
.about-page-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pasf-primary-dark, #0d3d18) 0%, var(--pasf-primary, #0d3d18) 50%, #1a5c2e 100%);
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
.about-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 61, 24, 0.65);
  pointer-events: none;
}
.about-page-hero-inner {
  position: relative;
  z-index: 1;
}
.about-page-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.about-page-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 48ch;
}
.about-page-content-wrap {
  margin-top: 2.5rem;
}
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 768px) {
  .about-page-grid {
    grid-template-columns: 260px 1fr;
  }
  .about-page-grid:not(:has(.about-page-sidebar)) .about-page-entry-col {
    grid-column: 1 / -1;
  }
}
.about-page-sidebar {
  position: sticky;
  top: 1.5rem;
}
.about-page-founder-frame {
  background: var(--pasf-bg-alt);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--pasf-primary);
  overflow: hidden;
}
.about-page-founder-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.about-page-founder-caption {
  margin: 0.75rem 0 0 0;
  font-weight: 600;
  color: var(--pasf-primary-dark);
  text-align: center;
  font-size: 0.95rem;
}
.about-page-entry-content {
  padding: 2rem;
  background: var(--pasf-bg-alt);
  border-radius: 16px;
  border-left: 4px solid var(--pasf-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.about-page-entry-content p {
  margin: 0 0 1.25rem 0;
  line-height: 1.75;
  text-align: justify;
}
.about-page-entry-content p:last-child {
  margin-bottom: 0;
}
.about-page-explore {
  margin-top: 2.5rem;
}
.about-page-explore-title {
  font-size: 1.35rem;
  color: var(--pasf-primary-dark);
  margin: 0 0 1rem 0;
}
.about-page-explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.about-page-explore-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--pasf-border);
  color: var(--pasf-primary-dark);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.about-page-explore-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--pasf-primary);
  color: var(--pasf-primary-dark);
}
.about-page-explore-icon {
  font-size: 1.25rem;
  color: var(--pasf-primary);
}
.about-page-explore-label {
  flex: 1;
  font-weight: 600;
  font-size: 0.95rem;
}
.about-page-explore-arrow {
  opacity: 0.6;
  transition: transform 0.2s;
}
.about-page-explore-card:hover .about-page-explore-arrow {
  transform: translateX(4px);
}

/* Foundation Members page template - hero + enhanced table */
.foundation-members-page-main {
  padding-bottom: 3rem;
}
.foundation-members-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pasf-primary-dark, #0d3d18) 0%, var(--pasf-primary, #0d3d18) 50%, #1a5c2e 100%);
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
.foundation-members-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 61, 24, 0.65);
  pointer-events: none;
}
.foundation-members-hero-inner {
  position: relative;
  z-index: 1;
}
.foundation-members-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.foundation-members-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 42ch;
}
.foundation-members-content-wrap {
  margin-top: 2.5rem;
}
.foundation-members-page-main .foundation-members-entry-content {
  padding: 2rem;
  background: var(--pasf-bg-alt);
  border-radius: 16px;
  border-left: 4px solid var(--pasf-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.foundation-members-page-main .foundation-members-entry-content h2,
.foundation-members-page-main .foundation-members-entry-content h3 {
  font-size: 1.2rem;
  color: var(--pasf-primary-dark);
  margin: 1.5rem 0 0.75rem 0;
}
.foundation-members-page-main .foundation-members-entry-content h2:first-child,
.foundation-members-page-main .foundation-members-entry-content h3:first-child {
  margin-top: 0;
}

/* Foundation Members - enhanced table styles */
.foundation-members-page-main .foundation-members-entry-content .wp-block-table,
.foundation-members-page-main .foundation-members-entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.foundation-members-page-main .foundation-members-entry-content .wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
}
.foundation-members-page-main .foundation-members-entry-content .wp-block-table table {
  margin: 0;
  box-shadow: none;
}
.foundation-members-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.foundation-members-table-wrap table {
  margin: 0;
  min-width: 520px;
}
.foundation-members-page-main .foundation-members-entry-content thead th,
.foundation-members-page-main .foundation-members-entry-content tr:first-child td {
  background: var(--pasf-primary-dark, #0d3d18);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.foundation-members-page-main .foundation-members-entry-content thead th {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.foundation-members-page-main .foundation-members-entry-content tbody td {
  padding: 0.75rem 1rem;
  border: 1px solid #e8ecef;
}
.foundation-members-page-main .foundation-members-entry-content tbody tr:nth-child(even) {
  background: rgba(13, 61, 24, 0.04);
}
.foundation-members-page-main .foundation-members-entry-content tbody tr:hover {
  background: rgba(13, 61, 24, 0.08);
}
.foundation-members-page-main .foundation-members-entry-content table figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #666;
  text-align: center;
}

/* Fee Structure page - hero + fee tables */
.fee-structure-page-main {
  padding-bottom: 3rem;
}
.fee-structure-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pasf-primary-dark, #0d3d18) 0%, var(--pasf-primary, #153d32) 50%, #1a5c2e 100%);
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
.fee-structure-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 61, 24, 0.65);
  pointer-events: none;
}
.fee-structure-hero-inner {
  position: relative;
  z-index: 1;
}
.fee-structure-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.fee-structure-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 42ch;
}
.fee-structure-content-wrap {
  margin-top: 2.5rem;
}
.fee-structure-article {
  padding: 2rem;
  background: var(--pasf-bg-alt);
  border-radius: 16px;
  border-left: 4px solid var(--pasf-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.fee-structure-entry-content h2 {
  font-size: 1.35rem;
  color: var(--pasf-primary-dark);
  margin: 1.5rem 0 0.75rem 0;
}
.fee-structure-entry-content h2:first-child {
  margin-top: 0;
}
.fee-structure-entry-content h3 {
  font-size: 1.15rem;
  color: var(--pasf-primary-dark);
  margin: 1.25rem 0 0.5rem 0;
}
.fee-structure-entry-content ol,
.fee-structure-entry-content ul {
  margin: 0.75rem 0 1rem 1.5rem;
  padding: 0;
}
.fee-structure-entry-content li {
  margin-bottom: 0.35rem;
}
.fee-structure-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.fee-structure-table {
  width: 100%;
  min-width: 400px;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
}
.fee-structure-table thead th {
  background: var(--pasf-primary-dark, #0d3d18);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.fee-structure-table thead th:last-child {
  text-align: right;
}
.fee-structure-table td {
  padding: 0.75rem 1rem;
  border: 1px solid #e8ecef;
  vertical-align: middle;
}
.fee-structure-table td:first-child {
  text-align: left;
}
.fee-structure-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--pasf-primary-dark);
  white-space: nowrap;
}
.fee-structure-table .fee-indent {
  padding-left: 2rem;
}
.fee-structure-table .fee-nested {
  padding-left: 3rem;
}
.fee-structure-table .fee-subheader td {
  background: rgba(13, 61, 24, 0.08);
  border-top: 2px solid rgba(13, 61, 24, 0.15);
}
.fee-structure-table .fee-total td {
  background: rgba(13, 61, 24, 0.1);
  border-top: 2px solid var(--pasf-primary);
}
.fee-structure-table tbody tr:nth-child(even):not(.fee-subheader):not(.fee-total) {
  background: rgba(13, 61, 24, 0.04);
}
.fee-structure-table tbody tr:hover:not(.fee-subheader):not(.fee-total) {
  background: rgba(13, 61, 24, 0.08);
}
.fee-structure-cta .btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  background: var(--pasf-primary);
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: background 0.2s, transform 0.2s;
}
.fee-structure-cta .btn:hover {
  background: var(--pasf-primary-dark);
  transform: translateY(-2px);
}
.fee-structure-cta .btn-outline {
  background: transparent;
  border: 2px solid var(--pasf-primary);
  color: var(--pasf-primary) !important;
}
.fee-structure-cta .btn-outline:hover {
  background: var(--pasf-primary);
  color: #fff !important;
}

/* Question Papers page - hero + filters + results */
.question-papers-page-main {
  padding-bottom: 3rem;
}
.question-papers-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pasf-primary-dark, #0d3d18) 0%, var(--pasf-primary, #153d32) 50%, #1a5c2e 100%);
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
.question-papers-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 61, 24, 0.65);
  pointer-events: none;
}
.question-papers-hero-inner {
  position: relative;
  z-index: 1;
}
.question-papers-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.question-papers-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 42ch;
}
.question-papers-content-wrap {
  margin-top: 2.5rem;
}
.question-papers-filters {
  padding: 1.5rem 2rem;
  background: var(--pasf-bg-alt);
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--pasf-primary);
}
.question-papers-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}
.question-papers-filter-group {
  flex: 1;
  min-width: 160px;
}
.question-papers-filter-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--pasf-primary-dark);
}
.question-papers-select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}
.question-papers-filter-actions {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}
.question-papers-filter-actions .btn {
  white-space: nowrap;
}
.question-papers-course-block {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: var(--pasf-bg-alt);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--pasf-primary);
}
.question-papers-course-title {
  font-size: 1.5rem;
  color: var(--pasf-primary-dark);
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(13, 61, 24, 0.2);
}
.question-papers-year-block {
  margin-bottom: 1.5rem;
}
.question-papers-year-block:last-child {
  margin-bottom: 0;
}
.question-papers-year-title {
  font-size: 1.15rem;
  color: var(--pasf-primary);
  margin: 0 0 0.75rem 0;
  font-weight: 600;
}
.question-papers-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.question-papers-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.question-papers-item:last-child {
  border-bottom: none;
}
.question-papers-item-subject {
  font-weight: 600;
  color: #333;
  flex: 1;
  min-width: 150px;
}
.question-papers-item-meta {
  font-size: 0.9rem;
  color: #666;
}
.question-papers-download {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  background: var(--pasf-primary);
  color: #fff !important;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}
.question-papers-download:hover {
  background: var(--pasf-primary-dark);
  color: #fff !important;
  transform: translateY(-1px);
}
.question-papers-pdf-icon {
  flex-shrink: 0;
}
.question-papers-empty {
  padding: 2rem;
  text-align: center;
  color: #666;
  background: var(--pasf-bg-alt);
  border-radius: 16px;
}
.question-papers-no-file {
  font-size: 0.85rem;
  color: #999;
  font-style: italic;
}

/* Downloads archive - hero + download cards */
.downloads-archive-main {
  padding-bottom: 3rem;
}
.downloads-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pasf-primary-dark, #0d3d18) 0%, var(--pasf-primary, #153d32) 50%, #1a5c2e 100%);
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
.downloads-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 61, 24, 0.65);
  pointer-events: none;
}
.downloads-hero-inner {
  position: relative;
  z-index: 1;
}
.downloads-hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.downloads-hero-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 42ch;
}
.downloads-content-wrap {
  margin-top: 2.5rem;
}
.downloads-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.download-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  background: var(--pasf-bg-alt);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--pasf-primary);
  transition: transform 0.2s, box-shadow 0.2s;
}
.download-item:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 28px rgba(13, 61, 24, 0.12);
}
.download-item-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 61, 24, 0.12);
  color: var(--pasf-primary);
  border-radius: 12px;
}
.download-item-body {
  flex: 1;
  min-width: 0;
}
.download-item-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pasf-primary-dark);
  margin: 0 0 0.35rem 0;
  line-height: 1.3;
}
.download-item-meta {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 0.75rem 0;
}
.download-item-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--pasf-primary);
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}
.download-item-btn:hover {
  background: var(--pasf-primary-dark);
  transform: translateX(2px);
  color: #fff !important;
}
.downloads-empty {
  padding: 3rem 2rem;
  text-align: center;
  background: var(--pasf-bg-alt);
  border-radius: 16px;
  color: #666;
  border-left: 4px solid var(--pasf-primary);
}
.downloads-archive-main .nav-links {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

/* Courses page / archive - hero + course cards */
.courses-page-main {
  padding-bottom: 3rem;
}
.courses-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pasf-primary-dark, #0d3d18) 0%, var(--pasf-primary, #153d32) 50%, #1a5c2e 100%);
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
.courses-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 61, 24, 0.65);
  pointer-events: none;
}
.courses-hero-inner {
  position: relative;
  z-index: 1;
}
.courses-hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.courses-hero-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 42ch;
}
.courses-content-wrap {
  margin-top: 2.5rem;
}
.courses-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.course-card-page {
  padding: 2rem;
  background: var(--pasf-bg-alt);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--pasf-primary);
  transition: transform 0.2s, box-shadow 0.2s;
}
.course-card-page:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 28px rgba(13, 61, 24, 0.12);
}
.course-card-page .course-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(13, 61, 24, 0.12);
  color: var(--pasf-primary);
  border-radius: 12px;
  margin-bottom: 1rem;
}
.course-card-page h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pasf-primary-dark);
  margin: 0 0 1rem 0;
  line-height: 1.3;
}
.course-card-page .course-subjects-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.course-card-page .course-subjects-list li {
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: #444;
  border-bottom: 1px solid rgba(13, 61, 24, 0.08);
  position: relative;
  padding-left: 1.25rem;
}
.course-card-page .course-subjects-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--pasf-primary);
  font-weight: 700;
}
.course-card-page .course-subjects-list li:last-child {
  border-bottom: none;
}
.courses-empty {
  padding: 3rem 2rem;
  text-align: center;
  background: var(--pasf-bg-alt);
  border-radius: 16px;
  color: #666;
  border-left: 4px solid var(--pasf-primary);
}
.courses-empty .btn {
  margin-top: 1rem;
  display: inline-block;
}

/* Contact page - hero + info cards + form */
.contact-page-main {
  padding-bottom: 3rem;
}
.contact-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pasf-primary-dark, #0d3d18) 0%, var(--pasf-primary, #153d32) 50%, #1a5c2e 100%);
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 61, 24, 0.65);
  pointer-events: none;
}
.contact-hero-inner {
  position: relative;
  z-index: 1;
}
.contact-hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-hero-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 42ch;
}
.contact-content-wrap {
  margin-top: 2.5rem;
}
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info-card,
.contact-form-card {
  padding: 2rem;
  background: var(--pasf-bg-alt);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--pasf-primary);
}
.contact-section-title {
  font-size: 1.35rem;
  color: var(--pasf-primary-dark);
  margin: 0 0 1.5rem 0;
  font-weight: 700;
}
.contact-info-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.contact-info-block:last-of-type {
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 61, 24, 0.1);
  color: var(--pasf-primary);
  border-radius: 10px;
}
.contact-info-block p,
.contact-address {
  margin: 0;
  font-style: normal;
  line-height: 1.6;
  color: var(--pasf-text, #333);
}
.contact-address::first-line {
  font-weight: 700;
  color: var(--pasf-primary-dark);
}
.contact-address::first-line {
  font-weight: 700;
  color: var(--pasf-primary-dark, #0d3d18);
}
.contact-address::first-line {
  font-weight: 700;
  color: var(--pasf-primary-dark, #0d3d18);
}
.contact-address::first-line {
  font-weight: 700;
  color: var(--pasf-primary-dark, #0d3d18);
}
.contact-info-block a {
  color: var(--pasf-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-info-block a:hover {
  color: var(--pasf-primary-dark);
  text-decoration: underline;
}
.contact-maps-btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  background: var(--pasf-primary);
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.contact-maps-btn:hover {
  background: var(--pasf-primary-dark);
  transform: translateX(4px);
  color: #fff !important;
}
/* Contact form (shortcode) */
.contact-form-card .pasf-contact-form-wrap {
  margin: 0;
  padding: 0;
}
.contact-form-card .pasf-contact-form-wrap h3 {
  font-size: 1.35rem;
  color: var(--pasf-primary-dark);
  margin: 0 0 1.5rem 0;
  font-weight: 700;
}
.contact-form-card .pasf-contact-form input[type="text"],
.contact-form-card .pasf-contact-form input[type="email"],
.contact-form-card .pasf-contact-form textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form-card .pasf-contact-form input:focus,
.contact-form-card .pasf-contact-form textarea:focus {
  outline: none;
  border-color: var(--pasf-primary);
  box-shadow: 0 0 0 3px rgba(26, 95, 42, 0.15);
}
.contact-form-card .pasf-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-form-card .pasf-contact-form p {
  margin-bottom: 1.25rem;
}
.contact-form-card .pasf-contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--pasf-primary-dark);
  font-size: 0.95rem;
}
.contact-form-card .pasf-contact-form .btn {
  padding: 0.7rem 1.5rem;
  background: var(--pasf-primary);
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}
.contact-form-card .pasf-contact-form .btn:hover {
  background: var(--pasf-primary-dark);
  transform: translateY(-2px);
  color: #fff !important;
}
.contact-form-card .pasf-contact-success {
  padding: 1.5rem;
  background: rgba(26, 95, 42, 0.12);
  border: 1px solid rgba(26, 95, 42, 0.3);
  border-radius: 12px;
  color: var(--pasf-primary-dark);
  font-weight: 500;
}
.contact-form-card .pasf-contact-error {
  padding: 1rem 1.25rem;
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 8px;
  color: #c41e3a;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Governing Body page - hero + enhanced member table */
.governing-body-page-main {
  padding-bottom: 3rem;
}
.governing-body-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pasf-primary-dark, #0d3d18) 0%, var(--pasf-primary, #153d32) 50%, #1a5c2e 100%);
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
.governing-body-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #d4af37, #f0d060, #d4af37, transparent);
}
.governing-body-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 61, 24, 0.55);
  pointer-events: none;
}
.governing-body-hero-inner {
  position: relative;
  z-index: 1;
}
.governing-body-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.governing-body-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 42ch;
}
.governing-body-content-wrap {
  margin-top: 2.5rem;
}
.governing-body-article {
  padding: 2rem;
  background: var(--pasf-bg-alt);
  border-radius: 16px;
  border-left: 4px solid var(--pasf-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.governing-body-table-wrap {
  overflow-x: auto;
  margin: 0;
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}
.governing-body-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.governing-body-table thead th {
  background: var(--pasf-primary-dark, #0d3d18);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.governing-body-table thead th:first-child {
  width: 5rem;
  text-align: center;
}
.governing-body-table tbody td {
  padding: 0.85rem 1.25rem;
  border: 1px solid #e8ecef;
  vertical-align: middle;
}
.governing-body-table tbody tr:nth-child(even) {
  background: rgba(13, 61, 24, 0.04);
}
.governing-body-table tbody tr:hover {
  background: rgba(13, 61, 24, 0.08);
}
.governing-body-table .gov-serial {
  font-weight: 600;
  color: var(--pasf-primary);
  text-align: center;
}
.governing-body-table .gov-name {
  font-weight: 500;
  color: var(--pasf-text);
}
.governing-body-table .gov-qualification {
  font-weight: 400;
  color: var(--pasf-text-light);
  font-size: 0.9em;
}
.governing-body-table .gov-designation {
  color: var(--pasf-primary-dark);
  font-weight: 500;
}

/* Teaching Staff page - staff profile cards (matches principal style) */
.teaching-staff-page-main {
  padding-bottom: 3rem;
}
.teaching-staff-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pasf-primary-dark, #0d3d18) 0%, var(--pasf-primary, #0d3d18) 50%, #1a5c2e 100%);
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
.teaching-staff-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 61, 24, 0.65);
  pointer-events: none;
}
.teaching-staff-hero-inner {
  position: relative;
  z-index: 1;
}
.teaching-staff-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.teaching-staff-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 42ch;
}
.teaching-staff-content-wrap {
  margin-top: 2.5rem;
}
.teaching-staff-department {
  margin-bottom: 2.5rem;
}
.teaching-staff-department-title {
  font-size: 1.35rem;
  color: var(--pasf-primary-dark);
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--pasf-primary);
}
.teaching-staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.teaching-staff-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1.25rem;
  background: var(--pasf-bg-alt);
  border-radius: 16px;
  border-left: 4px solid var(--pasf-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.teaching-staff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}
.teaching-staff-card-image-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 4px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.teaching-staff-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.teaching-staff-card-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pasf-primary);
  background: rgba(13, 61, 24, 0.08);
}
.teaching-staff-card-initials-only .teaching-staff-card-initials {
  position: static;
  width: 100%;
  height: 100%;
  background: rgba(13, 61, 24, 0.12);
}
.teaching-staff-card-content {
  margin-top: 1rem;
  text-align: center;
  width: 100%;
}
.teaching-staff-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pasf-primary-dark);
  margin: 0 0 0.35rem 0;
}
.teaching-staff-card-designation {
  font-size: 0.9rem;
  color: var(--pasf-primary);
  font-weight: 600;
  margin: 0 0 0.35rem 0;
}
.teaching-staff-card-qualifications {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.45;
  margin: 0;
}
.teaching-staff-empty {
  padding: 2rem;
  background: var(--pasf-bg-alt);
  border-radius: 12px;
  text-align: center;
  color: #666;
}

/* Entry content - justified text (pages, posts, principal) */
.entry-content,
.entry-content p,
.entry-content li,
.about-content,
.about-content p,
.about-excerpt,
.about-excerpt p,
.principal-content,
.principal-content p,
.principal-content blockquote,
.principal-content blockquote p {
  text-align: justify;
}
.entry-content p,
.principal-content p {
  hyphens: auto;
}
.entry-content li {
  margin-bottom: 0.35em;
}
.principal-content blockquote {
  text-align: justify;
}

/* Page/Post pagination (wp_link_pages - for <!--nextpage-->)
 * Appears dynamically on all pages/posts when content is split with Page Break (<!--nextpage-->).
 */
.page-links.pagination-links,
.pasfanc-page-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 2.5rem;
  padding: 1.5rem 1.5rem;
  background: var(--pasf-primary-dark, #153d32);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(26, 74, 60, 0.35), 0 0 0 1px rgba(212, 175, 55, 0.2);
  position: relative;
  overflow: hidden;
}
.page-links.pagination-links::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4af37, #f0d060, #d4af37, transparent);
  border-radius: 16px 16px 0 0;
}
.page-links-title,
.pagination-page-indicator {
  font-weight: 600;
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}
.pagination-page-indicator {
  margin-right: 1rem;
  padding-right: 1rem;
  border-right: 1px solid rgba(212, 175, 55, 0.5);
}
.page-links .post-page-numbers,
.page-links a,
.page-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.875rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.page-links a {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  border: 2px solid rgba(212, 175, 55, 0.5);
}
.page-links a:hover {
  background: #d4af37;
  color: #1a4a3c;
  border-color: #d4af37;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}
.page-links .current span,
.page-links span.page-number.current,
.page-links .post-page-numbers.current {
  background: #d4af37;
  color: var(--pasf-primary-dark, #153d32);
  border: 2px solid #d4af37;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Archive pagination (the_posts_pagination) */
.navigation.pagination,
.posts-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2.5rem 0;
  padding: 1.5rem 0;
}
.navigation.pagination .nav-links,
.posts-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.navigation.pagination a,
.navigation.pagination span,
.posts-pagination a,
.posts-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border: 2px solid var(--pasf-border);
}
.navigation.pagination a,
.posts-pagination a {
  background: #fff;
  color: var(--pasf-primary);
}
.navigation.pagination a:hover,
.posts-pagination a:hover {
  background: var(--pasf-primary);
  color: #fff;
  border-color: var(--pasf-primary);
}
.navigation.pagination .current,
.navigation.pagination .dots,
.posts-pagination .current,
.posts-pagination .dots {
  background: var(--pasf-primary);
  color: #fff;
  border-color: var(--pasf-primary);
}
.posts-pagination .dots {
  background: transparent;
  color: var(--pasf-text);
  border-color: transparent;
}

/* Why Choose Cards */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--pasf-radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: center;
}
.why-card-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--pasf-primary);
  margin-bottom: 0.5rem;
}
.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Courses Preview */
.courses-preview .courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.course-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--pasf-primary);
}
.course-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.course-card li {
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--pasf-border);
}
.course-card li:last-child {
  border-bottom: none;
}

/* News & Events */
.news-events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
/* Notice Board & Events - upward scrolling marquee */
.news-scroll-wrap {
  height: 220px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.75rem;
}
.news-scroll-inner {
  animation: news-scroll-up 25s linear infinite;
}
.news-scroll-inner:hover {
  animation-play-state: paused;
}
.news-scroll-inner .notice-list,
.news-scroll-inner .events-list {
  margin: 0;
  list-style: none;
  padding: 0;
}
.news-scroll-inner .notice-list-dupe,
.news-scroll-inner .events-list-dupe {
  margin-top: 0;
}
@keyframes news-scroll-up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .news-scroll-inner {
    animation: none;
  }
}
.notice-list,
.events-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.notice-list li,
.events-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--pasf-border);
}
.notice-list li:last-child,
.events-list li:last-child {
  border-bottom: none;
}
.news-scroll-inner .notice-list-dupe li:last-child,
.news-scroll-inner .events-list-dupe li:last-child {
  border-bottom: 1px solid var(--pasf-border);
}
.notice-date,
.event-date {
  font-size: 0.85rem;
  color: var(--pasf-text-light);
  display: block;
  margin-bottom: 0.25rem;
}

/* News Highlights */
.news-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.news-highlight-card {
  background: #fff;
  padding: 1rem;
  border-radius: var(--pasf-radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.news-highlight-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--pasf-radius);
  background: var(--pasf-bg-alt);
}

/* Gallery */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.gallery-filters button,
.gallery-filters a {
  padding: 0.5rem 1rem;
  border: 1px solid var(--pasf-border);
  background: #fff;
  border-radius: var(--pasf-radius);
  cursor: pointer;
  text-decoration: none;
  color: var(--pasf-text);
}
.gallery-filters button:hover,
.gallery-filters button.active,
.gallery-filters a:hover,
.gallery-filters a.active {
  background: var(--pasf-primary);
  color: #fff;
  border-color: var(--pasf-primary);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--pasf-radius);
}

/* Gallery page (matches pasfanc.ac.in/gallery) */
.gallery-page-main .gallery-page-title {
  font-size: 2rem;
  color: var(--pasf-primary-dark);
  margin: 0 0 0.5rem 0;
  text-align: center;
}
.gallery-page-main .gallery-page-subtitle {
  text-align: center;
  color: var(--pasf-text-light);
  margin: 0 0 1.5rem 0;
  font-size: 1rem;
}
.gallery-page-main .gallery-section-title {
  font-size: 1.5rem;
  color: var(--pasf-primary-dark);
  margin: 0 0 0.5rem 0;
  text-align: center;
}
.gallery-page-main .gallery-section-desc {
  text-align: center;
  color: var(--pasf-text);
  margin: 0 0 1.5rem 0;
}
.gallery-page-main .gallery-back-home a {
  color: var(--pasf-primary);
  font-weight: 600;
  text-decoration: none;
}
.gallery-page-main .gallery-back-home a:hover {
  color: var(--pasf-primary-dark);
  text-decoration: underline;
}

/* Album-based gallery grid */
.gallery-albums-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.album-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--pasf-radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.album-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  color: inherit;
}
.album-card-cover {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f0f0f0;
}
.album-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.album-card:hover .album-card-cover img {
  transform: scale(1.05);
}
.album-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
}
.album-card-placeholder-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.album-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
  pointer-events: none;
}
.album-card-info {
  padding: 1rem;
  background: #fff;
}
.album-card-title {
  margin: 0 0 0.35rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--pasf-primary-dark);
}
.album-card-count {
  font-size: 0.85rem;
  color: var(--pasf-text-light);
}

/* Single album page */
.album-page-main .album-title {
  font-size: 1.75rem;
  color: var(--pasf-primary-dark);
  margin: 0 0 0.35rem 0;
}
.album-page-main .album-count {
  font-size: 0.95rem;
  color: var(--pasf-text-light);
}
.album-page-main .album-breadcrumb a {
  color: var(--pasf-primary);
  font-weight: 600;
  text-decoration: none;
}
.album-page-main .album-breadcrumb a:hover {
  color: var(--pasf-primary-dark);
  text-decoration: underline;
}

/* Testimonials - single card carousel */
.testimonial-section {
  text-align: center;
}
.testimonial-carousel-wrap {
  padding: 1rem 0 3rem;
  max-width: 720px;
  margin: 0 auto;
}
.testimonial-swiper {
  overflow: hidden;
}
.testimonial-swiper .swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.testimonial-card {
  width: 100%;
  max-width: 660px;
  text-align: center;
  padding: 2.25rem 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-top: 4px solid rgba(72, 207, 173, 0.6);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}
/* Swiper navigation */
.testimonial-swiper .swiper-button-prev,
.testimonial-swiper .swiper-button-next {
  color: var(--pasf-primary);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: color 0.2s, background 0.2s, transform 0.2s;
}
.testimonial-swiper .swiper-button-prev:hover,
.testimonial-swiper .swiper-button-next:hover {
  color: var(--pasf-primary-dark);
  background: #fff;
  transform: scale(1.05);
}
.testimonial-swiper .swiper-button-prev::after,
.testimonial-swiper .swiper-button-next::after {
  font-size: 1.25rem;
  font-weight: 700;
}
/* Swiper pagination dots */
.testimonial-swiper .swiper-pagination {
  position: relative;
  margin-top: 1.5rem;
}
.testimonial-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(72, 207, 173, 0.4);
  opacity: 1;
  transition: background 0.2s, transform 0.2s;
}
.testimonial-swiper .swiper-pagination-bullet-active {
  background: var(--pasf-primary);
  transform: scale(1.2);
}
.testimonial-carousel-wrap.testimonial-single .swiper-button-prev,
.testimonial-carousel-wrap.testimonial-single .swiper-button-next,
.testimonial-carousel-wrap.testimonial-single .swiper-pagination {
  display: none;
}
.testimonial-photo-wrap {
  margin: 0 auto 1rem;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(72, 207, 173, 0.4);
}
.testimonial-photo-wrap .testimonial-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-card .testimonial-content {
  max-width: none;
  margin: 0 0 1rem;
}
.testimonial-content blockquote {
  font-size: 1.1rem;
  font-style: italic;
  margin: 0;
  line-height: 1.65;
}
.testimonial-author {
  font-weight: 600;
  color: var(--pasf-primary);
}
.testimonial-class {
  font-size: 0.9rem;
  color: var(--pasf-text-light);
}

/* Admissions CTA */
.cta-section {
  background: var(--pasf-primary);
  color: #fff;
  text-align: center;
  padding: var(--pasf-section-padding-y, 2.25rem) 0;
}
.cta-section .section-title {
  color: #fff;
  margin-bottom: 0.5rem;
}
.cta-section .section-subtitle {
  color: rgba(255, 255, 255, 0.95);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section .btn {
  background: #fff;
  color: var(--pasf-primary) !important;
  margin: 0 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}
.cta-section .btn:hover {
  background: var(--pasf-bg-alt);
}
.cta-section .btn-outline {
  border-color: #fff;
  color: #fff !important;
}
.cta-section .btn-outline:hover {
  background: #fff;
  color: var(--pasf-primary) !important;
}

/* Footer */
.footer-main {
  background: linear-gradient(165deg, #0d3d18 0%, #153d32 50%, #1a4a3c 100%);
  color: #fff;
  padding: 3rem 0;
}
.footer-main a {
  color: rgba(255,255,255,0.92);
}
.footer-main a:hover {
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}
.footer-grid-3col {
  grid-template-columns: 2fr 1fr 1.2fr;
}
.footer-grid-4col {
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
}
.footer-grid-full {
  grid-template-columns: 2.2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  align-items: start;
}
/* Footer full: logo on top, text below - stacked layout */
.footer-grid-full .footer-about .footer-about-inner {
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.footer-grid-full .footer-about .footer-logo-col {
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}
.footer-grid-full .footer-about .footer-logo,
.footer-grid-full .footer-about .footer-logo-link img,
.footer-grid-full .footer-about .footer-logo-wrap img {
  max-width: 85px;
  height: auto;
}
.footer-grid-full .footer-about .footer-brand {
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 0.4rem;
}
.footer-grid-full .footer-about .footer-info-col {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  text-align: center;
}
.footer-links-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}
.footer-col ul.footer-menu,
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col .footer-menu li,
.footer-col ul li {
  margin-bottom: 0.5rem;
}
.footer-col .footer-menu a,
.footer-col ul a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-col .footer-menu a:hover,
.footer-col ul a:hover {
  color: #fff;
  padding-left: 4px;
}
.footer-map-link {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}
.footer-map-link a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-map-link a:hover {
  color: #fff;
}
.footer-simple {
  display: block;
}
.footer-simple .footer-about-inner {
  align-items: center;
}
.footer-simple .footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.footer-simple .footer-address {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 0.5rem;
}
.footer-map-wrap {
  border-radius: 8px;
  overflow: hidden;
  margin-top: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.footer-map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 200px;
}
.footer-bottom-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.footer-bottom-extra .site-visitors {
  margin: 0;
  opacity: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-bottom-extra .site-visitors .visitor-count {
  display: inline-block;
  font-weight: 700;
  color: var(--pasf-accent, #d4af37);
  background: rgba(212, 175, 55, 0.15);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  font-variant-numeric: tabular-nums;
}
.footer-bottom-extra .powered-by {
  margin: 0;
  opacity: 0.9;
}
.footer-bottom-extra .powered-by {
  color: #ffd700 !important;
}
.footer-bottom-extra .powered-by a {
  color: #ffd700 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom-extra .powered-by a:hover {
  color: #ffe066 !important;
  opacity: 1;
}
/* Footer simple layout - logo left, content right (as per design) */
.footer-simple {
  width: 100%;
  max-width: 100%;
}
.footer-about-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1.5rem;
}
.footer-logo-col {
  flex-shrink: 0;
  width: auto;
}
.footer-logo-col .footer-logo-link,
.footer-logo-col .footer-logo-wrap {
  margin-bottom: 0;
}
.footer-info-col {
  flex: 1 1 200px;
  min-width: 200px;
}
.footer-logo-link {
  display: inline-block;
  margin-bottom: 1rem;
}
.footer-logo-col .footer-logo-link {
  margin-bottom: 0;
}
.footer-logo-link img,
.footer-logo,
.footer-logo-wrap img {
  max-width: 150px;
  height: auto;
  display: block;
}
.footer-logo-wrap {
  margin-bottom: 1rem;
}
.footer-logo-wrap .custom-logo-link {
  display: inline-block;
}
.footer-brand {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  word-spacing: 0.02em;
  line-height: 1.35;
}
.footer-tagline {
  opacity: 0.9;
  margin-bottom: 1rem;
}
.footer-address {
  font-style: normal;
  opacity: 0.9;
  line-height: 1.6;
}
.footer-col h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 0.5rem;
}
.footer-bottom {
  background: rgb(17 77 38);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.copyright {
  margin: 0;
  opacity: 0.9;
}

/* ==========================================================================
   Front Page Enhancements
   ========================================================================== */

/* Back to top button */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pasf-primary) 0%, var(--pasf-primary-dark) 100%);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(13, 61, 24, 0.4);
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  visibility: hidden;
}
.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(13, 61, 24, 0.5);
  color: #fff;
}
.back-to-top-btn svg {
  width: 24px;
  height: 24px;
}

/* Scroll-triggered section animations */
.section-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-animate.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Principal image frame - matches About section */
.principal-image-frame {
  position: relative;
  padding: 8px;
  background: linear-gradient(145deg, var(--pasf-primary-dark, #0d3d18) 0%, var(--pasf-primary) 100%);
  border-radius: 50%;
  box-shadow: 0 12px 40px rgba(13, 61, 24, 0.25), 0 0 0 1px rgba(212, 175, 55, 0.4);
  display: inline-block;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.principal-image-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(13, 61, 24, 0.3), 0 0 0 1px rgba(212, 175, 55, 0.5);
}
.principal-image-frame::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 2px solid rgba(212, 175, 55, 0.6);
  border-radius: 50%;
  pointer-events: none;
}
.principal-image-frame img {
  border-radius: 50%;
  display: block;
  border: none;
  box-shadow: none;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Guiding Principles - hover lift on cards */
.guiding-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.guiding-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Courses - hover lift */
.course-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Why Choose - hover lift */
.why-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Gallery filter - smoother transitions */
.gallery-filter-btn {
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.gallery-filter-btn:hover {
  transform: translateY(-2px);
}
.gallery-item {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Courses & Why Choose - CTA links */
.courses-cta,
.why-choose-cta {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 0;
}
.courses-cta .btn,
.why-choose-cta .btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  background: var(--pasf-primary);
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.courses-cta .btn:hover,
.why-choose-cta .btn:hover {
  background: var(--pasf-primary-dark);
  transform: translateX(4px);
}
