/* General Styling for Widgets
--------------------------------------------------------------*/
.widget {
    padding:10px 15px;
    border-radius: 5px;
}

.widget a {
    color: #333;
}

/* Widget Title Styling
--------------------------------------------------------------*/
.widget-title {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    text-transform: uppercase;
    border-bottom: 1px solid #d7d7d7;
    padding-bottom: 5px;
}

/* Widget Styling for select dropdowns
--------------------------------------------------------------*/
.widget select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #EEE;
    border-radius: 5px;
    outline: none !important;
}

/* Widget Styling for unordered lists
--------------------------------------------------------------*/
.widget ul, .widget ul li {
    display: block;
    width: 100%;
    padding: 0px;
    margin: 0px;
    position: relative;
}

.widget ul li a {
    display: block;
    position: relative;
    padding: 0px;
}

/* Widget Styling for table captions
--------------------------------------------------------------*/
.widget table caption {
    margin: 10px 0px;
}

/* Archive Widget
--------------------------------------------------------------*/
.widget_archive ul li {
    padding: 5px 0px;
    border-radius: 4px;
    display: block;
}
/* Calendar Widget
--------------------------------------------------------------*/
.widget_calendar table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.widget_calendar table th {
    background: #f5f5f5;
    padding: 10px;
    border: 1px solid #e1e1e1;
    font-weight: 600;
}

.widget_calendar table td {
    padding: 5px;
    font-size: 14px;
    border: 1px solid #e1e1e1;
}

.widget_calendar table td:hover {
    background: #f9f9f9;
}

.widget_calendar .wp-calendar-nav {
    display: none !important;
}

/* Gallery Widget
--------------------------------------------------------------*/
.widget_media_gallery img {
    display: block;
    max-width: 100%;
    border-radius: 5px;
    margin: 0px;
    border: 0px !important;
}

.widget_media_gallery .gallery-item {
    margin-bottom: 5px !important;
    margin-top: 5px !important;
    padding: 5px !important;
}
/* Image Widget
--------------------------------------------------------------*/
.widget_media_image img {
    max-width: 100%;
    border-radius: 5px;
    border: 0px !important;
}

/* Navigation menu in Widget
--------------------------------------------------------------*/
.widget.widget_nav_menu ul li.parent-dropdown-menu span.dropdown-menu {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #808080;
    display: inline-block;
    position: absolute;
    right: 0px;
    top: 10px;
}
.widget.widget_nav_menu ul li li {
    border: 0px;
}
.widget.widget_nav_menu ul li ul {
    padding: 15px;
    display: none;
    background: #f3f3f3;
    border-radius: 5px;
}
.widget.widget_nav_menu ul li ul.active {
    display: block;
}

/* Video Widget
--------------------------------------------------------------*/
.widget_media_video video {
    max-width: 100%;
    border-radius: 5px;
}

/* Tag Cloud Widget
--------------------------------------------------------------*/


/* Recent Comments Widget
--------------------------------------------------------------*/
.widget_recent_comments ul li {
    font-size: 14px;
    padding: 5px 0px;
}

.widget_recent_comments .comment-author-link {
    font-weight: 600;
}

.widget_recent_comments a {
    text-decoration: underline;
}

.widget_recent_comments .comment-author-link a {
    text-decoration: none;
}
/* Audio Widget
--------------------------------------------------------------*/
.widget_audio {
    text-align: center;
}

.widget_audio audio {
    max-width: 100%;
    border-radius: 5px;
}

/* Widget Recent Post
--------------------------------------------------------------*/
.fc-widget-recent-post .thumbnail-widget-recent-post {
    display: inline-block;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 45px;
    height: 45px;
}

.widget .fc-widget-recent-post li {
    padding-left: 60px;
    min-height: 50px;
    margin-bottom: 7px;
}

.widget .date-widget-recent-post {
    color: #999;
}

/* Sidebar Widget Style
-------------------------------------------------------------- */
.sidebar-template .widget-title{
    font-weight: 600;
    font-size: 20px;
    border:0px;
    text-transform: inherit;
    margin-bottom: 5px;
}
/* --- Premium Sidebar V5 Card --- */
.sidebar-template .widget {
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 20px !important;
    padding: 24px !important;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.02) !important;
    margin-bottom: 24px !important;
}

.sidebar-template .widget .widget-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1e3a8a !important;
    margin-bottom: 20px !important;
    padding-bottom: 0 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Icon for Widget Title */
