/* =====================================================================
   St. Francis Sadabad — Retro restyle for legacy internal content.
   These rules restyle the surviving pre-retro content markup so every
   existing .aspx page renders with the retro vintage theme WITHOUT
   editing the content files. The original markup remains untouched.
   ===================================================================== */

/* ---------- Page hero (converts legacy .breadcrumb-area into a retro banner) ---------- */
.breadcrumb-area {
  position: relative;
  padding: 110px 0 90px;
  background: linear-gradient(135deg, #4A0E1E 0%, #8E1F3C 100%);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.breadcrumb-area-bg {
  position: absolute;
  inset: 0;
  background-size: cover !important;
  background-position: center !important;
  opacity: .18;
  z-index: 0;
}
.breadcrumb-area .container { position: relative; z-index: 2; }
.breadcrumb-area .inner-content { position: relative; }
.breadcrumb-area .title h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.breadcrumb-area .breadcrumb-menu {
  margin-top: 16px;
}
.breadcrumb-area .breadcrumb-menu ul {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 8px 18px;
  background: rgba(0,0,0,.28);
  border: 1px solid var(--gold);
  border-radius: 3px;
  flex-wrap: wrap;
  justify-content: center;
}
.breadcrumb-area .breadcrumb-menu ul li {
  font-family: var(--font-body);
  font-size: .85rem;
  color: rgba(255,255,255,.75);
}
.breadcrumb-area .breadcrumb-menu ul li a { color: var(--gold); text-decoration: none; }
.breadcrumb-area .breadcrumb-menu ul li.active { color: #fff; font-weight: 600; }
.breadcrumb-area .breadcrumb-menu ul li::after { content: "/"; margin-left: 8px; color: rgba(255,255,255,.35); }
.breadcrumb-area .breadcrumb-menu ul li:last-child::after { content: ""; display: none; }

/* ---------- Content wrapper padding ---------- */
.container.mt-5.mb-5 { padding-top: 8px; }

/* ---------- Section blocks (blog details text) ---------- */
.blog-details-page__text-5,
.about-style1__inner {
  background: var(--light);
  border: 2px solid var(--border);
  border-radius: 3px;
  box-shadow: var(--shadow-card);
  padding: 34px 32px;
  margin-bottom: 26px;
}
.blog-details-page__text-5 { margin-top: 26px; }

.inner-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  border-bottom: 2px double var(--gold-2);
  padding-bottom: 12px;
}
.inner-title .dot-box {
  width: 14px; height: 14px;
  background: var(--grad-gold);
  border: 1px solid var(--navy);
  border-radius: 2px;
  flex-shrink: 0;
  transform: rotate(45deg);
}
.inner-title h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.inner-text ul,
.breadcrumb-area + * ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.inner-text ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.7;
}
.inner-text ul li::before {
  content: "";
  position: absolute; left: 2px; top: .6em;
  width: 10px; height: 10px;
  background: var(--gold-2);
  border: 1px solid var(--navy);
  transform: rotate(45deg);
}
.inner-text ul li strong { font-weight: 700; color: var(--navy); }

/* ---------- Generic content typography ---------- */
.container p { line-height: 1.7; color: var(--muted); }
.container p.lead { font-size: 1.15rem; color: var(--muted); }
.container h2, .container h3, .container h4, .container h5 {
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 700;
}

/* ---------- Cards & tables (school timings) ---------- */
.card {
  background: var(--light);
  border: 2px solid var(--border);
  border-radius: 3px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  overflow: hidden;
}
.card-header {
  background: linear-gradient(135deg,#4A0E1E,#8E1F3C);
  border-bottom: 2px solid var(--gold);
  padding: 16px 20px;
}
.card-header h4 {
  color: #fff; font-family: Georgia, "Times New Roman", serif;
  font-weight: 800; margin: 0; display: flex; align-items: center; gap: 10px;
}
.card-header h4 img { border: 1px solid var(--gold); border-radius: 3px; }
.card-body { padding: 20px; }
.table {
  width: 100%; border-collapse: collapse; margin-bottom: 0;
}
.table td {
  padding: 10px 14px; border: 1px solid var(--border);
  font-size: .9rem; color: var(--text); text-align: center;
}
.table tr:first-child td {
  background: #F3E7CF;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700; color: var(--navy); letter-spacing: .5px;
}

/* ---------- About / Mission-Vision ---------- */
.about-style1-content .top p,
.about-style1-content .bottom-text p,
.about-style1-img-box .inner p {
  color: var(--text); line-height: 1.75; text-align: justify;
}
.about-style1-content { padding-right: 10px; }
.about-style1-img-box .inner img {
  width: 100%; height: auto;
  border-radius: 3px;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-card);
}
.about-style1-img-box .inner {
  background: var(--light);
  border: 2px solid var(--border);
  border-radius: 3px;
  padding: 18px;
}

