/* ============================================================
   Default WP Sidebar Redesign
   Clean, minimal, modern — no borders, no box shadows
   ============================================================ */

/* Sidebar container */
.sidebar .inside-right-sidebar,
.sidebar .inside-left-sidebar {
    padding: 0;
}

/* Each widget block */
.sidebar .widget {
    margin-bottom: 32px;
    padding: 0;
}

/* Widget headings (h2/h3 inside widgets) */
.sidebar .widget .wp-block-heading,
.sidebar .widget-title,
.sidebar .widget h2,
.sidebar .widget h3 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #132337;
    margin: 0 0 18px;
    padding-bottom: 12px;
    position: relative;
    background: none;
}

.sidebar .widget .wp-block-heading::after,
.sidebar .widget-title::after,
.sidebar .widget h2::after,
.sidebar .widget h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: #f7c55a;
    border-radius: 2px;
}

/* ============================================================
   Search Widget
   ============================================================ */
.sidebar .widget_search .wp-block-search__inside-wrapper,
.sidebar .widget_search form {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.sidebar .widget_search .wp-block-search__label {
    display: none;
}

.sidebar .widget_search input.wp-block-search__input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid #e8eaed;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    background: #f8f9fa;
    font-size: 14px;
    outline: none;
    transition: background .2s ease, border-color .2s ease;
}

.sidebar .widget_search input.wp-block-search__input:focus {
    background: #fff;
    border-color: #f7c55a;
}

.sidebar .widget_search button.wp-block-search__button {
    padding: 12px 20px;
    border: 0;
    border-radius: 0 10px 10px 0;
    background: #132337;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
    display: flex;
    align-items: center;
}

.sidebar .widget_search button.wp-block-search__button:hover {
    background: #f7c55a;
    color: #111;
}

/* ============================================================
   Recent Posts Widget
   ============================================================ */
.sidebar .wp-block-latest-posts__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .wp-block-latest-posts__list li {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f3f5;
}

.sidebar .wp-block-latest-posts__list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar .wp-block-latest-posts__post-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: #475569;
    text-decoration: none;
    transition: color .2s ease;
}

.sidebar .wp-block-latest-posts__post-title:hover {
    color: #d79a32;
}

/* ============================================================
   Recent Comments Widget
   ============================================================ */
.sidebar .wp-block-latest-comments {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .wp-block-latest-comments li {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f3f5;
}

.sidebar .wp-block-latest-comments li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar .wp-block-latest-comments__comment-meta {
    font-size: 13px;
    line-height: 1.5;
    color: #94a3b8;
}

.sidebar .wp-block-latest-comments__comment-author {
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: color .2s ease;
}

.sidebar .wp-block-latest-comments__comment-author:hover {
    color: #d79a32;
}

.sidebar .wp-block-latest-comments__comment-link {
    color: #64748b;
    text-decoration: none;
    font-size: 13px;
    display: block;
    margin-top: 2px;
    transition: color .2s ease;
}

.sidebar .wp-block-latest-comments__comment-link:hover {
    color: #132337;
}

/* ============================================================
   Categories / Archives Widgets
   ============================================================ */
.sidebar .wp-block-categories-list,
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .wp-block-categories-list li,
.sidebar .widget_archive li,
.sidebar .widget_meta li {
    margin-bottom: 4px;
}

.sidebar .wp-block-categories-list li a,
.sidebar .widget_archive li a,
.sidebar .widget_meta li a {
    display: inline-block;
    padding: 8px 0;
    font-size: 14px;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s ease, padding .2s ease;
}

.sidebar .wp-block-categories-list li a:hover,
.sidebar .widget_archive li a:hover,
.sidebar .widget_meta li a:hover {
    color: #d79a32;
    padding-left: 4px;
}

/* Category count badge */
.sidebar .wp-block-categories-list li .count {
    font-size: 12px;
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 10px;
    border-radius: 100px;
    font-weight: 600;
    margin-left: 4px;
}

/* ============================================================
   Tag Cloud Widget
   ============================================================ */
.sidebar .wp-block-tag-cloud a,
.sidebar .tagcloud a {
    display: inline-block;
    margin: 0 4px 8px 0;
    padding: 6px 14px;
    font-size: 13px !important;
    color: #475569;
    background: #f4f5f7;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    transition: all .2s ease;
}

.sidebar .wp-block-tag-cloud a:hover,
.sidebar .tagcloud a:hover {
    background: #132337;
    color: #fff;
}

/* ============================================================
   Calendar Widget
   ============================================================ */
.sidebar .wp-block-calendar,
.sidebar #calendar_wrap {
    font-size: 13px;
}

.sidebar .wp-block-calendar caption {
    font-weight: 700;
    color: #132337;
    margin-bottom: 8px;
}

.sidebar .wp-block-calendar th {
    padding: 6px;
}

.sidebar .wp-block-calendar td {
    padding: 6px;
    text-align: center;
}

.sidebar .wp-block-calendar a {
    color: #d79a32;
    font-weight: 700;
    text-decoration: none;
}

/* ============================================================
   Default text widget
   ============================================================ */
.sidebar .widget_text,
.sidebar .widget_block {
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
}

.sidebar .widget_text a {
    color: #d79a32;
    text-decoration: none;
}

.sidebar .widget_text a:hover {
    text-decoration: underline;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    .sidebar .widget {
        margin-bottom: 24px;
    }

    .sidebar .widget .wp-block-heading,
    .sidebar .widget-title {
        font-size: 14px;
    }
}