html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 900px) {
    .seo-grid,
    .seo-directory-layout {
        grid-template-columns: 1fr;
    }

    .seo-doctor-card {
        grid-template-columns: 140px minmax(0, 1fr);
    }

    .seo-doctor-card img {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 560px) {
    .seo-hero {
        padding: 48px 0 34px;
    }

    .seo-doctor-card {
        grid-template-columns: 1fr;
    }

    .seo-doctor-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }
}

.form-help {
    display: block;
    margin-top: 8px;
    color: #6a7a96;
    font-size: 0.82rem;
    line-height: 1.45;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: #f1f3f4;
    margin: 0;
}

.site-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: relative;
    z-index: 50;
}

.site-topbar {
    background: #1c1c1c;
    color: rgba(255, 255, 255, 0.72);
}

.site-topbar-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-sizing: border-box;
}

.site-topbar-note {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.site-topbar-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-topbar-links a {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.site-navbar {
    background: #f6f8fb;
    box-shadow: 0 10px 24px rgba(15, 42, 76, 0.08);
    overflow: visible;
}

.site-navbar-inner {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    overflow: visible;
    box-sizing: border-box;
}

.site-brand-panel {
    flex: 0 0 min(340px, 100%);
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    background: #ffffff;
    box-sizing: border-box;
}

.site-nav-panel {
    flex: 1 1 auto;
    min-height: 50px;
    padding: 0 18px 0 22px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #3a9fe5;
    z-index: 1;
    overflow: visible;
    box-sizing: border-box;
}

.site-nav-panel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 100vw;
    background: #3a9fe5;
    z-index: -1;
}

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

.site-brand-logo {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
}

.site-main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    flex: 1 1 auto;
    overflow: visible;
    box-sizing: border-box;
}

.site-main-nav a {
    position: relative;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
}

.site-main-nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: -12px;
    overflow: visible;
}

.site-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    margin-top: 0;
    padding: 10px 0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(16, 36, 71, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 40;
}

.site-submenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.site-submenu a {
    display: block;
    padding: 10px 14px;
    color: #183255;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
}

.site-submenu a:hover {
    background: #f1f6fd;
}

.site-main-nav-item:hover .site-submenu,
.site-main-nav-item:focus-within .site-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.site-main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.site-main-nav a:hover::after,
.site-main-nav a:focus-visible::after {
    transform: scaleX(1);
}

.site-phone-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(20, 111, 176, 0.55);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.site-footer {
    margin-top: 0;
    padding: 64px 0 26px;
    background:
        radial-gradient(circle at top right, rgba(144, 212, 255, 0.18), transparent 26%),
        radial-gradient(circle at bottom left, rgba(94, 177, 217, 0.12), transparent 30%),
        linear-gradient(180deg, #375168 0%, #2d4358 100%);
    color: #dce6f2;
}

.site-footer-main {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 56px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(164, 191, 218, 0.24);
}

.site-footer-main::before {
    content: "";
    position: absolute;
    top: -22px;
    left: 0;
    width: 84px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #6eb6ef 0%, #a7dbff 100%);
}

.site-footer-brand h2,
.site-footer-news h3 {
    margin: 0 0 24px;
    color: #ffffff;
}

.site-footer-brand h2 {
    font-size: 22px;
    line-height: 1.2;
}

.site-footer-brand p {
    margin: 0;
    max-width: 520px;
    color: #d1dced;
    font-size: 16px;
    line-height: 1.9;
}

.site-footer-news {
    display: grid;
    align-content: start;
    gap: 18px;
}

.site-footer-news h3 {
    font-size: 20px;
    text-transform: uppercase;
}

.site-footer-view-all {
    color: #dbe9fb;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-footer-news-item {
    display: grid;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(164, 191, 218, 0.18);
}

.site-footer-news-item strong {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.4;
}

.site-footer-news-item span {
    color: #d1dced;
    font-size: 14px;
}

.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 24px;
}

.site-footer-bottom p {
    margin: 0;
    color: #d1dced;
    font-size: 14px;
}

.site-footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.site-footer-socials a:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.site-footer-socials a.has-image {
    background: transparent;
    box-shadow: none;
}

.site-footer-socials a.has-image img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.site-footer-socials a.has-fallback {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.site-footer-social-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.admin-logo-preview-card {
    display: grid;
    gap: 16px;
    padding: 16px;
    border: 1px solid #d8e3f0;
    border-radius: 8px;
    background: #f8fbff;
}

.admin-logo-preview-image {
    display: block;
    max-width: min(320px, 100%);
    height: auto;
}

.admin-social-preview-card {
    align-items: center;
    gap: 16px;
}

.admin-social-preview-image,
.admin-social-preview-placeholder {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: #eff4ff;
    border: 1px solid #d7e2f3;
    flex: 0 0 58px;
}

.admin-social-preview-image {
    object-fit: contain;
    padding: 10px;
}

.admin-social-preview-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1c4ed8;
    font-size: 0.9rem;
    font-weight: 800;
}

.admin-logo-preview-card p {
    margin: 0;
    color: #597089;
    font-size: 14px;
    line-height: 1.6;
}

