/*
Theme Name: Árpád Ferencz
Theme URI: https://theologe-arpad-ferencz.ch/
Author: Lajos Adrián Csánig
Description: Egyedi WordPress sablon az Árpád Ferencz weboldalhoz.
Version: 1.0.0
Text Domain: arpad-ferencz
*/

:root {
    --color-navy: #092943;
    --color-navy-dark: #062139;
    --color-text: #192b3a;
    --color-muted: #66727b;
    --color-accent: #a4733c;
    --color-border: rgba(9, 41, 67, 0.13);
    --color-bg: #f7f4ef;
    --color-white: #ffffff;
    --container-width: 80rem;
}

* {
    box-sizing: border-box;
}

html {
    font-size: max(1.042vw, 16px);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-bg);
    font-family: "Source Sans 3", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-container {
    width: min(calc(100% - 4rem), var(--container-width));
    margin: 0 auto;
}

.site-header {
    position: relative;
    z-index: 1000;
    overflow: visible;
    color: var(--color-white);
    background: var(--color-navy-dark);
}

.site-header__inner {
    position: relative;
    width: min(calc(100% - 4rem), var(--container-width));
    min-height: 4.5rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2.375rem;
    overflow: visible;
}

.site-logo {
    flex: 0 0 auto;
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.site-navigation {
    position: relative;
    flex: 1;
    overflow: visible;
}

.site-navigation > ul,
.site-navigation > .menu {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-navigation li {
    position: relative;
    overflow: visible;
}

.site-navigation a {
    display: flex;
    min-height: 4.5rem;
    padding: 0 1.5rem;
    align-items: center;
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
}

.site-navigation a:hover {
    color: var(--color-white);
}

.site-navigation .current-menu-item > a::after,
.site-navigation .current_page_item > a::after,
.site-navigation .current-menu-ancestor > a::after {
    content: "";
    position: absolute;
    right: 0.875rem;
    bottom: 0.2rem;
    left: 0.875rem;
    height: 0.1875rem;
    background: var(--color-accent);
}

.site-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 2000;
    display: none;
    min-width: 15rem;
    margin: 0;
    padding: 0.5rem 0;
    list-style: none;
    background: var(--color-navy-dark);
    box-shadow: 0 0.75rem 1.875rem rgba(0, 0, 0, 0.2);
}

.site-navigation .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

.site-navigation li:hover > .sub-menu,
.site-navigation li:focus-within > .sub-menu {
    display: block;
}

.site-navigation .sub-menu li {
    position: relative;
    width: 100%;
}

.site-navigation .sub-menu a {
    min-height: 0;
    padding: 0.625rem 1.125rem;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
}

.site-navigation .sub-menu a:hover {
    background: rgba(255, 255, 255, 0.07);
}

.site-navigation .sub-menu .current-menu-item > a::after,
.site-navigation .sub-menu .current_page_item > a::after,
.site-navigation .sub-menu .current-menu-ancestor > a::after {
    display: none;
}

.site-header__tools {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 1rem;
}

.site-language {
    color: var(--color-white);
    font-size: 0.8125rem;
    font-weight: 600;
}

.site-search {
    display: flex;
    align-items: center;
}

.site-search__input {
    width: 0;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    color: var(--color-white);
    background: transparent;
    transition: width 0.25s ease;
}

.site-search:focus-within .site-search__input {
    width: 8.125rem;
    padding: 0.25rem 0.5rem;
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.45);
}

.site-search__button {
    width: 1.875rem;
    height: 1.875rem;
    padding: 0.25rem;
    border: 0;
    color: var(--color-white);
    background: transparent;
    cursor: pointer;
}

.site-search__button svg {
    width: 1.25rem;
    height: 1.25rem;
}

.home-hero {
    position: relative;
    overflow: hidden;
    background: var(--color-bg);
}

.home-hero__inner {
    position: relative;
    min-height: 38.75rem;
}

.home-hero__content {
    position: relative;
    z-index: 3;
    width: 51%;
    max-width: 39.0625rem;
    padding: 5.125rem 0 4.5rem;
}

