@font-face {
  font-family: Eliot Lord;
  src: url(Fonts/Eliothand2-Regular.otf);
}

@font-face {
  font-family: Eliot Headline;
  src: url(Fonts/Eliotheadline-Regular.otf);
}

@font-face {
  font-family: Scum;
  src: url(Fonts/Thescum.otf);
}

@font-face {
  font-family: Sunbodytolove;
  src: url(Fonts/Sunbodytolove.otf);
}

@font-face {
  font-family: "Austin News Deck Web Medium Regular";
  src: url("https://db.onlinewebfonts.com/t/294629fdbf28fa0a2d3e70432b07581b.eot");
  src: url("https://db.onlinewebfonts.com/t/294629fdbf28fa0a2d3e70432b07581b.eot?#iefix")
      format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/294629fdbf28fa0a2d3e70432b07581b.woff2")
      format("woff2"),
    url("https://db.onlinewebfonts.com/t/294629fdbf28fa0a2d3e70432b07581b.woff")
      format("woff"),
    url("https://db.onlinewebfonts.com/t/294629fdbf28fa0a2d3e70432b07581b.ttf")
      format("truetype"),
    url("https://db.onlinewebfonts.com/t/294629fdbf28fa0a2d3e70432b07581b.svg#Austin News Deck Web Medium Regular")
      format("svg");
}

@font-face {
  font-family: Guardian;
  src: url(Fonts/Egyptian.otf);
}

@import url(https://db.onlinewebfonts.com/c/294629fdbf28fa0a2d3e70432b07581b?family=Austin+News+Deck+Web+Medium+Regular);

body {
  overflow-x: hidden;
}

body {
  padding-top: 0;
}

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

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ec1801;
}

body {
  padding-top: 0;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ec1801;
}

#everything {
  margin-top: 180px; /* Space for fixed header */
  padding-top: 0;
}

#everything > img:first-child {
  display: block !important;
  margin: 0 0 20px 0; /* Remove auto margins */
  width: 100% !important; /* Full width */
  max-width: 100% !important; /* Override any max-width */
  height: auto;
}

#everything > p {
  text-align: center !important;
  color: black !important;
  font-family: Scum !important;
  font-size: 7vw !important;
  padding-top: 20px !important;
  margin: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #everything {
    margin-top: 150px;
  }

  #everything > p {
    font-size: 8vw !important;
  }
}

@media (max-width: 480px) {
  #everything {
    margin-top: 130px;
  }

  #everything > p {
    font-size: 9vw !important;
  }
}

a {
  text-decoration: none;
}

footer a {
  font-family: Scum;
  color: #fff;
  font-weight: 100;
}

footer :hover {
  color: #ec1801;
  font-weight: 100;
}

footer,
footer a,
footer a:hover {
  font-weight: 100;
}

area {
  cursor: url("img/background/Pointer.svg"), pointer;
}

.prev,
.next {
  position: absolute;
  min-width: 50px;
  top: 50%;
  transform: translateY(50%);
  z-index: 100;
}

.pre {
  left: 0;
}

.nex {
  right: 0;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

.comtainer {
  background-color: #02a95b;
}

.gallerywrap {
  background-color: white;
  padding: 20px 0;
}

.gallery_text {
  color: #ec1801;
  font-weight: 900;
  font-size: 2.5dvw;
  font-weight: 100;
  text-align: center;
  padding-bottom: 20px;
}

.gallery_text a:hover {
  color: #b50938;
  font-weight: 900;
}

.gallery_text .activelinkgallery {
  font-family: Sunbodytolove;
  color: #faa61a;
}

strong a:hover {
  color: #115da8;
}

.activelinkgallery a:hover {
  font-family: Sunbodytolove;
  color: #00bed6;
}

.galleries a:hover {
  color: #b50938;
  font-weight: 900;
}

.mySlides {
  display: none;
  width: 50%;
  margin: auto;
  background-color: #2b2b2b;
}

.mySlides img {
  max-height: 400px;
  width: auto;
}

.prev:hover,
.next:hover {
  background-color: #12b6cf;
}

.numbertext {
  font-family: Scum;
  color: #ffffff;
  background-color: #2b2b2b;
  font-size: 30px;
  padding: 8px 12px;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.caption-container {
  text-align: center;
  background-color: #2b2b2b;
  padding: 2px 16px;
  font-family: Sunbodytolove;
}

.caption-container {
  color: white;
  font-size: 1.5dvw;
  font-weight: 100;
}

#rhubarb footer .activelinkfooter {
  position: relative;
  display: inline-block;
  background-image: none !important;
}

#rhubarb footer .activelinkfooter p {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

#rhubarb footer .activelinkfooter p::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background-image: url(img/background/Underline%20White.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: left bottom;
}
#llama,
#roche1,
.responsive .column,
.socials a {
  background-color: #ec1801;
}
#roche1,
.links,
footer {
  width: 100%;
}

.links-container a:hover {
  color: #ec1801;
}

.title_text1 {
  font-family: Sunbodytolove;
}

.title_text1 a {
  font-family: Scum;
}

