/* ============================================================
   1. MOS VARIABLES
   ============================================================ */

:root {
    --mos-green: #283d06;
    --mos-gold: #FDD017;
    --mos-text: #000000;
    --mos-bg: #ffffff;
    --mos-font: system-ui, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}

/* ============================================================
   2. GLOBAL RESETS & BASE
   ============================================================ */

html, body {
    background-color: #283d06 !important;
    font-family: var(--mos-font) !important;
}

a { color: var(--mos-) !important; }
a:hover { color: var(--mos-gold) !important; }

/* Backend login placeholder fix */
body.com_login input::placeholder { color: #ffffff !important; }
/* Ensure editor container is not green */
/* Glossary term in report = purple */
.glossary-term,
.glossary-term a {
    color: #7a2ca7 !important;
}

/* Glossary popup text = red */
.glossary-popup,
.glossary-popup * {
    color: #cc0033 !important;
}

/* Glossary popup article link = purple */
.glossary-popup a,
.glossary-popup a:link,
.glossary-popup a:visited {
    color: #7a2ca7 !important;
    font-weight: bold;
}

.edit .editor,
.edit .jce,
.edit .jce-container {
    background: #fff !important;
}

/* Hide Popette on very large screens */
@media (min-width: 1900px) {
    #menu-popette, .menu-popette {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}
/* ============================================================
   SAFE MOS GREEN BACKGROUND SYSTEM
   ============================================================ */

/* 1. Global page background (keeps MOS identity) */
html, body {
    background-color: #283d06 !important;
}

/* 2. Content area background (OVERRIDABLE per page) */
#t3-mainbody,
.t3-mainbody,
.t3-content,
#t3-content,
.t4-content-area {
    background-color: #283d06; /* no !important */
}

/* ============================================================
   LOCKER PAGE — custom background
   ============================================================ */
body.itemid-1132 #t3-mainbody,
body.itemid-1132 .t3-mainbody,
body.itemid-1132 .t3-content,
body.itemid-1132 #t3-content,
body.itemid-1132 .t4-content-area {
    background-image: url('/images/mos-locker.png') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-color: transparent !important;
}


/* ============================================================
   FIX PAGE CONTENT TOO LOW — REMOVE HUGE TOP PADDING
   ============================================================ */

.t4-mainbody,
.t4-content-area,
.t3-mainbody,
.t3-content,
#t3-mainbody,
#t4-mainbody {
    padding-top: 20px !important;   /* MOS clean spacing */
    margin-top: 0 !important;
}
/* ============================================================
   UNIVERSAL MOS FIX — ALL CONTENT SITS TIGHT UNDER BREADCRUMBS
   ============================================================ */

.t4-mainbody,
.t4-content-area,
.t4-wrapper,
.t3-mainbody,
.t3-content,
.t3-wrapper,
#t4-mainbody,
#t3-mainbody,
#t4-content,
#t3-content,
.com-content,
.component,
.component-content,
.guru-component,
.guru-lesson,
.guru-lesson-content,
.guru-course,
.guru-course-content,
.guru-article,
.guru-article-content,
.view-category,
.view-article,
.view-courses,
.view-lessons {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ============================================================
   3. TYPOGRAPHY (HEADINGS, LINKS, BODY)
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
    color: var(--mos-green) !important;
    font-weight: 700 !important;
    background: none !important;
}

h1 { font-size: 18pt !important; }
h2, h3, h4 { font-size: 16pt !important; }

/* MOS Header Blocks */
.mos-header-block,
.section-header,
.page-header,
.entry-header {
    background: var(--mos-green) !important;
    color: var(--mos-gold) !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
    font-size: 18pt !important;
    font-weight: 700 !important;
}
/* Force header titles gold */
.page-header h1,
.entry-header h1,
.section-header h1,
.mos-header-block h1 {
    color: #FDD017 !important;
}
/* MOS Blog Headings — keep MOS green */
.blog .item h1,
.blog .item h2,
.blog .item h3,
.blog .item-page h1,
.blog .item-page h2,
.blog .item-page h3 {
    color: #283D06 !important;
}
/* ============================================================
   MOS GLOBAL TYPOGRAPHY — RESTORED
   ============================================================ */

/* Body text — MOS standard */
body,
.com-content-article,
.item-page,
.blog .item,
.blog .item-page,
.blog p,
.blog li,
.guru-lesson,
.guru-lesson *,
.guru-lesson-content,
.guru-lesson-content *,
.guru-course,
.guru-course *,
.guru-article,
.guru-article * {
    font-size: 12pt !important;
    line-height: 1.55 !important;
    color: #000000 !important;
}

/* Headings — MOS green */
h1, h2, h3, h4, h5, h6 {
    color: #283D06 !important;
    font-weight: 700 !important;
    background: none !important;
}

h1 { font-size: 18pt !important; }
h2, h3, h4 { font-size: 16pt !important; }

/* Links — MOS green + gold hover */
a {
    color: #283D06 !important;
}
a:hover {
    color: #FDD017 !important;
}
/* ============================================================
   MOS GLOBAL TYPOGRAPHY — UNIVERSAL (Homepage + Blog + Lessons)
   ============================================================ */

/* Universal body text — 11pt MOS standard */
body,
.t4-content-area,
.t4-mainbody,
.t3-content,
.t3-wrapper,
.mod-custom,
.t3-module,
.module,
.mos-card,
.mos-card-body,
.mos-tier-wrap,
.home .mos-card,
.home .mos-card-body,
.home .mod-custom,
.home .t3-module {
    font-size: 11pt !important;
    line-height: 1.55 !important;
    color: #000000 !important;
}

/* Headings — MOS green */
h1, h2, h3, h4, h5, h6,
.home h1, .home h2, .home h3 {
    color: #283D06 !important;
    font-weight: 700 !important;
}

/* Links — MOS green + gold hover */
a,
.home a {
    color: #283D06 !important;
}
a:hover,
.home a:hover {
    color: #FDD017 !important;
}
/* ============================================================
   MOS PAGE TITLES — GOLD
   Applies to all non-content page titles (Guru, T4, Joomla)
   ============================================================ */

.page-header h1,
.page-header h2,
.gru-page-title,
.guru-page-title,
.t4-page-title,
.t3-page-title,
.com-content .page-title,
.view-category .page-title,
.view-courses .page-title,
.view-lessons .page-title {
    color: #FDD017 !important;   /* MOS GOLD */
}

/* ============================================================
   4. HEADER (T3/T4)
   ============================================================ */

.no-masthead .t3-header,
.t3-header {
    background: var(--mos-green) !important;
    border: none !important;
}

/* ============================================================
   5. MAIN MENU + DROPDOWNS
   ============================================================ */

#t3-mainnav,
#t3-mainnav.navbar,
#t3-mainnav.navbar-default {
    background-color: var(--mos-green) !important;
    border: none !important;
}

