/*
Theme Name:     Newsmag Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       sasanews                             
Version:        3.3c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/

/* =============================================================================
   Custom Header — Sasanews
   ============================================================================= */

/* --- Header bar ------------------------------------------------------------ */

.sasa-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sasa-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 32px;
    height: 56px;
    gap: 16px;
}

/* Spacer so content sits below the fixed header */
.sasa-header-spacer {
    height: 56px;
}

/* Offset sticky sidebar so it stops below our 56px fixed header, not under it */
.td-ss-main-sidebar[style*="position: fixed"],
.td-ss-main-sidebar[style*="position:fixed"] {
    top: 56px !important;
}

/* =============================================================================
   Sidebar block styling
   ============================================================================= */

/* Card wrapper for each sidebar block */
.td-ss-main-sidebar .td_block_wrap {
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 12px;
    padding: 20px 20px 8px;
    margin-bottom: 20px !important;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

/* Block title (e.g. "TOP NEWS") */
.td-ss-main-sidebar .td-block-title-wrap,
.td-ss-main-sidebar .block-title {
    background: none !important;
    border: none !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    display: block !important;
}

.td-ss-main-sidebar .td-block-title-wrap .td-block-title,
.td-ss-main-sidebar .block-title,
.td-ss-main-sidebar .block-title > a,
.td-ss-main-sidebar .block-title > span {
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    color: #e74c3c !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 0 12px !important;
    margin: 0 !important;
    display: block !important;
    line-height: 1.4 !important;
}

/* Post items in sidebar */
.td-ss-main-sidebar .td_module_wrap {
    border-top: 1px solid #f0f0f0;
    padding: 14px 0;
    margin: 0 !important;
}

.td-ss-main-sidebar .td_module_wrap:first-of-type {
    border-top: none;
    padding-top: 0;
}

/* Hide thumbnails in sidebar list modules */
.td-ss-main-sidebar .td-module-image {
    display: none;
}

/* Sidebar post titles */
.td-ss-main-sidebar .entry-title,
.td-ss-main-sidebar .td-module-title {
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    margin: 0 0 6px !important;
    color: #1a1a1a !important;
}

.td-ss-main-sidebar .entry-title a,
.td-ss-main-sidebar .td-module-title a {
    color: #1a1a1a !important;
    text-decoration: none !important;
}

.td-ss-main-sidebar .entry-title a:hover,
.td-ss-main-sidebar .td-module-title a:hover {
    color: #e74c3c !important;
}

/* Date */
.td-ss-main-sidebar .td-post-date,
.td-ss-main-sidebar .td-module-date {
    font-size: 13px !important;
    color: #aaa !important;
    display: block;
}

/* Hide author, comments, category labels in sidebar */
.td-ss-main-sidebar .td-post-author-name,
.td-ss-main-sidebar .td-post-comments,
.td-ss-main-sidebar .td-post-category,
.td-ss-main-sidebar .td-post-views {
    display: none !important;
}

/* --- Logo ------------------------------------------------------------------ */

.sasa-header-logo {
    flex-shrink: 0;
}

.sasa-logo-heading {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: 1;
}

.sasa-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.sasa-logo-link img {
    max-height: 40px;
    width: auto;
    display: block;
}

.sasa-site-name {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

/* --- Desktop nav ----------------------------------------------------------- */

.sasa-header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.sasa-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sasa-nav-menu > li > a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.sasa-nav-menu > li > a:hover,
.sasa-nav-menu > li.current-menu-item > a,
.sasa-nav-menu > li.current-menu-ancestor > a {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}

/* Dropdown sub-menus */
.sasa-nav-menu li {
    position: relative;
}

.sasa-nav-menu li ul {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: #242424;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 6px;
    list-style: none;
    margin: 0;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.sasa-nav-menu li:hover > ul {
    display: block;
}

.sasa-nav-menu li ul li a {
    display: block;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.8) !important;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.15s;
}

.sasa-nav-menu li ul li a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff !important;
}

/* --- Header action buttons ------------------------------------------------- */

.sasa-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.sasa-search-toggle,
.sasa-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: rgba(255,255,255,0.85);
    transition: background 0.15s, color 0.15s;
    padding: 0;
}

