.borderRightLeft {
  display: inline;
  color: #FF9E71;
  text-decoration: none;
  background-image: linear-gradient(#FF9E71, #FF9E71);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 3px;
  padding-bottom: 1px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size .15s ease-in-out;
}

.borderRightLeft:hover {
  background-position: 100% 100%;
  background-size: 0 3px;
}

.profil {
  display: block;
  max-width: 20%;
  min-width: 18%;
  height: auto;
  width: auto;
  border-radius: 300px;
  border: 6px solid #f4eadb;
  background-color: white;
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.03);
}

.block {
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 16px 28px 16px 28px;
  margin: 0rem 0rem 3rem 0rem!important;
  background-color: white;
}

a {
  font-weight: 600;
  text-decoration:none;
}

a:hover {
  cursor: pointer;
  cursor: hand;
}

.top {
  margin-top: 80px;
}

ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 24px;
}

.button {
  margin-top: 1rem;
  display: inline-block;
  height: fit-content;
  padding: 20px 24px 20px 24px;
  justify-content: left;
  align-items: center;
  border-radius: 16px;
  border: 3px solid var(--Dark, #1E1C24);
  background: #FFF;
  box-shadow: -5px 4px 0px 0px #1E1C24;
}

.button:hover {
  border: 3px solid var(--Dark, #FF9E71);
  box-shadow: -5px 4px 0px 0px #FF9E71;
}

a.button {
  font-weight: 800;
  font-size: 1.2rem;
}

h2 a {
  font-weight: 700;
}

.icn {
  vertical-align: middle;
  margin-left: 8px;
  position: relative;
  top: -2px;
}

.contact {
  position: fixed;
  right: 10px;
  bottom: 10px;
}

.header {
  background-color: white;
  position: static;
  width: 100%;
  padding-bottom: 4rem;
  border-bottom: 2px solid #1E1C24;
}

::selection {
  background: #1E1C24;
  color: white;
}

.logos {
  display: flex;
  gap: 1.4rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.status-inline {
  padding: 14px 24px;
  background-color: #FFF3E2;
  border: 0.5px solid rgba(255, 158, 113, 0.36);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.status-inline p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.6;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #FF9E71;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.status-dot::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #FF9E71;
  animation: pulseClean 2.4s infinite;
  opacity: 0.6;
}

@keyframes pulseClean {
  0% { transform: scale(1); opacity: 0.6; }
  70% { transform: scale(3); opacity: 0; }
  100% { opacity: 0; }
}

.status-inline a {
  color: #1E1C24;
  font-weight: 400;

}

.status-inline .borderRightLeft {
  line-height: 1.4;
}

.status-inline .borderRightLeft {
  background-image: linear-gradient(#1E1C24, #1E1C24);
  background-size: 100% 2px;
}

.status-inline .borderRightLeft:hover {
  background-size: 0 2px;
}

@media (max-width: 600px) {

  .status-inline {
    padding: 16px 18px;
  }

  .status-inline p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .status-dot {
    width: 8px;
    height: 8px;
    margin-right: 6px;
  }

  .status-dot::after {
    width: 8px;
    height: 8px;
    animation: pulseMobile 2.8s infinite;
    opacity: 0.5;
  }

  @keyframes pulseMobile {
    0% { transform: scale(1); opacity: 0.6; }
    70% { transform: scale(3); opacity: 0; }
    100% { opacity: 0; }
  }

}

#modalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 28, 36, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#modal {
  background: white;
  border-radius: 16px;
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  padding: 40px;
  width: 100%;
  max-width: 480px;
  position: relative;
}

#modal h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

#modalClose {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #1E1C24;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
}

#modalClose:hover {
  background: rgba(0,0,0,0.06);
}

#contactForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#contactForm label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 1rem;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  background: white;
  color: #1E1C24;
  box-sizing: border-box;
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.03);
}

#contactForm input:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: #FF9E71;
}

#contactForm button[type="submit"] {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 16px 24px;
  border-radius: 16px;
  border: 3px solid #1E1C24;
  background: #FFF;
  box-shadow: -5px 4px 0px 0px #1E1C24;
  color: #1E1C24;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

#contactForm button[type="submit"]:hover {
  border-color: #FF9E71;
  box-shadow: -5px 4px 0px 0px #FF9E71;
}

@media (max-width: 600px) {
  #modal {
    padding: 28px 20px;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 72px;
  }
}

.header-small {
  padding-bottom: 3rem;
}