#t3-mainnav .navbar-nav > li > a {
    color: #ffffff !important;
    font-weight: 600 !important;
}

#t3-mainnav .navbar-nav > li:hover > a,
#t3-mainnav .navbar-nav > li.active > a {
    color: var(--mos-gold) !important;
}

/* Dropdowns */
#t3-mainnav .dropdown-menu,
#t3-mainnav .mega-dropdown-menu {
    background-color: var(--mos-green) !important;
    padding: 0 !important;
    margin: 0 !important;
}

#t3-mainnav .dropdown-menu > li > a,
#t3-mainnav .mega-nav > li > a {
    color: #ffffff !important;
    padding: 14px 22px !important;
    font-size: 12px !important;
}

/* ============================================================
   6. BREADCRUMBS
   ============================================================ */

#t3-breadcrumbs,
.breadcrumb,
.breadcrumbs {
    background: var(--mos-green) !important;
    color: var(--mos-gold) !important;
    padding: 6px 0 !important;
    border: none !important;
}

.breadcrumb a,
.breadcrumbs a {
    color: var(--mos-gold) !important;
    font-weight: 600 !important;
}

/* ============================================================
   7. MODULES & CARDS
   ============================================================ */

.t3-module:not(.breadcrumbs),
.moduletable:not(.breadcrumbs),
.module:not(.breadcrumbs) {
    border: 1px solid var(--mos-green) !important;
    border-radius: 6px !important;
    padding: 15px !important;
    background-color: var(--mos-green) !important;
}
/* Ensure only cards have rounded corners */
.t3-module,
.moduletable,
.module {
    border-radius: 6px !important; /* cards keep rounding */
}

/* Headers stay square */
.page-header,
.entry-header,
.section-header,
.mos-header-block {
    border-radius: 0 !important;
}

/* ============================================================
   8. FOOTER
   ============================================================ */

.t3-footer,
#t4-footer {
    background-color: var(--mos-green) !important;
    color: #ffffff !important;
}

.t3-footer a,
#t4-footer a {
    color: var(--mos-gold) !important;
}