.home-hero__title {
    margin: 0 0 0.625rem;
    color: var(--color-navy);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(3.75rem, 5vw, 5rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.025em;
}

.home-hero__subtitle {
    margin-bottom: 0.75rem;
    color: var(--color-navy);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.875rem, 2.4vw, 2.5rem);
    font-weight: 500;
    line-height: 1.2;
}

.home-hero__topics {
    margin-bottom: 2.125rem;
    color: var(--color-accent);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

.home-hero__intro {
    max-width: 36.5625rem;
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.75;
}

.home-hero__intro p {
    margin: 0;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2.375rem;
}

.home-button {
    display: inline-flex;
    min-height: 2.875rem;
    padding: 0 1.375rem;
    align-items: center;
    justify-content: center;
    border: 0.0625rem solid var(--color-navy);
    border-radius: 0.125rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.2s ease, background 0.2s ease;
}

.home-button--primary {
    color: var(--color-white);
    background: var(--color-navy);
}

.home-button--primary:hover {
    background: var(--color-navy-dark);
}

.home-button--secondary {
    color: var(--color-navy);
    background: transparent;
}

.home-button--secondary:hover {
    color: var(--color-white);
    background: var(--color-navy);
}

.home-hero__image {
    position: absolute;
    z-index: 1;
    top: 0;
    right: calc((100vw - min(calc(100vw - 4rem), var(--container-width))) / -2);
    bottom: 0;
    width: 64%;
    max-width: 56.25rem;
    overflow: hidden;
}

.home-hero__image::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: -5%;
    left: -5%;
    width: 30%;
    height: 110%;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(247, 244, 239, 1) 30%,
        rgba(247, 244, 239, 0.91) 50%,
        rgba(247, 244, 239, 0.47) 79%,
        rgba(247, 244, 239, 0) 100%
    );
    transform: rotate(6deg);
}

.home-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    transform: scale(1.1);
    transform-origin: right center;
}

.home-main-blocks {
    border-top: 0.0625rem solid var(--color-white);
    border-bottom: 0.0625rem solid var(--color-white);
}

.home-main-blocks__grid {
    display: grid;
    grid-template-columns: 1fr 1.12fr 1fr;
}

.home-main-column {
    min-width: 0;
    padding: 2.75rem 2rem 3.125rem;
}

.home-main-column + .home-main-column {
    border-left: 0.0625rem solid var(--color-border);
}

.home-section-heading {
    display: flex;
    align-items: center;
    gap: 0.9375rem;
    margin-bottom: 1.875rem;
}

.home-section-heading h2 {
    margin: 0;
    color: var(--color-navy);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.015em;
}

.home-section-icon,
.home-small-card__icon {
    fill: none;
    stroke: var(--color-navy);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-section-icon {
    width: 1.875rem;
    height: 1.875rem;
}

.home-small-card__icon {
    width: 2rem;
    height: 2rem;
}

.home-research-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-research-list li {
    position: relative;
    padding: 0.8125rem 0 0.8125rem 1.5rem;
    color: #1b2832;
    font-size: 1rem;
    line-height: 1.4;
	font-weight: 600;
}

.home-research-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-navy);
    font-size: 1.5rem;
    line-height: 1;
}

.home-projects {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.home-project {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 1.1875rem;
}

.home-project--no-image {
    grid-template-columns: 1fr;
}

.home-project__image img {
    width: 5.5rem;
    height: 7.375rem;
    object-fit: cover;
}

.home-project__content h3 {
    margin: 0 0 0.3125rem;
    color: var(--color-text);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.1875rem;
    font-weight: 600;
    line-height: 1.3;
}

.home-project__excerpt {
    margin-bottom: 0.375rem;
    color: var(--color-muted);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.55;
}

.home-text-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--color-navy);
    font-size: 0.8125rem;
    font-weight: 600;
}

.home-text-link:hover,
.home-section-heading a:hover,
.home-project h3 a:hover,
.home-small-card h2 a:hover {
    color: var(--color-accent);
}

.home-teaching-highlight {
    margin: 0 0 0.4375rem;
    color: var(--color-text);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.3;
}

