/*********************************************************
 * BCPTA - HTTP and CSS re-creation of the Museo theme
 * Brazilian Center For The Preservation Of Tapuian Artifacts
 *********************************************************/

/* Base normalize */
html {
  font-size: 16px;
  line-height: 1;
  box-sizing: border-box;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  background-color: #f1eeea;
  color: #333;
  font-family: "Fira Sans", Calibri, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75em;
  margin: 0;
  padding: 0;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  border-style: none;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: #096ed3;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #a51903;
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  color: #111;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

form {
  margin: 0;
}

/* Visually hidden but still accessible to screen readers */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* Page structure */
#container {
  font-size: 1rem;
  line-height: 1.75em;
  padding: 0;
  text-align: center;
  width: 100%;
}

.site-wrapper-all {
  background-color: #fff;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  width: 1040px;
  max-width: 100%;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
}

.site-section-wrapper {
  margin: 0 auto;
  padding: 0;
  text-align: left;
  width: 960px;
  max-width: 100%;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* =========================================================
   Header
   ========================================================= */
#site-masthead {
  background-color: #fff;
  padding: 40px 0 30px;
  position: relative;
  z-index: 3;
}

.site-section-wrapper-masthead {
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  width: 100%;
}

#site-logo {
  display: inline-block;
  flex-basis: 31.25%;
  text-align: left;
  vertical-align: top;
}

#site-logo .custom-logo {
  max-width: 100%;
  height: auto;
}

/* =========================================================
   Primary navigation
   ========================================================= */
#site-primary-nav {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1em;
  margin: 0 0 20px;
  text-transform: uppercase;
  z-index: 3;
}

.site-section-wrapper-primary-menu {
  background-color: #111;
  color: #fff;
  padding: 6px 30px;
  text-align: center;
}

.large-nav {
  display: block;
  font-family: "Fira Sans", Calibri, Arial, sans-serif;
  position: relative;
  z-index: 100;
}

.large-nav > .menu-item {
  display: inline-block;
  margin-right: 0;
  position: relative;
}

.large-nav > .menu-item + .menu-item:before {
  color: #666;
  content: "|";
  display: inline-block;
  font-size: 10px;
  font-weight: 400;
  margin: 0 10px 0 6px;
}

.large-nav a {
  color: #aaa;
  display: inline-block;
  padding: 14px 4px;
  text-decoration: none;
}

.large-nav > .menu-item > a:hover,
.large-nav > .menu-item > a:focus,
.large-nav > .current-menu-item > a,
.large-nav > .current_page_item > a {
  color: #fff;
}

.large-nav > .current-menu-item > a {
  text-decoration: underline;
}

/* =========================================================
   Homepage
   ========================================================= */
.wp-custom-header img {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

#site-main {
  margin-top: 1.25rem;
}

.home #site-main {
  padding-bottom: 0;
}

.site-home-welcome {
  background-color: #f2f0ec;
  margin: 20px 0;
  padding: 40px;
}

.site-home-welcome a {
  text-decoration: underline;
}

.site-home-welcome .widget_text .title-welcome {
  display: inline;
  float: left;
  margin-bottom: 0;
  padding-right: 60px;
  width: 50%;
}

.site-home-welcome .widget_text .title-welcome:after {
  margin-bottom: 0;
}

.site-home-welcome .widget_text .textwidget {
  display: inline;
  float: right;
  font-size: 16px;
  line-height: 1.6em;
  width: 50%;
}

.textwidget p {
  margin-bottom: 1rem;
}

.textwidget p:last-child {
  margin-bottom: 0;
}

#site-main hr {
  background-color: #ddd;
  border: 0;
  height: 1px;
  margin: 0;
}

/* =========================================================
   Page title
   ========================================================= */
.page-title {
  font-family: "Fira Sans", Calibri, Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4em;
  margin-bottom: 2rem;
  max-width: 800px;
  padding: 0;
  position: relative;
  text-transform: uppercase;
}

.page-title:after {
  background-color: #111;
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin: 20px 0 60px;
}

/* =========================================================
   Page layout (content + secondary sidebar)
   ========================================================= */
.site-section-wrapper-main {
  background-color: #fff;
  position: relative;
  z-index: 2;
}

#site-page-columns .site-column {
  display: inline-block;
  vertical-align: top;
}

#site-column-main {
  width: 100%;
}

#site-column-content {
  width: 75%;
}

#site-column-content .site-column-content-wrapper {
  padding: 0 60px 0 0;
}

#site-aside-secondary {
  width: 25%;
}

.site-column-aside .widget {
  font-size: 0.8125rem;
  line-height: 1.7em;
  margin-bottom: 40px;
}

.site-column-aside .widget_text {
  background-color: #f2f0ec;
  padding: 20px;
}

.site-column-aside .widget .textwidget a {
  text-decoration: underline;
}

#site-main .site-column-aside .widget-title {
  border-top: solid 4px #111;
  display: block;
  font-size: 0.875rem;
  margin: 0 0 30px;
  padding: 20px 0 0;
}

/* Sidebar Quick Links menu */
.site-column-aside .widget_nav_menu {
  background: none;
  font-size: 0.9375rem;
  padding: 0;
}

#site-page-columns .widget_nav_menu .widget-title {
  border-top: 0;
  margin-bottom: 15px;
  padding: 0 15px;
}

