/*
Theme Name: Nursing Elite
Description: Professional nursing education directory theme with custom post type support
Version: 1.1
Author: Your Name
*/


:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --gold-color: #b8860b;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #e5e7eb;
    --shadow-subtle: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    font-size: 16px;
    font-weight: 400;
}

/* Global link styles - override browser defaults */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

a:visited {
    color: var(--accent-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-cta {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

/* Blog Styles */
.blog-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.blog-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.6;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Featured Post */
.featured-post {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
    padding: 2rem;
}

.featured-post-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.featured-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 2px solid var(--border-color);
    background: var(--white);
    max-width: 280px;
    margin-left: auto;
}

.featured-image img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    display: block;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

.featured-text {
    padding: 0;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.featured-category a {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
}

.featured-date {
    color: var(--text-secondary);
}

.featured-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.featured-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.featured-title a:hover {
    color: var(--accent-color);
}

.featured-excerpt {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.featured-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.featured-author img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.reading-time {
    color: var(--text-light);
}

/* Blog Posts Grid */
.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-post-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.blog-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.post-thumbnail {
    background: var(--light-gray);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    height: 200px;
    position: relative;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.post-category a {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
}

.post-date {
    color: var(--text-secondary);
}

.post-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.post-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.post-title a:hover {
    color: var(--accent-color);
}

.post-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-meta-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-author img {
    border-radius: 50%;
    width: 24px;
    height: 24px;
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-color);
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Search Form */
.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.875rem;
}

.search-form button {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

/* Recent Posts */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post {
    display: flex;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.recent-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post-image {
    width: 60px;
    height: 60px;
    background: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.recent-post-image img {
    width: 100%;
    height: auto;
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.recent-post-content {
    flex: 1;
}

.recent-post-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.recent-post-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.recent-post-title a:hover {
    color: var(--accent-color);
}

.recent-post-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Categories */
.category-list {
    list-style: none;
}

.category-list li {
    border-bottom: 1px solid var(--border-color);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: var(--accent-color);
}

.post-count {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
    color: var(--white);
}

.newsletter-widget .widget-title {
    color: var(--white);
}

.newsletter-widget p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
}

.newsletter-form button {
    background: var(--white);
    color: var(--accent-color);
    border: none;
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--text-light);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-link {
    background: var(--light-gray);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* Article Page Styles */
.article-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.article-category a {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-excerpt {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 600;
}

.publish-date {
    font-size: 0.875rem;
    opacity: 0.8;
}

.social-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-share span {
    font-size: 0.875rem;
    opacity: 0.8;
}

.social-share a {
    color: var(--white);
    font-size: 1.125rem;
    padding: 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.social-share a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Article Featured Image */
.article-featured-image {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.article-featured-image .featured-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 2px solid var(--border-color);
    background: var(--white);
    max-width: 500px;
    width: 100%;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    display: block;
}

/* Article Content */
.blog-content {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-color);
}

.article-body {
    padding: 2rem;
    line-height: 1.8;
}

.article-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    color: var(--text-primary);
}

.article-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
    color: var(--text-primary);
}

.article-body h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
    color: var(--text-primary);
}

.article-body p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.article-body ul,
.article-body ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.article-body blockquote {
    background: var(--light-gray);
    border-left: 4px solid var(--accent-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-body a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.article-body a:hover {
    text-decoration: underline;
}

/* Article Tags */
.article-tags {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
}

.article-tags h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-list a {
    background: var(--light-gray);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.tag-list a:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* Author Bio */
.author-bio {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    background: var(--light-gray);
}

.author-bio-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.author-bio-content img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.author-bio-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.author-bio-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.author-website {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.author-website:hover {
    text-decoration: underline;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
}

.nav-previous,
.nav-next {
    padding: 1rem;
    border-radius: 6px;
    background: var(--light-gray);
    transition: background 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    background: var(--border-color);
}

.nav-subtitle {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.nav-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.nav-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.nav-title a:hover {
    color: var(--accent-color);
}

/* Related Posts */
.related-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-post {
    display: flex;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.related-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-post-image {
    width: 60px;
    height: 60px;
    background: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.related-post-image img {
    width: 100%;
    height: auto;
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.related-post-content {
    flex: 1;
}

.related-post-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.related-post-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.related-post-title a:hover {
    color: var(--accent-color);
}

.related-post-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Pagination */
.blog-pagination {
    margin-top: 3rem;
    text-align: center;
}

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

.blog-pagination a,
.blog-pagination span {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.blog-pagination a {
    color: var(--text-primary);
    background: var(--white);
}

.blog-pagination a:hover {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.blog-pagination .current {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--white);
}

.breadcrumbs span {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0.5rem;
}

/* No Posts Found */
.no-posts-found {
    text-align: center;
    padding: 4rem 2rem;
}

.no-posts-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.no-posts-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Single Blog Post Styles */
.article-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
}

.header-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.header-text {
    max-width: 600px;
}

.header-image {
    max-width: 500px;
    flex-shrink: 0;
}

.header-image .featured-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.single-blog-content {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.article-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.article-body h1 {
    font-size: 2.25rem;
}

.article-body h2 {
    font-size: 1.875rem;
}

.article-body h3 {
    font-size: 1.5rem;
}

.article-body h4 {
    font-size: 1.25rem;
}

.article-body p {
    margin-bottom: 1.75rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.75rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.75rem;
}

.article-body blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: var(--shadow-subtle);
}

.article-body strong {
    font-weight: 700;
}

.article-body em {
    font-style: italic;
}

/* Single Post Article Tags */
.article-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.article-tags h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-list a {
    background: var(--light-gray);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag-list a:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* Author Bio */
.author-bio {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.author-bio-content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.author-bio img {
    border-radius: 50%;
    flex-shrink: 0;
}

.author-bio-text h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.author-bio-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.author-website {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.author-website:hover {
    text-decoration: underline;
}

/* Post Navigation */
.post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.nav-previous,
.nav-next {
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    background: var(--accent-color);
    color: var(--white);
}

.nav-previous:hover .nav-title a,
.nav-next:hover .nav-title a {
    color: var(--white);
}

.nav-next {
    text-align: right;
}

.nav-subtitle {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.5rem;
}

.nav-title {
    margin: 0;
}

.nav-title a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.3;
}

.nav-title a:hover {
    color: var(--accent-color);
}

/* Comments */
.comments-section {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-subtle);
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid var(--border-color);
}

/* Responsive Design for Single Post */
@media (max-width: 768px) {
    .header-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .header-image {
        order: -1;
        max-width: 100%;
    }
    
    .header-image .featured-img {
        height: 200px;
    }
    
    .single-blog-content {
        margin: 2rem auto;
        padding: 0 1rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .author-bio-content {
        flex-direction: column;
        text-align: center;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nav-next {
        text-align: left;
    }
}

/* Footer Styles */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: var(--white);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-subtle);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Premium Featured Section */
.premium-section {
    padding: 4rem 0;
    background: var(--white);
}

.premium-header {
    text-align: center;
    margin-bottom: 3rem;
}

.premium-badge {
    display: inline-block;
    background: var(--gold-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-title {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.premium-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.premium-card {
    background: var(--white);
    border: 3px solid var(--gold-color);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-medium);
    position: relative;
}

.premium-card::before {
    content: 'FEATURED';
    position: absolute;
    top: -12px;
    left: 2rem;
    background: var(--gold-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.premium-content {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 2rem;
    align-items: center;
}

.premium-logo {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-subtle);
}

.premium-info h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.premium-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.premium-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    background: var(--light-gray);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.premium-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.premium-cta {
    text-align: center;
}

.btn-premium {
    background: var(--gold-color);
    color: var(--white);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-premium:hover {
    background: #996f00;
    transform: translateY(-1px);
    color: var(--white);
}

/* Content Sections */
.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-subtle);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.card a:hover {
    text-decoration: underline;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: var(--light-gray);
    font-weight: 600;
    color: var(--text-primary);
}

tr:hover {
    background: rgba(52, 152, 219, 0.05);
}

/* Rankings Cards - Based on Original Design */
.ranking-card,
.school-card,
.program-card {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.ranking-card:hover,
.school-card:hover,
.program-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.ranking-content,
.school-content,
.program-content {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 1.5rem;
    align-items: center;
}

.rank-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    text-align: center;
    background: var(--light-gray);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.school-info h4,
.program-info h4 {
    font-family: 'Merriweather', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.school-info h4 a,
.program-info h4 a {
    color: var(--primary-color);
    text-decoration: none;
}

.school-info h4 a:hover,
.program-info h4 a:hover {
    color: var(--accent-color);
}

.school-meta,
.program-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.meta-item {
    background: var(--light-gray);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.school-description,
.program-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.school-highlights,
.program-highlights {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.highlight-item {
    text-align: center;
}

.highlight-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
}

.highlight-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.school-cta,
.program-cta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-outline {
    background: var(--white);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--white);
}

.btn-solid {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-solid:hover {
    background: #2980b9;
}

/* Archive Pages */
.archive-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.archive-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.archive-description {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Single School/Program Pages */
.single-school-header,
.single-program-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.single-school-title,
.single-program-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.single-school-meta,
.single-program-meta {
    font-size: 1.125rem;
    opacity: 0.9;
}

.school-content,
.program-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.school-main,
.program-main {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-subtle);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.school-sidebar,
.program-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-subtle);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.info-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text-primary);
}

.info-value {
    color: var(--text-secondary);
    text-align: right;
}

/* Program Lists Specific */
.program-list-schools {
    margin-top: 2rem;
}

.program-list-schools h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.ranked-school {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.ranked-school:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.school-rank {
    background: var(--accent-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.school-info {
    flex: 1;
}

.school-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.school-name a {
    color: var(--text-primary);
    text-decoration: none;
}

.school-name a:hover {
    color: var(--accent-color);
}

.school-details {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.school-description {
    margin-top: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Filters and Search */
.filters-section {
    background: var(--light-gray);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.filters-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-primary);
}

.filter-group select,
.filter-group input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--white);
}

.filter-actions {
    display: flex;
    gap: 1rem;
    align-items: end;
}

/* Pagination for archives */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.pagination a {
    color: var(--text-primary);
    background: var(--white);
}

.pagination a:hover {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.pagination .current {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

/* Homepage specific styles */
.featured-schools-section,
.featured-programs-section {
    padding: 4rem 0;
}

.featured-schools-grid,
.featured-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-primary {
    background: var(--accent-color);
    color: var(--white);
}

.badge-secondary {
    background: var(--border-color);
    color: var(--text-secondary);
}

.badge-success {
    background: #27ae60;
    color: var(--white);
}

.badge-warning {
    background: #f39c12;
    color: var(--white);
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.alert-info {
    background: rgba(52, 152, 219, 0.1);
    border-color: var(--accent-color);
    color: #2c3e50;
}

.alert-success {
    background: rgba(39, 174, 96, 0.1);
    border-color: #27ae60;
    color: #27ae60;
}

.alert-warning {
    background: rgba(243, 156, 18, 0.1);
    border-color: #f39c12;
    color: #e67e22;
}

.alert-danger {
    background: rgba(231, 76, 60, 0.1);
    border-color: #e74c3c;
    color: #c0392b;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

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

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .school-header,
    .program-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .school-stats,
    .program-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-post-content {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        order: -1;
    }
    
    .blog-posts {
        grid-template-columns: 1fr;
    }
    
    .blog-title {
        font-size: 2rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
    }
    
    .author-bio-content {
        flex-direction: column;
        text-align: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .article-body {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .school-stats,
    .program-stats {
        grid-template-columns: 1fr;
    }
    
    .blog-title {
        font-size: 1.75rem;
    }
    
    .article-title {
        font-size: 1.75rem;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .blog-header {
        padding: 2rem 0;
    }
    
    .article-header {
        padding: 2rem 0;
    }
}