.container {
    max-width: 560px;
    margin: 60px auto;
    padding: 0 20px;
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.brand-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 22px;
    text-align: left;
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand-header strong,
.brand-header span {
    display: block;
}

.brand-header strong {
    color: #202124;
    font-size: 18px;
}

.brand-header span {
    color: #5f6368;
    font-size: 13px;
}

h2 {
    margin-bottom: 5px;
}

p {
    color: #666;
}

.registro-estadisticas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 6px;
    text-align: left;
}

.registro-estadistica-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 118px;
    padding: 16px 14px;
    border: 1px solid #e6ebf2;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 24px rgba(15, 57, 103, 0.08);
}

.registro-estadistica-icono {
    font-size: 24px;
    line-height: 1;
}

.registro-estadistica-card strong {
    color: #1b4f94;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.registro-estadistica-card small {
    color: #5f6f85;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

hr {
    margin: 20px 0;
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary {
    background: #4285f4;
    color: white;
}

.btn-primary:hover {
    background: #3367d6;
}

.btn-success {
    background: #34a853;
    color: white;
}

.btn-warning {
    background: #fbbc05;
    color: black;
}

a {
    text-decoration: none;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.registro-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
    text-align: left;
}

.full {
    grid-column: span 2;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #444;
    line-height: 1.4;
}

.checkbox-option input[type="checkbox"] {
    width: 16px;
    min-width: 16px;
    height: 16px;
    min-height: 16px;
    margin: 0;
    padding: 0;
    border-radius: 3px;
    box-shadow: none;
    flex: 0 0 16px;
}

.checkbox-option span {
    flex: 1;
}

.captcha-field {
    margin-top: 4px;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.captcha-box span {
    color: #202124;
    font-weight: 600;
}

.captcha-box input {
    width: 84px;
    min-width: 84px;
    max-width: 84px;
    margin-left: 0;
}

label {
    font-size: 13px;
    color: #555;
    font-weight: 600;
}

input, select {
    width: 100%;
    box-sizing: border-box;
    border-radius: 6px;
    min-height: 42px;
    padding: 10px 12px;
}

h3 {
    margin-top: 25px;
}
input, select {
    border: 1px solid #dadce0;
    transition: 0.2s;
}

input:focus, select:focus {
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66,133,244,0.2);
}
.btn-primary {
    background: #4285f4;
    color: white;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: #3367d6;
    transform: scale(1.02);
}
h3 {
    margin-top: 30px;
    margin-bottom: 10px;
    color: #444;
}
.alert-error {
    background: #fdecea;
    color: #b71c1c;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #e6f4ea;
    color: #137333;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card p {
    margin: 5px 0;
}

.result-card {
    max-width: 520px;
    margin: 0 auto;
}

.result-icon {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.result-icon.success {
    background: #e6f4ea;
    color: #137333;
}

.result-summary {
    margin: 22px 0;
    padding: 16px;
    border: 1px solid #e0e3e7;
    border-radius: 8px;
    background: #f8fafc;
    text-align: left;
}

.result-summary p {
    margin: 8px 0;
}

.result-alert {
    margin-top: 20px;
    text-align: left;
}

.result-temp-password {
    margin-top: 16px;
    padding: 16px;
    border-radius: 8px;
    background: #fff8e1;
    border: 1px solid #f4d37a;
}

.result-temp-password span,
.result-temp-password strong {
    display: block;
}

.result-temp-password span {
    font-size: 13px;
    color: #8a6d1f;
    margin-bottom: 6px;
}

.result-temp-password strong {
    font-size: 24px;
    color: #202124;
    letter-spacing: 1px;
}

.result-actions {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.btn-secondary {
    background: #e8eaed;
    color: #202124;
}

.btn-secondary:hover {
    background: #dfe1e5;
}

.password-card {
    max-width: 520px;
}

.password-form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
    text-align: left;
}

.login-card {
    max-width: 520px;
}

.login-form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
    text-align: left;
}

.login-note {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #eceff3;
    text-align: center;
}

.login-note p {
    color: #5f6368;
    font-size: 12px;
    line-height: 1.45;
}

.login-link {
    display: block;
    margin-top: -2px;
    margin-bottom: 6px;
    color: #3367d6;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

.login-actions {
    display: flex;
    justify-content: center;
    margin-top: 2px;
}

.login-secondary-btn {
    width: auto;
    min-width: 220px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.password-input-wrap {
    position: relative;
}

.password-input-wrap input {
    padding-right: 76px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #3367d6;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 6px;
    width: auto;
    min-height: auto;
}

.idioma-item {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 16px;
    margin-bottom: 14px;
}

textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dadce0;
    border-radius: 6px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
}

.repeat-item {
    padding: 14px;
    border: 1px solid #e2e6ec;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 12px;
}

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

.repeat-grid-2 {
    grid-template-columns: minmax(0, 1fr) 180px;
}

.repeat-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.full-row {
    grid-column: 1 / -1;
}

.add-inline-btn {
    width: auto;
    min-width: 180px;
}

.cv-item + .cv-item {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eceff3;
}

@media (max-width: 640px) {
    .registro-estadisticas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .registro-form {
        grid-template-columns: 1fr;
    }

    .full {
        grid-column: span 1;
    }

    .checkbox-option {
        align-items: flex-start;
    }

    .captcha-box {
        align-items: stretch;
    }

    .captcha-box input {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .idioma-item {
        grid-template-columns: 1fr;
    }

    .repeat-grid,
    .repeat-grid-2,
    .repeat-grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .registro-estadisticas {
        grid-template-columns: 1fr;
    }
}

.profile-page {
    max-width: 980px;
}

.profile-card {
    padding: 34px 34px 30px;
    text-align: left;
}

.profile-brand {
    justify-content: flex-start;
    margin-bottom: 26px;
}

.profile-hero {
    margin-bottom: 26px;
    padding: 0 0 22px;
    border-bottom: 1px solid #eceff3;
}

.profile-kicker {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef4ff;
    color: #3367d6;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

.profile-hero h2 {
    margin: 0 0 8px;
    color: #202124;
    font-size: 34px;
    line-height: 1.15;
}

.profile-hero p {
    margin: 0;
    max-width: 720px;
    color: #5f6368;
    font-size: 15px;
    line-height: 1.6;
}

.dashboard-inline-logout {
    display: inline-flex;
    margin-top: 10px;
    color: #3367d6;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.dashboard-inline-logout:hover,
.dashboard-inline-logout:focus-visible {
    text-decoration: underline;
}

.profile-form {
    display: grid;
    gap: 20px;
}

.profile-section {
    border: 1px solid #e5e9f0;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.profile-section-highlight {
    border-color: #d9e5ff;
    box-shadow: inset 0 1px 0 rgba(66, 133, 244, 0.08);
}

.section-heading {
    padding: 22px 24px 18px;
    background: #f8fafd;
    border-bottom: 1px solid #eceff3;
}

.section-heading-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.section-heading h3 {
    margin: 0;
    color: #202124;
    font-size: 20px;
}

.section-heading p {
    margin: 8px 0 0;
    color: #5f6368;
    font-size: 14px;
    line-height: 1.55;
}

.section-body {
    padding: 24px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.profile-grid .full-row,
.repeat-grid .full-row {
    grid-column: 1 / -1;
}

.profile-alert {
    margin-bottom: 20px;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 18px;
    border: 1px solid transparent;
}

.profile-alert strong {
    font-size: 14px;
}

.profile-alert span {
    font-size: 14px;
    line-height: 1.5;
}

.profile-alert-success {
    border-color: #cde6d5;
    box-shadow: 0 8px 22px rgba(19, 115, 51, 0.08);
}

.profile-filters-card {
    margin-bottom: 20px;
    border-color: #e7edf5;
    background: #fbfcfe;
}

.stack-list {
    display: grid;
    gap: 14px;
}

.profile-repeat-card {
    padding: 18px;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.section-action-btn {
    width: auto;
    min-width: 190px;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid #d2def7;
    border-radius: 8px;
    background: #eef4ff;
    color: #2d5ec9;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.section-action-btn:hover {
    background: #e2edff;
    border-color: #bdd0fb;
    transform: translateY(-1px);
}

.profile-footer-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    padding-top: 6px;
    width: 100%;
}

.profile-secondary-link,
.profile-submit-btn {
    width: 100%;
    min-width: 0;
}

.profile-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-footer-actions-inline {
    margin-top: 18px;
}

.availability-days-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.availability-day-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    background: #f8fafc;
    color: #3c4043;
    font-size: 14px;
    line-height: 1.3;
    cursor: pointer;
}

.availability-day-option input[type="checkbox"] {
    width: 16px;
    min-width: 16px;
    height: 16px;
    min-height: 16px;
    margin: 0;
}

.institution-page {
    max-width: 1040px;
}

.institution-card {
    padding: 34px 34px 30px;
    text-align: left;
}

.institution-brand {
    justify-content: flex-start;
}

.institution-hero p {
    max-width: 760px;
}

.catalog-grid,
.future-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.read-value {
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    background: #f8fafc;
    color: #202124;
    line-height: 1.45;
}

.future-item {
    padding: 14px 16px;
    border: 1px dashed #cfd8e3;
    border-radius: 8px;
    background: #fbfcfe;
    color: #5f6368;
    font-size: 14px;
    font-weight: 600;
}

.vacancy-list {
    display: grid;
    gap: 16px;
}

.vacancy-list-compact .vacancy-card {
    padding: 16px 18px;
}

.vacancy-card {
    padding: 18px 20px;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    display: grid;
    gap: 14px;
}

.vacancy-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.vacancy-header h4 {
    margin: 0 0 6px;
    color: #202124;
    font-size: 18px;
}

.candidate-link {
    color: #202124;
    text-decoration: none;
}

.candidate-link:hover {
    color: #3367d6;
    text-decoration: underline;
}

.vacancy-header p {
    margin: 0;
    color: #5f6368;
    font-size: 14px;
}

.vacancy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: #3c4043;
    font-size: 14px;
}

.vacancy-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.vacancy-status-borrador {
    background: #eef2f7;
    color: #5f6368;
}

.vacancy-status-publicada {
    background: #e6f4ea;
    color: #137333;
}

.vacancy-status-postulado {
    background: #eef4ff;
    color: #2d5ec9;
}

.vacancy-status-en_revision {
    background: #fff4e5;
    color: #b06000;
}

.vacancy-status-preseleccionado {
    background: #e6f4ea;
    color: #137333;
}

.vacancy-status-descartado {
    background: #fce8e6;
    color: #c5221f;
}

.vacancy-status-contratado {
    background: #e8f0fe;
    color: #174ea6;
}

.vacancy-status-pausada {
    background: #fef7e0;
    color: #b06000;
}

.vacancy-status-cerrada {
    background: #fce8e6;
    color: #c5221f;
}

.validation-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e6f4ea;
    color: #137333;
    font-size: 12px;
    font-weight: 700;
}

.validation-badge-secondary {
    background: #eef4ff;
    color: #2d5ec9;
}

.rating-summary-card {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
    padding: 18px;
    border: 1px solid #dce6f7;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.rating-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.rating-stars-large {
    color: #f4b400;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.rating-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
}

.rating-grid-form {
    margin-bottom: 10px;
}

.rating-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    background: #fbfcfe;
}

.rating-line span {
    color: #3c4043;
    font-size: 14px;
    font-weight: 600;
}

.rating-line strong {
    color: #f4b400;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

.dashboard-card {
    gap: 22px;
}

.dashboard-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.dashboard-progress-card {
    min-width: 220px;
    padding: 18px;
    border: 1px solid #dfe5ec;
    border-radius: 10px;
    background: #f8fafc;
}

.dashboard-progress-card strong {
    display: block;
    margin-top: 8px;
    color: #202124;
    font-size: 30px;
    line-height: 1;
}

.dashboard-progress-label {
    color: #5f6368;
    font-size: 13px;
    font-weight: 600;
}

.dashboard-progress-bar {
    margin-top: 14px;
    height: 10px;
    border-radius: 999px;
    background: #e8eaed;
    overflow: hidden;
}

.dashboard-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #34a853 0%, #5bc36b 100%);
}

.dashboard-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-summary-card {
    padding: 16px;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.dashboard-summary-card span {
    display: block;
    color: #5f6368;
    font-size: 13px;
}

.dashboard-summary-card strong {
    display: block;
    margin-top: 8px;
    color: #202124;
    font-size: 16px;
    line-height: 1.4;
}

.dashboard-top-actions {
    margin-bottom: 6px;
}

.dashboard-section-toggle summary {
    list-style: none;
    cursor: pointer;
}

.dashboard-section-toggle summary::-webkit-details-marker {
    display: none;
}

.dashboard-section-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px 18px;
    background: #f8fafd;
    border-bottom: 1px solid #eceff3;
}

.dashboard-section-summary h3 {
    margin: 0;
    color: #202124;
    font-size: 20px;
}

.dashboard-section-summary p {
    margin: 8px 0 0;
    color: #5f6368;
    font-size: 14px;
    line-height: 1.55;
}

.dashboard-section-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eef4ff;
    color: #3367d6;
    font-size: 12px;
    font-weight: 700;
}

.vacancy-description {
    min-height: 0;
    white-space: normal;
}

.vacancy-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.vacancy-actions select {
    width: auto;
    min-width: 180px;
    margin: 0;
}

.vacancy-action-btn {
    width: auto;
    min-width: 180px;
}

.full-width-action {
    width: 100%;
}

.full-width-action .btn {
    width: 100%;
}

@media (max-width: 900px) {
    .dashboard-hero {
        flex-direction: column;
    }

    .dashboard-progress-card {
        width: 100%;
        min-width: 0;
    }

    .dashboard-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rating-grid {
        grid-template-columns: 1fr;
    }

    .profile-card {
        padding: 28px 24px;
    }

    .section-heading-split {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-footer-actions {
        flex-direction: column-reverse;
    }

    .profile-secondary-link,
    .profile-submit-btn,
    .section-action-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .dashboard-summary-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-section-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-page {
        margin: 30px auto;
    }

    .institution-card {
        padding: 22px 18px;
    }

    .profile-card {
        padding: 22px 18px;
    }

    .profile-hero h2 {
        font-size: 28px;
    }

    .section-heading,
    .section-body {
        padding: 18px;
    }

    .profile-grid,
    .repeat-grid,
    .repeat-grid-2,
    .repeat-grid-3,
    .idioma-item,
    .availability-days-grid,
    .catalog-grid,
    .future-grid,
    .vacancy-header,
    .vacancy-actions {
        grid-template-columns: 1fr;
    }

    .vacancy-header {
        display: grid;
    }

    .vacancy-actions select,
    .vacancy-action-btn {
        width: 100%;
        min-width: 0;
    }
}

.home-page {
    background:
        radial-gradient(circle at top left, rgba(66, 133, 244, 0.18), transparent 28%),
        linear-gradient(180deg, #f6f9fe 0%, #eef3f9 100%);
    min-height: 100vh;
}

.home-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.home-hero {
    padding: 0 0 34px;
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(51, 103, 214, 0.1);
    color: #2558bf;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.home-btn-inline {
    width: auto;
    min-width: 210px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.featured-banner-slider {
    position: relative;
    overflow: hidden;
    min-height: calc(76vh + 125px);
    background: #0f1e36;
}

.featured-banner-track {
    position: absolute;
    inset: 0;
}

.featured-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.45s ease, transform 0.45s ease;
    background: linear-gradient(140deg, #0f5ed7 0%, #1b8ce2 55%, #3ab4ee 100%);
    background-position: center;
    background-size: cover;
}

.featured-banner-slide.has-video {
    background: #091224;
}

.featured-banner-slide.has-image {
    background-color: #0f1e36;
}

.featured-banner-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.featured-banner-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 18, 36, 0.75) 0%, rgba(8, 18, 36, 0.4) 40%, rgba(8, 18, 36, 0.22) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.35));
}

.featured-video-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.featured-video-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh;
    min-width: 100%;
    height: 56.25vw;
    min-height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.featured-banner-content {
    position: relative;
    z-index: 1;
    min-height: calc(76vh + 125px);
    display: flex;
    align-items: center;
    padding-top: 36px;
    padding-bottom: 130px;
}

.featured-banner-copy {
    max-width: 620px;
    display: grid;
    gap: 16px;
    color: #ffffff;
}

.featured-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #f3f9ff;
    font-size: 12px;
    font-weight: 700;
}

