/* GRacademia v5 (2026-11-01) — layer on top of the "Standout" template (main.css).
   Keeps the original look: Roboto Slab, banner artwork, navy #224D6F, light greys. */

/* Roboto Slab, self-hosted (SIL OFL 1.1, from @fontsource/roboto-slab 5.3.0): no requests to Google */
@font-face { font-family: 'Roboto Slab'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/roboto-slab-greek-300-normal.woff2) format('woff2'); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: 'Roboto Slab'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/roboto-slab-latin-ext-300-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Roboto Slab'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/roboto-slab-latin-300-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Roboto Slab'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/roboto-slab-greek-400-normal.woff2) format('woff2'); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: 'Roboto Slab'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/roboto-slab-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Roboto Slab'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/roboto-slab-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Roboto Slab'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/roboto-slab-greek-700-normal.woff2) format('woff2'); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: 'Roboto Slab'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/roboto-slab-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Roboto Slab'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/roboto-slab-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
	--grac-navy: #224D6F;
	--grac-blue: #2f6f9f;
	--grac-sky: #34A1C8;
	--grac-ink: #2b3440;
	--grac-muted: #6b7a8a;
	--grac-line: #e2e7ec;
	--grac-paper: #f6f8fa;
	--grac-warn: #b3261e;
	--grac-warn-bg: #fffafa;
	--grac-radius: 10px;
	--grac-max: 64rem;
}

