/*
 * Κοινή εμφάνιση για όλο το site (φορτώνει σε κάθε σελίδα του frontend).
 * Accordions του Bricks (accordion, accordion-nested) όπως οι ερωτήσεις της σελίδας πιστοποίησης ([hca_cert_faq]):
 * χωρίς φόντο, γραμμή από κάτω, τίτλος έντονος, +/− δεξιά. Τα !important νικούν τις ρυθμίσεις κάθε στοιχείου (#brxe-…).
 */
.brxe-accordion,
.brxe-accordion-nested { display: flex; flex-direction: column; gap: 0 !important; background: none !important; border: 0 !important; }

.brxe-accordion > .accordion-item,
.brxe-accordion-nested > .brxe-block { background: none !important; border: 0 !important; border-bottom: 1px solid #d6dad6 !important; border-radius: 0 !important; margin: 0 !important; padding: 0 !important; box-shadow: none !important; }

.brxe-accordion .accordion-title-wrapper,
.brxe-accordion-nested .accordion-title-wrapper { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; gap: 12px; background: none !important; border: 0 !important; border-radius: 0 !important; padding: 14px 0 !important; cursor: pointer; }
.brxe-accordion .accordion-title { flex: 1; display: block !important; padding: 0 !important; background: none !important; }

.brxe-accordion .accordion-title .title,
.brxe-accordion-nested .accordion-title-wrapper > :is(h1, h2, h3, h4, h5, h6, .brxe-heading, .brxe-text-basic) { margin: 0 !important; padding: 0 !important; font-size: 16px !important; font-weight: 600 !important; line-height: 1.4 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--hca-ink, #232a27) !important; }

/* Τα εικονίδια του Bricks (βελάκι αριστερά/δεξιά) φεύγουν· στη θέση τους + / − */
.brxe-accordion .accordion-title-wrapper :is(svg, i, .icon),
.brxe-accordion-nested .accordion-title-wrapper > :is(svg, i, .brxe-icon) { display: none !important; }
.brxe-accordion .accordion-title-wrapper::after,
.brxe-accordion-nested .accordion-title-wrapper::after { content: "+"; flex: none; color: var(--hca-accent, #2d6a5f); font-size: 20px; font-weight: 500; line-height: 1; }
.brxe-accordion > .brx-open > .accordion-title-wrapper::after,
.brxe-accordion-nested > .brx-open > .accordion-title-wrapper::after,
.brxe-accordion .accordion-title-wrapper[aria-expanded="true"]::after,
.brxe-accordion-nested .accordion-title-wrapper[aria-expanded="true"]::after { content: "−"; }

.brxe-accordion .accordion-content-wrapper,
.brxe-accordion-nested .accordion-content-wrapper { background: none !important; border: 0 !important; padding: 0 0 16px !important; font-size: 15px; line-height: 1.6; color: var(--hca-ink, #232a27); }
/* Ο τίτλος του ανοιχτού accordion σε πράσινο νερού (ίδιο μέγεθος — να μη «μεγαλώνει» στο άνοιγμα), για να ξεχωρίζει από το κείμενο από κάτω. */
.brxe-accordion > .brx-open > .accordion-title-wrapper .title,
.brxe-accordion-nested > .brx-open > .accordion-title-wrapper > :is(h1, h2, h3, h4, h5, h6, .brxe-heading, .brxe-text-basic) { color: var(--hca-accent, #2d6a5f) !important; }
.brxe-accordion > .brx-open > .accordion-title-wrapper,
.brxe-accordion-nested > .brx-open > .accordion-title-wrapper { padding-bottom: 16px !important; }
/* Το κείμενο μέσα στα accordions καθαρό, όχι γκρι (απόφαση χρήστη 4/11/2026) — και όπου το Bricks/JetEngine έδινε δικό του χρώμα. */
.brxe-accordion .accordion-content-wrapper :is(p, li, strong, b, em, span, td, th, h1, h2, h3, h4, h5, h6, div),
.brxe-accordion-nested .accordion-content-wrapper :is(p, li, strong, b, em, span, td, th, h1, h2, h3, h4, h5, h6, div) { color: var(--hca-ink, #232a27) !important; }
.brxe-accordion .accordion-content-wrapper > :first-child,
.brxe-accordion-nested .accordion-content-wrapper > :first-child { margin-top: 0; }
.brxe-accordion .accordion-content-wrapper > :last-child,
.brxe-accordion-nested .accordion-content-wrapper > :last-child { margin-bottom: 0; }

/* Header (38): eShop, «Σύνδεση» και «Ακαδημία» σε μία γραμμή. */
#brxe-tzxqxc, #brxe-hcalgn, #brxe-hcaacc { white-space: nowrap; }
@media (max-width: 767px) {
	#brxe-hgiasl { order: 9; }
	#brxe-hcalgn, #brxe-hcaacc { font-size: 15px; }
	#brxe-hcalgn { padding: 6px 12px; }
}
/* Στο κινητό ο λογαριασμός = εικονίδιο χρήστη (το κείμενο δεν χωρά δίπλα στο λογότυπο). */
@media (max-width: 767px) {
	#brxe-hcaacc { font-size: 0; display: inline-flex; padding: 5px 10px; }
	#brxe-hcaacc::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-3.5 4.5-5 8-5s6.5 1.5 8 5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-3.5 4.5-5 8-5s6.5 1.5 8 5'/%3E%3C/svg%3E") center / contain no-repeat; }
}
@media (max-width: 767px) {
	#brxe-hxfaia { flex-wrap: nowrap; column-gap: 10px; }
}
/* Στοιχεία μενού μόνο για το μενού του κινητού (π.χ. eShop — στον υπολογιστή είναι κουμπί δίπλα). */
.bricks-nav-menu > .hca-mobile-only { display: none !important; }

/* ------------------------------------------------------------------
 * Κύριο μενού (2): «Πρόγραμμα» και «Κοινότητα» = μικρά dropdown (κλάση hca-dd) με «Περιγραφή» στα στοιχεία.
 * ------------------------------------------------------------------ */
#brxe-hgiasl .bricks-nav-menu > li.hca-dd > .sub-menu {
	min-width: 290px !important; padding: 8px !important;
	background: #fff !important; border: 1px solid #d6dad6 !important; border-radius: 12px; box-shadow: 0 14px 30px rgba(26, 31, 29, .08);
}
#brxe-hgiasl .bricks-nav-menu > li.hca-dd > .sub-menu > li { min-height: 0 !important; height: auto !important; line-height: 1.35 !important; background: none !important; border: 0 !important; }
#brxe-hgiasl .bricks-nav-menu > li.hca-dd > .sub-menu a { display: block; padding: 8px 12px !important; line-height: 1.35 !important; white-space: normal; font-size: 16px !important; font-weight: 600; color: var(--hca-ink, #232a27) !important; background: none !important; border-radius: 8px; }
#brxe-hgiasl .bricks-nav-menu > li.hca-dd > .sub-menu a:hover { background: #f4f5f3 !important; color: var(--hca-accent, #2d6a5f) !important; }
.hca-menu-desc { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: #6f7672; }
#brxe-hgiasl li.hca-menu-quiet > a { color: #6f7672 !important; text-transform: none !important; }
#brxe-hgiasl .bricks-mobile-menu .hca-menu-desc { display: none; }
#brxe-hgiasl .bricks-nav-menu > li > a, #brxe-hgiasl .bricks-nav-menu > li > .brx-submenu-toggle > a { white-space: nowrap; }
/* Αόρατη «γέφυρα» ως το dropdown: αλλιώς το μενού κλείνει όσο κατεβαίνει το ποντίκι. */
#brxe-hgiasl .bricks-nav-menu > li.hca-dd > .brx-submenu-toggle { position: relative; }
#brxe-hgiasl .bricks-nav-menu > li.hca-dd > .brx-submenu-toggle::after { content: ""; position: absolute; left: -16px; right: -16px; top: 100%; height: 44px; }

/* Pagination (Άρθρα): λευκός αριθμός στο σκούρο πλαίσιο της τρέχουσας σελίδας. */
.bricks-pagination ul .page-numbers.current { color: #fff; }

/* ------------------------------------------------------------------
 * Σελίδα «Ιστορία» (27): λίστες φαραγγιών ανά περιοχή.
 * Τρία επίπεδα ενδιαφέροντος: t1 κουκκίδα + έντονα, t2 δαχτυλίδι, t3 γκρι.
 * Τα !important νικούν το γενικό χρώμα κειμένου των accordions.
 * ------------------------------------------------------------------ */
.hca-hist-intro p { margin: 0 0 14px; font-size: 16px; line-height: 1.65; color: var(--hca-ink, #232a27); }
.hca-hist-sign { font-weight: 600; margin-bottom: 0 !important; }
.hca-hist-sign a, .hca-hist-more a { color: var(--hca-accent, #2d6a5f); }
.hca-hist-more { margin: 4px 0 0; font-weight: 600; }

.hca-hist-key { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--hca-ink, #232a27); }
.hca-hist-key li, .hca-hist .n { position: relative; padding-left: 16px; }
.hca-hist-key li::before, .hca-hist .n::before { content: ""; position: absolute; left: 0; top: .45em; box-sizing: border-box; width: 8px; height: 8px; border-radius: 50%; }
.hca-hist-key .t1::before, .hca-hist .t1 .n::before { background: var(--hca-accent, #2d6a5f); }
.hca-hist-key .t2::before, .hca-hist .t2 .n::before { border: 1.5px solid var(--hca-accent, #2d6a5f); }
.hca-hist-key .t3::before, .hca-hist .t3 .n::before { border: 1.5px solid #c3c8c4; }
.hca-hist-key .t3 { color: #6f7672; }

.hca-hist-acc .accordion-title-wrapper > h3 { flex: 1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; }
.hca-hist-acc .accordion-title-wrapper .hca-hist-sub { font-size: 14px; font-weight: 400; color: #6f7672; }
.hca-hist-acc .accordion-title-wrapper .hca-hist-n { margin-left: auto; font-size: 14px; font-weight: 400; color: #6f7672; font-variant-numeric: tabular-nums; }

table.hca-hist { width: 100%; border-collapse: collapse; margin: 0; font-size: 15px; line-height: 1.4; background: none; }
table.hca-hist td { padding: 8px 12px 8px 0; border: 0; border-bottom: 1px solid #e3e6e3; background: none !important; vertical-align: top; }
table.hca-hist td:last-child { padding-right: 0; }
table.hca-hist .d { width: 1%; white-space: nowrap; padding-right: 20px; color: #6f7672 !important; font-size: 14px; font-variant-numeric: tabular-nums; }
table.hca-hist .a { width: 1%; white-space: nowrap; text-align: right; font-size: 14px; }
.accordion-content-wrapper table.hca-hist .a a { color: var(--hca-accent, #2d6a5f) !important; font-weight: 600; }
.accordion-content-wrapper table.hca-hist .t3 .n { color: #6f7672 !important; }
.accordion-content-wrapper .hca-hist-h { margin: 28px 0 6px !important; font-size: 14px; font-weight: 600; color: #6f7672 !important; }

/* Λεζάντες κάτω από τη φωτογραφία, όχι πάνω της. */
.hca-hist-gal .bricks-layout-item { min-width: 0; }
.hca-hist-gal .image { border-radius: 8px; }
.hca-hist .n::before { top: calc(8px + .45em) !important; }
.brxe-image-gallery.hca-hist-gal .bricks-image-caption { position: static; padding: 6px 0 0; background: none; color: #6f7672 !important; font-size: 13px; line-height: 1.35; text-align: left; }
@media (max-width: 600px) {
	.hca-hist-acc .accordion-title-wrapper .hca-hist-sub { order: 3; flex-basis: 100%; }
	table.hca-hist .d { padding-right: 12px; font-size: 13px; }
}

/* ------------------------------------------------------------------
 * Σελίδα «Γιώργος Ανδρέου» (25): κεφάλαια με κείμενο + φωτογραφίες.
 * ------------------------------------------------------------------ */
.hca-prose p { margin: 0 0 14px; font-size: 16px; line-height: 1.65; color: var(--hca-ink, #232a27); }
.hca-prose p:last-child { margin-bottom: 0; }
.hca-prose-narrow { max-width: 760px; }
.hca-bio-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 6px 0 0; font-size: 15px; }
.hca-bio-nav a { color: var(--hca-accent, #2d6a5f); font-weight: 500; }
.hca-bio-nav a:hover { text-decoration: underline; }
.hca-bio-quote { max-width: 760px; }
.hca-bio-quote p { margin: 0 0 14px; font-size: 18px; line-height: 1.7; color: var(--hca-ink, #232a27); }
.hca-bio-quote p:last-child { margin: 0; font-size: 15px; }
section[id="sxetika"], section[id="vivlia"], section[id="odigos"], section[id="vraveuseis"], section[id="exerevnisi"], section[id="sxoles"], section[id="efxaristo"] { scroll-margin-top: 90px; }
.hca-gal .bricks-layout-item { min-width: 0; }
.hca-gal .image { border-radius: 8px; }
.brxe-image-gallery.hca-gal .bricks-image-caption { position: static; padding: 6px 0 0; background: none; color: #6f7672; font-size: 13px; line-height: 1.35; text-align: left; }
.hca-gal-covers { max-width: 340px; }
.hca-gal-covers .image { object-fit: contain !important; border-radius: 0; }

/* ------------------------------------------------------------------
   Άρθρα: ισχύει αυτόματα σε όλα. Τις κλάσεις hca-art-* τις βάζει το includes/article.php στην προβολή.
   ------------------------------------------------------------------ */
.single-post .brxe-post-content { color: var(--hca-ink, #232a27); overflow-wrap: anywhere; }
.single-post .brxe-post-content p,
.single-post .brxe-post-content li { font-size: 16px; line-height: 1.7; color: var(--hca-ink, #232a27); }
.single-post .brxe-post-content p { margin: 0 0 16px; }
.single-post .brxe-post-content ul,
.single-post .brxe-post-content ol { margin: 0 0 16px; padding-left: 22px; }
.single-post .brxe-post-content li { margin-bottom: 4px; }
.single-post .brxe-post-content a { color: var(--hca-accent, #2d6a5f); text-decoration: underline; }
.single-post .brxe-post-content iframe { max-width: 100%; }
.single-post .brxe-post-content .hca-art-lead { font-size: 18px; line-height: 1.6; }
.single-post .brxe-post-content .hca-art-credit { margin: 22px 0 28px; padding-bottom: 18px; border-bottom: 1px solid #d6dad6; font-size: 14px; line-height: 1.5; color: #6f7672; }
.single-post .brxe-post-content .hca-art-h { margin: 32px 0 10px; font-size: 22px; font-weight: 600; line-height: 1.3; color: var(--hca-ink, #232a27); }
.single-post .brxe-post-content .hca-art-h:first-child { margin-top: 0; }
.single-post .brxe-post-content .hca-art-sign { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid #d6dad6; font-weight: 600; }
.single-post .brxe-post-content .hca-art-sign + .hca-art-sign { margin-top: 0; padding-top: 0; border-top: 0; font-size: 14px; font-weight: 400; color: #6f7672; }
.single-post .brxe-post-content table { width: auto; margin: 0 0 16px; border-collapse: collapse; }
.single-post .brxe-post-content td { width: auto; padding: 6px 18px 6px 0; border: 0; border-bottom: 1px solid #d6dad6; font-size: 15px; }
.single-post .brxe-image-gallery .image { border-radius: 8px; }
.single-post .brxe-image-gallery .bricks-image-caption { position: static; padding: 6px 0 0; background: none; color: #6f7672; font-size: 13px; line-height: 1.35; text-align: left; }

/* ------------------------------------------------------------------
   Βιβλιογραφία, Πληροφορίες, Θέσεις εργασίας.
   ------------------------------------------------------------------ */
.hca-prose ul { margin: 0 0 14px; padding-left: 20px; }
.hca-prose ul:last-child { margin-bottom: 0; }
.hca-prose li { margin-bottom: 6px; font-size: 16px; line-height: 1.55; color: var(--hca-ink, #232a27); }
.hca-gal-pages { max-width: 420px; }
.hca-job-form .form-group label, .hca-job-form .form-group .label { font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; }
@media (max-width: 600px) { .hca-job-form .form-group { width: 100% !important; } }

/* Επικοινωνία: η γραμμή διεύθυνση-τηλέφωνο-email τυλίγεται, αλλιώς σπρώχνει τη φόρμα έξω από την οθόνη σε μεσαία πλάτη. */
.page-id-3176 #brx-content .brxe-block { min-width: 0; }
.page-id-3176 .brxe-social-icons { flex-wrap: wrap; row-gap: 6px; text-wrap: wrap; }
