body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #f9f9f9;
}

header {
  background-color: white;
  padding: 1em;
  text-align: left;
  position: sticky;
  top: 0;
}

header h2 {
  margin: 0;
}

header p {
  color: gray;
  margin: 4px 0;
}

header button {
  background-color: #ff2d55;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 15px;
  float: right;
  margin-top: -40px;
}

.top-stories {
  padding: 1em;
}

.top-stories h3 {
  color: crimson;
}

.main-story {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1em;
}

.main-story img {
  width: 100%;
  display: block;
}

.story-info {
  padding: 1em;
}

.story-info small {
  color: #ffcc00;
  font-weight: bold;
}

.story-info h4 {
  margin: 10px 0;
  font-size: 1.1em;
}

.byline {
  color: gray;
  font-size: 0.85em;
}

.grid-stories {
  display: flex;
  gap: 15px;
  padding: 20px;
  overflow-x: auto;
}

.story-card {
  flex: 0 0 47%;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.story-card img {
  width: 100%;
  display: block;
}

.text-block {
  padding: 10px;
}

.source {
  font-size: 12px;
  font-weight: bold;
  color: crimson;
  display: block;
  margin-bottom: 6px;
}

.text-block p {
  font-size: 14px;
  margin: 0;
}
a {
  text-decoration: none;
  color: black;
}

a:hover {
  text-decoration: underline;
}

.headline {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
  line-height: 1.4;
}
.news-row {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

.news-card {
  text-decoration: none;
  color: inherit;
  flex: 1;
  max-width: 48%;
}

.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.source {
  font-weight: bold;
  color: #b00;
  margin: 10px;
}

.headline {
  font-size: 16px;
  font-weight: bold;
  margin: 0 10px 10px;
}

.time {
  font-size: 12px;
  color: gray;
  margin: 0 10px 10px;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f7f7fa;
  margin: 0;
  padding: 20px;
}

.news-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-card {
  background: white;
  border-radius: 12px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.news-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.content {
  padding: 15px;
  flex: 1;
}

.content h4 {
  margin: 0 0 5px;
  font-weight: bold;
}

.content a {
  display: block;
  color: black;
  text-decoration: none;
  font-size: 15px;
  margin-bottom: 8px;
}

.content a:hover {
  text-decoration: underline;
}

.time {
  color: gray;
  font-size: 13px;
}

.small-btn {
  padding: 5px 10px;
  font-size: 12px;
  background-color: #eee;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 10px;
  font-size: 14px;
  color: #777;
}

.more-link {
  color: #e6005c;
  font-weight: bold;
  text-decoration: none;
}

.more-link:hover {
  text-decoration: underline;
}

.section-title {
  font-size: 18px;
  font-weight: bold;
  margin: 20px 0 10px;
}

.favorites-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fav-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.1s;
}

.fav-card:hover {
  transform: scale(1.01);
}

.fav-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

.card-left {
  flex: 1;
  margin-right: 10px;
}

.subscription {
  font-size: 12px;
  color: #999;
  margin-bottom: 4px;
}

.headline {
  font-size: 15px;
  font-weight: bold;
  margin: 4px 0;
}

.author {
  font-size: 12px;
  color: #666;
}

.status {
  text-align: center;
  padding: 40px 20px;
  background-color: #f6f6f8;
}

.status h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 40px;
}

.checkmark .circle {
  background-color: #ff2d55;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkmark .tick {
  color: white;
  font-size: 32px;
  font-weight: bold;
}

.checkmark h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.checkmark p {
  font-size: 15px;
  color: gray;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.news-card:hover {
  transform: scale(1.02);
}

.news-card img {
  width: 100%;
  height: auto;
  display: block;
}

.content {
  padding: 16px;
}

.content h4 {
  margin: 0 0 10px;
}

.content a {
  color: black;
  text-decoration: none;
  display: block;
}

.small-btn {
  background: #eee;
  border: none;
  padding: 8px 12px;
  margin-top: 10px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

.news-section {
  padding: 20px;
  background-color: #f9f9f9;
}

.news-card {
  display: flex;
  justify-content: space-between;
  background: white;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  align-items: center;
}

.news-card img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  margin-left: 12px;
}

.news-content {
  flex: 1;
}

.news-content h4 {
  font-size: 16px;
  margin: 0;
  font-weight: bold;
}

.headline {
  font-size: 14px;
  margin: 8px 0;
}

.subscription {
  font-size: 13px;
  color: gray;
  font-weight: bold;
}

.meta {
  font-size: 12px;
  color: gray;
}

button {
  margin-top: 6px;
  padding: 6px 12px;
  font-size: 13px;
  border: none;
  background: #f0f0f0;
  border-radius: 8px;
  cursor: pointer;
}