.home-teaching-subtitle {
    margin-bottom: 1.6875rem;
    color: var(--color-muted);
    font-size: 0.9375rem;
    font-weight: 500;
}

.home-teaching-groups {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.home-teaching-groups strong {
    display: block;
    margin-bottom: 0.1875rem;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.0625rem;
    font-weight: 600;
}

.home-teaching-groups span {
    display: block;
    color: var(--color-muted);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.65;
}

.home-small-blocks {
    border-top: 0.0625rem solid var(--color-border);
    border-bottom: 0.0625rem solid var(--color-white);
}

.home-small-blocks__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-small-card {
    display: grid;
    grid-template-columns: 2.625rem minmax(0, 1fr);
    gap: 1.0625rem;
    min-width: 0;
    min-height: 13.75rem;
    padding: 2.375rem 1.625rem;
}

.home-small-card + .home-small-card {
    border-left: 0.0625rem solid var(--color-border);
}

.home-small-card__icon {
    width: 2.25rem;
    height: 2.25rem;
    color: var(--color-navy);
}

.home-small-card__content {
    min-width: 0;
}

.home-small-card h2 {
    margin: 0.125rem 0 0.5625rem;
    color: var(--color-navy);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.275rem;
    font-weight: 600;
    line-height: 1.25;
}

.home-small-card__text {
    color: var(--color-muted);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.65;
}


.page:not(.home) .site-main,
.single .site-main {
    width: min(calc(100% - 4rem), 65rem);
    margin: 0 auto;
    padding: 4rem 0 5.625rem;
}

.page:not(.home) .page-header,
.single .post-header {
    margin-bottom: 2.75rem;
    padding-bottom: 1.375rem;
    border-bottom: 0.0625rem solid var(--color-border);
}

.page:not(.home) .page-title,
.single .post-title {
    margin: 0;
    color: var(--color-navy);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.625rem, 4vw, 3.625rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.page:not(.home) .page-content,
.single .post-content {
    color: var(--color-text);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.page:not(.home) .page-content > *:first-child,
.single .post-content > *:first-child {
    margin-top: 0;
}

.page:not(.home) .page-content > *:last-child,
.single .post-content > *:last-child {
    margin-bottom: 0;
}

.page:not(.home) .page-content p,
.single .post-content p {
    margin: 0 0 1.35em;
}

.page:not(.home) .page-content h2,
.page:not(.home) .page-content h3,
.page:not(.home) .page-content h4,
.single .post-content h2,
.single .post-content h3,
.single .post-content h4 {
    color: var(--color-navy);
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
}

.page:not(.home) .page-content h2,
.single .post-content h2 {
    margin: 2.1em 0 0.75em;
    font-size: 2rem;
}

.page:not(.home) .page-content h3,
.single .post-content h3 {
    margin: 1.8em 0 0.65em;
    font-size: 1.5625rem;
}

.page:not(.home) .page-content h4,
.single .post-content h4 {
    margin: 1.6em 0 0.6em;
    font-size: 1.25rem;
}

.page:not(.home) .page-content strong,
.single .post-content strong {
    font-weight: 700;
}

.page:not(.home) .page-content em,
.single .post-content em {
    color: #314454;
}

.page:not(.home) .page-content a,
.single .post-content a {
    color: var(--color-navy);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(164, 115, 60, 0.55);
    text-decoration-thickness: 0.0625rem;
    text-underline-offset: 0.1875rem;
}

.page:not(.home) .page-content a:hover,
.single .post-content a:hover {
    color: var(--color-accent);
    text-decoration-color: var(--color-accent);
}

.page:not(.home) .page-content ul,
.page:not(.home) .page-content ol,
.single .post-content ul,
.single .post-content ol {
    margin: 1.2em 0 1.7em;
    padding-left: 1.6em;
}

.page:not(.home) .page-content li,
.single .post-content li {
    margin-bottom: 0.55em;
}

.page:not(.home) .page-content blockquote,
.single .post-content blockquote {
    margin: 2.2em 0;
    padding: 0.3125rem 0 0.3125rem 1.625rem;
    border-left: 0.1875rem solid var(--color-accent);
    color: #3f505d;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.3125rem;
    font-style: italic;
    line-height: 1.65;
}

.page:not(.home) .page-content hr,
.single .post-content hr {
    margin: 2.8125rem 0;
    border: 0;
    border-top: 0.0625rem solid var(--color-border);
}

.page:not(.home) .page-content img,
.single .post-content img {
    max-width: 100%;
    height: auto;
    margin-top: 0.75rem;
    margin-bottom: 1.75rem;
}

.page:not(.home) .page-content figure,
.single .post-content figure {
    max-width: 100%;
    margin: 1.875rem 0;
}

.page:not(.home) .page-content figcaption,
.single .post-content figcaption {
    margin-top: 0.5rem;
    color: var(--color-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.page:not(.home) .page-content table,
.single .post-content table {
    width: 100%;
    margin: 1.875rem 0;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.page:not(.home) .page-content th,
.page:not(.home) .page-content td,
.single .post-content th,
.single .post-content td {
    padding: 0.75rem 0.875rem;
    border-bottom: 0.0625rem solid var(--color-border);
    text-align: left;
    vertical-align: top;
}

.page:not(.home) .page-content th,
.single .post-content th {
    color: var(--color-navy);
    font-weight: 700;
    background: rgba(9, 41, 67, 0.035);
}

.page:not(.home) .page-content iframe,
.single .post-content iframe {
    max-width: 100%;
}

#wpforms-form-513 {
    max-width: 47.5rem;
    margin: 2.75rem 0 0;
    font-size: 0;
}

#wpforms-form-513 noscript {
    display: none;
}

#wpforms-form-513 fieldset {
    margin: 0 0 1.625rem;
    padding: 0;
    border: 0;
}

#wpforms-form-513 legend {
    display: block;
    width: 100%;
    margin: 0 0 0.5625rem;
    padding: 0;
    color: var(--color-navy);
    font-family: "Source Sans 3", Arial, sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
}

#wpforms-form-513 > p {
    margin: 0;
    font-size: 1rem;
}

#wpforms-form-513 > p > label {
    display: block;
    margin: 0 0 0.5rem;
    color: var(--color-navy);
    font-family: "Source Sans 3", Arial, sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
}

