/* Values taken from the old theme settings: color_1..5, Poppins headings, Open Sans body. */
:root { --blue: #033987; --sky: #9dd9e2; --teal: #1f6f86; --yellow: #ffce00; --ink: #383838; --gray: #eaeaea; --page: #f9f9f9; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 18px/28px "Open Sans", Arial, sans-serif; }
img, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--blue); }
h1, h2, h3, h4, h5, h6 { font-family: Poppins, Arial, sans-serif; font-weight: 700; color: var(--ink); margin: 0 0 16px; }
h1 { font-size: 42px; line-height: 60px; }
h2 { font-size: 36px; line-height: 42px; }
h3 { font-size: 24px; line-height: 36px; }
h4 { font-size: 18px; line-height: 24px; }
h5 { font-size: 16px; line-height: 18px; }
h6 { font-size: 14px; line-height: 16px; }
p { margin: 0 0 16px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.site-header { background: #fff; position: sticky; top: 0; z-index: 50; }
.header-inner { max-width: 1170px; margin: 0 auto; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; min-height: 116px; }
.logo img { display: block; width: 270px; }
#menu ul { list-style: none; margin: 0; padding: 0; }
#menu { margin-left: auto; }
#menu > ul { display: flex; gap: 24px; }
#menu li { position: relative; }
#menu a { font-size: 16px; font-weight: 600; line-height: 30px; color: var(--blue); text-decoration: none; display: block; padding: 8px 0; }
#menu > ul > li.current > a, #menu a:hover { color: var(--teal); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
#menu .has-sub ul { position: absolute; top: 100%; left: 0; min-width: 190px; background: var(--sky); padding: 8px 16px; display: none; }
#menu .has-sub:hover ul, #menu .has-sub:focus-within ul { display: block; }
#menu .has-sub ul a { color: var(--blue); font-size: 14.5px; }
.menu-toggle { display: none; background: var(--blue); color: #fff; border: 0; border-radius: 30px; padding: 10px 20px; font: 600 15px "Open Sans", Arial, sans-serif; }
.btn.btn-donate { background: var(--yellow); color: var(--blue); }
.btn.btn-donate:hover { background: #ffe066; color: var(--blue); }
.header-donate { margin-left: 24px; padding: 14px 26px; font-size: 14px; white-space: nowrap; }
#donar { scroll-margin-top: 130px; }

.wrap { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.wrap.wide { max-width: none; }
.wrap.narrow { max-width: 860px; }
.wrap .wrap { padding: 0; max-width: none; }
.band { background-size: cover; background-position: center; background-repeat: no-repeat; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; background-size: cover; background-position: center; background-repeat: no-repeat; }
.row.equal > .col > .col-inner { height: 100%; }
.row.place-middle { align-items: center; }
.col { padding: 0 15px; min-width: 0; }
.col-inner { background-size: cover; background-position: center; background-repeat: no-repeat; }
.page-body { padding-bottom: 40px; }
.page-body:not(.home) { padding-top: 40px; }

/* Column widths per screen size, matching the old 12-column grid. */
.xs-1{width:8.333%}.xs-2{width:16.667%}.xs-3{width:25%}.xs-4{width:33.333%}.xs-5{width:41.667%}.xs-6{width:50%}.xs-7{width:58.333%}.xs-8{width:66.667%}.xs-9{width:75%}.xs-10{width:83.333%}.xs-11{width:91.667%}.xs-12{width:100%}
@media (min-width:768px){.sm-1{width:8.333%}.sm-2{width:16.667%}.sm-3{width:25%}.sm-4{width:33.333%}.sm-5{width:41.667%}.sm-6{width:50%}.sm-7{width:58.333%}.sm-8{width:66.667%}.sm-9{width:75%}.sm-10{width:83.333%}.sm-11{width:91.667%}.sm-12{width:100%}}
@media (min-width:992px){.md-1{width:8.333%}.md-2{width:16.667%}.md-3{width:25%}.md-4{width:33.333%}.md-5{width:41.667%}.md-6{width:50%}.md-7{width:58.333%}.md-8{width:66.667%}.md-9{width:75%}.md-10{width:83.333%}.md-11{width:91.667%}.md-12{width:100%}}
@media (min-width:1200px){.lg-1{width:8.333%}.lg-2{width:16.667%}.lg-3{width:25%}.lg-4{width:33.333%}.lg-5{width:41.667%}.lg-6{width:50%}.lg-7{width:58.333%}.lg-8{width:66.667%}.lg-9{width:75%}.lg-10{width:83.333%}.lg-11{width:91.667%}.lg-12{width:100%}.lg-off-1{margin-left:8.333%}.lg-off-2{margin-left:16.667%}}
@media (max-width:767px){.hide-xs{display:none}}
@media (min-width:768px) and (max-width:991px){.hide-sm{display:none}}
@media (min-width:992px) and (max-width:1199px){.hide-md{display:none}}
@media (min-width:1200px){.hide-lg{display:none}}

.hero { position: relative; height: 620px; overflow: hidden; background: var(--blue); }
.hero > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-caption { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 16px 100px; text-align: center; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.6); background: rgba(3,57,135,.42); }
.hero-caption h1 { margin: 0; color: #fff; }
.hero-small { display: block; font-size: 32px; line-height: 40px; font-weight: 600; }
.hero-big { display: block; font-size: 64px; line-height: 76px; }
.hero-thanks { font: 400 24px/36px Poppins, Arial, sans-serif; margin: 8px 0 24px; }
.hero-caption .btn { text-shadow: none; font-size: 15px; padding: 20px 48px; }

.au-involved { position: relative; top: -100px; margin-bottom: -60px; z-index: 5; }
.bt-radius-l > .col-inner { border-radius: 5px 0 0 5px; }
.bt-radius-r > .col-inner { border-radius: 0 5px 5px 0; }
.bt-box > .col-inner { box-shadow: 0 0 25.5px 0 rgba(0,0,0,.09); }
.pacifico strong, span.pacifico { font-weight: 400; }
.blue strong { color: #2250a0; }
.custom-heading a { color: inherit; text-decoration: none; }
ul.au-list { padding: 0; list-style: none; }
ul.au-list li { padding: 8px 0; }
ul.au-list li a { color: #333; font-size: 16px; font-weight: 700; text-decoration: underline; }

.btn { display: inline-block; background: var(--blue); color: #fff; font: 700 13px/1 "Open Sans", Arial, sans-serif; text-transform: uppercase; text-decoration: none; border-radius: 30px; padding: 23px 40px; }
.btn:hover { background: #2250a0; color: #fff; }
.btn-wrap { margin: 0 0 16px; }
.btn-wrap-center, .center { text-align: center; }
.btn-wrap-right { text-align: right; }

.single-image { margin: 0 0 16px; }
.single-image img { display: inline-block; vertical-align: top; }
.align-center { text-align: center; }
.align-right { text-align: right; }
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.carousel img { flex: 0 0 auto; width: 340px; height: 220px; object-fit: cover; scroll-snap-align: start; border-radius: 4px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-bottom: 16px; }
.gallery img { width: 100%; height: 150px; object-fit: cover; display: block; }
.wp-caption { margin: 0 0 16px; font-size: 15px; }
.toggle { border-bottom: 1px solid #ddd; padding: 12px 0; }
.toggle summary { cursor: pointer; font-weight: 700; color: var(--blue); }
.toggle[open] summary { margin-bottom: 10px; }
.sep { border: 0; border-top: 1px solid #ddd; margin: 24px 0; }
.featured-box { display: flex; align-items: center; gap: 15px; }
.bt-care .featured-box-text { font-size: 19px; font-weight: 600; line-height: 26px; margin: 0; color: var(--blue) !important; }
.counter-lead { text-align: center; font-weight: 600; color: var(--blue); margin-bottom: 4px; }
iframe.donorbox { width: 100%; height: 900px; border: 0; }
iframe:not(.donorbox):not(.social-frame) { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.social-feeds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.social-card { background: #fff; padding: 24px; border-radius: 5px; box-shadow: 0 0 25.5px 0 rgba(0,0,0,.09); min-width: 0; }
.social-card h3 { color: var(--blue); margin-bottom: 12px; }
.social-frame { display: block; width: 100%; border: 0; }
.instagram-frame { height: 640px; }
.social-link { margin: 16px 0 0; text-align: center; }
@media (max-width: 767px) { .social-feeds { grid-template-columns: minmax(0, 1fr); } .social-card { padding: 16px; } }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.post-card a { display: block; background: #fff; height: 100%; color: var(--ink); text-decoration: none; box-shadow: 0 0 25.5px 0 rgba(0,0,0,.09); }
.post-card img, .post-card-empty { width: 100%; height: 200px; object-fit: cover; display: block; background: var(--sky); }
.post-caption { padding: 16px 20px 20px; }
.post-caption time { font-size: 14px; color: #555; }
.post-caption h3 { font-size: 18px; line-height: 26px; margin: 4px 0 0; }
.post-card a:hover h3 { color: var(--blue); }
.title-bar { background: var(--blue); color: #fff; min-height: 200px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px 0; }
.title-bar .wrap { width: 100%; }
.title-icon { display: block; margin: 0 auto 10px; }
.title-bar h1 { margin: 0 0 10px; color: #fff; font-size: 32px; line-height: 38px; }
.crumb { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.crumb a { color: #fff; text-decoration: none; }
@media (max-width: 767px) { .title-bar { min-height: 160px; } .title-bar h1 { font-size: 26px; line-height: 32px; } }
.memorias-box { background: var(--gray); padding: 28px; border-radius: 5px; margin-bottom: 40px; }
.memorias-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.memorias-head h2 { margin: 0; color: var(--blue); font-size: 28px; line-height: 34px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.pager a, .pager span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 4px; background: #fff; text-decoration: none; font-weight: 600; }
.pager span { background: var(--blue); color: #fff; }
.post-body, .list-body { padding-top: 40px; padding-bottom: 56px; }
.post-body time { display: block; color: #555; font-size: 15px; margin-bottom: 20px; }
.contact-box { background: #fff; padding: 24px; box-shadow: 0 0 25.5px 0 rgba(0,0,0,.09); }
.contact-alt { font-size: 15px; margin: 0; }

.footer-widgets { background: var(--blue) no-repeat right center / auto 90%; color: #fff; padding: 56px 0; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 50px; }
.footer-about { font-size: 16px; line-height: 1.63; margin: 0; }
.footer-links { margin: 0; }
.footer-links a { display: block; color: #fff; font-size: 16px; line-height: 32px; }
.footer-bar { background: #000; color: #fff; text-align: center; font-size: 15px; padding: 16px; }

@media (max-width: 991px) {
  .header-inner { min-height: 84px; gap: 10px; }
  .logo img { width: 150px; }
  .logo { margin-right: auto; }
  .header-donate { margin-left: 0; padding: 12px 18px; }
  .menu-toggle { display: block; }
  #menu { margin-left: 0; }
  #menu > ul > li.current > a { text-underline-offset: 4px; }
  #menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 8px 16px 16px; box-shadow: 0 8px 16px rgba(0,0,0,.1); }
  #menu.open { display: block; }
  #menu > ul { flex-direction: column; gap: 0; }
  #menu .has-sub ul { display: block; position: static; background: none; padding: 0 0 0 16px; }
  #menu .has-sub ul a { color: var(--blue); }
  .au-involved { top: 0; margin: 0 0 40px; }
  .hero { height: 460px; }
  .hero-caption { padding-bottom: 0; }
  .hero-small { font-size: 20px; line-height: 28px; }
  .hero-big { font-size: 36px; line-height: 44px; }
  .hero-thanks { font-size: 18px; line-height: 26px; }
}
@media (max-width: 767px) {
  h1 { font-size: 32px; line-height: 40px; }
  h2 { font-size: 28px; line-height: 34px; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .col-inner { padding-left: 0; padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