.sidebar-template .widget_search .widget-title::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #1e3a8a;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") no-repeat center / contain;
}

.sidebar-template .widget_recent_entries .widget-title::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #1e3a8a;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 6 13.5 15.5 8.5 10.5 1 18'%3E%3C/polyline%3E%3Cpolyline points='17 6 23 6 23 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 6 13.5 15.5 8.5 10.5 1 18'%3E%3C/polyline%3E%3Cpolyline points='17 6 23 6 23 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
}

/* --- Search Widget V5 --- */
.sidebar-template .widget_search .search-form {
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 0 !important;
    background: #ffffff !important;
    overflow: hidden !important;
    height: 48px !important;
    transition: border-color 0.3s ease !important;
}

.sidebar-template .widget_search .search-form:focus-within {
    border-color: #1e3a8a !important;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.08) !important;
}

.sidebar-template .widget_search .input-search {
    border: none !important;
    outline: none !important;
    background: none !important;
    height: 100% !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    color: #1e3a8a !important;
    width: calc(100% - 44px) !important;
}

.sidebar-template .widget_search .input-search::placeholder {
    color: #94a3b8 !important;
}

.sidebar-template .widget_search .btn-search-submit {
    width: 44px !important;
    height: 44px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 0 !important;
    position: absolute !important;
    right: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.sidebar-template .widget_search .btn-search-submit::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #64748b;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") no-repeat center / contain;
    transition: background-color 0.3s ease !important;
}

.sidebar-template .widget_search .btn-search-submit:hover::before {
    background-color: #1e3a8a;
}

/* --- Categories Widget V5 --- */
.sidebar-template .widget_categories ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sidebar-template .widget_categories ul li {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    margin-bottom: 8px !important;
    border-radius: 12px !important;
    background-color: transparent !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.sidebar-template .widget_categories ul li a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #475569 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

.sidebar-template .widget_categories ul li a::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #94a3b8;
    transition: background-color 0.3s ease !important;
}

.sidebar-template .widget_categories ul li .post-count {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    background-color: #f1f5f9 !important;
    padding: 4px 10px !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

/* Categories Hover & Active */
.sidebar-template .widget_categories ul li:hover {
    background-color: #eff6ff !important;
}

.sidebar-template .widget_categories ul li:hover a {
    color: #1e3a8a !important;
}

.sidebar-template .widget_categories ul li:hover a::before {
    background-color: #1e3a8a;
}

.sidebar-template .widget_categories ul li:hover .post-count {
    color: #1e3a8a !important;
    background-color: #dbeafe !important;
}

.sidebar-template .widget_categories ul li.current-cat {
    background-color: #eff6ff !important;
}

.sidebar-template .widget_categories ul li.current-cat a {
    color: #1e3a8a !important;
    font-weight: 600 !important;
}

.sidebar-template .widget_categories ul li.current-cat a::before {
    background-color: #1e3a8a;
}

.sidebar-template .widget_categories ul li.current-cat .post-count {
    color: #1e3a8a !important;
    background-color: #dbeafe !important;
}

/* --- Recent Posts Widget V5 --- */
.sidebar-template .widget_recent_entries ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sidebar-template .widget_recent_entries ul li {
    display: grid !important;
    grid-template-columns: 60px 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 6px 14px !important;
    padding: 0 0 16px 0 !important;
    margin-bottom: 16px !important;
    border-bottom: 1px dashed #e2e8f0 !important;
    align-items: center !important;
    background: none !important;
}

.sidebar-template .widget_recent_entries ul li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.sidebar-template .thumbnail-widget-recent-post {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 12px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: block !important;
}

.sidebar-template .title-widget-recent-post {
    grid-column: 2 !important;
    grid-row: 1 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #1e3a8a !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color 0.3s ease !important;
}

.sidebar-template .title-widget-recent-post:hover {
    color: #dc2626 !important;
}

.sidebar-template .date-widget-recent-post {
    grid-column: 2 !important;
    grid-row: 2 !important;
    font-size: 12px !important;
    color: #94a3b8 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
}

.sidebar-template .date-widget-recent-post::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #94a3b8;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") no-repeat center / contain;
}

/* --- Sticky Sidebar --- */
@media (min-width: 992px) {
    .sidebar-template {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 24px !important;
        height: -webkit-fit-content !important;
        height: -moz-fit-content !important;
        height: fit-content !important;
        z-index: 10 !important;
    }
}

