/*
Theme Name:   POSTOCD Child
Theme URI:    https://postocd.samuraiweb.it/
Description:  Child theme Bootscore POSTOCD.
Author:       Francesco Salaris X Domusmedia
Template:     bootscore
Version:      1.0.2
Text Domain:  postocd
Domain Path:  /languages
*/

:root {
  --postocd-font-body: "Open Sans", Arial, sans-serif;
  --postocd-font-headings: "Raleway", Arial, sans-serif;
  --postocd-container: 1320px;
  --postocd-text: #202020;
  --postocd-text-soft: #545454;
  --postocd-muted: #6b7280;
  --postocd-border: #d9d9d9;
  --postocd-border-dark: #b8b8b8;
  --postocd-bg-soft: #f7f7f7;
  --postocd-bg-alt: #faf8f4;
  --postocd-surface: #ffffff;
  --postocd-accent: #8b1e1e;
  --postocd-accent-dark: #5f1414;
  --postocd-accent-soft: #f3e4e4;
  --postocd-shadow: 0 10px 30px rgba(0,0,0,.06);
  --postocd-radius-sm: 8px;
  --postocd-radius: 14px;
  --postocd-radius-lg: 24px;
  --postocd-header-height: 88px;
}

.postocd-primary-nav {
  margin-left: auto;
}

.postocd-primary-nav .postocd-menu,
.postocd-primary-nav ul.postocd-menu {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  overflow: visible;
}

.postocd-primary-nav .postocd-menu > li {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.postocd-primary-nav .postocd-menu > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}

.postocd-primary-nav .postocd-menu > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center;
}

.postocd-primary-nav .postocd-menu > li.menu-parent-noclick > a {
  cursor: default;
}

.postocd-primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 9999;
  display: block;
  min-width: 250px;
  max-width: 320px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: #ffffff;
  border: 2px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.postocd-primary-nav .sub-menu li {
  margin: 0;
  padding: 0;
}

.postocd-primary-nav .sub-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 1.35;
  white-space: normal;
  text-decoration: none;
}

.postocd-primary-nav .postocd-menu > li:hover > .sub-menu,
.postocd-primary-nav .postocd-menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.postocd-primary-nav .postocd-menu > li.current-menu-item > a,
.postocd-primary-nav .postocd-menu > li.current-menu-ancestor > a,
.postocd-primary-nav .postocd-menu > li.current-menu-parent > a,
.postocd-primary-nav .sub-menu .current-menu-item > a,
.postocd-primary-nav .sub-menu .current-menu-parent > a,
.postocd-primary-nav .sub-menu .current-menu-ancestor > a {
  font-weight: 600;
}

@media (max-width: 1200px) {
  .postocd-primary-nav .postocd-menu,
  .postocd-primary-nav ul.postocd-menu {
    gap: 2px;
  }

  .postocd-primary-nav .postocd-menu > li > a {
    padding: 12px 8px;
    font-size: 14px;
  }

  .postocd-primary-nav .sub-menu {
    min-width: 230px;
    max-width: 290px;
  }
}

@media (max-width: 992px) {
  .postocd-primary-nav {
    display: none;
  }
}

.postocd-legal-content {
  max-width: 920px;
  margin: 0 auto;
  color: #2f3c40;
  font-size: 16px;
  line-height: 1.75;
}

.postocd-legal-content h2,
.postocd-legal-content h3,
.postocd-legal-content h4 {
  color: #366575;
  line-height: 1.25;
}

.postocd-legal-content > h2:first-child {
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(107, 144, 158, 0.28);
  font-size: 32px;
  font-weight: 600;
}

.postocd-legal-content h3 {
  margin: 34px 0 12px;
  font-size: 22px;
  font-weight: 600;
}

.postocd-legal-content h4 {
  margin: 26px 0 10px;
  font-size: 18px;
  font-weight: 600;
}

.postocd-legal-content p,
.postocd-legal-content ul,
.postocd-legal-content ol {
  margin: 0 0 18px;
}

.postocd-legal-content ul,
.postocd-legal-content ol {
  padding-left: 1.35rem;
}

.postocd-legal-content li {
  margin-bottom: 8px;
}

.postocd-legal-content a {
  color: #366575;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.postocd-legal-content a:hover,
.postocd-legal-content a:focus {
  color: #6b909e;
  text-decoration-color: transparent;
}

.postocd-legal-content strong {
  color: #26383f;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .postocd-legal-content {
    font-size: 15px;
    line-height: 1.68;
  }

  .postocd-legal-content > h2:first-child {
    font-size: 26px;
  }

  .postocd-legal-content h3 {
    font-size: 20px;
  }
}

footer .postocd-footer__legal-menu {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

footer .postocd-footer__legal-menu li {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font: inherit !important;
  line-height: inherit !important;
}

footer .postocd-footer__legal-menu li + li::before {
  content: "|" !important;
  display: inline-block !important;
  margin: 0 .45em !important;
  color: currentColor !important;
  opacity: .65 !important;
  font: inherit !important;
  line-height: inherit !important;
}

footer .postocd-footer__legal-menu a {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font: inherit !important;
  line-height: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  text-transform: none !important;
  text-decoration: none !important;
  opacity: inherit !important;
  background: transparent !important;
  border: 0 !important;
}

footer .postocd-footer__legal-menu a:hover {
  color: inherit !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  background: transparent !important;
}

@media (max-width: 767.98px) {
  footer .postocd-footer__legal-menu {
    justify-content: center !important;
    text-align: center !important;
  }
}
