/**
* TABLE OF CONTENTS
root variables
themes
fonts
utility classes
element styles
header
content
blocks
global styles
== responsive styles
== element styles
== headbar
== navigation
**/

/* root variables */
:root,
:host {
    --border-style: 0.125em dotted currentColor;

    /* colors */
    --color-background: #d97f2b;
    --color-body-text: #ededed;

    --color-accent: hsl(13, 82%, 29%);
    --color-accent-2: hsl(161, 43%, 37%);
    --color-hookers-green: #30735E;
    --color-body-text: #000000;

    --color-background: #DAA520;

    --color-body-text: #232323;

    --color-links: inherit;

    /* fonts */
    --font-body: "Barlow", sans-serif;
}

/* fonts */
@font-face {
    font-family: "Teko";
    src: url("/assets/fonts/teko/Teko-Light.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Teko";
    src: url("/assets/fonts/teko/Teko-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Teko";
    src: url("/assets/fonts/teko/Teko-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Teko";
    src: url("/assets/fonts/teko/Teko-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Teko";
    src: url("/assets/fonts/teko/Teko-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Mexcellent";
    src: url("/assets/fonts/mexcellent/mexcellent rg.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Barlow";
    src: url("/assets/fonts/Barlow/Barlow-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Barlow";
    src: url("/assets/fonts/Barlow/Barlow-Italic.ttf") format("truetype");
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Barlow";
    src: url("/assets/fonts/Barlow/Barlow-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Barlow";
    src: url("/assets/fonts/Barlow/Barlow-BoldItalic.ttf") format("truetype");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* utility classes */
.font-family-mex-rg {
    font-family: "Mexcellent", sans-serif;
}

/* display */
.display-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.border-radius-8 img {
    border-radius: 0.5rem;
}

.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
    white-space: nowrap;
}

.p-0 {
    padding: 0;
}

/* lists */
ul[role="list"],
ol[role="list"] {
    list-style: none;
}

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

html {
    box-sizing: inherit;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.ProseMirror,
body {
    background-color: var(--color-background);
    color: var(--color-body-text);
    font-family: var(--font-body);
}

a {
    color: var(--color-links);
}

dd {
    margin-block-start: -1ex;
}

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

figure img {
    margin: auto;
    max-width: 100%;
    height: unset;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

figcaption {
    margin-block-start: 0.25rem;
    font-size: 0.875rem;
    font-style: italic;
}

img {
    background-size: contain;
}

hr {
    margin-block: 3rem;
    width: 50%;
}

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

:is(h1, h2, h3, h4, h5, h6) {
    font-family: "Teko", sans-serif;
    letter-spacing: .125rem;
    font-weight: 500;
    font-variant: small-caps;
}

:is(h2, h3, h4, h5, h6) a {
    text-decoration: none;
}

:is(h2, h3, h4, h5, h6) a:hover {
    text-decoration: underline;
    text-decoration-thickness: 0.3ex;
}

/* header */
body:not(.home) .content-wrapper {
    margin-block-start: 2em;
}

.site-header,
.site-footer {
    padding: .5rem;
    background-color: inherit;
    clear: both;
}

.site-header {
    /* border-block-end: 1px solid var(--color-body-text); */
    letter-spacing: .125em;
}

.site-header nav {
    gap: 0.5rem;
}

.site-header nav ul {
    margin: auto 0;
    list-style-type: none;
    gap: 0.25rem 1rem;
}

.site-header a {
    text-decoration: none;
}

.site-title {
    font-size: 1.5rem;
    text-transform: uppercase;
}

.site-title a[aria-current="page"] {
    text-decoration: none;
}

a[aria-current="page"] {
    text-decoration: underline;
}

:is(.site-header a, a):active {
    position: relative;
    inset-block-start: 0.2ex;
}

/* content */
.content-wrapper {
    margin: 0 auto;
    padding: 0 1.5rem 2rem 1.5rem;
    width: 100%;
    max-width: 56.25rem;
}

.ProseMirror {
    padding: 0 1.5rem;
}

/* blocks */

a.cms-block-call-to-action,
.cms-block-call-to-action a {
    padding: 1ex;
    background-color: var(--color-body-text);
    color: #ededed;
    border-radius: .5rem;

    background-color: var(--color-accent);
    /* color: var(--color-body-text); */
    border-radius: 1rem;

    display: block;
    text-decoration: none;
    text-align: center;
}

.cms-block-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cms-block-cover .cover__content {
    padding: .5rem;
}

.columns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.column {
    flex: 1 0 100%;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
    gap: 0.5em;
}

.gallery figure,
.masonry figure {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
}

.gallery figcaption,
.masonry figcaption {
    padding: 0 .5em;
    position: absolute;
    inset-block-end: 0;
    background-color: rgb(0 0 0 /.75);
    color: #fff;
    font-style: normal;
}

.gallery figure img {
    aspect-ratio: 16 / 9;
    object-position: center;
    object-fit: cover;
}

.gallery.headshots figure {
    display: flex;
    flex-direction: column;
    justify-content: start;
}


.gallery.headshots img {
    aspect-ratio: 8 / 10;
}

.has-modal figure img:hover {
    box-shadow: 0 0 2em -1rem #555;
    cursor: zoom-in;
}

.social-icons {
    gap: 0.5rem;
}

.social-icons a {
    display: block;
    width: 2rem;
    height: 2rem;
}

.social-icons svg {
    height: 100%;
    width: 100%;
    fill: currentColor;
}

@media (hover: hover) {
    .social-icons a:hover {
        transform: scale(1.1);
    }
}

/** ===== page-specific ===== */
@media only screen and (min-width: 50rem) {
    #home-cms-block-cover-1 {
        background-attachment: fixed;
    }
}

.home-title {
    position: absolute;
    top: 8.5rem;
    left: 0;
    right: 0;
    text-align: center;
    max-width: unset;
    color: white;
}

.home .site-header {
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 10;
}

.home .content-wrapper {
    max-width: unset;
}

.masonry figure {
    margin-block-start: .25rem;
    width: calc(50% - .25rem);
}

@media only screen and (min-width:782px) {
    .masonry figure {
        width: calc(33.33% - .25rem);
    }
}

.is-style-showcase {
    --flow-space: .25em;
    grid-template-columns: repeat(auto-fill, minmax(min(18rem, 50%), 1fr));
    align-items: start;
}

.is-style-mini-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    --min-size: clamp(8rem, 20%, 10rem);
    grid-template-columns: repeat(auto-fill, minmax(var(--min-size), 1fr));
}

/* move to file, catch overflow */

.is-style-mini-gallery figure {
    flex-basis: var(--min-size);
    flex-shrink: 0;
}


@media only screen and (min-width: 782px) {
    .home-title {
        position: absolute;
        top: 15rem;
        left: unset;
        right: 4rem;
        font-size: clamp(3rem, 10vw, 5rem);
    }
}

figure.rounded-image img,
img.rounded-image {
    border-radius: 50%;
}

/* media queries */
@media only screen and (min-width: 600px) {
    .float-left {
        margin: 0 1.25ch .5ex 0;
    }

    /* float */
    .float-left {
        float: left;
    }

    .float-right {
        float: right;
    }

    .clearfix {
        clear: both;
    }

    /* width */
    .width-50 {
        width: 50%;
    }
}

@media only screen and (min-width: 768px) {

    /* blocks */
    .columns {
        flex-wrap: nowrap;
    }

    .column {
        flex: 1 1 0;
    }
}
