/* Brokers page: original index design, empty area for article insertion. */
.site1 .brokers-hero{
  min-height: 190px;
  padding: 2.5rem 0;
}
.site1 .brokers-hero .container{
  min-height: 120px;
}
.site1 .article-slot{
  min-height: 620px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 auto;
  padding: 3rem;
  border-left: 6px solid var(--secondary);
}
.site1 .article-slot:empty::before{
  content: "";
  display: block;
  min-height: 560px;
}
.site1 .footer-links-only{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.site1 .footer-links-only .footer-link-btn{
  margin: 0;
}
@media (max-width: 768px){
  .site1 .brokers-hero{
    min-height: 140px;
    padding: 1.5rem 0;
  }
  .site1 .article-slot{
    min-height: 520px;
    padding: 2rem 1.25rem;
  }
  .site1 .article-slot:empty::before{
    min-height: 460px;
  }
}
@media (max-width: 480px){
  .site1 .article-slot{
    min-height: 460px;
    padding: 1.5rem 1rem;
  }
  .site1 .article-slot:empty::before{
    min-height: 400px;
  }
}
/* Mobile responsiveness fixes for broker pages */
.site1 .footer-link-wrap{
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}
.site1 .footer-link-btn{
  margin: 0;
  max-width: 100%;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
}
@media (max-width: 560px){
  body{
    overflow-x: hidden;
  }
  .site1 .container{
    width: 94%;
    padding-left: 10px;
    padding-right: 10px;
  }
  .site1 .fixed-menu{
    flex-wrap: wrap;
    white-space: normal;
    row-gap: 0.28rem;
    line-height: 1.15;
  }
  .site1 .fixed-menu a{
    min-width: 0;
    padding-left: 0.62rem;
    padding-right: 0.62rem;
  }
  .site1 .brokers-hero{
    min-height: 110px;
    padding: 1.2rem 0;
  }
  .site1 .brokers-hero .container{
    min-height: 86px;
  }
  .site1 .main-content{
    padding: 1.6rem 0;
  }
  .site1 .article-slot{
    border-left-width: 4px;
    min-height: 360px;
    padding: 1.25rem 0.9rem;
  }
  .site1 .article-slot:empty::before{
    min-height: 320px;
  }
  .site1 footer{
    padding: 2rem 0 1.5rem;
  }
  .site1 .footer-link-wrap{
    flex-direction: column;
    width: 100%;
    gap: 0.7rem;
  }
  .site1 .footer-link-btn{
    width: 100%;
    max-width: 320px;
    padding: 0.82rem 1rem;
  }
}
@media (max-width: 360px){
  .site1 .fixed-menu{
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    gap: 0.18rem;
    font-size: 0.82rem;
  }
  .site1 .fixed-menu a{
    padding: 0.3rem 0.48rem;
    font-size: 0.78rem;
    gap: 0.16rem;
  }
  .site1 footer small{
    font-size: 0.76rem;
  }
}

/* Final broker-page spacing and mobile footer buttons tuning */
.site1 footer{
  margin-top: 0;
}
@media (max-width: 560px){
  .site1 .footer-link-wrap{
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 0.45rem;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
  }
  .site1 .footer-link-btn{
    width: auto;
    max-width: none;
    min-width: 132px;
    flex: 0 1 auto;
    padding: 0.68rem 0.72rem;
    font-size: 0.86rem;
    white-space: nowrap;
  }
}
@media (max-width: 340px){
  .site1 .footer-link-wrap{
    max-width: 288px;
    gap: 0.45rem 0.4rem;
  }
  .site1 .footer-link-btn{
    min-width: 124px;
    padding: 0.62rem 0.54rem;
    font-size: 0.8rem;
  }
}


/* Broker pages use the shared layout plus only this section-specific layer. */
.site1 .article-slot > *:first-child{
margin-top: 0;
}
.site1 .article-slot > *:last-child{
margin-bottom: 0;
}
