/*
Theme Name: Institute Pro Theme
Theme URI: https://www.toprankingservice.com/institute-pro
Author: Top Ranking Service Ltd
Author URI: https://www.toprankingservice.com
Description: Institute Pro is a modern, secure, bilingual (Bangla/English) educational institute WordPress theme. Perfect for schools, colleges, madrasas, universities, and training institutes. Features include a Notice Board, Faculty & Staff directory, Photo & Video Gallery, Slider, and fully customizable homepage. Built with Bootstrap 5, follows WordPress coding standards, and is GPL-licensed.
Version: 2.24
Requires at least: 6.1
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: institute-pro
Domain Path: /languages
Tags: education, school, college, university, custom-colors, custom-menu, custom-logo, featured-images, block-styles, rtl-language-support, threaded-comments, translation-ready, wide-blocks, blog

Institute Pro Theme, (C) 2026 Top Ranking Service Ltd
Institute Pro Theme is distributed under the terms of the GNU GPL v2 or later.

Developer: Md Abu Taher (https://www.taher.bd)
Branding by: Webzone.bd (https://webzone.bd)
*/

/* ==========================================================================
   CSS Custom Properties (Theme Variables)
   ========================================================================== */
:root {
    --ip-primary: #12355B;
    --ip-primary-dark: #0B2744;
    --ip-accent: #0F766E;
    --ip-accent-dark: #0B5E58;
    --ip-text: #212529;
    --ip-text-muted: #6c757d;
    --ip-bg: #ffffff;
    --ip-bg-alt: #f5f5f5;
    --ip-bg-dark: #333333;
    --ip-border: #dee2e6;
    --ip-link: #12355B;
    --ip-link-hover: #0F766E;
    --ip-radius: 4px;
    --ip-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --ip-shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);
    --ip-transition: all 0.3s ease;
    --ip-font-bn: 'SolaimanLipi', 'Noto Sans Bengali', sans-serif;
    --ip-font-en: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--ip-font-bn), var(--ip-font-en);
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    background-color: var(--ip-bg);
    font-size: 16px;
    color: var(--ip-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.rtl { text-align: right; }

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

a {
    color: var(--ip-link);
    text-decoration: none;
    transition: var(--ip-transition);
}
a:hover, a:focus { color: var(--ip-link-hover); text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 10px;
    z-index: 999999;
    background: #000;
    color: #fff;
    padding: 10px 16px;
    text-decoration: none;
    border-radius: var(--ip-radius);
}
.skip-link:focus { left: 10px; color: #fff; }

/* ==========================================================================
   Layout Helpers
   ========================================================================== */
.ip-section { padding: 40px 0; }
.ip-section-sm { padding: 20px 0; }
.ip-container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.ip-card {
    background: var(--ip-bg);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    padding: 15px;
    box-shadow: var(--ip-shadow);
    margin-bottom: 20px;
}

/* ==========================================================================
   Top Bar
   ========================================================================== */
.ip-topbar {
    background-color: var(--ip-primary);
    color: #ffffff;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 3px solid var(--ip-accent);
}
.ip-topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.ip-topbar p { margin: 0; }
.ip-topbar-social { display: flex; gap: 4px; }
.ip-topbar-social a {
    color: #ffffff;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ip-radius);
    transition: var(--ip-transition);
}
.ip-topbar-social a:hover { background-color: rgba(255,255,255,0.15); color: #fff; }

/* ==========================================================================
   Site Header / Branding
   ========================================================================== */
.ip-branding {
    padding: 26px 0 22px;
    background: var(--ip-bg);
    border-bottom: 1px solid var(--ip-border);
    position: relative;
}
/* Fine double rule beneath the masthead — a classic institutional device. */
.ip-branding::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 1px;
    background: var(--ip-border);
}

.ip-branding-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Centred variant */
.ip-branding--center .ip-branding-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
}
.ip-branding--center .ip-site-meta { justify-content: center; }
.ip-branding--center .ip-branding-cta { margin-left: 0; }

/* Crest / logo */
.ip-crest { flex: 0 0 auto; }
.ip-crest img {
    max-height: 86px;
    width: auto;
    display: block;
}

.ip-branding-text { flex: 1 1 auto; min-width: 0; }

/* Institute name — serif, the single strongest signal of a formal masthead */
.ip-site-title {
    font-family: Georgia, 'Times New Roman', 'Noto Serif Bengali', serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    margin: 0 0 4px;
    color: var(--ip-primary);
}
.ip-site-title a { color: inherit; text-decoration: none; }
.ip-site-title a:hover { color: var(--ip-primary-dark); }

/* Motto — italic serif, deliberately quieter than the name */
.ip-site-motto {
    font-family: Georgia, 'Times New Roman', 'Noto Serif Bengali', serif;
    font-style: italic;
    font-size: 15px;
    color: var(--ip-text-muted);
    margin: 0 0 8px;
}

/* Meta strip — one restrained uppercase row, not stacked paragraphs */
.ip-site-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ip-text-muted);
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid var(--ip-border);
}
.ip-meta-sep { display: inline-block; margin: 0 3px; color: var(--ip-accent); font-weight: 700; }
.ip-meta-item { display: inline-block; }

/* Header call to action */
.ip-branding-cta { flex: 0 0 auto; margin-left: auto; }
.ip-cta-button {
    display: inline-block;
    padding: 11px 26px;
    background: var(--ip-accent);
    color: #ffffff !important;
    border-radius: var(--ip-radius);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: var(--ip-transition);
}
.ip-cta-button:hover {
    background: var(--ip-primary);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: var(--ip-shadow-lg);
}

/* Retained for backward compatibility with 1.2 markup */
.ip-site-description { margin: 0; color: var(--ip-text-muted); font-size: 14px; }

/* ==========================================================================
   Slider / Hero Carousel
   ========================================================================== */
