/* ═══════════════════════════════════════════════════════════════════
   inner-v3.css — site-wide theme for every inner page
   (all pages built as: banner · section.content > .col-xl-9 card + *sidemenu.php)
   Matches the homepage "v3" look: white page, page header with breadcrumb + title,
   square cards, red/gold accents, navy for emphasis only.
   Loaded after professional.css / light-theme.css in homepageheadpart.php.
   The page-header text is filled in by the small script in homepageheadpart.php.
   To undo: remove the <link> (and the script) from homepageheadpart.php.
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. Page header (the banner strip under the menu) ─────────────── */
.image-line-innerpage.pb-on,
[class*="image-line-innerpage-"].pb-on{height:auto!important;min-height:150px!important;padding:26px 0!important}
.image-line-innerpage.pb-on::before,
[class*="image-line-innerpage-"].pb-on::before{display:none!important}
.image-line-innerpage::after,
[class*="image-line-innerpage-"]::after{
  background:linear-gradient(100deg,rgba(11,25,64,.94) 0%,rgba(26,46,108,.86) 55%,rgba(26,46,108,.55) 100%)!important;
}
.pb-in{position:relative;z-index:2;width:100%;max-width:1440px;margin:0 auto;padding:0 28px}
.pb-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font:600 11px/1.4 'Inter',sans-serif;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.72);margin-bottom:12px}
.pb-crumb a{color:rgba(255,255,255,.72)!important;text-decoration:none!important}
.pb-crumb a:hover{color:#f5a623!important}
.pb-crumb i{font-style:normal;color:#f5a623}
.pb-crumb b{color:#fff;font-weight:700}
.pb-title{font:800 clamp(1.5rem,2.8vw,2.3rem)/1.15 'Montserrat',sans-serif!important;color:#fff!important;margin:0!important;letter-spacing:-.01em;display:flex;align-items:center;gap:14px}
.pb-title::before{content:'';flex:none;width:6px;align-self:stretch;min-height:1.1em;background:#f5a623}

/* ── 2. Page body: white, centred, readable width ──────────────────── */
section.content{background:#fff!important;padding-top:36px!important;padding-bottom:56px!important}
section.content > .container-fluid{max-width:1440px!important;margin:0 auto!important;padding-left:20px!important;padding-right:20px!important}
section.content > .container-fluid > .row{margin-left:-12px!important;margin-right:-12px!important}

/* Main card: no box, no rounded corners — content sits on the page like an article */
section.content .col-xl-9 > .card{border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}
section.content .col-xl-9 > .card:hover{box-shadow:none!important}

/* Title bar → clean heading (hidden when the page header already shows the same title) */
section.content .col-xl-9 > .card > .card-body > .card-header{
  background:#fff!important;color:#0b1940!important;
  font:800 clamp(1.3rem,2vw,1.7rem)/1.2 'Montserrat',sans-serif!important;
  padding:0 0 14px!important;min-height:0!important;margin:0 32px!important;
  border:0!important;border-bottom:1px solid #e3e8f3!important;border-radius:0!important;position:relative;
}
section.content .col-xl-9 > .card > .card-body > .card-header::after{content:'';position:absolute;left:0;bottom:-1px;width:60px;height:3px;background:#f5a623}
section.content .col-xl-9 > .card > .card-body > .card-header.pb-dup{display:none!important}
section.content .col-xl-9 > .card > .card-body > .card-body{padding:24px 32px 8px!important}
section.content .col-xl-9 > .card > .card-body > .card-header.pb-dup + .card-body{padding-top:4px!important}

/* Section sub-headers inside the content */
section.content .card-header:not(:first-child){
  background:#f7f9fd!important;color:#0b1940!important;
  font:700 15px/1.35 'Montserrat',sans-serif!important;
  border:0!important;border-left:3px solid #c8102e!important;border-bottom:1px solid #e3e8f3!important;border-radius:0!important;
  padding:12px 18px!important;margin:18px 0 0!important;
}

/* Text */
section.content p,
section.content .card-text{text-align:left!important;color:#3d4763!important;font-size:15px!important;line-height:1.8!important}
section.content p.text-center,section.content .card-text.text-center{text-align:center!important}
section.content p.text-end,section.content .card-text.text-end{text-align:right!important}
section.content .col-xl-9 h2,
section.content .col-xl-9 h3,
section.content .col-xl-9 h4{font-family:'Montserrat',sans-serif!important;color:#0b1940!important;font-weight:800!important}
section.content .col-xl-9 .card-body h5:not(.card-title):not(:empty),
section.content .col-xl-9 .card-body h6:not(.card-subtitle):not(:empty){font-family:'Montserrat',sans-serif!important;color:#1a2e6c!important;font-weight:700!important}

/* Headings that sit on dark panels keep their white text (the heading colour rule above would turn them navy) */
section.content .hod-head h2,
section.content .hod-head h3{color:#fff!important}
section.content .hod-head p{color:rgba(255,255,255,.72)!important}

/* Inner cards (faculty cards, boxes) — square, light border */
section.content .col-xl-9 .card .card{border-radius:4px!important;border:1px solid #e3e8f3!important;box-shadow:0 6px 18px rgba(16,24,64,.05)!important}
section.content .card-body img{border-radius:4px!important;box-shadow:0 6px 18px rgba(16,24,64,.10)!important}

/* Accordions */
section.content .accordion .card{border-radius:0!important;border:1px solid #e3e8f3!important}
section.content .accordion .card-header{border-left:3px solid #c8102e!important;background:#f7f9fd!important}

/* Tables: flat navy head with gold rule, square corners */
section.content table thead th,
section.content table thead td,
section.content table .thead-dark th,
section.content table thead.table-success th,
section.content table thead.table-primary th,
section.content table thead.table-dark th,
section.content table thead tr.table-success th,
.swrn-table-wrap table thead th,
.swrn-table-wrap table thead td{background:#1a2e6c!important;border-bottom:2px solid #f5a623!important}
section.content table tbody tr.table-success td,
.swrn-table-wrap table tbody tr.table-success td{background:#1a2e6c!important}
.swrn-table-wrap{border-radius:0!important;box-shadow:none!important;border:1px solid #e3e8f3!important}

/* Content links */
section.content .card-body a:not(.btn):not(.list-group-item):not([class*="uk-"]){text-underline-offset:3px}

/* Rows marked class="thead-dark" inside tbody (used as table titles, e.g. "PATRONS") */
section.content table tr.thead-dark td,
section.content table tr.thead-dark th{background:#1a2e6c!important;color:#fff!important;border-bottom:2px solid #f5a623!important}
section.content table tr.thead-dark td *,
section.content table tr.thead-dark th *{color:#fff!important;margin:0!important;letter-spacing:.12em}

/* Pages whose side menu is empty (blanksidemenu.php): hide the empty box, keep Quick Links */
section.content .col-xl-3 > div:not(.swrn-quicklinks-wrap):not(:has(.list-group-item)){display:none!important}
section.content .col-xl-3 > .swrn-quicklinks-wrap:first-child,
section.content .col-xl-3 > div:not(.swrn-quicklinks-wrap):not(:has(.list-group-item)) + .swrn-quicklinks-wrap{margin-top:0!important}

/* ── 3. Quick Links box under the side menu: same style as the side menu ── */
.swrn-quicklinks-wrap{border-radius:0!important;border:1px solid #e3e8f3!important;box-shadow:0 10px 30px rgba(16,24,64,.06)!important;margin-top:20px!important}
.swrn-ql-header{
  background:#fff!important;color:#c8102e!important;border-bottom:1px solid #e3e8f3!important;border-radius:0!important;
  font:800 11px/1.3 'Montserrat',sans-serif!important;letter-spacing:.2em!important;text-transform:uppercase!important;
  padding:18px 20px 14px!important;display:flex!important;align-items:center!important;gap:10px!important;
}
.swrn-ql-header::before{content:'';flex:none;width:26px;height:2px;background:#f5a623}
.swrn-ql-header-icon{display:none!important}
.swrn-ql-item{border-radius:0!important;border-bottom:1px solid #edf0f6!important;border-left:3px solid transparent!important}
.swrn-ql-item:hover{background:#f4f7fd!important;border-left-color:#f5a623!important}
.swrn-ql-icon{border-radius:2px!important}

/* ── 4. Responsive ─────────────────────────────────────────────────── */
@media (max-width:1199.98px){
  section.content .col-xl-3{margin-top:28px}
}
@media (max-width:767.98px){
  .image-line-innerpage.pb-on,
  [class*="image-line-innerpage-"].pb-on{min-height:110px!important;padding:20px 0!important}
  .pb-in{padding:0 16px}
  .pb-crumb{font-size:10px;margin-bottom:8px}
  section.content{padding-top:22px!important}
  section.content > .container-fluid{padding-left:12px!important;padding-right:12px!important}
  section.content .col-xl-9 > .card > .card-body > .card-header{margin:0 4px!important}
  section.content .col-xl-9 > .card > .card-body > .card-body{padding:18px 4px 4px!important}
}
