/* =====================================================================
   Tirhut Central Hospital - public website theme
   Loaded after bootstrap.min.css (v5.3) and remixicon.css by main.Master
   ===================================================================== */

:root {
    --tch-blue: #0093dd;
    --tch-blue-dark: #0072ad;
    --tch-navy: #033b4a;
    --tch-green: #1e9e48;
    --tch-green-dark: #177d39;
    --tch-red: #d92d2d;
    --tch-text: #3d4a52;
    --tch-muted: #6b7880;
    --tch-line: #e3e9ee;
    --tch-soft: #f3f8fb;
    --tch-white: #ffffff;
    --tch-radius: 10px;
    --tch-shadow: 0 6px 24px rgba(3, 59, 74, 0.08);
    --tch-shadow-hover: 0 14px 34px rgba(3, 59, 74, 0.15);
    --tch-font: "Open Sans", "Segoe UI", Roboto, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--tch-font);
    font-size: 15px;
    line-height: 1.7;
    color: var(--tch-text);
    background: var(--tch-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--tch-font);
    color: var(--tch-navy);
    font-weight: 700;
    line-height: 1.3;
}

a { color: var(--tch-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--tch-blue-dark); }
img { max-width: 100%; }
p { margin-bottom: 1rem; }

.tch-section { padding: 70px 0; }
.tch-section.soft { background: var(--tch-soft); }
.tch-section.tight { padding: 50px 0; }

/* ---------- Buttons ---------- */
.tch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 24px;
    border: 2px solid var(--tch-blue);
    border-radius: 4px;
    background: var(--tch-blue);
    color: var(--tch-white) !important;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.tch-btn:hover { background: var(--tch-blue-dark); border-color: var(--tch-blue-dark); transform: translateY(-1px); }
.tch-btn.green { background: var(--tch-green); border-color: var(--tch-green); }
.tch-btn.green:hover { background: var(--tch-green-dark); border-color: var(--tch-green-dark); }
.tch-btn.outline { background: transparent; color: var(--tch-blue) !important; }
.tch-btn.outline:hover { background: var(--tch-blue); color: var(--tch-white) !important; }
.tch-btn.light { background: var(--tch-white); border-color: var(--tch-white); color: var(--tch-navy) !important; }
.tch-btn.light:hover { background: transparent; color: var(--tch-white) !important; }
.tch-btn.sm { min-height: 36px; padding: 6px 16px; font-size: 14px; }

.tch-link-more { font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* ---------- Section headings ---------- */
.tch-heading { margin-bottom: 36px; }
.tch-heading.center { text-align: center; }
.tch-heading .eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--tch-blue);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.tch-heading h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
    text-transform: uppercase;
}
.tch-heading h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin-top: 12px;
    background: linear-gradient(90deg, var(--tch-blue) 0 60%, var(--tch-green) 60% 100%);
}
.tch-heading.center h2::after { margin-left: auto; margin-right: auto; }
.tch-heading p { margin: 14px 0 0; color: var(--tch-muted); }

/* ======================= HEADER ======================= */
.tch-topbar {
    background: var(--tch-blue);
    color: var(--tch-white);
    font-size: 13px;
}
.tch-topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 40px;
    flex-wrap: wrap;
}
.tch-topbar a { color: var(--tch-white); }
.tch-topbar a:hover { color: #dff3ff; }
.tch-topbar-links, .tch-topbar-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tch-topbar i { margin-right: 5px; }
.tch-topbar .tch-btn {
    min-height: 30px;
    padding: 4px 14px;
    font-size: 13px;
    background: var(--tch-navy);
    border-color: var(--tch-navy);
}
.tch-topbar .tch-btn:hover { background: var(--tch-green); border-color: var(--tch-green); }

.tch-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--tch-white);
    box-shadow: 0 2px 14px rgba(3, 59, 74, 0.08);
}
.tch-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.tch-logo { display: inline-flex; align-items: center; padding: 10px 0; }
.tch-logo img { height: 64px; width: auto; }

.tch-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--tch-line);
    border-radius: 6px;
    background: var(--tch-white);
    color: var(--tch-navy);
    font-size: 26px;
    cursor: pointer;
}

