body {
    background-image: url("/images/background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}
.container-header {
    background: rgba(255,255,255,0.85) !important;
    backdrop-filter: blur(6px);
}
/* ΤΙΤΛΟΣ SITE */
.navbar-brand a,
.navbar-brand span {
    color: #006699 !important;
    font-weight: bold;
}

/* MENU LINKS */
.container-header .mod-menu a {
    color: #006699 !important;
    font-weight: 600;
}

/* HOVER */
.container-header .mod-menu a:hover {
    color: #ff6600 !important;
}
.container-header .mod-menu a {
    padding: 8px 14px;
    border-radius: 20px;
    transition: 0.2s;
}

.container-header .mod-menu a:hover {
    background: #006699;
    color: #fff !important;
}
/* τίτλοι sections */
.module-title {
    text-align: center;
    font-size: 22px;
    color: #006699;
    margin-bottom: 15px;
}

/* κάθε άρθρο */
.mod-articles-category .mod-articles-category-item {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    margin: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s;
}

/* hover */
.mod-articles-category .mod-articles-category-item:hover {
    transform: translateY(-5px);
}

/* εικόνες */
.mod-articles-category img {
    border-radius: 10px;
}

/* =========================
   GRID SPACING FIX
========================= */

.blog-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* πιο κοντά τα κουτιά αλλά όχι κολλημένα */
    padding: 20px 10px;
}

/* =========================
   HERO ARTICLE
========================= */

.hero-article {
    grid-column: 1 / -1;
}

.hero-article .card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* 👉 FIX IMAGE (NO MORE CUTTING) */
.hero-article img {
    width: 100%;
    height: auto;              /* αντί για fixed height */
    max-height: 420px;
    object-fit: cover;
}

/* 👉 TEXT PADDING FIX */
.hero-article .card-body {
    padding: 25px;
    background: #fff;          /* ΟΧΙ overlay που καίει readability */
    color: #111;
}

/* =========================
   NORMAL CARDS
========================= */

.blog-item {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: 0.25s;
}

.blog-item:hover {
    transform: translateY(-4px);
}

/* 👉 FIX IMAGE CROPPING */
.blog-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* 👉 TEXT SPACING FIX (VERY IMPORTANT) */
.blog-item .card-body {
    padding: 18px 18px 22px 18px;
}

/* make text breathe */
.blog-item h2,
.blog-item h3,
.blog-item h4 {
    margin-bottom: 10px;
    line-height: 1.3;
}

/* paragraph spacing */
.blog-item p {
    margin-bottom: 0;
    line-height: 1.6;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .blog-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-items {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero-article img {
        max-height: 280px;
    }
}
.sidebar-card img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
    transition: 0.3s;
}

.sidebar-card img:hover {
    transform: scale(1.02);
}
/* =========================
   HOMEPAGE ARTICLES
========================= */

.blog-items {
    gap: 18px;
}

/* article cards */
.blog-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: 0.25s;
    height: 100%;
}

.blog-item:hover {
    transform: translateY(-4px);
}

/* images */
/* άρθρα homepage εικόνες */
.blog-item img {
    width: calc(100% - 24px);   /* μικρότερη από το card */
    margin: 12px;               /* απόσταση από τα όρια */
    border-radius: 12px;

    height: auto;               /* να φαίνεται ολόκληρη */
    max-height: 220px;

    object-fit: contain;        /* όχι κόψιμο */
    background: #f5f5f5;        /* αν έχει κενά */
}

/* content spacing */
.blog-item .card-body,
.blog-item .page-header,
.blog-item .item-content {
    padding: 18px;
}

/* titles */
.blog-item h2,
.blog-item .page-header a {
    font-size: 1.2rem;
    line-height: 1.35;
    color: #006699;
    text-decoration: none;
}

/* title hover */
.blog-item h2 a:hover,
.blog-item .page-header a:hover {
    color: #ff6600;
}

/* intro text */
.blog-item p {
    line-height: 1.6;
    color: #444;
}

/* read more */
.readmore a {
    background: #006699;
    color: white !important;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: 0.2s;
}

