body {
    background-color: /*light-dark rgb(237, 236, 232)*/ #21211f ; 

    font-family: "Homenaje",Arial;
    margin: auto 0;
    padding: 8px;
    
    padding-bottom: 60px;
}


header{
    position: sticky;
    top: 0;
    z-index: 1000;

}

.logoImg {
    width: auto;
    height: 80px;
    display: block;
}

.top-nav {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: #21211f;
}

.logoImg:hover{
    background-color: aliceblue;
}

.logo {
    font-weight: 700;
    text-decoration: none;
    font-size: xx-large;
    color:#cf2727
}


.nav-links a:hover {
    background-color: #cf2727;
}



.nav-links {
  list-style: none;
  display: flex;         
  gap: 1rem;            
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #ccc;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

h1 {
    color: aliceblue;
    text-align: center;
}

li{
    text-align: right;
}

ul {
    list-style-type: none;
    margin: 0;
    display: flex;
    padding: 0;
    justify-content: center;
}

h2 {
    color: #cf2727;
    text-align: center;
}

p {
    color:aliceblue;
}

a {
    color:aliceblue;
}

b {
    color:#cf2727;
}

#text {
    color:aliceblue;
}


/* :root{
    color-scheme: light dark;
}     */

footer {
    background-color: #21211f;
    border-top: 1px solid aliceblue;
    color: #cf2727;
    padding: 1rem 0.75rem;
}

footer p {
    color:aliceblue;
    text-align: center;
    margin: 0;
}



.articleone {
    height: 320px;
    width: auto;
    display: block;
}



.scroller-inner{
    display: inline-flex; gap: 2rem;
    animation: scroll 20s linear infinite;
}

.scroller-item{
    font-size: 3rem;
    font-weight: bold;
    color: #000000;
    text-transform: uppercase;
    display: flex;
    gap: 1rem;
}

.groupPhoto{
    display: block;
    margin: 0 auto;
    width: 600px;
    height: auto;

}


.article1 h2{
    text-align: left;
}


.main-row{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.main-img{
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
}


.main-right{
    padding-top: 4rem;
    min-width: 0;
}

.main-left{
    min-width: 0;
}

.quote{
    color: aliceblue;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
}

.article1{
    max-width: 1100px;
    margin: 0 auto;
    padding: 8px;
}

.article1 p{
    line-height: 1.8;
}

h3 {
    color: aliceblue;
}


.mixed-feed {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem
}

.teaser {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25 rem;
    border-bottom: 2.5px solid rgb(255, 255, 255);
    padding-bottom: 2px;
    padding-top: 2px;
}

.teaser img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
}

.teaser-text h3 {
    margin: .025rem;

}

.teaser-text p {
    margin: 0 0 0 .75rem 0;
    line-height: 1.4; 
}

.tag{
    color: #cf2727;
    display: inline-block;
    font-size: 0.75rem;
}

.teaser:nth-child(odd) {
    flex-direction: row-reverse;
}

.stories-page > .teaser {
  flex-direction: row;
}

.brayan-link img {
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}


.page-home h3 {
    text-align: center;
}

.page-stories h4 {
    text-align: center;
    color: aliceblue;
}

.signals-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}



.signal-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.10);
}

.signal-img{
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.signal-body{
  padding: 0.95rem 1rem 1.05rem;
}

.signal-meta{
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}


.trendBody h3 {
    color: #cf2727;
}

.signal-title {
  display: inline-block;       
  background: aliceblue;           
  color: #111;
  padding: 0.5rem 0.85rem;    
  border-radius: 999px;     
  border: 1px solid rgba(0,0,0,0.10);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;               
}


.aboutMain {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
}

.aboutMain p {
    margin-top: 1rem;
    line-height: 1.6;
    text-align: center;
}

.teaser img:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.10);

}

.carousel-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}


.arrow-btn {
  background: none;
  border: none;
  color: aliceblue;
  font-size: 35px;
  cursor: pointer;
  flex-shrink: 0;
}


.arrow-btn:hover {
  transform: scale(1.08);
}


.scroll-container {
  display: flex;
  gap: 40px;
  overflow: hidden;
  scroll-behavior: smooth;
  width: 66vw;
  padding: 10px 0;
  align-items: flex-start;

  overflow-x: auto;
  overflow-y:hidden ;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}


.carousel-item {
  text-align: center;
  flex-shrink: 0;
  width:66vw;
  scroll-snap-align: start;
}

.carousel-item img {
  width: 100%;
    aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  
}


.carousel-item p {
  color: aliceblue;
  font-family: "Homenaje", Arial, sans-serif;
  font-size: x-large;
  margin-top: 5px;
}

.carousel-progress {
  width: 66vw;            
  margin: 8px auto 0;      
  display: flex;
  gap: 22px;               
  justify-content: center;
}

.carousel-progress button {
  flex: 1;                 
  height: 4px;
  background: rgba(240, 248, 255, 0.25); 
  border: none;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.carousel-progress button.active {
  background: aliceblue;   
}

.carousel-progress button { height: 3px; }

.accessibility-bar,
.accessiblity {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.accessibility-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.keyboard-shortcuts {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.keyboard-shortcuts a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: aliceblue;
    padding: 0.25rem 0.4rem;
}

.keyboard-shortcuts a:hover {
    text-decoration: underline;
}

#increase-font,
#decrease-font {
    background-color: #cf2727;
    color: aliceblue;
    border: none;
    border-radius: 0;
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    display: inline-block;
}

#increase-font:hover,
#decrease-font:hover {
    transform: scale(1.1);
    background-color: #b02020;
}

#increase-font:focus-visible,
#decrease-font:focus-visible {
    outline: 2px solid aliceblue;
    outline-offset: 2px;
}