/* ========================================================
   GLOBAL WORK GUIDE — SAME TO SAME THEME STYLES (v2.0.0)
======================================================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

/* ColorMag Theme Overrides & Global Resets */
body.gwg-sitewide-shell #masthead,
body.gwg-sitewide-shell .site-header,
body.gwg-sitewide-shell #colophon,
body.gwg-sitewide-shell .site-footer {
    display: none !important;
}

body.gwg-custom-homepage-active #primary,
body.gwg-custom-homepage-active .content-area,
body.gwg-custom-homepage-active .inner-wrap,
body.gwg-custom-homepage-active .site-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}
body.gwg-custom-homepage-active #secondary,
body.gwg-custom-homepage-active .sidebar {
    display: none !important;
}

body {
    background-color: #f4f6f9 !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    color: #333;
    margin: 0;
    padding: 0;
}

.gwg-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

a {
    text-decoration: none !important;
    transition: 0.2s;
}

/* 1. TOP BAR */
.gwg-topbar {
    background-color: #0b1e33;
    color: #b5c7db;
    font-size: 11px;
    padding: 6px 0;
}
.gwg-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.gwg-topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.gwg-topbar-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}
.gwg-topbar-links a {
    color: #b5c7db;
}
.gwg-topbar-links a:hover {
    color: #fff;
}
.gwg-social-icons {
    display: flex;
    gap: 10px;
}
.gwg-social-icons a {
    color: #b5c7db;
    font-size: 11px;
}
.gwg-social-icons a:hover {
    color: #0073e6;
}

/* 2. MAIN HEADER */
.gwg-main-header {
    background: #fff;
    padding: 16px 0;
}
.gwg-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.gwg-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}
.gwg-logo-icon {
    font-size: 40px;
    color: #0073e6;
}
.gwg-logo-title {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: #0073e6;
    letter-spacing: -0.5px;
}
.gwg-logo-tagline {
    display: block;
    font-size: 11px;
    color: #666;
    font-weight: 500;
}
.gwg-ad-banner {
    background: linear-gradient(90deg, #0d2847 0%, #154c7d 100%);
    color: #fff;
    padding: 14px 28px;
    border-radius: 4px;
    min-width: 460px;
    text-align: center;
}
.gwg-ad-banner h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}
.gwg-ad-banner p {
    margin: 4px 0 0;
    font-size: 11px;
    color: #b2d2f2;
}

/* 3. NAVBAR */
.gwg-navbar {
    background: #092139;
}
.gwg-nav-inner {
    display: flex;
    align-items: center;
    position: relative;
}
.gwg-nav-home-icon {
    background: #0073e6;
    color: #fff;
    padding: 12px 16px;
    font-size: 14px;
}
.gwg-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.gwg-nav-menu li a {
    display: block;
    padding: 12px 14px;
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
}
.gwg-nav-menu li.active a,
.gwg-nav-menu li a:hover {
    background: #0073e6;
    color: #fff;
}
.gwg-nav-search {
    margin-left: auto;
}
.gwg-nav-search a {
    color: #fff;
    padding: 12px 16px;
    display: block;
}

/* 4. BREAKING NEWS TICKER */
.gwg-ticker-wrapper {
    margin-top: 14px;
}
.gwg-ticker-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e1e6eb;
    border-radius: 3px;
    height: 38px;
    overflow: hidden;
}
.gwg-ticker-badge {
    background: #e60000;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
}
.gwg-ticker-content {
    flex: 1;
    padding-left: 14px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gwg-ticker-content a {
    color: #333;
    font-weight: 600;
}
.gwg-ticker-content i {
    font-size: 7px;
    color: #0073e6;
    margin-right: 5px;
}
.gwg-ticker-controls {
    padding-right: 12px;
    color: #888;
    cursor: pointer;
}
.gwg-ticker-controls span {
    padding: 0 4px;
    font-size: 14px;
}

/* 5. HOMEPAGE GRID & LAYOUT */
.gwg-homepage-wrapper {
    margin-top: 16px;
}
.gwg-content-and-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: start;
}

