/* ==============================================
   BOSSGAMERZ — HOME PAGE CSS
   Prefix: gmerzboss-
   Enqueue via: functions.php wp_enqueue_style()
   ============================================== */

/* BASE */
.gmerzboss-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gmerzboss-section { padding: 48px 0; }
.gmerzboss-section--gray { background: #F8FAFC; }
.gmerzboss-section--white { background: #fff; }

.gmerzboss-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =====================
   HERO
   ===================== */
.gmerzboss-hero {
    background: #0F1E4A;
    padding-top: 44px;
}

.gmerzboss-hero__inner {
    text-align: center;
    padding-bottom: 36px;
}

.gmerzboss-hero__heading {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -.5px;
    margin: 0 0 12px;
}

.gmerzboss-hero__heading span {
    display: block;
    color: #F97316;
}

.gmerzboss-hero__sub {
    font-size: 16px;
    color: #94A3B8;
    margin: 0;
}

/* =====================
   TRENDING BAR
   ===================== */
.gmerzboss-tbar {
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 30, 74, .12);
    position: relative;
    z-index: 10;
}

.gmerzboss-tbar__wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 0 24px;
    display: flex;
    align-items: stretch;
    height: 50px;
}

.gmerzboss-tbar__label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #F97316;
    white-space: nowrap;
    flex-shrink: 0;
    padding-right: 16px;
    border-right: 1px solid #E2E8F0;
}

.gmerzboss-tbar__ctrl {
    display: flex;
    align-items: stretch;
    flex: 1;
    min-width: 0;
}

/* ARROWS */
.gmerzboss-tbar__btn {
    width: 40px;
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity .2s ease, background .2s ease, color .2s ease;
    position: relative;
    z-index: 2;
}

.gmerzboss-tbar__btn svg {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
}