.site-column-aside .widget_nav_menu .menu-item a {
  border-bottom: solid 1px rgba(8, 8, 8, 0.1);
  color: #111;
  display: block;
  font-weight: 400;
  padding: 0.5rem 15px;
  text-decoration: none;
}

.site-column-aside .widget_nav_menu .menu-item:last-of-type a {
  border-bottom-width: 0;
}

.site-column-aside .widget_nav_menu .menu-item a,
.site-column-aside .widget_nav_menu .menu-item-has-children > a {
  background-color: #f9d224;
  font-size: 0.8125rem;
  font-weight: 400;
  text-transform: uppercase;
}

.site-column-aside .widget_nav_menu a:hover,
.site-column-aside .widget_nav_menu a:focus {
  text-decoration: underline;
}

.site-column-aside .widget_nav_menu .current-menu-item > a {
  background-color: #111;
  border-width: 0;
  color: #fff;
}

.site-column-aside .widget_nav_menu .current-menu-item > a:before {
  content: "\203a";
  display: inline-block;
  line-height: 1em;
  margin-right: 6px;
}

/* =========================================================
   Entry content
   ========================================================= */
.entry-content {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6em;
  margin: 0;
  max-width: 100%;
  text-align: left;
}

.entry-content h2 {
  color: #161313;
  font-size: 1.375em;
  font-weight: 700;
  line-height: 1.5em;
  margin: 1.25em 0;
}

.entry-content h3 {
  font-size: 1.25em;
  font-weight: 700;
  line-height: 1.5em;
  margin: 1.25em 0;
}

.entry-content h4 {
  font-size: 1.125em;
}

.entry-content p {
  margin-bottom: 2rem;
}

.entry-content p:last-child {
  margin-bottom: 0;
}

.entry-content a {
  text-decoration: underline;
}

.entry-content a:hover,
.entry-content a:focus {
  color: #a51903;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 2rem;
}

.entry-content li + li {
  margin-top: 0.25rem;
}

/* Two-column blocks (Gutenberg wp-block-columns) */
.wp-block-columns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  gap: 2em;
  margin-bottom: 2rem;
  max-width: 100%;
}

.wp-block-column {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  min-width: 0;
}

.wp-block-column h4 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5em;
  margin: 0 0 1rem;
}

.wp-block-column p:last-child {
  margin-bottom: 0;
}

/* Tables (price list) */
table {
  border-top: 0;
  margin-bottom: 2em;
  position: relative;
  table-layout: fixed;
  width: 100%;
  z-index: 1;
}

table th {
  text-align: left;
}

table tr {
  border-bottom: 1px solid #f0f0f0;
}

table th,
table td {
  font-family: inherit;
  font-size: inherit;
  padding: 0.8125rem 1.25rem;
  vertical-align: middle;
}

.entry-content table {
  margin: 0 0 30px 0;
}

table thead th {
  background-color: #f2f0ec;
  border-top: solid 3px #111;
  color: #111;
  font-family: "Fira Sans", Calibri, Arial, sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
}

table td.price {
  color: #a51903;
  font-weight: 700;
  text-align: right;
}

/* =========================================================
   Footer
   ========================================================= */
#site-footer-credit {
  border-top: solid 1px #ddd;
  color: #666;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 2em;
  margin-top: 3rem;
  padding: 50px 0;
}

#site-footer-credit .site-section-wrapper {
  text-align: center;
}

#site-footer-credit .footer-nav {
  margin-bottom: 15px;
}

#site-footer-credit .footer-nav li {
  display: inline-block;
  margin: 0 8px;
}

#site-footer-credit .footer-nav a {
  color: #d3d3d3;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: underline;
}

#site-footer-credit .footer-nav a:hover,
#site-footer-credit .footer-nav a:focus {
  color: #f0f0f0;
}

#site-footer-credit .site-credit {
  margin: 0;
}

/* =========================================================
   Responsive
   ========================================================= */
@media screen and (max-width: 1060px) {
  .site-wrapper-all {
    padding-right: 30px;
    padding-left: 30px;
    width: 100%;
    box-shadow: none;
  }

  .site-section-wrapper {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .site-section-wrapper-masthead {
    display: block;
  }

  #site-logo {
    display: block;
    text-align: center;
    width: 100%;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .site-home-welcome .widget_text .title-welcome {
    padding-right: 50px;
  }

  #site-column-main {
    display: block;
    width: 100%;
  }

  #site-column-content,
  #site-aside-secondary {
    display: block;
    width: 100%;
  }

  #site-column-content .site-column-content-wrapper {
    padding-right: 0;
  }

  #site-aside-secondary {
    margin-top: 50px;
  }
}

@media screen and (max-width: 640px) {
  .large-nav {
    font-size: 0.8125rem;
  }

  .large-nav > .menu-item {
    display: block;
  }

  .large-nav > .menu-item + .menu-item:before {
    content: "";
    display: none;
  }

  .large-nav a {
    display: block;
    padding: 8px 4px;
  }

  .large-nav > .menu-item {
    border-bottom: solid 1px #282828;
  }

  .large-nav > .menu-item:last-child {
    border-bottom: 0;
  }

  table {
    table-layout: auto;
  }

  table th,
  table td {
    padding: 0.5rem 0.75rem;
  }

  .site-home-welcome .widget_text .title-welcome,
  .site-home-welcome .widget_text .textwidget {
    display: block;
    float: none;
    padding-right: 0;
    width: 100%;
  }

  .site-home-welcome .widget_text .textwidget {
    margin-top: 50px;
  }
}