html, body, input, select, textarea, button, h1, h2, h3, h4, h5, h6 { font-family: 'Roboto Slab', Georgia, serif; }
html, body { color: var(--grac-ink); background: #fff; }
body { line-height: 1.65; }
a { color: var(--grac-blue); text-decoration: none; border-bottom: 1px dotted rgba(47,111,159,.45); }
a:hover { color: var(--grac-navy); border-bottom-color: var(--grac-navy); }
:focus-visible { outline: 3px solid var(--grac-sky); outline-offset: 2px; }

.grac-wrap { width: min(var(--grac-max), 100% - 2rem); margin-inline: auto; }

/* ---------- archive notice (same wording/idea as the my.aegean.gr infoBox) ---------- */
.grac-notice {
	background: #f3f6f8;
	box-shadow: inset 0 11px 8px -10px #ccc, inset 0 -11px 8px -10px #ccc;
	font-size: .92rem; line-height: 1.55; color: #3d4a57;
}
.grac-notice .grac-wrap { display: flex; gap: .9rem; align-items: center; padding: .8rem 0; }
.grac-notice img { flex: 0 0 32px; width: 32px; height: 32px; }
.grac-notice strong { color: tomato; letter-spacing: .02em; }
.grac-notice .grac-asof { white-space: nowrap; font-weight: 700; color: var(--grac-navy); }

/* ---------- hero: original banner artwork ---------- */
.grac-hero {
	background: linear-gradient(to bottom, rgba(255,255,255,0) 55%, #fff 100%), url(../../gracademia_banner_1500x500.jpg) center top / cover no-repeat;
	background-image: linear-gradient(to bottom, rgba(255,255,255,0) 55%, #fff 100%), image-set(url(../../gracademia_banner_1500x500.webp) type("image/webp"), url(../../gracademia_banner_1500x500.jpg) type("image/jpeg"));
	height: clamp(10rem, 33vw, 26rem);
	display: flex; align-items: flex-end;
}
.grac-hero .grac-wrap { padding-bottom: .4rem; }
.grac-hero h1 {
	/* the artwork already carries the slogan; the H1 is for screen readers / text browsers */
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.grac-kicker {
	display: inline-block; max-width: 100%;
	background: rgba(255,255,255,.88); border: 1px solid var(--grac-line); border-radius: 999px;
	padding: .3rem .9rem; font-size: .82rem; color: var(--grac-muted); line-height: 1.5;
}
.grac-kicker b { color: var(--grac-navy); }

/* ---------- sections ---------- */
.grac-section { padding: 2.6rem 0; }
.grac-section + .grac-section { border-top: 1px solid var(--grac-line); }
.grac-section h2 {
	font-size: 1.35rem; font-weight: 700; color: var(--grac-navy); margin: 0 0 1.1rem;
	letter-spacing: 0; text-transform: none;
}
.grac-section h2 small { display: block; font-size: .8rem; font-weight: 400; color: var(--grac-muted); margin-top: .2rem; }
.grac-lead { font-size: 1.05rem; }
.grac-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .grac-grid--2 { grid-template-columns: 3fr 2fr; } }

.grac-card { background: var(--grac-paper); border: 1px solid var(--grac-line); border-radius: var(--grac-radius); padding: 1.3rem 1.4rem; }
.grac-card h3 { font-size: 1rem; margin: 0 0 .7rem; color: var(--grac-navy); text-transform: none; letter-spacing: 0; }

blockquote.grac-quote {
	margin: 1.4rem 0; padding: .9rem 1.2rem; border-left: 5px solid #D1D7DC; background: #fbfcfd;
	font-style: normal; color: #444; font-size: .97rem;
}
blockquote.grac-quote footer { margin-top: .5rem; font-size: .8rem; color: var(--grac-muted); }

/* ---------- feed (filled by /rss/feed/GRacademia/tweets/xt/) ---------- */
#GRacademiaplace { min-height: 12rem; }
.grac-feed-meta { font-size: .82rem; color: var(--grac-muted); margin: 0 0 .8rem; }
ol.grac-feed { list-style: none; margin: 0; padding: 0; counter-reset: none; }
ol.grac-feed li { margin: 0; padding: .55rem 0 .6rem; border-top: 1px dashed #d5dbe1; display: grid; grid-template-columns: 6.2rem 1fr; gap: .2rem .8rem; }
ol.grac-feed li:first-child { border-top: 0; }
ol.grac-feed time { font-size: .8rem; color: var(--grac-muted); padding-top: .15rem; font-variant-numeric: tabular-nums; }
ol.grac-feed a { font-size: .92rem; font-weight: 700; line-height: 1.45; border-bottom: 0; }
ol.grac-feed a:hover { text-decoration: underline; }
@media (max-width: 30rem) {
	ol.grac-feed li { grid-template-columns: 1fr; }
	.grac-notice .grac-wrap { align-items: flex-start; }
	.grac-hero { height: auto; display: block; padding-top: 34vw; background-size: auto, 100% auto; }
	.grac-section { padding: 2rem 0; }
	body { font-size: 15px; }
}
.grac-loading { color: var(--grac-muted); font-size: .9rem; padding: 2rem 0; }
.grac-loading::before { content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .5em; vertical-align: -.15em;
	border: 2px solid var(--grac-line); border-top-color: var(--grac-navy); border-radius: 50%; animation: grac-spin .8s linear infinite; }
@keyframes grac-spin { to { transform: rotate(360deg); } }

/* ---------- timeline ---------- */
ol.grac-timeline { list-style: none; margin: 0; padding: 0 0 0 1.1rem; border-left: 2px solid var(--grac-line); }
ol.grac-timeline li { position: relative; margin: 0 0 .9rem; padding-left: .3rem; font-size: .93rem; }
ol.grac-timeline li::before { content: ""; position: absolute; left: -1.53rem; top: .45rem; width: .7rem; height: .7rem; border-radius: 50%; background: #fff; border: 2px solid var(--grac-navy); }
ol.grac-timeline b { color: var(--grac-navy); display: block; font-size: .82rem; }

/* ---------- profiles ---------- */
ul.grac-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); }
ul.grac-links li { margin: 0; padding: 0; }
ul.grac-links a {
	display: flex; gap: .75rem; align-items: center; height: 100%;
	border: 1px solid var(--grac-line); border-radius: var(--grac-radius); padding: .75rem .9rem; background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
ul.grac-links a:hover { border-color: var(--grac-sky); box-shadow: 0 2px 10px rgba(34,77,111,.08); }
ul.grac-links i { flex: 0 0 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; background: var(--grac-navy); color: #fff; font-size: 1.05rem; }
ul.grac-links span { display: block; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
ul.grac-links span b { display: block; color: var(--grac-ink); font-size: .92rem; }
ul.grac-links span small { color: var(--grac-muted); font-size: .78rem; }

/* ---------- archived newsletter form (pattern from my.aegean.gr/web/feedback.html) ---------- */
.myA-archived-form { border: 1px solid #b00; background: var(--grac-warn-bg); color: #333; padding: 1rem 1.15rem; margin: 0 0 1.2rem; font-size: .9rem; line-height: 1.6; border-radius: 4px; }
.myA-archived-form strong { color: #900; }
.grac-form-archived { position: relative; border: 1px dashed #d8d8d8; border-radius: var(--grac-radius); padding: 1.1rem; background: repeating-linear-gradient(-45deg, #fafafa, #fafafa 10px, #f4f4f4 10px, #f4f4f4 20px); }
.grac-form-archived label { display: block; font-size: .85rem; color: #8a8a8a; margin-bottom: .35rem; }
.grac-form-archived .grac-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.grac-form-archived input, .grac-form-archived button {
	background: #f0f0f0 !important; color: #8a8a8a !important; cursor: not-allowed !important; border: 1px solid #d8d8d8 !important;
	border-radius: 6px; height: 2.6rem; font-size: .9rem; box-shadow: none !important;
}
.grac-form-archived input { flex: 1 1 14rem; padding: 0 .8rem; }
.grac-form-archived button { flex: 0 0 auto; padding: 0 1.1rem; opacity: .6; text-transform: none; letter-spacing: 0; line-height: 2.6rem; }
.grac-sample { margin-top: 1.2rem; font-size: .88rem; }
.grac-sample ul { margin: .5rem 0 0 1.1rem; }
.grac-sample li { margin-bottom: .45rem; }
.grac-sample em { color: dimgray; }

/* ---------- footer ---------- */
.grac-footer { background: var(--grac-paper); border-top: 1px solid var(--grac-line); padding: 2rem 0 2.4rem; font-size: .85rem; color: var(--grac-muted); text-align: center; }
.grac-footer p { margin: 0 0 .6rem; }
.grac-footer img { width: 18px; height: 18px; vertical-align: -3px; margin-right: 4px; display: inline-block; }

.grac-top { position: fixed; right: 1.2rem; bottom: 1.2rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: rgba(255,255,255,.92); border: 1px solid var(--grac-line); display: grid; place-items: center; color: var(--grac-navy); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.grac-top:hover { border-bottom: 1px solid var(--grac-line); }

/* template leftovers we do not use */
body.is-preload *, body.is-preload *::before, body.is-preload *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