.gmerzboss-tbar__btn--prev {
    border-right: 1px solid #E2E8F0;
    background: linear-gradient(to right, #fff 60%, transparent);
}

.gmerzboss-tbar__btn--next {
    border-left: 1px solid #E2E8F0;
    background: linear-gradient(to left, #fff 60%, transparent);
}

.gmerzboss-tbar__btn:hover {
    color: #F97316;
}

/* Disabled = low opacity */
.gmerzboss-tbar__btn:disabled,
.gmerzboss-tbar__btn[data-end="true"] {
    opacity: .25;
    cursor: default;
}

/* TRACK */
.gmerzboss-tbar__track {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    flex: 1;
    min-width: 0;
}

.gmerzboss-tbar__track::-webkit-scrollbar {
    display: none;
}

.gmerzboss-tbar__tag {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    border-right: 1px solid #F0F4F8;
    transition: color .15s, background .15s;
}

.gmerzboss-tbar__tag:first-child { border-left: none; }

.gmerzboss-tbar__tag:hover {
    color: #F97316;
    background: #FFF7ED;
}


/* =====================
   THUMBNAIL PATTERN
   Used on all image placeholders
   ===================== */
.gmerzboss-thumb {
    width: 100%;
    height: 100%;
    background-color: #1E3A8A;
    background-image:
        repeating-linear-gradient(
            45deg,
            rgba(249, 115, 22, .07) 0px,
            rgba(249, 115, 22, .07) 1px,
            transparent 1px,
            transparent 12px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(255, 255, 255, .03) 0px,
            rgba(255, 255, 255, .03) 1px,
            transparent 1px,
            transparent 12px
        );
    display: flex;
    align-items: center;
    justify-content: center;
}

.gmerzboss-thumb__ico {
    width: 36px;
    height: 36px;
    background: rgba(249, 115, 22, .18);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gmerzboss-thumb--sm .gmerzboss-thumb__ico {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

/* =====================
   AUTHOR CHIP
   ===================== */
.gmerzboss-chip {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gmerzboss-chip__av {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1E3A8A;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.gmerzboss-chip__name {
    font-size: 12px;
    color: #64748B;
}

.gmerzboss-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gmerzboss-meta__dot {
    color: #D1D5DB;
    font-size: 11px;
}

.gmerzboss-meta__time {
    font-size: 12px;
    color: #94A3B8;
}

/* =====================
   FEATURED GRID  #01–#07
   ===================== */
.gmerzboss-featured {
    background: #fff;
}

.gmerzboss-featured__grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.4fr;
    gap: 24px;
    align-items: start;
}

/* POST #01 — large */
.gmerzboss-f1 { text-decoration: none; }

.gmerzboss-f1__img {
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 14px;
}

.gmerzboss-f1__num {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #F97316;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 11px;
    border-radius: 5px;
    z-index: 1;
}

.gmerzboss-f1__cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #F97316;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 8px;
}

.gmerzboss-f1__title {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.4;
    margin: 0 0 12px;
    transition: color .2s;
}

.gmerzboss-f1__title:hover { color: #F97316; }

/* POSTS #02-#03 — mid col */
.gmerzboss-f-midcol {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gmerzboss-f2 {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
}

.gmerzboss-f2__num {
    display: inline-flex;
    align-items: center;
    height: 20px;
    background: #F97316;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 0 8px;
    border-radius: 4px;
    margin-bottom: 6px;
    flex-shrink: 0;
    align-self: flex-start;
}

.gmerzboss-f2__img {
    width: 96px;
    height: 78px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.gmerzboss-f2__body { flex: 1; }

.gmerzboss-f2__title {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.4;
    margin: 0 0 8px;
    transition: color .2s;
}

.gmerzboss-f2:hover .gmerzboss-f2__title { color: #F97316; }

/* POSTS #04-#07 — list col */
.gmerzboss-f-listcol {
    display: flex;
    flex-direction: column;
}

.gmerzboss-f3 {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
    text-decoration: none;
}

.gmerzboss-f3:last-child { border-bottom: none; }

.gmerzboss-f3__img {
    width: 78px;
    height: 62px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.gmerzboss-f3__num {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: #F97316;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    z-index: 1;
}

.gmerzboss-f3__title {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.4;
    margin: 0 0 8px;
    transition: color .2s;
}

.gmerzboss-f3:hover .gmerzboss-f3__title { color: #F97316; }

/* =====================
   SECTION TITLE
   ===================== */
.gmerzboss-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
}

.gmerzboss-section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 48px;
    height: 3px;
    background: #F97316;
    border-radius: 2px;
}

/* =====================
   CONTENT + SIDEBAR
   ===================== */
.gmerzboss-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

/* LARGE POST */
.gmerzboss-post-lg {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #E2E8F0;
}

.gmerzboss-post-lg__imgwrap {
    flex-shrink: 0;
    display: block;
    text-decoration: none;
    position: relative;
}

.gmerzboss-post-lg__img {
    width: 220px;
    height: 148px;
    border-radius: 10px;
    overflow: hidden;
}

.gmerzboss-post-lg__cat {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #F97316;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 5px;
    z-index: 1;
}

.gmerzboss-post-lg__body { flex: 1; }

.gmerzboss-post-lg__title {
    font-size: 17px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.45;
    margin: 0 0 10px;
}

.gmerzboss-post-lg__title a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}

.gmerzboss-post-lg__title a:hover { color: #F97316; }

.gmerzboss-post-lg__excerpt {
    font-size: 14px;
    color: #64748B;
    line-height: 1.65;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gmerzboss-post-lg__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

/* PAIR POSTS */
.gmerzboss-post-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #E2E8F0;
}

.gmerzboss-post-sm {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.gmerzboss-post-sm__imgwrap {
    flex-shrink: 0;
    display: block;
    text-decoration: none;
}

.gmerzboss-post-sm__img {
    width: 84px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
}

.gmerzboss-post-sm__title {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.4;
    margin: 0 0 8px;
}

.gmerzboss-post-sm__title a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}

.gmerzboss-post-sm__title a:hover { color: #F97316; }

/* QUICK SUMMARY */
.gmerzboss-qs {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #1E3A8A;
    text-decoration: none;
    transition: color .2s;
    margin-top: 8px;
}

.gmerzboss-qs:hover { color: #F97316; }

/* LOAD MORE */
.gmerzboss-loadmore {
    text-align: center;
    padding: 28px 0 8px;
}

.gmerzboss-loadmore__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #E2E8F0;
    background: #fff;
    color: #374151;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .2s, color .2s;
    font-family: inherit;
}

.gmerzboss-loadmore__btn:hover {
    border-color: #F97316;
    color: #F97316;
}

/* =====================
   SIDEBAR
   ===================== */
.gmerzboss-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 80px;
}

.gmerzboss-widget {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
}

.gmerzboss-widget__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 18px;
}

.gmerzboss-widget__head--orange { background: #F97316; }
.gmerzboss-widget__head--blue   { background: #1E3A8A; }

.gmerzboss-widget__head h3 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1;
}

.gmerzboss-widget__list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.gmerzboss-widget__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 18px;
    border-bottom: 1px solid #F3F4F6;
    transition: background .15s;
}

.gmerzboss-widget__item:last-child { border-bottom: none; }
.gmerzboss-widget__item:hover { background: #FFF7ED; }

.gmerzboss-widget__num {
    font-size: 12px;
    font-weight: 800;
    color: #F97316;
    flex-shrink: 0;
    min-width: 20px;
    padding-top: 1px;
}

.gmerzboss-widget__item a {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    text-decoration: none;
    line-height: 1.45;
    margin-bottom: 3px;
    transition: color .2s;
}

.gmerzboss-widget__item a:hover { color: #F97316; }

.gmerzboss-widget__author {
    font-size: 11px;
    color: #94A3B8;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
    .gmerzboss-layout { grid-template-columns: 1fr 260px; gap: 28px; }
    .gmerzboss-post-lg__img { width: 180px; height: 126px; }
}

@media (max-width: 900px) {
    .gmerzboss-featured__grid { grid-template-columns: 1fr; }
    .gmerzboss-f-listcol { display: grid; grid-template-columns: 1fr 1fr; }
    .gmerzboss-layout { grid-template-columns: 1fr; }
    .gmerzboss-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .gmerzboss-hero__heading { font-size: 28px; }
    .gmerzboss-post-pair { grid-template-columns: 1fr; }
    .gmerzboss-post-lg { flex-direction: column; }
    .gmerzboss-post-lg__img { width: 100%; height: 180px; }
    .gmerzboss-f-listcol { grid-template-columns: 1fr; }
    .gmerzboss-sidebar { grid-template-columns: 1fr; }
    .gmerzboss-section { padding: 36px 0; }
}