/* ============================================
   BLOG ARTICLE PAGE - CSS STYLES
   ============================================ */

/* ============================================
   ARTICLE STYLES
   ============================================ */
.blog-article {
    max-width: 963px;
}

.article-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 56px;
    color: var(--black);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 24px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.article-date {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #a3a3a3;
}

.article-image {
    width: 100%;
    height: 722px;
    overflow: hidden;
    margin-bottom: 48px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Article Content */
.article-content {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: var(--grey);
    line-height: 1.6;
}

.article-content p {
    margin-bottom: 24px;
}

.article-content h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--black);
    margin-top: 48px;
    margin-bottom: 24px;
    line-height: 1.3;
}

.article-content strong {
    font-weight: 700;
    color: var(--black);
}

.article-content ul,
.article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 12px;
}

/* ============================================
   SIDEBAR SEARCH SUGGESTIONS
   ============================================ */
.sidebar-search {
    position: relative;
}

.sidebar-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid #e0e0e0;
    max-height: 300px;
    overflow-y: auto;
    z-index: 10;
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sidebar-suggestions.active {
    display: block;
}

.sidebar-suggestion-item {
    padding: 12px 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    color: var(--black);
    cursor: pointer;
    transition: background 0.2s;
}

.sidebar-suggestion-item:hover,
.sidebar-suggestion-item.active {
    background: #f0f4f8;
    color: var(--primary);
}

.sidebar-suggestion-empty {
    padding: 12px 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    color: #a3a3a3;
}

/* ============================================
   REQUEST A CALLBACK CTA
   ============================================ */
.callback-cta-section {
    padding: 60px 0;
}

.callback-cta {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 20px 56px 20px 24px;
    border-radius: 60px;
    transition: background 0.3s;
}

.callback-cta:hover {
    background: #003d6d;
}

.callback-icon {
    width: 56px;
    height: 56px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.callback-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.callback-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 32px;
    color: var(--white);
}

/* ============================================
   INLINE CALLBACK CTA (inside article, 30% smaller)
   ============================================ */
.inline-callback-cta {
    margin: 48px 0;
}

.inline-callback-cta .callback-cta {
    padding: 14px 39px 14px 17px;
    gap: 14px;
    border-radius: 42px;
}

.inline-callback-cta .callback-icon {
    width: 39px;
    height: 39px;
}

.inline-callback-cta .callback-icon svg {
    width: 20px;
    height: 20px;
}

.inline-callback-cta .callback-text {
    font-size: 22px;
}

/* ============================================
   MORE BLOGS SECTION
   ============================================ */
.more-blogs {
    padding: 80px 0;
    background: var(--white);
}

.more-blogs .section-title {
    margin-bottom: 48px;
}

.more-blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.related-blog-card {
    border-bottom: 1px solid var(--primary);
    padding-bottom: 24px;
}

.related-blog-image {
    width: 100%;
    height: 424px;
    overflow: hidden;
    margin-bottom: 16px;
}

.related-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-blog-card:hover .related-blog-image img {
    transform: scale(1.05);
}

.related-blog-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--black);
    line-height: 1.3;
    margin-bottom: 16px;
}

.related-blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.related-blog-date {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #a3a3a3;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--white);
    color: var(--primary);
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 24px;
    border: 1px solid var(--primary);
    border-radius: 24px;
    height: 50px;
    transition: all 0.3s;
}

.btn-read-more:hover {
    background: var(--primary);
    color: var(--white);
}

/* Slider wrapper */
.more-blogs-slider {
    overflow: hidden;
}

/* Slide animations */
@keyframes slideOutLeft {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(-60px); opacity: 0; }
}

