    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    html, body {
      width: 100vw;
      height: 100vh;
      font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      font-weight: 400; /* или normal/regular – еднакво */
      color: #222;
      background: linear-gradient(to right, #fff, #f8f8f8);
      overflow: hidden;
      scrollbar-width: none;
    }
    body::-webkit-scrollbar {
      display: none;
    }
    h1, h2, h3 {
      font-weight: 700; /* или "bold" – еднакво */
    }
    strong {
      font-weight: 500; /* леко акцентирано, не прекалено */
    }
    a:hover {
      cursor:pointer;
      text-decoration: underline;
    }
    .menu-button {
      position: fixed;
      top: 20px;
      left: 20px;
      z-index: 1000;
      background-color: #0056b3;
      color: white;
      padding: 10px 16px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 18px;
    }
    .menu {
      position: fixed;
      top: 60px;
      left: 20px;
      background-color: white;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      border-radius: 6px;
      display: none;
      flex-direction: column;
      padding: 10px;
      z-index: 999;
    }
    .menu a {
      text-decoration: none;
      color: #333;
      padding: 8px 12px;
      border-radius: 4px;
      transition: background 0.3s;
      cursor: pointer;
    }
    .menu a:hover {
      background-color: #eee;
    }
    .container {
      height: 100vh;
      width: 100vw;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
    }
    .logo {
      font-size: 8vw;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 2vw;
      flex-wrap: wrap;
    }
    .logo span {
      color: #0056b3;
    }
    .circle-logo {
      width: 12vw;
      height: 12vw;
      min-width: 60px;
      min-height: 60px;
      background-color: #0056b3;
      color: white;
      font-weight: bold;
      font-size: 10vw;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    footer {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background-color: #f1f1f1;
      text-align: center;
      padding: 20px;
      font-size: 14px;
      color: #666;
    }
    .popup-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      padding: 0 8px calc(env(safe-area-inset-bottom, 0px) + 12px) 8px;
      background: rgba(0, 0, 0, 0.5);
      display: flex;  /* none; */
      align-items: center;
      justify-content: center;
      z-index: 2000;
      /* transition effect */
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
      /* end transition effect */
    }
    /* Където се поддържа – използваме динамични viewport единици */
    @supports (height: 100dvh) {
      .popup-overlay { height: 100dvh; }
      .popup { max-height: 92dvh; } /* вместо 92vh, за по-реално центриране */
    }
    /* За Safari iOS и нови мобилни – стабилни viewport единици */
    @supports (height: 100svh) {
      .popup-overlay { height: 100svh; }
      .popup { max-height: 92svh; }
    }
/* transition effect */
    .popup-overlay.show {
      opacity: 1;
      pointer-events: auto;
    }
/* end thansition effect */
    .popup {
      width: 90vw;
      max-width: 650px;
      max-height: 85vh;       /* NEW: prevent overflowing screen on mobile */
      background: white;
      border-radius: 10px;
      overflow: hidden;
      position: relative;
      display: flex;          /* don't know why */
      flex-direction: column; /* to separate header from body */
    }
/* За компютър/големи екрани - максимална височина */
@media (min-width: 900px) { .popup { max-height: 92vh; } }
@media (max-width: 900px) { .popup { margin: 0 auto; } }
/* --- Мобилен landscape --- */
@media (max-height: 600px) and (orientation: landscape) {
  .popup {
    max-width: 65vw;      /* по-тясно, за да не заема цялата ширина */
    max-height: 80vh;     /* малко по-нисък, за да има въздух */
  }
}
    .popup-header {
      background-color: #0056b3;
      color: white;
      padding: 10px 20px;        /* 10px 20px; */
      font-size: 1.25em;        /* Originaly 24px*/
      font-weight: bold;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .popup-body {
      padding: 0.5em;          /* Originaly 20px*/
      font-size: 16px;
      color: #333;
      line-height: 1.5;
      overflow-y: auto;       /* scroll only if needed */
      flex-grow: 1;           /* take remaining space */
    }
    .popup .close-btn {
      background: none;
      border: none;
      color: white;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }
    .hr-strong {
      border: 0;
      height: 2px;
      background-color: #0056b3;
      margin: 15px 0;
    }
    .article-paragraph {
      padding: 5px;
      display: block;       /* flex */
      justify-content: space-between;
      text-align: justify;
      margin: 2px 0;
    }
    .article {
      padding: 5px;
      margin-bottom: 10px;
    }

/* Контейнер за статиите */
#articlesContainer {
  display: grid;
  grid-template-columns: 1fr;   /* по подразбиране една колона (телефон) */
  gap: 0.6em;
  padding: 0.4em;
}
/* За по-широки екрани – 2 колони */
@media (min-width: 900px) {
  #articlesContainer { grid-template-columns: repeat(2, 1fr); }
}
/* За още по-големи – 3 колони */
@media (min-width: 1400px) {
  #articlesContainer { grid-template-columns: repeat(3, 1fr); }
}

/* Форматиране на отделните "карти" със съдържание */
#articlesContainer article {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  padding: 1em;
  margin-bottom: 0.4em;
  text-align: justify;
  transition: all 0.3s ease;   /* плавен преход */
}

#articlesContainer article:hover {
  background: rgba(0,0,0,0.05); /* леко затъмняване */
  transform: translateY(-3px);  /* малко повдигане */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Картинките вътре в статиите */
#articlesContainer img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0.8em;
  border-radius: 6px;
}

/* Параметри за линкове за споделяне */
/* Контейнерът около водещата снимка на статията */
.article .article-hero {
  position: relative;
  display: block;
}

/* Share buttons overlay */
.article .share-buttons {
  position: absolute;
  right: 8px;
  bottom: 14px;
  display: flex;
  gap: 8px;
  z-index: 5;
}
.article .share-buttons a.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.article .share-buttons a.share-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  background: rgba(255,255,255,1);
}
.article .share-buttons img {
  width: 20px;
  height: 20px;
  display: block;
}

/* Toast message */
#toast {
  position: fixed;
  bottom: 35%;    /* Originaly 30px; */
  left: 50%;
  min-width: 210px;
  text-align: center;
  transform: translateX(-50%) translateY(100%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 15px;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 3000;
  pointer-events: none;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Hidden headings for SEO. No layout impact */
.seo-headings{
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}