/* Universidad Loyola blog refresh — deliberately layered over the legacy theme. */
@property --blog-story-underline-opacity {
    syntax: "<number>";
    inherits: false;
    initial-value: 0;
}

:root {
    --loyola-blue: #192a67;
    --loyola-blue-strong: #101d4d;
    --loyola-cyan: #8cd1e7;
    --loyola-cyan-soft: #edf8fc;
    --loyola-menu-hover: #6ad1e3;
    --loyola-ink: #202a44;
    --loyola-muted: #657084;
    --loyola-line: #dce3eb;
    --loyola-surface: #ffffff;
    --loyola-surface-soft: #f6f8fb;
    --loyola-shadow: 0 10px 28px rgba(25, 42, 103, .09);
    --loyola-radius: 3px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--loyola-ink);
    background: var(--loyola-surface);
    line-height: 1.6;
}

h1,
.site-logo h1,
.archive-page-title,
.page-entry-title,
.search-page-title,
.genpost-entry-title,
.single-entry-title,
.blog-search-results__header h1 {
    font-family: Montserrat, Raleway, sans-serif !important;
}

a {
    color: var(--loyola-blue);
}

a:visited {
    color: var(--loyola-blue);
}

a:hover,
a:focus {
    color: var(--loyola-blue-strong);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--loyola-cyan);
    outline-offset: 3px;
}

.site-header {
    height: clamp(155px, 16vw, 210px);
}

.site-brand-container {
    background-position: center;
    /* background-size: cover; */
}

.site-content {
    margin-top: 0;
    padding: 32px 0 12px;
}

/* Fluid page width with a restrained maximum for the two-column news grid. */
.site-header .site-branding > .container,
.site-content > .container {
    width: 100%;
    max-width: 1440px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 16px;
    padding-left: 16px;
}

@media (min-width: 768px) {
    .site-header .site-branding > .container,
    .site-content > .container {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (min-width: 1200px) {
    .site-header .site-branding > .container,
    .site-content > .container {
        padding-right: 32px;
        padding-left: 32px;
    }
}

.site-content .blog-content-layout {
    margin-right: 0;
    margin-left: 0;
}

.site-content .blog-content-layout > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

.site-main > .row {
    margin-right: 0;
    margin-left: 0;
}

.site-main > .row > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

@media (min-width: 1000px) {
    .site-content .blog-content-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) clamp(280px, 26vw, 360px);
        gap: 32px;
        margin-right: 0;
        margin-left: 0;
    }

    .site-content .blog-content-layout::before,
    .site-content .blog-content-layout::after {
        content: none;
    }

    .site-content .blog-content-layout > [class*="col-"] {
        float: none;
        width: auto;
        min-width: 0;
        padding-right: 0;
        padding-left: 0;
    }
}

div.awaken-featured-container {
    margin-bottom: 5px;
}

/* Editorial masthead */
.blog-editorial-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--loyola-line);
}

h1.awaken-featured-container {
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--loyola-blue);
    background: transparent;
    font-family: Montserrat, Raleway, sans-serif !important;
    font-size: clamp(25px, 2.7vw, 40px);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.15;
    text-wrap: balance;
}

@media (max-width: 767px) {
    .blog-editorial-heading {
        padding-bottom: 16px;
        margin-bottom: 20px;
    }
}

.awaken-featured-container > div[style*="background"] {
    padding: 9px 14px !important;
    color: var(--loyola-blue) !important;
    background: var(--loyola-cyan) !important;
    border-radius: var(--loyola-radius);
    font-weight: 600;
}

/* Rounded controls inherited from the legacy theme. */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus,
#awaken-tags a,
.ssba_sharecount,
.flex-control-paging li a {
    border-radius: var(--loyola-radius);
}

/* Primary navigation */
#menusuperior {
    height: auto;
    background: transparent !important;
    box-shadow: none;
}

#menusuperior .menu {
    height: auto;
}

#menusuperior .container,
#menusuperior .awaken-navigation-container {
    min-height: 36px;
}

#menu-principal > li::before,
.responsive-menu > li::before {
    content: none !important;
}