.ip-hero { margin-bottom: 20px; overflow: hidden; }
.ip-hero .carousel-item img { width: 100%; height: auto; object-fit: cover; }
.ip-hero .carousel-caption {
    background: rgba(0,0,0,0.5);
    padding: 10px 20px;
    border-radius: var(--ip-radius);
    bottom: 30px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.ip-nav-wrap {
    background: var(--ip-bg-alt);
    box-shadow: var(--ip-shadow);
    border-top: 3px solid var(--ip-accent);
}
.navbar { padding: 0; }
.navbar-brand i {
    color: var(--ip-primary);
    padding: 12px 15px;
    font-size: 18px;
}
.navbar-nav .nav-link {
    color: var(--ip-text) !important;
    padding: 14px 18px !important;
    font-weight: 500;
    transition: var(--ip-transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .active > .nav-link {
    color: #ffffff !important;
    background-color: var(--ip-primary);
}
.dropdown-menu {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--ip-primary);
    box-shadow: var(--ip-shadow-lg);
    min-width: 220px;
}
.dropdown-item {
    color: #ffffff !important;
    padding: 10px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: var(--ip-transition);
}
.dropdown-item:hover, .dropdown-item:focus {
    background-color: var(--ip-accent) !important;
    color: #ffffff !important;
}

/* ============================================================================
   v2.13 — School Showcase Homepage
   Reference structure: title bar → wide slider → branding over image → purple menu.
   ============================================================================ */
.ip-home-showcase .ip-branding,
.ip-home-showcase .ip-quicklinks,
.ip-home-showcase > .ip-nav-wrap,
.ip-home-showcase .ip-breadcrumbs { display: none !important; }
.ip-showcase-home { background: #f4f4f4; padding: 0 0 28px; }
.ip-showcase-shell { width: min(100% - 32px, 1296px); margin: 0 auto; background: #fff; box-shadow: 0 1px 12px rgba(20,20,20,.10); }
.ip-showcase-titlebar { background: var(--ip-primary); border-bottom: 4px solid var(--ip-accent); color: #fff; }
.ip-showcase-titlebar-inner { min-height: 34px; padding: 5px 14px 6px; display: flex; align-items: center; }
.ip-showcase-titlebar-inner span { display: block; font-family: 'Noto Serif Bengali', 'Noto Sans Bengali', SolaimanLipi, sans-serif; font-size: clamp(13px, 1.25vw, 18px); font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ip-showcase-hero { position: relative; width: 100%; overflow: hidden; background: #18344d; }
.ip-showcase-hero .ip-hero { margin: 0; width: 100%; max-width: none; border-radius: 0; box-shadow: none; }
.ip-showcase-hero .ip-hero .carousel-item { position: relative; min-height: 0; height: clamp(300px, 28.1vw, 430px); background: #18344d; }
.ip-showcase-hero .ip-hero .carousel-item img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ip-showcase-hero .ip-hero .carousel-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.17) 47%, rgba(0,0,0,.02) 78%); pointer-events: none; }
.ip-showcase-hero .ip-hero .carousel-caption { left: auto; right: 4%; bottom: 7%; max-width: 42%; text-align: right; background: rgba(0,0,0,.48); padding: 9px 13px; border-radius: 3px; z-index: 4; }
.ip-showcase-hero .ip-hero .carousel-caption h3 { font-size: clamp(16px, 2vw, 28px); margin-bottom: 4px; }
.ip-showcase-hero .ip-hero .carousel-caption p { font-size: 13px; margin-bottom: 7px; }
.ip-showcase-brand { position: absolute; z-index: 5; left: 0; right: 0; top: 0; bottom: 0; display: flex; align-items: center; pointer-events: none; }
.ip-showcase-brand-inner { width: 100%; max-width: 1296px; margin: 0 auto; padding: 0 42px; display: flex; align-items: center; gap: 20px; }
.ip-showcase-logo { flex: 0 0 auto; width: clamp(70px, 7vw, 104px); height: clamp(70px, 7vw, 104px); border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.96); box-shadow: 0 2px 12px rgba(0,0,0,.24); padding: 7px; }
.ip-showcase-logo a { display: grid; place-items: center; width: 100%; height: 100%; }
.ip-showcase-logo img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; border-radius: 50%; }
.ip-showcase-copy { min-width: 0; max-width: min(72%, 760px); }
.ip-showcase-title { margin: 0; color: #fff; font-family: 'Noto Serif Bengali', 'Noto Sans Bengali', Georgia, 'Times New Roman', serif; font-size: clamp(1.65rem, 3.2vw, 3.15rem); line-height: 1.08; font-weight: 900; text-shadow: 0 2px 7px rgba(0,0,0,.72), 0 1px 1px rgba(0,0,0,.9); }
.ip-showcase-motto { margin: 6px 0 0; color: #fff; font-size: clamp(12px, 1.35vw, 17px); font-weight: 650; text-shadow: 0 1px 5px rgba(0,0,0,.85); }
.ip-showcase-meta { display: flex; flex-wrap: wrap; gap: 5px 14px; margin-top: 9px; color: #fff; font-size: clamp(10px, 1vw, 13px); font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.9); }
.ip-showcase-meta span + span::before { content: '•'; margin-right: 14px; color: #b9e56d; }
.ip-showcase-nav { position: relative; z-index: 20; background: var(--ip-primary); border-bottom: 0; box-shadow: none; }
.ip-showcase-nav-inner { min-height: 40px; display: flex; align-items: stretch; }
.ip-showcase-home-link, .ip-showcase-menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 92px; padding: 0 15px; border: 0; background: var(--ip-primary); color: #fff !important; font-weight: 700; text-decoration: none; border-radius: 0; }
.ip-showcase-home-link:hover, .ip-showcase-home-link:focus-visible, .ip-showcase-menu-toggle:hover, .ip-showcase-menu-toggle:focus-visible { background: var(--ip-accent); color: #fff !important; }
.ip-showcase-home-link[aria-current='page'], .ip-showcase-home-link.is-active { background: var(--ip-accent); color: #fff !important; }
.ip-showcase-menu-toggle { display: none; }
.ip-showcase-nav .navbar-collapse.collapse { display: flex !important; flex-basis: auto; align-items: stretch; }
.ip-showcase-nav .navbar-nav { align-items: stretch; margin-bottom: 0 !important; }
.ip-showcase-nav .navbar-nav .nav-link { height: 100%; display: inline-flex; align-items: center; color: #fff !important; padding: 8px 12px !important; font-size: clamp(12px, 1.05vw, 15px); font-weight: 600; border-radius: 0; white-space: nowrap; }
.ip-showcase-nav .navbar-nav .nav-link:hover,
.ip-showcase-nav .navbar-nav .nav-link:focus-visible,
.ip-showcase-nav .navbar-nav .active > .nav-link,
.ip-showcase-nav .navbar-nav .active > a.nav-link { background: var(--ip-accent); color: #fff !important; }
.ip-showcase-nav .dropdown-menu { background: var(--ip-primary); border-top: 3px solid var(--ip-accent); border-radius: 0; }
.ip-showcase-nav .dropdown-item { color: #fff !important; font-size: 13px; padding: 8px 14px; }
.ip-showcase-nav .dropdown-item:hover, .ip-showcase-nav .dropdown-item:focus { background: var(--ip-accent) !important; color: #fff !important; }
.ip-showcase-nav .ip-search-form { margin: 0 0 0 auto; align-items: center; padding: 5px 7px; }
.ip-showcase-nav .ip-search-form .form-control { height: 30px; width: 145px; border: 0; border-radius: 2px; font-size: 12px; }
.ip-showcase-nav .ip-search-form .btn { height: 30px; min-width: 34px; padding: 0 9px; border-radius: 2px; background: var(--ip-accent); color: var(--ip-primary-dark); border: 0; }
.ip-showcase-content { padding-top: 12px; }
.ip-showcase-home .ip-back-to-top { z-index: 1040; }
.ip-home-showcase .ip-nav-wrap.is-stuck { display: none !important; }
@media (max-width: 991.98px) {
    .ip-showcase-shell { width: min(100% - 20px, 100%); }
    .ip-showcase-hero .ip-hero .carousel-item { height: clamp(300px, 42vw, 400px); }
    .ip-showcase-brand-inner { padding: 0 28px; }
    .ip-showcase-copy { max-width: 78%; }
    .ip-showcase-title { font-size: clamp(1.45rem, 4vw, 2.35rem); }
    .ip-showcase-nav-inner { flex-wrap: wrap; }
    .ip-showcase-menu-toggle { display: inline-flex; margin-left: auto; }
    .ip-showcase-nav .navbar-collapse.collapse:not(.show) { display: none !important; flex-basis: 100%; }
    .ip-showcase-nav .navbar-collapse.collapse.show { display: block !important; flex-basis: 100%; }
    .ip-showcase-nav .navbar-nav { width: 100%; }
    .ip-showcase-nav .navbar-nav .nav-link { min-height: 40px; }
    .ip-showcase-nav .ip-search-form { padding: 7px 12px; margin: 0; }
    .ip-showcase-nav .ip-search-form .form-control { width: 100%; }
}
@media (max-width: 767.98px) {
    .ip-showcase-titlebar-inner { min-height: 31px; padding: 5px 10px; }
    .ip-showcase-titlebar-inner span { font-size: 12px; }
    .ip-showcase-hero .ip-hero .carousel-item { height: clamp(250px, 58vw, 340px); }
    .ip-showcase-brand-inner { gap: 10px; padding: 0 14px; }
    .ip-showcase-logo { width: 60px; height: 60px; padding: 5px; }
    .ip-showcase-copy { max-width: calc(100% - 70px); }
    .ip-showcase-title { font-size: clamp(1.05rem, 5.4vw, 1.65rem); }
    .ip-showcase-motto { font-size: 11px; }
    .ip-showcase-meta { font-size: 8px; gap: 3px 8px; max-width: 100%; }
    .ip-showcase-meta span + span::before { margin-right: 8px; }
    .ip-showcase-hero .ip-hero .carousel-caption { left: 4%; right: 4%; bottom: 6%; max-width: 92%; padding: 6px 9px; text-align: left; }
    .ip-showcase-hero .ip-hero .carousel-caption h3 { font-size: 14px; }
    .ip-showcase-hero .ip-hero .carousel-caption p { display: none; }
}
@media (max-width: 480px) {
    .ip-showcase-shell { width: 100%; }
    .ip-showcase-home { padding-bottom: 0; }
    .ip-showcase-brand-inner { padding: 0 10px; }
    .ip-showcase-logo { width: 50px; height: 50px; }
    .ip-showcase-copy { max-width: calc(100% - 58px); }
    .ip-showcase-meta { display: none; }
    .ip-showcase-nav .navbar-nav .nav-link { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .ip-showcase-home *, .ip-showcase-home *::before, .ip-showcase-home *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   Notice Board
   ========================================================================== */
.ip-notice-section {
    background: var(--ip-bg-alt);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}
.ip-notice-section h3 {
    color: var(--ip-primary);
    border-bottom: 2px solid var(--ip-accent);
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ip-notice-list { list-style: none; padding: 0; margin: 0; max-height: 300px; overflow-y: auto; }
.ip-notice-list li { padding: 8px 0; border-bottom: 1px dashed var(--ip-border); }
.ip-notice-list li:last-child { border-bottom: 0; }
.ip-notice-list a {
    display: block;
    color: var(--ip-text);
    padding-left: 20px;
    position: relative;
    transition: var(--ip-transition);
}
.ip-notice-list a::before {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free', 'FontAwesome';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--ip-accent);
}
.ip-notice-list a:hover { color: var(--ip-primary); padding-left: 25px; }
.ip-notice-viewall {
    display: inline-block;
    background: var(--ip-primary);
    color: #ffffff !important;
    padding: 4px 12px;
    border-radius: var(--ip-radius);
    font-size: 12px;
}
.ip-notice-viewall:hover { background: var(--ip-accent); color: #ffffff !important; }

/* ==========================================================================
   Info Cards / Blocks
   ========================================================================== */
.ip-info-block {
    background: var(--ip-bg-alt);
    padding: 12px;
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    transition: var(--ip-transition);
}
.ip-info-block:hover { transform: translateY(-2px); box-shadow: var(--ip-shadow-lg); }
.ip-info-block-image { flex: 0 0 auto; }
.ip-info-block-image img { width: 100px; height: auto; border-radius: var(--ip-radius); }
.ip-info-block-content h4 { font-size: 16px; margin-bottom: 8px; color: var(--ip-primary); }
.ip-info-block-content ul { list-style: none; padding: 0; margin: 0; }
.ip-info-block-content ul li { padding: 3px 0; font-size: 14px; }
.ip-info-block-content ul li a { color: var(--ip-text); }
.ip-info-block-content ul li a:hover { color: var(--ip-primary); }

/* ==========================================================================
   Section Titles / Cards (Principal, Hotline, etc.)
   ========================================================================== */
.ip-title-box {
    background: var(--ip-primary);
    color: #ffffff;
    text-align: center;
    padding: 10px;
    font-weight: 600;
    margin: 0;
    border-radius: var(--ip-radius) var(--ip-radius) 0 0;
}
.ip-titled-card {
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    margin-bottom: 20px;
    overflow: hidden;
    background: var(--ip-bg);
}
.ip-titled-card .ip-card-body { padding: 15px; text-align: center; }
.ip-titled-card img { max-width: 100%; height: auto; border: 1px solid var(--ip-border); border-radius: var(--ip-radius); }

/* ==========================================================================
   Blog / Posts
   ========================================================================== */
.ip-blog-wrap {
    background: var(--ip-bg-alt);
    padding: 15px;
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    margin-bottom: 20px;
    transition: var(--ip-transition);
}
.ip-blog-wrap:hover { box-shadow: var(--ip-shadow-lg); }
.ip-blog-wrap h4 { font-weight: 600; margin-bottom: 10px; }
.ip-blog-wrap h4 a { color: var(--ip-text); }
.ip-blog-wrap h4 a:hover { color: var(--ip-primary); }
.ip-blog-meta { font-size: 13px; color: var(--ip-text-muted); margin-bottom: 10px; }
.ip-blog-meta i { margin-right: 5px; }
.ip-post-thumb { width: 100%; height: auto; margin-bottom: 15px; border-radius: var(--ip-radius); }

/* Single Post */
.ip-single {
    background: var(--ip-bg);
    padding: 20px;
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    margin-bottom: 20px;
}
.ip-single-title { font-size: 28px; color: var(--ip-primary); margin-bottom: 15px; }
.ip-single-meta { color: var(--ip-text-muted); font-size: 14px; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--ip-border); }
.ip-single-content { font-size: 16px; line-height: 1.8; }
.ip-single-content img { border-radius: var(--ip-radius); margin: 15px 0; }

/* ==========================================================================
   Social Sharing
   ========================================================================== */
.ip-share { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.ip-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ip-bg-alt);
    color: var(--ip-text);
    transition: var(--ip-transition);
}
.ip-share a:hover { background: var(--ip-primary); color: #ffffff; transform: translateY(-2px); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.ip-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.ip-gallery a {
    display: block;
    overflow: hidden;
    border-radius: var(--ip-radius);
    border: 2px solid var(--ip-bg);
    box-shadow: var(--ip-shadow);
}
.ip-gallery img { width: 100%; height: 180px; object-fit: cover; transition: var(--ip-transition); }
.ip-gallery a:hover img { transform: scale(1.05); }

/* Video Gallery */
.ip-video-item {
    background: var(--ip-bg);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    overflow: hidden;
    margin-bottom: 20px;
}
.ip-video-item .ratio { background: #000; }
.ip-video-item h5 { padding: 10px 15px; margin: 0; font-size: 16px; }

/* ==========================================================================
   Faculty / Person Details
   ========================================================================== */
.ip-person-card {
    background: var(--ip-bg);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
    transition: var(--ip-transition);
}
.ip-person-card:hover { box-shadow: var(--ip-shadow-lg); transform: translateY(-3px); }
.ip-person-card img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; margin-bottom: 15px; border: 3px solid var(--ip-accent); }
.ip-person-card h4 { color: var(--ip-primary); margin-bottom: 5px; }
.ip-person-card .designation { color: var(--ip-text-muted); font-size: 14px; }

/* ==========================================================================
   Tables (for content areas)
   ========================================================================== */
.ip-single-content table, .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-family: var(--ip-font-bn), var(--ip-font-en);
}
.ip-single-content th, .ip-single-content td,
.entry-content th, .entry-content td {
    border: 1px solid var(--ip-border);
    padding: 8px 12px;
    text-align: left;
}
.ip-single-content tr:nth-child(even),
.entry-content tr:nth-child(even) { background-color: var(--ip-bg-alt); }
.ip-single-content th, .entry-content th { background-color: var(--ip-primary); color: #ffffff; }

/* ==========================================================================
   Pagination
   ========================================================================== */
.ip-pagination, .pagination { margin: 20px 0; display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.page-numbers {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    color: var(--ip-text);
    background: var(--ip-bg);
    transition: var(--ip-transition);
}
.page-numbers:hover, .page-numbers.current {
    background: var(--ip-primary);
    color: #ffffff;
    border-color: var(--ip-primary);
}

/* ==========================================================================
   Comments
   ========================================================================== */
.comment-list, .children { list-style: none; padding: 0; }
.comment-wrap {
    padding: 20px;
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    margin-bottom: 20px;
    background: var(--ip-bg);
}
.comment-author { font-weight: 600; color: var(--ip-primary); }
.comment-date { font-size: 12px; color: var(--ip-text-muted); }
.comment-reply-link { color: var(--ip-accent); font-size: 13px; }
#respond textarea, #respond input[type="text"], #respond input[type="email"], #respond input[type="url"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    margin-bottom: 10px;
    font-family: inherit;
}
#respond input[type="submit"] {
    background: var(--ip-primary);
    color: #ffffff;
    border: 0;
    padding: 10px 20px;
    border-radius: var(--ip-radius);
    cursor: pointer;
    transition: var(--ip-transition);
}
#respond input[type="submit"]:hover { background: var(--ip-accent); }

/* Depth indentation */
.children { padding-left: 30px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.ip-footer {
    background: var(--ip-primary);
    color: #ffffff;
    padding: 40px 0 0;
    margin-top: 40px;
}
.ip-footer a { color: rgba(255,255,255,0.85); }
.ip-footer a:hover { color: var(--ip-accent); }
.ip-footer h4 { color: #ffffff; margin-bottom: 20px; font-size: 18px; border-bottom: 2px solid var(--ip-accent); padding-bottom: 10px; display: inline-block; }
.ip-footer-widget { margin-bottom: 30px; }
.ip-footer-widget ul { list-style: none; padding: 0; margin: 0; }
.ip-footer-widget ul li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.ip-footer-bottom {
    background: var(--ip-primary-dark);
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
}
.ip-footer-bottom p { margin: 0; }

/* ==========================================================================
   404 / Error Pages
   ========================================================================== */
.ip-error-404 {
    text-align: center;
    padding: 80px 20px;
    background: var(--ip-bg-alt);
    border-radius: var(--ip-radius);
    margin: 40px 0;
}
.ip-error-404 h1 { font-size: 96px; color: var(--ip-primary); margin-bottom: 10px; line-height: 1; }
.ip-error-404 h2 { color: var(--ip-text); margin-bottom: 20px; }

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.ip-mt-1 { margin-top: 10px; } .ip-mt-2 { margin-top: 20px; } .ip-mt-3 { margin-top: 30px; }
.ip-mb-1 { margin-bottom: 10px; } .ip-mb-2 { margin-bottom: 20px; } .ip-mb-3 { margin-bottom: 30px; }
.ip-text-center { text-align: center; }
.ip-hidden { display: none !important; }
.ip-clearfix::after { content: ''; display: table; clear: both; }

/* WordPress alignment */
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.aligncenter { display: block; margin: 20px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--ip-text-muted); font-style: italic; text-align: center; }

/* ==========================================================================
   Back to Top Button
   ========================================================================== */
.ip-back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--ip-primary);
    color: #ffffff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--ip-transition);
    box-shadow: var(--ip-shadow-lg);
}
.ip-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.ip-back-to-top:hover { background: var(--ip-accent); }
.ip-back-to-top:focus-visible { outline: 3px solid var(--ip-accent); outline-offset: 2px; }

/* ==========================================================================
   Nav Search
   ========================================================================== */
.ip-nav-search { padding: 8px 0; }
.ip-nav-search .form-control { min-width: 160px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
    .ip-topbar-inner { justify-content: center; text-align: center; }
    .ip-branding-inner { flex-direction: column; text-align: center; }
    .navbar-nav .nav-link { padding: 10px 15px !important; }
    .ip-site-title { font-size: 22px; }
}

@media (max-width: 767px) {
    body { font-size: 15px; }
    .ip-section { padding: 25px 0; }
    .ip-info-block { flex-direction: column; text-align: center; }
    .ip-info-block-image img { width: 80px; }
    .ip-single { padding: 15px; }
    .ip-single-title { font-size: 22px; }
    .children { padding-left: 15px; }
    .ip-gallery { grid-template-columns: repeat(2, 1fr); }
    .ip-error-404 h1 { font-size: 72px; }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    .ip-topbar, .ip-nav-wrap, .ip-footer, .ip-share, .comments-area { display: none; }
    body { color: #000; background: #fff; font-size: 12pt; }
    a { color: #000; text-decoration: underline; }
}

/* ==========================================================================
   v1.2 — INTERNATIONAL INSTITUTE COMPONENTS
   ========================================================================== */

/* --------------------------------------------------------------------------
   Quick Links Bar
   -------------------------------------------------------------------------- */
.ip-quicklinks {
    background: linear-gradient(90deg, var(--ip-primary) 0%, var(--ip-primary-dark) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.ip-quicklinks-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}
.ip-quicklink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    transition: var(--ip-transition);
}
.ip-quicklink:first-child { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.ip-quicklink i { font-size: 14px; opacity: 0.85; }
.ip-quicklink:hover,
.ip-quicklink:focus-visible {
    background: var(--ip-accent);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Sticky Navigation
   -------------------------------------------------------------------------- */
.ip-nav-wrap.is-sticky.is-stuck {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
    animation: ipSlideDown 0.28s ease;
}
@keyframes ipSlideDown {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}
.ip-nav-wrap.is-stuck .navbar-nav .nav-link { padding-top: 11px !important; padding-bottom: 11px !important; }
body.ip-has-stuck-nav { padding-top: var(--ip-nav-height, 56px); }

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.ip-breadcrumbs {
    background: var(--ip-bg-alt);
    border-bottom: 1px solid var(--ip-border);
    padding: 12px 0;
    font-size: 13px;
}
.ip-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.ip-breadcrumb-item { display: inline-flex; align-items: center; gap: 6px; color: var(--ip-text-muted); }
.ip-breadcrumb-item + .ip-breadcrumb-item::before {
    content: '/';
    color: var(--ip-border);
    font-weight: 400;
}
.ip-breadcrumb-item a { color: var(--ip-primary); }
.ip-breadcrumb-item a:hover { color: var(--ip-accent); text-decoration: underline; }
.ip-breadcrumb-item [aria-current="page"] { color: var(--ip-text); font-weight: 500; }

/* --------------------------------------------------------------------------
   Section Headers (shared by all v1.2 sections)
   -------------------------------------------------------------------------- */
.ip-section-block {
    background: var(--ip-bg-alt);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    padding: 20px;
    margin-bottom: 40px;
}
.ip-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ip-border);
    position: relative;
}
.ip-section-header::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 64px;
    height: 2px;
    background: var(--ip-accent);
}
.ip-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ip-primary);
    margin: 0;
    letter-spacing: -0.01em;
}
.ip-section-more {
    font-size: 13px;
    font-weight: 500;
    color: var(--ip-text-muted);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ip-section-more:hover { color: var(--ip-primary); }
.ip-section-more i { font-size: 11px; transition: var(--ip-transition); }
.ip-section-more:hover i { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Statistics Counters
   -------------------------------------------------------------------------- */
.ip-stats {
    background: linear-gradient(135deg, var(--ip-primary) 0%, var(--ip-primary-dark) 100%);
    padding: 44px 0;
    color: #ffffff;
}
.ip-stat-item { text-align: center; padding: 12px 8px; }
.ip-stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 22px;
    color: var(--ip-accent);
}
.ip-stat-number {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.ip-stat-label {
    margin-top: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Vision / Mission / Values
   -------------------------------------------------------------------------- */
.ip-vision-card {
    height: 100%;
    padding: 26px 22px;
    margin-bottom: 20px;
    text-align: center;
    background: var(--ip-bg);
    border: 1px solid var(--ip-border);
    border-top: 3px solid var(--ip-accent);
    border-radius: var(--ip-radius);
    transition: var(--ip-transition);
}
.ip-vision-card:hover { box-shadow: var(--ip-shadow-lg); transform: translateY(-3px); }
.ip-vision-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border-radius: var(--ip-radius);
    background: rgba(104, 48, 145, 0.08);
    color: var(--ip-primary);
    font-size: 20px;
}
.ip-vision-title { font-size: 17px; color: var(--ip-primary); margin-bottom: 10px; }
.ip-vision-text { font-size: 14px; color: var(--ip-text-muted); line-height: 1.7; }
.ip-vision-text p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Program Cards
   -------------------------------------------------------------------------- */
.ip-program-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--ip-bg);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    overflow: hidden;
    margin-bottom: 20px;
    transition: var(--ip-transition);
}
.ip-program-card:hover {
    box-shadow: var(--ip-shadow-lg);
    transform: translateY(-4px);
    border-color: var(--ip-accent);
}
.ip-program-thumb { display: block; overflow: hidden; background: var(--ip-bg-alt); }
.ip-program-thumb img { width: 100%; height: 170px; object-fit: cover; transition: transform 0.4s ease; }
.ip-program-card:hover .ip-program-thumb img { transform: scale(1.05); }
.ip-program-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex-grow: 1; }
.ip-program-level {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ip-accent-dark);
    margin-bottom: 8px;
}
.ip-program-level a { color: inherit; }
.ip-program-title { font-size: 17px; margin-bottom: 10px; line-height: 1.35; }
.ip-program-title a { color: var(--ip-text); }
.ip-program-title a:hover { color: var(--ip-primary); }
.ip-program-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
    color: var(--ip-text-muted);
}
.ip-program-meta i { color: var(--ip-accent-dark); margin-right: 4px; }
.ip-program-excerpt { font-size: 13.5px; color: var(--ip-text-muted); line-height: 1.6; flex-grow: 1; }
.ip-btn-outline {
    align-self: flex-start;
    display: inline-block;
    margin-top: 12px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--ip-primary);
    border-radius: var(--ip-radius);
    color: var(--ip-primary);
    transition: var(--ip-transition);
}
.ip-btn-outline:hover { background: var(--ip-primary); color: #ffffff; }

/* --------------------------------------------------------------------------
   Events
   -------------------------------------------------------------------------- */
.ip-event-list { display: flex; flex-direction: column; gap: 14px; }
.ip-event-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--ip-bg);
    border: 1px solid var(--ip-border);
    border-left: 3px solid var(--ip-accent);
    border-radius: var(--ip-radius);
    transition: var(--ip-transition);
}
.ip-event-item:hover { box-shadow: var(--ip-shadow); border-left-color: var(--ip-primary); }
.ip-event-date {
    flex: 0 0 68px;
    text-align: center;
    padding: 10px 4px;
    background: var(--ip-primary);
    color: #ffffff;
    border-radius: var(--ip-radius);
    align-self: flex-start;
    line-height: 1.15;
}
.ip-event-day { display: block; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ip-event-month { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.ip-event-year { display: block; font-size: 11px; opacity: 0.75; }
.ip-event-body { flex-grow: 1; min-width: 0; }
.ip-event-title { font-size: 16.5px; margin-bottom: 8px; line-height: 1.35; }
.ip-event-title a { color: var(--ip-text); }
.ip-event-title a:hover { color: var(--ip-primary); }
.ip-event-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
    color: var(--ip-text-muted);
}
.ip-event-meta i { color: var(--ip-accent-dark); margin-right: 4px; }
.ip-event-excerpt { font-size: 13.5px; color: var(--ip-text-muted); margin: 0; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.ip-testimonials .carousel { padding-bottom: 8px; }
.ip-testimonial {
    position: relative;
    margin: 0;
    padding: 30px 30px 26px;
    background: var(--ip-bg-alt);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
}
.ip-testimonial-mark {
    position: absolute;
    top: 18px;
    left: 22px;
    font-size: 26px;
    color: var(--ip-accent);
    opacity: 0.35;
}
.ip-testimonial-text {
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--ip-text);
    font-style: italic;
    padding-left: 34px;
    margin-bottom: 18px;
}
.ip-testimonial-text p:last-child { margin-bottom: 0; }
.ip-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 34px;
    padding-top: 14px;
    border-top: 1px solid var(--ip-border);
}
.ip-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ip-accent);
}
.ip-testimonial-name { display: block; font-style: normal; font-weight: 600; color: var(--ip-primary); font-size: 14.5px; }
.ip-testimonial-role { display: block; font-size: 12.5px; color: var(--ip-text-muted); }
.ip-testimonials .carousel-control-prev,
.ip-testimonials .carousel-control-next { width: 6%; opacity: 0.6; filter: invert(1) grayscale(1); }
.ip-testimonials .carousel-control-prev:hover,
.ip-testimonials .carousel-control-next:hover { opacity: 1; }

/* --------------------------------------------------------------------------
   Downloads
   -------------------------------------------------------------------------- */
.ip-download-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ip-download-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--ip-bg);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    transition: var(--ip-transition);
}
.ip-download-item:hover { border-color: var(--ip-accent); box-shadow: var(--ip-shadow); }
.ip-download-icon { font-size: 20px; color: var(--ip-primary); flex-shrink: 0; }
.ip-download-body { flex-grow: 1; min-width: 0; }
.ip-download-title { display: block; font-size: 14px; font-weight: 500; color: var(--ip-text); }
.ip-download-meta { display: block; font-size: 12px; color: var(--ip-text-muted); margin-top: 2px; }
.ip-download-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12.5px;
    font-weight: 500;
    background: var(--ip-primary);
    color: #ffffff !important;
    border-radius: var(--ip-radius);
    transition: var(--ip-transition);
}
.ip-download-btn:hover { background: var(--ip-accent); }

/* --------------------------------------------------------------------------
   Accreditation Strip
   -------------------------------------------------------------------------- */
.ip-accreditation {
    background: var(--ip-bg-alt);
    border-top: 1px solid var(--ip-border);
    padding: 34px 0;
    text-align: center;
}
.ip-accreditation-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ip-text-muted);
    margin-bottom: 24px;
}
.ip-accreditation-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 36px;
}
.ip-accreditation-item img {
    max-height: 58px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.62;
    transition: var(--ip-transition);
}
.ip-accreditation-item img:hover { filter: grayscale(0); opacity: 1; }

