/*
break-0: 768px;
break-1: 1024px;
break-2: 1260px;
**/

:root {
    --color-1: black;
    --color-link-interact: #FCB35E;
    --fsz-body: 20px;
    --border-radius-std: 10px;
    --textured-bg: url(images/nnnoise.svg);
}

body {
    background-image: var(--textured-bg);
    margin: 0;
    font-family: "Sofia Sans", sans-serif;
}

p, *:is(h1, h2, h3, h4, h5, h6), a, ul, li {
    margin: 0;
}

p {
    font-size: 18px;
}
@media screen and (min-width: 1024px) {
    p, li {
        font-size: var(--fsz-body);
    }
}
p + p,
p + *:is(h1, h2, h3, h4, h5, h6),
*:is(h1, h2, h3, h4, h5, h6) + p,
*:is(h1, h2, h3, h4, h5, h6) + *:is(h1, h2, h3, h4, h5, h6),
ul + *:is(h1, h2, h3, h4, h5, h6),
ul + p {
    margin-top: 20px;
}

img {
    max-width: 100%;
    border-radius: var(--border-radius-std);
}

iframe {
    color-scheme: dark !important;
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--border-radius-std);
}

#home-link {
    display: inline-block;
    position: absolute;
    width: 30px;
    top: 30px;
    height: 30px;
    left: 15px;
}
#home-link svg {
    width: 100%;
}
a.active {
    color: var(--color-link-interact);
}
@media screen and (min-width: 1024px) {
    #home-link {
        left: 105px;
    }
}

blockquote {
    margin: 0;
    padding: 15px;
    background-color: #efefef;
    font-size: var(--fsz-body);
    border-radius: var(--border-radius-std);
}
blockquote + blockquote {
    margin-top: 15px;
}

.text-wrapper {
    max-width: 950px;
    margin: 0 auto;
}

.media-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.aspect-profile {
    aspect-ratio: 2/3;
}

.container {
    width: calc(100% - 30px);
    max-width: 500px;
    display: block;
    margin: 0 auto;
    padding: 0 15px;
}
.container__squeezed {
    max-width: 850px;
    margin: 0 auto;
}
@media screen and (min-width: 768px) {
    .container {
        max-width: 650px;
    }
}
@media screen and (min-width: 1024px) {
    .container {
        max-width: 1200px;
    }
}
@media screen and (min-width: 1260px) {
    .container {
        max-width: 1800px;
    }
}


header {
    background-image: var(--textured-bg);
    background-color: var(--color-1);
    padding: 20px 0;
    position: relative;
    min-height: 50px;
}
header ul {
    list-style-type: none;
    padding: 0;
}
header ul a {
    color: white;
    text-decoration: none;
}
header ul a:hover, 
header ul a:focus {
    color: var(--color-link-interact);
}
@media screen and (min-width: 1024px) {
    header .container {
        display: flex;
        justify-content: center;
    }
    header ul {
        text-align: center;
        display: inline-block;
    }
    header ul li {
        display: inline-block;
    }
    header ul li a {
        display: inline-block;
        padding: 15px 20px;
        font-size: var(--fsz-body);
    }
}

#menu-toggle {
    position: absolute;
    right: 15px;
    top: 30px;
    background-image: url(images/menu.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

#menu-toggle.showing {
    background-image: url(images/close.png);
}

#menu-desktop {
    display: none;
}

#menu-mobile {
    display: none;
    text-align: center;
    font-size: var(--fsz-body);
    padding-top: 40px;
}
#menu-mobile a {
    display: block;
    padding: 10px 20px;
}
#menu-mobile li + li {
    margin-top: 15px;
}
#menu-mobile.show {
    display: block;
}

@media screen and (min-width: 1024px) {
    .mobile {
        display: none;
    }
    #menu-mobile {
        display: none!important;
    }
    #menu-desktop {
        display: block;
    }
}


#page-banner {
    width: 100%;
    background-color: var(--color-1);
    background-image: var(--textured-bg);
}
#page-banner .page-banner__inner {
    position: relative;
    top: -30px;
}
#page-banner.menu-is-showing {
    display: none;
}
@media screen and (min-width: 1024px) {
    #page-banner {
        height: 15vh;
    }
    #page-banner.menu-is-showing {
        /* Even with this class, this element must show on tablet and above. */
        display: block;
    }
    #page-banner .page-banner__inner  {
        top: 0;
    }
}


