/**
 * Sukabumi Jobs — Apply Modal Styles
 *
 * BEM naming. No Tailwind. No inline styles.
 * Minimal, professional, production-ready.
 *
 * @package SukabumiJobs
 */

/* Trigger class is a JS hook only — styling is on .single-job__apply-btn */

/* ================================================================
   MODAL — Base / Overlay
   ================================================================ */

.apply-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.apply-modal--active {
    opacity: 1;
    visibility: visible;
}

.apply-modal__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ================================================================
   MODAL — Content Card
   ================================================================ */

.apply-modal__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
    transform: scale(0.92) translateY(16px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.apply-modal--active .apply-modal__content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* ================================================================
   MODAL — Close Button
   ================================================================ */

.apply-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 28px;
    font-weight: 300;
    color: #dc2626;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.15s ease, color 0.15s ease;
    line-height: 1;
}

.apply-modal__close:hover {
    background-color: #fef2f2;
    color: #b91c1c;
}

/* ================================================================
   MODAL — Loading State
   ================================================================ */

.apply-modal__loading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    gap: 20px;
}

.apply-modal__loading--visible {
    display: flex;
}

.apply-modal__spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e2e8f0;
    border-top-color: #003380;
    border-radius: 50%;
    animation: apply-modal-spin 0.8s linear infinite;
}

@keyframes apply-modal-spin {
    to {
        transform: rotate(360deg);
    }
}

.apply-modal__loading-text {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.01em;
}

/* ================================================================
   MODAL — Body (apply content)
   ================================================================ */

