:root{
    /* New harmonious palette */
    --bg-light: #f5f7fa;         /* gentle neutral */
    --bg-section: #ffffff;       /* white card background */
    --text-main: #0f1a2b;        /* deep blue-black for maximized readability */
    --text-muted: #4a5468;       /* softer muted text */
    --accent: #2a9df4;           /* bright blue accent (from hero) */
    --accent-soft: #dbeeff;      /* soft sky blue */
    --border-light: rgba(0,0,0,.08);
}

*{box-sizing:border-box}

body{
    margin:0;
    font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
    min-height:100vh;
}

.wrap{
    max-width:960px;
    margin:0 auto;
    padding:64px 20px;
    text-align:center;
}

.logo{
    max-width:220px;
    height:auto;
    margin:0 auto 28px;
    display:block;
}

h1{
    font-size:42px;
    margin:0 0 14px;
    color: var(--text-main);
}

p{
    font-size:18px;
    line-height:1.55;
    margin:0 auto 28px;
    max-width:720px;
    color: var(--text-muted);
}

.status{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:8px 14px;
    margin-bottom:22px;
    border-radius:999px;
    background: var(--accent-soft);
    border:1px solid var(--border-light);
    font-size:14px;
    color: var(--accent);
    font-weight:600;
}

.dot{
    width:10px;height:10px;border-radius:50%;
    background: var(--accent);
}

.card{
    margin:14px auto 0;
    background: var(--bg-section);
    border:1px solid var(--border-light);
    border-radius:14px;
    padding:18px;
    box-shadow:0 4px 14px rgba(0,0,0,.08);
}

img.hero{
    max-width:100%;
    border-radius:12px;
    display:block;
    margin:0 auto;
    border:1px solid rgba(0,0,0,.08);
}

.hero-media{
  position: relative;
}

.hero-overlay{
  position: absolute;
  top: 14px;
  right: 14px;
  max-width: min(520px, 92%);
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
  text-align: left;
}

.hero-overlay__title{
  font-weight: 800;
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--text-main);
}

.hero-overlay__text{
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-muted);
}

/* Mobile: keep hero visible by limiting overlay height */
@media (max-width: 700px){
    .wrap {
        padding: 34px 16px;
    }

  .hero-media{ 
      position: relative; 
      height: 45vh;
      min-height: 420px;
  }

  .hero-overlay{
/*    left: 12px;*/
    right: 12px;
    top: auto;
    bottom: 12px;               /* anchor to bottom */
    max-width: none;

    background: rgba(255,255,255,.55);  /* more transparent */
    border: 1px solid rgba(0,0,0,.10);
    backdrop-filter: blur(10px);

    padding: 10px 12px;
    border-radius: 12px;

    /* THIS is what prevents it from covering the whole image */
    max-height: 50%;
    overflow: auto;

    /* optional: slightly smaller text on phone */
    font-size: 13px;
    line-height: 1.35;
  }
}


.small{
    font-size:14px;
    opacity:.75;
    margin-top:16px;
    color: var(--text-muted);
}

/* Responsive image row */
.image-row{
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px; /* space between images + captions */
}

/* Desktop / landscape */
@media (min-width: 768px){
    .image-row{
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
    }
}

.langbar{
    display:flex;
    justify-content:center;
    gap:10px;
    margin: -10px 0 18px;
}

.langbtn{
    border:1px solid var(--border-light);
    background: var(--bg-section);
    color: var(--text-main);
    padding:6px 10px;
    border-radius:6px;
    font-weight:600;
    cursor:pointer;
}

.langbtn.active{
    background: var(--accent-soft);
    border-color: rgba(42,157,244,.35);
    color: var(--accent);
}

/* =========================
   SolRix Header / Menu
   ========================= */

.sr-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245,247,250,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}

.sr-header__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.sr-logo img{
  height: 36px;
  width: auto;
  display: block;
}

