/* ===== IMRT customisations on top of the LearnPress theme ===== */
.menuzord-brand img { max-height: 64px; width: auto; }
.menuzord-brand { margin: 8px 30px 8px 0; }
@media (min-width: 900px) {
  .menuzord-menu > li > a { padding: 10px 10px; font-size: 13px; }
}
.footer-logo img { max-height: 70px; background: #fff; padding: 6px 10px; border-radius: 3px; }

/* ---------- top bar: buttons | latest notification ticker | phone + portal ---------- */
.imrt-topbar { padding: 7px 0; color: #fff; font-size: 14px; }
.imrt-topbar-inner { display: flex; align-items: center; gap: 22px; min-height: 30px; }
.imrt-topbar .tb-buttons { display: flex; gap: 12px; flex-shrink: 0; }
.imrt-topbar .tb-btn { background: #fff; border-radius: 3px; padding: 4px 13px; font-size: 13px; line-height: 20px; font-weight: 500; white-space: nowrap; transition: all .2s; }
.imrt-topbar .tb-btn:hover, .imrt-topbar .tb-btn:focus { background: #f3f3f3; }
.imrt-topbar .tb-notice { display: flex; align-items: center; flex: 1; min-width: 0; }
.imrt-topbar .tb-notice-label { font-weight: 700; text-transform: uppercase; white-space: nowrap; margin-right: 10px; }
.imrt-topbar .tb-notice-label i { margin-right: 4px; }
.imrt-topbar .tb-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.imrt-topbar .tb-phone { color: #fff; font-size: 16px; white-space: nowrap; }
.imrt-topbar .tb-phone i { margin-right: 4px; }
.imrt-topbar .tb-portal { background: rgba(0,0,0,.14); color: #fff; font-weight: 700; font-size: 16px; padding: 3px 14px; border-radius: 2px; white-space: nowrap; transition: background .2s; }
.imrt-topbar .tb-portal i { margin-right: 4px; }
.imrt-topbar a.tb-phone:hover, .imrt-topbar .tb-portal:hover { color: #fff; }
.imrt-topbar .tb-portal:hover { background: rgba(0,0,0,.28); }
.ticker-move { overflow: hidden; flex: 1; position: relative; height: 26px; }
.ticker-track { position: absolute; white-space: nowrap; line-height: 26px; animation: imrt-ticker 30s linear infinite; padding-left: 100%; }
.ticker-track span { margin-right: 60px; }
.ticker-track span:before { content: "\f101"; font-family: FontAwesome; color: #FFC107; margin-right: 6px; }
.ticker-move:hover .ticker-track { animation-play-state: paused; }
@keyframes imrt-ticker { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (max-width: 1199px) {
  .imrt-topbar-inner { gap: 14px; }
  .imrt-topbar .tb-phone, .imrt-topbar .tb-portal { font-size: 14px; }
}
@media (max-width: 991px) {
  .imrt-topbar-inner { flex-wrap: wrap; justify-content: center; gap: 8px 14px; }
  .imrt-topbar .tb-notice { order: 3; flex: 1 1 100%; }
}
@media (max-width: 479px) {
  .imrt-topbar .tb-notice-label { display: none; }
  .imrt-topbar .tb-btn { padding: 3px 9px; font-size: 12px; }
}
/* pop-up enquiry form */
.imrt-enquiry-modal .modal-header { border-bottom: 0; }
.imrt-enquiry-modal .modal-header .close { color: #fff; opacity: .9; text-shadow: none; font-size: 26px; }
.imrt-enquiry-modal .modal-body .reservation-form { margin-top: 0 !important; }
.imrt-enquiry-modal .modal-body .btn { color: #fff !important; }

/* home */
.home-boxes a.display-block:hover h4 { text-decoration: underline; }
.home-boxes h4 { font-size: 16px; }
.about-card img { height: 200px; object-fit: cover; }
.course-card .thumb img { height: 220px; object-fit: cover; }
.course-card .project-details h4 { min-height: 40px; font-size: 16px; }
.course-card .project-details p { min-height: 60px; }
.project-conditions li { font-size: 12px; }
.faculty-thumb img { height: 280px; object-fit: cover; object-position: top; }
.event-card .thumb img { height: 200px; object-fit: cover; }
.event-card h4 { font-size: 16px; }
.gallery-cover { height: 210px; object-fit: cover; }
.testimonial-photo { width: 90px !important; height: 90px; object-fit: cover; margin: 0 auto; }
.news-thumb { height: 220px; object-fit: cover; }
.post .entry-content .entry-title { min-height: 44px; font-size: 16px; }
.recruiter-strip .item img { max-height: 60px; width: auto !important; margin: 0 auto; background: #fff; padding: 5px; border-radius: 3px; }
.whatsapp-float { position: fixed; left: 20px; bottom: 25px; width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: #fff !important;
  font-size: 30px; text-align: center; line-height: 52px; z-index: 999; box-shadow: 0 3px 10px rgba(0,0,0,.25); }
.whatsapp-float:hover { transform: scale(1.08); }
.accordion .panel-title a { display: block; }

/* inner pages */
.inner-header .breadcrumb li a { color: #fff; }
.cms-content img { max-width: 100%; height: auto; }
.cms-content h2 { font-size: 24px; }
.cms-content h3 { font-size: 20px; }
.cms-content ul { list-style: disc; padding-left: 20px; margin-bottom: 15px; }
.cms-content ol { padding-left: 20px; margin-bottom: 15px; }
.cms-content p { margin-bottom: 12px; }
.cms-content table { width: 100%; margin-bottom: 20px; }
.cms-content table td, .cms-content table th { border: 1px solid #ddd; padding: 8px; }
.cms-content .title-default-left, .cms-content .title-default-center, .cms-content .title-default-left-bold { color: #333; margin-top: 10px; }
.cms-content .title-default-center { text-align: center; }
.cms-content .section-divider, .cms-content hr { border-top: 1px solid #eee; margin: 25px 0; }
.cms-content .row { margin-bottom: 15px; }
.cms-content .margin-auto { margin: auto; }
.course-content img { margin-bottom: 15px; }
.course-facts li { padding: 8px 0; border-bottom: 1px dashed #e5e5e5; }
.categories li.active a { font-weight: 700; }
.event-list { display: flex; }
.event-list .media-left img, .event-thumb { height: 100%; min-height: 190px; object-fit: cover; }
.event-meta li { margin-bottom: 5px; }
.gallery-album-card .thumb { position: relative; overflow: hidden; }
.album-cover { height: 230px; object-fit: cover; transition: transform .4s; }
.gallery-album-card:hover .album-cover { transform: scale(1.05); }
.album-count { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.65); color: #fff; padding: 2px 10px; border-radius: 12px; font-size: 12px; }
.testimonial-card .testimonial-photo { width: 80px !important; height: 80px; }
.placed-photo { height: 170px; object-fit: cover; object-position: top; }
.placed-card h5 { font-size: 14px; }
.placed-card { min-height: 290px; }
.recruiter-logo-box { height: 100px; display: flex; align-items: center; justify-content: center; padding: 10px; background: #fff; }
.recruiter-logo-box img { max-height: 80px; max-width: 100%; }
.profile-photo { width: 110px; height: 110px; object-fit: cover; }
.profile-card { min-height: 170px; }
.video-thumb { position: relative; }
.video-thumb img { height: 220px; object-fit: cover; }
.play-icon { position: absolute; left: 50%; top: 50%; margin: -28px 0 0 -28px; width: 56px; height: 56px; line-height: 56px; border-radius: 50%; background: rgba(200,16,46,.9); color: #fff; text-align: center; font-size: 22px; }
.enquiry-form .form-control { border-radius: 0; }
.font-150 { font-size: 150px; line-height: 1; }
@media (max-width: 767px) {
  .event-list { display: block; }
  .event-list .media-left { width: 100% !important; display: block; }
}

.faculty-page .team-members .team-details { position: static; }
.faculty-page .team-members { margin-bottom: 0; }
.inner-header .breadcrumb { float: none !important; text-align: left; background: none; padding: 0; margin-bottom: 0; }
.inner-header .title { margin-bottom: 5px; }

/* ---------- footer: white text on the dark background ---------- */
#footer, #footer p, #footer li, #footer .widget.dark { color: #fff; }
#footer a, #footer .widget.dark a { color: #fff; }
#footer a:hover, #footer .widget.dark a:hover { color: #FFC107; }
#footer .widget-title, #footer .post-title a { color: #fff; }
#footer .post-date { color: rgba(255,255,255,.75) !important; }
#footer .list-border li { border-bottom-color: rgba(255,255,255,.18); }
#footer .footer-bottom p, #footer .footer-bottom .text-black-777, #footer .footer-bottom li, #footer .footer-bottom a { color: #fff !important; }
#footer .btn-theme-colored, #footer .btn-theme-colored:hover { color: #fff; }
.faculty-facts th { width: 140px; font-weight: 600; color: #333; border-top: 0 !important; }
.faculty-facts td { border-top: 0 !important; }
.faculty-facts tr + tr th, .faculty-facts tr + tr td { border-top: 1px solid #eee !important; }
/* fee structure */
.fee-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.fee-table thead th { background: #f3f3f3; }
.fee-table tfoot th { background: #fafafa; font-size: 15px; }

/* images floated inside page text (old-site align= or editor float) – keep a gap from the text */
.cms-content img[align="left"], .cms-content img[style*="float: left"], .cms-content img[style*="float:left"], .cms-content img.pull-left, .cms-content img.note-float-left {
  float: left; margin: 4px 28px 18px 0 !important;
}
.cms-content img[align="right"], .cms-content img[style*="float: right"], .cms-content img[style*="float:right"], .cms-content img.pull-right, .cms-content img.note-float-right {
  float: right; margin: 4px 0 18px 28px !important;
}
.cms-content ul, .cms-content ol { overflow: hidden; } /* bullets stay beside a floated image, not under it */
.cms-content::after { content: ""; display: table; clear: both; }
@media (max-width: 767px) {
  .cms-content img[align], .cms-content img[style*="float"], .cms-content img.pull-left, .cms-content img.pull-right {
    float: none !important; display: block; width: auto !important; max-width: 100%; margin: 0 auto 20px !important;
  }
}
