/* Main container styling */
.lc-plugin-wrapper .lc-page-container {
width: 1240px;
max-width: 1240px;
}

.lc-plugin-wrapper .lc

.lc-plugin-wrapper .lc-listing-container {
background: var(--lc-card-bg, white);
border: var(--lc-card-border, 1px solid #e5e7eb);
border-radius: var(--lc-card-radius, 0.5rem);
box-shadow: var(--lc-card-shadow, none);
overflow: hidden;
transition: all 0.2s ease;
cursor: pointer;
height: 100%;
display: flex;
flex-direction: column;
}

.lc-plugin-wrapper .lc-listing-container:hover {
box-shadow: var(--lc-card-hover-shadow, var(--lc-shadow-hover));
transform: var(--lc-card-hover-transform, none);
border-color: #d1d5db;
}

/* Featured image styling */
/*
.lc-plugin-wrapper .lc-listing-featured-image {
position: relative;
aspect-ratio: 16/9;
background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
overflow: hidden;
}

.lc-plugin-wrapper .lc-listing-featured-image {
width: 100% !important;
margin: 0 !important;
}

.lc-plugin-wrapper .lc-listing-featured-image img {
width: 100% !important;
height: auto !important;
transition: transform 0.2s ease;
aspect-ratio: 1.5 / 1; 
} */

.lc-plugin-wrapper .lc-listing-featured-image {
position: relative;
aspect-ratio: var(--lc-card-image-ratio, 1.5 / 1) !important;
background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
overflow: hidden;
width: 100% !important;
margin: 0 !important;
}

.lc-plugin-wrapper .lc-listing-featured-image img {
width: 100% !important;
height: 100% !important;
object-fit: cover !important;
transition: transform 0.2s ease;
/* ELIMINĂ aspect-ratio de pe imagine */
}

.lc-plugin-wrapper .lc-listing-internal-container {
padding: 1.25rem;
flex: 1;
display: flex;
flex-direction: column;
}

/* Title styling */
.lc-plugin-wrapper .lc-listing-title {
margin: 2px 0 9px !important;
display: flex;
align-items: flex-start;
margin-left:0 !important;
margin-right:0 !important
}

.lc-plugin-wrapper .lc-listing-title .jet-listing-dynamic-field__content, .lc-plugin-wrapper .lc-listing-title .jet-listing-dynamic-field__content a {
font-weight: 600 !important;
color: var(--lc-text);
font-size: 1.4rem;
line-height: 1.85rem;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
transition: color 0.2s ease;
}

.lc-plugin-wrapper .lc-listing-container:hover .lc-listing-title .jet-listing-dynamic-field__content {
color: var(--lc-primary);
}

/* Category/Term badge styling */
.lc-plugin-wrapper .lc-listing-term {
justify-content: flex-start;
}
.lc-plugin-wrapper .lc-terms-container {
margin: 0 !important;
z-index: 12;
padding: 0px;
}

.lc-plugin-wrapper .lc-listing-term p {
margin:0;
}

.lc-listing-term {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}

.jet-listing-dynamic-terms__link {
background-color: #f3f4f6;
color: #374151;
padding: 0.25rem 0.75rem;
border-radius: 9999px;
text-decoration: none;
font-size: 0.875rem;
font-weight: 500;
transition: all 0.2s ease;
border: 1px solid #e5e7eb;
}

.jet-listing-dynamic-terms__link:hover {
background-color: #10b981;
color: white;
border-color: #10b981;
}

.jet-listing-dynamic-terms__delimiter {
display: none;
}

.lc-plugin-wrapper .lc-listing-term .jet-listing-dynamic-field__content {
display: inline-flex;
align-items: center;
border: 1px solid #e5e7eb;
background: transparent;
color: #374151;
font-size: 0.75rem;
font-weight: 500;
padding: 0.25rem 0.625rem;
border-radius: 9999px;
}

.lc-plugin-wrapper a.jet-listing-dynamic-terms__link {
display: inline-flex;
align-items: center;
border: 1px solid #e5e7eb;
background: transparent;
color: #374151;
font-size: 0.75rem;
font-weight: 500;
padding: 0.25rem 0.625rem;
border-radius: 9999px;
z-index: 999;
}

/* Content/excerpt styling */
.lc-plugin-wrapper .lc-listing-content {
margin-top: 0.5rem;
margin-bottom: 1rem;
flex: 1;
}

.lc-plugin-wrapper .lc-listing-content .jet-listing-dynamic-field__content {
font-size: 0.875rem;
color: #6b7280;
line-height: 1.5;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}

/* Date and author section */
.lc-plugin-wrapper .wp-block-columns {
margin-top: 0rem;
border-top: 1px solid #f3f4f6;
padding-top: 0.75rem;
margin-bottom:0; 
gap: 2rem;
}

.lc-plugin-wrapper .wp-block-columns.lc-border-none,
.lc-plugin-wrapper .wp-block-columns.lc-block-columns-no-padding.lc-border-none {
border-top: 0;
padding-top: 0;
}

.lc-plugin-wrapper .lc-listing-date .jet-listing-dynamic-field__content,
.lc-plugin-wrapper .lc-listing-author .jet-listing-dynamic-field__content,
.lc-plugin-wrapper .lc-listing-author .jet-listing-dynamic-field__content a,
.lc-plugin-wrapper .lc-listing-date .jet-listing-dynamic-field__content a {
font-size: 14px;
color: #6b7280;
display: flex;
align-items: center;
gap: 0.25rem;
}

.lc-plugin-wrapper .lc-listing-author .jet-listing-dynamic-field__content,
.lc-plugin-wrapper .lc-listing-author .jet-listing-dynamic-field__content a {
text-transform: capitalize;
}

.lc-plugin-meta {
gap:6px !important;
}
.tax-lc_content_type .jet-listing-grid.jet-listing {
  margin:0 auto !important;
}
.lc-plugin-wrapper .lc-listing-date .dashicons,
.lc-plugin-wrapper .lc-listing-author .dashicons {
font-size: 1em;
width:1em;
height: 1em;
}

.lc-plugin-wrapper .lc-listing-author-avatar {
width: 22px;
height: 22px;
border-radius: 9999px;
object-fit: cover;
display: block;
}

.lc-plugin-wrapper .lc-listing-author .jet-listing-dynamic-field__icon.is-author-image {
line-height: 0;
}

/* Ensure consistent card heights if needed */
.lc-plugin-wrapper .jet-listing-grid__item {
display: flex;
flex-direction: column;
padding: 0;
}

.lc-plugin-wrapper .lc-listing-container {
height: 100%;
display: flex;
flex-direction: column;
}

/* Additional hover effects for better UX */
.lc-plugin-wrapper .lc-listing-container a {
text-decoration: none;
}

/* Active term item styling - when on knowledge centre page */
.lc-plugin-wrapper .lc-term-active-item.lc-topics-container,
.lc-plugin-wrapper .jet-listing-grid__item.lc-term-active-item .lc-topics-container,
.lc-plugin-wrapper .jet-listing-grid__items .jet-listing-grid__item.lc-term-active-item .lc-topics-container,
.lc-plugin-wrapper .jet-listing-grid__item.jet-equal-columns.lc-term-active-item .jet-engine-listing-overlay-wrap .lc-topics-container {
    background-color: var(--lc-category-active-bg, #201747) !important;
    border-color: var(--lc-category-active-border, var(--lc-primary)) !important;
    border-radius: 8px;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    transition: all 0.2s ease;
}

/* Ensure the active state persists and is visible */
.lc-plugin-wrapper .lc-term-active-item.lc-topics-container:hover,
.lc-plugin-wrapper .jet-listing-grid__item.lc-term-active-item .lc-topics-container:hover,
.lc-plugin-wrapper .jet-listing-grid__items .jet-listing-grid__item.lc-term-active-item .lc-topics-container:hover,
.lc-plugin-wrapper .jet-listing-grid__item.jet-equal-columns.lc-term-active-item .jet-engine-listing-overlay-wrap .lc-topics-container:hover {
    background-color: var(--lc-category-hover-bg, #20174729) !important;
    transform: translateY(-2px);
}

/* Active term item — title text color */
.lc-plugin-wrapper .lc-term-active-item .lc-topics-container .lc-topic-title a,
.lc-plugin-wrapper .jet-listing-grid__item.lc-term-active-item .lc-topics-container .lc-topic-title a,
.lc-plugin-wrapper .jet-listing-grid__item.jet-equal-columns.lc-term-active-item .jet-engine-listing-overlay-wrap .lc-topics-container .lc-topic-title a {
    color: var(--lc-category-active-text-color, #ffffff) !important;
}

/* Active term item — icon: remove dimming, restore full brightness */
.lc-plugin-wrapper .lc-term-active-item .lc-topics-container .lc-topic-icon,
.lc-plugin-wrapper .jet-listing-grid__item.lc-term-active-item .lc-topics-container .lc-topic-icon,
.lc-plugin-wrapper .jet-listing-grid__item.jet-equal-columns.lc-term-active-item .jet-engine-listing-overlay-wrap .lc-topics-container .lc-topic-icon {
    color: var(--lc-category-active-icon-color, #ffffff);
    filter: none;
}

.lc-plugin-wrapper .lc-term-active-item .lc-topics-container .lc-topic-icon img,
.lc-plugin-wrapper .jet-listing-grid__item.lc-term-active-item .lc-topics-container .lc-topic-icon img,
.lc-plugin-wrapper .jet-listing-grid__item.jet-equal-columns.lc-term-active-item .jet-engine-listing-overlay-wrap .lc-topics-container .lc-topic-icon img {
    filter: var(--lc-category-active-icon-filter, brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%)) !important;
}

#lc-topic-term-footer .jet-listing-grid__item.lc-term-active-item .lc-topics-container .jet-listing-dynamic-field-block.lc-topic-icon,
#lc-topic-term-footer .jet-listing-grid__item.lc-term-active-item .lc-topics-container .jet-listing.jet-listing-dynamic-field.lc-topic-icon {
    filter: none !important;
}

#lc-topic-term .jet-listing-grid__item.lc-term-active-item .lc-topics-container img.lc-topic-icon,
#lc-topic-term-footer .jet-listing-grid__item.lc-term-active-item .lc-topics-container img.lc-topic-icon {
    filter: var(--lc-category-active-icon-filter, brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%)) !important;
}

#lc-topic-term-footer .jet-listing-grid__item.lc-term-active-item .lc-topics-container .lc-topic-title a {
    color: var(--lc-category-active-text-color, #ffffff) !important;
}

#lc-topic-term .jet-listing-grid__item.jet-listing-dynamic-post-0 .jet-listing-dynamic-field-block.lc-topic-icon,
#lc-topic-term-footer .jet-listing-grid__item.jet-listing-dynamic-post-0 .jet-listing-dynamic-field-block.lc-topic-icon,
#lc-topic-term .jet-listing-grid__item.jet-listing-dynamic-post-0 .jet-listing-dynamic-field__inline-wrap,
#lc-topic-term-footer .jet-listing-grid__item.jet-listing-dynamic-post-0 .jet-listing-dynamic-field__inline-wrap,
#lc-topic-term .jet-listing-grid__item.jet-listing-dynamic-post-0 .jet-listing-dynamic-field__content,
#lc-topic-term-footer .jet-listing-grid__item.jet-listing-dynamic-post-0 .jet-listing-dynamic-field__content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#lc-topic-term .jet-listing-grid__item.jet-listing-dynamic-post-0 img.lc-topic-icon[src$="/home.svg" i],
#lc-topic-term .jet-listing-grid__item.jet-listing-dynamic-post-0 img.lc-topic-icon[src*="/home.svg?" i],
#lc-topic-term .jet-listing-grid__item.jet-listing-dynamic-post-0 img.lc-topic-icon[src*="/home.svg#" i] {
    display: block !important;
    width: 37px !important;
    min-width: 37px !important;
    height: 37px !important;
    object-fit: contain !important;
    transform: scale(1.12) !important;
    transform-origin: center !important;
}