/* --------------------------------------------------------------------------
   Program / Event single page detail table
   -------------------------------------------------------------------------- */
.ip-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    background: var(--ip-border);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    overflow: hidden;
    margin-bottom: 24px;
}
.ip-detail-cell { background: var(--ip-bg); padding: 14px 16px; }
.ip-detail-label {
    display: block;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ip-text-muted);
    margin-bottom: 4px;
}
.ip-detail-value { display: block; font-size: 15px; font-weight: 600; color: var(--ip-primary); }
.ip-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: var(--ip-accent);
    color: #ffffff !important;
    font-weight: 600;
    border-radius: var(--ip-radius);
    transition: var(--ip-transition);
}
.ip-apply-btn:hover { background: var(--ip-accent-dark); transform: translateY(-2px); box-shadow: var(--ip-shadow-lg); }

/* --------------------------------------------------------------------------
   Event status badge
   -------------------------------------------------------------------------- */
.ip-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
}
.ip-badge-upcoming { background: rgba(139, 198, 67, 0.16); color: var(--ip-accent-dark); }
.ip-badge-past { background: rgba(108, 117, 125, 0.14); color: var(--ip-text-muted); }

/* --------------------------------------------------------------------------
   Responsive — v1.2 components
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .ip-quicklinks-inner { justify-content: center; }
    .ip-quicklink { padding: 10px 14px; font-size: 12.5px; }
    .ip-stat-number { font-size: 32px; }
    .ip-nav-wrap.is-sticky.is-stuck { position: static; animation: none; }
    body.ip-has-stuck-nav { padding-top: 0; }
}

@media (max-width: 767px) {
    .ip-quicklink span { display: none; }
    .ip-quicklink { padding: 11px 16px; }
    .ip-quicklink i { font-size: 16px; }
    .ip-section-title { font-size: 19px; }
    .ip-stats { padding: 30px 0; }
    .ip-stat-icon { width: 46px; height: 46px; font-size: 18px; margin-bottom: 10px; }
    .ip-stat-number { font-size: 27px; }
    .ip-stat-label { font-size: 12.5px; }
    .ip-event-item { flex-direction: column; gap: 12px; }
    .ip-event-date { flex: 0 0 auto; align-self: flex-start; min-width: 68px; }
    .ip-testimonial { padding: 24px 20px; }
    .ip-testimonial-text, .ip-testimonial-author { padding-left: 0; }
    .ip-testimonial-mark { position: static; display: block; margin-bottom: 8px; }
    .ip-download-item { flex-wrap: wrap; }
    .ip-download-btn { width: 100%; justify-content: center; }
    .ip-accreditation-grid { gap: 22px; }
    .ip-accreditation-item img { max-height: 44px; }
    .ip-breadcrumbs { font-size: 12px; }
}

/* ==========================================================================
   Section Wrappers (Programs, Events, Downloads, Vision)
   ========================================================================== */
.ip-programs,
.ip-events,
.ip-downloads,
.ip-vision {
    margin-bottom: 30px;
}

/* ==========================================================================
   Faculty Details & Department Filter
   ========================================================================== */
.ip-faculty-details {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
    text-align: left;
}
.ip-faculty-details li {
    padding: 7px 0;
    border-bottom: 1px solid var(--ip-border);
    font-size: 14px;
    display: flex;
    gap: 8px;
    align-items: baseline;
}
.ip-faculty-details li:last-child { border-bottom: 0; }
.ip-faculty-details strong { color: var(--ip-primary); min-width: 110px; }

.ip-department-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--ip-border);
}
.ip-department-filter a {
    padding: 6px 16px;
    border: 1px solid var(--ip-border);
    border-radius: 20px;
    font-size: 14px;
    color: var(--ip-text);
    background: var(--ip-bg);
    transition: var(--ip-transition);
}
.ip-department-filter a:hover,
.ip-department-filter a.is-active {
    background: var(--ip-primary);
    border-color: var(--ip-primary);
    color: #ffffff;
}

/* ==========================================================================
   Single Post Extras
   ========================================================================== */
.ip-single-thumb {
    width: 100%;
    height: auto;
    border-radius: var(--ip-radius);
    margin-bottom: 20px;
}
.ip-post-thumb-placeholder {
    width: 100%;
    height: auto;
    border-radius: var(--ip-radius);
    opacity: 0.85;
}
.ip-tags {
    margin: 20px 0;
    padding-top: 15px;
    border-top: 1px solid var(--ip-border);
    font-size: 14px;
    color: var(--ip-text-muted);
}
.ip-tags a {
    display: inline-block;
    padding: 3px 12px;
    margin: 3px 3px 3px 0;
    background: var(--ip-bg-alt);
    border-radius: 14px;
    font-size: 13px;
}
.ip-tags a:hover { background: var(--ip-primary); color: #ffffff; }

.ip-notice-attachment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0;
    padding: 10px 20px;
    background: var(--ip-primary);
    color: #ffffff !important;
    border-radius: var(--ip-radius);
    font-weight: 500;
    transition: var(--ip-transition);
}
.ip-notice-attachment:hover {
    background: var(--ip-accent);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   Search Form & Empty States
   ========================================================================== */
.ip-search-form {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
}
.ip-search-form input[type="search"] {
    flex: 1 1 auto;
    padding: 9px 14px;
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    font-family: inherit;
    font-size: 15px;
}
.ip-search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--ip-primary);
    box-shadow: 0 0 0 3px rgba(104, 48, 145, 0.12);
}
.ip-search-form button {
    padding: 9px 18px;
    border: 0;
    border-radius: var(--ip-radius);
    background: var(--ip-primary);
    color: #ffffff;
    cursor: pointer;
    transition: var(--ip-transition);
}
.ip-search-form button:hover { background: var(--ip-accent); }

.ip-no-results {
    padding: 40px 20px;
    text-align: center;
    background: var(--ip-bg-alt);
    border: 1px dashed var(--ip-border);
    border-radius: var(--ip-radius);
    color: var(--ip-text-muted);
}

.ip-blog-excerpt {
    color: var(--ip-text-muted);
    font-size: 15px;
    margin-bottom: 10px;
}

/* ==========================================================================
   Principal Message & Lightbox Gallery
   ========================================================================== */
.ip-principal-message {
    font-size: 14px;
    color: var(--ip-text-muted);
    line-height: 1.7;
    margin-top: 10px;
}

.ip-lightbox-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}
.ip-lightbox-gallery a {
    display: block;
    overflow: hidden;
    border-radius: var(--ip-radius);
    box-shadow: var(--ip-shadow);
}
.ip-lightbox-gallery img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: var(--ip-transition);
}
.ip-lightbox-gallery a:hover img { transform: scale(1.06); }

/* ==========================================================================
   Structural Wrappers
   ========================================================================== */
.ip-site { overflow-x: hidden; }
.ip-main-content { min-height: 300px; }
.ip-home-section {
    background: var(--ip-bg-alt);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    padding: 20px;
    margin-bottom: 35px;
}
.ip-branding-text { flex: 1 1 auto; }
.ip-sidebar .widget:last-child { margin-bottom: 0; }

@media (max-width: 767px) {
    .ip-faculty-details li { flex-direction: column; gap: 2px; }
    .ip-lightbox-gallery { grid-template-columns: repeat(2, 1fr); }
    .ip-department-filter { gap: 6px; }
    .ip-department-filter a { padding: 5px 12px; font-size: 13px; }
}

/* ==========================================================================
   Leadership Message Cards
   ========================================================================== */
.ip-leader-card { margin-bottom: 20px; }
.ip-leader-card .ip-card-body { text-align: center; padding: 15px; }

.ip-leader-portrait { margin-bottom: 12px; }
.ip-leader-photo {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--ip-bg);
    box-shadow: 0 0 0 2px var(--ip-accent);
    display: inline-block;
}

.ip-leader-name {
    font-family: Georgia, 'Times New Roman', 'Noto Serif Bengali', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--ip-primary);
    margin: 0 0 2px;
}

.ip-leader-designation {
    font-size: 11.5px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ip-accent-dark, #6ea333);
    font-weight: 600;
    margin: 0 0 4px;
}

.ip-leader-tenure {
    font-size: 12px;
    color: var(--ip-text-muted);
    margin: 0 0 10px;
}

.ip-leader-message {
    font-size: 14px;
    line-height: 1.75;
    color: var(--ip-text-muted);
    text-align: left;
    padding-top: 12px;
    border-top: 1px solid var(--ip-border);
    position: relative;
}
.ip-leader-message p { margin: 0 0 8px; }
.ip-leader-message p:last-child { margin-bottom: 0; }

.ip-leader-contact { margin: 10px 0 0; font-size: 13px; }
.ip-leader-contact i { margin-right: 5px; color: var(--ip-accent); }

.ip-leader-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ip-primary);
}
.ip-leader-more:hover { color: var(--ip-accent); gap: 9px; }

/* Admin list-table badges */
.ip-badge-yes,
.ip-badge-no {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}
.ip-badge-yes { background: #e6f4d9; color: #4d7a20; }
.ip-badge-no { background: #f0f0f1; color: #787c82; }

@media (max-width: 991px) {
    .ip-branding-inner { justify-content: center; text-align: center; }
    .ip-branding-cta { margin-left: 0; width: 100%; }
    .ip-site-meta { justify-content: center; }
}

@media (max-width: 767px) {
    .ip-site-title { font-size: 22px; }
    .ip-site-motto { font-size: 14px; }
    .ip-site-meta { font-size: 10.5px; gap: 6px; }
    .ip-crest img { max-height: 66px; }
    .ip-leader-photo { width: 110px; height: 110px; }
}

/* ==========================================================================
   Boxed Page Width
   ========================================================================== */
body.ip-boxed {
    background-color: #e9e6ef;
}
body.ip-boxed #page {
    max-width: 1280px;
    margin: 0 auto;
    background: var(--ip-bg);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.09);
}

/* ==========================================================================
   Shared layout helpers
   ========================================================================== */
.ip-band { width: 100%; }
.ip-quick-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 26px;
}
.ip-quick-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 22px 14px;
    background: var(--ip-primary);
    color: #ffffff !important;
    border-radius: var(--ip-radius);
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    transition: var(--ip-transition);
}
.ip-quick-tile i { font-size: 25px; }
.ip-quick-tile:hover {
    background: var(--ip-accent);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: var(--ip-shadow-lg);
}

@media (max-width: 767px) {
    .ip-layout-modern .ip-section-block { padding: 34px 0; }
    .ip-layout-minimal .ip-section-block { padding: 40px 0; }
    .ip-layout-minimal .ip-section-header h2,
    .ip-layout-minimal .ip-section-header h3 { font-size: 24px; }
    .ip-layout-magazine .ip-lead-story img { height: 210px; }
    .ip-layout-magazine .ip-lead-story-caption h3 { font-size: 18px; }
    .ip-quick-tiles { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Bilingual Typography (v1.4)
   Font families are injected by the theme from the selected Bangla webfonts.
   ========================================================================== */
:root {
    --ip-font-heading: 'Noto Serif Bengali', Georgia, serif;
    --ip-font-body: 'Hind Siliguri', system-ui, -apple-system, sans-serif;
}

body { font-family: var(--ip-font-body); }
.ip-site-title,
.ip-site-motto,
.ip-leader-name,
.ip-section-header,
h1, h2, h3, h4, h5, h6 { font-family: var(--ip-font-heading); }

/* Bangla needs a little more line height to clear the matra */
.ip-lang-bn body,
body.ip-lang-bn { line-height: 1.85; }
body.ip-lang-bn .ip-site-title { line-height: 1.4; }
body.ip-lang-bn .ip-notice-list a,
body.ip-lang-bn .ip-leader-message { line-height: 1.9; }

/* ==========================================================================
   Language Toggle
   ========================================================================== */
.ip-lang-toggle {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    overflow: hidden;
    margin-left: 10px;
}
.ip-lang-option {
    padding: 3px 12px;
    font-size: 12px;
    line-height: 1.6;
    color: inherit;
    background: transparent;
    transition: var(--ip-transition);
    white-space: nowrap;
}
.ip-lang-option:hover { background: rgba(255, 255, 255, 0.18); color: inherit; }
.ip-lang-option.is-active {
    background: var(--ip-accent);
    color: #ffffff;
    font-weight: 600;
}
.ip-lang-option:focus-visible {
    outline: 2px solid var(--ip-accent);
    outline-offset: -2px;
}

/* ==========================================================================
   Popup Notification
   ========================================================================== */
body.ip-popup-open { overflow: hidden; }

.ip-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.ip-popup-overlay[hidden] { display: none; }
.ip-popup-overlay.is-open { opacity: 1; visibility: visible; }

.ip-popup {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 88vh;
    overflow-y: auto;
    background: var(--ip-bg);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.28s ease;
    border-top: 5px solid var(--ip-primary);
}
.is-open .ip-popup { transform: translateY(0) scale(1); }

.ip-popup--urgent { border-top-color: #c0392b; }
.ip-popup--success { border-top-color: var(--ip-accent); }

.ip-popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: var(--ip-text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: var(--ip-transition);
}
.ip-popup-close:hover { background: var(--ip-primary); color: #ffffff; }
.ip-popup-close:focus-visible { outline: 3px solid var(--ip-accent); outline-offset: 2px; }

.ip-popup-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px 4px 0 0;
}

.ip-popup-body { padding: 26px 28px 28px; }

.ip-popup-title {
    font-size: 21px;
    color: var(--ip-primary);
    margin: 0 0 12px;
    padding-right: 30px;
}
.ip-popup--urgent .ip-popup-title { color: #c0392b; }

.ip-popup-text {
    font-size: 15px;
    line-height: 1.75;
    color: var(--ip-text);
}
.ip-popup-text p:last-child { margin-bottom: 0; }

.ip-popup-button {
    display: inline-block;
    margin-top: 18px;
    padding: 11px 26px;
    background: var(--ip-primary);
    color: #ffffff !important;
    border-radius: var(--ip-radius);
    font-weight: 600;
    transition: var(--ip-transition);
}
.ip-popup-button:hover {
    background: var(--ip-accent);
    color: #ffffff !important;
    transform: translateY(-1px);
}

@media (max-width: 575px) {
    .ip-popup-overlay { padding: 12px; align-items: flex-end; }
    .ip-popup { max-height: 92vh; border-radius: 10px; }
    .ip-popup-body { padding: 20px 18px 22px; }
    .ip-popup-title { font-size: 18px; }
    .ip-popup-text { font-size: 14px; }
    .ip-popup-button { display: block; text-align: center; }
    .ip-lang-toggle { margin-left: 0; }
}

/* Users who prefer reduced motion get no transform animation */
@media (prefers-reduced-motion: reduce) {
    .ip-popup,
    .ip-popup-overlay,
    .ip-back-to-top,
    .ip-lightbox-item img { transition: none !important; transform: none !important; }
}

/* ==========================================================================
   Album Grid (navigational — distinct from the lightbox gallery)
   ========================================================================== */
.ip-album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.ip-album-grid a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--ip-radius);
    box-shadow: var(--ip-shadow);
    background: var(--ip-bg-alt);
}
.ip-album-grid img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    transition: var(--ip-transition);
    display: block;
}
.ip-album-grid a:hover img { transform: scale(1.05); }
.ip-album-grid a::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(104, 48, 145, 0.75);
    color: #ffffff;
    font-size: 22px;
    opacity: 0;
    transition: var(--ip-transition);
}
.ip-album-grid a:hover::after,
.ip-album-grid a:focus-visible::after { opacity: 1; }

