/* --- Industry News Section Styles (Scoped) --- */
.news-wall-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px 100px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

/* Card Design */
.news-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
}

.news-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Image */
.card-image-wrapper {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 */
    background: #1a1a1a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.1);
    font-weight: 900;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.news-card:hover .card-image {
    transform: scale(1.08);
}

/* Content */
.card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 70px;
    /* Space for sharing buttons */
}

.card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
}

.meta-source {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    margin: 0;
}

/* Blocks */
.block-summary {
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.6;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.block-taiwan {
    font-size: 0.9rem;
    color: #ddd;
    background: rgba(251, 146, 60, 0.05);
    /* Using var raw if needed, but hex is safer for now */
    padding: 12px;
    border-radius: 8px;
    line-height: 1.5;
    border: 1px solid rgba(251, 146, 60, 0.1);
}

.block-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.label-tw {
    color: #fb923c;
}

.block-insight {
    font-size: 0.9rem;
    color: #e0e0e0;
    border-left: 3px solid var(--primary);
    padding-left: 14px;
    font-style: italic;
    line-height: 1.5;
    background: linear-gradient(90deg, rgba(251, 146, 60, 0.05) 0%, transparent 100%);
}

.label-adg {
    color: var(--primary);
}

/* Tags */
.block-apps {
    margin-top: auto;
    padding-top: 12px;
}

.app-tag {
    display: inline-block;
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.05);
    color: #888;
    padding: 3px 10px;
    border-radius: 4px;
    margin-right: 6px;
    margin-bottom: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Share Actions */
.share-actions {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    color: #888;
    outline: none;
}

.share-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: var(--primary);
    transform: scale(1.1);
}

.share-btn.btn-fb:hover {
    color: #1877F2;
    border-color: #1877F2;
}

.share-btn.btn-line:hover {
    color: #06C755;
    border-color: #06C755;
}

.share-btn.btn-wechat:hover {
    color: #07C160;
    border-color: #07C160;
}

.share-btn.btn-copy:hover {
    color: var(--primary);
}

/* Toast Notification (Repurposed for main site) */
.adg-news-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary);
    color: #000;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    z-index: 9999;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    letter-spacing: 1px;
}

.adg-news-toast.show {
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}