:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #6b7280;
  --border: #e3e2de;
  --primary: #2a9d8f;
  --primary-2: #1f7a70;
  --link: #1f7a70;
  --brand-dark: #3b3a36;
  --shadow: 0 10px 25px rgba(16, 24, 40, 0.08);
  --radius: 10px;
  --sticky-top: 132px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.container-logo {
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar {
  background: var(--brand-dark);
  color: #eaf2ff;
  font-size: 13px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 34px;
}

.topbar__link {
  color: #eaf2ff;
}

.topbar__sep {
  margin: 0 10px;
  opacity: 0.7;
}

.brandbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.brandbar__inner {
  position: relative;
  padding: 0;
}

.brandbar__banner-link {
  display: block;
}

.brandbar__banner {
  display: block;
  width: 100%;
}

@media (max-width: 760px) {
  .brandbar__banner {
    height: 86px;
  }
}

.brandbar .nav-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  width: 42px;
  height: 42px;
}

.brand__title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
}

.brand__subtitle {
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
}

.nav {
  background: var(--primary);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav__inner {
  position: relative;
}

.nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav__link:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
}

.nav__link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.85);
  font-weight: 700;
}

.nav__link--primary {
  background: rgba(255, 255, 255, 0.14);
}

.nav__link--button {
  font-family: inherit;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 8px;
  list-style: none;
  margin: 8px 0 0 0;
}

.dropdown__link {
  display: block;
  padding: 10px 10px;
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
}

.dropdown__link:hover {
  background: rgba(42, 157, 143, 0.08);
  text-decoration: none;
}

.nav__item--open > .dropdown {
  display: block;
}

.nav-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 600;
}

.page {
  padding: 22px 0 40px;
}

.view--hidden {
  display: none;
}

.about p {
  margin: 0 0 10px;
  line-height: 1.7;
}

.page-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}

.page-head__title {
  font-weight: 700;
  color: #333;
  font-size: 16px;
}

.page-head__rule {
  flex: 1;
  height: 10px;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.28) 1px, rgba(0, 0, 0, 0) 1.5px);
  background-size: 6px 6px;
  background-position: left center;
  background-repeat: repeat-x;
}

.about-page {
  font-size: 13px;
  color: #333;
}

.about-page__link {
  color: var(--link);
}

.about-lines {
  margin: 8px 0 18px;
}

.about-line {
  margin: 2px 0;
}

.about-line__k {
  font-weight: 700;
}

.about-line__v {
  color: var(--link);
}

.about-section {
  margin-top: 16px;
}

.about-section__title {
  font-weight: 700;
  margin: 0 0 6px;
}

.about-policy__title {
  font-weight: 700;
}

.guide-page {
  font-size: 13px;
  color: #333;
}

.guide-page p {
  margin: 0 0 10px;
  line-height: 1.7;
}

.guide-section {
  margin-top: 16px;
}

.guide-section:first-child {
  margin-top: 0;
}

.guide-section__title {
  font-weight: 700;
  margin: 0 0 8px;
}

.guide-subsection {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.guide-subsection__title {
  font-weight: 700;
  margin: 0 0 8px;
}

.guide-decl {
  margin-top: 10px;
}

.guide-decl__title {
  font-weight: 700;
  margin: 0 0 6px;
}

.guide-quote {
  margin: 8px 0 10px;
  padding: 10px 12px;
  border-left: 3px solid rgba(42, 157, 143, 0.6);
  background: rgba(42, 157, 143, 0.06);
  color: #222;
}

.guide-list {
  margin: 0;
  padding-left: 18px;
}

.guide-list li {
  margin: 0 0 8px;
  line-height: 1.7;
}

.about__h {
  margin: 14px 0 10px;
  font-size: 16px;
}

.about__list {
  margin: 0;
  padding-left: 18px;
}

.about__list p {
  margin: 6px 0 10px;
}

.layout {
  display: grid;
  grid-template-columns: 260px 1fr 320px;
  gap: 18px;
  align-items: start;
}

.browse-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  align-items: start;
}

.hero--wide {
  width: 100%;
  margin-bottom: 18px;
}

.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.hero__panel {
  padding: 20px;
}

.hero__media {
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__media--right {
  flex-direction: column;
  gap: 12px;
}

.hero__img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  max-height: 220px;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  background: rgba(42, 157, 143, 0.12);
  color: var(--primary-2);
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}

.hero__title {
  margin: 12px 0 8px;
  font-size: 22px;
}

