/*
 * @author 			Steven Walters
 * @website			http://elephanteardesign.com
 * @description		custom CSS for EED
 * @version			1.0
 * Theme Name:		EED Theme
 * Author:			Elephant Ear Design
 * Author URI:		http://elephanteardesign.com
 * Version:			1.0
 */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-top: 40px;
}
.post-card,
.project-item {
  background: rgb(255 255 255 / 0.05);
  border-radius: 10px;
  border: 1px solid rgb(255 255 255 / 0.09);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-grid h2.post-title a,
.blog-grid a.read-more {
  text-decoration: none;
  color: #fff;
}
.blog-grid h2.post-title {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px !important;
  margin-top: 0 !important;
}
.post-card *,
.project-item * {
  color: #ddd;
}
.blog-grid .post-card.featured h2.post-title {
  font-size: clamp(2.3rem, 6vw, 3.5rem);
}
.post-card:hover,
.project-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -10px rgb(0 0 0 / 0.08);
  color: #fff;
}
.post-card figure {
  margin: 0;
  position: relative;
  overflow: hidden;
}
.post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.post-card:hover img {
  transform: scale(1.03);
}
.post-content,
.project-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.post-meta {
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8em;
  line-height: 1.2;
}
.post-category {
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
}
.project-item h2 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 0 0 0.75rem 0;
  line-height: 1.35;
}
.project-item h2 a {
  color: inherit;
  text-decoration: none;
}
.project-excerpt {
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}
.project-btn-wrapper {
  padding: 0 20px 25px 20px;
  margin-top: auto;
}
.post-btn-wrapper {
  padding: 0;
}
.read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
a.read-more svg {
  height: 28px;
  vertical-align: middle;
  transition: all 0.3s linear;
}
a.read-more svg * {
  fill: var(--text-secondary);
  fill: #fff;
}
.post-card.featured {
  grid-column: 1 / -1;
}
@media (min-width: 768px) {
  .post-card.featured {
    display: grid;
    grid-template-columns: 50% 1fr;
  }
  .post-card.featured .post-content {
    padding: 2.5rem;
    justify-content: center;
  }
  .post-card.featured figure {
    height: 100%;
    min-height: 320px;
  }
}
@media (max-width: 768px) {
  .blog-grid {
    margin-top: 0;
  }
}
@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.main-page .section {
  padding: 40px 0;
  min-height: auto;
  position: relative;
  display: block;
  width: auto;
}
.main-page.project .section {
  z-index: 5;
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.main-page .section.section-white {
  background: #fff;
  color: #111 !important;
}
.main-page .section-header {
  margin-bottom: 3.5rem;
  max-width: 50vw;
}
.main-page .section-title,
.main-page h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 2rem 0;
  line-height: 1;
  color: var(--text-primary);
}
.main-page .section-description {
  color: var(--text-muted);
}
.services-grid {
  display: grid;
  max-width: 50%;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.main-page .comparison-table {
  max-width: 80%;
  margin-right: auto;
  margin-left: auto;
}
.main-page .comparison-table tr td:last-child .table-mobile-title {
  color: var(--accent-primary-hover);
}
.main-page .comparison-table tr td:last-child {
  font-weight: 700;
}
.process-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.process-item {
  padding: 2rem;
  border-left: 3px solid var(--accent-primary-hover);
  background: var(--bg-surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-primary);
}
.process-number {
  font-size: 5rem;
  line-height: 1;
  font-weight: 100;
  color: var(--accent-primary-hover);
  display: block;
}
.process-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--accent-primary-hover);
}
.process-text {
  color: var(--text-muted);
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.pillar-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--border-subtle);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgb(255 255 255 / 0.2);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-medium);
  position: relative;
}
.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-primary);
  transform: translateY(-4px);
}
.pillar-icon {
  width: 56px;
  height: 56px;
  display: block;
  position: relative;
  border-radius: 5px;
  padding: 8px;
  display: flex;
  border: 1px solid var(--accent-primary);
  background: linear-gradient(
    to bottom,
    var(--border-accent-subtle) 0%,
    #fff0 100%
  );
}
.pillar-icon img {
  height: 100%;
}
.pillar-title {
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.pillar-text {
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.pillar-links a {
  text-decoration: none;
  color: var(--link-main);
  font-weight: 600;
  transition: var(--transition-fast);
}
.pillar-links a:hover {
  color: var(--accent-primary);
}
.pillar-link:hover {
  gap: 0.75rem;
}
#faq {
  z-index: 10;
  position: relative;
  padding-bottom: 80px;
}
.faq-container {
  max-width: 80%;
  margin-right: auto;
  margin-left: auto;
}
details.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 2.5rem;
  transition: border-color var(--transition-fast);
  margin: 5px 5px 10px 5px;
  background: rgb(255 255 255 / 0.09);
}
details.faq-item[open] {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}
summary.faq-question {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
}
summary.faq-question::-webkit-details-marker {
  display: none;
}
summary.faq-question::after {
  content: "+";
  font-size: 2rem;
  color: var(--accent-primary-hover);
  transition: transform var(--transition-fast);
}
details[open] summary.faq-question::after {
  content: "-";
}
.faq-answer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
}
.footer-cta {
  position: relative;
  z-index: 5;
  overflow: hidden;
  padding: 80px 0 !important;
  padding-bottom: 100px;
}
.footer-cta .atmosphere {
  z-index: 1;
  bottom: -50px;
  width: calc(100% + 200px);
  height: calc(100% - 150px);
  filter: blur(18px) saturate(115%);
  -webkit-filter: blur(18px) saturate(115%);
  transform: scaleX(-1);
}
.cta-banner {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: 0 0 30px rgb(from var(--accent-primary) r g b / calc(alpha * 0.1));
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgb(from #fff r g b / calc(alpha * 0.3));
  padding: 4rem 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.cta-title,
.blog-post .cta-banner h3 {
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-primary);
  line-height: 1;
}
.blog-post .cta-banner h3 {
  margin-top: 0;
  margin-bottom: 3rem;
}
.cta-text,
.blog-post .cta-banner p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}
@media (max-width: 940px) {
  .cta-banner {
    margin: 0;
  }
  .main-page .section-header {
    max-width: 80vw;
  }
}
@media (max-width: 768px) {
  .main-page .section {
    padding: 2rem 0;
    margin-bottom: 0;
  }
  .main-page .comparison-table,
  .main-page .faq-container {
    max-width: none;
  }
  .main-page.project .section {
    min-height: auto;
  }
}
.single-post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 992px) {
  .single-post-grid {
    grid-template-columns: 1fr 340px;
  }
}
.post-meta br {
  display: none;
}
.blog-post h3 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  margin: 2.5rem 0;
}
.blog-post strong {
  font-weight: 700;
}
.blog-post ul:not(.post-toc-list, .post-toc-sublist),
.blog-post ol:not(.post-toc-list, .post-toc-sublist) {
  margin: 0 0 1.5rem 1rem;
}
.blog-post li {
  margin-bottom: 1rem;
}
.widget {
  background: rgb(0 0 0 / 0.5);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8em;
  line-height: 1.2;
}
.widget a {
  color: #ffe9ff;
}
h2.widget-title {
  color: #fff;
  margin-bottom: 1rem;
  margin-top: 0;
  padding-bottom: 0.9rem;
  border-bottom: 2px solid var(--border-subtle);
  font-size: 2rem;
}
.widget ul {
  list-style: none;
  padding-left: 0;
}
.widget li {
  margin-bottom: 1.8rem;
}
.widget li a {
  color: #ddd;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.widget li a:hover {
  color: #fff;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.widget li:last-child {
  margin-bottom: 0;
}
.post-date {
  display: block;
  color: #999;
  margin-top: 0.2rem;
  font-weight: 600;
  text-transform: uppercase;
}
.count {
  color: #ccc;
}
.blog-post figure:not(.featured-image-wrapper) img {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto 0 auto;
  border-radius: 6px;
  object-fit: cover;
}
.blog-post .wp-block-image,
.blog-post figure:not(.featured-image-wrapper) {
  width: 80% !important;
  margin: 30px auto;
  padding: 0;
}
.blog-post figure:not(.featured-image-wrapper) figcaption {
  font-size: 0.8rem;
  line-height: 1.8;
  color: #ddd;
  text-align: center;
  margin-top: 10px;
}
.two-col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
  align-items: center;
}
.two-col-grid.align-top {
  align-items: start;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  width: 90%;
  place-self: center center;
}
.gallery-grid img {
  max-width: 170px;
  width: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  display: block;
  margin: 0 auto;
}
.gallery-title {
  font-weight: 400;
  text-align: center;
  font-style: italic;
}
#wpforms-303 {
  background: transparent !important;
}
@media (max-width: 500px) {
  .post-meta {
    display: block !important;
  }
  .post-meta::after {
    content: "";
    display: block;
  }
  .post-meta br {
    display: block;
  }
  .two-col-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(500px, 100%), 1fr));
    align-items: start;
  }
  .gallery-grid img {
    max-width: 100%;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    width: auto;
  }
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-family: inherit;
  text-align: left;
}
.comparison-table .table-mobile-title {
  display: none;
}
.comparison-table th,
.comparison-table td {
  padding: 1rem;
  border-bottom: 2px solid rgb(255 255 255 / 0.1);
}
.comparison-table thead th {
  background-color: rgb(255 255 255 / 0.2);
  font-weight: 700;
  border-bottom: 2px solid rgb(255 255 255 / 0.2);
}
.comparison-table tbody tr th:first-child,
.comparison-table tbody tr td:first-child {
  font-weight: 600;
  background-color: rgb(255 255 255 / 0.05);
  border-bottom: 2px solid rgb(255 255 255 / 0.1);
}
@media screen and (max-width: 640px) {
  .comparison-table thead {
    display: none;
  }
  .comparison-table,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td {
    display: block;
    width: 100%;
  }
  .comparison-table tbody tr {
    background: rgb(255 255 255 / 0.05);
    border-radius: 10px;
    border: 1px solid rgb(255 255 255 / 0.09);
    box-shadow: 0 4px 24px rgb(0 0 0 / 0.1),
      inset 0 1px 0 rgb(255 255 255 / 0.6), inset 0 -1px 0 rgb(0 0 0 / 0.04);
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .comparison-table tbody tr th:first-child,
  .comparison-table tbody tr td:first-child {
    padding: 0.85rem 1rem;
    border-bottom: none;
  }
  .comparison-table td:last-child {
    border-bottom: none;
  }
  .comparison-table .table-mobile-title {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
  }
}
.footer-locations .locations-served,
footer#main-footer h3,
footer#main-footer div.site-title {
  line-height: 1em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.footer-company-info a,
footer a.logo {
  text-decoration: none;
  transition: 0.2s linear;
  overflow: hidden;
}
footer a.logo span {
  text-indent: -999px;
  display: block;
}
footer#main-footer {
  position: relative;
  z-index: 15;
/*  background: #232526;
  background: -webkit-linear-gradient(to top, #414345, #232526);
  background: linear-gradient(to top, #414345, #232526);*/
  /*min-height: 200px;*/
}
footer#main-footer h2,
footer#main-footer h3,
footer#main-footer div.site-title,
footer#main-footer h5 {
  color: #fff;
}
footer.section {
  min-height: auto;
  height: auto;
  margin-bottom: 0;
  color: #fff;
  display: flex;
  justify-content: center;
}
.footer-wrapper {
  width: 100%;
}
footer .footer-bottom-section-wrapper {
  background: #000;
}
footer .container {
  margin: 0 auto;
  padding: 60px 0;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 1200px;
}
footer .container > .col {
  flex-basis: 50%;
}
footer .container .col-pad {
  padding: 0 30px;
}
.footer-top-section {
  padding-top: 0;
}
.footer-top-section.container > .col:first-child {
  flex-basis: 100%;
}
.footer-top-section.container > .col:first-child .col-pad {
  padding-bottom: 0;
}
.footer-bottom-section.container {
  padding-bottom: 20px;
  align-items: center;
}
.footer-company-info {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding-top: 40px;
  font-size: 0.8em;
}
.footer-company-info p {
  margin-top: 0;
}
.footer-company-info > .col {
  flex-basis: 50%;
  color: #ccc;
}
.footer-company-info > .col:nth-child(2) {
  text-align: center;
}
.footer-company-info > .col:nth-child(2) p {
  line-height: 1.4em;
  white-space: nowrap;
  color: #bbb;
}
.footer-company-info > .col.footer-locations {
  font-size: 1.1em;
  flex-basis: 100%;
  color: #aaa;
}
.footer-company-info a {
  color: #9f9fa9;
}
.footer-company-info a:hover {
  color: #fff;
}
ul.footer-locations-list {
  display: flex;
  list-style: none;
  margin: 50px 0 0;
  padding: 0;
}
ul.footer-locations-list > li {
  flex: 1;
}
ul.footer-locations-list > li strong {
  font-weight: 600;
  color: #ccc;
  display: block;
  margin-bottom: 5px;
}
ul.footer-locations-list > li ul {
  margin: 0 0 0 5px;
  padding: 0;
  list-style: none;
  font-size: 0.9em;
}
.footer-locations .locations-served {
  font-size: 1.3em;
  padding: 0;
  margin: 0 20px 0 0;
  color: #ddd;
  text-align: right;
}
footer#main-footer h3 {
  font-size: 2em;
  padding: 0;
  margin-top: 0;
}
footer#main-footer div.site-title {
  font-size: 1.6em;
  padding: 0;
  margin-top: 0;
  margin-bottom: 10px;
}
footer a.logo {
  display: inline-block;
  width: 64px;
  height: 64px;
}
footer a.logo svg {
  width: 100%;
  height: auto;
  fill: #eee;
}
ul.footer-nav {
  list-style: none;
  display: inline-block;
  margin: 0;
  padding: 0;
  font-size: 1.5em;
  line-height: 1.6em;
  text-align: left;
}
button#arrow-top {
  position: fixed;
  z-index: 99;
  bottom: 13px;
  right: 13px;
  width: 44px;
  height: 44px;
  border-radius: 44px;
  cursor: pointer;
  display: flex;
  opacity: 0;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: 0.1s ease-in-out;
  border: 2px solid #fff;
  box-shadow: 4px 4px 20px rgb(0 0 0 / 0.5);
  outline: none;
  cursor: pointer;
  background: none;
}
button#arrow-top svg {
  height: 38px;
  width: auto;
}
button#arrow-top svg path {
  fill: #fff;
}
button:hover#arrow-top {
  transform: scale(1.1);
  border-color: var(--accent-primary);
  background: var(--accent-primary);
}
button#arrow-top.arrow-to-dark {
  box-shadow: none;
  border-color: #666;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
}
button:hover#arrow-top.arrow-to-dark {
  border-color: #666;
  background: #666;
}
button#arrow-top.arrow-to-dark svg path {
  fill: #666;
  transition: 0.1s ease-in-out;
}
button:hover#arrow-top.arrow-to-dark svg path {
  fill: #fff;
}
@media only screen and (max-width: 1700px) {
  footer#main-footer h2 {
    font-size: 3.8em;
  }
}
@media only screen and (max-width: 1280px) {
  footer .container {
    width: auto;
    padding: 50px 0;
  }
  footer#main-footer h2 {
    font-size: 3.2em;
    line-height: 1em;
  }
}
@media only screen and (max-width: 700px) {
  footer.section {
    min-height: auto;
  }
  footer h2 {
    font-size: 3em;
    line-height: 1em;
  }
  footer#main-footer h3 {
    margin-top: 60px;
    margin-bottom: 0;
    padding: 0;
  }
  footer .container {
    display: block;
    padding: 50px 40px;
  }
  footer .container .col-pad {
    padding: 0;
  }
  footer .general-use_icon {
    width: 56px;
    height: 56px;
  }
  .footer-company-info > .col {
    flex-basis: 100%;
    text-align: left;
  }
  .footer-company-info > .col:first-child {
    padding-bottom: 30px;
  }
  .footer-company-info > .col:nth-child(2) {
    text-align: left;
  }
  ul.footer-locations-list {
    margin-top: 30px;
    flex-wrap: wrap;
  }
  ul.footer-locations-list > li {
    flex-basis: 50%;
    margin-bottom: 10px;
  }
  ul.footer-locations-list > li:first-child {
    flex-basis: 100%;
  }
  footer a.header-button {
    margin-top: 30px;
  }
  .footer-locations .locations-served {
    margin: 0 0 10px;
    text-align: left;
  }
  .footer-wrapper > div {
    min-height: 80vh;
    align-items: center;
    display: flex;
  }
}
@media only screen and (max-width: 450px) {
  footer#main-footer h2 {
    font-size: 2.8em;
    line-height: 1em;
  }
}
.slide-in-left {
  -webkit-animation: slide-in-left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: slide-in-left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
@-webkit-keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
    transform: translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
    transform: translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}