.featured-banner-copy h1 {
    margin: 0;
    font-size: 72px;
    line-height: 0.96;
    color: #fff;
}

.featured-meta,
.featured-description {
    color: rgba(255, 255, 255, 0.92);
}

.featured-meta {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
}

.featured-description {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    max-width: 520px;
}

.featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.featured-tags span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(9, 28, 57, 0.18);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.featured-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.featured-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.featured-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
}

.featured-dots {
    display: flex;
    gap: 10px;
}

.featured-banner-bottom {
    position: relative;
    z-index: 2;
    margin-top: -18px;
}

.featured-dots-floating {
    justify-content: center;
    margin-top: 18px;
}

.featured-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.featured-dot.is-active {
    background: #ffffff;
    transform: scale(1.2);
}

.home-section {
    padding: 26px 0 42px;
}

.home-section-partners {
    padding-top: 18px;
    padding-bottom: 26px;
}

.home-section-soft {
    padding-top: 12px;
    padding-bottom: 58px;
}

.section-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.section-title-row-compact {
    margin-bottom: 18px;
}

.section-title-row h2 {
    margin: 12px 0 10px;
    color: #13233f;
    font-size: 34px;
    line-height: 1.15;
}

.section-title-row p {
    margin: 0;
    max-width: 700px;
    color: #5c6d84;
    font-size: 16px;
    line-height: 1.6;
}

