/*
 * Blog singles + category/tag/date archives — Chauffeur two-column shell.
 */

/* Header band spacing and full-bleed width live in style.css, shared with the search template. */

.dg-blog-single-page #primary.content-area,
.dg-blog-single-page .dg-blog-single,
.dg-blog-archive-page #primary.content-area,
.dg-blog-archive-page .dg-blog-archive {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}
.dg-blog-single-page .row.default_row,
.dg-blog-archive-page .row.default_row {
    display: block;
}

.dg-blog-single .content-wrapper-outer,
.dg-blog-archive .content-wrapper-outer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1140px;
    width: 100%;
    margin: 0 auto 40px;
    box-sizing: border-box;
}
.dg-blog-single .main-content,
.dg-blog-archive .main-content {
    flex: 0 0 auto;
    box-sizing: border-box;
    width: 68%;
    max-width: 720px;
    min-width: 0;
    padding: 0 40px 0 15px;
}
.dg-blog-single .sidebar-content,
.dg-blog-archive .sidebar-content {
    flex: 0 0 auto;
    box-sizing: border-box;
    width: 32%;
    max-width: 350px;
    padding: 0 15px 0 0;
}
.dg-blog-single .sidebar-content > .widget:last-child,
.dg-blog-archive .sidebar-content > .widget:last-child {
    margin-bottom: 0;
}

.entry-content.dg-blog-single h1,
.entry-content.dg-blog-single h3,
.entry-content.dg-blog-single h4,
.entry-content.dg-blog-archive h1,
.entry-content.dg-blog-archive h3,
.entry-content.dg-blog-archive h4 {
    font-weight: 400;
}
.entry-content.dg-blog-single .widget h3,
.entry-content.dg-blog-archive .widget h3 {
    color: #070707;
    font-size: 20px;
    margin: 0 0 24px;
}

/* ---- news cards ------------------------------------------------------------ */
.entry-content.dg-blog-archive .news-block-wrapper-1-col-listing .news-block {
    padding: 0 0 50px;
    margin: 0 0 10px;
    border-bottom: 1px solid #e8e8e8;
    overflow: hidden;
}
.entry-content.dg-blog-archive .news-block-wrapper-1-col-listing .news-block:last-child {
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 0;
}

