/*
Theme Name:   SarkariResult Child
Theme URI:    https://yoursite.com
Description:  GeneratePress Child Theme - SarkariResult Clone (Red Theme)
Author:       Your Name
Author URI:   https://yoursite.com
Template:     generatepress
Version:      2.0.0
Text Domain:  sr-child
*/

/* ============================================================
   ROOT VARIABLES (overridable via Customizer)
   ============================================================ */
:root {
    --sr-primary:    #cc0000;
    --sr-secondary:  #1a1a1a;
    --sr-accent:     #b71c1c;
    --sr-link:       #0000cc;
    --sr-footer-bg:  #111111;

    /* Fixed values */
    --sr-green:      #2e7d32;
    --sr-blue:       #1565c0;
    --sr-yellow:     #f9a825;
    --sr-light-red:  #ffebee;
    --sr-bg:         #f0f0f0;
    --sr-card-bg:    #ffffff;
    --sr-border:     #dddddd;
    --sr-text:       #222222;
    --sr-muted:      #666666;
    --sr-font:       'Noto Sans', Verdana, Arial, sans-serif;
    --sr-radius:     3px;
    --sr-shadow:     0 1px 3px rgba(0,0,0,.15);
    --sr-max-width:  1100px;
}

/* ============================================================
   GOOGLE FONT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;600;700&display=swap');

/* ============================================================
   GLOBAL BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sr-font);
    font-size: 14px;
    line-height: 1.6;
    color: var(--sr-text);
    background: var(--sr-bg);
}

a { color: var(--sr-link); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--sr-primary); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; padding: 0; margin: 0; }

/* Hide GeneratePress defaults we override */
.site-header,
.main-navigation,
.site-footer,
#colophon { all: unset; display: block; }

/* ============================================================
   LAYOUT WRAPPER
   ============================================================ */
.sr-container {
    max-width: var(--sr-max-width);
    margin: 0 auto;
    padding: 0 10px;
}

/* ============================================================
   TOP ANNOUNCEMENT BAR
   ============================================================ */
.sr-topbar {
    background: var(--sr-secondary);
    color: #ccc;
    font-size: 12px;
    padding: 5px 0;
    border-bottom: 1px solid #333;
}

.sr-topbar .sr-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}

.sr-topbar-left { color: #bbb; }
.sr-topbar-left strong { color: #fff; }

.sr-topbar-right { display: flex; gap: 8px; align-items: center; }

.sr-topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--sr-green);
    color: #fff !important;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .2s;
}

.sr-topbar-btn:hover { background: #1b5e20 !important; }
.sr-topbar-btn.telegram { background: #0088cc; }
.sr-topbar-btn.telegram:hover { background: #006699 !important; }

.sr-topbar-btn svg { flex-shrink: 0; }

/* ============================================================
   SITE HEADER
   ============================================================ */
.sr-header {
    background: var(--sr-primary);
    padding: 10px 0 8px;
    border-bottom: 2px solid var(--sr-accent);
}

.sr-header .sr-container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sr-logo-wrap {
    flex-shrink: 0;
}

.sr-logo-wrap img,
.sr-logo-wrap .sr-logo-placeholder {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.8);
    object-fit: cover;
    background: rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sr-header-text { flex: 1; }

.sr-site-name {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0,0,0,.25);
    text-decoration: none !important;
    display: block;
}

.sr-site-name:hover { text-decoration: none !important; color: #fff; }

.sr-site-desc {
    color: rgba(255,255,255,.85);
    font-size: 12px;
    margin-top: 3px;
    font-style: italic;
}

/* Search box in header */
.sr-header-search {
    flex-shrink: 0;
}

.sr-search-form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 20px;
    overflow: hidden;
}

.sr-search-form input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    width: 180px;
    font-family: var(--sr-font);
}

.sr-search-form input::placeholder { color: rgba(255,255,255,.7); }

.sr-search-form button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    color: #fff;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.sr-nav-wrap {
    background: var(--sr-secondary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,.3);
}