.sasa-search-toggle:hover,
.sasa-menu-toggle:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Hamburger lines */
.sasa-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 20px;
}

.sasa-hamburger span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

/* Hamburger → X when open */
.sasa-menu-toggle.is-open .sasa-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.sasa-menu-toggle.is-open .sasa-hamburger span:nth-child(2) {
    opacity: 0;
}
.sasa-menu-toggle.is-open .sasa-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Search overlay -------------------------------------------------------- */

.sasa-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.sasa-search-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.sasa-search-overlay-inner {
    width: 100%;
    max-width: 640px;
    padding: 0 24px;
    position: relative;
}

.sasa-search-form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.sasa-search-form input[type="text"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 20px;
    font-size: 18px;
    background: transparent;
    color: #1a1a1a;
}

.sasa-search-form button[type="submit"] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 20px;
    color: #555;
    display: flex;
    align-items: center;
}

.sasa-search-close {
    position: absolute;
    top: -56px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    padding: 8px;
    transition: color 0.15s;
}

.sasa-search-close:hover {
    color: #fff;
}

/* --- Mobile drawer --------------------------------------------------------- */

.sasa-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    z-index: 10001;
    background: #1a1a1a;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sasa-mobile-drawer.is-open {
    transform: translateX(0);
}

.sasa-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.sasa-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: all;
}

.sasa-mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.sasa-mobile-logo {
    text-decoration: none;
}

.sasa-mobile-logo img {
    max-height: 36px;
    width: auto;
    display: block;
}

.sasa-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    padding: 6px;
    border-radius: 6px;
    transition: background 0.15s;
}

.sasa-drawer-close:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Mobile menu list */
.sasa-mobile-menu {
    list-style: none;
    margin: 0;
    padding: 12px 12px 32px;
}

.sasa-mobile-menu li a {
    display: block;
    padding: 12px 14px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s;
}

.sasa-mobile-menu li a:hover,
.sasa-mobile-menu li.current-menu-item > a {
    background: rgba(255,255,255,0.08);
    color: #fff !important;
}

/* Sub-menu indentation */
.sasa-mobile-menu ul {
    list-style: none;
    margin: 0;
    padding-left: 12px;
}

.sasa-mobile-menu ul li a {
    font-size: 14px;
    padding: 10px 14px;
    color: rgba(255,255,255,0.65) !important;
}

@media (max-width: 480px) {
    .sasa-header-inner {
        padding: 0 16px;
        height: 56px;
    }

    .sasa-header-spacer {
        height: 56px;
    }
}

/* =============================================================================
   Custom Footer — Sasanews
   ============================================================================= */

#sasa-footer {
    background: #2a2a2a;
    color: rgba(255,255,255,0.75);
}

.sasa-footer-inner {
    max-width: 1021px;
    margin: 0 auto;
    padding: 0 32px;
}

/* --- Top section ----------------------------------------------------------- */

.sasa-footer-top {
    padding: 56px 0 48px;
}

.sasa-footer-top .sasa-footer-inner {
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

/* Brand column */
.sasa-footer-brand {
    flex: 0 0 380px;
    max-width: 380px;
}

.sasa-footer-logo img {
    max-height: 52px;
    width: auto;
    display: block;
    margin-bottom: 24px;
}

.sasa-footer-site-name {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
}

.sasa-footer-desc,
.sasa-footer-desc p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
    margin-bottom: 28px;
}

.sasa-footer-desc p {
    margin: 0 0 14px;
}

.sasa-footer-desc p:last-child {
    margin-bottom: 0;
}

/* EU Privacy button */
.sasa-footer-eu-btn {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    transition: border-color 0.15s, color 0.15s;
}

