/*
Theme Name: SupplyOne
Theme URI: http://wordpress.org/themes/twentythirteen
Author: the WordPress team
Author URI: http://wordpress.org/
Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: twentythirteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/




/* Sidebar Widget Container */
.sidebar-widget {
    background: #f9f9f9;
    padding: 25px;
    border: 1px solid #eee;
}

/* Sidebar Title */
.sidebar-widget h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--blue); /* Matches btn-success color */
    color: #333;
}

/* List Styling */
.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    /* Adds a scrollbar if the list is too long */
    max-height: 500px; 
    overflow-y: auto;
    padding-right: 10px;
}

/* Individual List Items */
.sidebar-widget ul li {
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    transition: all 0.3s ease;
}

.sidebar-widget ul li:last-child {
    border-bottom: none;
}

/* Link Styling */
.sidebar-widget ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-widget ul li a:hover {
    color: var(--blue);
    padding-left: 5px; /* Subtle slide effect */
}

/* Scrollbar Customization (Optional) */
.sidebar-widget ul::-webkit-scrollbar {
    width: 5px;
}
.sidebar-widget ul::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}


.categorylisting .diagram{  margin-top:30px;
  margin-bottom:30px;}


.categorylisting hr{
  margin-top:30px;
  margin-bottom:30px;
}

.post-card{padding:25px;background:#fff;border-radius:0;border:1px solid #cddadc;height:100%;display:flex;flex-direction:column}

.post-thumb img{width:100%;height:auto;display:block;border-radius:0}.post-content{display:flex;flex-direction:column;flex-grow:1;margin-top:15px}.post-meta{display:flex;gap:15px;padding:0;margin-bottom:10px;list-style:none;flex-wrap:wrap}.post-meta li{display:flex;align-items:center;gap:5px;font-size:15px;color:#666}.post-content .title{font-size:18px;line-height:1.5;margin-bottom:15px}

.read-more{margin-top:auto;display:inline-flex;align-items:center;gap:5px;font-weight:500;text-decoration:none;color:var(--blue)}.post-content .title a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}



/* Container for the background image */
.post-thumb-bg {
    width: 100%;
    height: 220px; /* Set your desired uniform height here */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0; /* Optional: matches your card style */
    transition: transform 0.3s ease;
}

/* Optional: Zoom effect on hover to make it feel interactive */
.post-card:hover .post-thumb-bg {
    transform: scale(1.05);
}

/* Ensure the thumb container hides the zoom overflow */
.post-thumb {
    overflow: hidden;
    border-radius: 5px;
}