.sr-nav {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    position: relative;
}

/* Hamburger (mobile) */
.sr-hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 12px 14px;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.sr-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.sr-nav-list > li {
    position: relative;
}

.sr-nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffffff !important;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,.08);
    transition: background .15s;
    text-decoration: none !important;
}

.sr-nav-list > li > a:hover,
.sr-nav-list > li.current-menu-item > a {
    background: var(--sr-primary);
    text-decoration: none !important;
}

.sr-nav-list > li > a svg { opacity: .8; }

/* Dropdown arrow */
.sr-nav-list > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255,255,255,.7);
    margin-left: 4px;
}

/* Dropdown submenu */
.sr-nav-list .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #2a2a2a;
    border: 1px solid #444;
    border-top: 2px solid var(--sr-primary);
    min-width: 190px;
    z-index: 1001;
    box-shadow: 0 4px 8px rgba(0,0,0,.3);
}

.sr-nav-list > li:hover .sub-menu { display: block; }

.sr-nav-list .sub-menu li a {
    display: block;
    color: #ddd !important;
    padding: 9px 14px;
    font-size: 13px;
    border-bottom: 1px solid #3a3a3a;
    transition: background .15s;
    text-decoration: none !important;
}

.sr-nav-list .sub-menu li a:hover {
    background: var(--sr-primary);
    color: #fff !important;
}

/* ============================================================
   TICKER BAR
   ============================================================ */
.sr-ticker {
    background: #fff8e1;
    border-top: 1px solid #ffcc02;
    border-bottom: 1px solid #ffcc02;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 32px;
}

.sr-ticker-label {
    background: var(--sr-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 0 10px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.sr-ticker-label .sr-live-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: sr-blink 1s infinite;
    display: inline-block;
}

.sr-ticker-content {
    flex: 1;
    overflow: hidden;
}

.sr-ticker-content marquee {
    font-size: 13px;
    color: #222;
    font-weight: 500;
    line-height: 32px;
}

.sr-ticker-content marquee a {
    color: var(--sr-primary);
    margin: 0 18px;
    font-weight: 600;
    text-decoration: none;
}

.sr-ticker-content marquee a:hover { text-decoration: underline; }

@keyframes sr-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

/* ============================================================
   PAGE LAYOUT
   ============================================================ */
.sr-body-wrap {
    max-width: var(--sr-max-width);
    margin: 10px auto;
    padding: 0 10px;
    display: grid;
    grid-template-columns: 1fr 270px;
    grid-gap: 12px;
    align-items: start;
}

.sr-main { min-width: 0; }
.sr-sidebar { min-width: 0; }

/* ============================================================
   HOMEPAGE SECTION BOXES
   ============================================================ */
.sr-box {
    background: var(--sr-card-bg);
    border: 1px solid var(--sr-border);
    border-radius: var(--sr-radius);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--sr-shadow);
}

.sr-box-header {
    background: var(--sr-primary);
    color: #fff;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sr-box-title {
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.sr-box-title svg { flex-shrink: 0; }

.sr-box-more a {
    color: #fff !important;
    font-size: 11px;
    background: rgba(0,0,0,.2);
    padding: 2px 8px;
    border-radius: 2px;
    text-decoration: none !important;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 3px;
}

.sr-box-more a:hover { background: rgba(0,0,0,.4) !important; }

/* Post list inside boxes */
.sr-post-list { list-style: none; margin: 0; padding: 0; }

.sr-post-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-bottom: 1px solid #f0f0f0;
    min-height: 32px;
    transition: background .1s;
}

