@charset "utf-8";

/* ==========================================================================
   TECHCRUNCH EDITORIAL NEWSBOARD - OFFICIAL REDESIGN (80%+ PIXEL FIDELITY)
   Pure Vanilla CSS | Ultra-Fast Performance | 100% TechCrunch Aesthetics
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+KR:wght@300;400;500;700;800;900&display=swap');

/* ==========================================================================
   1. CRITICAL RESET & COMPLETE SUPPRESSION OF OUTER FRAMEWORKS
   Hides Gnuboard and custom_normal theme artifacts completely
   ========================================================================== */
#hd, #ft, #cn-header, #cn-footer, #cn-top-btn,
#aside, #ol_before, .ol, #ol_be_cate, #visit, #poll, #top_btn,
.hd_pops, #skip_to_container, #hd_wrapper, #tnb, #gnb {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  pointer-events: none !important;
}

#cn-wrapper, #wrapper {
  padding-top: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  background: #FFFFFF !important;
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  background-color: #FFFFFF !important;
  color: #191919 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Noto Sans KR', 'Segoe UI', Roboto, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   2. TECHCRUNCH DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
  --tc-black: #050505;
  --tc-black-header: #050505;
  --tc-black-card: #0E100F;
  --tc-green-neon: #00D06C;
  --tc-green-editorial: #0A8935;
  --tc-green-hover: #05B35B;
  --tc-text-primary: #050505;
  --tc-text-secondary: #555555;
  --tc-text-muted: #767676;
  --tc-bg-white: #FFFFFF;
  --tc-bg-gray: #F7F7F8;
  --tc-bg-light: #FAFAFA;
  --tc-border-light: #EBEBEB;
  --tc-border-dark: #2A2A2A;
  --tc-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif;
  --tc-max-width: 1320px;
}

/* Base Wrapper */
.tc-root-scope {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--tc-bg-white);
  box-sizing: border-box;
}

.tc-root-scope *,
.tc-root-scope *::before,
.tc-root-scope *::after {
  box-sizing: border-box;
}

/* ==========================================================================
   3. TECHCRUNCH SIGNATURE DARK HEADER & MASTHEAD
   ========================================================================== */
.tc-site-header {
  background-color: var(--tc-black-header);
  color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.tc-header-inner {
  max-width: var(--tc-max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* TechCrunch Brand Logo */
.tc-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.tc-logo-svg {
  display: block;
  height: 26px;
  width: auto;
}

.tc-logo-wordmark {
  font-family: var(--tc-font-sans);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  line-height: 1;
}

/* Header Navigation Bar */
.tc-header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
}

.tc-nav-item {
  position: relative;
}

.tc-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 700;
  color: #E2E2E2;
  text-decoration: none;
  letter-spacing: -0.01em;
  position: relative;
  transition: color 0.18s ease;
}

.tc-nav-link:hover {
  color: var(--tc-green-neon);
}

.tc-nav-link.active {
  color: #FFFFFF;
}

.tc-nav-link.active::after,
.tc-nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background-color: var(--tc-green-neon);
}

.tc-nav-badge {
  display: inline-block;
  background: var(--tc-green-neon);
  color: #000000;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 5px;
  line-height: 1.2;
}

/* Header Utility Actions */
.tc-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.tc-btn-subscribe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--tc-green-neon);
  color: #000000 !important;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: background-color 0.18s ease, transform 0.15s ease;
}

.tc-btn-subscribe:hover {
  background-color: #00ea7a;
  transform: translateY(-1px);
}

.tc-btn-write {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.tc-btn-write:hover {
  border-color: var(--tc-green-neon);
  color: var(--tc-green-neon);
  background: rgba(0, 208, 108, 0.08);
}

.tc-btn-write.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ==========================================================================
   4. HOMEPAGE HERO FEATURED SECTION (TOP STORIES GRID)
   ========================================================================== */
.tc-container {
  max-width: var(--tc-max-width);
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.tc-hero-grid {
  display: grid;
  grid-template-columns: 63% calc(37% - 32px);
  gap: 32px;
  margin-bottom: 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--tc-border-light);
}

/* Left Lead Story */
.tc-lead-card {
  display: flex;
  flex-direction: column;
}

.tc-lead-image-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #F0F0F0;
  border-radius: 4px;
  margin-bottom: 18px;
}

.tc-lead-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.tc-lead-image-wrap:hover .tc-lead-image {
  transform: scale(1.025);
}

.tc-category-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--tc-green-editorial);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-decoration: none;
}

.tc-category-tag:hover {
  color: var(--tc-green-neon);
  text-decoration: underline;
}

.tc-lead-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}

.tc-lead-title a {
  color: var(--tc-text-primary);
  text-decoration: none;
  transition: color 0.18s ease;
}

.tc-lead-title a:hover {
  color: var(--tc-green-editorial);
}

