/* ============================================
   MINIMAL UI POLISH  — layered over style.css
   ============================================ */

:root {
  --m-radius: 6px;
  --m-ease:   0.18s ease;
}

/* ── Images: gentle border-radius everywhere ─ */
img { border-radius: var(--m-radius); }

/* Exclude logos, flags, file-type icons */
.brand img,
.top-images img,
.social-icon img,
.pdficon,
.iconboximg img { border-radius: 0 !important; }

/* ── Search bar ─────────────────────────────── */
.searchfield {
  height: 36px !important;
  border: none !important;
  border-radius: var(--m-radius) 0 0 var(--m-radius) !important;
  background: rgba(255,255,255,0.92) !important;
  color: #222 !important;
  font-size: 14px !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 6px 12px !important;
}
.searchfield::placeholder { color: #888; }
.searchfield:focus {
  background: #fff !important;
  outline: none !important;
  box-shadow: none !important;
}
.serchbtn {
  height: 36px;
  padding: 0 18px;
  font-size: 14px;
  border-radius: 0 var(--m-radius) var(--m-radius) 0;
  border: none;
  background: #b61c1c;
  color: #fff;
  cursor: pointer;
  transition: background var(--m-ease);
  line-height: 36px;
}
.serchbtn:hover { background: #003566; }

/* ── Staff images ────────────────────────────── */
.special_box1 img { border-radius: var(--m-radius) !important; }

/* ── Carousel ────────────────────────────────── */
#carouselExampleControls {
  border-radius: var(--m-radius);
  overflow: hidden;
}
#carouselExampleControls .carousel-item img { border-radius: 0; }

/* ── Quick links ─────────────────────────────── */
.more-searches a {
  border-radius: var(--m-radius);
  border: 1px solid #e4e7eb;
  transition: border-color var(--m-ease), background var(--m-ease);
}
.more-searches a:hover {
  border-color: #004885;
  background: #f5f8ff;
}

/* ── Section headings ────────────────────────── */
.relatedbox2 h2 {
  border-radius: var(--m-radius) var(--m-radius) 0 0;
  border-left: 3px solid #b61c1c;
}

/* ── listitems panel ─────────────────────────── */
.listitems {
  border-radius: 0 0 var(--m-radius) var(--m-radius);
  border: 1px solid #e4e7eb;
}

/* ── Buttons ─────────────────────────────────── */
.myButton {
  border-radius: var(--m-radius);
  transition: background var(--m-ease);
}
.myButton:hover { background: #003566; }
a.myButton:hover { color: #fff; }

.myButton-w {
  border-radius: var(--m-radius);
  border: 1px solid #d1d5db;
  transition: background var(--m-ease), color var(--m-ease);
}

/* ── Nav dropdown shadow ─────────────────────── */
.main-nav ul li ul {
  border-radius: 0 0 var(--m-radius) var(--m-radius);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  overflow: hidden;
}

/* ── Nav tabs ────────────────────────────────── */
.nav-tabs .nav-link {
  border-radius: var(--m-radius) var(--m-radius) 0 0 !important;
}

/* ── Album / gallery cards ───────────────────── */
.albumsarc  { border-radius: var(--m-radius); overflow: hidden; }
.gallery-photos { border-radius: var(--m-radius); overflow: hidden; }
.gallery-photos a img { border-radius: 0; }

/* ── Team card ───────────────────────────────── */
.teamcard     { border-radius: var(--m-radius); }
.teamcard img { border-radius: var(--m-radius); }

/* ── Modal ───────────────────────────────────── */
.modal-content {
  border-radius: var(--m-radius);
  border: none;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  overflow: hidden;
}
.modal-body img { border-radius: var(--m-radius); }

/* ── Scrollbar ───────────────────────────────── */
::-webkit-scrollbar            { width: 5px; }
::-webkit-scrollbar-track      { background: #f1f3f5; }
::-webkit-scrollbar-thumb      { background: #0a599c; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover{ background: #004885; }

/* ── Pagination ──────────────────────────────── */
.pagination a:first-child { border-radius: var(--m-radius) 0 0 var(--m-radius); }
.pagination a:last-child  { border-radius: 0 var(--m-radius) var(--m-radius) 0; }

/* ── In-page content images ──────────────────── */
.main_content img { border-radius: var(--m-radius); }


/* ── Mobile standard 20px gaps (global) ─────── */
@media (max-width: 767px) {

    /* Reduce main-section padding on mobile */
    .main-section { padding: 20px 0 40px; }

    /* All Bootstrap columns get bottom gap when stacked */
    .row > [class*="col-"] { margin-bottom: 20px; }
    .row > [class*="col-"]:last-child { margin-bottom: 0; }

    /* Whitebox and light-bg inner padding */
    .whitebox { padding: 16px; }
    .whitebox-nopadding { padding: 16px 0; }
    .light-bg { padding: 0 !important; }

    /* Cards and list items */
    .lp-card { margin-bottom: 12px; padding: 12px 14px; gap: 12px; }
    .lp-badge { width: 38px; height: 38px; flex-shrink: 0; }
    .lp-badge i { font-size: 1.3rem; }
    .lp-badge img { width: 38px !important; height: 38px !important; max-width: 38px !important; }
    .lp-title { font-size: .88rem; }
    .lp-arrow { width: 26px; height: 26px; font-size: .7rem; }
    .hm-staff-card { margin-bottom: 16px; }
    .faq-item { margin-bottom: 12px; }

    /* Sticky sidebar — remove sticky on mobile */
    .stickydiv { position: static !important; top: auto !important; }

    /* Section headings top spacing */
    .hm-heading { margin-top: 20px; }

    /* Row gaps for flex rows */
    .row { row-gap: 0; }
}

/* ── Social sidebar (global) ─────────────────── */
.lp-sidebar-heading {
    background: linear-gradient(135deg, #004885 0%, #0a599c 100%);
    color: #fff; padding: 10px 16px; font-size: .95rem; font-weight: 600;
    border-radius: 6px 6px 0 0; border-left: 3px solid #b61c1c;
}
.lp-sidebar-body { border: 1px solid #e8eaed; border-top: none; border-radius: 0 0 6px 6px; overflow: hidden; }
.lp-sidebar-link {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    border-bottom: 1px solid #f3f4f6; text-decoration: none; color: #374151;
    font-size: .88rem; font-weight: 600; transition: background .15s, color .15s;
}
.lp-sidebar-link:last-child { border-bottom: none; }
.lp-sidebar-link:hover { background: #f0f6ff; color: #004885; text-decoration: none; }
.lp-sidebar-link img { width: 22px; height: 22px; border-radius: 4px !important; flex-shrink: 0; }

/* ── Single-item page heading ────────────────── */
h1.border-heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.7;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8eaed;
}

/* ── PDF viewer + download wrap ─────────────── */
.pdf-container {
    border: 1px solid #bfdbfe;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

/* ── PDF Download button block ───────────────── */
.pdf-download-wrap {
    margin-top: 0;
    background: #f0f6ff;
    border: 1px solid #bfdbfe;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 16px 20px;
    text-align: center;
}
.pdf-download-wrap a.myButton {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #004885;
    color: #fff !important;
    padding: 13px 36px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .15s;
}
.pdf-download-wrap a.myButton:hover { background: #003a6e; }
