/* === FONT IMPORTS === */
@font-face {
    font-family: RobotoSlab-ExtraBold;
    src: local("RobotoSlab-ExtraBold"), url(RobotoSlab-ExtraBold.ttf);
}

@font-face {
    font-family: RobotoSlab-SemiBold;
    src: local("RobotoSlab-SemiBold"), url(RobotoSlab-SemiBold.ttf);
}

@font-face {
    font-family: RobotoSlab-Regular;
    src: local("RobotoSlab-Regular"), url(RobotoSlab-Regular.ttf);
}

/* === BASE LAYOUT === */
body {
    background: rgb(255,255,255);
    font-family: 'Roboto Slab', sans-serif;
    display: flex;
    flex-direction: column; /* Arrange content vertically */
    min-height: 100vh; /* Ensure the body covers at least the entire viewport height */
    margin: 0; /* Remove default margin */
}

/* === HEADER (matching news.css) === */
header {
    background-color: #A32638;
    width: 100vw;
    height: 15vh;
}

.container {
    display: flex;
    align-items: center;
    flex-direction: row;
    height: 100%;
    width: 100vw;
    padding: 0.75em;
    margin: 0 2rem;
    gap: 1em;
}

.logo-container {
    height: 100%;
    flex-shrink: 0;
    flex-grow: 0;
}

.logo-container img {
    height: 100%;
    width: auto;
}

.title-container {
    text-align: left;
    color: white;
    flex-shrink: 0;
    flex-grow: 0;
}

.title-container h4 {
    margin: -1rem 0 auto 0;
}

h1 {
    font-size: 8vh;
}

h4 {
    font-size: 3.75vh;
}

/* === MAIN CONTENT === */
.main-content {
    flex-grow: 1;
    padding: 2em;
}

.ticker-container {
  position: relative;
  width: 100%;
  background: white;
  z-index: 1;
}

/* Make sure the ticker doesn’t overlap the footer */
.ticker-container .bn-breaking-news {
  position: static !important;
  margin: 0;
}

footer {
  position: relative;
  z-index: 0;
    background-color: #A32638;
    color: white;
    height: 10vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 2em;
}


.footer-container {
    display: flex;
    gap: 2em;
    align-items: center;
    text-align: right;
}

footer h3 {
    margin: 0;
    font-size: 6vh;
}

footer h2 {
    margin: 0;
    font-size: 7vh;
}

/* === BREAKING NEWS TICKER (unchanged) === */
.bn-breaking-news{
    display:inline-block;
    width:100%;
    border:solid 1px #A32638;
    background:white;
    height:40px;
    box-sizing:border-box;
    position:relative;
    line-height:40px;
    overflow:hidden;
    border-radius:2px;
    text-align:auto;
    font-size:14px
}

.bn-breaking-news *{
    box-sizing:border-box
}

.bn-breaking-news.bn-fixed-top{
    position:fixed;
    left:0;
    right:0;
    top:0;
}

.bn-breaking-news.bn-fixed-bottom{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
}

.bn-breaking-loading{
    position:absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    background-color:rgba(255,255,255,1);
    z-index:5;
    padding:0 10px;
    color:rgba(0,0,0,1);
}

.bn-label{
    left:0;
    top:0;
    bottom:0;
    height:100%;
    position:absolute;
    background-color:#A32638;
    text-align:center;
    color:#FFF;
    font-family:"RobotoSlab-ExtraBold";
    font-weight:700;
    z-index:3;
    padding:0 15px;
    white-space:nowrap;
}

.bn-news{
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    height:100%;
    right:0;
    overflow:hidden;
    font-family:"RobotoSlab-Regular";
}

.bn-news ul{
    display:block;
    height:100%;
    list-style:none;
    padding:0;
    margin:0;
    left:0;
    bottom:0;
    width:100%;
    position:absolute;
}

.bn-news ul li{
    white-space:nowrap;
    overflow:hidden!important;
    text-overflow:ellipsis;
    text-decoration:none;
    -webkit-transition:color .2s linear;
    -moz-transition:color .2s linear;
    -o-transition:color .2s linear;
    transition:color .2s linear;
    position:absolute;
    width:100%;
    display:none;
    color:#333;
    height: 100%;
}