#lc-topic-term-footer .jet-listing-grid__item.jet-listing-dynamic-post-0 img.lc-topic-icon[src$="/home.svg" i],
#lc-topic-term-footer .jet-listing-grid__item.jet-listing-dynamic-post-0 img.lc-topic-icon[src*="/home.svg?" i],
#lc-topic-term-footer .jet-listing-grid__item.jet-listing-dynamic-post-0 img.lc-topic-icon[src*="/home.svg#" i] {
    display: block !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    object-fit: contain !important;
    transform: scale(1.12) !important;
    transform-origin: center !important;
}


@media (min-width: 1024px) {
.lc-plugin-wrapper .lc-header-content {
  padding: 0 2rem;
}
.lc-plugin-wrapper .lc-margin-top-15rem {
  margin-top: 1.5rem !important;
}
.lc-plugin-wrapper .lc-related-articles-listing {
  margin-top:0; 
}
.lc-plugin-wrapper .lc-header-title {
  font-size: 37.5px !important;
  font-weight: 400 !important;
  line-height: 45px !important;
  letter-spacing: 1px !important;
  color: rgb(255, 255, 255) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: 100% !important;
  max-width: 37ch !important;
  box-sizing: border-box !important;
}
/*
h1.query-title.is-style-default.lc-header-title.lc-no-margin-top.lc-archive {
  padding: 2rem 1rem 0rem !important;
} */
.lc-plugin-wrapper .grid-col-desk-3 {
  grid-template-columns: repeat(var(--lc-card-cols-desktop, 3), 1fr);
}

.lc-plugin-wrapper .lc-page-container {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-top: 20px !important;
  margin-bottom: 10px !important;
}

.lc-plugin-wrapper .lc-listing-internal-container {
  margin: 0 !important;
  justify-content: flex-start;
}
}


