/*
Theme Name: GoheTV
Theme URI: http://gohetv.com/
Author: Giyon labs
Version: 1.0 - Ethiopian News & Magazine
*/

:root {
    --bg: #eef2ea;
    --paper: #ffffff;
    --ink: #0d1712;
    --muted: #5e6a60;
    --line: #d6ddd0;
    --red: #be1e2d;
    --green: #1f6b45;
    --navy: #142234;
    --gold: #c8a15d;
    --shadow: 0 24px 60px rgba(10, 12, 16, 0.08);
    --serif: 'Cormorant Garamond', serif;
    --sans: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

p {
    color: var(--muted);
}

.topbar,
.newsfront,
.site-footer {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0 18px;
    border-bottom: 1px solid var(--line);
}

.brand-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mini-label,
.eyebrow,
.brief-meta,
.mini-tag,
.panel-head span,
.footer-links h4,
.footer-subscribe h4,
.live-badge {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.08em;
    line-height: 0.9;
}

.site-logo {
    display: block;
    height: clamp(64px, 7vw, 92px);
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.25s ease;
}

.nav-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: width 0.25s ease;
}

.nav-item:hover,
.nav-item.active {
    color: var(--ink);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.header-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: #fff;
    padding: 6px 9px;
    border-radius: 999px;
}

.ticker-wrap,
.section-heading,
.footer-bottom,
.footer-strip {
    width: 100%;
}

.site-tagline {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 10px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticker-wrap {
    overflow: hidden;
    background: var(--ink);
    color: var(--paper);
    border-top: 1px solid rgba(120,200,150,0.2);
    border-bottom: 1px solid rgba(120,200,150,0.2);
}

.ticker {
    display: flex;
    align-items: center;
    white-space: nowrap;
    min-width: 100%;
    animation: ticker 18s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 12px 26px;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.9;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.newsfront {
    display: grid;
    grid-template-columns: 1.8fr 0.8fr;
    gap: 28px;
    padding: 28px 0 40px;
}

.lead-story {
    background: var(--paper);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    overflow: hidden;
}

.lead-image {
    min-height: 420px;
}

.lead-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lead-copy {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    color: var(--green);
    margin-bottom: 16px;
}

.lead-copy h2 {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 0.92;
    letter-spacing: -0.05em;
    font-weight: 600;
    margin-bottom: 16px;
}

.lead-copy p {
    font-size: 1.04rem;
    line-height: 1.7;
    margin-bottom: 22px;
}

.story-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.briefs-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 24px 22px;
    align-self: start;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
}

.panel-head a {
    color: var(--green);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brief-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

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

.brief-meta {
    color: var(--green);
    margin-bottom: 8px;
}

.brief-item h3,
.mini-copy h3 {
    font-size: 1.15rem;
    line-height: 1.3;
    font-weight: 700;
}

.news-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
    margin-top: 8px;
}

.news-section {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 20px 18px 18px;
    box-shadow: var(--shadow);
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.section-heading h2 {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.section-heading a {
    color: var(--green);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mini-story {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.mini-story:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mini-thumb {
    overflow: hidden;
}

.mini-thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mini-thumb:hover img {
    transform: scale(1.04);
}

.mini-tag {
    color: var(--green);
    display: inline-block;
    margin-bottom: 8px;
}

.mini-copy p {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.6;
    margin-top: 8px;
}

.empty-state {
    color: var(--muted);
    font-size: 0.92rem;
}

.site-footer {
    background: var(--ink);
    color: var(--paper);
    padding: 0 0 28px;
    margin-top: 10px;
}

.footer-strip {
    display: flex;
    align-items: center;
    gap: 18px;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 14px 0;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 36px;
    padding: 42px 0 26px;
}

.footer-branding {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-branding .brand-mark {
    font-size: clamp(2.2rem, 4vw, 4rem);
    color: var(--paper);
}

.footer-branding .site-logo {
    height: clamp(84px, 9vw, 116px);
}

.footer-branding p {
    max-width: 420px;
    color: rgba(255,255,255,0.7);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.footer-links h4,
.footer-subscribe h4 {
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-bottom {
    color: rgba(255,255,255,0.8);
}

.newsletter-form {
    display: flex;
    border: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
    max-width: 360px;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 16px;
    color: var(--paper);
    font: inherit;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form button {
    background: var(--paper);
    color: var(--ink);
    border: none;
    padding: 14px 18px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

@media (max-width: 980px) {
    .newsfront {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lead-story {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-tagline {
        white-space: normal;
        text-align: left;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-strip {
        gap: 10px;
    }
}