.entry-content.dg-blog-single .news-block > h3 a,
.entry-content.dg-blog-archive .news-block > h3 a {
    color: #424242 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}
.entry-content.dg-blog-single .news-block > h3 a:hover,
.entry-content.dg-blog-archive .news-block > h3 a:hover {
    color: #E24A49 !important;
}

.entry-content.dg-blog-archive .news-block > h3 {
    font-size: 23px;
    line-height: 1.35;
    margin: 0 0 14px;
}

/* Meta row: wrap cleanly, don't let categories dominate */
.entry-content.dg-blog-archive .news-meta,
.entry-content.dg-blog-single .news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 22px;
    border-top: 1px solid #e8e8e8;
    padding: 10px 0 0;
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.5;
    color: #626262;
}
.entry-content.dg-blog-archive .news-meta > span,
.entry-content.dg-blog-single .news-meta > span {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 4px;
    margin: 0 !important;
    max-width: 100%;
}
.entry-content.dg-blog-archive .news-meta .nm-news-category,
.entry-content.dg-blog-single .news-meta .nm-news-category {
    flex: 1 1 220px;
    min-width: 0;
}
.entry-content.dg-blog-archive .news-meta a,
.entry-content.dg-blog-single .news-meta a {
    color: #626262 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}
.entry-content.dg-blog-archive .news-meta a:hover,
.entry-content.dg-blog-single .news-meta a:hover {
    color: #E24A49 !important;
}

.entry-content.dg-blog-archive .news-meta .nm-news-author:before,
.entry-content.dg-blog-archive .news-meta .nm-news-date:before,
.entry-content.dg-blog-archive .news-meta .nm-news-category:before,
.entry-content.dg-blog-archive .news-meta .nm-news-comments:before,
.entry-content.dg-blog-single .news-meta .nm-news-author:before,
.entry-content.dg-blog-single .news-meta .nm-news-date:before,
.entry-content.dg-blog-single .news-meta .nm-news-category:before,
.entry-content.dg-blog-single .news-meta .nm-news-comments:before {
    font-family: "Font Awesome 5 Free", FontAwesome, sans-serif;
    font-weight: 900;
    color: #E24A49;
    margin-right: 8px;
    speak: none;
}
.entry-content.dg-blog-archive .news-meta .nm-news-date:before,
.entry-content.dg-blog-single .news-meta .nm-news-date:before { content: "\f073"; }
.entry-content.dg-blog-archive .news-meta .nm-news-author:before,
.entry-content.dg-blog-single .news-meta .nm-news-author:before { content: "\f303"; }
.entry-content.dg-blog-archive .news-meta .nm-news-category:before,
.entry-content.dg-blog-single .news-meta .nm-news-category:before { content: "\f02b"; }
.entry-content.dg-blog-archive .news-meta .nm-news-comments:before,
.entry-content.dg-blog-single .news-meta .nm-news-comments:before { content: "\f075"; }

/* Featured image */
.entry-content.dg-blog-single .news-block-image,
.entry-content.dg-blog-archive .news-block-image {
    margin: 0 0 24px;
}
.entry-content.dg-blog-single .news-block-image img,
.entry-content.dg-blog-archive .news-block-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Excerpt + Read More */
.entry-content.dg-blog-archive .news-description p {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #424242;
    margin: 0 0 20px !important;
}
.entry-content.dg-blog-archive .news-description p.dg-news-readmore {
    margin: 0 !important;
}
.entry-content.dg-blog-archive a.more-link {
    display: inline-block;
    background: #E24A49;
    color: #fff !important;
    font-size: 14px;
    font-weight: 400 !important;
    line-height: 1;
    text-decoration: none !important;
    padding: 11px 26px 13px;
    border-radius: 30px;
    margin: 0;
}
.entry-content.dg-blog-archive a.more-link:hover {
    opacity: 0.9;
    color: #fff !important;
}
.entry-content.dg-blog-archive a.more-link i {
    margin-left: 4px;
}

/* ---- sidebar --------------------------------------------------------------- */
.entry-content.dg-blog-archive .widget,
.entry-content.dg-blog-single .widget {
    position: relative;
    border-left: 1px solid #e8e8e8;
    padding: 12px 0 0 28px;
    margin: 0 0 48px;
}
.entry-content.dg-blog-archive .widget-block,
.entry-content.dg-blog-single .widget-block {
    position: absolute;
    top: 0;
    left: -1px;
    width: 2px;
    height: 45px;
    background: #E24A49;
}

/* Kill Luxride's global ul padding inside archive sidebars */
.dg-blog-archive-page .site-content .entry-content .sidebar-content ul,
.dg-blog-single-page .site-content .entry-content .sidebar-content ul,
.dg-search-results-page .site-content .entry-content .sidebar-content ul {
    padding-left: 0 !important;
    margin: 0;
    list-style: none;
}
.entry-content.dg-blog-archive .widget ul li,
.entry-content.dg-blog-single .widget ul li {
    position: relative;
    padding: 12px 0 12px 16px;
    margin: 0;
    border-bottom: 1px solid #e8e8e8;
    font-size: 15px;
    line-height: 1.4;
    list-style: none;
}
.entry-content.dg-blog-archive .widget ul li:last-child,
.entry-content.dg-blog-single .widget ul li:last-child {
    border-bottom: none;
}
.entry-content.dg-blog-archive .widget ul li:before,
.entry-content.dg-blog-single .widget ul li:before {
    content: "\f054";
    font-family: "Font Awesome 5 Free", FontAwesome, sans-serif;
    font-weight: 900;
    font-size: 11px;
    color: #E24A49;
    position: absolute;
    left: 0;
    top: 1.05em;
    line-height: 1;
}
.entry-content.dg-blog-archive .widget ul li a,
.entry-content.dg-blog-single .widget ul li a,
.entry-content.dg-blog-archive .news-widget-content a,
.entry-content.dg-blog-single .news-widget-content a {
    color: #424242 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}
.entry-content.dg-blog-archive .widget ul li a:hover,
.entry-content.dg-blog-single .widget ul li a:hover,
.entry-content.dg-blog-archive .news-widget-content a:hover,
.entry-content.dg-blog-single .news-widget-content a:hover {
    color: #E24A49 !important;
}

.entry-content.dg-blog-archive .news-widget-wrapper,
.entry-content.dg-blog-single .news-widget-wrapper {
    margin: 0 0 22px;
    overflow: hidden;
}
.entry-content.dg-blog-archive .news-widget-wrapper img,
.entry-content.dg-blog-single .news-widget-wrapper img {
    float: left;
    width: 70px;
    height: 70px;
    object-fit: cover;
    margin: 0 12px 0 0;
}
.entry-content.dg-blog-archive .news-widget-content h4,
.entry-content.dg-blog-single .news-widget-content h4 {
    font-size: 14px;
    line-height: 1.35;
    margin: 0 0 4px;
}
.entry-content.dg-blog-archive .news-widget-content p,
.entry-content.dg-blog-single .news-widget-content p {
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #999;
    margin: 0 !important;
}

/* Tags: bordered button chips (Chauffeur tagcloud), not plain text links.
   Target both .tagcloud and .tag-cloud-link — WP may emit either depending on version. */
.entry-content.dg-blog-archive .tagcloud,
.entry-content.dg-blog-single .tagcloud,
.entry-content.dg-blog-archive .widget_tag_cloud .tagcloud,
.entry-content.dg-blog-single .widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    line-height: 1;
    overflow: hidden;
}
.entry-content.dg-blog-archive .tagcloud a,
.entry-content.dg-blog-single .tagcloud a,
.entry-content.dg-blog-archive .widget_tag_cloud a.tag-cloud-link,
.entry-content.dg-blog-single .widget_tag_cloud a.tag-cloud-link {
    display: inline-block;
    float: none;
    box-sizing: border-box;
    margin: 0 12px 12px 0;
    padding: 12px;
    border: 1px solid #e8e8e8;
    border-radius: 0;
    background: #fff;
    color: #424242 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1;
    text-decoration: none !important;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.entry-content.dg-blog-archive .tagcloud a:hover,
.entry-content.dg-blog-single .tagcloud a:hover,
.entry-content.dg-blog-archive .widget_tag_cloud a.tag-cloud-link:hover,
.entry-content.dg-blog-single .widget_tag_cloud a.tag-cloud-link:hover {
    border-color: #E24A49;
    color: #E24A49 !important;
}

/* Pagination */
.dg-blog-archive .navigation.pagination {
    margin: 10px 0 20px;
    clear: both;
}
.dg-blog-archive .navigation.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.dg-blog-archive .navigation.pagination .page-numbers {
    display: inline-block;
    min-width: 36px;
    padding: 8px 12px;
    border: 1px solid #e8e8e8;
    color: #424242;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
}
.dg-blog-archive .navigation.pagination .page-numbers.current,
.dg-blog-archive .navigation.pagination .page-numbers:hover {
    border-color: #E24A49;
    color: #E24A49;
}

/* Comments (singles) */
.entry-content.dg-blog-single #respond-wrapper {
    clear: both;
    margin-top: 30px;
}
.entry-content.dg-blog-single #reply-title {
    font-size: 20px;
    font-weight: 400;
    color: #070707;
}
.entry-content.dg-blog-single #reply-title .title-block7 {
    display: block;
    width: 55px;
    height: 2px;
    margin: 20px 0 30px;
    background: #E24A49;
}
.entry-content.dg-blog-single .comment-form .text_input,
.entry-content.dg-blog-single .comment-form textarea.text_input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid #e8e8e8;
    padding: 12px;
    margin: 0 0 20px;
    font-size: 15px;
    color: #424242;
}
.entry-content.dg-blog-single .comment-form .text_input:focus,
.entry-content.dg-blog-single .comment-form textarea.text_input:focus {
    border-color: #66afe9;
    outline: none;
    box-shadow: 0 0 5px rgba(102, 175, 233, 0.6);
}
.entry-content.dg-blog-single #submit-button {
    background: #E24A49;
    color: #fff;
    border: none;
    padding: 12px 28px;
    cursor: pointer;
    font-size: 15px;
}
.entry-content.dg-blog-single #submit-button:hover {
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .dg-blog-single .content-wrapper-outer,
    .dg-blog-archive .content-wrapper-outer {
        flex-direction: column;
    }
    .dg-blog-single .main-content,
    .dg-blog-single .sidebar-content,
    .dg-blog-archive .main-content,
    .dg-blog-archive .sidebar-content {
        width: 100%;
        max-width: none;
        padding: 0 15px;
    }
    .dg-blog-single .sidebar-content,
    .dg-blog-archive .sidebar-content {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .entry-content.dg-blog-archive .news-block > h3 {
        font-size: 20px;
    }
}
