/*
Theme Name: Williams Agency
Theme URI: https://example.com/
Author: Your Name
Description: A minimal classic WordPress theme starter.
Version: 1.0.0
Text Domain: basic-starter
*/

/* Add your theme styles below. */
:root {
--bg: #f4faff;
--page-bg: radial-gradient(ellipse at 72% 43%, #d2edff 0%, #e9f6fe 46%, #fcfdfe 100%);
--surface: #fff;
--ink: #071c48;
--muted: #526e94;
--brand: #075dcc;
--brand-ink: #fff;
--accent: #e7f5fe;
--line: #cbd8e4;
--gold: #bb8736;
--gold-line: #b4a282;
--top-bg: linear-gradient(110deg, #164984, #103f80);
--btn-bg: linear-gradient(125deg, #0960ce, #1259b9);
--social-bg: #215da4;
--card-line: #b9ccdf;
--shadow: 0 20px 50px rgba(16, 69, 139, .20);
box-sizing: border-box;
padding-top: env(safe-area-inset-top, 0px);
padding-bottom: env(safe-area-inset-bottom, 0px)
}

* {
box-sizing: border-box
}

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

body {
background: var(--page-bg);
background-attachment: fixed;
color: var(--ink);
font: 16px/1.5 Arial, Helvetica, sans-serif;
display: flex;
flex-direction: column;
min-height: 100%
}

a {
color: inherit
}

button {
font: inherit;
cursor: pointer
}

.top {
background: var(--top-bg);
color: var(--brand-ink);
font-size: 1rem
}

.top .in {
max-width: 1200px;
margin: auto;
padding: .45rem 1.25rem;
display: flex;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
align-items: center
}

.top a {
text-decoration: none;
font-weight: 600
}

.social {
display: flex;
gap: .6rem
}

.social a {
width: 30px;
height: 30px;
border-radius: 50%;
display: grid;
place-items: center;
background: var(--social-bg)
}

.social svg {
width: 14px;
height: 14px;
fill: currentColor
}
.social a.news {
width: auto;
border-radius: 999px;
padding: 0 .9rem;
gap: .45rem;
grid-auto-flow: column;
font-size: .9rem;
margin-right: .4rem
}

.social .news svg {
fill: none;
stroke: currentColor;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
width: 16px;
height: 16px
}

.phone {
display: inline-flex;
align-items: center;
gap: 12px;
font-size: 20px;
letter-spacing: .2px
}

.phone svg {
width: 20px;
height: 20px;
fill: var(--gold);
stroke: var(--gold)
}

header.nav {
background: transparent;
border-bottom: 1px solid var(--line)
}

header.nav .in {
max-width: 1200px;
margin: auto;
padding: .8rem 1.25rem;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap
}

.logo {
font-weight: 700;
font-size: 1.7rem;
letter-spacing: -.04em;
line-height: 1.1;
background: none;
border: 0;
color: var(--ink);
text-align: left;
padding: 0
}

.logo small {
display: block;
font-size: .7rem;
letter-spacing: .28em;
color: var(--brand);
font-weight: 700;
margin-top: .2rem
}

nav {
display: flex;
gap: .25rem;
flex-wrap: wrap;
align-items: center;
}

nav button,
nav a:not(.btn) {
background: none;
border: 0;
color: var(--ink);
padding: .5rem .85rem;
border-radius: 8px;
font-weight: 400;
font-size: 1.05rem;
text-decoration: none
}

/*nav button:hover,*/
nav a:not(.btn):hover {
color: var(--brand)
}

.burger {
display: none;
width: 44px;
height: 44px;
border: 1px solid var(--line);
background: var(--bg);
border-radius: 12px;
place-items: center;
color: var(--ink);
padding: 0
}

.scrim {
display: none
}

nav .navx,
nav .navcta {
display: none
}

main {
flex: 1;
display: grid;
align-items: center;
max-width: 1200px;
width: 100%;
margin: auto;
padding: 1.5rem 1.25rem;
grid-template-columns: 1.1fr .9fr;
gap: 2.5rem
}

.eyebrow {
font-size: 1rem;
letter-spacing: .12em;
font-weight: 600;
color: var(--brand);
text-transform: uppercase;
display: flex;
align-items: center;
gap: 1rem
}

.eyebrow::after {
content: "";
width: 56px;
height: 2px;
background: var(--gold)
}

:focus-visible {
outline: 3px solid var(--gold);
outline-offset: 3px
}

h1 {
/*font-family: Georgia, 'Times New Roman', serif;*/
font-weight: 400;
font-size: clamp(2.4rem, 5.4vw, 4.6rem);
line-height: 1;
letter-spacing: -.04em;
margin: .6rem 0 1.2rem
}

h1 em {
color: var(--brand);
font-style: normal;
font-weight: 400
}

.lead {
color: var(--muted);
font-size: 1.3rem;
max-width: 34rem;
margin: 0 0 1.6rem
}

.btns {
display: flex;
gap: .75rem;
flex-wrap: wrap
}

.btn {
border: 2px solid transparent;
background: var(--btn-bg);
color: var(--brand-ink);
padding: .9rem 1.6rem;
border-radius: 7px;
font-weight: 600;
font-size: 1.05rem
}

.btn.alt {
background: rgba(255, 255, 255, .25);
border-color: var(--gold-line);
color: var(--ink)
}

.btn {
transition: transform .15s, box-shadow .15s;
display: flex;
align-items: center;
gap: 12px;
}

.btn svg {
width: 23px;
height: 23px;
flex: none
}

.btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 18px rgba(16, 69, 139, .2)
}

.note {
margin-top: 1.4rem;
color: var(--muted);
font-size: .9rem
}

.photo {
position: relative;
aspect-ratio: 4/4.2;
max-height: 62vh;
width: 100%;
margin-left: auto;
border-radius: 15px;
background: #fff;
border: 1px solid var(--card-line);
padding: 12px;
box-shadow: 18px 22px 0 -2px rgba(185, 223, 247, .35);
display: grid;
place-items: center;
text-align: center;
color: var(--muted);
overflow: hidden
}

.photo img {
position: absolute;
inset: 12px;
width: calc(100% - 24px);
height: calc(100% - 24px);
object-fit: cover;
border-radius: 9px
}

.photo span {
padding: 1rem;
font-weight: 600
}

.photo span small {
display: block;
font-weight: 400;
margin-top: .25rem
}

.badge {
border-left: 3px solid var(--gold);
position: absolute;
left: 1rem;
bottom: 1.6rem;
background: var(--surface);
border-radius: 14px;
padding: .6rem .9rem;
box-shadow: var(--shadow);
font-size: .85rem;
font-weight: 700;
color: var(--ink)
}

.badge small {
display: block;
color: var(--muted);
font-weight: 500
}

dialog {
border: 0;
border-radius: 20px;
padding: 0;
background: var(--surface);
color: var(--ink);
width: min(680px, calc(100% - 2rem));
max-height: calc(100% - 2rem);
box-shadow: var(--shadow)
}

dialog::backdrop {
background: rgba(5, 12, 28, .6);
backdrop-filter: blur(3px)
}

.m {
padding: 1.75rem
}

.m h2 {
margin: 0 0 .25rem;
font-size: 1.6rem;
letter-spacing: -.01em
}

.m p {
color: var(--muted);
margin: .25rem 0 1rem
}

.x {
position: absolute;
top: .75rem;
right: .75rem;
width: 36px;
height: 36px;
border-radius: 50%;
border: 0;
background: var(--accent);
color: var(--ink);
font-size: 1.2rem
}

.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: .75rem;
margin-top: 1rem
}

.tile {
border: 1px solid var(--line);
background: var(--bg);
color: var(--ink);
border-radius: 14px;
padding: 1rem;
text-align: left;
font-weight: 700
}

.tile:hover {
border-color: var(--gold);
background: var(--accent)
}

.tile span {
display: block;
font-size: 1.5rem;
margin-bottom: .25rem
}

.tile small {
display: block;
font-weight: 400;
color: var(--muted)
}

.tile .ico {
display: block;
width: 40px;
height: 40px;
margin-bottom: .6rem;
color: var(--gold)
}

.tile:hover .ico {
color: var(--brand)
}

a.tile {
display: block;
text-decoration: none
}

.grid.ins {
grid-template-columns: repeat(auto-fit, minmax(130px, 1fr))
}

.grid.ins .tile {
padding: .85rem
}

a.btn {
display: inline-block;
text-decoration: none;
text-align: center
}

label {
display: block;
font-size: .85rem;
font-weight: 600;
margin-top: .75rem
}

input,
textarea,
select {
width: 100%;
margin-top: .25rem;
padding: .65rem .8rem;
border: 1px solid var(--line);
border-radius: 10px;
background: var(--bg);
color: var(--ink);
font: inherit
}

.row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: .75rem
}

