/**
 * Theme Name: AWD Child
 * Theme URI: https://austinwebanddesign.com/
 * Author: Austin Web & Design
 * Author URI: https://austinwebanddesign.com/
 * Description: A lean Astra child theme for Austin Web & Design client websites.
 * Version: 2.0.0
 * Requires at least: 6.4
 * Requires PHP: 7.4
 * License: GNU General Public License v2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: awd-child
 * Template: astra
 */

/* ==================================================
   Header and navigation
   ================================================== */

#masthead #ast-desktop-header li.menu-btn { padding-left: 20px; }
#masthead #ast-desktop-header li.menu-btn a.menu-link { padding: 15px 31px; border: 1px solid var(--ast-global-color-0); border-radius: 50px; color: var(--ast-global-color-0); line-height: 1; }

/* ==================================================
   Typography
   ================================================== */
h1.wp-block-spectra-content { letter-spacing: -0.02em; }

:is(h1, h2, h3, h4, h5, h6).wp-block-spectra-content >:is(em, i), .entry-content:is(h1, h2, h3, h4, h5, h6) >:is(em, i) { font-family: "Libre Baskerville", Baskerville, Georgia, serif; font-size: 1em; font-style: italic; font-weight: 400; letter-spacing: -0.02em; line-height: 1; }

:where(h1, h2, h3, h4, h5, h6).ced-no-accent-font:is(em, i), .ced-no-accent-font:where(h1, h2, h3, h4, h5, h6):is(em, i) { font-family: inherit; font-size: inherit; font-weight: inherit; letter-spacing: inherit; line-height: inherit; }

/* ==================================================
   Hero
   ================================================== */
.ced-hero { position: relative; isolation: isolate; overflow: hidden; }

.ced-hero::after { content: ""; position: absolute; z-index: 0; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 28%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.94) 72%, #fff 82%, #fff 100%); pointer-events: none; }

.ced-hero > * { position: relative; z-index: 1; }

/* ==================================================
   School logos
   ================================================== */
.wp-block-gallery.school-logos img { max-height: 48px; object-fit: contain; }
body #primary .entry-content .wp-block-gallery.school-logos .wp-block-image { margin-bottom: 0; }

/* ==================================================
   Image accents
   ================================================== */
.image-accent, .photo-accent { position: relative; isolation: isolate; width: fit-content; max-width: 100%; margin-inline: auto; overflow: visible; }
.image-accent img, .photo-accent img { position: relative; z-index: 1; display: block; }
.image-accent::after, .photo-accent::after { content: ""; position: absolute; background-position: center; background-repeat: no-repeat; background-size: contain; transform-origin: center; pointer-events: none; }
.accent-dot { position: relative; }
.accent-dot::after { content: ''; display: block; width: 22px; height: 22px; background-image: url("/wp-content/themes/awd-child/images/accent-dot.svg"); bottom: 0; position: absolute; right: 6px; background-repeat: no-repeat; background-size: contain; }

.image-accent { --accent-size: 80px; --accent-left: 75%; --accent-top: 18%; --accent-rotate: 0deg; left: -15px; }
.image-accent::after { z-index: 2; top: var(--accent-top); left: var(--accent-left); width: var(--accent-size); aspect-ratio: 1; background-image: url("/wp-content/themes/awd-child/images/dots-1.svg"); transform: rotate(var(--accent-rotate)); }

.image-accent--tr { --accent-left: 59%; --accent-top: 11%; --accent-rotate: 90deg; }
.image-accent--bl { --accent-left: -3%; --accent-top: 64%; --accent-rotate: 180deg; }
.image-accent--tl { --accent-left: -8%; --accent-top: 4%; --accent-rotate: 0deg; }
.image-accent--br { --accent-left: 50%; --accent-top: 47%; --accent-rotate: 90deg; }
@media (max-width:767px) {
  .image-accent { --accent-size: 58px; }
}

