/* =====================================================
   Media Kit Block — media-kit.css
   Self-contained; no dependency on newsroom.css
   ===================================================== */

/* Reset list styles */
.media-kit-block ul,
.media-kit-block li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ---- Container ---- */
.mk-wrap {
    box-sizing: border-box;
}

/* ---- Tab Bar ---- */
.mk-bar {
    margin-bottom: 32px;
}

.mk-tabs {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.mk-tab {
    font-size: 16px;
    text-transform: uppercase;
    color: #12305c;
    cursor: pointer;
    padding-bottom: 4px;
    font-family: Ubuntu, sans-serif;
    user-select: none;
    border-bottom: 2px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}

.mk-tab:hover {
    color: #ff6a3d;
}

.mk-tab.active {
    color: #ff6a3d;
    font-weight: 700;
    border-bottom: 2px solid #ff6a3d;
}

/* ---- Section spacing ---- */
.mk-section {
    margin-bottom: 56px;
}

.mk-section:last-of-type {
    margin-bottom: 0;
}

/* ---- Grid ---- */
.mk-grid {
    display: grid;
    gap: 24px;
}

.mk-logos-grid {
    grid-template-columns: repeat(4, 1fr);
}

.mk-headshots-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* ---- Card ---- */
.mk-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
    font-family: Ubuntu, sans-serif;
    display: flex;
    flex-direction: column;
}

.mk-card:hover,
.mk-card:focus {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
    outline: none;
}

.mk-card:focus-visible {
    outline: 2px solid #ff6a3d;
    outline-offset: 2px;
}


/* Logo card thumbnail */
.mk-logo-card .mk-card-thumb {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Hover overlay */
.mk-card-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(42, 47, 58, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s ease;
}

.mk-card:hover .mk-card-thumb-overlay,
.mk-card:focus .mk-card-thumb-overlay {
    opacity: 1;
}

.mk-card-view-btn {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    border-radius: 6px;
    padding: 8px 26px;
    font-size: 14px;
    font-family: Ubuntu, sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

.mk-card-view-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #fff;
}

.mk-card-menu-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 2px 6px;
    letter-spacing: 1px;
    z-index: 3;
    pointer-events: auto;
}

/* ---- Global toolbar (above all sections) ---- */
.mk-global-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-bottom: 24px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.mk-sort-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mk-sort-label {
    font-size: 13px;
    color: #6b7280;
    font-family: Ubuntu, sans-serif;
    white-space: nowrap;
}

.mk-sort-select {
    padding: 6px 28px 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
    font-family: Ubuntu, sans-serif;
    color: #12315c;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b7280'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    cursor: pointer;
    outline: none;
    transition: border-color .15s ease;
}

.mk-sort-select:focus {
    border-color: #12315c;
}

.mk-view-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    background: #f3f4f6;
    border-radius: 6px;
    padding: 2px;
}

.mk-view-btn {
    background: transparent;
    border: none;
    border-radius: 5px;
    padding: 5px 7px;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background .12s ease, color .12s ease;
}

.mk-view-btn:hover {
    color: #12315c;
}

.mk-view-btn.active {
    background: #fff;
    color: #12315c;
    box-shadow: 0 1px 3px rgba(0,0,0,0.10);
}

/* ---- List view (logos + headshots) ---- */
.mk-logos-grid.mk-view-list,
.mk-headshots-grid.mk-view-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.mk-logos-grid.mk-view-list .mk-logo-card,
.mk-headshots-grid.mk-view-list .mk-headshot-card {
    flex-direction: row;
    align-items: center;
    border-radius: 0;
    border: none;
    min-height: 72px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    box-shadow: none;
}

/* List thumb — logos */
.mk-logos-grid.mk-view-list .mk-card-thumb {
    width: 80px;
    height: 72px;
    flex-shrink: 0;
    padding: 10px;
    border-right: 1px solid #f0f0f0;
}

/* List thumb — headshots */
.mk-headshots-grid.mk-view-list .mk-card-thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    padding: 0;
    border-right: 1px solid #f0f0f0;
    overflow: hidden;
}

.mk-headshots-grid.mk-view-list .mk-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mk-logos-grid.mk-view-list .mk-card-thumb-overlay,
.mk-headshots-grid.mk-view-list .mk-card-thumb-overlay {
    display: none;
}

.mk-logos-grid.mk-view-list .mk-card-body,
.mk-headshots-grid.mk-view-list .mk-card-body {
    flex: 1;
    border-top: none;
    padding: 18px 20px;
}

