
/*
Theme Name: Nutricia
Theme URI: https://nutricia.id
Author: Rizal Hans
Author URI: https://rizalhans.com
Description: Tema WordPress ringan dan responsif untuk proyek Nutricia. Mendukung custom logo, menu, widget, dan Customizer sederhana.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nutricia
Tags: custom, responsive, blog, bootstrap
*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wdth,wght@0,75..100,300..800;1,75..100,300..800&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
/* Font loading optimization */
html {
    font-display: swap;
}

@font-face {
    font-family: 'Rubik-Black';
    src: url('./assets/font/Rubik-Black.eot');
    src: url('./assets/font/Rubik-Black.eot?#iefix') format('embedded-opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik-Light';
    src: url('./assets/font/Rubik-Light.eot');
    src: url('./assets/font/Rubik-Light.eot?#iefix') format('embedded-opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik-Regular';
    src: url('./assets/font/Rubik-Regular.eot');
    src: url('./assets/font/Rubik-Regular.eot?#iefix') format('embedded-opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans-Regular';
    src: url('./assets/font/OpenSans-Regular.eot');
    src: url('./assets/font/OpenSans-Regular.eot?#iefix') format('embedded-opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans-Bold';
    src: url('./assets/font/OpenSans-Bold.eot');
    src: url('./assets/font/OpenSans-Bold.eot?#iefix') format('embedded-opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bariol-Regular';
    src: url('./assets/font/bariol_regular-webfont.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bariol-Bold';
    src: url('./assets/font/bariol_bold-webfont.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bariol-Italic';
    src: url('./assets/font/bariol_regular_italic-webfont.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
.pull-left {
    float: left !important;
}
.rubik-bold {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}
.rubik-regular {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
/* Reset & basics */
* { box-sizing: border-box; }
body { 
    margin: 0; 
    font-family: 'OpenSans-Regular', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif; 
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Rubik";
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.elementor-widget-heading .elementor-heading-title {
    color: #34348e;
}
a { text-decoration: none; }
img { max-width: 100%; height: auto; }
/* Header branding */
.custom-logo { max-height: var(--nutricia-logo-max-height, 64px); height: auto; width: auto; }
.site-title { font-size: 1.25rem; margin: 0; }
.site-description { margin: 0; opacity: .85; }

/* Menu simple fallback */
.menu-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.menu-list a { color: #fff; font-weight: 600; }
.menu-list a:hover { opacity: .85; }

/* Content */
.container { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.entry-title { margin: 1rem 0 .5rem; }
.entry-meta { color: #6c757d; font-size: .9rem; margin-bottom: 1rem; }

/* Sidebar */
.widget { margin-bottom: 1.5rem; }
.widget-title { font-weight: 700; margin-bottom: .75rem; }

/* Footer */
.site-footer { background:#0b1220; color:#cbd5e1; padding:24px 0;}
.site-footer a { color: #e2e8f0; }
#nutriciaMainMenu .nav-link { color: #094d9b; font-weight: 600; 
    font-size: 13px;
    padding-right: 15px;
    padding-left: 15px;
    text-transform: uppercase;
}
.topbar{width:100%;display:block;background:#eee;text-align:right;overflow:hidden;}
.topbar ul{margin:0;padding-left:0}
.topbar ul li{display:inline-table}
.topbar ul li a{padding:10px 15px;display:table-cell;color:#094d9b;font-size: 13px;}
.topbar ul li a:hover{text-decoration:none}
.topbar ul li:last-child a{padding-right:0}
.topbar ul li:first-child a{border-right:1px solid #ccc}
footer.site-footer {
    background: #f3f3f3;
    margin-top: 25px;
    padding: 0px;
}

footer .footer-top {
    width: 100%;
}

footer ul.menu-footer-top {
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

footer ul.menu-footer-top>li {
    float: left;
    width: 25%;
}

footer .footer-top .menu-footer-top>ul {
    display: inline-table;
    width: 30%;
}

footer .footer-top>ul li {
    list-style: none;
}

.headingfooter {
    font-family: 'Rubik-Black', 'Rubik', sans-serif;
    font-size: 20px;
    font-weight: bold;
    border-bottom: 1px solid #094d9b;
    color: #094d9b;
    padding-top: 40px;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.vdesktop>li>span>a {
    font-family: "Open Sans";
    font-size: 16px;
    color: #094d9b;
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

footer .footer-top ul li ul li a {
    font-family: 'OpenSans-Regular', 'Open Sans', sans-serif;
    font-size: 14px;
    color: #094d9b;
    display: block;
    margin-bottom: 10px;
}

footer .footer-top ul li {
    margin-bottom: 5px;
}

footer .footer-top>ul>li>ul>li>a {
    font-family: 'OpenSans-Regular', 'Open Sans', sans-serif;
    font-size: 16px;
    color: #094d9b;
}

footer ul.menu-footer-bottom>li:first-child {
    display: none;
}

footer ul.menu-footer-bottom>li {
    font-family: "Open Sans";
    font-size: 18px;
    color: #094d9b;
    display: block;
    margin-bottom: 10px;
    float: left;
    width: 25%;
}

footer ul.menu-footer-bottom>li>a {
    border-bottom: 1px solid #000;
    font-family: 'Rubik-Black', 'Rubik', sans-serif;
}
footer .footer-bottom {
    background: #ffffff;
    border-top: 15px solid #34348e;
    /* #81c6e6 */
    padding-top: 10px;
    padding-bottom: 10px;
}

footer .footer-bottom ul li {
    display: inline-table;
}

footer .footer-bottom ul.footermenu {
    margin-top: 45px;
}

footer .footer-bottom ul.footermenu li a {
    font-family: "Open Sans";
    font-size: 16px;
    color: #0256a6;
    margin-left: 15px;
    margin-right: 15px;
    font-weight: 900;
}

footer .footer-bottom ul.footermenu li:first-child a {
    margin-left: 0px;
}

footer .footer-bottom ul.footerlogo {
    text-align: right;
}
footer .footer-bottom ul.footerlogo li {
    margin-left: 15px;
    margin-right: 15px;
}
footer .footer-bottom ul.footerlogo li:last-child {
    margin-right: 0px;
}
ul.footerlogo img {
    width: 70%;
}

/* ===== POST TITLE DISPLAY SETTINGS ===== */

/* Entry title styles */
.entry-title {
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    color: #333;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.entry-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: #0256a6;
    text-decoration: none;
}

/* Responsive title sizes */
.entry-title.h4 {
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .nutricia-footer-html {
        margin: 0.5rem 0;
    }
}
.menu-footer-mobile {
    display: none;
    background: #93cff2;
    text-align: center;
    padding-bottom: 10px;
    padding-top: 20px;
}

.menu-footer-mobile ul li a {
    color: #34348e !important;
    font-family: 'OpenSans-Regular', 'Open Sans', sans-serif;
}
/* ✅ Widget Areas & Sidebar Styles */
.widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 0.5rem;
}

/* Sidebar Styles */
.sidebar-right-wrapper {
    padding: 15px 15px;
    background-color: #ffffff;
    position: relative;
    top: -100px;
    margin-left: 10px;
}

.sidebar-left .widget,
.sidebar-right .widget {
    padding: 0px;
    border-radius: 0px;
    background-color: #ebebeb;
}
.sidebar-left .title,
.sidebar-right .title {
    padding: 20px;
    position: relative;
}
.sidebar-right .title-container,
.sidebar-left .title-container,
.sidebar-left h3,
.sidebar-right h3 {
    color: #094d9b;
    font-size: 23px;
    font-weight: 600;
    z-index: 5;
}
.sidebar-right h3,
.sidebar-left h3 {
    margin-top: 10px;
    font-weight: normal;
}
.mr-80 {
    margin-right: 80px;
}
.has-text-align-center {
    text-align: center;
}
.sidebar-right .icon {
    position: absolute;
    top: 0px;
    right: -20px;
    width: 150px;
    z-index: 2;
}
.readmore_banner {
    float: right;
    margin-top: 30px;
    background: #34348e;
    color: #fff;
    padding: 2px 9px;
    border-radius: 25px;
    text-align: center;
    position: absolute;
    z-index: 10;
    bottom: 20px;
    right: 30px;
}
.readmore_banner a {
    font-size: 20px;
    color: #fff;;
}
/* Footer Widget Styles */
.footer-widgets {
    border-top: 1px solid #e9ecef;
    margin-top: 2rem;
}
.footer-widget {
    margin-bottom: 1.5rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}
.footer-widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 0.5rem;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 0.5rem;
}

.footer-widget ul li a {
    color: #094d9b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: #007cba;
}
.main-content {
    padding: 0px;
}
/* Archive Styles */
.archive-area  {
    min-height: 60vh;
    padding: 50px 0;
    border-top: 10px solid #34348e;
}
.archive-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
}

.archive-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.archive-description {
    color: #6c757d;
    font-style: italic;
}
.page article {
    position: relative;
    border-top: 10px solid #34348e;
    background-color: #ffffff;
}
.page article h1.entry-title {
    position: absolute;
    top: -100px;
    color: #34348e;
}
article .entry-content {
    padding-top: 20px;
    padding-bottom: 40px;
}
.home article {
    border-top: 0px solid #34348e;
    margin-bottom: 0px;
}
.home article .entry-content {
    padding-top: 0px;
    padding-bottom: 0px;
}
/* Responsive Widget Styles */
@media (max-width: 992px) {
    .sidebar-left,
    .sidebar-right {
        margin-top: 2rem;
        order: 2;
    }
}
.main-content.single-post {
    border-top: 10px solid #34348e;
    border-left: 2px solid #7da7d9;
    border-right: 2px solid #7da7d9;
    background-color: #fff;
    padding: 30px;
    margin-bottom: 20px;
}
.main-content.single-post .content-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .widget {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .widget-title,
    .footer-widget-title {
        font-size: 1.1rem;
    }
    
    .footer-widgets {
        padding: 1rem 0;
    }
    
    .archive-title {
        font-size: 1.5rem;
    }
}

/* Spacing adjustments when title is hidden */
.card-body > .entry-meta:first-child {
    margin-top: 0.5rem;
}

.no-title .card-body {
    padding-top: 1rem;
}

/* Admin meta box styling */
#nutricia_title_settings .inside {
    margin: 0;
    padding: 12px;
}
#nutricia_title_settings .description {
    font-style: italic;
    color: #666;
    margin-top: 8px;
}

/* ===== CONTAINER SETTINGS ===== */

/* Admin meta box styling */
#nutricia_container_settings .inside {
    margin: 0;
    padding: 12px;
}

#nutricia_container_settings select {
    margin-top: 5px;
    padding: 4px 6px;
    font-size: 13px;
}

#nutricia_container_settings .description {
    font-style: italic;
    color: #666;
    margin-top: 8px;
    font-size: 12px;
}

/* Container body classes for targeting */
body.no-container .site-content {
    /* No container - content gets no wrapper */
    display: block;
}

body.has-container .site-content {
    /* Has container wrapper - uses Bootstrap container classes */
    display: block;
    background: linear-gradient(to bottom, #fdf9f9 0%, #ffffff 100%)
}

/* ✅ Top Header Widget Styles */
.top-header-area {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 8px 0;
    font-size: 0.875rem;
}

.top-header-area .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
}

.top-header-widget {
    display: inline-block;
    margin-right: 20px;
}

.top-header-widget:last-child {
    margin-right: 0;
}

.top-header-widget-title {
    font-weight: 600;
    margin-right: 8px;
    color: #333;
}

.top-header-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 15px;
}

.top-header-widget ul li {
    display: inline-block;
}

.top-header-widget ul li a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.top-header-widget ul li a:hover {
    color: #007cba;
    text-decoration: none;
}

.top-header-widget .social-icons a {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #007cba;
    color: white;
    border-radius: 3px;
    margin-right: 5px;
    font-size: 12px;
}

.top-header-widget .social-icons a:hover {
    background: #005a87;
    color: white;
}

.top-header-widget .contact-info {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.top-header-widget .contact-info i {
    font-size: 14px;
    color: #007cba;
}

/* Top Header Responsive */
@media (max-width: 768px) {
    .top-header-area {
        text-align: center;
        padding: 10px 0;
    }
    
    .top-header-widget {
        display: block;
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .top-header-widget:last-child {
        margin-bottom: 0;
    }
    
    .top-header-widget ul {
        justify-content: center;
        gap: 10px;
    }
    
    .top-header-widget-title {
        display: block;
        margin-bottom: 5px;
    }
}

@media (max-width: 576px) {
    .top-header-widget ul {
        flex-direction: column;
        gap: 5px;
    }
    
    .top-header-widget .social-icons a {
        margin-right: 3px;
    }
}

.justify-content-center {
    margin: 0px 0px;
}

/* ✅ Archive Container Styles */
.archive .content-with-sidebar,
.category .content-with-sidebar,
.tag .content-with-sidebar,
.author .content-with-sidebar,
.date .content-with-sidebar,
.search .content-with-sidebar {
    min-height: 60vh;
}

/* Full width raw container (no-container) */
.no-container .content-with-sidebar {
    padding: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
}

.no-container .content-with-sidebar .row {
    margin: 0;
}
/* Container fluid styles */
.container-fluid.archive-container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Fixed container enhanced */
.container.archive-container {
    max-width: 1200px;
}

/* Archive header styling for different containers */
.archive-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.no-container .archive-header {
    padding: 2rem 15px 1rem;
    background: #f8f9fa;
}

.container-fluid .archive-header {
    background: #f8f9fa;
    margin: -15px -15px 2rem;
    padding: 2rem 15px 1rem;
}

/* Archive title responsive */
.archive-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .archive-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .archive-title {
        font-size: 1.75rem;
    }
    
    .archive-header {
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
    }
}

/* Archive meta info */
.archive-meta {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.archive-description {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
}

/* Category specific styling */
.category .archive-header {
    border-left: 4px solid #007cba;
    padding-left: 1.5rem;
}

.tag .archive-header {
    border-left: 4px solid #28a745;
    padding-left: 1.5rem;
}

.author .archive-header {
    border-left: 4px solid #fd7e14;
    padding-left: 1.5rem;
}

.date .archive-header {
    border-left: 4px solid #6610f2;
    padding-left: 1.5rem;
}

.search .archive-header {
    border-left: 4px solid #dc3545;
    padding-left: 1.5rem;
}

/* Posts grid for archive pages - 2 kolom */
.archive .posts-container,
.category .posts-container,
.tag .posts-container,
.author .posts-container,
.date .posts-container,
.search .posts-container {
    display: grid;
    grid-template-columns: 1fr; /* 1 kolom di mobile */
    gap: 1.5rem;
}
.wp-block-group {
    display: flex;
}
/* Responsive grid - 2 kolom di desktop */
@media (min-width: 768px) {
    .archive .posts-container,
    .category .posts-container,
    .tag .posts-container,
    .author .posts-container,
    .date .posts-container,
    .search .posts-container {
        grid-template-columns: repeat(2, 1fr); /* 2 kolom fixed */
        gap: 2rem;
    }
}

/* Archive pagination */
.archive .nav-links,
.category .nav-links,
.tag .nav-links,
.author .nav-links,
.date .nav-links,
.search .nav-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

/* No container pagination full width */
.no-container .nav-links {
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* ✅ Featured Image Styling */
.featured-image {
    margin-bottom: 2rem;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.featured-image img:hover {
    transform: scale(1.02);
}

/* Featured image responsive */
@media (max-width: 768px) {
    .featured-image {
        margin-bottom: 1.5rem;
    }
    
    .featured-image img {
        border-radius: 4px;
    }
}

/* Entry meta after featured image */
.entry-meta + .featured-image {
    margin-top: 1rem;
}


/* Responsive */
@media (max-width: 768px) {
    .post-content-widget-item {
        padding: 1rem;
    }
    
    .widget-post-title {
        font-size: 1.1rem;
    }
    
    .widget-post-meta {
        font-size: 0.8rem;
    }
}
/* ====================================
   Nutricia Slider Styling
   ==================================== */

/* Slider container */
.nutricia-slider-wrapper {
    width: 100%;
    overflow: hidden;
}

/* Slide background - controlled by customizer */
.swiper-slide {
    transition: background-color 0.3s ease;
}

/* Slider content text - controlled by customizer */
.ns-slider-content h3,
.ns-slider-content p {
    transition: color 0.3s ease;
}

/* Slider button - controlled by customizer */
.ns-slider-content .btn {
    transition: all 0.3s ease;
    font-weight: 500;
}

.ns-slider-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
    .ns-slider-content h3 {
        font-size: 1.5rem !important;
    }
    
    .ns-slider-content p {
        font-size: 0.9rem !important;
    }
}

/* Slider navigation buttons */
.swiper-button-prev,
.swiper-button-next {
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    opacity: 1;
}

/* Slider pagination dots */
.swiper-pagination-bullet {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* ====================================
   Cover Banner Styling
   ==================================== */

.nutricia-cover-banner {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    overflow: hidden;
}

.cover-banner-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover-banner-content {
    text-align: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
.cover-banner-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    bottom: 20px;
    left: 40px;
    position: absolute;
    color: #34348e;
}

/* Responsive */
@media (max-width: 768px) {
    .cover-banner-title {
        font-size: 2rem;
    }
    
    .nutricia-cover-banner {
        min-height: 250px !important;
    }
}

@media (max-width: 480px) {
    .cover-banner-title {
        font-size: 1.5rem;
    }
    
    .nutricia-cover-banner {
        min-height: 200px !important;
    }
}

/* Remove top margin from content when banner is present */
.nutricia-cover-banner + .container,
.nutricia-cover-banner + .container-fluid,
.nutricia-cover-banner + .no-container {
    margin-top: 0 !important;
}

/* Category Links Styling */
.entry-categories a {
    font-size: 18px;
    color: #34348e;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-categories a:hover {
    color: #5a5aff;
    text-decoration: underline;
}

/* Spacing after category commas */
.entry-categories a::after {
    content: '';
}

/* ====================================
   Sidebar Image/Slider Styling
   ==================================== */

.sidebar-image-widget {
    margin-bottom: 2rem;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar-image-widget .carousel {
    position: relative;
}

.sidebar-image-widget .carousel-inner {
    border-radius: 8px;
}

.sidebar-image-widget .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.sidebar-image-widget .carousel-control-prev,
.sidebar-image-widget .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-image-widget:hover .carousel-control-prev,
.sidebar-image-widget:hover .carousel-control-next {
    opacity: 1;
}

.sidebar-image-widget .carousel-control-prev {
    left: 10px;
}

.sidebar-image-widget .carousel-control-next {
    right: 10px;
}

.sidebar-image-widget .carousel-indicators {
    margin-bottom: 10px;
}

.sidebar-image-widget .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 4px;
}

.sidebar-image-widget .carousel-indicators button.active {
    background-color: #fff;
}

/* Linked images hover effect */
.sidebar-image-widget a {
    display: block;
    transition: transform 0.3s ease;
}

.sidebar-image-widget a:hover {
    transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar-image-widget {
        margin-bottom: 1.5rem;
    }
    
    .sidebar-image-widget .carousel-control-prev,
    .sidebar-image-widget .carousel-control-next {
        width: 35px;
        height: 35px;
    }
}