.simplefavorite-button.active{opacity:1}.simplefavorite-button.has-count{position:relative}.simplefavorite-button.preset{display:inline-block;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;border:1px solid #ccc;-webkit-box-shadow:0 0 2px 0 rgba(0,0,0,.1),1px 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 0 2px 0 rgba(0,0,0,.1),1px 1px 1px 0 rgba(0,0,0,.1);padding:.5em 1em .5em 2em;position:relative;border-radius:2px;cursor:pointer;-webkit-transition:all .2s ease;transition:all .2s ease}.simplefavorite-button.preset:active,.simplefavorite-button.preset:focus{outline:0}.simplefavorite-button.preset i{position:absolute;font-size:1.3em;left:.3em}.simplefavorite-button.preset:hover{background-color:#333;border-color:#333;color:#fff;-webkit-transition:all .2s ease;transition:all .2s ease}.simplefavorite-button.preset.active{background-color:#333;color:#fff;border-color:#333;opacity:1}.simplefavorites-loading{margin-left:8px}.sf-icon-spinner-wrapper{display:inline-block;position:relative;min-width:1em;min-height:1em}.sf-icon-spinner{-webkit-animation:sf_rotate linear 2s infinite;animation:sf_rotate linear 2s infinite;position:absolute;top:.15em;left:0}@-webkit-keyframes sf_rotate{0%{-webkit-transform:rotate(0);transform:rotate(0);-webkit-transform-origin:center center;transform-origin:center center}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-transform-origin:center center;transform-origin:center center}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg);-webkit-transform-origin:center center;transform-origin:center center}}@keyframes sf_rotate{0%{-webkit-transform:rotate(0);transform:rotate(0);-webkit-transform-origin:center center;transform-origin:center center}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-transform-origin:center center;transform-origin:center center}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg);-webkit-transform-origin:center center;transform-origin:center center}}.favorites-list{list-style:none}.favorites-list li{zoom:1;margin:0}.favorites-list li:after,.favorites-list li:before{content:" ";display:table}.favorites-list li:after{clear:both}.favorites-list li img{float:left;margin-bottom: 10px;}.simplefavorites-modal-backdrop{position:fixed;width:0;height:0;background-color:rgba(0,0,0,.85);top:0;left:50%;z-index:998;opacity:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.simplefavorites-modal-backdrop.active{width:100%;height:100%;left:0;opacity:1;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.simplefavorites-modal-content{z-index:999;position:fixed;top:-200%;left:50%;width:50%;background-color:#fff;border-radius:2px;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-transition:all .2s ease;transition:all .2s ease;-webkit-box-shadow:2px 2px 20px 0 rgba(51,51,51,.5);box-shadow:2px 2px 20px 0 rgba(51,51,51,.5)}.simplefavorites-modal-content.small{width:400px}.simplefavorites-modal-content.active{top:50px;-webkit-transition:all .2s ease;transition:all .2s ease}.simplefavorites-modal-content.loading .modal-content-body{display:none}.simplefavorites-modal-content.loading .modal-content-loading{display:block}.simplefavorites-modal-content-body{padding:1em;max-height:300px;overflow:auto;zoom:1}.simplefavorites-modal-content-body:after,.simplefavorites-modal-content-body:before{content:" ";display:table}.simplefavorites-modal-content-body:after{clear:both}.simplefavorites-modal-content-body.no-padding{padding:0}.simplefavorites-modal-content-body.has-footer{padding-bottom:0}.simplefavorites-modal-content-interior{padding:1em 1em 0}.simplefavorites-modal-content-footer{zoom:1;padding:.7em;border-radius:0 0 2px 2px;background-color:rgba(51,51,51,.1)}.simplefavorites-modal-content-footer:after,.simplefavorites-modal-content-footer:before{content:" ";display:table}.simplefavorites-modal-content-footer:after{clear:both}.simplefavorites-button-consent-deny{float:left;opacity:.7}.simplefavorites-button-consent-accept{float:right}@media (max-width:767px){.simplefavorites-modal-content{width:90%}.simplefavorites-modal-content.active{top:20px}.simplefavorites-modal-content-body{height:300px;overflow-y:scroll;-webkit-overflow-scrolling:touch;overflow-x:hidden}}@media print{.simplefavorites-modal-backdrop,.simplefavorites-modal-content{display:none}}@font-face{font-family:favorites;src:url(fonts/favorites.eot)}@font-face{font-family:favorites;src:url(data:application/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AAAAQAAAAAAAQAAAEAAAAAAAAAAAAAAAAAAAANBAAAAAAAAAAAAAAAAgAAAAQAACAEAAAgBAAAVgQAAFYEAAAqBAAA1gQAACAEAAAABAAAAAAAAAAACgAUAB4AVgByAJ4A+gEyAUoB+AIWAioAAQAAAA0AcwADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAkAAAABAAAAAAACAAcAcgABAAAAAAADAAkAPAABAAAAAAAEAAkAhwABAAAAAAAFAAsAGwABAAAAAAAGAAkAVwABAAAAAAAKABoAogADAAEECQABABIACQADAAEECQACAA4AeQADAAEECQADABIARQADAAEECQAEABIAkAADAAEECQAFABYAJgADAAEECQAGABIAYAADAAEECQAKADQAvGZhdm9yaXRlcwBmAGEAdgBvAHIAaQB0AGUAc1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZhdm9yaXRlcwBmAGEAdgBvAHIAaQB0AGUAc2Zhdm9yaXRlcwBmAGEAdgBvAHIAaQB0AGUAc1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZhdm9yaXRlcwBmAGEAdgBvAHIAaQB0AGUAc0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=) format("truetype");font-weight:400;font-style:normal}[class*=" sf-icon-"],[class^=sf-icon-]{font-family:favorites!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.sf-icon-spinner:before{content:"\e97b"}.sf-icon-favorite:before{content:"\e9d9"}.sf-icon-checkmark:before{content:"\ea10"}.sf-icon-bookmark:before{content:"\e8e6"}.sf-icon-love:before{content:"\e87d"}.sf-icon-wishlist:before{content:"\e89a"}.sf-icon-like:before{content:"\e8dc"}.sf-icon-star-empty:before{content:"\e600"}.sf-icon-star-full:before{content:"\e601"}


body, p, span, a, div {
    font-style: normal;
}

.hs-logged-in .favBtn {
    display: block;
}

.favBtn {
    display: none;
}

/* Main container updates */
.favorites-page-container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 20px;
}

