body {
  margin: 0;
  font-family: Nunito, sans-serif;
  background: #0f0f10;
  color: #f2f2f2;
}

/* OUTER SPACE (creates "editorial margins") */
.app-container {
  display: flex;
  justify-content: center;

  padding: 40px 20px;
}

/* MAIN BLOCK (THIS IS YOUR "PAGE") */
.site-container {
  width: 100%;
  max-width: 900px;

  background: #141416;

  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 18px;

  padding: 40px;

  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* CONTENT */
.about-content h2 {
  margin-top: 60px;
  font-size: 22px;
}

.about-content p {
  opacity: 0.85;
  margin-bottom: 16px;
}

/* FEATURE GRID */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.feature-card {
  background: #151922;
  border: 1px solid #2a2f3a;
  padding: 16px;
  border-radius: 10px;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

/* CONTACT */
.email {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid #2a2f3a;
  border-radius: 8px;
  background: #151922;
}


/* LEFT COLUMN */
.main-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}


/* SOURCE LABEL */
.source {
  font-size: 12px;

  color: #6a5cff;

  font-weight: 700;
}

/* TEXT */
.news-item p {
  margin: 8px 0;

  font-size: 14px;

  line-height: 1.4;

  color: #222;
}

.news-item small {
  color: #777;
  font-size: 12px;
}

/* BRAND */
.brand-block h1 {
  font-size: 54px;

  margin: 0;

  letter-spacing: -2px;
}

.brand-block p {
  color: #666;

  margin-top: 10px;

  font-size: 16px;
}

/* META LINE */
.header-meta {
  margin-top: 20px;

  display: flex;
  gap: 10px;

  font-size: 13px;

  color: #888;

  text-transform: uppercase;

  letter-spacing: 1px;
}

.follow-btn,
.nav-btn,
.back-btn {
  background: transparent;

  color: #fff;

  border: 1px solid rgba(255,255,255,0.2);

  padding: 10px 14px;

  border-radius: 999px;

  cursor: pointer;

  text-decoration: none;

  transition: 0.2s;
}

.follow-btn:hover,
.nav-btn:hover,
.back-btn:hover {
  background: rgba(255,255,255,0.05);
}

/* CENTERED PAPER */
.newsletter-header {
  text-align: center;

  padding: 60px 20px 40px;

  border-bottom: 1px solid rgba(0,0,0,0.08);

  margin-bottom: 30px;
}

.newsletter-header h1 {
  font-weight: 700;
}

.newsletter-header p {
  max-width: 500px;

  margin-left: auto;
  margin-right: auto;

  line-height: 1.6;
}

#nlContent p {
  font-size: 18px;

  line-height: 1.8;

  color: #ddd;

  margin-bottom: 18px;
}

#nlContent strong {
  color: #fff;
}

.newsletter-meta {
  color: #888;

  font-size: 13px;

  margin-bottom: 20px;
}

.back-btn {
  display: inline-block;

  margin-top: 20px;

  margin-bottom: 20px;

  text-decoration: none;

  color: #111;

  font-weight: 600;
}

/* LOGO */
.logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* SEARCH */
.search {
  width: 100%;
  padding: 12px;

  border: none;
  border-radius: 12px;

  background: #f2f2f7;

  margin-bottom: 25px;
}

/* MENU */
.menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

/* WRITE BUTTON */
.write-btn {
  margin-top: 25px;

  width: 100%;
  padding: 14px;

  border: none;
  border-radius: 14px;

  background: black;
  color: white;

  font-weight: bold;
  cursor: pointer;
}

/* SUGGEST BOX */
.suggest-box {
  margin-top: 30px;

  background: #f7f7fb;

  padding: 15px;
  border-radius: 16px;
}

.suggest-box span {
  color: #6a5cff;
  font-weight: 700;
}

/* CENTER */
.center {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* HERO */
.editorial-header {
  padding: 60px 0 40px;

  border-bottom: 1px solid rgba(255,255,255,0.08);

  text-align: center;
}

.editorial-header h1 {
  font-size: 52px;

  margin: 0;

  color: #ffffff;
}

.editorial-header p {
  color: #b3b3b3;

  margin-top: 10px;
}

/* POSTS */
.feed {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.post-card {
  display: flex;
  justify-content: space-between;
  gap: 25px;

  padding: 22px 0;

  border-bottom: 1px solid rgb(0, 0, 0);

  cursor: pointer;
}

/* LEFT TEXT BLOCK */
.post-info {
  flex: 1;
}

/* TITLE */
.post-card h2 {
  font-size: 24px;
  margin: 6px 0;

  letter-spacing: -0.5px;
}

/* DESCRIPTION */
.post-card p {
  color: #555;
  line-height: 1.6;
  font-size: 15px;
}

/* META */
.post-meta {
  font-size: 13px;
  color: #777;
  margin-bottom: 6px;
}

/* IMAGE */
.thumb {
  width: 160px;
  height: 110px;

  object-fit: cover;

  border-radius: 12px;

  border: 1px solid rgba(0,0,0,0.08);
}
/* READER */
.reader {
  background: white;

  border-radius: 24px;

  padding: 40px;
}

.article-cover {
  width: 100%;
  border-radius: 20px;

  margin-bottom: 30px;
}

#content p {
  line-height: 1.9;
  color: #444;
}

#content h2 {
  margin-top: 40px;
}

