/* Knowledge Centre Plugin Styles */

/* License required message */
.lc-license-required {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 15px;
  border-radius: 4px;
  text-align: center;
  font-weight: 500;
  margin: 20px 0;
}
.single-lc_article hr, .tax-lc_topic hr {
margin:0;
}

/* Astra container parity for Learning Centre layouts */
.ast-container {
  max-width: 100% !important;
  padding: 0;
}

.ast-separate-container #content .ast-container {
  padding: 0;
}

span#lc-hub-results-text {
  color: var(--lc-text);
}

.lc-plugin-wrapper,
.lc-plugin-main-content {
/* Static design tokens - these are not controlled by admin panel */
--lc-primary-dark: #059669;
--lc-bg: #f9fafd;
--lc-card-bg: #fff;
--lc-border: #e0e6ed;
--lc-radius: 8px;
--lc-shadow: 0 2px 8px rgba(0,0,0,0.04);
--lc-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
--lc-icon-filter: brightness(0) saturate(100%) invert(13%) sepia(94%) saturate(7472%) hue-rotate(0deg) brightness(88%) contrast(119%);
background-color: var(--lc-background) !important;
box-sizing: border-box;
}


.lc-plugin-wrapper .jet-filters-pagination__load-more .jet-filters-pagination__link {
cursor: pointer;
display: inline-block;
padding: 8px 16px;
white-space: nowrap;
text-overflow: ellipsis;
text-decoration: none;
border: none;
border-radius: 4px;
box-shadow: none;
transition: all .3s ease;
color: var(--lc-show-more-text, var(--lc-background));
background-color: var(--lc-show-more-bg, var(--lc-primary));
}

.lc-plugin-wrapper .jet-filters-pagination__load-more .jet-filters-pagination__link:hover,
.lc-plugin-wrapper .jet-filters-pagination__load-more .jet-filters-pagination__link:focus-visible {
color: var(--lc-show-more-hover-text, var(--lc-show-more-text, var(--lc-background)));
background-color: var(--lc-show-more-hover-bg, var(--lc-show-more-bg, var(--lc-primary)));
outline: none;
}

.lc-page-container.lc-related-articles-section {
max-width: 850px !important;
margin-left: auto !important;
margin-right: auto !important;
}


.lc-plugin-wrapper .lc-plugin-main-content {
padding-left: 1.5em !important;
padding-right: 1.5em !important;
}

/* Inherit theme font for all headings and body text in plugin */
.lc-plugin-wrapper,
.lc-plugin-wrapper p,
.lc-plugin-wrapper .entry-content,
.lc-plugin-wrapper .wp-block-post-content {
font-family: var(--lc-font-family-body, inherit) !important;
font-size: var(--lc-font-size-base, inherit);
line-height: var(--lc-line-height-body, inherit);
}

.lc-plugin-wrapper h1,
.lc-plugin-wrapper h2,
.lc-plugin-wrapper h3,
.lc-plugin-wrapper h4,
.lc-plugin-wrapper h5,
.lc-plugin-wrapper h6 {
font-family: var(--lc-font-family-heading, inherit) !important;
font-weight: var(--lc-font-weight-heading, inherit);
}

:where(.wp-site-blocks *:focus) {
outline-width: 0;
}
.lc-plugin-wrapper {
  padding:0;
}

.lc-plugin-wrapper .jet-listing-grid__item p {
display: none;
}

.lc-plugin-wrapper .lc-clean-item {
 border-top: none !important;
 padding-top: 0 !important;

}

.lc-plugin-wrapper .lc-checkbox-er {
display: inline-flex;
    gap: 5px;
    margin: 0;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}
.lc-plugin-wrapper .jet-checkboxes-list .lc-checkbox-regular .jet-checkboxes-list__item .jet-checkboxes-list__decorator {
border-radius: 9999px;
}
.lc-plugin-wrapper .lc-checkbox-er span.jet-checkboxes-list__label {
font-weight: 600;
white-space: nowrap;
}

.lc-plugin-wrapper  .lc-checkbox-er input.jet-checkboxes-list__input {
margin:0 !important
}
.lc-plugin-wrapper .jet-checkboxes-list .jet-checkboxes-list__item .jet-checkboxes-list__decorator {
margin-top: 4px;
}
.lc-plugin-wrapper .entry-content p {
color: var(--lc-text);
opacity: 0.85;
text-align: left;
margin-block-start: 1em;
margin-block-end: 1em;
}
.lc-plugin-wrapper ul.wp-block-list {
margin-block-start: 1em;
margin-block-end: 1em;
padding-inline-start: 40px;
}

.lc-plugin-wrapper em {
font-style: normal;
  font-size: 1.125rem;
  color: #374151;
  font-weight: 400;
  line-height: var(--lc-line-height-body, 1.625);
}