.sasa-footer-eu-btn:hover {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

/* Nav columns */
.sasa-footer-nav {
    flex: 1;
    display: flex;
    gap: 48px;
}

.sasa-footer-col {
    flex: 1;
}

.sasa-footer-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 16px;
    padding: 0;
}

.sasa-footer-col-title--spaced {
    margin-top: 32px;
}

.sasa-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sasa-footer-menu li {
    margin-bottom: 12px;
}

.sasa-footer-menu li a {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none;
    transition: color 0.15s;
    line-height: 1.3;
}

.sasa-footer-menu li a:hover {
    color: #fff !important;
}

/* --- Bottom section -------------------------------------------------------- */

.sasa-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 24px 0;
}

.sasa-footer-bottom .sasa-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.sasa-footer-social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.sasa-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}

.sasa-social-icon:hover {
    background: rgba(255,255,255,0.22);
    color: #fff;
}

.sasa-footer-copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin: 0;
}

/* --- Responsive ------------------------------------------------------------ */

@media (max-width: 1024px) {
    .sasa-footer-top .sasa-footer-inner {
        gap: 40px;
    }

    .sasa-footer-brand {
        flex: 0 0 280px;
        max-width: 280px;
    }

    .sasa-footer-nav {
        gap: 32px;
    }
}