.photo-accent { --photo-accent-width: 220px; --photo-accent-height: 110px; --photo-accent-rotate: 0deg; }
.photo-accent::after { z-index: 0; width: var(--photo-accent-width); height: var(--photo-accent-height); background-image: url("/wp-content/themes/awd-child/images/dots-2.svg"); transform: rotate(var(--photo-accent-rotate)); }
.photo-accent--tl::after { --photo-accent-rotate: 180deg; top: -42px; left: -42px; }
.photo-accent--tr::after { --photo-accent-rotate: 270deg; top: -42px; right: -42px; }
.photo-accent--bl::after { --photo-accent-rotate: 90deg; bottom: -58px; left: -42px; }
.photo-accent--br::after { --photo-accent-rotate: 0deg; right: -42px; bottom: -58px; }
@media (max-width:767px) {
  .photo-accent { --photo-accent-width: 150px; --photo-accent-height: 75px; }
  .photo-accent--tl::after { top: -28px; left: -24px; }
  .photo-accent--tr::after { top: -28px; right: -24px; }
  .photo-accent--bl::after { bottom: -36px; left: -24px; }
  .photo-accent--br::after { right: -24px; bottom: -36px; }
}

.photo-accent--light { --photo-accent-width: 112px; --photo-accent-height: 139px; }
.photo-accent--light::after { z-index: 2; width: var(--photo-accent-width); height: var(--photo-accent-height); background-image: url("/wp-content/themes/awd-child/images/dots-3.svg"); }
.photo-accent--light.photo-accent--tl::after { top: 2%; left: 0; transform: rotate(90deg); }
.photo-accent--light.photo-accent--tr::after { top: 2%; right: 0; transform: rotate(0deg); }
.photo-accent--light.photo-accent--bl::after { bottom: 2%; left: 0; transform: rotate(180deg); }
.photo-accent--light.photo-accent--br::after { right: 0; bottom: 2%; transform: rotate(270deg); }
@media (max-width:767px) {
  .photo-accent--light { --photo-accent-width: 84px; --photo-accent-height: 104px; }
}

/* ==================================================
   Multi-column lists
   ================================================== */
ul[class*="-column-list"], ol[class*="-column-list"] { margin: 0; padding-left: 0; column-gap: 2rem; list-style-position: outside; }
ul[class*="-column-list"] li, ol[class*="-column-list"] li { margin-bottom: 0.5em; break-inside: avoid; }
ul.wp-block-list.two-column-list ul.wp-block-list, ul[class*="-column-list"] ul[class*="-column-list"] { margin-top: 0.625rem; padding-left: 1.25rem; column-gap: 0.5em; }
@media (min-width:641px) {
  .two-column-list { column-count: 2; }
  .three-column-list { column-count: 3; }
  .four-column-list { column-count: 4; }
  .five-column-list { column-count: 5; }
}
.wp-block-spectra-container ul.wp-block-list { padding-left: 25px; margin-bottom: 25px; }

/* ==================================================
   Buttons
   ================================================== */
@media (min-width:977px) {
  .uagb-buttons-repeater.wp-block-button__link, .uagb-buttons-repeater.ast-outline-button { min-width: 12.5rem; }
}

/* ==================================================
   Footer
   ================================================== */
.site-footer p:empty { display: none; }
.footer-logo img { max-width: 230px; }
.site-footer .widget-title { margin-bottom: 30px; }
.site-footer .awd-contact-info__location-name { margin-bottom: 29px; }
.site-footer ul.menu li:not(:last-child) { padding-bottom: 8px; }
.ced-footer-locations .awd-contact-info__email .awd-contact-info__label { display: none; }
@media (min-width:1025px) {
  .site-primary-footer-wrap .ast-builder-footer-grid-columns.site-primary-footer-inner-wrap {
    grid-template-columns:
      minmax(0, 1.8fr)
      minmax(0, 1.37fr)
      minmax(0, 1fr)
      minmax(0, 3.16fr);
  }

  .site-primary-footer-inner-wrap > * { min-width: 0; }
}

