/* Article Profile Layout */
.article-profile {
    padding: 40px 0;
    background: #000000;
}

/* Back Button */
.back-button-container {
    margin-bottom: 30px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: rgba(0, 188, 212, 0.1);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 188, 212, 0.2);
}

.back-button:hover {
    background-color: rgba(0, 188, 212, 0.2);
    color: #00E5FF;
    transform: translateX(-4px);
}

.back-button i {
    font-size: 1rem;
}

/* Article Header with Featured Image */
.article-header {
    margin-bottom: 40px;
}

.article-feature-image {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 188, 212, 0.15);
    background: linear-gradient(135deg, #00BCD4 0%, #00E5FF 100%);
}

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

.article-feature-placeholder {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00BCD4 0%, #00E5FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 188, 212, 0.15);
}

.article-feature-placeholder i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.2);
}

/* Title Section */
.article-title-section {
    margin-bottom: 50px;
}

.article-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px;
    line-height: 1.2;
}

.article-metadata-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
}

.article-metadata-bar .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #999999;
    font-size: 0.95rem;
    background-color: rgba(0, 188, 212, 0.08);
    padding: 8px 14px;
    border-radius: 30px;
    border: 1px solid rgba(0, 188, 212, 0.15);
}

.article-metadata-bar i {
    color: #00BCD4;
    font-size: 1.1rem;
}

.published-badge {
    color: #4ade80;
    font-weight: 600;
}

/* Main Content Layout - Grid */
.article-content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.article-main-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Article Sections */
.article-section {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid #333333;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333333;
}

.section-header i {
    color: #00BCD4;
    font-size: 1.2rem;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.section-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #cccccc;
}

/* Summary Section */
.summary-section {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.1) 0%, rgba(0, 229, 255, 0.08) 100%);
    border-left: 4px solid #00BCD4;
}

.summary-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
    margin: 0;
    font-weight: 500;
}

/* Article Body */
.article-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #b0b0b0;
}

.article-body p {
    margin-bottom: 20px;
    color: #cccccc;
}

.article-body h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: #ffffff;
    margin: 40px 0 20px;
    font-weight: 600;
}

.article-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: #e0e0e0;
    margin: 30px 0 15px;
    font-weight: 600;
}

.article-body strong {
    color: #ffffff;
    font-weight: 600;
}

/* Category Tags */
.categories-section .category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-tag {
    display: inline-block;
    background: linear-gradient(135deg, #00BCD4 0%, #00E5FF 100%);
    color: #000000;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.4);
}

/* Share Section */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.share-btn.facebook {
    background-color: #3B5998;
    color: white;
}

.share-btn.facebook:hover {
    background-color: #2D4373;
    transform: translateY(-2px);
}

.share-btn.twitter {
    background-color: #1DA1F2;
    color: white;
}

.share-btn.twitter:hover {
    background-color: #1A8CD8;
    transform: translateY(-2px);
}

.share-btn.linkedin {
    background-color: #0077B5;
    color: white;
}

.share-btn.linkedin:hover {
    background-color: #005885;
    transform: translateY(-2px);
}

.share-btn.email {
    background-color: #EA4335;
    color: white;
}

.share-btn.email:hover {
    background-color: #C5221F;
    transform: translateY(-2px);
}

.share-btn i {
    font-size: 1rem;
}

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.15);
}

.card-header {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.1) 0%, rgba(0, 229, 255, 0.08) 100%);
    padding: 18px 24px;
    border-bottom: 1px solid #333333;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #ffffff;
}

.card-header i {
    color: #00BCD4;
    font-size: 1.2rem;
}

.card-header h3 {
    margin: 0;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.card-content {
    padding: 24px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 14px;
    padding-top: 14px;
    border-bottom: 1px solid #333333;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    font-weight: 600;
    color: #999999;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: #e0e0e0;
    font-size: 0.95rem;
    text-align: right;
}

.status-badge {
    background-color: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

/* Related Articles in Sidebar */
.related-articles-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.related-article-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    padding: 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.related-article-item:hover {
    background-color: rgba(0, 188, 212, 0.08);
    transform: translateX(4px);
}

.related-thumb,
.related-thumb-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #00BCD4 0%, #00E5FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.related-thumb-placeholder i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
}

.related-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.related-details h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-date {
    font-size: 0.75rem;
    color: #888888;
    margin: 0;
}

/* More Articles Section */
.more-articles-section {
    padding: 60px 0;
    background: #000000;
}

.section-header-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.section-header-main i {
    color: #00BCD4;
    font-size: 2rem;
}

.section-header-main h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.article-card {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #333333;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 188, 212, 0.2);
}

.article-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #00BCD4 0%, #00E5FF 100%);
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.article-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-date {
    color: #888888;
    font-size: 0.85rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.article-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-excerpt {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #00BCD4;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.read-more-link:hover {
    gap: 10px;
    color: #00E5FF;
}

.read-more-link i {
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .article-content-layout {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .article-feature-image,
    .article-feature-placeholder {
        height: 300px;
    }
    
    .article-title {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
    }
    
    .article-metadata-bar {
        gap: 12px;
        font-size: 0.85rem;
    }
    
    .article-metadata-bar .meta-item {
        padding: 6px 12px;
    }
    
    .article-section {
        padding: 20px;
    }
    
    .section-header-main h2 {
        font-size: 1.5rem;
    }
    
    .articles-grid {
        gap: 20px;
    }
    
    .share-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .share-btn span {
        display: none;
    }
}

@media (max-width: 480px) {
    .back-button {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    
    .article-feature-image,
    .article-feature-placeholder {
        height: 200px;
        border-radius: 8px;
    }
    
    .article-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .article-metadata-bar {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-content-layout {
        gap: 20px;
    }
    
    .article-section {
        padding: 15px;
    }
    
    .section-header {
        gap: 8px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .section-header h2 {
        font-size: 1rem;
    }
    
    .article-sidebar {
        gap: 15px;
    }
    
    .info-card {
        border-radius: 6px;
    }
    
    .card-header {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .info-item {
        flex-direction: column;
        padding-bottom: 10px;
    }
    
    .info-value {
        text-align: left;
    }
    
    .related-article-item {
        padding: 8px;
        gap: 8px;
    }
    
    .related-thumb,
    .related-thumb-placeholder {
        width: 50px;
        height: 50px;
    }
    
    .related-details h4 {
        font-size: 0.8rem;
    }
    
    .related-date {
        font-size: 0.7rem;
    }
    
    .more-articles-section {
        padding: 40px 0;
    }
    
    .section-header-main {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .section-header-main i {
        font-size: 1.5rem;
    }
    
    .section-header-main h2 {
        font-size: 1.3rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .article-card-image {
        height: 150px;
    }
    
    .article-card-content {
        padding: 15px;
    }
    
    .share-btn {
        padding: 8px 10px;
        gap: 4px;
    }
    
    .category-tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
