

/* -------------------------------- 

File#: _1_author
Title: Author
Descr: Author introduction card
Usage: codyhouse.co/license

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

* {
  font: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  background-color: hsl(0, 0%, 100%);
    font-family: "fieldwork", sans-serif;
    font-weight: 400;
    font-style: normal;
  color: hsl(230, 7%, 23%);
  font-size: 1rem;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  color: hsl(230, 13%, 9%);
  font-weight: 700;
}

h1 {
  font-size: 2.0736rem;
}

h2 {
  font-size: 1.728rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.2rem;
}

ol, ul, menu {
  list-style: none;
}

button, input, textarea, select {
  background-color: transparent;
  border-radius: 0;
  color: inherit;
  line-height: inherit;
  appearance: none;
}

textarea {
  resize: vertical;
  overflow: auto;
  vertical-align: top;
}

a {
  color: hsl(250, 84%, 54%);
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

@media (min-width: 64rem) {
  body {
    font-size: 1.25rem;
  }

  h1 {
    font-size: 3.051rem;
  }

    h2 {
    font-size: 2.44rem;
  }

    h3 {
    font-size: 1.75rem;
  }

    h4 {
    font-size: 1.5625rem;
  }
}

/* variables */
:root {
  /* colors */
  --ae2-color-primary-hsl: 250, 84%, 54%;
  --ae2-color-bg-hsl: 0, 0%, 100%;
  --ae2-color-contrast-high-hsl: 230, 7%, 23%;
  --ae2-color-contrast-higher-hsl: 230, 13%, 9%;
  --ae2-color-contrast-medium-hsl: 225, 4%, 47%;
  --ae2-color-accent-hsl: 342, 89%, 48%;
  --ae2-color-contrast-lower-hsl: 240, 4%, 85%;

  /* spacing */
  --ae2-space-2xs: 0.375rem;
  --ae2-space-xs: 0.5rem;
  --ae2-space-sm: 0.75rem;
  --ae2-space-md: 1.25rem;

  /* typography */
  --ae2-text-base: 1rem;
  --ae2-text-sm: 0.833rem;
  --ae2-text-sm: 0.833rem;
}

@media(min-width: 64rem){
  :root {
    /* spacing */
    --ae2-space-2xs: 0.5625rem;
    --ae2-space-xs: 0.75rem;
    --ae2-space-sm: 1.125rem;
    --ae2-space-md: 2rem;

    /* typography */
    --ae2-text-base: 1.25rem;
    --ae2-text-sm: 1rem;
    --ae2-text-sm: 1rem;
  }
}

/* icons */
.ae2-icon {
  height: var(--ae2-size, 1em);
  width: var(--ae2-size, 1em);
  display: inline-block;
  color: inherit;
  fill: currentColor;
  line-height: 1;
  flex-shrink: 0;
  max-width: initial;
}

/* component */
:root {
  --author-img-size: 4em;
}

.author {
  display: grid;
  grid-template-columns: var(--author-img-size) 1fr;
  grid-gap: var(--ae2-space-sm);
}

.author__img-wrapper {
    margin-top: 1rem;
  display: inline-block;
  border-radius: 50%;
  width: var(--author-img-size);
  height: var(--author-img-size);
  overflow: hidden;
  transition: -webkit-transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), -webkit-transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.author__img-wrapper:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.author__img-wrapper img {
  display: block;
  width: inherit;
  height: inherit;
  -o-object-fit: cover;
     object-fit: cover;
}

.author__content a {
  color: inherit;
}
.author__content a:hover {
  color: hsl(var(--ae2-color-primary-hsl));
}

.author--meta {
  --author-img-size: 3em;
  align-items: center;
  grid-gap: var(--ae2-space-xs);
}

.author--minimal {
  --author-img-size: 2.4em;
  align-items: center;
  grid-gap: var(--ae2-space-2xs);
}

.author--featured {
  --author-img-size: 6em;
  grid-template-columns: 1fr;
  justify-content: center;
  text-align: center;
}
.author--featured .author__img-wrapper {
  margin-left: auto;
  margin-right: auto;
}

.author__social {
  --ae2-size: 40px;
  width: var(--ae2-size);
  height: var(--ae2-size);
  display: flex;
  background-color: hsla(var(--ae2-color-contrast-higher-hsl), 0.1);
  border-radius: 50%;
  transition: 0.2s;
}
.author__social .ae2-icon {
  --ae2-size: 16px;
  display: block;
  margin: auto;
  color: hsl(var(--ae2-color-contrast-higher-hsl));
  transition: color 0.2s;
}
.author__social:hover {
  background-color: hsla(var(--ae2-color-contrast-higher-hsl), 0.075);
}
.author__social:hover .ae2-icon {
  color: hsl(var(--ae2-color-primary-hsl));
}