.tch-nav > ul {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tch-nav li { position: relative; list-style: none; }
.tch-nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 84px;
    padding: 0 13px;
    color: var(--tch-navy);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.tch-nav > ul > li > a:hover,
.tch-nav > ul > li.open > a { color: var(--tch-blue); }
.tch-nav > ul > li.active > a { background: var(--tch-blue); color: var(--tch-white); }

.tch-sub {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    margin: 0;
    padding: 8px 0;
    background: var(--tch-white);
    border-top: 3px solid var(--tch-blue);
    box-shadow: 0 12px 30px rgba(3, 59, 74, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .2s ease;
    z-index: 20;
}
.tch-sub.wide { min-width: 300px; columns: 1; }
.tch-sub a {
    display: block;
    padding: 9px 20px;
    color: var(--tch-text);
    font-size: 14px;
    border-left: 3px solid transparent;
}
.tch-sub a:hover { background: var(--tch-soft); color: var(--tch-blue); border-left-color: var(--tch-green); }

@media (min-width: 1200px) {
    .tch-nav li:hover > .tch-sub,
    .tch-nav li:focus-within > .tch-sub { opacity: 1; visibility: visible; transform: translateY(0); }
}

/* ======================= HERO SLIDER ======================= */
.tch-hero { position: relative; background: var(--tch-navy); }
.tch-hero .carousel-item { height: 560px; }
.tch-hero .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tch-hero .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 59, 74, 0) 35%, rgba(3, 59, 74, 0.72) 100%);
}
.tch-hero .carousel-caption {
    z-index: 2;
    left: 8%;
    right: 8%;
    bottom: 54px;
}
.tch-hero .carousel-caption h1 {
    margin-bottom: 10px;
    color: var(--tch-white);
    font-size: 40px;
    font-style: italic;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.tch-hero .carousel-caption p {
    max-width: 760px;
    margin: 0 auto 18px;
    font-size: 17px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.tch-hero .carousel-control-prev,
.tch-hero .carousel-control-next { width: 7%; z-index: 3; }

/* ---------- News ticker ---------- */
.tch-ticker { display: flex; align-items: stretch; background: var(--tch-soft); border-bottom: 1px solid var(--tch-line); }
.tch-ticker-label {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--tch-blue);
    color: var(--tch-white);
    font-weight: 700;
}
.tch-ticker-track { position: relative; flex: 1 1 auto; overflow: hidden; display: flex; align-items: center; }
.tch-ticker-move {
    display: inline-flex;
    gap: 60px;
    padding-left: 24px;
    white-space: nowrap;
    animation: tch-marquee 30s linear infinite;
}
.tch-ticker-track:hover .tch-ticker-move { animation-play-state: paused; }
.tch-ticker-move a { color: var(--tch-navy); font-weight: 600; }
.tch-ticker-move a::before { content: "\25CF"; color: var(--tch-green); margin-right: 10px; font-size: 10px; vertical-align: middle; }
@keyframes tch-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
    .tch-ticker-move { animation: none; padding-left: 16px; }
}

/* ---------- Highlight tiles ---------- */
.tch-tiles { position: relative; z-index: 3; margin-top: 40px; }
.tch-tile {
    height: 100%;
    padding: 24px 12px 18px;
    background: var(--tch-white);
    border: 1px solid var(--tch-line);
    border-radius: var(--tch-radius);
    box-shadow: var(--tch-shadow);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tch-tile:hover { transform: translateY(-6px); box-shadow: var(--tch-shadow-hover); border-color: var(--tch-blue); }
.tch-tile img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 12px; }
.tch-tile h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--tch-navy); }

/* ---------- Welcome / about ---------- */
.tch-about-img {
    position: relative;
    border-radius: var(--tch-radius);
    overflow: hidden;
    box-shadow: var(--tch-shadow);
}
.tch-about-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.tch-about-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 10px 18px;
    background: var(--tch-green);
    color: var(--tch-white);
    border-radius: 6px;
    font-weight: 700;
}
.tch-check-list { margin: 0 0 1rem; padding: 0; list-style: none; }
.tch-check-list li { position: relative; padding: 4px 0 4px 28px; }
.tch-check-list li::before {
    content: "\eb80";
    font-family: "remixicon";
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--tch-green);
    font-size: 18px;
}
.tch-check-list.cols { columns: 2; column-gap: 24px; }
.tch-check-list.cols li { break-inside: avoid; }