@media (min-width: 1201px) {
    #site-navigation,
    #site-navigation .menu-principal-container {
        /* Compact on laptops; gently expand between 1440 and 1920 CSS pixels. */
        --blog-menu-inline-space: clamp(10px, calc(2.083333vw - 20px), 20px);
        --blog-menu-font-size: clamp(13px, calc(.208333vw + 10px), 14px);
        float: none;
        width: 100%;
        min-height: 36px;
    }

    #site-navigation #menu-principal {
        display: flex;
        align-items: stretch;
        justify-content: center;
        width: auto;
        margin: 0;
        padding: 0;
    }

    #site-navigation #menu-principal > li {
        display: flex;
        float: none;
        flex: 0 0 auto;
        position: relative;
        align-items: stretch;
        border: 0 !important;
    }

    #site-navigation #menu-principal > li + li::before {
        content: "" !important;
        position: absolute;
        top: 50%;
        left: 0;
        width: 1px;
        height: 12px;
        margin: 0;
        background: var(--loyola-cyan);
        transform: translateY(-50%);
        pointer-events: none;
    }

    #site-navigation #menu-principal > li > a {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 100%;
        min-height: 36px;
        padding: 8px var(--blog-menu-inline-space) !important;
        color: #fff;
        background: transparent;
        font-family: Montserrat, Raleway, sans-serif;
        font-size: var(--blog-menu-font-size);
        font-weight: 600;
        line-height: 1.25;
        letter-spacing: 0;
        white-space: nowrap;
        text-align: center;
        text-decoration: none;
        transition: color .22s ease, background-color .22s ease;
    }

    #site-navigation #menu-principal > li:first-child > a::before {
        content: none !important;
    }

    #site-navigation #menu-principal > li > a::after {
        content: "";
        position: absolute;
        right: var(--blog-menu-inline-space);
        bottom: 0;
        left: var(--blog-menu-inline-space);
        height: 2px;
        background: var(--loyola-cyan);
        opacity: 0;
        transition: opacity .22s ease, background-color .22s ease;
        pointer-events: none;
    }

    #site-navigation #menu-principal > li:hover > a::after,
    #site-navigation #menu-principal > li:focus-within > a::after,
    #site-navigation #menu-principal > li.active > a::after,
    #site-navigation #menu-principal > li.current > a::after {
        opacity: 1;
    }

    #site-navigation #menu-principal > li.parent > a::before {
        content: "";
        order: 1;
        width: 5px;
        height: 5px;
        margin: -3px 0 0 7px;
        border-right: 1px solid currentColor;
        border-bottom: 1px solid currentColor;
        transform: rotate(45deg);
        transition: transform .18s ease;
    }

    #site-navigation #menu-principal > li.parent:hover > a::before,
    #site-navigation #menu-principal > li.parent:focus-within > a::before {
        transform: translateY(2px) rotate(225deg);
    }

    #site-navigation #menu-principal > li.current > a,
    #site-navigation #menu-principal > li.active > a {
        color: var(--loyola-cyan);
        background: rgba(140, 209, 231, .08);
    }

    #site-navigation #menu-principal > li:hover > a,
    #site-navigation #menu-principal > li:focus-within > a {
        color: var(--loyola-blue-strong);
        background: var(--loyola-menu-hover);
    }

    #site-navigation #menu-principal > li:hover > a::after,
    #site-navigation #menu-principal > li:focus-within > a::after {
        background: var(--loyola-blue-strong);
        opacity: .55;
    }

    #site-navigation #menu-principal > li > .nav-child {
        top: 100%;
        left: -999em;
        min-width: 220px;
        padding: 6px;
        background: #fff;
        border: 1px solid var(--loyola-line);
        border-top: 2px solid var(--loyola-cyan);
        border-radius: 0 0 var(--loyola-radius) var(--loyola-radius);
        box-shadow: var(--loyola-shadow);
    }

    #site-navigation #menu-principal > li:hover > .nav-child,
    #site-navigation #menu-principal > li:focus-within > .nav-child {
        left: 0;
    }

    #site-navigation #menu-principal .nav-child li {
        float: none;
        width: 100%;
    }

    #site-navigation #menu-principal .nav-child a,
    #site-navigation #menu-principal li.active .nav-child a {
        width: 100%;
        padding: 10px 12px !important;
        color: var(--loyola-blue);
        background: #fff;
        border-radius: 2px;
        font-family: Montserrat, Raleway, sans-serif;
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
        transition: color .22s ease, background-color .22s ease, box-shadow .22s ease;
    }

    #site-navigation #menu-principal .nav-child li.active > a,
    #site-navigation #menu-principal .nav-child li.current > a,
    #site-navigation #menu-principal > li .nav-child li > a:hover,
    #site-navigation #menu-principal > li .nav-child li > a:focus {
        color: var(--loyola-blue-strong);
        background: var(--loyola-menu-hover);
        box-shadow: inset 3px 0 0 var(--loyola-blue-strong);
    }
}

/* Mobile navigation: trigger and panel are hidden on desktop and enabled in the <=1200px block below. */
#main-nav-button,
.responsive-mainnav {
    display: none;
}

.navbutton-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Full-width navigation band with a separate return link. */
.blog-navigation-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    width: 100%;
    padding: 0 clamp(32px, 3vw, 56px);
    background: url("https://www.uloyola.es/ftp/landing/assets/loyola-esfera-2.png") no-repeat right 8px center var(--loyola-blue);
    background-size: auto 90px;
    box-shadow: none;
}

.blog-navigation-row > #menusuperior {
    grid-column: 2;
    justify-self: center;
    min-width: 0;
}

.blog-navigation-row #menusuperior > .container {
    width: 100%;
    padding: 0;
}

.blog-navigation-row .landing-header-utilities {
    display: flex;
    grid-column: 1;
    align-items: center;
    justify-self: start;
    min-width: 0;
}

.blog-navigation-row .landing-back-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 0;
    color: #fff;
    font: 600 14px/1.4 Raleway, sans-serif;
    text-align: left;
    text-decoration: none;
    transition: color .18s ease;
}

.blog-navigation-row .landing-back-icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.blog-navigation-row .landing-back-label {
    min-width: 0;
}

.blog-navigation-row .landing-back-link > [aria-hidden="true"] {
    flex-shrink: 0;
    transition: transform .18s ease;
}

.blog-navigation-row .landing-back-link:hover > [aria-hidden="true"] {
    transform: translateX(-2px);
}

.blog-navigation-row .landing-back-link:hover {
    color: var(--loyola-cyan);
}

.blog-navigation-row .landing-back-link:hover .landing-back-label {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.blog-navigation-row a:focus-visible,
.blog-navigation-row button:focus-visible {
    outline: 2px solid var(--loyola-cyan);
    outline-offset: -2px;
}

.blog-navigation-row #site-navigation a:focus-visible,
.blog-navigation-row .responsive-mainnav a:focus-visible,
.blog-navigation-row #main-nav-button:focus-visible {
    outline: 2px solid var(--loyola-blue-strong);
    outline-offset: -3px;
}

/*
 * Tablet / smartphone: "Volver al portal" on the left, hamburger icon on the right.
 * The menu opens as a full-width panel anchored to the bottom edge of the bar.
 * Selectors are intentionally specific to beat the legacy rules in style.css.
 */