.title_text1 a:hover {
  font-weight: 900;
}

#rhubarb footer a {
  max-width: fit-content;
  margin-inline: auto;
  margin: auto;
  width: 50%;
  padding: 10px;
  font-family: Scum;
  position: relative;
  display: inline-block;
}

#rhubarb footer a:hover {
  font-weight: 900;
  background-image: none !important;
}

#rhubarb footer a p {
  font-family: Scum;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

#rhubarb footer a p::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 8px;
  background-image: url(img/background/Underline%20White.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: left bottom;
  transition: width 0.3s ease;
}

#rhubarb footer a:hover p::after {
  width: 100%;
}

#rhubarb footer a .title_text1 {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

#rhubarb footer a .title_text1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 8px;
  background-image: url(img/background/Underline%20White.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: left bottom;
  transition: width 0.3s ease;
}

#rhubarb footer a:hover .title_text1::after {
  width: 100%;
}

.title_text1wrap {
  width: 100%;
  background-color: #2b2b2b;
  display: block;
}

footer {
  background: #ec1801;
  margin-top: 60px;
  bottom: 0;
  user-select: none;
  -webkit-user-drag: none;
  font-family: Scum;
}
.activelinkfooter {
  font-weight: 900;
  font-family: Scum;
  font-size: 3.6dvw;
}

.caption_text a,
body a,
body a:link {
  color: #ec1801;
}
#galleries a:hover,
body a:hover {
  color: #ffffff;
}

#galleries .title_text {
  color: #fff;
}

#galleries {
  margin: auto;
  width: 100%;
}
/*body a:hover {
  background-image: url(img/background/Underline%20white.png);
}*/
.title_text2 {
  font-size: 5dvh;
  font-weight: 100;
  color: #000;
}
.caption_text,
.title_text,
.title_text4 {
  font-weight: 100;
}

.headlogo a:hover,
.socials a:hover {
  background-image: url(img/background/empty.png);
  text-decoration: none;
}

li,
nav {
  font-size: 1dvh;
}
.socials {
  bottom: 0;
  left: 0;
  text-decoration: none;
}
.socials a:hover {
  font-size: 1dvh;
}
footer .title_text1 a:hover {
  font-size: 3.5dvw;
}
body::-webkit-scrollbar {
  width: 1em round;
  overflow: scroll;
}
body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px #fff;
}
body::-webkit-scrollbar-thumb {
  background-color: #ec1801;
  outline: #ec1801 solid 1px;
}
body::-webkit-scrollbar-thumb:hover {
  cursor: url("img/background/Pointer.svg");
}
.links {
  height: 100%;
}
.headlogo {
  padding-left: 40%;
}
.headlogo a:hover {
  font-weight: 900;
  font-size: 3.6dvw;
}

#roche1 {
  float: right;
  bottom: 100px;
}
header img a:hover {
  text-decoration: none;
}
.caption_text a:hover {
  color: #115da8;
}
.title_text {
  font-size: 2.8dvw;
  z-index: 8000000;
}
.caption_text {
  font-size: 2.8vw;
  z-index: 8000000;
}
@media (max-width: 768px) {
  .caption_text {
    font-size: 26px;
  }
  .title_text,
  .title_text4 {
    font-size: 28px;
  }
  .title_text1 {
    font-weight: 100;
    font-size: 21px;
  }
  .title_text2 {
    font-size: 30px;
  }

  #everything {
    padding: 0;
  }
}
img {
  max-width: 100%;
}

.title_text1 {
  font-size: 3.5dvw;
  font-weight: 100;
}

.caption_text1 {
  font-size: 5dvh;
}

/* Header styling - fixed position */
header {
  font-family: Scum;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ec1801;
}

nav {
  position: relative;
  background: #ec1801;
}

/* Add padding to body so content doesn't hide under fixed header */
body {
  padding-top: 140px;
}

.topper {
  background: #ec1801;
  padding: 20px;
}

.wrapper {
  position: relative;
  height: 40vh;
}

nav a {
  margin: auto;
}
nav ul {
  list-style-type: none;
  display: flex;
  margin: 0;
}
nav ul li {
  padding: 10px 12px;
}

/* Logo container default state */
.logo-container {
  background-color: #ec1801;
  text-align: left;
  padding: 20px 0 20px 20%;
}

.logo {
  margin: 0;
  line-height: 1;
}

.logo img {
  height: 80px;
  width: auto;
  display: block;
  margin: 0;
}

/* Nav bar default state */
.sunnavigationbar {
  background-color: #ec1801;
  font-family: Scum;
  font-weight: 700;
  border-top: 2px solid #fff;
  text-align: center;
  padding: 0;
  position: relative;
}

.sunnavigationbar a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.25px;
  position: relative;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.sunnavigationbar a:hover {
  background-color: #ec1801;
  text-decoration: underline;
}

.sunnavigationbar a.activelinknav {
  background-color: #ec1801;
  color: #fff;
}

