/* Κείμενο άρθρου/σελίδας (blocks και παλιό classic HTML). */
.oasis-prose { overflow-wrap: break-word; }
/* Άρθρο: Ubuntu 500, 18px/26px σε όλες τις οθόνες (μετρήσεις Oasis). Σελίδες: body 19px/28px. */
.oasis-single .oasis-prose { font-size: 18px; font-weight: 500; line-height: 26px; }
.oasis-prose > * { margin-block: 0; }
.oasis-prose > * + * { margin-block-start: 18px; }
.oasis-prose > :first-child { margin-top: 0; }
.oasis-prose h2 { margin-block-start: 44px; margin-bottom: 0; color: var(--wp--preset--color--navy-700); font-family: var(--wp--preset--font-family--ubuntu); font-size: 23px; font-weight: 500; line-height: 40px; scroll-margin-top: calc(var(--oasis-sticky-offset, 0px) + 24px); }
.oasis-prose h3 { margin-block-start: 32px; color: var(--wp--preset--color--navy-700); font-family: var(--wp--preset--font-family--ubuntu); font-size: 20px; font-weight: 500; line-height: 30px; scroll-margin-top: calc(var(--oasis-sticky-offset, 0px) + 24px); }
.oasis-prose h4 { margin-block-start: 28px; color: var(--wp--preset--color--navy-700); font-family: var(--wp--preset--font-family--ubuntu); font-size: 18px; font-weight: 500; }
.oasis-prose h2 + *, .oasis-prose h3 + *, .oasis-prose h4 + * { margin-block-start: 14px; }
.oasis-prose p { margin-bottom: 0; }
.oasis-prose a:where(:not(.oasis-btn)) { color: var(--wp--preset--color--ocean); }
.oasis-prose a:where(:not(.oasis-btn)):hover { color: var(--wp--preset--color--navy-700); }
.oasis-prose strong, .oasis-prose b { color: var(--wp--preset--color--navy-900); font-weight: 500; }
.oasis-prose :is(th, thead td) :is(strong, b) { color: inherit; }
.oasis-prose ul:not([class*="is-style-"]), .oasis-prose ol:not([class*="is-style-"]) { padding-left: 24px; }
.oasis-prose li + li { margin-top: 8px; }
.oasis-prose li::marker { color: var(--wp--preset--color--ocean); }
.oasis-prose img { border-radius: 20px; }
.oasis-prose figure { margin-inline: 0; }
.oasis-prose figure.wp-block-image, .oasis-prose figure.wp-caption, .oasis-prose .wp-block-image { margin-block-start: 26px; }
.oasis-prose figcaption, .oasis-prose .wp-caption-text { margin-top: 10px; color: var(--wp--preset--color--muted); font-size: 15px; line-height: 1.5; text-align: left; }
.oasis-prose .wp-block-image img { width: 100%; height: auto; aspect-ratio: auto; object-fit: cover; }
.oasis-prose .wp-caption { max-width: 100%; }
.oasis-prose .aligncenter { margin-inline: auto; }
.oasis-prose .alignleft { float: left; margin: 6px 24px 12px 0; }
.oasis-prose .alignright { float: right; margin: 6px 0 12px 24px; }
.oasis-prose hr { margin-block: 40px; border: 0; border-top: 1px solid var(--wp--preset--color--line); }
.oasis-prose blockquote:not([class*="is-style-"]) { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--wp--preset--color--brand); color: var(--wp--preset--color--navy-700); font-size: 20px; }
.oasis-prose iframe, .oasis-prose video { max-width: 100%; border-radius: 16px; }
.oasis-prose .wp-block-embed__wrapper iframe { width: 100%; }