@media (max-width: 1200px) {
    .blog-navigation-row {
        display: flex;
        position: relative;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 56px;
        padding: 6px 12px 6px 16px;
        background-image: none;
    }

    .blog-navigation-row .landing-header-utilities {
        flex: 0 1 auto;
    }

    .blog-navigation-row .landing-back-link {
        flex: 0 1 auto;
        min-width: 0;
        min-height: 44px;
        padding: 0;
    }

    .blog-navigation-row > #menusuperior {
        flex: 0 0 auto;
    }

    .blog-navigation-row #menusuperior > .container {
        width: auto;
        min-height: 0;
        margin: 0;
        padding: 0;
    }

    .blog-navigation-row #menusuperior .awaken-navigation-container {
        position: static;
        min-height: 0;
    }

    .blog-navigation-row #site-navigation {
        display: none;
    }

    .blog-navigation-row #main-nav-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        float: none;
        width: 44px;
        height: 44px;
        min-height: 0;
        margin: 0;
        padding: 0;
        color: #fff;
        background: rgba(255, 255, 255, .06);
        border: 1px solid rgba(255, 255, 255, .35);
        border-radius: var(--loyola-radius);
        box-shadow: none;
        cursor: pointer;
        transition: color .18s ease, background-color .18s ease, border-color .18s ease;
    }

    .blog-navigation-row #main-nav-button::before {
        content: "\f0c9";
        margin: 0;
        font: normal 18px/1 FontAwesome;
    }

    .blog-navigation-row #main-nav-button:hover,
    .blog-navigation-row #main-nav-button:focus,
    .blog-navigation-row #main-nav-button[aria-expanded="true"] {
        color: var(--loyola-blue-strong);
        background: var(--loyola-menu-hover);
        border-color: var(--loyola-menu-hover);
    }

    .blog-navigation-row #main-nav-button[aria-expanded="true"]::before {
        content: "\f00d";
    }

    .blog-navigation-row .responsive-mainnav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 1000;
        max-height: calc(100vh - 140px);
        padding: 4px 0 8px;
        overflow-y: auto;
        background: var(--loyola-blue-strong);
        border-top: 2px solid var(--loyola-cyan);
        box-shadow: 0 16px 28px rgba(16, 29, 77, .35);
    }

    .blog-navigation-row .responsive-mainnav ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .blog-navigation-row .responsive-mainnav li {
        float: none;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .blog-navigation-row .responsive-mainnav li + li {
        border-top: 1px solid rgba(255, 255, 255, .08);
    }

    .blog-navigation-row .responsive-mainnav a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 12px 20px;
        color: #fff;
        background: transparent;
        border: 0;
        font-family: Montserrat, Raleway, sans-serif;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.35;
        text-decoration: none;
        transition: color .22s ease, background-color .22s ease, box-shadow .22s ease;
    }

    .blog-navigation-row .responsive-mainnav a:hover,
    .blog-navigation-row .responsive-mainnav a:focus,
    .blog-navigation-row .responsive-mainnav .nav-child a:hover,
    .blog-navigation-row .responsive-mainnav .nav-child a:focus,
    .blog-navigation-row .responsive-mainnav .nav-child li.active > a,
    .blog-navigation-row .responsive-mainnav .nav-child li.current > a,
    .blog-navigation-row .responsive-mainnav li.active > a,
    .blog-navigation-row .responsive-mainnav li.current > a {
        color: var(--loyola-blue-strong);
        background: var(--loyola-menu-hover);
        box-shadow: inset 3px 0 0 var(--loyola-blue-strong);
    }

    .blog-navigation-row .responsive-mainnav .nav-child {
        margin: 0;
        background: rgba(0, 0, 0, .16);
    }

    .blog-navigation-row .responsive-mainnav .nav-child a {
        min-height: 44px;
        padding: 10px 20px 10px 36px;
        color: #dcebf3;
        font-size: 13px;
        font-weight: 500;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .blog-navigation-row .responsive-mainnav {
        right: 16px;
        left: auto;
        width: 360px;
    }
}

@media (max-width: 359px) {
    .blog-navigation-row {
        gap: 8px;
        padding-left: 12px;
    }

    .blog-navigation-row .landing-back-link {
        gap: 4px;
        font-size: 12px;
    }
}

/* Search */
.blog-news-search {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0 0 26px;
    padding: 18px 20px;
    background: var(--loyola-surface-soft);
    border: 1px solid var(--loyola-line);
    border-left: 4px solid var(--loyola-cyan);
    border-radius: var(--loyola-radius);
}

.blog-news-search--sidebar {
    display: block;
    margin: 0 0 20px;
    padding: 22px;
    background: var(--loyola-cyan-soft);
    border: 1px solid var(--loyola-line);
    border-top: 3px solid var(--loyola-blue);
}

.blog-news-search--sidebar .blog-news-search__heading {
    gap: 10px;
    margin-bottom: 10px;
}

.blog-news-search--sidebar .blog-news-search__icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    font-size: 13px;
}

.blog-news-search--sidebar h2 {
    font-size: 16px;
}

.blog-news-search--sidebar p {
    font-size: 12px;
}

.blog-news-search--sidebar .blog-news-search__form {
    flex-wrap: wrap;
    gap: 7px;
}

.blog-news-search--sidebar input[type="search"] {
    flex: 1 1 100%;
    height: 40px;
    font-size: 13px;
}

.blog-news-search--sidebar button {
    min-width: 86px;
    height: 40px;
    padding: 8px 14px;
    font-size: 13px;
}

.blog-news-search--sidebar .blog-news-search__clear {
    min-height: 40px;
    padding: 0 4px;
    font-size: 12px;
}

.blog-news-search__heading {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 1 360px;
}

.blog-news-search__icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    color: var(--loyola-blue);
    background: var(--loyola-cyan);
    border-radius: var(--loyola-radius);
    font-size: 15px;
}