.info {
display: grid;
gap: .5rem;
margin: 1rem 0;
padding: 1rem;
background: var(--accent);
border-radius: 14px
}

.stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: .75rem;
margin: 1rem 0
}

.stats div {
background: var(--accent);
border-radius: 14px;
padding: .8rem;
text-align: center;
font-size: .8rem;
color: var(--muted)
}

.stats b {
display: block;
font-size: 1.4rem;
color: var(--brand)
}

.fine {
font-size: .8rem;
color: var(--muted);
margin: 0;
padding: 1.25rem 1.25rem 1.5rem;
text-align: center;
border-top: 1px solid var(--line);
background: rgba(255, 255, 255, .24)
}

.framed_form{ display: block; width: 100%; height: 350px;}
.framed_form iframe{ width: 100%; height: 100%; border: none; background: none;}

.allstate_blue{ color: var(--brand);}

.profile {
    position: relative;
    margin: 0;
    background: #ffffffed;
    padding: 12px 12px 27px;
    border: 1px solid #b9ccdf;
    /*border-radius: 15px;*/
    transform: rotate(1.5deg);
    isolation: isolate;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.5);
}

/*.profile:before {
    content: "";
    position: absolute;
    inset: 32px -28px -30px 26px;
    background: #b9dff755;
    border-radius: 12px;
    z-index: -2
}*/

