/* ============================================================================
   NEWS ARTICLE STYLES - OPTIMIZED & FIXED
   ============================================================================ */

/* Article Header */
.news-article-header {
    position: relative;
    overflow: hidden;
}

/* Badge System */
.news-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.news-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Featured Image */
.featured-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.featured-image-container img {
    transition: transform 0.3s ease;
}

.featured-image-container:hover img {
    transform: scale(1.02);
}

/* Article Meta Information */
.article-meta-info {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 1.5rem 0;
    padding: 18px 24px;
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8dc 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(255, 131, 74, 0.1);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #2c3e50;
    font-weight: 500;
}

.meta-item svg {
    color: #FF834A;
    flex-shrink: 0;
}

.meta-divider {
    width: 1px;
    height: 20px;
    background: #FF834A;
    opacity: 0.3;
}

/* Social Share Bar */
.social-share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.social-share-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
    margin: 0;
    white-space: nowrap;
}

.social-share-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-share-btn:hover::before {
    opacity: 1;
}

.social-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.social-share-btn img,
.social-share-btn svg {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-share-btn:hover img,
.social-share-btn:hover svg {
    transform: scale(1.1);
}

/* Social Button Colors */
.twitter-btn {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
}

.linkedin-btn {
    background: linear-gradient(135deg, #0077B5 0%, #00669c 100%);
}

.facebook-btn {
    background: linear-gradient(135deg, #1877F2 0%, #0d65d9 100%);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #1ebe57 100%);
}

.email-btn {
    background: linear-gradient(135deg, #EA4335 0%, #d63426 100%);
}

.copy-link-btn {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    cursor: pointer;
    border: none;
    padding: 0;
}

.copy-link-btn svg {
    fill: white;
}

.copy-feedback {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #28a745;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.copy-feedback.show {
    opacity: 1;
}

.copy-feedback::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #28a745;
}

/* Related News Cards */
.related-news-card {
    transition: all 0.3s ease!important;
    border: none!important;
    border-radius: 15px!important;
    overflow: hidden!important;
    height: 100%!important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08)!important;
    display: flex!important;
    flex-direction: column!important;
}

.related-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.related-news-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
    flex-shrink: 0;
}

.related-news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-news-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-news-excerpt {
    font-size: 0.9rem;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.related-news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: #999;
}

/* View All News Card - FIXED TO MATCH HEIGHT */
.view-all-news-card {
    background: linear-gradient(135deg, #ff834a 0%, #ff6b2b 100%) !important;
    border: none !important;
}

.view-all-news-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 35px rgba(255, 131, 74, 0.3) !important;
}

.view-all-news-card .related-news-image {
    background: rgba(255, 255, 255, 0.1) !important;
    height: 200px;
}

.view-all-news-card .related-news-content {
    padding: 2rem 1.5rem;
    justify-content: center;
    color: white;
    text-align: center;
}

.view-all-news-card .related-news-title {
    font-size: 1.3rem;
    color: white !important;
    display: block;
    -webkit-line-clamp: unset;
}

.view-all-news-card .view-all-description {
    opacity: 0.95;
    font-size: 0.95rem;
    color: white;
}

.view-all-news-card .view-all-cta-text {
    font-weight: 600;
    font-size: 1rem;
    color: white;
}

/* Sidebar */
.sidebar-card {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.sidebar-card:hover {
    transform: translateY(-3px);
}

/* Newsletter/Subscription Banner */
.subscription-banner {
    background: linear-gradient(135deg, #ff834a 0%, #ff6b35 50%, #ff5722 100%);
    color: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(255, 131, 74, 0.15);
}

.subscription-banner h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.subscription-banner p {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    opacity: 0.95;
    line-height: 1.4;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .related-news-card {
        margin-bottom: 1.5rem;
    }

    .social-share-bar {
        justify-content: left;
        text-align: center;
    }

    .social-share-label {
        width: 100%;
        text-align: left;
        margin-bottom: 8px;
    }

    .social-share-buttons {
        justify-content: center;
    }
}

/* Mailchimp Alert */
.mc4wp-alert {
    margin-left: 30px;
}

/* FacetWP Styles */
.facetwp-reset {
    margin-top: 10px;
    color: #fff;
    padding: 5px 0;
    background-color: var(--k-blue);
    border: none;
    letter-spacing: .05em;
    border-radius: 10px;
    padding: 5px 10px 5px 10px;
}

.fdate-input {
    max-width: 150px;
}

.facetwp-facet-date_kurrantlynews {
    display: flex;
    justify-content: space-between;
}

.facetwp-facet {
    margin-bottom: 10px !important;
}

.single-kurrantly .facetwp-facet {
    width: 100%;
}

.single-kurrantly .fs-label-wrap {
    width: 100%;
}

.fs-wrap {
    width: 100% !important;
}