.apply-modal__body {
    display: none;
    padding: 32px 28px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.apply-modal__body::-webkit-scrollbar {
    width: 5px;
}

.apply-modal__body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.apply-modal__body--visible {
    display: block;
}

/* Heading */
.apply-modal__heading {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    border-left: 4px solid #f59e0b;
    padding-left: 12px;
}

.apply-modal__method--link .apply-modal__method-value {
    color: #1558d6;
}

.apply-modal__method--email .apply-modal__method-value {
    color: #3b82f6;
}

.apply-modal__method--wa .apply-modal__method-value {
    color: #16a34a;
}

/* Description block */
.apply-modal__desc {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
}

.apply-modal__desc strong {
    color: #0f172a;
    font-weight: 700;
}

/* Apply methods — action cards */
.apply-modal__methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.apply-modal__method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.apply-modal__method:hover {
    border-color: #93c5fd;
    box-shadow: 0 4px 16px rgba(0, 51, 128, 0.08);
    transform: translateY(-1px);
}

/* Icon circle */
.apply-modal__method-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.apply-modal__method:hover .apply-modal__method-icon {
    transform: scale(1.05);
}

/* Per-type colors */
.apply-modal__method--link .apply-modal__method-icon {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #2563eb;
}

.apply-modal__method--link:hover {
    border-color: #93c5fd;
    background-color: #f8faff;
}

.apply-modal__method--email .apply-modal__method-icon {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #059669;
}

.apply-modal__method--email:hover {
    border-color: #6ee7b7;
    background-color: #f7fdfb;
}

.apply-modal__method--wa .apply-modal__method-icon {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #16a34a;
}

.apply-modal__method--wa:hover {
    border-color: #86efac;
    background-color: #f8fef9;
}

/* Text section */
.apply-modal__method-text {
    flex: 1;
    min-width: 0;
}

.apply-modal__method-label {
    font-size: 11px;
    font-weight: 700;
    color: #334155;
    display: block;
    line-height: 1;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.apply-modal__method-value {
    font-size: 14px;
    font-weight: 700;
    color: #2563eb;
    display: block;
    line-height: 1.3;
    word-break: break-all;
}

/* CTA arrow */
.apply-modal__method-arrow {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.apply-modal__method-arrow .material-symbols-outlined {
    font-size: 16px;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.apply-modal__method:hover .apply-modal__method-arrow {
    background: #003380;
}

.apply-modal__method:hover .apply-modal__method-arrow .material-symbols-outlined {
    color: #ffffff;
}

/* Disclaimer */
.apply-modal__disclaimer {
    margin: 16px 0 0;
    padding: 12px 16px;
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #92400e;
    line-height: 1.5;
}

.apply-modal__disclaimer strong {
    font-weight: 700;
    color: #78350f;
}

/* Instruction block (below methods) */
.apply-modal__instruction {
    margin-top: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
}

.apply-modal__instruction-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid #e2e8f0;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.apply-modal__instruction-header .material-symbols-outlined {
    font-size: 16px;
    color: #3b82f6;
}

.apply-modal__instruction-body {
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.7;
    color: #334155;
    word-break: break-word;
}

.apply-modal__instruction-body strong {
    font-weight: 700;
    color: #0f172a;
}

/* Auto-linked URLs */
.apply-modal__autolink {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
    border-bottom: 1px dashed #93c5fd;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.apply-modal__autolink:hover {
    color: #1d4ed8;
    border-bottom-color: #2563eb;
}

/* ================================================================
   MODAL — Expired State
   ================================================================ */

.apply-modal__expired {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 28px;
    gap: 12px;
}

.apply-modal__expired--visible {
    display: flex;
}

.apply-modal__expired-icon {
    font-size: 48px;
    color: #f59e0b;
    line-height: 1;
}

.apply-modal__expired-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #dc2626;
}

.apply-modal__expired-text {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    max-width: 320px;
}

/* ================================================================
   MODAL — Footer
   ================================================================ */

.apply-modal__footer {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    border-top: 1px solid #f1f5f9;
    background-color: #fafafa;
    border-radius: 0 0 12px 12px;
}

.apply-modal__footer--visible {
    display: flex;
}

.apply-modal__footer-left {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #94a3b8;
}

.apply-modal__footer-label {
    font-weight: 600;
}

.apply-modal__footer-date {
    font-weight: 400;
}

.apply-modal__footer-right img {
    height: 28px;
    width: auto;
    object-fit: contain;
    opacity: 0.7;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 640px) {
    .apply-modal {
        padding: 12px;
        align-items: center;
    }

    .apply-modal__content {
        max-width: 100%;
        max-height: 88vh;
        border-radius: 14px;
        overflow-y: auto;
    }

    .apply-modal__body {
        padding: 24px 20px 16px;
    }

    .apply-modal__footer {
        padding: 12px 20px;
    }

    .apply-modal__heading {
        font-size: 17px;
    }

    .apply-modal__body {
        padding: 24px 16px 16px;
    }

    /* Method cards — compact for mobile */
    .apply-modal__method {
        gap: 8px;
        padding: 10px 10px;
    }

    .apply-modal__method-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
        border-radius: 7px;
    }

    .apply-modal__method-icon .material-symbols-outlined {
        font-size: 15px;
    }

    .apply-modal__method-icon svg {
        width: 16px;
        height: 16px;
    }

    .apply-modal__method-label {
        font-size: 9px;
        margin-bottom: 1px;
    }

    .apply-modal__method-value {
        font-size: 11.5px;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        word-break: normal !important;
    }

    .apply-modal__method-arrow {
        width: 22px;
        height: 22px;
        min-width: 22px;
        border-radius: 6px;
    }

    .apply-modal__method-arrow .material-symbols-outlined {
        font-size: 13px;
    }
}

/* ================================================================
   AUTH GATE — Login prompt for guest users
   ================================================================ */

.apply-modal__auth-gate {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 24px 24px;
    gap: 0;
}

.apply-modal__auth-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 4px 20px rgba(0, 51, 128, 0.12);
}

.apply-modal__auth-icon .material-symbols-outlined {
    font-size: 26px;
    color: #003380;
    font-variation-settings: 'FILL' 1;
}

