/* As-sunnah International Madrasa & Institute — clean, modern layer over the Edulia theme.
   White space, large photography, one green (the logo's) for actions and small accents.
   Type: Inter for Latin, Noto Sans Bengali for Bengali (clear numerals). */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --g: #1e5c22;
    --g-dark: #15441a;
    --g-tint: #f1f6f1;
    --ink: #121a14;
    --muted: #5a665c;
    --line: #e3e9e3;
    --soft: #f6f8f6;
    --r: 20px;
    --font: 'Inter', 'Noto Sans Bengali', system-ui, sans-serif;
}

body, input, textarea, select, button { font-family: var(--font); color: var(--ink); }
body { font-size: 17px; line-height: 1.8; background: #fff; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); color: var(--ink); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
p { color: var(--muted); }
a { color: var(--g); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--g-dark); }
::selection { background: #cfe5cf; color: var(--ink); }
:focus-visible { outline: 3px solid #8fc08f; outline-offset: 3px; border-radius: 6px; }
.mainbag { overflow-x: clip; }

/* =============== header =============== */
.pb-header { height: auto !important; }
.pb-header > section.pb-themesection:not(:first-child) { height: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden; }
.heading { position: relative !important; }
.heading_sub { background: var(--soft) !important; border-bottom: 1px solid var(--line); }
.heading_sub, .heading_sub * { color: var(--muted) !important; font-size: 14px; }
.heading_sub a:hover { color: var(--g) !important; }
.heading_sub i { color: var(--g) !important; }
.heading_main, .heading_main.fixed-nav { background: #fff !important; margin: 0 !important; border-bottom: 1px solid var(--line); box-shadow: none; left: 0; right: 0; }
.heading_main.fixed-nav { box-shadow: 0 6px 24px rgba(18, 26, 20, .07); }
.heading_main .container { padding: 10px 15px !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }
.heading_main .container::before { display: none !important; }
.heading_main_logo img, .heading_logo img { width: 56px !important; height: 56px !important; object-fit: contain; border-radius: 0 !important; }
.heading_main_menu_list_link { color: var(--ink) !important; font-weight: 500; font-size: 16px; position: relative; }
.heading_main_menu_list_link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -4px; height: 2px; background: var(--g); transform: scaleX(0); transition: transform .2s ease; }
.heading_main_menu_list:hover > .heading_main_menu_list_link { color: var(--g) !important; }
.heading_main_menu_list:hover > .heading_main_menu_list_link::after { transform: scaleX(1); }
.heading_main_menu_list_dropdown { background: #fff !important; border: 1px solid var(--line) !important; border-radius: 14px !important; box-shadow: 0 18px 40px rgba(18, 26, 20, .12) !important; padding: 8px !important; }
.heading_main_menu_list_dropdown li a { color: var(--ink) !important; border-radius: 8px; }
.heading_main_menu_list_dropdown li a:hover { background: var(--g-tint) !important; color: var(--g) !important; }

/* =============== buttons =============== */
.site_btn, .theme_btn, a.site_btn, .boxed_btn, .input-control-input[type=submit], button[type=submit].site_btn {
    display: inline-block; background: var(--g) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important;
    padding: 14px 32px !important; font-weight: 600; font-size: 16px; box-shadow: none; transition: background-color .2s ease, transform .2s ease;
}
.site_btn:hover, .theme_btn:hover, .boxed_btn:hover, .input-control-input[type=submit]:hover { background: var(--g-dark) !important; color: #fff !important; transform: translateY(-1px); }
.site_btn::after, .boxed_btn::after, .site_btn_border::after { display: none !important; }
a.site_btn_border, .site_btn_border { background: #fff !important; color: var(--g) !important; border: 1.5px solid var(--g) !important; border-radius: 999px !important; box-shadow: none !important; }
a.site_btn_border:hover, .site_btn_border:hover { background: var(--g) !important; color: #fff !important; }

/* =============== forms =============== */
.input-control-input, .input-control input, .input-control textarea, input.form-control, textarea.form-control, select.form-control {
    background: var(--soft) !important; border: 1px solid var(--line) !important; border-radius: 12px !important; padding: 14px 16px; color: var(--ink); transition: border-color .15s ease, background-color .15s ease;
}
.input-control-input:focus, .input-control input:focus, .input-control textarea:focus { background: #fff !important; border-color: var(--g) !important; box-shadow: 0 0 0 4px rgba(30, 92, 34, .12) !important; outline: 0; }
.input-control-input[type=submit] { color: #fff !important; background: var(--g) !important; border: 0 !important; padding: 14px 32px; }
.input-control-icon, .input-control-icon i { color: var(--g); }

/* =============== section titles =============== */
.section_padding { padding-top: 88px; padding-bottom: 88px; }
.section_title { margin-bottom: 40px; padding: 0; border: 0; }
.section_title_meta { color: var(--g) !important; font-weight: 600; font-size: 15px; margin-bottom: 6px; display: block; }
.section_title h2 { font-size: clamp(30px, 3.6vw, 46px); color: var(--ink) !important; margin: 0; }
.section_title p { color: var(--muted); margin: 12px 0 0; max-width: 64ch; }
.section_title, .section_title * { text-align: left !important; }

/* =============== home: hero and notice =============== */
.hero_area, .hero_area .container-fluid, .hero_area_container_slide_item { padding-top: 0 !important; margin-top: 0 !important; }
.hero_area_inner { margin-top: 0 !important; }
.hero_area_slider { background: transparent; }
.hero_area_inner img, .hero_area_slider img { display: block; width: 100%; height: min(70vh, 680px); min-height: 420px; object-fit: cover; object-position: center 14%; margin-top: 0 !important; }
.hero_area_slider .owl-nav button { background: #fff !important; color: var(--ink) !important; border-radius: 50% !important; width: 48px; height: 48px; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.hero_area_slider .owl-nav button:hover { background: var(--g) !important; color: #fff !important; }
.hero_area_slider .owl-dots .owl-dot span { background: rgba(255, 255, 255, .7) !important; width: 8px; height: 8px; border-radius: 50% !important; }
.hero_area_slider .owl-dots .owl-dot.active span { background: #fff !important; width: 24px; border-radius: 6px !important; }

.notice-section { padding: 0; }
.notice-section .container { max-width: 1200px; padding-left: 15px; padding-right: 15px; }
.notice-section .row.m-0, .notice-section .row.m-0 > div { margin: 0 !important; padding: 0; flex: 0 0 100%; max-width: 100%; }
.notice-section .noticeContent { display: flex !important; flex-wrap: nowrap !important; align-items: center; gap: 24px; background: var(--g-tint) !important; border: 1px solid var(--line); border-radius: 16px !important; padding: 14px 20px !important; margin: 28px 0 0 !important; position: static !important; bottom: auto !important; height: auto !important; min-height: 0 !important; box-shadow: none; text-align: left !important; }
.notice-section .noticeContent > .notice-board-header { display: contents !important; }
.notice-section .noticeContent h2.notice-board-title, .notice-board-title { order: 1; margin: 0; color: var(--g) !important; font-size: 18px; font-weight: 700; white-space: nowrap; }
.notice-section .notification-container { order: 2; flex: 1; min-width: 0; height: auto !important; max-height: none; overflow: hidden; display: flex; align-items: center; }
.notice-section .notification-container ul { display: flex; gap: 36px; margin: 0; padding: 0; list-style: none; }
.notice-section .notification-container ul li .noticeboard_inner_item { display: flex; align-items: center; gap: 12px; background: transparent !important; border: 0 !important; padding: 0 !important; margin: 0 !important; }
.notice-section .notification-container ul li .noticeboard_inner_item p, .notice-section .notification-container ul li .noticeboard_inner_item span { margin: 0; color: var(--muted) !important; background: transparent !important; font-size: 14px; white-space: nowrap; }
.notice-section .notification-container ul li .noticeboard_inner_item a { color: var(--ink) !important; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60ch; }
.notice-section .notification-container ul li .noticeboard_inner_item a:hover { color: var(--g) !important; }
.notice-view-all, .notice-view-all a { order: 3; color: var(--g) !important; font-weight: 600; white-space: nowrap; }

/* =============== home: welcome =============== */
.about_us { background: #fff; padding-top: 96px; padding-bottom: 96px; }
.about_us .row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin: 0 !important; }
.about_us .row > div { width: auto !important; max-width: none !important; flex: none !important; margin: 0 !important; padding: 0 !important; }
.about_us_img_inner { width: 100% !important; max-width: none; height: auto !important; margin: 0; }
.about_us_img_inner img, .about_us_img img { display: block; width: 100%; height: auto !important; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; background: var(--soft); }
.about_us_inner h3, .about_us_inner h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.15; color: var(--ink); margin-bottom: 20px; }
.about_us_inner p, .about_us_inner p span { color: var(--muted) !important; background: transparent !important; font-size: 18px; }
.about_us_inner ul { padding: 0; list-style: none; margin: 24px 0; }
.about_us_inner ul li { padding: 8px 0; color: var(--ink); font-weight: 500; }
.about_us_inner ul li i, .about_us .fa-check { color: var(--g) !important; margin-right: 10px; }
.about_us_inner_call a { color: var(--ink) !important; font-size: 22px; font-weight: 600; }
.about_us_inner_call svg path { fill: var(--g) !important; }

/* two intro cards */
.pb-themesection div:has(> div > .container-fluid .faq_area_admission) { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 24px; }
.pb-themesection div:has(> div > .container-fluid .faq_area_admission) > div:not(:has(.faq_area_admission)) { grid-column: 1 / -1; }
.pb-themesection div:has(> div > .container-fluid .faq_area_admission) > div:has(.faq_area_admission) > .container-fluid { padding: 0; height: 100%; }
.pb-themesection div:has(> div > .container-fluid .faq_area_admission) > div:has(.faq_area_admission) .row, .pb-themesection div:has(> div > .container-fluid .faq_area_admission) > div:has(.faq_area_admission) .col-md-12 { margin: 0; padding: 0; height: 100%; }
.faq_area_admission { height: 100%; min-height: 300px; margin: 0; padding: 48px 44px !important; background: var(--g-tint); border-radius: 28px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
div:has(.faq_area_admission) ~ div:has(.faq_area_admission) .faq_area_admission { background: var(--soft); }
.faq_area_admission h3 { font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 14px; }
.faq_area_admission p { font-size: 18px; max-width: 44ch; margin-bottom: 28px; }

/* =============== principal =============== */
.speech-title { text-align: left !important; font-size: clamp(30px, 3.6vw, 46px); margin: 88px 0 36px !important; }
.single-speech { display: grid !important; grid-template-columns: 320px minmax(0, 1fr); gap: 64px; margin: 0 !important; align-items: start !important; }
.single-speech > div { width: auto !important; max-width: none !important; flex: none !important; padding: 0 !important; }
.single-speech > div:first-child { position: sticky; top: 110px; }
.single-speech .about_us_img, .single-speech .about_us_img_inner { height: auto !important; }
.single-speech .about_us_img_inner img { aspect-ratio: 1 / 1; border-radius: 28px; }
.speech_of h3 { text-align: left !important; color: var(--ink); font-size: 24px; margin: 20px 0 2px; }
.speech_of p { text-align: left !important; color: var(--g); font-weight: 600; margin: 0; }
.speech_inner { font-size: 18px; line-height: 2; padding: 0; max-width: 72ch; }
.speech_inner, .speech_inner p, .speech_inner p * { text-align: left !important; }
.speech_inner p { color: var(--ink); }
.speech_inner strong { color: var(--g); font-weight: 600; }

/* =============== galleries: even grid =============== */
.gallery .row:has(> .totalblog) { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0 !important; }
.gallery .totalblog { width: auto !important; max-width: none !important; flex: none !important; padding: 0 !important; margin: 0 !important; }
.gallery_item { display: block; margin: 0; text-decoration: none; }
.gallery_item_img { height: auto !important; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--soft); }
.gallery_item_img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery_item:hover .gallery_item_img img { transform: scale(1.05); }
.gallery_item_inner { position: static; padding: 14px 2px 0 !important; background: transparent !important; text-align: left; }
.gallery_item_inner h4, .gallery_item_title { margin: 0; color: var(--ink) !important; font-size: 18px; font-weight: 600; }
.gallery_item:hover h4 { color: var(--g) !important; }
.gallery_item_desc { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.video-gallery .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; }
.video-gallery .row > div { width: auto; max-width: none; flex: none; padding: 0; }
.video-gallery .gallery_item_img { height: auto !important; aspect-ratio: 16 / 10; }

/* gallery details: cover hero with the title on the photo, then justified rows (keeps each photo's own shape) */
.section_padding.gallery > .container > .col-lg-8 { flex: 0 0 100%; max-width: 100%; width: 100%; margin-left: 0; padding-left: 15px; padding-right: 15px; }
.gallery_details { --hero-h: clamp(300px, 46vw, 600px); display: grid; grid-template-columns: minmax(0, 1fr); }
.gallery_details > .row { grid-area: 1 / 1; margin: 0 !important; }
.gallery_details > .row > div { padding: 0 !important; max-width: none; flex: 0 0 100%; }
/* title block: sits over the cover photo */
.gallery_details > .row:first-child { z-index: 3; height: var(--hero-h); pointer-events: none; }
.gallery_details > .row:first-child > div, .gallery_details > .row:first-child .section_title { height: 100%; }
.gallery_details .section_title { display: flex; flex-direction: column; justify-content: flex-end; margin: 0 !important; padding: clamp(24px, 4vw, 56px) !important; border-radius: 28px; background: linear-gradient(to top, rgba(10, 24, 12, .82) 0%, rgba(10, 24, 12, .45) 42%, rgba(10, 24, 12, 0) 75%); }
.gallery_details .section_title h2 { color: #fff !important; font-size: clamp(30px, 4.4vw, 58px); line-height: 1.1; max-width: 18ch; margin: 0; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.gallery_details .section_title p { color: rgba(255, 255, 255, .9) !important; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.7; margin: 14px 0 0; max-width: 60ch; }
.gallery_details .section_title p p { margin: 0; color: inherit !important; }
/* photos: cover first, then justified rows */
.gallery_details > .row.gallery_details_grid { display: flex !important; flex-wrap: wrap; gap: 12px; align-content: flex-start; }
.gallery_details > .row.gallery_details_grid > div:first-child { flex: 0 0 100%; height: var(--hero-h); }
.gallery_details > .row.gallery_details_grid > div:not(:first-child) { flex: 1 1 auto; width: auto; min-width: 0; height: clamp(180px, 24vw, 300px); }
.gallery_details_item { position: relative; display: block; height: 100%; border-radius: 16px; overflow: hidden; background: var(--soft); cursor: zoom-in; }
.gallery_details_img_preview { border-radius: 28px; }
.gallery_details_item img { display: block; height: 100%; width: 100%; min-width: 100%; max-height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s ease; }
.gallery_details_item:hover img { transform: scale(1.04); }
.gallery_details_item:focus-visible { outline-offset: -4px; }
/* room under the hero for the rows: push photos below the cover */
.gallery_details > .row.gallery_details_grid > div:nth-child(2) { margin-top: 0; }

/* =============== news: cards =============== */
.blog { background: var(--soft) !important; }
.index-blog .row > [class*="col-lg-4"] { display: flex; }
.blog_item { display: flex; flex-direction: column; width: 100%; margin: 0; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(18, 26, 20, .05); transition: transform .25s ease, box-shadow .25s ease; cursor: pointer; }
.blog_item:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 18px 40px rgba(18, 26, 20, .1); }
.blog_item_img { height: 220px; overflow: hidden; background: var(--g-tint); }
.blog_item_img img { width: 100%; height: 100%; object-fit: cover; }
.blog_item_inner { padding: 22px 24px 26px !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.blog_item:hover .blog_item_inner { box-shadow: none !important; }
.blog_item_meta, .blog_item_meta * { color: var(--muted) !important; font-size: 14px; font-weight: 500; background: transparent; padding: 0; }
.blog_item_inner > a:not([class*="read"]), .blog_item_title { display: block; margin: 6px 0 14px; color: var(--ink) !important; font-size: 21px; font-weight: 600; line-height: 1.35; }
.blog_item_inner > a:not([class*="read"]):hover { color: var(--g) !important; }
[class*="readmore"], [class*="read_more"], .blog_item_inner a:last-child { color: var(--g) !important; font-weight: 600; }
[class*="readmore"]::after, [class*="read_more"]::after { display: none !important; }
.blog_item .fa-plus-circle, .noticeboard_inner_item .fa-plus-circle { color: var(--g); }
.blog_card_wrapper_img img { width: 100%; border-radius: var(--r); }
.blog_card_wrapper_content h2, .blog_card_wrapper_content h3, .blog_card_wrapper_content h4 { color: var(--ink); }
.blog_card_wrapper_content_meta, .blog_card_wrapper_content_meta * { color: var(--muted); }
.blog_widget_search, .blog_widget_search .input-control-input { border-radius: 999px !important; }
.blog_widget_item { background: var(--soft) !important; border: 0 !important; border-radius: var(--r) !important; box-shadow: none !important; }
.blog_widget_item h3, .blog_widget_item h4, .blog_widget_item h5 { color: var(--ink); }
.blog_widget_item_recentnews a, .blog_widget_item_recentnews h4, .blog_widget_item_recentnews h5 { color: var(--ink) !important; }
.blog_widget_item_recentnews a:hover { color: var(--g) !important; }

/* =============== opening hours =============== */
.openning_hours_container { background: var(--soft); border-radius: 28px; padding: 40px 44px; height: 100%; }
.openning_hours_container .section_title { margin-bottom: 0; }
.openning_hours_container h2 { font-size: 32px; margin-bottom: 14px; }
.openning_hours_container ul { padding-left: 20px; }
.openning_hours_container li::marker { color: var(--g); }
.openning_hours_container p, .openning_hours_container li { color: var(--ink); }

/* =============== inner pages =============== */
section.bradcrumb_area.bradcrumb_area, .pb-themesection .bradcrumb_area.bradcrumb_area { background: var(--g-tint) !important; background-image: none !important; position: relative; padding: 64px 0 52px !important; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; overflow: visible; clip-path: none; }
.bradcrumb_area::before, .bradcrumb_area::after { display: none !important; }
.bradcrumb_area_inner, .bradcrumb_area_inner * { color: var(--ink); }
.bradcrumb_area_inner h1 { color: var(--ink) !important; font-size: clamp(36px, 5vw, 60px); line-height: 1.1; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; }
.bradcrumb_area_inner h1 span { font-size: 15px; font-weight: 500; color: var(--muted) !important; padding-bottom: 8px; }
.bradcrumb_area_inner h1 span a { color: var(--g) !important; font-weight: 600; }

/* rich pages: heading left, text right */
.col-md-10.offset-md-1:has(> .facilities_title) { flex: 0 0 100%; max-width: 1170px; margin-left: auto; margin-right: auto; text-align: left !important; }
.facilities_title { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 64px; align-items: start; padding-top: 32px; border-top: 1px solid var(--line); text-align: left !important; }
.facilities_title > h2, .tution_fee_wrapper_title h2 { grid-column: 1; grid-row: 1 / span 30; position: sticky; top: 100px; font-size: clamp(28px, 3vw, 40px); margin: 0; color: var(--ink); }
.facilities_title > h2:not(:first-of-type) { grid-column: 2; grid-row: auto; position: static; font-size: clamp(22px, 2.4vw, 30px); margin: 28px 0 8px; }
.facilities_title > :not(h2) { grid-column: 2; }
.facilities_title p, .facilities_title p p { color: var(--ink); font-size: 18px; line-height: 2; text-align: left !important; }
.facilities_title p p { margin-bottom: 1em; }
.facilities_title strong, .tution_fee strong { color: var(--g); font-weight: 600; }
.facilities_title ul, .facilities_title ol, .tution_fee ul, .tution_fee ol, .facilities_inner_text ul { text-align: left; padding-left: 22px; }
.facilities_title li::marker, .tution_fee li::marker, .facilities_inner_text li::marker { color: var(--g); font-weight: 700; }
.facilities_title li, .tution_fee li { padding: 4px 0; }

.facilities .row { align-items: center; row-gap: 36px; }
.facilities_inner_text h3 { font-size: clamp(26px, 3vw, 38px); }
.facilities_inner_text p { font-size: 18px; line-height: 2; }
.facilities_img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; background: var(--soft); }
.facilities .row:nth-child(even) .col-lg-5 { order: 2; }

.tution_fee { max-width: 1170px; margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px; }
.section_padding h2, .section_padding h3, .section_padding h4 { color: var(--ink); }
.tution_fee h2, .tution_fee h3 { margin-top: 36px; }
blockquote { margin: 0 0 24px; padding: 18px 24px; background: var(--g-tint); border: 0; border-left: 4px solid var(--g); border-radius: 0 14px 14px 0; color: var(--ink); font-size: 20px; }

/* tables */
table { max-width: 100%; }
.facilities_title table, .tution_fee table, .section_padding table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; margin: 0 0 14px; }
.facilities_title table th, .tution_fee table th, .section_padding table th { background: var(--g-tint) !important; color: var(--ink) !important; font-weight: 600; text-align: left; padding: 13px 18px; border: 0; }
.facilities_title table td, .tution_fee table td, .section_padding table td { padding: 13px 18px; border: 0; border-top: 1px solid var(--line); }
.facilities_title table tbody tr:hover td, .tution_fee table tbody tr:hover td, .section_padding table tbody tr:hover td { background: var(--soft); }
table.dataTable thead th, table.dataTable thead td { background: var(--g-tint) !important; color: var(--ink) !important; border-bottom: 1px solid var(--line) !important; font-weight: 600; }
table.dataTable tbody tr:hover td { background-color: var(--soft); }
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover { background: var(--g) !important; color: #fff !important; border-color: var(--g) !important; border-radius: 8px !important; }
.dataTables_wrapper input, .dataTables_wrapper select { border-radius: 10px; border: 1px solid var(--line); padding: 6px 10px; background: #fff; }

/* notice board page */
.noticeboard_inner { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; box-shadow: none; }
.noticeboard_inner_head { background: var(--g-tint) !important; border-bottom: 1px solid var(--line); }
.noticeboard_inner_head, .noticeboard_inner_head * { color: var(--ink) !important; }
.noticeboard_inner_item { border-bottom: 1px solid var(--line) !important; padding-top: 22px; padding-bottom: 22px; }
.noticeboard_inner_item_title, .noticeboard_inner_item_title a { color: var(--ink) !important; font-size: 21px; font-weight: 600; }
.noticeboard_inner_item a.site_btn_border { padding: 8px 20px !important; font-size: 15px; }

/* contact */
.contacts_form .section_title { margin-bottom: 28px; }
.contacts_info_card, .contacts_info { background: var(--g-tint) !important; border: 0 !important; border-radius: 24px !important; box-shadow: none !important; padding: 32px !important; }
.contacts_info_card :is(label, span, small, p, h6, div, li, a), .contacts_info :is(label, span, small, p, h6, div, li, a) { color: var(--ink) !important; }
.contacts_info_card :is(h4, h5), .contacts_info :is(h4, h5) { color: var(--g) !important; }
.contacts_info_card iframe, .contacts_info iframe, .google_map iframe { border: 0 !important; border-radius: 16px !important; width: 100%; }
.contacts_info_card i, .contacts_info i { color: var(--g); }

/* =============== footer =============== */
.pb-footer, .pb-footer > *, .footer, .footer_area { background-color: #0f2c14 !important; }
#footer.pb-footer > section.pb-themesection { background-color: #0f2c14 !important; background-image: none !important; padding-top: 72px; padding-bottom: 48px !important; border: 0; }
#footer.pb-footer > section.pb-themesection:last-of-type { border-top: 1px solid rgba(255, 255, 255, .14) !important; padding: 0 !important; }
#footer.pb-footer > section.pb-themesection:last-of-type div { margin-top: 0 !important; padding-top: 0 !important; margin-bottom: 0 !important; }
.footer-item-logo { width: auto !important; height: auto !important; overflow: visible !important; display: inline-block; }
.footer-item-logo img { height: 80px !important; width: auto !important; max-height: none !important; background: #fff; border-radius: 50%; padding: 5px; }
.footer-item h4, .footer-item h5, .footer-item .footer-item-title { color: #fff !important; font-size: 18px; font-weight: 600; padding-bottom: 12px; border-bottom: 0; }
.footer-item, .footer-item p, .footer-item-links a { color: #c4d4c6 !important; }
.footer-item-links a:hover { color: #fff !important; }
.footer-item-links li { padding: 4px 0; }
.footer_copyright { margin-top: 0 !important; background: transparent !important; }
.footer_copyright .container { padding: 22px 0 !important; }
.footer_copyright .container::before { display: none !important; }
.footer_copyright .row, .footer_copyright .row > div { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
.footer_copyright .row { align-items: center; }
.footer_copyright_inner { padding: 0 !important; background: transparent !important; border: 0 !important; }
.footer_copyright_inner, .footer_copyright_inner a, .footer_copyright_inner p { color: #9fb5a2 !important; margin: 0; font-size: 15px; }
.footer_copyright_social { display: flex; justify-content: flex-end; gap: 10px; list-style: none; padding: 0; margin: 0; }
.footer_copyright_social_list { margin: 0 !important; padding: 0 !important; }
a.footer_copyright_social_list_link { display: inline-flex !important; align-items: center; justify-content: center; width: 40px !important; height: 40px !important; padding: 0 !important; margin: 0 !important; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: transparent !important; color: #fff !important; font-size: 16px; line-height: 1; transition: background-color .2s ease, color .2s ease; }
a.footer_copyright_social_list_link::before, a.footer_copyright_social_list_link::after { display: none !important; }
a.footer_copyright_social_list_link i { display: block; line-height: 1; font-size: 16px; background: transparent !important; color: inherit !important; }
a.footer_copyright_social_list_link:hover { background: #fff !important; color: #0f2c14 !important; }
.backtop { background: var(--g) !important; color: #fff !important; border-radius: 50% !important; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }

/* =============== tablet and phone =============== */
@media (max-width: 991px) {
    .heading { background: #fff !important; padding: 0 !important; }
    .heading_mobile { background: #fff !important; padding: 8px 15px !important; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
    .heading_mobile > div { width: auto !important; }
    .heading_mobile_thum_icon, .heading_mobile_thum_icon line { stroke: var(--ink) !important; }
    .heading_logo img { width: 46px !important; height: 46px !important; }
    .heading_mobile_menu { background: #fff !important; }
    .heading_mobile_menu a { color: var(--ink) !important; }
    .pb-header > section.pb-themesection:first-child .container, .pb-header > section.pb-themesection:first-child .container-fluid { max-width: none !important; padding: 0 !important; }
    .pb-header > section.pb-themesection:first-child .row, .pb-header > section.pb-themesection:first-child .col-12 { margin: 0 !important; padding: 0 !important; }
    .pb-themesection > .container-fluid { padding-left: 0 !important; padding-right: 0 !important; }
    .pb-themesection > .container-fluid > .row { margin-left: 0 !important; margin-right: 0 !important; }
    .hero_area_inner img, .hero_area_slider img { height: 50vh; min-height: 280px; }
    .notice-section .noticeContent { flex-wrap: wrap !important; padding: 14px 16px !important; gap: 8px 16px; }
    .notice-section .noticeContent h2.notice-board-title { order: 1; flex: 1; }
    .notice-view-all, .notice-view-all a { order: 2; }
    .notice-section .notification-container { order: 3; flex: 1 1 100%; overflow-x: auto; }
    .section_padding { padding-top: 56px; padding-bottom: 56px; }
    .about_us { padding-top: 56px; padding-bottom: 56px; }
    .about_us .row { grid-template-columns: 1fr; gap: 32px; }
    .about_us .container { padding-left: 20px; padding-right: 20px; }
    .about_us_img_inner img, .about_us_img img { aspect-ratio: 4 / 3; }
    .pb-themesection div:has(> div > .container-fluid .faq_area_admission) { grid-template-columns: 1fr; padding: 24px 15px 0; }
    .faq_area_admission { min-height: 0; padding: 32px 24px !important; }
    .single-speech { grid-template-columns: 1fr; gap: 28px; }
    .single-speech > div:first-child { position: static; max-width: 320px; }
    .speech-title { margin-top: 56px !important; }
    .px-4:has(.speech-title) { padding-left: 15px !important; padding-right: 15px !important; }
    .gallery .row:has(> .totalblog) { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .video-gallery .row { grid-template-columns: 1fr; }
    .openning_hours_container { padding: 28px 22px; }
    .facilities_title { grid-template-columns: 1fr; }
    .facilities_title > h2, .tution_fee_wrapper_title h2 { grid-column: 1; grid-row: auto; position: static; margin-bottom: 14px; }
    .facilities_title > :not(h2), .facilities_title > h2:not(:first-of-type) { grid-column: 1; }
    .facilities .row:nth-child(even) .col-lg-5 { order: 0; }
    section.bradcrumb_area.bradcrumb_area, .pb-themesection .bradcrumb_area.bradcrumb_area { padding: 40px 0 30px !important; }
}
@media (max-width: 575px) {
    body { font-size: 16px; }
    .gallery .row:has(> .totalblog) { grid-template-columns: 1fr; }
    .facilities_title table, .tution_fee table, .section_padding table { display: block; overflow-x: auto; }
    .site_btn, .theme_btn { padding: 12px 26px !important; }
    .footer_copyright_social { justify-content: flex-start; margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.faq_area_admission { justify-content: flex-start; }

/* VenoBox viewer: match the site */
.vbox-overlay { --vbox-tools-color: #fff; --vbox-title-background: rgba(255, 255, 255, .12); --vbox-title-radius: 999px; --vbox-share-background: rgba(255, 255, 255, .12); font-family: var(--font); }
.vbox-title { font-family: var(--font); font-weight: 500; backdrop-filter: blur(6px); }
.vbox-num { font-family: var(--font); }
.vbox-child { border-radius: 14px; overflow: hidden; }
@media (max-width: 767px) {
    .gallery_details { display: block; --hero-h: 56vw; }
    .gallery_details > .row { grid-area: auto; }
    .gallery_details > .row:first-child { height: auto; pointer-events: auto; margin-bottom: 20px !important; }
    .gallery_details > .row:first-child > div, .gallery_details > .row:first-child .section_title { height: auto; }
    .gallery_details .section_title { padding: 0 !important; background: none; border-radius: 0; }
    .gallery_details .section_title h2 { color: var(--ink) !important; text-shadow: none; max-width: none; font-size: 32px; }
    .gallery_details .section_title p, .gallery_details .section_title p p { color: var(--muted) !important; }
    .gallery_details > .row.gallery_details_grid > div:first-child { min-height: 200px; }
}
.gallery_details_item, .gallery_details_img_preview { margin: 0 !important; }
.gallery_details > .row.gallery_details_grid > div { margin: 0 !important; }

/* =============== page header v2: breadcrumb pill, big title, soft backdrop =============== */
section.bradcrumb_area.bradcrumb_area, .pb-themesection .bradcrumb_area.bradcrumb_area {
    background: radial-gradient(620px 320px at 92% -10%, rgba(30, 92, 34, .13), transparent 70%), radial-gradient(520px 280px at -5% 110%, rgba(30, 92, 34, .09), transparent 70%), linear-gradient(180deg, #f3f8f3 0%, #ffffff 100%) !important;
    padding: 84px 0 64px !important; border-bottom: 1px solid var(--line); overflow: hidden; position: relative;
}
section.bradcrumb_area.bradcrumb_area::before {
    content: '' !important; display: block !important; position: absolute; right: max(-60px, calc(50% - 760px)); top: 50%; left: auto !important; bottom: auto !important; width: 420px; height: 420px; margin-top: -210px; border-radius: 50%;
    background: repeating-radial-gradient(circle at center, transparent 0 34px, rgba(30, 92, 34, .12) 34px 35px); pointer-events: none; opacity: 1;
}
section.bradcrumb_area.bradcrumb_area::after {
    content: '' !important; display: block !important; position: absolute; right: max(110px, calc(50% - 590px)); top: 50%; width: 120px; height: 120px; margin-top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(30, 92, 34, .16), rgba(30, 92, 34, 0) 70%); pointer-events: none;
}
.bradcrumb_area .container { position: relative; z-index: 1; }
.bradcrumb_area_inner h1 { display: flex !important; flex-direction: column; align-items: flex-start !important; justify-content: flex-start !important; gap: 0 !important; font-size: clamp(40px, 6vw, 76px) !important; font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; color: var(--ink) !important; }
.bradcrumb_area_inner h1::after { content: ''; display: block; width: 64px; height: 5px; margin-top: 22px; border-radius: 5px; background: var(--g); }
.bradcrumb_area_inner h1 span { order: -1; display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 7px 16px 7px 12px !important; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 4px 14px rgba(18, 26, 20, .06); font-size: 14px !important; font-weight: 500; color: var(--muted) !important; letter-spacing: 0; }
.bradcrumb_area_inner h1 span a { display: inline-flex; align-items: center; gap: 7px; color: var(--g) !important; font-weight: 600; }
.bradcrumb_area_inner h1 span a::before { content: ''; width: 16px; height: 16px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e5c22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/></svg>") center / contain no-repeat; }
@media (max-width: 991px) {
    section.bradcrumb_area.bradcrumb_area, .pb-themesection .bradcrumb_area.bradcrumb_area { padding: 52px 0 40px !important; }
    section.bradcrumb_area.bradcrumb_area::before { width: 260px; height: 260px; margin-top: -130px; right: -90px; }
    section.bradcrumb_area.bradcrumb_area::after { display: none !important; }
    .bradcrumb_area_inner h1::after { margin-top: 16px; width: 48px; height: 4px; }
    .bradcrumb_area_inner h1 span { margin-bottom: 16px; }
}

/* ==========================================================================
   HOME v3 - layered composition
   ========================================================================== */
/* order: hero, welcome card (overlaps hero), notice, rest */
.mainbag { display: flex; flex-direction: column; }
.mainbag > header.pb-header { order: -5; }
.mainbag > section:has(.hero_area_slider) { order: -4; }
.mainbag > section:has(.about_us) { order: -3; }
.mainbag > section:has(.notice-section) { order: -2; }
.mainbag > footer { order: 99; }
.mainbag > section, .mainbag > footer { width: 100%; }

/* hero */
.hero_area_inner img, .hero_area_slider img { height: min(80vh, 780px); min-height: 480px; }
.hero_area_inner { position: relative; }
.hero_area_inner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 22, 12, .55) 0%, rgba(10, 22, 12, 0) 45%); pointer-events: none; }

/* welcome: one split card overlapping the hero */
.about_us { background: transparent !important; padding: 0 !important; margin-top: -170px; position: relative; z-index: 6; }
.about_us .container { max-width: 1180px; }
.about_us .row { gap: 0 !important; align-items: stretch !important; border-radius: 32px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px rgba(10, 22, 12, .22); }
.about_us .row > div:first-child { min-height: 560px; }
.about_us_img, .about_us_img_inner { height: 100% !important; }
.about_us_img_inner img, .about_us_img img { height: 100% !important; aspect-ratio: auto; border-radius: 0; }
.about_us .row > div:last-child { padding: 64px 60px !important; display: flex; flex-direction: column; justify-content: center; }
.about_us_inner h3, .about_us_inner h2 { font-size: clamp(34px, 3.8vw, 54px); letter-spacing: -0.02em; }
.notice-section .noticeContent { margin-top: 36px !important; }

/* two feature cards: dark + light */
.pb-themesection div:has(> div > .container-fluid .faq_area_admission) { padding-top: 56px; gap: 28px; }
.faq_area_admission { position: relative; overflow: hidden; border-radius: 32px; min-height: 340px; padding: 52px 48px !important; background: linear-gradient(135deg, #0f3314 0%, #1e5c22 100%); color: #fff; }
.faq_area_admission::before { content: ''; position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 0 0 40px rgba(255, 255, 255, .04), 0 0 0 80px rgba(255, 255, 255, .03); pointer-events: none; }
.faq_area_admission h3 { position: relative; color: #fff; font-size: clamp(28px, 3vw, 40px); }
.faq_area_admission p { position: relative; color: rgba(255, 255, 255, .82); }
.faq_area_admission .site_btn { position: relative; background: #fff !important; color: var(--g-dark) !important; box-shadow: none; padding-right: 54px !important; }
.faq_area_admission .site_btn::after { content: '' !important; display: block !important; position: absolute; right: 14px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--g) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17 17 7M8 7h9v9'/></svg>") center / 14px no-repeat; }
.faq_area_admission .site_btn:hover { background: #fff !important; transform: translateY(-2px); }
div:has(.faq_area_admission) ~ div:has(.faq_area_admission) .faq_area_admission { background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(18, 26, 20, .07); }
div:has(.faq_area_admission) ~ div:has(.faq_area_admission) .faq_area_admission::before { border-color: rgba(30, 92, 34, .14); box-shadow: 0 0 0 40px rgba(30, 92, 34, .04), 0 0 0 80px rgba(30, 92, 34, .03); }
div:has(.faq_area_admission) ~ div:has(.faq_area_admission) .faq_area_admission h3 { color: var(--ink); }
div:has(.faq_area_admission) ~ div:has(.faq_area_admission) .faq_area_admission p { color: var(--muted); }
div:has(.faq_area_admission) ~ div:has(.faq_area_admission) .faq_area_admission .site_btn { background: var(--g) !important; color: #fff !important; }
div:has(.faq_area_admission) ~ div:has(.faq_area_admission) .faq_area_admission .site_btn::after { background-color: #fff; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e5c22' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17 17 7M8 7h9v9'/></svg>"); }

/* principal: portrait on a tinted block */
.single-speech .about_us_img { position: relative; }
.single-speech .about_us_img::before { content: ''; position: absolute; left: -16px; top: 16px; right: 16px; bottom: -16px; border-radius: 32px; background: var(--g-tint); border: 1px solid var(--line); }
.single-speech .about_us_img_inner { position: relative; z-index: 1; }
.single-speech .about_us_img_inner img { border-radius: 28px; box-shadow: 0 24px 60px rgba(10, 22, 12, .2); }
.speech_of { margin-top: 36px; }
.speech_inner { position: relative; padding-left: 28px; border-left: 3px solid var(--g); }

/* gallery: bento */
.gallery .row:has(> .totalblog) { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 16px; }
.gallery .totalblog { position: relative; }
.gallery .totalblog:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
.gallery .totalblog:nth-child(5n+4) { grid-column: span 2; }
.gallery .totalblog:nth-child(5n) { grid-column: 1 / -1; }
.gallery .totalblog > a, .gallery .totalblog .gallery_item { position: relative; height: 100%; }
.gallery_item_img { height: 100% !important; aspect-ratio: auto; border-radius: 24px; }
.gallery_item_inner { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 18px !important; border-radius: 0 0 24px 24px; background: linear-gradient(to top, rgba(10, 22, 12, .78), rgba(10, 22, 12, 0)) !important; }
.gallery_item_inner h4, .gallery_item_title { color: #fff !important; }
.gallery_item:hover h4 { color: #fff !important; }
.gallery_item_desc { color: rgba(255, 255, 255, .8); }
.video-gallery .gallery_item { height: auto; }
.video-gallery .gallery_item_inner { position: static; padding: 16px 2px 0 !important; background: transparent !important; border-radius: 0; }

/* video band: one dark section for rhythm */
.section_padding:has(.video-gallery) { background: linear-gradient(160deg, #0d2a12 0%, #164a1b 100%); margin-top: 56px; }
.section_padding:has(.video-gallery) .section_title h2 { color: #fff !important; }
.section_padding:has(.video-gallery) .section_title_meta { color: #9fd49f !important; }
.section_padding:has(.video-gallery) .gallery_item_inner h4, .section_padding:has(.video-gallery) .gallery_item_title { color: #fff !important; }
.section_padding:has(.video-gallery) .gallery_item_desc { color: rgba(255, 255, 255, .7); }
.section_padding:has(.video-gallery) .gallery_item_img { border-radius: 20px; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }

@media (max-width: 991px) {
    .about_us { margin-top: -70px; }
    .about_us .row { grid-template-columns: 1fr !important; border-radius: 24px; }
    .about_us .row > div:first-child { min-height: 0; }
    .about_us_img_inner img, .about_us_img img { height: auto !important; aspect-ratio: 4 / 3; }
    .about_us .row > div:last-child { padding: 32px 24px !important; }
    .about_us .container { padding-left: 15px; padding-right: 15px; }
    .faq_area_admission { min-height: 0; padding: 36px 26px !important; border-radius: 26px; }
    .gallery .row:has(> .totalblog) { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; gap: 12px; }
    .gallery .totalblog:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
    .gallery .totalblog:nth-child(5n+4), .gallery .totalblog:nth-child(5n) { grid-column: span 2; }
    .single-speech .about_us_img::before { left: -8px; top: 8px; right: 8px; bottom: -8px; }
}
@media (max-width: 575px) {
    .gallery .row:has(> .totalblog) { grid-template-columns: 1fr; grid-auto-rows: 230px; }
    .gallery .totalblog, .gallery .totalblog:nth-child(5n+1), .gallery .totalblog:nth-child(5n+4), .gallery .totalblog:nth-child(5n) { grid-column: span 1; grid-row: span 1; }
}
.about_us .container, .notice-section .container { max-width: none; }
.notice-section .row.m-0 { margin-left: -15px !important; margin-right: -15px !important; }
.mainbag > section:has(.notice-section) { margin-bottom: 56px; }
.about_us .container, .notice-section .container { max-width: 1410px; margin-left: auto; margin-right: auto; }
@media (max-width: 991px) { .hero_area_inner img, .hero_area_slider img { height: 52vh; min-height: 300px; } .mainbag > section:has(.notice-section) { margin-bottom: 32px; } }

/* hero: keep the people visible; the welcome card only overlaps a small lip */
.about_us { margin-top: -64px; }
.hero_area_inner img, .hero_area_slider img { height: min(84vh, 840px); min-height: 520px; object-position: center 30%; }
@media (max-width: 991px) { .about_us { margin-top: -36px; } .hero_area_inner img, .hero_area_slider img { height: 52vh; min-height: 300px; } }

/* ==========================================================================
   PAGE HEADER v3 (all inner pages) + ABOUT page
   ========================================================================== */
section.bradcrumb_area.bradcrumb_area, .pb-themesection .bradcrumb_area.bradcrumb_area {
    background: radial-gradient(700px 360px at 90% -20%, rgba(120, 200, 120, .28), transparent 65%), linear-gradient(135deg, #0d2a12 0%, #164a1b 55%, #1e5c22 100%) !important;
    border: 0 !important; border-radius: 0 0 44px 44px; padding: 88px 0 84px !important; overflow: hidden; margin-bottom: 0;
}
section.bradcrumb_area.bradcrumb_area::before {
    width: 520px; height: 520px; margin-top: -260px; right: max(-140px, calc(50% - 800px));
    background: repeating-radial-gradient(circle at center, transparent 0 46px, rgba(255, 255, 255, .10) 46px 47px);
}
section.bradcrumb_area.bradcrumb_area::after { background: radial-gradient(circle, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 70%); width: 200px; height: 200px; margin-top: -100px; right: max(20px, calc(50% - 640px)); }
.bradcrumb_area_inner h1 { color: #fff !important; }
.bradcrumb_area_inner, .bradcrumb_area_inner * { color: inherit; }
.bradcrumb_area_inner h1::after { background: #8fd18f; width: 72px; }
.bradcrumb_area_inner h1 span { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); box-shadow: none; backdrop-filter: blur(6px); color: rgba(255, 255, 255, .8) !important; }
.bradcrumb_area_inner h1 span a { color: #fff !important; }
.bradcrumb_area_inner h1 span a:hover { color: #bfe6bf !important; }
.bradcrumb_area_inner h1 span a::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/></svg>"); }
.bradcrumb_area + .pb-themesection, .bradcrumb_area ~ * { }
@media (max-width: 991px) {
    section.bradcrumb_area.bradcrumb_area, .pb-themesection .bradcrumb_area.bradcrumb_area { padding: 52px 0 52px !important; border-radius: 0 0 28px 28px; }
    section.bradcrumb_area.bradcrumb_area::before { width: 300px; height: 300px; margin-top: -150px; right: -110px; }
}

/* the section after the header gets breathing room */
.pb-themesection:has(.bradcrumb_area) + .pb-themesection { margin-top: 24px; }

/* ----- About: intro as a lead statement ----- */
.facilities_title > p, .facilities_title > p p { font-size: 20px; line-height: 1.95; color: var(--ink); }

/* ----- About: history ----- */
.facilities .row { row-gap: 40px; }
.facilities_inner_text p:first-of-type { margin: 0 0 26px; padding: 4px 0 4px 22px; border-left: 4px solid var(--g); color: var(--g-dark); font-size: 22px; font-weight: 500; line-height: 1.7; }
.facilities_img { position: relative; padding: 0; }
.facilities_img::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border-radius: 32px; background: var(--g-tint); border: 1px solid var(--line); z-index: 0; }
.facilities_img img { position: relative; z-index: 1; border-radius: 28px; aspect-ratio: 4 / 3; box-shadow: 0 30px 70px rgba(10, 22, 12, .18); }
.facilities .row:nth-child(even) .facilities_img::before { inset: 22px 22px -22px -22px; }
.facilities sup.superscript { display: none; }

/* ----- About: goals and features as cards ----- */
.tution_fee { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; align-items: stretch; padding-top: 24px; padding-bottom: 24px; }
.tution_fee > p:empty, .tution_fee p:has(> strong > br:only-child) { display: none; }
.tution_fee > h1, .tution_fee > p > h1, .tution_fee h1 { grid-column: 1 / -1; margin: 56px 0 8px; padding-top: 28px; border-top: 1px solid var(--line); font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; color: var(--ink); }
.tution_fee > h1:first-child, .tution_fee > p:first-child ~ h1:first-of-type { margin-top: 12px; border-top: 0; padding-top: 0; }
.tution_fee > p:has(> strong) { margin: 0; padding: 20px 24px; background: var(--soft); border: 1px solid var(--line); border-radius: 18px; color: var(--ink); line-height: 1.7; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.tution_fee > p:has(> strong):hover { background: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(18, 26, 20, .08); }
.tution_fee > p > strong { color: var(--ink); font-weight: 500; }
.tution_fee h1 span { display: none; }

@media (max-width: 767px) {
    .tution_fee { grid-template-columns: 1fr; }
    .facilities_img::before { inset: 14px -10px -14px 10px; }
    .facilities_inner_text p:first-of-type { font-size: 19px; }
}
.tution_fee > h1 + p:has(> strong) { grid-column: 1 / -1; background: var(--g-tint); border-color: #d5e6d5; font-size: 19px; padding: 24px 28px; }

/* footer copyright row: even vertical space above and below */
#footer.pb-footer > section.pb-themesection:last-of-type div.container { padding-top: 24px !important; padding-bottom: 24px !important; }
#footer.pb-footer > section.pb-themesection:last-of-type .footer_copyright_social { margin: 0; }
#footer.pb-footer > section.pb-themesection:last-of-type div { padding-bottom: 0 !important; }
#footer.pb-footer > section.pb-themesection:last-of-type > div.container { padding-top: 0 !important; padding-bottom: 0 !important; }
#footer.pb-footer > section.pb-themesection:last-of-type .footer_copyright div.container { padding-top: 24px !important; padding-bottom: 24px !important; }

/* ==========================================================================
   TUITION FEES page (and other pasted fee/notice pages)
   ========================================================================== */
/* a rule from the About work hid plain-text paragraphs: only truly empty ones may be hidden */
.tution_fee > p:empty { display: none; }

/* intro paragraph: a lead panel */
.tution_fee > p:only-child { grid-column: 1 / -1; margin: 0; padding: 32px 36px; background: linear-gradient(135deg, var(--g-tint) 0%, #fff 100%); border: 1px solid #d5e6d5; border-left: 5px solid var(--g); border-radius: 24px; color: var(--ink); font-size: clamp(18px, 1.7vw, 21px); font-weight: 500; line-height: 1.9; }

/* each fee group: heading on the left, one card on the right */
.facilities_title { padding-top: 40px; margin-top: 8px; }
.facilities_title > h2 { position: sticky; top: 100px; padding-top: 18px; }
.facilities_title > h2::before { content: ''; position: absolute; left: 0; top: 0; width: 44px; height: 5px; border-radius: 5px; background: var(--g); }
.facilities_title > h2 { position: sticky; }

.facilities_title > div.qMYqUG_convSearchResultHighlightRoot,
.facilities_title > p.PDq2pG_selectionAnchorContainer {
    grid-column: 2; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 6px 32px; box-shadow: 0 18px 46px rgba(18, 26, 20, .07); margin: 0 0 8px;
}
.facilities_title > div.qMYqUG_convSearchResultHighlightRoot * { max-width: none; }
.facilities_title > div.qMYqUG_convSearchResultHighlightRoot p { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 18px; line-height: 1.8; text-align: left !important; }
.facilities_title > div.qMYqUG_convSearchResultHighlightRoot p:last-of-type { border-bottom: 0; }
/* price rows: label on the left, amount on the right */
.facilities_title > div.qMYqUG_convSearchResultHighlightRoot p:has(> strong) { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; color: var(--g); font-weight: 700; }
.facilities_title > div.qMYqUG_convSearchResultHighlightRoot p > strong { color: var(--ink); font-weight: 500; }
.facilities_title > div.qMYqUG_convSearchResultHighlightRoot p > span:empty, .facilities_title > div.qMYqUG_convSearchResultHighlightRoot p > span.PDq2pG_selectionAnchor { display: none; }
.facilities_title > div.qMYqUG_convSearchResultHighlightRoot p br { display: none; }

/* a single paragraph of <strong> lines separated by <br>: make each line a row */
.facilities_title > p.PDq2pG_selectionAnchorContainer br { display: none; }
.facilities_title > p.PDq2pG_selectionAnchorContainer > strong { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: 18px; line-height: 1.8; }
.facilities_title > p.PDq2pG_selectionAnchorContainer > strong:last-of-type { border-bottom: 0; }

/* the rest of the pasted wrappers are empty helpers */
.facilities_title > p:empty, .facilities_title > div:empty { display: none; }
.facilities_title > div.pointer-events-none, .facilities_title > div.text-base { display: none; }

@media (max-width: 991px) {
    .facilities_title > div.qMYqUG_convSearchResultHighlightRoot, .facilities_title > p.PDq2pG_selectionAnchorContainer { grid-column: 1; padding: 4px 22px; border-radius: 20px; }
    .facilities_title > div.qMYqUG_convSearchResultHighlightRoot p:has(> strong) { flex-direction: column; gap: 4px; }
    .tution_fee > p:only-child { padding: 24px 22px; border-radius: 20px; }
}
.facilities_title p:empty { display: none; }

/* ==========================================================================
   BLOG LIST: featured post, card grid, sticky sidebar
   ========================================================================== */
.section_padding.blog:has(.blog_card) { padding-top: 64px; background: #fff !important; }
.blog_card { width: 100%; }
.section_padding.blog .row > .col-lg-10.offset-lg-1 { flex: 0 0 100%; max-width: 100%; margin-left: 0; }

/* posts: grid */
.blog_card > .row { align-items: flex-start; }
.blog_card > .row > .col-lg-8 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-content: start; }
.blog_card_wrapper { display: flex; flex-direction: column; margin: 0 !important; background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 16px 40px rgba(18, 26, 20, .06); transition: transform .25s ease, box-shadow .25s ease; }
.blog_card_wrapper:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 26px 56px rgba(18, 26, 20, .12); }
.blog_card_wrapper_img { overflow: hidden; background: var(--g-tint); }
.blog_card_wrapper_img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0 !important; transition: transform .6s ease; }
.blog_card_wrapper:hover .blog_card_wrapper_img img { transform: scale(1.05); }
.blog_card_wrapper_content { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.blog_card_wrapper_content > a:first-child { order: 2; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 12px; color: var(--ink); font-size: 22px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.blog_card_wrapper_content > a:first-child:hover { color: var(--g); }
.blog_card_wrapper_content_meta { order: 1; margin: 0 0 12px; color: var(--muted); font-size: 14px; font-weight: 500; }
.blog_card_wrapper_content_meta::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--g); }
.blog_card_wrapper_content > p:not(.blog_card_wrapper_content_meta) { order: 3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 20px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.blog_card_wrapper_content > a:last-child { order: 4; margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0 !important; color: var(--g) !important; font-weight: 600; font-size: 15px; }
.blog_card_wrapper_content > a:last-child::after { content: '' !important; display: inline-block !important; width: 30px; height: 30px; border-radius: 50%; background: var(--g) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17 17 7M8 7h9v9'/></svg>") center / 15px no-repeat; transition: transform .2s ease; }
.blog_card_wrapper:hover .blog_card_wrapper_content > a:last-child::after { transform: translate(3px, -3px); }

/* first post is featured: image beside text across both columns */
.blog_card_wrapper:first-child { grid-column: 1 / -1; flex-direction: row; }
.blog_card_wrapper:first-child .blog_card_wrapper_img { flex: 1.15; }
.blog_card_wrapper:first-child .blog_card_wrapper_img img { height: 100%; min-height: 380px; aspect-ratio: auto; }
.blog_card_wrapper:first-child .blog_card_wrapper_content { flex: 1; justify-content: center; padding: 40px 40px; }
.blog_card_wrapper:first-child .blog_card_wrapper_content > a:first-child { font-size: clamp(26px, 2.4vw, 34px); -webkit-line-clamp: 4; }
.blog_card_wrapper:first-child .blog_card_wrapper_content > p:not(.blog_card_wrapper_content_meta) { -webkit-line-clamp: 5; font-size: 17px; }
.blog_card_wrapper:first-child .blog_card_wrapper_content > a:last-child { margin-top: 8px; }

/* sidebar */
.blog_widget { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 22px; }
.blog_widget_search { position: relative; margin: 0 !important; }
.blog_widget_search label { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); margin: 0; color: var(--g); z-index: 1; }
.blog_widget_search input { width: 100%; height: 54px; padding: 0 20px 0 48px !important; background: var(--soft) !important; border: 1px solid var(--line) !important; border-radius: 999px !important; font-size: 16px; }
.blog_widget_search input:focus { background: #fff !important; border-color: var(--g) !important; box-shadow: 0 0 0 4px rgba(30, 92, 34, .12) !important; }
.blog_widget_item { margin: 0 !important; padding: 28px 28px 14px !important; background: #fff !important; border: 1px solid var(--line) !important; border-radius: 26px !important; box-shadow: 0 16px 40px rgba(18, 26, 20, .06) !important; }
.blog_widget_item > h5 { position: relative; margin: 0 0 8px; padding: 14px 0 0; color: var(--ink); font-size: 20px; font-weight: 700; border: 0 !important; display: block; }
.blog_widget_item > h5::before { content: ''; position: absolute; left: 0; top: 0; width: 36px; height: 4px; border-radius: 4px; background: var(--g); }
.blog_widget_item_recentnews { padding: 16px 0 !important; margin: 0 !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; }
.blog_widget_item_recentnews:last-child { border-bottom: 0 !important; }
.blog_widget_item_recentnews a { display: block; color: var(--ink) !important; font-size: 17px; font-weight: 600; line-height: 1.45; }
.blog_widget_item_recentnews a:hover { color: var(--g) !important; }
.blog_widget_item_recentnews p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

@media (max-width: 991px) {
    .blog_card > .row > .col-lg-8 { grid-template-columns: 1fr; gap: 22px; margin-bottom: 36px; }
    .blog_card_wrapper:first-child { flex-direction: column; }
    .blog_card_wrapper:first-child .blog_card_wrapper_img img { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
    .blog_card_wrapper:first-child .blog_card_wrapper_content { padding: 26px 24px 28px; }
    .blog_widget { position: static; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .blog_card > .row > .col-lg-8 { grid-template-columns: 1fr; }
}
.blog_card_wrapper_content > a:last-child::before { display: none !important; }
.blog_card_wrapper_content > a:last-child::after { position: static !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; flex: 0 0 30px; }
.blog_card_wrapper_content > a:last-child::after { opacity: 1 !important; visibility: visible !important; width: 30px !important; height: 30px !important; }

/* back to top: a floating circle with the arrow dead centre */
a.backtop { right: 24px !important; bottom: 24px !important; width: 52px !important; height: 52px !important; border-radius: 50% !important; display: flex !important; align-items: center; justify-content: center; padding: 0 !important; background: var(--g) !important; color: #fff !important; box-shadow: 0 10px 26px rgba(10, 22, 12, .28); }
a.backtop:hover { background: var(--g-dark) !important; transform: translateY(-3px); }
a.backtop i { position: static !important; bottom: auto !important; margin: 0 !important; padding: 0 !important; width: auto; height: auto; line-height: 1 !important; font-size: 20px; display: block; text-align: center; color: #fff !important; }
a.backtop:hover i { bottom: auto !important; }
@media (max-width: 575px) { a.backtop { right: 16px !important; bottom: 16px !important; } }

/* ==========================================================================
   STUDENT LIST + STUDENT DETAILS
   ========================================================================== */
/* ----- filter card ----- */
.student_list_filters { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 26px 28px 30px; box-shadow: 0 18px 46px rgba(18, 26, 20, .07); margin-bottom: 8px; }
.student_list_filters .row { row-gap: 18px; }
.student_list_filters .mb-2 { margin-bottom: 8px !important; color: var(--ink); font-size: 14px; font-weight: 600; }
.student_list_filters select {
    width: 100%; height: 54px; padding: 0 44px 0 16px !important; border: 1px solid var(--line) !important; border-radius: 14px !important; color: var(--ink); font-size: 16px; -webkit-appearance: none; appearance: none; cursor: pointer;
    background: var(--soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e5c22' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") right 16px center / 16px no-repeat !important;
}
.student_list_filters select:focus { border-color: var(--g) !important; box-shadow: 0 0 0 4px rgba(30, 92, 34, .12); outline: 0; background-color: #fff !important; }
.student_list_filters .search_btn { width: 100%; height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 28px !important; }

/* ----- result bar + view toggle ----- */
.student_list .tab-content { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 24px; margin-top: 30px; }
.student_list .search_query { justify-self: start; width: auto; margin: 0; padding: 9px 22px; background: var(--g-tint) !important; color: var(--g-dark) !important; border: 1px solid #d5e6d5; border-radius: 999px; font-size: 15px; font-weight: 600; text-align: left; }
.student_list .list_view_toggler { margin: 0; }
.student_list .list_view_toggler .nav-pills { gap: 4px; padding: 4px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; }
.student_list .list_view_toggler .nav-link { width: 44px; height: 38px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 999px !important; background: transparent !important; color: var(--muted) !important; }
.student_list .list_view_toggler .nav-link.active { background: var(--g) !important; color: #fff !important; box-shadow: 0 6px 16px rgba(30, 92, 34, .3); }
.student_list .tab-content > .tab-pane { grid-column: 1 / -1; }

/* ----- table ----- */
.student_list .common_data_table.profile_list { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 22px 22px 14px; box-shadow: 0 18px 46px rgba(18, 26, 20, .06); }
table.user_list_table { width: 100% !important; border-collapse: separate; border-spacing: 0; }
table.user_list_table thead th { padding: 14px 16px; background: var(--g-tint) !important; color: var(--g-dark) !important; font-size: 13px; font-weight: 700; border: 0 !important; white-space: nowrap; }
table.user_list_table thead th:first-child { border-radius: 14px 0 0 14px; }
table.user_list_table thead th:last-child { border-radius: 0 14px 14px 0; }
table.user_list_table tbody td { padding: 14px 16px; vertical-align: middle; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15px; background: transparent !important; }
table.user_list_table tbody tr:last-child td { border-bottom: 0; }
table.user_list_table tbody tr:hover td { background: var(--soft) !important; }
table.user_list_table tbody td:nth-child(1), table.user_list_table tbody td:nth-child(2), table.user_list_table tbody td:nth-child(3) { color: var(--muted); }
table.user_list_table .user_img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--g-tint); display: block; }
table.user_list_table .link_to_details { color: var(--ink); font-weight: 600; }
table.user_list_table .link_to_details:hover { color: var(--g); }
.student_list .dataTables_length, .student_list .dataTables_filter, .student_list .dataTables_info { margin-bottom: 14px; color: var(--muted); font-size: 15px; }
.student_list .dataTables_length select { height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.student_list .dataTables_filter input { height: 44px; padding: 0 18px 0 16px; border: 1px solid var(--line) !important; border-radius: 999px !important; background: var(--soft) !important; font-size: 15px; }
.student_list .dataTables_filter input:focus { background: #fff !important; border-color: var(--g) !important; box-shadow: 0 0 0 4px rgba(30, 92, 34, .12); outline: 0; }
.student_list .dataTables_paginate { padding-top: 6px; }
.student_list .dataTables_paginate .paginate_button { min-width: 40px; height: 40px; padding: 0 12px !important; margin: 0 3px; display: inline-flex !important; align-items: center; justify-content: center; border: 1px solid var(--line) !important; border-radius: 12px !important; color: var(--ink) !important; background: #fff !important; font-size: 15px; }
.student_list .dataTables_paginate .paginate_button:hover { background: var(--g-tint) !important; color: var(--g) !important; border-color: #cfe2cf !important; }
.student_list .dataTables_paginate .paginate_button.current, .student_list .dataTables_paginate .paginate_button.current:hover { background: var(--g) !important; color: #fff !important; border-color: var(--g) !important; }
.student_list .dataTables_paginate .paginate_button.disabled { opacity: .45; }

/* ----- grid view ----- */
.student_list .user_grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.student_list .user_item { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 22px 24px; box-shadow: 0 14px 36px rgba(18, 26, 20, .05); transition: transform .25s ease, box-shadow .25s ease; }
.student_list .user_item:hover { transform: translateY(-4px); box-shadow: 0 24px 54px rgba(18, 26, 20, .11); }
.student_list .single-student-info { align-items: center; gap: 20px; }
.student_list .user_item .user_photo { display: block; width: 82px; height: 82px; border-radius: 50%; object-fit: cover; border: 4px solid var(--g-tint); box-shadow: 0 0 0 1px var(--line); }
.student_list .user_item .user_name { margin: 0 0 8px; color: var(--ink); font-size: 19px; font-weight: 700; line-height: 1.3; }
.student_list .user_item .additional_info p { margin: 2px 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.student_list .user_item .additional_info b { color: var(--ink); font-weight: 600; }

/* ----- student details: profile hero ----- */
.single_user_profile_section { max-width: 1120px; }
.profile_details_header { position: relative; overflow: hidden; margin-bottom: 26px; padding: 36px 40px; border-radius: 32px; background: linear-gradient(135deg, #0d2a12 0%, #1e5c22 100%); color: #fff; box-shadow: 0 28px 64px rgba(10, 22, 12, .22); }
.profile_details_header::before { content: ''; position: absolute; right: -90px; top: -110px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 0 0 44px rgba(255, 255, 255, .04), 0 0 0 88px rgba(255, 255, 255, .03); pointer-events: none; }
.profile_details_header > .d-flex { position: relative; }
.profile_details_header .user_photo { width: 132px; height: 132px; margin: 0 30px 0 0; border-radius: 50%; object-fit: cover; border: 5px solid rgba(255, 255, 255, .92); box-shadow: 0 14px 34px rgba(0, 0, 0, .3); background: #fff; }
.profile_details_header .user_information { display: block; }
.profile_details_header .single_header_info { margin: 0; }
.profile_details_header .single_header_info:first-child { margin-bottom: 14px; }
.profile_details_header .user-name { color: #fff !important; font-size: clamp(26px, 3.4vw, 42px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; text-transform: capitalize !important; }
.profile_details_header .single_header_info:not(:first-child) { display: inline-flex; gap: 8px; align-items: baseline; margin: 0 10px 8px 0; padding: 7px 16px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: 14px; }
.profile_details_header .info_type { color: rgba(255, 255, 255, .72) !important; font-weight: 500; }
.profile_details_header .single_header_info:not(:first-child) .info_value { color: #fff !important; font-weight: 600; }
.profile_details_header .print_btn a { display: inline-flex; align-items: center; gap: 10px; padding: 13px 28px; background: #fff !important; color: var(--g-dark) !important; border-radius: 999px; font-weight: 600; box-shadow: 0 10px 26px rgba(0, 0, 0, .2); transition: transform .2s ease; }
.profile_details_header .print_btn a:hover { transform: translateY(-2px); }
.profile_details_header .print_btn a i { color: var(--g); }

/* ----- student details: info cards ----- */
.profile_details_container { display: grid; gap: 22px; }
.details_info_section { margin: 0; padding: 28px 34px 18px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 14px 40px rgba(18, 26, 20, .05); }
.details_info_section .sectoin_header { position: relative; margin: 0 0 10px; padding: 0 0 18px 20px !important; background: none !important; border: 0 !important; color: var(--ink) !important; font-size: 21px; font-weight: 700; }
.details_info_section .sectoin_header::before { content: ''; position: absolute; left: 0; top: 4px; width: 5px; height: 22px; border-radius: 5px; background: var(--g); }
.details_info_section > .row { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; margin: 0 !important; }
.details_info_section .single_info { display: flex; flex-direction: column; gap: 3px; width: auto !important; max-width: none !important; flex: none !important; margin: 0; padding: 15px 0 !important; border-bottom: 1px solid var(--line); }
.details_info_section .info_type { color: var(--muted) !important; font-size: 13px; font-weight: 500; }
.details_info_section .info_value { color: var(--ink) !important; font-size: 17px; font-weight: 600; text-transform: none !important; }

@media (max-width: 991px) {
    .student_list .tab-content { grid-template-columns: 1fr; }
    .student_list .list_view_toggler { justify-self: end; grid-row: 1; }
    .student_list .search_query { grid-row: 2; }
    .student_list .common_data_table.profile_list { padding: 14px 12px 10px; overflow-x: auto; }
    .student_list_filters { padding: 20px; border-radius: 22px; }
    .profile_details_header { padding: 28px 24px; border-radius: 26px; }
    .profile_details_header .user_photo { width: 96px; height: 96px; margin-right: 20px; }
    .details_info_section { padding: 22px 22px 12px; border-radius: 22px; }
    .details_info_section > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
}
@media (max-width: 575px) {
    .student_list .user_grid { grid-template-columns: 1fr; }
    .profile_details_header .d-flex.align-items-center { flex-direction: column; align-items: flex-start !important; gap: 16px; }
    .profile_details_header .user_photo { margin-right: 0; }
    .details_info_section > .row { grid-template-columns: 1fr; }
}
@media print {
    .profile_details_header { background: #fff !important; color: #000 !important; box-shadow: none; border: 1px solid #ccc; }
    .profile_details_header::before { display: none; }
    .profile_details_header .user-name, .profile_details_header .info_type, .profile_details_header .single_header_info:not(:first-child) .info_value { color: #000 !important; }
    .profile_details_header .single_header_info:not(:first-child) { background: none; border-color: #ccc; }
    .details_info_section { box-shadow: none; break-inside: avoid; }
}
.student_list .list_view_toggler, .student_list .list_view_toggler ul, .student_list .list_view_toggler li { background: none !important; box-shadow: none !important; outline: 0 !important; }
.student_list .list_view_toggler .nav-pills { border: 1px solid var(--line) !important; background: var(--soft) !important; width: auto; }
.student_list .list_view_toggler .nav-link, .student_list .list_view_toggler .nav-link:focus { outline: 0 !important; border: 0 !important; }
table.user_list_table tbody td, table.user_list_table td { vertical-align: middle !important; line-height: 1.5; }
.student_list .dataTables_filter label { position: relative; display: inline-flex; align-items: center; }
.student_list .dataTables_filter input { padding-left: 44px !important; min-width: 240px; }
.student_list .dataTables_filter label i, .student_list .dataTables_filter label svg, .student_list .dataTables_filter label .fa-search, .student_list .dataTables_filter label::before { left: 18px !important; }
.student_list .user_grid.user_list { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important; gap: 20px !important; }
.student_list .user_item { height: auto; margin: 0 !important; width: auto !important; max-width: none !important; }
.student_list .user_item .info, .student_list .user_item .additional_info, .student_list .user_item .additional_info p { border: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important; }
.student_list .user_item .additional_info { margin-top: 2px; }
.student_list .user_item .user_name { text-transform: capitalize !important; }
.student_list .user_item .additional_info p { margin: 3px 0 !important; }
.details_info_section .single_info .info_value { font-size: 17px !important; line-height: 1.4; }
.details_info_section .single_info .info_type { font-size: 13px !important; }
.profile_details_header .single_header_info:not(:first-child) { font-size: 15px !important; }
.profile_details_header .single_header_info:not(:first-child) .info_type, .profile_details_header .single_header_info:not(:first-child) .info_value { font-size: 15px !important; }
.profile_details_header .user-name { font-size: clamp(28px, 3.6vw, 44px) !important; }

/* ==========================================================================
   TEACHER LIST: staff directory as photo cards (the table markup stays, so search still works)
   ========================================================================== */
.user_list_container:not(.student_list) .common_data_table.profile_list { background: transparent; border: 0; box-shadow: none; padding: 0; }
.user_list_container:not(.student_list) table.user_list_table { display: block; width: 100% !important; border: 0; }
.user_list_container:not(.student_list) table.user_list_table thead { display: none; }
.user_list_container:not(.student_list) table.user_list_table tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-top: 10px; }

.user_list_container:not(.student_list) table.user_list_table tbody tr {
    position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: 'img img' 'name name' 'desig desig' 'role dept'; align-content: start; text-align: center;
    background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 32px 24px 22px; box-shadow: 0 14px 40px rgba(18, 26, 20, .06); transition: transform .25s ease, box-shadow .25s ease;
}
.user_list_container:not(.student_list) table.user_list_table tbody tr:hover { transform: translateY(-5px); box-shadow: 0 26px 58px rgba(18, 26, 20, .13); }
.user_list_container:not(.student_list) table.user_list_table tbody td { display: block; padding: 0 !important; border: 0 !important; background: transparent !important; }
.user_list_container:not(.student_list) table.user_list_table tbody td:nth-child(1) { display: none; }
.user_list_container:not(.student_list) table.user_list_table tbody td:nth-child(2) { grid-area: img; margin-bottom: 18px; }
.user_list_container:not(.student_list) table.user_list_table tbody td:nth-child(2) .user_img { display: block; width: 120px; height: 120px; margin: 0 auto; border-radius: 50%; object-fit: cover; border: 5px solid var(--g-tint); box-shadow: 0 0 0 1px var(--line), 0 14px 30px rgba(10, 22, 12, .12); background: var(--soft); }
.user_list_container:not(.student_list) table.user_list_table tbody td:nth-child(3) { grid-area: name; margin-bottom: 12px; font-size: 20px; font-weight: 700; line-height: 1.35; }
.user_list_container:not(.student_list) table.user_list_table tbody td:nth-child(3) .link_to_details, .user_list_container:not(.student_list) .teacher_name { color: var(--ink); font-weight: 700; }
.user_list_container:not(.student_list) table.user_list_table tbody td:nth-child(3) .link_to_details::after { content: ''; position: absolute; inset: 0; border-radius: 28px; }
.user_list_container:not(.student_list) table.user_list_table tbody tr:hover .link_to_details { color: var(--g); }
.user_list_container:not(.student_list) table.user_list_table tbody td:nth-child(6) { grid-area: desig; justify-self: center; margin-bottom: 20px; padding: 5px 16px !important; background: var(--g-tint) !important; color: var(--g-dark); border: 1px solid #d5e6d5 !important; border-radius: 999px; font-size: 14px; font-weight: 600; }
.user_list_container:not(.student_list) table.user_list_table tbody td:nth-child(6):empty { display: none; }
.user_list_container:not(.student_list) table.user_list_table tbody td:nth-child(4), .user_list_container:not(.student_list) table.user_list_table tbody td:nth-child(5) { padding-top: 16px !important; border-top: 1px solid var(--line) !important; color: var(--muted); font-size: 14px; font-weight: 500; }
.user_list_container:not(.student_list) table.user_list_table tbody td:nth-child(4) { grid-area: role; }
.user_list_container:not(.student_list) table.user_list_table tbody td:nth-child(5) { grid-area: dept; }

/* directory controls: search only; hide paging chrome when everything fits on one page */
.user_list_container:not(.student_list) .dataTables_length { display: none; }
.user_list_container:not(.student_list) .dataTables_filter { float: none; text-align: right; margin-bottom: 18px; }
.user_list_container:not(.student_list) .dataTables_filter input { height: 46px; min-width: 260px; padding: 0 18px 0 44px !important; border: 1px solid var(--line) !important; border-radius: 999px !important; background: var(--soft) !important; font-size: 15px; }
.user_list_container:not(.student_list) .dataTables_filter input:focus { background: #fff !important; border-color: var(--g) !important; box-shadow: 0 0 0 4px rgba(30, 92, 34, .12); outline: 0; }
.user_list_container:not(.student_list) .dataTables_paginate:not(:has(.paginate_button:not(.previous):not(.next):not(.current))) { display: none; }
.user_list_container:not(.student_list) .dataTables_info { margin-top: 18px; color: var(--muted); font-size: 14px; }
.user_list_container:not(.student_list) .dataTables_paginate .paginate_button { min-width: 40px; height: 40px; padding: 0 12px !important; margin: 0 3px; display: inline-flex !important; align-items: center; justify-content: center; border: 1px solid var(--line) !important; border-radius: 12px !important; color: var(--ink) !important; background: #fff !important; }
.user_list_container:not(.student_list) .dataTables_paginate .paginate_button.current { background: var(--g) !important; color: #fff !important; border-color: var(--g) !important; }

@media (max-width: 575px) {
    .user_list_container:not(.student_list) table.user_list_table tbody { grid-template-columns: 1fr; }
    .user_list_container:not(.student_list) .dataTables_filter { text-align: left; }
    .user_list_container:not(.student_list) .dataTables_filter input { width: 100%; min-width: 0; }
}
.user_list_container:not(.student_list) table.user_list_table, .user_list_container:not(.student_list) table.dataTable, .user_list_container:not(.student_list) table.dataTable.no-footer { border: 0 !important; border-top: 0 !important; border-bottom: 0 !important; }
.user_list_container:not(.student_list) .dataTables_wrapper, .user_list_container:not(.student_list) .dataTables_wrapper * { border-top-color: transparent; }

/* ==========================================================================
   DOCUMENT LISTS (academic calendar, routines, forms): 4-column tables become file cards
   ========================================================================== */
.common_data_table:not(.profile_list) > h4 { position: relative; margin: 0 0 30px !important; padding-top: 18px; text-align: left !important; font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.common_data_table:not(.profile_list) > h4::before { content: ''; position: absolute; left: 0; top: 0; width: 44px; height: 5px; border-radius: 5px; background: var(--g); }

.common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(4)):not(:has(th:nth-child(5))) { display: block; width: 100% !important; border: 0 !important; }
.common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(4)):not(:has(th:nth-child(5))) thead { display: none; }
.common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(4)):not(:has(th:nth-child(5))) tbody { display: grid; gap: 14px; }
.common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(4)):not(:has(th:nth-child(5))) tbody tr {
    display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; align-items: center; gap: 20px; padding: 16px 24px 16px 18px;
    background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 34px rgba(18, 26, 20, .05); transition: transform .2s ease, box-shadow .2s ease;
}
.common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(4)):not(:has(th:nth-child(5))) tbody tr:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(18, 26, 20, .1); }
.common_data_table:not(.profile_list) table.display:not(.user_list_table) tbody td { display: block; padding: 0 !important; border: 0 !important; background: transparent !important; }

/* number becomes a file icon tile */
.common_data_table:not(.profile_list) table.display:not(.user_list_table) tbody tr:not(:has(.dataTables_empty)) td:nth-child(1) { width: 56px; height: 56px; border-radius: 16px; font-size: 0 !important; color: transparent; background: var(--g-tint) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e5c22' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/><path d='M14 3v5h5M9 13h6M9 17h6'/></svg>") center / 26px no-repeat !important; }
.common_data_table:not(.profile_list) table.display:not(.user_list_table) tbody td:nth-child(2) { color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.4; }
.common_data_table:not(.profile_list) table.display:not(.user_list_table) tbody td:nth-child(3) { padding: 6px 16px !important; background: var(--soft) !important; border: 1px solid var(--line) !important; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; }
.common_data_table:not(.profile_list) table.display:not(.user_list_table) tbody td.pdf_download_option a, .common_data_table:not(.profile_list) table.display:not(.user_list_table) tbody td:nth-child(4) a { display: inline-flex; align-items: center; gap: 9px; padding: 11px 22px; background: var(--g); color: #fff !important; border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap; box-shadow: 0 8px 20px rgba(30, 92, 34, .25); transition: background-color .2s ease, transform .2s ease; }
.common_data_table:not(.profile_list) table.display:not(.user_list_table) tbody td:nth-child(4) a:hover { background: var(--g-dark); transform: translateY(-2px); }

/* empty state */
.common_data_table:not(.profile_list) table.display:not(.user_list_table) tbody tr:has(.dataTables_empty) { display: block; padding: 0; background: none; border: 0; box-shadow: none; transform: none; }
.common_data_table:not(.profile_list) td.dataTables_empty { padding: 72px 24px 64px !important; background: var(--soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e5c22' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='16' rx='3'/><path d='M3 10h18M8 3v4M16 3v4'/></svg>") center 20px / 40px no-repeat !important; border: 1px dashed #cfe2cf !important; border-radius: 24px; color: var(--muted); font-size: 17px; text-align: center; }

/* controls: search only; paging only when needed */
.common_data_table:not(.profile_list) .dataTables_length { display: none; }
.common_data_table:not(.profile_list) .dataTables_filter { float: none; text-align: right; margin: 0 0 18px; }
.common_data_table:not(.profile_list) .dataTables_filter input { height: 46px; min-width: 260px; padding: 0 18px 0 44px !important; border: 1px solid var(--line) !important; border-radius: 999px !important; background: var(--soft) !important; font-size: 15px; }
.common_data_table:not(.profile_list) .dataTables_filter input:focus { background: #fff !important; border-color: var(--g) !important; box-shadow: 0 0 0 4px rgba(30, 92, 34, .12); outline: 0; }
.common_data_table:not(.profile_list) .dataTables_paginate:not(:has(.paginate_button:not(.previous):not(.next):not(.current))) { display: none; }
.common_data_table:not(.profile_list) .dataTables_info { margin-top: 18px; color: var(--muted); font-size: 14px; }
.common_data_table:not(.profile_list) .dataTables_wrapper .dataTables_paginate .paginate_button { min-width: 40px; height: 40px; border-radius: 12px !important; }

@media (max-width: 767px) {
    .common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(4)):not(:has(th:nth-child(5))) tbody tr { grid-template-columns: 48px minmax(0, 1fr); gap: 12px 14px; padding: 16px; }
    .common_data_table:not(.profile_list) table.display:not(.user_list_table) tbody tr:not(:has(.dataTables_empty)) td:nth-child(1) { width: 48px; height: 48px; }
    .common_data_table:not(.profile_list) table.display:not(.user_list_table) tbody td:nth-child(3), .common_data_table:not(.profile_list) table.display:not(.user_list_table) tbody td:nth-child(4) { grid-column: 2; justify-self: start; }
    .common_data_table:not(.profile_list) .dataTables_filter { text-align: left; }
    .common_data_table:not(.profile_list) .dataTables_filter input { width: 100%; min-width: 0; }
}
.common_data_table:not(.profile_list) td.pdf_download_option a i, .common_data_table:not(.profile_list) td.pdf_download_option a .fas, .common_data_table:not(.profile_list) td.pdf_download_option a .fa { color: #fff !important; font-size: 14px; }
.common_data_table:not(.profile_list) .dataTables_filter { display: flex; justify-content: flex-end; }
@media (max-width: 767px) { .common_data_table:not(.profile_list) .dataTables_filter { justify-content: flex-start; } }
.common_data_table:not(.profile_list) .dataTables_filter label { position: relative; display: inline-flex; align-items: center; margin: 0; }
.common_data_table:not(.profile_list) .dataTables_filter label > i, .common_data_table:not(.profile_list) .dataTables_filter label > svg, .common_data_table:not(.profile_list) .dataTables_filter label::before { left: 18px !important; right: auto !important; }
.common_data_table:not(.profile_list) table.display:not(.user_list_table) tbody td.dataTables_empty {
    padding: 76px 24px 60px !important; text-align: center !important; color: var(--muted) !important; font-size: 17px !important;
    background: var(--soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e5c22' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='16' rx='3'/><path d='M3 10h18M8 3v4M16 3v4'/></svg>") center 22px / 40px no-repeat !important;
    border: 1px dashed #cfe2cf !important; border-radius: 24px;
}
.common_data_table:not(.profile_list) .dataTables_wrapper .dataTables_info { margin-top: 22px; }
.common_data_table:not(.profile_list) table.display:not(.user_list_table) tbody tr:has(td.dataTables_empty) { display: block !important; grid-template-columns: 1fr !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; transform: none !important; }
.common_data_table:not(.profile_list) table.display:not(.user_list_table) tbody td.dataTables_empty { display: block !important; width: 100% !important; height: auto !important; grid-column: 1 / -1; font-size: 17px !important; }

/* home gallery: the empty "load more" placeholder was taking a 250px grid row (a blank band under the photos) */
.gallery .row:has(> .totalblog) > :not(.totalblog):not(:has(*)) { display: none !important; }
.gallery .row:has(> .totalblog) > :not(.totalblog):has(*) { grid-column: 1 / -1; grid-row: auto; height: auto; text-align: center; padding-top: 8px; }

/* ===== HOME: Opening hours + Notice board (v2) ===== */
.mainbag section.noticeboard.section_padding_bottom { padding: 0 !important; }
.mainbag section.noticeboard.section_padding_bottom > .row { margin: 0 !important; height: 100%; }
.mainbag section.noticeboard.section_padding_bottom > .row > .col-md-12 { padding: 0 !important; max-width: 100%; flex: 0 0 100%; }
.openning_hours_container { position: relative; overflow: hidden; background: linear-gradient(155deg, #0f3314 0%, #1e5c22 100%) !important; color: #fff; border-radius: 32px !important; padding: 48px 48px 40px !important; box-shadow: 0 24px 50px -28px rgba(15, 51, 20, .6) !important; }
.openning_hours_container::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .06); pointer-events: none; }
.openning_hours_container > .section_title { position: relative; z-index: 1; }
.openning_hours_container h2 { color: #fff !important; font-size: 34px !important; font-weight: 700; margin: 0 0 6px !important; }
.openning_hours_container p, .openning_hours_container li { color: rgba(255, 255, 255, .88) !important; margin: 0; }
/* drop empty spacer paragraphs and the stray empty box inside the card */
.openning_hours_container p:empty, .openning_hours_container p:has(> br:only-child), .openning_hours_container .noticeboard_inner { display: none !important; }
/* subtitle (first non-empty paragraph) */
.openning_hours_container h2 + p + p { display: inline-block; margin: 0 0 26px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #cfe9cf !important; font-size: 14px; font-weight: 500; }
/* group headings (a paragraph that is only bold text) */
.openning_hours_container p:has(> b:only-child) { margin: 22px 0 10px; color: #9be0a0 !important; font-size: 15px; letter-spacing: .02em; }
.openning_hours_container p:has(> b:only-child) b { color: inherit !important; font-weight: 700; }
/* schedule rows */
.openning_hours_container ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.openning_hours_container li { margin: 0; padding: 13px 18px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); line-height: 1.55; font-size: 16px; transition: background .2s ease; }
.openning_hours_container li:hover { background: rgba(255, 255, 255, .14); }
.openning_hours_container li p { color: inherit !important; }
.openning_hours_container li b { color: #fff; font-weight: 700; }
.openning_hours_container li::marker { content: none; }

/* notice board: match the height of the hours card, one featured notice */
.row.droppable-container > .col-md-6:has(.noticeboard_inner_head) { display: flex; }
.row.droppable-container > .col-md-6:has(.noticeboard_inner_head) > div { display: flex; width: 100%; }
.noticeboard.section_padding.pt-0.mt-5 { margin: 0 !important; padding: 0 !important; display: flex; width: 100%; }
.noticeboard.section_padding.pt-0.mt-5 > .container { display: flex; width: 100%; max-width: none; padding: 0 0 0 28px !important; }
.noticeboard.section_padding.pt-0.mt-5 .row.m-0 { display: flex; width: 100%; margin: 0 !important; }
.noticeboard.section_padding.pt-0.mt-5 .row.m-0 > div { flex: 0 0 100%; max-width: 100%; margin: 0; padding: 0 !important; display: flex; }
.noticeboard_inner { display: flex; flex-direction: column; width: 100%; border-radius: 32px !important; border: 1px solid var(--line) !important; background: #fff; box-shadow: 0 24px 50px -34px rgba(15, 51, 20, .4) !important; overflow: hidden; }
.noticeboard_inner_head { display: flex; align-items: center; gap: 12px; padding: 26px 36px !important; background: var(--g-tint) !important; border-bottom: 1px solid var(--line) !important; }
.noticeboard_inner_head::before { content: "\f0f3"; font-family: "Font Awesome 5 Free", "FontAwesome"; font-weight: 900; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--g); color: #fff; font-size: 17px; }
.noticeboard_inner_head h5 { margin: 0 !important; font-size: 22px; font-weight: 700; color: var(--ink) !important; }
.noticeboard_inner_wrapper { flex: 1; display: flex; flex-direction: column; }
.noticeboard_inner_wrapper .noticeboard_inner_item { padding: 30px 36px !important; border-bottom: 1px solid var(--line) !important; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.noticeboard_inner_wrapper .noticeboard_inner_item:last-child { border-bottom: 0 !important; }
.noticeboard_inner_item_title, .noticeboard_inner_item_title a { font-size: 22px !important; line-height: 1.5; font-weight: 700 !important; color: var(--ink) !important; text-decoration: none; }
.noticeboard_inner_item .noticeboard_inner_item_title:hover { color: var(--g) !important; }
.noticeboard_inner_item > p { order: 2; display: inline-flex; align-items: center; gap: 8px; margin: 0 !important; padding: 5px 14px; border-radius: 999px; background: var(--soft); color: var(--muted) !important; font-size: 14px; }
.noticeboard_inner_item > p::before { content: "\f073"; font-family: "Font Awesome 5 Free", "FontAwesome"; font-weight: 400; color: var(--g); }
.noticeboard_inner_item a.site_btn_border { order: 3; margin-top: 6px; background: var(--g) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 11px 24px !important; font-weight: 600; font-size: 15px; transition: background .2s ease, transform .2s ease; }
.noticeboard_inner_item a.site_btn_border:hover { background: var(--g-dark) !important; transform: translateY(-1px); }
.noticeboard_inner_item a.site_btn_border i { color: #fff !important; }
@media (max-width: 767px) {
  .openning_hours_container { padding: 32px 22px 28px !important; border-radius: 26px !important; }
  .openning_hours_container h2 { font-size: 28px !important; }
  .noticeboard.section_padding.pt-0.mt-5 > .container { padding: 20px 0 0 !important; }
  .noticeboard_inner_head { padding: 20px 22px !important; }
  .noticeboard_inner_wrapper .noticeboard_inner_item { padding: 24px 22px !important; }
  .noticeboard_inner_item_title, .noticeboard_inner_item_title a { font-size: 19px !important; }
}

/* hours + notice: fixes */
.openning_hours_container li p { margin: 0 !important; color: inherit !important; font-size: inherit; letter-spacing: 0; }
.openning_hours_container li b { color: #fff !important; }
.openning_hours_container li:not(:has(b)) { display: none; }
.noticeboard_inner_head { justify-content: flex-start !important; }
.noticeboard_inner_head::before, .noticeboard_inner_item > p::before { font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", FontAwesome !important; }
.noticeboard_inner_head::before { font-weight: 900; }
.noticeboard_inner_item > p::before { font-weight: 400; }
.noticeboard_inner_wrapper:has(.noticeboard_inner_item:only-child) { justify-content: center; }
.noticeboard_inner_wrapper:has(.noticeboard_inner_item:only-child) .noticeboard_inner_item { padding-top: 12px !important; padding-bottom: 12px !important; }
.noticeboard_inner_wrapper:has(.noticeboard_inner_item:only-child) .noticeboard_inner_item_title { font-size: 26px !important; }

/* hours + notice: align with page grid and give the pair breathing room above the footer */
.row.droppable-container:has(.openning_hours_container) { padding: 0 24px 96px !important; align-items: stretch; }
@media (max-width: 991px) { .row.droppable-container:has(.openning_hours_container) { padding: 0 15px 56px !important; } .row.droppable-container:has(.openning_hours_container) > .col-md-6 { flex: 0 0 100%; max-width: 100%; } }
.openning_hours_container li p:has(> b:only-child), .openning_hours_container li p { color: rgba(255, 255, 255, .92) !important; margin: 0 !important; font-size: 16px !important; }
.openning_hours_container li p b { color: #fff !important; }

/* opening hours: academic + residential as two cards */
.row.droppable-container:has(.openning_hours_container) > .col-md-6:first-child { flex: 0 0 63%; max-width: 63%; }
.row.droppable-container:has(.openning_hours_container) > .col-md-6:last-child { flex: 0 0 37%; max-width: 37%; }
.openning_hours_container > .section_title { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; align-items: stretch; }
.openning_hours_container > .section_title > h2, .openning_hours_container > .section_title > h2 + p + p { grid-column: 1 / -1; justify-self: start; }
.openning_hours_container > .section_title > p:has(+ ul) { margin: 0 !important; padding: 20px 22px 12px; border-radius: 22px 22px 0 0; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .12); border-bottom: 0; display: flex; align-items: center; gap: 12px; font-size: 17px !important; color: #fff !important; }
.openning_hours_container > .section_title > p:has(+ ul) b { color: #fff !important; }
.openning_hours_container > .section_title > p:has(+ ul)::before { font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", FontAwesome; font-weight: 900; display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: #9be0a0; color: #0f3314; font-size: 16px; }
.openning_hours_container > .section_title > p:has(+ ul:nth-of-type(1))::before { content: "\f185"; }
.openning_hours_container > .section_title > p:has(+ ul:nth-of-type(2))::before { content: "\f186"; }
.openning_hours_container > .section_title > p:has(+ ul:nth-of-type(1)), .openning_hours_container > .section_title > ul:nth-of-type(1) { grid-column: 1; }
.openning_hours_container > .section_title > p:has(+ ul:nth-of-type(2)), .openning_hours_container > .section_title > ul:nth-of-type(2) { grid-column: 2; }
.openning_hours_container > .section_title > ul { align-content: start; padding: 0 14px 16px; border-radius: 0 0 22px 22px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .12); border-top: 0; }
.openning_hours_container > .section_title > ul li { background: rgba(0, 0, 0, .2); border-color: rgba(255, 255, 255, .06); }
@media (max-width: 991px) { .row.droppable-container:has(.openning_hours_container) > .col-md-6:first-child, .row.droppable-container:has(.openning_hours_container) > .col-md-6:last-child { flex: 0 0 100%; max-width: 100%; } .row.droppable-container:has(.openning_hours_container) > .col-md-6:first-child { margin-bottom: 24px; } }
@media (max-width: 640px) { .openning_hours_container > .section_title { grid-template-columns: 1fr; } .openning_hours_container > .section_title > p:has(+ ul), .openning_hours_container > .section_title > ul { grid-column: 1 !important; } .openning_hours_container > .section_title > ul:nth-of-type(1) { margin-bottom: 18px; } }
.openning_hours_container > .section_title { grid-template-rows: auto auto auto 1fr; }
.openning_hours_container > .section_title > h2 { grid-row: 1; }
.openning_hours_container > .section_title > h2 + p + p { grid-row: 2; }
.openning_hours_container > .section_title > p:has(+ ul) { grid-row: 3; }
.openning_hours_container > .section_title > ul { grid-row: 4; }
@media (max-width: 640px) { .openning_hours_container > .section_title { grid-template-rows: none; } .openning_hours_container > .section_title > p:has(+ ul), .openning_hours_container > .section_title > ul { grid-row: auto; } }
.openning_hours_container > .section_title > ul:not(:has(li b)) { display: none !important; }

/* notice board: any number of notices. The card never grows past the hours card; extra notices scroll inside it. */
.noticeboard_inner_wrapper { min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #b9cdb9 transparent; }
.noticeboard_inner_wrapper::-webkit-scrollbar { width: 8px; }
.noticeboard_inner_wrapper::-webkit-scrollbar-thumb { background: #b9cdb9; border-radius: 8px; }
.noticeboard_inner_wrapper:not(:has(.noticeboard_inner_item:only-child)) .noticeboard_inner_item { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 20px 32px !important; }
.noticeboard_inner_wrapper:not(:has(.noticeboard_inner_item:only-child)) .noticeboard_inner_item_title { order: 1; flex: 0 0 100%; font-size: 18px !important; }
.noticeboard_inner_wrapper:not(:has(.noticeboard_inner_item:only-child)) .noticeboard_inner_item > p { order: 2; }
.noticeboard_inner_wrapper:not(:has(.noticeboard_inner_item:only-child)) .noticeboard_inner_item a.site_btn_border { order: 3; margin: 0 0 0 auto; padding: 7px 16px !important; font-size: 13px; }
.noticeboard_inner_head { flex: none; }
@media (min-width: 992px) {
  .row.droppable-container > .col-md-6:has(.noticeboard_inner_head) { position: relative; }
  .row.droppable-container > .col-md-6:has(.noticeboard_inner_head) .noticeboard_inner { position: absolute; top: 0; bottom: 0; left: 28px; right: 0; width: auto; }
  .noticeboard.section_padding.pt-0.mt-5 > .container { padding: 0 !important; }
}
@media (max-width: 991px) { .noticeboard_inner { max-height: 560px; } }

/* mobile hero: slider arrows sit on the photo's middle edges instead of being hidden under the welcome card */
@media (max-width: 991px) {
  .hero_area_slider { position: relative; }
  .hero_area_slider .owl-nav { position: absolute; top: 0; left: 0; right: 0; height: max(52vh, 300px); margin: 0 !important; padding: 0 10px; display: flex !important; justify-content: space-between; align-items: center; pointer-events: none; }
  .hero_area_slider .owl-nav button { pointer-events: auto; width: 40px; height: 40px; margin: 0 !important; }
}

/* Academics: a pasted list item that carries the "selection anchor" class is still just a list line, not a fee card.
   Only a paragraph holding several <strong> lines (the tuition price lists) keeps the card treatment. */
.facilities_title > p.PDq2pG_selectionAnchorContainer:not(:has(> strong ~ strong)) { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; margin: 0; }
.facilities_title > p.PDq2pG_selectionAnchorContainer:not(:has(> strong ~ strong)) > strong { display: inline; padding: 0; border: 0; color: var(--g); font-weight: 600; font-size: inherit; line-height: inherit; }
@media (max-width: 991px) { .facilities_title > p.PDq2pG_selectionAnchorContainer:not(:has(> strong ~ strong)) { padding: 0; border-radius: 0; } }

/* ===== ACADEMICS PAGE (scoped: only pages whose facilities block holds several headings) ===== */
.mainbag:has(.facilities_title > h2 ~ h2) { --ac-gap: 10px; }

/* intro: one large tinted lead panel */
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title:not(:has(> h2 ~ h2)) { margin: 56px 0 8px; padding: 52px 56px; border: 0; border-radius: 32px; background: linear-gradient(135deg, var(--g-tint) 0%, #fff 100%); box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title:not(:has(> h2 ~ h2))::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; border: 34px solid rgba(30, 92, 34, .07); pointer-events: none; }
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title:not(:has(> h2 ~ h2)) > h2 { top: 120px; }
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title:not(:has(> h2 ~ h2)) > p { font-size: 21px; line-height: 1.9; color: var(--ink); position: relative; z-index: 1; }

/* detail block: sticky title on the left, groups on the right */
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title:has(> h2 ~ h2) { border-top: 0; padding-top: 24px; }
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title:has(> h2 ~ h2) > h2:first-of-type { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.2; }
/* group headings */
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title > h2:not(:first-of-type) { display: flex; align-items: center; gap: 14px; margin: 48px 0 18px; padding: 0 0 14px; border-bottom: 2px solid var(--g-tint); font-size: clamp(22px, 2.2vw, 28px); color: var(--ink); }
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title > h2:not(:first-of-type):first-of-type { margin-top: 0; }
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title > h2:not(:first-of-type)::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 5px; background: var(--g); box-shadow: 0 0 0 5px var(--g-tint); }
/* lines become tiles: label on the left, detail on the right */
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title > p:has(> strong) { display: flex; align-items: baseline; gap: 10px; margin: 0 0 var(--ac-gap); padding: 16px 22px; border-radius: 16px; background: var(--soft); border: 1px solid transparent; font-size: 18px; line-height: 1.7; color: var(--ink); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title > p:has(> strong):hover { background: #fff; border-color: var(--g); transform: translateX(4px); }
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title > p:has(> strong) > strong { flex: 0 0 auto; min-width: 190px; color: var(--g); font-weight: 700; }
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title > p:has(> strong) br { display: none; }
/* plain lines (notes without a bold label) */
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title > p:not(:has(> strong)):not(:empty) { margin: 0 0 var(--ac-gap); padding: 14px 22px; border-radius: 16px; border-left: 4px solid var(--g); background: var(--g-tint); font-size: 17px; line-height: 1.8; color: var(--ink); }
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title > p.PDq2pG_selectionAnchorContainer { padding: 16px 22px; }

@media (max-width: 991px) {
  .mainbag:has(.facilities_title > h2 ~ h2) .facilities_title:not(:has(> h2 ~ h2)) { padding: 32px 24px; border-radius: 24px; margin-top: 32px; }
  .mainbag:has(.facilities_title > h2 ~ h2) .facilities_title:not(:has(> h2 ~ h2)) > p { font-size: 18px; }
  .mainbag:has(.facilities_title > h2 ~ h2) .facilities_title > h2:not(:first-of-type) { margin-top: 36px; }
  .mainbag:has(.facilities_title > h2 ~ h2) .facilities_title > p:has(> strong) { flex-wrap: wrap; padding: 14px 18px; font-size: 17px; }
  .mainbag:has(.facilities_title > h2 ~ h2) .facilities_title > p:has(> strong) > strong { min-width: 0; }
}
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title:not(:has(> h2 ~ h2)) > p:not(:empty) { margin: 0 0 14px; padding: 0; border: 0; border-radius: 0; background: none; font-size: 21px; line-height: 1.9; }
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title:not(:has(> h2 ~ h2)) { align-items: center; }
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title:not(:has(> h2 ~ h2)) > h2 { position: static; }
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title > p:has(> br:only-child) { display: none !important; }
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title > p:has(> strong) > strong { min-width: 250px; }
@media (max-width: 991px) { .mainbag:has(.facilities_title > h2 ~ h2) .facilities_title > p:has(> strong) > strong { min-width: 0; } }
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title > p { text-align: left !important; justify-content: flex-start; }
/* tablet/phone: titles are normal flow (the sticky left title only makes sense in two columns) */
@media (max-width: 991px) { .facilities_title > h2, .mainbag:has(.facilities_title > h2 ~ h2) .facilities_title > h2:first-of-type { position: static !important; } }

/* academics detail block: title on top, tiles in two columns (no empty left column) */
@media (min-width: 992px) {
  .mainbag:has(.facilities_title > h2 ~ h2) .facilities_title:has(> h2 ~ h2) { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 12px; align-items: stretch; }
  .mainbag:has(.facilities_title > h2 ~ h2) .facilities_title:has(> h2 ~ h2) > h2 { grid-column: 1 / -1 !important; grid-row: auto !important; position: static !important; }
  .mainbag:has(.facilities_title > h2 ~ h2) .facilities_title:has(> h2 ~ h2) > h2:first-of-type { margin: 0 0 4px; padding-top: 22px; font-size: clamp(32px, 3.4vw, 46px); }
  .mainbag:has(.facilities_title > h2 ~ h2) .facilities_title:has(> h2 ~ h2) > h2:not(:first-of-type) { margin: 40px 0 6px; }
  .mainbag:has(.facilities_title > h2 ~ h2) .facilities_title:has(> h2 ~ h2) > :not(h2) { grid-column: auto !important; margin: 0 !important; }
  .mainbag:has(.facilities_title > h2 ~ h2) .facilities_title:has(> h2 ~ h2) > p:has(> strong) > strong { min-width: 0; flex: 0 0 auto; max-width: 48%; }
}
/* academics: breathing room before the footer */
.mainbag:has(.facilities_title > h2 ~ h2) .facilities_title:has(> h2 ~ h2) { padding-bottom: 96px !important; }
@media (max-width: 991px) { .mainbag:has(.facilities_title > h2 ~ h2) .facilities_title:has(> h2 ~ h2) { padding-bottom: 56px !important; } }

/* ===== ADMISSION PAGE (scoped: pages whose tution_fee block has an h2 title) ===== */
.mainbag:has(.tution_fee > h2) .tution_fee { max-width: 1170px; padding: 64px 15px 24px; row-gap: 14px; }
.mainbag:has(.tution_fee > h2) .tution_fee > h2 { grid-column: 1 / -1; position: relative; margin: 0 0 6px; padding-top: 22px; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.2; color: var(--ink); }
.mainbag:has(.tution_fee > h2) .tution_fee > h2::before { content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 5px; border-radius: 5px; background: var(--g); }
/* intro: a lead paragraph, not a step */
.mainbag:has(.tution_fee > h2) .tution_fee > p.PDq2pG_selectionAnchorContainer { grid-column: 1 / -1; margin: 0 0 14px; padding: 0; background: none; border: 0; box-shadow: none; max-width: 78ch; color: var(--muted); font-size: 20px; line-height: 1.85; }
.mainbag:has(.tution_fee > h2) .tution_fee > p.PDq2pG_selectionAnchorContainer:hover { transform: none; box-shadow: none; background: none; }
/* steps: tiles with a green rail */
.mainbag:has(.tution_fee > h2) .tution_fee > p:has(> strong) { position: relative; padding: 20px 24px 20px 28px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); overflow: hidden; }
.mainbag:has(.tution_fee > h2) .tution_fee > p:has(> strong)::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--g); }
.mainbag:has(.tution_fee > h2) .tution_fee > p:has(> strong) > strong { color: var(--ink); font-weight: 600; font-size: 18px; }
.mainbag:has(.tution_fee > h2) .tution_fee > p:has(> br:only-child) { display: none; }

/* fee call-to-action: full width under the steps, text left and button right */
.mainbag:has(.tution_fee > h2) .col-12.p-0:has(.faq_area_admission) { display: block !important; padding: 0 !important; }
.mainbag:has(.tution_fee > h2) section:has(.faq_area_admission) .container { max-width: 1170px; padding: 0 15px; }
.mainbag:has(.tution_fee > h2) section:has(.faq_area_admission) .full-width { padding: 0 !important; }
.mainbag:has(.tution_fee > h2) .col-12.p-0:has(.faq_area_admission) > div { padding: 0 !important; margin: 0 !important; }
.mainbag:has(.tution_fee > h2) .col-12.p-0:has(.faq_area_admission) .tmp-services:empty, .mainbag:has(.tution_fee > h2) .pb-spacer { display: none; }
.mainbag:has(.tution_fee > h2) .faq_area_admission { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: center; min-height: 0; margin: 24px 0 96px; padding: 44px 52px !important; border-radius: 32px; }
.mainbag:has(.tution_fee > h2) .faq_area_admission > h3 { grid-column: 1; margin: 0 0 8px; }
.mainbag:has(.tution_fee > h2) .faq_area_admission > p { grid-column: 1; margin: 0; max-width: 60ch; font-size: 17px; line-height: 1.8; }
.mainbag:has(.tution_fee > h2) .faq_area_admission > .site_btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: end; white-space: nowrap; }
@media (max-width: 767px) {
  .mainbag:has(.tution_fee > h2) .tution_fee { padding-top: 40px; }
  .mainbag:has(.tution_fee > h2) .tution_fee > p.PDq2pG_selectionAnchorContainer { font-size: 17px; }
  .mainbag:has(.tution_fee > h2) .faq_area_admission { grid-template-columns: 1fr; padding: 32px 24px !important; margin-bottom: 56px; border-radius: 26px; }
  .mainbag:has(.tution_fee > h2) .faq_area_admission > .site_btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 22px; }
}
.mainbag:has(.tution_fee > h2) section:has(.faq_area_admission) .container { padding-left: 15px !important; padding-right: 15px !important; box-sizing: border-box; }
.mainbag:has(.tution_fee > h2) section:has(.faq_area_admission) .full-width, .mainbag:has(.tution_fee > h2) section:has(.faq_area_admission) .row.droppable-container { margin: 0 !important; padding: 0 !important; }
@media (max-width: 991px) { .mainbag:has(.tution_fee > h2) div:has(> .tution_fee) { padding-left: 0 !important; padding-right: 0 !important; } }

/* ===== CONTACT: information panel ===== */
.contacts_info { padding: 28px !important; margin-top: 0 !important; }
.contacts_info > p:empty, .contacts_info > p:has(> br:only-child) { display: none !important; }
.contacts_info > p:nth-child(2) { margin: 0 0 18px; font-size: 24px; font-weight: 700; color: var(--ink) !important; }
.contacts_info .contacts_info_card { background: #fff !important; border: 1px solid var(--line) !important; border-radius: 16px !important; padding: 16px 20px !important; margin: 0 0 12px !important; box-shadow: none !important; }
.contacts_info .contacts_info_card > br { display: none; }
.contacts_info .contacts_info_card p { margin: 0 !important; line-height: 1.75; font-size: 16px; word-break: break-word; }
.contacts_info .contacts_info_card span { font-size: inherit; }
.contacts_info .google_map { margin-top: 18px; border-radius: 18px; overflow: hidden; line-height: 0; }
.contacts_info .google_map iframe { display: block; width: 100% !important; height: 240px !important; border-radius: 0 !important; }
@media (min-width: 992px) { .contacts_info { margin-right: 24px !important; } }
/* contact info on phones: wider cards (less padding), email stays on one line */
@media (max-width: 767px) {
  .contacts_info { padding: 18px 12px !important; border-radius: 22px !important; }
  .contacts_info > p:nth-child(2) { padding: 0 8px; font-size: 22px; margin-bottom: 14px; }
  .contacts_info .contacts_info_card { padding: 14px 16px !important; margin-bottom: 10px !important; }
  .contacts_info .contacts_info_card p { font-size: 15px; word-break: normal; overflow-wrap: anywhere; }
  .contacts_info .contacts_info_card p span { white-space: nowrap; }
  .contacts_info .google_map { margin-top: 14px; border-radius: 16px; }
  .contacts_info .google_map iframe { height: 220px !important; }
}

/* teacher cards: no grey cell bands on hover; the name is one solid block (never split across lines) */
.user_list_container:not(.student_list) table.user_list_table tbody tr:hover td { background: transparent !important; }
.user_list_container:not(.student_list) table.user_list_table tbody td:nth-child(3) { text-align: center; overflow-wrap: anywhere; }
.user_list_container:not(.student_list) table.user_list_table tbody td:nth-child(3) :is(.link_to_details, .teacher_name) { display: inline-block; max-width: 100%; text-decoration: none !important; }
.user_list_container:not(.student_list) table.user_list_table tbody td:nth-child(3) .link_to_details:hover { text-decoration: none !important; color: var(--g); }
/* DataTables paints a grey inset shadow on every cell of the hovered row; on cards that shows up as bands */
.user_list_container table.user_list_table.dataTable tbody tr > *, .user_list_container table.user_list_table.dataTable tbody tr:hover > *, .user_list_container table.user_list_table.dataTable.hover tbody tr:hover > *, .user_list_container table.user_list_table.dataTable.display tbody tr:hover > * { box-shadow: none !important; }

/* ===== BOOK A VISIT ===== */
section.gray_bg:has(.reg_wrapper) { background: linear-gradient(180deg, var(--g-tint) 0%, #fff 70%) !important; padding: 72px 0 96px; }
section.gray_bg .col-xl-6.offset-xl-3:has(> .reg_wrapper) { flex: 0 0 100%; max-width: 900px; margin-left: auto; margin-right: auto; }
.reg_wrapper { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: 52px 56px 48px; box-shadow: 0 40px 90px -40px rgba(15, 51, 20, .28); }
.reg_wrapper::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: linear-gradient(90deg, var(--g-dark), var(--g)); }
.reg_wrapper_item { padding: 0 !important; }
.reg_wrapper_item > h4 { margin: 0 0 30px; padding: 0; font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: var(--ink); line-height: 1.2; }
.reg_wrapper_item_flex { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; margin: 0 !important; }
.reg_wrapper .input-control { margin: 0 0 22px !important; padding: 0 !important; width: auto; max-width: none; }
.reg_wrapper .input-control-label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--ink) !important; letter-spacing: .01em; }
.reg_wrapper .input-control-label span { color: #c0392b; margin-left: 3px; }
.reg_wrapper .input-control-input { width: 100%; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; font-size: 16px; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.reg_wrapper .input-control-input:focus { outline: 0; background: #fff; border-color: var(--g); box-shadow: 0 0 0 4px rgba(30, 92, 34, .12); }
.reg_wrapper input[type=date], .reg_wrapper input[type=time] { min-height: 50px; }
.reg_wrapper textarea.input-control-input { min-height: 140px; resize: vertical; }
/* file picker: field + green pill */
.reg_wrapper .file_uploader { position: relative; }
.reg_wrapper .file_uploader .input-control-input { padding-right: 120px; }
.reg_wrapper .file_uploader > button { position: absolute; right: 6px; bottom: 6px; height: 38px; margin: 0; padding: 0; border: 0; background: none; }
.reg_wrapper .file_uploader > button label { display: inline-flex; align-items: center; height: 38px; margin: 0; padding: 0 20px; border-radius: 10px; background: var(--g) !important; color: #fff !important; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s ease; }
.reg_wrapper .file_uploader > button label:hover { background: var(--g-dark) !important; }
/* submit */
.reg_wrapper input[type=submit].input-control-input { width: 100%; margin-top: 6px; padding: 16px 24px; border: 0; border-radius: 999px; background: var(--g); color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .02em; cursor: pointer; box-shadow: 0 16px 30px -14px rgba(30, 92, 34, .7); transition: background .2s ease, transform .2s ease; }
.reg_wrapper input[type=submit].input-control-input:hover { background: var(--g-dark); transform: translateY(-2px); }
@media (max-width: 767px) {
  section.gray_bg:has(.reg_wrapper) { padding: 36px 0 56px; }
  .reg_wrapper { padding: 36px 20px 28px; border-radius: 24px; }
  .reg_wrapper_item_flex { grid-template-columns: 1fr; }
  section.gray_bg .col-xl-6.offset-xl-3:has(> .reg_wrapper) { padding-left: 12px; padding-right: 12px; }
}
.reg_wrapper .reg_wrapper_item, .reg_wrapper form .reg_wrapper_item { border: 0 !important; box-shadow: none !important; background: none !important; margin: 0 !important; border-radius: 0 !important; }
.reg_wrapper_item > h4 { padding: 0 !important; }
.reg_wrapper_item > .input-control:last-child { margin-bottom: 0 !important; }
.reg_wrapper .input-control .input-control-input, .reg_wrapper .input-control > input, .reg_wrapper .input-control > textarea { border-radius: 14px !important; }
.reg_wrapper .input-control input[type=submit].input-control-input { border-radius: 999px !important; }
.reg_wrapper .file_uploader > button label { border-radius: 10px !important; }

/* ===== DOCUMENT LISTS, 5-column variant (form download: SL, title, note, date, file) ===== */
.common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(5)) { display: block; width: 100% !important; border: 0 !important; }
.common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(5)) thead { display: none; }
.common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(5)) tbody { display: grid; gap: 14px; }
.common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(5)) tbody tr:not(:has(.dataTables_empty)) {
    display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; grid-template-areas: "icon title date dl" "icon note date dl"; align-items: center; column-gap: 20px; row-gap: 2px; padding: 16px 24px 16px 18px;
    background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 34px rgba(18, 26, 20, .05); transition: transform .2s ease, box-shadow .2s ease;
}
.common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(5)) tbody tr:not(:has(.dataTables_empty)):hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(18, 26, 20, .1); }
.common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(5)) tbody tr:not(:has(.dataTables_empty)) td:nth-child(1) { grid-area: icon; }
.common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(5)) tbody tr:not(:has(.dataTables_empty)) td:nth-child(2) { grid-area: title; align-self: end; }
.common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(5)) tbody tr:not(:has(.dataTables_empty)) td:nth-child(3) { grid-area: note; align-self: start; padding: 0 !important; background: none !important; border: 0 !important; border-radius: 0; color: var(--muted); font-size: 14px; font-weight: 400; white-space: normal; }
.common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(5)) tbody tr:not(:has(.dataTables_empty)) td:nth-child(4) { grid-area: date; padding: 6px 16px !important; background: var(--soft) !important; border: 1px solid var(--line) !important; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; }
.common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(5)) tbody tr:not(:has(.dataTables_empty)) td:nth-child(5) { grid-area: dl; }
.common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(5)) tbody td:nth-child(4) a { all: unset; }
@media (max-width: 767px) {
    .common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(5)) tbody tr:not(:has(.dataTables_empty)) { grid-template-columns: 48px minmax(0, 1fr); grid-template-areas: "icon title" "icon note" ". date" ". dl"; padding: 16px; row-gap: 6px; column-gap: 14px; }
    .common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(5)) tbody tr:not(:has(.dataTables_empty)) td:nth-child(4), .common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(5)) tbody tr:not(:has(.dataTables_empty)) td:nth-child(5) { justify-self: start; }
    .common_data_table:not(.profile_list) table.display:not(.user_list_table):has(th:nth-child(5)) tbody tr:not(:has(.dataTables_empty)) td:nth-child(5) { margin-top: 6px; }
}
.common_data_table:not(.profile_list) table.display:not(.user_list_table) tbody td:nth-child(2), .common_data_table:not(.profile_list) table.display:not(.user_list_table) tbody td:nth-child(3) { min-width: 0; overflow-wrap: anywhere; white-space: normal; }
.common_data_table:not(.profile_list) table.display:not(.user_list_table) tbody td:nth-child(2) { font-weight: 600; }

/* ===== ARCHIVE LIST ===== */
section.archive { padding: 64px 0 96px; }
section.archive .col-lg-10.offset-lg-1 { flex: 0 0 100%; max-width: 1170px; margin-left: auto; margin-right: auto; }
.archive_card > .row { display: grid !important; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; margin: 0 !important; align-items: start; }
.archive_card > .row > div { width: auto !important; max-width: none !important; flex: none !important; padding: 0 !important; }
.archive_card > .row > div > .col-lg-12 { padding: 0 !important; max-width: none; flex: none; width: 100%; }

/* entries */
.archive_card_wrapper { position: relative; margin: 0 0 18px; padding: 28px 32px 26px 36px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 14px 40px rgba(18, 26, 20, .05); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.archive_card_wrapper::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--g); }
.archive_card_wrapper:hover { transform: translateY(-3px); box-shadow: 0 24px 54px rgba(18, 26, 20, .1); }
.archive_card_wrapper_content { padding: 0 !important; }
.archive_card_wrapper_content_title { display: block; margin: 0 0 12px; font-size: clamp(21px, 2.2vw, 26px); font-weight: 700; line-height: 1.4; color: var(--ink) !important; text-decoration: none; }
.archive_card_wrapper_content_title:hover { color: var(--g) !important; }
.archive_card_wrapper_content_meta { display: inline-block; margin: 0 0 14px !important; padding: 5px 14px; border-radius: 999px; background: var(--g-tint); color: var(--g-dark) !important; font-size: 13px; font-weight: 600; }
.archive_card_wrapper_content > p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.archive_card_wrapper_content > p:not(.archive_card_wrapper_content_meta) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.archive_card_wrapper_content > a:not(.archive_card_wrapper_content_title) { display: inline-flex; align-items: center; padding: 9px 20px; border-radius: 999px; background: var(--g); color: #fff !important; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.archive_card_wrapper_content > a:not(.archive_card_wrapper_content_title):hover { background: var(--g-dark); transform: translateY(-2px); }

/* empty state */
.archive_card .text-danger { color: var(--muted) !important; }
.archive_card .text-center.text-danger { padding: 72px 24px 64px; background: var(--soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e5c22' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='5' rx='1.5'/><path d='M5 9v9a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V9M10 13h4'/></svg>") center 22px / 42px no-repeat; border: 1px dashed #cfe2cf; border-radius: 24px; }
.archive_card .text-center.text-danger p { margin: 0; font-size: 17px; }

/* load more */
.archive_btns { margin-top: 8px; text-align: center; }
.archive_btns .boxed_btn { display: inline-flex; padding: 13px 32px; border-radius: 999px; background: #fff !important; color: var(--g-dark) !important; border: 1px solid var(--g) !important; font-weight: 600; }
.archive_btns .boxed_btn:hover { background: var(--g) !important; color: #fff !important; }

/* sidebar */
.archive_widget { position: sticky; top: 110px; display: grid; gap: 16px; }
.archive_widget_search { position: relative; }
.archive_widget_search .archive_widget_search_icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); margin: 0; color: var(--g); z-index: 1; }
.archive_widget_search input { width: 100%; height: 52px; padding: 0 20px 0 46px !important; border: 1px solid var(--line) !important; border-radius: 999px !important; background: var(--soft) !important; font-size: 15px; }
.archive_widget_search input:focus { background: #fff !important; border-color: var(--g) !important; box-shadow: 0 0 0 4px rgba(30, 92, 34, .12); outline: 0; }
.archive_widget_item { margin: 0; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 34px rgba(18, 26, 20, .04); }
.archive_widget_item.border-padding-none { padding: 22px 24px !important; border: 1px solid var(--line) !important; }
.archive_widget_item h5 { position: relative; margin: 0 0 16px; padding: 0 0 12px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 700; color: var(--ink); }
.archive_widget_item h5::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 36px; height: 3px; border-radius: 3px; background: var(--g); }
.archive_widget_item .archive_year { display: inline-flex; align-items: center; margin: 0 8px 8px 0; cursor: pointer; }
.archive_widget_item .archive_year .checkbox-input { position: absolute; opacity: 0; pointer-events: none; }
.archive_widget_item .archive_year .checkbox-title { display: inline-block; padding: 7px 16px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 500; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.archive_widget_item .archive_year .checkbox-title::before, .archive_widget_item .archive_year .checkbox-title::after { display: none !important; }
.archive_widget_item .archive_year:hover .checkbox-title { border-color: var(--g); }
.archive_widget_item .archive_year .checkbox-input:checked + .checkbox-title { background: var(--g); border-color: var(--g); color: #fff; }
.archive_widget_item_keywords { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.archive_widget_item_keywords li { padding: 7px 16px; border-radius: 999px; background: var(--g-tint); border: 1px solid #d5e6d5; color: var(--g-dark); font-size: 14px; font-weight: 500; }
@media (max-width: 991px) {
  section.archive { padding: 40px 0 64px; }
  .archive_card > .row { grid-template-columns: 1fr; gap: 28px; }
  .archive_widget { position: static; order: -1; }
  .archive_card_wrapper { padding: 22px 20px 22px 26px; border-radius: 20px; }
}
.archive_widget_item:not(.border-padding-none):not(:has(.archive_year)) { display: none; }
.archive_card_wrapper_content > a, .archive_card_wrapper_content > a:hover { text-decoration: none !important; border-bottom: 0 !important; }
/* theme draws a blue hover-underline with ::before/::after on content links; on the Read More pill it shows as a strip under the button */
.archive_card_wrapper_content > a:not(.archive_card_wrapper_content_title)::before, .archive_card_wrapper_content > a:not(.archive_card_wrapper_content_title)::after, .archive_card_wrapper_content_title::before, .archive_card_wrapper_content_title::after { content: none !important; display: none !important; }

/* ===== FACILITIES PAGE: zig-zag rows (scoped to the page that has right-hand text blocks) ===== */
.mainbag:has(.facilities_inner_right) section.facilities { padding: 28px 0 !important; }
.mainbag:has(.facilities_inner_right) section.facilities > .container { max-width: 1170px; }
/* the image-left rows sit on a soft tinted band, the image-right rows on white: the zig-zag also shows in the background */
.mainbag:has(.facilities_inner_right) section.facilities:has(.mobile-column-reverse) > .container { padding: 48px 52px; background: var(--g-tint); border: 1px solid #dcebdc; border-radius: 40px; }
.mainbag:has(.facilities_inner_right) section.facilities:not(:has(.mobile-column-reverse)) > .container { padding: 20px 52px; }
.mainbag:has(.facilities_inner_right) section.facilities .row { row-gap: 32px; align-items: center !important; }
/* text */
.mainbag:has(.facilities_inner_right) .facilities_inner_text { position: relative; padding-top: 22px; }
.mainbag:has(.facilities_inner_right) .facilities_inner_text::before { content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 5px; border-radius: 5px; background: var(--g); }
.mainbag:has(.facilities_inner_right) .facilities_inner_text h3 { margin: 0 0 16px; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.3; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.mainbag:has(.facilities_inner_right) .facilities_inner_text p, .mainbag:has(.facilities_inner_right) .facilities_inner_text p:first-of-type { margin: 0 0 12px; padding: 0; border: 0; color: var(--muted); font-size: 18px; font-weight: 400; line-height: 1.9; }
.mainbag:has(.facilities_inner_right) .facilities_inner_text p:empty, .mainbag:has(.facilities_inner_right) .facilities_inner_text p:has(> br:only-child) { display: none; }
.mainbag:has(.facilities_inner_right) .facilities_inner_right { text-align: left; }
/* image: rounded, with an offset outline instead of a filled slab */
.mainbag:has(.facilities_inner_right) .facilities_img { padding: 0; }
.mainbag:has(.facilities_inner_right) .facilities_img::before { inset: 16px -16px -16px 16px; border-radius: 34px; background: transparent; border: 2px solid var(--g); opacity: .55; }
.mainbag:has(.facilities_inner_right) section.facilities:has(.mobile-column-reverse) .facilities_img::before { inset: 16px 16px -16px -16px; }
.mainbag:has(.facilities_inner_right) .facilities_img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 30px; box-shadow: 0 28px 60px -24px rgba(10, 22, 12, .45); transition: transform .5s ease; }
.mainbag:has(.facilities_inner_right) .facilities_img:hover img { transform: scale(1.015); }
@media (max-width: 991px) {
  .mainbag:has(.facilities_inner_right) section.facilities { padding: 16px 0 !important; }
  .mainbag:has(.facilities_inner_right) section.facilities:has(.mobile-column-reverse) > .container { padding: 28px 20px; border-radius: 28px; }
  .mainbag:has(.facilities_inner_right) section.facilities:not(:has(.mobile-column-reverse)) > .container { padding: 12px 20px; }
  .mainbag:has(.facilities_inner_right) .facilities_img::before { inset: 10px -8px -10px 8px !important; border-radius: 26px; }
  .mainbag:has(.facilities_inner_right) .facilities_img img { border-radius: 24px; }
}
/* facilities: text lines that merely end in a <br> are real text, show them; unify colours pasted into the editor */
.mainbag:has(.facilities_inner_right) .facilities_inner_text p:has(> br:only-child) { display: block; }
.mainbag:has(.facilities_inner_right) .facilities_inner_text p:empty { display: none; }
.mainbag:has(.facilities_inner_right) .facilities_inner_text :is(p, span, div, li, strong, b) { color: var(--muted) !important; background: transparent !important; font-family: inherit; }
.mainbag:has(.facilities_inner_right) .facilities_inner_text :is(strong, b) { color: var(--ink) !important; font-weight: 600; }
.mainbag:has(.facilities_inner_right) .facilities_inner_text span { font-size: inherit !important; line-height: inherit !important; }
.mainbag:has(.facilities_inner_right) .facilities_inner_text.facilities_inner_right { padding-left: 0 !important; margin-left: 0 !important; }
.mainbag:has(.facilities_inner_right) .facilities_inner_text h3 { margin-left: 0 !important; padding-left: 0 !important; }
@media (min-width: 768px) { .mainbag:has(.facilities_inner_right) .facilities_inner_text.facilities_inner_right { padding-left: 48px !important; } .mainbag:has(.facilities_inner_right) .facilities_inner_text.facilities_inner_right::before { left: 48px; } }

/* facilities: the content has two image-left rows in a row at the end; flip the last one so the zig-zag continues */
@media (min-width: 768px) {
  .col-12.p-0 > div:last-child:not(:first-child) > section.facilities:has(.mobile-column-reverse) .row { flex-direction: row-reverse; }
  .mainbag:has(.facilities_inner_right) .col-12.p-0 > div:last-child:not(:first-child) > section.facilities:has(.mobile-column-reverse) > .container { background: none; border: 0; padding: 20px 52px; border-radius: 0; }
  .mainbag:has(.facilities_inner_right) .col-12.p-0 > div:last-child:not(:first-child) > section.facilities:has(.mobile-column-reverse) .facilities_inner_text.facilities_inner_right { padding-left: 0 !important; }
  .mainbag:has(.facilities_inner_right) .col-12.p-0 > div:last-child:not(:first-child) > section.facilities:has(.mobile-column-reverse) .facilities_inner_text.facilities_inner_right::before { left: 0; }
  .mainbag:has(.facilities_inner_right) .col-12.p-0 > div:last-child:not(:first-child) > section.facilities:has(.mobile-column-reverse) .facilities_img::before { inset: 16px -16px -16px 16px; }
}
/* DataTables stripes/sorting columns paint an inset shadow on cells; on card rows it shows as grey strips behind the text */
.common_data_table table.dataTable tbody tr > *, .common_data_table table.dataTable.stripe tbody tr.odd > *, .common_data_table table.dataTable.display tbody tr.odd > *, .common_data_table table.dataTable tbody tr > .sorting_1, .common_data_table table.dataTable tbody tr > .sorting_2, .common_data_table table.dataTable tbody tr > .sorting_3, .common_data_table table.dataTable.display tbody tr:hover > * { box-shadow: none !important; }
