/*
Theme Name: Newspaper-2026
Theme URI: https://example.com/newspaper-2026
Author: Antigravity
Author URI: https://example.com
Description: A modern, high-performance magazine theme similar to Newspaper 12, built from scratch with zero bloat.
Version: 1.2.7
*/

:root {
    --primary-color: #4db2ec;
    --text-main: #111111;
    --text-muted: #555555;
    --bg-color: #ffffff;
    --border-color: #eaeaea;
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --container-width: 1068px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; width: 100%; position: relative; }
body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #f7f7f7;
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--text-main); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--primary-color); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; margin-bottom: 15px; }
.td-container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

/* Header Styles */
.td-header-wrap { background: #fff; margin-bottom: 30px; }
.td-header-main { padding: 30px 0; text-align: center; }
.td-header-logo img { max-height: 90px; margin: 0 auto; }
.td-header-ad { max-width: 100%; overflow: hidden; }
.td-header-menu-wrap { border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); background: #fff; }
.td-header-menu-wrap ul { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; }
.td-header-menu-wrap ul li a { display: block; padding: 15px 12px; font-family: var(--font-heading); font-size: 14px; font-weight: 700; text-transform: uppercase; white-space: nowrap; }

/* Layout & Grid */
.td-main-content-wrap { display: flex; flex-wrap: wrap; gap: 30px; margin-bottom: 40px; }
.td-main-content { flex: 1; min-width: 0; }
.td-main-sidebar { width: 330px; flex-shrink: 0; }

/* Hero Grid */
.td-big-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 5px; margin-bottom: 40px; }
.td-big-grid-post { position: relative; overflow: hidden; background: #000; }
.td-big-grid-post img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: transform 0.4s ease, opacity 0.4s ease; }
.td-big-grid-post:hover img { transform: scale(1.05); opacity: 0.6; }
.td-big-grid-meta { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); }
.td-big-grid-meta .entry-title { color: #fff; margin-bottom: 5px; }
.td-big-grid-meta .entry-title a { color: #fff; }
.td-big-grid-meta .entry-title a:hover { color: var(--primary-color); }
.td-big-grid-post-1 { grid-column: 1 / 2; grid-row: 1 / 3; }
.td-big-grid-post-1 .td-big-grid-meta .entry-title { font-size: 28px; }
.td-big-grid-post-2, .td-big-grid-post-3, .td-big-grid-post-4, .td-big-grid-post-5 { height: 250px; }
.td-big-grid-post-2 .td-big-grid-meta .entry-title, .td-big-grid-post-3 .td-big-grid-meta .entry-title, .td-big-grid-post-4 .td-big-grid-meta .entry-title, .td-big-grid-post-5 .td-big-grid-meta .entry-title { font-size: 15px; }

/* Block Titles */
.td-block-title { font-family: var(--font-heading); font-size: 14px; background: #222; color: #fff; display: inline-block; padding: 5px 12px; margin-bottom: 20px; text-transform: uppercase; }
.td-block-title-wrap { border-bottom: 2px solid #222; margin-bottom: 20px; }

/* Content Blocks */
.td-ajax-wrapper { margin-bottom: 40px; }
.td-ajax-content { transition: opacity 0.3s; }

/* List Layout */
.td-module-wrap { display: flex; margin-bottom: 30px; gap: 20px; }
.td-module-thumb { flex-shrink: 0; }
.td-module-wrap .td-module-thumb { width: 30%; }
.td-module-meta-info .entry-title { font-size: 20px; margin-bottom: 8px; }
.td-post-author-name, .td-post-date { font-size: 11px; color: var(--text-muted); font-family: var(--font-heading); text-transform: uppercase; }
.td-post-author-name { margin-right: 15px; }
.td-post-author-name a { color: #111; font-weight: bold; transition: color 0.2s; }
.td-post-author-name a:hover { color: var(--primary-color); }
.td-excerpt { margin-top: 10px; font-size: 13px; color: var(--text-muted); }

/* Grid Layouts (2 col & 3 col) */
.td-grid-wrap { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; }
.td-grid-item { display: flex; flex-direction: column; }
.td-grid2 { width: calc(50% - 10px); }
.td-grid3 { width: calc(33.333% - 13.33px); }
.td-grid-item .td-module-thumb { width: 100%; margin-bottom: 10px; }
.td-grid-item .td-module-meta-info .entry-title { font-size: 16px; line-height: 1.4; margin-bottom: 0; }

/* Module Defaults */
.td-module-title { font-size: 18px; line-height: 1.3; margin-bottom: 10px; font-weight: bold; }
.td-module-title a { color: #111; transition: color 0.2s ease; }
.td-module-title a:hover { color: var(--primary-color); }

/* Pagination */
.td-ajax-pagination, .nav-links, .pagination .td-ajax-pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; align-items: center; }
.td-page-btn, .page-numbers { display: flex; justify-content: center; align-items: center; min-width: 32px; height: 32px; padding: 0 8px; font-size: 14px; font-family: var(--font-body); color: #444; border: 1px solid #e1e1e1; background: #fff; text-decoration: none; transition: all 0.2s; }
.td-page-btn.current, .td-page-btn:hover, .page-numbers.current, a.page-numbers:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.screen-reader-text { 
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
.nav-links .next, .nav-links .prev { padding: 0 12px; }

/* Sidebar Widget Styles */
.widget { margin-bottom: 40px; }
.widgettitle { font-family: var(--font-heading); font-size: 14px; font-weight: 700; background: #222; color: #fff; display: inline-block; padding: 7px 12px 6px; margin-bottom: 0; text-transform: uppercase; line-height: 1; }
.widget-title-wrap { border-bottom: 2px solid #222; margin-bottom: 26px; }
.widget ul { list-style: none; }
.widget ul li { padding: 8px 0; border: none; display: flex; justify-content: space-between; align-items: center;}
.widget.widget_archive ul li { display: block; } /* Archives layout fix */
.widget ul li a { font-size: 14px; font-weight: 400; color: #222222; }
.widget ul li a:hover { color: var(--primary-color); }
.widget ul li span.count { font-size: 14px; background: transparent; padding: 0; color: #222222; font-weight: 400; }

/* Sidebar Trending List */
.td-trending-post { display: flex; gap: 15px; margin-bottom: 15px; align-items: center; }
.td-trending-thumb { width: 70px; height: 70px; flex-shrink: 0; }
.td-trending-thumb img { width: 100%; height: 100%; object-fit: cover; }
.td-trending-meta .entry-title { font-size: 14px; margin-bottom: 5px; }

/* Sidebar Social */
.td-social-widget { display: flex; flex-wrap: wrap; gap: 10px; }
.td-social-item { width: calc(50% - 5px); background: #f5f5f5; padding: 15px; display: flex; align-items: center; gap: 10px; border: 1px solid #eaeaea; transition: background 0.2s;}
.td-social-item:hover { background: #eee; }
.td-social-item img { width: 20px; height: 20px; }
.td-social-info span { display: block; }
.td-social-info .count { font-weight: bold; font-size: 14px; color: #222; }
.td-social-info .label { font-size: 10px; text-transform: uppercase; color: #555; }

/* Footer */
.td-footer-wrapper { background: #111111; color: #cccccc; padding: 60px 0 30px; margin-top: 50px; font-size: 13px; }
.td-footer-wrapper h2.widgettitle { background: transparent; padding: 0; border: none; font-size: 16px; margin-bottom: 25px; }
.td-footer-wrapper .widget-title-wrap { border-bottom: none; }
.td-footer-wrapper a { color: #cccccc; }
.td-footer-wrapper a:hover { color: var(--primary-color); }
.td-footer-wrapper ul li { border-bottom-color: #333; }
.td-footer-bottom { background: #0a0a0a; padding: 20px 0; text-align: center; color: #777; font-size: 12px; }

/* Comments Section */
.comments-area { margin-top: 50px; }
.td-comments-title-wrap { position: relative; border-bottom: 1px solid #111; margin-bottom: 30px; }
.comments-title { display: inline-block; background: #222; color: #fff; font-size: 14px; font-weight: 400; padding: 8px 15px; margin: 0; text-transform: uppercase; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list li { margin-bottom: 0; }
.comment-body { display: flex; padding: 30px 0; border-bottom: 1px dotted #ccc; align-items: flex-start; }
.comment-list .children { margin-left: 70px; list-style: none; }
.comment-author-avatar { flex-shrink: 0; margin-right: 20px; }
.comment-author-avatar img { width: 50px; height: 50px; border-radius: 0; }
.comment-content-wrap { flex: 1; }
.comment-meta { margin-bottom: 10px; }
.comment-author b { font-weight: 700; color: #111; font-size: 16px; }
.comment-date { margin-left: 10px; }
.comment-date a { color: #555; font-size: 12px; }
.comment-edit-link { color: #4db2ec; font-size: 12px; margin-left: 10px; }
.comment-text { color: #333; font-size: 16px; line-height: 1.6; margin-bottom: 10px; }
.comment-text p { margin-bottom: 10px; }
.reply a { color: #555; font-size: 13px; font-weight: 400; }
.reply a:hover { color: var(--primary-color); }
.td-comment-submit { background: #222; color: #fff; border: none; padding: 10px 20px; font-size: 13px; cursor: pointer; text-transform: uppercase; font-weight: 600; margin-top: 15px; }
.td-comment-submit:hover { background: var(--primary-color); }

/* Comment Form styling */
.td-leave-reply-title { text-transform: uppercase; font-size: 16px; font-weight: 700; color: #111; margin: 40px 0 20px; font-family: var(--font-heading); }
.comment-form { margin-bottom: 40px; }
/* Fix WooCommerce Input Widths */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    width: 100% !important;
}

/* Single Post Spacing, Titles, Captions & Responsive Images */
.td-post-title {
    font-family: var(--font-heading);
    font-weight: 400;
    color: #111111;
    font-size: 41px;
    line-height: 50px;
    margin-bottom: 20px;
}
.td-post-content .wp-caption-text, 
.td-post-content figcaption {
    font-style: italic;
    font-size: 12px;
    color: #777;
    margin-top: -15px !important;
    margin-bottom: 25px;
    text-align: left;
    display: block;
}
.td-post-content p {
    font-family: Verdana, BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 15px;
    line-height: 26px;
    color: #222222;
    font-weight: 400;
    margin-bottom: 25px;
}
.td-post-content h1, .td-post-content h2, .td-post-content h3, .td-post-content h4, .td-post-content h5, .td-post-content h6 {
    line-height: 1.3;
    margin-top: 30px;
    margin-bottom: 20px;
}
.td-post-content h2, .td-post-content h3 { color: #b58150; }
.td-post-content h2 { font-size: 24px; }
.td-post-content h3 { font-size: 20px; }
.td-post-content .wp-block-image,
.td-post-content p { margin-bottom: 20px; }
.td-post-content img { max-width: 100% !important; height: auto !important; margin: 20px 0; display: block; }
.td-post-content figure { max-width: 100% !important; margin: 20px 0; }

/* Single Post Meta Sections */
.td-post-source-tags { margin-top: 40px; margin-bottom: 20px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.td-tag-label { background: #111; color: #fff; padding: 4px 8px; font-size: 11px; font-weight: bold; line-height: 1; text-transform: uppercase;}
.td-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.td-tags li a { border: 1px solid #eee; padding: 4px 10px; font-size: 12px; color: #666; display: inline-block; transition: all 0.2s; line-height: 1; background: #fff;}
.td-tags li a:hover { border-color: var(--primary-color); background: var(--primary-color); color: #fff; }

/* Social Sharing */
.td-post-sharing { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 30px; border-top: 1px solid #eee; padding-top: 30px; }
/* Author Social Icons */
.td-auth-social-icon { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; color: #111; margin-right: 15px; margin-bottom: 15px; transition: color 0.2s; text-decoration: none;}
.td-auth-social-icon:hover { color: var(--primary-color); }
.td-auth-social-icon svg { width: 14px; height: 14px; fill: currentColor; }
.td-author-social { display: flex; flex-wrap: wrap; margin-top: 15px; }
.td-social-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: #fff; font-weight: bold; font-family: sans-serif; transition: opacity 0.2s; text-decoration: none;}
.td-social-btn:hover { color: #fff; opacity: 0.8; }
.td-social-fb { background: #3b5998; }
.td-social-twitter { background: #000; }
.td-social-pinterest { background: #cb2027; }
.td-social-linkedin { background: #007bb6; }
.td-social-tumblr { background: #32506d; }
.td-social-flipboard { background: #e12828; }
.td-social-reddit { background: #ff4500; }
.td-social-vk { background: #4c75a3; }
.td-social-whatsapp { background: #25d366; }
.td-social-email { background: #000; }
.td-social-copy { background: #000; }
.td-social-telegram { background: #0088cc; }
.td-social-btn svg { width: 14px; height: 14px; fill: currentColor; }

/* Next Prev Post */
.td-post-next-prev { display: flex; justify-content: space-between; margin-bottom: 40px; }
.td-post-next-prev > div { width: 48%; }
.td-post-next-link { text-align: right; }
.td-nav-label { display: block; font-size: 11px; color: #aaa; text-transform: uppercase; margin-bottom: 5px; }
.td-post-next-prev a { font-size: 15px; font-weight: bold; color: #111; line-height: 1.4; display: block; text-decoration: none;}
.td-post-next-prev a:hover { color: var(--primary-color); }

/* Author Box */
.td-author-box { border: 1px solid #eee; padding: 30px; display: flex; gap: 20px; margin-bottom: 40px; }
.td-author-avatar img { border-radius: 50%; max-width: 90px; }
.td-author-name { font-size: 22px; font-weight: bold; margin-bottom: 5px; }
.td-author-url { font-size: 13px; font-style: italic; margin-bottom: 15px; }
.td-author-url a { color: #777; transition: color 0.2s; }
.td-author-url a:hover { color: var(--primary-color); }
.td-author-description { font-size: 14px; line-height: 1.6; color: #444; margin-bottom: 15px; }
.td-author-social { display: flex; gap: 15px; }
.td-auth-social-icon { color: #222; font-weight: bold; font-size: 14px; text-decoration: none;}
@media (max-width: 768px) {
    .td-author-box { flex-direction: column; text-align: center; }
    .td-author-social { justify-content: center; }
}

/* Related Posts */
.td-post-content .wp-block-image,
.td-post-content figure.wp-caption {
    max-width: 100% !important;
    height: auto !important;
}
.td-post-content img,
.td-post-content .wp-block-image img,
.td-post-content figure img {
    margin-top: 30px;
    margin-bottom: 30px;
    max-width: 100%;
    height: auto;
    display: block;
}
.comment-form p { margin-bottom: 15px; }
.comment-form textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] { width: 100%; padding: 15px; border: 1px solid #ddd; background: #fff; font-family: inherit; font-size: 14px; box-sizing: border-box; }
.comment-form textarea { min-height: 150px; resize: vertical; }
.comment-form .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #333; }
.comment-form .comment-form-cookies-consent input[type="checkbox"] { width: auto; margin-top: 4px; }

/* Page Title Styles (Contact, About, etc.) */
.td-page-title-wrap { border-bottom: 2px solid #111; margin-bottom: 30px; }
.td-page-title { font-family: var(--font-heading); font-size: 14px; background: #222; color: #fff; display: inline-block; padding: 6px 12px; text-transform: uppercase; margin-bottom: 0; font-weight: 700; }

/* Custom Contact Form (Contact Form 7 support) */
.wpcf7 { max-width: 600px; margin-top: 10px; }
.wpcf7 p { margin-bottom: 20px; }
.wpcf7 label { display: block; font-family: var(--font-body); font-size: 13px; color: #444; margin-bottom: 5px; font-weight: normal; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea { width: 100%; padding: 10px; border: 1px solid #e1e1e1; font-family: var(--font-body); font-size: 14px; color: #333; background: #fff; box-sizing: border-box; margin-top: 5px; }
.wpcf7 input:focus,
.wpcf7 textarea:focus { outline: none; border-color: #bbb; }
.wpcf7 input[type="submit"] { background: #222; color: #fff; border: none; padding: 8px 25px; font-family: var(--font-body); font-size: 13px; cursor: pointer; text-transform: uppercase; transition: background 0.3s; font-weight: 700; }
.wpcf7 input[type="submit"]:hover { background: #000; }

/* Related Articles Section */
.td-related-tabs-wrap { border-bottom: 2px solid var(--primary-color); margin-bottom: 20px; display: flex; }
.td-related-tab { border: none; background: transparent; padding: 8px 16px; font-family: var(--font-heading); font-size: 14px; text-transform: uppercase; cursor: pointer; color: #222; transition: all 0.3s; font-weight: normal; }
.td-related-tab.active, .td-related-tab:hover { background: #222; color: #fff; }
#td-related-ajax-wrap { transition: opacity 0.3s; }

/* Responsive Adjustments */

/* Tablet (Portrait & Small Desktop) */
@media (max-width: 1024px) {
    /* Mobile Header */
    .td-desktop-header { display: none; }
    .td-mobile-header { display: flex !important; position: sticky; top: 0; z-index: 1000; }

    .td-main-sidebar { width: 300px; }
    .td-grid3 { width: calc(50% - 10px); }
}

/* Mobile & Small Tablet */
@media (max-width: 768px) {

    /* Main layout: full width, no sidebar */
    .td-main-content-wrap.td-container { flex-direction: column !important; gap: 0 !important; }
    .td-main-content { width: 100% !important; min-width: 0; }
    .td-main-sidebar { display: none !important; } /* Hide sidebar on mobile */

    .td-header-main { flex-direction: column; gap: 20px; justify-content: center; text-align: center; }
    .td-header-ad { margin-left: 0; margin: 0 auto; }

    /* Mobile Header layout */
    .td-mobile-header.td-mobile-header-bar {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        gap: 0;
    }
    .td-mobile-menu-trigger,
    .td-mobile-search-trigger {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    .td-mobile-logo { flex: 1; text-align: center; }
    .td-mobile-logo-img { max-height: 36px; width: auto; margin: 0 auto; }

    /* Hero Grid */
    .td-big-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .td-big-grid-post-1 { grid-column: 1; grid-row: 1; height: 260px; }
    .td-big-grid-post-2, .td-big-grid-post-3, .td-big-grid-post-4, .td-big-grid-post-5 { height: 180px; }
    .td-big-grid-meta .entry-title { font-size: 16px !important; }

    /* Content Grids */
    .td-module-wrap { flex-direction: column; }
    .td-module-wrap .td-module-thumb { width: 100%; }
    .td-grid2, .td-grid3 { width: 100%; }

    /* Padding */
    .td-container { padding: 0 12px; }
    .td-main-content-wrap { margin-bottom: 20px; }

    /* Footer responsive */
    .td-pb-row { gap: 20px !important; }
    .td-footer-top-widgets-wrap { flex-direction: column; }
    .td-footer-widget-box { min-width: unset; }
    .td-footer-info-wrap { flex-direction: column; }

    /* Sidebar Social */
    .td-social-item { width: 100%; }

    /* Single Post Responsive */
    .td-post-title { font-size: 28px !important; line-height: 36px !important; }
}

/* --- Full Screen Modals --- */
.td-fs-modal {
    visibility: hidden;
    pointer-events: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: #2a414f;
    z-index: 9999;
    overflow-y: auto;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.td-fs-modal.active {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}
.td-fs-modal-content {
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}
.td-fs-modal-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.td-fs-socials a {
    color: #fff;
    margin-right: 15px;
    font-size: 16px;
    text-decoration: none;
}
.td-fs-close {
    cursor: pointer;
    color: #fff;
    transition: transform 0.3s;
}
.td-fs-close:hover {
    transform: rotate(90deg);
}

/* Menu List in Modal */
.td-fs-menu-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.td-fs-menu-list ul li {
    margin-bottom: 25px;
}
.td-fs-menu-list ul li a {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    font-family: var(--font-heading);
    transition: color 0.2s;
}
.td-fs-menu-list ul li a:hover {
    color: var(--primary-color);
}

/* Search Form in Modal */
.td-fs-search-form {
    text-align: center;
    margin-top: 50px;
}
.td-fs-search-label {
    font-size: 20px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}
#td-fs-search-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #fff;
    color: #fff;
    font-size: 24px;
    padding: 10px 0;
    outline: none;
    text-align: center;
}
#td-fs-search-input::placeholder {
    color: rgba(255,255,255,0.5);
}

/* AJAX Search Results */
#td-fs-search-results {
    margin-top: 40px;
    text-align: left;
}
.td-fs-result-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}
.td-fs-result-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
}
.td-fs-result-item a {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}
.td-fs-result-item a:hover {
    color: var(--primary-color);
}

/* --- Extracted Classes from Header --- */
.td-desktop-logo-img { max-height: 50px; width: auto; }
.td-header-nav-wrap { display: flex; justify-content: space-between; align-items: center; }
.td-search-trigger-desktop { cursor: pointer; padding: 15px; }
.td-mobile-header-bar { display: none; background: #222; padding: 10px 20px; align-items: center; justify-content: space-between; } 
.td-mobile-icon { cursor: pointer; color: #fff; }
.td-mobile-logo-link { display: block; }
.td-mobile-logo-img { max-height: 35px; width: auto; }
.td-fs-socials-wrap { display: flex; align-items: center; }
.td-fs-social-link { margin-right: 25px; }
.td-fs-close-wrap { margin-left: auto; }

/* --- Extracted Classes from Footer --- */
.td-footer-wrapper-bg { background-color: #0d0c15; color: #fff; padding: 60px 0 0; }
.td-footer-top-widgets-wrap { display: flex; flex-wrap: wrap; gap: 30px; margin-bottom: 50px; }
.td-footer-widget-box { flex: 1; min-width: 280px; background: #222; padding: 25px; }
.td-footer-widget-title { font-size: 14px; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; font-family: var(--font-heading); }
.td-footer-post-item { display: flex; gap: 15px; margin-bottom: 20px; align-items: flex-start; }
.td-footer-post-thumb { width: 90px; height: 70px; flex-shrink: 0; position: relative; }
.td-footer-post-img { width: 100%; height: 100%; object-fit: cover; }
.td-footer-post-cat { position: absolute; bottom: 0; left: 0; background: rgba(0,0,0,0.7); color: #fff; font-size: 9px; padding: 2px 5px; text-transform: uppercase; font-style: italic; border-bottom: 1px solid var(--primary-color); }
.td-footer-post-title { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 5px; }
.td-footer-post-title-link { color: #fff; text-decoration: none; }
.td-footer-post-date { font-size: 10px; color: #888; }
.td-footer-cat-list { list-style: none; padding: 0; margin: 0; }
.td-footer-cat-item { padding: 6px 0; display: flex; justify-content: space-between; align-items: center; }
.td-footer-cat-link { color: #fff; font-size: 13px; font-weight: 400; text-decoration: none; }
.td-footer-cat-count { color: #fff; font-size: 13px; }
.td-footer-separator { border: 0; border-top: 1px solid rgba(255,255,255,0.05); margin-bottom: 50px; }
.td-footer-info-wrap { display: flex; flex-wrap: wrap; gap: 40px; padding-bottom: 50px; }
.td-footer-logo-col { flex: 1; min-width: 250px; }
.td-footer-logo-img { max-width: 200px; max-height: 70px; object-fit: contain; }
.td-footer-about-col { flex: 2; min-width: 300px; }
.td-footer-about-title { font-size: 18px; margin-bottom: 20px; font-weight: 400; font-family: var(--font-heading); }
.td-footer-about-text { font-size: 12px; color: #bbb; line-height: 1.6; margin-bottom: 15px; }
.td-footer-contact { font-size: 12px; color: #bbb; }
.td-footer-contact-link { color: var(--primary-color); }
.td-footer-social-col { flex: 1; min-width: 200px; }
.td-footer-social-title { font-size: 18px; margin-bottom: 20px; font-weight: 400; font-family: var(--font-heading); }
.td-footer-social-wrap { display: flex; gap: 10px; }
.td-footer-social-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.05); color: #fff; transition: background 0.3s; }
.td-footer-social-icon:hover { background: rgba(255,255,255,0.1); }
.td-footer-bottom-bar { background: #0a0a0a; padding: 20px 0; text-align: left; color: #bbb; font-size: 11px; }
.td-footer-bottom-wrap { display: flex; justify-content: space-between; flex-wrap: wrap; }
.td-footer-copyright { margin: 0; }
.td-footer-privacy { color: var(--primary-color); }