#wpforms-form-513 fieldset p {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
        "first last"
        "first-label last-label";
    column-gap: 1.125rem;
    row-gap: 0.375rem;
    margin: 0;
    font-size: 1rem;
}

#wpforms-form-513 #wpforms-513-field_1 {
    grid-area: first;
}

#wpforms-form-513 label[for="wpforms-513-field_1"] {
    grid-area: first-label;
}

#wpforms-form-513 #wpforms-513-field_1-last {
    grid-area: last;
}

#wpforms-form-513 label[for="wpforms-513-field_1-last"] {
    grid-area: last-label;
}

#wpforms-form-513 fieldset label {
    display: block;
    margin: 0;
    color: var(--color-muted);
    font-family: "Source Sans 3", Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.4;
}

#wpforms-form-513 input[type="text"],
#wpforms-form-513 input[type="email"],
#wpforms-form-513 input[type="tel"],
#wpforms-form-513 input[type="url"],
#wpforms-form-513 input[type="number"],
#wpforms-form-513 select,
#wpforms-form-513 textarea {
    display: block;
    width: 100%;
    max-width: none;
    min-height: 3rem;
    margin: 0 0 1.5rem;
    padding: 0.6875rem 0.875rem;
    border: 0.0625rem solid rgba(9, 41, 67, 0.22);
    border-radius: 0.125rem;
    outline: 0;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.6);
    font-family: "Source Sans 3", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    box-shadow: none;
    appearance: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

#wpforms-form-513 fieldset input[type="text"] {
    margin-bottom: 0;
}

#wpforms-form-513 textarea {
    min-height: 11.25rem;
    resize: vertical;
}

#wpforms-form-513 input:focus,
#wpforms-form-513 select:focus,
#wpforms-form-513 textarea:focus {
    border-color: var(--color-accent);
    background: var(--color-white);
    box-shadow: 0 0 0 0.1875rem rgba(164, 115, 60, 0.1);
}

