/*
Theme Name: ARMC
Author: Rob Hori
Author URI: https://rencreative.design/
Description: Theme for the ARMC / Kaiser Permanente General Surgery site.
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
Text Domain: armc
*/
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/**
 * Variables
 *
 * @section variable
 */
:root
{
    --colour__1: #0037cd;
    --colour__2: #cd9600;
    --colour__3-1: #cd3000;
    --colour__3-2: #9dcd00;
	--colour__gray-1: #343444;
	--colour__gray-2: #898999;
	--colour__gray-3: #dedeee;
    --font-main: Cantarell, Verdana, sans-serif;
    --font-presentation: 'Fjalla One', 'Arial Narrow', sans-serif;
}

/**
 * Block elements
 *
 * @section block
 */
body,
html
{
    background: var(--colour__1);
    color: #fff;
    font: 16px/1.5 Cantarell, Verdana, sans-serif;
    /* 16 * .0625 = 1 */
    letter-spacing: .0625em;
    margin: 0;
    padding: 0;
	scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6
{
    font-family: 'Fjalla One', 'Arial Narrow', sans-serif;
}

h1
{
    color: var(--colour__2);
    /* 16 * 2.5 = 40 */
    font-size: 2.5em;
    /* 40 * 1.2 = 48 */
    line-height: 1.2;
    /* 40 * .6 = 24 */
    margin-bottom: .6em;
}

h2
{
    color: var(--colour__3-1);
    /* 16 * 2 = 32 */
    font-size: 2em;
    /* 32 * 1.5 = 48 */
    line-height: 1.5;
    /* 32 * .75 = 24 */
    margin-bottom: .75em;
}

h3
{
    color: var(--colour__3-1);
    /* 16 * 1.5 = 24 */
    font-size: 1.5em;
    line-height: 1;
    margin-bottom: 1em;
}

h4,
h5,
h6
{
    color: var(--colour__3-1);
    /* 16 * 1.5 = 24 */
    margin-bottom: 1.5em;
}


figure > img
{
	display: block;
}

figcaption
{
	background: var(--colour__2);
	color: #fff;
    /* 16 * .75 = 12 */
    font-size: .75em;
	/* 12 * .5 = 6 */
	padding: .5em;
}

hr,
.wp-block-separator
{
	background: var(--colour__gray-3);
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

p
{
    margin-bottom: 1.5em;
}

table
{
	width: 100%;
}

tr:nth-child(even)
{
	background: var(--colour__gray-3);
	color: #000;
}

td,
th
{
	box-sizing: border-box;
	/* 16 * .75 = 12 */
	padding: .75em;
}

thead
{
	border-bottom: double 3px var(--colour__2);
	/* 16 * 1.5 = 24 */
	font-size: 1.5em;
	font-weight: bold;
	line-height: 1;
}

tfoot
{
	border-top: solid 1px var(--colour__2);
	color: var(--colour__gray-2);
	/* 16 * .75 = 12 */
	font-size: .75em;
	/* 12 * 2 = 24 */
	line-height: 2;
}

/**
 * Inline elements
 *
 * @section inline
 */
abbr
{
    text-decoration: underline dotted;
}

b,
strong
{
    font-weight: bold;
}

img
{
    height: auto;
    max-width: 100%;
}

em,
i
{
    font-style: italic;
}

small,
.smaller
{
    /* 16 * .75 = 12 */
    font-size: .75em;
}


/**
 * Anchors
 *
 * @section anchors
 */
a
{
    color: var(--colour__1);
    transition: color .3s;
}

    a:hover
    {
        color: var(--colour__3-2);
    }

/**
 * User interface
 *
 * @section ui
 */
/* Content wrappers **/
.wrapper,
.wrapper-half,
.wrapper-narrow,
.mission__title > .wp-block-group__inner-container
{
    box-sizing: border-box;
    margin: 0 auto;
    /* 16 * 30 = 480 */
    max-width: 30em;
}

/** Padding and margins **/
.pad,
.pad-b,
.pad-v
{
    /* 16 * 1.5 = 24 */
    padding-bottom: 1.5em;
}

.pad,
.pad-h,
.pad-l
{
    /* 16 * 1.5 = 24 */
    padding-left: 1.5em;
}

.pad,
.pad-h,
.pad-r
{
    /* 16 * 1.5 = 24 */
    padding-right: 1.5em;
}

.pad,
.pad-t,
.pad-v
{
    /* 16 * 1.5 = 24 */
    padding-top: 1.5em;
}

.mrgn,
.mrgn-b,
.mrgn-v
{
    /* 16 * 1.5 = 24 */
    margin-bottom: 1.5em;
}

.mrgn,
.mrgn-h,
.mrgn-l
{
    /* 16 * 1.5 = 24 */
    margin-left: 1.5em;
}

.mrgn,
.mrgn-h,
.mrgn-r
{
    /* 16 * 1.5 = 24 */
    margin-right: 1.5em;
}

.mrgn,
.mrgn-t,
.mrgn-v
{
    /* 16 * 1.5 = 24 */
    margin-top: 1.5em;
}

/* Large vertical white-space */
.spacer__inner,
.spacer__inner-t
{
    /* 16 * 4.5 = 72 */
    padding-top: 4.5rem;
}

.spacer__inner,
.spacer__inner-b
{
    /* 16 * 4.5 = 72 */
    padding-bottom: 4.5rem;
}

.spacer__outer,
.spacer__outer-t
{
    /* 16 * 4.5 = 72 */
    margin-top: 4.5rem;
}

.spacer__outer,
.spacer__outer-b
{
    /* 16 * 4.5 = 72 */
    margin-bottom: 4.5rem;
}

/** Alignment and positioning **/
.align-c
{
    text-align: center;
}

.align-l
{
    text-align: left;
}

.align-r
{
    text-align: right;
}

.pos-c,
.pos-l,
.pos-r
{
    display: block;
}

/* Too thin for other floating left or right,
so just center stuff at this size*/

.pos-c,
.pos-l,
.pos-r
{
    margin: 0 auto 1.5em;
}

.clear-both
{
    clear: both;
}

.clear-l
{
    clear: left;
}

.clear-r
{
    clear: right;
}

.clear-self::after
{
    clear: both;
    content: '';
    display: table;
}

/** Generic decorations **/

.rounded
{
	border-radius: .75em;
	overflow: hidden;
}

.visualRule > img
{
	/* 16 * 10 = 160 */
	height: 10em;
	object-fit: cover;
	width: 100%;
}

/* Replaced default WordPress dropcap. Because it sucked. */
.has-drop-cap:not(:focus)::first-letter
{
	float: left;
	/* 16 * 3 = 48 */
	font-size: 3em;
	line-height: 1;
	margin: 0 .1em 0 0;
	white-space: normal;
}

/**
 * Page elements
 *
 * @section ui
 * @subsection pageElements
 */

 /** Header **/
.header
{
    box-shadow: 0 .5em .5em rgba(0,0,0,.25);
    position: relative;
    z-index: 10;
}

.header > .wrapper
{
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.header__logo
{
    flex: 0 0 60%;
    margin: 0;
}

    .header__logo img
    {
        display: block;
    }

.header__social
{
	display: none;
}

/** Main navigation **/
.menu__list
{
    background: var(--colour__3-2);
    /* 16 * .5 = 8 */
    border-radius: .5em;
    box-shadow: -.5em .5em .5em rgba(0,0,0,.5);
    list-style: none;
	max-height: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    right: 0;
    text-transform: uppercase;
    transition: max-height .3s;
	z-index: 10;
}

    .menu__list li:first-child
    {
        padding-top: .75em;
    }

        .menu__list li:last-child a
        {
            border: 0;
        }

    .menu__list a
    {
        border-bottom: 1px solid #fff;
        color: #fff;
        display: block;

        /* 16 * .75 = 12
        16 * 1.5 = 24 */

        padding: .75em 1.5em;
        text-align: center;
        text-decoration: none;
    }

		.menu__list a:hover
		{

		}

	/** WP class **/
	.menu__list > .current_page_item > a::before
	{
		content: '\f0da\0020';
		font-family: 'Font Awesome 5 Free';
		font-weight: 900;
	}

/** Dropdown menu for small screens **/
.menu__button
{
    color: var(--colour__3-2);
}

.menu__trigger
{
    display: none;
}

    .menu__trigger:checked + .menu__list
    {
        max-height: 100vh;
    }

/** Main content **/
.content
{
    background: #fff;
    color: var(--colour__gray-1);
    letter-spacing: 0;
}

/**** DEPRECIATED ***/
/** Splash image groundwork **/
.splash
{
    background-position: center center;
	background-repeat: no-repeat;
    background-size: cover;
    /* 16 * 12 = 192 */
    height: 12em;
    position: relative;
}

	.home .splash
	{
		/* 16 * 18 = 288 */
		height: 18em;
	}

.splash__title,
.mission__title
{
    background: rgba(0,0,0,.667);
	bottom: 1.5em;
    position: absolute;
    width: 100%;
	z-index: 5;
}

.mission__title
{
	bottom: auto;
	top: 1.5em;
}


    .splash__title h1,
	.mission__title h2
    {
        color: var(--colour__2);

        /* 40 * .3 = 12
        40 * .6 = 24 */

        margin: .3em .6em;
		text-align: right;
    }

/*=== Top page slides ===*/
.splash__slide
{
	background-size: cover;
	background-position: center;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

@keyframes fadeOut {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.splash__slide.out
{
	animation: .75s fadeOut forwards;
}

.splash__slide.in
{
	animation: .75s fadeIn forwards;
	opacity: 0;
}

.splash__slides
{
	height: 100%;
	width: 100%;
}

.js .splash__slides
{
	visibility: hidden;
}

	.js.slideInt .splash__slides
	{
		visibility: visible;
	}

/** Footer **/
.footer
{
    box-shadow: 0 -.5em .5em rgba(0,0,0,.25);
    color: #fff;
    position: relative;
    z-index: 5;
}

.contact__info a
{
	color: var(--colour__3-2);
	text-decoration: none;
}

	.contact__info a:hover
	{
		color: #fff;
	}

.info__address
{
    font-style: normal;
	/* 16 * .75 = 12 */
	margin-top: .75em;
    text-align: center;
}

.contact__img
{
    width: 50%;
}

.footer__nav
{
	/* 16 * 1.5 = 24 */
    margin-top: 1.5em;
}

    .footer__nav a
    {
		color: var(--colour__3-2);
		text-decoration: none;
		text-transform: uppercase;
    }

        .footer__nav a:first-child
        {
            margin-left: 0;
        }

        .footer__nav a:hover
        {
            color: #fff;
        }

/** Return to top button **/
.goUp
{
	/* 16 * .75 = 12 */
	bottom: .75em;
	position: fixed;
	right: .75em;
	z-index: 20;
}

	.goUp a
	{
		background: rgba(205, 205, 222, .85);
		/* 16 * .75 = 12 */
		border-radius: .75em;
		color: #fff;
		display: block;
		/* 16 * .75 = 12 */
		padding: .75em;
		text-align: center;
		text-decoration: none;
	}

	.js .goUp
	{
		display: none;
	}

.onPageLinks
{
	text-align: center;
}

	.onPageLinks li
	{
		display: inline-block;
		/* 16 * .75 = 12 */
		font-size: .75em;
		vertical-align: middle;
	}

		.onPageLinks li::after
		{
			content: ' | ';
		}

			.onPageLinks li:last-child::after
			{
				content: none;
			}

/**
 * Video embeds
 *
 * Overriding the normal WordPress embed styles. Because they suck. Embeds are
 * responsive.
 *
 * @section ui
 * @subection videoEmbeds
 */
.wp-block-embed__wrapper
{
	height: 0;
	/* Typical YT aspect ratio is 560 x 315 */
	padding-bottom: 56.25%;
	position: relative;
	width: 100%;
}

	.wp-block-embed__wrapper > iframe
	{
		border-radius: 1em;
		height: 100%;
		left: 0;
		position: absolute;
		top: 0;
		width: 100%;
	}

/**
 * Display card
 *
 * Used for displaying doctors, residents, and grads.
 *
 * @section ui
 * @subsection card
 */
.faculty__card
{
	background: var(--colour__gray-3);
	border-bottom-right-radius: 1.5em;
	box-sizing: border-box;
	color: #000;
	margin-bottom: 1.5em;
	/* 16 * .75 = 12 */
	padding: .75em;
}

.card__photo
{
	border-bottom-right-radius: 1.5em;
	display: block;
	/* 16 * .75 = 12 */
	margin: 0 auto .75em;
	max-width: 50%;
}

.card__position
{
	font-style: normal;
}

.card__details
{
	/* 16 * .75 = 12 */
	font-size: .75em;
}

	.card__details dt
	{
		font-weight: bold;
	}

/*=== TOP PAGE - MISSION STATEMENT ===*/
.mission
{
	position: relative;
}

	.mission .wp-block-image > img
	{
		height: 12em;
		object-fit: cover;
		width: 100%;
	}

/*=== GALLERY PAGE ===*/
.armcGallery img
{
	border-radius: .75em;
	overflow: hidden;
}

.armcGallery .blocks-gallery-item figcaption
{
	border-bottom-left-radius: .75em;
	border-bottom-right-radius: .75em;
	overflow: hidden;
}

.armcGallery .blocks-gallery-caption
{
	background: inherit;
	color: var(--colour__gray-2);
	/* 16 * .75 = 12 */
	font-size: .75em;
	text-align: center;
}

/*=== TESTIMONIALS PAGE ===*/
.testimonials__quote
{
	margin-bottom: 3em;
}

.quote__txt
{
	background: var(--colour__gray-3);
	/* 16 * 1.5 = 24 */
	border-radius: 1.5em;
	box-sizing: border-box;
	color: #000;
	/* 16 * .75 = 12 */
	padding: .75em;
}

.quote__txt > p:last-child
{
	margin-bottom: 0;
}

.quote__author
{
	align-items: center;
	margin-top: 1.5em;
	display: flex;
	gap: .25em;
}

	/*.quote__author > img,
	.quote__author > p
	{
		display: inline-block;
		overflow: hidden;
		vertical-align: middle;
		width: auto;
	}*/

	.quote__author > img
	{
		border-radius: 50%;
		height: 3.5em;
		overflow: hidden;
		width: auto;
	}

	.quote__author strong
	{
		color: var(--colour__gray-2);
		/* 16 * 1.5 = 24 */
		font-size: 1.5em;
		line-height: 1;
	}

/**
 * `Tablet`-sized screens
 *
 * @section tablet
 */
@media screen
and (min-width: 640px) {
    /**
     * User interface
     *
     * @section tablet
     * @subsection ui
     */

	/** Wrappers **/
    .wrapper,
	.mission__title > .wp-block-group__inner-container
    {
        /* 16 * 50 = 800 */
        max-width: 50em;
    }

    .wrapper-half
    {
        /* 16 * 25 = 400 */
        max-width: 25em;
    }

    .wrapper-narrow
    {
        /* 16 * 37.5 = 600 */
        max-width: 37.5em;
    }

	/** Horizontal grids **/
    .column
    {
        display: flex;
    }

    [class*='column__row']
    {
        flex-grow: 0;
        flex-shrink: 0;
    }

    .column__row-12,
    .column__row-24
    {
        flex-basis: 50%;
    }

    .column__row-13
    {
        flex-basis: 33.33%;
    }

    .column__row-23
    {
        flex-basis: 66.67%;
    }

    .column__row-14
    {
        flex-basis: 25%;
    }

    .column__row-34
    {
        flex-basis: 75%;
    }

	/** Positioning **/
	.pos-l
	{
	    float: left;
		margin: 0 1.5em 1.5em 0;
	}

	.pos-r
	{
	    float: right;
		margin: 0 0 1.5em 1.5em;
	}

	/** Header **/
    .header > .wrapper
    {
        align-items: center;
		align-content: space-between;
		flex-wrap: wrap;
    }

    .header__logo
    {
        flex-basis: 35%;
    }

	.header__social
	{
		display: block;
		flex: 0 0 50%;
	}

		.header__social a
		{
			color: var(--colour__3-2);
		}

    .menu
    {
        flex: 0 0 100%;
    }

    .menu__button
    {
        display: none;
    }

    .menu__list
    {
        background-color: transparent;
        box-shadow: none;
		display: flex;
		justify-content: space-between;
		/* 16 * 1.5 = 24 */
		margin-top: 1.5em;
        max-height: none;
        overflow: visible;
        position: static;
		text-align: center;
    }

        .menu__list li
        {
			display: inline-block;
            /* 16 * .75 = 12 */
            font-size: .75em;
			letter-spacing: 0;
            padding: 0;
            text-align: center;
			vertical-align: bottom;
        }

        .menu__list li:first-child
        {
            padding-top: 0;
        }

        .menu__list a
        {
            border: 0;
            color: var(--colour__3-2);
            padding: 0;
        }

            .menu__list a:hover
            {
                color: #fff;
            }

    .splash
    {
        /* 16 * 16.5 = 264 */
        height: 16.5em;
    }

		.home .splash
		{
			/* 16 * 24.75 = 396 */
			height: 24.75em;
		}

	/** Footer **/
    .footer > .wrapper
    {
		align-content:space-between;
        align-items: center;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
    }

    .footer__contact,
    .footer__nav
    {
        flex: 1 1 auto;
    }

	.footer__contact
	{
		text-align: left;
	}

    .contact__info,
    .contact__img
    {
        display: inline-block;
        vertical-align: middle;
    }

	.contact__info
	{
		/* 16 * .75 = 12 */
        font-size: .75em;
		margin-left: 1em;
		text-align: left;
	}

    .info__address
    {
		margin-top: 0;
		text-align: inherit;
    }

    .contact__img
    {
        /* 16 * 6 = 96 */
        height: 6em;
        width: auto;
    }

    .footer__nav
    {
        margin-top: 0;
		text-align: right;
    }

    .copyright
    {
        flex: 0 0 100%;
    }

	/*** Display people @card ***/
	.faculty
	{
		align-content: flex-start;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.faculty__card
	{
		flex: 0 0 31.5%;
	}

	/*=== TOP PAGE - MISSION STATEMENT===*/
	.mission .wp-block-image > img
	{
		/* 16.5 * 16 = 264 */
		height: 16.5em;
	}

	/*=== TESTIMONIALS PAGE ===*/
	.testimonials
	{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.testimonials__quote
	{
		flex: 0 0 48%;
	}
}

/**
 * `Desktop`-sized screens
 *
 * @section desktop
 */
@media screen
and (min-width: 980px) {
    body,
    html
    {
        font-size: 20px;
        /* 20 * .05 = 1 */
        letter-spacing: .05em;
    }

    /**
     * User interface
     *
     * @section desktop
     * @subsection ui
     */
    .wrapper,
	.mission__title > .wp-block-group__inner-container
    {
        /* 20 * 64 = 1280 */
        max-width: 64em;
    }

    .wrapper-half
    {
        /* 20 * 32 = 640 */
        max-width: 32em;
    }

    .wrapper-narrow
    {
        /* 20 * 48 = 960 */
        max-width: 48em;
    }

	.header__logo
    {
        flex-basis: 40%;
    }

    .splash
    {
        /* 20 * 19.5 = 390 */
        height: 19.5em;
    }

		.home .splash
		{
			/* 20 * 29.25 = 585 */
			height: 29.25em;
		}

	/*=== TOP PAGE - MISSION STATEMENT===*/
	.mission .wp-block-image > img
	{
		/* 16.5 * 16 = 390 */
		height: 19.5em;
	}

	/*=== TESTIMONIALS PAGE ===*/
	.testimonials__quote
	{
		flex: 0 0 32%;
		font-size: .75em;
	}
}

/**
 * Remove spacing
 *
 * @section desktop
 */
.pad-x,
.pad-b-x,
.pad-v-x
{
    padding-bottom: 0
}

.pad-x,
.pad-l-x,
.pad-h-x
{
    padding-left: 0;
}

.pad-x,
.pad-r-x,
.pad-h-x
{
    padding-right: 0;
}

.pad-x,
.pad-t-x,
.pad-v-x
{
    padding-top: 0;
}

.mrgn-x,
.mrgn-b-x,
.mrgn-v-x
{
    margin-bottom: 0;
}

.mrgn-x,
.mrgn-l-x,
.mrgn-h-x
{
    margin-left: 0;
}

.mrgn-x,
.mrgn-r-x,
.mrgn-h-x
{
    margin-right: 0;
}

.mrgn-x,
.mrgn-t-x,
.mrgn-v-x
{
    margin-top: 0;
}
