
:root {
  --navy: #10243e;
  --navy-dark: #091a2d;
  --navy-light: #1b3b5b;
  --gold: #2d6da8;
  --gold-light: #9fc5e8;
  --bg: #f5f7fa;
  --text: #596779;
  --white: #fff;
  --border: #e8edf2;
  --shadow: 0 15px 45px rgba(16,36,62,.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 95px; }

body {
  margin: 0;
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
}

a { text-decoration: none; }

img { max-width: 100%; height: auto; }

.topbar {
  background: var(--navy-dark);
  color: #c6d0dc;
  padding: 9px 0;
  font-size: 12px;
}

.topbar a { color: #e0e7ee; margin-right: 13px; }
.topbar a:hover { color: var(--accent-blue); }
.topbar i { color: var(--accent-blue); margin-right: 5px; }
.top-separator { margin: 0 12px; color: #53677e; }
.top-right { display: flex; gap: 16px; }

.main-navbar {
  background: white;
  padding: 13px 0;
  box-shadow: 0 4px 25px rgba(16,36,62,.06);
  z-index: 1000;
}

.school-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-family: 'Manrope',sans-serif;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
}

.brand-icon {
  width: 47px;
  height: 47px;
  border-radius: 11px;
  background: var(--navy);
  color: var(--accent-blue);
  display: grid;
  place-items: center;
  font-size: 24px;
}

.custom-logo-link img {
  max-height: 55px;
  width: auto;
}

.brand-text small,
.footer-brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #8290a1;
  margin-top: 5px;
}

.navbar-nav { gap: 3px; }

.navbar .nav-link {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 10px !important;
  transition: .2s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active { color: #b37d2a; }

.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 9px;
  min-width: 220px;
}

.dropdown-item {
  font-size: 13px;
  padding: 10px 13px;
  border-radius: 6px;
  color: var(--navy);
}

.dropdown-item:hover { background: #eaf2fa; color: var(--navy); }

.btn-gold,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  border: 0;
  border-radius: 6px;
  background: var(--accent-blue);
  color: var(--navy-dark);
  font-size: 13px;
  font-weight: 800;
  transition: .3s;
}

.btn-gold:hover,
.nav-cta:hover {
  background: var(--accent-blue-light);
  color: var(--navy-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,.7);
  color: white;
  padding: 14px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  transition: .3s;
}

.btn-outline:hover { background: white; color: var(--navy); }

/* HERO */

.hero-section {
  min-height: 690px;
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(7,23,42,.96),
    rgba(7,23,42,.84) 48%,
    rgba(7,23,42,.28));
}

.hero-container { position: relative; z-index: 2; }

.hero-content {
  max-width: 730px;
  padding: 105px 0 150px;
}

.eyebrow,
.section-kicker {
  display: block;
  color: #b78332;
  letter-spacing: 3px;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 17px;
}

.hero-section .eyebrow { color: var(--accent-blue-light); }

.hero-content h1 {
  font-size: clamp(42px,6vw,76px);
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: -2px;
}

.hero-content h1 span { color: var(--accent-blue); }

.hero-content p {
  color: #d3dce6;
  font-size: 17px;
  line-height: 1.9;
  max-width: 570px;
}

.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 30px; }

.hero-bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(6,22,39,.78);
  backdrop-filter: blur(12px);
  padding: 19px 0;
  z-index: 2;
}

.hero-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: white;
  font-size: 13px;
  font-weight: 700;
}

.hero-stat i { font-size: 23px; color: var(--accent-blue); }

/* SECTIONS */

.section-padding { padding: 95px 0; }
.section-light { background: var(--bg); }

.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-title {
  font-size: clamp(30px,4vw,44px);
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
}

.section-text {
  color: var(--text);
  font-size: 15px;
  line-height: 1.9;
}

.image-frame { position: relative; padding: 0 15px 25px 0; }

.image-frame > img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 10px;
}

.image-frame:after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 75%;
  height: 75%;
  border: 4px solid var(--accent-blue);
  border-radius: 10px;
  z-index: -1;
}

.image-caption {
  position: absolute;
  bottom: 45px;
  left: 25px;
  background: white;
  color: var(--navy);
  padding: 15px 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  border-radius: 7px;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 800;
}

.image-caption i { color: #bd842e; font-size: 23px; }

/* PROGRAM CARDS */

.program-card {
  height: 100%;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: .3s;
}

.program-card:hover,
.news-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.program-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.program-placeholder {
  height: 190px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg,#edf1f6,#eaf2fa);
  color: #bd842e;
  font-size: 55px;
}

.program-body { padding: 26px; }

.card-category {
  color: #b78332;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.program-body h3 {
  font-size: 19px;
  margin: 13px 0;
}

.program-body p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text);
  min-height: 70px;
}

.text-gold {
  color: #a87325;
  font-weight: 800;
  font-size: 13px;
}

.text-gold:hover { color: var(--navy); }

.btn-dark-custom {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 14px 23px;
  border-radius: 6px;
  background: var(--navy);
  color: white;
  font-weight: 700;
  font-size: 13px;
  transition: .3s;
}

.btn-dark-custom:hover { background: var(--navy-light); color: white; }

/* VALUES */

.value-item {
  display: flex;
  gap: 18px;
  margin-top: 30px;
}

.value-item > i {
  flex-shrink: 0;
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #a87325;
  background: #eef5fc;
  font-size: 23px;
}

.value-item h4 { font-size: 16px; margin: 3px 0 7px; }
.value-item p { color: var(--text); font-size: 13px; margin: 0; }

.rounded-school-image {
  width: 100%;
  height: 470px;
  object-fit: cover;
  border-radius: 10px;
}

/* NEWS */

.news-card {
  height: 100%;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: .3s;
}

.news-card > a > img {
  width: 100%;
  height: 225px;
  object-fit: cover;
}

.news-placeholder {
  height: 225px;
  display: grid;
  place-items: center;
  background: #edf1f6;
  color: #b78332;
  font-size: 45px;
}

.news-body { padding: 25px; }

.news-date {
  font-size: 11px;
  font-weight: 800;
  color: #b78332;
  letter-spacing: 1px;
}

.news-body h3 {
  font-size: 18px;
  margin: 13px 0;
}

.news-body h3 a { color: var(--navy); }
.news-body p { color: var(--text); font-size: 13px; line-height: 1.8; }

/* QUICK LINKS */

.quick-link {
  display: block;
  height: 100%;
  border: 1px solid var(--border);
  padding: 26px 22px;
  border-radius: 9px;
  color: var(--navy);
  transition: .3s;
}

.quick-link:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-5px);
}