@media (max-width: 575px) {
    .ip-album-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .ip-album-grid img { height: 120px; }
}

/* Top bar right cluster: social icons plus language toggle */
.ip-topbar-right {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
@media (max-width: 767px) {
    .ip-topbar-right { justify-content: center; width: 100%; }
}

/* ==========================================================================
   Responsive refinement (v1.4)
   Breakpoints follow Bootstrap 5: 576 / 768 / 992 / 1200
   ========================================================================== */

/* --- Large desktop --------------------------------------------------- */
@media (min-width: 1400px) {
    .container { max-width: 1320px; }
    .ip-site-title { font-size: 33px; }
}

/* --- Tablet landscape (992–1199) ------------------------------------- */
@media (min-width: 992px) and (max-width: 1199px) {
    .ip-site-title { font-size: 26px; }
    .navbar-nav .nav-link { padding: 12px 13px !important; font-size: 14px; }
    .ip-album-grid { grid-template-columns: repeat(3, 1fr); }
    .ip-stats > * { padding-left: 8px; padding-right: 8px; }
}

/* --- Tablet portrait (768–991) --------------------------------------- */
@media (min-width: 768px) and (max-width: 991px) {
    .ip-branding-inner { justify-content: center; text-align: center; }
    .ip-site-meta { justify-content: center; }
    .ip-album-grid { grid-template-columns: repeat(3, 1fr); }
    .ip-lightbox-gallery { grid-template-columns: repeat(3, 1fr); }
    .ip-leader-photo { width: 120px; height: 120px; }
    .ip-section-header { font-size: 19px; }
    /* Sidebar drops below content rather than squeezing */
    .ip-sidebar { margin-top: 30px; }
}

/* --- Phones (below 768) ---------------------------------------------- */
@media (max-width: 767px) {
    /* Comfortable touch targets — WCAG 2.5.8 asks for 24px, 44px is the
       iOS and Android recommendation. */
    .navbar-nav .nav-link,
    .dropdown-item,
    .ip-department-filter a,
    .ip-quicklinks a,
    .ip-lang-option {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    .ip-lang-option { justify-content: center; padding: 0 16px; }

    /* The notice list link holds two lines — a title and a date/meta line
       below it — so it cannot use the flex row treatment above without
       forcing both lines onto one row. A plain min-height keeps the same
       44px minimum tap target from WCAG 2.5.8 without disturbing that
       two-line layout. */
    .ip-notice-list a { min-height: 44px; }

    .ip-cta-button,
    .ip-popup-button,
    .ip-notice-attachment,
    .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

    .ip-back-to-top { width: 46px; height: 46px; right: 14px; bottom: 14px; }

    /* Tables scroll rather than overflow the viewport */
    .ip-single-content table,
    .entry-content table { display: block; overflow-x: auto; white-space: nowrap; }

    /* Stop long words and URLs breaking the layout */
    .ip-single-content,
    .entry-content,
    .ip-leader-message,
    .ip-popup-text { overflow-wrap: break-word; word-wrap: break-word; }

    .ip-stats { text-align: center; }
    .ip-section { padding: 20px 0; }
}

/* --- Small phones (below 400) ---------------------------------------- */
@media (max-width: 399px) {
    .ip-site-title { font-size: 19px; }
    .ip-site-meta { font-size: 10px; }
    .ip-album-grid { grid-template-columns: 1fr; }
    .ip-album-grid img { height: 150px; }
    .ip-leader-photo { width: 96px; height: 96px; }
    .ip-popup-body { padding: 16px 14px 18px; }
}

/* --- Landscape phones: keep the popup usable ------------------------- */
@media (max-height: 480px) and (orientation: landscape) {
    .ip-popup { max-height: 94vh; }
    .ip-popup-image { display: none; }
    .ip-popup-body { padding: 16px 20px; }
}

/* ==========================================================================
   Homepage Layout Variants (v1.4)
   ========================================================================== */

/* --- Alternating full-width bands (Modern layout) --------------------- */
.ip-band--light { background: var(--ip-bg); padding: 44px 0; }
.ip-band--tint { background: var(--ip-bg-alt); padding: 44px 0; }
.ip-band--light + .ip-band--light,
.ip-band--tint + .ip-band--tint { padding-top: 0; }

/* --- Academic Portal: three equal scanning panels ---------------------- */
.ip-portal { padding: 32px 0; }
.ip-portal-panels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: start;
}

/* --- News Magazine: wide main column plus a narrow rail ---------------- */
.ip-magazine { padding: 32px 0; }
.ip-magazine-main > section { margin-bottom: 32px; }
.ip-magazine-rail > * { margin-bottom: 22px; }

/* --- Minimal: one narrow readable column ------------------------------ */
.ip-minimal { padding: 28px 0; }
.ip-minimal .ip-minimal-block { margin-bottom: 34px; }
.ip-minimal .container { max-width: 820px; }

/* --- Leadership shown as a row rather than a sidebar stack ------------- */
.ip-leadership-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.ip-leadership-row .ip-leader-card { margin-bottom: 0; }

@media (max-width: 991px) {
    .ip-portal-panels { grid-template-columns: repeat(2, 1fr); }
    .ip-band--light,
    .ip-band--tint { padding: 30px 0; }
}

@media (max-width: 767px) {
    .ip-portal-panels { grid-template-columns: 1fr; gap: 18px; }
    .ip-magazine-main > section { margin-bottom: 24px; }
    .ip-leadership-row { grid-template-columns: 1fr; }
    .ip-band--light,
    .ip-band--tint { padding: 22px 0; }
}

/* ==========================================================================
   Important Links Box (v1.5)
   ========================================================================== */
.ip-links-list { list-style: none; margin: 0; padding: 0; }
.ip-links-item { border-bottom: 1px solid var(--ip-border); }
.ip-links-item:last-child { border-bottom: 0; }
.ip-links-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 4px;
    color: var(--ip-text);
    transition: var(--ip-transition);
}
.ip-links-item a:hover {
    color: var(--ip-primary);
    padding-left: 8px;
}
.ip-links-icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ip-bg-alt);
    color: var(--ip-primary);
    font-size: 13px;
}
.ip-links-item a:hover .ip-links-icon { background: var(--ip-primary); color: #ffffff; }
.ip-links-label { flex: 1 1 auto; font-size: 14px; font-weight: 500; }
.ip-links-ext { font-size: 10px; color: var(--ip-text-muted); }
.ip-links-item.is-highlighted { background: var(--ip-bg-alt); border-radius: var(--ip-radius); }
.ip-links-item.is-highlighted a { font-weight: 700; }
.ip-links-item.is-highlighted .ip-links-icon { background: var(--ip-accent); color: #ffffff; }

/* ==========================================================================
   Location & Contact Box
   ========================================================================== */
.ip-location-body { text-align: left; padding: 0; }
.ip-location-map { position: relative; }
.ip-location-map iframe {
    width: 100%;
    height: 220px;
    border: 0;
    display: block;
}
.ip-location-details {
    list-style: none;
    margin: 0;
    padding: 16px;
}
.ip-location-details li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px dashed var(--ip-border);
}
.ip-location-details li:last-child { border-bottom: 0; }
.ip-location-details i {
    flex: 0 0 auto;
    width: 20px;
    text-align: center;
    color: var(--ip-accent);
    margin-top: 3px;
}
.ip-location-details a { color: var(--ip-text); }
.ip-location-details a:hover { color: var(--ip-primary); }
.ip-location-directions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 16px 16px;
    padding: 10px;
    background: var(--ip-primary);
    color: #ffffff !important;
    border-radius: var(--ip-radius);
    font-size: 13px;
    font-weight: 600;
    transition: var(--ip-transition);
}
.ip-location-directions:hover { background: var(--ip-accent); color: #ffffff !important; }
.ip-location-directions i { font-size: 11px; }

/* Card type modifiers — share .ip-titled-card layout, no extra rules needed */
.ip-links-card,
.ip-location-card {}

/* ==========================================================================
   Section Custom Call-to-Action Button (v1.6)
   ========================================================================== */
.ip-section-cta {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--ip-border);
    text-align: center;
}
.ip-section-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--ip-primary);
    color: #ffffff !important;
    border-radius: var(--ip-radius);
    font-size: 14px;
    font-weight: 600;
    transition: var(--ip-transition);
}
.ip-section-cta-btn:hover {
    background: var(--ip-accent);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: var(--ip-shadow-lg);
}
.ip-section-cta-btn i { font-size: 13px; }

/* Sidebar-card sections (hotline, downloads-in-card contexts) sit inside a
   narrower box, so the button should not force a top border that reads as a
   second card edge right after the card's own bottom padding. */
.ip-titled-card .ip-section-cta {
    margin-top: 14px;
    padding: 14px 16px 0;
    border-top-color: var(--ip-border);
}
.ip-titled-card .ip-card-body + .ip-section-cta { padding-left: 0; padding-right: 0; margin-left: 16px; margin-right: 16px; }

/* ==========================================================================
   Full-Width Google Map Section
   ========================================================================== */
.ip-map-section {
    padding: 50px 0 0;
    background: var(--ip-bg);
}
.ip-map-section .ip-section-title {
    font-family: var(--ip-font-heading);
    font-size: 26px;
    color: var(--ip-primary);
    margin-bottom: 6px;
}
.ip-map-caption {
    color: var(--ip-text-muted);
    font-size: 14px;
    margin-bottom: 0;
    padding-bottom: 24px;
}
.ip-map-frame {
    width: 100%;
    height: var(--ip-map-height, 420px);
    position: relative;
    overflow: hidden;
    background: var(--ip-bg-alt);
}
.ip-map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 767px) {
    .ip-map-section { padding-top: 32px; }
    .ip-map-section .ip-section-title { font-size: 21px; }
    .ip-map-frame { height: min(var(--ip-map-height, 420px), 320px) !important; }
    .ip-section-cta-btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Services Grid (v2.3)
   ========================================================================== */
.ip-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.ip-services-grid--archive { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.ip-service-box {
    background: var(--ip-bg);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    padding: 20px;
    transition: var(--ip-transition);
}
.ip-service-box:hover {
    border-color: var(--ip-accent);
    box-shadow: var(--ip-shadow);
}

.ip-service-box-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ip-border);
}
.ip-service-box-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(104, 48, 145, 0.1);
    color: var(--ip-primary);
    font-size: 18px;
}
.ip-service-box-icon--lg {
    width: 72px;
    height: 72px;
    font-size: 28px;
    margin: 0 auto 14px;
}
.ip-service-box-title {
    margin: 0;
    font-size: 17px;
    color: var(--ip-primary);
    line-height: 1.4;
}
.ip-service-box-title a { color: inherit; }
.ip-service-box-title a:hover { color: var(--ip-accent); }

.ip-service-box-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ip-service-box-links li {
    padding: 6px 0 6px 18px;
    position: relative;
    font-size: 14px;
}
.ip-service-box-links li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ip-accent);
}
.ip-service-box-links a { color: var(--ip-text); }
.ip-service-box-links a:hover { color: var(--ip-primary); text-decoration: underline; }

.ip-service-box-links--single { max-width: 480px; margin: 0 auto; }
.ip-service-box-links--single li { font-size: 15px; padding: 8px 0 8px 20px; }

.ip-services-viewall { margin-top: 24px; }

@media (max-width: 575px) {
    .ip-services-grid { grid-template-columns: 1fr; }
    .ip-service-box { padding: 16px; }
}

/* Section-type marker class - kept as a layout/CSS hook, no own rules needed
   beyond the shared .ip-section-block card treatment. */
.ip-services {}

/* Single service box page header (icon above title) */
.ip-single-header {
    margin-bottom: 24px;
}
.ip-single-header .ip-single-title {
    margin-top: 0;
}

/* ==========================================================================
   Institute Pro 2.9 — Professional 2/3 Homepage Architecture, UI & Security Audit
   Keeps all existing templates, Customizer controls and content functions.
   ========================================================================== */
:root {
    --ip-primary: #12355B;
    --ip-primary-dark: #0B2743;
    --ip-accent: #0F766E;
    --ip-accent-dark: #0A5B55;
    --ip-gold: #F59E0B;
    --ip-text: #172033;
    --ip-text-muted: #64748B;
    --ip-bg: #F7F9FC;
    --ip-bg-alt: #EEF3F8;
    --ip-border: #E2E8F0;
    --ip-link: #12355B;
    --ip-link-hover: #0F766E;
    --ip-radius: 14px;
    --ip-shadow: 0 8px 24px rgba(18,53,91,.07);
    --ip-shadow-lg: 0 18px 50px rgba(18,53,91,.13);
    --ip-transition: 180ms ease;
}

body { background: var(--ip-bg); color: var(--ip-text); font-size: 16px; }
.container { max-width: 1240px; }
.ip-site { overflow: clip; }

.ip-topbar { background: var(--ip-primary); border: 0; padding: 7px 0; font-size: 13px; }
.ip-topbar-inner { min-height: 30px; }
.ip-topbar-social a { width: 30px; height: 30px; padding: 0; border-radius: 50%; }