.sr-post-list li:last-child { border-bottom: none; }
.sr-post-list li:hover { background: #fff5f5; }

.sr-post-list li .sr-arrow {
    flex-shrink: 0;
    color: var(--sr-primary);
    display: flex;
    align-items: center;
}

.sr-post-list li a {
    flex: 1;
    color: var(--sr-link);
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
}

.sr-post-list li a:hover { color: var(--sr-primary); text-decoration: underline; }

.sr-post-list li .sr-badges { flex-shrink: 0; display: flex; gap: 3px; }

/* ============================================================
   BADGES
   ============================================================ */
.sr-badge-new {
    background: var(--sr-primary);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: .5px;
    animation: sr-blink 1s infinite;
    white-space: nowrap;
}

.sr-badge-out {
    background: var(--sr-green);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
}

.sr-badge-soon {
    background: var(--sr-yellow);
    color: #333;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
}

/* ============================================================
   TOP FEATURED STRIP (below nav on homepage)
   ============================================================ */
.sr-featured-strip {
    background: #fff;
    border: 1px solid var(--sr-border);
    border-radius: var(--sr-radius);
    padding: 8px 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    box-shadow: var(--sr-shadow);
}

.sr-featured-strip .sr-strip-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--sr-primary);
    object-fit: cover;
    flex-shrink: 0;
}

.sr-featured-strip .sr-strip-text { flex: 1; font-size: 13px; line-height: 1.4; }
.sr-featured-strip .sr-strip-text strong { color: var(--sr-primary); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sr-sidebar .sr-box { margin-bottom: 10px; }

/* Sidebar widget list */
.sr-widget-list { list-style: none; margin: 0; padding: 0; }

.sr-widget-list li {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    padding: 5px 10px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
    line-height: 1.4;
}

.sr-widget-list li:last-child { border-bottom: none; }
.sr-widget-list li:hover { background: #fff5f5; }
.sr-widget-list li svg { flex-shrink: 0; margin-top: 2px; }

.sr-widget-list li a { color: var(--sr-link); flex: 1; }
.sr-widget-list li a:hover { color: var(--sr-primary); }

/* Important dates widget */
.sr-dates-list { padding: 6px 0; }

.sr-date-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px;
    border-bottom: 1px solid #f0f0f0;
    gap: 8px;
}

.sr-date-item:last-child { border-bottom: none; }

.sr-date-event {
    font-size: 12px;
    color: var(--sr-text);
    flex: 1;
}

.sr-date-val {
    font-size: 11px;
    background: var(--sr-light-red);
    color: var(--sr-primary);
    padding: 2px 6px;
    border-radius: 2px;
    font-weight: 600;
    white-space: nowrap;
}

/* ============================================================
   SINGLE POST PAGE
   ============================================================ */
.sr-post-wrap {}

/* Post header */
.sr-post-header {
    background: var(--sr-primary);
    padding: 12px 16px;
    border-radius: var(--sr-radius) var(--sr-radius) 0 0;
}

.sr-post-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.sr-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
    color: rgba(255,255,255,.85);
    font-size: 12px;
}

.sr-post-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sr-post-meta a { color: rgba(255,255,255,.85); text-decoration: none; }
.sr-post-meta a:hover { color: #fff; }

/* Post body */
.sr-post-body {
    background: var(--sr-card-bg);
    border: 1px solid var(--sr-border);
    border-top: none;
    padding: 16px;
}

/* Post content typography */
.sr-post-body p { margin-bottom: 12px; font-size: 14px; line-height: 1.7; }
.sr-post-body h2 { font-size: 18px; font-weight: 700; color: var(--sr-primary); margin: 16px 0 8px; border-left: 3px solid var(--sr-primary); padding-left: 10px; }
.sr-post-body h3 { font-size: 15px; font-weight: 700; margin: 14px 0 6px; }
.sr-post-body ul { padding-left: 18px; margin-bottom: 12px; }
.sr-post-body ul li { list-style: disc; margin-bottom: 4px; font-size: 14px; }

/* ---- POST TABLES ---- */
.sr-post-body table,
.sr-post-body .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 13px;
    border: 1px solid #ccc;
}