@media (max-width: 900px) {
.lc-plugin-wrapper .lc-article-grid {
  grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 600px) {
.lc-plugin-wrapper .lc-header-background {
  /*min-height: 300px; */
}

.lc-plugin-wrapper .grid-col-tablet-3,
.lc-plugin-wrapper .grid-col-desk-3 {
  grid-template-columns: repeat(var(--lc-card-cols-mobile, 1), 1fr);
}
}

@media (max-width: 600px) {
.lc-plugin-wrapper {
  /*padding: 0rem 1.5rem !important;*/
}
  .lc-plugin-wrapper .entry-content.wp-block-post-content.lc-article {
  padding: 0 !important;
}

.lc-plugin-wrapper .lc-header-container {
 /* height: 320px;*/
}

.lc-plugin-wrapper .lc-article-grid {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.lc-plugin-wrapper .lc-article-card {
  padding: 1rem;
}

.lc-plugin-wrapper .lc-topic-filters {
  gap: 0.25rem;
}

.lc-plugin-wrapper .lc-listing-internal-container {
  padding: 1rem;
}

.lc-plugin-wrapper .jet-ajax-search__field,
.lc-plugin-wrapper .jet-search-filter__input {
  padding: 0.625rem 2.5rem 0.625rem 2.5rem !important;
}

.lc-plugin-wrapper .lc-header-search-input {
  padding: 0.75rem 2.25rem 0.75rem 2.25rem;
}
}

/* ================================================
   CARD HASHTAG TAGS
   ================================================ */

.lc-plugin-wrapper .lc-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    margin-bottom: 4px;
}

.lc-plugin-wrapper .lc-card-tags br {
    display: none !important;
}

.lc-plugin-wrapper .lc-card-tag {
    display: inline-flex;
    align-items: center;
    background-color: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
}

.lc-plugin-wrapper .lc-card-tag:hover {
    background-color: #10b981;
    color: white;
    border-color: #10b981;
    text-decoration: none;
}

/* ================================================
   CARD FOOTER: author left + Read Guide right
   ================================================ */

.lc-plugin-wrapper .lc-card-footer,
body.lc-route-topic #lc-topic-subcategories .lc-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding: 10px 0 0;
    gap: 8px;
}