/* ============================================================
   9. HOMEPAGE (SmartSlider, cards, backgrounds)
   ============================================================ */

.home .mos-tier-wrap,
.home .mos-card {
    background: #ffffff !important;
}

.home .n2-section-smartslider {
    background: linear-gradient(
        to right,
        #D94F70 0%,
        #E8A3B5 15%,
        #283D06 40%,
        #283D06 60%,
        #E8A3B5 85%,
        #D94F70 100%
    ) !important;
}
/* Force article/content pages to white */
.item-page,
.com-content-article,
.blog-item,
.t4-content,
.t4-mainbody {
    background-color: #ffffff !important;
}



/* ============================================================
   11. GLOSSARY SYSTEM
   ============================================================ */

.mos-glossary-wrap {
    background: #ffffff !important;
    color: #000000 !important;
    padding: 22px !important;
    border-radius: 10px !important;
    border: 2px solid var(--mos-green) !important;
}

/* ============================================================
   12. WATERMARK SYSTEM (Global)
   ============================================================ */

.two-column,
.wizard-card,
.video-wrap,
.alt-block,
.mos-content,
.mos-inner,
.mos-card-body,
.mos-box {
    background-image: url("/images/moslogo.png") !important;
    background-repeat: no-repeat !important;
    background-size: 150px auto !important;
    background-position: top 20px center !important;
}

/* ============================================================
   13. SLIDERS (MOS custom slider)
   ============================================================ */

.home .mos-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

/* ============================================================
   14. MOBILE FIXES
   ============================================================ */

@media (max-width: 1024px) {
    .t3-mainnav .navbar-nav {
        background-color: #0b2e26 !important;
    }
}

/* ============================================================
   15. OVERRIDES (Final MOS rules)
   ============================================================ */

/* ============================================================
   15. OVERRIDES — FINAL MOS RULES
   ============================================================ */

/* Ensure modules/cards keep MOS black text */
.t4-module,
.module,
.mod-custom {
    color: #000000 !important;
}

/* ============================================================
   MOS BLOG — FINAL OVERRIDE
   Category blog + article view
   ============================================================ */

/* Blog cards: white background, MOS layout */
.blog .items-leading .item,
.blog .items-row .item,
.blog .item,
.blog .item-page,
.blog .article,
.blog .article-body,
.blog .article-content {
    background-color: #ffffff !important;   /* white card */
    color: #000000 !important;              /* default text black */
    border-radius: 6px !important;          /* MOS soft card corners */
    padding: 16px !important;
}

/* Blog body text: MOS reading style */
.blog .item p,
.blog .item li,
.blog .item .article-body,
.blog .item .article-content,
.blog .item-page p,
.blog .item-page li {
    color: #000000 !important;
    font-size: 12pt !important;
    line-height: 1.55 !important;
}

/* Blog headings: keep MOS green */
.blog .item h1,
.blog .item h2,
.blog .item h3,
.blog .item-page h1,
.blog .item-page h2,
.blog .item-page h3 {
    color: #283D06 !important;
}

/* Blog links: MOS green + gold hover */
.blog .item a,
.blog .item-page a {
    color: #283D06 !important;
}
.blog .item a:hover,
.blog .item-page a:hover {
    color: #FDD017 !important;
}

/* Fix JA Sensei grey text in leading + featured blog items */
.blog-featured *,
.blog .items-leading .item-content,
.blog .items-leading .item-content * {
    color: #000000 !important;
    font-size: 12pt !important;
    line-height: 1.55 !important;
}
/* ============================================================
   MOS BLOG — FIX FONT SIZE OVERRIDES
   ============================================================ */

/* Sensei wrappers that override font-size */
.blog .item .content,
.blog .item .item-content,
.blog .items-leading .item-content,
.blog .items-row .item-content,
.blog .item-page .content,
.blog .item-page .item-content {
    font-size: 12pt !important;
    line-height: 1.55 !important;
    color: #000000 !important;
}
/* ============================================================
   MOS OVERRIDE — FIX Sensei .article-detail 18px issue
   ============================================================ */

.article-detail p,
.article-detail p *,
.com-content-article .article-detail p,
.com-content-article .article-detail p * {
    font-size: 11pt !important;
    line-height: 1.55 !important;
    color: #000000 !important;
    margin-bottom: 16px !important; /* MOS spacing */
}
/* ============================================================
   MOS LOCKER TYPOGRAPHY FIX
   Ensures the Locker landing page uses MOS global font + colour
   ============================================================ */