#wpforms-form-513 button[type="submit"] {
    display: inline-flex;
    min-height: 3rem;
    margin-top: 0.25rem;
    padding: 0 1.625rem;
    align-items: center;
    justify-content: center;
    border: 0.0625rem solid var(--color-navy);
    border-radius: 0.125rem;
    color: var(--color-white);
    background: var(--color-navy);
    font-family: "Source Sans 3", Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

#wpforms-form-513 button[type="submit"]:hover {
    border-color: var(--color-navy-dark);
    background: var(--color-navy-dark);
}

#wpforms-form-513 button[type="submit"]:active {
    transform: translateY(0.0625rem);
}

#wpforms-form-513 img {
    display: inline-block;
    margin: 0 0 0 0.625rem;
    vertical-align: middle;
}

.site-footer {
    color: var(--color-white);
    background: var(--color-navy-dark);
}

.site-footer__quote {
    padding: 3.0625rem 2rem 2.625rem;
}

.site-footer__quote-inner {
    width: min(58.75rem, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 3.125rem 1fr;
    gap: 1.125rem;
}

.site-footer__quote-mark {
    color: rgba(255, 255, 255, 0.48);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 4.375rem;
    font-weight: 600;
    line-height: 0.8;
}

.site-footer__quote-text {
    color: rgba(255, 255, 255, 0.92);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.2rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.55;
}

.site-footer__bottom {
    width: min(calc(100% - 4rem), var(--container-width));
    margin: 0 auto;
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.22);
}

.site-footer__bottom-inner {
    display: flex;
    min-height: 4.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.875rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.75rem;
    font-weight: 500;
}

.site-footer__links {
    display: flex;
    gap: 1.75rem;
}

.site-footer__links a:hover {
    color: var(--color-white);
}