.hero__desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.hero__image {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, rgba(42, 157, 143, 0.82), rgba(31, 122, 112, 0.92));
  min-height: 200px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.0);
  font-weight: 700;
  font-size: 14px;
}

.btn:hover {
  text-decoration: none;
  background: var(--primary-2);
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(42, 157, 143, 0.35);
  color: var(--primary);
}

.btn--ghost:hover {
  background: rgba(42, 157, 143, 0.08);
}

.section {
  margin-top: 16px;
}

.section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 10px;
}

.section__title {
  margin: 0;
  font-size: 16px;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.contact-details__line {
  line-height: 1.6;
}

.contact-details__k {
  font-weight: 700;
  margin-right: 6px;
}

.contact-page {
  margin-top: 12px;
}

.contact-page__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 16px;
  align-items: start;
}

.contact-page__details .contact-details {
  margin-bottom: 0;
}

.contact-page__details .contact-details__line {
  padding: 8px 0;
  border-bottom: 1px dotted var(--border);
}

.contact-page__details .contact-details__line:last-child {
  border-bottom: 0;
}

.contact-page__details .contact-details__k {
  display: inline-block;
  min-width: 120px;
  color: #1b2a46;
}

.contact-page__form .enquiry {
  margin-top: 0;
}

.enquiry {
  margin-top: 10px;
}

.enquiry__grid {
  display: grid;
  gap: 14px;
}

.enquiry__grid--top {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 12px;
}

.enquiry__grid--mid {
  grid-template-columns: 2fr 1fr;
  margin-bottom: 12px;
}

.enquiry__field {
  min-width: 0;
}

.enquiry__label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--muted);
}

.enquiry__req {
  color: #c62828;
}

.enquiry__input {
  width: 100%;
  padding: 10px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  outline: none;
  font-family: inherit;
  background: #fff;
}

.enquiry__input:focus {
  border-color: rgba(42, 157, 143, 0.55);
  box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.12);
}

.enquiry__textarea {
  resize: vertical;
}

.enquiry__captcha {
  display: grid;
  grid-template-columns: 180px 1fr 44px;
  gap: 0;
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.enquiry__captcha-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  border-right: 1px solid var(--border);
  min-height: 44px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
}

.enquiry__captcha .enquiry__input {
  border: 0;
  border-radius: 0;
}

.enquiry__captcha-refresh {
  border: 0;
  background: #fff;
  cursor: pointer;
  border-left: 1px solid var(--border);
  font-size: 18px;
}

.enquiry__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.enquiry__status {
  min-height: 20px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.enquiry__status--success {
  color: #1b7c46;
}

.enquiry__status--error {
  color: #b43838;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}

.card__title {
  margin: 0 0 6px;
  font-size: 15px;
  color: #1f7a70;
}

.card__meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.card__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
}

.card__links {
  display: flex;
  gap: 12px;
  font-size: 13px;
}

.dot-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.dot-nav__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s ease, transform 0.2s ease;
}

.dot-nav__dot:hover,
.dot-nav__dot:focus-visible {
  background: var(--primary);
  transform: scale(1.15);
}

.supplements__tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.supplements__tab {
  padding: 8px 14px;
}

.supplements__tab--active {
  background: rgba(42, 157, 143, 0.12);
  border-color: rgba(42, 157, 143, 0.55);
}

.leftbar {
  position: static;
}

.sidebar {
  position: sticky;
  top: var(--sticky-top);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 12px;
}

.panel__title {
  background: rgba(42, 157, 143, 0.08);
  border-bottom: 1px solid var(--border);
  padding: 12px 12px;
  font-weight: 700;
  font-size: 14px;
}

.panel__title--dark {
  background: var(--brand-dark);
  color: #ffffff;
}

.panel__title--dark {
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel--most-visited .panel__title--dark::before {
  content: '▣';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 4px;
  font-size: 11px;
  line-height: 1;
}

.panel__body {
  padding: 12px;
  font-size: 13px;
  color: var(--text);
}

.panel__link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
}

.indexing {
  display: grid;
  gap: 10px;
}

.indexing__item {
  display: block;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.indexing__item:hover {
  text-decoration: none;
  background: rgba(42, 157, 143, 0.06);
}

.indexing__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 54px;
}

.kv {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}

.kv:last-child {
  border-bottom: 0;
}

.kv__k {
  color: var(--muted);
}

.panel--pub-info {
  border: 1px solid var(--brand-dark);
  border-radius: 4px;
}

.pub-info {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
}