/* Styling for hover effect on the circular icon before category links
--------------------------------------------------------------*/

/* Style sidebar blog
--------------------------------------------------------------*/
.sidebar-template .content-sidebar-template .widget:first-child{
    padding-top:0px;
}

/* Style sidebar widget current taxonomy
--------------------------------------------------------------*/
.custom_sidebar_archive ul{
        display: block;
    width: 100%;
    padding: 0px;
    margin: 0px;
    position: relative;
    list-style: none;
}
.custom_sidebar_archive .title_custom_sidebar_archive,
.widget_current_taxonomy_widget .widget-title{
    font-weight:600;
    font-size:15px;
    color: var(--fc_color_secondary);
    text-transform: uppercase;
    margin:0px;
}
.custom_sidebar_archive .current-name-taxonomy,
.widget_current_taxonomy_widget .current-name-taxonomy{
    color:var(--fc_color_primary);
    margin-bottom: 10px;
    font-family: Inter, Roboto, "SF Pro Display", system-ui, sans-serif;
}
.custom_sidebar_archive ul li,
.widget_current_taxonomy_widget ul li{
    padding:0px !important;
    position: relative;
}
.custom_sidebar_archive ul ul,
.widget_current_taxonomy_widget ul ul{
    padding:0px;
    margin:0px;
}
.custom_sidebar_archive ul li a,
.widget_current_taxonomy_widget ul li a{
    font-weight: 600;
    display: block;
    color: var(--fc_color_primary);
    border-bottom: 1px solid #3a792040;
    position: relative;
    padding:10px 10px 10px 30px;
	font-size: 16px;
}
.custom_sidebar_archive ul li:last-child a,
.widget_current_taxonomy_widget ul li:last-child a{
    border-bottom: 0px;
}
.custom_sidebar_archive ul li a:before,
.widget_current_taxonomy_widget ul li a:before{
    content: "";
    width: 8px;
    height: 8px;
    background: var(--fc_color_primary);
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    left: 10px;
    top: 15px;
}
.custom_sidebar_archive ul li a:hover,
.widget_current_taxonomy_widget ul li a:hover{
    color: var(--fc_color_heading);
}
.custom_sidebar_archive ul li:hover,
.widget_current_taxonomy_widget ul li:hover {
    background-color: #71C139;
}

/* --- Tag Cloud Widget V5 --- */
.sidebar-template .widget_tag_cloud .widget-title::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #1e3a8a;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'%3E%3C/path%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'%3E%3C/line%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'%3E%3C/path%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'%3E%3C/line%3E%3C/svg%3E") no-repeat center / contain;
}

.sidebar-template .widget_tag_cloud .tagcloud {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding-top: 5px !important;
}

.sidebar-template .widget_tag_cloud .tagcloud a {
    display: inline-block !important;
    font-size: 13px !important; /* Uniform size to match mock */
    color: #64748b !important;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 30px !important;
    padding: 6px 14px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    line-height: 1.4 !important;
}

.sidebar-template .widget_tag_cloud .tagcloud a::before {
    content: "#" !important;
    color: #94a3b8 !important;
    margin-right: 2px !important;
    font-weight: 600 !important;
}

.sidebar-template .widget_tag_cloud .tagcloud a:hover {
    color: #1e3a8a !important;
    border-color: #cbd5e1 !important;
    background-color: #eff6ff !important;
}

.sidebar-template .widget_tag_cloud .tagcloud a:hover::before {
    color: #1e3a8a !important;
}

/* --- Custom CTA Widget V5 --- */
.sidebar-template .widget-custom-cta {
    background: #2240b3 !important; /* Premium dark blue background */
    border: none !important;
    border-radius: 20px !important;
    padding: 24px !important;
    color: #ffffff !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(34, 64, 179, 0.15) !important;
    margin-bottom: 24px !important;
}

.sidebar-template .widget-custom-cta .cta-icon-wrap {
    width: 44px !important;
    height: 44px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 20px !important;
}

.sidebar-template .widget-custom-cta .cta-icon-wrap svg {
    color: #facc15 !important; /* Yellow phone icon */
    width: 20px !important;
    height: 20px !important;
}

.sidebar-template .widget-custom-cta h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 10px !important;
    border: none !important;
    padding: 0 !important;
    text-transform: none !important;
    line-height: 1.3 !important;
}