.ip-branding { background: #fff; border: 0; padding: 20px 0; box-shadow: 0 1px 0 var(--ip-border); }
.ip-branding::after { display: none; }
.ip-branding-inner { min-height: 76px; gap: 18px; }
.ip-crest img, .ip-crest .custom-logo { max-height: 72px; width: auto; border-radius: 12px; }
.ip-branding-text { min-width: 0; }
.ip-site-title { margin: 0; font-weight: 800; letter-spacing: -.025em; font-size: clamp(1.45rem, 2.4vw, 2.18rem); line-height: 1.08; }
.ip-site-title a { color: var(--ip-primary); }
.ip-site-motto { color: var(--ip-text-muted); margin: 5px 0 0; font-size: .92rem; }
.ip-site-meta { color: #64748B; gap: 7px; font-size: .78rem; margin-top: 8px; }
.ip-branding-cta { margin-left: auto; }
.ip-cta-button, .ip-btn, .ip-section-more a, .ip-download-btn, .ip-btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 42px; padding: 9px 17px; border-radius: 10px; font-weight: 700;
}
.ip-cta-button { background: var(--ip-accent); color: #fff !important; box-shadow: 0 7px 18px rgba(15,118,110,.2); }
.ip-cta-button:hover { background: var(--ip-accent-dark); transform: translateY(-1px); }

.ip-nav-wrap { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--ip-border); box-shadow: 0 5px 18px rgba(15,23,42,.04); z-index: 1000; }
.ip-nav-wrap.is-stuck { box-shadow: 0 12px 30px rgba(15,23,42,.1); }
#site-navigation { min-height: 60px; padding: 0; }
#site-navigation .navbar-brand { width: 38px; height: 38px; display:flex; align-items:center; justify-content:center; border-radius:10px; background: var(--ip-primary); color:#fff; margin-right: 16px; }
#site-navigation .navbar-brand:hover { background: var(--ip-accent); color:#fff; }
#site-navigation .navbar-nav { gap: 3px; }
#site-navigation .navbar-nav > li > a { color: #243447; font-weight: 650; padding: 19px 13px; border-radius: 9px; font-size: .93rem; }
#site-navigation .navbar-nav > li > a:hover, #site-navigation .navbar-nav > li.show > a { color: var(--ip-primary); background: #F0F6FA; }
#site-navigation .dropdown-menu { border: 1px solid var(--ip-border); border-radius: 12px; padding: 8px; box-shadow: var(--ip-shadow-lg); min-width: 210px; }
#site-navigation .dropdown-item { border-radius: 8px; padding: 9px 11px; font-size: .9rem; }
#site-navigation .dropdown-item:hover { background: #EFF8F7; color: var(--ip-accent); }
#site-navigation .search-form { margin-left:auto; }
#site-navigation .search-form input { min-height: 38px; border: 1px solid var(--ip-border); border-radius: 10px 0 0 10px; }
#site-navigation .search-form button { min-height: 38px; border-radius: 0 10px 10px 0; }

.ip-quicklinks { background:#fff; border-bottom:1px solid var(--ip-border); }
.ip-quicklinks-inner { gap: 8px; padding: 9px 0; overflow-x:auto; scrollbar-width:none; }
.ip-quicklinks-inner::-webkit-scrollbar { display:none; }
.ip-quicklink { background:#F6F8FB; border:1px solid #E6EBF1; border-radius:999px; padding:7px 13px; white-space:nowrap; font-size:.82rem; font-weight:650; color:#334155; }
.ip-quicklink:hover { background:#EAF6F4; border-color:#C7E8E4; color:var(--ip-accent); }

.ip-main-content { background: linear-gradient(180deg,#F7F9FC 0,#fff 42%,#F7F9FC 100%); }
.ip-section { padding: 58px 0; }
.ip-home-section, .ip-section-block, .ip-notice-section, .ip-events, .ip-services, .ip-programs, .ip-blog-wrap, .ip-downloads, .ip-links-card, .ip-location-card, .ip-accreditation { background:#fff; border:1px solid var(--ip-border); border-radius:16px; box-shadow:var(--ip-shadow); }
.ip-home-section { padding: 28px; margin-bottom: 24px; }
.ip-section-header { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:22px; }
.ip-section-title { font-size:clamp(1.35rem,2vw,1.85rem); font-weight:800; letter-spacing:-.025em; color:var(--ip-primary); margin:0; }
.ip-section-title::before { content:''; display:inline-block; width:6px; height:24px; margin-right:10px; border-radius:8px; vertical-align:-3px; background:var(--ip-accent); }
.ip-section-more a { min-height:36px; padding:6px 12px; background:#F0F6FA; color:var(--ip-primary); font-size:.8rem; }

.ip-hero { margin: 22px auto 0; max-width:1240px; border-radius:22px; overflow:hidden; box-shadow:var(--ip-shadow-lg); background:#0B2743; }
.ip-hero .carousel-item { max-height:560px; min-height:360px; background:#0B2743; position:relative; }
.ip-hero .carousel-item::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,rgba(6,28,48,.82),rgba(6,28,48,.18) 70%,rgba(6,28,48,.08)); pointer-events:none; }
.ip-hero .carousel-item img { width:100%; height:clamp(360px,45vw,560px); object-fit:cover; }
.ip-hero .carousel-caption { z-index:2; text-align:left; left:7%; right:auto; bottom:13%; max-width:650px; }
.ip-hero .carousel-caption h3 { font-size:clamp(2rem,4vw,3.7rem); font-weight:850; line-height:1.05; margin-bottom:12px; }
.ip-hero .carousel-caption p { font-size:1.05rem; max-width:580px; color:rgba(255,255,255,.9); }
.ip-hero .carousel-caption .btn { border:0; border-radius:10px; padding:11px 18px; font-weight:750; background:var(--ip-accent); }
.ip-hero .carousel-indicators [data-bs-target] { width:24px; height:4px; border:0; border-radius:99px; }

.ip-stat-item { background:#fff; border:1px solid var(--ip-border); border-radius:16px; padding:22px; box-shadow:var(--ip-shadow); transition:transform var(--ip-transition),box-shadow var(--ip-transition); }
.ip-stat-item:hover { transform:translateY(-4px); box-shadow:var(--ip-shadow-lg); }
.ip-stat-number { color:var(--ip-primary); font-size:2rem; font-weight:850; }
.ip-stat-icon { color:var(--ip-accent); font-size:1.4rem; }
.ip-stat-label { color:var(--ip-text-muted); font-weight:650; }

.ip-notice-section { padding:0; overflow:hidden; }
.ip-notice-section h3 { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:16px 18px; margin:0; background:var(--ip-primary); color:#fff; font-size:1rem; }
.ip-notice-section h3 i { color:#FCD34D; }
.ip-notice-viewall { color:#fff; font-size:.78rem; opacity:.9; }
.ip-notice-list { max-height:310px; padding:8px 16px; margin:0; list-style:none; }
.ip-notice-list li { border-bottom:1px solid #EEF2F6; }
.ip-notice-list li:last-child { border-bottom:0; }
.ip-notice-list a { display:block; padding:12px 2px; color:#26364A; font-weight:650; font-size:.9rem; }
.ip-notice-list a:hover { color:var(--ip-accent); padding-left:5px; }

.ip-event-item, .ip-program-card, .ip-service-box, .ip-person-card, .ip-leader-card, .ip-download-item, .ip-links-item { border:1px solid var(--ip-border); border-radius:14px; background:#fff; box-shadow:none; transition:transform var(--ip-transition),box-shadow var(--ip-transition),border-color var(--ip-transition); }
.ip-event-item:hover, .ip-program-card:hover, .ip-service-box:hover, .ip-person-card:hover, .ip-leader-card:hover, .ip-download-item:hover, .ip-links-item:hover { transform:translateY(-4px); border-color:#CFE1E8; box-shadow:var(--ip-shadow); }
.ip-event-date { background:var(--ip-primary); border-radius:11px; color:#fff; }
.ip-event-day { font-size:1.7rem; font-weight:850; }
.ip-event-month { color:#C7E8E4; }
.ip-service-box-head { border-bottom:1px solid var(--ip-border); padding-bottom:14px; }
.ip-service-box-icon { color:var(--ip-accent); background:#EAF6F4; width:42px; height:42px; border-radius:11px; display:flex; align-items:center; justify-content:center; }
.ip-service-box-title, .ip-program-title, .ip-event-title { color:var(--ip-primary); font-weight:800; }
.ip-blog-meta, .ip-download-meta, .ip-program-meta, .ip-event-meta { color:var(--ip-text-muted); font-size:.8rem; }

.ip-band { padding:58px 0; }
.ip-band--light { background:#fff; }
.ip-band--tint { background:#F1F6F8; }
.ip-sidebar { position:relative; }
.ip-card { border-radius:16px; border-color:var(--ip-border); box-shadow:var(--ip-shadow); padding:22px; }

.ip-single-content, .entry-content { color:#334155; font-size:1.02rem; line-height:1.8; }
.ip-single-content h2, .entry-content h2 { color:var(--ip-primary); font-weight:800; margin-top:1.8em; }
.ip-single-content img, .entry-content img { border-radius:14px; }

input[type=text], input[type=email], input[type=url], input[type=tel], input[type=search], input[type=password], input[type=number], textarea, select { border:1px solid #D8E1EA; border-radius:10px; min-height:42px; padding:9px 12px; background:#fff; }
input:focus, textarea:focus, select:focus { outline:none; border-color:#77B8B1; box-shadow:0 0 0 3px rgba(15,118,110,.12); }
button, input[type=submit], .btn-primary { border-radius:10px; font-weight:700; }

.ip-footer, footer.site-footer { background:#0B2743; color:#CBD5E1; border-top:0; }
.ip-footer a, footer.site-footer a { color:#E2E8F0; }
.ip-footer a:hover, footer.site-footer a:hover { color:#67D3C8; }
#ip-back-to-top { width:44px; height:44px; border-radius:12px; background:var(--ip-accent); box-shadow:var(--ip-shadow-lg); }

@media (max-width: 991.98px) {
    .ip-branding { padding:14px 0; }
    .ip-branding-inner { min-height:62px; }
    .ip-branding-cta { margin-left:0; }
    #site-navigation .navbar-nav > li > a { padding:11px 12px; }
    #site-navigation .search-form { margin:10px 0 4px; }
    .ip-hero { margin-top:12px; border-radius:14px; }
    .ip-hero .carousel-caption { left:6%; bottom:9%; max-width:78%; }
    .ip-hero .carousel-caption h3 { font-size:2rem; }
    .ip-section { padding:42px 0; }
}
@media (max-width: 575.98px) {
    .ip-topbar-inner { align-items:flex-start; }
    .ip-branding-inner { align-items:flex-start; }
    .ip-crest img, .ip-crest .custom-logo { max-height:54px; }
    .ip-site-title { font-size:1.35rem; }
    .ip-branding-cta { width:100%; }
    .ip-cta-button { width:100%; }
    .ip-hero .carousel-item, .ip-hero .carousel-item img { min-height:300px; height:300px; }
    .ip-hero .carousel-caption p { display:none; }
    .ip-hero .carousel-caption h3 { font-size:1.65rem; }
    .ip-home-section { padding:20px; }
    .ip-section-header { align-items:flex-start; flex-direction:column; }
}

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


/* 2.9 widget and presentation layer */
.ip-home-widget { margin: 0 auto 24px; }
.ip-home-widget .widget { margin: 0; }
.ip-widget-block { background:#fff; border:1px solid var(--ip-border); border-radius:16px; box-shadow:var(--ip-shadow); padding:22px; margin:0 0 18px; }
.ip-widget-title { color:var(--ip-primary); font-size:1.05rem; font-weight:800; margin:0 0 14px; }
.ip-home-widget--soft .ip-widget-block { background:#fbfdfd; border-color:#dfeceb; box-shadow:0 8px 24px rgba(15,118,110,.08); }
.ip-home-widget--executive .ip-widget-block { border-color:#cbd5e1; box-shadow:0 14px 32px rgba(11,39,67,.12); }
.ip-home-widget--radius-small .ip-widget-block { border-radius:10px; }
.ip-home-widget--radius-medium .ip-widget-block { border-radius:16px; }
.ip-home-widget--radius-large .ip-widget-block { border-radius:24px; }
.ip-home-widget .menu, .ip-home-widget ul { margin:0; padding-left:18px; }
.ip-home-widget img { max-width:100%; height:auto; border-radius:12px; }
.ip-home-widget .button, .ip-home-widget .btn, .ip-home-widget a.button { transition:transform .18s ease, box-shadow .18s ease; }
.ip-home-widget .button:hover, .ip-home-widget .btn:hover, .ip-home-widget a.button:hover { transform:translateY(-1px); }
@media (max-width:575.98px){ .ip-widget-block { padding:18px; margin-bottom:14px; } }

/* Institute Pro 2.7 — Resource Boxes */
.ip-resource-section{padding:clamp(42px,6vw,78px) 0;background:#f7f9fc}
.ip-resource-section .ip-section-heading{margin-bottom:26px}
.ip-resource-section .ip-section-kicker{display:block;font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ip-accent,#0f766e);margin-bottom:6px}
.ip-resource-section .ip-section-heading h2{margin:0;color:var(--ip-primary,#12355b);font-size:clamp(1.55rem,2.6vw,2.2rem)}
.ip-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.ip-resource-card{display:grid;grid-template-columns:150px minmax(0,1fr);background:#fff;border:1px solid rgba(18,53,91,.09);border-radius:14px;overflow:hidden;box-shadow:0 8px 28px rgba(18,53,91,.06);transition:transform .2s ease,box-shadow .2s ease}
.ip-resource-card:hover{transform:translateY(-3px);box-shadow:0 14px 36px rgba(18,53,91,.11)}
.ip-resource-media{min-height:180px;background:#edf2f7;overflow:hidden}
.ip-resource-media img{display:block;width:100%;height:100%;min-height:180px;object-fit:cover}
.ip-resource-placeholder{height:100%;min-height:180px;display:grid;place-items:center;color:var(--ip-accent,#0f766e);background:linear-gradient(145deg,#edf6f5,#f5f8fb)}
.ip-resource-placeholder .dashicons{font-size:42px;width:42px;height:42px}
.ip-resource-body{padding:20px 20px 18px}
.ip-resource-body h3{margin:0 0 12px;color:var(--ip-primary,#12355b);font-size:1.15rem;line-height:1.35}
.ip-resource-links{list-style:none;margin:0;padding:0}
.ip-resource-links li+li{border-top:1px solid #edf0f4}
.ip-resource-links a{display:flex;align-items:flex-start;gap:8px;padding:8px 0;color:#334155;text-decoration:none;font-size:.94rem;line-height:1.45}
.ip-resource-links a:hover{color:var(--ip-accent,#0f766e)}
.ip-resource-links .dashicons{font-size:16px;width:16px;height:16px;flex:0 0 16px;margin-top:2px}
@media (max-width:900px){.ip-resource-grid{grid-template-columns:1fr}}
@media (max-width:560px){.ip-resource-card{grid-template-columns:1fr}.ip-resource-media,.ip-resource-media img,.ip-resource-placeholder{min-height:150px;height:150px}.ip-resource-body{padding:17px}}

/* ==========================================================================
   HOMEPAGE DESIGN — Professional 2/3 Column Architecture (2.9)
   One predictable information architecture: full-width top content followed
   by a 8/4 desktop grid. Tablet keeps 8/4; mobile stacks to one column.
   ========================================================================== */
.ip-professional-home {
    max-width: 1240px;
}
.ip-professional-grid {
    align-items: flex-start;
    row-gap: 28px;
}
.ip-professional-main,
.ip-professional-side {
    min-width: 0;
}
.ip-professional-main > *:last-child,
.ip-professional-side > *:last-child {
    margin-bottom: 0;
}
.ip-professional-main .ip-section-block,
.ip-professional-main .ip-home-section,
.ip-professional-main .ip-notice-section,
.ip-professional-main .ip-resource-section,
.ip-professional-main .ip-events,
.ip-professional-main .ip-services,
.ip-professional-main .ip-programs,
.ip-professional-main .ip-blog-wrap,
.ip-professional-main .ip-gallery,
.ip-professional-main .ip-video,
.ip-professional-main .ip-testimonials,
.ip-professional-side .ip-section-block,
.ip-professional-side .ip-home-section,
.ip-professional-side .ip-notice-section,
.ip-professional-side .ip-downloads,
.ip-professional-side .ip-links-card,
.ip-professional-side .ip-location-card {
    margin-bottom: 24px;
}
.ip-professional-main .ip-section-header,
.ip-professional-side .ip-section-header {
    margin-bottom: 18px;
}
.ip-professional-side {
    position: sticky;
    top: 82px;
    align-self: flex-start;
}
.ip-professional-side .ip-card,
.ip-professional-side .ip-section-block,
.ip-professional-side .ip-home-section {
    box-shadow: 0 6px 22px rgba(18,53,91,.06);
}
.ip-professional-home a,
.ip-professional-home button,
.ip-professional-home input,
.ip-professional-home select,
.ip-professional-home textarea {
    outline-offset: 3px;
}
.ip-professional-home a:focus-visible,
.ip-professional-home button:focus-visible,
.ip-professional-home input:focus-visible,
.ip-professional-home select:focus-visible,
.ip-professional-home textarea:focus-visible {
    outline: 3px solid rgba(15,118,110,.34);
}
.ip-professional-home .ip-resource-section {
    padding-top: 34px;
    padding-bottom: 34px;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.ip-professional-home .ip-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ip-professional-home .ip-resource-card {
    min-width: 0;
}

@media (max-width: 991.98px) {
    .ip-professional-side {
        position: static;
    }
    .ip-professional-main .ip-section-block,
    .ip-professional-main .ip-home-section,
    .ip-professional-side .ip-section-block,
    .ip-professional-side .ip-home-section {
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .ip-professional-home {
        padding-left: 14px;
        padding-right: 14px;
    }
    .ip-professional-grid {
        row-gap: 18px;
    }
    .ip-professional-main .ip-section-block,
    .ip-professional-main .ip-home-section,
    .ip-professional-side .ip-section-block,
    .ip-professional-side .ip-home-section,
    .ip-professional-main .ip-notice-section,
    .ip-professional-side .ip-downloads,
    .ip-professional-side .ip-links-card,
    .ip-professional-side .ip-location-card {
        margin-bottom: 18px;
    }
    .ip-professional-home .ip-resource-section {
        padding-top: 24px;
        padding-bottom: 24px;
    }
    .ip-professional-home .ip-resource-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .ip-professional-home {
        padding-left: 10px;
        padding-right: 10px;
    }
    .ip-professional-home .ip-resource-card {
        grid-template-columns: 1fr;
    }
    .ip-professional-home .ip-resource-media,
    .ip-professional-home .ip-resource-media img,
    .ip-professional-home .ip-resource-placeholder {
        min-height: 150px;
        height: 150px;
    }
    .ip-professional-home .ip-resource-body {
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ip-professional-home *,
    .ip-professional-home *::before,
    .ip-professional-home *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   2.10 Page Templates + Blog / News
   ========================================================= */
.ip-page-template { max-width: 1240px; }
.ip-page-hero { margin-bottom: 24px; padding: 28px 30px; }
.ip-page-kicker { display:inline-flex; align-items:center; gap:8px; color:var(--ip-accent); font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; margin-bottom:8px; }
.ip-page-hero .ip-single-title { margin:0 0 8px; }
.ip-page-hero > p { margin:0; color:var(--ip-text-muted); max-width:760px; }
.ip-page-grid, .ip-blog-page-grid { display:grid; grid-template-columns:minmax(0, 2fr) minmax(260px, 1fr); gap:24px; align-items:start; }
.ip-page-main, .ip-blog-results, .ip-page-side { min-width:0; }
.ip-page-side { position:sticky; top:24px; }
.ip-page-content, .ip-page-intro { padding:28px 30px; }
.ip-page-content > :first-child, .ip-page-intro > :first-child { margin-top:0; }
.ip-page-content > :last-child, .ip-page-intro > :last-child { margin-bottom:0; }
.ip-page-featured, .ip-article-featured { margin:-28px -30px 26px; overflow:hidden; }
.ip-page-featured img, .ip-article-featured img { display:block; width:100%; height:auto; }
.ip-page-service-grid { margin-top:24px; }
.ip-blog-categories { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 24px; }
.ip-blog-categories a { display:inline-flex; align-items:center; min-height:38px; padding:7px 14px; border:1px solid var(--ip-border); border-radius:999px; background:#fff; color:var(--ip-text); text-decoration:none; font-size:14px; font-weight:600; transition:all .2s ease; }
.ip-blog-categories a:hover, .ip-blog-categories a:focus-visible, .ip-blog-categories a.is-active { background:var(--ip-primary); border-color:var(--ip-primary); color:#fff; }
.ip-blog-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.ip-blog-cards .ip-blog-wrap { height:100%; display:flex; flex-direction:column; margin:0; }
.ip-blog-cards .ip-blog-wrap .ip-blog-excerpt { flex:1; }
.ip-pagination { margin-top:28px; }
.ip-pagination ul { display:flex; flex-wrap:wrap; gap:7px; list-style:none; padding:0; margin:0; }
.ip-pagination li { margin:0; }
.ip-pagination a, .ip-pagination span { display:inline-flex; align-items:center; justify-content:center; min-width:38px; min-height:38px; padding:6px 11px; border:1px solid var(--ip-border); border-radius:9px; background:#fff; text-decoration:none; }
.ip-pagination .current { background:var(--ip-primary); border-color:var(--ip-primary); color:#fff; }
.ip-article-card { padding:28px 30px; }
.ip-article-header { margin-bottom:24px; }
.ip-article-category { margin-bottom:10px; font-size:13px; font-weight:700; }
.ip-article-category a { color:var(--ip-accent); text-decoration:none; }
.ip-article-header .ip-single-title { margin-bottom:12px; }
.ip-article-featured { margin-top:0; margin-left:0; margin-right:0; border-radius:12px; }
.ip-article-footer { margin-top:28px; padding-top:22px; border-top:1px solid var(--ip-border); }
.ip-share-title { font-size:16px; margin:22px 0 10px; color:var(--ip-primary); }
.ip-article-card + .navigation, .ip-article-card ~ .post-navigation { margin-top:20px; }

@media (max-width: 991.98px) {
  .ip-page-grid, .ip-blog-page-grid { grid-template-columns:1fr; }
  .ip-page-side { position:static; }
}

@media (max-width: 767.98px) {
  .ip-page-hero { padding:22px 20px; }
  .ip-page-content, .ip-page-intro, .ip-article-card { padding:22px 20px; }
  .ip-page-featured, .ip-article-featured { margin:-22px -20px 22px; }
  .ip-blog-cards { grid-template-columns:1fr; }
}

@media (max-width: 575.98px) {
  .ip-page-hero .ip-single-title { font-size:25px; }
  .ip-blog-categories { gap:6px; }
  .ip-blog-categories a { min-height:36px; padding:6px 11px; }
}

/* ==========================================================================
   Institute Pro 2.11 — Navigation polish and page-template refinements
   ========================================================================== */
#site-navigation .ip-home-link {
    width:auto; min-width:78px; height:40px; padding:0 12px; gap:8px;
    display:inline-flex; align-items:center; justify-content:center;
    border-radius:10px; background:var(--ip-primary); color:#fff; margin-right:16px;
    text-decoration:none; font-size:.86rem; font-weight:750; line-height:1;
}
#site-navigation .ip-home-link i { font-size:.95rem; color:inherit; padding:0; }
#site-navigation .ip-home-link span { display:inline-block; }
#site-navigation .ip-home-link:hover,
#site-navigation .ip-home-link:focus-visible { background:var(--ip-accent); color:#fff; }
#site-navigation .ip-home-link:focus-visible { outline:3px solid rgba(15,118,110,.28); outline-offset:2px; }
#site-navigation .navbar-nav > .active > a,
#site-navigation .navbar-nav > .current-menu-item > a,
#site-navigation .navbar-nav > .current-menu-ancestor > a,
#site-navigation .navbar-nav > .current-menu-parent > a {
    color:var(--ip-primary); background:#EAF3F7;
}
#site-navigation .navbar-nav > li > a:focus-visible { outline:3px solid rgba(15,118,110,.22); outline-offset:-2px; }
#site-navigation .dropdown-toggle::after { margin-left:7px; vertical-align:.12em; }
#site-navigation .ip-search-form { margin-left:auto; }
#site-navigation .ip-search-form .form-control { min-width:155px; margin-right:0 !important; }
#site-navigation .ip-search-form .btn { min-width:42px; }
.ip-page-template .ip-page-grid.has-no-sidebar,
.ip-page-template .ip-blog-page-grid.has-no-sidebar { grid-template-columns:minmax(0,1fr); }
.ip-page-template .ip-page-grid.has-no-sidebar .ip-page-main,
.ip-page-template .ip-blog-page-grid.has-no-sidebar .ip-blog-results { max-width:100%; }
@media (max-width:991.98px) {
    #site-navigation .ip-home-link { margin-right:8px; }
    #site-navigation .navbar-collapse { padding:8px 0 12px; }
    #site-navigation .navbar-nav > li > a { border-radius:8px; }
    #site-navigation .ip-search-form { width:100%; margin:8px 0 2px; }
    #site-navigation .ip-search-form .form-control { flex:1 1 auto; min-width:0; }
}
@media (max-width:575.98px) {
    #site-navigation .ip-home-link { min-width:74px; padding:0 10px; }
    #site-navigation .ip-home-link span { font-size:.82rem; }
    #site-navigation .navbar-toggler { min-width:42px; min-height:40px; border-radius:10px; }
}

/* ============================================================================
   v2.18 — Screenshot-matched school homepage layout
   Title strip, identity over the slider, one purple navigation bar, and a
   compact two-column school information layout. Existing section modules stay intact.
   ============================================================================ */
.ip-showcase-titlebar-inner { justify-content: space-between; gap: 12px; }
.ip-showcase-titlebar-language { flex: 0 0 auto; margin-left: auto; }
.ip-showcase-titlebar-language .ip-lang-toggle { display: inline-flex; align-items: center; gap: 3px; }
.ip-showcase-titlebar-language .ip-lang-option { color: #fff; font-size: 11px; font-weight: 700; text-decoration: none; padding: 2px 7px; border: 1px solid rgba(255,255,255,.4); }
.ip-showcase-titlebar-language .ip-lang-option.is-active { background: var(--ip-accent); color: var(--ip-primary-dark); border-color: var(--ip-accent); }
.ip-showcase-hero .ip-hero .carousel-item { height: clamp(220px, 22vw, 330px); }
.ip-showcase-hero .ip-hero .carousel-item img { object-fit: cover; }
.ip-showcase-brand { align-items: center; }
.ip-showcase-brand-inner { max-width: 1296px; }
.ip-showcase-logo { pointer-events: auto; }
.ip-showcase-copy { pointer-events: auto; }
.ip-showcase-content { padding-top: 12px; padding-bottom: 18px; }
.ip-showcase-content .ip-professional-grid { --bs-gutter-x: 18px; --bs-gutter-y: 14px; align-items: flex-start; }
.ip-showcase-content .ip-professional-main,
.ip-showcase-content .ip-professional-side { min-width: 0; }
.ip-showcase-content .ip-professional-side { position: static; }
.ip-showcase-content .ip-professional-main > *,
.ip-showcase-content .ip-professional-side > * { margin-bottom: 14px; }
.ip-showcase-content .ip-notice-section { background: #f5f5f5; border: 1px solid #c8c8c8; border-radius: 0; box-shadow: none; padding: 12px 14px; margin-bottom: 14px; }
.ip-showcase-content .ip-notice-section h2,
.ip-showcase-content .ip-notice-section h3 { margin: 0 0 8px; color: #111; font-family: 'Noto Serif Bengali', 'Noto Sans Bengali', SolaimanLipi, serif; font-size: 21px; }
.ip-showcase-content .ip-resource-section { padding: 0; margin: 0 0 14px; background: transparent; border: 0; box-shadow: none; }
.ip-showcase-content .ip-resource-section .ip-section-heading { margin: 0 0 8px; }
.ip-showcase-content .ip-resource-section .ip-section-heading h2 { font-family: 'Noto Serif Bengali', 'Noto Sans Bengali', SolaimanLipi, serif; font-size: 20px; color: #111; }
.ip-showcase-content .ip-resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.ip-showcase-content .ip-resource-card { grid-template-columns: 76px minmax(0, 1fr); min-height: 94px; border: 1px solid #bdbdbd; border-radius: 0; box-shadow: none; background: #f7f7f7; }
.ip-showcase-content .ip-resource-card:hover { transform: none; box-shadow: none; }
.ip-showcase-content .ip-resource-media,
.ip-showcase-content .ip-resource-media img,
.ip-showcase-content .ip-resource-placeholder { min-height: 92px; height: 100%; }
.ip-showcase-content .ip-resource-media img { object-fit: contain; padding: 7px; }
.ip-showcase-content .ip-resource-placeholder { background: transparent; }
.ip-showcase-content .ip-resource-placeholder .dashicons { font-size: 38px; width: 38px; height: 38px; }
.ip-showcase-content .ip-resource-body { padding: 8px 9px; }
.ip-showcase-content .ip-resource-body h3 { color: #111; font-family: 'Noto Serif Bengali', 'Noto Sans Bengali', SolaimanLipi, serif; font-size: 16px; margin: 0 0 3px; line-height: 1.35; }
.ip-showcase-content .ip-resource-links a { padding: 1px 0; border: 0; color: #222; font-family: 'Noto Serif Bengali', 'Noto Sans Bengali', SolaimanLipi, serif; font-size: 12px; line-height: 1.35; }
.ip-showcase-content .ip-professional-side .ip-section-header { margin-bottom: 7px; }
.ip-showcase-content .ip-professional-side .ip-section-header h2,
.ip-showcase-content .ip-professional-side .ip-section-header h3 { background: #2476bd; color: #fff; text-align: center; padding: 3px 6px; margin: 0; font-family: 'Noto Serif Bengali', 'Noto Sans Bengali', SolaimanLipi, serif; font-size: 18px; }
.ip-showcase-content .ip-professional-side .ip-card,
.ip-showcase-content .ip-professional-side .ip-section-block,
.ip-showcase-content .ip-professional-side .ip-home-section { border-radius: 0; box-shadow: none; }
@media (max-width: 991.98px) {
  .ip-showcase-hero .ip-hero .carousel-item { height: clamp(220px, 34vw, 300px); }
  .ip-showcase-content .ip-professional-grid { --bs-gutter-x: 12px; }
}
@media (max-width: 767.98px) {
  .ip-showcase-hero .ip-hero .carousel-item { height: clamp(190px, 52vw, 270px); }
  .ip-showcase-brand-inner { padding: 0 14px; gap: 9px; }
  .ip-showcase-logo { width: 52px; height: 52px; }
  .ip-showcase-title { font-size: clamp(1rem, 4.8vw, 1.45rem); }
  .ip-showcase-motto { font-size: 10px; }
  .ip-showcase-meta { display: none; }
  .ip-showcase-content .ip-resource-grid { grid-template-columns: 1fr; }
  .ip-showcase-content .ip-professional-side { margin-top: 5px; }
}
@media (max-width: 480px) {
  .ip-showcase-titlebar-inner { min-height: 31px; padding: 4px 8px; }
  .ip-showcase-titlebar-inner span { font-size: 11px; }
  .ip-showcase-hero .ip-hero .carousel-item { height: 205px; }
  .ip-showcase-brand-inner { padding: 0 9px; }
  .ip-showcase-logo { width: 44px; height: 44px; }
  .ip-showcase-title { font-size: 1rem; }
  .ip-showcase-motto { display: none; }
  .ip-showcase-nav-inner { min-height: 40px; }
}


/* Institute Pro 2.18: navigation and resource-card refinement.
 * The school title strip keeps its existing appearance and stays visible on scroll.
 */
.ip-showcase-titlebar {
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 2px 7px rgba(20, 12, 30, .14);
}
.ip-showcase-nav {
    border-top: 1px solid rgba(255,255,255,.18);
    border-bottom: 3px solid var(--ip-accent);
    box-shadow: 0 3px 8px rgba(30, 18, 45, .13);
}
.ip-showcase-nav-inner { min-height: 46px; }
.ip-showcase-home-link,
.ip-showcase-nav .navbar-nav > .nav-item > .nav-link {
    min-height: 43px;
    padding: 0 15px !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1px;
    border-right: 1px solid rgba(255,255,255,.12);
    transition: background-color .18s ease, color .18s ease;
}
.ip-showcase-home-link { min-width: 88px; }
.ip-showcase-nav .navbar-nav > .nav-item > .nav-link:hover,
.ip-showcase-nav .navbar-nav > .nav-item > .nav-link:focus-visible,
.ip-showcase-nav .navbar-nav > .nav-item.active > .nav-link,
.ip-showcase-nav .navbar-nav > .nav-item.current-menu-item > .nav-link,
.ip-showcase-nav .navbar-nav > .nav-item.current-menu-ancestor > .nav-link {
    background: var(--ip-accent);
    color: #fff !important;
}
.ip-showcase-nav .navbar-nav .dropdown-menu {
    min-width: 220px;
    margin: 0;
    padding: 6px 0;
    border: 1px solid rgba(70, 35, 95, .18);
    border-top: 3px solid var(--ip-accent);
    box-shadow: 0 8px 20px rgba(20, 10, 30, .2);
    z-index: 1060;
}
.ip-showcase-nav .navbar-nav .dropdown-item {
    display: block;
    padding: 9px 14px;
    line-height: 1.35;
    border-bottom: 1px solid rgba(255,255,255,.09);
}
.ip-showcase-nav .navbar-nav .dropdown-item:last-child { border-bottom: 0; }
.ip-showcase-nav .navbar-nav .dropdown-item:hover,
.ip-showcase-nav .navbar-nav .dropdown-item:focus-visible {
    padding-left: 18px;
    background: var(--ip-accent) !important;
    color: #fff !important;
}
.ip-showcase-nav .navbar-nav .menu-item-has-children > .nav-link::after {
    margin-left: 7px;
    vertical-align: 2px;
}
.ip-showcase-nav .ip-search-form { padding-right: 10px; }
.ip-showcase-nav .ip-search-form .form-control { width: 165px; }
.ip-showcase-menu-toggle { min-height: 43px; }

/* Useful Resources: clearer card hierarchy while preserving existing resource data. */
.ip-showcase-content .ip-resource-section .ip-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 0 8px;
    border-bottom: 2px solid var(--ip-primary);
}
.ip-showcase-content .ip-resource-section .ip-section-heading .ip-section-kicker {
    display: none;
}
.ip-showcase-content .ip-resource-section .ip-section-heading h2 {
    position: relative;
    margin: 0;
    padding-left: 11px;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
}
.ip-showcase-content .ip-resource-section .ip-section-heading h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 4px;
    border-radius: 2px;
    background: var(--ip-accent);
}
.ip-showcase-content .ip-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin-top: 11px;
}
.ip-showcase-content .ip-resource-card {
    position: relative;
    grid-template-columns: 68px minmax(0, 1fr);
    min-height: 104px;
    overflow: hidden;
    border: 1px solid var(--ip-border);
    border-left: 3px solid var(--ip-primary);
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 2px 7px rgba(31, 22, 42, .06);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.ip-showcase-content .ip-resource-card:hover {
    border-color: var(--ip-accent);
    border-left-color: var(--ip-accent);
    box-shadow: 0 5px 14px rgba(31, 22, 42, .11);
    transform: translateY(-2px);
}
.ip-showcase-content .ip-resource-media,
.ip-showcase-content .ip-resource-media img,
.ip-showcase-content .ip-resource-placeholder {
    min-height: 102px;
    height: 100%;
}
.ip-showcase-content .ip-resource-media {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ip-soft-accent);
    border-right: 1px solid var(--ip-border);
}
.ip-showcase-content .ip-resource-media img {
    width: 100%;
    object-fit: contain;
    padding: 9px;
}
.ip-showcase-content .ip-resource-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    background: var(--ip-soft-accent);
    color: var(--ip-primary);
}
.ip-showcase-content .ip-resource-placeholder .dashicons {
    font-size: 34px;
    width: 34px;
    height: 34px;
}
.ip-showcase-content .ip-resource-body {
    min-width: 0;
    padding: 9px 11px;
}
.ip-showcase-content .ip-resource-body h3 {
    margin: 0 0 5px;
    color: var(--ip-primary);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}
.ip-showcase-content .ip-resource-links {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ip-showcase-content .ip-resource-links li { margin: 0; padding: 0; }
.ip-showcase-content .ip-resource-links a {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    padding: 2px 0;
    color: var(--ip-text);
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.ip-showcase-content .ip-resource-links a:hover,
.ip-showcase-content .ip-resource-links a:focus-visible { color: var(--ip-primary); }
.ip-showcase-content .ip-resource-links a .dashicons {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin-top: 1px;
    color: var(--ip-accent);
    font-size: 14px;
}
@media (max-width: 991.98px) {
    .ip-showcase-nav .navbar-nav > .nav-item > .nav-link { padding-right: 10px !important; padding-left: 10px !important; }
    .ip-showcase-nav .ip-search-form .form-control { width: 125px; }
}
@media (max-width: 767.98px) {
    .ip-showcase-titlebar { top: 0; }
    .ip-showcase-nav-inner { min-height: 43px; }
    .ip-showcase-menu-toggle { margin-left: auto; min-width: 48px; }
    .ip-showcase-nav .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
        background: var(--ip-primary-dark);
        border-top: 1px solid rgba(255,255,255,.18);
    }
    .ip-showcase-nav .navbar-nav > .nav-item > .nav-link {
        min-height: 42px;
        width: 100%;
        padding: 9px 14px !important;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }
    .ip-showcase-nav .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        border: 0;
        border-top: 1px solid rgba(255,255,255,.14);
        box-shadow: none;
        background: var(--ip-primary-dark);
    }
    .ip-showcase-nav .navbar-nav .dropdown-item { padding: 9px 28px; }
    .ip-showcase-nav .ip-search-form { padding: 10px 12px; }
    .ip-showcase-nav .ip-search-form .form-control { width: 100%; }
    .ip-showcase-content .ip-resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .ip-showcase-content .ip-resource-grid { grid-template-columns: 1fr; gap: 9px; }
    .ip-showcase-content .ip-resource-card { grid-template-columns: 60px minmax(0, 1fr); min-height: 88px; }
    .ip-showcase-content .ip-resource-media,
    .ip-showcase-content .ip-resource-media img,
    .ip-showcase-content .ip-resource-placeholder { min-height: 86px; }
    .ip-showcase-content .ip-resource-body { padding: 8px 9px; }
}
@media (prefers-reduced-motion: reduce) {
    .ip-showcase-content .ip-resource-card,
    .ip-showcase-nav .navbar-nav .nav-link,
    .ip-showcase-nav .navbar-nav .dropdown-item { transition: none; }
}

/* Institute Pro 2.18 — definitive primary navigation layout.
 * Explicitly neutralize inherited list numbering/bullets and render a single
 * horizontal menu on desktop, with accessible stacked navigation on mobile.
 */
.ip-showcase-nav,
.ip-showcase-nav * { box-sizing: border-box; }
.ip-showcase-nav #ipShowcaseNav { min-width: 0; flex: 1 1 auto; }
.ip-showcase-nav #ipShowcaseNav > ul,
.ip-showcase-nav ul.navbar-nav,
.ip-showcase-nav ul.navbar-nav ul {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    counter-reset: none !important;
}
.ip-showcase-nav ul.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    min-width: 0;
}
.ip-showcase-nav ul.navbar-nav > li,
.ip-showcase-nav ul.navbar-nav li {
    list-style: none !important;
    list-style-type: none !important;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
}
.ip-showcase-nav ul.navbar-nav li::marker { content: '' !important; font-size: 0 !important; }
.ip-showcase-nav ul.navbar-nav > li > a.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 17px !important;
    border: 0;
    border-right: 1px solid rgba(255,255,255,.13);
    border-radius: 0;
    color: #fff !important;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.ip-showcase-nav ul.navbar-nav > li:first-child > a.nav-link { border-left: 1px solid rgba(255,255,255,.10); }
.ip-showcase-nav ul.navbar-nav > li:hover > a.nav-link,
.ip-showcase-nav ul.navbar-nav > li:focus-within > a.nav-link,
.ip-showcase-nav ul.navbar-nav > li.current-menu-item > a.nav-link,
.ip-showcase-nav ul.navbar-nav > li.current-menu-ancestor > a.nav-link,
.ip-showcase-nav ul.navbar-nav > li.current-menu-parent > a.nav-link,
.ip-showcase-nav ul.navbar-nav > li.active > a.nav-link {
    color: #fff !important;
    background: var(--ip-accent);
    box-shadow: inset 0 -3px 0 rgba(32,70,10,.22);
}
.ip-showcase-nav ul.navbar-nav > li > a.nav-link:focus-visible,
.ip-showcase-nav .ip-showcase-home-link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -4px;
}
/* Desktop dropdowns open on hover and keyboard focus, without requiring a click. */
@media (min-width: 992px) {
    .ip-showcase-nav ul.navbar-nav > li > .dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 225px;
        margin: 0;
        padding: 6px 0;
        transform: translateY(7px);
        transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
    }
    .ip-showcase-nav ul.navbar-nav > li:hover > .dropdown-menu,
    .ip-showcase-nav ul.navbar-nav > li:focus-within > .dropdown-menu,
    .ip-showcase-nav ul.navbar-nav > li.show > .dropdown-menu {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .ip-showcase-nav ul.navbar-nav .dropdown-menu > li > a.dropdown-item {
        display: block;
        width: 100%;
        padding: 10px 15px;
        color: #fff !important;
        background: transparent;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.35;
        white-space: normal;
        text-decoration: none;
        transition: color .16s ease, background-color .16s ease, padding-left .16s ease;
    }
    .ip-showcase-nav ul.navbar-nav .dropdown-menu > li:hover > a.dropdown-item,
    .ip-showcase-nav ul.navbar-nav .dropdown-menu > li:focus-within > a.dropdown-item,
    .ip-showcase-nav ul.navbar-nav .dropdown-menu > li > a.dropdown-item:hover,
    .ip-showcase-nav ul.navbar-nav .dropdown-menu > li > a.dropdown-item:focus-visible {
        color: #fff !important;
        background: var(--ip-accent) !important;
        padding-left: 19px;
    }
    .ip-showcase-nav ul.navbar-nav .dropdown-menu > li > .dropdown-menu {
        top: -3px;
        left: 100%;
    }
    .ip-showcase-nav ul.navbar-nav .dropdown-menu > li:hover > .dropdown-menu,
    .ip-showcase-nav ul.navbar-nav .dropdown-menu > li:focus-within > .dropdown-menu,
    .ip-showcase-nav ul.navbar-nav .dropdown-menu > li.show > .dropdown-menu {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}
@media (max-width: 991.98px) {
    .ip-showcase-nav #ipShowcaseNav { flex-basis: 100%; }
    .ip-showcase-nav ul.navbar-nav,
    .ip-showcase-nav ul.navbar-nav ul {
        display: block !important;
        width: 100%;
    }
    .ip-showcase-nav ul.navbar-nav > li > a.nav-link {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        min-height: 43px;
        padding: 10px 16px !important;
        border: 0;
        border-bottom: 1px solid rgba(255,255,255,.12);
        white-space: normal;
    }
    .ip-showcase-nav ul.navbar-nav .dropdown-menu {
        position: static !important;
        display: none;
        width: 100%;
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transform: none;
        background: var(--ip-primary-dark);
    }
    .ip-showcase-nav ul.navbar-nav .dropdown-menu.show { display: block; }
    .ip-showcase-nav ul.navbar-nav .dropdown-menu > li > a.dropdown-item {
        display: block;
        padding: 10px 30px;
        color: #fff !important;
        white-space: normal;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .ip-showcase-nav ul.navbar-nav .dropdown-menu .dropdown-menu > li > a.dropdown-item { padding-left: 46px; }
}
@media (prefers-reduced-motion: reduce) {
    .ip-showcase-nav ul.navbar-nav > li > a.nav-link,
    .ip-showcase-nav ul.navbar-nav .dropdown-menu,
    .ip-showcase-nav ul.navbar-nav .dropdown-item { transition: none !important; }
}


/* ========================================================================
   Institute Pro 2.23 — unified institutional visual refresh
   Colors are driven by Appearance > Customize > Theme Colors.
   ======================================================================== */
:root {
    --ip-primary: #12355B;
    --ip-primary-dark: #0B2744;
    --ip-accent: #0F766E;
    --ip-accent-dark: #0B5E58;
    --ip-text: #243244;
    --ip-text-muted: #64748B;
    --ip-bg: #FFFFFF;
    --ip-bg-alt: #F3F6F8;
    --ip-border: #DCE4EA;
    --ip-card-bg: #FFFFFF;
    --ip-radius: 12px;
    --ip-shadow: 0 3px 14px rgba(15, 35, 55, .06);
    --ip-shadow-lg: 0 12px 30px rgba(15, 35, 55, .12);
    --ip-transition: all .22s ease;
}
body { background: var(--ip-bg-alt); color: var(--ip-text); }
#page.ip-site { min-height: 100vh; }
.ip-showcase-home { padding: 0 0 42px; background: var(--ip-bg-alt); }
.ip-showcase-shell { width: min(100% - 36px, 1380px); margin: 0 auto; background: var(--ip-card-bg); border: 1px solid rgba(18,53,91,.08); border-top: 0; box-shadow: 0 10px 35px rgba(15,35,55,.08); }
.ip-showcase-titlebar { position: sticky; top: 0; z-index: 1050; background: var(--ip-showcase-primary, var(--ip-primary)); color: #fff; border-bottom: 3px solid var(--ip-showcase-accent, var(--ip-accent)); box-shadow: 0 3px 12px rgba(8,25,43,.13); }
.ip-showcase-titlebar-inner { min-height: 42px; padding: 7px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ip-showcase-titlebar-inner > span { color: #fff; font-size: clamp(13px,1.2vw,17px); font-weight: 750; letter-spacing: .01em; }
.ip-showcase-titlebar-language { flex: 0 0 auto; }
.ip-showcase-titlebar-language a { color: #fff; font-weight: 650; text-decoration: none; }
.ip-showcase-titlebar-language a:hover { color: #D7F3E9; }
.ip-showcase-hero { background: #18344D; }
.ip-showcase-hero .ip-hero .carousel-item { height: clamp(280px, 27vw, 410px); }
.ip-showcase-hero .ip-hero .carousel-item::after { background: linear-gradient(90deg, rgba(5,24,43,.58), rgba(5,24,43,.22) 58%, rgba(5,24,43,.04)); }
.ip-showcase-brand-inner { max-width: 1320px; padding: 0 54px; gap: 22px; }
.ip-showcase-logo { border: 4px solid rgba(255,255,255,.92); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.ip-showcase-title { text-wrap: balance; text-shadow: 0 3px 14px rgba(0,0,0,.8); }
.ip-showcase-motto, .ip-showcase-meta { text-shadow: 0 2px 8px rgba(0,0,0,.85); }
.ip-showcase-nav { position: sticky; top: 42px; z-index: 1040; background: var(--ip-primary); border-bottom: 3px solid var(--ip-accent); box-shadow: 0 5px 18px rgba(12,35,57,.16); }
.ip-showcase-nav-inner { min-height: 54px; padding: 0 10px; align-items: center; }
.ip-showcase-home-link, .ip-showcase-menu-toggle { min-height: 54px; min-width: 94px; background: transparent; color: #fff !important; font-size: 13px; font-weight: 750; border-right: 1px solid rgba(255,255,255,.12); transition: var(--ip-transition); }
.ip-showcase-home-link:hover, .ip-showcase-home-link:focus-visible, .ip-showcase-menu-toggle:hover, .ip-showcase-menu-toggle:focus-visible, .ip-showcase-home-link[aria-current='page'] { background: var(--ip-accent); color: #fff !important; }
.ip-showcase-nav ul.navbar-nav > li > a.nav-link { min-height: 54px; padding: 0 clamp(11px,1.15vw,18px) !important; color: #F8FAFC !important; font-size: 13px; font-weight: 650; border-right: 1px solid rgba(255,255,255,.09); }
.ip-showcase-nav ul.navbar-nav > li:hover > a.nav-link,
.ip-showcase-nav ul.navbar-nav > li:focus-within > a.nav-link,
.ip-showcase-nav ul.navbar-nav > li.current-menu-item > a.nav-link,
.ip-showcase-nav ul.navbar-nav > li.current-menu-ancestor > a.nav-link,
.ip-showcase-nav ul.navbar-nav > li.current-menu-parent > a.nav-link,
.ip-showcase-nav ul.navbar-nav > li.active > a.nav-link { color: #fff !important; background: var(--ip-accent); box-shadow: inset 0 -3px 0 rgba(0,0,0,.12); }
.ip-showcase-nav ul.navbar-nav .dropdown-menu { background: var(--ip-primary-dark); border: 1px solid rgba(255,255,255,.12); border-top: 3px solid var(--ip-accent); border-radius: 0 0 9px 9px; box-shadow: 0 14px 30px rgba(9,28,46,.24); }
.ip-showcase-nav ul.navbar-nav .dropdown-menu > li:hover > a.dropdown-item,
.ip-showcase-nav ul.navbar-nav .dropdown-menu > li:focus-within > a.dropdown-item,
.ip-showcase-nav ul.navbar-nav .dropdown-menu > li > a.dropdown-item:hover,
.ip-showcase-nav ul.navbar-nav .dropdown-menu > li > a.dropdown-item:focus-visible { color: #fff !important; background: var(--ip-accent) !important; }
.ip-showcase-nav .ip-search-form { padding: 8px 8px 8px 12px; }
.ip-showcase-nav .ip-search-form .form-control { width: 170px; height: 36px; border: 1px solid rgba(255,255,255,.2); border-radius: 7px 0 0 7px; box-shadow: none; }
.ip-showcase-nav .ip-search-form .btn { height: 36px; border-radius: 0 7px 7px 0; background: var(--ip-accent); color: #fff; }
.ip-showcase-content { padding-top: 28px; padding-bottom: 24px; }
.ip-professional-grid { --bs-gutter-x: 24px; --bs-gutter-y: 24px; }
.ip-professional-main > *, .ip-professional-side > * { margin-bottom: 22px; }
.ip-professional-main .ip-section-block, .ip-professional-main .ip-home-section, .ip-professional-main .ip-notice-section,
.ip-professional-main .ip-resource-section, .ip-professional-main .ip-events, .ip-professional-main .ip-services,
.ip-professional-main .ip-programs, .ip-professional-main .ip-blog-wrap, .ip-professional-side .ip-section-block,
.ip-professional-side .ip-home-section, .ip-professional-side .ip-widget-block, .ip-professional-side .widget {
    background: var(--ip-card-bg); border: 1px solid var(--ip-border); border-radius: var(--ip-radius); box-shadow: var(--ip-shadow); overflow: hidden;
}
.ip-notice-section { padding: 0; border-radius: var(--ip-radius); }
.ip-notice-section h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 15px 18px; color: #fff; background: var(--ip-primary); font-size: 17px; font-weight: 750; border-bottom: 3px solid var(--ip-accent); }
.ip-notice-section h3 span { display: flex; align-items: center; gap: 9px; }
.ip-notice-viewall { color: #fff !important; font-size: 12px; font-weight: 700; }
.ip-notice-list { max-height: 290px; overflow-y: auto; margin: 0; padding: 6px 18px; list-style: none; }
.ip-notice-list li { margin: 0; padding: 0; border-bottom: 1px solid var(--ip-border); }
.ip-notice-list li:last-child { border-bottom: 0; }
.ip-notice-list li a { display: block; padding: 12px 2px; color: var(--ip-text); font-weight: 650; line-height: 1.45; }
.ip-notice-list li a:hover { color: var(--ip-accent); padding-left: 5px; }
.ip-notice-list small { margin-top: 4px; color: var(--ip-text-muted) !important; font-size: 11px; font-weight: 450; }
.ip-resource-section { padding: 24px 20px !important; background: var(--ip-card-bg) !important; }
.ip-resource-section .ip-section-heading { margin-bottom: 18px; }
.ip-resource-section .ip-section-kicker { color: var(--ip-accent); font-size: 11px; letter-spacing: .12em; font-weight: 800; }
.ip-resource-section .ip-section-heading h2 { color: var(--ip-primary); font-size: clamp(20px,2vw,26px); font-weight: 800; }
.ip-showcase-content .ip-resource-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.ip-showcase-content .ip-resource-card { display: grid; grid-template-columns: 78px minmax(0,1fr); min-height: 116px; border: 1px solid var(--ip-border); border-radius: 10px; background: #fff; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ip-showcase-content .ip-resource-card:hover { transform: translateY(-3px); border-color: rgba(15,118,110,.45); box-shadow: 0 10px 22px rgba(15,35,55,.09); }
.ip-showcase-content .ip-resource-media, .ip-showcase-content .ip-resource-media img, .ip-showcase-content .ip-resource-placeholder { min-height: 116px; width: 100%; height: 100%; }
.ip-showcase-content .ip-resource-media img { object-fit: cover; }
.ip-showcase-content .ip-resource-placeholder { display: grid; place-items: center; color: var(--ip-accent); background: #EAF4F2; font-size: 25px; }
.ip-showcase-content .ip-resource-body { padding: 12px 13px; }
.ip-showcase-content .ip-resource-body h3 { margin: 0 0 8px; color: var(--ip-primary); font-size: 14px; font-weight: 800; line-height: 1.35; }
.ip-showcase-content .ip-resource-links { margin: 0; padding: 0; list-style: none; }
.ip-showcase-content .ip-resource-links li { margin: 0; padding: 0; }
.ip-showcase-content .ip-resource-links a { display: flex; align-items: flex-start; gap: 6px; padding: 3px 0; color: #475569; font-size: 12px; line-height: 1.4; }
.ip-showcase-content .ip-resource-links a:hover { color: var(--ip-accent); }
.ip-showcase-content .ip-resource-links .dashicons { color: var(--ip-accent); }
.ip-section-heading, .ip-section-header { margin-bottom: 18px; }
.ip-section-title, .ip-section-heading h2, .ip-section-header h2, .widget-title { color: var(--ip-primary); font-weight: 800; }
.ip-professional-side .widget, .ip-professional-side .ip-widget-block { padding: 18px; }
.ip-professional-side .widget-title, .ip-professional-side .ip-widget-title { margin: -18px -18px 14px; padding: 12px 15px; color: #fff; background: var(--ip-primary); border-bottom: 3px solid var(--ip-accent); font-size: 15px; font-weight: 750; }
.ip-professional-side .ip-section-block { padding: 17px; }
.ip-professional-side img { border-radius: 8px; }
.ip-showcase-content .ip-card, .ip-showcase-content .ip-titled-card { border: 1px solid var(--ip-border); border-radius: var(--ip-radius); box-shadow: var(--ip-shadow); }
.ip-showcase-content .ip-card-title, .ip-showcase-content .ip-titled-card h2 { color: var(--ip-primary); }
.ip-showcase-content .ip-card a:hover { color: var(--ip-accent); }
.ip-showcase-content .ip-section-more a, .ip-showcase-content .ip-btn, .ip-showcase-content .ip-cta-button { background: var(--ip-accent); border-color: var(--ip-accent); color: #fff; border-radius: 7px; }
.ip-showcase-content .ip-section-more a:hover, .ip-showcase-content .ip-btn:hover, .ip-showcase-content .ip-cta-button:hover { background: var(--ip-primary); border-color: var(--ip-primary); color: #fff; }
.ip-footer { margin-top: 0; color: #DCE7F0; background: #0B2238; }
.ip-footer .widget-title, .ip-footer h4 { color: #fff; }
.ip-footer a { color: #BFE7DE; }
.ip-footer a:hover { color: #fff; }
.ip-footer-bottom { background: #071A2B; border-top: 1px solid rgba(255,255,255,.1); }
.ip-back-to-top { background: var(--ip-accent); color: #fff; border-radius: 50%; box-shadow: 0 6px 18px rgba(15,35,55,.2); }
.ip-back-to-top:hover { background: var(--ip-primary); color: #fff; }
input:not([type=checkbox]):not([type=radio]), select, textarea { border-color: var(--ip-border); border-radius: 7px; }
input:focus, select:focus, textarea:focus { border-color: var(--ip-accent); box-shadow: 0 0 0 3px rgba(15,118,110,.13); outline: none; }
:focus-visible { outline-color: var(--ip-accent); }
@media (max-width: 991.98px) {
    .ip-showcase-titlebar { top: 0; }
    .ip-showcase-nav { top: 42px; }
    .ip-showcase-nav-inner { padding: 0 8px; }
    .ip-showcase-nav .navbar-collapse { background: var(--ip-primary-dark); }
    .ip-showcase-nav ul.navbar-nav > li > a.nav-link { min-height: 45px; border-bottom: 1px solid rgba(255,255,255,.09); }
    .ip-showcase-nav ul.navbar-nav .dropdown-menu { background: #0A2035; border-radius: 0; box-shadow: none; }
    .ip-showcase-content { padding-top: 18px; }
}
@media (max-width: 767.98px) {
    .ip-showcase-shell { width: 100%; border-left: 0; border-right: 0; }
    .ip-showcase-titlebar-inner { min-height: 38px; padding: 6px 12px; }
    .ip-showcase-nav { top: 38px; }
    .ip-showcase-nav-inner { min-height: 48px; }
    .ip-showcase-home-link, .ip-showcase-menu-toggle { min-height: 48px; }
    .ip-showcase-hero .ip-hero .carousel-item { height: clamp(220px,58vw,330px); }
    .ip-showcase-brand-inner { padding: 0 16px; gap: 11px; }
    .ip-showcase-logo { width: 58px; height: 58px; }
    .ip-showcase-title { font-size: clamp(1.05rem,5.2vw,1.55rem); }
    .ip-showcase-content { padding: 15px 12px; }
    .ip-professional-grid { --bs-gutter-x: 0; --bs-gutter-y: 16px; }
    .ip-resource-section { padding: 18px 13px !important; }
    .ip-showcase-content .ip-resource-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
    .ip-showcase-content .ip-resource-card { grid-template-columns: 56px minmax(0,1fr); min-height: 98px; }
    .ip-showcase-content .ip-resource-media, .ip-showcase-content .ip-resource-media img, .ip-showcase-content .ip-resource-placeholder { min-height: 98px; }
    .ip-showcase-content .ip-resource-body { padding: 9px; }
    .ip-showcase-content .ip-resource-body h3 { font-size: 12px; }
}
@media (max-width: 480px) {
    .ip-showcase-content .ip-resource-grid { grid-template-columns: 1fr; }
    .ip-showcase-content .ip-resource-card { grid-template-columns: 68px minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* ========================================================================== 
   Institute Pro 2.23 — professional color system
   All major UI surfaces inherit the Customizer palette. Legacy colors above
   remain for backward compatibility, while this final cascade normalizes the
   rendered interface without changing theme structure or content.
   ========================================================================== */
:root {
    --ip-primary-dark: #0B2744;
    --ip-accent-dark: #0B5E58;
    --ip-nav-text: #FFFFFF;
    --ip-footer-bg: #0B2238;
    --ip-footer-text: #DCE7F0;
    --ip-soft-accent: #EAF4F2;
    --ip-focus: color-mix(in srgb, var(--ip-accent) 22%, transparent);
}
body { color: var(--ip-text); background-color: var(--ip-bg); }
body, .site, .site-content, .ip-page, .ip-content-area { background-color: var(--ip-bg); }
a { color: var(--ip-link); }
a:hover, a:focus { color: var(--ip-link-hover); }
button, input[type="submit"], input[type="button"], .button, .ip-btn, .ip-cta-button { background-color: var(--ip-accent); border-color: var(--ip-accent); color: #fff; }
button:hover, input[type="submit"]:hover, input[type="button"]:hover, .button:hover, .ip-btn:hover, .ip-cta-button:hover { background-color: var(--ip-primary); border-color: var(--ip-primary); color: #fff; }
.ip-showcase-titlebar, .ip-showcase-titlebar-inner { background: var(--ip-showcase-primary); color: #fff; }
.ip-showcase-titlebar a { color: #fff; }
.ip-showcase-nav { background: var(--ip-primary); }
.ip-showcase-nav a, .ip-showcase-nav .nav-link, .ip-showcase-nav .navbar-brand { color: var(--ip-nav-text); }
.ip-showcase-nav .nav-link:hover, .ip-showcase-nav .nav-link:focus, .ip-showcase-nav .current-menu-item > a, .ip-showcase-nav .current-menu-ancestor > a { color: #fff; background: var(--ip-accent); }
.ip-showcase-nav .dropdown-menu { background: var(--ip-card-bg); border-color: var(--ip-border); }
.ip-showcase-nav .dropdown-menu a { color: var(--ip-text); }
.ip-showcase-nav .dropdown-menu a:hover, .ip-showcase-nav .dropdown-menu a:focus { color: #fff; background: var(--ip-primary); }
.ip-resource-section, .ip-card, .ip-titled-card, .widget, .ip-widget-block, .ip-section-block, .ip-notice-section, .ip-service-card, .ip-faculty-card, .ip-gallery-card, .ip-news-card { background-color: var(--ip-card-bg); border-color: var(--ip-border); }
.ip-resource-card { background: var(--ip-card-bg); border-color: var(--ip-border); }
.ip-resource-card:hover { border-color: var(--ip-accent); }
.ip-resource-placeholder { color: var(--ip-accent); background: var(--ip-soft-accent); }
.ip-resource-links a, .ip-resource-links .dashicons { color: var(--ip-text); }
.ip-resource-links a:hover { color: var(--ip-accent); }
.ip-notice-section .ip-section-title, .ip-notice-section h2, .ip-section-title, .ip-section-heading h2, .ip-section-header h2, .widget-title { color: var(--ip-primary); }
.ip-notice-header, .ip-professional-side .widget-title, .ip-professional-side .ip-widget-title { background: var(--ip-primary); color: #fff; border-bottom-color: var(--ip-accent); }
.ip-notice-list li { border-bottom-color: var(--ip-border); }
.ip-notice-list li a { color: var(--ip-text); }
.ip-notice-list li a:hover { color: var(--ip-accent); }
.ip-notice-list small, .ip-text-muted, .text-muted { color: var(--ip-text-muted) !important; }
.ip-section-kicker { color: var(--ip-accent); }
.ip-badge, .badge, .ip-tag, .tagcloud a { background: var(--ip-soft-accent); color: var(--ip-primary); border-color: var(--ip-border); }
.ip-pagination a, .page-numbers { color: var(--ip-primary); border-color: var(--ip-border); background: var(--ip-card-bg); }
.ip-pagination .current, .page-numbers.current { color: #fff; background: var(--ip-primary); border-color: var(--ip-primary); }
.ip-pagination a:hover, .page-numbers:hover { color: #fff; background: var(--ip-accent); border-color: var(--ip-accent); }
.entry-content blockquote, blockquote { border-left-color: var(--ip-accent); background: var(--ip-soft-accent); color: var(--ip-text); }
table { border-color: var(--ip-border); background: var(--ip-card-bg); }
th { background: var(--ip-primary); color: #fff; }
td, th { border-color: var(--ip-border); }
input:not([type=checkbox]):not([type=radio]), select, textarea { color: var(--ip-text); background: var(--ip-card-bg); border-color: var(--ip-border); }
input::placeholder, textarea::placeholder { color: var(--ip-text-muted); }
input:focus, select:focus, textarea:focus { border-color: var(--ip-accent); box-shadow: 0 0 0 3px var(--ip-focus); }
:focus-visible { outline: 3px solid var(--ip-focus); outline-offset: 2px; }
.ip-footer { color: var(--ip-footer-text); background: var(--ip-footer-bg); }
.ip-footer .widget-title, .ip-footer h1, .ip-footer h2, .ip-footer h3, .ip-footer h4, .ip-footer h5, .ip-footer h6 { color: #fff; }
.ip-footer a { color: var(--ip-footer-text); }
.ip-footer a:hover { color: #fff; }
.ip-footer-bottom { background: color-mix(in srgb, var(--ip-footer-bg) 82%, #000); border-top-color: rgba(255,255,255,.12); }
.ip-back-to-top { background: var(--ip-accent); color: #fff; }
.ip-back-to-top:hover { background: var(--ip-primary); color: #fff; }
.wp-block-button__link { background: var(--ip-accent); color: #fff; }
.wp-block-button__link:hover { background: var(--ip-primary); color: #fff; }
hr { border-color: var(--ip-border); }
::selection { background: var(--ip-accent); color: #fff; }
@supports not (color: color-mix(in srgb, black, white)) {
    :root { --ip-focus: rgba(15,118,110,.18); }
    .ip-footer-bottom { background: var(--ip-footer-bg); }
}


/* Institute Pro 2.23 — editable content and responsive polish */
.ip-section-intro {
	max-width: 760px;
	margin: -0.45rem auto 1.15rem;
	padding: 0;
	color: var(--ip-text-muted, #64748b);
	font-size: .98rem;
	line-height: 1.75;
}
.ip-leader-qualification { margin: .25rem 0 .65rem; color: var(--ip-text-muted, #64748b); font-size: .9rem; }
.ip-leader-quote { margin: .75rem 0; padding: .75rem 1rem; border-inline-start: 3px solid var(--ip-accent, #0f766e); background: var(--ip-soft-accent, #eef7f6); border-radius: 8px; font-style: italic; }
.ip-leader-socials { display:flex; flex-wrap:wrap; gap:.45rem; margin-top:.8rem; }
.ip-leader-socials a { width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; background:var(--ip-soft-accent,#eef7f6); color:var(--ip-primary,#12355b); text-decoration:none; transition:transform .18s ease, background .18s ease, color .18s ease; }
.ip-leader-socials a:hover, .ip-leader-socials a:focus-visible { background:var(--ip-accent,#0f766e); color:#fff; transform:translateY(-1px); }
.ip-leader-profile-button { margin-top:.75rem; }
.ip-admin-grid-2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 16px; }
.ip-admin-grid-2 label { display:block; font-weight:600; margin-bottom:5px; }
.ip-admin-grid-2 input, .ip-admin-grid-2 textarea { width:100%; box-sizing:border-box; }
@media (max-width: 782px) {
	.ip-admin-grid-2 { grid-template-columns:1fr; }
}
@media (max-width: 768px) {
	.ip-section-intro { font-size:.93rem; line-height:1.65; margin-top:-.25rem; margin-bottom:.9rem; }
	.ip-leader-socials a { width:40px; height:40px; }
}
@media (prefers-reduced-motion: reduce) {
	.ip-leader-socials a { transition:none; }
}


/* ==========================================================================
   Institute Pro 2.24 — Professional layout repair and Institutional layout
   ========================================================================== */
.ip-professional-redesign { max-width: 1280px; }
.ip-professional-redesign > .ip-professional-grid,
.ip-professional-redesign .ip-professional-grid { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }
.ip-professional-redesign .ip-professional-main,
.ip-professional-redesign .ip-professional-side { min-width: 0; }
.ip-professional-redesign .ip-professional-main { flex: 0 0 auto; width: 66.666667%; }
.ip-professional-redesign .ip-professional-side { flex: 0 0 auto; width: 33.333333%; position: static; }
.ip-professional-redesign .ip-professional-main > *,
.ip-professional-redesign .ip-professional-side > * { max-width: 100%; min-width: 0; }
.ip-professional-redesign .ip-professional-side .widget,
.ip-professional-redesign .ip-professional-side .ip-titled-card,
.ip-professional-redesign .ip-professional-side .ip-section-block { margin-bottom: 20px; }
.ip-professional-redesign .ip-professional-main .ip-section-block,
.ip-professional-redesign .ip-professional-main .ip-home-section,
.ip-professional-redesign .ip-professional-side .ip-section-block,
.ip-professional-redesign .ip-professional-side .ip-home-section { border-radius: 8px; }
.ip-professional-redesign .ip-professional-main .ip-section-header,
.ip-professional-redesign .ip-professional-side .ip-section-header { border-bottom: 1px solid var(--ip-border); padding-bottom: 10px; }
@media (max-width: 991.98px) {
  .ip-professional-redesign .ip-professional-main,
  .ip-professional-redesign .ip-professional-side { width: 100%; }
  .ip-professional-redesign .ip-professional-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 640px) {
  .ip-professional-redesign .ip-professional-side { display: block; }
}

.ip-notice-section { background: var(--ip-notice-bg, var(--ip-card-bg)); border-color: var(--ip-notice-border, var(--ip-border)); }
.ip-notice-section h3 { background: var(--ip-notice-heading-bg, var(--ip-primary)); color: #fff; }
.ip-notice-section .ip-notice-list { background: var(--ip-notice-bg, var(--ip-card-bg)); color: var(--ip-notice-text, var(--ip-text)); }
.ip-notice-section .ip-notice-list li { border-color: var(--ip-notice-border, var(--ip-border)); }
.ip-notice-section .ip-notice-list a { color: var(--ip-notice-link, var(--ip-link)); }
.ip-notice-section .ip-notice-list a:hover,
.ip-notice-section .ip-notice-list a:focus-visible { color: var(--ip-notice-link-hover, var(--ip-link-hover)); }
.ip-notice-section .ip-notice-list small { color: var(--ip-text-muted); }

.ip-institutional-home { background: var(--ip-bg); padding: 0 0 38px; }
.ip-institutional-container { max-width: 1280px; }
.ip-institutional-intro-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 22px; align-items: stretch; padding: 26px 0 22px; }
.ip-institutional-intro-grid > *, .ip-institutional-main-grid > * { min-width: 0; }
.ip-institutional-home .ip-notice-section,
.ip-institutional-home .ip-resource-section,
.ip-institutional-home .ip-section-block,
.ip-institutional-home .ip-home-section,
.ip-institutional-home .widget,
.ip-institutional-home .ip-titled-card { border: 1px solid var(--ip-border); border-radius: 8px; box-shadow: 0 2px 10px rgba(20,30,45,.045); overflow: hidden; background: var(--ip-card-bg); }
.ip-institutional-home .ip-notice-section h3,
.ip-institutional-home .ip-section-header h2,
.ip-institutional-home .ip-section-header h3,
.ip-institutional-home .widget-title,
.ip-institutional-home .ip-title-box { background: var(--ip-primary); color: #fff; border-bottom: 3px solid var(--ip-accent); padding: 13px 16px; margin: 0; font-size: 1.05rem; font-weight: 700; }
.ip-institutional-home .ip-notice-section .ip-notice-list { padding: 8px 16px 14px; }
.ip-institutional-home .ip-resource-section { padding: 0; }
.ip-institutional-home .ip-resource-section .ip-section-header { padding: 13px 16px; }
.ip-institutional-home .ip-resource-grid { padding: 0 14px 14px; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.ip-institutional-home .ip-resource-card { border-radius: 6px; border: 1px solid var(--ip-border); }
.ip-institutional-main-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr); gap: 22px; align-items: start; }
.ip-institutional-main > *, .ip-institutional-sidebar > * { margin-bottom: 22px; }
.ip-institutional-sidebar { min-width: 0; }
.ip-institutional-sidebar .ip-titled-card .ip-title-box { text-align: left; }
.ip-institutional-home a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ip-institutional-home a:focus-visible,
.ip-institutional-home button:focus-visible,
.ip-institutional-home input:focus-visible,
.ip-institutional-home select:focus-visible { outline: 3px solid var(--ip-accent); outline-offset: 3px; }
.ip-institutional-home .ip-section-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ip-institutional-home .ip-section-header a,
.ip-institutional-home .ip-notice-viewall { color: inherit; font-size: .85rem; font-weight: 600; }
.ip-institutional-home .ip-section-header a:hover,
.ip-institutional-home .ip-notice-viewall:hover { opacity: .82; }
@media (max-width: 991.98px) {
  .ip-institutional-intro-grid { grid-template-columns: 1fr; }
  .ip-institutional-main-grid { grid-template-columns: 1fr; }
  .ip-institutional-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
}
@media (max-width: 640px) {
  .ip-institutional-container { padding-left: 12px; padding-right: 12px; }
  .ip-institutional-intro-grid { padding-top: 16px; gap: 14px; }
  .ip-institutional-sidebar { display: block; }
  .ip-institutional-home .ip-resource-grid { grid-template-columns: 1fr; }
}
