/* Spine Blog Card Widget Styles */

.spine-blog-card {
    max-width: 1180px;
    margin: 0 auto;
    background: #f7f9fb;
    border-radius: 28px;
    padding: 44px 46px 28px;
    color: #15283a;
}

.spine-blog-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.spine-blog-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 11px 22px;
    border-radius: 4px;
    background: #efe8de;
    color: #b88b60;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.spine-blog-date {
    font-size: 14px;
    color: #7c98ab;
}

.spine-blog-divider {
    width: 100%;
    height: 1px;
    background: #edf1f4;
    margin: 30px 0 18px;
}

.spine-blog-card__content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 50px;
}

.spine-blog-card__left h2,
.spine-blog-card__left h3,
.spine-blog-card__left h4 {
    max-width: 600px;
    margin: 0 0 36px;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.22;
    font-weight: 400;
    letter-spacing: 0.2px;
    color: #112536;
}

.spine-blog-quote {
    max-width: 600px;
    padding-left: 22px;
    margin-bottom: 34px;
    border-left: 4px solid #c9a47d;
}

.spine-blog-quote p {
    margin: 0 0 12px;
    font-size: 19px;
    line-height: 1.6;
    font-style: italic;
    color: #33495c;
}

.spine-blog-quote span {
    font-size: 12px;
    color: #bf8e61;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.1px;
}

.spine-blog-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.spine-blog-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.5;
    color: #40586c;
}

.spine-blog-list li::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 10px;
    width: 7px;
    height: 7px;
    background: #c7a17b;
    border-radius: 50%;
}

.spine-blog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    min-height: 64px;
    padding: 18px 28px;
    background: #102333;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s ease;
    cursor: pointer;
    border: none;
}

.spine-blog-btn:hover {
    background: #c79d73;
    color: #102333;
}

.spine-blog-card__right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spine-blog-card__right img {
    width: 100%;
    max-width: 430px;
    height: auto;
    display: block;
}

.spine-blog-card__mobile-img {
    display: none;
}

.spine-blog-card img {
    max-width: 100%;
}

/* Tablet */
@media (max-width: 991px) {
    .spine-blog-card__mobile-img {
        display: block;
        margin-bottom: 20px;
    }

    .spine-blog-card__right {
        display: none;
    }

    .spine-blog-card {
        padding: 36px 30px 30px;
        border-radius: 22px;
    }

    .spine-blog-card__content {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .spine-blog-card__right {
        justify-content: flex-start;
    }

    .spine-blog-card__left h2,
    .spine-blog-card__left h3,
    .spine-blog-card__left h4 {
        max-width: 100%;
        margin-bottom: 28px;
    }

    .spine-blog-quote {
        max-width: 100%;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .spine-blog-card {
        display: flex;
        flex-direction: column;
        padding: 24px 18px;
        border-radius: 18px;
    }

    .spine-blog-card__content {
        display: flex;
        flex-direction: column;
        gap: 26px;
    }

    .spine-blog-card__right {
        order: -1;
        justify-content: center;
        margin-bottom: 22px;
    }

    .spine-blog-card__right img {
        max-width: 280px;
        width: 100%;
    }

    .spine-blog-card__top {
        order: 1;
        align-items: flex-start;
    }

    .spine-blog-divider {
        order: 2;
        margin: 22px 0;
    }

    .spine-blog-card__content {
        order: 3;
    }

    .spine-blog-card__left {
        order: 2;
    }

    .spine-blog-badge {
        min-width: auto;
        padding: 9px 16px;
        font-size: 10px;
    }

    .spine-blog-date {
        font-size: 12px;
        white-space: nowrap;
    }

    .spine-blog-card__left h2,
    .spine-blog-card__left h3,
    .spine-blog-card__left h4 {
        font-size: 25px;
        line-height: 1.3;
    }

    .spine-blog-quote {
        padding-left: 16px;
        margin-bottom: 26px;
    }

    .spine-blog-quote p {
        font-size: 15px;
    }

    .spine-blog-list li {
        padding-left: 24px;
        font-size: 14px;
        margin-bottom: 14px;
    }

    .spine-blog-list li::before {
        left: 6px;
    }

    .spine-blog-btn {
        width: 100%;
        min-width: unset;
        min-height: 54px;
        font-size: 12px;
    }
}

/* Smooth transitions */
.spine-blog-card,
.spine-blog-badge,
.spine-blog-btn,
.spine-blog-card__right img {
    transition: all 0.3s ease;
}

/* Print styles */
@media print {
    .spine-blog-card {
        background: white;
        border: 1px solid #000;
        box-shadow: none;
    }

    .spine-blog-btn {
        display: none;
    }
}

/* Accessibility improvements */
.spine-blog-btn:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.spine-blog-btn:focus:not(:focus-visible) {
    outline: none;
}

/* Respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .spine-blog-card,
    .spine-blog-badge,
    .spine-blog-btn,
    .spine-blog-card__right img {
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .spine-blog-card {
        border: 2px solid currentColor;
    }
}