/* ==================================================
   Evaluation details
   ================================================== */
@media (min-width:922px) {
  .evaluation-details > .wp-block-spectra-container { position: relative; }
  .evaluation-details > .wp-block-spectra-container:not(:first-child)::before { content: ""; position: absolute; top: 0; bottom: 0; left: -8px; width: 1px; background-color: rgba(8, 44, 73, 0.16); pointer-events: none; height: 75%; margin-top: auto; margin-bottom: auto; }
}

/* ==================================================
   Report features comparison table
   ================================================== */
.ced-report-table-wrap { width: calc(100% - 40px); max-width: 1280px; margin: 0 auto clamp(85px, 10vw, 140px); overflow: visible; border: 1px solid rgba(8, 44, 73, 0.14); border-radius: 24px; background: #fff; box-shadow: 0 18px 55px rgba(8, 44, 73, 0.08); }
.ced-report-table { width: 100%; min-width: 980px; margin: 0; border: 0; border-spacing: 0; border-collapse: separate; border-radius: 24px; background: #fff; }

.ced-report-table caption { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.ced-report-table th, .ced-report-table td { min-height: 64px; padding: 16px 14px; vertical-align: middle; text-align: center; border: 0; border-right: 1px solid rgba(8, 44, 73, 0.12); border-bottom: 1px solid rgba(8, 44, 73, 0.1); }
.ced-report-table thead th { color: #fff; background: #082c49; font-size: 16px; font-weight: 700; line-height: 1.3; }
.ced-report-table thead th:first-child { width: 29%; padding-left: 22px; text-align: left; border-top-left-radius: 23px; }
.ced-report-table thead th:last-child { border-top-right-radius: 23px; }
.ced-report-table thead span { display: block; margin-top: 6px; font-size: 20px; font-weight: 700; }

.ced-report-table tbody th { padding-left: 22px; color: #082c49; text-align: left; font-size: 16px; font-weight: 700; line-height: 1.4; }
.ced-report-table tbody th small { display: block; margin-top: 3px; color: rgba(8, 44, 73, 0.62); font-size: 13px; font-weight: 500; }

.ced-report-table tbody tr:nth-child(even) { background: rgba(0, 99, 161, 0.05); }
.ced-report-table tbody td { position: relative; color: #02794b; font-size: 23px; font-weight: 800; line-height: 1; }
.ced-report-table .ced-not-included { color: rgba(8, 44, 73, 0.42); }
.ced-report-table tr > *:last-child { border-right: 0; }
.ced-report-table tbody tr:last-child > * { border-bottom: 0; }
.ced-report-table tbody tr:last-child th { border-bottom-left-radius: 23px; }
.ced-report-table tbody tr:last-child td:last-child { border-bottom-right-radius: 23px; }

.ced-report-table .ced-dual-value { display: inline-flex; gap: 8px; align-items: center; justify-content: center; }
.ced-report-table .ced-dual-value small { color: rgba(8, 44, 73, 0.42); font-size: 13px; font-weight: 700; }

/* ==================================================
   Evaluation information popups
   ================================================== */
.ced-table-info { position: relative; display: inline-block; margin-left: 6px; vertical-align: middle; }
.ced-table-info summary { display: inline-grid; width: 24px; height: 24px; padding: 0; place-items: center; color: #fff; border: 0; border-radius: 50%; outline: 0; background: #0063a1; box-shadow: 0 2px 7px rgba(8, 44, 73, 0.18); cursor: pointer; list-style: none; font-family: Georgia, serif; font-size: 15px; font-style: italic; font-weight: 700; line-height: 1; transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.ced-table-info summary::-webkit-details-marker { display: none; }
.ced-table-info summary::marker { display: none; }
.ced-table-info summary:hover { background: #082c49; box-shadow: 0 4px 12px rgba(8, 44, 73, 0.25); transform: translateY(-1px); }
.ced-table-info summary:focus-visible { outline: 3px solid rgba(0, 99, 161, 0.35); outline-offset: 3px; }

.ced-report-heading {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  overflow: visible;
}

.ced-report-heading h4 {
  margin: 0;
}

.ced-report-guidance {
  position: relative;
  display: block;
  width: fit-content;
  overflow: visible;
}

.ced-report-guidance summary {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--ast-global-color-0, #0063a1);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  list-style: none;
}

.ced-report-guidance summary::-webkit-details-marker {
  display: none;
}

.ced-report-guidance summary::marker {
  display: none;
}

.ced-report-guidance__icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ast-global-color-0, #0063a1);
  box-shadow: 0 2px 7px rgba(8, 44, 73, 0.18);
  font-family: Georgia, serif;
  font-size: 19px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ced-report-guidance summary:hover {
  color: #082c49;
}

.ced-report-guidance summary:hover .ced-report-guidance__icon {
  background: #082c49;
  box-shadow: 0 4px 12px rgba(8, 44, 73, 0.25);
  transform: translateY(-1px);
}

.ced-report-guidance summary:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(0, 99, 161, 0.3);
  outline-offset: 4px;
}

.ced-report-guidance__popup {
  position: absolute;
  z-index: 30;
  bottom: calc(100% + 13px);
  left: 0;
  display: none;
  width: min(340px, calc(100vw - 40px));
  padding: 18px 20px;
  color: #fff;
  border-radius: 14px;
  background: #082c49;
  box-shadow: 0 16px 40px rgba(8, 44, 73, 0.3);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.ced-report-guidance__popup::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 19px;
  border: 8px solid transparent;
  border-top-color: #082c49;
  border-bottom: 0;
}

.ced-report-guidance[open] .ced-report-guidance__popup,
.ced-report-guidance:hover .ced-report-guidance__popup,
.ced-report-guidance:focus-within .ced-report-guidance__popup {
  display: block;
}

@media (max-width: 640px) {
  .ced-report-guidance[open] {
    width: 100%;
  }

  .ced-report-guidance__popup {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    width: min(340px, 100%);
    margin-top: 12px;
  }

  .ced-report-guidance__popup::after {
    display: none;
  }
}

.ced-table-info__popup { position: absolute; z-index: 20; bottom: calc(100% + 13px); left: 50%; width: min(340px, 75vw); padding: 18px 20px; color: #fff; border-radius: 14px; background: #082c49; box-shadow: 0 16px 40px rgba(8, 44, 73, 0.3); text-align: left; font-size: 14px; font-weight: 400; line-height: 1.5; transform: translateX(-50%); }
.ced-table-info__popup strong { display: block; margin-bottom: 8px; color: #fff; font-size: 15px; }
.ced-table-info__popup p { margin: 0 0 10px; color: #fff; }
.ced-table-info__popup p:last-child { margin-bottom: 0; }

.ced-table-info__popup::after { content: ""; position: absolute; top: 100%; left: 50%; border: 8px solid transparent; border-top-color: #082c49; border-bottom: 0; transform: translateX(-50%); }

@media (max-width:1024px) {
  .ced-report-table-wrap { width: calc(100% - 30px); overflow-x: auto; overflow-y: visible; border-radius: 18px; -webkit-overflow-scrolling: touch; }
  .ced-report-table { border-radius: 18px; }
  .ced-report-table thead th:first-child { border-top-left-radius: 17px; }
  .ced-report-table thead th:last-child { border-top-right-radius: 17px; }
}
@media (max-width:640px) {
  .ced-report-table-wrap { margin-bottom: 75px; }
  .ced-report-table th, .ced-report-table td { padding: 14px 12px; }
  .ced-report-table tbody th { padding-left: 16px; }

  .ced-table-info[open] { display: block; margin: 10px 0 0; }
  .ced-table-info__popup { position: relative; bottom: auto; left: auto; width: 290px; max-width: 70vw; margin-top: 10px; transform: none; }
  .ced-table-info__popup::after { top: auto; bottom: 100%; left: 12px; border-top-color: transparent; border-right-color: transparent; border-bottom: 8px solid #082c49; border-left-color: transparent; transform: none; }
}
@media (prefers-reduced-motion:reduce) {
  .ced-table-info summary { transition: none; }
}

/* ==================================================
   Rush-service information popups
   ================================================== */

.ced-rush-info {
  position: relative;
  display: block;
  width: fit-content;
  margin-top: 18px;
}

.ced-rush-info summary {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--ast-global-color-0, #0063a1);
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.ced-rush-info summary::-webkit-details-marker {
  display: none;
}

.ced-rush-info summary::marker {
  display: none;
}

#primary .ced-rush-info__icon {
  display: inline-grid;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  place-items: center;
  color: var(--ast-global-color-2);
  border-radius: 50%;
  background: var(--ast-global-color-7, #fff);
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.ced-rush-info summary:hover {
  color: #082c49;
}

.ced-rush-info summary:hover .ced-rush-info__icon {
  background: #082c49;
}

.ced-rush-info summary:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(0, 99, 161, 0.3);
  outline-offset: 4px;
}

.ced-rush-info__popup {
  position: absolute;
  z-index: 30;
  bottom: calc(100% + 13px);
  left: 0;
  display: grid;
  width: 290px;
  padding: 18px 20px;
  gap: 10px;
  color: #fff;
  border-radius: 14px;
  background: #082c49;
  box-shadow: 0 16px 40px rgba(8, 44, 73, 0.3);
  font-size: 14px;
  line-height: 1.4;
}

.ced-rush-info__popup strong {
  color: #fff;
  font-size: 16px;
}

.ced-rush-info__popup > span {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.ced-rush-info__popup b,
.ced-rush-info__popup small {
  color: #fff;
}

.ced-rush-info__popup small {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.ced-rush-info__popup::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 19px;
  border: 8px solid transparent;
  border-top-color: #082c49;
  border-bottom: 0;
}

.ced-rush-info--below .ced-rush-info__popup {
  top: calc(100% + 13px);
  bottom: auto;
}

.ced-rush-info--below .ced-rush-info__popup::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom: 8px solid #082c49;
}

@media (max-width: 640px) {
  .ced-rush-info[open] {
    width: 100%;
  }

  .ced-rush-info__popup,
  .ced-rush-info--below .ced-rush-info__popup {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    width: min(290px, 100%);
    margin-top: 12px;
  }

  .ced-rush-info__popup::after,
  .ced-rush-info--below .ced-rush-info__popup::after {
    display: none;
  }
}
.ced-returning-rush {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.ced-returning-rush summary {
  display: flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  color: #0063a1;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  white-space: nowrap;
}

.ced-returning-rush summary::-webkit-details-marker {
  display: none;
}

.ced-returning-rush summary::before {
  content: "i";
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-right: 7px;
  place-items: center;
  flex: 0 0 22px;
  color: #fff;
  border-radius: 50%;
  background: #0063a1;
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
  line-height: 1;
}

.ced-returning-rush > div {
  position: absolute;
  z-index: 100;
  right: 0;
  bottom: calc(100% + 10px);
  display: grid;
  width: max-content;
  max-width: min(300px, 80vw);
  padding: 16px 18px;
  gap: 4px;
  color: #fff;
  border-radius: 12px;
  background: #082c49;
  box-shadow: 0 12px 35px rgba(8, 44, 73, 0.25);
  font-size: 14px;
  line-height: 1.5;
}

.ced-returning-rush > div strong,
.ced-returning-rush > div span {
  display: block;
  color: inherit;
}

.ced-returning-rush > div::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -7px;
  border: 8px solid transparent;
  border-top-color: #082c49;
  border-bottom: 0;
}

@media (max-width: 767px) {
  .ced-returning-rush > div {
    right: auto;
    left: 0;
  }

  .ced-returning-rush > div::after {
    right: auto;
    left: 24px;
  }
}