/* Πίνακες classic περιεχομένου */
.oasis-table-scroll, .oasis-prose .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--wp--preset--color--line); border-radius: 16px; background: #fff; }
.oasis-table-scroll .table-scroll { border: 0; border-radius: 0; }
.oasis-prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 18px; line-height: 26px; }
.oasis-prose table th, .oasis-prose table td { padding: 14px 18px; border: 0; border-top: 1px solid #E1EEF7; text-align: left; vertical-align: top; }
.oasis-prose table thead th, .oasis-prose table thead td { border-top: 0; background: var(--wp--preset--color--navy-700); color: #fff; font-weight: 500; }
.oasis-prose table tbody tr > :first-child { background: #F7FBFE; color: var(--wp--preset--color--navy-700); font-weight: 500; }
.oasis-prose table tbody tr:first-child > * { border-top: 0; }

/* Παλιό περιεχόμενο: κενά divs που χρησιμοποιούνταν ως spacers. */
.oasis-prose > div[style*="height"]:empty { display: none; }

/* Σημείωση/placeholder σε σελίδες */
.oasis-prose .oasis-note, p.oasis-note { padding: 18px 22px; border: 1px dashed #C9DFEF; border-radius: 16px; background: #fff; color: var(--wp--preset--color--muted); font-size: 16px; }

/* Παλιά (classic) FAQ με <details>: ίδια μορφή με τα FAQ blocks του θέματος. */
.oasis-prose details:not(.wp-block-details) { margin: 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.oasis-prose details:not(.wp-block-details):first-of-type { border-top: 1px solid var(--wp--preset--color--line); }
.oasis-prose details:not(.wp-block-details) + details:not(.wp-block-details) { margin-top: 0; }
.oasis-prose details:not(.wp-block-details) > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 18px 0; color: var(--wp--preset--color--navy-700); font-size: 18px; font-weight: 500; line-height: 1.4; list-style: none; cursor: pointer; }
.oasis-prose details:not(.wp-block-details) > summary::-webkit-details-marker { display: none; }
.oasis-prose details:not(.wp-block-details) > summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 999px; background: var(--wp--preset--color--section) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6CB0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .2s ease; }
.oasis-prose details:not(.wp-block-details)[open] > summary::after { transform: rotate(180deg); }
.oasis-prose details:not(.wp-block-details) > summary:hover { color: var(--wp--preset--color--ocean); }
.oasis-prose details:not(.wp-block-details) > :not(summary) { margin: 0 0 20px; padding-right: 50px; color: var(--wp--preset--color--muted-2); }

/* ---------------------------------------------------------------------------
 * Παλιά κουτιά άρθρων (χειροποίητο HTML με inline φόντο / κλάσεις oasis-*).
 * Τα χρώματα κειμένου και τα <style> αφαιρέθηκαν στον καθαρισμό· εδώ παίρνουν
 * ενιαία εμφάνιση από το θέμα.
 * ------------------------------------------------------------------------ */

/* Σκούρο φόντο (inline): λευκό κείμενο. */
.oasis-prose [style*="background"]:is([style*=": #003366"], [style*=":#003366"], [style*="deg,#003366"], [style*="deg, #003366"], [style*=": #0d406e"], [style*=":#0d406e"], [style*="deg,#0a3e73"], [style*="deg, #0a3e73"], [style*=": #627a97"], [style*=":#627a97"], [style*=": #237bec"], [style*=":#237bec"]) { color: #fff; }
.oasis-prose [style*="background"]:is([style*=": #003366"], [style*=":#003366"], [style*="deg,#003366"], [style*="deg, #003366"], [style*=": #0d406e"], [style*=":#0d406e"], [style*="deg,#0a3e73"], [style*="deg, #0a3e73"], [style*=": #627a97"], [style*=":#627a97"], [style*=": #237bec"], [style*=":#237bec"]) :is(p, h2, h3, h4, li, strong, b, span, th, td) { color: inherit; }
.oasis-prose [style*="background"]:is([style*=": #003366"], [style*=":#003366"], [style*="deg,#003366"], [style*="deg, #003366"], [style*=": #0d406e"], [style*=":#0d406e"], [style*="deg,#0a3e73"], [style*="deg, #0a3e73"], [style*=": #627a97"], [style*=":#627a97"], [style*=": #237bec"], [style*=":#237bec"]) a:not(.oasis-cta-btn) { color: #fff; }
/* Πρώτη γραμμή σκούρου CTA = τίτλος. */
.oasis-prose div[style*="linear-gradient"]:is([style*="#003366"], [style*="#0a3e73"]) > p:first-child { color: var(--wp--preset--color--brand); font-family: var(--wp--preset--font-family--comfortaa); font-size: 22px; font-weight: 700; line-height: 1.4; }

/* Κουμπιά μέσα σε CTA. */
.oasis-prose a.oasis-cta-btn { background: #fff; color: var(--wp--preset--color--navy-900); font-size: 16px; font-weight: 500; line-height: 1.3; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.oasis-prose a.oasis-cta-btn:first-child { background: var(--wp--preset--color--brand); }
.oasis-prose a.oasis-cta-btn:is([style*="border: 1px"], [style*="border:1px"]) { background: rgba(255, 255, 255, .08); color: #fff; }
.oasis-prose a.oasis-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 18, 49, .25); }

/* Κλάσεις παλιών άρθρων. */
.oasis-prose .oasis-cta-premium, .oasis-prose .oasis-cta-premium-dark { margin: 40px 0; padding: 32px 28px; border-radius: 20px; background: linear-gradient(135deg, var(--wp--preset--color--navy-700) 0%, var(--wp--preset--color--ocean) 100%); color: #fff; text-align: center; }
.oasis-prose :is(.oasis-cta-premium, .oasis-cta-premium-dark) :is(h2, h3) { margin: 0 0 10px; color: var(--wp--preset--color--brand); font-family: var(--wp--preset--font-family--comfortaa); font-size: 24px; line-height: 34px; }
.oasis-prose :is(.oasis-cta-premium, .oasis-cta-premium-dark) :is(p, li, strong) { color: #fff; }
.oasis-prose :is(.oasis-cta-premium, .oasis-cta-premium-dark, .oasis-cta-mid) a { display: inline-block; margin-top: 14px; padding: 13px 28px; border-radius: 8px; background: var(--wp--preset--color--brand); color: var(--wp--preset--color--navy-900); font-weight: 500; text-decoration: none; }
.oasis-prose .oasis-cta-mid { margin: 40px 0; padding: 22px 26px; border-radius: 16px; background: var(--wp--preset--color--section); text-align: center; }
.oasis-prose .oasis-contact-cta { margin: 32px 0; padding: 22px 26px; border: 2px solid var(--wp--preset--color--cyan); border-radius: 16px; background: var(--wp--preset--color--bg); text-align: center; }
.oasis-prose .oasis-key-takeaways { margin: 32px 0; padding: 22px 26px; border-radius: 16px; background: var(--wp--preset--color--section); }
.oasis-prose .oasis-quick-answer { margin: 32px 0; padding: 22px 26px; border-left: 4px solid var(--wp--preset--color--cyan); border-radius: 16px; background: var(--wp--preset--color--bg); }
.oasis-prose :is(.oasis-key-takeaways, .oasis-quick-answer, .oasis-contact-cta) :is(h2, h3) { margin: 0 0 12px; color: var(--wp--preset--color--navy-700); font-size: 20px; line-height: 30px; }
.oasis-prose .oasis-tip { margin: 32px 0; padding: 18px 22px; border-left: 4px solid #FFC107; border-radius: 16px; background: var(--wp--preset--color--warn-bg); }
.oasis-prose .oasis-tip strong { color: var(--wp--preset--color--warn); }
.oasis-prose .oasis-tip-blue { border-left-color: var(--wp--preset--color--ocean); background: var(--wp--preset--color--bg); }
.oasis-prose .oasis-tip-green { border-left-color: #2E9E5B; background: #EEF8F1; }
.oasis-prose .oasis-tip-purple { border-left-color: #7E57C2; background: #F4EEFC; }
.oasis-prose :is(.oasis-tip-blue, .oasis-tip-green, .oasis-tip-purple) strong { color: inherit; }
.oasis-prose :is(.oasis-cta-premium, .oasis-cta-premium-dark, .oasis-cta-mid, .oasis-contact-cta, .oasis-key-takeaways, .oasis-quick-answer, .oasis-tip) > :last-child { margin-bottom: 0; }
.oasis-prose .oasis-quick-answer__title { margin: 0 0 10px; color: var(--wp--preset--color--ocean); font-size: 15px; font-weight: 500; letter-spacing: 1px; line-height: 1.4; text-transform: uppercase; }
