/* ═══════════════════════════════════════════════════════════════════════════
   MAIN CSS — async loaded (non-critical / below-the-fold styles)
   Diet Rehub: same class names, minimal rules
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Article Cards: News List (query-type1) ────────────────────────────── */
.news-community {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.news-community .news-thumb {
    flex-shrink: 0;
    width: 200px;
}

.news-community .news-thumb img {
    border-radius: 4px;
    width: 100%;
    height: auto;
}

.news-community .newsdetail {
    flex: 1;
}

.news-community .newsdetail h2 {
    font-size: 17px;
    margin-bottom: 6px;
    line-height: 1.35;
}

.news-community .newsdetail h2 a {
    color: #111;
}

.news-community .newsdetail h2 a:hover {
    color: #e43917;
}

.news-community .post-meta-line {
    font-size: 12px;
    margin-bottom: 8px;
}

.news-community .post-meta-line span {
    margin-right: 10px;
}

.news-community .excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* ── Article Cards: Blog (query-type2) ─────────────────────────────────── */
.blog-card {
    border-bottom: 1px solid rgba(206, 206, 206, 0.3);
    padding-bottom: 30px;
}

.blog-card-thumb img {
    border-radius: 4px;
    width: 100%;
}

.blog-card-content h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.blog-card-content h2 a {
    color: #111;
}

.blog-card-content h2 a:hover {
    color: #e43917;
}

.blog-card .post-meta-line {
    font-size: 12px;
}

.blog-card .post-meta-line span {
    margin-right: 10px;
}

.blog-card .excerpt {
    color: #555;
    line-height: 1.7;
}

.read-more {
    color: #e43917;
    font-size: 14px;
}

/* ── Magazine News (alt list card) ─────────────────────────────────────── */
.magazinenews {
    position: relative;
    margin-bottom: 30px;
}

/* ── Post Categories ───────────────────────────────────────────────────── */
.cat-link {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #e43917;
    margin-right: 8px;
    letter-spacing: 0.5px;
}

/* ── Post Meta ─────────────────────────────────────────────────────────── */
.post-meta {
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.post-meta img {
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}

.post-meta a {
    color: #666;
}

.post-meta a:hover {
    color: #e43917;
}

.post-meta-date,
.post-meta-reading,
.post-meta-comments {
    color: #888;
}

/* ── Featured Image ────────────────────────────────────────────────────── */
.featured-image img {
    border-radius: 6px;
    width: 100%;
}

/* ── Entry Content ─────────────────────────────────────────────────────── */
.entry-content {
    font-size: 17px;
    line-height: 1.85;
    color: #333;
}

.entry-content p {
    margin-bottom: 1.2em;
}

.entry-content h2 {
    font-size: 24px;
    margin: 1.5em 0 0.5em;
    font-family: Montserrat, "trebuchet ms", sans-serif;
    font-weight: 700;
}

.entry-content h3 {
    font-size: 20px;
    margin: 1.3em 0 0.4em;
    font-family: Montserrat, "trebuchet ms", sans-serif;
    font-weight: 700;
}

.entry-content h4 {
    font-size: 17px;
    margin: 1.2em 0 0.3em;
    font-weight: 700;
}

.entry-content img {
    border-radius: 4px;
    margin: 1em auto;
}

.entry-content a {
    color: #e43917;
    text-decoration: underline;
}

.entry-content blockquote {
    border-left: 4px solid #e43917;
    padding: 15px 20px;
    margin: 1.5em 0;
    background: #f9f9f9;
    font-style: italic;
    color: #555;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.entry-content table th,
.entry-content table td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.entry-content table th {
    background: #f5f5f5;
    font-weight: 600;
}

.entry-content ul,
.entry-content ol {
    margin: 0.8em 0 0.8em 1.5em;
    list-style-position: outside;
}

.entry-content li {
    margin-bottom: 0.4em;
}

.entry-content pre {
    background: #1a1a2e;
    color: #eee;
    padding: 16px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 14px;
    margin: 1em 0;
}

.entry-content code {
    font-family: 'Fira Code', monospace;
    font-size: 0.9em;
}

/* ── Social Share ──────────────────────────────────────────────────────── */
.social-share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #555;
    transition: all 0.2s;
}

.share-btn:hover {
    background: #e43917;
    color: #fff;
}

/* ── Review System (rate_bar_wrap) ─────────────────────────────────────── */
.rate_bar_wrap {
    padding: 30px;
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #fafafa;
}

.review-top {
    overflow: hidden;
}

.overall-score {
    float: left;
    width: 100px;
    margin: 0 20px 10px 0;
    background: #e43917;
    border-radius: 6px;
    text-align: center;
}

.overall {
    display: block;
    padding: 8px 0;
    color: #fff;
    font-size: 52px;
    font-weight: 300;
    line-height: 1.1;
}

.overall-text {
    display: block;
    text-align: center;
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    padding: 0 0 8px;
    letter-spacing: 1px;
}

.review-header {
    font-size: 26px;
    font-weight: 700;
    font-family: Montserrat, "trebuchet ms", sans-serif;
    margin-bottom: 9px;
    color: #000;
}

.review-text p {
    color: #555;
    margin-top: 5px;
    line-height: 1.6;
}

/* Criteria Bars */
.review-criteria {
    margin-top: 20px;
    padding-top: 40px;
    border-top: 1px dashed #d2d2d2;
}

.rate-bar {
    position: relative;
    margin-bottom: 34px;
    background: #ddd;
    height: 6px;
    border-radius: 3px;
}

.rate-bar-bar {
    height: 6px;
    border-radius: 3px;
    transition: width 0.6s ease;
}

.rate-bar-title {
    position: absolute;
    top: -22px;
    left: 0;
    font-size: 14px;
    color: #333;
}

.rate-bar-percent {
    position: absolute;
    top: -22px;
    right: 0;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

/* Score Colors */
.r_score_10,
.r_score_9 {
    background: #e43917;
}

.r_score_8 {
    background: #e43917;
}

.r_score_7 {
    background: #ff8c00;
}

.r_score_6 {
    background: #ffc107;
}

.r_score_5 {
    background: #999;
}

.r_score_4 {
    background: #777;
}

/* Pros / Cons */
.pros_cons_values_in_rev {
    margin-top: 20px;
}

.wpsm-one-half {
    width: 48%;
    float: left;
    position: relative;
}

.wpsm-column-first {
    margin-right: 4%;
}

.wpsm-column-last {
    margin-right: 0;
}

.wpsm_pros {
    padding: 20px;
    border: 1px solid #58c649;
    border-radius: 4px;
    background: rgba(88, 198, 73, 0.05);
}

.wpsm_cons {
    padding: 20px;
    border: 1px solid #f24f4f;
    border-radius: 4px;
    background: rgba(242, 79, 79, 0.05);
}

.title_pros {
    color: #58c649;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 15px;
}

.title_cons {
    color: #f24f4f;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 15px;
}

.wpsm_pros ul,
.wpsm_cons ul {
    list-style: none;
    padding: 0;
}

.wpsm_pros ul li::before {
    content: "✓ ";
    color: #58c649;
    font-weight: 700;
}

.wpsm_cons ul li::before {
    content: "✗ ";
    color: #f24f4f;
    font-weight: 700;
}

.wpsm_pros ul li,
.wpsm_cons ul li {
    margin-bottom: 6px;
    font-size: 14px;
}

/* User Rating */
.user-rating-summary {
    font-size: 14px;
}

/* ── Breadcrumbs ───────────────────────────────────────────────────────── */
.rh_breadcrumbs_wrap {
    font-size: 12px;
    color: #888;
}

.rh_breadcrumbs_wrap a {
    color: #888;
}

.rh_breadcrumbs_wrap a:hover {
    color: #e43917;
}

.bc-sep {
    margin: 0 5px;
}

/* ── Author Box ────────────────────────────────────────────────────────── */
.author-box {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    border: 1px solid #eee;
    border-radius: 6px;
}

.author-box img {
    border-radius: 50%;
    flex-shrink: 0;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    font-size: 13px;
    color: #666;
}

/* ── Related Posts ─────────────────────────────────────────────────────── */
.related-posts h3 {
    font-size: 18px;
}

.col_wrap_four {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.col_wrap_four .col_item {
    flex: 1 1 calc(25% - 12px);
    min-width: 140px;
}

.col_wrap_four .col_item img {
    border-radius: 4px;
    margin-bottom: 8px;
}

.col_wrap_four .col_item h4 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
}

.col_wrap_four .col_item h4 a {
    color: #111;
}

.col_wrap_four .col_item h4 a:hover {
    color: #e43917;
}

/* ── Grid Columns ──────────────────────────────────────────────────────── */
.col_wrap_three {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -11px;
}

.col_wrap_three .col_item {
    flex: 1 1 calc(33.33% - 22px);
    margin: 0 11px;
    min-width: 200px;
}

.col_wrap_three .footer_widget {
    padding-top: 25px;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer-bottom {
    background: #111;
    color: #aaa;
}

.footer-bottom.dark_style {
    background: #111;
}

.footer-bottom .widget-title {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-bottom .widget {
    margin-bottom: 20px;
}

.footer-bottom a {
    color: #ccc;
}

.footer-bottom a:hover {
    color: #e43917;
}

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

.footer-bottom li {
    padding: 3px 0;
    font-size: 13px;
}

#theme_footer {
    background: #000;
    color: #888;
    font-size: 13px;
}

#theme_footer a {
    color: #ccc;
}

#theme_footer a:hover {
    color: #fff;
}

/* ── Page Navigation ──────────────────────────────────────────────────── */
.page-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 25px 0 10px;
    margin-top: 10px;
}

.page-navigation a,
.page-navigation span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.page-navigation a:hover {
    background: #f5f5f5;
    border-color: #ccc;
    color: #e43917;
}

.page-navigation .current {
    background: #e43917;
    border-color: #e43917;
    color: #fff;
}

.page-navigation .dots {
    border: none;
    padding: 0 4px;
    min-width: auto;
}

.page-navigation .prev,
.page-navigation .next {
    font-weight: 500;
    font-size: 13px;
}

/* ── Ads Centering ────────────────────────────────────────────────────── */
.code-block {
    text-align: center !important;
    max-width: 1080px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 20px;
    box-sizing: border-box;
}

.code-block a {
    display: block !important;
}

.code-block img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
}

