/* Startsidespecifik CSS – laddas bara på förstasidan (front-page.php) */

.hero{position:relative;height:min(105vh,900px);min-height:600px;overflow:hidden;}
.hero-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 5s ease-in-out;}
.hero-slide.active{opacity:1;}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.42) 38%,rgba(0,0,0,0) 68%),linear-gradient(0deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,0) 35%);}
.hero-ground-fade{position:absolute;left:0;right:0;bottom:0;height:260px;z-index:3;pointer-events:none;
  background:linear-gradient(180deg,rgba(90,90,90,0) 0%,rgba(85,85,85,.35) 40%,rgba(80,80,80,.6) 65%,rgba(250,250,250,.92) 88%,var(--white) 100%);}

.reveal{opacity:0;transform:translateY(36px);transition:opacity .8s ease-out,transform .8s ease-out;}
.reveal.visible{opacity:1;transform:translateY(0);}
.reveal-stagger.visible .card:nth-child(1){transition-delay:.05s;}
.reveal-stagger.visible .card:nth-child(2){transition-delay:.2s;}
.reveal-stagger.visible .card:nth-child(3){transition-delay:.35s;}
.reveal-stagger .card{opacity:0;transform:translateY(36px);transition:opacity .7s ease-out,transform .7s ease-out;}
.reveal-stagger.visible .card{opacity:1;transform:translateY(0);}
.hero-content{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;text-align:left;padding:0 6vw 210px;}
.hero-text{max-width:560px;border-left:4px solid var(--yellow);padding-left:22px;}
.hero-content h1{font-size:clamp(2.1rem,5.5vw,3.4rem);font-weight:700;margin-bottom:14px;color:var(--white);}
.hero-content h1 span{color:var(--yellow) !important;}
.hero-content p{font-size:1.15rem;margin:0 0 26px;color:#eee;max-width:480px;}
.hero-text .btn.outline{border-color:var(--white);color:var(--white);}
.hero-text .btn.outline:hover{background:var(--white);color:var(--black);}
.scroll-hint{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);z-index:2;color:var(--black);font-size:1.6rem;animation:bounce 2s infinite;}
.photo-credit{position:absolute;top:14px;right:18px;z-index:4;color:rgba(255,255,255,.85);font-size:.75rem;letter-spacing:.5px;text-shadow:0 1px 3px rgba(0,0,0,.7);}
@keyframes bounce{0%,100%{transform:translate(-50%,0);}50%{transform:translate(-50%,8px);}}

.weather{background:var(--gray);border-top:1px solid #e3e4e0;}
.wx{display:grid;grid-template-columns:minmax(260px,1fr) 2fr;gap:56px;align-items:center;max-width:980px;margin:0 auto;}
.wx-now{display:flex;align-items:center;gap:22px;}
.wx-icon svg{width:96px;height:96px;display:block;}
.wx-temp{font-size:4.2rem;font-weight:700;line-height:1;}
.deg{font-family:Arial,sans-serif;font-weight:400;font-size:.8em;margin-left:1px;}
.wx-desc{font-size:1.35rem;font-weight:700;margin-top:6px;}
.wx-status{display:flex;align-items:center;gap:8px;margin-top:8px;font-weight:600;color:#444;}
.wx-status::before{content:"";width:10px;height:10px;background:var(--green);}
.wx-status.wet::before{background:#1f6fb2;}
.wx-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:2px solid var(--black);}
.wx-grid div{padding:16px 4px 14px;border-bottom:1px solid #dcddd9;}
.wx-grid dt{font-size:.75rem;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:#777;}
.wx-grid dd{font-size:1.45rem;font-weight:700;margin-top:4px;white-space:nowrap;}
.wx-grid dd small{display:block;font-size:.95rem;font-weight:600;color:#555;margin-top:2px;}
.wx-arrow{width:18px;height:18px;display:inline-block;vertical-align:-1px;margin-right:6px;transition:transform .4s;}
.wx-foot{text-align:center;margin-top:30px;font-size:.9rem;color:#666;}
.wx-foot a{color:var(--green-dark);font-weight:700;border-bottom:2px solid var(--yellow);}
@media(max-width:820px){
  .wx{grid-template-columns:1fr;gap:28px;}
  .wx-now{justify-content:center;}
  .wx-grid{grid-template-columns:repeat(2,1fr);}
  .wx-icon svg{width:76px;height:76px;}
  .wx-temp{font-size:3.4rem;}
}

.news-list-simple{max-width:820px;margin:0 auto;}
.news-item{display:flex;gap:28px;padding:32px 0;border-bottom:1px solid #ececec;color:inherit;text-decoration:none;}
.news-item:first-child{padding-top:10px;}
.news-item:last-child{border-bottom:none;}
.news-num{font-family:'Rajdhani',sans-serif;font-weight:700;font-size:2.6rem;line-height:1;color:#dcdcdc;min-width:58px;transition:color .25s;}
.news-item:hover .news-num{color:var(--yellow);}
.news-item .date{color:var(--green-dark);font-weight:700;font-size:.78rem;letter-spacing:1px;text-transform:uppercase;}
.news-item h3{font-size:1.3rem;margin:4px 0 8px;line-height:1.2;}
.news-item h3:hover{text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:2px;}
.news-item p{color:#555;font-size:.98rem;line-height:1.6;max-width:560px;}
.news-more{text-align:center;margin-top:16px;}
.news-more a{color:var(--green-dark);font-weight:700;border-bottom:2px solid var(--yellow);}

@media(max-width:620px){
  .news-item{gap:16px;padding:24px 0;}
  .news-num{font-size:2rem;min-width:40px;}
}
