.elementor-99 .elementor-element.elementor-element-edb1b83{--display:flex;--padding-top:40px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-search{--e-search-input-color:var( --e-global-color-text );}.elementor-widget-search.e-focus{--e-search-input-color:var( --e-global-color-text );}.elementor-widget-search .elementor-pagination{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-99 .elementor-element.elementor-element-236f495 .e-search-input{background-color:#222C42;font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );border-radius:8px 8px 8px 8px;}.elementor-99 .elementor-element.elementor-element-236f495{--e-search-placeholder-color:#5ED8C4;--e-search-input-color:#5ED8C4;--e-search-icon-label-color:#5ED8C4;--e-search-submit-border-radius:8px 8px 8px 8px;}.elementor-99 .elementor-element.elementor-element-236f495 .e-search-submit{box-shadow:0px 6px 20px 0px rgba(0,0,0,0.5);}.elementor-99 .elementor-element.elementor-element-71c9427{--display:flex;}.elementor-99 .elementor-element.elementor-element-fe31600{--display:flex;--padding-top:40px;--padding-bottom:80px;--padding-left:0px;--padding-right:0px;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-99 .elementor-element.elementor-element-5312c42{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 60px) 0px;text-align:center;}.elementor-99 .elementor-element.elementor-element-5312c42 .elementor-heading-title{color:var( --e-global-color-primary );}.elementor-99 .elementor-element.elementor-element-6c44c01{--display:flex;}/* Start custom CSS for search, class: .elementor-element-236f495 *//* Fix search input text color when typing */
.elementor-search-form__input:focus,
.elementor-search-form__input:active,
input[type="search"]:focus,
input[type="search"]:active,
.search-field:focus,
.search-field:active {
    color: #5ED8C4 !important;
}

/* Also ensure placeholder text is visible */
.elementor-search-form__input::placeholder,
input[type="search"]::placeholder,
.search-field::placeholder {
    color: rgba(94, 216, 196, 0.6) !important;
}

/* Make sure the text is visible during typing */
.elementor-search-form__input,
input[type="search"],
.search-field {
    color: #5ED8C4 !important;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-edb1b83 *//* Style the tag list container */
.elementor-99 .elementor-element.elementor-element-edb1b83 .novel-tags-list-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Space between tags */
    justify-content: center; /* Center the tags */
}

/* Style each tag link into a "pill" */
.elementor-99 .elementor-element.elementor-element-edb1b83 .novel-tags-list-container li a {
    display: block;
    padding: 8px 16px;
    background-color: #1F2937; /* A dark gray background */
    color: #e0e0e0;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
}

.elementor-99 .elementor-element.elementor-element-edb1b83 .novel-tags-list-container li a:hover {
    background-color: #305068; /* Your theme's blue color on hover */
    color: #FFFFFF;
}/* End custom CSS */
/* Start custom CSS *//* Updated CSS targeting your actual Loop Grid structure */

/* Target your specific loop container */
.elementor-loop-container.elementor-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px !important;
}

/* Target the individual post cards */
.elementor-loop-container .elementor-post.elementor-grid-item {
    background: #1B2338 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.elementor-loop-container .elementor-post.elementor-grid-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
}

/* Target the image containers - I can see elementor-widget-image in your HTML */
.elementor-loop-container .elementor-widget-image {
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
}

/* Desktop image sizing */
@media (min-width: 901px) {
    .elementor-loop-container .elementor-widget-image {
        aspect-ratio: 2/3 !important;
        min-height: 280px !important;
    }
    
    .elementor-loop-container .elementor-post.elementor-grid-item {
        min-height: 450px !important;
    }
}

/* Mobile image sizing */
@media (max-width: 900px) {
    .elementor-loop-container .elementor-widget-image {
        aspect-ratio: 3/4 !important;
        min-height: 250px !important;
    }
}

.elementor-loop-container .elementor-widget-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.elementor-loop-container .elementor-post:hover .elementor-widget-image img {
    transform: scale(1.05) !important;
}

/* Target heading widgets (novel titles) */
.elementor-loop-container .elementor-widget-heading .elementor-heading-title {
    background: #16213e !important;
    color: #ffffff !important;
    padding: 6px 10px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: bold !important;
    display: inline-block !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
}

/* Target icon list widgets (status badges) */
.elementor-loop-container .elementor-widget-icon-list .elementor-icon-list-items {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
}

.elementor-loop-container .elementor-widget-icon-list .elementor-icon-list-item {
    background: #16213e !important;
    color: #4a9eff !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    border: 1px solid #4a9eff !important;
    font-size: 11px !important;
    display: inline-block !important;
    width: fit-content !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.elementor-loop-container .elementor-widget-icon-list .elementor-icon-list-item .elementor-icon-list-text {
    color: inherit !important;
    font-size: inherit !important;
}

/* Hide icons, keep only text */
.elementor-loop-container .elementor-widget-icon-list .elementor-icon-list-icon {
    display: none !important;
}

/* Target text editor widgets (descriptions) */
.elementor-loop-container .elementor-widget-text-editor {
    color: #cccccc !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    margin-top: auto !important;
}

.elementor-loop-container .elementor-widget-text-editor p {
    margin: 0 !important;
    color: inherit !important;
}

/* Ensure widget containers grow properly */
.elementor-loop-container .elementor-widget-container {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Responsive grid adjustments */
@media (min-width: 901px) and (max-width: 1200px) {
    .elementor-loop-container.elementor-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .elementor-loop-container.elementor-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 600px) {
    .elementor-loop-container.elementor-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}/* End custom CSS */