body {
  background: #f5f6f8;
  color: #252a30;
}


/* ========================================
   TechFlag Header
======================================== */

.tech-header {
    background:
        radial-gradient(ellipse at 85% 100%,
            rgba(0, 126, 255, .25), transparent 45%),
        linear-gradient(110deg, #102644, #07172f 65%, #092b50);
    border-bottom: 1px solid #164b78;
    position: relative;
    overflow: hidden;
    padding: 15px 0;
}

/* Circuit pattern */
.tech-header::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .16;
    background-image:
        linear-gradient(135deg, transparent 48%, #1596d8 49%, #1596d8 50%, transparent 51%),
        linear-gradient(45deg, transparent 48%, #1596d8 49%, #1596d8 50%, transparent 51%);
    background-size: 100px 65px;
}

.tech-header .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 22px;
}

.tech-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.tech-logo {
    width: 54px;
    height: 54px;
}

.brand-name {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1;
}

.brand-tech {
    color: #ffffff;
}

.brand-flag {
    color: #38bdf8;
}

.brand-divider {
    height: 35px;
    width: 1px;
    background: rgba(255,255,255,.35);
}

.brand-subtitle {
    color: #b9d9f5;
    font-size: .85rem;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Mobile */
@media (max-width: 576px) {
    .tech-header {
        padding: 12px 0;
    }

    .tech-header .container {
        gap: 12px;
    }

    .tech-logo {
        width: 43px;
        height: 43px;
    }

    .brand-name {
        font-size: 1.65rem;
    }

    .brand-divider {
        height: 27px;
    }

    .brand-subtitle {
        font-size: .58rem;
        letter-spacing: .8px;
    }
}


.main-container {
  max-width: 900px;
}

.panel,
.news-item {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
}

.panel {
  padding: 18px;
}

.news-item {
  padding: 17px;
  margin-bottom: 12px;
}

.news-title {
  font-size: 1.04rem;
  font-weight: 600;
  cursor: pointer;
}

.news-title:hover {
  color: #0d6efd;
}

.news-meta {
  font-size: .8rem;
  color: #777;
}

.favorite-btn {
  border: 0;
  background: transparent;
  color: #adb5bd;
  font-size: 1.3rem;
}

.favorite-btn.active {
  color: #e4a500;
}

.saved-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.saved-chip button {
  border: 0;
  background: none;
  padding: 0;
}

.section-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.source-domain {
  color: #6c757d;
  font-size: .78rem;
}

.news-item {
  transition: border-color .15s ease, box-shadow .15s ease;
}

.news-item:hover {
  border-color: #cbd5e1;
}

.news-title {
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.news-meta {
  line-height: 1.5;
}

.source-domain {
  overflow-wrap: anywhere;
}