@media (max-width: 767px) {
    .sasa-footer-inner {
        padding: 0 20px;
    }

    .sasa-footer-top {
        padding: 40px 0 32px;
    }

    .sasa-footer-top .sasa-footer-inner {
        flex-direction: column;
        gap: 36px;
    }

    .sasa-footer-brand {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .sasa-footer-nav {
        width: 100%;
        gap: 24px;
    }

    .sasa-footer-bottom .sasa-footer-inner {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .sasa-footer-nav {
        flex-direction: column;
        gap: 0;
    }

    .sasa-footer-col + .sasa-footer-col {
        margin-top: 24px;
    }

    .sasa-footer-col-title--spaced {
        margin-top: 24px;
    }
}


/* =============================================================================
   Global font — Helvetica Neue (self-hosted), with system fallbacks
   ============================================================================= */

body,
p,
span,
a,
li,
td,
th,
label,
input,
textarea,
select,
button,
blockquote,
h1, h2, h3, h4, h5, h6,
.entry-title,
.entry-title a,
.td-post-content,
.td-post-content p,
nav, nav a,
.menu-item, .menu-item a,
.td-header-menu ul li a,
.td-main-menu ul li a,
.sf-menu li a,
.header-search-wrap input,
.td-category,
.td-post-category,
.td_block_title,
.widgettitle,
.widget-title,
.sidebar-widget-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

.td_module_6 .entry-title,
.td_module_7 .entry-title,
.td_module_8 .entry-title {
    font-size: 18px !important;
    line-height: 1.5 !important;
}

@media (max-width: 767px) {
    body .td_module_6 .entry-title,
    body .td_module_7 .entry-title,
    body .td_module_8 .entry-title {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }
}

@media (max-width: 480px) {
    body .td_module_6 .entry-title,
    body .td_module_7 .entry-title,
    body .td_module_8 .entry-title {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }
}


/* =============================================================================
   Single article page
   ============================================================================= */

.sasa-single-container {
    padding-top: 24px;
    padding-bottom: 48px;
}

.sasa-single-article {
    padding: 0 16px;
}

@media (max-width: 767px) {
    .sasa-single-article {
        padding: 0 12px;
    }
}

/* --- Breadcrumbs ----------------------------------------------------------- */

.sasa-single-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.sasa-single-breadcrumb a {
    color: #999;
    text-decoration: none;
}

.sasa-single-breadcrumb a:hover { color: #e74c3c; }
.sasa-single-breadcrumb .sep   { color: #ccc; }

/* --- Hero image ------------------------------------------------------------ */

.sasa-single-hero {
    margin-bottom: 20px;
}

.sasa-single-hero img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.sasa-single-caption {
    font-size: 13px;
    color: #999;
    margin: 8px 0 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

/* --- Title ----------------------------------------------------------------- */

.sasa-single-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 0 0 20px;
}

/* --- Author + share row ---------------------------------------------------- */

.sasa-single-byline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.sasa-single-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sasa-single-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover;
    flex-shrink: 0;
}

.sasa-single-author-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
}

.sasa-single-author-text a {
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
}

.sasa-single-author-text a:hover { color: #e74c3c; }

.sasa-single-author-text time {
    font-size: 13px;
    color: #888;
}

/* --- Share buttons --------------------------------------------------------- */

.sasa-share-btns {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sasa-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.15s;
    font-size: 0; /* hide any accidental text */
}

.sasa-share-btn:hover { opacity: 0.8; }
.sasa-share-btn svg   { flex-shrink: 0; }

.sasa-share-btn.copied { background: #27ae60; }

.sasa-share-facebook {
    width: auto;
    padding: 0 16px;
    background: #1877f2;
    font-size: 14px !important;
    font-weight: 700;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Share row at bottom of article */
.sasa-share-row-bottom {
    display: flex;
    justify-content: flex-end;
    padding: 20px 0;
}

/* --- Divider --------------------------------------------------------------- */

.sasa-single-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 0 0 24px;
}

/* --- Article content ------------------------------------------------------- */

.sasa-single-content {
    font-size: 18px;
    line-height: 1.75;
    color: #222;
}

.sasa-single-content p {
    margin-top: 16px;
    margin-bottom: 16px;
    line-height: 1.5;
    font-size: 24px;
    overflow: hidden;
}
.sasa-single-content h2        { font-size: 24px; font-weight: 700; margin: 32px 0 12px; }
.sasa-single-content h3        { font-size: 20px; font-weight: 700; margin: 28px 0 10px; }
.sasa-single-content img       { max-width: 100%; height: auto; border-radius: 8px; }
.sasa-single-content a         { color: #e74c3c; text-decoration: none; }
.sasa-single-content a:hover   { text-decoration: underline; }
.sasa-single-content blockquote {
    border-left: 4px solid #e74c3c;
    margin: 24px 0;
    padding: 12px 20px;
    background: #fafafa;
    font-style: italic;
    color: #555;
}

.sasa-page-links {
    display: flex;
    gap: 8px;
    margin: 24px 0;
}

.sasa-page-links span {
    padding: 6px 14px;
    border-radius: 6px;
    background: #efefef;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}

/* --- Tags ------------------------------------------------------------------ */

.sasa-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 0;
    border-top: 1px solid #eee;
}

.sasa-single-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 50px;
    background: #f2f2f2;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.sasa-single-tag:hover {
    background: #e74c3c;
    color: #fff;
}

/* --- Related posts --------------------------------------------------------- */

.sasa-related-posts {
    margin-top: 32px;
    border-top: 2px solid #1a1a1a;
    padding-top: 20px;
}

.sasa-related-title {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 20px;
}

/* First related post — featured */
.sasa-related-featured {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.sasa-related-featured-img {
    display: block;
    margin-bottom: 12px;
}

.sasa-related-featured-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    transition: opacity 0.2s;
}

.sasa-related-featured-img:hover img { opacity: 0.9; }

.sasa-related-featured-title {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5;
    color: #292929;
    margin: 0 0 6px;
}

.sasa-related-featured-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.sasa-related-featured-title a:hover { color: #e74c3c; }

/* Subsequent related posts — horizontal */
.sasa-related-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.sasa-related-item-text {
    flex: 1;
    min-width: 0;
}

.sasa-related-item-title {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5;
    color: #292929;
    margin: 0 0 6px;
}

.sasa-related-item-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.sasa-related-item-title a:hover { color: #e74c3c; }

.sasa-related-item-img {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
}

.sasa-related-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.sasa-related-item:hover .sasa-related-item-img img { transform: scale(1.05); }

.sasa-related-date {
    font-size: 12px;
    color: #999;
    display: block;
}

/* --- Responsive ------------------------------------------------------------ */

@media (max-width: 767px) {
    .sasa-single-title   { font-size: 24px; }
    .sasa-single-byline  { flex-direction: column; align-items: flex-start; }
    .sasa-share-row-bottom { justify-content: flex-start; }
    .sasa-single-content { font-size: 17px; }
    .sasa-related-item-img { width: 90px; height: 64px; }
}

@media (max-width: 480px) {
    .sasa-single-title  { font-size: 21px; }
    .sasa-share-btn      { width: 38px; height: 38px; }
    .sasa-share-facebook { width: auto; height: 38px; padding: 0 16px; font-size: 14px !important; }
}


/* =============================================================================
   404 page
   ============================================================================= */

.sasa-404-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

/* --- Hero ------------------------------------------------------------------ */

.sasa-404-hero {
    text-align: center;
    padding: 60px 20px 56px;
    background: #f7f7f7;
    border-radius: 20px;
    margin-bottom: 64px;
}

.sasa-404-number {
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    color: #e74c3c;
    letter-spacing: -4px;
    margin-bottom: 12px;
}

.sasa-404-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
}

.sasa-404-desc {
    font-size: 17px;
    color: #777;
    margin: 0 0 32px;
}

/* Back home link */
.sasa-404-home-btn {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    transition: color 0.15s;
}

.sasa-404-home-btn:hover {
    color: #e74c3c;
}

/* --- Suggestions ----------------------------------------------------------- */

.sasa-404-suggestions-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 24px;
    text-align: center;
}

.sasa-404-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sasa-404-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.sasa-404-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}

.sasa-404-card-img-wrap {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.sasa-404-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.sasa-404-card:hover .sasa-404-card-img-wrap img {
    transform: scale(1.04);
}

.sasa-404-card-body {
    padding: 16px 18px 20px;
}

.sasa-404-card-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #e74c3c;
    text-decoration: none;
    margin-bottom: 8px;
}

.sasa-404-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px;
}

.sasa-404-card-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.sasa-404-card-title a:hover {
    color: #e74c3c;
}

.sasa-404-card-date {
    font-size: 12px;
    color: #999;
}

/* --- Responsive ------------------------------------------------------------ */

@media (max-width: 768px) {
    .sasa-404-number {
        font-size: 90px;
    }

    .sasa-404-title {
        font-size: 26px;
    }

    .sasa-404-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .sasa-404-hero {
        padding: 40px 16px 36px;
    }

    .sasa-404-number {
        font-size: 72px;
    }

    .sasa-404-search {
        max-width: 100%;
    }
}


/* =============================================================================
   Search results page — sasa layout
   ============================================================================= */

.sasa-search-container {
    padding-top: 32px;
    padding-bottom: 48px;
}

.sasa-search-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.sasa-search-header {
    margin-bottom: 40px;
    text-align: center;
    padding: 48px 20px 40px;
    background: #f7f7f7;
    border-radius: 16px;
}

.sasa-search-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 6px;
}

.sasa-search-title span {
    color: #e74c3c;
}

.sasa-search-subtitle {
    font-size: 16px;
    color: #888;
    margin: 0 0 24px;
}

.sasa-search-form {
    display: flex;
    gap: 0;
    max-width: 560px;
    margin: 0 auto;
    border: 2px solid #1a1a1a;
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
}

.sasa-search-input {
    flex: 1;
    height: 52px;
    padding: 0 24px;
    border: none;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.sasa-search-submit {
    height: 52px;
    padding: 0 28px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0 50px 50px 0;
    transition: background 0.15s;
}

.sasa-search-submit:hover {
    background: #e74c3c;
}

.sasa-search-no-results {
    text-align: center;
    padding: 48px 0;
    color: #999;
    font-size: 16px;
}

.sasa-search-container .page-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px 0 16px;
}

.sasa-search-container .page-nav a.page,
.sasa-search-container .page-nav span.current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.sasa-search-container .page-nav a.page {
    background: #efefef;
    color: #333;
}

.sasa-search-container .page-nav a.page:hover {
    background: #ddd;
    color: #111;
}

.sasa-search-container .page-nav span.current {
    background: #1a1a1a;
    color: #fff;
}

.sasa-search-container .page-nav a.prev,
.sasa-search-container .page-nav a.next {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-weight: 700;
    color: #555;
    text-decoration: none;
    padding: 0 10px;
    height: 44px;
    transition: color 0.15s;
}

.sasa-search-container .page-nav a.prev:hover,
.sasa-search-container .page-nav a.next:hover {
    color: #1a1a1a;
}

.sasa-search-container .page-nav a.prev::before { content: '\2039'; font-size: 22px; line-height: 1; }
.sasa-search-container .page-nav a.next::after  { content: '\203A'; font-size: 22px; line-height: 1; }

.sasa-search-container .page-nav span.extend {
    color: #aaa;
    font-size: 15px;
    padding: 0 2px;
}

@media (max-width: 600px) {
    .sasa-search-inner {
        padding: 0 12px;
    }

    .sasa-search-title {
        font-size: 22px;
    }

    .sasa-search-header {
        padding: 32px 16px 28px;
    }

    .sasa-search-title {
        font-size: 26px;
    }

    .sasa-search-form {
        max-width: 100%;
    }
}


/* =============================================================================
   Author archive page
   ============================================================================= */

.sasa-author-container {
    padding-top: 32px;
    padding-bottom: 48px;
}

.sasa-author-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 16px;
}