/* ---------- Image cards (services / departments / facilities) ---------- */
.tch-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--tch-white);
    border: 1px solid var(--tch-line);
    border-radius: var(--tch-radius);
    overflow: hidden;
    box-shadow: var(--tch-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
    color: inherit;
}
a.tch-card:hover { transform: translateY(-6px); box-shadow: var(--tch-shadow-hover); color: inherit; }
.tch-card-img { position: relative; overflow: hidden; background: var(--tch-soft); }
.tch-card-img img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .4s ease;
}
a.tch-card:hover .tch-card-img img { transform: scale(1.06); }
.tch-card-body { padding: 16px 18px 18px; flex: 1 1 auto; }
.tch-card-body h3 { margin: 0 0 6px; font-size: 17px; }
.tch-card-body p { margin: 0; font-size: 14px; color: var(--tch-muted); }
.tch-card-body .tch-link-more { margin-top: 10px; font-size: 14px; }

/* ---------- Director message ---------- */
.tch-director {
    background: linear-gradient(120deg, var(--tch-navy) 0%, #05607a 100%);
    color: #e6f3f8;
}
.tch-director h2, .tch-director h3 { color: var(--tch-white); }
.tch-director .tch-heading .eyebrow { color: #7fd4ff; }
.tch-director-photo {
    width: 230px;
    max-width: 100%;
    margin: 0 auto;
    padding: 8px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--tch-radius);
}
.tch-director-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; display: block; }
.tch-director-name { margin-top: 14px; text-align: center; }
.tch-director-name h3 { margin: 0; font-size: 18px; }
.tch-director-name span { display: block; font-size: 14px; color: #b9dcea; }
.tch-quote { position: relative; padding-left: 26px; border-left: 3px solid var(--tch-green); }
.tch-quote p { color: #e6f3f8; }

/* ---------- Consultant cards ---------- */
.tch-doc {
    display: flex;
    gap: 16px;
    height: 100%;
    padding: 18px;
    background: var(--tch-white);
    border: 1px solid var(--tch-line);
    border-radius: var(--tch-radius);
    box-shadow: var(--tch-shadow);
}
.tch-doc img {
    flex: 0 0 88px;
    width: 88px;
    height: 104px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--tch-soft);
}
.tch-doc.stack { flex-direction: column; align-items: center; text-align: center; }
.tch-doc.stack img { flex: 0 0 auto; width: 110px; height: 110px; border-radius: 50%; border: 4px solid var(--tch-soft); }
.tch-doc h3 { margin: 0 0 4px; font-size: 16px; }
.tch-doc .role { margin: 0 0 4px; color: var(--tch-blue); font-weight: 600; font-size: 14px; line-height: 1.45; }
.tch-doc .qual { margin: 0; color: var(--tch-muted); font-size: 13px; line-height: 1.5; }

.tch-dept-title {
    margin: 0 0 18px;
    padding: 10px 16px;
    background: var(--tch-blue);
    color: var(--tch-white);
    font-size: 17px;
    border-radius: 6px;
    text-align: center;
}
.tch-dept-block { margin-bottom: 38px; }
.tch-mo-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tch-mo-list li {
    padding: 10px 14px;
    background: var(--tch-soft);
    border-left: 3px solid var(--tch-green);
    border-radius: 4px;
    font-weight: 600;
    color: var(--tch-navy);
}

/* ---------- Emergency call band ---------- */
.tch-emergency {
    background: var(--tch-red);
    color: var(--tch-white);
    padding: 34px 0;
}
.tch-emergency .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.tch-emergency h2 { margin: 0 0 4px; color: var(--tch-white); font-size: 26px; }
.tch-emergency p { margin: 0; color: #ffe3e3; }
.tch-emergency .tch-btn.light { color: var(--tch-red) !important; }
.tch-emergency .tch-btn.light:hover { color: var(--tch-white) !important; }

/* ---------- Forms ---------- */
.tch-form-card {
    height: 100%;
    padding: 30px;
    background: var(--tch-white);
    border: 1px solid var(--tch-line);
    border-radius: var(--tch-radius);
    box-shadow: var(--tch-shadow);
}
.tch-form-card h3 { margin: 0 0 18px; font-size: 22px; }
.tch-field { margin-bottom: 16px; }
.tch-field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--tch-navy); }
.tch-field label sup { color: var(--tch-red); }
.tch-input,
.tch-form-card select,
.tch-form-card input[type="text"],
.tch-form-card input[type="email"],
.tch-form-card input[type="file"],
.tch-form-card textarea {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid #c9d5dd;
    border-radius: 6px;
    background: var(--tch-white);
    color: var(--tch-text);
    font-family: var(--tch-font);
    font-size: 15px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.tch-form-card textarea { min-height: 120px; resize: vertical; }
.tch-input:focus,
.tch-form-card select:focus,
.tch-form-card input:focus,
.tch-form-card textarea:focus {
    outline: none;
    border-color: var(--tch-blue);
    box-shadow: 0 0 0 3px rgba(0, 147, 221, 0.18);
}
.tch-captcha { display: flex; align-items: stretch; gap: 8px; }
.tch-captcha .code {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    min-height: 46px;
    padding: 0 12px;
    background: var(--tch-soft);
    border: 1px dashed #9db3c0;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--tch-navy);
    user-select: none;
}
.tch-captcha input { flex: 1 1 auto; min-width: 0; width: auto !important; }
.tch-captcha .refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    min-height: 46px;
    background: var(--tch-navy);
    border-radius: 6px;
    color: var(--tch-white) !important;
    font-size: 18px;
}
.tch-form-msg { display: block; margin-top: 12px; font-weight: 600; color: var(--tch-green-dark); }
.tch-hint { margin: 0 0 6px; font-size: 13px; color: var(--tch-red); }

