* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background-color: #f5f5f5;
    color: #000;
    line-height: 1.6;
}

header {
    border-bottom: 3px solid #000;
    padding: 2rem 0;
    background-color: #fff;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1 {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 0.9rem;
    font-style: italic;
    color: #666;
    letter-spacing: 0.1rem;
}

nav {
    background-color: #000;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 1rem 1.5rem;
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    border-right: 1px solid #333;
    transition: all 0.3s;
    white-space: nowrap;
}

nav a:hover {
    background-color: #fff;
    color: #000;
}

nav a:first-child {
    border-left: none;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    /* padding-bottom: 3rem;
    border-bottom: 2px solid #ddd; */
}

.hero-article {
    background-color: #fff;
    padding: 0;
    border: 2px solid #000;
    transition: transform 0.3s;
}

.hero-article:hover {
    transform: translateY(-5px);
}

.hero-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ccc;
}

.hero-content {
    padding: 2rem;
}

.category-tag {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    margin-bottom: 1rem;
}

.hero-article h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 400;
    line-height: 1.3;
}

.article-meta {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.hero-article p {
    color: #333;
    font-size: 1rem;
    line-height: 1.7;
}

.sidebar-articles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-article {
    background-color: #fff;
    padding: 1.5rem;
    border-left: 3px solid #000;
    transition: border-color 0.3s;
}

.sidebar-article:hover {
    border-left-color: #666;
}

.sidebar-article h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.sidebar-article .category-tag {
    font-size: 0.65rem;
}

.section {
    margin-bottom: 4rem;
    scroll-margin-top: 80px;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #000;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background-color: #fff;
    border: 1px solid #ddd;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    border-color: #000;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.article-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e5e5e5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 2rem;
}

.article-content {
    padding: 1.5rem;
}

.article-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 400;
    line-height: 1.4;
}

.article-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
}

footer {
    background-color: #000;
    color: #fff;
    padding: 3rem 2rem;
    /* margin-top: 4rem; */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 0.3rem 0;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ccc;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    font-size: 0.85rem;
}

input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}
  
input[type=submit] {
    background-color: #04AA6D;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
  
input[type=submit]:hover {
    background-color: #45a049;
}
  
.container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
}

#toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background-color: #000;
    color: #fff;
    padding: 16px 28px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

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

.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-link article {
    cursor: pointer;
}

.article-link:hover article {
    border-color: #000;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pending-article {
    border: 1px solid #ddd;
    padding: 1.5rem;
    margin-bottom: 2rem;
    background: #f9f9f9;
}
.pending-article h3 {
    margin-top: 0;
}
.article-preview {
    max-height: 150px;
    overflow: hidden;
    margin: 1rem 0;
    padding: 1rem;
    background: #fff;
    border-left: 3px solid #666;
}
.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.btn-approve {
    background-color: #04AA6D;
    color: white;
}
.btn-reject {
    background-color: #d32f2f;
    color: white;
}
.btn-edit {
    background-color: #2196F3;
    color: white;
}
.btn:hover {
    opacity: 0.9;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}
.modal.show {
    display: block;
}
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 2rem;
    border: 1px solid #888;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 5px;
}
.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    border: none;
    background: none;
}
.close-modal:hover {
    color: #000;
}

.content-block {
    border: 1px solid #ccc;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fff;
    border-radius: 4px;
}
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    .hero-section {
        grid-template-columns: 1fr;
    }
    nav a {
        padding: 1rem;
        font-size: 0.8rem;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1.5rem;
    }
    .action-buttons {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
}