.slide-in-right {
  -webkit-animation: slide-in-right 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: slide-in-right 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
@-webkit-keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(1000px);
    transform: translateX(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(1000px);
    transform: translateX(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}
.slide-in-bottom {
  -webkit-animation: slide-in-bottom 1s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: slide-in-bottom 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
@keyframes slide-in-bottom {
  0% {
    -webkit-transform: translateY(1000px);
    transform: translateY(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
.slide-in-top {
  -webkit-animation: slide-in-top 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: slide-in-top 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
@keyframes slide-in-top {
  0% {
    -webkit-transform: translateY(-1000px);
    transform: translateY(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
.text-focus-in {
  -webkit-animation: text-focus-in 1s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
  animation: text-focus-in 1s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}
@-webkit-keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
    filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}
@keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
    filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}
.fade-in {
  -webkit-animation: fade-in 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: fade-in 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}
@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.fade-out {
  -webkit-animation: fade-out 0.5s ease-out both;
  animation: fade-out 0.5s ease-out both;
}
@-webkit-keyframes fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.rotate-center {
  -webkit-animation: rotate-center 0.6s ease-in-out infinite both;
  animation: rotate-center 0.6s ease-in-out infinite both;
}
@-webkit-keyframes rotate-center {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotate-center {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.fade-in-bottom {
  -webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.39, 0.575, 0.565, 1)
    both;
  animation: fade-in-bottom 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}
@-webkit-keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
.fade-out-bottom {
  -webkit-animation: fade-out-bottom 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: fade-out-bottom 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
@-webkit-keyframes fade-out-bottom {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
}
@keyframes fade-out-bottom {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
}
.fade-in-top {
  -webkit-animation: fade-in-top 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: fade-in-top 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}
@-webkit-keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
.slide-in-blurred-top {
  -webkit-animation: slide-in-blurred-top 0.6s cubic-bezier(0.23, 1, 0.32, 1)
    both;
  animation: slide-in-blurred-top 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}
@-webkit-keyframes slide-in-blurred-top {
  0% {
    -webkit-transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    -webkit-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-filter: blur(40px);
    filter: blur(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
    transform: translateY(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}
@keyframes slide-in-blurred-top {
  0% {
    -webkit-transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    -webkit-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-filter: blur(40px);
    filter: blur(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
    transform: translateY(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}
#portfolio {
  min-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: row;
  z-index: 5;
  margin: 0 auto;
  max-width: 1920px;
  flex-wrap: wrap;
  color: #fff;
  align-items: flex-start;
}
.portfolio-col {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 20px 0;
  flex-basis: 33.333333%;
  min-height: 400px;
}
.bento-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin: 0 auto;
}
.bento-item {
  border-radius: 24px;
  font-size: 0.7em;
  min-height: 300px;
  overflow: hidden;
  transition: all var(--transition-medium);
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}
.bento-item:hover {
  transform: translateY(-4px);
}
.bento-item a {
  text-decoration: none;
}
.col-span-2 {
  grid-column: span 2;
  font-size: 1em;
}
.row-span-2 {
  grid-row: span 2;
  font-size: 1em;
}
.row-span-3 {
  grid-row: span 3;
  font-size: 1em;
}
.portfolio-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-blend-mode: normal;
}
.portfolio-item img {
  width: 100%;
  border-radius: 0 0 100px 0;
}
.portfolio-details {
  color: #fff;
  margin-top: auto;
  padding: 12px;
}
.portfolio-title {
  font-size: 2.4em !important;
  color: #fff;
}
h2.portfolio-title {
  margin: 0;
}
.portfolio-title small {
  font-size: 0.6em;
  display: block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06rem;
}
@media (max-width: 1400px) {
  .bento-container {
    gap: 20px;
  }
  .bento-item {
    border-radius: 12px;
    font-size: 0.7em;
    min-height: 300px;
  }
  .portfolio-item {
    background-size: cover;
  }
}
@media (max-width: 1200px) {
  .bento-container {
    grid-template-columns: repeat(3, 1fr);
  }
  .row-span-2 {
    grid-row: span 1;
  }
  .col-span-2 {
    grid-column: span 1;
  }
  .bento-item {
    aspect-ratio: 1 / 1;
    width: 100%;
    min-height: auto;
  }
  .portfolio-details {
    padding-top: 40px;
  }
  .portfolio-details.dark-text {
    background-image: linear-gradient(to top, #ffffff, #ffffff00);
  }
}
@media (max-width: 1000px) {
  .bento-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .bento-item {
    min-width: 170px;
    font-size: 0.6em;
  }
  .portfolio-title small {
    font-weight: 700;
    letter-spacing: normal;
  }
}
@media (max-width: 500px) {
  .bento-item {
    font-size: 0.4em;
  }
  .portfolio-title small {
    font-size: 0.8rem;
  }
}
.centered-cta-group {
  margin-top: 50px;
  text-align: center;
}
ul.cards {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
ul.cards li {
  flex-basis: 33.333333%;
  position: relative;
}
ul.cards li:before {
  content: "";
  display: block;
  height: 450px;
  overflow: hidden;
}
ul.cards li a {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 30px;
  background: radial-gradient(
    circle at right bottom,
    var(--accent-primary),
    #000000
  );
  border-radius: 12px;
  box-shadow: 4px 12px 47px 0 rgb(0 0 0 / 10%);
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
  cursor: pointer;
  transition: all 0.3s linear;
  margin: 0 10px;
  overflow: hidden;
  z-index: 2;
  text-decoration: none;
}
ul.cards li a:hover {
  top: -10px;
  bottom: 10px;
}
ul.cards li a h3 {
  font-size: clamp(1.5em, 2.8vw, 2.2em);
  line-height: 1.15;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  padding: 0;
  margin: 30px 0;
  text-decoration: none;
  transition: all 0.3s linear;
  z-index: 2;
  align-self: flex-end;
}
ul.cards li a span.more {
  margin-top: auto;
  display: block;
  font-size: clamp(16px, 1.2vw, 22px);
  line-height: 30px;
  text-decoration: none;
  color: var(--accent-primary-hover);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: all 0.3s linear;
  z-index: 2;
}
ul.cards li a:after {
  content: "";
  width: 0;
  height: 0;
  background: var(--accent-primary);
  background: rgb(255 255 255 / 0.9);
  border-radius: 50%;
  position: absolute;
  left: -50px;
  bottom: -50px;
  transition: all 0.5s ease-in-out;
  z-index: 1;
}
@media not (pointer: coarse) {
  ul.cards li a:hover h3,
  ul.cards li a:hover span.more,
  ul.cards li a:active h3,
  ul.cards li a:active span.more,
  ul.cards li a:focus h3,
  ul.cards li a:focus span.more {
    color: #333;
  }
  ul.cards li a:hover::after,
  ul.cards li a:active::after,
  ul.cards li a:focus::after {
    width: 1500px;
    height: 1500px;
    left: -750px;
    bottom: -750px;
  }
}
@media only screen and (max-width: 900px) {
  ul.cards li:before {
    height: 370px;
  }
}
@media only screen and (max-width: 768px) {
  ul.cards {
    margin-top: 50px;
    margin-bottom: 0;
    display: block;
  }
  ul.cards li {
    width: auto;
    position: relative;
  }
  ul.cards li:before {
    height: 0;
  }
  ul.cards li a {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    right: auto;
    display: block;
    margin: 0 0 10px 0;
    transition: all 0.1s linear;
  }
  ul.cards li a:hover::after {
    width: 0;
    height: 0;
    display: none;
  }
  ul.cards li a span.more {
    margin-top: 20px;
  }
  ul.cards li a h3 {
    margin-right: 30%;
  }
}
@media only screen and (max-width: 550px) {
  ul.cards li a h3 {
    margin-right: 15%;
  }
}
ul.cards li a img {
  width: 100%;
  max-width: 70px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
  flex-shrink: 0;
  z-index: 2;
  position: relative;
  box-shadow: 0 4px 24px rgb(0 0 0 / 0.1);
  border-radius: var(--radius-md);
  transition: all 0.2s linear 0s;
}
ul.cards li a:hover img {
  box-shadow: -1px 2px 15px rgb(255 255 255 / 0.2);
  transition-delay: 0.2s;
  max-width: 90px;
}
.post-tags {
  max-width: 900px;
  margin: -40px auto 50px auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.85rem;
  z-index: 5;
}
.post-tags .tags-label {
  font-weight: 600;
  flex-basis: 100%;
  color: var(--text-primary);
}
.post-tags a {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--accent-primary);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 9999px;
  font-weight: 400;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}
.post-tags a:hover {
  background-color: var(--accent-primary-hover);
  background: var(--accent-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 25px var(--accent-glow);
}
.post-tags a:active {
  transform: translateY(0);
}
.background-radial-container {
  width: 100vw;
  height: 80%;
  position: absolute;
  left: -60%;
  top: 100vh;
  z-index: 1;
}
.background-radial {
  width: 80%;
  height: 80%;
  background-color: var(--accent-primary);
  border-radius: 50%;
  filter: blur(500px);
  transform: scale(1.1);
  opacity: 0.5;
}
.background-radial-container.right {
  width: 80vw;
  height: 200vh;
  position: absolute;
  right: -60%;
  left: auto;
  top: 130vh;
}
.background-radial-container.right .background-radial {
  background-color: var(--link-main);
  opacity: 0.3;
}
.blog-categories-list {
  list-style: none;
  padding: 70px 0;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}
.blog-categories-list a {
  padding: 10px 18px;
  color: #fff;
  border-radius: 9999px;
  transition: all 0.25s ease;
  background-color: #222;
  text-decoration: none;
  margin-bottom: 10px;
  display: inline-block;
  font-size: 0.85rem;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}
.blog-categories-list a:hover {
  background: #111;
  transform: translateY(-2px);
  box-shadow: 0 4px 25px var(--accent-glow);
}
.blog-categories-list .is-active a {
  background-color: #000 !important;
  color: #ffffff !important;
}
a.single-category-link {
  text-decoration: none;
  color: #ddd !important;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
  display: inline-block;
  opacity: 0.7;
  transition: all var(--transition-medium);
}
a:hover.single-category-link {
  opacity: 1;
}
@media only screen and (max-width: 600px) {
  .blog-categories-list,
  .blog-categories-list a {
    display: block;
  }
  .blog-categories-list {
    width: 88%;
  }
}
.post-toc {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
  margin: 0 0 2rem 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border-width: 1px;
  border-style: solid;
  border-color: rgb(from #fff r g b / calc(0.3 * alpha));
  width: 40%;
  max-width: 400px;
  float: right;
}
.post-toc-list {
  list-style-type: circle;
  margin: 0;
  padding-left: 1.5rem;
  margin-bottom: 30px;
  font-size: 0.8em;
  line-height: 1.2;
}
.post-toc-sublist {
  margin-top: 15px;
  margin-left: 15px;
  padding-left: 0;
}
.post-toc-sublist li {
  font-size: 0.95em;
  margin-left: 0;
}
.post-toc a {
  text-decoration: none;
  transition: color 0.2s ease;
  color: #eee;
}
.post-toc a:hover {
  text-decoration: underline;
}
.post-toc .toc-introduction {
  margin-bottom: 0.75rem;
}
h2#introduction {
  margin-top: 0;
}
.post-toc-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  border: 0;

  background: #fff0;
  text-align: left;
  cursor: default;
}
.post-toc-toggle .widget-title {
  margin: 0;
  font-size: 1.32em;
  letter-spacing: 0.085em;
  color: #fff;
  font-weight: 600;
  margin: 20px 0;
}
.post-toc-icon {
  display: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  color: #fff;
}
@media (max-width: 767px) {
  .post-toc-toggle .widget-title {
    font-size: 1.2em;
    font-weight: 400;
  }
  .post-toc {
    float: none;
    margin: 1rem 0 2rem 0;
    width: auto;
    max-width: none;
  }
  .post-toc-toggle {
    cursor: pointer;
  }
  .post-toc-icon {
    display: block;
  }
  .post-toc-list {
    display: none;
  }
  .post-toc.is-expanded .post-toc-list {
    display: block;
  }
  .post-toc.is-expanded .post-toc-icon {
    transform: rotate(225deg);
  }
  .post-toc-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
  }
}
