/*
Theme Name: Haji Aman Ullah Model School
Theme URI: https://uqicm.com/
Author: Ummul Qura Islamic School (UQICM)
Author URI: https://uqicm.com/
Description: হাজী আমান উল্লাহ মডেল স্কুলের অফিসিয়াল ও আধুনিক ওয়ার্ডপ্রেস ইনস্টিটিউট থিম। নোটিশ বোর্ড, রেজাল্ট সিস্টেম, অনলাইন ভর্তি, শিক্ষক-শিক্ষার্থী ক্যারোজেল, রুটিন ডাউনলোড, কেন বার্নস স্লাইডার এবং এলিমেন্টর পেজ বিল্ডারের সাথে ১০০% কম্প্যাটিবল। জিরো-সেটআপ: ইনস্টল করার সাথে সাথেই সম্পূর্ণ ওয়েবসাইট প্রস্তুত!
Version: 5.8.0
Tested up to: 6.7
Requires at least: 5.8
Requires PHP: 7.4
License: Proprietary / UQICM Cryptographic License Required
License URI: https://uqicm-school.web.app/
Text Domain: haji-amanullah-school
Tags: education, school, institute, elementor, responsive-layout, bangla-typography, custom-menu, featured-images, full-width-template
*/

/*
================================================================================
 হাজী আমান উল্লাহ মডেল স্কুল - মাস্টার স্টাইলশীট (WordPress Native Elementor Ready)
================================================================================
*/


  /* Variable definitions
     ====================
     <Group description="Theme Colors (থিম ও ব্র্যান্ড কালার)" selector="body">
       <Variable name="primaryColor" description="Primary Brand Color (মূল ব্র্যান্ড কালার)" type="color" default="#0e7544" value="#0e7544"/>
       <Variable name="primaryHover" description="Primary Hover Color (বাটন হোভার কালার)" type="color" default="#094e2d" value="#094e2d"/>
       <Variable name="secondaryColor" description="Secondary Accent Color (সেকেন্ডারি কালার)" type="color" default="#1a5f7a" value="#1a5f7a"/>
       <Variable name="accentGold" description="Golden Accent Color (গোল্ডেন এক্সেন্ট)" type="color" default="#ffd700" value="#ffd700"/>
       <Variable name="cardTitleColor" description="Card Title Color (কার্ড শিরোনামের রঙ)" type="color" default="#0e7544" value="#0e7544"/>
       <Variable name="footerDarkGreen" description="Footer Background Color (ফুটার ব্যাকগ্রাউন্ড)" type="color" default="#0b4a2c" value="#0b4a2c"/>
     </Group>
  */

  /* ==========================================================================
     HAJI AMANULLAH MODEL SCHOOL - MASTER THEME CSS (V4.5)
     100% SolaimanLipi | Color Customizer | Ken Burns Slider | Infinite Marquee
     ========================================================================== */

    

  :root {
    /* ======================================================================
       কার্ড কালার ও লেখার রঙ কাস্টমাইজার (CARD TEXT & COLOR CUSTOMIZER)
       এখানে রঙ পরিবর্তন করলেই ওয়েবসাইটের সমস্ত কার্ডের লেখার রঙ পরিবর্তিত হবে:
       ====================================================================== */
    --card-title-color: #0e7544;      /* শিক্ষক, শিক্ষার্থী ও পোস্ট কার্ডের শিরোনামের রঙ */
    --card-text-color: #334155;       /* কার্ডের সাধারণ বিস্তারিত লেখার রঙ */
    --card-meta-color: #64748b;       /* পদবী, সেশন, তারিখ ও ট্যাগ লেখার রঙ */
    --card-bg: #ffffff;               /* কার্ডের ব্যাকগ্রাউন্ড রঙ */
    --card-border: #e2e8f0;           /* কার্ডের বর্ডার রঙ */

    --primary-color: #0e7544;
    --primary-hover: #094e2d;
    --accent-gold: #ffd700;
    --top-bar-green: #20854a;
    --top-badge-lime: #ecf2cc;
    --footer-dark-green: #0b4a2c;
    --bottom-bar-dark: #072f1c;
    --text-color: #212529;
    --body-bg: #ffffff;
  }

  *, *:before, *:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: 'SolaimanLipi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background-color: var(--body-bg, #ffffff);
    color: var(--text-color, #212529);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* Protect FontAwesome & LineAwesome Icons */
  i, .fa, .fas, .far, .fab, .la, .las, .lar, [class*="fa-"], [class*="la-"] {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'Line Awesome Free', 'Line Awesome Brands' !important;
    font-style: normal;
    display: inline-block;
  }

  /* Completely Obliterate Default Blogger Bloat & Unwanted Widgets */
  #Attribution1, .attribution, #Profile1, #BlogArchive1, #Stats1, #PopularPosts1,
  #ReportAbuse1, .reportabuse, #BlogSearch1, .blog-search, .search-form,
  .widget.BlogSearch, .widget.ReportAbuse, [id*="ReportAbuse"], [id*="BlogSearch"],
  .report-abuse-link, #report-abuse, .reportabuse-btn, .search-widget,
  #search-box, .blog-search-form, .widget.Search, #Search1,
  .post-feeds, .feed-links, .blog-feeds, .status-msg-wrap,
  .quickedit, .goog-inline-block, .blogger-power,
  .widget.Profile, .widget.BlogArchive, .widget.Attribution,
  .widget.Feed, .widget.Stats, .widget.Header, .daily-dorkar, .wp-search {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    pointer-events: none !important;
  }

  /* Hide Homepage-Only Sections When Visiting Posts or Static Pages */
  body:not(.is-homepage) #homeMainWrapper,
  body:not(.is-homepage) #homeSecondaryWrapper,
  body:not(.is-homepage) #routinesFullSection,
  body:not(.is-homepage) #videosFullSection,
  body:not(.is-homepage) .homepage-only-section {
    display: none !important;
  }

  a {
    color: var(--primary-color, #0e7544);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
  }
  a:hover {
    color: var(--primary-hover, #094e2d);
    text-decoration: none;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
  }

  /* Diamond Section Divider */
  .sec-heading-wrap {
    text-align: center;
    margin: 35px 0 25px 0;
    position: relative;
  }
  .sec-main-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
  }
  .sec-diamond-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
    color: var(--primary-color, #0e7544);
    font-size: 16px;
  }
  .sec-diamond-divider:before,
  .sec-diamond-divider:after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--primary-color, #0e7544);
  }

  /* ==========================================================================
     01. HEADER TOP BANNER (Full-Width Image Banner)
     ========================================================================== */
  .header-banner-box {
    width: 100%;
    padding: 8px 0;
    margin-bottom: 8px;
    text-align: center;
    background: transparent;
  }
  .header-full-banner-link {
    display: block;
    width: 100%;
  }
  .header-full-banner-img {
    width: 100%;
    max-width: 1240px;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
  }

  /* ==========================================================================
     02. MAIN NAVIGATION MENU
     ========================================================================== */
  .main-nav-bar {
    background: var(--primary-color, #0e7544);
    border-radius: 4px;
    margin-bottom: 15px;
    position: relative;
    box-shadow: 0 3px 10px rgba(14, 117, 68, 0.2);
  }
  .mobile-menu-toggle {
    display: none;
    background: var(--primary-hover, #094e2d);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    font-size: 17px;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
  }
  .nav-menu-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
  }
  .nav-item {
    position: relative;
  }
  .nav-item a {
    display: block;
    padding: 11px 13px;
    color: #ffffff !important;
    font-size: 15.5px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
  }
  .nav-item:hover a,
  .nav-item.active a {
    background: var(--primary-hover, #094e2d);
    color: var(--accent-gold, #ffd700) !important;
  }
  .nav-item.login-btn a {
    background: #083c23;
    color: var(--accent-gold, #ffd700) !important;
    font-weight: 600;
  }
  .nav-item.login-btn:hover a {
    background: #042515;
  }

  /* ==========================================================================
     03. AUTHENTIC TOP SCROLLING TICKER ('আপডেটঃ' LIME ARROW BADGE)
     ========================================================================== */
  .top-scroll-section {
    position: relative;
    margin-bottom: 18px;
  }
  .top_scroll {
    width: 100%;
  }
  .top_scrool_2 {
    background: var(--top-bar-green, #20854a) !important;
    display: flex;
    align-items: center;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 42px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  span.top_scrool_1 {
    background: var(--top-badge-lime, #ecf2cc) !important;
    color: #000000 !important;
    font-weight: 700;
    padding: 8px 20px;
    font-size: 15px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    white-space: nowrap;
  }
  span.top_scrool_1:before {
    position: absolute;
    right: -20px;
    bottom: 0;
    content: "";
    width: 0;
    height: 0;
    border-left: 20px solid var(--top-badge-lime, #ecf2cc) !important;
    border-top: 21px solid transparent;
    border-bottom: 21px solid transparent;
    box-sizing: border-box;
  }
  .top_scrool_2 marquee {
    flex: 1;
    padding-left: 25px;
    font-size: 15px;
    color: #ffffff !important;
  }
  .top_scrool_2 marquee a {
    color: #ffffff !important;
    margin-right: 35px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-weight: 500;
  }
  .top_scrool_2 marquee a:hover {
    color: var(--accent-gold, #ffd700) !important;
  }
  .close-scroll-section {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #ffffff;
    z-index: 5;
    opacity: 0.85;
    line-height: 1;
  }
  .close-scroll-section:hover {
    opacity: 1;
    color: var(--accent-gold, #ffd700);
  }

  /* ==========================================================================
     04. HERO BANNER SLIDER (Ken Burns Zoom In/Out + Forward Motion)
     ========================================================================== */
  .hero-slider-wrap {
    position: relative;
    width: 100%;
    height: 440px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 22px;
    background: #000000;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  }
  .slider-sliding-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }
  .slide-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    user-select: none;
  }
  .slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 7s ease-in-out;
  }
  .slide-item.active img {
    animation: kenBurnsZoom 7s ease-in-out infinite alternate;
  }
  @keyframes kenBurnsZoom {
    0% { transform: scale(1) translateX(0); }
    50% { transform: scale(1.08) translateX(-18px); }
    100% { transform: scale(1.04) translateX(14px); }
  }
  .slide-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.72) 100%);
  }
  .slide-center-caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    opacity: 0;
    width: 90%;
    max-width: 820px;
    text-align: center;
    color: #ffffff;
    z-index: 5;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(5px);
    padding: 24px 32px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1) 0.25s;
  }
  .slide-item.active .slide-center-caption {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  .slide-caption-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.35;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  }
  .slide-caption-sub {
    font-size: 16px;
    color: #e5e7eb;
    margin-bottom: 16px;
    line-height: 1.5;
  }
  .slide-action-btns {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .btn-slide-primary,
  .btn-slide-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s;
  }
  .btn-slide-primary {
    background: var(--primary-color, #0e7544);
    color: #ffffff !important;
  }
  .btn-slide-primary:hover {
    background: var(--primary-hover, #094e2d);
    transform: translateY(-2px);
  }
  .btn-slide-secondary {
    background: #ffffff;
    color: #111827 !important;
  }
  .btn-slide-secondary:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
  }
  .slider-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.2s, transform 0.2s;
  }
  .slider-arrow-btn:hover {
    background: var(--primary-color, #0e7544);
    transform: translateY(-50%) scale(1.1);
  }
  .slider-prev-btn { left: 16px; }
  .slider-next-btn { right: 16px; }
  .slider-dots-bar {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
  }
  .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }
  .slider-dot.active {
    background: var(--accent-gold, #ffd700);
    transform: scale(1.25);
  }

  /* ==========================================================================
     05. NOTICE BOARD & QUICK LINKS (Faithful to Reference Image)
     ========================================================================== */
  .notice-board-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: stretch;
  }
  .notice-board-left {
    flex: 1 1 0%;
    min-width: 0;
  }
  .notice-board-right {
    flex: 0 0 310px;
    width: 310px;
    max-width: 310px;
  }
  .ref-notice-board-box {
    background: #eef5dc;
    border: 1px solid #dce5c2;
    border-radius: 4px;
    padding: 10px 20px 12px 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
  }
  .ref-nb-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
    margin-bottom: 4px;
    padding-top: 0;
  }
  .ref-nb-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--card-title-color, #20854a);
    margin: 0;
    line-height: 1.15;
  }
  .ref-nb-items-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
  }
  .ref-nb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    padding-right: 140px;
  }
  .ref-nb-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 15px;
    font-weight: 600;
  }
  .ref-nb-list li a {
    color: var(--card-title-color, #1a6035);
    text-decoration: none;
    transition: color 0.2s;
  }
  .ref-nb-list li a:hover {
    color: #d32f2f;
    text-decoration: underline;
  }
  .ref-nb-bullet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #d32f2f;
    color: #ffffff;
    width: 17px;
    height: 17px;
    border-radius: 2px;
    font-size: 9px;
    flex-shrink: 0;
  }
  .ref-nb-pill-btn {
    position: absolute;
    right: 20px;
    top: calc(50% - 6px);
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #197843;
    color: #ffffff !important;
    padding: 8px 24px;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(25, 120, 67, 0.25);
    white-space: nowrap;
    transition: all 0.2s ease;
    z-index: 2;
  }
  .ref-nb-pill-btn:hover {
    background: #115730;
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 5px 12px rgba(25, 120, 67, 0.35);
  }
  .ref-quick-link-box {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    margin-bottom: 6px;
    transition: all 0.2s ease;
  }
  .ref-quick-link-box:last-child {
    margin-bottom: 0;
  }
  .ref-quick-link-box a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    color: #1e293b;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
  }
  .ref-quick-link-box a i {
    color: #64748b;
    font-size: 15px;
    transition: color 0.2s;
  }
  .ref-quick-link-box:hover {
    border-color: #20854a;
    box-shadow: 0 2px 6px rgba(32, 133, 74, 0.12);
  }
  .ref-quick-link-box:hover a {
    color: #20854a;
  }
  .ref-quick-link-box:hover a i {
    color: #20854a;
  }

  /* ==========================================================================
     06. MAIN 2-COLUMN LAYOUT (LEFT 72% + RIGHT 28% SIDEBAR)
     ========================================================================== */
  .main-content-layout {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    align-items: stretch;
  }
  .main-left-col {
    flex: 1 1 0%;
    min-width: 0;
  }
  .main-right-col {
    flex: 0 0 310px;
    width: 310px;
    max-width: 310px;
  }

  /* Authentic Reference Cards */
  .ref-card-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  }
  .ref-card-header {
    background: #20854a;
    color: #ffffff;
    font-size: 16.5px;
    font-weight: 700;
    padding: 9px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .ref-about-body {
    display: block !important;
    padding: 16px 18px !important;
    position: relative;
    box-sizing: border-box;
  }
  .ref-about-body::after {
    content: "";
    display: table;
    clear: both;
  }
  /* removed old 280px wrap */
  .ref-about-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 6px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }
  .ref-about-text-content {
    font-size: 14.5px;
    color: #334155;
    line-height: 1.8;
    text-align: justify;
  }
  .ref-about-text {
    flex: 1;
  }
  .ref-about-text p {
    font-size: 14px;
    color: #334155;
    line-height: 1.7;
    margin: 0 0 10px 0;
    text-align: justify;
  }
  /* removed old 45% flex img */
  .ref-about-img img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    display: block;
  }
  .btn-ref-green {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #20854a;
    color: #ffffff !important;
    padding: 6px 16px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s;
  }
  .btn-ref-green:hover {
    background: #176537;
  }

  /* Speech Cards Side-by-Side */
  .ref-speech-row {
    display: flex;
    gap: 18px;
    margin-bottom: 20px;
  }
  .ref-speech-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  }
  .ref-speech-body {
    padding: 14px;
  }
  .ref-speech-content {
    display: flex;
    gap: 12px;
  }
  .ref-speech-photo {
    width: 105px;
    height: 125px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #cbd5e1;
    flex-shrink: 0;
  }
  .ref-speech-text {
    flex: 1;
  }
  .ref-speech-text p {
    font-size: 13px;
    color: #334155;
    line-height: 1.6;
    margin: 0 0 8px 0;
    text-align: justify;
  }

  /* Two Lower Checklist Cards: "অনলাইন তথ্য" and "বিজ্ঞপ্তি" */
  .ref-info-row {
    display: flex;
    gap: 18px;
    margin-bottom: 20px;
  }
  .ref-info-card {
    flex: 1;
    background: #f0f7fc;
    border: 1px solid #dbeafe;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  }
  .ref-info-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
  }
  .ref-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .ref-check-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 14.5px;
    font-weight: 600;
  }
  .ref-check-list li a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
  }
  .ref-check-list li a:hover {
    color: #20854a;
    text-decoration: underline;
  }
  .ref-check-icon {
    color: #166534;
    font-weight: 700;
  }
  .ref-card-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    max-width: 120px;
  }
  .ref-info-illus {
    max-width: 110px;
    max-height: 85px;
    object-fit: contain;
    flex-shrink: 0;
  }

  /* Sidebar styling */
  .ref-sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  }
  .ref-flyer-img {
    width: 100%;
    display: block;
  }
  .ref-sidebar-nb-list {
    list-style: none;
    padding: 10px 14px;
    margin: 0;
    background: #eef6fc;
  }
  .ref-sidebar-nb-list li {
    padding: 7px 0;
    border-bottom: 1px dashed #cbd5e1;
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .ref-sidebar-nb-list li:last-child {
    border-bottom: none;
  }
  .ref-sidebar-nb-list li a {
    color: #1e293b;
    text-decoration: none;
  }
  .ref-sidebar-nb-list li a:hover {
    color: #20854a;
  }
  .ref-minus-icon {
    color: #64748b;
    font-size: 13px;
  }

  /* Vertical Infinite Notice Ticker in Sidebar */
  .ref-sidebar-nb-ticker {
    position: relative;
    height: 152px !important;
    max-height: 152px !important;
    overflow: hidden;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    box-sizing: border-box;
  }
  .ref-sidebar-ticker-track {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    animation: sidebarNoticeScrollUp 24s linear infinite;
    -webkit-animation: sidebarNoticeScrollUp 24s linear infinite;
    will-change: transform;
  }
  .ref-sidebar-nb-ticker:hover .ref-sidebar-ticker-track,
  .ref-sidebar-nb-ticker.is-paused .ref-sidebar-ticker-track {
    animation-play-state: paused !important;
    -webkit-animation-play-state: paused !important;
  }
  @-webkit-keyframes sidebarNoticeScrollUp {
    0% {
      -webkit-transform: translateY(0);
      transform: translateY(0);
    }
    100% {
      -webkit-transform: translateY(-50%);
      transform: translateY(-50%);
    }
  }
  @keyframes sidebarNoticeScrollUp {
    0% {
      -webkit-transform: translateY(0);
      transform: translateY(0);
    }
    100% {
      -webkit-transform: translateY(-50%);
      transform: translateY(-50%);
    }
  }
  .ref-sidebar-ticker-item {
    padding: 9px 14px;
    border-bottom: 1px dashed #cbd5e1;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    transition: background 0.15s ease;
  }
  .ref-sidebar-ticker-item:hover {
    background: #eef6fc;
  }
  .ref-sidebar-ticker-item a {
    color: #1e293b;
    text-decoration: none;
    flex: 1;
    transition: color 0.2s;
  }
  .ref-sidebar-ticker-item a:hover {
    color: #20854a;
  }
  .ref-sidebar-ticker-date {
    display: block;
    font-size: 11.5px;
    color: #64748b;
    font-weight: 400;
    margin-top: 2px;
  }

  /* Homepage Notice Board Date Badge */
  .ref-nb-date {
    display: inline-block;
    font-size: 12px;
    color: #64748b;
    font-weight: 400;
    margin-left: 8px;
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
  }

  /* Single Notice Full Detail View (Deep-linked / Expanded) */
  .notice-single-detail-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 25px;
  }
  .notice-single-top {
    background: #f0fdf4;
    border-bottom: 1px solid #bbf7d0;
    padding: 22px 26px;
  }
  .notice-single-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: #475569;
    margin-bottom: 10px;
    flex-wrap: wrap;
  }
  .notice-single-date-badge {
    background: #197843;
    color: #ffffff;
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .notice-single-title {
    font-size: 24px;
    font-weight: 700;
    color: #115730;
    line-height: 1.4;
    margin: 0;
  }
  .notice-single-body {
    padding: 28px 26px;
    font-size: 16.5px;
    line-height: 2.0;
    color: #334155;
    word-break: break-word;
  }
  .notice-single-body p {
    margin-bottom: 16px;
  }
  .notice-single-body a {
    color: #0e7544 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    word-break: break-all;
    transition: color 0.2s;
  }
  .notice-single-body a:hover {
    color: #16a34a !important;
  }
  .notice-single-body a.notice-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    color: #0e7544 !important;
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid #bbf7d0;
    text-decoration: none !important;
    font-size: 14px;
    margin: 4px 2px;
  }
  .notice-single-body a.notice-inline-link:hover {
    background: #dcfce7;
  }
  .notice-single-body .btn,
  .notice-single-body button,
  .notice-single-body a.btn,
  .notice-single-body a.btn-primary,
  .notice-single-body a.btn-success,
  .notice-single-body a.button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #0e7544 !important;
    color: #ffffff !important;
    padding: 10px 22px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    margin: 10px 8px 10px 0 !important;
    box-shadow: 0 3px 10px rgba(14,117,68,0.25) !important;
    transition: all 0.2s ease !important;
  }
  .notice-single-body .btn:hover,
  .notice-single-body button:hover,
  .notice-single-body a.btn:hover {
    background: #16a34a !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14,117,68,0.35) !important;
  }
  .notice-single-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 14px 0;
  }
  .notice-single-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
  }
  .notice-single-body table th,
  .notice-single-body table td {
    border: 1px solid #cbd5e1;
    padding: 10px 14px;
    text-align: left;
  }
  .notice-single-body table th {
    background: #f1f5f9;
    color: #1e293b;
    font-weight: 700;
  }
  .notice-single-img-wrap {
    margin: 25px 0;
    text-align: center;
    background: #f8fafc;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
  }
  .notice-single-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border: 1px solid #cbd5e1;
    cursor: zoom-in;
  }
  .notice-single-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 18px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }
  .notice-single-authority {
    font-size: 14px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* All Notices Archive List in Dynamic Reader */
  .notice-archive-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 12px;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
  }
  .notice-archive-card:hover {
    border-color: #197843;
    box-shadow: 0 4px 14px rgba(25, 120, 67, 0.08);
    transform: translateY(-1px);
  }
  .notice-archive-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .notice-archive-title:hover {
    color: #197843;
  }
  .notice-archive-meta {
    font-size: 12.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
  }


  /* About School Split Box */
  .about-split-box {
    display: flex;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
  .about-img-side {
    flex: 0 0 42%;
    position: relative;
    overflow: hidden;
  }
  .about-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .about-text-side {
    flex: 0 0 58%;
    padding: 24px;
  }
  .about-badge {
    display: inline-block;
    background: #e6f4ea;
    color: var(--primary-color, #0e7544);
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
  }
  .about-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
    line-height: 1.4;
  }
  .about-desc {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.75;
    margin-bottom: 15px;
  }
  .btn-about-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-color, #0e7544);
    color: #ffffff !important;
    padding: 7px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
  }
  .btn-about-more:hover {
    background: var(--primary-hover, #094e2d);
  }

  /* Principal & Chairman Speech Cards */
  .dual-card-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
  }
  .speech-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
  .speech-card-header {
    background: var(--primary-color, #0e7544);
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    padding: 10px 16px;
  }
  .message-inner {
    display: flex;
    gap: 15px;
    padding: 16px;
  }
  /* ENLARGED PHOTOS (150px x 185px) for Headmaster & Chairman */
  .message-photo-box img {
    width: 150px !important;
    height: 185px !important;
    object-fit: cover !important;
    border-radius: 6px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  .message-text-box {
    flex: 1;
  }
  .message-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
  }
  .message-designation {
    font-size: 14px;
    color: var(--primary-color, #0e7544);
    font-weight: 600;
    margin-bottom: 8px;
  }
  .message-excerpt {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.65;
    margin-bottom: 12px;
  }
  .btn-speech-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color, #0e7544);
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  /* Features & Co-curricular Cards */
  .features-grid-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
  .features-list {
    list-style: none;
    padding: 12px 16px;
    margin: 0;
  }
  .features-list li {
    padding: 7px 0;
    border-bottom: 1px dashed #edf2f7;
    font-size: 14px;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .features-list li:last-child {
    border-bottom: none;
  }
  .features-list li i {
    color: var(--primary-color, #0e7544);
  }

  /* Sidebar Widgets */
  .sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 22px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
  .sidebar-header {
    background: var(--primary-color, #0e7544);
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    padding: 10px 16px;
  }
  .sidebar-body {
    padding: 14px;
  }
  .admission-badge-banner {
    display: block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    padding: 20px 15px;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
  }
  .admission-badge-banner h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
  }
  .admission-badge-banner p {
    font-size: 14px;
    opacity: 0.95;
    margin-bottom: 12px;
  }
  .btn-apply-now {
    display: inline-block;
    background: var(--accent-gold, #ffd700);
    color: #111827 !important;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
  }
  .sidebar-notices-viewport {
    height: 190px;
    overflow: hidden;
    position: relative;
  }
  .sidebar-notices-track {
    animation: vertical-ticker 14s linear infinite;
  }
  .sidebar-notices-track:hover {
    animation-play-state: paused;
  }
  @keyframes vertical-ticker {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
  }
  .sidebar-notice-item {
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 14px;
  }
  .sidebar-notice-item a {
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  /* Real Facebook Page Widget */
  .fb-widget-container {
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
    background: #ffffff;
    text-align: center;
  }

  /* ==========================================================================
     07. OUR TEACHERS & BEST STUDENTS (Truly Infinite Marquee Carousel)
     ========================================================================== */
  .teachers-section-wrap,
  .best-students-sec-wrap {
    margin: 40px 0;
    position: relative;
    overflow: hidden;
  }
  .carousel-container-outer {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 45px;
    box-sizing: border-box;
  }
  button.carousel-nav-btn,
  .carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px !important;
    height: 44px !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    color: #20854a !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.25s ease;
    font-size: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }
  button.carousel-nav-btn:hover,
  button.carousel-nav-btn:focus,
  button.carousel-nav-btn:active,
  .carousel-nav-btn:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: #0b4a2c !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    outline: none !important;
    transform: translateY(-50%) scale(1.25);
  }
  .carousel-nav-btn.prev-btn {
    left: 2px !important;
  }
  .carousel-nav-btn.next-btn {
    right: 2px !important;
  }
  button.carousel-nav-btn::before,
  button.carousel-nav-btn::after,
  .carousel-nav-btn::before,
  .carousel-nav-btn::after {
    display: none !important;
    content: none !important;
  }
  @media (max-width: 768px) {
    .carousel-nav-btn.prev-btn { left: -4px; font-size: 26px; }
    .carousel-nav-btn.next-btn { right: -4px; font-size: 26px; }
  }
  .infinite-carousel-viewport,
  .marquee-carousel-viewport {
    width: 100%;
    overflow-x: hidden !important;
    position: relative;
    cursor: grab;
    user-select: none;
    padding: 10px 0 20px 0;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .infinite-carousel-viewport:active,
  .marquee-carousel-viewport:active {
    cursor: grabbing;
  }
  .infinite-carousel-viewport::-webkit-scrollbar,
  .marquee-carousel-viewport::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .infinite-carousel-track,
  .marquee-carousel-track {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
  }
  /* Theme License Blocked Screen Shield (Zero-Flicker Fail-Closed Architecture) */
  #themeLicenseBlockedScreen {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #0f172a !important;
    z-index: 2147483647 !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    font-family: 'SolaimanLipi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  }
  /* When validated by fast pre-check or licensing engine, completely suppress warning screen with 0.00ms latency */
  html.theme-license-valid #themeLicenseBlockedScreen,
  body.theme-license-valid #themeLicenseBlockedScreen,
  #themeLicenseBlockedScreen.is-hidden {
    display: none !important;
  }
  html.theme-license-locked #themeLicenseBlockedScreen,
  body.theme-license-locked #themeLicenseBlockedScreen,
  #themeLicenseBlockedScreen.is-active {
    display: flex !important;
  }
  html.theme-license-locked,
  body.theme-license-locked {
    overflow: hidden !important;
  }

  .teacher-card {
    flex: 0 0 190px;
    width: 190px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .teacher-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  }
  .teacher-avatar-round {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 4px auto;
    border: 3px solid;
  }
  .border-pink { border-color: #ec4899; }
  .border-cyan { border-color: #06b6d4; }
  .border-blue { border-color: #3b82f6; }
  .border-orange { border-color: #f97316; }
  .border-purple { border-color: #8b5cf6; }
  .teacher-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--card-title-color, #0e7544);
    margin: 0 0 2px 0;
    line-height: 1.25;
  }
  .teacher-designation {
    font-size: 12px;
    color: var(--card-meta-color, #64748b);
    font-weight: 600;
    margin: 0 0 2px 0;
    line-height: 1.2;
  }
  .teacher-edu {
    font-size: 11.5px;
    color: #64748b;
    margin: 0 0 3px 0;
    line-height: 1.2;
  }
  .teacher-social-links {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 2px;
  }
  .teacher-social-links a {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #ffffff !important;
  }
  .social-fb { background: #1877f2; }
  .social-wa { background: #25d366; }
  .social-li { background: #0a66c2; }

  /* ==========================================================================
     08. OUR COURSES SECTION (Right-Aligned 'আরও জানুন' Button)
     ========================================================================== */
  .courses-section-wrap {
    margin: 40px 0;
  }
  .courses-grid {
    display: flex;
    gap: 22px;
    margin-top: 25px;
  }
  .course-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
  }
  .course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  }
  .course-thumb {
    width: 100%;
    height: 135px;
    overflow: hidden;
  }
  .course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
  }
  .course-card:hover .course-thumb img {
    transform: scale(1.05);
  }
  .course-body {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .course-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--card-title-color, #0e7544);
    margin: 0 0 3px 0;
    line-height: 1.25;
  }
  .course-desc {
    font-size: 12.5px;
    color: var(--card-text-color, #334155);
    line-height: 1.35;
    margin: 0 0 4px 0;
    flex: 1;
  }
  .course-card-footer {
    display: flex;
    justify-content: flex-end; /* Strictly Right-Aligned */
    padding-top: 4px;
    margin-top: 2px;
    border-top: 1px solid #edf2f7;
  }
  .btn-course-more {
    background: var(--primary-color, #0e7544);
    color: #ffffff !important;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
  .btn-course-more:hover {
    background: var(--primary-hover, #094e2d);
  }

  /* ==========================================================================
     09. ALL ROUTINES & DOWNLOADS SECTION (Pure Direct Downloads - No Upload Bar)
     ========================================================================== */
  .routines-section-wrap {
    background: #f1f5f9;
    padding: 40px 0;
    margin: 40px 0;
  }
  .routine-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
  }
  .routine-tab-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 8px 20px;
    font-size: 15px;
    font-family: inherit;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .routine-tab-btn.active,
  .routine-tab-btn:hover {
    background: var(--primary-color, #0e7544);
    color: #ffffff;
    border-color: var(--primary-color, #0e7544);
  }
  .routine-table-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
  .routine-row-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #edf2f7;
    gap: 18px;
  }
  .routine-row-item:last-child {
    border-bottom: none;
  }
  .routine-date-badge {
    background: #e6f4ea;
    color: var(--primary-color, #0e7544);
    font-weight: 700;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 4px;
    text-align: center;
    line-height: 1.25;
    min-width: 65px;
  }
  .routine-file-title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
  }
  .routine-action-btns {
    display: flex;
    gap: 10px;
  }
  .btn-rt-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-color, #0e7544);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
  }
  .btn-rt-action:hover {
    background: var(--primary-hover, #094e2d);
  }

  /* ==========================================================================
     10. BEST STUDENTS SECTION (Truly Infinite Marquee - NO SCROLLBAR)
     ========================================================================== */
  .best-students-sec-wrap {
    margin: 40px 0;
  }
  .student-card {
    flex: 0 0 185px;
    width: 185px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 6px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: transform 0.2s;
  }
  .student-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  }
  .golden-wreath-wrap {
    width: 86px;
    height: 86px;
    margin: 0 auto 3px auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .student-avatar-round {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-gold, #ffd700);
  }
  .student-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--card-title-color, #0e7544);
    margin: 0 0 1px 0;
    line-height: 1.25;
  }
  .student-roll {
    font-size: 11.5px;
    color: #4b5563;
    margin: 0 0 3px 0;
    line-height: 1.2;
  }
  .gpa-badge-golden {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
    color: #111827;
    font-size: 10.5px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 8px;
  }

  /* ==========================================================================
     11. VIDEO GALLERY SECTION (6 Videos, YouTube Play & Direct Links)
     ========================================================================== */
  .videos-section-wrap {
    background: #f8fafc;
    padding: 40px 0;
    margin: 40px 0 0 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
  }
  .videos-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 25px;
  }
  .video-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s;
  }
  .video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  }
  .video-thumb-wrap {
    position: relative;
    width: 100%;
    height: 185px;
    overflow: hidden;
    cursor: pointer;
  }
  .video-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .video-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 38px;
    transition: background 0.2s;
  }
  .video-card:hover .video-play-overlay {
    background: rgba(229, 62, 62, 0.7);
  }
  .video-title {
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 600;
    color: #1a202c;
    line-height: 1.45;
  }
  .btn-more-videos {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e53e3e;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 4px;
    transition: background 0.2s;
  }
  .btn-more-videos:hover {
    background: #c53030;
  }

  /* ==========================================================================
     12. RECENT NEWS / BLOG POSTS (1 Row of 4, Inline '...আরও পড়ুন', NO Button)
     ========================================================================== */
  .recent-news-section {
    margin: 40px 0 50px 0;
  }
  .recent-news-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 25px;
  }
  .news-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  }
  .news-thumb {
    width: 100%;
    height: 140px;
    overflow: hidden;
  }
  .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
  }
  .news-card:hover .news-thumb img {
    transform: scale(1.05);
  }
  .news-body {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .news-date {
    font-size: 11.5px;
    color: var(--primary-color, #0e7544);
    font-weight: 600;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .news-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.35;
    margin-bottom: 4px;
  }
  .news-title a {
    color: #1a202c;
  }
  .news-title a:hover {
    color: var(--primary-color, #0e7544);
  }
  .news-excerpt {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 4px;
  }
  .inline-read-more {
    color: var(--primary-color, #0e7544) !important;
    font-weight: 700;
    margin-left: 4px;
    display: inline;
  }
  .inline-read-more:hover {
    color: var(--primary-hover, #094e2d) !important;
    text-decoration: underline;
  }

  /* ==========================================================================
     13. IN-SITE EMBEDDED READER & MULTI-PAGE VIEW (Naya Diganta / Jugantor Style)
     ========================================================================== */
  .single-post-container,
  .static-page-wrapper,
  .details-card-container {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 40px auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 30px 35px;
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
  }
  .breadcrumb-bar {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 22px;
    padding: 10px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .breadcrumb-bar a {
    color: var(--primary-color, #0e7544);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
  }
  .breadcrumb-bar a:hover {
    color: #094e2d;
    text-decoration: underline;
  }
  .breadcrumb-bar .separator {
    color: #94a3b8;
    font-size: 11px;
  }
  .breadcrumb-bar .current-page {
    color: #1e293b;
    font-weight: 600;
  }
  .newspaper-header {
    text-align: center;
    margin-bottom: 25px;
  }
  .newspaper-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.45;
    color: #111827;
    text-align: center;
    margin: 15px 0 12px 0;
  }
  .newspaper-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #cbd5e1;
  }
  .newspaper-featured-img {
    text-align: center;
    margin: 20px 0 30px 0;
  }
  .newspaper-featured-img img {
    max-width: 100%;
    max-height: 480px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  .newspaper-body-content {
    font-size: 21px !important; /* Large, High-Legibility Bengali Typography */
    line-height: 2.0 !important;
    color: #2d3748;
    text-align: justify;
    margin-bottom: 35px;
  }
  .newspaper-body-content p {
    margin-bottom: 22px;
  }
  .newspaper-body-content h2,
  .newspaper-body-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color, #0e7544);
    margin: 30px 0 15px 0;
  }
  .newspaper-body-content blockquote {
    background: #f0fdf4;
    border-left: 5px solid var(--primary-color, #0e7544);
    padding: 16px 22px;
    font-size: 20px;
    font-style: italic;
    color: #166534;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
  }
  .post-share-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin: 30px 0;
  }
  .share-title {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
  }
  .share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    border-radius: 5px;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
  }
  .share-btn:hover {
    transform: translateY(-2px);
  }
  .share-btn.fb { background: #1877f2; }
  .share-btn.wa { background: #25d366; }
  .share-btn.tw { background: #1da1f2; }
  .share-btn.print { background: #475569; }
  .btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color, #0e7544);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    padding: 9px 24px;
    border-radius: 4px;
    margin-top: 15px;
  }
  .btn-back-home:hover {
    background: var(--primary-hover, #094e2d);
  }

  /* ==========================================================================
     13.B AMAR DESH NEWSPAPER POST & IN-SITE ARTICLE STYLES
     ========================================================================== */
  .news-post-page-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 15px auto 40px auto;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .news-breadcrumb-bar {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
    padding: 10px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .news-breadcrumb-bar a {
    color: #20854a;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
  .news-breadcrumb-bar a:hover {
    text-decoration: underline;
    color: #0e7544;
  }
  .news-breadcrumb-bar .current {
    color: #1e293b;
    font-weight: 700;
  }
  .news-article-layout {
    display: flex;
    gap: 25px;
    align-items: flex-start;
  }
  .news-article-main {
    flex: 0 0 72%;
    width: 72%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 28px 32px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    box-sizing: border-box;
  }
  .news-sidebar-aside {
    flex: 0 0 28%;
    width: 28%;
    box-sizing: border-box;
  }
  .news-header {
    margin-bottom: 22px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 18px;
  }
  .news-main-headline {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
  }
  .news-meta-author-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #cbd5e1;
  }
  .news-author-badge {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .news-author-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2f0e8;
    color: #20854a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
  }
  .news-author-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
  }
  .news-dates-line {
    font-size: 13.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .news-meta-sep {
    color: #cbd5e1;
  }
  .news-round-share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .round-share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  }
  .round-share-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  .round-share-btn.share-copy { background: #64748b; }
  .round-share-btn.share-fb { background: #1877f2; }
  .round-share-btn.share-wa { background: #25d366; }
  .round-share-btn.share-tw { background: #000000; }
  .round-share-btn.share-msg { background: #0084ff; }
  .round-share-btn.share-print { background: #475569; }
  .news-hero-media {
    margin: 20px 0 25px 0;
    text-align: center;
    border-radius: 6px;
    overflow: hidden;
    background: #f8fafc;
  }
  .news-hero-media img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
  }
  .news-img-caption {
    font-size: 13px;
    color: #64748b;
    padding: 8px 12px;
    background: #f1f5f9;
    text-align: left;
    font-style: italic;
    border-left: 3px solid #20854a;
  }
  .news-body-content {
    font-size: 19px !important;
    line-height: 1.95 !important;
    color: #1e293b;
    text-align: justify;
    margin-bottom: 30px;
  }
  .news-body-content p {
    margin-bottom: 20px;
  }
  .news-body-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 15px 0;
  }
  .news-google-follow-box {
    margin: 25px 0;
    padding: 12px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  }
  .news-google-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 700;
    font-size: 15px;
    transition: color 0.2s;
  }
  .news-google-follow-btn:hover {
    color: #20854a;
  }
  .gnews-icon-square {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #ea4335;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }
  .news-topics-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 25px 0;
    padding: 14px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
  }
  .topics-title {
    font-size: 15px;
    font-weight: 700;
    color: #334155;
    margin-right: 4px;
  }
  .topic-tag-pill {
    display: inline-block;
    padding: 4px 12px;
    background: #f1f5f9;
    color: #475569;
    font-size: 13.5px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
  }
  .topic-tag-pill:hover {
    background: #20854a;
    color: #ffffff;
  }
  .news-related-section {
    margin-top: 35px;
    padding-top: 20px;
  }
  .related-sec-header {
    position: relative;
    margin-bottom: 20px;
  }
  .related-sec-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    display: inline-block;
    position: relative;
    padding-bottom: 6px;
  }
  .related-sec-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #d32f2f;
  }
  .related-title-line {
    border-bottom: 1px solid #e2e8f0;
    margin-top: -1px;
  }
  .related-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .related-post-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .related-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  }
  .related-thumb-wrap {
    width: 100%;
    height: 120px;
    overflow: hidden;
  }
  .related-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
  }
  .related-post-card:hover .related-thumb-wrap img {
    transform: scale(1.06);
  }
  .related-card-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
    margin: 6px 8px 3px 8px;
  }
  .related-card-title a {
    color: #1e293b;
    text-decoration: none;
  }
  .related-card-title a:hover {
    color: #20854a;
    text-decoration: underline;
  }
  .related-card-time {
    font-size: 11.5px;
    color: #64748b;
    margin: 0 8px 6px 8px;
  }
  .news-sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  }
  .sidebar-widget-header {
    font-size: 16.5px;
    font-weight: 700;
    padding: 10px 16px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .sidebar-widget-header.header-red { background: #d32f2f; }
  .sidebar-widget-header.header-green { background: #20854a; }
  .numbered-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .numbered-news-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
  }
  .numbered-news-list li:last-child {
    border-bottom: none;
  }
  .numbered-news-list li:hover {
    background: #f8fafc;
  }
  .news-badge-num {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: #e2e8f0;
    color: #1e293b;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .news-badge-num.num-1 { background: #d32f2f; color: #ffffff; }
  .news-badge-num.num-2 { background: #ea580c; color: #ffffff; }
  .news-badge-num.num-3 { background: #f59e0b; color: #ffffff; }
  .news-badge-num.num-4 { background: #0284c7; color: #ffffff; }
  .news-badge-num.num-5 { background: #16a34a; color: #ffffff; }
  .news-num-content {
    flex: 1;
  }
  .news-num-content a {
    font-size: 14.5px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.5;
    display: block;
    margin-bottom: 4px;
  }
  .news-num-content a:hover {
    color: #d32f2f;
    text-decoration: underline;
  }
  .num-time {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  /* Responsive for News Post Layout */
  @media (max-width: 991px) {
    .news-article-layout {
      flex-direction: column !important;
    }
    .news-article-main,
    .news-sidebar-aside {
      flex: 0 0 100% !important;
      width: 100% !important;
    }
    .news-main-headline {
      font-size: 26px !important;
    }
    .related-cards-grid {
      grid-template-columns: repeat(2, 1fr) !important;
    }
  }
  @media (max-width: 576px) {
    .news-article-main {
      padding: 16px 14px !important;
    }
    .news-main-headline {
      font-size: 22px !important;
    }
    .news-body-content {
      font-size: 17.5px !important;
      line-height: 1.85 !important;
    }
    .related-cards-grid {
      grid-template-columns: 1fr !important;
    }
  }

  /* ==========================================================================
     13.C STATIC PAGES (100% Clean Full-Width Blank Canvas - No Title, No Meta, No Share)
     ========================================================================== */
  .static-page-canvas,
  .static-page-wrapper.full-blank-canvas {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 40px auto;
    padding: 0 15px;
    box-sizing: border-box;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .static-page-canvas-body,
  .static-page-body {
    width: 100%;
    min-height: 400px;
    box-sizing: border-box;
  }
  .static-page-canvas-body > *,
  .static-page-body > * {
    max-width: 100%;
  }

  /* ==========================================================================
     14. INTERACTIVE SHORTCODE & STATIC PAGE WIDGETS
     ========================================================================== */
  /* Pixel-Perfect Embedded System: Result & Admission Portals */
  .uq-embed-container {
    max-width: 1050px;
    margin: 15px auto 35px auto;
    width: 100%;
  }
  .uq-card {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 25px;
  }
  .uq-card-header {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }
  .uq-card-title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
  }
  .uq-card-badge {
    font-size: 12px;
    background: rgba(255,255,255,0.18);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
  }
  .uq-card-body {
    padding: 24px;
  }
  .uq-form-grid-3 {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.2fr auto;
    gap: 16px;
    align-items: end;
  }
  @media (max-width: 900px) {
    .uq-form-grid-3 {
      grid-template-columns: 1fr;
    }
  }
  .uq-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .uq-form-group label {
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .uq-form-group label i {
    color: #0284c7;
  }
  .uq-form-control {
    width: 100%;
    height: 44px;
    padding: 8px 14px;
    font-size: 14.5px;
    color: #1e293b;
    background-color: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
  }
  .uq-form-control:focus {
    background-color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  }
  .uq-btn-search {
    height: 44px;
    background: #0284c7;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    padding: 0 24px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
    white-space: nowrap;
  }
  .uq-btn-search:hover {
    background: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
  }
  .uq-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #0369a1;
    padding: 8px 0;
    margin: 18px 0 12px 0;
    border-bottom: 2px solid #e0f2fe;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .uq-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 14px;
  }
  @media (max-width: 768px) {
    .uq-grid-2 {
      grid-template-columns: 1fr;
    }
  }
  .uq-radio-group {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 44px;
  }
  .uq-radio-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    cursor: pointer;
  }
  .uq-upload-box {
    border: 1.5px dashed #cbd5e1;
    border-radius: 8px;
    padding: 12px 14px;
    background: #f8fafc;
  }
  .uq-upload-box input[type="file"] {
    width: 100%;
    font-size: 13px;
  }
  .uq-upload-hint {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 4px;
  }
  .uq-btn-submit-app {
    width: 100%;
    height: 48px;
    background: #0284c7;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
    transition: all 0.2s ease;
  }
  .uq-btn-submit-app:hover {
    background: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
  }
  .portal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  }
    /* ==========================================================================
     PORTAL HEADER & TESTIMONIAL CARD (UNCROPPED, FULLY VISIBLE)
     ========================================================================== */
  .portal-header-bar {
    background: #0e7544 !important;
    color: #ffffff !important;
    padding: 18px 24px !important;
    border-radius: 10px 10px 0 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    line-height: 1.6 !important;
    word-break: break-word !important;
    overflow: visible !important;
  }
  .testimonial-portal-card {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid #e2e8f0 !important;
    overflow: visible !important;
    margin: 25px 0 45px 0 !important;
    box-sizing: border-box !important;
  }
  .testimonial-portal-card .portal-header-bar {
    margin: 0 !important;
    padding: 18px 24px !important;
    border-radius: 11px 11px 0 0 !important;
    font-size: 20px !important;
  }
  .form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .form-group-item {
    margin-bottom: 14px;
  }
  .form-group-item label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
  }
  .form-control-input,
  .form-control-select,
  .form-control-textarea {
    width: 100%;
    padding: 9px 12px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #ffffff;
    color: #1e293b;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .form-control-input:focus,
  .form-control-select:focus,
  .form-control-textarea:focus {
    outline: none;
    border-color: var(--primary-color, #0e7544);
    box-shadow: 0 0 0 3px rgba(14, 117, 68, 0.15);
  }
  .btn-portal-submit {
    background: var(--primary-color, #0e7544);
    color: #ffffff;
    font-size: 16px;
    font-family: inherit;
    font-weight: 700;
    padding: 10px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
  }
  .btn-portal-submit:hover {
    background: var(--primary-hover, #094e2d);
  }
  .btn-portal-reset {
    background: #64748b;
    color: #ffffff;
    font-size: 16px;
    font-family: inherit;
    font-weight: 600;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
  }

  /* Academic Marksheet Result Display Card */
  .marksheet-result-box {
    margin-top: 25px;
    background: #ffffff;
    border: 2px solid var(--primary-color, #0e7544);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    display: none;
  }
  .marksheet-header {
    text-align: center;
    border-bottom: 2px solid var(--primary-color, #0e7544);
    padding-bottom: 15px;
    margin-bottom: 20px;
  }
  .marksheet-school-name {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color, #0e7544);
  }
  .marksheet-title-tag {
    display: inline-block;
    background: var(--primary-color, #0e7544);
    color: #ffffff;
    padding: 4px 16px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 20px;
    margin-top: 8px;
  }
  .marksheet-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    background: #f8fafc;
    padding: 14px;
    border-radius: 6px;
    font-size: 15px;
  }
  .marksheet-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 15px;
  }
  .marksheet-table th,
  .marksheet-table td {
    border: 1px solid #cbd5e1;
    padding: 8px 12px;
    text-align: center;
  }
  .marksheet-table th {
    background: var(--primary-color, #0e7544);
    color: #ffffff;
    font-weight: 700;
  }
  .marksheet-table tr:nth-child(even) {
    background: #f8fafc;
  }
  .marksheet-summary-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e6f4ea;
    border: 1px solid #a7f3d0;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    color: #065f46;
  }

  /* Interactive Notice Datatable with Live Filter */
  .notice-search-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
  }
  .notice-search-input {
    flex: 1;
    min-width: 240px;
    padding: 9px 14px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
  }
  .notice-category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
  }
  .notice-cat-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
  }
  .notice-cat-btn.active,
  .notice-cat-btn:hover {
    background: var(--primary-color, #0e7544);
    color: #ffffff;
    border-color: var(--primary-color, #0e7544);
  }
  .datatable-styled {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
  }
  .datatable-styled th,
  .datatable-styled td {
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    text-align: left;
  }
  .datatable-styled th {
    background: var(--primary-color, #0e7544);
    color: #ffffff;
    font-weight: 700;
  }
  .datatable-styled tr:hover {
    background: #f8fafc;
  }

  /* ==========================================================================
     15. FOOTER & BOTTOM BAR (Customizable & Right-Aligned 'সহযোগিতায়: উম্মুল কুরা')
     ========================================================================== */
  .footer-master-wrap {
    background: var(--footer-dark-green, #0b4a2c);
    color: #ffffff;
    padding: 45px 0 25px 0;
    border-top: 4px solid var(--accent-gold, #ffd700);
  }
  .footer-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 35px;
  }
  .footer-col {
    flex: 1;
  }
  .footer-col-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold, #ffd700);
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
  }
  .footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gold, #ffd700);
  }
  .footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .footer-links-list li {
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
    font-size: 14.5px;
  }
  .footer-links-list li:last-child {
    border-bottom: none;
  }
  .footer-links-list a {
    color: #e2e8f0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: padding 0.2s, color 0.2s;
  }
  .footer-links-list a:hover {
    color: var(--accent-gold, #ffd700) !important;
    padding-left: 5px;
  }
  .footer-school-brand img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 12px;
  }
  .footer-school-desc {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 14px;
  }
  .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #e2e8f0;
    margin-bottom: 8px;
  }
  .footer-contact-item i {
    color: var(--accent-gold, #ffd700);
    margin-top: 4px;
  }

  /* BOTTOM BAR (Strictly: Left Copyright | Right: সহযোগিতায়: উম্মুল কুরা) */
  .footer-bottom-bar {
    background: var(--bottom-bar-dark, #072f1c);
    padding: 16px 0;
    font-size: 14px;
    color: #cbd5e1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .bottom-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .footer-credit-right {
    font-weight: 600;
    color: #ffffff;
  }
  .footer-credit-right span {
    color: var(--accent-gold, #ffd700);
  }

  /* ==========================================================================
     16. MODAL DIALOGS (Notices, Video Player, Login)
     ========================================================================== */
  .modal-overlay-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 15px;
  }
  .modal-dialog-box {
    background: #ffffff;
    border-radius: 8px;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: modal-zoom 0.25s ease-out;
  }
  @keyframes modal-zoom {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }
  .modal-header-bar {
    background: var(--primary-color, #0e7544);
    color: #ffffff;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
  }
  .modal-close-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
  }
  .modal-body-content {
    padding: 22px;
    max-height: 80vh;
    overflow-y: auto;
  }

  /* ==========================================================================
     17. PRINT MEDIA STYLESHEET
     ========================================================================== *

  /* ==========================================================================
     UNIFIED PRINT STYLESHEET (Clean 1-Page Certificate & Post Printing)
     ========================================================================== */
  @media print {
    html, body {
      background: #ffffff !important;
      color: #000000 !important;
      margin: 0 !important;
      padding: 0 !important;
      width: 100% !important;
      height: auto !important;
      overflow: visible !important;
    }

    /* General Print Hiding */
    .header-banner-box,
    .main-nav-bar,
    .hero-slider-wrap,
    .top-scroll-section,
    .footer-master-wrap,
    .footer-bottom-bar,
    .post-share-box,
    .news-round-share-bar,
    .news-google-follow-box,
    .news-sidebar-aside,
    .news-breadcrumb-bar,
    .btn-back-home,
    .btn-portal-submit,
    .btn-portal-reset,
    .btn-portal-secondary,
    .no-print,
    header,
    nav,
    footer,
    #headerTopBanner,
    #headerMainNav,
    #heroSliderSection,
    #secSchoolConfig,
    #secTestimonialHeader,
    .portal-header-bar,
    .testimonial-filter-wrap,
    #verifyStatusSlot,
    #verifiedStudentCard {
      display: none !important;
    }

    /* Normal Single Post / Page Print */
    .single-post-container,
    .static-page-wrapper,
    .news-article-main,
    .marksheet-result-box {
      border: none !important;
      box-shadow: none !important;
      margin: 0 !important;
      padding: 0 !important;
      width: 100% !important;
      max-width: 100% !important;
    }

    /* Testimonial Dedicated Single-Page Print */
    body.is-printing-testimonial {
      margin: 0 !important;
      padding: 0 !important;
      background: #ffffff !important;
    }
    body.is-printing-testimonial .container,
    body.is-printing-testimonial #homeTertiaryWrapper,
    body.is-printing-testimonial .main-blog-section,
    body.is-printing-testimonial .testimonial-portal-card {
      margin: 0 !important;
      padding: 0 !important;
      border: none !important;
      box-shadow: none !important;
      background: #ffffff !important;
      width: 100% !important;
      max-width: 100% !important;
    }

    body.is-printing-testimonial #officialTestimonialPaper {
      display: block !important;
      visibility: visible !important;
      position: relative !important;
      margin: 0 auto !important;
      box-shadow: none !important;
      background: #ffffff !important;
      page-break-inside: avoid !important;
      page-break-after: avoid !important;
      page-break-before: avoid !important;
      break-inside: avoid !important;
      break-after: avoid !important;
      break-before: avoid !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
    }

    /* A4 Portrait: 210mm x 297mm (printable area ~194mm x 281mm) */
    body.is-printing-testimonial.print-orientation-portrait #officialTestimonialPaper {
      width: 194mm !important;
      max-height: 280mm !important;
      padding: 12mm 14mm !important;
      border: 3.5px double #0e7544 !important;
    }
    body.is-printing-testimonial.print-orientation-portrait #officialTestimonialPaper .testimonial-pad-header-img {
      max-height: 135px !important;
      margin-bottom: 12px !important;
    }
    body.is-printing-testimonial.print-orientation-portrait #officialTestimonialPaper .testi-body-text {
      font-size: 16.5px !important;
      line-height: 2.2 !important;
      margin-bottom: 35px !important;
    }

    /* A4 Landscape: 297mm x 210mm (printable area ~281mm x 194mm) */
    body.is-printing-testimonial.print-orientation-landscape #officialTestimonialPaper {
      width: 280mm !important;
      max-height: 194mm !important;
      padding: 8mm 14mm !important;
      border: 3px double #0e7544 !important;
    }
    body.is-printing-testimonial.print-orientation-landscape #officialTestimonialPaper .testimonial-pad-header-img {
      max-height: 110px !important;
      margin-bottom: 8px !important;
    }
    body.is-printing-testimonial.print-orientation-landscape #officialTestimonialPaper .testi-body-text {
      font-size: 15.5px !important;
      line-height: 2.0 !important;
      margin-bottom: 22px !important;
    }
  }

  /* ==========================================================================
     18. RESPONSIVE BREAKPOINTS (Mobile & Tablet)
     ========================================================================== */
  @media (max-width: 992px) {
    .mobile-menu-toggle {
      display: block;
      width: 100%;
    }
    .nav-menu-list {
      display: none;
      flex-direction: column;
      width: 100%;
    }
    .nav-menu-list.show {
      display: flex;
    }
    .nav-item {
      width: 100%;
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
    .hero-slider-wrap {
      height: 300px;
    }
    .slide-caption-title {
      font-size: 20px;
    }
    .notice-board-grid {
      flex-direction: column;
      gap: 15px;
    }
    .notice-board-left,
    .notice-board-right {
      flex: 0 0 100%;
      width: 100%;
      max-width: 100%;
    }
    .main-content-layout {
      flex-direction: column;
      gap: 20px;
    }
    .main-left-col,
    .main-right-col {
      flex: 0 0 100%;
      width: 100%;
      max-width: 100%;
    }
    .courses-grid {
      flex-wrap: wrap;
      gap: 16px;
    }
    .course-card {
      flex: 0 0 calc(50% - 10px);
    }
    .videos-grid-6 {
      grid-template-columns: repeat(2, 1fr);
    }
    .recent-news-grid-4 {
      grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
      flex-wrap: wrap;
    }
    .footer-col {
      flex: 0 0 calc(50% - 15px);
      margin-bottom: 25px;
    }
    .form-grid-2,
    .form-grid-3 {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 768px) {
    html, body {
      overflow-x: hidden !important;
      max-width: 100vw !important;
    }
    .container {
      padding: 0 12px !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }
    .header-full-banner-img {
      max-height: 110px !important;
      object-fit: contain !important;
    }
    .hero-slider-wrap {
      height: 240px;
    }
    .slide-center-caption {
      padding: 10px 14px;
      max-width: 92%;
    }
    .slide-caption-title {
      font-size: 16px;
      margin-bottom: 4px;
    }
    .slide-caption-sub {
      font-size: 12px;
      margin-bottom: 8px;
    }
    .btn-slide-primary,
    .btn-slide-secondary {
      padding: 5px 14px;
      font-size: 12.5px;
    }
    .slider-arrow-btn {
      width: 34px;
      height: 34px;
      font-size: 14px;
    }
    .slider-prev-btn { left: 8px; }
    .slider-next-btn { right: 8px; }

    /* Top Scrolling Ticker */
    .top_scrool_1 {
      font-size: 13px;
      padding: 4px 10px;
    }
    .top_scrool_2 marquee a {
      font-size: 13px;
      padding: 0 15px;
    }

    /* Notice Board & Quick Links */
    .notice-board-grid {
      flex-direction: column !important;
      gap: 15px !important;
    }
    .notice-board-left,
    .notice-board-right {
      flex: 0 0 100% !important;
      width: 100% !important;
      max-width: 100% !important;
    }
    .ref-notice-board-box {
      padding: 14px 16px 10px 16px !important;
    }
    .ref-nb-items-wrap {
      flex-direction: column !important;
      align-items: flex-start !important;
      gap: 12px !important;
    }
    .ref-nb-list {
      width: 100% !important;
      padding-right: 0 !important;
    }
    .ref-nb-list li {
      font-size: 14px !important;
      padding: 5px 0 !important;
    }
    .ref-nb-pill-btn {
      position: static !important;
      transform: none !important;
      align-self: flex-start !important;
      margin-top: 10px !important;
      padding: 6px 18px !important;
      font-size: 13.5px !important;
    }

    /* Section 06 Authentic Cards (About Us, Speeches, Info) */
    .ref-about-body {
      flex-direction: column !important;
      gap: 14px !important;
      align-items: stretch !important;
      padding: 14px !important;
    }
    .ref-about-text {
      width: 100% !important;
    }
    .ref-about-text p {
      font-size: 14px !important;
      line-height: 1.7 !important;
    }
    .ref-about-img {
      flex: 0 0 100% !important;
      max-width: 100% !important;
      width: 100% !important;
    }
    .ref-about-img img {
      width: 100% !important;
      height: auto !important;
      max-height: 220px !important;
      object-fit: cover !important;
    }

    /* Speech Cards: Stack 100% Full Width Vertically */
    .ref-speech-row {
      flex-direction: column !important;
      gap: 16px !important;
    }
    .ref-speech-card {
      flex: 0 0 100% !important;
      width: 100% !important;
      max-width: 100% !important;
    }
    .ref-speech-content {
      display: flex !important;
      gap: 12px !important;
      align-items: flex-start !important;
    }
    .ref-speech-photo {
      width: 95px !important;
      height: 115px !important;
      flex-shrink: 0 !important;
    }
    .ref-speech-text p {
      font-size: 13px !important;
      line-height: 1.6 !important;
    }

    /* Info Checklist Cards: Stack 100% Full Width Vertically */
    .ref-info-row {
      flex-direction: column !important;
      gap: 16px !important;
    }
    .ref-info-card {
      flex: 0 0 100% !important;
      width: 100% !important;
      max-width: 100% !important;
    }
    .ref-info-body {
      padding: 12px 14px !important;
    }
    .ref-info-illus {
      max-width: 85px !important;
      height: auto !important;
    }

    /* Courses Section: Stack Cards 100% Vertically */
    .courses-grid {
      flex-direction: column !important;
      gap: 18px !important;
    }
    .course-card {
      flex: 0 0 100% !important;
      width: 100% !important;
      max-width: 100% !important;
    }
    .course-thumb img {
      width: 100% !important;
      height: 180px !important;
      object-fit: cover !important;
    }

    /* Routine Downloads Table */
    .routine-tabs-nav {
      display: flex !important;
      flex-wrap: wrap !important;
      gap: 8px !important;
      justify-content: center !important;
    }
    .routine-tab-btn {
      padding: 7px 14px !important;
      font-size: 13px !important;
    }
    .routine-row-item {
      flex-direction: column !important;
      align-items: flex-start !important;
      gap: 10px !important;
      padding: 12px 14px !important;
    }
    .routine-date-badge {
      align-self: flex-start !important;
    }
    .routine-file-title {
      font-size: 14.5px !important;
    }
    .routine-action-btns {
      width: 100% !important;
      display: flex !important;
      justify-content: flex-end !important;
      gap: 8px !important;
    }

    /* Videos & Recent News: 1 Column */
    .videos-grid-6 {
      grid-template-columns: 1fr !important;
      gap: 15px !important;
    }
    .recent-news-grid-4 {
      grid-template-columns: 1fr !important;
      gap: 15px !important;
    }

    /* Footer: 1 Column */
    .footer-col {
      flex: 0 0 100% !important;
      width: 100% !important;
      margin-bottom: 20px !important;
    }
    .bottom-bar-inner {
      flex-direction: column !important;
      text-align: center !important;
      gap: 10px !important;
    }

    /* Live Embed & Content Details */
    .single-post-container,
    .static-page-wrapper,
    .details-card-container {
      padding: 18px 12px !important;
      border-radius: 6px !important;
    }
    .newspaper-title {
      font-size: 22px !important;
      line-height: 1.4 !important;
    }
    .newspaper-body-content {
      font-size: 16.5px !important;
      line-height: 1.8 !important;
    }
    .marksheet-info-grid {
      grid-template-columns: 1fr !important;
    }
    .embed-iframe-wrapper,
    .school-software-iframe {
      height: 650px !important;
      min-height: 650px !important;
    }
    .live-embed-header {
      flex-direction: column !important;
      align-items: flex-start !important;
      gap: 10px !important;
    }
    .embed-actions {
      width: 100% !important;
      justify-content: space-between !important;
    }
  }

  @media (max-width: 480px) {
    .container {
      padding: 0 8px !important;
    }
    .header-full-banner-img {
      max-height: 90px !important;
    }
    .hero-slider-wrap {
      height: 200px;
    }
    .slide-caption-title {
      font-size: 14.5px;
    }
    .slide-caption-sub {
      display: none;
    }
    .slide-action-btns {
      gap: 6px;
    }
    .btn-slide-primary,
    .btn-slide-secondary {
      padding: 4px 10px;
      font-size: 11.5px;
    }
    .ref-nb-title {
      font-size: 22px;
    }
    .ref-speech-content {
      flex-direction: column !important;
      align-items: center !important;
      text-align: center !important;
    }
    .ref-speech-photo {
      width: 110px !important;
      height: 130px !important;
      margin: 0 auto 8px auto !important;
    }
    .ref-speech-text p {
      text-align: justify !important;
    }
    .ref-info-illus {
      max-width: 70px !important;
    }
    .course-thumb img {
      height: 138px !important;
    }
    .btn-rt-action {
      padding: 4px 10px !important;
      font-size: 12px !important;
    }
    .newspaper-title {
      font-size: 19px !important;
    }
    .newspaper-body-content {
      font-size: 15.5px !important;
    }
  }

  /* ==========================================================================
     18. SCHOOL MANAGEMENT SOFTWARE LIVE EMBED & IFRAME CONTROLLER
     ========================================================================== */
  .live-embed-card {
    background: #ffffff;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
  }
  .live-embed-header {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-bottom: 2px solid var(--primary-color, #0e7544);
    color: #1e293b;
    padding: 10px 18px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .embed-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color, #0e7544);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .embed-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .btn-embed-action {
    background: #ffffff;
    color: #475569 !important;
    border: 1px solid #cbd5e1;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
  }
  .btn-embed-action:hover {
    background: var(--primary-color, #0e7544);
    color: #ffffff !important;
    border-color: var(--primary-color, #0e7544);
  }
  .embed-iframe-wrapper {
    position: relative;
    width: 100%;
    min-height: 950px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
  }
  .school-software-iframe {
    width: 100% !important;
    height: 950px;
    min-height: 950px;
    border: none !important;
    outline: none !important;
    display: block;
    background: #ffffff;
  }
  .embed-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    color: #475569;
    background: rgba(255, 255, 255, 0.95);
    padding: 14px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
    pointer-events: none;
  }
  .embed-footer-note {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-top: none;
    padding: 8px 16px;
    font-size: 13px;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .embed-footer-note a {
    color: var(--primary-color, #0e7544);
    font-weight: 600;
    text-decoration: underline;
  }

  /* Universal Post and Page Typography for Future Posts */
  .post-body, .entry-content, .static-page-body {
    font-size: 20px;
    line-height: 1.95;
    color: #2d3748;
    text-align: justify;
  }
  .post-body p, .entry-content p, .static-page-body p {
    margin-bottom: 20px;
  }
  .post-body h2, .entry-content h2, .static-page-body h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color, #0e7544);
    margin: 32px 0 16px 0;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
  }
  .post-body h3, .entry-content h3, .static-page-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin: 24px 0 12px 0;
  }
  .post-body table, .entry-content table, .static-page-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
  }
  .post-body th, .entry-content th, .static-page-body th {
    background: var(--primary-color, #0e7544);
    color: #ffffff;
    padding: 12px 16px;
    font-weight: 700;
    text-align: left;
  }
  .post-body td, .entry-content td, .static-page-body td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
  }
  .post-body tr:nth-child(even), .entry-content tr:nth-child(even), .static-page-body tr:nth-child(even) {
    background: #f8fafc;
  }
  .post-body blockquote, .entry-content blockquote, .static-page-body blockquote {
    background: #f0fdf4;
    border-left: 5px solid var(--primary-color, #0e7544);
    padding: 16px 22px;
    font-size: 19px;
    font-style: italic;
    color: #166534;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
  }
  .post-body img, .entry-content img, .static-page-body img, .separator img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    margin: 15px auto;
    display: block;
  }
  .post-body ul, .entry-content ul, .static-page-body ul {
    margin: 18px 0 22px 25px;
    padding: 0;
  }
  .post-body ul li, .entry-content ul li, .static-page-body ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 5px;
  }
  .post-body ol, .entry-content ol, .static-page-body ol {
    margin: 18px 0 22px 25px;
    padding: 0;
  }
  .post-body ol li, .entry-content ol li, .static-page-body ol li {
    margin-bottom: 10px;
  }
  .nav-item.settings-btn a {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    margin: 5px 3px;
    padding: 6px 12px !important;
    font-size: 14px;
  }
  .nav-item.settings-btn a:hover {
    background: var(--accent-gold, #ffd700);
  }

  /* ==========================================================================
     NOTICE LIVE COUNTDOWN & CUSTOM ACTION CTA
     ========================================================================== */
  .notice-countdown-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 22px 20px;
    margin: 24px 0;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.35);
    border: 1px solid #334155;
    text-align: center;
  }
  .notice-countdown-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    font-size: 13.5px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .countdown-digits-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .countdown-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 68px;
    text-align: center;
  }
  .countdown-box .digit {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    color: #38bdf8;
    display: block;
    font-family: 'SolaimanLipi', sans-serif;
  }
  .countdown-box .label {
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 4px;
    display: block;
  }
  .countdown-ended-msg {
    color: #fbbf24;
    font-size: 16px;
    font-weight: 700;
    padding: 10px;
  }

  /* Notice Custom Action Button */
  .notice-action-btn-wrap {
    margin: 26px 0 16px 0;
    text-align: center;
  }
  .notice-action-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: linear-gradient(135deg, #0e7544 0%, #16a34a 100%) !important;
    color: #ffffff !important;
    padding: 14px 34px !important;
    border-radius: 30px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(14, 117, 68, 0.35) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 2px solid #bbf7d0 !important;
  }
  .notice-action-cta-btn:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 12px 25px rgba(14, 117, 68, 0.45) !important;
  }

  /* ==========================================================================
     ONLINE TESTIMONIAL VERIFICATION & CERTIFICATE GENERATOR
     ========================================================================== */
  .testimonial-portal-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin: 25px 0 45px 0;
  }
  .testimonial-filter-wrap {
    padding: 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
  }
  .testimonial-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
  }
  .testimonial-input-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
  }
  .testimonial-input-group input,
  .testimonial-input-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    font-size: 14.5px;
    font-family: inherit;
    background: #ffffff;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
  }
  .testimonial-input-group input:focus,
  .testimonial-input-group select:focus {
    border-color: #0e7544;
    box-shadow: 0 0 0 3px rgba(14, 117, 68, 0.15);
  }
  .alert-student-verified {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    margin: 18px 0;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .alert-student-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14.5px;
    margin: 18px 0;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .verified-student-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0 22px 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
  }
  .verified-student-summary-table td {
    padding: 10px 14px;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
  }
  .verified-student-summary-table td.label-col {
    width: 25%;
    font-weight: 700;
    color: #475569;
    background: #f8fafc;
  }
  .verified-student-summary-table td.val-col {
    color: #0f172a;
    font-weight: 600;
  }

    /* ==========================================================================
     OFFICIAL TESTIMONIAL / CERTIFICATE PAPER (A4 PORTRAIT & LANDSCAPE)
     ========================================================================== */
  #officialTestimonialPaper {
    background: #ffffff;
    border: 4px double #0e7544;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    margin: 30px auto;
    box-sizing: border-box;
    font-family: 'SolaimanLipi', sans-serif;
    color: #1e293b;
    transition: all 0.3s ease;
  }

  /* A4 Portrait Mode (Screen Preview) */
  #officialTestimonialPaper.paper-portrait {
    width: 100%;
    max-width: 820px;
    min-height: 1050px;
    padding: 35px 42px;
  }

  /* A4 Landscape Mode (Screen Preview) */
  #officialTestimonialPaper.paper-landscape {
    width: 100%;
    max-width: 1080px;
    min-height: 720px;
    padding: 28px 45px;
  }

  /* Centered Institutional Pad Header Image */
  .testimonial-pad-header-wrap {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
  }
  .testimonial-pad-header-img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    text-align: center;
  }
  #officialTestimonialPaper.paper-landscape .testimonial-pad-header-img {
    max-height: 120px;
    margin-bottom: 10px;
  }

  /* Official Certificate Layout */
  .certificate-canvas-outer {
    margin: 25px 0;
    padding: 24px;
    background: #f8fafc;
    border-radius: 10px;
  }
  .certificate-paper {
    background: #ffffff;
    border: 8px double #0e7544;
    padding: 40px 35px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    font-family: 'SolaimanLipi', sans-serif;
  }
  .certificate-header {
    text-align: center;
    border-bottom: 2px solid #0e7544;
    padding-bottom: 18px;
    margin-bottom: 25px;
  }
  .certificate-logo {
    max-width: 80px;
    height: auto;
    margin-bottom: 10px;
  }
  .certificate-sch-name {
    font-size: 26px;
    font-weight: 800;
    color: #0e7544;
    margin: 0 0 4px 0;
  }
  .certificate-sch-sub {
    font-size: 13.5px;
    color: #475569;
    margin: 0;
  }
  .certificate-title-badge {
    display: inline-block;
    background: #0e7544;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 6px 26px;
    border-radius: 20px;
    margin: 16px 0 10px 0;
  }
  .certificate-meta-bar {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #475569;
    margin-bottom: 22px;
  }
  .certificate-body-text {
    font-size: 16.5px;
    line-height: 2.2;
    color: #1e293b;
    text-align: justify;
    text-indent: 40px;
    margin: 20px 0 40px 0;
  }
  .certificate-body-text strong {
    color: #0e7544;
    text-decoration: underline dotted #0e7544;
  }
  .certificate-signatures {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 50px;
    padding-top: 20px;
  }
  .certificate-sig-block {
    text-align: center;
    border-top: 1px dashed #64748b;
    padding-top: 8px;
    min-width: 160px;
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
  }

  #headerTopBanner,
  #headerMainNav,
  .header-banner-box,
  .main-nav-bar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  
  /* ==========================================================================
     STRICT WIDGET & SECTION SIBLING SUPPRESSION (ZERO DUPLICATION)
     ========================================================================== */
  #HTML30, #HTML40, #HTML50, #HTML60, #HTML70, #HTML80, #HTML90,
  #HTML100, #HTML110, #HTML120, #HTML130, #HTML140, #HTML150, #HTML160, #HTML170,
  .hero-slider-wrap ~ .hero-slider-wrap,
  .top-scroll-section ~ .top-scroll-section,
  .notice-board-grid ~ .notice-board-grid,
  .info-notice-section ~ .info-notice-section,
  .teachers-section-wrap ~ .teachers-section-wrap,
  .courses-section-wrap ~ .courses-section-wrap,
  .routines-section-wrap ~ .routines-section-wrap,
  .campus-life-section ~ .campus-life-section,
  .videos-section-wrap ~ .videos-section-wrap,
  .testimonials-section ~ .testimonials-section {
    display: none !important;
  }

  


/* WordPress Core Alignment & Layout Fixes */
.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.alignfull {
    max-width: 100vw;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.wp-block-image img {
    max-width: 100%;
    height: auto;
}
.elementor-page .site-content {
    padding: 0 !important;
}


/* ==========================================================================
   HOMEPAGE ALIGNMENT, ABOUT US FLUSH IMAGE, SPEECH PORTRAITS & REAL FB EMBED
   ========================================================================== */
/* About Us Card: L-System wrap with Right-Border Flush 1280x700 Image */
.ref-about-body {
  display: block !important;
  padding: 16px 18px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.ref-about-img-wrap {
  float: right !important;
  margin: 0 0 14px 18px !important;
  max-width: 360px !important;
  width: 42% !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.ref-about-img {
  width: 100% !important;
  height: 145px !important;
  max-height: 155px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.ref-about-text-content {
  font-size: 14px !important;
  color: #334155 !important;
  line-height: 1.8 !important;
  text-align: justify !important;
}

/* Speeches: Photo & Text strictly bound to 150px baseline */
.ref-speech-content {
  display: flex !important;
  gap: 14px !important;
  align-items: flex-start !important;
}

.ref-speech-photo-wrap {
  position: relative !important;
  flex-shrink: 0 !important;
  width: 115px !important;
  height: 150px !important;
}

.ref-speech-photo {
  width: 115px !important;
  height: 150px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.ref-speech-text {
  flex: 1 !important;
  min-width: 0 !important;
  height: 150px !important;
  max-height: 150px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.ref-speech-text p {
  font-size: 13px !important;
  line-height: 1.58 !important;
  color: #334155 !important;
  text-align: justify !important;
  margin: 0 !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 6 !important;
  -webkit-box-orient: vertical !important;
}

.btn-ref-inline-green {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-weight: 700 !important;
  color: #0e7544 !important;
  text-decoration: none !important;
  padding: 1px 8px !important;
  background: #e8f5e9 !important;
  border: 1px solid #c8e6c9 !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  margin-left: 6px !important;
  vertical-align: middle !important;
  transition: all 0.2s ease !important;
}

.btn-ref-inline-green:hover {
  background: #0e7544 !important;
  color: #ffffff !important;
  border-color: #0e7544 !important;
}

/* Sidebar Real Facebook Page Plugin Widget */
.haji-fb-widget {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

.fb-page-wrapper {
  overflow: hidden !important;
  text-align: center !important;
  padding: 6px !important;
  background: #ffffff !important;
}

.fb-page-wrapper iframe {
  display: block !important;
  margin: 0 auto !important;
  max-width: 100% !important;
  border: none !important;
}

/* ==========================================================================
   VIDEO GALLERY "SEE MORE", RECENT BLOG 3-COLUMN GRID & FULL WIDTH FB EMBED
   ========================================================================== */
.haji-fb-widget {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.fb-page-wrapper {
  overflow: hidden !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.fb-page-wrapper iframe {
  display: block !important;
  margin: 0 auto !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  border: none !important;
  box-sizing: border-box !important;
}

.btn-sec-see-more {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 22px !important;
  background: linear-gradient(135deg, #0e7544 0%, #15803d 100%) !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  border-radius: 25px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(14, 117, 68, 0.25) !important;
  transition: all 0.25s ease !important;
}

.btn-sec-see-more:hover {
  background: linear-gradient(135deg, #0b5e36 0%, #0e7544 100%) !important;
  box-shadow: 0 6px 18px rgba(14, 117, 68, 0.35) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

.video-card {
  cursor: pointer !important;
}

.recent-posts-grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 22px !important;
  margin-top: 25px !important;
}

@media (max-width: 900px) {
  .recent-posts-grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .recent-posts-grid-3 {
    grid-template-columns: 1fr !important;
  }
}

.recent-blog-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.recent-blog-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

.recent-blog-thumb-wrap {
  width: 100% !important;
  height: 190px !important;
  overflow: hidden !important;
  position: relative !important;
  background: #f1f5f9 !important;
}

.recent-blog-thumb-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}

.recent-blog-card:hover .recent-blog-thumb-wrap img {
  transform: scale(1.04) !important;
}

.recent-blog-content {
  padding: 18px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  justify-content: space-between !important;
}

.recent-blog-meta {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  font-size: 12px !important;
  color: #64748b !important;
  margin-bottom: 10px !important;
}

.recent-blog-meta span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.recent-blog-meta i {
  color: #0e7544 !important;
}

.recent-blog-title {
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.45 !important;
  margin: 0 0 10px 0 !important;
}

.recent-blog-title a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.recent-blog-title a:hover {
  color: #0e7544 !important;
}

.recent-blog-excerpt {
  font-size: 13.5px !important;
  color: #475569 !important;
  line-height: 1.65 !important;
  margin: 0 0 16px 0 !important;
  text-align: justify !important;
  flex: 1 !important;
}

.btn-post-readmore {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #0e7544 !important;
  text-decoration: none !important;
  padding: 6px 14px !important;
  background: #e8f5e9 !important;
  border-radius: 4px !important;
  align-self: flex-start !important;
  transition: all 0.2s ease !important;
}

.btn-post-readmore:hover {
  background: #0e7544 !important;
  color: #ffffff !important;
}


/* v5.7.1 Speech Cards +1 Line (174px) */
.ref-speech-photo-wrap {
  position: relative !important;
  flex-shrink: 0 !important;
  width: 125px !important;
  height: 174px !important;
}

.ref-speech-photo {
  width: 125px !important;
  height: 174px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
  border: 1px solid #cbd5e1 !important;
}

.ref-speech-text {
  flex: 1 !important;
  min-width: 0 !important;
  height: 174px !important;
  max-height: 174px !important;
  overflow: hidden !important;
}
/* ==========================================================================
   v5.7.2 ENHANCED TYPOGRAPHY (MATCHING MENU FONT SIZE 15.5px)
   ========================================================================== */
body {
  font-size: 15.5px !important;
  line-height: 1.7 !important;
}

/* About Us Section: Flush to Right Border & 15.5px Font */
.ref-about-img-wrap {
  float: right !important;
  margin: 0 -18px 14px 18px !important;
  max-width: 400px !important;
  width: 45% !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.ref-about-img {
  width: 100% !important;
  aspect-ratio: 1280 / 720 !important;
  height: 185px !important;
  max-height: 200px !important;
  object-fit: cover !important;
  display: block !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-top-left-radius: 8px !important;
  border-bottom-left-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  border-right: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.ref-about-text-content {
  font-size: 15.5px !important;
  color: #334155 !important;
  line-height: 1.8 !important;
  text-align: justify !important;
}

/* Speeches: 15.5px Font Size & 195px Frame */
.ref-speech-photo-wrap {
  position: relative !important;
  flex-shrink: 0 !important;
  width: 130px !important;
  height: 195px !important;
}

.ref-speech-photo {
  width: 130px !important;
  height: 195px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
  border: 1px solid #cbd5e1 !important;
}

.ref-speech-text {
  flex: 1 !important;
  min-width: 0 !important;
  height: 195px !important;
  max-height: 195px !important;
  overflow: hidden !important;
}

.ref-speech-text p {
  font-size: 15.5px !important;
  line-height: 1.65 !important;
  color: #334155 !important;
  text-align: justify !important;
  margin: 0 !important;
}

/* General Site Text Elements upgraded to 15px - 15.5px */
.notice-title {
  font-size: 15.5px !important;
}

.ref-quick-link-box a,
.ref-sidebar-widget li a,
.ref-sidebar-widget a {
  font-size: 15px !important;
}

.routine-card p,
.download-card p,
.ref-info-card p {
  font-size: 15px !important;
}

.video-title {
  font-size: 15.5px !important;
}

/* ==========================================================================
   v5.7.3 DEFINITIVE ABOUT US & SPEECHES MASTER LAYOUT
   ========================================================================== */
/* About Us: Image Edge-to-Edge Flush Right, 16:9 Ratio, 2 Full Lines Below */
.ref-about-body {
  padding: 16px 18px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  display: block !important;
}

.ref-about-img-wrap {
  float: right !important;
  margin: 0 -18px 12px 18px !important;
  width: 46% !important;
  max-width: 420px !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.ref-about-img {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: 165px !important;
  max-height: 175px !important;
  object-fit: cover !important;
  display: block !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-top-left-radius: 8px !important;
  border-bottom-left-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  border-right: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.ref-about-text-content {
  font-size: 15.5px !important;
  color: #334155 !important;
  line-height: 1.8 !important;
  text-align: justify !important;
}

.btn-ref-inline-green {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-weight: 700 !important;
  color: #0e7544 !important;
  text-decoration: none !important;
  padding: 2px 10px !important;
  background: #e8f5e9 !important;
  border: 1px solid #c8e6c9 !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  margin-left: 8px !important;
  vertical-align: middle !important;
  transition: all 0.2s ease !important;
}

.btn-ref-inline-green:hover {
  background: #0e7544 !important;
  color: #ffffff !important;
  border-color: #0e7544 !important;
}

/* Speeches: Dedicated Read More Button Always 100% Visible */
.ref-speech-content {
  display: flex !important;
  gap: 14px !important;
  align-items: stretch !important;
  box-sizing: border-box !important;
}

.ref-speech-photo-wrap {
  position: relative !important;
  flex-shrink: 0 !important;
  width: 130px !important;
  height: 195px !important;
}

.ref-speech-photo {
  width: 130px !important;
  height: 195px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
  border: 1px solid #cbd5e1 !important;
  display: block !important;
}

.ref-speech-right-col {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 195px !important;
  box-sizing: border-box !important;
}

.ref-speech-text-wrap {
  flex: 1 !important;
  overflow: hidden !important;
}

.ref-speech-p {
  font-size: 15.5px !important;
  line-height: 1.6 !important;
  color: #334155 !important;
  text-align: justify !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 6 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.ref-speech-action-bar {
  flex-shrink: 0 !important;
  margin-top: 6px !important;
  text-align: left !important;
}

.btn-ref-speech-more {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 3px 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0e7544 !important;
  background: #e8f5e9 !important;
  border: 1px solid #c8e6c9 !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.btn-ref-speech-more:hover {
  background: #0e7544 !important;
  color: #ffffff !important;
  border-color: #0e7544 !important;
}

/* ==========================================================================
   v5.7.4 ABOUT US: ALIGNED TO TEXT END & UNIFORM COMPACT GAPS
   ========================================================================== */
.ref-about-body {
  padding: 14px 16px 10px 16px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  display: block !important;
}

.ref-about-img-wrap {
  float: right !important;
  margin: 0 0 6px 14px !important;
  width: 44% !important;
  max-width: 380px !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.ref-about-img {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: 138px !important;
  max-height: 142px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.ref-about-text-content {
  font-size: 15.5px !important;
  color: #334155 !important;
  line-height: 1.75 !important;
  text-align: justify !important;
}

/* ==========================================================================
   v5.7.5 ABOUT US: REDUCED BOTTOM SPACING
   ========================================================================== */
.ref-about-body {
  padding: 14px 16px 10px 16px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  display: block !important;
}

.ref-about-img-wrap {
  float: right !important;
  margin: 0 0 6px 14px !important;
  width: 44% !important;
  max-width: 380px !important;
  position: relative !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   v5.7.6 ABOUT US: PERFECT 138px HEIGHT (NO GAP UNDER ARROW, EQUAL SPACING)
   ========================================================================== */
.ref-about-img {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: 138px !important;
  max-height: 142px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.ref-about-img-wrap {
  float: right !important;
  margin: 0 0 6px 14px !important;
  width: 44% !important;
  max-width: 380px !important;
  position: relative !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   v5.7.7 INNER PAGES MOBILE RESPONSIVENESS (100% PRESERVES PC VIEW)
   ========================================================================== */
@media (max-width: 768px) {
  .site-main-page-wrapper {
    padding: 15px 12px 35px 12px !important;
  }
  
  /* 1. About Us Page */
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    margin-bottom: 22px !important;
  }
  .about-stats-grid > div {
    padding: 16px 10px !important;
    border-radius: 8px !important;
  }
  .about-stats-grid > div > div:first-child {
    font-size: 28px !important;
    line-height: 1.1 !important;
  }
  .about-stats-grid > div > div:nth-child(2) {
    font-size: 13px !important;
    margin-top: 4px !important;
  }
  .about-stats-grid > div > div:last-child {
    font-size: 11px !important;
  }
  .about-history-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 18px 14px !important;
    margin-bottom: 25px !important;
    border-radius: 8px !important;
  }
  .about-campus-img-col {
    order: -1 !important;
    width: 100% !important;
  }
  .about-campus-img-frame {
    border-width: 2px !important;
    border-radius: 8px !important;
    max-height: 220px !important;
    overflow: hidden !important;
  }
  .about-campus-img {
    width: 100% !important;
    height: 190px !important;
    object-fit: cover !important;
    display: block !important;
  }
  .about-history-col h2 {
    font-size: 20px !important;
    margin-bottom: 10px !important;
  }
  .about-history-col div {
    font-size: 14.5px !important;
    line-height: 1.75 !important;
  }
  .about-action-btns {
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 18px !important;
  }
  .about-action-btns a {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
  }
  .about-speeches-wrapper h2 {
    font-size: 20px !important;
    margin-bottom: 16px !important;
  }
  .about-speeches-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .about-mission-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-bottom: 25px !important;
  }
  .about-mission-grid > div {
    padding: 18px 14px !important;
    border-radius: 8px !important;
  }
  .about-facilities-card {
    padding: 20px 14px !important;
    border-radius: 8px !important;
  }
  .about-facilities-card h2 {
    font-size: 20px !important;
    margin-bottom: 16px !important;
  }
  .about-facilities-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* 2. Contact Page */
  .contact-full-section {
    margin: 15px 0 !important;
  }
  .contact-info-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-bottom: 20px !important;
  }
  .contact-info-cards-grid > div {
    padding: 20px 16px !important;
    border-radius: 8px !important;
  }
  .contact-form-guidance-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
    padding: 20px 14px !important;
    border-radius: 8px !important;
  }
  .contact-form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .contact-submit-btn {
    width: 100% !important;
    padding: 13px !important;
    font-size: 15px !important;
  }
  .contact-map-container {
    height: 220px !important;
    width: 100% !important;
  }

  /* 3. Notice Board */
  .interactive-notice-board-card {
    padding: 16px 12px !important;
    margin: 15px 0 !important;
    border-radius: 8px !important;
  }
  .notice-archive-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }
  .notice-search-wrap {
    width: 100% !important;
  }
  .notice-search-input {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .notices-table-wrap {
    overflow-x: visible !important;
  }
  .notice-list-table {
    display: block !important;
    width: 100% !important;
    border-collapse: separate !important;
  }
  .notice-list-table thead {
    display: none !important;
  }
  .notice-list-table tbody {
    display: block !important;
    width: 100% !important;
  }
  .notice-list-table tr {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 14px !important;
    margin-bottom: 12px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03) !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  .notice-list-table td {
    display: block !important;
    padding: 0 !important;
    border: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
  }
  .notice-list-table td.td-serial {
    display: none !important;
  }
  .notice-list-table td.td-date {
    order: 1 !important;
    font-size: 12.5px !important;
    color: #64748b !important;
  }
  .notice-list-table td.td-title {
    order: 2 !important;
  }
  .notice-list-table td.td-title a {
    font-size: 15.5px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
    color: #0e7544 !important;
    display: block !important;
  }
  .notice-list-table td.td-cat {
    order: 3 !important;
  }
  .notice-list-table td.td-action {
    order: 4 !important;
    margin-top: 6px !important;
  }
  .notice-list-table td.td-action a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 9px 14px !important;
    box-sizing: border-box !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  /* 4. Routines & Syllabus */
  .routines-section-wrap {
    padding: 18px 12px !important;
    margin: 15px 0 !important;
    border-radius: 8px !important;
  }
  .routines-header-box {
    margin-bottom: 18px !important;
    padding-bottom: 12px !important;
  }
  .routines-header-box h2 {
    font-size: 20px !important;
  }
  .routines-header-box p {
    font-size: 13px !important;
  }
  .routine-tabs-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 14px !important;
    margin-bottom: 18px !important;
    justify-content: stretch !important;
  }
  .routine-tabs-nav .routine-tab-btn {
    flex: 1 1 auto !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    text-align: center !important;
    border-radius: 6px !important;
  }
  .routine-row-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 14px 12px !important;
    gap: 12px !important;
    margin-bottom: 10px !important;
  }
  .routine-item-left {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .routine-date-badge {
    flex-shrink: 0 !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
  .routine-text-col {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .routine-text-col > div:first-child {
    font-size: 14.5px !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
  }
  .routine-text-col > div:last-child {
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin-top: 3px !important;
  }
  .routine-action-wrap {
    width: 100% !important;
  }
  .routine-action-wrap .btn-rt-action {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 9px 14px !important;
    box-sizing: border-box !important;
    font-size: 13.5px !important;
  }
}