.blog-news-search h2 {
    margin: 0 0 2px;
    color: var(--loyola-blue);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.blog-news-search p {
    margin: 0;
    color: var(--loyola-muted);
    font-size: 13px;
    line-height: 1.4;
}

.blog-news-search__form {
    display: flex;
    align-items: stretch;
    gap: 8px;
    flex: 1 1 520px;
}

.blog-news-search input[type="search"] {
    box-sizing: border-box;
    flex: 1 1 auto;
    min-width: 0;
    height: auto;
    padding: 9px 13px;
    color: var(--loyola-ink);
    background: #fff;
    border: 1px solid #b8c3d1;
    border-radius: var(--loyola-radius);
    font-size: 14px;
    line-height: 24px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.blog-news-search input[type="search"]:focus {
    border-color: var(--loyola-blue);
    box-shadow: 0 0 0 3px rgba(140, 209, 231, .35);
}

.blog-news-search button,
.blog-news-search button:hover,
.blog-news-search button:focus {
    min-width: 92px;
    height: 44px;
    padding: 9px 18px;
    color: #fff;
    background: var(--loyola-blue);
    border: 1px solid var(--loyola-blue);
    border-radius: var(--loyola-radius);
    box-shadow: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
}

.blog-news-search button:hover,
.blog-news-search button:focus {
    color: var(--loyola-blue-strong);
    background: var(--loyola-cyan);
    border-color: var(--loyola-cyan);
}

.blog-news-search__clear {
    display: inline-flex;
    align-items: center;
    padding: 0 6px;
    color: var(--loyola-blue);
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-news-search__clear:hover,
.blog-news-search__clear:focus {
    color: var(--loyola-blue-strong);
}

/* Listing cards */
.content-area {
    margin-top: 0;
}

.archive-page-header,
.page-entry-header,
.search-page-header {
    margin-bottom: 24px;
    padding: 12px 16px;
    background: var(--loyola-cyan-soft);
    border: 0 !important;
    border-left: 4px solid var(--loyola-cyan) !important;
    border-radius: var(--loyola-radius);
}

.archive-page-title,
.page-entry-title,
.search-page-title {
    height: auto;
    margin: 0;
    padding: 0 !important;
    color: var(--loyola-blue);
    background: transparent !important;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.3;
}

article.genaral-post-item.hentry {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 0 28px;
    overflow: hidden;
    background: var(--loyola-surface);
    border: 1px solid var(--loyola-line);
    border-radius: var(--loyola-radius);
    box-shadow: none;
    transition: transform .3s ease-in-out, background-color .3s ease-in-out, border-color .3s ease-in-out, box-shadow .3s ease-in-out;
}

article.genaral-post-item.hentry::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 2;
    height: 3px;
    background: var(--loyola-cyan);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s ease-in-out;
    pointer-events: none;
}

article.genaral-post-item.hentry::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 1px solid var(--loyola-cyan);
    border-radius: inherit;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    pointer-events: none;
}

article.genaral-post-item.hentry:hover,
article.genaral-post-item.hentry:focus-within {
    background-color: var(--loyola-cyan-soft);
    border-color: var(--loyola-cyan);
    box-shadow: 0 10px 24px rgba(16, 29, 77, .09);
    transform: none;
}

article.genaral-post-item.hentry:hover::after,
article.genaral-post-item.hentry:focus-within::after {
    opacity: 1;
}

article.genaral-post-item.hentry:hover::before,
article.genaral-post-item.hentry:focus-within::before {
    transform: scaleX(1);
}

.genpost-featured-image {
    position: relative;
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
    background: var(--loyola-surface-soft);
}

.genpost-featured-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(16, 29, 77, .18));
    opacity: 0;
    transition: opacity .3s ease-in-out;
    pointer-events: none;
}

.genpost-featured-image a {
    display: block;
    height: 100%;
}

.genpost-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease-in-out, opacity .3s ease-in-out, filter .3s ease-in-out;
}

article.genaral-post-item.hentry:hover .genpost-featured-image img,
article.genaral-post-item.hentry:focus-within .genpost-featured-image img {
    transform: scale(1.04);
    opacity: .9;
    filter: saturate(1.05) contrast(1.01);
}

article.genaral-post-item.hentry:hover .genpost-featured-image::after,
article.genaral-post-item.hentry:focus-within .genpost-featured-image::after {
    opacity: 1;
}

.genpost-entry-header {
    padding: 20px 20px 0;
}

.genpost-entry-title {
    margin: 0;
    font-size: clamp(18px, 1.7vw, 22px);
    font-weight: 600;
    letter-spacing: -.025em;
    text-wrap: pretty;
    line-height: 1.35;
    text-align: left;
}

.genpost-entry-title::after {
    content: none;
}

article.genaral-post-item.hentry .genpost-entry-title a {
    --blog-story-underline-opacity: 0;
    color: var(--loyola-blue);
    /* Disable native underlines, including legacy hover rules using currentColor. */
    text-decoration: none !important;
    background-image: linear-gradient(
        rgba(140, 209, 231, var(--blog-story-underline-opacity)),
        rgba(140, 209, 231, var(--blog-story-underline-opacity))
    );
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 2px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    transition: color .3s ease-in-out, --blog-story-underline-opacity .3s ease-in-out;
}

article.genaral-post-item.hentry .genpost-entry-title a:hover,
article.genaral-post-item.hentry .genpost-entry-title a:focus,
article.genaral-post-item.hentry:hover .genpost-entry-title a,
article.genaral-post-item.hentry:focus-within .genpost-entry-title a {
    --blog-story-underline-opacity: 1;
    color: var(--loyola-blue-strong);
}

.genpost-entry-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 15px 20px 20px;
    color: #40495b;
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
}

