/*
Theme Name: UPatras Invitations
Theme URI: https://publicinvitations.upatras.gr/
Author: ΤΣΑΛ
Description: Θέμα για το σύστημα προσκλήσεων της Διεύθυνσης Οικονομικών Υπηρεσιών Πανεπιστημίου Πατρών. Συνεργάζεται με το Invitation Suite και περιλαμβάνει προσαρμοσμένη κεφαλίδα, μενού, υποσέλιδο και προβολή προσκλήσεων σε υπολογιστές και κινητά.
Version: 1.0.7
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: upatras-invitations
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-logo, custom-menu, featured-images
*/
:root{--brand:#962f33;--ink:#24262b;--muted:#646872;--paper:#fff;--line:#e4e5e8;--awb-color1:#fff;--awb-color5:#646872;--awb-color8:#24262b;--awb-color6:#962f33}
*{box-sizing:border-box}body{margin:0;background:#f5f5f6;color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.65}a{color:var(--brand)}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #237ba1;outline-offset:4px}[hidden]{display:none!important}.shell{width:min(1240px,calc(100% - 40px));margin-inline:auto}.skip-link{position:absolute;left:20px;top:-100px;padding:12px;background:#fff;z-index:100000}.skip-link:focus{top:10px}.utility{background:var(--brand);color:#fff}.utility .shell{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;font-size:14px}.utility a{color:#fff}.account-nav ul{list-style:none;padding:0;margin:0;display:flex;gap:18px;flex-wrap:wrap}.account-nav .sub-menu{padding-left:16px}.brandbar{background:#fff;border-bottom:1px solid var(--line)}.brandbar .shell{display:flex;align-items:center;justify-content:space-between;gap:32px;padding-block:24px}.brand{display:flex;align-items:center;gap:20px;text-decoration:none;color:var(--ink)}.brand img{width:88px;height:88px;object-fit:contain}.brand small{display:block;color:var(--muted);font-size:14px}.brand strong{display:block;font-size:clamp(17px,2.4vw,25px);line-height:1.35}.main-nav ul{display:flex;gap:24px;list-style:none;padding:0;margin:0}.main-nav a{text-decoration:none;font-weight:600}.main-nav .current-menu-item>a{text-decoration:underline;text-underline-offset:7px}.site-main{padding-block:38px 64px;min-height:65vh}.page-heading{margin:0 0 26px;font-size:clamp(26px,4vw,38px);line-height:1.3}.panel{background:#fff;border:1px solid var(--line);border-radius:8px;padding:clamp(20px,3vw,38px);min-width:0}.entry-content{overflow-wrap:anywhere}.entry-content> :first-child{margin-top:0}.entry-content table{max-width:100%}.entry-content iframe{max-width:100%}.entry-content h1{font-size:clamp(23px,3vw,32px)}.invitation-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px}.invitation-sidebar{align-self:start}.invitation-sidebar h2{font-size:20px;margin-top:0}.site-footer{background:#fff;border-top:1px solid var(--line);padding:24px 0;color:var(--muted);font-size:14px}.site-footer .shell{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.archive-item{padding-block:20px;border-bottom:1px solid var(--line)}.archive-item h2{margin:0}.pagination{margin-top:24px}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* The public listing previously used the theme's icon font. These scoped symbols need no Avada/font dependency. */
.pi-wrap .fa-heart,.pi-wrap .fa-times{font-family:inherit!important;font-style:normal}.pi-wrap .far.fa-heart:before{content:"♡"}.pi-wrap .fas.fa-heart:before{content:"♥"}.pi-wrap .fa-times:before{content:"×"}.pi-wrap .pi-heart{font-size:24px;line-height:1}
@media(max-width:850px){.invitation-layout{grid-template-columns:1fr}.brandbar .shell{align-items:flex-start;flex-direction:column;gap:20px}.brand img{width:64px;height:64px}.utility .shell{align-items:flex-start;padding-block:10px;flex-wrap:wrap}.main-nav ul{flex-wrap:wrap}.account-nav ul{gap:10px}.shell{width:calc(100% - 28px)}.site-main{padding-top:26px}.entry-content{min-width:0}.inv-table-wrap{overflow-x:auto}}
/* Compact document typography, including the headings generated by Invitation Suite. */
.single-invitation .page-heading{font-size:clamp(20px,2vw,25px);line-height:1.45;font-weight:650;margin-bottom:22px}
.single-invitation .entry-content{font-size:15px;line-height:1.75}
.single-invitation .entry-content h1{font-size:19px;line-height:1.55;margin-block:18px}
.single-invitation .entry-content h2{font-size:18px;line-height:1.5}
.single-invitation .entry-content h3{font-size:17px;line-height:1.5}
.single-invitation article.panel>h2,.single-invitation .invitation-sidebar>h2{font-size:18px;line-height:1.4}
.single-invitation .entry-content h1 strong{font-weight:650}
.account-nav{position:relative;z-index:1000;margin-left:auto}
.account-nav .menu>li{position:relative}
.account-nav .menu>li>a,.account-nav .account-toggle{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;color:#fff;background:transparent;border:0;text-decoration:none;cursor:pointer;font-size:14px}
.account-nav .account-toggle:after,.account-nav .menu-item-has-children>a:after{content:"▾";font-size:12px}
.account-nav .sub-menu{display:none;position:absolute;right:0;top:100%;min-width:220px;max-width:calc(100vw - 28px);padding:6px;background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:0 10px 24px #0002;list-style:none;gap:0;flex-direction:column}
.account-nav li:hover>.sub-menu,.account-nav li:focus-within>.sub-menu,.account-nav li.is-open>.sub-menu{display:flex}
.account-nav.is-enhanced li>.sub-menu{display:none}
.account-nav.is-enhanced li.is-open>.sub-menu{display:flex}
.account-nav .sub-menu a{display:block;padding:10px 12px;color:var(--ink);font-size:14px;line-height:1.4;text-decoration:none;white-space:normal}
.account-nav .sub-menu a:hover,.account-nav .sub-menu a:focus{background:#f5eeee;color:var(--brand)}
@media(max-width:600px){.utility .shell>span{font-size:12px}.utility .shell{gap:4px;align-items:center;padding-block:2px}.single-invitation .entry-content h1{font-size:17px}.single-invitation .entry-content{font-size:14px}.single-invitation .panel{padding:20px}}

/* University identity */
.brandbar .brand{min-width:0;gap:22px}.brandbar .brand-logo{width:96px;height:96px;flex:0 0 96px;object-fit:contain}.brandbar .brand-title strong{font-size:clamp(18px,2vw,25px);line-height:1.4;font-weight:650}.brand-title strong>span{display:block;font-size:.86em;font-weight:500;color:var(--muted);margin-top:4px}.brandbar .main-nav{flex-shrink:0}@media(max-width:600px){.brandbar .brand{gap:14px}.brandbar .brand-logo{width:68px;height:68px;flex-basis:68px}.brandbar .brand-title strong{font-size:17px}.brandbar .shell{padding-block:18px}}

/* Refined masthead: compact logo spacing and a clear two-line identity. */
.brandbar .brand{gap:10px}.brandbar .brand-title strong{font-size:clamp(18px,1.8vw,24px);font-weight:600;line-height:1.45;color:#343238;letter-spacing:-.025em}.brand-title strong>span{margin-top:3px;font-size:.83em;line-height:1.45;font-weight:500;letter-spacing:.01em;color:var(--brand)}.brandbar .brand:hover strong{color:var(--brand)}@media(max-width:600px){.brandbar .brand{gap:8px}.brandbar .brand-title strong{font-size:17px}}

/* Institutional footer */
.site-footer{padding:0;background:#fff;border-top:3px solid var(--brand);color:#61616a}.site-footer .footer-main{display:flex;align-items:flex-start;justify-content:space-between;gap:48px;padding-block:44px}.footer-identity{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--ink);max-width:560px}.footer-identity img{width:76px;height:76px;object-fit:contain;flex:0 0 76px}.footer-identity strong{display:block;font-size:18px;font-weight:600;line-height:1.5}.footer-identity>span>span{display:block;font-size:16px;color:var(--brand);margin-top:3px}.footer-links{min-width:230px}.footer-links h2{font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink);margin:0 0 14px}.footer-links ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}.footer-links a{color:#61616a;text-decoration:none;font-size:14px}.footer-links a:hover,.footer-links a:focus-visible{color:var(--brand);text-decoration:underline}.footer-bottom{padding-block:16px;border-top:1px solid var(--line);background:#f7f7f8;font-size:13px}.footer-bottom a{color:inherit;text-decoration:none}.footer-bottom a:hover{text-decoration:underline}@media(max-width:650px){.site-footer .footer-main{flex-direction:column;gap:28px;padding-block:30px}.footer-identity strong{font-size:16px}.footer-identity>span>span{font-size:14px}.footer-identity img{width:64px;height:64px;flex-basis:64px}}

.footer-certification{flex:0 0 140px}.footer-certification img{display:block;width:140px;height:auto;background:#fff}.site-footer .footer-main{flex-wrap:wrap}@media(max-width:650px){.footer-certification{flex-basis:auto}.footer-certification img{width:120px}}