.home-trust-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 8px;
}

.home-trust-metrics span {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(69, 148, 223, 0.1);
    color: #1d4678;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.section-link {
    color: #2558bf;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.featured-jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.featured-job-card {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid #dfe7f3;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(16, 36, 71, 0.05);
}

.featured-job-head {
    display: grid;
    gap: 8px;
}

.featured-job-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2b5ab6;
    font-size: 12px;
    font-weight: 700;
}

.featured-job-head h3 {
    margin: 0;
    color: #13233f;
    font-size: 24px;
    line-height: 1.2;
}

.featured-job-head p,
.featured-job-description {
    margin: 0;
    color: #5d6f85;
    font-size: 14px;
    line-height: 1.65;
}

.featured-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.featured-job-meta span {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 999px;
    background: #f1f6fd;
    color: #2b5ab6;
    font-size: 12px;
    font-weight: 700;
}

.featured-job-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.featured-job-footer strong {
    color: #13233f;
    font-size: 18px;
}

.talent-carousel {
    position: relative;
}

.talent-carousel-head {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 14px;
}

.talent-carousel-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid #d9e5f7;
    border-radius: 999px;
    background: #ffffff;
    color: #2558bf;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(16, 36, 71, 0.06);
}

.talent-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.talent-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.talent-carousel-track {
    display: flex;
    gap: 18px;
    min-width: max-content;
}