.header-small h1 {
  margin-bottom: 0.5rem;
}

.intro {
  font-size: 1.1rem;
  max-width: 36rem;
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin: 3rem 0 4rem 0;
}

@media (max-width: 1280px) {
  .projects {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.project {
  display: flex;
  flex-direction: column;
  background: #FFF;
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.03);
  transition: transform .15s ease-in-out, box-shadow .15s ease-in-out;
}

.project:hover {
  transform: translate(2px, -2px);
  box-shadow: -5px 4px 0px 0px #1E1C24;
}

.project-cover {
  display: block;
  aspect-ratio: 4 / 3;
  background-color: #f4eadb;
  overflow: hidden;
}

.project-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease-in-out;
}

.project:hover .project-cover img {
  transform: scale(1.03);
}

.project-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px 24px 24px 24px;
}

.project-body h3 {
  margin: 0.5rem 0 0.25rem 0;
}

.project-body p {
  margin: 0.5rem 0 1rem 0;
}

.project-body .borderRightLeft {
  align-self: flex-start;
  margin-top: auto;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  width: auto;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 20px;
  background-color: #FFF3E2;
  border: 0.5px solid rgba(255, 158, 113, 0.36);
}

.project-title {
  margin: 1rem 0 0.5rem 0;
  font-size: 2.6rem;
}

@media (max-width: 600px) {
  .project-title {
    font-size: 2rem;
  }
}

.meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem 1.5rem;
  margin: 2rem 0 0 0 !important;
}

.meta dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.6;
  margin-bottom: 4px;
}

.meta dd {
  margin: 0;
  font-weight: 400;
  font-size: 0.95rem;
}

.hero {
  margin: 0 0 3rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  background-color: #f4eadb;
}

.hero img,
.gallery img {
  display: block;
  width: 100%;
  height: auto;
}

figure.gallery,
.hero-figure {
  margin: 0 0 3rem 0;
}

.hero-figure .hero {
  margin: 0;
}

figure.gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 0.5px solid rgba(0, 0, 0, 0.08);
}

figure.gallery figcaption,
.hero-figure figcaption {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 8px;
}

.todo {
  outline: 2px dashed #FF9E71;
  outline-offset: 4px;
  background-color: #FFF3E2;
}

div.todo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}

.project-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  margin: 1rem 0 3rem 0;
}

.project-nav a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  border: 3px solid #1E1C24;
  background: #FFF;
  box-shadow: -5px 4px 0px 0px #1E1C24;
}

.project-nav a:hover {
  border-color: #FF9E71;
  box-shadow: -5px 4px 0px 0px #FF9E71;
}

.project-nav .next {
  flex-direction: row-reverse;
  text-align: right;
}

.project-nav img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background-color: #f4eadb;
}

.project-nav small {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.6;
  margin-bottom: 4px;
}

.project-nav span {
  min-width: 0;
  flex: 1;
}

.project-nav strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: break-word;
  hyphens: auto;
}

@media (max-width: 720px) {
  .project-nav {
    gap: 1rem;
  }
  .project-nav a {
    padding: 12px;
    gap: 12px;
  }
  .project-nav img {
    width: 56px;
    height: 44px;
  }
}

.project-body h3 a {
  font-weight: 600;
}

.project-body h3 a:hover {
  color: #FF9E71;
}

.block.note {
  background-color: #FFF3E2;
  border: 0.5px solid rgba(255, 158, 113, 0.36);
}

.project-content .block a {
  font-weight: 600;
}

.project-content {
  position: relative;
}

figure.gallery.wide {
  width: min(1200px, calc(100vw - 64px));
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 1rem 0 3.5rem 0;
}

figure.gallery.wide figcaption {
  width: calc(90vw * 0.96);
  margin: 12px auto 0 auto;
  text-align: left;
}

@media (min-width: 540px) {
  figure.gallery.wide figcaption {
    width: calc(80vw * 0.96);
  }
}

@media (min-width: 720px) {
  figure.gallery.wide figcaption {
    width: calc(80vw * 0.6266);
  }
}

@media (min-width: 960px) {
  figure.gallery.wide figcaption {
    width: calc(min(75vw, 60rem) * 0.6266);
  }
}

@media (max-width: 720px) {
  figure.gallery.wide {
    width: calc(100vw - 32px);
    margin: 0.5rem 0 2.5rem 0;
  }
  figure.gallery.wide img {
    border-radius: 8px;
  }
}

body {
  overflow-x: hidden;
}