/*.profile:after {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    border-radius: 15px;
    z-index: -1
}*/

.profile img {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: 9px
}

.caption {
    position: relative;
    padding: 21px 64px 0 21px
}

.caption h2 {
    /*font-family: Georgia, 'Times New Roman', serif;*/
    font-family: "Caveat", Georgia, 'Times New Roman', serif;
    font-size: 31px;
    font-weight: 400;
    letter-spacing: -.9px;
    margin: 0 0 9px;
    /*white-space: nowrap*/
}

.caption p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    letter-spacing: .2px
}

.shield {
    position: absolute;
    right: 16px;
    top: 31px;
    color: var(--gold);
    width: 44px;
    height: 49px
}

.logos {
    margin-top: 1rem;
    /*max-width: 34rem;*/
    display: flex;
    align-items: center;
    gap: .5rem;
    background-color: #fff;
    padding: 6px;
    border-radius: 10px;
    border: thin solid var(--muted);
}

.logos.mobile{display: none !important;} 

.ls {
    display: flex;
    justify-content: space-around;
    flex: 1;
    min-width: 0
}

.la {
    flex: none;
    width: 28px;
    height: 28px;
    border: 0;
    background: none;
    color: var(--muted);
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 50%
}

.la:hover {
    color: var(--brand);
    background: var(--accent)
}

.la svg {
    width: 16px;
    height: 16px
}

.ls .slick-list {
    margin: 0 -.5rem
}

.lg {
    padding: 0 .5rem
}

.lg a {
    display: grid;
    place-items: center;
    height: 100px
}

.lg img {
    max-width: 100%;
    max-height: 90px;
    filter: grayscale(1);
    opacity: .7;
    transition: filter .25s, opacity .25s
}

.lg a:hover img,
.lg a:focus-visible img {
    filter: none;
    opacity: 1
}

/* slick core */
.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    user-select: none;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0
}

.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    margin-left: auto;
    margin-right: auto
}

.slick-track:before,
.slick-track:after {
    display: table;
    content: ""
}

.slick-track:after {
    clear: both
}

.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px
}

.slick-initialized .slick-slide {
    display: block
}

.slick-slide img {
    display: block
}

.photo {
    position: relative;
    aspect-ratio: 4/4.2;
    max-height: 62vh;
    width: 100%;
    margin-left: auto;
    border-radius: 24px;
    background: linear-gradient(145deg, var(--accent), var(--line));
    border: 2px dashed var(--line);
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--muted);
    overflow: hidden
}

.photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.photo span {
    padding: 1rem;
    font-weight: 600
}

.photo span small {
    display: block;
    font-weight: 400;
    margin-top: .25rem
}

@media all and (max-width: 960px) {
.profile {
    max-width: 680px;
    width: calc(100% - 22px);
    justify-self: center
}

.profile:before {
        right: -20px
    }
}

@media (max-width:820px) {
.logos.mobile{display: flex !important;}
.logos.desktop{display: none !important;}

.social a.news {
width: 30px;
padding: 0;
margin-right: 0
}

.social .news span {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0)
}

main {
grid-template-columns: 1fr;
gap: 1.5rem
}

.photo {
max-height: 300px;
aspect-ratio: 16/10;
margin: 0
}

.row {
grid-template-columns: 1fr
}

.burger {
display: grid
}

nav {
position: fixed;
top: 0;
right: 0;
bottom: 0;
width: min(300px, 82vw);
background: var(--surface);
flex-direction: column;
flex-wrap: nowrap;
gap: .25rem;
padding: calc(4.5rem + env(safe-area-inset-top, 0px)) 1rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
box-shadow: var(--shadow);
transform: translateX(105%);
visibility: hidden;
transition: transform .25s ease, visibility .25s;
z-index: 30;
overflow-y: auto
}

nav.open {
transform: none;
visibility: visible
}

nav button,
nav a:not(.btn) {
text-align: left;
font-size: 1.1rem;
padding: .9rem 1rem
}

nav .navx {
display: grid;
position: absolute;
top: calc(.75rem + env(safe-area-inset-top, 0px));
right: .75rem;
width: 40px;
height: 40px;
padding: 0;
place-items: center;
font-size: 1.5rem;
background: var(--accent);
border-radius: 50%
}

nav .navcta {
display: block;
margin-top: 1rem;
text-align: center;
font-size: 1rem
}

.scrim {
display: block;
position: fixed;
inset: 0;
background: rgba(5, 12, 28, .5);
z-index: 20;
opacity: 0;
pointer-events: none;
transition: opacity .25s
}

.scrim.open {
opacity: 1;
pointer-events: auto
}
}
.symbols {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden
}

.career-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--blue);
    font-size: 18px;
    margin-top: 29px;
    text-decoration: underline;
    text-underline-offset: 3px
}

.career-link svg {
    width: 20px;
    height: 20px
}

@media all and (max-width:560px){
    .profile {
        padding: 8px 8px 20px
    }
}