.faq-source-row {
  margin-top: 0.7em;
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: 0.98em;
}
.faq-source-label {
  font-weight: 600;
  color: #0057b7;
}
.faq-personal-label {
  color: #888;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.3em;
}
.faq-no-source {
  color: #bbb;
  font-style: italic;
}
.faq-personal-info {
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  font-size: 1.1em;
  vertical-align: middle;
}
.faq-personal-info:focus .faq-tooltip,
.faq-personal-info:hover .faq-tooltip {
  opacity: 1;
  pointer-events: auto;
}
.faq-tooltip {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  background: #fffbe3;
  color: #0057b7;
  border: 1px solid #ffe066;
  border-radius: 6px;
  padding: 0.5em 1em;
  font-size: 0.97em;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,87,183,0.07);
  z-index: 1000;
  transition: opacity 0.2s;
}
.faq-source-btn {
  display: inline-block;
  margin-top: 0.7em;
  margin-right: 0;
  padding: 0.35em 1.1em;
  background: #e3f0ff;
  color: #0057b7;
  border: 1px solid #0057b7;
  border-radius: 5px;
  font-size: 0.98em;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.faq-source-btn:hover, .faq-source-btn:focus {
  background: #0057b7;
  color: #fff;
  border-color: #ffd600;
}
.faq-actualized {
  margin-top: 0.7em;
  font-size: 0.95em;
  color: #888;
  font-style: italic;
  text-align: right;
}
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f7f9fa;
  margin: 0;
  color: #222;
}
html, body {
  min-height: 100%;
  overflow-y: auto;
}

header {
  background: linear-gradient(90deg, #e3f0ff 0%, #fffbe3 100%);
  border-bottom: 2px solid #e3e3e3;
  padding: 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem 2rem 1rem 2rem;
}

.main-nav {
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid #e3e3e3;
  padding: 0 2rem;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.nav-link {
  display: block;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: #0057b7;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover {
  background: rgba(227, 240, 255, 0.5);
  color: #003d80;
}

.nav-link.active {
  color: #003d80;
  border-bottom-color: #ffd600;
  background: rgba(227, 240, 255, 0.3);
}

h1 {
  margin: 0;
  font-size: 2rem;
  color: #0057b7;
}

.title-section {
  flex: 1;
  margin-right: 2rem;
}

.site-subtitle {
  margin: 0.5rem 0 0 0;
  font-size: 1.1rem;
  color: #666;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.9;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fffbe3;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  border: 1px solid #ffe066;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4em;
  background: #fff;
  border: 2px solid #ffe066;
  color: #0057b7;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  padding: 0.3em 0.9em;
  cursor: pointer;
  transition: background 0.2s, border 0.2s, color 0.2s;
  outline: none;
}
.lang-btn .flag {
  font-size: 1.2em;
  margin-right: 0.2em;
}
.lang-btn.active, .lang-btn:focus {
  background: #e3f0ff;
  border-color: #0057b7;
  color: #222;
}

main {
  max-width: 700px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.faq-list {
  margin: 0;
  padding: 0;
}

.faq-category {
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,87,183,0.07);
  overflow: hidden;
  border: 1px solid #e3e3e3;
}

.faq-category-header {
  cursor: pointer;
  padding: 1.5rem 2rem;
  font-weight: 700;
  font-size: 1.3rem;
  color: #0057b7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  background: linear-gradient(90deg, #e3f0ff 0%, #fffbe3 100%);
  width: 100%;
  outline: none;
  border-bottom: 1px solid #e3e3e3;
  transition: background 0.2s;
}

.faq-category-header:hover {
  background: linear-gradient(90deg, #d1e7ff 0%, #fff4c4 100%);
}

.faq-category-header::after {
  content: '\25BC';
  font-size: 1.1rem;
  color: #ffd600;
  margin-left: 1rem;
  transition: transform 0.3s;
}

.faq-category.open .faq-category-header::after {
  transform: rotate(180deg);
}

.faq-category-content {
  display: none;
}

.faq-category.open .faq-category-content {
  display: block;
}

.faq-category .faq-item {
  margin-bottom: 0;
  border-radius: 0;
  box-shadow: none;
  border-left: none;
  border-bottom: 1px solid #e3e3e3;
}

.faq-category .faq-item:last-child {
  border-bottom: none;
}

.faq-category .faq-item.open {
  box-shadow: inset 0 0 0 3px #ffd600;
}

.faq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,87,183,0.07);
  border-left: 6px solid #ffd600;
  transition: box-shadow 0.2s;
}

/* Standalone FAQ items (not in categories) */
.faq-list > .faq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,87,183,0.07);
  border-left: 6px solid #ffd600;
  transition: box-shadow 0.2s;
}

