/* Blog y búsquedas comparten la identidad de la landing. */
.page-intro { padding: 78px 0 48px; background: var(--straw-soft); border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 900px; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.08; margin: 18px 0; }
.page-intro p { max-width: 680px; color: var(--ink-2); }
.eyebrow { font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--sage); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; font-size: .85rem; margin-bottom: 25px; }
.breadcrumbs a { text-underline-offset: 4px; }
.content-section { padding: 48px 0 80px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; list-style: none; padding: 0; margin: 30px 0 0; }
.content-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: white; height: 100%; display: flex; flex-direction: column; }
.card-media { display: block; overflow: hidden; background: var(--straw-soft); aspect-ratio: 8 / 5; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card-media.is-logo img { object-fit: contain; padding: 32px; }
.content-card:hover .card-media img { transform: scale(1.035); }
.card-body { padding: 24px; display: flex; flex: 1; flex-direction: column; gap: 13px; }
.card-body h3, .card-body h2 { font-family: 'Instrument Sans', sans-serif; font-size: 1.22rem; line-height: 1.4; margin: 0; }
.card-body h3 a, .card-body h2 a { text-decoration: none; }
.card-body h3 a:hover, .card-body h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-body p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: .78rem; color: var(--sage); }
.card-tag { border: 1px solid var(--line); border-radius: 30px; padding: 3px 10px; }
.card-body > .text-link { margin-top: auto; padding-top: 9px; }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 16px; align-items: end; background: var(--straw-soft); padding: 24px; border-radius: 12px; }
.filters label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 8px; }
.filters input, .filters select { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; background: white; font: inherit; color: var(--ink); }
.filter-status { margin: 22px 0; font-size: .9rem; color: var(--ink-2); }
.empty-state { padding: 36px; background: var(--straw-soft); border-radius: 10px; }
[hidden] { display: none !important; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 60px; align-items: start; }
.article-body { max-width: 760px; line-height: 1.8; overflow-wrap: anywhere; }
.article-body h2 { font-size: 2rem; margin: 42px 0 18px; }
.article-body h3 { font-size: 1.45rem; margin: 30px 0 14px; }
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { padding-left: 24px; margin: 18px 0 26px; list-style: revert; }
.article-body li { margin: 8px 0; }
.article-body img { max-width: 100%; height: auto; border-radius: 8px; }
.article-body figure { margin: 28px 0; }
.article-body table { display: block; overflow-x: auto; max-width: 100%; }
.article-body blockquote { border-left: 3px solid var(--sage); padding: 12px 24px; margin: 25px 0; background: var(--straw-soft); }
.article-body a { text-underline-offset: 4px; }
.article-cover { width: 100%; max-height: 450px; object-fit: cover; border-radius: 12px; margin-bottom: 32px; }
.article-cover.is-logo { object-fit: contain; background: var(--straw-soft); padding: 50px; }
.detail-aside { position: sticky; top: 110px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.detail-aside .card-media { aspect-ratio: 8 / 5; }
.detail-aside-inner { padding: 26px; }
.detail-aside dl { margin: 24px 0; }
.detail-aside dt { font-size: .8rem; color: var(--sage); }
.detail-aside dd { margin: 4px 0 18px; font-weight: 600; }
.application-panel { margin-top: 48px; padding: 32px; background: var(--straw-soft); border-radius: 12px; scroll-margin-top: 110px; }
.application-panel h2 { margin-top: 0; }
.application-note { font-size: .88rem; color: var(--ink-2); margin: 14px 0 25px; }
.preview-form { display: grid; gap: 18px; }
.preview-form label { display: grid; gap: 7px; font-size: .9rem; font-weight: 600; }
.preview-form input, .preview-form textarea, .mk-contact input, .mk-contact textarea, .mk-contact select { padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: white; width: 100%; font: inherit; }
.preview-form input[type=file] { padding: 18px; border-style: dashed; }
.preview-form button { justify-self: start; }
.preview-notice { background: var(--straw-soft); border: 1px solid var(--line); padding: 10px 20px; font-size: .8rem; text-align: center; }
.pagination { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 42px; }
.pagination .page-numbers { border: 1px solid var(--line); border-radius: 6px; padding: 10px 16px; }
.pagination .current { background: var(--petrol); color: white; }
/* El plugin mantiene sus campos, nonce y AJAX; el tema solo cambia presentación. */
.mk-site .sjb-page, .mk-site .sjb-page .sjb-detail { font-family: 'Instrument Sans', sans-serif; color: var(--ink); }
.mk-site .sjb-page .row { margin: 0; }
.mk-site .sjb-page .jobpost-form h3 { font: 500 1.7rem 'Newsreader', serif; color: var(--ink); margin-top: 0; }
.mk-site .sjb-page .jobpost-form [class*="col-"] { float: none; width: 100%; padding: 0; }
.mk-site .sjb-page .jobpost-form label { font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.mk-site .sjb-page .jobpost-form .form-group { margin-bottom: 20px; }
.mk-site .sjb-page .jobpost-form input, .mk-site .sjb-page .jobpost-form textarea, .mk-site .sjb-page .jobpost-form select { font: inherit; color: var(--ink); padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: white; height: auto; width: 100%; }
.mk-site .sjb-page .jobpost-form input[type=checkbox], .mk-site .sjb-page .jobpost-form input[type=radio] { width: auto; }
.mk-site .sjb-page .jobpost-form input[type=file] { min-height: 72px; padding: 14px; border-style: dashed; }
/* El contenedor del plugin no debe imponer sus 46 px al selector nativo. */
.mk-site .sjb-page #sjb-application-form .file { padding: 0; height: auto; border: 0; background: none; box-shadow: none; }
.mk-site .sjb-page .jobpost-form #applicant-resume { position: static !important; opacity: 1 !important; display: block !important; width: 100%; }
.mk-site .sjb-page .jobpost-form .file > div, .mk-site .sjb-page .jobpost-form .file > span { display: none; }
.preview-form input[type=file]::file-selector-button, .mk-site .sjb-page .jobpost-form input[type=file]::file-selector-button { font: 600 .85rem 'Instrument Sans', sans-serif; color: white; background: var(--petrol); padding: 10px 14px; margin-right: 12px; border: 0; border-radius: 4px; cursor: pointer; }
.mk-site .sjb-page .sjb-loading { display: none; }
.mk-site .sjb-page .jobpost-form .iti { width: 100%; }
.mk-site .sjb-page .jobpost-form .iti input { padding-left: 60px; }
.mk-site .sjb-page .jobpost-form .app-submit, .mk-site .mk-contact .wpforms-submit { background: var(--petrol) !important; color: white !important; padding: 14px 25px !important; border: 0 !important; border-radius: 6px !important; font: 600 .95rem 'Instrument Sans', sans-serif !important; width: auto; }
.mk-site .sjb-page .jobpost-form .validity-note, .mk-site .sjb-page .jobpost-form label.error { color: #a12f20; }
.mk-site .sjb-page #jobpost_form_status { border-radius: 6px; }
.mk-site .mk-contact .wpforms-container { margin: 0; }
.mk-site .mk-contact .wpforms-field { padding: 0 0 18px; }
.mk-site .mk-contact .wpforms-field-label { font-size: .9rem; font-weight: 600; margin-bottom: 8px; }
.mk-site .mk-contact .wpforms-field-medium { max-width: 100% !important; }
.mk-site .mk-contact { min-width: 0; }
.mk-site #qlwapp, .mk-site .qlwapp { display: none !important; } /* El contacto usa los enlaces directos de la nueva página. */
.mk-site.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .mk-site.admin-bar .site-header { top: 46px; } }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .filters { grid-template-columns: 1fr 1fr; } .detail-grid { gap: 32px; } }
@media (max-width: 700px) { .cards, .filters, .detail-grid { grid-template-columns: 1fr; } .page-intro { padding: 48px 0 32px; } .content-section { padding: 32px 0 55px; } .detail-aside { position: static; order: -1; } .detail-aside .card-media { display: none; } .detail-aside dl { display: flex; flex-wrap: wrap; gap: 8px 20px; } .detail-aside dt { flex-basis: 100%; } .detail-aside dd { margin-bottom: 5px; } .application-panel { padding: 22px; } .filters { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .card-media img { transition: none; } }
