*,
::before,
::after {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  text-size-adjust: 100%;
}

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: rgb(26, 26, 26);
  background: rgb(255, 255, 255);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: rgb(0, 61, 165);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.top-bar {
  background: rgb(26, 26, 110);
  color: rgb(255, 255, 255);
  font-size: 12px;
  width: 100%;
}

.top-bar-container {
  max-width: 1200px;
  margin: 0px auto;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-left .grid-icon {
  display: inline-grid;
  grid-template-columns: repeat(3, 4px);
  gap: 2px;
}

.top-bar-left .grid-icon span {
  width: 4px;
  height: 4px;
  background: rgb(255, 255, 255);
  border-radius: 50%;
}

.top-bar-right {
  font-size: 11px;
  opacity: 0.9;
}

.main-header {
  background: rgb(255, 255, 255);
  border-bottom: 1px solid rgb(224, 224, 224);
  width: 100%;
}

.header-container {
  max-width: 1200px;
  margin: 0px auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 2px;
}

.logo-rai {
  background: rgb(0, 61, 165);
  color: rgb(255, 255, 255);
  font-weight: 700;
  font-size: 18px;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: Georgia, serif;
}

.logo-news {
  font-size: 22px;
  font-weight: 700;
  color: rgb(26, 26, 110);
  font-family: Georgia, serif;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-nav a {
  color: rgb(26, 26, 46);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.nav-dots {
  color: rgb(51, 51, 51);
  letter-spacing: 2px;
  font-size: 14px;
}

.header-extras {
  display: flex;
  align-items: center;
}

.header-extras a {
  text-decoration: none;
}

.header-extras .tgr-link,
.header-extras .live-link {
  color: rgb(26, 26, 46);
  font-size: 14px;
  font-weight: 600;
  padding: 0px 14px;
  border-left: 1px solid rgb(221, 221, 221);
  white-space: nowrap;
}

.chevron {
  font-size: 10px;
  color: rgb(26, 26, 110);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.weather {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgb(51, 51, 51);
}

.weather-city {
  font-size: 11px;
  color: rgb(51, 51, 51);
  white-space: nowrap;
}

.weather-icon {
  font-size: 18px;
}

.weather-temp {
  line-height: 1.1;
}

.weather-temp .high {
  color: rgb(230, 126, 0);
  font-weight: 700;
  font-size: 13px;
}

.weather-temp .low {
  color: rgb(102, 102, 102);
  font-size: 10px;
}

.search-icon {
  font-size: 18px;
  color: rgb(51, 51, 51);
  cursor: pointer;
}

@media (max-width: 992px) {
  .header-nav,
  .header-extras {
    display: none;
  }
}

.trending-bar {
  background: rgb(255, 255, 255);
  border-bottom: 1px solid rgb(224, 224, 224);
  width: 100%;
}

.trending-container {
  max-width: 1200px;
  margin: 0px auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}

.trending-links {
  display: flex;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
}

.trending-links::-webkit-scrollbar {
  display: none;
}

.trending-bar .label {
  font-weight: 700;
  color: rgb(204, 0, 0);
  margin-right: 12px;
  font-size: 13px;
  flex-shrink: 0;
}

.trending-links a {
  color: rgb(51, 51, 51);
  margin-right: 16px;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s ease 0s;
}

.trending-links a:hover {
  color: rgb(204, 0, 0);
  text-decoration: underline;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.social-icons .social-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  text-decoration: none;
  transition:
    opacity 0.2s ease 0s,
    transform 0.2s ease 0s;
  color: rgb(255, 255, 255) !important;
}

.social-icons .social-btn:hover {
  opacity: 0.85;
  transform: scale(1.08);
}

.social-icons .fb {
  background: rgb(24, 119, 242);
}

.social-icons .tw {
  background: rgb(0, 0, 0);
}

.social-icons .ig {
  background: radial-gradient(
    circle at 30% 107%,
    rgb(253, 244, 151) 0%,
    rgb(253, 244, 151) 5%,
    rgb(253, 89, 73) 45%,
    rgb(214, 36, 159) 60%,
    rgb(40, 90, 235) 90%
  );
}

.social-icons .rss {
  background: rgb(242, 101, 34);
}

@media (max-width: 600px) {
  .social-icons {
    display: none;
  }
}

.article-container {
  max-width: 680px;
  margin: 0px auto;
  padding: 20px 16px 40px;
}

.article-meta {
  font-size: 12px;
  color: rgb(102, 102, 102);
  margin-bottom: 16px;
  line-height: 1.5;
}

.article-meta .date {
  color: rgb(153, 153, 153);
}

.article-meta .category {
  color: rgb(0, 61, 165);
}

.article-meta .reading-time {
  color: rgb(153, 153, 153);
}

.article-headline {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: rgb(26, 26, 26);
  margin-bottom: 16px;
}

.article-lead {
  font-size: 17px;
  line-height: 1.5;
  color: rgb(51, 51, 51);
  margin-bottom: 20px;
  font-weight: 400;
}

.article-image {
  margin: 24px 0px;
}

.article-image img {
  width: 100%;
  border-radius: 2px;
}

.article-body p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  color: rgb(34, 34, 34);
}

.article-body .section-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  color: rgb(26, 26, 26);
  margin: 32px 0px 16px;
  line-height: 1.3;
}

.site-footer {
  background: rgb(26, 26, 110);
  color: rgba(255, 255, 255, 0.8);
  padding: 20px 16px;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .header-nav a {
    color: rgb(51, 51, 51);
    font-size: 15px;
    font-weight: 500;
  }
  .article-headline {
    font-size: 34px;
  }
  .article-lead {
    font-size: 19px;
  }
}

@media (min-width: 1024px) {
  .header-extras {
    display: flex;
    align-items: center;
  }
}

.rounded {
  border-radius: 10px !important;
}

.section-heading {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum";
}

.timeline-container {
  max-width: 680px;
  margin: 20px auto;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: rgb(34, 34, 34);
  line-height: 1.6;
}

.timeline-intro {
  font-size: 1.05em;
  margin-bottom: 25px;
  color: rgb(68, 68, 68);
}

.timeline-event {
  position: relative;
  padding-left: 80px;
  margin-bottom: 20px;
  border-left: 2px solid rgb(224, 224, 224);
  margin-left: 25px;
}

.timeline-time {
  position: absolute;
  left: -35px;
  top: 0px;
  background: rgb(230, 57, 70);
  color: rgb(255, 255, 255);
  font-weight: bold;
  font-size: 0.85em;
  padding: 3px 8px;
  border-radius: 4px;
}

.speech-bubble {
  margin: 10px 0px;
  padding: 10px 15px;
  background: rgb(248, 249, 250);
  border-left: 3px solid rgb(17, 17, 17);
  font-style: italic;
}

.highlight-quote {
  font-size: 1.1em;
  color: rgb(0, 0, 0);
  margin: 8px 0px;
}

.timeline-footer {
  margin-top: 30px;
  padding: 15px;
  background: rgb(255, 243, 205);
  border-radius: 6px;
  border: 1px solid rgb(255, 238, 186);
}

.timeline-footer p {
  margin-bottom: 8px;
}

.timeline-footer p:last-child {
  margin-bottom: 0px;
}

.diary-container {
  max-width: 680px;
  margin: 30px auto;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.diary-card {
  background: rgb(249, 249, 249);
  border-width: 1px 1px 1px 4px;
  border-style: solid;
  border-color: rgb(226, 232, 240) rgb(226, 232, 240) rgb(226, 232, 240)
    rgb(0, 86, 179);
  border-image: initial;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: rgba(0, 0, 0, 0.03) 0px 2px 4px;
}

.diary-card-final {
  border-left-color: rgb(40, 167, 69);
  background: rgb(244, 251, 246);
}

.diary-day {
  font-weight: 700;
  font-size: 1.15em;
  color: rgb(26, 26, 26);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.diary-content p {
  margin: 0px 0px 12px;
  line-height: 1.6;
  color: rgb(51, 51, 51);
  font-style: italic;
}

.diary-content p:last-child {
  margin-bottom: 0px;
}

.steps-container {
  max-width: 680px;
  margin: 30px auto;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: rgb(34, 34, 34);
}

.steps-list {
  list-style: none;
  counter-reset: step-counter 0;
  padding-left: 0px;
  margin-bottom: 25px;
}

.step-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 16px;
  min-height: 36px;
  display: flex;
  align-items: center;
}

.step-item::before {
  counter-increment: step-counter 1;
  content: counter(step-counter);
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  background-color: rgb(0, 86, 179);
  color: rgb(255, 255, 255);
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95em;
}

.step-item p {
  margin: 0px;
  line-height: 1.5;
  font-size: 1.05em;
}

.author-quote {
  background: rgb(248, 249, 250);
  border-left: 4px solid rgb(17, 17, 17);
  padding: 18px 20px;
  border-radius: 0px 8px 8px 0px;
  margin-top: 25px;
}

.quote-title {
  color: rgb(17, 17, 17);
  font-size: 1em;
  margin: 0px 0px 8px !important;
}

.author-quote p {
  margin: 0px;
  line-height: 1.6;
  color: rgb(68, 68, 68);
  font-style: italic;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(50% - 200px);
}

#form {
  max-width: 450px;
  width: 100%;
  margin: 30px auto;
}