.sr-post-body table th,
.sr-post-body table td {
    border: 1px solid #ccc;
    padding: 8px 10px;
    vertical-align: middle;
    text-align: left;
}

.sr-post-body table thead th {
    background: var(--sr-primary);
    color: #fff;
    font-weight: 700;
    text-align: center;
}

/* Top orange row (colspan header like SarkariResult) */
.sr-table-header-row td,
.sr-table-header-row th {
    background: var(--sr-primary) !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-align: center !important;
}

.sr-post-body table tbody tr:nth-child(even) { background: #fff8f8; }
.sr-post-body table tbody tr:hover { background: #ffe5e5; }

/* Important Links table */
.sr-imp-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 13px;
    border: 1px solid #ccc;
}

.sr-imp-table thead tr th {
    background: var(--sr-secondary);
    color: #fff;
    padding: 9px 10px;
    text-align: center;
    font-size: 13px;
}

.sr-imp-table td {
    border: 1px solid #ccc;
    padding: 8px 10px;
    text-align: center;
}

.sr-imp-table td a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--sr-primary);
    color: #fff !important;
    padding: 5px 14px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .2s;
}

.sr-imp-table td a:hover { background: var(--sr-accent) !important; }
.sr-imp-table td a.green { background: var(--sr-green) !important; }
.sr-imp-table td a.blue { background: var(--sr-blue) !important; }

