/* Recreation of the original Divi theme for arturovhernandezpa.com */
:root {
  --maroon: #3f0000;
  --sage: #e4eace;
  --name: #d6611d;
  --tagline: #848484;
  --menu-active: #e02b20;
  --link: #f46600;
  --heading: #333;
  --text: #000;
  --container: 1080px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--maroon);
  color: var(--text);
  font: 15px/1.7em 'Open Sans', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2 { font-family: 'Tinos', Georgia, 'Times New Roman', serif; font-weight: 500; margin: 0; }
h2 { font-size: 36px; line-height: 1em; color: var(--heading); padding-bottom: 10px; }
p { margin: 0; padding-bottom: 1em; }
p:last-child { padding-bottom: 0; }

.page {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

/* Header */
.pattern {
  background-color: #000;
  background-image: url("data:image/svg+xml;base64,PHN2ZyAgZmlsbD0iIzExMTExMSIgaGVpZ2h0PSIxNDBweCIgd2lkdGg9IjEwMHB4IiB2aWV3Qm94PSIwIDAgMTAwIDE0MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNTAsMTQwLDAsMTA1VjcwbDUwLDM1Wm0wLTM1LDUwLTM1SDUwWm01MCwwTDUwLDE0MGg1MFpNNTAsMGw1MCwzNVY3MEw1MCwzNVptMCwzNUwwLDcwSDUwWk0wLDM1LDUwLDBIMFoiLz48L3N2Zz4=");
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 24px;
  background-position: left 28% top 3%;
}

.brand { display: block; color: inherit; }
.brand h1 { font-size: 45px; line-height: 1em; color: var(--name); padding-top: 10px; margin-bottom: -6px; }
.brand p { color: var(--tagline); font-style: italic; padding: 0; margin-top: 12px; }

.menu-toggle { display: none; }

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 25px;
  display: flex;
  gap: 22px;
}
.nav a {
  font: 700 16px/1.7 'Roboto Condensed', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  color: #fff;
  transition: color 300ms ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--menu-active); }

/* Body */
.hero img { width: 100%; }

.content { background: var(--sage); padding: 82px 0 81px; }
.content.white { background: #fff; }

.row {
  width: 80%;
  margin: 0 auto;
  padding: 27px 0;
  display: flex;
  gap: 5.5%;
}
.col-2-5 { width: 36.8%; flex: none; }
.col-3-5 { width: 57.7%; flex: none; }
.col-1-2 { width: 47.25%; flex: none; }
.col-full { width: 100%; }

.col-2-5 > * + * { margin-top: 25px; }
.center { text-align: center; }
.center img { margin: 0 auto; }

.shadow { box-shadow: 0 12px 18px -6px rgba(0, 0, 0, .65); }

.lead { margin-top: 30px; line-height: 1.8em; }
.lead ul { margin: 0; padding: 0 0 23px 1em; }

.caption { font-size: 14px; line-height: 1.3em; margin-top: 13px !important; }

.button {
  display: inline-block;
  margin-top: 30px;
  padding: .3em 1em;
  border: 1px solid currentColor;
  color: var(--link);
  font: 700 11px/1.7em 'Open Sans', Helvetica, Arial, sans-serif;
  transition: background-color 300ms ease;
}
.button:hover { background-color: rgba(0, 0, 0, .05); }

/* Articles grid */
.articles .row { padding: 27px 0; }
.article { text-align: center; }
.article p { padding-bottom: 26px; }
.article img { width: 200px; margin: 0 auto; }

/* Contact */
.address b { font-family: Arial, Helvetica, sans-serif; font-size: 13px; }
.map { margin-top: 20px; width: 100%; aspect-ratio: 416 / 375; border: 0; display: block; }

/* Footer */
.site-footer .bar { height: 8px; background: #636363; }
.site-footer .inner {
  display: flex;
  align-items: flex-start;
  padding: 27px 0 27px 15px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyAgZmlsbD0iIzBmMGYwZiIgaGVpZ2h0PSIxNDBweCIgd2lkdGg9IjEwMHB4IiB2aWV3Qm94PSIwIDAgMTAwIDE0MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNTAsMTQwLDAsMTA1VjcwbDUwLDM1Wm0wLTM1LDUwLTM1SDUwWm01MCwwTDUwLDE0MGg1MFpNNTAsMGw1MCwzNVY3MEw1MCwzNVptMCwzNUwwLDcwSDUwWk0wLDM1LDUwLDBIMFoiLz48L3N2Zz4=");
}
.site-footer .inner > div { flex: 1; }
.copyright { color: #e3584a; font-size: 12px; padding-top: 51px; }
.phones { color: #a0a0a0; font-size: 20px; line-height: 1.2em; text-align: center; padding: 10px 0 0; }
.phones a { color: inherit; }
.street { color: #727272; font-size: 16px; line-height: 1.5em; text-align: center; margin-top: 4px; }
.credit { padding: 38px 20px 0 0; }
.credit a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: #a0a0a0; font-size: 10px; letter-spacing: .04em; }
.credit img { width: 36px; }
.lockup { display: grid; line-height: 1.25; text-align: left; }
.lockup strong { font: 700 13.8px Manrope, Arial, sans-serif; letter-spacing: .16em; color: #fff; }
.lockup em { font: 400 9.3px 'IBM Plex Mono', monospace; font-style: normal; letter-spacing: .13em; color: #a0a0a0; }

/* Tablet & phone */
@media (max-width: 980px) {
  .site-header { flex-wrap: wrap; align-items: center; }
  .brand h1 { font-size: 38px; }
  .menu-toggle {
    display: block;
    background: none;
    border: 0;
    padding: 4px;
    cursor: pointer;
    color: var(--menu-active);
  }
  .menu-toggle svg { display: block; }
  .nav { width: 100%; display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 0; background: #fff; }
  .nav a { display: block; padding: 10px 5%; color: #000; }

  .content { padding: 50px 0; }
  .row { flex-direction: column; gap: 30px; padding: 0; }
  .row + .row { margin-top: 30px; }
  .col-2-5, .col-3-5, .col-1-2 { width: 100%; }
  .col-2-5 img.portrait { max-width: 320px; margin: 0 auto; }
  .lead { margin-top: 20px; }

  .site-footer .inner { flex-direction: column; align-items: center; gap: 18px; padding: 30px 16px; text-align: center; }
  .copyright, .credit { padding: 0; }
  .credit a { justify-content: center; }
}

@media (max-width: 480px) {
  .site-header { padding: 11px 16px; }
  .brand h1 { font-size: 30px; }
  .row { width: auto; margin: 0 16px; }
  h2 { font-size: 30px; }
}