.quick-link > i { color: #bd842e; font-size: 30px; }
.quick-link h3 { font-size: 16px; margin: 19px 0 10px; }
.quick-link p { color: var(--text); font-size: 12px; line-height: 1.7; }
.quick-link:hover p { color: #c8d3df; }
.quick-link span { font-size: 12px; font-weight: 800; color: #bd842e; }

/* GALLERY */

.gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  height: 250px;
  background: #dce3eb;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 15px 15px;
  color: white;
  font-weight: 700;
  font-size: 13px;
  background: linear-gradient(transparent,rgba(0,0,0,.7));
}

/* EMPTY STATE */

.empty-state {
  text-align: center;
  padding: 45px 20px;
  background: white;
  border-radius: 10px;
  border: 1px dashed #cbd5df;
}

.empty-state i { color: #bd842e; font-size: 36px; }
.empty-state h3 { font-size: 18px; margin-top: 15px; }
.empty-state p { color: var(--text); font-size: 13px; }

/* CTA */

.enroll-section {
  padding: 90px 20px;
  color: white;
  background: linear-gradient(120deg,#091a2d,#193957);
}

.enroll-section h2 {
  max-width: 780px;
  margin: 0 auto 20px;
  font-size: clamp(30px,4vw,46px);
}

.enroll-section p {
  color: #c9d4df;
  margin-bottom: 28px;
}

/* FOOTER */

.site-footer {
  background: #08192b;
  color: #c3ceda;
  padding: 70px 0 25px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 800;
  color: white;
}

.footer-brand > i {
  width: 48px;
  height: 48px;
  background: var(--accent-blue);
  color: var(--navy);
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 25px;
}

.footer-description {
  color: #9eafc1;
  font-size: 13px;
  line-height: 1.9;
  margin-top: 25px;
}

.site-footer h5 {
  color: white;
  font-size: 15px;
  margin-bottom: 23px;
}

.site-footer a {
  display: block;
  color: #aebdce;
  font-size: 13px;
  margin-bottom: 14px;
}

.site-footer a:hover { color: var(--accent-blue); }

.site-footer p {
  font-size: 12px;
  line-height: 1.7;
  color: #aebdce;
}

.site-footer p i { color: var(--accent-blue); margin-right: 7px; }

.footer-bottom {
  border-top: 1px solid #293b50;
  margin-top: 45px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #8496a9;
}

/* WORDPRESS CONTENT */

.entry-content { color: var(--text); line-height: 1.9; }
.entry-content h2, .entry-content h3 { color: var(--navy); margin-top: 30px; }
.entry-content img { border-radius: 8px; }
.entry-header { margin-bottom: 35px; }
.entry-title { font-size: clamp(30px,4vw,45px); }
.entry-meta { color: #9a7a47; font-size: 12px; margin-top: 12px; }

.pagination { gap: 7px; }
.page-numbers {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--navy);
}
.page-numbers.current { background: var(--navy); color: white; }

/* RESPONSIVE */

@media(max-width:1199px) {
  .navbar .nav-link { padding: 10px 7px !important; font-size: 12px; }
  .nav-cta { padding: 12px; font-size: 11px; }
}

@media(max-width:991px) {
  .main-navbar { padding: 12px 0; }
  .navbar-collapse { padding: 20px 0; }
  .navbar-nav { align-items: stretch !important; }
  .navbar .nav-link { font-size: 14px; padding: 12px !important; }
  .nav-cta { margin-top: 12px; width: fit-content; }
  .hero-section { min-height: 700px; }
  .hero-content { padding: 90px 0 155px; }
  .section-padding { padding: 75px 0; }
}

@media(max-width:575px) {
  .topbar { font-size: 10px; }
  .top-right { display: none; }
  .school-brand { font-size: 12px; }
  .brand-icon { width: 40px; height: 40px; }
  .hero-section { min-height: 690px; }
  .hero-content h1 { font-size: 43px; letter-spacing: -1px; }
  .hero-content p { font-size: 14px; }
  .hero-stat { flex-direction: column; gap: 5px; font-size: 10px; text-align: center; }
  .hero-stat i { font-size: 21px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions a { text-align: center; }
  .section-padding { padding: 60px 0; }
  .image-frame > img { height: 310px; }
  .rounded-school-image { height: 310px; }
  .gallery-item { height: 180px; }
  .footer-bottom { flex-direction: column; }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ПОЛИРАЊЕ И ПРИСТУПАЧНОСТ */
body { font-family: 'DM Sans', 'Noto Sans', sans-serif; line-height: 1.7; }
h1,h2,h3,h4,h5 { letter-spacing: -.025em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent-blue); outline-offset: 3px; }
.navbar .nav-link { font-size: 14px; }
.dropdown-menu { margin-top: 10px; }
.section-kicker, .eyebrow { letter-spacing: .12em; }
.entry-content { font-size: 16px; }
.entry-content p { margin-bottom: 1.15rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.entry-content a { color: #95651f; text-decoration: underline; text-underline-offset: 3px; }
.news-section { overflow: hidden; }
.featured-news {
  display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow); margin-bottom: 38px;
}
.featured-news-image { display:block; min-height: 360px; background:#e9eef4; }
.featured-news-image img { width:100%; height:100%; min-height:360px; object-fit:cover; }
.featured-news-image .news-placeholder { height:100%; min-height:360px; }
.featured-news-content { padding: clamp(26px,4vw,52px); align-self:center; }
.news-label { display:inline-flex; align-items:center; gap:8px; padding:7px 11px; border-radius:30px; background:#eaf2fa; color:#245b8f; font-size:11px; font-weight:800; margin-bottom:18px; }
.featured-news-content .news-date { display:block; margin-bottom:12px; }
.featured-news-content h3 { font-size:clamp(24px,3vw,36px); line-height:1.22; margin:0 0 16px; }
.featured-news-content h3 a { color:var(--navy); }
.featured-news-content p { color:var(--text); line-height:1.85; margin-bottom:25px; }
.news-list-heading { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin:0 0 14px; }
.news-list-heading h3 { font-size:21px; margin:0; }
.news-list-heading > span { color:#8793a1; font-size:12px; }
.news-list { background:#fff; border:1px solid var(--border); border-radius:12px; overflow:hidden; }
.news-list-item { display:grid; grid-template-columns:62px 1fr 36px; align-items:center; gap:18px; padding:19px 22px; border-bottom:1px solid var(--border); }
.news-list-item:last-child { border-bottom:0; }
.news-list-date { display:flex; flex-direction:column; align-items:center; justify-content:center; background:#f5f7fa; border-radius:9px; min-height:58px; color:var(--navy); }
.news-list-date strong { font-size:22px; line-height:1.1; }
.news-list-date span { color:#8a96a4; font-size:10px; font-weight:700; }
.news-list-copy h4 { font-size:16px; margin:0 0 5px; }
.news-list-copy h4 a { color:var(--navy); }
.news-list-copy h4 a:hover { color:#a87325; }
.news-list-copy p { color:var(--text); font-size:12px; margin:0; line-height:1.6; }
.news-list-arrow { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:#eaf2fa; color:#245b8f; }
.news-card img, .program-card img { display:block; }
.news-body h3 a:hover { color:#a87325; }
.site-footer a { line-height:1.6; }
@media(max-width:767px) {
  .section-padding { padding:64px 0; }
  .hero-section { min-height:640px; }
  .hero-content { padding:80px 0 145px; }
  .hero-bottom { padding:13px 0; }
  .hero-stat { font-size:10px; text-align:center; flex-direction:column; gap:5px; }
  .hero-stat i { font-size:19px; }
  .featured-news { grid-template-columns:1fr; }
  .featured-news-image, .featured-news-image img, .featured-news-image .news-placeholder { min-height:230px; max-height:270px; }
  .featured-news-content { padding:25px 22px 28px; }
  .news-list-item { grid-template-columns:52px 1fr; gap:12px; padding:15px; }
  .news-list-arrow { display:none; }
  .news-list-copy h4 { font-size:14px; }
  .news-list-heading { align-items:flex-start; flex-direction:column; gap:4px; }
  .topbar .container { justify-content:center !important; text-align:center; }
  .top-right { justify-content:center; flex-wrap:wrap; }
}
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important; }
}


/* Професионални оквири за садржај преузет са старих страница */
.entry-content { max-width: 100%; color: #354253; font-size: 16px; line-height: 1.85; }
.entry-content.content-panels { display: grid; gap: 20px; }
.content-section-card {
  min-width: 0; padding: clamp(20px, 3vw, 32px);
  background: #fff; border: 1px solid #e4e9ef; border-radius: 16px;
  box-shadow: 0 8px 28px rgba(18, 39, 63, .055);
  overflow-wrap: anywhere;
}
.content-section-card > :last-child { margin-bottom: 0; }
.content-section-card p { margin: 0 0 1rem; }
.content-section-card p:last-child { margin-bottom: 0; }
.content-section-heading { margin: 0 0 18px; padding: 0 0 14px; border-bottom: 1px solid #e8edf2; }
.content-section-heading h2, .content-section-heading h3, .content-section-heading h4 {
  margin: 0; color: var(--navy, #172b45); font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.3; font-weight: 800;
}
.content-section-heading h2::before, .content-section-heading h3::before, .content-section-heading h4::before {
  content: ""; display: inline-block; width: 5px; height: 1.05em; margin-right: 12px;
  vertical-align: -2px; border-radius: 4px; background: #bd8a3d;
}
.content-section-card ul, .content-section-card ol { padding-left: 1.4rem; margin: 12px 0 18px; }
.content-section-card li { padding: 3px 0 3px 4px; }
.content-section-card li::marker { color: #b48135; }
.content-section-card blockquote {
  margin: 18px 0; padding: 18px 22px; background: #f0f6fc;
  border-left: 4px solid #bd8a3d; border-radius: 0 10px 10px 0;
}
.content-section-card table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.content-section-card th, .content-section-card td { padding: 12px 14px; border: 1px solid #e1e7ee; text-align: left; }
.content-section-card th { background: #f3f6f9; color: var(--navy, #172b45); }
.entry-content img, .content-section-card img, .entry-header img {
  max-width: 100%; height: auto; border-radius: 12px; cursor: zoom-in;
  box-shadow: 0 8px 24px rgba(18,39,63,.10);
}
.entry-content figure { margin: 22px 0; max-width: 100%; }
.entry-content figcaption { padding: 9px 4px 0; color: #778393; font-size: 13px; text-align: center; }
.entry-content iframe, .entry-content video, .entry-content embed { max-width: 100%; }
.entry-content a img { transition: transform .2s ease, box-shadow .2s ease; }
.entry-content a:hover img { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(18,39,63,.16); }

/* Увећани приказ фотографија */
body.lm-lightbox-open { overflow: hidden; }
.lm-lightbox {
  position: fixed; inset: 0; z-index: 999999; display: none; align-items: center;
  justify-content: center; padding: 60px 76px 70px; background: rgba(8,15,25,.94);
}
.lm-lightbox.is-open { display: flex; }
.lm-lightbox > img {
  display: block; max-width: min(100%, 1500px); max-height: calc(100vh - 130px);
  width: auto; height: auto; object-fit: contain; border-radius: 5px;
  box-shadow: 0 18px 70px rgba(0,0,0,.4); cursor: default;
}
.lm-lightbox button {
  position: absolute; display: grid; place-items: center; width: 46px; height: 46px;
  padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
  color: #fff; background: rgba(255,255,255,.10); font-size: 30px; line-height: 1;
}
.lm-lightbox button:hover { background: rgba(255,255,255,.24); }
.lm-lightbox-close { top: 20px; right: 22px; }
.lm-lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lm-lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lm-lightbox-caption {
  position: absolute; bottom: 18px; left: 80px; right: 80px; color: #fff;
  text-align: center; font-size: 13px;
}
@media(max-width: 700px) {
  .content-section-card { padding: 19px 17px; border-radius: 13px; }
  .entry-content { font-size: 15px; }
  .lm-lightbox { padding: 64px 12px 76px; }
  .lm-lightbox > img { max-width: 100%; max-height: calc(100vh - 150px); }
  .lm-lightbox-prev { left: 8px; }
  .lm-lightbox-next { right: 8px; }
  .lm-lightbox button { width: 40px; height: 40px; font-size: 26px; }
  .lm-lightbox-caption { left: 12px; right: 12px; bottom: 14px; }
}


/* ПРИКАЗ ФОТОГРАФИЈА: никада не одсецај важан део фотографије */
.image-frame > img,
.rounded-school-image,
.program-image img,
.news-card > a > img,
.gallery-item img,
.entry-content img,
.entry-header img,
.wp-block-image img {
  object-fit: contain !important;
  object-position: center center !important;
  background: #f1f4f7;
}
.image-frame > img {
  width: 100%;
  height: 450px;
  padding: 8px;
}
.rounded-school-image {
  display: block;
  width: 100%;
  height: 470px;
  padding: 8px;
}
.program-image {
  display: grid;
  place-items: center;
  height: 220px;
  padding: 8px;
  background: #f1f4f7;
}
.program-image img {
  width: 100%;
  height: 100%;
}
.news-card > a {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 10px;
  background: #f1f4f7;
}
.news-card > a > img {
  width: 100%;
  height: 220px;
}
.gallery-item {
  display: grid;
  place-items: center;
  height: auto;
  min-height: 190px;
  max-height: 360px;
  padding: 8px;
  background: #f1f4f7;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  transition: transform .25s ease;
}
.gallery-item:hover img { transform: scale(1.015); }
.entry-content figure img,
.entry-content > img,
.content-section-card img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 620px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain !important;
}
.entry-content .wp-block-gallery,
.entry-content .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  align-items: start;
  gap: 16px;
}
.entry-content .wp-block-gallery img,
.entry-content .gallery img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain !important;
  background: #f1f4f7;
  padding: 7px;
  border-radius: 12px;
}
.hero-section {
  background-size: cover;
  background-position: center 42%;
}
@media(max-width:767px) {
  .image-frame > img, .rounded-school-image { height: auto; max-height: 390px; }
  .program-image { height: 190px; }
  .news-card > a, .news-card > a > img { min-height: 180px; height: 180px; }
  .gallery-item { min-height: 150px; }
}


/* FINAL 3.0 — refined school portal system */
:root {
  --navy: #142b46;
  --navy-dark: #0b1d31;
  --navy-light: #244765;
  --gold: #2d6da8;
  --gold-light: #9fc5e8;
  --bg: #f4f6f9;
  --border: #e5eaf0;
  --shadow: 0 12px 34px rgba(16,36,62,.065);
}
.section-padding { padding-top: clamp(58px, 7vw, 88px); padding-bottom: clamp(58px, 7vw, 88px); }
.section-heading { margin-bottom: clamp(28px, 4vw, 42px); }
.section-kicker { color: #2d6da8; letter-spacing: .14em; }
.section-title { letter-spacing: -.035em; }
.section-text { max-width: 680px; margin-left: auto; margin-right: auto; }
.main-navbar { border-bottom: 1px solid rgba(20,43,70,.06); }
.navbar .nav-link { border-radius: 7px; }
.navbar .nav-link:hover, .navbar .nav-link.active { background: #eaf2fa; }
.btn-gold, .btn-dark-custom, .btn-outline { border-radius: 8px; }
.btn-gold { background: var(--accent-blue); }
.btn-dark-custom { box-shadow: 0 5px 14px rgba(16,36,62,.12); }
.hero-section { background-position: center 42%; }
.hero-overlay { background: linear-gradient(90deg,rgba(7,23,42,.93),rgba(7,23,42,.72) 53%,rgba(7,23,42,.25)); }
.hero-content { max-width: 760px; }
.hero-content h1 { letter-spacing: -.045em; }
.hero-bottom { border-top: 1px solid rgba(255,255,255,.13); }

/* Full photographs remain visible in cards and galleries; no forced cropping. */
.image-frame { padding: 0 12px 18px 0; }
.image-frame > img, .rounded-school-image {
  display: block; width: 100%; height: auto; max-height: 480px;
  object-fit: contain; object-position: center; background: #eef1f5;
  border: 1px solid #e5eaf0; border-radius: 13px;
}
.image-frame:after { width: 55%; height: 45%; border-width: 3px; }
.image-caption { bottom: 28px; left: 18px; }
.program-card { border-radius: 13px; box-shadow: 0 5px 18px rgba(16,36,62,.035); }
.program-image { display:flex; align-items:center; justify-content:center; min-height:190px; padding:8px; background:#f1f3f6; }
.program-image img, .program-card > a img, .program-card img {
  display:block; width:100%; height:210px; object-fit:contain; object-position:center;
  background:#f1f3f6; border-radius:8px;
}
.program-body { padding:24px; }
.program-body p { min-height:0; }
.news-card { border-radius:13px; }
.news-card > a > img { display:block; width:100%; height:230px; object-fit:contain; background:#f0f2f5; }
.featured-news { border-radius:16px; }
.featured-news-image { display:flex; align-items:center; justify-content:center; padding:12px; min-height:330px; background:#f0f2f5; }
.featured-news-image img { width:100%; height:100%; max-height:440px; min-height:0; object-fit:contain; }
.news-list { box-shadow:0 5px 20px rgba(16,36,62,.035); }
.news-list-item { transition:background .2s ease; }
.news-list-item:hover { background:#f1f6fb; }
.news-list-date { border:1px solid #e9edf2; }
.quick-link { border-radius:13px; padding:27px 24px; background:#fff; box-shadow:0 5px 18px rgba(16,36,62,.025); }
.quick-link:hover { background:var(--navy); }
.gallery-item {
  height:auto; min-height:180px; display:flex; align-items:center; justify-content:center;
  padding:8px; background:#eef1f5; border:1px solid #e3e8ee; border-radius:12px;
}
.gallery-item img {
  display:block; width:100%; height:auto; max-height:310px; object-fit:contain;
  border-radius:7px; transition:transform .25s ease;
}
.gallery-item:hover img { transform:scale(1.025); }
.gallery-item span { left:8px; right:8px; bottom:8px; border-radius:0 0 7px 7px; }
.content-section-card { border-radius:13px; box-shadow:0 5px 20px rgba(16,36,62,.04); }
.content-section-heading { border-bottom-color:#e9edf2; }
.content-section-heading h2::before, .content-section-heading h3::before, .content-section-heading h4::before { background:var(--accent-blue); }
.entry-content img { display:block; max-width:100%; width:auto; height:auto; max-height:680px; object-fit:contain; margin:14px auto; background:#f1f3f6; }
.entry-content figure { text-align:center; padding:10px; border:1px solid #e8edf2; border-radius:12px; background:#fbfcfd; }
.entry-content figure img { max-height:620px; }
.entry-content .wp-block-image img { width:auto; }
.entry-content table { display:block; max-width:100%; overflow-x:auto; border-collapse:separate; border-spacing:0; border-radius:10px; }
.entry-content th { background:#f1f4f7; }
.entry-content td, .entry-content th { border-color:#e5eaf0; }
.site-footer { border-top:4px solid rgba(201,154,74,.75); }
.footer-bottom { line-height:1.7; }

/* Different page families receive layouts appropriate to their information. */
body.lm-page-exams .entry-content > .content-section-card:first-child,
body.lm-page-documents .entry-content > .content-section-card:first-child {
  border-top:4px solid var(--accent-blue);
  background:linear-gradient(145deg,#fff,#fcfbf8);
}
body.lm-page-exams .entry-content ul,
body.lm-page-exams .entry-content ol,
body.lm-page-documents .entry-content ul,
body.lm-page-documents .entry-content ol {
  list-style:none; padding-left:0; display:grid; gap:9px;
}
body.lm-page-exams .entry-content li,
body.lm-page-documents .entry-content li {
  position:relative; padding:12px 15px 12px 42px; margin:0;
  background:#f6f8fa; border:1px solid #e9edf2; border-radius:9px;
}
body.lm-page-exams .entry-content li:before,
body.lm-page-documents .entry-content li:before {
  content:"✓"; position:absolute; left:15px; top:11px; color:#2d6da8; font-weight:900;
}
body.lm-page-students .entry-content > .content-section-card:first-child {
  background:linear-gradient(135deg,#142b46,#244765); color:#fff; border:0;
}
body.lm-page-students .entry-content > .content-section-card:first-child h2,
body.lm-page-students .entry-content > .content-section-card:first-child h3,
body.lm-page-students .entry-content > .content-section-card:first-child p { color:#fff; }
body.lm-page-students .entry-content > .content-section-card:first-child h2:before,
body.lm-page-students .entry-content > .content-section-card:first-child h3:before { background:var(--accent-blue-light); }
body.lm-page-contact .entry-content > .content-section-card {
  border-left:3px solid var(--accent-blue);
}
body.lm-page-gallery .entry-content { display:block; }
body.lm-page-gallery .entry-content .content-section-card { margin-bottom:18px; }
body.lm-page-about .entry-content > .content-section-card:first-child {
  border-top:4px solid var(--accent-blue);
}
.lm-page-exams .entry-content a[href$=".pdf"],
.lm-page-documents .entry-content a[href$=".pdf"],
.entry-content a[href$=".pdf"] {
  display:inline-flex; align-items:center; gap:8px; padding:10px 15px;
  margin:5px 5px 5px 0; border:1px solid #e5eaf0; border-radius:8px;
  background:#f7f9fb; color:#80591f; font-weight:700; text-decoration:none;
}
.entry-content a[href$=".pdf"]:before { content:"↧"; font-size:17px; }

/* Image viewer and mobile refinements */
.lm-lightbox { background:rgba(7,16,28,.96); }
.lm-lightbox > img { background:transparent; box-shadow:none; }
.lm-lightbox button { backdrop-filter:blur(8px); }
@media(max-width:767px) {
  .featured-news-image, .featured-news-image img { min-height:190px; max-height:320px; }
  .program-image img, .program-card > a img, .program-card img { height:190px; }
  .gallery-item { min-height:130px; }
  .gallery-item img { max-height:230px; }
  .image-frame > img, .rounded-school-image { max-height:360px; }
  .hero-section { background-position:58% center; }
  .news-list-item { grid-template-columns:50px minmax(0,1fr); }
  .content-section-card { padding:19px 17px; }
}
@media(prefers-reduced-motion:reduce) {
  .program-card, .news-list-item, .gallery-item img { transition:none !important; }
}


/* FINAL SCHOOL PALETTE: navy, blue shades and white — no gold accents */
:root {
  --navy: #102b4e;
  --navy-dark: #0a1f39;
  --blue: #1d4f82;
  --blue-light: #eaf2fa;
  --accent-blue: #2d6da8;
  --accent-blue-light: #75a9d8;
  --gold: #2d6da8;
  --gold-light: #75a9d8;
  --white: #ffffff;
}
body { color:#24364a; background:#fff; }
.topbar, .site-header, .site-footer { background:var(--navy-dark); }
.btn-gold, .btn-dark-custom { background:var(--blue); border-color:var(--blue); color:#fff; }
.btn-gold:hover, .btn-dark-custom:hover { background:var(--navy-dark); border-color:var(--navy-dark); color:#fff; }
.text-gold, .topbar a:hover, .site-footer a:hover { color:var(--accent-blue) !important; }
.section-kicker, .card-category { color:var(--blue); }
.hero-content h1 span, .hero-stat i, .image-caption i { color:#b9d7f2; }
.hero-section { background-color:var(--navy); }
.hero-section::before { background:linear-gradient(110deg, rgba(8,27,49,.94), rgba(16,55,91,.68)); }
.hero-section:not([style*="--hero-image"]) { background-image:linear-gradient(125deg,#102b4e,#2d6da8); }
.section-light { background:#f2f6fb; }
.quick-link:hover, .program-card:hover { border-color:#8fb6dc; }
.content-section-heading h2::before, .content-section-heading h3::before, .content-section-heading h4::before { background:var(--accent-blue); }
.content-section-card, .contact-card { border-color:#d5e2ef; }
.school-gallery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.school-gallery-grid .gallery-item { display:block; height:auto; min-height:0; overflow:hidden; border-radius:12px; background:#eaf2fa; border:1px solid #d5e2ef; }
.school-gallery-grid .gallery-item img { display:block; width:100%; height:auto; max-height:360px; object-fit:contain; background:#eaf2fa; }
.school-gallery-grid .gallery-item span { background:linear-gradient(transparent,rgba(8,27,49,.88)); }
.gallery-empty-state { grid-column:1/-1; padding:32px; text-align:center; background:#f2f6fb; border:1px solid #d5e2ef; border-radius:12px; color:#334b65; }
.gallery-empty-state i { font-size:32px; color:var(--blue); }
.school-photo-placeholder { min-height:300px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:24px; text-align:center; color:#fff; background:linear-gradient(135deg,#102b4e,#2d6da8); border-radius:14px; }
.school-photo-placeholder i { font-size:48px; }
@media(max-width:767px){ .school-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;} .school-gallery-grid .gallery-item img{max-height:260px;} }
@media(max-width:420px){ .school-gallery-grid{grid-template-columns:1fr;} }


/* ГАЛЕРИЈА – засебна прегледна мрежа, без празних блокова и непотребног скроловања */
.lm-gallery-header { text-align:center; max-width:760px; margin:0 auto 34px; }
.lm-gallery-header .section-title { margin:10px 0 12px; }
.lm-gallery-masonry { columns:3 260px; column-gap:18px; }
.lm-gallery-tile { display:block; position:relative; break-inside:avoid; margin:0 0 18px; overflow:hidden; border-radius:14px; background:#e7eef6; box-shadow:0 8px 24px rgba(16,36,62,.10); }
.lm-gallery-tile img { display:block; width:100%; height:auto; max-height:520px; object-fit:contain; transition:transform .25s ease; }
.lm-gallery-tile:hover img { transform:scale(1.025); }
.lm-gallery-tile span { position:absolute; inset:auto 0 0; padding:26px 14px 12px; color:#fff; font-weight:700; font-size:14px; background:linear-gradient(transparent,rgba(8,27,49,.88)); }
.lm-gallery-fallback { max-width:760px; margin:30px auto; padding:34px; text-align:center; background:#fff; border:1px solid #d8e4f0; border-radius:16px; box-shadow:0 12px 34px rgba(16,36,62,.07); }
.lm-gallery-fallback h2 { color:#102b4e; }
.lm-gallery-fallback p { color:#52657a; }
@media(max-width:767px){ .lm-gallery-masonry{columns:2 150px;column-gap:10px;} .lm-gallery-tile{margin-bottom:10px;border-radius:10px;} }
@media(max-width:420px){ .lm-gallery-masonry{columns:1;} }

/* Образовни профили и дуално образовање — јасна плава/бела презентација */
.lm-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:30px}
.lm-profile-card{display:flex;gap:16px;align-items:flex-start;padding:24px;background:#fff;border:1px solid #dce7f3;border-radius:15px;box-shadow:0 8px 24px rgba(18,48,82,.06);min-height:190px;transition:transform .2s ease,box-shadow .2s ease}
.lm-profile-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(18,48,82,.11)}
.lm-profile-icon{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;border-radius:12px;background:#eaf3fc;color:#174b7e;font-size:21px}
.lm-profile-field{display:block;color:#47749e;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;margin-bottom:8px}
.lm-profile-content h3{font-size:18px;line-height:1.35;color:#173653;margin:0 0 9px}
.lm-profile-content p{font-size:14px;line-height:1.65;color:#5d6d7d;margin:0 0 12px}
.lm-dual-tag{display:inline-block;padding:5px 9px;border-radius:20px;background:#e7f2fc;color:#174b7e;font-size:10px;font-weight:800;letter-spacing:.04em}
.lm-profile-note,.lm-instagram-note{margin:20px 0 0;color:#68798a;font-size:12px;line-height:1.6}
.lm-dual-section{background:#f2f7fc}
.lm-dual-intro{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:28px 32px;background:#fff;border:1px solid #dce7f3;border-radius:16px;margin:28px 0}
.lm-dual-intro h3{color:#173653;font-size:23px;margin:0 0 9px}
.lm-dual-intro p{color:#5d6d7d;margin:0 0 17px;max-width:650px}
.lm-dual-symbol{width:140px;height:120px;flex:0 0 140px;border-radius:14px;background:#eaf3fc;color:#174b7e;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.lm-dual-symbol i{font-size:36px}.lm-dual-symbol span{font-size:10px;font-weight:800;letter-spacing:.08em}
.lm-instagram-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}
.lm-instagram-card{min-width:0;background:#fff;border:1px solid #dce7f3;border-radius:12px;overflow:hidden;padding:8px;min-height:320px}
.lm-instagram-card .instagram-media{width:100%!important;min-width:0!important;max-width:100%!important;margin:0 auto!important;border:0!important;box-shadow:none!important}
.lm-dual-section .section-heading{text-align:center}
@media(max-width:991px){.lm-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lm-instagram-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.lm-profile-grid,.lm-instagram-grid{grid-template-columns:1fr}.lm-profile-card{min-height:0}.lm-dual-intro{padding:22px;align-items:flex-start}.lm-dual-symbol{width:74px;height:74px;flex-basis:74px}.lm-dual-symbol i{font-size:25px}.lm-dual-symbol span{display:none}}


/* 3.4 — профили и огласна табла: јединствена плава палета, без златних акцената */
:root { --gold:#2d6da8; --gold-light:#75a9d8; --accent-blue:#2d6da8; --accent-blue-light:#75a9d8; }
.navbar .nav-link:hover, .navbar .nav-link.active, .dropdown-item:hover { color:#1d4f82 !important; }
.program-card .card-category, .card-category, .program-body a, .text-gold { color:#1d5b94 !important; }
.navbar .nav-link.active { font-weight:900; }
.entry-content a, .text-gold { color:#1d5b94 !important; }
.entry-content a:hover, .text-gold:hover { color:#102b4e !important; }
.btn-gold, .nav-cta, .btn-dark-custom { color:#fff !important; }
.lm-profile-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.lm-profile-card { min-width:0; overflow:hidden; border:1px solid #dbe6f1; border-radius:16px; background:#fff; box-shadow:0 10px 28px rgba(16,43,78,.07); transition:transform .2s ease, box-shadow .2s ease; }
.lm-profile-card:hover { transform:translateY(-4px); box-shadow:0 16px 34px rgba(16,43,78,.13); }
.lm-profile-image { display:block; height:190px; overflow:hidden; background:#eaf2fa; }
.lm-profile-image img { display:block; width:100%; height:100%; object-fit:contain; object-position:center; }
.lm-profile-content { padding:20px; }
.lm-profile-field { display:inline-block; color:#245b8f; font-size:10px; line-height:1.4; font-weight:800; text-transform:uppercase; letter-spacing:.07em; margin-bottom:8px; }
.lm-profile-content h3 { color:#102b4e; font-size:18px; line-height:1.3; margin:0 0 10px; }
.lm-profile-content p { color:#586b80; font-size:13px; line-height:1.7; margin:0 0 14px; }
.lm-profile-meta { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; color:#52677d; font-size:11px; font-weight:700; }
.lm-dual-tag { display:inline-block; padding:5px 8px; border-radius:20px; color:#174d7e; background:#e7f1fb; font-size:9px; font-weight:900; letter-spacing:.05em; }
.lm-profile-note { max-width:850px; margin:24px auto 0; color:#64758a; text-align:center; font-size:12px; }
.lm-profile-group { margin:38px 0 48px; }
.lm-profile-group-heading { display:flex; align-items:center; gap:14px; padding:0 0 16px; margin-bottom:20px; border-bottom:1px solid #d9e4ef; }
.lm-profile-group-heading h2 { color:#102b4e; font-size:25px; margin:3px 0 0; }
.lm-profile-group-icon { width:48px; height:48px; display:grid; place-items:center; flex:0 0 48px; border-radius:12px; color:#fff; background:#1d4f82; font-size:22px; }
.lm-noticeboard-intro { margin:0 auto 28px; padding:22px 26px; border:1px solid #d8e4f0; border-left:4px solid #2d6da8; border-radius:12px; background:#fff; }
.lm-notice-section { margin:34px 0 42px; }
.lm-notice-heading { display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.lm-notice-heading h2 { margin:0; color:#102b4e; font-size:24px; }
.lm-notice-icon { width:42px; height:42px; display:grid; place-items:center; border-radius:11px; background:#e5eff9; color:#1d4f82; font-size:19px; }
.lm-notice-count { display:inline-grid; place-items:center; min-width:27px; height:27px; padding:0 7px; border-radius:20px; background:#1d4f82; color:#fff; font-size:11px; font-weight:800; }
.lm-notice-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.lm-notice-card { display:flex; flex-direction:column; padding:22px; border:1px solid #dbe6f1; border-radius:14px; background:#fff; box-shadow:0 8px 24px rgba(16,43,78,.06); }
.lm-notice-card-top { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px; margin-bottom:14px; }
.lm-notice-date { color:#718196; font-size:11px; font-weight:700; }
.lm-notice-tag { padding:5px 8px; border-radius:20px; color:#245b8f; background:#eaf2fa; font-size:9px; font-weight:900; }
.lm-notice-card h3 { margin:0 0 10px; font-size:17px; line-height:1.4; }
.lm-notice-card h3 a { color:#102b4e; }
.lm-notice-card h3 a:hover { color:#2d6da8; }
.lm-notice-card p { color:#617287; font-size:13px; line-height:1.7; margin-bottom:18px; }
.lm-notice-more { display:inline-flex; align-items:center; gap:8px; margin-top:auto; color:#1d5b94; font-size:12px; font-weight:800; }
.lm-notice-empty { padding:40px; text-align:center; border:1px dashed #b9cde1; border-radius:14px; background:#fff; color:#52677d; }
.lm-notice-empty i { color:#2d6da8; font-size:30px; }
@media(max-width:991px) { .lm-profile-grid,.lm-notice-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:575px) { .lm-profile-grid,.lm-notice-grid { grid-template-columns:1fr; } .lm-profile-image { height:210px; } .lm-profile-group-heading h2 { font-size:20px; } .lm-notice-heading h2 { font-size:20px; } }

/* Потпуно уклањање преосталих старих златних боја */
.navbar .nav-link.active { color:#1d4f82 !important; }
.value-item > i, .program-body .card-category, .program-card .card-category { color:#2d6da8 !important; }
.news-list-copy h4 a:hover, .news-body h3 a:hover { color:#2d6da8 !important; }
.entry-content a { color:#1d5b94 !important; }
/* Активна страница у навигацији: бела слова на плавој подлози, без златне боје */
.navbar .nav-link.active { color:#fff !important; background:#1d4f82; border-radius:7px; }


/* 3.5 — pages populated from the school's published information */
.lm-information-page { min-height: 60vh; }
.lm-information-page .lm-gallery-header { max-width: 850px; margin: 0 auto 42px; text-align: center; }
.lm-info-highlight, .lm-staff-intro {
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:28px 32px; margin:0 0 30px; border:1px solid #dce6f0; border-left:5px solid #286da8;
  border-radius:12px; background:#fff; box-shadow:0 10px 30px rgba(16,36,62,.05);
}
.lm-info-highlight h2, .lm-staff-intro h2 { color:#10243e; font-size:23px; margin:7px 0 9px; }
.lm-info-highlight p, .lm-staff-intro p { color:#596779; line-height:1.8; margin:0; }
.lm-info-label { color:#286da8; font-size:10px; font-weight:800; letter-spacing:1.5px; }
.lm-info-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.lm-info-grid-two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.lm-info-card { background:#fff; border:1px solid #dfe7ef; border-radius:12px; padding:25px; box-shadow:0 8px 25px rgba(16,36,62,.045); display:flex; flex-direction:column; min-height:230px; }
.lm-info-card h2 { font-size:19px; line-height:1.4; margin:15px 0 10px; color:#10243e; }
.lm-info-card h2 a { color:#10243e; }
.lm-info-card p { color:#596779; font-size:13px; line-height:1.8; flex:1; }
.lm-info-card-meta { display:flex; justify-content:space-between; gap:12px; align-items:center; color:#62758a; font-size:11px; }
.lm-info-chip { display:inline-flex; align-items:center; border-radius:20px; background:#eaf3fb; color:#205b91; padding:6px 10px; font-size:9px; font-weight:800; letter-spacing:.8px; }
.lm-info-link { display:inline-flex; gap:8px; align-items:center; color:#1765a5; font-size:12px; font-weight:800; margin-top:14px; }
.lm-info-link:hover { color:#10243e; }
.lm-document-card { min-height:250px; }
.lm-document-icon, .lm-staff-symbol { width:48px; height:48px; display:grid; place-items:center; border-radius:11px; background:#eaf3fb; color:#1c67a5; font-size:23px; margin-bottom:12px; }
.lm-info-warning { display:flex; gap:16px; align-items:flex-start; padding:20px 23px; margin:26px 0; border:1px solid #cbdced; border-radius:10px; background:#f0f6fc; color:#24537e; }
.lm-info-warning > i { font-size:22px; margin-top:2px; }
.lm-info-warning strong { display:block; margin-bottom:5px; color:#173e63; }
.lm-info-warning p { margin:0; color:#526c84; font-size:13px; line-height:1.75; }
.lm-info-footer-link { margin-top:28px; text-align:center; }
.lm-info-footer-link a { color:#1765a5; font-size:13px; font-weight:800; }
.lm-info-empty { padding:35px; border:1px dashed #b9cadd; background:white; border-radius:12px; text-align:center; }
.lm-info-empty p { color:#596779; }
.lm-pdf-viewer { background:#fff; border:1px solid #dfe7ef; border-radius:12px; overflow:hidden; box-shadow:0 12px 32px rgba(16,36,62,.07); }
.lm-pdf-toolbar { display:flex; justify-content:space-between; align-items:center; gap:15px; padding:16px 20px; border-bottom:1px solid #e3eaf1; color:#10243e; }
.lm-pdf-toolbar strong { font-size:14px; }
.lm-pdf-toolbar strong i { color:#246da8; margin-right:7px; }
.lm-pdf-viewer iframe { width:100%; height:850px; border:0; display:block; background:#edf2f7; }
.lm-staff-intro { justify-content:flex-start; }
.lm-staff-symbol { flex:0 0 58px; width:58px; height:58px; font-size:27px; margin:0; }
.lm-contact-strip { display:flex; align-items:center; flex-wrap:wrap; gap:18px 28px; margin-top:24px; padding:22px 25px; border-radius:11px; background:#102b49; color:#fff; }
.lm-contact-strip div { flex:1 1 240px; }
.lm-contact-strip strong, .lm-contact-strip span { display:block; }
.lm-contact-strip span { color:#c5d4e3; font-size:12px; margin-top:5px; }
.lm-contact-strip a { color:#fff; font-weight:700; font-size:13px; }
@media(max-width:850px) {
  .lm-info-grid, .lm-info-grid-two { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .lm-info-highlight { align-items:flex-start; flex-direction:column; }
}
@media(max-width:575px) {
  .lm-info-grid, .lm-info-grid-two { grid-template-columns:1fr; }
  .lm-info-highlight, .lm-staff-intro { padding:21px; }
  .lm-pdf-toolbar { align-items:flex-start; flex-direction:column; }
  .lm-pdf-viewer iframe { height:620px; }
}


/* Refined hero, admissions and team navigation */
.hero-section { min-height: 740px; background-position: center 38%; }
.hero-section::before { content:""; position:absolute; inset:0; background:linear-gradient(105deg,rgba(7,23,42,.94) 0%,rgba(7,23,42,.79) 48%,rgba(7,23,42,.28) 100%); z-index:0; }
.hero-overlay { background:linear-gradient(0deg,rgba(7,23,42,.38),transparent 42%); }
.hero-content { max-width:790px; padding:112px 0 170px; }
.hero-content h1 { max-width:760px; font-size:clamp(43px,6.1vw,78px); line-height:1.06; }
.hero-content h1 span { display:block; color:#d8b16c; }
.hero-content p { max-width:620px; font-size:18px; }
.hero-section .eyebrow { color:#e9c98f; letter-spacing:2.5px; }
.hero-stat { font-size:13px; }
.navbar .dropdown-menu { border:1px solid rgba(17,43,70,.08); border-radius:12px; padding:9px; box-shadow:0 18px 42px rgba(13,35,58,.14); }
.dropdown-submenu { position:relative; }
.dropdown-submenu > .dropdown-menu { top:-8px; left:100%; margin-left:5px; }
.dropdown-submenu > .dropdown-toggle::after { float:right; margin-top:8px; transform:rotate(-90deg); }
@media (min-width:992px) {
  .navbar .dropdown:hover > .dropdown-menu, .navbar .dropdown:focus-within > .dropdown-menu { display:block; }
  .dropdown-submenu:hover > .dropdown-menu, .dropdown-submenu:focus-within > .dropdown-menu { display:block; }
}
@media (max-width:991.98px) {
  .dropdown-submenu > .dropdown-menu { position:static; margin:4px 0 6px 12px; box-shadow:none; border:0; border-left:2px solid #d9e5ef; border-radius:0; }
  .dropdown-submenu > .dropdown-toggle::after { transform:rotate(0); }
  .hero-section { min-height:680px; }
  .hero-content { padding:90px 0 160px; }
}
.lm-admissions-section { background:#f3f6fa; }
.lm-admissions-panel { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(260px,.75fr); overflow:hidden; border-radius:24px; background:#fff; box-shadow:0 22px 60px rgba(17,43,70,.09); }
.lm-admissions-copy { padding:clamp(28px,5vw,58px); }
.lm-admissions-copy h2 { color:#10243e; font-size:clamp(29px,3.5vw,43px); line-height:1.16; max-width:650px; margin:0 0 18px; }
.lm-admissions-copy p { color:#5c6877; line-height:1.85; max-width:680px; }
.lm-admissions-points { display:grid; gap:11px; margin:24px 0 28px; color:#263d55; font-weight:600; font-size:14px; }
.lm-admissions-points i { color:#b78332; margin-right:8px; }
.lm-admissions-actions { display:flex; flex-wrap:wrap; align-items:center; gap:18px; }
.lm-admissions-external { color:#173d63; font-weight:700; text-decoration:none; font-size:14px; }
.lm-admissions-external:hover { color:#b78332; }
.lm-admissions-side { display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; gap:13px; padding:36px; color:white; background:linear-gradient(145deg,#102b4b,#245987); }
.lm-admissions-icon { display:grid; place-items:center; width:88px; height:88px; border:1px solid rgba(255,255,255,.35); border-radius:50%; font-size:38px; color:#e6c58c; }
.lm-admissions-side strong { font:800 24px/1.2 Manrope,sans-serif; }
.lm-admissions-side span { max-width:230px; color:#d8e4ef; line-height:1.7; font-size:14px; }
.lm-team-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; max-width:980px; margin:0 auto; }
.lm-team-card { display:flex; flex-direction:column; align-items:flex-start; padding:34px; min-height:310px; text-decoration:none; color:inherit; background:#fff; border:1px solid #e7edf3; border-radius:18px; box-shadow:0 12px 34px rgba(17,43,70,.06); transition:transform .25s,box-shadow .25s; }
.lm-team-card:hover { transform:translateY(-5px); box-shadow:0 20px 45px rgba(17,43,70,.12); }
.lm-team-icon { display:grid; place-items:center; width:62px; height:62px; border-radius:16px; background:#eaf3fb; color:#1c67a5; font-size:28px; margin-bottom:22px; }
.lm-team-card h2 { color:#10243e; font-size:25px; margin:12px 0; }
.lm-team-card p { color:#596779; line-height:1.8; flex:1; }
.lm-team-card .lm-info-link { margin-top:16px; }
@media(max-width:767px) {
 .lm-admissions-panel { grid-template-columns:1fr; }
 .lm-admissions-side { min-height:220px; }
 .lm-team-grid { grid-template-columns:1fr; }
 .lm-team-card { min-height:260px; }
 .hero-content h1 { font-size:clamp(39px,10vw,55px); }
 .hero-content p { font-size:16px; }
 .hero-bottom { padding:13px 0; }
 .hero-stat { flex-direction:column; gap:5px; text-align:center; font-size:10px; }
}

.lm-enrollment-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin:30px 0 18px; }
.lm-enrollment-steps article { position:relative; padding:28px 25px; background:#fff; border:1px solid #e6edf4; border-radius:16px; box-shadow:0 10px 28px rgba(17,43,70,.045); }
.lm-enrollment-steps article > span { position:absolute; top:19px; right:20px; color:#c4d1df; font:800 23px Manrope,sans-serif; }
.lm-enrollment-steps article > i { display:grid; place-items:center; width:48px; height:48px; border-radius:13px; color:#1c67a5; background:#eaf3fb; font-size:22px; margin-bottom:19px; }
.lm-enrollment-steps h2 { color:#10243e; font-size:20px; margin:0 0 10px; }
.lm-enrollment-steps p { min-height:78px; color:#5b6877; font-size:14px; line-height:1.75; }
.lm-enrollment-steps a { color:#1b5e94; font-size:13px; font-weight:800; text-decoration:none; }
.lm-enrollment-note { display:flex; gap:12px; align-items:flex-start; padding:16px 19px; margin-bottom:28px; background:#edf4fa; border-radius:12px; color:#38516a; }
.lm-enrollment-note i { color:#1c67a5; margin-top:3px; }
.lm-enrollment-note p { margin:0; font-size:13px; line-height:1.7; }
@media(max-width:767px) { .lm-enrollment-steps { grid-template-columns:1fr; } .lm-enrollment-steps p { min-height:0; } }

.dropdown-submenu > .dropdown-menu.show { display:block; }


/* Refined hero + prominent school social profiles */
.hero-overlay {
  background: linear-gradient(90deg, rgba(7,23,42,.70), rgba(7,23,42,.43) 52%, rgba(7,23,42,.10));
}
.hero-content { max-width: 680px; }
.hero-content h1 { margin-bottom: 17px; }
.hero-content p { color: #f2f6fa; font-size: 16px; line-height: 1.65; max-width: 510px; text-shadow: 0 1px 8px rgba(0,0,0,.18); }
.hero-bottom { background: rgba(6,22,39,.48); backdrop-filter: blur(8px); }
.lm-social-links { display:flex; flex-wrap:wrap; gap:12px; margin:18px 0 16px; }
.lm-social-link { display:flex; align-items:center; gap:12px; min-width:245px; padding:13px 15px; border:1px solid #dce7f3; border-radius:13px; background:#fff; color:#173653; text-decoration:none; transition:transform .2s ease, box-shadow .2s ease; }
.lm-social-link:hover { transform:translateY(-3px); box-shadow:0 9px 24px rgba(23,54,83,.12); color:#173653; }
.lm-social-link > i:first-child { display:grid; place-items:center; width:42px; height:42px; flex:0 0 42px; border-radius:12px; font-size:22px; color:#fff; background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); }
.lm-social-facebook > i:first-child { background:#1877f2; }
.lm-social-link span { display:flex; flex-direction:column; line-height:1.3; }
.lm-social-link strong { font-size:14px; }
.lm-social-link small { margin-top:3px; color:#718096; font-size:11px; }
.lm-social-link > i:last-child { margin-left:auto; color:#8a9bad; }
.lm-dual-more { display:inline-flex; }
@media(max-width:600px) { .lm-social-links { flex-direction:column; } .lm-social-link { width:100%; } .hero-overlay { background:linear-gradient(90deg,rgba(7,23,42,.66),rgba(7,23,42,.36)); } }