.genpost-entry-content .posted-on {
    order: -1;
    margin: 0 0 10px !important;
    color: var(--loyola-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .03em;
}

.genpost-entry-content > p:not(.readmore) {
    width: 100%;
    text-align: left !important;
}

.genpost-entry-content .readmore {
    width: 100%;
    margin: auto 0 0;
    padding-top: 10px;
    text-align: right;
}

.genpost-entry-content .readmore a,
.genpost-entry-content .readmore a:visited {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 3px 14px;
    color: var(--loyola-blue);
    /* background: var(--loyola-cyan); */
    border: 1px solid var(--loyola-blue);
    border-radius: var(--loyola-radius);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.genpost-entry-content .readmore a:hover,
.genpost-entry-content .readmore a:focus {
    color: #fff;
    background: var(--loyola-blue);
    border-color: var(--loyola-blue);
    transform: translateY(-1px);
}

@media (min-width: 768px) {
    .content-area .site-main > .row {
        display: flex;
        flex-wrap: wrap;
    }

    .content-area .site-main > .row > [class*="col-"] {
        display: flex;
    }
}

.content-area .paging-navigation {
    width: 100%;
}

/* One native article link covers the card; inline editorial links stay usable. */
.genaral-post-item,
.blog-search-card {
    position: relative;
    isolation: isolate;
}

.blog-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: var(--loyola-radius);
    cursor: pointer;
}

.blog-card-link:focus-visible {
    outline: none;
}

.blog-card-link:focus-visible::after {
    outline: 2px solid var(--loyola-blue);
    outline-offset: -3px;
}

.blog-story-excerpt a,
.blog-story-excerpt button {
    position: relative;
    z-index: 2;
}

.genpost-featured-image > img {
    display: block;
}

@media (hover: hover) and (pointer: fine) {
    article.genaral-post-item.hentry:hover {
        transform: translateY(-6px);
    }

    .blog-search-card:hover {
        transform: translateY(-2px);
    }
}

@media (prefers-reduced-motion: reduce) {
    article.genaral-post-item.hentry:hover,
    .blog-search-card:hover,
    .blog-search-card:hover .blog-search-card__media img {
        transform: none;
    }

    article.genaral-post-item.hentry:hover .genpost-featured-image img,
    article.genaral-post-item.hentry:focus-within .genpost-featured-image img {
        transform: scale(1.015);
    }
}

/* Equal news cards: two columns, stacked on mobile. */
.blog-stories {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin-bottom: 32px;
}

.blog-story {
    display: flex;
    min-width: 0;
}

.blog-story .genaral-post-item {
    margin: 0;
}

.blog-identity-section {
    flex-direction: column;
}

.blog-identity-section .genaral-post-item {
    flex: 1 1 auto;
}

.blog-identity-category-heading {
    margin: 0 0 12px;
}

.blog-identity-category-link,
.blog-identity-category-link:visited {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 10px 15px;
    color: var(--loyola-blue);
    background: var(--loyola-cyan-soft);
    border: 1px solid #cfeaf4;
    border-left: 3px solid var(--loyola-cyan);
    border-radius: var(--loyola-radius);
    text-decoration: none;
    transition: color .65s ease-in-out, background-color .7s ease-in-out, border-color .7s ease-in-out, box-shadow .7s ease-in-out;
}

.blog-identity-category-link:hover,
.blog-identity-category-link:focus-visible {
    color: var(--loyola-blue-strong);
    background: #e1f4fa;
    border-color: var(--loyola-cyan);
    border-left-color: var(--loyola-blue);
    box-shadow: 0 4px 12px rgba(16, 29, 77, .08);
}

.blog-identity-category-name {
    font: 700 clamp(17px, 1.5vw, 20px)/1.25 Montserrat, Raleway, sans-serif;
}

.blog-identity-category-action {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 5px;
    color: var(--loyola-blue);
    font: 600 12px/1.2 Montserrat, Raleway, sans-serif;
    white-space: nowrap;
}

.blog-identity-category-action > span {
    font-size: 17px;
    transition: transform .45s ease-in-out;
}

.blog-identity-category-link:hover .blog-identity-category-action > span,
.blog-identity-category-link:focus-visible .blog-identity-category-action > span {
    transform: translateX(3px);
}

.blog-story-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin-bottom: 12px;
    font-size: 11px;
    line-height: 1.5;
    color: var(--loyola-muted);
}

.blog-story-category {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 4px 8px;
    border: 1px solid var(--loyola-cyan);
    border-radius: var(--loyola-radius);
    background: var(--loyola-cyan-soft);
    color: var(--loyola-blue);
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.3;
    text-transform: uppercase;
    transition: background-color .3s ease-in-out;
}

.genaral-post-item:hover .blog-story-category,
.genaral-post-item:focus-within .blog-story-category {
    background: #dff3fa;
}

.blog-story-meta time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border: 1px solid var(--loyola-line);
    border-radius: var(--loyola-radius);
    background: var(--loyola-surface-soft);
    color: var(--loyola-muted);
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    transition: background-color .3s ease-in-out, border-color .3s ease-in-out, color .3s ease-in-out;
}

.genaral-post-item:hover .blog-story-meta time,
.genaral-post-item:focus-within .blog-story-meta time {
    border-color: #b8e3f0;
    background: #e7f4f9;
    color: var(--loyola-blue);
}

.blog-story-meta time svg {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    color: var(--loyola-blue);
}

.blog-story .genpost-entry-content {
    padding-top: 12px;
    font-size: 16px;
}

.blog-story-excerpt {
    width: 100%;
}

.blog-story-excerpt--preview {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
    width: 100%;
}

.blog-story-excerpt p {
    margin: 0;
    text-align: left !important;
}

.blog-story .genpost-entry-content .readmore {
    padding-top: 14px;
}

.genpost-entry-content .readmore a::after {
    content: "\2192";
    margin-left: 12px;
    transition: transform .18s ease;
}

.genpost-entry-content .readmore a:hover::after {
    transform: translateX(3px);
}