.apply-modal__auth-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.apply-modal__auth-desc {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.6;
    color: #64748b;
    max-width: 340px;
}

.apply-modal__auth-desc strong {
    color: #0f172a;
    font-weight: 700;
}

.apply-modal__auth-actions {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 340px;
    margin-bottom: 16px;
}

.apply-modal__auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.01em;
}

.apply-modal__auth-btn .material-symbols-outlined {
    font-size: 18px;
}

/* Primary — Login */
.apply-modal__auth-btn--primary {
    background: linear-gradient(135deg, #003380, #004bb5);
    color: #ffffff;
    border-color: #003380;
    box-shadow: 0 4px 14px rgba(0, 51, 128, 0.25);
}

.apply-modal__auth-btn--primary:hover {
    background: linear-gradient(135deg, #004bb5, #0060df);
    box-shadow: 0 6px 20px rgba(0, 51, 128, 0.35);
    transform: translateY(-1px);
}

/* Secondary — Register */
.apply-modal__auth-btn--secondary {
    background: #ffffff;
    color: #003380;
    border-color: #003380;
}

.apply-modal__auth-btn--secondary:hover {
    background: #f0f4ff;
    border-color: #004bb5;
    transform: translateY(-1px);
}

.apply-modal__auth-note {
    margin: 0;
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.apply-modal__auth-note .material-symbols-outlined {
    color: #94a3b8;
}

/* Auth gate responsive */
@media (max-width: 480px) {
    .apply-modal__auth-gate {
        padding: 20px 16px 16px;
    }

    .apply-modal__auth-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }

    .apply-modal__auth-icon .material-symbols-outlined {
        font-size: 22px;
    }

    .apply-modal__auth-title {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .apply-modal__auth-desc {
        font-size: 12px;
        margin-bottom: 16px;
        line-height: 1.5;
    }

    .apply-modal__auth-actions {
        gap: 8px;
        margin-bottom: 10px;
    }

    .apply-modal__auth-btn {
        padding: 10px 14px;
        font-size: 13px;
        border-radius: 8px;
    }

    .apply-modal__auth-note {
        font-size: 11px;
    }
}

/* ================================================================
   CARA MELAMAR SECTION (in-page)
   ================================================================ */

.single-job__apply {
    margin-top: 0;
    padding: 24px 0 0;
    border-top: 1px solid #e8ecf1;
}

.single-job__apply-title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.single-job__apply-text {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}

.single-job__apply-text strong {
    color: #0f172a;
    font-weight: 700;
}

/* Button — always full-width block */
.single-job__apply-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: #003380;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-align: center;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.single-job__apply-btn:hover {
    background-color: #ea580c;
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.3);
}

.single-job__apply-btn:active {
    transform: scale(0.98);
}

.single-job__apply-btn--disabled {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background-color: #fef2f2;
    color: #dc2626;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-align: center;
    border: 1px solid #fecaca;
    border-radius: 10px;
    cursor: not-allowed;
    box-sizing: border-box;
}

.single-job__apply-btn.single-job__apply-btn--disabled,
.single-job__apply-btn.single-job__apply-btn--disabled:hover,
.single-job__apply-btn.single-job__apply-btn--disabled:active {
    background-color: #dc2626 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;
    border: none !important;
    cursor: not-allowed !important;
}

/* Warning box */
.single-job__apply-warning {
    margin-top: 20px;
    padding: 16px 18px;
    background-color: #f8f9fa;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.single-job__apply-warning-icon {
    flex-shrink: 0;
    font-size: 20px;
    line-height: 1.4;
    color: #f59e0b;
}

.single-job__apply-warning-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
}

.single-job__apply-warning-text strong {
    color: #0f172a;
    font-weight: 700;
}

/* ================================================================
   JOB TAGS (inside apply section)
   ================================================================ */