/* ---------- Contact info boxes ---------- */
.tch-info {
    display: flex;
    gap: 14px;
    height: 100%;
    padding: 22px;
    background: var(--tch-white);
    border: 1px solid var(--tch-line);
    border-radius: var(--tch-radius);
    box-shadow: var(--tch-shadow);
}
.tch-info i {
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 147, 221, 0.12);
    color: var(--tch-blue);
    font-size: 22px;
}
.tch-info h3 { margin: 0 0 4px; font-size: 15px; text-transform: uppercase; }
.tch-info p, .tch-info a { margin: 0; font-size: 14px; word-break: break-word; }
.tch-map { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: var(--tch-radius); box-shadow: var(--tch-shadow); }

/* ---------- Inner page banner ---------- */
.tch-page-banner {
    position: relative;
    padding: 56px 0;
    background: linear-gradient(rgba(3, 59, 74, 0.82), rgba(3, 59, 74, 0.82)), url("../img/tirhut/slider1.jpg") center / cover no-repeat;
    color: var(--tch-white);
    text-align: center;
}
.tch-page-banner h1 { margin: 0 0 8px; color: var(--tch-white); font-size: 32px; font-weight: 800; }
.tch-crumb { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.tch-crumb a { color: #bfe7ff; }
.tch-crumb li + li::before { content: "\2192"; margin-right: 8px; color: #bfe7ff; }

/* ---------- Content pages ---------- */
.tch-content h2 { font-size: 24px; margin-bottom: 14px; }
.tch-content h3 { font-size: 19px; margin: 24px 0 10px; }
.tch-content p { text-align: justify; }
.tch-content .tch-side-img { border-radius: var(--tch-radius); box-shadow: var(--tch-shadow); width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.tch-panel {
    padding: 26px;
    background: var(--tch-white);
    border: 1px solid var(--tch-line);
    border-radius: var(--tch-radius);
    box-shadow: var(--tch-shadow);
    height: 100%;
}
.tch-panel h3 { margin-top: 0; display: flex; align-items: center; gap: 10px; }
.tch-panel h3 i { color: var(--tch-blue); font-size: 26px; }

.tch-aside {
    padding: 22px;
    background: var(--tch-soft);
    border-radius: var(--tch-radius);
    border-top: 3px solid var(--tch-blue);
}
.tch-aside h3 { margin: 0 0 12px; font-size: 17px; }
.tch-aside ul { margin: 0; padding: 0; list-style: none; }
.tch-aside li a {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px dashed #c9d5dd;
    color: var(--tch-text);
    font-size: 14px;
}
.tch-aside li a:hover, .tch-aside li a.current { color: var(--tch-blue); font-weight: 600; }
.tch-aside .tch-btn { width: 100%; margin-top: 16px; }

.tch-chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tch-chip-list li {
    padding: 8px 14px;
    background: var(--tch-white);
    border: 1px solid var(--tch-line);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tch-navy);
}
.tch-chip-list li i { color: var(--tch-green); margin-right: 6px; }

.tch-empty {
    max-width: 560px;
    margin: 10px auto;
    padding: 46px 20px;
    text-align: center;
    background: var(--tch-soft);
    border-radius: var(--tch-radius);
    color: var(--tch-muted);
}
.tch-empty i { display: block; font-size: 44px; color: #9db3c0; margin-bottom: 8px; }
.tch-empty h3 { font-size: 20px; margin: 0 0 6px; }
.tch-empty p { margin: 0; }

/* ---------- Gallery ---------- */
.tch-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.tch-filter a {
    display: inline-block;
    padding: 7px 18px;
    border: 1px solid var(--tch-blue);
    border-radius: 30px;
    color: var(--tch-blue);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}
.tch-filter a:hover, .tch-filter a.active { background: var(--tch-blue); color: var(--tch-white); }
.tch-gallery-item {
    position: relative;
    display: block;
    border-radius: var(--tch-radius);
    overflow: hidden;
    box-shadow: var(--tch-shadow);
    background: var(--tch-soft);
}
.tch-gallery-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.tch-gallery-item::after {
    content: "\f2db";
    font-family: "remixicon";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 59, 74, 0.55);
    color: var(--tch-white);
    font-size: 32px;
    opacity: 0;
    transition: opacity .25s ease;
}
.tch-gallery-item:hover::after { opacity: 1; }
.tch-gallery-item:hover img { transform: scale(1.06); }
.tch-gallery-caption { margin: 10px 0 0; font-size: 15px; font-weight: 600; text-align: center; color: var(--tch-navy); }
.tch-video { border-radius: var(--tch-radius); overflow: hidden; box-shadow: var(--tch-shadow); background: #000; }
.tch-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }

/* ---------- News & notices ---------- */
.tch-news-item {
    display: flex;
    gap: 18px;
    padding: 20px;
    margin-bottom: 18px;
    background: var(--tch-white);
    border: 1px solid var(--tch-line);
    border-radius: var(--tch-radius);
    box-shadow: var(--tch-shadow);
}
.tch-news-date {
    flex: 0 0 auto;
    align-self: flex-start;
    padding: 8px 12px;
    background: var(--tch-blue);
    color: var(--tch-white);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}
.tch-news-item h3 { margin: 0 0 6px; font-size: 17px; }
.tch-news-item p { margin: 0; font-size: 14px; color: var(--tch-muted); text-align: justify; }
.tch-news-item .tch-link-more { margin-top: 8px; font-size: 14px; }
.tch-notice-list { margin: 0; padding: 0; list-style: none; }
.tch-notice-list li { padding: 12px 0; border-bottom: 1px dashed #c9d5dd; }
.tch-notice-list li a { display: flex; gap: 10px; color: var(--tch-navy); font-weight: 600; }
.tch-notice-list li i { color: var(--tch-red); font-size: 18px; }
.tch-notice-list li span { display: block; font-size: 12px; font-weight: 400; color: var(--tch-muted); }
.ng-hide, .tch-hidden { display: none !important; }
[ng-cloak], [data-ng-cloak], .ng-cloak { display: none !important; }

/* ---------- Blog ---------- */
.tch-blog-detail img { display: block; max-width: 100%; max-height: 460px; margin: 0 auto 20px; border-radius: var(--tch-radius); object-fit: cover; }

/* ======================= FOOTER ======================= */
.tch-footer { background: #022a35; color: #b9cfd8; font-size: 14px; }
.tch-footer-main { padding: 60px 0 30px; }
.tch-footer h4 {
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.12);
    color: var(--tch-white);
    font-size: 17px;
}
.tch-footer a { color: #b9cfd8; }
.tch-footer a:hover { color: var(--tch-white); }
.tch-footer-logo { display: inline-block; padding: 8px 12px; margin-bottom: 14px; background: var(--tch-white); border-radius: 6px; }
.tch-footer-logo img { height: 48px; width: auto; }
.tch-footer ul { margin: 0; padding: 0; list-style: none; }
.tch-footer-links li { padding: 4px 0; }
.tch-footer-links a::before { content: "\203A"; margin-right: 8px; color: var(--tch-green); font-weight: 700; }
.tch-footer-contact li { display: flex; gap: 10px; padding: 6px 0; }
.tch-footer-contact i { color: var(--tch-blue); font-size: 18px; line-height: 1.4; }
.tch-footer-bottom { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; }
.tch-footer-bottom .container { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

.tch-float-whatsapp,
.tch-back-top {
    position: fixed;
    right: 18px;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--tch-white) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.tch-float-whatsapp { bottom: 22px; width: 54px; height: 54px; background: #25d366; font-size: 30px; }
.tch-back-top { bottom: 88px; width: 42px; height: 42px; background: var(--tch-blue); font-size: 22px; opacity: 0; visibility: hidden; transition: opacity .25s ease; }
.tch-back-top.show { opacity: 1; visibility: visible; }

/* ---------- Biomedical waste report page: align legacy accents with theme ---------- */
.bwr-page-heading-highlight, .bwr-report-month, .bwr-report-date-icon { color: var(--tch-blue) !important; }
.bwr-year-header { background: linear-gradient(135deg, var(--tch-navy), var(--tch-blue)) !important; box-shadow: 0 8px 25px rgba(0, 147, 221, 0.22) !important; }
.bwr-report-card::before { background: linear-gradient(90deg, var(--tch-blue), var(--tch-green)) !important; }
.bwr-report-card:hover { border-color: #9fd8f4 !important; }

/* ======================= RESPONSIVE ======================= */
@media (max-width: 1399px) {
    .tch-nav > ul > li > a { padding: 0 9px; font-size: 13.5px; }
}

@media (max-width: 1199px) {
    .tch-nav-toggle { display: inline-flex; }
    .tch-logo img { height: 54px; }
    .tch-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(330px, 86vw);
        padding: 64px 0 24px;
        background: var(--tch-white);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
        transform: translateX(105%);
        transition: transform .3s ease;
        z-index: 1050;
    }
    .tch-nav.open { transform: translateX(0); }
    body.tch-nav-open { overflow: hidden; }
    body.tch-nav-open .tch-header { z-index: 1100; }
    .tch-nav-close {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 6px;
        background: var(--tch-soft);
        color: var(--tch-navy);
        font-size: 24px;
    }
    .tch-nav > ul { flex-direction: column; }
    .tch-nav > ul > li { border-bottom: 1px solid var(--tch-line); }
    .tch-nav > ul > li > a { height: auto; min-height: 48px; padding: 12px 20px; justify-content: space-between; }
    .tch-sub {
        position: static;
        display: none;
        min-width: 0;
        padding: 0 0 8px;
        border-top: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--tch-soft);
    }
    .tch-nav li.open > .tch-sub { display: block; }
    .tch-sub a { padding: 10px 30px; }
    .tch-nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1045;
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease;
    }
    .tch-nav-backdrop.show { opacity: 1; visibility: visible; }
}
@media (min-width: 1200px) {
    .tch-nav-close, .tch-nav-backdrop { display: none; }
}

@media (max-width: 991px) {
    .tch-section { padding: 54px 0; }
    .tch-hero .carousel-item { height: 440px; }
    .tch-hero .carousel-caption h1 { font-size: 30px; }
    .tch-heading h2 { font-size: 25px; }
    .tch-check-list.cols { columns: 1; }
}

@media (max-width: 767px) {
    .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2rem; }
    .tch-topbar .container { justify-content: center; padding-top: 6px; padding-bottom: 6px; }
    .tch-topbar-info .addr { display: none; }
    .tch-hero .carousel-item { height: 340px; }
    .tch-hero .carousel-caption { bottom: 30px; }
    .tch-hero .carousel-caption h1 { font-size: 23px; }
    .tch-hero .carousel-caption p { font-size: 14px; }
    .tch-ticker-label { padding: 10px 14px; font-size: 14px; }
    .tch-page-banner { padding: 40px 0; }
    .tch-page-banner h1 { font-size: 25px; }
    .tch-heading { margin-bottom: 26px; }
    .tch-heading h2 { font-size: 22px; }
    .tch-form-card, .tch-panel { padding: 20px; }
    .tch-content p { text-align: left; }
    .tch-news-item { flex-direction: column; gap: 10px; }
    .tch-emergency { text-align: center; }
    .tch-emergency .container { justify-content: center; }
    .tch-footer-bottom .container { justify-content: center; text-align: center; }
}

@media (max-width: 575px) {
    .tch-topbar-links { display: none; }
    .tch-topbar-info { justify-content: center; gap: 6px 12px; }
}

@media (max-width: 420px) {
    .tch-logo img { height: 44px; }
    .tch-doc { flex-direction: column; align-items: center; text-align: center; }
}