@keyframes slideInRight {
    from { transform: translateX(60px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(60px); opacity: 0; }
}

@keyframes slideInLeft {
    from { transform: translateX(-60px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.more-blogs-grid.slide-out-left {
    animation: slideOutLeft 0.3s ease-in forwards;
}

.more-blogs-grid.slide-in-right {
    animation: slideInRight 0.3s ease-out forwards;
}

.more-blogs-grid.slide-out-right {
    animation: slideOutRight 0.3s ease-in forwards;
}

.more-blogs-grid.slide-in-left {
    animation: slideInLeft 0.3s ease-out forwards;
}

/* Navigation Buttons */
.more-blogs-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.nav-btn {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.nav-btn.prev {
    background: var(--white);
    border: 2px solid var(--primary);
}

.nav-btn.next {
    background: var(--primary);
    border: 2px solid var(--primary);
}

.nav-btn svg {
    width: 24px;
    height: 24px;
}

.nav-btn.prev svg {
    stroke: var(--primary);
}

.nav-btn.next svg {
    stroke: var(--white);
}

.nav-btn:hover {
    transform: scale(1.05);
}

/* ============================================
   RESPONSIVE - BLOG ARTICLE PAGE
   ============================================ */
@media (max-width: 1600px) {
    .article-title {
        font-size: 48px;
    }

    .article-image {
        height: 550px;
    }

    .related-blog-image {
        height: 320px;
    }

    .related-blog-title {
        font-size: 28px;
    }
}

@media (max-width: 1400px) {
    .article-title {
        font-size: 40px;
    }

    .article-image {
        height: 450px;
    }

    .article-content {
        font-size: 20px;
    }

    .article-content h2 {
        font-size: 28px;
    }

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

    .related-blog-image {
        height: 280px;
    }

    .related-blog-title {
        font-size: 24px;
    }

    .related-blog-date {
        font-size: 18px;
    }

    .btn-read-more {
        font-size: 18px;
        padding: 8px 16px;
        height: 44px;
    }
}

@media (max-width: 1200px) {
    .article-title {
        font-size: 36px;
    }

    .article-image {
        height: 400px;
    }

    .nav-btn {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 768px) {
    /* Article header - no title shown before image on mobile */
    .blog-article {
        max-width: 100%;
    }

    .article-title {
        display: none;
    }

    .article-meta {
        flex-direction: row;
        justify-content: flex-start;
        gap: 96px;
        margin-bottom: 24px;
        order: 2;
    }

    .article-date {
        font-size: 14px;
    }

    .article-image {
        height: 306px;
        margin-bottom: 24px;
        order: 1;
    }

    .article-content {
        font-size: 16px;
        order: 3;
    }

    .article-content h2 {
        font-family: 'Raleway', sans-serif;
        font-size: 22px;
        font-weight: 700;
        margin-top: 24px;
        margin-bottom: 16px;
    }

    .article-content p {
        margin-bottom: 16px;
    }

    /* Callback CTA */
    .callback-cta-section {
        padding: 32px 0;
    }

    .callback-cta {
        padding: 14px 32px 14px 16px;
        gap: 14px;
    }

    .callback-icon {
        width: 40px;
        height: 40px;
    }

    .callback-icon svg {
        width: 20px;
        height: 20px;
    }

    .callback-text {
        font-size: 20px;
    }

    /* Inline Callback CTA - mobile */
    .inline-callback-cta {
        margin: 24px 0;
    }

    .inline-callback-cta .callback-cta {
        padding: 10px 22px 10px 11px;
        gap: 10px;
    }

    .inline-callback-cta .callback-icon {
        width: 28px;
        height: 28px;
    }

    .inline-callback-cta .callback-icon svg {
        width: 14px;
        height: 14px;
    }

    .inline-callback-cta .callback-text {
        font-size: 14px;
    }

    /* More blogs section */
    .more-blogs {
        padding: 40px 0;
    }

    .more-blogs .section-title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .more-blogs-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .related-blog-card {
        border-bottom: 1px solid var(--primary);
        padding-bottom: 24px;
    }

    .related-blog-image {
        height: 306px;
    }

    .related-blog-title {
        font-family: 'Raleway', sans-serif;
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 16px;
    }

    .related-blog-meta {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }

    .related-blog-date {
        font-size: 14px;
        color: var(--grey);
    }

    .btn-read-more {
        font-family: 'Outfit', sans-serif;
        font-size: 16px;
        padding: 10px 20px;
        height: auto;
    }

    /* Navigation buttons - smaller on mobile */
    .more-blogs-nav {
        gap: 16px;
    }

    .nav-btn {
        width: 31px;
        height: 31px;
    }

    .nav-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 24px;
    }

    .article-image {
        height: 200px;
    }

    .article-content h2 {
        font-size: 20px;
    }

    .related-blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