a.zoom {
  display: block;
  cursor: zoom-in;
}

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(30, 28, 36, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: auto;
  cursor: zoom-out;
}

#lightbox[hidden] {
  display: none;
}

#lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 8px;
  cursor: default;
}

#lightboxClose {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 3px solid #1E1C24;
  background: #FFF;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 1rem;
  margin: 0 0 2.5rem 0;
  padding: 0;
  list-style: none;
}

.stats + .source {
  margin-top: -1.5rem;
}

.stats li {
  width: auto;
  padding: 20px 20px 18px 20px;
  background: #FFF;
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.03);
}

.stats li.todo {
  background-color: #FFF3E2;
}

.stats .num {
  display: block;
  font-family: dunbar-tall, sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 2.6rem;
  line-height: 1;
}

.stats .num small {
  font-size: 1.4rem;
}

.stats .label {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.35;
}

.source {
  font-size: 0.8rem !important;
  opacity: 0.7;
  margin: 0 0 3rem 0;
}

.bar {
  display: flex;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  margin: 1rem 0 0.75rem 0;
}

.bar span {
  display: block;
  height: 100%;
}

.bar span + span {
  border-left: 2px solid #FFF;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0 0 0.5rem 0;
  padding: 0;
  list-style: none;
}

.legend li {
  width: auto;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
}

