@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400&display=swap');

@font-face {
  font-family: 'UmbaSans';
  src: url('fonts/UmbaSans-BoldDemo.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'AppliedSans';
  src: url('fonts/AppliedSansProBlkCn.TTF') format('truetype');
  font-weight: bold;
  font-style: normal;
}

/* Always hide on desktop */
.mobile-header,
.mobile-nav {
  display: none;
}


/* GENERAL */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: white;
  color: #111;
}

.site-border {
  border: 5px solid #ff6ebd;
  padding: 1.5rem 1rem 1rem;
  max-width: 1200px;
  margin: 1rem auto;
  background: white;
  box-sizing: border-box;

  /* NEW: makes it stretch around tall children */
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.banner-box {
  background: #000;
  border: 4px solid #ff6ebd;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 110, 189, 0.6);
}

/* HEADER */
.header-wrapper {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  margin-top: 0;
  padding-bottom: 1rem;
  border-bottom: 10px solid #fa58b6;
  background: white;
  padding: 1rem 0;
  margin-left: -1rem;
  margin-right: -1rem;
}

.header-left img {
  max-width: 100%;
  height: auto;
}


.header-right {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 1.0rem;
  margin-left: -100px;
}

.header-right h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-style: italic;
  margin: 0;
}

.header-right p {
  font-style: italic;
  margin: 0;
  font-size: 1rem;
  color: #333;
}

/* NAVIGATION */
.nav {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 0.75rem 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.nav a {
  background: black;
  color: white;
  text-decoration: none;
  font-family: 'Trebuchet MS', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.6rem 1.4rem;
  display: inline-block;
  position: relative;
  clip-path: polygon(12px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 12px);
  box-shadow: 2px 2px 0 #000;
  transition: transform 0.15s ease-in-out, background 0.2s;
}

.nav a:hover {
  background: #222;
  transform: translateY(-1px);
}


.nav a.active {
  background: linear-gradient(to bottom, #ff80c0, #d93280);
}

/* LAYOUT */
.main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;

  /* NEW: makes both columns stretch evenly */
  align-items: stretch;

  /* allow it to grow fully within .site-border */
  flex: 1;
  margin-top: 1rem;
}



.left-sidebar,
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.left-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  height: auto%;
}


