/*
Theme Name: Motoschool Standard
Theme URI: https://motoschool.com
Author: Motoschool Team
Author URI: https://motoschool.com
Description: A simplified standard WordPress theme for Motoschool
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: motoschool-standard
*/

/* Basic Reset and Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #1f2937;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.site-header {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.site-title a {
    color: #1f2937;
    text-decoration: none;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
}

.main-navigation a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
}

.main-navigation a:hover {
    color: #2563eb;
}

/* Main Content */
.site-main {
    padding: 3rem 0;
}

/* Footer */
.site-footer {
    background: #f9fafb;
    color: #1f2937;
    padding: 2rem 0;
    margin-top: 4rem;
}

.site-footer a {
    color: #4b5563;
    text-decoration: none;
}

.site-footer a:hover {
    color: #2563eb;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-brand h2 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo {
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.footer-text {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
    color: #4b5563;
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social a {
    color: #4b5563;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

/* Cards */
.card {
    background: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-decoration: none;
    display: block;
    transition: transform 0.2s, box-shadow 0.2s;
}


.card h2, .card h3 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}
.mb-3 { margin-bottom: 3rem; }

/* Blog Layout */
.blog-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Blog Cards */
.blog-card {
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}


.blog-card-image,
.blog-card-image-placeholder {
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-image-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.blog-card-meta a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

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

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-title a {
    color: #1f2937;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: #2563eb;
}

.blog-card-excerpt {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-card-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

.blog-card-link:hover {
    color: #1d4ed8;
}

/* Blog Archive Layout (Learning Resources) */
.blog-archive-container {
    max-width: 1280px;
}

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

.blog-archive-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.blog-archive-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 100%;
    margin: 0 auto;
}

.license-guide-subtitle {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    text-align: left;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.license-guide-intro {
    font-size: 1rem;
    color: #4b5563;
    text-align: left;
    line-height: 1.6;
    margin-bottom: 2rem;
}

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

.blog-archive-card {
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.blog-archive-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.blog-archive-card-link {
    text-decoration: none;
    display: block;
}

.blog-archive-card-image {
    position: relative;
    width: 100%;
    height: 12rem;
    overflow: hidden;
    background: #f3f4f6;
}

.blog-archive-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-archive-card:hover .blog-archive-card-img {
    transform: scale(1.05);
}

.blog-archive-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    color: #9ca3af;
    font-size: 3rem;
}

.blog-archive-card-content {
    padding: 1.5rem;
}

.blog-archive-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.blog-archive-card:hover .blog-archive-card-title {
    color: #2563eb;
}

.blog-archive-card-excerpt {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-archive-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #6b7280;
}

/* License Guide Grid */
.license-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.license-guide-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.license-guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.license-guide-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.license-guide-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f3f4f6;
}

.license-guide-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.license-guide-card:hover .license-guide-card-image img {
    transform: scale(1.05);
}

.license-guide-card-content {
    padding: 1.25rem;
}

.license-guide-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.5;
}

.license-guide-card:hover .license-guide-card-title {
    color: #2563eb;
}

/* School Location Cards */
.school-location-card .license-guide-card-content {
    padding: 1.5rem;
}

.school-location-card {
    transition: none;
}

.school-location-card:hover {
    transform: none;
    box-shadow: none;
}

.school-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.school-card-icon {
    font-size: 2rem;
    opacity: 0.7;
}

.school-card-count {
    color: #6b7280;
    margin: 0.75rem 0;
}

.school-card-count strong {
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 700;
}

.school-card-link-text {
    color: #2563eb;
    font-weight: 500;
    margin-top: 1rem;
    margin-bottom: 0;
}

.school-card-location {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

.school-card-excerpt {
    color: #4b5563;
    font-size: 0.875rem;
    margin: 0.75rem 0;
    line-height: 1.5;
}

.school-placeholder {
    background: #f3f4f6;
}

/* School List Cards - No Hover Animation */
.school-list-card {
    transition: none;
}

.school-list-card:hover {
    transform: none;
    box-shadow: none;
}

.school-list-card:hover .license-guide-card-image img {
    transform: none;
}

.school-list-card .license-guide-card-title {
    transition: none;
}

.school-list-card:hover .license-guide-card-title {
    color: #1f2937;
}

.school-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.breadcrumbs a {
    color: #2563eb;
    text-decoration: none;
}

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

.breadcrumb-separator {
    color: #9ca3af;
}

.breadcrumb-current {
    color: #6b7280;
}

/* Single Blog Post */
.blog-single-container {
    max-width: 1280px;
}

.blog-single {
    max-width: 56rem;
    margin: 0 auto;
    width: 100%;
}

.blog-single-hero {
    height: 400px;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 3rem;
    position: relative;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.blog-single-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.blog-single-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.blog-single-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.blog-single-meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: #e5e7eb;
}

.blog-single-body {
    max-width: none;
    margin-bottom: 3rem;
}

.blog-single-body p {
    margin-bottom: 1.5rem;
}

.blog-single-author {
    display: flex;
    gap: 1rem;
    align-items: center;
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
    margin-top: 2rem;
}

.blog-single-author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    overflow: hidden;
    color: #d1d5db;
    flex-shrink: 0;
}

.blog-single-author h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.blog-single-author p {
    color: #6b7280;
}

.blog-single-back {
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
    margin-top: 2rem;
}

.blog-single-back a {
    color: #2563eb;
    text-decoration: none;
}

.blog-single-back a:hover {
    color: #1d4ed8;
}

/* Pagination */
.pagination {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

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

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    color: #1f2937;
    background: #fff;
    border: 1px solid #e5e7eb;
}

.pagination a:hover {
    background: #f3f4f6;
    border-color: #2563eb;
    color: #2563eb;
}

.pagination .current {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

/* Hero Section */
.hero-section {
    background-image: url("assets/images/hero-image.jpg");
    background-color: #1f2937;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
    border: 2px solid #2563eb;
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: #fff;
}

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

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

.featured-schools-section {
    background: linear-gradient(to bottom, #f9fafb 0%, #fff 100%);
}

.top-rated-section {
    background: #f3f4f6;
}

.recent-posts-section {
    background: #fff;
}

.features-section {
    background: #fff;
}

.cta-section {
    background: #2563eb;
    color: #fff;
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* School Cards */
.school-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.school-card {
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    min-height: 32rem;
}

.school-card-compact {
    min-height: 400px;
}


.school-card-image,
.school-card-image-placeholder {
    width: 100%;
    height: 12rem;
    display: block;
}

.school-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.school-card-image-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.school-card-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.school-card-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.school-card-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.school-card-content h3 a {
    color: #1f2937;
    text-decoration: none;
}

.school-card-content h3 a:hover {
    color: #2563eb;
}

.school-location {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.school-card-content p {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.school-card-content .btn {
    margin-top: auto;
    text-align: center;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #2563eb;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* CTA Section */
.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.app-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.app-links img {
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}


.cta-note {
    font-size: 1rem;
    margin-top: 2rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .school-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .school-layout {
        grid-template-columns: 1fr;
    }

    .blog-single-hero {
        height: 260px;
        margin-bottom: 2rem;
    }

    .blog-single-hero-content h1 {
        font-size: 1.75rem;
    }

    .blog-single-author {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-archive-grid {
        grid-template-columns: 1fr;
    }

    .blog-archive-header h1 {
        font-size: 2rem;
    }

    .blog-archive-description {
        font-size: 1.125rem;
    }

    .license-guide-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Single School Page */
.school-single {
    background: #fff;
}

.school-hero {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #1f2937;
    border-radius: 12px;
}

.school-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.school-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    padding: 2rem 0;
}

.school-content {
    min-width: 0;
}

/* School Header Card */
.school-header-card {
    background: #fff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.school-header-card h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.school-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
}

.meta-item svg {
    color: #2563eb;
}

.rating-stars {
    font-size: 1.125rem;
}

/* Content Cards */
.content-card {
    background: #fff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.content-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.content-body {
    color: #4b5563;
    line-height: 1.8;
}

.content-body ul,
.content-body ol,
.blog-single-body ul,
.blog-single-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    max-width: 100%;
    overflow-wrap: break-word;
}

.content-body ul li,
.content-body ol li,
.blog-single-body ul li,
.blog-single-body ol li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    padding-left: 0.5rem;
}

.content-body ul,
.blog-single-body ul {
    list-style-type: disc;
}

.content-body ol,
.blog-single-body ol {
    list-style-type: decimal;
}

.content-body ul ul,
.content-body ol ul,
.blog-single-body ul ul,
.blog-single-body ol ul {
    list-style-type: circle;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.content-body ul ol,
.content-body ol ol,
.blog-single-body ul ol,
.blog-single-body ol ol {
    list-style-type: lower-alpha;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Courses List */
.courses-list {
    display: grid;
    gap: 1rem;
}

.course-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 0.5rem;
    color: #1f2937;
}

.course-item svg {
    color: #10b981;
    flex-shrink: 0;
}

/* Courses Grid (New Structure) */
.courses-grid {
    display: grid;
    gap: 2rem;
    margin-top: 1.5rem;
    grid-template-columns: 1fr;
}

.course-card {
    background: transparent;   
    padding: 1rem;
}



.course-header h3 {
    font-size: 1.5rem;
    color: #111827;
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
}

.course-meta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    background: transparent;
    flex-wrap: wrap;
}

.course-body {
    background: transparent;
}

.course-price {
    color: #111827;
    font-size: 1rem;
    font-weight: 600;
}

.course-price strong {
    font-size: 1.125rem;
    letter-spacing: -0.02em;
}

.course-duration {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #6b7280;
    font-size: 0.9375rem;
    font-weight: 400;
}

.course-duration svg {
    color: #6b7280;
    flex-shrink: 0;
}

.course-description {
    color: #4b5563;
    line-height: 1.7;
    padding: 1.25rem 0 1.25rem 0;
    background: transparent;
}

.course-description p {
    margin: 0.75rem 0;
}

.course-description p:first-child {
    margin-top: 0;
}

.course-description p:last-child {
    margin-bottom: 0;
}

.no-courses-message {
    text-align: center;
    padding: 3rem 2rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    border: 2px dashed #d1d5db;
}

.no-courses-message svg {
    display: block;
    margin: 0 auto 1rem;
}

.no-courses-message p {
    color: #6b7280;
    margin: 0.75rem 0;
}

.no-courses-message p strong {
    color: #1f2937;
    font-size: 1.125rem;
}

.no-courses-message a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 500;
}

.no-courses-message a:hover {
    color: #1d4ed8;
}

/* Reviews */
.reviews-list {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.review-item {
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    border-left: 3px solid #2563eb;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.review-header strong {
    color: #1f2937;
}

.review-header time {
    color: #6b7280;
    font-size: 0.875rem;
}

.review-content {
    color: #4b5563;
    line-height: 1.6;
}

.review-form-wrapper {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.review-form-wrapper h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1f2937;
    font-weight: 500;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Sidebar */
.school-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.sidebar-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.sidebar-card h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

/* Location Info */
.location-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.location-info svg {
    color: #2563eb;
    flex-shrink: 0;
}

.location-info p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-top: 1px solid #e5e7eb;
}

.contact-item:first-of-type {
    border-top: none;
}

.contact-item svg {
    color: #2563eb;
    flex-shrink: 0;
}

.contact-item a {
    color: #2563eb;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Working Hours */
.working-hours-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.working-hours-header .hours-icon {
    color: #2563eb;
    flex-shrink: 0;
}

.working-hours-header h3 {
    margin: 0;
}

.working-hours-list {
    display: grid;
    gap: 0;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.hours-row:last-child {
    border-bottom: none;
}

.day-name {
    font-weight: 500;
    color: #1f2937;
    font-size: 0.9375rem;
    min-width: 120px;
}

.hours-time {
    color: #6b7280;
    font-size: 0.875rem;
}

.hours-closed {
    color: #dc2626;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Social Links */
.social-links {
    display: grid;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f3f4f6;
    border-radius: 0.5rem;
    color: #1f2937;
    text-decoration: none;
    transition: background 0.2s;
}

.social-link:hover {
    background: #e5e7eb;
}

.social-link svg {
    flex-shrink: 0;
}

/* Amenities */
.amenities-list {
    display: grid;
    gap: 0.5rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4b5563;
}

.amenity-item svg {
    color: #10b981;
    flex-shrink: 0;
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.sidebar-cta h3 {
    color: #fff;
}

.sidebar-cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 0.75rem;
}

.btn-block:last-child {
    margin-bottom: 0;
}

.sidebar-cta .btn-outline {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.sidebar-cta .btn-outline:hover {
    background: rgba(255,255,255,0.2);
}

/* Comments Section */
.comments-area {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e5e7eb;
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2rem;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.comment-list .comment {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 8px;
}

.comment-list .children {
    list-style: none;
    margin-left: 2rem;
    margin-top: 1.5rem;
}

.comment-meta {
    margin-bottom: 0.75rem;
}

.comment-author {
    font-weight: 600;
    color: #1f2937;
}

.comment-metadata {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.comment-metadata a {
    color: #6b7280;
    text-decoration: none;
}

.comment-metadata a:hover {
    color: #2563eb;
}

.comment-content {
    margin-top: 1rem;
    line-height: 1.6;
    color: #374151;
}

.comment-content p {
    margin-bottom: 0.75rem;
}

.reply {
    margin-top: 0.75rem;
}

.comment-reply-link {
    font-size: 0.875rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.comment-reply-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.no-comments {
    color: #6b7280;
    font-style: italic;
}

/* Comment Form */
.comment-respond {
    margin-top: 2rem;
}

.comment-reply-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin-bottom: 0;
}

.comment-form label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    margin-top: 0.5rem;
}

.form-submit input[type="submit"] {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.form-submit input[type="submit"]:hover {
    background: #1d4ed8;
}

.comment-notes,
.logged-in-as {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.comment-notes a,
.logged-in-as a {
    color: #2563eb;
    text-decoration: none;
}

.comment-notes a:hover,
.logged-in-as a:hover {
    text-decoration: underline;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1), 0 -2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 9999;
}

.cookie-consent-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.cookie-consent-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-consent-text {
    flex: 1;
    margin-right: 1rem;
}

.cookie-main-text {
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.cookie-detail-text {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.cookie-link {
    color: #2563eb;
    text-decoration: underline;
}

.cookie-link:hover {
    color: #1e40af;
}

.cookie-consent-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.cookie-learn-more {
    font-size: 0.875rem;
    color: #4b5563;
    text-decoration: underline;
}

.cookie-learn-more:hover {
    color: #1f2937;
}

.cookie-accept-btn {
    background: #2563eb;
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cookie-accept-btn:hover {
    background: #1d4ed8;
}

@media (min-width: 768px) {
    .cookie-consent-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .cookie-consent-actions {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        margin-top: 0;
    }
}
