* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Header - narrow */
.header {
    background-color: #4a6fa5;
    padding: 5px 5px;
    text-align: center;
}

.header-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Navigation Menu */
.menu {
    background-color: #e8eef5;
    border-bottom: 1px solid #ccc;
}

.menu-list {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 12px 20px;
    gap: 40px;
}

.menu-link {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 16px;
    transition: color 0.3s ease;
    border-radius: 4px;
}

.menu-link:hover {
    color: #4a6fa5;
    background-color: #d0dce8;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.main-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.main-content p {
    font-size: 16px;
    color: #666;
}

/* Books Grid */
.books-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.book-cover {
    width: 180px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-cover:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Videos Grid - 2 columns */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.video-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
}

/* Page Navigation Link */
.page-nav {
    margin-top: 30px;
    text-align: center;
}

.button-link {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4a6fa5;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button-link:hover {
    background-color: #3d5d8a;
    transform: translateY(-2px);
}

/* Main Page Article Styles */
.intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.main-content h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #4a6fa5;
}

.main-content h3:first-of-type {
    margin-top: 10px;
}

.portal-list {
    margin: 15px 0 20px 20px;
    padding-left: 20px;
}

.portal-list li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 8px;
}

.closing-text {
    font-size: 18px;
    font-style: italic;
    color: #555;
    margin: 25px 0;
    padding: 15px;
    background-color: #e8eef5;
    border-left: 4px solid #4a6fa5;
    border-radius: 0 6px 6px 0;
}

.cta-text {
    font-size: 20px;
    font-weight: bold;
    color: #4a6fa5;
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #e8eef5 0%, #d0dce8 100%);
    border-radius: 8px;
}

/* Article Page Styles */
.article-content {
    max-width: 800px;
}

.article-content h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 22px;
    margin-top: 35px;
    margin-bottom: 15px;
    color: #4a6fa5;
}

.article-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 18px;
}

.article-content strong {
    color: #333;
    font-weight: 600;
}

.article-list {
    margin: 20px 0 25px 25px;
    padding-left: 20px;
}

.article-list li {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.article-closing {
    font-size: 18px;
    font-style: italic;
    color: #4a6fa5;
    margin: 30px 0;
    padding: 20px;
    background-color: #f0f5fa;
    border-radius: 8px;
    border-left: 4px solid #4a6fa5;
}

.article-note {
    font-size: 16px;
    color: #666;
    padding: 15px;
    background-color: #fafafa;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.article-card {
    display: block;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8e8e8;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #4a6fa5;
}

.article-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #4a6fa5;
    font-weight: 600;
    font-size: 15px;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.review-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 111, 165, 0.15);
    border-color: #4a6fa5;
}

.review-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.review-item h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.review-item h3 a:hover {
    color: #4a6fa5;
}

.review-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.review-item .button-link {
    align-self: flex-start;
    margin-top: auto;
}

/* Review Tags */
.review-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.review-tag {
    font-size: 12px;
    padding: 4px 10px;
    background-color: #e8eef5;
    color: #4a6fa5;
    border-radius: 20px;
    font-weight: 500;
}

/* Review Meta Info */
.review-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