.readmore a:hover {
    background: #ff6600;
}
/* homepage buttons */
.home-btn-wrap {
    text-align: center;
    margin-top: 18px;
}

.home-btn {
    display: inline-block;
    background: #006699;
    color: white !important;

    padding: 10px 20px;
    border-radius: 30px;

    text-decoration: none;
    font-weight: 600;

    transition: 0.25s;
}

.home-btn:hover {
    background: #ff6600;
    transform: translateY(-2px);
}
/* =========================
   HOMEPAGE ARTICLE BUTTONS
========================= */

.home-btn-wrap {
    text-align: center;
    margin-top: 18px;
}

/* βασικό κουμπί */
.home-btn {
    display: inline-block;

    padding: 10px 22px;
    border-radius: 30px;

    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;

    transition: all 0.25s ease;

    box-shadow: 0 4px 10px rgba(0,0,0,0.10);
}

/* hover */
.home-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* =========================
   COLORS PER CATEGORY
========================= */

/* ΜΑΘΗΜΑΤΑ */
.btn-lessons {
    background: linear-gradient(135deg, #006699, #0088cc);
}

.btn-lessons:hover {
    background: linear-gradient(135deg, #ff6600, #ff8844);
}

/* ΒΙΒΛΙΑ */
.btn-books {
    background: linear-gradient(135deg, #8e44ad, #b06cd6);
}

.btn-books:hover {
    background: linear-gradient(135deg, #ff6600, #ff9966);
}

/* ΜΟΥΣΙΚΗ */
.btn-music {
    background: linear-gradient(135deg, #2e8b57, #46b978);
}

.btn-music:hover {
    background: linear-gradient(135deg, #ff6600, #ffaa44);
}
/* =========================
   WELCOME SIDEBAR BOX
========================= */

.welcome-box {
    background: #fff;
    padding: 18px;
    border-radius: 14px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.08);

    text-align: center;
}

/* τίτλος */
.welcome-box h3 {
    color: #006699;
    margin-bottom: 10px;
}

/* κείμενο */
.welcome-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

/* κουμπί */
.welcome-btn {
    display: inline-block;
    margin-top: 12px;

    background: #006699;
    color: #fff !important;

    padding: 8px 16px;
    border-radius: 25px;

    text-decoration: none;
    font-weight: 600;

    transition: 0.2s;
}

.welcome-btn:hover {
    background: #ff6600;
    transform: translateY(-2px);
}
details {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    margin-top: 15px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

summary {
    cursor: pointer;
    font-weight: 600;
    color: #006699;
    list-style: none;
}

summary:hover {
    color: #ff6600;
}

details p {
    margin-top: 10px;
    line-height: 1.6;
}
.music-box {
    background: #fff;
    padding: 22px;
    border-radius: 16px;

    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* IMPORTANT */
.music-box p {
    column-count: 1 !important;
}
.music-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 20px;
}

.music-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;

    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: 0.25s;
}

.music-card:hover {
    transform: translateY(-5px);
}

.thumb {
    position: relative;
}

.thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 50px;
    height: 50px;

    background: rgba(0,0,0,0.6);
    color: #fff;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
}

.music-card h4 {
    padding: 12px;
    font-size: 15px;
    color: #006699;
}
.parents-tip {
    background: #fff;
    border-left: 5px solid #006699;

    padding: 18px;
    margin-top: 25px;

    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.parents-tip h3 {
    color: #006699;
    margin-bottom: 10px;
}

.parents-tip p {
    line-height: 1.6;
    color: #444;
}
.parents-tip {
    background: linear-gradient(135deg, #e8f4ff, #ffffff);
    border-radius: 14px;

    padding: 16px;
    margin-bottom: 20px;

    box-shadow: 0 4px 14px rgba(0,0,0,0.08);

    border-left: 5px solid #006699;
}
/* =========================
   BOOK PAGE
========================= */

.book-page {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* HERO */

.book-hero {
    display: flex;
    gap: 30px;

    background: #fff;
    padding: 25px;

    border-radius: 20px;

    box-shadow: 0 6px 18px rgba(0,0,0,0.08);

    width: 100%;
}

.book-cover img {
    width: 320px;
    max-width: 100%;
    height: auto;

    border-radius: 16px;

    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    display: block;
}

.book-info {
    flex: 1;
}

.book-info h1 {
    color: #006699;
    margin-bottom: 15px;
    line-height: 1.3;
}

.book-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
}

/* BUTTONS */

.book-buttons {
    margin-top: 25px;

    display: flex;
    gap: 15px;

    flex-wrap: wrap;
}

.book-btn {
    display: inline-block;

    padding: 12px 22px;

    border-radius: 30px;

    color: #fff !important;
    text-decoration: none;

    font-weight: 600;

    transition: 0.25s;

    box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}

.book-btn:hover {
    transform: translateY(-3px);
}

.book-btn.print {
    background: linear-gradient(135deg, #006699, #0088cc);
}

.book-btn.pdf {
    background: linear-gradient(135deg, #8e44ad, #b06cd6);
}

/* SECTIONS */

.book-section {
    margin-top: 25px;

    background: #fff;
    padding: 22px;

    border-radius: 18px;

    box-shadow: 0 4px 14px rgba(0,0,0,0.06);

    width: 100%;
}

.book-section h2 {
    color: #006699;
    margin-bottom: 15px;
}

/* FEATURES */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.feature-card {
    background: #f7f9fc;

    padding: 18px;

    border-radius: 14px;

    text-align: center;

    font-weight: 600;

    color: #444;
}

/* HIGHLIGHT */

.highlight {
    border-left: 6px solid #ff6600;
}

/* FOOTER */

.book-footer {
    text-align: center;

    margin-top: 25px;

    color: #666;

    font-size: 14px;
}

/* =========================
   BOOKS LANDING PAGE
========================= */

.books-landing-grid {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

    gap: 28px;

    width: 100%;
    max-width: 1200px;
    margin: 30px auto 0;

    box-sizing: border-box;
}

.books-landing-card {
    background: #fff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 4px 14px rgba(0,0,0,0.08);

    transition: 0.25s;

    box-sizing: border-box;
}

.books-landing-card:hover {
    transform: translateY(-5px);
}

.books-landing-card img {
  
   width: 100%;
    height: auto;
    display: block;

    object-fit: contain;
}

.books-landing-content {
    padding: 16px;
}

.books-landing-content h3 {
    color: #006699;

    margin-bottom: 10px;

    line-height: 1.4;
}

.books-landing-content p {
    color: #444;

    line-height: 1.6;
}

.books-landing-btn {
    display: inline-block;

    margin-top: 14px;

    background: linear-gradient(135deg,#006699,#0088cc);

    color: #fff !important;

    text-decoration: none;

    padding: 10px 18px;

    border-radius: 25px;

    font-weight: 600;

    transition: 0.25s;
}

.books-landing-btn:hover {
    background: linear-gradient(135deg,#ff6600,#ff8844);
}

/* =========================
   GLOBAL ARTICLE FIX (SAFE)
========================= */

body.com_content.view-article #content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

body.com_content.view-article img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .book-hero {
        flex-direction: column;
    }

    .book-cover img {
        width: 100%;
        max-width: 420px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .features-grid {
        grid-template-columns: 1fr;
    }

    .book-buttons {
        flex-direction: column;
    }

    .book-btn {
        text-align: center;
    }
}
/* =========================
   PRINTABLES GALLERY
========================= */

.printables-page {

    max-width: 1200px;
    margin: auto;

    padding: 20px;
}

/* TITLE */

.printables-page h1 {

    text-align: center;

    color: #006699;

    margin-bottom: 10px;
}

/* INTRO */

.printables-intro {

    text-align: center;

    color: #555;

    margin-bottom: 30px;

    line-height: 1.6;
}

/* GRID */

.printables-grid {

    display: flex !important;

    flex-wrap: wrap;

    gap: 24px;

    justify-content: center;
}

.print-card {

    width: 260px;

    flex: 0 0 260px;

    background: #fff;

    border-radius: 18px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    box-shadow: 0 4px 14px rgba(0,0,0,0.08);

    transition: 0.25s;
}
/* CARD */

.print-card {

    flex: 1 1 240px;

    max-width: 320px;

    background: #fff;

    border-radius: 18px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    box-shadow: 0 4px 14px rgba(0,0,0,0.08);

    transition: 0.25s;

}

.print-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

/* IMAGE */

.print-card img {

    width: 100%;

    height: auto;

    display: block;

    padding: 10px;

    box-sizing: border-box;

    background: #fff;
  
}

/* CONTENT */

.print-card-content {

    padding: 18px;

    text-align: center;
}

/* TITLE */

.print-card-content h3 {

    color: #006699;

    font-size: 18px;

    line-height: 1.4;

    margin-bottom: 14px;
}

/* BUTTON */

.print-btn {

    display: inline-block;

    background: linear-gradient(135deg,#006699,#0088cc);

    color: #fff !important;

    padding: 10px 18px;

    border-radius: 30px;

    text-decoration: none;

    font-weight: 600;

    transition: 0.25s;
}

.print-btn:hover {

    background: linear-gradient(135deg,#ff6600,#ffaa44);

    transform: translateY(-2px);
}

/* RIGHTS */

.printables-rights {

    margin-top: 40px;

    padding: 18px;

    background: rgba(255,255,255,0.92);

    border-radius: 16px;

    text-align: center;

    line-height: 1.7;

    color: #555;

    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* MOBILE */

@media (max-width: 768px) {

    .printables-grid {

        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {

    .printables-grid {

        grid-template-columns: 1fr;
    }
}
/* =========================
   GLOBAL RESPONSIVE FIX
========================= */

* {
    box-sizing: border-box;
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .book-hero {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .books-landing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    body {
        padding: 0;
    }

    .book-hero {
        padding: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .books-landing-grid {
        grid-template-columns: 1fr;
    }

    .book-buttons {
        flex-direction: column;
    }

    .book-btn {
        width: 100%;
        text-align: center;
    }
}
img {
    max-width: 100%;
    height: auto;
}
.books-landing-card img,
.book-cover img,
.book-page img {
    max-width: 100%;
    height: auto;
    display: block;
}
@media (max-width: 768px) {

    .site-grid {
        display: flex;
        flex-direction: column;
    }

    .sidebar-left,
    .sidebar-right,
    .sidebar {
        order: -1;
    }


}
@media (max-width: 768px) {

    .site-grid {
        display: flex !important;
        flex-direction: column !important;
    }

    .container-sidebar-left {
        order: -1;
    }

}
@media (max-width: 768px) {

    .welcome-box {
        padding: 14px;
    }

    .welcome-box p {
        font-size: 14px;
    }

}
@media (max-width: 768px) {

    .sidebar-card .mod-randomimage {
        display: none;
    }

}
.mobile-footer-sketch {
    display: none;
}

@media (max-width: 768px) {

    .mobile-footer-sketch {
        display: block;
    }

}
@media (max-width: 768px) {

    /* ΚΡΥΒΕΙ ΤΟ SIDEBAR ΣΚΙΤΣΟ */
    .mod-randomimage {
        display: none;
    }

    /* ΜΙΚΡΟΤΕΡΟ WELCOME */
    .welcome-box {
        padding: 14px;
        font-size: 14px;
    }

    /* SIDEBAR κάτω στο flow (χωρίς order hacks) */
    .container-sidebar-left,
    .container-sidebar-right {
        margin-top: 20px;
    }

}
@media (max-width: 768px) {

    .navbar-toggler {
        border: 2px solid #006699;
        border-radius: 6px;
        padding: 6px 10px;
        background: rgba(255,255,255,0.9);
    }

    .navbar-toggler-icon {
        background-image: none !important;
        position: relative;
    }

    .navbar-toggler::before {
        content: "☰";
        font-size: 22px;
        color: #006699;
        font-weight: bold;
    }

}