.faq-list > .faq-item.open {
  box-shadow: 0 4px 16px rgba(0,87,183,0.13);
}
.faq-question {
  cursor: pointer;
  padding: 1.1rem 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: #0057b7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  background: none;
  width: 100%;
  outline: none;
}
.faq-question::after {
  content: '\25BC';
  font-size: 1rem;
  color: #ffd600;
  margin-left: 1rem;
  transition: transform 0.2s;
}
.faq-item.open .faq-question::after {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: #333;
  background: #f7f9fa;
  border-top: 1px solid #e3e3e3;
  transition: max-height 0.3s ease, padding 0.3s;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.faq-item.open .faq-answer {
  /* max-height now controlled dynamically via inline style in JS to fit full content */
  padding: 1rem 1.5rem;
}

/* Sources new vertical layout */
.faq-sources {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  align-items: flex-start;
  width: 100%;
}
.faq-source-badge {
  display: inline-block;
  background: #e3f0ff;
  color: #0057b7;
  border: 1px solid #0057b7;
  border-radius: 5px;
  padding: 0.45em 0.85em;
  font-size: 0.92em;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.35;
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.faq-source-badge:hover, .faq-source-badge:focus {
  background: #0057b7;
  color: #fff;
  border-color: #ffd600;
}
.faq-source-badge strong {
  font-weight: 600;
  margin-right: 0.35em;
}
.faq-source-badge.personal {
  background: #fffbe3;
  border-color: #ffe066;
  color: #555;
}
.faq-source-badge.personal:hover, .faq-source-badge.personal:focus {
  background: #ffe066;
  color: #222;
}

@media (max-width: 600px) {
  .header-content, main {
    padding: 1rem;
  }
  
  .title-section {
    margin-right: 1rem;
  }
  
  .main-nav {
    padding: 0 1rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  .site-subtitle {
    font-size: 1rem;
  }
  
  .nav-link {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  
  .faq-category-header, .contact-category-header {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
  }
  
  .faq-question, .contact-question {
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
  }
  
  .faq-answer, .contact-answer {
    padding: 0 1.2rem;
  }
  
  .faq-item.open .faq-answer, .contact-item.open .contact-answer {
    padding: 0.8rem 1.2rem;
  }
  
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  
  .contact-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  
  .contact-actualized {
    text-align: left;
  }
  
  .about-section {
    padding: 1.5rem;
  }
  
  .about-title {
    font-size: 1.3rem;
  }
  
  .about-content-text {
    font-size: 1rem;
  }
}

/* About page styles */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.about-section {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 2rem;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,87,183,0.07);
  border-left: 6px solid #ffd600;
}

.about-section.disclaimer-section {
  border-left-color: #ff6b6b;
  background: #fefefe;
  border: 1px solid #ffe6e6;
}

.about-title {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0057b7;
}

.disclaimer-section .about-title {
  color: #d63031;
}

.about-content-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

.disclaimer-section .about-content-text {
  color: #555;
  font-weight: 500;
}

/* Contacts page styles */
.contacts-list {
  margin: 0;
  padding: 0;
}

.contact-category {
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,87,183,0.07);
  overflow: hidden;
  border: 1px solid #e3e3e3;
}

.contact-category-header {
  cursor: pointer;
  padding: 1.5rem 2rem;
  font-weight: 700;
  font-size: 1.3rem;
  color: #0057b7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  background: linear-gradient(90deg, #e3f0ff 0%, #fffbe3 100%);
  width: 100%;
  outline: none;
  border-bottom: 1px solid #e3e3e3;
  transition: background 0.2s;
}

.contact-category-header:hover {
  background: linear-gradient(90deg, #d1e7ff 0%, #fff4c4 100%);
}

.contact-category-header::after {
  content: '\25BC';
  font-size: 1.1rem;
  color: #ffd600;
  margin-left: 1rem;
  transition: transform 0.3s;
}

.contact-category.open .contact-category-header::after {
  transform: rotate(180deg);
}

.contact-category-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.contact-category.open .contact-category-content {
  max-height: 3000px;
}

.contact-item {
  border-bottom: 1px solid #e3e3e3;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-question {
  cursor: pointer;
  padding: 1.1rem 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: #0057b7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  background: none;
  width: 100%;
  outline: none;
}

.contact-question::after {
  content: '\25BC';
  font-size: 1rem;
  color: #ffd600;
  margin-left: 1rem;
  transition: transform 0.2s;
}

.contact-item.open .contact-question::after {
  transform: rotate(180deg);
}

.contact-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: #333;
  background: #f7f9fa;
  border-top: 1px solid #e3e3e3;
  transition: max-height 0.3s ease, padding 0.3s;
}

.contact-item.open .contact-answer {
  max-height: 800px;
  padding: 1rem 1.5rem;
}

.contact-description {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-label {
  font-weight: 600;
  color: #0057b7;
  font-size: 0.9rem;
}

.contact-link {
  color: #0057b7;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.contact-link:hover {
  color: #003d80;
  text-decoration: underline;
}

.contact-text {
  color: #444;
  font-size: 0.95rem;
}

.contact-additional-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.contact-personal-label {
  color: #888;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.3em;
}

.contact-personal-info {
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  font-size: 1.1em;
  vertical-align: middle;
}

.contact-personal-info:focus .contact-tooltip,
.contact-personal-info:hover .contact-tooltip {
  opacity: 1;
  pointer-events: auto;
}

.contact-tooltip {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  background: #fffbe3;
  color: #0057b7;
  border: 1px solid #ffe066;
  border-radius: 6px;
  padding: 0.5em 1em;
  font-size: 0.97em;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,87,183,0.07);
  z-index: 1000;
  transition: opacity 0.2s;
}

.contact-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1em;
  flex-wrap: wrap;
  gap: 0.5em;
}

.contact-actualized {
  font-size: 0.95em;
  color: #888;
  font-style: italic;
  text-align: right;
}