.mk-logos-grid.mk-view-list .mk-logo-card:hover,
.mk-headshots-grid.mk-view-list .mk-headshot-card:hover {
    transform: none;
    box-shadow: none;
    background: #fafafa;
}

/* ---- Card "..." dropdown popover ---- */
.mk-card-popover {
    /* position/top/left set by JS (fixed) */
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    width: 210px;
    z-index: 999999;
    font-family: Ubuntu, sans-serif;
    overflow: hidden;
}

.mk-card-popover-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
    padding: 0 2px;
}

.mk-card-popover-close:hover {
    color: #111;
}

.mk-card-popover-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 13px 16px;
    background: none;
    border: none;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    color: #12315c;
    font-family: Ubuntu, sans-serif;
    cursor: pointer;
    text-align: left;
    transition: background .12s ease;
}

.mk-card-popover-item:last-child {
    border-bottom: none;
}

.mk-card-popover-item:hover {
    background: #f9fafb;
}

.mk-logo-card .mk-card-thumb img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    display: block;
}

/* Headshot card thumbnail */
.mk-headshot-card .mk-card-thumb {
    height: 280px;
}

.mk-headshot-card .mk-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Placeholder when no image */
.mk-card-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}

.mk-avatar-placeholder {
    border-radius: 0;
}

/* ---- Section header (above each grid) ---- */
.mk-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

/* Select-all checkbox in header */
.mk-select-all-wrap {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
}

.mk-select-all-checkbox {
    width: 15px;
    height: 15px;
    margin: 0;
    cursor: pointer;
    accent-color: #12315c;
}

.mk-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #12315c;
    font-family: Ubuntu, sans-serif;
}

.mk-section-sep {
    color: #d1d5db;
    font-size: 14px;
    margin: 0 2px;
}

.mk-section-count {
    font-size: 13px;
    color: #6b7280;
    font-family: Ubuntu, sans-serif;
}

.mk-section-header::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #ff6a3d;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Card body */
.mk-card-body {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
}

/* Checkbox wrapper — clicking it does NOT open the modal */
.mk-card-check-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 2px;
}

.mk-card-checkbox {
    width: 14px;
    height: 14px;
    margin: 0;
    cursor: pointer;
    accent-color: #12315c;
}

/* ---- Bulk action bar — fixed bottom ---- */
.mk-bulk-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 28px;
    background: #12315c;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.18);
    flex-wrap: wrap;
}
.mk-bulk-bar[hidden] {
    display: none;
}

.mk-bulk-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mk-bulk-count {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    font-family: Ubuntu, sans-serif;
}

.mk-bulk-select-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    font-family: Ubuntu, sans-serif;
    margin-left: 8px;
}

.mk-bulk-select-all-visible,
.mk-bulk-select-none {
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    font-family: Ubuntu, sans-serif;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .15s ease;
}

.mk-bulk-select-all-visible:hover,
.mk-bulk-select-none:hover {
    color: #ff6a3d;
}

.mk-bulk-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mk-bulk-format-select {
    padding: 8px 28px 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 13px;
    font-family: Ubuntu, sans-serif;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23fff'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 9px center;
}

.mk-bulk-format-select option {
    background: #12315c;
    color: #fff;
}

.mk-bulk-download-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    background: #ff6a3d;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    font-family: Ubuntu, sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s ease;
}

.mk-bulk-download-btn:hover {
    background: #e95626;
}

.mk-bulk-zip-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    font-family: Ubuntu, sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s ease, border-color .15s ease;
}

.mk-bulk-zip-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.mk-bulk-zip-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* Label + title text wrapper for headshot cards */
.mk-card-body-text {
    flex: 1;
    min-width: 0;
}

.mk-card-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #12315c;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.mk-card-title-text {
    display: block;
    font-size: 12px;
    color: #555;
    margin-top: 2px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Format count badge */
.mk-card-fmt-count {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    font-family: Ubuntu, sans-serif;
    margin-left: auto;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 2px 8px 2px 6px;
}

/* ---- Buttons ---- */
.mk-download-btn,
.mk-copy-btn,
.mk-copy-btn-inline {
    display: inline-block;
    background: #b22a2e;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    padding: 9px 20px;
    font-size: 14px;
    font-family: Ubuntu, sans-serif;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    transition: background .18s ease;
    line-height: 1.4;
    vertical-align: middle;
}

.mk-download-btn:hover,
.mk-copy-btn:hover,
.mk-copy-btn-inline:hover {
    background: #c25b5f;
    color: #fff !important;
}

.mk-copy-btn-inline {
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
}

