/* Profile-only screen and A4 print presentation. */
.profile-page .profile-bar{display:flex;flex-wrap:wrap;align-items:center;gap:9px 12px;padding:15px 0;margin:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.profile-page .profile-bar>*{display:inline-flex;align-items:center;gap:8px;min-width:0;font-size:13px;line-height:1.5}
.profile-page .profile-bar svg{width:17px;height:17px;flex:none}
.profile-page .profile-contact-location{padding:7px 8px 7px 0}
.profile-page .profile-contact-link{padding:7px 10px;border:1px solid var(--line);border-radius:4px;background:var(--panel);transition:border-color .15s,background-color .15s}
.profile-page .profile-contact-link:hover{background:#fff3c4;border-color:#e6d795}
.profile-page .profile-print-detail{display:none}
@media screen{
 .profile-page .site-layout{max-width:880px;padding-top:28px}
 .profile-page .profile-print{margin-bottom:28px;align-items:center;gap:14px}
 .profile-page .profile-print .text-link,.profile-page .profile-print .button{font-size:13px;line-height:1.5;min-height:38px;padding:9px 13px}
 .profile-page .profile-name{font-size:clamp(34px,4.5vw,48px);line-height:1.15;margin-bottom:12px}
 .profile-page .main .profile-role{font-size:17px;line-height:1.55;margin:0}
 .profile-page .main>.prose{font-size:15px;line-height:1.8;margin-bottom:24px}
 .profile-page .section{padding:27px 0}
 .profile-page .section h2{font-size:25px;line-height:1.25;margin-bottom:20px}
 .profile-page .timeline-row{grid-template-columns:115px minmax(0,1fr);gap:22px;padding:14px 0}
 .profile-page .main .timeline-row h3{font-size:17px;line-height:1.4;margin-bottom:6px}
 .profile-page .main .timeline-row p{font-size:14px;line-height:1.75;margin-bottom:0}
 .profile-page .main .timeline-date{font:12px/1.8 Consolas,monospace}
 .profile-page .main>.section:nth-of-type(2){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}
 .profile-page .main>.section:nth-of-type(2)>h2{grid-column:1/-1}
 .profile-page .skill-row{display:block;padding:15px 0}
 .profile-page .main .skill-row h3{font-size:16px;line-height:1.4;margin-bottom:7px}
 .profile-page .main .skill-row p{font-size:14px;line-height:1.75;margin:0}
 .profile-page .main>.section:nth-of-type(3)>.prose{font-size:14px;line-height:2}
}
@media screen and (max-width:600px){
 .profile-page .site-layout{padding-top:22px}
 .profile-page .profile-print{gap:10px;align-items:stretch}
 .profile-page .profile-print .text-link,.profile-page .profile-print .button{font-size:12px;padding:8px 10px}
 .profile-page .profile-bar{gap:8px;padding:13px 0}
 .profile-page .profile-bar>*{font-size:12px}
 .profile-page .profile-contact-location{flex-basis:100%;padding:0 0 4px}
 .profile-page .timeline-row{grid-template-columns:1fr;gap:5px;padding:15px 0}
 .profile-page .main>.section:nth-of-type(2){grid-template-columns:1fr}
 .profile-page .section{padding:24px 0}
}
@page{size:A4;margin:14mm 16mm;@bottom-left{content:"Georgios Antoniou / Professional profile";font:7pt Arial;color:#555}@bottom-right{content:counter(page) " / " counter(pages);font:7pt Arial;color:#555}}
@media print{
 html{margin:0!important;scroll-behavior:auto}
 body.profile-page{margin:0;background:#fff;color:#000;font-size:9pt;line-height:1.4;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .profile-page .skip,.profile-page #wpadminbar,.profile-page .site-header,.profile-page .sidebar,.profile-page .site-footer,.profile-page .profile-print,.profile-page .mobile-menu,.profile-page .lightbox{display:none!important}
 .profile-page .wrap,.profile-page .site-layout,.profile-page .main{display:block;width:auto;max-width:none;margin:0;padding:0;overflow:visible}
 .profile-page .main>.eyebrow{font:8pt/1.3 Consolas,monospace;margin:0 0 7pt;break-after:avoid}
 .profile-page .profile-name{font-size:27pt;line-height:1.1;margin:0 0 5pt;break-after:avoid}
 .profile-page .profile-role{font-size:11pt;line-height:1.4;margin:0 0 9pt;break-after:avoid}
 .profile-page .profile-bar{gap:4pt 10pt;margin:0 0 10pt;padding:7pt 0;break-inside:avoid}
 .profile-page .profile-bar>*{padding:0;border:0;background:transparent;font-size:8pt;line-height:1.5;gap:4pt;overflow-wrap:normal}
 .profile-page .profile-bar svg{width:10pt;height:10pt}
 .profile-page .profile-print-detail{display:inline}
 .profile-page .main>.prose{font-size:9pt;line-height:1.45;margin:0 0 10pt;orphans:3;widows:3}
 .profile-page .section{padding:9pt 0 0;margin:0;border:0}
 .profile-page .section h2{font-size:13pt;line-height:1.25;margin:0 0 8pt;padding:0 0 5pt;border-bottom:1px solid #bbb;break-after:avoid;page-break-after:avoid}
 .profile-page .timeline-row{display:grid;grid-template-columns:72pt minmax(0,1fr);gap:12pt;padding:5pt 0;border-top:1px solid #ddd;break-inside:avoid;page-break-inside:avoid}
 .profile-page .timeline-date{font:8pt/1.45 Consolas,monospace}
 .profile-page .timeline-row h3{font-size:10pt;line-height:1.3;margin:0 0 3pt;break-after:avoid}
 .profile-page .timeline-row p{font-size:8.5pt;line-height:1.4;margin:0;orphans:3;widows:3}
 .profile-page .main>.section:nth-of-type(2){break-before:page;page-break-before:always;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18pt;padding-top:0}
 .profile-page .main>.section:nth-of-type(2)>h2{grid-column:1/-1}
 .profile-page .skill-row{display:block;padding:7pt 0;border-top:1px solid #ddd;break-inside:avoid;page-break-inside:avoid}
 .profile-page .skill-row h3{font-size:9.5pt;line-height:1.3;margin:0 0 4pt;break-after:avoid}
 .profile-page .skill-row p{font-size:8.5pt;line-height:1.45;margin:0}
 .profile-page .main>.section:nth-of-type(3){break-inside:avoid;page-break-inside:avoid;padding-top:14pt}
 .profile-page .main>.section:nth-of-type(3) .prose,.profile-page .main>.section:nth-of-type(3) p{font-size:9pt;line-height:1.6;margin-bottom:6pt}
 .profile-page .main>.section:nth-of-type(4){padding-top:14pt}
 .profile-page a{color:#000;text-decoration:none}
 .profile-page h2,.profile-page h3{break-after:avoid;page-break-after:avoid}
}