.site-menu-toggle {
    display: none;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0.4375rem;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.site-menu-toggle span {
    display: block;
    width: 1.375rem;
    height: 0.125rem;
    margin: 0.25rem auto;
    background: var(--color-white);
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


.search-page {
    width: min(calc(100% - 4rem), 65rem);
    margin: 0 auto;
    padding: 4rem 0 5.625rem;
}

.search-page .page-header {
    margin-bottom: 2.75rem;
    padding-bottom: 1.375rem;
    border-bottom: 0.0625rem solid var(--color-border);
}

.search-page .page-title {
    margin: 0;
    color: var(--color-navy);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.625rem, 4vw, 3.625rem);
    font-weight: 600;
    line-height: 1.12;
}

.search-page .page-title span {
    color: var(--color-accent);
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.search-result {
    padding-bottom: 2rem;
    border-bottom: 0.0625rem solid var(--color-border);
}

.search-result__title {
    margin: 0 0 0.625rem;
    color: var(--color-navy);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.625rem;
    font-weight: 600;
    line-height: 1.3;
}

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

.search-result__excerpt {
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.search-result__link {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--color-navy);
    font-size: 0.875rem;
    font-weight: 600;
}

.search-result__link:hover {
    color: var(--color-accent);
}

.search-pagination {
    margin-top: 2.75rem;
}

.search-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.625rem;
}

.search-pagination .page-numbers {
    padding: 0.5rem 0.875rem;
    border: 0.0625rem solid var(--color-border);
    color: var(--color-navy);
}

.search-pagination .page-numbers.current {
    color: var(--color-white);
    background: var(--color-navy);
}

.search-no-results {
    margin-bottom: 2rem;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.search-page__form {
    display: flex;
    gap: 0.75rem;
    max-width: 38rem;
}

.search-page__form input {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 1rem;
    border: 0.0625rem solid var(--color-border);
    background: var(--color-white);
    font: inherit;
}

.search-page__form button {
    padding: 0.75rem 1.375rem;
    border: 0;
    color: var(--color-white);
    background: var(--color-navy);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 75rem) {
    .site-header__inner {
        gap: 1.25rem;
    }

    .site-navigation a {
        padding: 0 0.5625rem;
        font-size: 0.75rem;
    }

    .site-navigation .current-menu-item > a::after,
    .site-navigation .current_page_item > a::after,
    .site-navigation .current-menu-ancestor > a::after {
        right: 0.5625rem;
        left: 0.5625rem;
    }
}

@media (max-width: 68.75rem) {
    .home-small-card {
        padding: 2rem 1.125rem;
        grid-template-columns: 2.125rem minmax(0, 1fr);
        gap: 0.75rem;
    }

    .home-small-card__icon {
        width: 1.875rem;
        height: 1.875rem;
    }

    .home-small-card h2 {
        font-size: 1.1875rem;
    }
}

@media (max-width: 64rem) {
    .home-container,
    .site-header__inner {
        width: min(calc(100% - 2.5rem), var(--container-width));
    }

    .site-navigation {
        overflow: visible;
    }

    .home-hero__inner {
        min-height: 34.375rem;
    }

    .home-hero__content {
        width: 57%;
        padding: 4rem 0;
    }

    .home-hero__image {
        right: calc((100vw - min(calc(100vw - 2.5rem), var(--container-width))) / -2);
        width: 61%;
    }

    .home-hero__image img {
        object-position: right center;
        transform: scale(1.1);
        transform-origin: right center;
    }

    .home-main-blocks__grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-main-column--teaching {
        grid-column: 1 / -1;
        border-top: 0.0625rem solid var(--color-border);
        border-left: 0 !important;
    }

    .home-small-blocks {
        overflow: visible;
    }

    .home-small-blocks__grid {
        width: 100%;
        min-width: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-small-card {
        min-height: 13.75rem;
    }

    .home-small-card:nth-child(3) {
        border-top: 0.0625rem solid var(--color-border);
        border-left: 0;
    }

    .home-small-card:nth-child(4) {
        border-top: 0.0625rem solid var(--color-border);
    }
}

@media (max-width: 47.99875rem) {
    .home-container,
    .site-header__inner {
        width: calc(100% - 2rem);
    }

    .site-header__inner {
        position: relative;
        min-height: 4rem;
        flex-wrap: nowrap;
        padding: 0;
    }

    .site-logo {
        flex: 1;
    }

    .site-header__tools {
        margin-left: auto;
        gap: 0.625rem;
    }

    .site-menu-toggle {
        display: block;
        flex: 0 0 auto;
    }

    .site-navigation {
        position: absolute;
        top: 100%;
        right: -1rem;
        left: -1rem;
        z-index: 3000;
        display: none;
        width: auto;
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
        overflow-x: hidden;
        background: var(--color-navy-dark);
        box-shadow: 0 0.75rem 1.875rem rgba(0, 0, 0, 0.22);
    }

    .site-header--menu-open .site-navigation {
        display: block;
    }

    .site-navigation > ul,
    .site-navigation > .menu {
        display: block;
        min-width: 0;
        margin: 0;
        padding: 0.75rem 0 1.125rem;
    }

    .site-navigation li {
        width: 100%;
    }

    .site-navigation a {
        display: block;
        min-height: 0;
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
        line-height: 1.4;
    }

    .site-navigation .sub-menu {
        position: static;
        display: block;
        min-width: 0;
        padding: 0;
        background: rgba(255, 255, 255, 0.025);
        box-shadow: none;
    }

    .site-navigation .sub-menu .sub-menu {
        position: static;
    }

    .site-navigation .sub-menu a {
        padding: 0.5625rem 1.5rem 0.5625rem 2.625rem;
        font-size: 0.875rem;
        color: rgba(255, 255, 255, 0.8);
    }

    .site-navigation .sub-menu .sub-menu a {
        padding-left: 3.75rem;
        font-size: 0.8125rem;
        color: rgba(255, 255, 255, 0.68);
    }

    .site-navigation .current-menu-item > a::after,
    .site-navigation .current_page_item > a::after,
    .site-navigation .current-menu-ancestor > a::after {
        display: none;
    }

    .site-navigation .current-menu-item > a,
    .site-navigation .current_page_item > a {
        color: var(--color-white);
        background: rgba(255, 255, 255, 0.07);
    }

    .site-header--menu-open .site-menu-toggle span:nth-child(1) {
        transform: translateY(0.375rem) rotate(45deg);
    }

    .site-header--menu-open .site-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header--menu-open .site-menu-toggle span:nth-child(3) {
        transform: translateY(-0.375rem) rotate(-45deg);
    }

    .home-hero__inner {
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .home-hero__content {
        width: 100%;
        max-width: none;
        padding: 2.625rem 0 2.25rem;
    }

    .home-hero__title {
        font-size: 3.125rem;
    }

    .home-hero__subtitle {
        font-size: 1.8125rem;
    }

    .home-hero__topics {
        margin-bottom: 1.5625rem;
        font-size: 0.875rem;
    }

    .home-hero__intro {
        max-width: none;
        font-size: 0.9375rem;
    }

    .home-hero__actions {
        gap: 0.75rem;
        margin-top: 1.8125rem;
    }

    .home-button {
        padding: 0 1.0625rem;
        font-size: 0.75rem;
    }

    .home-hero__image {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: calc(100% + 2rem);
        max-width: none;
        margin-left: -1rem;
    }

    .home-hero__image::before {
        display: none;
    }

    .home-hero__image img {
        height: auto;
        max-height: 31.25rem;
        object-position: 68% top;
    }

    .home-main-blocks__grid {
        display: block;
        width: 100%;
    }

    .home-main-column {
        padding: 2.25rem 1.5rem 2.5rem;
    }

    .home-main-column + .home-main-column {
        border-top: 0.0625rem solid var(--color-border);
        border-left: 0;
    }

    .home-small-card {
        padding: 1.875rem 1.375rem;
    }


    .page:not(.home) .site-main,
    .single .site-main {
        width: calc(100% - 2rem);
        padding: 2.625rem 0 3.75rem;
    }

    .page:not(.home) .page-header,
    .single .post-header {
        margin-bottom: 1.875rem;
        padding-bottom: 1rem;
    }

    .page:not(.home) .page-title,
    .single .post-title {
        font-size: 2.375rem;
    }

    .page:not(.home) .page-content,
    .single .post-content {
        font-size: 1rem;
        line-height: 1.75;
    }

    .page:not(.home) .page-content h2,
    .single .post-content h2 {
        font-size: 1.75rem;
    }

    .page:not(.home) .page-content h3,
    .single .post-content h3 {
        font-size: 1.4375rem;
    }

    .page:not(.home) .page-content blockquote,
    .single .post-content blockquote {
        padding-left: 1.25rem;
        font-size: 1.1875rem;
    }

    .page:not(.home) .page-content table,
    .single .post-content table {
        display: block;
        overflow-x: auto;
    }

    #wpforms-form-513 {
        max-width: none;
        margin-top: 2.125rem;
    }

    #wpforms-form-513 fieldset p {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "first"
            "first-label"
            "last"
            "last-label";
        row-gap: 0.375rem;
    }

    #wpforms-form-513 #wpforms-513-field_1-last {
        margin-top: 0.75rem;
    }

    #wpforms-form-513 textarea {
        min-height: 9.375rem;
    }

    .search-page {
        width: calc(100% - 2rem);
        padding: 2.625rem 0 3.75rem;
    }

    .search-page .page-title {
        font-size: 2.375rem;
    }

    .search-result__title {
        font-size: 1.375rem;
    }

    .search-page__form {
        flex-direction: column;
    }

    .site-footer__quote {
        padding: 2.5rem 1.5rem 2.125rem;
    }

    .site-footer__quote-inner {
        grid-template-columns: 2.1875rem 1fr;
        gap: 0.625rem;
    }

    .site-footer__quote-mark {
        font-size: 3.25rem;
    }

    .site-footer__quote-text {
        font-size: 1.125rem;
    }

    .site-footer__bottom {
        width: calc(100% - 2rem);
    }

    .site-footer__bottom-inner {
        flex-direction: column;
        padding: 1.375rem 0;
        align-items: flex-start;
    }
}

@media (max-width: 37.5rem) {
    .home-small-blocks__grid {
        display: block;
        width: 100%;
    }

    .home-small-card {
        min-height: 0;
        padding: 1.875rem 1.375rem;
    }

    .home-small-card + .home-small-card {
        border-top: 0.0625rem solid var(--color-border);
        border-left: 0;
    }
}