/* utility classes */
.ae2-justify-center {
  justify-content: center;
}

.ae2-flex-wrap {
  flex-wrap: wrap;
}

.ae2-gap-xs {
  gap: var(--ae2-space-xs);
}

.ae2-flex {
  display: flex;
}

.ae2-text-component :where(h1, h2, h3, h4) {
  line-height: var(--ae2-heading-line-height, 1.2);
  margin-top: calc(var(--ae2-space-md) * var(--ae2-space-multiplier, 1));
  margin-bottom: calc(var(--ae2-space-sm) * var(--ae2-space-multiplier, 1));
}

.ae2-text-component :where(p, blockquote, ul li, ol li) {
  line-height: var(--ae2-body-line-height, 1.4);
}

.ae2-text-component :where(ul, ol, p, blockquote, .ae2-text-component__block) {
  margin-bottom: calc(var(--ae2-space-sm) * var(--ae2-space-multiplier, 1));
}

.ae2-text-component :where(ul, ol) {
  padding-left: 1.25em;
}

.ae2-text-component ul :where(ul, ol), .ae2-text-component ol :where(ul, ol) {
  padding-left: 1em;
  margin-bottom: 0;
}

.ae2-text-component ul {
  list-style-type: disc;
}

.ae2-text-component ol {
  list-style-type: decimal;
}

.ae2-text-component img {
  display: block;
  margin: 0 auto;
}

.ae2-text-component figcaption {
  margin-top: calc(var(--ae2-space-xs) * var(--ae2-space-multiplier, 1));
  font-size: var(--ae2-text-sm);
  text-align: center;}

.ae2-text-component em {
  font-style: italic;
}

.ae2-text-component strong {
  font-weight: bold;
}

.ae2-text-component s {
  text-decoration: line-through;
}

.ae2-text-component u {
  text-decoration: underline;
}

.ae2-text-component mark {
  background-color: hsla(var(--ae2-color-accent-hsl), 0.2);
  color: inherit;
}

.ae2-text-component blockquote {
  padding-left: 1em;
  border-left: 4px solid hsl(var(--ae2-color-contrast-lower-hsl));
  font-style: italic;
}

.ae2-text-component hr {
  margin: calc(var(--ae2-space-md) * var(--ae2-space-multiplier, 1)) auto;
  background: hsl(var(--ae2-color-contrast-lower-hsl));
  height: 1px;
}

.ae2-text-component > *:first-child {
  margin-top: 0;
}

.ae2-text-component > *:last-child {
  margin-bottom: 0;
}

.ae2-text-component.ae2-line-height-xs {
  --ae2-heading-line-height: 1;
  --ae2-body-line-height: 1.1;
}

.ae2-text-component.ae2-line-height-sm {
  --ae2-heading-line-height: 1.1;
  --ae2-body-line-height: 1.2;
}

.ae2-text-component.ae2-line-height-md {
  --ae2-heading-line-height: 1.15;
  --ae2-body-line-height: 1.4;
}

.ae2-text-component.ae2-line-height-lg {
  --ae2-heading-line-height: 1.22;
  --ae2-body-line-height: 1.58;
}

.ae2-text-component.ae2-line-height-xl {
  --ae2-heading-line-height: 1.3;
  --ae2-body-line-height: 1.72;
}

.ae2-max-width-adaptive-sm {
  max-width: 32rem;
}

@media(min-width: 48rem) {
  .ae2-max-width-adaptive-sm {
    max-width: 48rem;
  }
}

.ae2-container {
  width: calc(100% - 2*var(--ae2-space-md));
  margin-left: auto;
  margin-right: auto;
}

.ae2-color-contrast-medium {
  --ae2-color-o: 1;
  color: hsla(var(--ae2-color-contrast-medium-hsl), var(--ae2-color-o, 1));
}

.ae2-text-sm {
  font-size: var(--ae2-text-sm);
}

.ae2-text-base {
  font-size: var(--ae2-text-base);
}

.ae2-text-gap-2xs {
  --ae2-space-multiplier: 0.25;
}



/* -------------------------------- 

Buttons 

-------------------------------- */

.cd-btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375em;
  font-size: 1em;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  transition: 0.2s;
  will-change: transform;
}

.cd-btn:focus-visible {
  outline: none;
}

.cd-btn:active {
  transform: translateY(2px);
}

.cd-btn--primary {
  background: hsl(250, 84%, 54%);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.15), 
              0 1px 3px hsla(250, 84%, 38%, 0.25), 
              0 2px 6px hsla(250, 84%, 38%, 0.1), 
              0 6px 10px -2px hsla(250, 84%, 38%, 0.25);
  color: hsl(0, 0%, 100%);
}