.talent-card {
    flex: 0 0 auto;
    width: 290px;
    padding: 20px;
    border: 1px solid #dde6f2;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(16, 36, 71, 0.06);
    display: grid;
    gap: 16px;
}

.talent-card-featured {
    width: 340px;
    padding: 0;
    overflow: hidden;
    gap: 0;
}

.talent-card-pro {
    border-color: rgba(214, 164, 49, 0.42);
    box-shadow: 0 18px 44px rgba(128, 88, 16, 0.12);
}

.talent-featured-media {
    position: relative;
    aspect-ratio: 759 / 532;
    background: #d9e5f7;
}

.talent-featured-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.talent-pro-ribbon {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #704600;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(218, 165, 32, 0.45);
    box-shadow: 0 10px 24px rgba(84, 54, 6, 0.13);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.talent-pro-coin {
    width: 17px;
    height: 17px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8a5a00;
    background: linear-gradient(135deg, #ffe28a, #d6a431 68%, #b97a0c);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 3px 8px rgba(128, 88, 16, 0.18);
    font-size: 10px;
    line-height: 1;
}

.talent-featured-footer {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.talent-featured-label {
    display: inline-flex;
    align-self: flex-start;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2b5ab6;
    font-size: 12px;
    font-weight: 700;
}

.talent-featured-label-pro {
    color: #6b4300;
    background: #fff5d6;
}

.talent-pro-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.talent-pro-stats span {
    display: inline-flex;
    align-items: center;
    padding: 7px 9px;
    border-radius: 999px;
    color: #0d47a1;
    background: #eef5ff;
    font-size: 12px;
    font-weight: 800;
}

.talent-featured-footer h3 {
    margin: 0;
    color: #13233f;
    font-size: 22px;
    line-height: 1.18;
}

.talent-featured-role {
    color: #2b5ab6 !important;
    font-weight: 700;
}

.talent-featured-footer p {
    margin: 0;
    color: #5d6f85;
    font-size: 14px;
    line-height: 1.6;
}

.talent-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.talent-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2e73e4 0%, #34a3eb 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.talent-card h3 {
    margin: 0 0 6px;
    color: #17253e;
    font-size: 20px;
}

.talent-card-top p,
.talent-card-body p {
    margin: 0;
    color: #5d6f85;
    font-size: 14px;
    line-height: 1.5;
}

.talent-card-body {
    display: grid;
    gap: 8px;
}

.talent-card-body strong {
    color: #17253e;
}

.talent-card-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.talent-card-metrics span {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 999px;
    background: #f1f6fd;
    color: #2b5ab6;
    font-size: 12px;
    font-weight: 700;
}

.talent-card-actions .btn {
    margin: 0;
}

.seo-page {
    background: #f5f9fc;
    color: #10233f;
}

.seo-hero {
    padding: 76px 0 52px;
    background:
        radial-gradient(circle at 12% 18%, rgba(33, 150, 243, 0.14), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(34, 197, 94, 0.11), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #eef6fb 100%);
    border-bottom: 1px solid rgba(177, 202, 220, 0.55);
}

.seo-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    color: #0d47a1;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.seo-hero h1,
.seo-article h1 {
    max-width: 860px;
    margin: 0 0 14px;
    color: #071b38;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
}

.seo-hero p,
.seo-article p {
    max-width: 790px;
    color: #496077;
    font-size: 1.05rem;
    line-height: 1.78;
}

.seo-section,
.seo-article {
    padding: 56px 0;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.seo-content-card,
.seo-doctor-card {
    background: #ffffff;
    border: 1px solid rgba(177, 202, 220, 0.72);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(14, 49, 82, 0.09);
}

.seo-content-card {
    padding: 24px;
}

.seo-content-card h2 {
    margin: 0 0 10px;
    color: #071b38;
    font-size: 1.18rem;
    font-weight: 800;
}

.seo-content-card p {
    color: #53697f;
    line-height: 1.7;
}

.seo-text-link,
.seo-inline-cta {
    display: inline-flex;
    margin-top: 8px;
    color: #0d47a1;
    font-weight: 800;
}

.seo-directory-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 24px;
    align-items: start;
}

.seo-doctor-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 22px;
    padding: 20px;
}

.seo-doctor-card img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
}

.seo-doctor-card h3 {
    margin: 12px 0 4px;
    color: #071b38;
    font-size: 1.55rem;
    font-weight: 800;
}

.seo-doctor-card p {
    margin: 0 0 14px;
    color: #53697f;
}

.seo-verified-pill {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    color: #704600;
    background: #fff7df;
    border: 1px solid rgba(214, 164, 49, 0.42);
    font-size: 0.78rem;
    font-weight: 800;
}

.seo-rating-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    color: #0d47a1;
    font-weight: 800;
}