.lc-plugin-wrapper .lc-card-footer-author {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.lc-plugin-wrapper .lc-card-footer-author .jet-listing-dynamic-field__content {
    font-size: 13px;
    color: var(--lc-text);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lc-plugin-wrapper .lc-card-footer-author .jet-listing-dynamic-field__content a {
    color: inherit;
    text-decoration: none;
    font-size: 13px;
}

.lc-plugin-wrapper .lc-card-read-guide {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    color: var(--lc-primary, #10b981);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    padding: 4px 0;
    transition: gap 0.2s ease;
    flex-shrink: 0;
}

.lc-plugin-wrapper .lc-card-read-guide:hover {
    gap: 8px;
    color: var(--lc-primary, #10b981);
    text-decoration: none;
}

.lc-plugin-wrapper .lc-card-read-guide-arrow {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 10px;
    overflow: hidden;
    color: currentColor;
    text-indent: -9999px;
    transition: transform 0.2s ease;
}

.lc-plugin-wrapper .lc-card-read-guide-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 1px;
    width: 11px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transform: translateY(-50%);
}

.lc-plugin-wrapper .lc-card-read-guide-arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1px;
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

.lc-plugin-wrapper .lc-card-read-guide:hover .lc-card-read-guide-arrow {
    transform: translateX(3px);
}