/* Two-column layout */
.favorites-main-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 30px;
}

/* Sidebar Styling */
.favorites-sidebar {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.sidebar-section {
    margin-bottom: 30px;
}

    .sidebar-section:last-child {
        margin-bottom: 0;
    }

    .sidebar-section h3 {
        color: #2c5aa0;
        font-size: 1.1em;
        margin: 0 0 15px 0;
        font-weight: 600;
        border-bottom: 2px solid #e9ecef;
        padding-bottom: 8px;
    }

/* Filter Group Styling */
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Custom Checkbox Styling */
.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
    font-size: 0.95em;
    color: #495057;
}

    .filter-checkbox input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

    .filter-checkbox .checkmark {
        position: absolute;
        left: 0;
        height: 18px;
        width: 18px;
        background-color: white;
        border: 2px solid #ced4da;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .filter-checkbox:hover .checkmark {
        border-color: #2c5aa0;
    }

    .filter-checkbox input:checked ~ .checkmark {
        background-color: #2c5aa0;
        border-color: #2c5aa0;
    }

    .filter-checkbox .checkmark:after {
        content: "";
        position: absolute;
        display: none;
        left: 5px;
        top: 2px;
        width: 4px;
        height: 8px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

    .filter-checkbox input:checked ~ .checkmark:after {
        display: block;
    }

/* Custom Radio Styling */
.filter-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
    font-size: 0.95em;
    color: #495057;
}

    .filter-radio input[type="radio"] {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

    .filter-radio .radiomark {
        position: absolute;
        left: 0;
        height: 18px;
        width: 18px;
        background-color: white;
        border: 2px solid #ced4da;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .filter-radio:hover .radiomark {
        border-color: #2c5aa0;
    }

    .filter-radio input:checked ~ .radiomark {
        background-color: #2c5aa0;
        border-color: #2c5aa0;
    }

    .filter-radio .radiomark:after {
        content: "";
        position: absolute;
        display: none;
        top: 3px;
        left: 3px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: white;
    }

    .filter-radio input:checked ~ .radiomark:after {
        display: block;
    }

/* Search Box */
.search-box {
    display: flex;
    gap: 8px;
}

    .search-box input {
        flex: 1;
        padding: 10px 12px;
        border: 2px solid #e9ecef;
        border-radius: 6px;
        font-size: 0.9em;
        transition: border-color 0.3s ease;
    }

        .search-box input:focus {
            outline: none;
            border-color: #2c5aa0;
        }

.search-btn {
    padding: 10px 12px;
    background: #2c5aa0;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .search-btn:hover {
        background: #1e3f73;
    }

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-btn {
    padding: 10px 15px;
    border: 2px solid #2c5aa0;
    background: white;
    color: #2c5aa0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .action-btn:hover {
        background: #2c5aa0;
        color: white;
    }

    .action-btn.clear-all {
        border-color: #6c757d;
        color: #6c757d;
    }

        .action-btn.clear-all:hover {
            background: #6c757d;
            color: white;
        }

/* Results Summary */
.results-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.showing-results {
    color: #6c757d;
    font-size: 0.95em;
    margin: 0;
}

.view-toggle {
    display: flex;
    gap: 5px;
}

.view-btn {
    padding: 8px 16px;
    border: 1px solid #ced4da;
    background: white;
    color: #495057;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

    .view-btn.active,
    .view-btn:hover {
        background: #2c5aa0;
        color: white;
        border-color: #2c5aa0;
    }

/* Update main content area */
.enhanced-favorites-feed .favorites-list {
    max-width: none; /* Remove the 1420px limit since we're in a grid */
}


/* Favorite button positioned above image */
.enhanced-favorites-feed .favorites-list .simplefavorites-button {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: bold;
}

.enhanced-favorites-feed .favorites-list .simplefavorites-button:hover {
    background: #ff6b6b;
    color: white;
    transform: scale(1.1);
}

.enhanced-favorites-feed .favorites-list .favorite-item-title {
    margin: 15px 0px 10px 0px;
    font-size: 18px;
    line-height: 1.4;
}


.enhanced-favorites-feed .favorites-list .favorite-item-title a:hover {
    color: #1e3f73;
}

.enhanced-favorites-feed .favorites-list .favorite-item-excerpt {
    padding: 0 0px 0px 0px;
    color: #000;
    line-height: 1.6;
    font-size: 14px;
}

.fl-page-content-lh .favorites-page-container {
    width: 100%;
    max-width: 1420px;
    margin: 0 auto;
    padding: 20px;
}

.favorites-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

    .favorites-header h1 {
        margin: 0;
        color: #2c5aa0;
        font-size: 2.5em;
    }



/* Enhanced 3-Column Grid Layout */
.favorites-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 1420px;
}

    /* Individual Favorite Cards */
    .favorites-list li {
        overflow: hidden;
        position: relative;
        display: flex;
        flex-direction: column;
        height: 100%; /* Equal height cards */
    }


    /* Featured Image Styling */
    .favorites-list img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 4px;
        margin: 0;
        display: block;
    }

    /* Content Area */
    .favorites-list li > * {
        padding: 0 0px;
    }

    .favorites-list img {
        padding: 0; /* Override padding for images */
    }

    /* Title Styling */
    .favorites-list a {
        color: #032148;
        text-decoration: none;
        display: block;
    }

        .favorites-list a:hover {
            color: #1e3f73;
        }

    /* Excerpt Styling */
    .favorites-list .post-excerpt,
    .favorites-list p {
        color: #032148;
        line-height: 1.6;
        margin: 5px 0 6px;
        font-size: 18px;
        flex-grow: 1; /* Push favorite button to bottom */
        font-style: normal;
    }

    /* Favorite Button Styling */
    .favorites-list .simplefavorites-button {
        margin: auto 0 20px 0; /* Stick to bottom */
        align-self: flex-start;
        background: #ff6b6b;
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 6px;
        font-size: 0.9em;
        cursor: pointer;
        transition: background 0.3s ease;
    }

        .favorites-list .simplefavorites-button:hover {
            background: #ff5252;
        }

        .favorites-list .simplefavorites-button.favorited {
            background: #4caf50;
        }