.seo-article-shell {
    max-width: 880px;
}

.seo-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 28px;
    color: #6b7280;
    font-weight: 700;
    font-size: 0.92rem;
}

.seo-breadcrumbs a {
    color: #0d47a1;
}

.logo-carousel {
    position: relative;
}

.logo-carousel-head {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 14px;
}

.logo-carousel-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid #d9e5f7;
    border-radius: 999px;
    background: #ffffff;
    color: #2558bf;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(16, 36, 71, 0.06);
}

.logo-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.logo-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.logo-carousel-track {
    display: flex;
    gap: 14px;
    min-width: max-content;
}

.institution-logo-card {
    flex: 0 0 auto;
    width: 220px;
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #dde6f2;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(16, 36, 71, 0.04);
    text-align: center;
    color: #17253e;
}

.institution-logo-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 10px;
    background: #f4f7fb;
}

.institution-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.institution-logo-card strong {
    font-size: 15px;
    line-height: 1.4;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.home-partners-inline {
    margin-top: 46px;
    padding: 28px 30px 30px;
    border: 1px solid rgba(212, 225, 242, 0.95);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(223, 241, 255, 0.72), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%);
    box-shadow: 0 18px 44px rgba(17, 37, 72, 0.05);
}

.action-card {
    display: grid;
    gap: 10px;
    padding: 20px;
    border: 1px solid #dfe7f3;
    border-radius: 12px;
    background: #ffffff;
    text-decoration: none;
    box-shadow: 0 14px 36px rgba(16, 36, 71, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.action-card:hover {
    transform: translateY(-2px);
    border-color: #c7d8f3;
    box-shadow: 0 18px 40px rgba(16, 36, 71, 0.08);
}

.action-card strong {
    color: #13233f;
    font-size: 18px;
    line-height: 1.3;
}

.action-card span {
    color: #5b6d84;
    font-size: 14px;
    line-height: 1.55;
}

.campaign-patch-row {
    margin-top: 34px;
}

.home-blue-divider {
    position: relative;
    left: 50%;
    width: 100vw;
    min-height: 360px;
    margin-top: 34px;
    margin-left: -50vw;
    margin-right: -50vw;
    background:
        radial-gradient(circle at top left, rgba(190, 228, 255, 0.24), transparent 28%),
        radial-gradient(circle at bottom right, rgba(39, 118, 184, 0.20), transparent 30%),
        linear-gradient(135deg, #62afea 0%, #4f9be0 48%, #3c81c8 100%);
    border-radius: 0;
    overflow: hidden;
}

.home-blue-divider::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 18%),
        linear-gradient(0deg, rgba(12, 39, 73, 0.12) 0%, rgba(12, 39, 73, 0) 34%);
    pointer-events: none;
}

.campaign-message-band {
    position: relative;
    display: flex;
    align-items: center;
    padding: 56px 0;
}

.campaign-message-grid {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
    gap: 48px;
    color: #ffffff;
}

.campaign-message-copy,
.campaign-message-meta {
    display: grid;
    gap: 16px;
    align-content: start;
}

.campaign-message-copy {
    max-width: 430px;
}

.campaign-message-meta {
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(4px);
    grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
    align-items: center;
}

.campaign-message-meta-copy {
    display: grid;
    gap: 16px;
}

.campaign-message-kicker {
    display: inline-flex;
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.campaign-message-copy h3 {
    margin: 0;
    color: #ffffff;
    font-size: 52px;
    line-height: 1;
}

.campaign-message-title {
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
}

.campaign-message-quote {
    margin: 0;
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
}

.campaign-message-meta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 18px;
    line-height: 1.8;
}

.campaign-message-meta span {
    display: inline-flex;
    align-self: flex-start;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(16, 60, 116, 0.28);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.campaign-message-media {
    justify-self: end;
    width: 100%;
    max-width: 260px;
}

.campaign-message-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 18px 34px rgba(10, 34, 67, 0.22);
    object-fit: cover;
}

.campaign-patch-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(240px, 320px);
    align-items: center;
    gap: 24px;
    padding: 28px;
    border: 1px solid #e6d7ea;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.55), transparent 32%),
        linear-gradient(135deg, #fff8fb 0%, #fff1f8 100%);
    box-shadow: 0 22px 44px rgba(122, 74, 114, 0.08);
}

.campaign-patch-copy {
    display: grid;
    gap: 14px;
}

.campaign-patch-copy h3 {
    margin: 0;
    color: #8a356d;
    font-size: 34px;
    line-height: 1.1;
}

.campaign-patch-copy p {
    margin: 0;
    max-width: 540px;
    color: #746072;
    font-size: 15px;
    line-height: 1.7;
}

.campaign-patch-media {
    justify-self: end;
    width: 100%;
    max-width: 320px;
}

.campaign-patch-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 22px 44px rgba(138, 53, 109, 0.14);
}

