/* Page-specific rules extracted from index.html. */

/* V7: feature cards must grow with their content — never crop text */
.featureSection,
.featureGrid {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}
.featureGrid {
  align-items: stretch !important;
}
.feature,
.feature.featureNoArt,
.featureNoArt .featureCopy {
  height: auto !important;
  min-height: 320px !important;
  max-height: none !important;
  overflow: visible !important;
}
.featureNoArt .featureCopy {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 28px 30px 30px !important;
}
.featureNoArt p {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
.featureNoArt .textLink {
  margin-top: auto !important;
  padding-top: 18px !important;
}
@media (max-width: 1050px) {
  .feature,
  .feature.featureNoArt,
  .featureNoArt .featureCopy {
    min-height: 285px !important;
  }
}

.ticker-up,.ticker-up::before{color:#22c55e!important;font-weight:700!important}
.ticker-down,.ticker-down::before{color:#ef4444!important;font-weight:700!important}

.home-feature-rotation{
  margin:14px 41px 0;
  border-top:1px solid #242724;
  padding-top:12px;
}
.home-feature-label{
  display:flex;justify-content:space-between;align-items:center;
  margin-bottom:10px;color:#686c65;font-size:8px;letter-spacing:1.5px;
}
.home-feature-label span:first-child{color:#aaa79f}
.home-feature-card{
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);
  min-height:300px;border:1px solid #282c28;background:#060806;
  text-decoration:none;overflow:hidden;
}
.home-feature-image{min-height:300px;background:#030503;overflow:hidden}
.home-feature-image img{
  width:100%;height:100%;min-height:300px;object-fit:cover;display:block;
  filter:none;transition:transform .6s ease;
}
.home-feature-card:hover .home-feature-image img{transform:scale(1.015)}
.home-feature-copy{padding:32px;display:flex;flex-direction:column;justify-content:center}
.home-feature-meta{color:#777b74;font-size:8px;letter-spacing:1.6px}
.home-feature-copy h2{
  margin:12px 0 14px;color:#dedbd4;font-size:25px;line-height:1.15;
  font-weight:300;letter-spacing:1.7px
}
.home-feature-copy p{color:#969991;font-size:12px;line-height:1.75;margin:0;max-width:430px}
.home-feature-open{margin-top:22px;color:#c6c3bb;font-size:8px;letter-spacing:1.5px}
@media(max-width:800px){
  .home-feature-rotation{margin-left:24px;margin-right:24px}
  .home-feature-card{grid-template-columns:1fr}
  .home-feature-image,.home-feature-image img{min-height:220px}
  .home-feature-label span:last-child{display:none}
}

/* Frequently used IFA/member destination */
.nav .nav-ifa-button{
  border:1px solid #77744c;
  background:rgba(113,110,65,.10);
  padding:10px 16px;
  color:#e3dfcf;
  min-width:42px;
  text-align:center;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}
.nav .nav-ifa-button:hover{
  background:rgba(129,126,73,.22);
  border-color:#aaa66b;
  color:#fffdf3;
}

/* Restricted R&D entry — warning treatment, still within IFA visual language */
.bottomBar .restricted{
  height:100%;
  box-sizing:border-box;
  padding:11px 17px 10px;
  display:flex!important;
  flex-direction:column;
  justify-content:center;
  background:
    linear-gradient(90deg,rgba(88,20,20,.34),rgba(43,10,10,.20));
  border-right:1px solid rgba(143,53,49,.62);
  box-shadow:inset 3px 0 0 rgba(158,56,51,.70);
  transition:background .18s ease,box-shadow .18s ease;
}
.bottomBar .restricted:hover{
  background:
    linear-gradient(90deg,rgba(111,26,24,.48),rgba(52,12,11,.28));
  box-shadow:inset 4px 0 0 rgba(193,70,63,.90);
}
.bottomBar .restricted strong{
  color:#ddd5cc;
  font-size:12px;
  letter-spacing:1.9px;
  margin-bottom:3px;
}
.bottomBar .restricted em{
  display:block;
  margin-bottom:4px;
  color:#a64d47;
  font-style:normal;
  font-size:7px;
  letter-spacing:1.45px;
}
.bottomBar .restricted span{
  color:#9d9790;
  font-size:9px;
}
.bottomBar .restricted:hover strong,
.bottomBar .restricted:hover span{
  color:#e5dfd6;
}