.pub-info__item {
  display: grid;
  grid-template-columns: 16px 1fr;
  column-gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.pub-info__item--last {
  border-bottom: 0;
  padding-bottom: 2px;
}

.pub-info__icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 21 7 12 12 3 7 12 2Z' fill='none' stroke='%23333' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M21 7v10l-9 5V12l9-5Z' fill='none' stroke='%23333' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M3 7v10l9 5V12L3 7Z' fill='none' stroke='%23333' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.pub-info__text {
  min-width: 0;
}

.pub-info__k {
  display: block;
  font-weight: 700;
  color: #2b2b2b;
  line-height: 1.25;
}

.pub-info__v {
  display: block;
  margin-top: 2px;
  color: var(--link);
  line-height: 1.25;
  word-break: break-word;
}

.pub-info__item--solo .pub-info__v {
  display: none;
}

.pub-info__name {
  padding: 2px 0 2px 24px;
  color: var(--link);
  line-height: 1.25;
}

.pub-info__divider {
  list-style: none;
  height: 1px;
  background: #eee;
  margin: 8px 0;
  padding: 0;
}

.pub-info__item--row .pub-info__text {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.pub-info__item--row .pub-info__k,
.pub-info__item--row .pub-info__v {
  display: inline;
  margin-top: 0;
}

.pub-info__item--row .pub-info__v {
  text-align: right;
  white-space: nowrap;
}

.search__label {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}

.search__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.search__input {
  width: 100%;
  padding: 10px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  font-family: inherit;
}

.search__input:focus {
  border-color: rgba(42, 157, 143, 0.55);
  box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.12);
}

.search__btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.search__btn:hover {
  background: var(--primary-2);
}

.mini-links {
  margin: 0;
  padding-left: 18px;
}

.link-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.link-list a {
  color: var(--link);
}

.link-list--icon li {
  position: relative;
  padding-left: 18px;
}

.link-list--icon li::before {
  content: '⊞';
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(0, 0, 0, 0.55);
  font-size: 12px;
  line-height: 1.2;
}

.panel--most-visited {
  border: 1px solid var(--brand-dark);
}

.panel--archive {
  border: 1px solid var(--brand-dark);
}

.archive {
  display: grid;
}

.archive__year {
  display: block;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 700;
  color: var(--primary-2);
  font-size: 13px;
}

.archive__year:hover {
  text-decoration: none;
  background: rgba(42, 157, 143, 0.06);
}

.archive__year:last-child {
  border-bottom: 0;
}

.archive__volume {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px 4px;
}

.archive__volume:last-child {
  border-bottom: 0;
}

.archive__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 700;
  color: var(--primary-2);
  font-size: 13px;
  list-style: none;
}

.archive__summary::-webkit-details-marker {
  display: none;
}

.archive__summary::before {
  content: '+';
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-2);
  font-weight: 900;
  line-height: 1;
}

.archive__volume[open] > .archive__summary::before {
  content: '−';
}

.archive__issues {
  margin: 10px 0 0;
  padding-left: 26px;
  display: grid;
  gap: 6px;
}

.archive__issues li {
  position: relative;
  padding-left: 18px;
}

.archive__issues li::before {
  content: '⧉';
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(0, 0, 0, 0.55);
  font-size: 12px;
  line-height: 1.2;
}

.archive__volumes {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.footer {
  background: var(--brand-dark);
  color: #eaf2ff;
  padding: 14px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  flex-wrap: wrap;
}

.footer a {
  color: #eaf2ff;
}

.footer__nav {
  display: flex;
  gap: 12px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.footer__nav a {
  padding: 6px 8px;
  border-radius: 8px;
}

.footer__nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .browse-layout {
    grid-template-columns: 1fr;
  }

  .contact-page__grid {
    grid-template-columns: 1fr;
  }

  .leftbar {
    position: static;
  }

  .sidebar {
    position: static;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .enquiry__grid--top {
    grid-template-columns: 1fr;
  }

  .enquiry__grid--mid {
    grid-template-columns: 1fr;
  }

  .enquiry__captcha {
    grid-template-columns: 1fr;
  }

  .enquiry__captcha-img {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .enquiry__captcha-refresh {
    border-left: 0;
    border-top: 1px solid var(--border);
    min-height: 44px;
  }

  .hero__image {
    min-height: 160px;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
  }

  .nav.nav--open {
    display: block;
  }

  .nav__list {
    flex-direction: column;
  }

  .dropdown {
    position: static;
    margin: 0 0 10px;
    box-shadow: none;
  }

  .nav__item--open > .dropdown {
    display: block;
  }

  .nav__link {
    width: 100%;
    justify-content: space-between;
  }
}