.admin-shortcut-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-shortcut-card {
    display: grid;
    gap: 10px;
    padding: 22px;
    border: 1px solid #dce6f2;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    color: #17253e;
    text-decoration: none;
    box-shadow: 0 14px 36px rgba(16, 36, 71, 0.05);
}

.admin-shortcut-card strong {
    font-size: 18px;
    line-height: 1.35;
}

.admin-shortcut-card span {
    color: #5d6f85;
    font-size: 14px;
    line-height: 1.65;
}

.admin-shortcut-card-static {
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.custom-page-empty {
    text-align: left;
}

.custom-page-empty h1 {
    margin: 18px 0 12px;
    color: #152746;
}

.custom-page-empty p {
    margin: 0;
    max-width: 720px;
    color: #5d6f85;
    line-height: 1.75;
}

.custom-page-hero {
    position: relative;
    padding: 54px 0 34px;
}

.custom-page-hero-background {
    background-position: center;
    background-size: cover;
}

.custom-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 22, 44, 0.82) 0%, rgba(8, 22, 44, 0.54) 48%, rgba(8, 22, 44, 0.2) 100%);
}

.custom-page-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
    gap: 34px;
    align-items: center;
}

.custom-page-hero-grid.is-image-left {
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 0.95fr);
}

.custom-page-copy {
    display: grid;
    gap: 16px;
}

.custom-page-copy h1 {
    margin: 0;
    color: #102341;
    font-size: 56px;
    line-height: 1;
}

.custom-page-hero-background .custom-page-copy h1,
.custom-page-hero-background .custom-page-subtitle,
.custom-page-hero-background .custom-page-summary {
    color: #ffffff;
}

.custom-page-subtitle {
    margin: 0;
    color: #27466e;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
}

.custom-page-summary {
    margin: 0;
    color: #5a6f88;
    font-size: 17px;
    line-height: 1.8;
}

.custom-page-hero-media {
    width: 100%;
}

.custom-page-hero-image {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 24px 46px rgba(14, 34, 68, 0.18);
}