.bn-news ul li a{
    white-space:nowrap;
    text-overflow:ellipsis;
    text-decoration:none;
    padding:0 10px;
    color:#333;
    position:relative;
    display:block;
    overflow:hidden;
    height: 100%;
}

.bn-news ul li a:hover{
    color:#069;
}

.bn-loader-text{
    padding:0 10px;
}

.bn-seperator{
    display:inline-block;
    float:left;
    margin-right:15px;
    width:30px;
    height:40px;
    background-position:center;
    background-size:contain;
    background-repeat:no-repeat;
    position:relative
}

.bn-seperator.bn-news-dot{
    margin-right:0
}

.bn-seperator.bn-news-dot:after{
    content:'';
    position:absolute;
    width:8px;
    height:8px;
    background:#333;
    border-radius:50%;
    top:50%;
    margin-top:-4px;
    left:50%;
    margin-left:-4px
}

.bn-prefix{
    color:#d65d7a;
    margin-right:15px;
    padding-left:10px
}

.bn-positive{
    color:#0b8457;
    font-weight:700
}

.bn-negative{
    color:#dc2f2f;
    font-weight:700
}

.bn-controls{
    width:auto;
    right:0;
    top:0;
    bottom:0;
    height:100%;
    float: right;
    position:absolute;
    -webkit-touch-callout:none;
    -webkit-user-select:none;
    -khtml-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none
}

.bn-controls button{
    width:10%;
    float:left;
    height:100%;
    cursor:pointer;
    border:none;
    border-left:solid 1px white;
    text-align:center;
    background-color:white;
    outline:none;
    color: white;
}

.bn-controls button:hover{
    background-color:white;
}

.bn-arrow{
    margin:0;
    display:inline-block;
    height:8px;
    position:relative;
    width:8px;
    top:-2px
}

.bn-arrow::after{
    border-bottom-style:solid;
    border-bottom-width:2px;
    border-right-style:solid;
    border-right-width:2px;
    content:'';
    display:inline-block;
    height:8px;
    left:0;
    position:absolute;
    top:0;
    width:8px
}

.bn-arrow.bn-next{
    transform:rotate(315deg);
    left:-3px
}

.bn-arrow.bn-prev{
    transform:rotate(135deg);
    left:3px
}

.bn-arrow::after{
    border-color:white;
}

.bn-arrow::before{
    background-color:white;
}

.bn-play{
    position:relative;
    background:white;
    width:0;
    height:12px;
    display:inline-block;
    margin-left:-5px
}

.bn-play::after{
    left:100%;
    top:50%;
    border:solid transparent;
    content:" ";
    height:0;
    width:0;
    position:absolute;
    pointer-events:none;
    border-color:rgba(136,183,213,0);
    border-left-color:white;
    border-width:8px;
    margin-top:-8px
}

.bn-pause{
    position:relative;
    width:0;
    height:14px;
    display:inline-block;
    top:1px;
    left:-1px
}

.bn-pause::before{
    position:absolute;
    content:"";
    width:2px;
    height:100%;
    left:3px;
    background-color:white;
}

.bn-pause::after{
    position:absolute;
    content:"";
    width:2px;
    height:100%;
    left:-3px;
    background-color:white;
}

.bn-direction-rtl{
    direction:rtl
}

.bn-direction-rtl .bn-label{
    left:auto;
    right:0
}

.bn-direction-rtl .bn-controls{
    right:auto;
    left:0
}

.bn-direction-rtl .bn-seperator{
    margin-left:15px;
    margin-right:0;
    float:right
}

.bn-direction-rtl .bn-prefix{
    margin-left:15px;
    margin-right:0;
    padding-left:0;
    padding-right:10px
}

.bn-direction-rtl .bn-controls button{
    border-left:none;
    border-right:solid 1px white;
}

.bn-effect-scroll .bn-news ul{
    display:block;
    width:100%;
    position:relative
}

.bn-effect-scroll .bn-news ul li{
    display:list-item;
    float:left;
    position:relative;
    width:auto
}

.bn-effect-scroll.bn-direction-rtl .bn-news ul li{
    float:right
}
