/* ==========================================================
   Single Post (Blog Article) — Tekcom
   ========================================================== */

/* ── Breadcrumb bar (navy — same as careers) ──────────────── */
.sp-breadcrumb {
    background: #193250;
    padding: 14px clamp(20px, 5vw, 80px);
}

.sp-breadcrumb__inner {
    max-width: 1680px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    font-size: 0.8rem;
}

.sp-breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.sp-breadcrumb a:hover {
    color: #fff;
}

.sp-breadcrumb__sep {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.35);
    margin: 0 2px;
}

.sp-breadcrumb__current {
    color: #E8AE37;
    font-size: 0.8rem;
    max-width: 360px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Post hero (navy — same as careers) ───────────────────── */
.sp-hero {
    background: #193250;
    padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 80px) clamp(48px, 7vw, 96px);
    text-align: center;
}

.sp-hero__inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* Meta (category + date) — sits below the title */
.sp-hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 20px;
}

.sp-cat-tag {
    font-size: 14px;
    font-weight: 700;
    color: #E8AE37 !important;
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sp-cat-tag:hover {
    opacity: 0.85;
}

.sp-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

/* Vertical divider between category and date */
.sp-hero__meta .sp-cat-tag+.sp-date::before {
    content: '';
    display: inline-block;
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.25);
    margin: 0 12px;
}

/* Title */
.sp-title {
    font-size: clamp(1.8rem, 4vw, 3rem) !important;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-align: center;
    margin: 0;
}

/* ── Article Content ──────────────────────────────────────── */
.sp-article {
    padding: 56px 0 48px;
    background: #fff;
}

.sp-article__container {
    max-width: 1100px;
    width: 94%;
    margin: 0 auto;
}

.sp-featured-img {
    margin-bottom: 40px;
    border-radius: 4px;
    overflow: hidden;
}

.sp-featured-img img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* WordPress content styles */
.sp-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.sp-content>p:first-child {
    font-weight: 600;
    font-size: 18px;
    color: #111;
}

.sp-content p {
    margin: 0 0 24px;
}

.sp-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: #111;
    margin: 48px 0 16px;
}

.sp-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin: 36px 0 12px;
}

.sp-content img,
.sp-content figure img,
.sp-content .wp-block-image img,
.sp-content .aligncenter img,
.sp-content .alignleft img,
.sp-content .alignright img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 0 !important;
    margin: 8px 0 4px;
}

.sp-content figure,
.sp-content .wp-block-image {
    margin: 32px 0;
    border-radius: 0 !important;
    overflow: visible;
}

.sp-content figcaption {
    font-size: 13px;
    color: #888;
    margin-top: 8px;
    font-style: italic;
}

.sp-content ul,
.sp-content ol {
    padding-left: 24px;
    margin: 0 0 24px;
}

.sp-content li {
    margin-bottom: 8px;
}

.sp-content a {
    color: #AD7500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sp-content blockquote {
    border-left: 3px solid #AD7500;
    margin: 32px 0;
    padding: 8px 0 8px 24px;
    font-style: italic;
    color: #555;
}

/* ── Share ────────────────────────────────────────────────── */
.sp-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid #eee;
}

.sp-share__label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sp-share__links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sp-share__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #444;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.sp-share__btn:hover {
    background: #AD7500;
    color: #fff;
    border-color: #AD7500;
}

.sp-share__btn--copied {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
}

/* ── Other Articles ───────────────────────────────────────── */
.sp-other {
    background: #F5F9FF;
    padding: 72px 0 80px;
}

.sp-other__container {
    max-width: 1680px;
    width: 94%;
    margin: 0 auto;
}

.sp-other__heading {
    font-size: clamp(24px, 3vw, 50px) !important;
    font-weight: 700;
    color: #254B78;
    text-align: center;
    margin: 0 0 48px;
}

.sp-other__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

/* CTA button */
.sp-other__cta {
    text-align: center;
}

.sp-other__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border: 1.5px solid #111;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #111;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
}

.sp-other__cta-btn:hover {
    background: #111;
    color: #fff;
}

.sp-other__cta-btn svg {
    transition: transform 0.2s;
}

.sp-other__cta-btn:hover svg {
    transform: translateX(4px);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .sp-other__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .sp-header {
        padding: 32px 0 40px;
    }

    .sp-title {
        font-size: 26px;
    }

    .sp-content {
        font-size: 16px;
    }

    .sp-other__grid {
        grid-template-columns: 1fr;
    }

    .sp-breadcrumb__item--current {
        max-width: 200px;
    }
}