#footercustomarea {
    text-align: center;
}

#footercustomarea img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* ── Back To Top ───────────────────────────────────────────────────────── */
.rehub_scroll {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 100;
}

.rehub_scroll.visible {
    opacity: 1;
    visibility: visible;
}

.rehub_scroll:hover {
    background: #e43917;
}

/* ── Sidebar Widgets ───────────────────────────────────────────────────── */
.sidebar .widget {
    margin-bottom: 25px;
}

.sidebar .widget-title {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e43917;
}

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

.sidebar .widget li {
    padding: 5px 0;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar .widget li a {
    color: #333;
}

.sidebar .widget li a:hover {
    color: #e43917;
}

/* ── Pagination ────────────────────────────────────────────────────────── */
.pagination {
    margin: 30px 0;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    color: #333;
}

.pagination .page-numbers.current {
    background: #e43917;
    color: #fff;
    border-color: #e43917;
}

.pagination .page-numbers:hover {
    border-color: #e43917;
    color: #e43917;
}

/* ── Section Titles ────────────────────────────────────────────────────── */
.wpsm-title {
    margin-bottom: 25px;
}

.wpsm-title .font140 {
    font-size: 22px;
    color: #111;
}

.wpsm-cat-title {
    border-bottom: 2px solid #e43917;
    padding-bottom: 10px;
}

/* ── 404 ───────────────────────────────────────────────────────────────── */
.error-404 h1 {
    font-size: 120px;
    color: #e43917;
}

.error-404 h2 {
    font-size: 24px;
    color: #333;
}

/* ── Mobile Menu Overlay ───────────────────────────────────────────────── */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: #fff;
    z-index: 997;
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu-overlay .menu {
    list-style: none;
    padding: 0;
}

.mobile-menu-overlay .menu li {
    border-bottom: 1px solid #eee;
}

.mobile-menu-overlay .menu li a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.mobile-menu-overlay .menu li .sub-menu {
    padding-left: 20px;
}

.mobile-menu-overlay .menu li .sub-menu li a {
    font-size: 14px;
    font-weight: 400;
}

/* ── Post Tags ─────────────────────────────────────────────────────────── */
.post-tags a {
    display: inline-block;
    padding: 3px 10px;
    background: #f0f0f0;
    border-radius: 3px;
    font-size: 12px;
    color: #555;
    margin: 2px;
}

.post-tags a:hover {
    background: #e43917;
    color: #fff;
}

/* ── Responsive BF (below-fold specific) ───────────────────────────────── */
@media (max-width: 768px) {
    .news-community {
        flex-direction: column;
    }

    .news-community .news-thumb {
        width: 100%;
    }

    .wpsm-one-half {
        width: 100%;
        float: none;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .col_wrap_three .col_item {
        flex: 1 1 100%;
    }

    .col_wrap_four .col_item {
        flex: 1 1 calc(50% - 8px);
    }

    .review-top .overall-score {
        float: none;
        margin: 0 auto 15px;
    }

    .review-text {
        text-align: center;
    }

    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .col_wrap_four .col_item {
        flex: 1 1 100%;
    }

    .overall {
        font-size: 40px;
    }

    .review-header {
        font-size: 20px;
    }

    .entry-content {
        font-size: 15px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   COMMENTS — styled to match Rehub comment layout
   ═══════════════════════════════════════════════════════════════════════════ */

/* Comment List */
.comments-area {
    margin-top: 30px;
}

.comments-area h3 {
    font-size: 20px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .children {
    list-style: none;
    padding-left: 30px;
    margin: 0;
}

/* Individual Comment */
.comment-item {
    padding: 15px 0;
}

.comment-body {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.comment-author-avatar img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
    min-width: 0;
}

.comment-meta {
    display: flex;
    gap: 10px;
    align-items: baseline;
    flex-wrap: wrap;
}

.comment-author-name {
    font-size: 14px;
}

.comment-author-name a {
    color: #333;
}

.comment-author-name a:hover {
    color: #e43917;
}

.comment-date {
    font-size: 12px;
}

.comment-text {
    font-size: 14px;
    line-height: 1.65;
    color: #444;
    margin-top: 6px;
}

.comment-text p {
    margin-bottom: 0.6em;
}

.comment-reply a {
    color: #e43917;
    font-size: 12px;
    text-decoration: none;
}

.comment-reply a:hover {
    text-decoration: underline;
}

/* Comment Navigation */
.comment-navigation {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.comment-navigation a {
    color: #e43917;
}

/* Comment Form */
#respond {
    margin-top: 25px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-form label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #e43917;
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-submit-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #e43917;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    align-self: flex-start;
}

.comment-submit-btn:hover {
    background: #c22e10;
}

.comment-awaiting-moderation {
    font-size: 13px;
}

/* ── WP Blocks / Gutenberg Compatibility ───────────────────────────────── */
.wp-block-image {
    margin: 1.5em 0;
}

.wp-block-image img {
    border-radius: 4px;
}

.wp-block-image figcaption {
    font-size: 13px;
    color: #888;
    text-align: center;
    margin-top: 6px;
}

.wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1.5em 0;
}

.wp-block-gallery .wp-block-image {
    flex: 1 1 calc(33.33% - 6px);
    margin: 0;
}

.wp-block-embed {
    margin: 1.5em 0;
}

.wp-block-embed iframe {
    max-width: 100%;
}

.wp-block-separator {
    border: none;
    border-top: 1px solid #ddd;
    margin: 2em 0;
}

.wp-block-button__link {
    display: inline-block;
    padding: 10px 24px;
    background: #e43917;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
}

.wp-block-button__link:hover {
    background: #c22e10;
    color: #fff;
}

.wp-block-quote {
    border-left: 4px solid #e43917;
    padding: 15px 20px;
    background: #f9f9f9;
    margin: 1.5em 0;
}

.wp-block-quote p {
    margin: 0;
    font-style: italic;
}

.wp-block-quote cite {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #888;
    font-style: normal;
}

/* ── WordPress Core Alignment Classes ──────────────────────────────────── */
.alignleft {
    float: left;
    margin: 0 20px 15px 0;
}

.alignright {
    float: right;
    margin: 0 0 15px 20px;
}

.aligncenter {
    display: block;
    margin: 1em auto;
}

.alignnone {
    margin: 1em 0;
}

.alignwide {
    margin-left: -60px;
    margin-right: -60px;
    max-width: calc(100% + 120px);
}

.alignfull {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
}

/* ── WordPress Caption ─────────────────────────────────────────────────── */
.wp-caption {
    max-width: 100%;
    margin: 1em 0;
}

.wp-caption img {
    border-radius: 4px;
}

.wp-caption-text {
    font-size: 13px;
    color: #888;
    text-align: center;
    margin-top: 6px;
}

/* ── Gallery (Classic Editor) ──────────────────────────────────────────── */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1.5em 0;
}

.gallery-item {
    flex: 1 1 calc(33.33% - 6px);
    margin: 0;
    overflow: hidden;
}

.gallery-item img {
    border-radius: 4px;
    width: 100%;
}

.gallery-caption {
    font-size: 12px;
    color: #888;
}

@media (max-width: 768px) {
    .comment-list .children {
        padding-left: 15px;
    }

    .comment-body {
        gap: 8px;
    }

    .comment-author-avatar img {
        width: 36px;
        height: 36px;
    }

    .alignwide {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    .alignfull {
        margin-left: -15px;
        margin-right: -15px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FRONT PAGE — homepage-specific layout (matches original Rehub)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Featured Divider — hatched lines with FEATURED label */
.featured-divider {
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.featured-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: repeating-linear-gradient(90deg, #999 0, #999 3px, transparent 3px, transparent 6px);
}

.featured-label {
    position: relative;
    background: #fff;
    padding: 0 15px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #999;
}

/* ── Split layout: big post LEFT + small news RIGHT ── */
.front-latest-split {
    display: flex !important;
    flex-direction: row !important;
    gap: 25px;
    margin-bottom: 30px;
}

/* Override clearfix which adds display:table and breaks flex */
.front-latest-split::after {
    display: none !important;
}

.front-big-post {
    flex: 0 0 55%;
    max-width: 55%;
    min-width: 0;
}

.front-big-post figure {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.front-big-post img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.cat-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.front-small-news {
    flex: 1;
    min-width: 0;
}

.front-news-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.front-news-item:first-child {
    padding-top: 0;
}

.front-news-item:last-child {
    border-bottom: none;
}

.front-news-thumb {
    flex-shrink: 0;
    width: 80px;
}

.front-news-thumb img {
    border-radius: 4px;
    width: 100%;
    height: auto;
}

.front-news-detail {
    flex: 1;
    min-width: 0;
}

.front-news-detail h4 {
    margin: 0;
}

.front-news-detail h4 a {
    color: #111;
}

.front-news-detail h4 a:hover {
    color: #e43917;
}

/* ── Recent News — thumbnail left + text right ── */
.front-recent-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.front-recent-thumb {
    flex-shrink: 0;
    width: 220px;
}

.front-recent-thumb img {
    border-radius: 4px;
    width: 100%;
    height: auto;
}

.front-recent-detail {
    flex: 1;
    min-width: 0;
}

.front-recent-detail h3 {
    margin: 0;
}

.front-recent-detail h3 a {
    color: #111;
}

.front-recent-detail h3 a:hover {
    color: #e43917;
}

.cat-link {
    color: #e43917;
    font-weight: 600;
}

/* ═══ Sidebar Review Widget ═══ */
.sidebar-review-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.sidebar-review-thumb {
    flex-shrink: 0;
    width: 70px;
}

.sidebar-review-thumb img {
    border-radius: 4px;
    width: 100%;
    height: auto;
}

.sidebar-review-detail {
    flex: 1;
    min-width: 0;
}

.sidebar-review-detail h5 {
    margin: 0;
}

.sidebar-review-detail h5 a {
    color: #111;
}

.sidebar-review-detail h5 a:hover {
    color: #e43917;
}

.star-rating {
    color: #ffb400;
    font-size: 13px;
    margin-top: 2px;
}

.star-rating .star {
    display: inline;
}

.star-rating .star.filled {
    color: #ffb400;
}

.star-rating .star.half {
    color: #ffb400;
    opacity: 0.6;
}

.star-rating .star.empty {
    color: #ddd;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .front-latest-split {
        flex-direction: column !important;
    }

    .front-big-post {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .front-small-news {
        width: 100%;
    }

    .front-recent-item {
        flex-direction: column;
    }

    .front-recent-thumb {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .front-news-thumb {
        width: 60px;
    }

    .sidebar-review-thumb {
        width: 55px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MEGA MENU — wide multi-column dropdown for nav items with children
   ═══════════════════════════════════════════════════════════════════════════ */
.main-nav .menu>li>.sub-menu {
    min-width: 220px;
    padding: 12px 0;
    border-top: 2px solid #e43917;
    border-radius: 0 0 6px 6px;
}

/* If a parent has many children, make the dropdown wider & multi-column */
.main-nav .menu>li>.sub-menu li {
    padding: 0;
}

.main-nav .menu>li>.sub-menu li a {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    display: block;
    transition: background 0.15s, color 0.15s;
}

.main-nav .menu>li>.sub-menu li a:hover {
    background: #f8f8f8;
    color: #e43917;
}

/* Active / current-menu-item highlight */
.main-nav .menu>li>.sub-menu li.current-menu-item a,
.main-nav .menu>li>.sub-menu li.current-menu-parent>a {
    color: #e43917;
    font-weight: 600;
}

/* Third-level dropdowns */
.main-nav .menu>li>.sub-menu .sub-menu {
    top: 0;
    left: 100%;
    border-top: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT FORM 7 — modern premium styling
   ═══════════════════════════════════════════════════════════════════════════ */
.wpcf7 {
    max-width: 680px;
}

.wpcf7 p {
    margin-bottom: 20px;
}

.wpcf7 label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 6px;
}

.wpcf7-form-control-wrap {
    display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #fafafa;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: #e43917;
    box-shadow: 0 0 0 3px rgba(228, 57, 23, 0.1);
    background: #fff;
}

.wpcf7 textarea {
    min-height: 160px;
    resize: vertical;
}

.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
    display: inline-block;
    padding: 12px 36px;
    background: linear-gradient(135deg, #e43917, #c0311a);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(228, 57, 23, 0.3);
}

.wpcf7-response-output {
    border-radius: 6px !important;
    padding: 12px 16px !important;
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RELATED POSTS — clean grid at bottom of single posts
   ═══════════════════════════════════════════════════════════════════════════ */
.related-posts {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.related-posts h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.related-posts .col_wrap_four {
    gap: 20px;
}

.related-posts .col_item {
    margin-bottom: 15px;
}

.related-posts .col_item img {
    border-radius: 6px;
    margin-bottom: 10px;
    width: 100%;
    height: auto;
}

.related-posts .col_item h4 {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.related-posts .col_item h4 a {
    color: #111;
}

.related-posts .col_item h4 a:hover {
    color: #e43917;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PAGE TEMPLATE — for Contact Us, Privacy Policy, etc.
   ═══════════════════════════════════════════════════════════════════════════ */
.page .entry-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.page .entry-content {
    font-size: 15px;
    line-height: 1.8;
}