/* ---------- Admission list (start-admission-box) ---------- */
.start-admission-box {
  list-style: none; margin: 0; padding: 0;
}
.start-admission-box li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px;
  margin-bottom: 14px;
  background: var(--light);
  border: 2px solid var(--border);
  border-left: 6px solid var(--gold-2);
  border-radius: 3px;
  box-shadow: var(--shadow-card);
}
.start-admission-box li .icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#4A0E1E,#8E1F3C);
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.1rem;
}
.start-admission-box li h3 { margin: 0; font-family: var(--font-body); font-size: 1rem; color: var(--text); font-weight: 500; line-height: 1.7; }
.start-admission-box li h3 a { color: var(--text); text-decoration: none; }

/* ---------- Contact page ---------- */
.quick-contact-info-area { margin-top: 0; }
.quick-contact-info-title iframe {
  border: 3px solid var(--gold);
  border-radius: 3px;
  box-shadow: var(--shadow-card);
  display: block;
  width: 100%;
}
.quick-contact-info-single-box {
  background: var(--light);
  border: 2px solid var(--border);
  border-radius: 3px;
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  height: 100%;
  text-align: center;
}
.quick-contact-info-single-box .icon {
  width: 52px; height: 52px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#4A0E1E,#8E1F3C);
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.2rem;
}
.quick-contact-info-single-box h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem; font-weight: 800; color: var(--navy);
}
.quick-contact-info-single-box p { color: var(--muted); font-size: .85rem; }
.quick-contact-info-single-box a { color: var(--navy); font-weight: 600; text-decoration: none; }
.quick-contact-info-single-box a:hover { color: var(--gold-2); }

/* ---------- Admission page (Admission.aspx) ---------- */
.admission-block {
  background: var(--light);
  border: 2px solid var(--border);
  border-bottom: 5px solid var(--gold-2);
  border-radius: 3px;
  box-shadow: var(--shadow-card);
  margin: 10px;
  padding: 22px 34px;
  text-align: center;
}
.admission-title { margin: 0; }
.admission-link {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem; font-weight: 800; color: var(--navy);
  text-decoration: none;
}
.admission-link:hover { color: var(--gold-2); }
.enroll-now {
  display: inline-block;
  background: linear-gradient(135deg,#4A0E1E,#8E1F3C);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 14px 34px;
  border: 2px solid var(--gold);
  border-radius: 3px;
  text-decoration: none;
}
.enroll-now:hover { background: var(--navy); color: var(--gold); }
.Heading {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800; color: var(--navy);
}
.responsive-img {
  border: 3px solid var(--gold) !important;
  border-radius: 6px !important;
  box-shadow: var(--shadow-card);
}

/* ---------- Gallery album cards (gallery.aspx) ---------- */
.single-event-one { margin-bottom: 28px; }
.single-event-one__inner {
  position: relative;
  background: var(--light);
  border: 2px solid var(--border);
  border-radius: 3px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.single-event-one__inner .img-holder {
  position: relative;
  overflow: hidden;
}
.single-event-one__inner .img-holder > a { display: block; }
.single-event-one__inner .img-holder img {
  width: 100%; height: 240px; object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.single-event-one__inner:hover .img-holder img { transform: scale(1.06); }
.single-event-one__inner .overlay-content {
  background: linear-gradient(to top, rgba(74,14,30,.85), rgba(74,14,30,0));
  padding: 34px 12px 16px;
}
.single-event-one__inner .date-box h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold);
  font-weight: 800; margin: 0; font-size: 1.1rem;
}

/* ---------- Photo gallery view (photogalleryview.aspx) ---------- */
#albumgallery .col-xl-4, #albumgallery .col-lg-6, #albumgallery .col-md-6 { margin-bottom: 24px; }
#albumgallery img {
  width: 100%; height: 240px; object-fit: cover;
  border-radius: 3px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-card);
}
#albumgallery a { display: block; }