/* ---- Boilerplates ---- */
.mk-boilerplates {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mk-boilerplate-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px 28px;
}

.mk-boilerplate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    gap: 12px;
}

.mk-boilerplate-label {
    font-size: 18px;
    font-weight: 700;
    color: #12315c;
    font-family: Ubuntu, sans-serif;
    margin: 0;
}

.mk-boilerplate-text {
    color: #333;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
    white-space: pre-line;
    font-family: Ubuntu, sans-serif;
}

/* ---- Empty state ---- */
.mk-empty {
    color: #6b7280;
    font-size: 15px;
    font-family: Ubuntu, sans-serif;
    margin: 8px 0 0;
}

/* ---- Modal overlay ---- */
.mk-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.mk-modal-overlay.is-open {
    display: flex;
}

.mk-modal-inner {
    background: #fff;
    border-radius: 12px;
    max-width: 560px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 36px 36px 32px;
    position: relative;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
}

.mk-modal-close {
    position: absolute;
    top: 7px;
    right: 14px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #12315c;
    padding: 4px;
    transition: color .15s ease;
}

.mk-modal-close:hover {
    color: #ff6a3d;
}

/* ---- Modal: logo — two-panel layout ---- */
.mk-modal-overlay.mk-modal--logo .mk-modal-inner {
    max-width: 860px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mk-modal-overlay.mk-modal--logo .mk-modal-close {
    top: 12px;
    right: 14px;
    z-index: 2;
    background: rgba(255,255,255,0.85);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

/* Two-panel wrapper */
.mk-modal-logo-wrap {
    display: flex;
    min-height: 420px;
}

/* LEFT: preview panel */
.mk-modal-preview {
    flex: 0 0 58%;
    background: #f0f0f0;
    background-image:
        linear-gradient(45deg, #e0e0e0 25%, transparent 25%),
        linear-gradient(-45deg, #e0e0e0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e0e0e0 75%),
        linear-gradient(-45deg, transparent 75%, #e0e0e0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    min-height: 320px;
}

.mk-modal-preview-img {
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    display: block;
}

.mk-modal-preview-empty {
    width: 120px;
    height: 120px;
    background: #ddd;
    border-radius: 8px;
}

/* RIGHT: details panel */
.mk-modal-details {
    flex: 0 0 42%;
    padding: 20px 20px 20px;
    border-left: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    max-height: 560px;
}

/* Asset name h3 is redundant — attach card already shows it */
.mk-modal-asset-name {
    display: none;
    font-size: 18px;
    font-weight: 700;
    color: #12315c;
    font-family: Ubuntu, sans-serif;
    margin: 0;
    line-height: 1.3;
    padding-right: 24px; /* avoid overlap with close btn */
}

/* Attachments section */
.mk-modal-attach-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin: 0 0 10px;
    font-family: Ubuntu, sans-serif;
}

/* ---- Attachment summary card ---- */
.mk-attach-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fafafa;
}

.mk-attach-card-thumb {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 6px;
    background: #f0f0f0;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mk-attach-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.mk-attach-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.mk-attach-card-name {
    font-size: 14px;
    font-weight: 600;
    color: #12315c;
    font-family: Ubuntu, sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mk-attach-card-count {
    font-size: 12px;
    color: #9ca3af;
    font-family: Ubuntu, sans-serif;
}

/* ---- Download Options panel ---- */
.mk-download-options {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.mk-dl-options-heading {
    font-size: 13px;
    font-weight: 700;
    color: #12315c;
    font-family: Ubuntu, sans-serif;
    margin: 0;
    padding: 14px 16px 10px;
    border-bottom: 1px solid #e5e7eb;
}

/* Format dropdown */
.mk-dl-select-wrap {
    position: relative;
    margin: 12px 16px 12px;
}

.mk-dl-format-select {
    width: 100%;
    padding: 10px 36px 10px 12px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-family: Ubuntu, sans-serif;
    color: #12315c;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color .15s ease;
}

.mk-dl-format-select:focus {
    border-color: #12315c;
}

.mk-dl-select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: #6b7280;
    pointer-events: none;
}

/* Download confirm button */
.mk-dl-confirm-btn {
    display: block;
    width: 100%;
    padding: 11px 0;
    background: #12315c;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    font-family: Ubuntu, sans-serif;
    cursor: pointer;
    text-align: center;
    transition: background .15s ease;
}

.mk-dl-confirm-btn:hover {
    background: #ff6a3d;
}

/* Action row: Download + Share side by side */
.mk-dl-action-row {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
}

/* Override Download button to flex within the row */
.mk-dl-action-row .mk-dl-confirm-btn {
    flex: 1;
    display: block;
    width: auto;
    margin: 0;
    padding: 11px 0;
}

/* Share / Copy URL button */
.mk-share-btn,
.mk-copy-url-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 110px;
    padding: 11px 16px;
    background: #fff;
    color: #12315c;
    border: 1.5px solid #12315c;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    font-family: Ubuntu, sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease;
}

.mk-share-btn:hover,
.mk-copy-url-btn:hover {
    background: #12315c;
    color: #fff;
}

/* Share panel */
.mk-share-panel {
    display: none;
    margin: 0 16px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    padding: 14px 16px;
}

.mk-share-panel.is-open {
    display: block;
}

.mk-share-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.mk-share-panel-title {
    font-size: 13px;
    font-weight: 700;
    color: #12315c;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: Ubuntu, sans-serif;
}

.mk-share-panel-close {
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    padding: 0 2px;
}

.mk-share-panel-close:hover {
    color: #111;
}

.mk-share-url-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.mk-share-url-input {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 13px;
    color: #374151;
    background: #fff;
    font-family: monospace;
}

.mk-share-copy-btn {
    flex-shrink: 0;
    padding: 8px 14px;
    background: #ff6a3d;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    font-family: Ubuntu, sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s ease;
}

.mk-share-copy-btn:hover {
    background: #e95626;
}

.mk-share-links {
    display: flex;
    gap: 16px;
}

.mk-share-open-link {
    font-size: 13px;
    color: #12315c;
    text-decoration: none;
    font-family: Ubuntu, sans-serif;
}

.mk-share-open-link:hover {
    text-decoration: underline;
    color: #ff6a3d;
}

/* Outline variant kept for other use */
.mk-download-btn--outline {
    background: transparent;
    color: #12315c !important;
    border: 2px solid #12315c;
}

.mk-download-btn--outline:hover {
    background: #12315c;
    color: #fff !important;
}

/* Responsive: stack panels on small screens */
@media (max-width: 640px) {
    .mk-modal-logo-wrap {
        flex-direction: column;
    }
    .mk-modal-preview {
        flex: none;
        min-height: 200px;
        padding: 20px;
    }
    .mk-modal-details {
        flex: none;
        border-left: none;
        border-top: 1px solid #e5e7eb;
        max-height: none;
    }
}

/* ---- Modal: headshot — two-column layout ---- */
.mk-modal-overlay.mk-modal--headshot .mk-modal-inner {
    max-width: 680px;
}

.mk-modal-headshot {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

/* Photo column */
.mk-modal-hs-photo {
    flex-shrink: 0;
    width: 160px;
}

.mk-modal-avatar {
    width: 160px;
    height: 160px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    border: 1px solid #e5e7eb;
}

/* Info column */
.mk-modal-hs-info {
    flex: 1;
    min-width: 0;
}

/* Field blocks */
.mk-modal-field {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.mk-modal-field:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mk-modal-field-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 5px;
    font-family: Ubuntu, sans-serif;
}

.mk-modal-field-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.mk-modal-field-value {
    font-size: 16px;
    font-weight: 600;
    color: #12315c;
    font-family: Ubuntu, sans-serif;
    line-height: 1.3;
}

.mk-modal-field--title .mk-modal-field-value {
    font-weight: 400;
    color: #444;
    font-style: italic;
}

.mk-modal-field--bio .mk-modal-bio {
    font-size: 14px;
    color: #444;
    line-height: 1.65;
    margin: 0 0 10px;
    white-space: pre-line;
    font-family: Ubuntu, sans-serif;
}

/* Mobile: stack vertically */
@media (max-width: 560px) {
    .mk-modal-headshot {
        flex-direction: column;
    }
    .mk-modal-hs-photo {
        width: 100%;
    }
    .mk-modal-avatar {
        width: 100px;
        height: 100px;
    }
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
    .mk-logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .mk-logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mk-headshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .mk-tabs {
        gap: 16px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .mk-tab {
        white-space: nowrap;
        font-size: 14px;
    }

    .mk-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mk-headshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mk-modal-inner {
        padding: 24px 20px 20px;
    }

    .mk-boilerplate-header {
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .mk-logos-grid,
    .mk-headshots-grid {
        grid-template-columns: 1fr;
    }

    .mk-modal-actions {
        flex-direction: column;
    }

    .mk-download-btn {
        text-align: center;
    }
}

.mk-logos-grid.mk-view-list .mk-card:hover {
    box-shadow: none;
}

