@font-face {
    font-family: Satoshi;
    src: url(webfonts/Satoshi-Variable.woff2);
  }
@font-face {
    font-family: Bodoni-moda;
    src: url(webfonts/bodoni-moda.woff2);
  }

body {
    font-family: Satoshi;
    color: black;
    font-weight: 200;
}

a,
a:visited {
    text-decoration: none;
    color: black;
}

/* STRUCTURE */
.site-header,
.site-main,
.site-footer {
    padding: 1rem;
}


.site-header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
}


/* TYPOGRAHY */
h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.03em;
    font-family: Bodoni-moda;
    font-weight: 500;
}

h1 {
    font-size: clamp(1.8rem, -0.2556rem + 6.5778vw, 5.5rem);
}

.has-x-large-font-size {
    font-size: clamp(1.8rem, -0.2556rem + 6.5778vw, 5.5rem) !important;
    line-height: 1 !important;
    letter-spacing: -0.03em;
}

.wp-block-button__link {
    font-weight: bold;
    letter-spacing: -0.03em;
    line-height: 1;
    border-radius: 0;
    background-color: black;
}

.wp-block-button__link::after {
    content: "→";
    padding-left: 0.75em;
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.wp-block-button__link:hover::after {
    transform: translateX(5px);
}

p.site-title,
h1.site-title {
    margin: 0;
}

.site-title a {
    font-size: clamp(1.8rem, -4.7rem + 20.8vw, 8rem);
    line-height: 1;
    letter-spacing: -0.03em;
    font-family: Bodoni-moda;
    font-weight: 400;
}

/* MAIN NAVIGATION */
.main-navigation li {
    padding-right: 2em;
}

.main-navigation li a {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

/* PORTRAITS GRID */
.portraits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: -1rem;
    margin-right: -1rem;

}

.portraits-grid article {
    width: 30%;
    margin: 1rem 1rem 2rem 1rem;
    position: relative;
    background-color: black;
    overflow: hidden;
}

.portraits-grid article h3 {
    margin: 0;
    font-size: clamp(1.25rem, -0.2778rem + 4.8889vw, 2.8rem);
    line-height: 1;
    position: absolute;
    color: white;
    left: 0.25em;
    bottom: 0.25em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease-in-out;
    transform: translateY(0);
}

.portraits-grid article a img {
    filter: grayscale(100%);
    transition: all 0.3s ease-in-out;
    opacity: 0.8;
    display: block;
    width: 100%;
}

/* .portraits-grid article a::after {
    content: "→";
    color: white;
    opacity: 0;
    font-size: 12rem;
    line-height: 1;
    font-weight: 100;
    position: absolute;
    bottom: 0;
    right: 0em;
    display: inline-block;
    transition: transform 0.6s ease-in-out;
    transform: translateX(-50%);
}

.portraits-grid article a:hover::after {
    transform: translateX(0);
    opacity: 1;
} */

.portraits-grid article a:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

.portraits-grid article a:hover h3 {
    opacity: 0;
    transform: translateY(0.25em);
}

h1,
h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

h1 span,
h3 span {
    font-size: 0.3em;
    /* transform: translateY(-0.8em); */
    display: inline-block;
    padding-left: 0.5em;
    letter-spacing: -0.03em;
    font-family: Satoshi;
}

/* HOME */

.home .entry-header {
    display: none;
}

/* SIDEBAR */
#secondary.widget-area {
    padding: 1rem;
}

#secondary.widget-area .widget {
    margin-bottom: 0rem;
    max-width: 400px;
    margin: 0 auto 0 0;
}

input[type="search"],
input[type="search"]:focus,
input[type="search"]:focus-visible {
    -webkit-appearance: textfield;
    outline-offset: -2px;
    background-color: transparent;
    color: black !important;
    border: 0;
    border-bottom: 1px solid black;
    border-radius: 0;
}

input[type="search"]::placeholder {
    color: black !important;
}

.wp-block-search__button.has-icon {
    line-height: 0;
    background-color: transparent;
    color: black;
    border: 0;
    padding: 0.2em 0.1em;
}

/* SEARCH RESULTS */
.search article {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.search h1 {
    font-weight: 400;
}

.search h1 span {
    font-size: 1em;
    font-weight: bold;
}

.search .search-results-thumbnail {
    width: 20%;
}

.search .search-results-thumbnail img {
    display: block;
}

.search-results-content-text {
    display: flex;
    align-items: baseline;
    justify-content: space-between;

    width: 75%;
}

.search .search-results-title {
    width: 30%;
}

.search .search-results-title h2 {
    margin-top: 0;
    line-height: 1;
}

.search .search-results-excerpt {
    width: 65%;
}


.search .search-results-excerpt p,
.search .search-results-excerpt .entry-summary {
    margin-top: 0;
}

.venobox img {
    filter: grayscale(100%);
    transition: all 0.3s ease-in-out;
}

.venobox:hover img {
    filter: grayscale(0);
}

/* Wrapper needs position for the pseudo-element */
a.venobox[href*=".mp4"] {
    position: relative;
    display: inline-block;
}

/* Play icon overlay */
a.venobox[href*=".mp4"]::after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    background: rgba(0, 0, 0, 0.35);
    /* border: 3px solid white; */
    border-radius: 50%;
    opacity: 0.2;
    transition: opacity 0.3s ease-in-out;
}

/* Show on hover */
a.venobox[href*=".mp4"]:hover::after {
    opacity: 1;
}

/* Css short-code */
.wp-block-media-text {
    box-sizing: border-box;
    direction: ltr;
    display: grid;
    grid-template-columns: 50% 1fr;
    grid-template-rows: auto;
  }
.wp-block-media-text > .wp-block-media-text__media {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media {
    height: 100%;
    min-height: 250px;
    position: relative;
  }
  .wp-block-media-text.is-image-fill-element > .wp-block-media-text__media img {
    height: 100%;
    object-fit: cover;
    position: absolute;
    width: 100%;
  }

  .wp-block-media-text > .wp-block-media-text__content {
    direction: ltr;
    grid-column: 2;
    grid-row: 1;
    padding: 0 8%;
    word-break: break-word;
  }