/* Detail Page Shared Styles */

.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/carousel1.jpg') center/cover;
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-size: 2.5rem;
}

.breadcrumb-custom {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-custom li {
    font-size: 0.95rem;
    color: #eee;
}

.breadcrumb-custom li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-custom li a:hover {
    color: var(--primary-green);
}

.breadcrumb-custom li::after {
    content: '\f105'; /* FontAwesome angle-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin: 0 10px;
    color: #aaa;
    font-size: 0.8rem;
}

.breadcrumb-custom li:last-child::after {
    content: '';
}

/* Detail Page Styling */
.article-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.article-title {
    font-size: 2rem; /* Reduced from 2.2rem */
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    color: #6c757d;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.article-meta i {
    margin-right: 5px;
}

.tag-activity, .tag-status {
    background-color: #E8F7EF;
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

.tag-status {
    background-color: #28a745;
    color: #fff;
}

.article-content {
    font-size: 1rem; /* Reduced from 1.15rem */
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
}

.article-content h3 {
    font-weight: 700;
    color: var(--text-main);
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 6px solid var(--primary-green);
    padding-left: 15px;
}

.article-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 25px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

/* Info Box for Activity Details */
.info-box {
    background-color: #f8f9fa;
    border-left: 5px solid var(--primary-green);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 30px 0;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.info-box ul li {
    margin-bottom: 10px;
    font-size: 1rem;
}

.info-box ul li i {
    width: 25px;
    color: var(--text-main);
    text-align: center;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #eaeaea;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-4px);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-facebook { background-color: #1877F2; }
.btn-line { background-color: #06C755; }
.btn-twitter { background-color: #1DA1F2; }
.btn-link { background-color: #6c757d; }
.btn-native { background-color: var(--text-main); }
.btn-calendar { background-color: #DB4437; }

.share-btn.copied {
    background-color: #28a745 !important;
}

.back-to-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    padding: 10px 30px;
    background-color: #f8f9fa;
    color: var(--text-main);
    border: 1px solid #dee2e6;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
}

.back-to-list:hover {
    background-color: var(--primary-green);
    color: #2C3E35;
    border-color: var(--primary-green);
}

/* Toast notification */
.copy-toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(40, 167, 69, 0.95);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
}

.copy-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .article-container {
        padding: 30px 20px;
    }
    .article-title {
        font-size: 1.6rem;
    }
}