.simplefavorite-button {
    background-color: #dbdbdb;
}
.hs-logged-in .lh-slide-favorite {
    display: block;
}

.lh-slide-favorite {
    display: none;
}
.lh-slide-favorite, .favBtn {
    position: absolute;
    top: 5px;
    right: 5px;
    border-radius: 50px;
    overflow: hidden;
    height: 39px;
    width: 39px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: 20;
}
#ocean-facts-detail .lh-slide-favorite {
    top: 10px;
    right: 25px;
}
.lh-slide-favorite button:hover {
    border: none;
}

    .lh-slide-favorite button:hover i {
        padding: 0px;
    }
.lh-slide-card:hover .lh-slide-favorite, .fl-post-grid-post:hover .favBtn, .fl-post-feed-post:hover .favBtn, #ocean-facts-detail:hover .lh-slide-favorite, .meili-search-results > li:hover .lh-slide-favorite {
    transform: translateY(0);
    opacity: 1;
}
.lh-slide-favorite i, .favBtn i {
    font-size: 21px;
    text-align: center;
    margin: auto;
}

.lh-slide-favorite button, .favBtn button {
    padding: 8px 9px;
    display: block;
    border: 0px !important;
}
#favorites-section {
    background: #F4F7FA;
    margin-left: -20px;
    padding: 20px 15px;
    border-left: 5px solid #00A9E0;
    width: calc(100% + 20px);
    max-width: inherit;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .favorites-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .favorites-main-content {
        grid-template-columns: 250px 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .favorites-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .favorites-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .favorites-page-container {
        padding: 15px;
    }
    .favorites-main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .favorites-sidebar {
        position: static;
        order: 2; /* Move sidebar below content on mobile */
    }

    .results-summary {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* Empty State */
.favorites-list:empty::after {
    content: "No favorites yet. Start exploring and save your favorite content!";
    grid-column: 1 / -1;
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Loading State */
.favorites-feed.loading::before {
    content: "Loading your favorites...";
    display: block;
    text-align: center;
    color: #666;
    padding: 40px;
    font-style: italic;
}