@font-face {
    font-family: "Myriad Pro";
    src: url("../fonts/MyriadPro-Bold.otf") format("opentype");
    font-weight: 700;
}

@font-face {
    font-family: "Minion Pro";
    src: url("../fonts/MinionPro-Regular.otf") format("opentype");
    font-weight: 400;
}

:root {
    --ink: #252525;
    --muted: #6f6a64;
    --line: #d9d4cc;
    --paper: #fbfaf7;
    --soft: #efebe5;
    --accent: #b8352d;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    background: var(--paper);
    font-family: "Minion Pro", Georgia, serif;
    font-size: 1.05rem;
    line-height: 1.65;
    overflow-x: hidden;
}

h1,
h2,
h3,
.navbar,
.eyebrow,
.btn {
    font-family: "Myriad Pro", Arial, sans-serif;
}

h1,
h2,
h3 {
    color: #171717;
    line-height: 1;
    text-transform: uppercase;
}

h1 {
    max-width: 780px;
    font-size: clamp(2.6rem, 7vw, 5.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.75rem);
}

h3 {
    font-size: 1.25rem;
}

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

a:hover {
    color: var(--accent);
}

.navbar {
    border-bottom: 1px solid var(--line);
}

.navbar.bg-light {
    background: rgba(251, 250, 247, 0.96) !important;
}

.nav-logo {
    height: 56px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-size: 1.1rem;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--muted);
}

.uppercase {
    text-transform: uppercase;
}

.nav-link {
    font-size: 0.95rem;
}