.single-job__tags {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.single-job__tags-heading {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
}

.single-job__tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.single-job__tags-pill {
    display: inline-block;
    padding: 5px 14px;
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.single-job__tags-pill:hover {
    background-color: #003380;
    color: #ffffff;
    border-color: #003380;
}

/* ================================================================
   RELATED JOBS — 6-grid (thumbnail cards)
   ================================================================ */

.single-job__related {
    margin-top: 32px;
    padding: 0;
    overflow: hidden;
    max-width: 100%;
}

.single-job__related-title {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    border-left: 4px solid #003380;
    padding-left: 12px;
}

.single-job__related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 100%;
    overflow: hidden;
}

.single-job__related-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
    min-width: 0;
    overflow: hidden;
}

.single-job__related-card:hover {
    transform: translateY(-2px);
}

/* Thumbnail container */
.single-job__related-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    margin-bottom: 10px;
}

.single-job__related-thumb img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder when no thumbnail */
.single-job__related-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
}

.single-job__related-placeholder .material-symbols-outlined {
    font-size: 40px;
    color: #cbd5e1;
}

/* Category badge overlay */
.single-job__related-cat {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: inline-block;
    padding: 4px 10px;
    background-color: #003380;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

/* Card title */
.single-job__related-name {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.single-job__related-card:hover .single-job__related-name {
    color: #003380;
}

/* Card info wrapper */
.single-job__related-info {
    padding: 8px 4px 10px;
}

/* Company name */
.single-job__related-company {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    overflow: hidden;
}

.single-job__related-company span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.single-job__related-company-logo {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
    background: #fff;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1024px) {
    .single-job__related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .single-job__apply {
        padding: 16px 0 0;
    }

    .single-job__apply-title {
        font-size: 16px;
    }

    .single-job__apply-text {
        font-size: 14px;
    }

    .single-job__apply-warning {
        padding: 12px 14px;
    }

    .single-job__related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .single-job__related-thumb {
        aspect-ratio: 4 / 3;
        border-radius: 8px;
        margin-bottom: 6px;
    }

    .single-job__related-placeholder .material-symbols-outlined {
        font-size: 28px;
    }

    .single-job__related-cat {
        font-size: 9px;
        padding: 2px 6px;
        bottom: 5px;
        left: 5px;
    }

    .single-job__related-name {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .single-job__related-info {
        padding: 4px 2px 6px;
    }

    .single-job__related-company {
        font-size: 10px;
        gap: 3px;
        margin-top: 3px;
    }

    .single-job__related-company-logo {
        width: 12px;
        height: 12px;
    }

    .single-job__related-title {
        font-size: 18px;
    }
}

/* ================================================================
   INTERNAL LINKS — "Jelajahi Lowongan Lainnya"
   ================================================================ */

.cj-internal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.cj-internal-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cj-internal-link:hover {
    background-color: #eff6ff;
    border-color: #93c5fd;
    color: #003380;
}

.cj-internal-link-icon {
    font-size: 18px !important;
    flex-shrink: 0;
}

.cj-internal-link-arrow {
    margin-left: auto;
    font-size: 16px !important;
    color: #cbd5e1;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cj-internal-link:hover .cj-internal-link-arrow {
    color: #003380;
    transform: translateX(2px);
}

/* ================================================================
   SEO TEXT — Taxonomy Pages
   ================================================================ */

.cj-seo-intro {
    padding: 16px 20px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f5ff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
}

.cj-seo-intro strong {
    color: #0f172a;
    font-weight: 700;
}

@media (max-width: 640px) {
    .cj-internal-grid {
        grid-template-columns: 1fr;
    }

    .cj-internal-link {
        padding: 9px 12px;
        font-size: 13px;
        gap: 8px;
    }

    .cj-internal-link-icon {
        font-size: 16px !important;
    }

    .cj-seo-intro {
        padding: 14px 16px;
        font-size: 13px;
    }
}