@media (min-width: 768px) {
    .blog-stories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .blog-stories {
        gap: 24px;
    }

    .blog-story .genpost-entry-header {
        padding: 18px 18px 0;
    }

    .blog-story .genpost-entry-title {
        font-size: 20px;
        line-height: 1.3;
    }

    .blog-story .genpost-entry-content {
        padding: 10px 18px 18px;
        line-height: 1.55;
    }

    .blog-story-meta {
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
    .blog-stories {
        gap: 20px;
    }

    .blog-story .genpost-featured-image {
        aspect-ratio: 2 / 1;
    }

    .blog-story .genpost-entry-header {
        padding: 16px 16px 0;
    }

    .blog-story .genpost-entry-content {
        padding: 10px 16px 16px;
        font-size: 16px;
        line-height: 1.55;
    }

    .blog-story .genpost-entry-title {
        font-size: 18px;
        line-height: 1.3;
    }

    .blog-story-meta {
        margin-bottom: 8px;
    }

    .blog-story-excerpt--preview {
        -webkit-line-clamp: 5;
    }

    .blog-story .readmore a {
        min-height: 26px;
        padding: 2px 12px;
    }
}

/* Individual articles */
.single-post {
    --blog-article-column: 760px;
    padding: clamp(18px, 3vw, 34px);
    background: #fff;
    border: 1px solid var(--loyola-line);
    border-radius: var(--loyola-radius);
    box-shadow: none;
}

.site-main h2,
.site-main h3,
.main-widget-area .widget-title {
    font-family: Montserrat, Raleway, sans-serif;
}

.blog-related {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--loyola-line);
}

.blog-related h2 {
    margin: 0 0 12px;
    color: var(--loyola-blue);
    font-size: 16px;
    font-weight: 600;
}

.blog-related ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-related li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-related li::before {
    content: none;
}

.blog-related a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    height: 100%;
    padding: 10px;
    border-radius: var(--loyola-radius);
    color: var(--loyola-blue);
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.blog-related a.blog-related-link--text-only {
    grid-template-columns: minmax(0, 1fr) auto;
}

.blog-related-thumbnail {
    display: block;
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: var(--loyola-radius);
    background: var(--loyola-surface-soft);
}

.blog-related-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.blog-related a:hover,
.blog-related a:focus-visible {
    color: var(--loyola-blue-strong);
    background: var(--loyola-cyan-soft);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-rss-subscription {
    grid-column: 1 / -1;
    margin-bottom: 20px;
    border: 1px solid var(--loyola-line);
    border-radius: var(--loyola-radius);
    background: var(--loyola-surface);
}

.blog-rss-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--loyola-blue);
    border-radius: inherit;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease;
}

.blog-rss-link:hover,
.blog-rss-link:focus-visible {
    color: var(--loyola-blue-strong);
    background: var(--loyola-cyan-soft);
    text-decoration: none;
}

.blog-rss-icon {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--loyola-cyan-soft);
    border-radius: var(--loyola-radius);
}

.blog-rss-arrow {
    margin-left: auto;
}

@media (max-width: 600px) {
    .blog-related ul {
        grid-template-columns: minmax(0, 1fr);
    }

    .blog-related-thumbnail {
        width: 64px;
        height: 48px;
    }
}

.single-entry-header {
    max-width: var(--blog-article-column);
    margin: 0 auto 22px;
}

.single-entry-title {
    margin: 0;
    color: var(--loyola-blue);
    font-family: Montserrat, Raleway, sans-serif !important;
    font-size: clamp(27px, 3.1vw, 40px);
    letter-spacing: -.035em;
    text-wrap: balance;
    font-weight: 700;
    line-height: 1.2;
}

.single-entry-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    color: var(--loyola-muted);
    font-size: 13px;
    font-weight: 600;
}

.single-entry-date::before {
    content: "\f133";
    color: var(--loyola-blue);
    font-family: FontAwesome;
    font-weight: 400;
}

.article-featured-image {
    position: relative;
    max-width: var(--blog-article-column);
    margin: 0 auto 26px;
    overflow: hidden;
    background: var(--loyola-surface-soft);
    border-radius: var(--loyola-radius);
    box-shadow: none;
    transition: box-shadow .6s ease;
}

.article-featured-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(16, 29, 77, .12));
    opacity: 0;
    pointer-events: none;
    transition: opacity .7s ease;
}

.article-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .9s cubic-bezier(.22, .65, .3, 1), filter .7s ease;
}

@media (hover: hover) and (pointer: fine) {
    .article-featured-image:hover {
        box-shadow: 0 8px 20px rgba(16, 29, 77, .08);
    }

    .article-featured-image:hover img {
        transform: scale(1.025);
        filter: saturate(1.03);
    }

    .article-featured-image:hover::after {
        opacity: 1;
    }
}

.single-post .entry-content {
    max-width: var(--blog-article-column);
    margin-right: auto;
    margin-left: auto;
    overflow-wrap: anywhere;
    margin-top: 0;
    color: #30394c;
    font-size: 17px;
    line-height: 1.72;
}

.single-post .entry-content p,
.single-post .entry-content ul,
.single-post .entry-content ol {
    margin-bottom: 1.25em;
}

.single-post .article-body {
    display: flow-root;
}

.single-post .article-body > :first-child {
    margin-top: 0;
}

.single-post .article-body :is(h1, h2, h3, h4) {
    margin: 1.65em 0 .6em;
    color: var(--loyola-blue);
    font-family: Montserrat, Raleway, sans-serif;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.35;
    text-align: left !important;
    text-wrap: balance;
}

.single-post .article-body :is(h1, h2) {
    font-size: clamp(21px, 2vw, 26px);
}

.single-post .article-body h3 {
    font-size: clamp(18px, 1.6vw, 21px);
}

.single-post .article-body h4 {
    font-size: 17px;
}

.single-post .article-body :is(strong, b) {
    color: #00205b;
    font-weight: 700;
}

.single-post .article-body a :is(strong, b) {
    color: inherit;
}

.single-post .article-body :is(ul, ol) {
    padding-left: 1.5em;
}