.sidebar-modules {
  margin: -1rem 5rem -1rem 0;
  margin-left: -1rem;
  padding: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-inner {
  display: flex;
  flex-direction: column;
}
html, body {
  height: 100%;
}
/* WEATHER */
.weather-box {
  background: linear-gradient(to bottom, #001f3f, #005f9f);
  color: white;
  font-family: 'Trebuchet MS', sans-serif;
  padding: 1.25rem 1rem;
  font-size: 0.95rem;
  width: 100%;
  min-height: 180px;
  box-sizing: border-box;
}

.weather-box h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.weather-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.weather-info img {
  height: 40px;
}

.weather-info .temp {
  font-size: 1.5rem;
   font-family: 'Trebuchet MS', sans-serif;
  font-weight: bold;
}

.weather-box p {
  margin: 0;
  font-size: 1rem;
    font-weight: normal;
   font-family: 'AppliedSans', sans-serif;
  line-height: 1.4;
}

/* ADS */
.ad {
  max-width: 100%;
  max-height: 600px;
  display: block;
}

/* QUESTION MODULE */
.question-box {
  background: linear-gradient(to bottom right, #00c6ff, #0072ff);
  color: white;
  font-family: 'Trebuchet MS', sans-serif;
  padding: 1rem;
  font-size: 0.85rem;
}

.question-title {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.1rem;
  margin: 0;
}

.question-sub {
  font-weight: 300;
  font-size: 0.75rem;
  opacity: 0.9;
  margin-bottom: 0.25rem;
}

.question-divider {
  width: 100px;
  height: 2px;
  background: white;
  opacity: 0.5;
  margin: 0.5rem 0;
}

.question-text {
  font-weight: bold;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.poll-group {
  margin-bottom: 1rem;
}

.poll-label {
  font-family: 'AppliedSans', sans-serif;
  font-size: 0.75rem;
  margin-bottom: 0.2rem;
}

.poll-percent {
  font-family: 'AppliedSans', sans-serif;
  font-size: 0.7rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.poll-bar {
  width: 100%;
  height: 10px;
  background: white;
  border: 2px solid white;
}

.poll-fill {
  height: 100%;
  background: #00eaff;
}

/* TRANSPORT */
.transport-alert {
  background: #ee3e30;
  color: white;
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.55rem;
  padding: 0.25rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border: 1px solid #fff;
}

.transport-left {
  text-align: left;
  line-height: 1.2;
}

.transport-left strong {
  font-size: 0.6rem;
}

.transport-left img {
  width: 60px;
  margin-top: 0.2rem;
}

.transport-barcode-image {
  width: 100%;
  height: auto;
  margin: 0.2rem 0;
}

.transport-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.transport-item {
  flex: 1 1 30%;
  min-width: 80px;
  text-align: left;
  font-size: 0.6rem;
  line-height: 1.2;
}

/* STOCK */
.stock-market {
  background: #3a9235;
  color: white;
  font-family: 'Trebuchet MS', sans-serif;
  padding: 0.75rem;
  font-size: 0.8rem;
  box-sizing: border-box;
  line-height: 1.5;
  border: 1px solid #fff;
}

.stock-market h3 {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
}

.stock-sub {
  font-size: 0.7rem;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.stock-entry {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.1rem 0;
}

.stock-entry .symbol {
  margin: 0 0.4rem;
}

.stock-entry .change {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* FEATURED IMAGE */
.featured-image {
  display: block;
  width: calc(100% + 1rem);
  border-style: solid;
  border-width: 0 0 4px 4px;
  border-color: #ff6ebd;
  margin: 0;
  position: relative;
  top: -1rem;
  right: -2.43rem;
  margin-left: -2.7rem;
  margin-top: -1rem;
}

/* SECTIONS & ARTICLES */
.section-title,
.right-section-title {
  display: inline-block;
  background: #ff6ebd;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 5px 40px;
  border-radius: 2px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
  font-family: 'UmbaSans', sans-serif;
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-title.business {
  background: #f78e1e;
  font-family: 'AppliedSans', sans-serif;
}

.right-section-title {
  margin-left: auto;
  margin-right: 19rem;
  display: block;
  width: fit-content;
}
filler-article,
.article {
  margin-left: -80px;
  max-width: 600px;
  padding:0rem 0rem 0rem rem;
  font-family: 'Constantia', serif;
}

.rightarticle {
  max-width: 400px;
  padding: 1rem 0;
  margin-left: 1rem;
  flex-grow: 1;
}


.article h3,
.rightarticle h3 {
  font-family: 'Russo One', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0.25rem 0 0.75rem;
}

.author {
  background-color: #7a7a7a;
  color: white;
  font-style: italic;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-family: 'Arial', sans-serif;
  margin: 10px 0;
  text-align: center;
}

.interactions {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  color: #00c2d2;
  margin-top: 0.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.emoji {
  height: 30px;
  width: 30px;
  vertical-align: middle;
  margin-right: 4px;
}

.right-sidebar {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.link-note {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: #7c65fb;
}

.inline-image {
  width: 100%;
  display: block;
  margin-bottom: 1rem;
}
 /* Random article injected style */
    .random-article {
      background: #fff;
      border-radius: 0.25rem;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      margin: 2rem 0;
      padding: 1rem;
    }
    .random-article .section-title {
      background: #f78e1e;
      color: #fff;
      font-weight: bold;
      font-size: 0.8rem;
      padding: 0.25rem 0.5rem;
      text-transform: uppercase;
      display: inline-block;
      box-shadow: 3px 3px 0 #000;
    }
    .random-article h3 {
      font-size: 1.3rem;
      margin: 0.5rem 0;
      text-transform: uppercase;
      font-weight: 800;
    }
    .random-article .author {
      font-size: 0.75rem;
      font-style: italic;
      color: white;
      background: #888;
      padding: 0.25rem 0.75rem;
      margin: 0.5rem 0;
      display: inline-block;
      font-family: 'Roboto', sans-serif;
    }
    .random-article .interactions {
      display: flex;
      gap: 1.5rem;
      font-size: 0.9rem;
      color: #00eaff;
      font-family: 'Orbitron', sans-serif;
      margin-top: 0.5rem;
    }
    .random-article .link-note {
      font-size: 0.85rem;
      color: #7c65fb;
      margin-top: 0.5rem;
    }
