/* VARIABILE HEADER */
:root {
  --header-paper: #eee2bf;
  --header-paper-dark: #dfcf9f;
  --header-ink: #211b14;
  --header-ink-soft: #3c3023;
  --header-muted: #71644f;
  --header-sepia: #76502a;
  --header-line: rgba(33, 27, 20, .42);
  --header-line-strong: rgba(33, 27, 20, .72);
  --header-soft: rgba(33, 27, 20, .05);
}
/* HEADER WRAPPER */
.site-header {
  width: 100%;
  color: var(--header-ink);
}
/* TOP BAR */
.site-topbar {
  min-height: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 6px;
  border-top: 1px solid var(--header-ink);
  border-bottom: 1px solid var(--header-ink);
}
/* TOPBAR LEFT */
.site-topbar-left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
}
/* DOT */
.site-topbar-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--header-ink);
}
/* SALUT DINAMIC */
.site-greeting {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.site-greeting-icon {
  flex: 0 0 auto;
  color: var( --greeting-color, var(--header-sepia) );
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
}
.site-greeting-text {
  color: var( --greeting-color, var(--header-sepia) );
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  transition: color .25s ease;
}
.site-greeting-separator {
  width: 1px;
  height: 16px;
  flex: 0 0 1px;
  margin: 0 3px;
  background: var(--header-line-strong);
}
.site-journal-title {
  color: var(--header-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: .8px;
}
/* TOPBAR CENTER */
.site-topbar-center {
  color: var(--header-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
/* TOPBAR RIGHT */
.site-topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.site-topbar-note {
  color: var(--header-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
}
/* SEARCH BUTTON */
.header-search-button {
  width: 34px !important;
  height: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--header-ink) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--header-ink) !important;
  -webkit-text-fill-color: var(--header-ink) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
  touch-action: manipulation;
  transition: background .18s ease, color .18s ease;
}
.header-search-button:hover, .header-search-button:focus, .header-search-button.active {
  background: var(--header-ink) !important;
  color: var(--header-paper) !important;
  -webkit-text-fill-color: var(--header-paper) !important;
}
.header-search-button svg {
  width: 17px;
  height: 17px;
  display: block;
  pointer-events: none;
}
/* SEARCH PANEL */
.header-search-panel {
  display: none;
  width: 100%;
  padding: 15px 0;
  border-bottom: 1px solid var(--header-ink);
}
.header-search-panel.active {
  display: block;
}
/* SEARCH INNER */
.header-search-inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 25px;
}
/* SEARCH INTRO */
.header-search-intro small {
  display: block;
  margin-bottom: 4px;
  color: var(--header-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.header-search-intro strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}
/* SEARCH FORM */
.header-search-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 110px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--header-ink);
}
/* SEARCH INPUT WRAP */
.header-search-input-wrap {
  position: relative;
}
.header-search-input-wrap svg {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  pointer-events: none;
}
/* SEARCH INPUT */
.header-search-form input[type="search"] {
  width: 100%;
  height: 50px;
  margin: 0 !important;
  padding: 0 46px 0 44px !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: none !important;
  background: rgba(255, 255, 255, .05) !important;
  color: var(--header-ink) !important;
  -webkit-text-fill-color: var(--header-ink) !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 16px !important;
}
.header-search-form input[type="search"]::placeholder {
  color: var(--header-muted) !important;
  -webkit-text-fill-color: var(--header-muted) !important;
  opacity: 1;
}
/* CLEAR SEARCH */
.header-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 30px;
  height: 30px;
  display: none;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--header-ink);
  font-size: 21px;
  cursor: pointer;
}
.header-search-clear.visible {
  display: flex;
}
/* SEARCH SUBMIT */
.header-search-submit {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px !important;
  border: 0 !important;
  border-left: 1px solid var(--header-ink) !important;
  border-radius: 0 !important;
  background: var(--header-ink) !important;
  color: var(--header-paper) !important;
  -webkit-text-fill-color: var(--header-paper) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .7px;
  text-transform: uppercase;
  cursor: pointer !important;
}
/* BRAND */
.site-brand {
  padding: 22px 0 18px;
  text-align: center;
}
/* BRAND TOP */
.site-brand-top {
  margin-bottom: 9px;
  color: var(--header-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
/* LOGO */
.site-logo-link, .site-logo-link:link, .site-logo-link:visited {
  display: block;
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  border: 0 !important;
  background: transparent !important;
  text-decoration: none !important;
}
.site-logo {
  display: block;
  width: min( 100%, 900px );
  height: auto;
  margin: 0 auto;
  border: 0;
  object-fit: contain;
}
/* MOTTO */
.site-motto {
  margin-top: 11px;
  font-size: 16px;
  font-style: italic;
  line-height: 1.4;
}
/* DATELINE ZIAR */
.site-edition {
  position: relative;
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 8px 5px;
  border-top: 4px double var(--header-ink);
  border-bottom: 1px solid var(--header-ink);
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
}
/* EDIȚIE STÂNGA / DREAPTA */
.site-edition-left, .site-edition-right {
  color: var(--header-muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1px;
}
.site-edition-right {
  text-align: right;
}
/* DATELINE CENTER */
.site-edition-center {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 14px;
  color: var(--header-ink);
  white-space: nowrap;
}
.site-edition-ornament {
  color: var(--header-sepia);
  font-size: 8px;
}
.site-edition-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.site-edition-day {
  color: var(--header-muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.8px;
}
.site-edition-date {
  color: var(--header-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.3px;
}
/* NAVIGATION */
.site-navigation {
  border-bottom: 4px double var(--header-ink);
}
/* NAV DESKTOP */
.site-navigation nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-navigation nav::-webkit-scrollbar {
  display: none;
}
/* NAV ITEM */
.site-navigation a {
  flex: 0 0 auto;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-right: 1px solid var(--header-line);
  color: var(--header-ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15px;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.site-navigation a:first-child {
  border-left: 1px solid var(--header-line);
}
.site-navigation a:hover {
  background: var(--header-soft);
}
.site-navigation a.active {
  background: var(--header-ink);
  color: var(--header-paper);
}
/* CATEGORY LINKS */
.site-nav-category {
  display: flex;
}
/* EDITORIAL NOTE */
.site-editorial-note {
  margin-top: 13px;
  border-top: 1px solid var(--header-ink);
  border-bottom: 1px solid var(--header-ink);
}
/* NOTE LABEL */
.site-editorial-label {
  display: inline-block;
  padding: 9px 13px;
  background: var(--header-ink);
  color: var(--header-paper);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
}
/* NOTE TEXT */
.site-editorial-text {
  padding: 11px 7px 13px;
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
}
/* TABLET */
@media (max-width: 900px) {
  .site-topbar {
    grid-template-columns: 1fr auto;
  }
  .site-topbar-center {
    display: none;
  }
  .header-search-inner {
    grid-template-columns: 1fr;
  }
  .header-search-intro {
    display: none;
  }
  .site-navigation nav {
    justify-content: flex-start;
  }
  .site-edition-left, .site-edition-right {
    display: none;
  }
  .site-edition {
    grid-template-columns: 1fr;
  }
}
/* MOBILE */
@media (max-width: 650px) {
  /* TOPBAR */
  .site-topbar {
    min-height: 44px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }
  .site-topbar-center, .site-topbar-note {
    display: none;
  }
  .site-topbar-left {
    min-width: 0;
    gap: 6px;
  }
  .site-greeting {
    gap: 5px;
  }
  .site-greeting-icon {
    font-size: 17px;
  }
  .site-greeting-text {
    font-size: 9px;
    letter-spacing: .75px;
  }
  .site-greeting-separator {
    height: 14px;
  }
  .site-journal-title {
    display: none;
  }
  .header-search-button {
    width: 32px !important;
    height: 32px !important;
  }
  /* BRAND */
  .site-brand {
    padding: 16px 0 14px;
  }
  .site-brand-top {
    margin-bottom: 7px;
    font-size: 8px;
    letter-spacing: 1px;
  }
  .site-logo {
    width: 96%;
  }
  .site-motto {
    margin-top: 9px;
    font-size: 14px;
  }
  /* DATELINE */
  .site-edition {
    min-height: 60px;
    padding: 9px 0;
    text-align: center;
  }
  .site-edition-center {
    width: 100%;
    gap: 10px;
    padding: 0 5px;
  }
  .site-edition-main {
    gap: 4px;
  }
  .site-edition-day {
    font-size: 7px;
    letter-spacing: 1.8px;
  }
  .site-edition-date {
    font-size: 10px;
    letter-spacing: 1.2px;
  }
  .site-edition-ornament {
    font-size: 6px;
  }
  /* NAV */
  .site-navigation nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    overflow: visible;
  }
  .site-navigation a {
    min-width: 0;
    min-height: 47px;
    padding: 0 7px;
    border: 0 !important;
    border-right: 1px solid var(--header-line) !important;
    font-size: 11px;
    text-align: center;
  }
  .site-navigation a:nth-child(3) {
    border-right: 0 !important;
  }
  .site-nav-category {
    display: none !important;
  }
  /* SEARCH */
  .header-search-panel {
    padding: 11px 0;
  }
  .header-search-form {
    grid-template-columns: minmax(0, 1fr) 88px;
  }
  .header-search-form input[type="search"] {
    height: 48px;
    font-size: 16px !important;
  }
  .header-search-submit {
    min-height: 48px;
    font-size: 9px !important;
  }
  /* EDITORIAL */
  .site-editorial-note {
    margin-top: 12px;
  }
  .site-editorial-label {
    display: block;
    width: 100%;
    padding: 9px 12px;
  }
  .site-editorial-text {
    padding: 10px 4px 12px;
    font-size: 12px;
    line-height: 1.45;
  }
}
/* SMALL MOBILE */
@media (max-width: 430px) {
  .site-topbar-left {
    gap: 5px;
  }
  .site-topbar-dot {
    width: 6px;
    height: 6px;
    flex-basis: 6px;
  }
  .site-greeting-icon {
    font-size: 16px;
  }
  .site-greeting-text {
    font-size: 8px;
    letter-spacing: .55px;
  }
  .site-brand {
    padding-top: 13px;
  }
  .site-brand-top {
    font-size: 7px;
  }
  .site-motto {
    font-size: 13px;
  }
  .site-edition-date {
    font-size: 9px;
  }
  .site-navigation a {
    min-height: 45px;
    padding: 0 5px;
    font-size: 10px;
  }
  .header-search-form {
    grid-template-columns: minmax(0, 1fr) 82px;
  }
  .header-search-form input[type="search"] {
    padding-left: 42px !important;
  }
  .header-search-input-wrap svg {
    left: 13px;
    width: 16px;
    height: 16px;
  }
}