.sidebar-template .widget-custom-cta p {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.5 !important;
    margin-bottom: 24px !important;
}

.sidebar-template .widget-custom-cta .cta-btn-phone {
    background: #dc2626 !important; /* Red phone button */
    color: #ffffff !important;
    border-radius: 14px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-bottom: 12px !important;
    transition: background 0.3s ease !important;
    border: none !important;
    width: 100% !important;
    font-size: 15px !important;
}

.sidebar-template .widget-custom-cta .cta-btn-phone:hover {
    background: #b91c1c !important;
}

.sidebar-template .widget-custom-cta .cta-btn-quote {
    background: transparent !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 14px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    font-size: 15px !important;
}

.sidebar-template .widget-custom-cta .cta-btn-quote:hover {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* --- Load More Button V5 --- */
#v5-btn-load-more {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 12px 32px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

#v5-btn-load-more:hover {
    background-color: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e3a8a !important;
}

#v5-btn-load-more .chevron-down-icon {
    transition: transform 0.3s ease !important;
    stroke-width: 3px !important;
}

#v5-btn-load-more:hover .chevron-down-icon {
    transform: translateY(2px) !important;
}

/* --- Single Post Content Card V5 --- */
.single-content-card-v5 {
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 20px !important;
    padding: 32px !important;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.02) !important;
    margin-bottom: 24px !important;
}

/* --- Vertical Search Widget V5 --- */
.sidebar-template .widget_search_v5_manual h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1e3a8a !important;
    margin-bottom: 20px !important;
    padding-bottom: 0 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.sidebar-template .widget_search_v5_manual h3::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #1e3a8a;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") no-repeat center / contain;
}
.sidebar-template .input-search-v5-vertical {
    width: 100% !important;
    height: 48px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    color: #1e293b !important;
    outline: none !important;
    background: #ffffff !important;
    transition: all 0.3s ease !important;
}
.sidebar-template .input-search-v5-vertical:focus {
    border-color: #1e3a8a !important;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.08) !important;
}
.sidebar-template .input-search-v5-vertical::placeholder {
    color: #94a3b8 !important;
}
.sidebar-template .btn-search-submit-v5-vertical {
    width: 100% !important;
    height: 48px !important;
    background-color: #2b44a5 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}
.sidebar-template .btn-search-submit-v5-vertical:hover {
    background-color: #1e3080 !important;
}

/* --- Post Info Widget V5 --- */
.sidebar-template .widget_post_info {
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 20px !important;
    padding: 24px !important;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.02) !important;
    margin-bottom: 24px !important;
}

.sidebar-template .widget_post_info .widget-title::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #1e3a8a;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='16' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'%3E%3C/line%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='16' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'%3E%3C/line%3E%3C/svg%3E") no-repeat center / contain;
}

.sidebar-template .widget_post_info .post-info-table {
    display: flex !important;
    flex-direction: column !important;
}

.sidebar-template .widget_post_info .post-info-table .info-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 14px !important;
}

.sidebar-template .widget_post_info .post-info-table .info-row:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.sidebar-template .widget_post_info .post-info-table .info-label {
    color: #64748b !important;
    font-weight: 500 !important;
}

.sidebar-template .widget_post_info .post-info-table .info-value {
    color: #1e293b !important;
    font-weight: 600 !important;
}

.sidebar-template .widget_post_info .post-info-table .info-value a {
    color: #2563eb !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.sidebar-template .widget_post_info .post-info-table .info-value a:hover {
    color: #1d4ed8 !important;
}

/* --- Single Post Hide Duplicate Default Search Widget --- */
/* On single posts, hide the default WP search widget from admin since we use our custom V5 vertical search */
body.single-post .sidebar-template .widget_search:not(.widget_search_v5_manual) {
    display: none !important;
}

/* --- Single Post Related Products V5 --- */
.single-related-products-v5 {
    margin-top: 20px;
}


.srp-header-v5 {
    margin-bottom: 20px;
}

.srp-title-v5 {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a8a;
}

.srp-view-all-v5 {
    font-size: 14px;
    font-weight: 600;
    color: #1e3a8a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.srp-view-all-v5:hover {
    color: #dc2626;
}

/* --- Single Post Related Posts V5 --- */
.single-relate-posts-v5 {
    margin-top: 20px;
    padding-bottom: 8px;
}