/* Global (from styles.less) */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: rgba(0, 0, 0, 0.85);
}
.home-page { background-color: rgb(240, 240, 240); }
a { text-decoration: none; }

/* Simple icon glyphs (replacing ng-zorro icons) */
.icon { font-style: normal; }
.icon-global::before { content: "\1F310"; }       /* globe */
.icon-down::before   { content: " \25BE"; }        /* ▾ */
.icon-search::before { content: "\1F50D"; }        /* magnifier */
.icon-right::before  { content: "\203A"; font-size: 20px; color: rgb(150,150,150); } /* › */

/* Logo (app.component.less) */
.logo {
  width: 360px;
  margin: auto;
  padding: 50px 0px 20px 0px;
  text-align: center;
}
.logo img { width: 100%; }
.logo span {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 7px;
}

/* Search box */
.search { padding: 0px 20px 20px 20px; }
.input-group {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 0 11px;
}
.input-group:focus-within { border-color: #40a9ff; box-shadow: 0 0 0 2px rgba(24,144,255,.2); }
.search input {
  height: 36px;
  font-size: 18px;
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
}
.input-suffix { color: rgba(0,0,0,.45); margin-left: 8px; }

/* Language selector */
.language {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 16px;
}
.language > a { cursor: pointer; color: rgb(0,0,0); }
.language span { padding: 5px; color: rgb(0, 0, 0); }

/* Back-to-website link — mirrors .language on the opposite corner */
.home-link {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 16px;
}
.home-link a { cursor: pointer; color: rgb(0,0,0); display: inline-block; padding: 4px; }
.home-link svg { display: block; }
.lang-menu {
  list-style: none;
  margin: 4px 0 0 0;
  padding: 4px 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  position: absolute;
  min-width: 140px;
  z-index: 20;
}
.lang-menu li { padding: 6px 16px; cursor: pointer; }
.lang-menu li:hover { background-color: rgb(245,245,245); }

/* Content width (app.component.less) */
.content { width: 100%; }

/* ---- Section list (section.list.component.less) ---- */
.section-flex-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0px 8px 0px 8px;
}
.section-container-card {
  flex-basis: 33%;
  min-width: 260px;
  min-height: 320px;
  padding: 10px;
}
.section {
  height: 100%;
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  box-shadow: 1px 1px 1px rgb(200, 200, 200);
}
.section-card-title {
  font-size: 18px;
  font-weight: 600;
  padding: 15px 15px 5px 15px;
  border-bottom: 1px solid rgb(240, 240, 240);
}
.section-card-article { border-bottom: 1px solid rgb(240, 240, 240); }
.section-article-padding { padding: 10px 5px 10px 15px; }
.section-card-article a { color: rgb(0, 0, 0); }
.section-hover:hover { background-color: rgb(250, 250, 250); }

.section-list {
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  margin: 0px 20px 20px 20px;
}
.section-list-item { border-bottom: 1px solid rgb(240, 240, 240); }
.section-list-item-padding { padding: 10px 16px 10px 16px; }
.section-list-item a { color: rgb(0, 0, 0); font-size: 18px; }

/* ---- Section page (section.component.less) ---- */
.section-container {
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  margin: 0px 20px 20px 20px;
  padding: 16px 0px 16px 0px;
}
.section-breakcrumb { padding: 0px 16px 0px 16px; color: grey; }
.section-title { padding: 0px 16px 0px 16px; }
.section-article { border-top: 1px solid rgb(240, 240, 240); }
.section-article-block:hover { background-color: rgb(250, 250, 250); }
.section-article-block { padding: 16px; }
.section-article-content { color: grey; font-size: 16px; }
.section-article a { color: rgb(0,0,0); }

/* ---- Article page (article.component.less) ---- */
.article-container {
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  margin: 0px 20px 20px 20px;
  padding: 16px 16px 16px 16px;
}
.article-breakcrumb { color: grey; }
.article-breakcrumb a { color: grey; }
.article-content { font-size: 16px; }
.article-content img { max-width: 100%; }

/* ---- Search results (app.component.less) ---- */
.results-container {
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  margin: 0px 20px 20px 20px;
  padding: 16px 0px 16px 0px;
}
.results-title { padding: 0px 16px 0px 16px; }
.result-item { border-top: 1px solid rgb(240, 240, 240); }
.result-item-block:hover { background-color: rgb(250, 250, 250); }
.result-item-padding { padding: 16px; }
.result-item-content { color: grey; font-size: 16px; }
.result-item a { color: rgb(0,0,0); }

/* Shared row layout */
.row-table { width: 100%; border-collapse: collapse; }
.row-arrow { width: 20px; text-align: right; vertical-align: middle; }