.single-post .article-body li + li {
    margin-top: .35em;
}

.single-post .article-body li::marker {
    color: var(--loyola-blue);
}

.single-post .article-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.4em auto;
    border-radius: var(--loyola-radius);
}

.single-post .article-body :is(figure, .wp-caption) {
    max-width: 100%;
    margin: 1.75em auto;
}

.single-post .article-body figure img {
    margin: 0 auto;
}

.single-post .article-body :is(figcaption, .wp-caption-text) {
    margin-top: 8px;
    color: var(--loyola-muted);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.single-post .article-body :is(iframe, video) {
    display: block;
    max-width: 100%;
    margin: 1.75em auto;
    border: 0;
    border-radius: var(--loyola-radius);
}

.single-post .article-body video {
    width: 100%;
    height: auto;
}

.single-post .article-body iframe:is([src*="youtube.com"], [src*="youtu.be"], [src*="vimeo.com"]) {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.single-post .article-body table {
    display: block;
    max-width: 100%;
    margin: 1.75em 0;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: .94em;
}

.single-post .article-body :is(th, td) {
    padding: 9px 12px;
    border-bottom: 1px solid var(--loyola-line);
    text-align: left;
    vertical-align: top;
}

.single-post .article-body th {
    color: var(--loyola-blue);
    background: var(--loyola-cyan-soft);
    font-weight: 700;
}

.single-post .article-body blockquote {
    margin: 1.75em 0;
    padding: 18px 22px;
    color: var(--loyola-blue);
    background: var(--loyola-cyan-soft);
    border-left: 4px solid var(--loyola-cyan);
    border-radius: 0 var(--loyola-radius) var(--loyola-radius) 0;
}

.single-post .article-body blockquote > :last-child {
    margin-bottom: 0;
}

.single-post .article-body a {
    color: var(--loyola-blue);
    font-weight: 600;
    text-decoration-line: underline;
    text-decoration-color: var(--loyola-cyan);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: color .2s ease, background-color .2s ease, text-decoration-color .2s ease;
}

.single-post .article-body a:hover,
.single-post .article-body a:focus {
    color: var(--loyola-blue-strong);
    background-color: var(--loyola-cyan-soft);
    text-decoration-color: var(--loyola-blue);
}

@media (max-width: 767px) {
    .single-post .article-body :is(p, li) {
        text-align: left !important;
    }

    .single-post .article-body img {
        float: none !important;
    }
}

.ssba-wrap {
    margin-top: 34px;
    /* padding-top: 20px;
    border-top: 1px solid var(--loyola-line); */
}

.ssba-header {
    margin: 0 0 10px !important;
    color: var(--loyola-blue);
    font-size: 16px;
}

.ssba .ssba_share_link img,
.ssba button img {
    transition: transform .2s ease, filter .2s ease;
}

.ssba a:hover img,
.ssba button:hover img {
    transform: translateY(-2px) scale(1.04);
}

/* Search results */
.blog-search-results__header {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--loyola-cyan);
}

.blog-search-results__eyebrow,
.blog-search-card__category {
    margin: 0 0 4px;
    color: var(--loyola-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.blog-search-results__header h1 {
    margin: 0 0 5px;
    color: var(--loyola-blue);
    font-size: clamp(23px, 2.6vw, 32px);
    font-weight: 700;
    line-height: 1.25;
}

.blog-search-results__header > p:last-child {
    margin: 0;
    color: var(--loyola-muted);
    font-size: 14px;
}

.blog-search-results__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.blog-search-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--loyola-line);
    border-radius: var(--loyola-radius);
    box-shadow: none;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.blog-search-card:hover,
.blog-search-card:focus-within {
    border-color: var(--loyola-cyan);
    box-shadow: 0 6px 20px rgba(25, 42, 103, .08);
    transform: none;
}

.blog-search-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--loyola-surface-soft);
}

.blog-search-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.blog-search-card:hover .blog-search-card__media img {
    transform: scale(1.015);
}

.blog-search-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 17px;
}

.blog-search-card h2 {
    font-family: Montserrat, Raleway, sans-serif;
    letter-spacing: -.02em;
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.blog-search-card h2 a {
    color: var(--loyola-blue);
    text-decoration: none;
}

.blog-search-card h2 a:hover,
.blog-search-card h2 a:focus {
    color: var(--loyola-blue-strong);
}

.blog-search-card time {
    margin-bottom: 10px;
    color: var(--loyola-muted);
    font-size: 12px;
    font-weight: 600;
}

.blog-search-card__excerpt {
    color: #465064;
    font-size: 14px;
    line-height: 1.6;
}

.blog-search-card__link {
    margin-top: auto;
    color: var(--loyola-blue);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.blog-search-card__link span {
    display: inline-block;
    margin-left: 4px;
    transition: transform .2s ease;
}

.blog-search-card__link:hover span,
.blog-search-card__link:focus span {
    transform: translateX(3px);
}

.blog-search-results__empty {
    padding: 28px;
    color: var(--loyola-muted);
    background: var(--loyola-surface-soft);
    border: 1px solid var(--loyola-line);
    border-radius: var(--loyola-radius);
}

.blog-search-results__empty h2 {
    margin-top: 0;
    color: var(--loyola-blue);
    font-size: 20px;
}

.blog-search-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
}

.blog-search-pagination a,
.blog-search-pagination span:not(.blog-search-pagination__ellipsis) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 7px 11px;
    color: var(--loyola-blue);
    background: var(--loyola-cyan);
    border: 1px solid var(--loyola-line);
    border-radius: var(--loyola-radius);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.blog-search-pagination a:hover,
.blog-search-pagination a:focus,
.blog-search-pagination .is-current {
    color: #fff !important;
    background: var(--loyola-blue) !important;
    border-color: var(--loyola-blue) !important;
}

.blog-search-pagination__direction {
    padding-right: 14px !important;
    padding-left: 14px !important;
}

/* Existing pagination and sidebar */
nav.pagination__wrapper ul.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin: 6px 0 28px;
}