/* RIGHT WIDGETS */
.widget {
  background: #f7f7fb;

  padding: 20px;
  border-radius: 16px;

  margin-bottom: 20px;
}

.hidden {
  display: none;
}

/* ARTICLE PAGE */
.article-page {
  background: #0f0f10;

  color: #f2f2f2;

  max-width: 850px;

  margin: auto;

  padding: 40px;
}

.article-cover {
  width: 100%;

  border-radius: 16px;

  margin-bottom: 30px;
}

#title {
  font-size: 44px;

  color: #fff;
}

#meta {
  color: #888;
}

#content {
  color: #ddd;

  line-height: 1.9;
}
.back-btn {
  margin-bottom: 20px;

  border: none;
  background: #f2f2f7;

  padding: 10px 14px;

  border-radius: 10px;

  cursor: pointer;
}

.mobile-nav {
  display: none;
}

.newsletter-header {
  padding: 50px 0 30px;

  border-bottom: 1px solid rgba(0,0,0,0.08);

  margin-bottom: 30px;
}

.newsletter-header h1 {
  font-size: 44px;

  margin: 0;
}

.newsletter-header p {
  color: #666;

  margin-top: 10px;
}

/* CARDS */
.newsletter-card {
  padding: 18px;

  border-bottom: 1px solid rgba(255,255,255,0.08);

  cursor: pointer;
}

.newsletter-card h2 {
  margin: 6px 0;
  font-size: 20px;
}

.newsletter-body {
  margin-top: 12px;

  padding-top: 12px;

  border-top: 1px solid rgba(255,255,255,0.08);

  color: #ddd;

  line-height: 1.7;
}

.hidden {
  display: none;
}
.newsletter-card p {
  color: #555;

  font-size: 14px;
}

/* DATE */
.nl-date {
  font-size: 12px;

  color: #888;

  letter-spacing: 1px;
}

/* READER */
#newsletterReader {
  max-width: 800px;

  margin: auto;

  padding: 40px;
}

#nlContent {
  line-height: 1.9;

  font-size: 16px;

  color: #333;

  margin-top: 20px;
}

.header-actions {
  margin-top: 15px;
}

.nav-btn {
  display: inline-block;

  padding: 10px 14px;

  border-radius: 999px;

  border: 1px solid rgba(0,0,0,0.15);

  background: white;

  color: #111;

  text-decoration: none;

  font-weight: 600;

  font-size: 14px;

  transition: 0.2s;
}

.nav-btn:hover {
  background: #f2f2f7;

  transform: translateY(-1px);
}

@media (max-width: 900px) {

  /* APP STACK */
  .app {
    display: flex;
    flex-direction: column;
    padding: 15px;
    gap: 20px;
  }

  /* CENTER */
  .center {
    padding: 10px;
  }

  /* HERO */
  .hero {
    padding: 18px;
  }

  .hero h1 {
    font-size: 28px;
  }

  /* FEED */
  .post-card {
    flex-direction: column;
    padding: 16px 0;
  }

  .thumb {
    width: 100%;
    height: 200px;
  }

  /* SITE CONTAINER (MOBILE CARD) */
  .site-container {
    padding: 15px;
  }

  /* BRAND */
  .brand-block h1 {
    font-size: 34px;
  }

  /* ARTICLE */
  .article-page {
    padding: 20px;
  }

  .article-cover {
    height: 220px;
  }

  #title {
    font-size: 28px;
  }

  #content {
    font-size: 16px;
    line-height: 1.7;
  }

  /* MENU */
  .menu {
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
  }

  .menu a {
    white-space: nowrap;
    padding: 8px 12px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 999px;
    background: rgba(255,255,255,0.6);
  }

  /* BACKGROUND */
  body {
    background-size: 24px 24px;
  }

  /* ABOUT SECTION (NOW INSIDE MEDIA QUERY) */
  .about-content {
    padding: 10px 0;
  }

  .about-content h1 {
    font-size: 28px;
  }

  .about-content h2 {
    font-size: 22px;
  }

  .about-content p {
    font-size: 15px;
    line-height: 1.7;
  }
}

.newsletter-header {
  padding: 30px 10px 20px;
  text-align: center;
}

.newsletter-header h1 {
  font-size: 28px;
  line-height: 1.2;
}

.newsletter-header p {
  font-size: 14px;
  color: #aaa;
}

/* FEED SPACING */
#newsletterFeed {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* NEWSLETTER CARDS */
.newsletter-card {
  padding: 14px;

  border-radius: 12px;

  border: 1px solid rgba(255,255,255,0.08);

  background: rgba(255,255,255,0.03);
}

.newsletter-card h2 {
  font-size: 18px;
  margin: 6px 0;
  line-height: 1.3;
}

.newsletter-card p {
  font-size: 14px;
  color: #bbb;
}

/* DATE */
.nl-date {
  font-size: 11px;
  color: #777;
}

/* READER VIEW (IMPORTANT MOBILE FIX) */
#newsletterReader {
  padding: 18px;
}

#nlTitle {
  font-size: 24px;
  line-height: 1.2;
}

#nlSubtitle {
  font-size: 14px;
  color: #aaa;
}

#nlContent {
  font-size: 15px;
  line-height: 1.7;
  color: #ddd;
}

/* BACK BUTTON */
.back-btn {
  padding: 10px 12px;
  font-size: 14px;
}
  