/* --- Profile card ---------------------------------------------------------- */

.sasa-author-profile {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    background: #f7f7f7;
    border-radius: 16px;
    padding: 32px 28px;
    margin-bottom: 36px;
}

.sasa-author-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.sasa-author-info {
    flex: 1;
    min-width: 0;
}

.sasa-author-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sasa-author-breadcrumb a {
    color: #999;
    text-decoration: none;
}

.sasa-author-breadcrumb a:hover {
    color: #e74c3c;
}

.sasa-author-name {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 10px;
    line-height: 1.2;
}

.sasa-author-bio {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 14px;
}

.sasa-author-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sasa-author-stat {
    font-size: 14px;
    color: #888;
}

.sasa-author-stat strong {
    color: #1a1a1a;
    font-weight: 700;
}

.sasa-author-url {
    font-size: 13px;
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
}

.sasa-author-url:hover {
    text-decoration: underline;
}

/* --- Responsive ------------------------------------------------------------ */

@media (max-width: 560px) {
    .sasa-author-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
        gap: 16px;
    }

    .sasa-author-breadcrumb {
        justify-content: center;
    }

    .sasa-author-meta {
        justify-content: center;
    }

    .sasa-author-name {
        font-size: 22px;
    }
}

/* Also reuse .sasa-archive-container pagination styles */
.sasa-author-container .page-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px 0 16px;
}

