/**
 * Custom CSS for School Portfolio Simple Theme
 * 
 * Additional styles and customizations
 * 
 * @package School_Portfolio_Simple
 * @version 1.0.0
 */

/* ===========================
   UTILITY CLASSES
   =========================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
    color: white;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #545b62;
}

/* ===========================
   CONTENT STYLING
   =========================== */
.entry-content {
    line-height: 1.8;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.entry-content p {
    margin-bottom: 1rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content img {
    border-radius: 8px;
    margin: 1.5rem 0;
}

.entry-content blockquote {
    border-left: 4px solid #007bff;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
}

/* ===========================
   POST THUMBNAILS
   =========================== */
.entry-thumbnail {
    margin-bottom: 2rem;
}

.entry-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.post-thumbnail {
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 8px;
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-thumbnail:hover img {
    transform: scale(1.05);
}

/* ===========================
   ENTRY META
   =========================== */
.entry-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.entry-meta span {
    margin-right: 1rem;
}

.post-date {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* ===========================
   NAVIGATION
   =========================== */
.post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
}

.post-navigation a {
    display: block;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    max-width: 45%;
}

.post-navigation a:hover {
    background-color: #e9ecef;
}

.posts-pagination {
    margin-top: 3rem;
    text-align: center;
}

.posts-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.posts-pagination a,
.posts-pagination .current {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.posts-pagination .current {
    background-color: #007bff;
    color: white;
}

/* ===========================
   READ MORE LINK
   =========================== */
.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: #007bff;
    font-weight: 500;
}

.read-more:hover {
    color: #0056b3;
}

/* ===========================
   ENTRY FOOTER
   =========================== */
.entry-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.entry-footer span {
    display: inline-block;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ===========================
   NO CONTENT
   =========================== */
.no-content {
    text-align: center;
    padding: 4rem 2rem;
}

.no-content h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* ===========================
   ACCESSIBILITY
   =========================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.grid-item {
    animation: fadeIn 0.5s ease-in-out;
}

/* ===========================
   CUSTOM LOGO
   =========================== */
.custom-logo-link {
    display: inline-block;
}

.custom-logo {
    max-height: 80px;
    width: auto;
}

/* ===========================
   RESPONSIVE IMAGES
   =========================== */
img {
    height: auto;
    max-width: 100%;
}

/* ===========================
   PRINT STYLES
   =========================== */
@media print {
    .site-header,
    .site-footer,
    .main-navigation {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