.c-dark   { background-color: #1E1C24; }
.c-orange { background-color: #FF9E71; }
.c-beige  { background-color: #f4eadb; }
.c-grey   { background-color: #bdb6ab; }

.project {
  position: relative;
}

.project-body h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.project:hover .project-body h3 a {
  color: #FF9E71;
}

.project:focus-within {
  outline: 3px solid #FF9E71;
  outline-offset: 3px;
}

.project-body h3 a:focus {
  outline: none;
}

.project-body .project-period {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0.6;
}

.project-body h3:has(+ .project-period) {
  margin-bottom: 0.2rem;
}

.project-body .project-period + p {
  margin-top: 0.4rem;
}

.project-body .project-period.todo {
  opacity: 1;
  align-self: flex-start;
  width: auto;
  padding: 0 4px;
  outline-offset: 2px;
}

.header {
  position: relative;
  display: flow-root;
}

.recap {
  margin: 0 0 3rem 0;
  padding: 22px 28px 6px 28px;
  background: #FFFDF9;
  border: 1px solid rgba(255, 158, 113, 0.45);
  border-radius: 12px;
}

.recap-label {
  margin: 0 0 6px 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FF9E71;
}

.recap-item {
  padding: 14px 0 16px 0;
  border-top: 1px dashed rgba(255, 158, 113, 0.4);
}

.recap-item h3 {
  margin: 0 0 0.35rem 0;
  font-size: 1rem;
}

.recap-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .recap {
    padding: 18px 20px 4px 20px;
  }
}

.offer-list,
.offer-no ul {
  list-style: none;
  padding-inline-start: 0;
  margin: 0.5rem 0 0.5rem 0;
}
.offer-list li,
.offer-no li {
  position: relative;
  padding: 8px 0 8px 30px;
  line-height: 22px;
  white-space: normal;
}
.offer-list li::before,
.offer-no li::before {
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}
.offer-list li::before {
  content: "✓";
  background: #FFF3E2;
  color: #FF9E71;
}
.offer-no li::before {
  content: "✕";
  background: rgba(30, 28, 36, 0.08);
  color: #1E1C24;
}
.offer h3 {
  margin: 0.5rem 0 0.25rem 0;
  font-size: 1.05rem;
}
.offer-no {
  border: 1px dashed rgba(30, 28, 36, 0.25);
  border-radius: 12px;
  padding: 16px 28px;
  margin: -1.5rem 0 3rem 0;
}
.offer-no li {
  opacity: 0.85;
}

.offer-list li,
.offer-no li {
  width: auto;
}
.offer li strong {
  font-weight: 700;
}

.block .offer-no {
  border: none;
  border-top: 1px dashed rgba(30, 28, 36, 0.2);
  border-radius: 0;
  padding: 16px 0 0 0;
  margin: 0.75rem 0 0.5rem 0;
}

.header {
  padding-top: 4px;
}

.header .status-inline {
  margin-bottom: 24px !important;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 4rem 0;
  padding: 0;
}

.site-nav .brand,
.site-nav .brand span {
  font-family: dunbar-tall, sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 1.1rem;
}

.site-nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.site-nav .brand img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #F4EADB;
  object-fit: cover;
}

.site-nav .menu {
  display: flex;
  gap: 22px;
}

.site-nav .menu a {
  font-family: soleil, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  padding: 2px 0;
}

.site-nav .menu a[aria-current="page"] {
  font-weight: 600;
  background-image: linear-gradient(#FF9E71, #FF9E71);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 2px;
}

.site-nav .menu a:hover {
  color: #FF9E71;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: #FFF;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  font-family: soleil, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

.lang-toggle span {
  padding: 4px 8px;
  border-radius: 7px;
  color: rgba(30, 28, 36, 0.55);
}

.lang-toggle span.on {
  background: #1E1C24;
  color: #FFF;
}

.lang-toggle:hover span:not(.on) {
  color: #1E1C24;
}

.header.header-small {
  padding-bottom: 4rem;
}

.header-small h1 {
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.header .article-meta {
  margin: 0 0 1.25rem 0;
}

.header .tags {
  margin-bottom: 1.75rem;
}

.header .intro {
  margin: 0 0 2rem 0;
  line-height: 1.55;
}

.header .intro:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .header {
    padding-top: 0;
  }
  .header.header-small {
    padding-bottom: 3rem;
  }
  .header .status-inline {
    margin-bottom: 16px !important;
  }
  .site-nav {
    gap: 12px;
    margin-bottom: 2.75rem;
  }
  .site-nav .brand span {
    display: none;
  }
  .site-nav .menu {
    gap: 16px;
  }
  .site-nav .menu a {
    font-size: 0.9rem;
  }
  .lang-toggle {
    font-size: 0.7rem;
  }
  .lang-toggle span {
    padding: 4px 5px;
  }
  .header-small h1 {
    margin-bottom: 0.85rem;
  }
  .header .article-meta {
    margin-bottom: 1rem;
  }
  .header .tags {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 380px) {
  .site-nav {
    gap: 6px;
  }
  .site-nav .brand img {
    width: 26px;
    height: 26px;
  }
  .site-nav .menu {
    gap: 8px;
  }
  .site-nav .menu a {
    font-size: 0.8rem;
    letter-spacing: -0.01em;
  }
  .lang-toggle {
    padding: 3px;
  }
  .lang-toggle span {
    padding: 3px 4px;
  }
}

.article-meta {
  margin: 0 0 0.75rem 0;
  font-size: 0.9rem;
  opacity: 0.65;
}

.article-content > p,
.article-content > ul li {
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-content > ul {
  margin: 0 0 1.5rem 0;
}

.article-content > h2 {
  margin-top: 2.5rem;
}

.recap ul {
  margin: 0.25rem 0 1rem 0;
  padding-inline-start: 20px;
}

.recap li {
  padding: 4px 0;
  line-height: 1.5;
}

blockquote.quote {
  margin: 0 0 3rem 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid #FF9E71;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
}

.article-list {
  list-style: none;
  padding: 0;
  margin: 3rem 0 4rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-list > li {
  padding: 0;
  white-space: normal;
}

.article-card {
  display: block;
  background: #FFF;
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 22px 28px;
  transition: transform .15s ease-in-out, box-shadow .15s ease-in-out;
}

.article-card:hover {
  transform: translate(2px, -2px);
  box-shadow: -5px 4px 0 0 #1E1C24;
}

.article-card .article-meta { margin: 0 0 0.4rem 0; font-weight: 400; }
.article-card h3 { margin: 0 0 0.4rem 0; font-size: 1.2rem; }
.article-card p { margin: 0; font-weight: 300; }
.article-card .tags { margin-top: 0.75rem; }

.article-empty {
  margin: 3rem 0 4rem 0;
  font-size: 1.05rem;
}

.article-list:empty {
  display: none;
}

.site-nav .lang-toggle {
  margin-left: auto;
}

.site-nav .brand {
  margin-right: 0;
}

@media (max-width: 380px) {
  .site-nav {
    gap: 8px;
  }
  .site-nav .menu {
    gap: 10px;
  }
  .site-nav .menu a {
    font-size: 0.8rem;
    letter-spacing: -0.01em;
  }
  .lang-toggle span {
    padding: 3px;
  }
}

.header .article-note {
  box-sizing: border-box;
  max-width: 36rem;
  margin: 1.5rem 0 0 0;
  padding: 12px 18px;
  background: #FFFDF9;
  border: 1px dashed rgba(255, 158, 113, 0.6);
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
}