/* ---- NOTICE BOX ---- */
.sr-notice-box {
    background: #fff8e1;
    border-left: 4px solid var(--sr-yellow);
    padding: 10px 14px;
    margin: 12px 0;
    font-size: 13px;
    border-radius: 0 3px 3px 0;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.sr-notice-box.red {
    background: var(--sr-light-red);
    border-left-color: var(--sr-primary);
}

.sr-notice-box.green {
    background: #e8f5e9;
    border-left-color: var(--sr-green);
}

/* ---- THUMBNAIL ---- */
.sr-post-thumbnail {
    margin-bottom: 14px;
    text-align: center;
}

.sr-post-thumbnail img {
    max-height: 220px;
    width: auto;
    margin: 0 auto;
    border-radius: var(--sr-radius);
    border: 1px solid var(--sr-border);
}

/* ---- SHARE BAR ---- */
.sr-share-bar {
    background: #f8f8f8;
    border: 1px solid var(--sr-border);
    border-top: none;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sr-share-label {
    font-size: 12px;
    font-weight: 700;
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sr-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    color: #fff !important;
    text-decoration: none !important;
    transition: opacity .2s;
}

.sr-share-btn:hover { opacity: .85; text-decoration: none !important; }
.sr-share-btn.wa { background: #25d366; }
.sr-share-btn.fb { background: #1877f2; }
.sr-share-btn.tw { background: #000; }
.sr-share-btn.tg { background: #0088cc; }

/* ---- TAGS BAR ---- */
.sr-tags-bar {
    background: #f8f8f8;
    border: 1px solid var(--sr-border);
    border-top: none;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.sr-tags-bar .tag-label {
    font-size: 12px;
    font-weight: 700;
    color: #555;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sr-tags-bar a {
    background: #eeeeee;
    border: 1px solid #ddd;
    color: #444 !important;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 12px;
    text-decoration: none !important;
}

.sr-tags-bar a:hover { background: var(--sr-primary); color: #fff !important; border-color: var(--sr-primary); }

/* ---- RELATED POSTS ---- */
.sr-related { margin-top: 12px; }

/* ---- POST NAV ---- */
.sr-post-nav {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.sr-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--sr-secondary);
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
}

.sr-nav-btn:hover { background: var(--sr-primary) !important; }

/* ============================================================
   ARCHIVE / CATEGORY PAGE
   ============================================================ */
.sr-archive-header {
    background: var(--sr-primary);
    padding: 10px 16px;
    border-radius: var(--sr-radius) var(--sr-radius) 0 0;
    color: #fff;
}

.sr-archive-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sr-archive-count {
    font-size: 12px;
    color: rgba(255,255,255,.8);
    margin-top: 3px;
}

.sr-archive-list { background: #fff; border: 1px solid var(--sr-border); border-top: none; }

.sr-archive-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    transition: background .1s;
}

.sr-archive-item:last-child { border-bottom: none; }
.sr-archive-item:hover { background: #fff5f5; }

.sr-archive-item .sr-arrow {
    flex-shrink: 0;
    color: var(--sr-primary);
    margin-top: 3px;
}

.sr-archive-item .sr-ai-content { flex: 1; }

.sr-archive-item .sr-ai-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.sr-archive-item .sr-ai-title a { color: var(--sr-link); }
.sr-archive-item .sr-ai-title a:hover { color: var(--sr-primary); }

.sr-archive-item .sr-ai-meta {
    font-size: 11px;
    color: var(--sr-muted);
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Pagination */
.sr-pagination {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px;
    justify-content: center;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid var(--sr-border);
    border-top: none;
}

.sr-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid var(--sr-border);
    border-radius: 3px;
    font-size: 13px;
    color: var(--sr-link);
    text-decoration: none;
    transition: all .15s;
}

.sr-pagination .page-numbers.current,
.sr-pagination .page-numbers:hover {
    background: var(--sr-primary);
    color: #fff;
    border-color: var(--sr-primary);
    text-decoration: none;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.sr-contact-page { background: #fff; border: 1px solid var(--sr-border); border-top: none; padding: 20px; }

.sr-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 16px;
}

.sr-contact-card {
    border: 1px solid var(--sr-border);
    border-radius: var(--sr-radius);
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.sr-contact-icon {
    width: 40px;
    height: 40px;
    background: var(--sr-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sr-contact-info strong { font-size: 13px; color: #333; display: block; margin-bottom: 3px; }
.sr-contact-info span,
.sr-contact-info a { font-size: 13px; color: var(--sr-link); }

.sr-social-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.sr-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    color: #fff !important;
    text-decoration: none !important;
    transition: opacity .2s;
}

.sr-social-btn:hover { opacity: .85; }
.sr-social-btn.wa { background: #25d366; }
.sr-social-btn.fb { background: #1877f2; }
.sr-social-btn.yt { background: #cc0000; }
.sr-social-btn.tw { background: #000; }
.sr-social-btn.tg { background: #0088cc; }

/* ============================================================
   FOOTER
   ============================================================ */
.sr-footer-widgets {
    background: #222;
    padding: 24px 0 16px;
    border-top: 3px solid var(--sr-primary);
}

.sr-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
}

.sr-footer-col h4 {
    color: var(--sr-primary);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #444;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sr-footer-col p { color: #aaa; font-size: 13px; line-height: 1.7; }

.sr-footer-links { list-style: none; padding: 0; margin: 0; }
.sr-footer-links li {
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid #333;
}

.sr-footer-links li:last-child { border-bottom: none; }
.sr-footer-links li svg { color: var(--sr-primary); flex-shrink: 0; }
.sr-footer-links li a { color: #bbb !important; font-size: 13px; text-decoration: none !important; }
.sr-footer-links li a:hover { color: var(--sr-primary) !important; }

.sr-footer-contact-list { list-style: none; padding: 0; margin: 0; }
.sr-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #333;
    font-size: 12px;
    color: #bbb;
}

.sr-footer-contact-list li:last-child { border-bottom: none; }
.sr-footer-contact-list li svg { flex-shrink: 0; color: var(--sr-primary); margin-top: 2px; }
.sr-footer-contact-list a { color: #bbb !important; text-decoration: none !important; }
.sr-footer-contact-list a:hover { color: var(--sr-primary) !important; }

/* Footer social icons row */
.sr-footer-social {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.sr-footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    text-decoration: none !important;
    color: #fff !important;
}

.sr-footer-social a:hover { background: var(--sr-primary); }
.sr-footer-social a.wa:hover { background: #25d366; }
.sr-footer-social a.fb:hover { background: #1877f2; }
.sr-footer-social a.yt:hover { background: var(--sr-primary); }
.sr-footer-social a.tw:hover { background: #000; }
.sr-footer-social a.tg:hover { background: #0088cc; }

/* Footer bottom bar */
.sr-footer-bottom {
    background: #000;
    padding: 10px 0;
    text-align: center;
}

.sr-footer-bottom .sr-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}

.sr-copyright { color: #888; font-size: 12px; }
.sr-footer-nav { display: flex; gap: 12px; flex-wrap: wrap; }
.sr-footer-nav a { color: #888 !important; font-size: 12px; text-decoration: none !important; }
.sr-footer-nav a:hover { color: var(--sr-primary) !important; }

/* ============================================================
   SEARCH RESULTS PAGE
   ============================================================ */
.sr-no-results {
    background: #fff;
    border: 1px solid var(--sr-border);
    border-top: none;
    padding: 30px;
    text-align: center;
}

.sr-search-form-full {
    display: flex;
    max-width: 400px;
    margin: 16px auto;
    border: 2px solid var(--sr-primary);
    border-radius: 4px;
    overflow: hidden;
}

.sr-search-form-full input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--sr-font);
}

.sr-search-form-full button {
    background: var(--sr-primary);
    color: #fff;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
}

/* ============================================================
   ADMIN NOTICE
   ============================================================ */
.sr-admin-notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 10px 14px;
    margin: 10px 0;
    font-size: 13px;
}

/* ============================================================
   RESPONSIVE - TABLET (max 900px)
   ============================================================ */
@media (max-width: 900px) {

    .sr-body-wrap {
        grid-template-columns: 1fr;
    }

    .sr-sidebar {
        order: 2;
    }

    .sr-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sr-contact-grid {
        grid-template-columns: 1fr;
    }

    .sr-header-search { display: none; }
}

/* ============================================================
   RESPONSIVE - MOBILE (max 600px)
   ============================================================ */
@media (max-width: 600px) {

    /* Header */
    .sr-site-name { font-size: 18px !important; }
    .sr-logo-wrap img,
    .sr-logo-wrap .sr-logo-placeholder { width: 50px; height: 50px; }

    /* Navigation */
    .sr-hamburger { display: flex !important; width: 100%; }

    .sr-nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #222;
    }

    .sr-nav-list.sr-nav-open { display: flex; }

    .sr-nav-list > li > a {
        padding: 10px 16px;
        border-right: none;
        border-bottom: 1px solid #333;
        text-transform: none;
        font-size: 14px;
    }

    .sr-nav-list .sub-menu {
        position: static;
        display: none;
        background: #2a2a2a;
        border: none;
        border-top: none;
    }

    .sr-nav-list > li.sr-submenu-open .sub-menu {
        display: block;
    }

    .sr-nav-list .sub-menu li a {
        padding-left: 28px;
    }

    /* Topbar */
    .sr-topbar .sr-container { justify-content: center; }
    .sr-topbar-left { display: none; }

    /* Ticker */
    .sr-ticker-content marquee { font-size: 12px; }

    /* Tables - scroll on mobile */
    .sr-post-body table,
    .sr-imp-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    /* Footer */
    .sr-footer-grid { grid-template-columns: 1fr; }
    .sr-footer-bottom .sr-container { flex-direction: column; text-align: center; }
    .sr-post-title { font-size: 16px !important; }

    /* Search form */
    .sr-search-form { display: none; }

    /* Share bar */
    .sr-share-bar { gap: 5px; }
    .sr-share-btn { padding: 3px 8px; font-size: 11px; }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    .sr-topbar, .sr-nav-wrap, .sr-ticker,
    .sr-sidebar, .sr-share-bar, .sr-footer-widgets,
    .sr-footer-bottom { display: none !important; }
    .sr-body-wrap { display: block; }
    .sr-main { width: 100%; }
}
