/*
Theme Name: The Bank of Alexandria
Author: Otaviano Pires Amancio
Author URI: https://otavianopires.com/
Description: Alexandria theme.
Requires at least: 6.1
Tested up to: 6.2
Requires PHP: 5.6
Version: 1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: bank-alexandria
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, accessibility-ready, blog, portfolio, news
*/
html,
body {
  height: 100% !important;
}

.wp-site-blocks {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0;
}
.wp-site-blocks .hightlights .wp-block-image img {
  width: 100%;
}
.wp-site-blocks .page-featured-image {
  height: 200px;
  margin-bottom: var(--wp--preset--spacing--32);
}
@media (min-width: 782px) {
  .wp-site-blocks .page-featured-image {
    height: 300px !important;
    margin-bottom: var(--wp--preset--spacing--80);
  }
}
@media (min-width: 782px) {
  .wp-site-blocks .page-featured-image img {
    height: 300px !important;
  }

  .member-featured-image img { 
    width: 224px !important;
    max-width: none;
  }
}
.wp-site-blocks main {
  margin-top: 0;
  margin-bottom: var(--wp--preset--spacing--120);
}
.wp-site-blocks main .has-body-lead-font-size {
  line-height: 2.1rem;
}
.wp-site-blocks footer {
  margin-top: auto;
}
@media (max-width: 781px) {
  .wp-site-blocks footer .wp-block-navigation {
    flex-direction: column;
    align-items: start;
  }
}
@media (min-width: 782px) {
  .wp-site-blocks footer .wp-block-group .wp-block-group .alignwide {
    flex-direction: row;
    justify-content: space-between;
  }
}

.page-content.before-content::before {
  content: "";
  display: block;
  height: 1px;
  width: 240px;
  margin-bottom: var(--wp--preset--spacing--32);
  background-color: var(--wp--preset--color--secondary-lighter);
}
@media (min-width: 782px) {
  .page-content.before-content::before {
    width: 360px;
  }
}
.page-content > .wp-block-columns {
  gap: 4rem;
}
@media (min-width: 782px) {
  .page-content > .wp-block-columns {
    gap: 7.5rem;
  }
}
@media (min-width: 782px) {
  .page-content > .wp-block-columns .wp-block-column.page-entry {
    flex-grow: 1;
  }
}
@media (min-width: 782px) {
  .page-content > .wp-block-columns .wp-block-column.page-sidebar {
    flex-basis: 264px;
    flex-grow: 0;
    flex-shrink: 0;
  }
}

@media (max-width: 1079px) {
  .members-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 700px) {
  .members-list {
    grid-template-columns: 1fr !important;
  }
}
.members-list .member-row {
  margin-bottom: var(--wp--preset--spacing--48);
}
@media (min-width: 782px) {
  .members-list .member-row {
    margin-bottom: var(--wp--preset--spacing--80);
  }
}
.members-list .member-row .wp-block-post-featured-image {
  flex-shrink: 0;
}
.members-list .member-row .member-info {
  flex-grow: 1;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--base);
}

.gold-line::before {
  content: "";
  display: block;
  height: 1px;
  width: 240px;
  margin-bottom: var(--wp--preset--spacing--32);
  background-color: var(--wp--preset--color--secondary-lighter);
}
@media (min-width: 782px) {
  .gold-line::before {
    width: 360px;
  }
}

@media (min-width: 782px) {
  .member-page {
    padding-top: var(--wp--preset--spacing--64) !important;
  }
}
.member-page .member-columns {
  gap: var(--wp--preset--spacing--64);
}
@media (min-width: 782px) {
  .member-page .member-columns {
    gap: var(--wp--preset--spacing--120);
  }
}
.member-page .member-stack {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--20);
}
@media (min-width: 782px) {
  .member-page .member-stack {
    flex-direction: row;
    gap: var(--wp--preset--spacing--48);
  }
}
.member-page .member-stack .member-featured-image {
  max-width: 180px;
  max-height: 180px;
}
@media (min-width: 782px) {
  .member-page .member-stack .member-featured-image {
    max-width: 240px;
    max-height: 240px;
  }
}