.locker-bg,
.locker-bg * {
    font-size: 11pt !important;
    line-height: 1.55 !important;
    color: #000000 !important;
    font-family: var(--mos-font) !important;
}
/* HOME PAGE – Dramatic gumnut pink drift behind SmartSlider */
.home .n2-section-smartslider {
  background: linear-gradient(
    to right,
    #D94F70 0%,
    #E8A3B5 15%,
    #283D06 40%,
    #283D06 60%,
    #E8A3B5 85%,
    #D94F70 100%
  ) !important;
  font-family: system-ui, "Segoe UI Variable", "Segoe UI", Arial, sans-serif !important;
}

/* Stronger feathering for dramatic bush‑mist fade */
.home div[id^="n2-ss"] {
  -webkit-mask-image: radial-gradient(
    ellipse 70% 100% at center,
    black 55%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 70% 100% at center,
    black 55%,
    transparent 100%
  );
}
/* ----------------------------------------------------
   FORCE T3 LAYOUT TO STACK ON MOBILE
   Fixes Breaking page sidebars staying left/right
-----------------------------------------------------*/

@media (max-width: 768px) {

    /* Force the main layout rows to stack */
    .t3-mainbody,
    .t3-content,
    .t3-sidebar,
    .t3-sidebar-1,
    .t3-sidebar-2,
    .t3-row,
    .row {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        clear: both !important;
        display: block !important;
    }

    /* Remove T3 column widths that override stacking */
    .col-md-3,
    .col-md-4,
    .col-md-6,
    .col-md-8,
    .col-md-9,
    .col-sm-3,
    .col-sm-4,
    .col-sm-6,
    .col-sm-8,
    .col-sm-9 {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Ensure modules follow natural page order */
    .t3-sidebar-1,
    .t3-sidebar-2,
    .t3-content {
        order: initial !important;
    }
}


/* Fix for modules that override inner text */
.t3-module *,
.module *,
.moduletable * {
    font-size: 11pt !important;
    line-height: 1.55 !important;
}
/* ----------------------------------------------------
   MOS GLOBAL MODULE FONT FIX
   Forces 11pt on ALL devices (PC, laptop, tablet, mobile)
-----------------------------------------------------*/

.t3-module,
.module,
.moduletable,
.t3-sidebar .t3-module,
.t3-sidebar-1 .t3-module,
.t3-sidebar-2 .t3-module,
.t3-sidebar,
.t3-sidebar-1,
.t3-sidebar-2 {
    font-size: 11pt !important;
    line-height: 1.55 !important;
}

/* Force inner text too */
.t3-module *,
.module *,
.moduletable * {
    font-size: 11pt !important;
    line-height: 1.55 !important;
}

/* Override T3’s device-specific typography */
@media (max-width: 1200px) {
    .t3-module *,
    .module *,
    .moduletable * {
        font-size: 11pt !important;
    }
}

@media (max-width: 992px) {
    .t3-module *,
    .module *,
    .moduletable * {
        font-size: 11pt !important;
    }
}

@media (max-width: 768px) {
    .t3-module *,
    .module *,
    .moduletable * {
        font-size: 11pt !important;
    }
}

@media (max-width: 480px) {
    .t3-module *,
    .module *,
    .moduletable * {
        font-size: 11pt !important;
    }
}
/* ----------------------------------------------------
   MOS FIX FOR SAMSUNG FONT SHRINKING
   Forces modules to use true 11pt on Samsung devices
-----------------------------------------------------*/

.t3-module,
.module,
.moduletable,
.t3-module *,
.module *,
.moduletable * {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    font-size: 11pt !important;
    line-height: 1.55 !important;
}
/* ----------------------------------------------------
   MOS MOBILE MODULE WIDTH FIX
   Makes modules full-width and centred on phones
-----------------------------------------------------*/

@media (max-width: 768px) {

    /* Force modules to use the full screen width */
    .t3-module,
    .module,
    .moduletable,
    .t3-sidebar,
    .t3-sidebar-1,
    .t3-sidebar-2 {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Ensure the container itself isn't shrinking */
    .t3-mainbody,
    .t3-content,
    .t3-wrapper,
    #t3-mainbody,
    #t3-content {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Center module content */
    .t3-module > div,
    .module > div,
    .moduletable > div {
        margin: 0 auto !important;
    }
}
/* ----------------------------------------------------
   MOS ABSOLUTE GLOBAL BACKGROUND OVERRIDE
   Kill pink/cream everywhere, all wrappers
-----------------------------------------------------*/

/*
html,
body,
body.site,
body.home,
body[class*="home"],
#bd,
#t3-wrapper,
.t3-wrapper,
#t3-mainbody,
.t3-mainbody,
#t3-content,
.t3-content {
    background-color: #283D06 !important;
    background-image: none !important;
    background: #283D06 !important;
}
*/
/* ----------------------------------------------------
   MOS MOBILE CENTER FIX
   Fixes content shifting left on phones
-----------------------------------------------------*/

@media (max-width: 768px) {

    body .t3-content,
    body .t3-mainbody,
    body #t3-content,
    body #t3-mainbody {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
/* ----------------------------------------------------
   MOS SAMSUNG MOBILE CENTER FIX
-----------------------------------------------------*/

@media (max-width: 768px) {

    html, body {
        margin: 0 !important;
        padding: 0 !important;
    }

    .t3-wrapper,
    #t3-wrapper,
    .t3-mainbody,
    #t3-mainbody,
    .t3-content,
    #t3-content,
    .container,
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}
/* ============================================================
   GURU — CLEAN MOS VERSION (FINAL)
   ============================================================ */

/* ------------------------------------------------------------
   1. TYPOGRAPHY + HEADINGS
------------------------------------------------------------ */

.guru-lesson h1,
.guru-lesson h2,
.guru-course h1,
.guru-course h2 {
    font-size: 14pt !important;
    color: #283D06 !important;
    font-weight: 700 !important;
}

.guru-lesson .section-header,
.guru-lesson-content .section-header,
.guru-course .section-header,
.guru-course-content .section-header,
.guru-article .section-header,
.guru-quiz .section-header {
    background: #283D06 !important;
    color: #FDD017 !important;
    border-radius: 0 !important;
    padding: 12px 16px !important;
    font-weight: 700 !important;
}

.guru-lesson,
.guru-lesson *,
.guru-lesson-content,
.guru-lesson-content *,
.guru-course,
.guru-course *,
.guru-course-content,
.guru-course-content *,
.guru-article,
.guru-article * {
    color: #000000 !important;
}

/* ------------------------------------------------------------
   2. INNER CONTENT (CARDS) STAYS WHITE
------------------------------------------------------------ */

.guru-lesson-content,
.guru-course-content,
.guru-article-content {
    background-color: #ffffff !important;
}

/* ------------------------------------------------------------
   3. LESSON PAGE BACKGROUND = #afc191
------------------------------------------------------------ */

body.com_guru.view-lesson #t3-wrapper,
body.com_guru.view-lesson .t3-wrapper,
body.com_guru.view-lesson #t3-mainbody,
body.com_guru.view-lesson .t3-mainbody,
body.com_guru.view-lesson #t3-content,
body.com_guru.view-lesson .t3-content {
    background-color: #afc191 !important;
}

/* ------------------------------------------------------------
   4. COURSE PAGE BACKGROUND = #afc191
------------------------------------------------------------ */

body.com_guru.view-course #t3-wrapper,
body.com_guru.view-course .t3-wrapper,
body.com_guru.view-course #t3-mainbody,
body.com_guru.view-course .t3-mainbody,
body.com_guru.view-course #t3-content,
body.com_guru.view-course .t3-content {
    background-color: #afc191 !important;
}

/* ------------------------------------------------------------
   5. LOCKER + DASHBOARD + LISTS (SAFE WHITE)
------------------------------------------------------------ */

body.com_guru .guru-menu,
body.com_guru .guru-menu *,
body.com_guru .guru-dashboard,
body.com_guru .guru-dashboard *,
body.com_guru .guru-container,
body.com_guru .guru-container *,
body.com_guru .guru-content,
body.com_guru .guru-content *,
body.com_guru .guru-orders,
body.com_guru .guru-orders *,
body.com_guru .guru-my-courses,
body.com_guru .guru-my-courses * {
    background-color: #ffffff !important;
}

/* FINAL LOCKER FIX — OVERRIDE GREEN BACKGROUND */
body.com_guru:not(.view-lesson):not(.view-course) #t3-content {
    background: #ffffff !important;
}
/* KILL TEMPLATE PINK ON HOME PAGE */
.home #t3-content,
.home .t3-content,
.home #t3-mainbody,
.home .t3-mainbody {
    background: #283D06 !important; /* MOS green */
}
/* ⭐ MOS Glossary — always apply, even inside mosaccess blocks */
.mos-glossary-wrap {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #ddd;
}

.mos-glossary-wrap h2 {
    font-size: 26px;
    margin-bottom: 10px;
    font-weight: 600;
}

.mos-glossary-wrap p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.mos-glossary-buttons {
    margin-top: 20px;
}

.mos-glossary-buttons .mos-button {
    display: inline-block;
    background: #4a90e2;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.mos-glossary-footer {
    margin-top: 25px;
    font-size: 14px;
    color: #666;
    display: flex;
    gap: 15px;
    align-items: center;
}

.mos-glossary-footer img {
    border-radius: 4px;
}
/* ----------------------------------------------------
   ⭐ MOS GLOSSARY — FULL BRAND RESTORE
   Typography, spacing, colours, logo, buttons, footer
   Safe: affects ONLY .mos-glossary-wrap
---------------------------------------------------- */

/* Base container */
.mos-glossary-wrap {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin: 25px 0;
    position: relative;
    overflow: hidden;
}

/* ⭐ GOLD STAR MOS BANNER (restored) */
.mos-glossary-wrap::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 180px;
    height: 180px;
    background-image: url('/images/mos_gold_star_logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.15;
    pointer-events: none;
}

/* Typography — MOS Standard */
.mos-glossary-wrap,
.mos-glossary-wrap * {
    font-family: Arial, sans-serif !important;
    color: #222 !important;
    font-size: 11pt !important;
    line-height: 1.6 !important;
}

.mos-glossary-wrap h1,
.mos-glossary-wrap h2,
.mos-glossary-wrap h3 {
    font-family: Arial, sans-serif !important;
    color: #283d06 !important; /* MOS green */
    font-weight: 700 !important;
    margin: 0 0 14px 0 !important;
}


.mos-glossary-wrap h2 {
    font-size: 20pt !important;
}

.mos-glossary-wrap h3 {
    font-size: 16pt !important;
}

/* Paragraphs */
.mos-glossary-wrap p {
    margin: 0 0 14px 0 !important;
}

/* Buttons */
.mos-glossary-buttons {
    margin-top: 20px;
}

.mos-glossary-buttons .mos-button {
    display: inline-block;
    background: #283d06; /* MOS green */
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 11pt !important;
}


/* Footer */
.mos-glossary-footer {
    margin-top: 25px;
    font-size: 10pt !important;
    color: #666 !important;
    display: flex;
    gap: 15px;
    align-items: center;
}

.mos-glossary-footer img {
    border-radius: 4px;
    width: 80px;
    height: 80px;
}
/* MOBILE ONLY: underline menu item text in hamburger menu */
@media (max-width: 768px) {
    .t3-off-canvas .uk-nav > li > a {
        text-decoration: underline !important;
        text-decoration-color: #fdd017 !important; /* MOS gold */
        text-underline-offset: 3px !important;
    }
}
/* REMOVE WHITE OUTLINE BORDER FROM DROPDOWN MENU */
.t3-mainnav .dropdown-menu,
.dropdown-menu {
    border: none !important;
    box-shadow: none !important;
}
#mosGlossaryDynamicModal .mos-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    z-index: 999998;
}

#mosGlossaryDynamicModal .mos-modal-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 90%;
    max-width: 900px;
    max-height: 80%;
    overflow-y: auto;
    border-radius: 10px;
    padding: 20px;
    z-index: 999999;
    box-shadow: 0 0 40px rgba(0,0,0,0.4);
}

#mosGlossaryDynamicModal .mos-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
}
.seoglossary_tooltip,
.seoglossary_tooltip_iframe {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    z-index: -1 !important;
}
/* Kill ALL SEOGlossary popup layers */
.seoglossary_tooltip,
.seoglossary_tooltip_iframe,
.seoglossary_tooltip_container,
.seoglossary_tooltip_wrapper,
.seoglossary_tooltip_frame,
iframe.seoglossary_tooltip_iframe {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    z-index: -999999 !important;
    pointer-events: none !important;
}
/* FORCE BACKGROUND FOR ALL GURU TEACHER PAGES */
.t3-wrapper,
.t3-wrapper-inner,
.uk-navbar,
.wk-navbar,
.uk-form-row,
.wk-form-row,
.uk-form-controls,
.wk-form-controls {
    background-color: #afc191 !important;
}
/* GURU TEACHER AREA — MAKE BACKGROUND SOLID */
.uk-form,
.wk-form,
.uk-form-horizontal,
.wk-form-horizontal,
.uk-tab,
.wk-tab,
.uk-switcher,
.wk-switcher {
    background-color: #afc191 !important;
    padding: 20px !important;
    border-radius: 6px;
}
