/* pengumuman-detail.css */

.pdetail-page {
    min-height: 100vh;
    background: linear-gradient(to bottom right, #0a1f13, #0d2a18, #0a1f13);
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: #FFFAE3;
}

.pdetail-main-container {
    max-width: 56rem; /* 4xl */
    margin: 0 auto;
    padding: 3rem 1.5rem; /* py-12 px-6 */
    text-align: left;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .pdetail-main-container { padding-left: 2rem; padding-right: 2rem; }
}

@media (min-width: 768px) {
    .pdetail-main-container { padding: 5rem 3rem; } /* py-20 px-12 */
}

/* Header */
.pdetail-header {
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .pdetail-header { margin-bottom: 3rem; }
}

.pdetail-title {
    font-size: 1.875rem; /* 3xl */
    line-height: 1.25;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .pdetail-title { font-size: 2.25rem; } /* 4xl */
}

@media (min-width: 768px) {
    .pdetail-title { font-size: 3rem; } /* 5xl */
}

.pdetail-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pdetail-date {
    color: #9ca3af; /* gray-400 */
    font-size: 0.875rem; /* sm */
    font-weight: 500;
    margin: 0;
}

/* Featured Image / Icon Placeholder */
.pdetail-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 2rem;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdetail-image-wrapper .placeholder-icon {
    font-size: 6rem;
    opacity: 0.5;
}

.pdetail-image-wrapper img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

/* Content */
.pdetail-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pdetail-content p {
    color: #d1d5db; /* gray-300 */
    font-size: 1rem; /* base */
    line-height: 1.8;
    font-weight: 300; /* light */
    text-align: justify;
    margin: 0;
}

@media (min-width: 768px) {
    .pdetail-content p { font-size: 1.125rem; } /* lg */
}

.btn-back {
    display: inline-block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.btn-back:hover {
    color: #FFFAE3;
}