nav.pagination__wrapper a,
nav.pagination__wrapper .page-link,
nav.pagination__wrapper li.active a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 7px 10px;
    color: var(--loyola-blue);
    background: white;
    border: 1px solid var(--azul-claro-blog) !important;
    border-radius: var(--loyola-radius) !important;
    font-size: 13px;
    font-weight: 700;
}

nav.pagination__wrapper li.active a,
nav.pagination__wrapper li a:hover,
nav.pagination__wrapper li a:focus {
    color: #fff;
    background: var(--loyola-blue);
    border-color: var(--loyola-blue) !important;
    text-decoration: none;
}

.main-widget-area .widget {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--loyola-line);
    border-radius: var(--loyola-radius);
    box-shadow: none;
}

.main-widget-area .widget-title {
    height: auto;
    min-height: 36px;
    padding: 8px 14px;
    background: var(--loyola-blue) !important;
    font-size: 13px;
    line-height: 20px;
}

.widget-title-container,
.awt-container {
    border-color: var(--loyola-cyan) !important;
}

.awt-title {
    background: var(--loyola-blue);
}

.main-widget-area .widget img {
    max-width: 100%;
    height: auto;
    transition: transform .3s ease, opacity .3s ease;
}

.main-widget-area .widget a:hover img,
.main-widget-area .widget a:focus img {
    opacity: .94;
    transform: scale(1.015);
}

/* The shared v6 footer supplies its own layout and palette. */
@font-face {
    font-family: "Open Sans";
    src: url("../fonts/OpenSans-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Copyright bar of the legacy v6 footer, scoped to the blog. */
#page .site-footer .footer-bottom {
    color: var(--loyola-blue);
    background: #dee2e5;
}

#page .site-footer .footer-bottom .footer-bottom-inner {
    width: 100%;
    max-width: 1760px;
    margin: 0 auto;
    padding: 12px 40px;
}

#page .site-footer .footer-bottom .copyright {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 18px;
    margin: 0;
    color: var(--loyola-blue);
    font: 400 13px/1.5 "Open Sans", Arial, sans-serif;
    text-align: center;
}

#page .site-footer .footer-bottom .copy-text {
    margin-right: auto;
    color: var(--loyola-blue);
    font-weight: 600;
}

#page .site-footer .footer-bottom .copyright > br {
    display: none !important;
}

#page .site-footer .footer-bottom a.footer-link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin: 0;
    color: var(--loyola-blue);
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
    transition: color .2s ease;
}

#page .site-footer .footer-bottom a.footer-link:hover,
#page .site-footer .footer-bottom a.footer-link:focus-visible {
    color: var(--loyola-blue-strong);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 1599px) {
    #page .site-footer .footer-bottom .copy-text {
        flex-basis: 100%;
        margin-right: 0;
    }
}

@media (max-width: 767px) {
    #page .site-footer .footer-bottom .footer-bottom-inner {
        padding: 14px 20px;
    }

    #page .site-footer .footer-bottom .copyright {
        gap: 4px 16px;
    }
}

@media (max-width: 1200px) {
    .blog-news-search {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .blog-news-search__heading,
    .blog-news-search__form {
        flex-basis: auto;
        width: 100%;
    }
}

@media (max-width: 999px) {
    .site-content {
        padding-top: 18px;
    }

    #secondary {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        margin-top: 26px;
    }

    #secondary .widget {
        float: none !important;
        width: 100% !important;
        margin: 0;
    }

    .blog-news-search--sidebar {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .site-header {
        height: clamp(128px, 36vw, 175px);
    }

    .site-header .container,
    .site-brand-container {
        width: 100%;
        padding: 0;
    }

    .site-brand-container {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .site-content > .container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .genaral-post-item {
        margin-bottom: 22px;
    }

    .blog-news-search {
        margin-bottom: 20px;
        padding: 15px;
    }

    .blog-news-search--sidebar {
        margin-bottom: 14px;
        padding: 12px;
    }

    .blog-news-search__form {
        flex-wrap: wrap;
    }

    .blog-news-search input[type="search"] {
        flex-basis: calc(100% - 100px);
    }

    .blog-news-search__clear {
        width: 100%;
        min-height: 32px;
        padding: 2px 0 0;
    }

    .blog-search-results__grid {
        grid-template-columns: 1fr;
    }

    .single-post {
        padding: 18px;
    }

    .single-post .entry-content {
        font-size: 16px;
        line-height: 1.7;
    }

    #secondary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .blog-news-search__heading {
        align-items: flex-start;
    }

    .blog-news-search__form input[type="search"],
    .blog-news-search__form button {
        flex: 0 0 100%;
        width: 100%;
    }

    .blog-news-search--sidebar .blog-news-search__clear {
        width: 100%;
        min-height: 30px;
    }

    .genpost-entry-header,
    .genpost-entry-content {
        padding-right: 16px;
        padding-left: 16px;
    }

    .single-entry-title {
        font-size: clamp(24px, 7.5vw, 30px);
    }

    .blog-search-pagination__direction {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .article-featured-image:hover img {
        transform: none;
        filter: none;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    /* Keep the requested card feedback, with a smaller zoom and no card lift. */
    article.genaral-post-item.hentry,
    article.genaral-post-item.hentry::before,
    article.genaral-post-item.hentry::after,
    article.genaral-post-item.hentry .genpost-entry-title a,
    article.genaral-post-item.hentry .genpost-featured-image img,
    article.genaral-post-item.hentry .genpost-featured-image::after,
    article.genaral-post-item.hentry .blog-story-category,
    article.genaral-post-item.hentry .blog-story-meta time {
        transition-duration: .3s !important;
    }
}
