/* TFL Portal Template 1.7.1 – reliable full-page backdrop.
   Background directly on BODY, no negative z-index pseudo-elements. */
html,body{margin:0;min-height:100%;color:#f4e8c9}
html{background:#041a12}
body.tfl-site{
  min-height:100vh;
  overflow-x:hidden;
  color:#f4e8c9;
  font-family:Verdana,Arial,sans-serif;
  background-color:#041a12!important;
  background-image:
    linear-gradient(180deg,rgba(3,17,12,.08) 0%,rgba(3,17,12,.03) 20%,rgba(3,17,12,.13) 55%,rgba(3,17,12,.27) 100%),
    url('../assets/hyrule-page-background.webp')!important;
  background-position:center top,center top!important;
  background-repeat:no-repeat,no-repeat!important;
  background-size:100% 100%,100% auto!important;
  background-attachment:scroll,scroll!important;
}
/* Old 1.7 layers were hidden by their parent stacking context. */
body.tfl-site::before,body.tfl-site::after{content:none!important;display:none!important}
.tfl-site-main{position:relative;z-index:1;width:100%!important;max-width:none!important;margin:0 auto;min-height:85vh;background:transparent!important}
.tfl-site-main .tfl-native-content{max-width:1400px;margin:auto;padding:0 18px}
.tfl-native-content:has(.com-content-article) .page-header,.tfl-native-content h1:first-child{font-size:1rem}
.tfl-skip{position:absolute;top:-200px;left:8px;background:#ffe7ae;color:#101c13;padding:8px;z-index:100}
.tfl-skip:focus{top:8px}
.tfl-site-footer{position:relative;z-index:1;text-align:center;color:#e8d29e;font-size:12px;padding:28px 12px;border-top:3px ridge #977330;background:#031f18e6;min-height:55px}
.tfl-joomla-menu{position:relative;z-index:2;max-width:1400px;margin:auto}
a{color:#f6d079}
/* Prevent a solid content container from covering the world background. */
body.tfl-site .tfl-site-main > .tfl-native-content:empty{display:none}
@media(max-width:800px){
 body.tfl-site{background-size:100% 100%,auto 1250px!important}
}