/* SCROLLED STATE - Logo and nav on same line, logo slightly lower */
header.scrolled {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

header.scrolled .logo-container {
  padding: 0;
  text-align: left;
  background: transparent;
  flex-shrink: 0;
  margin-right: 20px;
  position: relative;
  top: 8px;
}

header.scrolled .logo {
  display: inline-block;
  margin: 0;
}

header.scrolled .logo img {
  height: 30px;
  margin: 0;
  display: block;
  padding-left: 0;
}

header.scrolled .sunnavigationbar {
  border-top: none;
  border-bottom: none;
  text-align: center;
  padding: 0;
  flex-shrink: 0;
}

header.scrolled .sunnavigationbar a {
  padding: 0px 14px;
  font-size: 20px;
}

@media (max-width: 768px) {
  body {
    padding-top: 120px;
  }

  .sunnavigationbar a {
    font-size: 12px;
    padding: 10px 12px;
  }

  header.scrolled {
    padding: 0px 15px;
  }

  header.scrolled .logo-container {
    margin-right: 15px;
    top: 0px;
  }

  header.scrolled .logo img {
    height: 20px;
  }

  header.scrolled .sunnavigationbar a {
    padding: 3px 3px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 100px;
  }

  .sunnavigationbar a {
    font-size: 10px;
    padding: 8px 6px;
    letter-spacing: 0.3px;
  }

  header.scrolled .logo-container {
    margin-right: 10px;
  }

  header.scrolled .logo img {
    height: 28px;
  }

  header.scrolled .sunnavigationbar a {
    font-size: 13px;
  }
}

.sunnavigationbar,
.sunnavigationbar a,
.sunnavigationbar a:hover {
  font-size: 2.6dvw;
  text-decoration: none;
  z-index: 2147483647;
}

footer h3 {
  color: #999;
  font-size: 1dvw;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

footer {
  overflow-x: hidden;
}

#sunny {
  background-color: #333;
  padding: 30px 5%;
  font-family: Scum;
}

#sunny a:hover {
  color: #ec1801 !important;
  font-weight: normal !important;
  cursor: url("img/background/cursors/Pointer.svg"), pointer;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  font-family: Scum;
  border-bottom: 1px solid #555;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.footer-section a {
  color: #999;
  font-size: clamp(12px, 2vw, 16px);
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.social-icon img {
  width: 18px;
  height: 18px;
}

.links-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: clamp(8px, 1.5vw, 9px);
  font-weight: normal;
  justify-content: center;
}

.links-container a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: normal;
}

.links-container span {
  color: #555;
}

.copyright {
  font-size: clamp(8px, 1.5vw, 9px);
  color: #888;
  line-height: 1.6;
  font-weight: normal;
  text-align: center;
}

.copyright a {
  color: #ccc;
  text-decoration: underline;
  transition: color 0.2s;
  font-weight: normal;
}

.photo-grid {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.photo-item {
  flex: 0 0 auto;
  text-align: center;
}

.photo-item img {
  width: 400px;
  height: 250px;
  object-fit: cover;
  border: 3px solid white;
  display: block;
}

.photo-caption {
  background-color: black;
  color: white;
  padding: 8px;
  font-size: 1.6dvw;
  font-weight: bold;
  margin-top: -5px;
}

.main-headline {
  text-align: center;
}

.main-headline h1 {
  color: white;
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 900;
  margin: 20px 0 10px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.main-headline p {
  color: white;
  font-size: clamp(16px, 2.5vw, 28px);
  font-weight: bold;
  line-height: 1.3;
  margin: 0;
}

.category-tag {
  color: #1e88e5;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 15px;
  font-family: Sunbodytolove;
}

.main-headline1 p {
  font-family: Sunbodytolove;
}

/* Secondary Stories */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  font-family: Sunbodytolove;
}

.story-card {
  border-bottom: 3px solid #e0e0e0;
  padding-bottom: 15px;
  position: relative;
}

.story-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 10px;
}

.story-exclusive {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #d32f2f;
  color: white;
  padding: 6px 12px;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
}

.story-category {
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0 0 8px 0;
}

.story-category.red {
  color: #d32f2f;
}

.story-category.purple {
  color: #9c27b0;
}

.story-card h2 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: bold;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.story-tag {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.story-tag.blue {
  color: #1e88e5;
}

.story-tag.purple {
  color: #9c27b0;
}

.story-tag.red {
  color: #d32f2f;
}

/* News Container */
.news-container {
  padding: 20px 5%;
  max-width: 1400px;
  margin: 0 auto;
  background-color: #fff;
}

/* Main Featured Story */
.featured-story {
  background-color: #2b2b2b;
  padding: 30px;
  margin-bottom: 30px;
  position: relative;
}

.exclusive-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #1e88e5;
  color: white;
  padding: 8px 16px;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  z-index: 10;
}

/* Make comtainer position relative for absolute positioning of arrows */
.comtainer {
  position: relative;
  background-color: #2b2b2b;
}

/* Position arrows vertically centered */
.previous_button,
.next_button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  cursor: pointer;
}

.previous_button {
  left: 10px;
}

.next_button {
  right: 10px;
}

.previous_button:hover,
.next_button:hover {
  filter: brightness(80%);
}