.tc-lead-excerpt {
  font-size: 16px;
  line-height: 1.55;
  color: var(--tc-text-secondary);
  margin: 0 0 14px;
}

.tc-byline {
  font-size: 13px;
  color: var(--tc-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.tc-byline strong {
  color: var(--tc-text-primary);
  font-weight: 700;
}

/* Right Stacked Stories */
.tc-secondary-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tc-stack-card {
  display: flex;
  flex-direction: column;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--tc-border-light);
}

.tc-stack-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tc-stack-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 4px 0 10px;
}

.tc-stack-title a {
  color: var(--tc-text-primary);
  text-decoration: none;
  transition: color 0.18s ease;
}

.tc-stack-title a:hover {
  color: var(--tc-green-editorial);
}

/* ==========================================================================
   5. TWO-COLUMN RIVER FEED & TECHCRUNCH SIDEBAR
   ========================================================================== */
.tc-river-layout {
  display: grid;
  grid-template-columns: 66% calc(34% - 36px);
  gap: 36px;
}

/* Section Header */
.tc-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--tc-black);
}

.tc-section-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--tc-text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tc-section-title-dot {
  width: 10px;
  height: 10px;
  background-color: var(--tc-green-neon);
  border-radius: 50%;
  display: inline-block;
}

/* Category Filter Pills */
.tc-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tc-filter-pill {
  font-size: 13px;
  font-weight: 600;
  color: var(--tc-text-secondary);
  background: var(--tc-bg-gray);
  padding: 6px 14px;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}

.tc-filter-pill:hover {
  background: #EAEAEA;
  color: var(--tc-text-primary);
}

.tc-filter-pill.active {
  background: var(--tc-black);
  color: #FFFFFF;
}

/* Article Feed Rows (River Items) */
.tc-river-feed {
  display: flex;
  flex-direction: column;
}

.tc-river-item {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--tc-border-light);
  align-items: start;
}

.tc-river-item:first-child {
  padding-top: 0;
}

.tc-river-content {
  display: flex;
  flex-direction: column;
}

.tc-river-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 4px 0 10px;
}

.tc-river-title a {
  color: var(--tc-text-primary);
  text-decoration: none;
  transition: color 0.18s ease;
}

.tc-river-title a:hover {
  color: var(--tc-green-editorial);
}

.tc-river-excerpt {
  font-size: 15px;
  line-height: 1.5;
  color: var(--tc-text-secondary);
  margin: 0 0 12px;
}

.tc-river-thumb-wrap {
  display: block;
  width: 220px;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background-color: #F0F0F0;
  flex-shrink: 0;
}

.tc-river-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tc-river-thumb-wrap:hover .tc-river-thumb {
  transform: scale(1.04);
}

/* Pagination */
.tc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
  padding-top: 20px;
}

.tc-pagination a,
.tc-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--tc-text-primary);
  border: 1px solid var(--tc-border-light);
  background: #FFFFFF;
}

.tc-pagination span.current {
  background: var(--tc-black);
  color: #FFFFFF;
  border-color: var(--tc-black);
}

.tc-pagination a:hover {
  background: var(--tc-bg-gray);
  border-color: #CCC;
}

/* ==========================================================================
   6. TECHCRUNCH RIGHT SIDEBAR
   ========================================================================== */
.tc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tc-sidebar-widget {
  background: #FFFFFF;
  border: 1px solid var(--tc-border-light);
  border-radius: 6px;
  padding: 24px;
}

.tc-widget-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tc-text-primary);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--tc-black);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* "The Latest" Quick Stream */
.tc-stream-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tc-stream-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--tc-border-light);
}

.tc-stream-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tc-stream-time {
  font-size: 11px;
  font-weight: 800;
  color: var(--tc-green-editorial);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  display: block;
}

.tc-stream-link {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--tc-text-primary);
  text-decoration: none;
  transition: color 0.18s ease;
}

.tc-stream-link:hover {
  color: var(--tc-green-editorial);
}

/* TechCrunch Newsletter Widget (Dark Mode Card) */
.tc-newsletter-card {
  background: var(--tc-black-card);
  color: #FFFFFF;
  border-radius: 6px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tc-newsletter-badge {
  display: inline-block;
  background: rgba(0, 208, 108, 0.15);
  color: var(--tc-green-neon);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.tc-newsletter-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 8px;
  color: #FFFFFF;
}

.tc-newsletter-desc {
  font-size: 14px;
  color: #A0A0A0;
  line-height: 1.45;
  margin: 0 0 18px;
}

.tc-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tc-newsletter-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #FFFFFF;
  font-size: 14px;
  outline: none;
}

.tc-newsletter-input:focus {
  border-color: var(--tc-green-neon);
}

.tc-newsletter-btn {
  background: var(--tc-green-neon);
  color: #000000;
  font-size: 14px;
  font-weight: 800;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.18s;
}