.custom-page-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 28px;
    align-items: start;
}

.custom-page-content-card,
.custom-page-info-card {
    padding: 26px;
    border: 1px solid #dce6f2;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(16, 36, 71, 0.05);
}

.custom-page-content-card h2,
.custom-page-info-card h3 {
    margin: 0 0 16px;
    color: #17253e;
}

.custom-page-sidebar {
    display: grid;
    gap: 18px;
}

.custom-page-richtext {
    color: #5b6d84;
    font-size: 15px;
    line-height: 1.8;
}

.custom-page-richtext a {
    color: #2558bf;
}

@media (max-width: 1100px) {
    .site-navbar-inner {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
    }

    .site-brand-panel,
    .site-nav-panel,
    .site-brand {
        width: 100%;
    }

    .site-brand-panel,
    .site-nav-panel,
    .site-brand {
        justify-content: center;
    }

    .site-brand-panel,
    .site-nav-panel {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-shortcut-grid,
    .custom-page-content-grid,
    .custom-page-hero-grid,
    .custom-page-hero-grid.is-image-left {
        grid-template-columns: 1fr;
    }

    .featured-jobs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .campaign-patch-card {
        grid-template-columns: 1fr;
    }

    .campaign-patch-media {
        justify-self: start;
    }

    .campaign-message-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .campaign-message-meta {
        grid-template-columns: 1fr;
    }

    .campaign-message-media {
        justify-self: start;
        max-width: 220px;
    }

    .featured-banner-copy h1 {
        font-size: 58px;
    }

    .site-footer-main {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

@media (max-width: 720px) {
    .site-shell {
        width: min(100%, calc(100% - 20px));
    }

    .site-topbar-inner,
    .site-navbar-inner,
    .site-main-nav,
    .site-nav-panel {
        flex-direction: column;
    }

    .site-topbar-inner,
    .site-navbar-inner,
    .site-brand-panel,
    .site-nav-panel {
        padding: 10px 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .site-topbar-links {
        width: 100%;
        justify-content: center;
        gap: 16px;
    }

    .site-main-nav {
        width: 100%;
        max-width: 100%;
        gap: 14px;
    }

    .site-main-nav-item {
        width: 100%;
        justify-content: center;
        flex-direction: column;
    }

    .site-main-nav-item > a {
        width: 100%;
        text-align: center;
    }

    .site-submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        min-width: 0;
        width: 100%;
        margin-top: 8px;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.14);
    }

    .site-submenu a {
        color: #ffffff;
    }

    .site-nav-panel::after {
        display: none;
    }

    .site-brand-logo {
        width: min(280px, 100%);
    }

    .site-phone-pill {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .site-footer {
        padding-top: 40px;
    }

    .site-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-shell {
        width: min(100%, calc(100% - 24px));
    }

    .home-hero {
        padding-bottom: 24px;
    }

    .action-grid,
    .featured-jobs-grid {
        grid-template-columns: 1fr;
    }

    .campaign-patch-card {
        padding: 18px;
        gap: 18px;
    }

    .home-blue-divider {
        left: 0;
        width: 100%;
        min-height: 260px;
        margin-top: 28px;
        margin-left: 0;
        margin-right: 0;
    }

    .campaign-message-band {
        padding: 36px 0;
    }

    .campaign-message-grid {
        width: min(100%, calc(100% - 24px));
    }

    .campaign-message-copy h3 {
        font-size: 38px;
    }

    .campaign-message-title {
        font-size: 22px;
    }

    .campaign-message-quote {
        font-size: 28px;
    }

    .campaign-message-meta p {
        font-size: 16px;
        line-height: 1.7;
    }

    .campaign-patch-copy h3 {
        font-size: 28px;
    }

    .home-btn-inline {
        width: 100%;
    }

    .section-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-title-row h2 {
        font-size: 28px;
    }

    .featured-banner-content {
        min-height: calc(68vh + 125px);
        align-items: end;
        padding-top: 26px;
        padding-bottom: 118px;
    }

    .featured-banner-copy {
        max-width: 100%;
        gap: 14px;
    }

    .featured-banner-copy h1 {
        font-size: 42px;
        line-height: 1.02;
    }

    .featured-meta {
        font-size: 17px;
    }

    .featured-description {
        font-size: 15px;
    }

    .featured-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .featured-banner-bottom {
        margin-top: -8px;
    }

    .talent-carousel-head {
        justify-content: flex-start;
    }

    .logo-carousel-head {
        justify-content: flex-start;
    }

    .talent-card {
        width: min(290px, calc(100vw - 52px));
    }

    .talent-card-featured {
        width: min(340px, calc(100vw - 52px));
    }

    .institution-logo-card {
        width: min(220px, calc(100vw - 52px));
    }

    .admin-shortcut-grid {
        grid-template-columns: 1fr;
    }

    .custom-page-hero {
        padding: 42px 0 24px;
    }

    .custom-page-copy h1 {
        font-size: 36px;
    }

    .custom-page-subtitle {
        font-size: 20px;
    }

    .custom-page-content-card,
    .custom-page-info-card,
    .admin-shortcut-card {
        padding: 20px;
    }
}

