/**
 * News Single Premium Styles
 * 
 * @package Ship_Hospital_Booking
 */

:root {
    --shb-news-hero-height: 500px;
    --shb-news-glass-bg: rgba(255, 255, 255, 0.08);
    --shb-news-glass-border: rgba(255, 255, 255, 0.15);
}

/* --- Hero Section --- */
.news-hero {
    position: relative;
    height: var(--shb-news-hero-height);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: var(--shb-color-secondary);
}

.news-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.news-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6) saturate(1.2);
    transition: transform 10s ease-out;
}

.news-hero:hover .news-hero-bg img {
    transform: scale(1.1);
}

.news-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 1;
}

.news-hero-content {
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
    width: 100%;
}

.news-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--shb-color-primary);
    color: white;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(45, 172, 201, 0.3);
}

.news-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 24px;
    max-width: 900px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    font-family: var(--shb-font-heading);
}

@media (max-width: 768px) {
    .news-hero-title {
        font-size: 2.2rem;
    }
}

.news-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 500;
}

.news-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-hero-meta-item i {
    color: var(--shb-color-primary);
}

/* --- Content Layout --- */
.news-main-wrap {
    padding: 80px 0;
    background-color: var(--shb-color-bg-subtle);
}

.news-content-card {
    background: white;
    border-radius: 32px;
    padding: 60px;
    box-shadow: var(--shb-shadow-soft);
    border: 1px solid var(--shb-color-border-default);
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .news-content-card {
        padding: 30px;
    }
}

/* Content Area Typography */
.news-rich-text {
    font-family: var(--shb-font-body);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--shb-color-text-body);
}

.news-rich-text p {
    margin-bottom: 2rem;
}

.news-rich-text ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.news-rich-text ol {
    list-style-type: decimal;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.news-rich-text li {
    margin-bottom: 0.5rem;
}

.news-rich-text li > ul,
.news-rich-text li > ol {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.news-rich-text h2 {
    font-size: 2.25rem;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--shb-color-text-heading);
}

.news-rich-text h3 {
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    color: var(--shb-color-text-heading);
}

.news-rich-text blockquote {
    position: relative;
    padding: 40px;
    margin: 4rem 0;
    background: var(--shb-color-bg-subtle);
    border-radius: 24px;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--shb-color-secondary);
    border-left: 6px solid var(--shb-color-primary);
}

.news-rich-text img {
    border-radius: 24px;
    margin: 3rem 0;
    width: 100%;
    height: auto;
    box-shadow: var(--shb-shadow-medium);
}

/* --- Share Sidebar Card --- */
.news-sidebar-card {
    background: white;
    border-radius: 32px;
    padding: 32px;
    box-shadow: var(--shb-shadow-soft);
    border: 1px solid var(--shb-color-border-default);
    margin-bottom: 32px;
}

.news-sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--shb-color-text-heading);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--shb-color-border-default);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- Social Share Buttons --- */
.share-grid {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--shb-color-bg-subtle);
    color: var(--shb-color-text-body);
    border: 1px solid var(--shb-color-border-default);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.share-btn:hover {
    transform: translateY(-4px);
    color: white;
}

.share-btn.linkedin:hover { background: #0077b5; border-color: #0077b5; box-shadow: 0 10px 20px rgba(0, 119, 181, 0.3); }
.share-btn.facebook:hover { background: #1877f2; border-color: #1877f2; box-shadow: 0 10px 20px rgba(24, 119, 242, 0.3); }
.share-btn.twitter:hover { background: #1da1f2; border-color: #1da1f2; box-shadow: 0 10px 20px rgba(29, 161, 242, 0.3); }
.share-btn.copy:hover { background: var(--shb-color-primary); border-color: var(--shb-color-primary); box-shadow: 0 10px 20px rgba(45, 172, 201, 0.3); }

/* --- Latest News Card --- */
.latest-news-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.latest-news-item:hover {
    background: var(--shb-color-bg-subtle);
    border-color: var(--shb-color-border-default);
    transform: translateX(4px);
}

.latest-news-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    flex-shrink: 0;
    overflow: hidden;
}

.latest-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-news-content {
    flex-grow: 1;
}

.latest-news-date {
    font-size: 12px;
    font-weight: 700;
    color: var(--shb-color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.latest-news-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--shb-color-text-heading);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Lucide Loading fix */
[data-lucide] {
    display: inline-block;
    vertical-align: middle;
}