/* Preserve heading styles for em inside headings */
.lc-plugin-wrapper h1 em,
.lc-plugin-wrapper h2 em,
.lc-plugin-wrapper h3 em,
.lc-plugin-wrapper h4 em,
.lc-plugin-wrapper h5 em,
.lc-plugin-wrapper h6 em {
    font-style: italic;
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.lc-plugin-wrapper figure {
display: block;
margin-top: 1em !important;
margin-bottom: 1em !important;

}

.lc-plugin-wrapper .lc-checkbox-er input.jet-checkboxes-list__input {
margin: 0 !important;
margin-top: 3px;
margin-right: 5px;
position: relative;
width: 16px;
height: 15px;
min-width: 14px;
min-height: 14px;
border: 1px solid #ccc;
border-radius: 3px;
}

.lc-plugin-wrapper .lc-checkbox-er .jet-checkboxes-list__button {
/*  height: 31px; */
}

.lc-plugin-wrapper .lc-author-header-text {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
}

.lc-plugin-wrapper .lc-mobile-filters-container .lc-checkbox-er .jet-checkboxes-list__button {
height: auto;
}

.lc-plugin-wrapper .lc-topic-icon {
font-size: 2rem;
color: var(--lc-category-icon-color, var(--lc-primary));
transition: color 0.2s ease;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
filter: var(--lc-category-icon-wrapper-filter, brightness(0.5));
}

.lc-plugin-wrapper .lc-topic-icon img {
filter: var(--lc-category-icon-filter, brightness(0.5));
}

.lc-plugin-wrapper :where(.wp-site-blocks *:focus) {
     outline-width: 0px;
  outline-style: none;
}
.entry-content.alignfull.wp-block-post-content.has-global-padding.is-layout-constrained.wp-block-post-content-is-layout-constrained {
padding: 0;
margin-top: 0;
}
.wp-block-group.alignfull.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
padding-top: 0 !important;
}
main#wp--skip-link--target {
margin-top: 0 !important;
}
body.lc-public-route #page > hr {
margin: 0;
}
body.lc-public-route main#wp--skip-link--target {
padding-left: 0 !important;
padding-right: 0 !important;
}
.lc-plugin-wrapper .jet-listing.jet-listing-dynamic-terms.lc-listing-term .jet-listing-dynamic-terms__link:not(:first-child),
.lc-plugin-wrapper .jet-listing.jet-listing-dynamic-terms.lc-listing-term .jet-listing-dynamic-terms__delimiter {
  display: none;
}

.lc-plugin-wrapper .lc-article:not(.lc-article-prose) h2,
.lc-plugin-wrapper .lc-article:not(.lc-article-prose) h2 strong {
margin: 1rem 0 0.8rem;
}

.lc-plugin-wrapper .lc-article:not(.lc-article-prose) h3,
.lc-plugin-wrapper .lc-article:not(.lc-article-prose) h3 strong {
margin: 1.4rem 0 0.6rem;
}

.lc-plugin-wrapper .lc-header-content.lc-article {
z-index:10;
}

.lc-plugin-wrapper .lc-article ul {
list-style: disc;
margin: 1rem 0 2rem;
}

.lc-plugin-wrapper .lc-article li {
margin: 0.2rem 0;
}

h1.wp-block-post-title {
  display: none;
}
/* Full Width Override CSS - Add this to your plugin's CSS file  HEADER SECTION START */
.lc-full-width-override {
width: 100% !important;
max-width: none !important;
margin-left: 0 !important;
margin-right: 0 !important;
}



.lc-full-width-content {
width: 100% !important;
max-width: 100% !important;
}

/* Override theme constraints */
.lc-plugin-wrapper .wp-block-group {
max-width: none !important;
}

.lc-plugin-wrapper .jet-listing-dynamic-image a {
height:100%;
}

.lc-plugin-wrapper .wp-block-group.lc-header-container,
.lc-plugin-wrapper .wp-block-group.lc-header-background,
.lc-plugin-wrapper .lc-header-container,
.lc-plugin-wrapper .lc-header-background {
width: 100% !important;
max-width: 100% !important;
}

/* Ensure header background spans full width */
.lc-header-background {
position: relative;
width: 100%;
max-width: none;
margin-left: 0;
margin-right: 0;
background-color: var(--lc-header-background, #f0d195);
}

.lc-article .lc-header-background {
height: auto;
}
/* Header curve SVG full width */
.lc-header-curve svg {
width: 100% !important;
height: auto !important;
display: block;
}

/* Hide header curve when toggled off via admin */
.lc-header-background.lc-no-curve .lc-header-curve {
display: none;
}

/* Mobile responsive adjustments */
@media (max-width: 1024px) {
.lc-plugin-wrapper .lc-article-content-container {
  padding-left: 1.5em !important;
  padding-right: 1.5em !important;
}
.lc-page-container.lc-related-articles-section {
        max-width: 100% !important;
      padding-left: 1.5em !important;
      padding-right: 1.5em !important;

}
.lc-full-width-override {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
}

@media (max-width: 839px) {
  .lc-plugin-wrapper .desktop-clear-filters {
    display: none !important;
  }
}

/* Ensure content containers respect their intended widths */
.lc-page-container {
margin: 0 auto !important;
}
.lc-page-container .lc-no-gap {
gap:0;
}

/* Utility Classes - Desktop Only */
@media (min-width: 1025px) {
  .lc-mt-20 {
    margin-top: 20px !important;
  }
}
/* HEADER SECTION END */