.tc-newsletter-btn:hover {
  background: #00ea7a;
}

/* ==========================================================================
   7. ARTICLE VIEW PAGE (view.skin.php)
   ========================================================================== */
.tc-article-wrapper {
  max-width: var(--tc-max-width);
  margin: 0 auto;
  padding: 30px 20px 80px;
}

.tc-article-grid {
  display: grid;
  grid-template-columns: 66% calc(34% - 36px);
  gap: 36px;
}

.tc-article-main {
  max-width: 820px;
}

.tc-view-category {
  font-size: 13px;
  font-weight: 800;
  color: var(--tc-green-editorial);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: inline-block;
  text-decoration: none;
}

.tc-view-title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--tc-text-primary);
  margin: 0 0 16px;
}

.tc-view-deck {
  font-size: 20px;
  line-height: 1.45;
  color: var(--tc-text-secondary);
  margin: 0 0 24px;
}

/* Byline Bar */
.tc-view-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--tc-border-light);
  border-bottom: 1px solid var(--tc-border-light);
  margin-bottom: 28px;
  gap: 16px;
}

.tc-author-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tc-author-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.tc-author-meta {
  display: flex;
  flex-direction: column;
}

.tc-author-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--tc-text-primary);
  text-decoration: none;
}

.tc-author-name:hover {
  text-decoration: underline;
}

.tc-post-date {
  font-size: 13px;
  color: var(--tc-text-muted);
}

.tc-view-share {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tc-share-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tc-bg-gray);
  border: 1px solid var(--tc-border-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tc-text-primary);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.18s;
  cursor: pointer;
}

.tc-share-icon-btn:hover {
  background: var(--tc-black);
  color: #FFFFFF;
  border-color: var(--tc-black);
}

/* Hero Article Media */
.tc-view-hero-media {
  margin-bottom: 32px;
}

.tc-view-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.tc-view-media-caption {
  font-size: 13px;
  color: var(--tc-text-muted);
  margin-top: 8px;
  padding-left: 4px;
  font-style: italic;
}

/* Article Body Typography */
.tc-view-content {
  font-size: 19px;
  line-height: 1.78;
  color: #191919;
  word-break: keep-all;
}

.tc-view-content p {
  margin: 0 0 24px;
}

.tc-view-content h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 40px 0 16px;
  color: var(--tc-text-primary);
}

.tc-view-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 14px;
  color: var(--tc-text-primary);
}

.tc-view-content img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 4px;
  margin: 24px 0;
}

.tc-view-content blockquote,
.tc-pull-quote {
  border-left: 4px solid var(--tc-green-neon);
  margin: 32px 0;
  padding: 12px 24px;
  font-size: 22px;
  font-weight: 600;
  font-style: italic;
  color: #111111;
  background: #F9FAFB;
  border-radius: 0 6px 6px 0;
}

.tc-view-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 15px;
}

.tc-view-content th,
.tc-view-content td {
  padding: 12px 16px;
  border: 1px solid var(--tc-border-light);
  text-align: left;
}

.tc-view-content th {
  background: var(--tc-bg-gray);
  font-weight: 700;
}

/* ==========================================================================
   8. TECHCRUNCH MASSIVE DARK FOOTER
   ========================================================================== */
.tc-site-footer {
  background-color: var(--tc-black);
  color: #A0A0A0;
  padding: 60px 20px 40px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tc-footer-inner {
  max-width: var(--tc-max-width);
  margin: 0 auto;
}

.tc-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}

.tc-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.tc-footer-col h4 {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 16px;
}

.tc-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tc-footer-col a {
  color: #A0A0A0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.18s;
}

.tc-footer-col a:hover {
  color: var(--tc-green-neon);
}

.tc-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #707070;
}

.tc-admin-sync-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 208, 108, 0.12);
  color: var(--tc-green-neon) !important;
  border: 1px solid var(--tc-green-neon);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}

.tc-admin-sync-btn:hover {
  background: var(--tc-green-neon);
  color: #000000 !important;
}

/* ==========================================================================
   9. MOBILE & TABLET RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1024px) {
  .tc-hero-grid {
    grid-template-columns: 1fr;
  }
  .tc-river-layout,
  .tc-article-grid {
    grid-template-columns: 1fr;
  }
  .tc-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tc-header-inner {
    height: 60px;
  }
  .tc-header-nav {
    display: none;
  }
  .tc-river-item {
    grid-template-columns: 1fr;
  }
  .tc-river-thumb-wrap {
    width: 100%;
    order: -1;
  }
  .tc-lead-title {
    font-size: 25px;
  }
  .tc-view-title {
    font-size: 28px;
  }
  .tc-footer-grid {
    grid-template-columns: 1fr;
  }
  .tc-footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