/* Desktop nav layout */
.sr-nav{
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Menu list */
.sr-menu{
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.sr-link{
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 650;
  font-size: 14px;
  border: 1px solid transparent;
}

.sr-link:hover{
  background: var(--bg-section);
  border-color: var(--border-light);
}

.sr-link.is-active{
  background: var(--accent-soft);
  border-color: rgba(42,157,244,.35);
  color: var(--accent);
}

/* Language buttons */
.sr-lang{
  display: flex;
  align-items: center;
  gap: 8px;
}

.sr-langbtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  background: var(--bg-section);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .02em;
}

.sr-langbtn:hover{
  border-color: rgba(42,157,244,.35);
}

.sr-langbtn.is-active{
  background: var(--accent-soft);
  border-color: rgba(42,157,244,.35);
  color: var(--accent);
}

/* Burger (mobile) */
.sr-burger{
  display: none;
  margin-left: auto;
  width: 44px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: var(--bg-section);
  cursor: pointer;
  padding: 0;
}

.sr-burger span{
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-main);
  margin: 4px auto;
  border-radius: 2px;
  opacity: .9;
}

/* Mobile behaviour */
@media (max-width: 900px){
  .sr-burger{ 
  	display: inline-flex; 
  	flex-direction: column;
  	align-items:center; 
  	justify-content:center; 
  }

  .sr-nav{
    position: fixed;
    inset: 64px 14px auto 14px;
    background: var(--bg-section);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  body.sr-menu-open .sr-nav{ display: flex; }

  .sr-menu{
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .sr-link{
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
  }

  .sr-lang{
    justify-content: center;
    padding-top: 6px;
    border-top: 1px solid var(--border-light);
  }
}
/* =========================
   SolRix Footer
   ========================= */

.sr-footer{
  margin-top: 60px;
  padding: 28px 20px;
  background: var(--bg-section);
  border-top: 1px solid var(--border-light);
}

.sr-footer__inner{
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.sr-footer__left{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sr-footer__copy{
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.sr-footer__credit{
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.sr-footer__credit a{
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.sr-footer__credit a:hover{
  text-decoration: underline;
}

.sr-footer__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sr-footer__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  background: var(--bg-light);
  color: var(--text-main);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.sr-footer__btn:hover{
  border-color: rgba(42,157,244,.35);
}

.sr-footer__btn--primary{
  background: var(--accent-soft);
  border-color: rgba(42,157,244,.35);
  color: var(--accent);
}

/* Mobile */
@media (max-width: 700px){
  .sr-footer__inner{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .sr-footer__actions{
    justify-content: center;
  }
}

/* Text-heavy card variant */
.card--text{
  text-align: left;
}

/* Make common elements left-aligned inside text cards */
.card--text h1,
.card--text h2,
.card--text h3,
.card--text p,
.card--text ul,
.card--text ol{
  text-align: left;
}

@media (min-width: 768px){
  .card--text ul,
  .card--text ol{
    padding-left: 8.25rem; /* desktop indent */
  }
}

/* =========================
   Tables (Bauska Technical Details)
   ========================= */

.table-wrap{
  width: 100%;
  overflow-x: auto;               /* mobile horizontal scroll if needed */
  -webkit-overflow-scrolling: touch;
  margin-top: 14px;
}

.sr-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;               /* keeps columns readable; scrolls on small screens */
  background: var(--bg-section);
  color: var(--text-main);
}

.sr-table th,
.sr-table td{
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.sr-table th{
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--text-main);
  background: rgba(219,238,255,.55); /* subtle header */
}

.sr-table td{
  font-size: 14px;
  color: var(--text-muted);
}

.sr-table tbody tr:hover td{
  background: rgba(0,0,0,.02);
}

/* =========================
   Embedded video blocks
   ========================= */

.video-row{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:20px;
  margin-top:20px;
  align-items:start;
}

.video-card{
  width:100%;
  min-width:0;
}

video.video-small{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16 / 9;
  object-fit:cover;
  border-radius:12px;
  background:#eef3f7;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 30px rgba(0,0,0,.05);

  /* important anti-conflict rules */
  opacity:1 !important;
  visibility:visible !important;
  position:relative !important;
  z-index:1 !important;
  max-width:100%;
}

video.video-tall{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:9 / 16;
  object-fit:cover;
  border-radius:12px;
  background:#eef3f7;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 30px rgba(0,0,0,.05);

  /* important anti-conflict rules */
  opacity:1 !important;
  visibility:visible !important;
  position:relative !important;
  z-index:1 !important;
  max-width:100%;
}

@media (max-width:768px){
  .video-row{
    grid-template-columns:1fr;
  }
}