#page-banner > .container {
    height: 100%;
}

@media screen and (min-width: 1024px) {
    .page-banner__inner {
        height: 100%;
        display: flex;
        align-content: center;
        justify-content: center;
        justify-items: center;
        align-items: center;
    }
}

@media screen and (min-width: 1024px) {
    .page-banner__title-wrapper {
        position: relative;
        top: -25px;
    }
    #page-banner__underline {
        position: absolute;
        width: 100%;
        top: 50px;
    }
}

#page-banner__title {
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: 40px;
    color: white;
}
@media screen and (min-width: 1024px) {
    #page-banner__title {
        font-size: 60px;
    }
}
@media screen and (min-width: 1260px) {
    #page-banner__title {
        font-size: 80px;
    }
}

#page-content {
    padding-top: 20px;
}
@media screen and (min-width: 768px) {
    #page-content {
        padding-top: 60px;
    }
}

.content-section + .content-section,
.content-section + .separator-section,
.separator-section + .content-section {
    margin-top: 40px;
}

.content-section__inner {
    max-width: 1000px;
    margin: 0 auto;
}
.content-section__inner.vert-align-start {
    align-items: start;
}
.content-section__inner.stacked .content-section__side {
    padding-top: 15px;
}
.content-section__side {
    margin-top: 15px;
}
@media screen and (min-width: 1024px) {
    .content-section__inner:not(.stacked) {
        display: grid;
        grid-template-columns: 70% 30%;
    }
    .content-section__inner:not(.stacked) .content-section__text {
        padding-right: 50px;
    }

    .content-section:nth-child(even) .content-section__inner:not(.stacked) {
        grid-template-columns: 30% 70%;
    }
    .content-section__side {
        align-content: center;
        margin-top: 0;
    }
    .content-section:nth-child(even) .content-section__inner:not(.stacked) .content-section__text {
        order: 2;
        padding-left: 50px;
        padding-right: 0;
    }

    .content-section__text {
        align-content: center;
    }
}

@media screen and (min-width: 1024px) {
    .content-section__gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: 1200px;
        justify-self: center;
        margin: 0 auto;
    }

    .other-specialities {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}


#content-section__specialities {
    margin-top: 15px;
}

.speciality {
    position: relative;
}
.speciality + .speciality {
    margin-top: 20px;
}
@media screen and (min-width: 1024px) {
    .speciality {
        display: flex;
        align-self: stretch;
        flex-direction: column;
    }
    .speciality + .speciality {
        margin-top: 0;
    }
}

.speciality-content {
    padding: 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border: 2px solid rgb(221, 220, 220);
    border-top: 0;
    background-color: white;
}
@media screen and (min-width: 1024px) {
    .speciality-content {
        height: 100%;
    }
}
.speciality-image {
    aspect-ratio: 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

footer {
    margin-top: 50px;
    padding: 30px 0;
    text-align: center;
    background-image: var(--textured-bg);
    background-color: var(--color-1);
    color: white;
}

#writer-media {
    max-width: 950px;
}
#writer-media iframe {
    aspect-ratio: 16/9;
}

table {
    text-align: left;
    font-size: 16px;
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}
tr:nth-child(even) td {
    background-color: #efefef;
}
td, th {
    padding: 5px 10px;
    border-width: 1px;
    border-style: solid;
    height: 70px;
    border-color: rgb(222, 222, 223);
}
td {
    background-color: #fff;
}
th {
    height: auto;
    background-color: #efefef;
    text-transform: uppercase;
}
.table-wrapper {
    overflow-x: auto;
    margin-top: 15px;
    margin-bottom: 60px;
}
@media screen and (min-width: 1024px) {
    table {
        font-size: 18px;
    }
    .table-wrapper {
        overflow-x: visible;
    }
}

#footer-links-links {
    list-style-type: none;
    padding: 0;
}
#footer-links-links a {
    color: white;
    padding: 5px 10px;
    text-decoration: none;
}
#footer-links-links a:hover,
#footer-links-links a:focus {
    color: var(--color-link-interact);
}

@media screen and (min-width: 1024px) {
    #footer-links-links li {
        display: inline-block;
    }
}

#actor-headshot {
    margin-bottom: 10px;
}

.read-more {
    font-size: var(--fsz-body);
    display: inline-block;
    margin-top: 5px;
}

video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}