.section-pad {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.page-main {
    min-height: calc(100vh - 239px);
}

.section-tint {
    background: var(--soft);
}

.eyebrow {
    margin-bottom: 0.4rem;
    color: var(--accent);
    font-size: 0.95rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 2rem;
}

.hero-section {
    overflow: hidden;
}

.intro-copy {
    max-width: 760px;
    margin-top: 1.4rem;
}

.pull-quote {
    margin: 2rem 0 0;
    padding-left: 1.5rem;
    border-left: 4px solid var(--accent);
    color: #3f3b37;
    font-size: 1.25rem;
}

.pull-quote cite,
.quote-small cite {
    display: inline-block;
    color: var(--muted);
    font-style: normal;
    margin-left: 10px;
}

.hero-photo-wrap {
    position: relative;
    max-width: 460px;
    margin-left: auto;
    padding-bottom: 6.5rem;
}

.hero-photo,
.portrait-photo,
.wide-photo {
    width: 100%;
    display: block;
    border-radius: 4px;
    object-fit: cover;
}

.hero-photo {
    height: min(720px, 78vh);
    object-position: 50% 12%;
}

.portrait-photo {
    max-height: 760px;
    object-position: center;
}

.wide-photo {
    aspect-ratio: 3 / 3;
}

.talk-panel {
    position: absolute;
    right: 0;
    bottom: -66;
    width: 100%;
    min-height: 154px;
    padding: 2.05rem 1.25rem 1.2rem 10.5rem;
    background: #004473;
    box-shadow: none;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.talk-phone {
    position: absolute;
    left: 1.1rem;
    top: -4.1rem;
    width: 165px;
    max-width: 38%;
    object-fit: contain;
}

.talk-title {
    margin: 0;
    color: #fff;
    font-family: "Minion Pro", Georgia, serif;
    font-size: clamp(2.25rem, 4.5vw, 3.96rem);
    line-height: 0.9;
}

.talk-panel a {
    display: block;
    color: #fff235;
    font-size: clamp(1.25rem, 1.55vw, 1.5rem);
    line-height: 1.08;
    text-decoration: none;
    white-space: nowrap;
}

.talk-panel a:hover {
    color: #fff;
}

.talk-panel span {
    font-size: 0.92em;
}

.topic-card,
.contact-form,
.faq-panel,
.qualification-panel {
    height: 100%;
    padding: 1.35rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.topic-card h2,
.topic-card h3,
.contact-form h2,
.faq-panel h2,
.qualification-panel h2 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.topic-card-link {
    display: block;
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.topic-card-link:hover,
.topic-card-link:focus {
    color: var(--ink);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.topic-card-link:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(184, 53, 45, 0.15);
}

.topic-card-tall p {
    font-size: 0.98rem;
}

.quote-small {
    color: var(--muted);
    font-style: italic;
}

.interest-accordion {
    display: grid;
    gap: 1rem;
}

.interest-accordion .accordion-item {
    overflow: hidden;
    scroll-margin-top: 6rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.interest-accordion .accordion-button {
    display: grid;
    gap: 0.5rem;
    align-items: start;
    padding: 1.35rem 3.5rem 1.35rem 1.35rem;
    color: var(--ink);
    background: #fff;
    box-shadow: none;
}

.interest-accordion .accordion-button:not(.collapsed) {
    color: var(--ink);
    background: #fff;
    box-shadow: inset 0 -1px 0 var(--line);
}

.interest-accordion .accordion-button:focus {
    border-color: var(--line);
    box-shadow: 0 0 0 0.2rem rgba(184, 53, 45, 0.15);
}

.interest-accordion .accordion-title {
    color: #171717;
    font-family: "Myriad Pro", Arial, sans-serif;
    font-size: 1.4rem;
    line-height: 1;
    text-transform: uppercase;
}

.interest-accordion .quote-small {
    margin: 0;
}

.interest-accordion .accordion-body {
    padding: 1.35rem;
}

.interest-accordion .accordion-body p:last-child {
    margin-bottom: 0;
}

#existential-questions {
    scroll-margin-top: 6rem;
}

.two-col-list {
    columns: 2;
    column-gap: 2rem;
}

.two-col-list p {
    break-inside: avoid;
}

.text-link {
    font-family: "Myriad Pro", Arial, sans-serif;
    text-transform: uppercase;
}

.contact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin: 1.5rem 0;
}

.contact-strip-large {
    display: grid;
}

.contact-strip a {
    font-family: "Myriad Pro", Arial, sans-serif;
    text-decoration: none;
}

.contact-form {
    background: var(--soft);
}

.form-control {
    border-radius: 4px;
    border-color: var(--line);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(184, 53, 45, 0.15);
}

.btn {
    border-radius: 4px;
    text-transform: uppercase;
}

.contact-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 3.2rem;
    padding-right: 1.45rem;
    padding-left: 1.45rem;
    line-height: 1;
}

.contact-submit-button .bi {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.admin-section {
    background: #f5f3ef;
}

.admin-table-panel {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.admin-table-panel h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.admin-message-table {
    width: 100% !important;
}

.admin-message-table th {
    font-family: "Myriad Pro", Arial, sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.admin-message-table td {
    vertical-align: top;
}

.message-cell {
    min-width: 320px;
    max-width: 560px;
}

.admin-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.admin-inline-form {
    padding: 1rem;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 4px;
}

.admin-blog-form label,
.admin-inline-form label {
    font-family: "Myriad Pro", Arial, sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.admin-featured-preview {
    display: block;
    width: min(100%, 320px);
    aspect-ratio: 16 / 9;
    margin-bottom: 0.75rem;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.wysiwyg-editor {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.wysiwyg-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.55rem;
    background: var(--soft);
    border-bottom: 1px solid var(--line);
}

.wysiwyg-toolbar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.wysiwyg-toolbar button:hover,
.wysiwyg-toolbar button:focus {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}

.wysiwyg-surface {
    min-height: 340px;
    padding: 1rem;
    outline: 0;
}

.wysiwyg-surface:focus {
    box-shadow: inset 0 0 0 0.2rem rgba(184, 53, 45, 0.15);
}

.plain-list {
    padding-left: 1.2rem;
}

.blog-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.blog-filter {
    padding: 0.55rem 0.85rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-family: "Myriad Pro", Arial, sans-serif;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
}

.blog-filter:hover,
.blog-filter.active {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}

.blog-card,
.blog-empty {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.blog-empty {
    padding: 1.5rem;
}

.blog-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.2rem;
}

.blog-card h2,
.blog-empty h2 {
    font-size: 1.45rem;
}

.blog-card-title {
    min-height: 3.15rem;
}

.blog-card-title h2 {
    margin-bottom: 0.85rem;
}

.blog-card-excerpt {
    min-height: 8.4rem;
}

.blog-card-excerpt p {
    margin-bottom: 1rem;
}

.blog-card-action {
    margin-top: auto;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
    margin-bottom: 0.75rem;
    color: var(--muted);
    font-family: "Myriad Pro", Arial, sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.blog-article {
    /*max-width: 960px;*/
}

.blog-article-meta {
    margin-top: 1rem;
}

.blog-hero-image {
    display: block;
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 4px;
}

.blog-content {
    
}

.blog-content h2,
.blog-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.65rem;
}

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

.plain-list li {
    margin-bottom: 0.5rem;
}

.faq-item {
    padding: 1rem 0;
    border-top: 1px solid var(--line);
}

.faq-item:first-of-type {
    border-top: 0;
}

.faq-item h3 {
    font-size: 1rem;
}

.site-footer {
    padding-top: 30px;
    background: #171717;
    color: #fff;
}

.site-footer a {
    color: #fff;
}

@media (min-width: 992px) {
    .navbar {
        position: sticky;
        top: 0;
        z-index: 1020;
    }
}

@media (max-width: 991.98px) {
    h1 {
        font-size: clamp(2.4rem, 12vw, 4rem);
    }

    .offcanvas {
        background: var(--paper);
    }

    .offcanvas-body .navbar-nav {
        gap: 0.35rem;
        font-size: 1.2rem;
    }

    .hero-photo-wrap {
        max-width: none;
        margin: 0;
        padding-bottom: 7.5rem;
    }

    .hero-photo {
        height: 560px;
    }

    .talk-panel {
        right: 0;
        width: min(100%, 620px);
        padding-left: 12rem;
    }

    .talk-panel a {
        font-size: clamp(1.4rem, 4vw, 1.95rem);
    }

    .two-col-list {
        columns: 1;
    }
}

@media (max-width: 575.98px) {
    body {
        font-size: 1rem;
    }

    .navbar-brand {
        max-width: calc(100% - 64px);
        white-space: normal;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-subtitle {
        font-size: 0.68rem;
    }

    .nav-logo {
        height: 46px;
    }

    .section-pad {
        padding: 3rem 0;
    }

    .row {
        margin-right: 0;
        margin-left: 0;
    }

    .hero-photo {
        height: 440px;
    }

    .talk-panel {
        position: relative;
        width: 100%;
        min-height: 170px;
        margin-top: -1rem;
        padding: 4.55rem 1rem 1rem;
        text-align: center;
    }

    .talk-phone {
        top: -4.2rem;
        left: 0.8rem;
        width: 145px;
        max-width: 44%;
    }

    .talk-title {
        font-size: 2.79rem;
    }

    .talk-panel a {
        font-size: clamp(1.25rem, 6vw, 1.6rem);
    }
}
.footer-logo{
    height: 83px;
}
.credential-strip {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--muted);
    font-family: "Myriad Pro", Arial, sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
}
.lower-case{
    text-transform: none!important;
}
.al {
    text-decoration: none;
    color: #fff;
    position: relative;
    transition: color 0.3s ease; /* Smooth transition for color change */
}

.al::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px; /* Adjust the height of the underline */
    background-color: #fff; /* Underline color */
    transition: width 0.3s ease; /* Smooth transition for the underline */
}

.al:hover {
    color: #fff;
}

.al:hover::after {
    width: 100%; /* Underline expands from left to right */
}