/* HERO SECTION */
.gwg-hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 15px;
    margin-bottom: 24px;
}
.gwg-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 2px;
    text-transform: uppercase;
}
.gwg-badge-blue {
    background: #0073e6;
}

.gwg-hero-main-card {
    background: #092139;
    color: #fff;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.gwg-hero-img-link {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.gwg-hero-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gwg-dummy-img {
    width: 100%;
    height: 100%;
}
.gwg-hero-main-details {
    padding: 14px 16px;
}
.gwg-hero-main-details h2 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
}
.gwg-hero-main-details h2 a {
    color: #fff;
}
.gwg-meta {
    font-size: 10.5px;
    color: #8fa6bd;
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}
.gwg-hero-main-details p {
    font-size: 11.5px;
    line-height: 1.5;
    color: #cfdbe6;
    margin: 0;
}

/* Hero Stacked */
.gwg-hero-stacked {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.gwg-hero-sub-card {
    background: #092139;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.gwg-sub-img-link {
    position: relative;
    display: block;
    aspect-ratio: 16/8;
    overflow: hidden;
}
.gwg-sub-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gwg-sub-details {
    padding: 10px 12px;
}
.gwg-sub-details h3 {
    margin: 0 0 6px;
    font-size: 13.5px;
    line-height: 1.3;
}
.gwg-sub-details h3 a {
    color: #fff;
}

/* 6. THREE COLUMN SECTION */
.gwg-three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}
.gwg-col-block {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}
.gwg-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.gwg-block-header a {
    color: #fff;
    font-size: 10.5px;
}
.gwg-header-blue { background: #0073e6; }
.gwg-header-green { background: #00965e; }
.gwg-header-purple { background: #6b3ba6; }
.gwg-header-dark { background: #092139; }

.gwg-post-list {
    padding: 10px 12px;
}
.gwg-list-item {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f3f6;
    align-items: center;
}
.gwg-list-item:last-child {
    border-bottom: none;
}
.gwg-thumb {
    width: 68px;
    height: 48px;
    flex-shrink: 0;
    background: #eef2f5;
    border-radius: 2px;
    overflow: hidden;
    display: block;
}
.gwg-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gwg-thumb-dummy {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #0073e6;
    font-weight: bold;
}
.gwg-list-content h4 {
    margin: 0 0 4px;
    font-size: 11.5px;
    line-height: 1.35;
    font-weight: 700;
}
.gwg-list-content h4 a {
    color: #1a202c;
}
.gwg-list-content h4 a:hover {
    color: #0073e6;
}
.gwg-date {
    font-size: 10px;
    color: #888;
}

/* 7. BOTTOM FULL GRID (4 CARDS) */
.gwg-bottom-section {
    margin-top: 24px;
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}
.gwg-bottom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 14px;
}
.gwg-bottom-card {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 3px;
    overflow: hidden;
}
.gwg-bottom-thumb {
    position: relative;
    aspect-ratio: 16/9;
}
.gwg-bottom-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gwg-bottom-body {
    padding: 10px;
}
.gwg-bottom-body h4 {
    margin: 0 0 6px;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}
.gwg-bottom-body h4 a {
    color: #1a202c;
}
.gwg-bottom-body .gwg-meta {
    margin-bottom: 0;
}

/* 8. SIDEBAR */
.gwg-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.gwg-widget {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}
.gwg-widget-title {
    padding: 8px 12px;
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.gwg-widget-title a {
    color: #fff;
    font-size: 10.5px;
}
.gwg-title-blue {
    background: #0073e6;
}

/* Search widget */
.gwg-search-widget {
    border: none;
    background: transparent;
}
.gwg-search-widget form {
    display: flex;
    border: 1px solid #cbd5e0;
    border-radius: 3px;
    overflow: hidden;
    background: #fff;
}
.gwg-search-widget input {
    border: none;
    padding: 9px 12px;
    flex: 1;
    font-size: 12px;
    outline: none;
}
.gwg-search-widget button {
    background: #0073e6;
    border: none;
    color: #fff;
    padding: 0 15px;
    cursor: pointer;
}

/* Category list */
.gwg-cat-widget-list {
    list-style: none;
    margin: 0;
    padding: 6px 12px;
}
.gwg-cat-widget-list li {
    border-bottom: 1px solid #edf2f7;
}
.gwg-cat-widget-list li:last-child {
    border-bottom: none;
}
.gwg-cat-widget-list a {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 11.5px;
    color: #333;
    font-weight: 500;
}
.gwg-cat-widget-list a:hover {
    color: #0073e6;
}
.gwg-cat-cnt {
    color: #888;
    font-size: 10.5px;
}

/* Telegram Box */
.gwg-telegram-card {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    color: #fff;
    padding: 24px 18px;
    border-radius: 4px;
    text-align: center;
}
.gwg-tele-icon {
    font-size: 38px;
    margin-bottom: 8px;
}
.gwg-telegram-card h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
}
.gwg-telegram-card p {
    font-size: 11.5px;
    margin: 0 0 14px;
    color: #d6efff;
}
.gwg-tele-btn {
    background: #fff;
    color: #0088cc !important;
    padding: 7px 22px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

/* 9. FOOTER */
.gwg-footer {
    background: #08182b;
    color: #fff;
    padding: 30px 0 18px;
    margin-top: 40px;
}
.gwg-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.gwg-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.gwg-footer-logo i {
    font-size: 30px;
    color: #fff;
}
.gwg-footer-logo strong {
    display: block;
    font-size: 17px;
}
.gwg-footer-logo small {
    display: block;
    color: #8ca3be;
    font-size: 10px;
}
.gwg-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}
.gwg-footer-menu a {
    color: #c0d1e5;
    font-size: 11px;
}
.gwg-footer-social {
    display: flex;
    gap: 10px;
}
.gwg-footer-social a {
    color: #c0d1e5;
    font-size: 12px;
}
.gwg-footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px 0 14px;
}
.gwg-footer-disclaimer {
    text-align: center;
    font-size: 10.5px;
    color: #8ca3be;
    margin: 0 0 8px;
}
.gwg-footer-bottom {
    text-align: center;
    font-size: 11px;
    color: #fff;
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .gwg-content-and-sidebar {
        grid-template-columns: 1fr;
    }
    .gwg-ad-banner {
        display: none;
    }
    .gwg-three-columns {
        grid-template-columns: 1fr 1fr;
    }
    .gwg-bottom-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 650px) {
    .gwg-hero-grid {
        grid-template-columns: 1fr;
    }
    .gwg-three-columns {
        grid-template-columns: 1fr;
    }
    .gwg-bottom-grid {
        grid-template-columns: 1fr;
    }
    .gwg-topbar-right,
    .gwg-footer-top {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* 7. BOTTOM ARTICLES SECTION — FIXED POSITION */
.gwg-bottom-section {
    margin-top: 18px !important;
    margin-bottom: 0 !important;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}
.gwg-bottom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
    padding: 12px !important;
}
.gwg-bottom-card {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 3px;
    overflow: hidden;
}
.gwg-bottom-thumb {
    position: relative;
    aspect-ratio: 16/10;
}
.gwg-bottom-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gwg-bottom-body {
    padding: 8px 10px;
}
.gwg-bottom-body h4 {
    margin: 0 0 5px;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
}
.gwg-bottom-body h4 a {
    color: #1a202c;
}
.gwg-bottom-body .gwg-meta {
    font-size: 9.5px;
    margin-bottom: 0;
    gap: 8px;
}
