:root{
  --red:#e60012;
  --ink:#1c1e21; --body:#3f4348; --muted:#7d8288;
  --line:#d9dce0; --line-strong:#b7bcc2;
  --paper:#fff; --wash:#f4f5f6;
}
@page{ size:A4 portrait; margin:0; }
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; background:#cfd2d6; color:var(--ink);
  font-family:"Helvetica Neue",Helvetica,Arial,"Segoe UI","Noto Sans",sans-serif;
  -webkit-print-color-adjust:exact; print-color-adjust:exact; }

.page{
  position:relative; width:210mm; height:297mm; background:var(--paper);
  margin:0 auto 10mm; padding:15mm 16mm 19mm; overflow:hidden;
  display:flex; flex-direction:column; box-shadow:0 3px 14px rgba(20,30,50,.18);
}
.page:last-child{ margin-bottom:0; }

/* header / footer */
.phead{ display:flex; align-items:baseline; justify-content:space-between;
  padding-bottom:2.6mm; border-bottom:1px solid var(--line-strong); flex:0 0 auto; }
.phead .doc{ font-size:8pt; color:var(--body); letter-spacing:.02em; }
.phead .doc em{ font-style:normal; color:var(--red); font-weight:700; }
.phead .sec{ font-size:7.2pt; color:var(--muted); }
.pfoot{ position:absolute; left:16mm; right:16mm; bottom:9mm; display:flex;
  align-items:center; justify-content:space-between; padding-top:2mm;
  border-top:1px solid var(--line); font-size:6.8pt; color:var(--muted); }
.pfoot .pg{ color:var(--body); }
.pbody{ flex:1 1 auto; padding-top:7mm; min-height:0; }

/* typography */
h1,h2,h3{ margin:0; color:var(--ink); }
p{ margin:0 0 3mm; font-size:10.4pt; line-height:1.62; color:var(--body); }
h2.sec-title{
  font-family:Georgia,"Times New Roman",serif;
  font-size:16pt; font-weight:700; margin:0 0 5mm; padding-bottom:2.4mm;
  border-bottom:1px solid var(--line-strong);
}
h2.sec-title .n{ margin-right:3mm; }
h3.sub{
  font-family:Georgia,"Times New Roman",serif;
  font-size:11.5pt; font-weight:700; margin:5mm 0 2.2mm; color:var(--ink);
}
h3.sub:first-child{ margin-top:0; }
ul{ margin:0 0 3mm; padding-left:5.4mm; }
li{ font-size:10.4pt; line-height:1.58; color:var(--body); margin:1.5mm 0; }
li b{ color:var(--ink); }
b,strong{ color:var(--ink); }

/* fact strip */
.facts{ display:grid; grid-template-columns:1fr 1fr; gap:2mm 8mm;
  border:1px solid var(--line); padding:3.6mm 5mm; margin-bottom:4.5mm;
  font-size:9.4pt; color:var(--body); }
.facts div b{ color:var(--ink); }

/* small note */
.smallnote{ font-size:8.6pt; line-height:1.55; color:var(--muted); margin-top:5mm; }
.smallnote b{ color:var(--body); }

/* table */
table{ width:100%; border-collapse:collapse; font-size:9.6pt; background:#fff; }
thead th{ background:var(--wash); color:var(--ink); text-align:left; font-size:8.6pt;
  letter-spacing:.03em; padding:2.6mm 3mm; border-bottom:1px solid var(--line-strong); }
tbody td{ padding:2.5mm 3mm; border-bottom:1px solid var(--line); color:var(--body); vertical-align:top; }
tbody td:first-child{ color:var(--ink); }

/* photo grids — natural aspect ratio, no cropping */
.gallery{ columns:3; column-gap:3.6mm; display:block; }
.gallery.two{ columns:2; }
.gallery figure{ break-inside:avoid; margin:0 0 3.6mm; background:#fff;
  border:1px solid var(--line); display:block; overflow:hidden; }
figure img{ width:100%; height:auto; display:block; }
figcaption{ font-size:7.4pt; line-height:1.38; color:var(--muted);
  padding:1.7mm 2.2mm; border-top:1px solid var(--line); }
.gallery-caption{ font-size:8.4pt; color:var(--muted); margin:0 0 3mm; }

/* attachments */
.attach{ border:1px solid var(--line); padding:4mm 5mm; margin-bottom:4mm; }
.attach h3{ font-size:11pt; margin:0 0 1.6mm; }
.attach .meta{ font-size:9.2pt; line-height:1.55; color:var(--body); }
.btn{ display:inline-block; margin-top:3mm; border:1px solid var(--line-strong);
  color:var(--ink); text-decoration:none; font-weight:700; font-size:9pt; padding:2mm 4.5mm; }
.btn:hover{ background:var(--wash); }

/* cover — letterhead style */
.cover{ padding:0; }
.cover-band{ height:7mm; background:var(--red); }
.cover-inner{ padding:22mm 18mm 26mm; flex:1 1 auto; display:flex; flex-direction:column; }
.cover-brand{ display:flex; align-items:center; gap:5mm; }
.cover-brand img{ width:46mm; height:auto; display:block; }
.cover-brand small{ font-size:7.4pt; letter-spacing:.18em; color:var(--muted); }
.cover-main{ margin-top:36mm; }
.cover-main h1{
  font-family:Georgia,"Times New Roman",serif;
  font-size:29pt; font-weight:700; line-height:1.16; letter-spacing:-.005em;
}
.cover-main .subt{ margin-top:5mm; font-size:12pt; color:var(--body); }
.cover-meta{ margin-top:auto; padding-top:6mm; border-top:1px solid var(--line-strong);
  display:grid; grid-template-columns:1fr 1fr; gap:4.5mm 14mm; }
.cover-meta dt{ font-size:7.8pt; letter-spacing:.06em; color:var(--muted); text-transform:uppercase; }
.cover-meta dd{ margin:1.4mm 0 0; font-size:10.4pt; font-weight:700; color:var(--ink); }
.cover-foot{ position:absolute; left:18mm; right:18mm; bottom:10mm; display:flex;
  justify-content:space-between; font-size:6.8pt; color:var(--muted); }

/* language switch (screen only) */
.lang-switch{ position:fixed; top:7px; right:12px; z-index:30; display:flex; gap:2px;
  font-size:8.4pt; font-weight:700; letter-spacing:.05em; }
.lang-switch a{ text-decoration:none; padding:1.2mm 3mm; border:1px solid var(--line-strong);
  background:#fff; color:var(--body); }
.lang-switch a.on{ background:var(--red); border-color:var(--red); color:#fff; }

@media print{
  html,body{ background:#fff; }
  .page{ margin:0; box-shadow:none; break-after:page; }
  .page:last-child{ break-after:auto; }
  .lang-switch{ display:none; }
}
