:root{
  --bg:#f7f7f7;
  --card:#ffffff;
  --text:#1b1b1b;
  --muted:#555;
  --accent:#0b6b5d;
  --accent2:#0a4f46;
  --border:#e5e5e5;
  --shadow: 0 10px 25px rgba(0,0,0,.07);
  --radius:16px;
  --max: 1050px;
  --font: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:var(--font);
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
  font-size:18px;
}
a{color:var(--accent); text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:var(--max); margin:0 auto; padding:24px 18px}
.header{
  background:linear-gradient(135deg, rgba(11,107,93,.08), rgba(11,107,93,.02));
  border-bottom:1px solid var(--border);
}
.brand{
  display:flex; align-items:center; gap:14px;
}
.brand .logo{
  width:44px;height:44px;border-radius:12px;
  background:var(--accent);
  display:grid; place-items:center; color:white; font-weight:800;
}
.brand h1{font-size:24px; margin:0}
.brand p{margin:2px 0 0 0; color:var(--muted); font-size:15px}

.nav{
  margin-top:14px;
  display:flex; flex-wrap:wrap; gap:10px;
}
.nav a{
  display:inline-block;
  padding:10px 12px;
  border:1px solid var(--border);
  background:white;
  border-radius:999px;
  font-size:16px;
}
.nav a.active{
  border-color:rgba(11,107,93,.35);
  box-shadow:0 0 0 3px rgba(11,107,93,.10);
}

.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  margin-top:18px;
}
@media (max-width: 860px){
  body{font-size:17px}
  .hero{grid-template-columns:1fr}
}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}
.card h2{margin:0 0 10px 0; font-size:22px}
.card h3{margin:18px 0 8px 0; font-size:19px}
.muted{color:var(--muted)}
.badge{
  display:inline-block;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(11,107,93,.10);
  color:var(--accent2);
  font-weight:600;
  font-size:14px;
}
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 14px;
  background:var(--accent);
  color:white;
  border:none;
  border-radius:12px;
  font-weight:700;
  cursor:pointer;
}
.btn:hover{filter:brightness(.95); text-decoration:none}
.btn.secondary{
  background:white;
  color:var(--accent2);
  border:1px solid rgba(11,107,93,.35);
}
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
@media (max-width: 860px){ .grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width: 520px){ .grid{grid-template-columns:1fr} }

.img{
  width:100%; height:auto; border-radius:14px; border:1px solid var(--border);
}
.gallery img{cursor:pointer}
.footer{
  margin-top:28px;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:15px;
  padding:18px 0 8px;
}
.table{
  width:100%;
  border-collapse:collapse;
  font-size:16px;
}
.table th,.table td{
  border-bottom:1px solid var(--border);
  padding:10px 8px;
  text-align:left;
  vertical-align:top;
}
.table th{color:#222; font-size:15px; background:rgba(0,0,0,.02)}
.kcard{padding:14px; border:1px solid var(--border); border-radius:14px; background:white}
.kcard .title{font-weight:800; font-size:18px}
.kcard .meta{color:var(--muted); font-size:15px; margin-top:3px}
.kcard ul{margin:10px 0 0 18px}
.notice{
  border-left:5px solid var(--accent);
  background:rgba(11,107,93,.06);
  padding:12px 14px;
  border-radius:12px;
}
hr.sep{border:none; border-top:1px solid var(--border); margin:18px 0}
.modal{
  position:fixed; inset:0; background:rgba(0,0,0,.65);
  display:none; align-items:center; justify-content:center;
  padding:18px;
}
.modal.open{display:flex}
.modal img{
  max-width:min(1100px, 95vw);
  max-height:88vh;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.25);
}
.modal .close{
  position:absolute; top:12px; right:12px;
  background:rgba(255,255,255,.95);
  border:none; border-radius:999px;
  padding:10px 12px;
  font-weight:800; cursor:pointer;
}
.small{font-size:14px;color:var(--muted)}

.brand .logo{height:68px;width:auto;display:block;border-radius:10px;background:transparent;}
.jubilaeum img{width:100%;max-width:980px;display:block;margin:22px auto 8px;border-radius:12px;box-shadow:var(--shadow);}


.quote{border-left:4px solid #2a6; padding:10px 14px; margin:12px 0; background:#f6faf7; border-radius:8px;}
