/* ============================================
   Page Template Styles
   ============================================
   Styles for dynamic pages created via Voyager
   ============================================ */

/* Page Section Container */
.page-details-section {
    min-height: 60vh;
    animation: fadeIn 0.6s ease-in-out;
}

/* Page Content Box */
.page-content-box {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.page-content-box:hover {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

/* ============================================
   Animations
   ============================================ */

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Fade-in-up Animation for Title */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade-in Animation for Content */
.fade-in {
    animation: fadeIn 1s ease-out 0.2s both;
}

/* ============================================
   Page Content Typography
   ============================================ */

.page-content {
    line-height: 1.8;
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Headings */
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    color: var(--main-color);
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-content h1 {
    font-size: 28px;
}

.page-content h2 {
    font-size: 24px;
}

.page-content h3 {
    font-size: 20px;
}

.page-content h4 {
    font-size: 18px;
}

/* Lists */
.page-content ul,
.page-content ol {
    margin: 20px 0;
    padding-right: 30px;
    line-height: 1.8;
}

.page-content li {
    margin-bottom: 10px;
}

/* Links */
.page-content a {
    color: var(--main-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-content a:hover {
    color: var(--secondary-color);
}

/* Images */
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Blockquotes */
.page-content blockquote {
    border-right: 4px solid var(--main-color);
    padding-right: 20px;
    margin: 25px 0;
    font-style: italic;
    color: var(--gray-3);
}

/* Tables */
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.page-content table th,
.page-content table td {
    padding: 12px;
    border: 1px solid #e0e0e0;
    text-align: right;
}

.page-content table th {
    background-color: var(--main-color);
    color: white;
    font-weight: bold;
}

/* Code Blocks */
.page-content code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
}

.page-content pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.page-content pre code {
    background-color: transparent;
    padding: 0;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .page-content h1 {
        font-size: 22px;
    }

    .page-content h2 {
        font-size: 20px;
    }

    .page-content h3 {
        font-size: 18px;
    }

    .page-content {
        font-size: 14px;
    }

    .page-content ul,
    .page-content ol {
        padding-right: 20px;
    }
}

/* ============================================
   Utility Classes
   ============================================ */

.line-height-1-8 {
    line-height: 1.8;
}
