/* MPM introductory topic — intentionally scoped to marked topics only. */
#wpforo #wpforo-wrap .mpm-intro-topic-title,
#wpforo #wpforo-wrap .mpm-intro-topic-title:link,
#wpforo #wpforo-wrap .mpm-intro-topic-title:visited,
#wpforo #wpforo-wrap a .mpm-intro-topic-title,
#wpforo #wpforo-wrap a:link .mpm-intro-topic-title,
#wpforo #wpforo-wrap a:visited .mpm-intro-topic-title {
    color: #004c4c !important;
}

#wpforo #wpforo-wrap .mpm-intro-first-post,
#wpforo #wpforo-wrap .mpm-intro-first-post p,
#wpforo #wpforo-wrap .mpm-intro-first-post li,
#wpforo #wpforo-wrap .mpm-intro-first-post strong,
#wpforo #wpforo-wrap .mpm-intro-first-post em {
    color: #004c4c !important;
}

#wpforo #wpforo-wrap .mpm-intro-topic-field {
    margin: 10px 0;
    padding: 10px 12px;
    border-left: 3px solid #004c4c;
}

#wpforo #wpforo-wrap .mpm-intro-topic-field strong {
    color: #004c4c;
}

#wpforo #wpforo-wrap .mpm-intro-topic-help {
    margin-top: 4px;
    font-size: 12px;
    opacity: .8;
}


/* Visually separate the MPM introductory topic from ordinary discussions. */
#wpforo #wpforo-wrap .wpf-topic:has(.mpm-intro-topic-title),
#wpforo #wpforo-wrap .wpforo-topic:has(.mpm-intro-topic-title),
#wpforo #wpforo-wrap [class*="topic"]:has(> * .mpm-intro-topic-title) {
    background-color: #f2f3f3 !important;
}

/* On the opened topic, highlight only the introductory first post. */
#wpforo #wpforo-wrap .wpf-post:has(.mpm-intro-first-post),
#wpforo #wpforo-wrap .wpforo-post:has(.mpm-intro-first-post),
#wpforo #wpforo-wrap [class*="post"]:has(.mpm-intro-first-post) {
    background-color: #f2f3f3 !important;
}

/* Fallback: the marked title/content itself still carries the same light-grey field. */
#wpforo #wpforo-wrap .mpm-intro-topic-title,
#wpforo #wpforo-wrap .mpm-intro-first-post {
    background-color: #f2f3f3;
}


/* MPM 1.5.2: wpForo Sticky remains an internal ordering mechanism only.
   Hide the native Sticky controls so moderators use only "MPM įžanginė tema". */
#wpforo #wpforo-wrap input[id^="wpf_t_sticky_"],
#wpforo #wpforo-wrap input[id^="wpf_t_sticky_"] + i,
#wpforo #wpforo-wrap input[id^="wpf_t_sticky_"] + i + label,
#wpforo #wpforo-wrap input[id^="wpf_t_sticky_"] + i + label + .wpfbs,
#wpforo #wpforo-wrap .wpf-action.wpforo-sticky,
#wpforo #wpforo-wrap .wpf-action.wpforo-unsticky {
    display: none !important;
}

/* Existing MPM intro topics are still technically sticky so they stay first,
   but the native [Sticky]/[Svarbi] status label must not be shown to readers. */
#wpforo #wpforo-wrap .mpm-intro-topic-title .wpf-status-title {
    display: none !important;
}

/* In topic lists, suppress the native thumbtack for MPM intro topics.
   The MPM colour/background is the visual identifier instead. */
#wpforo #wpforo-wrap .topic-wrap:has(.mpm-intro-topic-title) .wpforo-topic-icon .fa-thumbtack,
#wpforo #wpforo-wrap .wpf-thread:has(.mpm-intro-topic-title) .fa-thumbtack {
    display: none !important;
}


/* MPM 1.5.3: the heading on the opened topic page must remain 100% native wpForo.
   Intro-topic styling is intentionally applied only to list titles and the first post. */