.cd-btn--primary:hover {
  background: hsl(250, 84%, 60%);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.15), 
              0 1px 2px hsla(250, 84%, 38%, 0.25), 
              0 1px 4px hsla(250, 84%, 38%, 0.1), 
              0 3px 6px -2px hsla(250, 84%, 38%, 0.25);
}

.cd-btn--primary:focus-visible {
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.15), 
              0 1px 2px hsla(250, 84%, 38%, 0.25), 
              0 1px 4px hsla(250, 84%, 38%, 0.1), 
              0 3px 6px -2px hsla(250, 84%, 38%, 0.25), 
              0 0 0 2px hsl(0, 0%, 100%), 
              0 0 0 4px hsl(250, 84%, 54%);
}

/* -------------------------------- 

Icons 

-------------------------------- */

.cd-icon {
  --size: 1em;
  font-size: var(--size);
  height: 1em;
  width: 1em;
  display: inline-block;
  color: inherit;
  fill: currentColor;
  line-height: 1;
  flex-shrink: 0;
  max-width: initial;
}

.cd-icon use { /* SVG symbols - enable icon color corrections */
  color: inherit;
  fill: currentColor;
}

/* -------------------------------- 

Component 

-------------------------------- */

.card {
  background-color: hsl(0, 0%, 100%);
  box-shadow: 0 0 0 1px hsla(230, 13%, 9%, 0.05),
              0 0.3px 0.4px hsla(230, 13%, 9%, 0.02),
              0 0.9px 1.5px hsla(230, 13%, 9%, 0.045),
              0 3.5px 6px hsla(230, 13%, 9%, 0.09);
  border-radius: 0.375em;
  overflow: hidden;
  display: flex;
  margin-bottom: 1rem;
}

.card__img-wrapper img {
  display: block;
}

.card__content {
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
  text-align: left;
}

.card__description {
  font-size: .9rem;
  line-height: 1.5;
  color: hsl(225, 4%, 47%);
}

.card__btn {
  width: 100%;
  font-size: 0.9375rem;
}

/* --link variation */
.card--link {
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}

.card--link:hover {
  box-shadow: 0 0 0 1px hsla(230, 13%, 9%, 0.05),
              0 0.9px 1.25px hsla(230, 13%, 9%, 0.025),
              0 3px 5px hsla(230, 13%, 9%, 0.05),
              0 12px 20px hsla(230, 13%, 9%, 0.09);
}

.card--link .card__img-wrapper {
  position: relative;
  width: 20%;
  height: 90px;
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;    
}

.card--link .card__img-wrapper::after { /* overlay layer */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: hsla(230, 13%, 9%, 0.6);
  opacity: 0;
  transition: 0.2s;
}

.card__link-icon-wrapper {
  position: absolute;
  z-index: 1;
  width: 64px;
  height: 64px;
  top: calc(50% - 32px);
  left: calc(50% - 32px);
  background-color: hsla(0, 0%, 100%, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: 0.2s;
}

.card__link-icon-wrapper .cd-icon {
  --size: 32px;
  display: block;
  color: hsl(230, 13%, 9%);
}

.card--link:hover .card__img-wrapper::after {
  opacity: 1;
}

.card--link:hover .card__link-icon-wrapper {
  opacity: 1;
  transform: scale(1);
}


.aux-logo {
    height: 32px;
    width: auto;
}

.br-logo {
    height: 25px;
    width: auto;
}


.card__links-list {
    display: flex;
    background: url(https://blonderesin.com/wp-content/uploads/2026/05/amber-wolfy-painting.jpg) no-repeat;
    background-size: 75%;
    background-position: left center;
    margin-bottom: 1rem;
}

.card__links-list.img-right {
    background: url(https://auxdesign.io/oapsoamt/2025/08/video-call.jpg) no-repeat;
    background-size: 75%;
    background-position: right center;    
}

.links-list {
    border-radius: 0.375em;
    text-align: left;
    margin: 1rem 0 1rem 40%;
    padding: 1rem 1rem .5rem;
    background-color: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.card__links-list.img-right .links-list {
    margin: 1rem 30% 1rem 0;
}

@media(min-width: 768px) {
    .links-list {
        margin: 1rem 0 1rem 60%;
    }
}

.links-list a {
    text-decoration: underline;
    color: inherit;
    font-size: 0.9em;
}

.links-list li {
    line-height: 1.3;
    margin-bottom: .75rem;
}

.card__links-list img {
    width: 40%;
}

.linktree {
    margin-bottom: 1rem;
}

.linktree a {
    font-size: .8em;
    color: #ccc;
}