.sasa-author-container .page-nav a.page,
.sasa-author-container .page-nav span.current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.sasa-author-container .page-nav a.page { background: #efefef; color: #333; }
.sasa-author-container .page-nav a.page:hover { background: #ddd; color: #111; }
.sasa-author-container .page-nav span.current { background: #1a1a1a; color: #fff; }

.sasa-author-container .page-nav a.prev,
.sasa-author-container .page-nav a.next {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    color: #555;
    text-decoration: none;
    padding: 0 10px;
    height: 44px;
    transition: color 0.15s;
}

.sasa-author-container .page-nav a.prev:hover,
.sasa-author-container .page-nav a.next:hover { color: #1a1a1a; }
.sasa-author-container .page-nav a.prev::before { content: '\2039'; font-size: 22px; }
.sasa-author-container .page-nav a.next::after  { content: '\203A'; font-size: 22px; }
.sasa-author-container .page-nav span.extend { color: #aaa; font-size: 15px; padding: 0 2px; }


/* =============================================================================
   Category / Archive page — sasa layout
   ============================================================================= */

.sasa-archive-container {
    padding-top: 32px;
    padding-bottom: 48px;
}

.sasa-archive-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 16px;
}

.sasa-archive-header {
    margin-bottom: 28px;
}

.sasa-archive-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 8px 0 0;
    line-height: 1.2;
}

.sasa-archive-desc {
    margin: 8px 0 0;
    color: #666;
    font-size: 15px;
}

/* --- Post cards ------------------------------------------------------------ */

.sasa-archive-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sasa-archive-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.sasa-archive-card-body {
    padding: 20px 20px 16px;
}

.sasa-archive-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.sasa-archive-cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #e74c3c;
    text-decoration: none;
}

.sasa-archive-cat:hover {
    opacity: 0.75;
}

.sasa-archive-date {
    font-size: 13px;
    color: #999;
}

.sasa-archive-post-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 8px;
}

.sasa-archive-post-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.sasa-archive-post-title a:hover {
    color: #e74c3c;
}

.sasa-archive-excerpt {
    font-size: 18px;
    line-height: 1.5;
    color: #444;
}

.sasa-archive-excerpt p {
    margin: 0;
}

.sasa-archive-image-link {
    display: block;
}

.sasa-archive-img {
    width: 100%;
    height: auto;
    display: block;
}

.sasa-archive-empty {
    text-align: center;
    padding: 48px 0;
    color: #999;
    font-size: 16px;
}

/* --- Breadcrumbs ----------------------------------------------------------- */

.sasa-archive-container .entry-crumbs {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.sasa-archive-container .entry-crumbs a {
    color: #999;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sasa-archive-container .entry-crumbs a:hover {
    color: #e74c3c;
}

.sasa-archive-container .entry-crumbs .separator {
    color: #ccc;
    margin: 0 2px;
}

.sasa-archive-container .entry-crumbs span:last-child {
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Card hover effect ----------------------------------------------------- */

.sasa-archive-card {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sasa-archive-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}

/* --- Pagination ------------------------------------------------------------ */

.sasa-archive-container .page-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px 0 16px;
}

/* Numbered pages */
.sasa-archive-container .page-nav a.page,
.sasa-archive-container .page-nav span.current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.sasa-archive-container .page-nav a.page {
    background: #efefef;
    color: #333;
}

.sasa-archive-container .page-nav a.page:hover {
    background: #ddd;
    color: #111;
}

.sasa-archive-container .page-nav span.current {
    background: #1a1a1a;
    color: #fff;
}

/* Prev / Next */
.sasa-archive-container .page-nav a.prev,
.sasa-archive-container .page-nav a.next {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-weight: 700;
    color: #555;
    text-decoration: none;
    padding: 0 10px;
    height: 44px;
    transition: color 0.15s;
}

.sasa-archive-container .page-nav a.prev:hover,
.sasa-archive-container .page-nav a.next:hover {
    color: #1a1a1a;
}

.sasa-archive-container .page-nav a.prev::before {
    content: '\2039';
    font-size: 22px;
    line-height: 1;
}

.sasa-archive-container .page-nav a.next::after {
    content: '\203A';
    font-size: 22px;
    line-height: 1;
}

/* First / Last + dots */
.sasa-archive-container .page-nav a.first,
.sasa-archive-container .page-nav a.last {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 600;
    background: #efefef;
    color: #333;
    text-decoration: none;
    transition: background 0.15s;
}

.sasa-archive-container .page-nav a.first:hover,
.sasa-archive-container .page-nav a.last:hover {
    background: #ddd;
}

.sasa-archive-container .page-nav span.extend {
    color: #aaa;
    font-size: 15px;
    padding: 0 2px;
}

/* --- Responsive ------------------------------------------------------------ */

@media (max-width: 600px) {
    .sasa-archive-inner {
        padding: 0 12px;
    }

    .sasa-archive-title {
        font-size: 26px;
    }

    .sasa-archive-card-body {
        padding: 16px 16px 12px;
    }

    .sasa-archive-post-title {
        font-size: 19px;
    }

    .sasa-archive-container .page-nav a.page,
    .sasa-archive-container .page-nav span.current {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }
}

.td-block-span12 {
    padding-left: 0;
    padding-right: 0;
}
