/*
Theme Name: PTAH Akademik
Theme URI: https://ptah.local/
Author: PTAH
Author URI: https://ptah.local/
Description: Tema portal akademik profesional, modern, elegan, dan minimalis untuk PTAH Chaizarani Thahir An-Nizomiyah. Terintegrasi dengan plugin PTAH Akademik — Absensi.
Version: 1.6.1
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: ptah-akademik-theme
*/

:root{
    --ptah-brand:#176b52;
    --ptah-brand-dark:#0f513f;
    --ptah-brand-deep:#0c3e31;
    --ptah-brand-soft:#eaf6f1;
    --ptah-mint:#d8eee5;
    --ptah-gold:#c9a866;
    --ptah-ink:#16332a;
    --ptah-text:#344c44;
    --ptah-muted:#6d8079;
    --ptah-line:#dce9e4;
    --ptah-surface:#ffffff;
    --ptah-background:#f4f8f6;
    --ptah-danger:#b63e48;
    --ptah-radius:20px;
    --ptah-radius-sm:12px;
    --ptah-shadow:0 20px 55px rgba(21,70,55,.09);
    --ptah-shadow-soft:0 10px 30px rgba(21,70,55,.06);
    --ptah-shell:1240px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ptah-background);color:var(--ptah-text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}
body.menu-open{overflow:hidden}
a{color:var(--ptah-brand);text-decoration:none}
a:hover{color:var(--ptah-brand-dark)}
img{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
button,a{transition:color .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease}
::selection{background:var(--ptah-mint);color:var(--ptah-brand-deep)}
.ptah-shell{width:min(calc(100% - 40px),var(--ptah-shell));margin-inline:auto}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.screen-reader-text:focus{clip:auto!important;clip-path:none;background:#fff;color:var(--ptah-brand);display:block;font-size:14px;font-weight:700;height:auto;left:10px;padding:12px 18px;top:10px;width:auto;z-index:100000}

.ptah-site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.91);border-bottom:1px solid rgba(220,233,228,.9);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.admin-bar .ptah-site-header{top:32px}
.ptah-header-inner{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.ptah-site-brand{display:flex;align-items:center;gap:13px;color:var(--ptah-ink);min-width:0}
.ptah-site-brand:hover{color:var(--ptah-ink)}
.ptah-brand-mark{display:inline-flex;align-items:center;justify-content:center;flex:0 0 50px;width:50px;height:50px;border-radius:16px;background:linear-gradient(145deg,var(--ptah-brand),var(--ptah-brand-dark));color:#fff;font-size:14px;font-weight:850;letter-spacing:.045em;box-shadow:0 12px 28px rgba(23,107,82,.2)}
.ptah-brand-logo{display:flex;align-items:center}
.ptah-brand-logo .custom-logo-link{display:flex}
.ptah-brand-logo img{display:block;width:50px;height:50px;object-fit:contain}
.ptah-brand-copy{display:flex;flex-direction:column;min-width:0}
.ptah-brand-copy:hover{color:var(--ptah-ink)}
.ptah-brand-copy strong{font-size:14px;line-height:1.35;white-space:nowrap}
.ptah-brand-copy small{color:var(--ptah-muted);font-size:12px;margin-top:2px}
.ptah-primary-nav{display:flex;align-items:center;gap:26px}
.ptah-menu{display:flex;align-items:center;gap:4px;list-style:none;margin:0;padding:0}
.ptah-menu li{position:relative;margin:0}
.ptah-menu a{display:flex;align-items:center;min-height:42px;padding:0 13px;border-radius:10px;color:#456058;font-size:14px;font-weight:650}
.ptah-menu a:hover,.ptah-menu .current-menu-item>a,.ptah-menu .current_page_item>a{background:var(--ptah-brand-soft);color:var(--ptah-brand)}
.ptah-menu .sub-menu{position:absolute;top:calc(100% + 8px);left:0;min-width:210px;margin:0;padding:8px;list-style:none;background:#fff;border:1px solid var(--ptah-line);border-radius:12px;box-shadow:var(--ptah-shadow);opacity:0;visibility:hidden;transform:translateY(6px)}
.ptah-menu li:hover>.sub-menu,.ptah-menu li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
.ptah-user-menu{position:relative}
.ptah-user-trigger{display:flex;align-items:center;gap:10px;padding:5px 8px 5px 5px;background:#fff;border:1px solid var(--ptah-line);border-radius:13px;color:var(--ptah-ink);cursor:pointer}
.ptah-user-trigger:hover,.ptah-user-trigger[aria-expanded=true]{border-color:#b7d1c7;box-shadow:var(--ptah-shadow-soft)}
.ptah-user-avatar,.ptah-profile-avatar{display:flex;align-items:center;justify-content:center;border-radius:11px;background:var(--ptah-brand-soft);color:var(--ptah-brand);font-weight:800}
.ptah-user-avatar{width:36px;height:36px;font-size:14px}
.ptah-user-trigger>span:nth-child(2){display:flex;flex-direction:column;min-width:90px;text-align:left}
.ptah-user-trigger strong{font-size:12px;line-height:1.35;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ptah-user-trigger small{font-size:10px;color:var(--ptah-muted)}
.ptah-chevron{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:-4px 3px 0 1px}
.ptah-user-trigger[aria-expanded=true] .ptah-chevron{transform:rotate(225deg);margin-top:4px}
.ptah-user-dropdown{position:absolute;right:0;top:calc(100% + 9px);width:190px;padding:8px;background:#fff;border:1px solid var(--ptah-line);border-radius:13px;box-shadow:var(--ptah-shadow);opacity:0;visibility:hidden;transform:translateY(6px)}
.ptah-user-menu.is-open .ptah-user-dropdown{opacity:1;visibility:visible;transform:none}
.ptah-user-dropdown a{display:block;padding:9px 11px;border-radius:8px;color:var(--ptah-text);font-size:13px;font-weight:600}
.ptah-user-dropdown a:hover{background:var(--ptah-brand-soft);color:var(--ptah-brand)}
.ptah-user-dropdown .ptah-logout-link{border-top:1px solid var(--ptah-line);border-radius:0;margin-top:5px;padding-top:12px;color:var(--ptah-danger)}
.ptah-header-login,.ptah-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border-radius:11px;background:var(--ptah-brand);color:#fff;font-size:14px;font-weight:750;box-shadow:0 10px 25px rgba(23,107,82,.18)}
.ptah-header-login:hover,.ptah-button:hover{background:var(--ptah-brand-dark);color:#fff;transform:translateY(-1px)}
.ptah-menu-toggle{display:none;width:44px;height:44px;padding:10px;background:#fff;border:1px solid var(--ptah-line);border-radius:11px;cursor:pointer}
.ptah-menu-toggle>span:not(.screen-reader-text){display:block;width:20px;height:2px;margin:4px auto;background:var(--ptah-ink);border-radius:2px}

.ptah-site-main{min-height:calc(100vh - 250px)}
.ptah-guest-hero{position:relative;isolation:isolate;overflow:hidden;min-height:calc(100vh - 80px);display:flex;align-items:center;padding:72px 0 92px;background:linear-gradient(145deg,#f7fbf9 0%,#edf7f3 50%,#f8faf8 100%)}
.ptah-guest-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.72fr);gap:clamp(50px,8vw,110px);align-items:center}
.ptah-hero-copy{position:relative;z-index:1}
.ptah-eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:14px;color:var(--ptah-brand);font-size:12px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.ptah-eyebrow::before{content:"";width:24px;height:2px;border-radius:2px;background:var(--ptah-gold)}
.ptah-hero-copy h1{max-width:760px;margin:0;color:var(--ptah-ink);font-size:clamp(40px,5.2vw,70px);font-weight:780;letter-spacing:-.045em;line-height:1.08}
.ptah-hero-copy>p{max-width:650px;margin:24px 0 28px;color:#5e746c;font-size:18px;line-height:1.75}
.ptah-feature-list{display:flex;flex-wrap:wrap;gap:10px 18px;margin:0 0 38px}
.ptah-feature-list span{display:flex;align-items:center;gap:7px;color:#38584d;font-size:14px;font-weight:650}
.ptah-feature-list svg{width:18px;height:18px;fill:none;stroke:var(--ptah-brand);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ptah-trust-row{display:flex;gap:14px}
.ptah-trust-row>span{display:flex;align-items:center;gap:10px;padding:12px 15px;border:1px solid rgba(183,209,199,.75);border-radius:12px;background:rgba(255,255,255,.66);color:#3d5a51;font-size:12px;backdrop-filter:blur(8px)}
.ptah-trust-row svg{width:20px;height:20px;fill:none;stroke:var(--ptah-brand);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ptah-login-card{position:relative;z-index:2;padding:34px;background:rgba(255,255,255,.94);border:1px solid rgba(211,228,221,.9);border-radius:26px;box-shadow:0 30px 90px rgba(18,72,55,.14);backdrop-filter:blur(20px)}
.ptah-login-heading{display:flex;align-items:center;gap:14px;margin-bottom:28px}
.ptah-login-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:var(--ptah-brand-soft)}
.ptah-login-icon svg{width:25px;height:25px;fill:none;stroke:var(--ptah-brand);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ptah-login-heading h2{margin:0;color:var(--ptah-ink);font-size:24px;line-height:1.3}
.ptah-login-heading p{margin:3px 0 0;color:var(--ptah-muted);font-size:13px}
.ptah-login-card form{margin:0}
.ptah-login-card form>p{margin:0 0 17px}
.ptah-login-card label{display:block;margin-bottom:7px;color:var(--ptah-ink);font-size:13px;font-weight:700}
.ptah-login-card input[type=text],.ptah-login-card input[type=password]{width:100%;height:48px;padding:0 13px;border:1px solid #cbded6;border-radius:10px;background:#fbfdfc;color:var(--ptah-ink);outline:0}
.ptah-login-card input[type=text]:focus,.ptah-login-card input[type=password]:focus{border-color:var(--ptah-brand);box-shadow:0 0 0 3px rgba(23,107,82,.1)}
.ptah-login-card .login-remember label{display:flex;align-items:center;gap:8px;color:var(--ptah-muted);font-weight:550}
.ptah-login-card .login-remember input{accent-color:var(--ptah-brand)}
.ptah-login-card .login-submit{margin-bottom:0}
.ptah-login-card .button-primary{width:100%;height:50px;border:0;border-radius:11px;background:var(--ptah-brand);color:#fff;font-weight:750;cursor:pointer;box-shadow:0 12px 28px rgba(23,107,82,.18)}
.ptah-login-card .button-primary:hover{background:var(--ptah-brand-dark);transform:translateY(-1px)}
.ptah-kiosk-link{display:grid;grid-template-columns:36px 1fr 18px;align-items:center;gap:10px;margin-top:17px;padding:12px 13px;border:1px solid #cfe2da;border-radius:11px;background:var(--ptah-brand-soft);color:var(--ptah-brand)}
.ptah-kiosk-link:hover{border-color:#9fc4b5;background:#e1f2eb;color:var(--ptah-brand-dark);transform:translateY(-1px)}
.ptah-kiosk-link>svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ptah-kiosk-link>span{display:flex;flex-direction:column}
.ptah-kiosk-link strong{font-size:12px}.ptah-kiosk-link small{color:var(--ptah-muted);font-size:10px}
.ptah-login-help{margin:18px 0 0;padding-top:17px;border-top:1px solid var(--ptah-line);color:var(--ptah-muted);font-size:12px;text-align:center}
.ptah-orb{position:absolute;z-index:-1;border-radius:50%;filter:blur(2px)}
.ptah-orb-one{width:460px;height:460px;right:-180px;top:-210px;background:radial-gradient(circle,rgba(57,150,117,.18),rgba(57,150,117,0) 68%)}
.ptah-orb-two{width:520px;height:520px;left:-250px;bottom:-300px;background:radial-gradient(circle,rgba(201,168,102,.13),rgba(201,168,102,0) 68%)}

.ptah-dashboard{padding:48px 0 80px}
.ptah-dashboard-welcome{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:34px 38px;border-radius:24px;background:linear-gradient(135deg,var(--ptah-brand-deep),var(--ptah-brand) 68%,#2c8b6d);color:#fff;box-shadow:0 24px 60px rgba(18,82,63,.17)}
.ptah-dashboard-welcome::after{content:"";position:absolute;width:330px;height:330px;right:-120px;top:-180px;border:1px solid rgba(255,255,255,.13);border-radius:50%;box-shadow:0 0 0 55px rgba(255,255,255,.035),0 0 0 110px rgba(255,255,255,.025)}
.ptah-dashboard-welcome>div{position:relative;z-index:1}
.ptah-dashboard-welcome .ptah-eyebrow{margin:0 0 9px;color:#d7eee5}
.ptah-dashboard-welcome .ptah-eyebrow::before{background:var(--ptah-gold)}
.ptah-dashboard-welcome h1{margin:0 0 7px;color:#fff;font-size:clamp(27px,3vw,39px);letter-spacing:-.025em;line-height:1.25}
.ptah-dashboard-welcome p{margin:0;color:rgba(255,255,255,.75)}
.ptah-profile-summary{display:flex;align-items:center;gap:13px;min-width:230px;padding:14px 16px;border:1px solid rgba(255,255,255,.17);border-radius:16px;background:rgba(255,255,255,.1);backdrop-filter:blur(8px)}
.ptah-profile-avatar{flex:0 0 48px;width:48px;height:48px;background:#fff;color:var(--ptah-brand);font-size:18px}
.ptah-profile-summary div{display:flex;flex-direction:column}
.ptah-profile-summary small{color:rgba(255,255,255,.67);font-size:10px}
.ptah-profile-summary strong{color:#fff;font-size:14px}
.ptah-profile-summary span:not(.ptah-profile-avatar){color:#d9eee6;font-size:11px}
.ptah-system-alert{margin-top:18px;padding:14px 18px;border:1px solid #ecd9ab;border-radius:12px;background:#fff8e8;color:#76571f;font-size:13px}
.ptah-section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin:42px 0 20px}
.ptah-section-heading span{color:var(--ptah-brand);font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.ptah-section-heading h2{margin:2px 0 0;color:var(--ptah-ink);font-size:27px;letter-spacing:-.02em}
.ptah-section-heading p{margin:0;color:var(--ptah-muted);font-size:13px}
.ptah-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.ptah-action-card{position:relative;display:flex;align-items:center;gap:14px;min-height:126px;padding:20px;border:1px solid var(--ptah-line);border-radius:17px;background:var(--ptah-surface);color:var(--ptah-text);box-shadow:var(--ptah-shadow-soft)}
.ptah-action-card:hover{border-color:#b6d2c7;color:var(--ptah-text);box-shadow:var(--ptah-shadow);transform:translateY(-3px)}
.ptah-action-card.is-primary{border-color:transparent;background:linear-gradient(140deg,var(--ptah-brand),var(--ptah-brand-dark));color:#fff}
.ptah-action-card.is-primary:hover{color:#fff}
.ptah-action-card.is-soft{background:var(--ptah-brand-soft)}
.ptah-action-icon{display:flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;border-radius:14px;background:var(--ptah-brand-soft);color:var(--ptah-brand)}
.ptah-action-card.is-primary .ptah-action-icon{background:rgba(255,255,255,.14);color:#fff}
.ptah-action-card.is-soft .ptah-action-icon{background:#fff}
.ptah-action-icon svg,.ptah-action-arrow svg,.ptah-info-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ptah-action-copy{display:flex;flex-direction:column;min-width:0}
.ptah-action-copy strong{margin-bottom:5px;color:var(--ptah-ink);font-size:15px}
.ptah-action-copy small{color:var(--ptah-muted);font-size:11px;line-height:1.55}
.ptah-action-card.is-primary .ptah-action-copy strong{color:#fff}
.ptah-action-card.is-primary .ptah-action-copy small{color:rgba(255,255,255,.72)}
.ptah-action-arrow{display:flex;align-items:center;justify-content:center;flex:0 0 29px;width:29px;height:29px;margin-left:auto;border-radius:9px;background:#f1f6f4;color:var(--ptah-brand)}
.ptah-action-arrow svg{width:16px;height:16px}
.ptah-action-card.is-primary .ptah-action-arrow{background:rgba(255,255,255,.14);color:#fff}
.ptah-info-strip{display:grid;grid-template-columns:repeat(3,1fr);margin-top:30px;padding:20px 22px;border:1px solid var(--ptah-line);border-radius:17px;background:rgba(255,255,255,.64)}
.ptah-info-strip>div{display:flex;align-items:center;gap:12px;padding:2px 20px;border-right:1px solid var(--ptah-line)}
.ptah-info-strip>div:first-child{padding-left:0}
.ptah-info-strip>div:last-child{padding-right:0;border-right:0}
.ptah-info-icon{display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;border-radius:11px;background:var(--ptah-brand-soft);color:var(--ptah-brand)}
.ptah-info-icon svg{width:20px;height:20px}
.ptah-info-strip p{display:flex;flex-direction:column;margin:0}
.ptah-info-strip strong{color:var(--ptah-ink);font-size:12px}
.ptah-info-strip small{color:var(--ptah-muted);font-size:10px}

.ptah-page-hero{padding:42px 0;background:linear-gradient(135deg,var(--ptah-brand-deep),var(--ptah-brand));color:#fff}
.ptah-page-hero .ptah-eyebrow{margin-bottom:7px;color:#d7eee5}
.ptah-page-hero h1{margin:0;color:#fff;font-size:clamp(30px,4vw,46px);letter-spacing:-.03em}
.ptah-page-hero p{max-width:650px;margin:9px 0 0;color:rgba(255,255,255,.74)}
.ptah-content-shell{padding-top:34px;padding-bottom:70px}
.ptah-content-card{padding:28px;border:1px solid var(--ptah-line);border-radius:20px;background:#fff;box-shadow:var(--ptah-shadow-soft)}
.ptah-entry-content>*:first-child{margin-top:0}
.ptah-entry-content>*:last-child{margin-bottom:0}
.ptah-entry-content h2,.ptah-entry-content h3{color:var(--ptah-ink)}
.ptah-entry-content table{width:100%;border-collapse:collapse}
.ptah-entry-content th,.ptah-entry-content td{padding:11px;border:1px solid var(--ptah-line);text-align:left}
.ptah-entry-content th{background:var(--ptah-brand-soft)}
.ptah-entry-content input,.ptah-entry-content select,.ptah-entry-content textarea{max-width:100%}
.ptah-entry-content .ptah-front{max-width:none;margin:0;padding:0}
.ptah-entry-content .ptah-front>.ptah-front-head{display:none}
.ptah-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding-top:40px;padding-bottom:70px}
.ptah-post-card{overflow:hidden;border:1px solid var(--ptah-line);border-radius:18px;background:#fff;box-shadow:var(--ptah-shadow-soft)}
.ptah-post-thumb{display:block;aspect-ratio:16/9;overflow:hidden}
.ptah-post-thumb img{width:100%;height:100%;object-fit:cover}
.ptah-post-content{padding:20px}
.ptah-post-content small{color:var(--ptah-muted)}
.ptah-post-content h2{margin:6px 0 10px;font-size:20px;line-height:1.35}
.ptah-post-content h2 a{color:var(--ptah-ink)}
.ptah-post-content p{margin-bottom:0;color:var(--ptah-muted);font-size:14px}
.ptah-empty-state,.ptah-not-found{text-align:center}
.ptah-empty-state{grid-column:1/-1;padding:50px;border:1px dashed #bcd2ca;border-radius:18px;background:#fff}
.ptah-empty-state h2{margin:0 0 6px;color:var(--ptah-ink)}
.ptah-empty-state p{margin:0;color:var(--ptah-muted)}
.ptah-not-found{padding:100px 20px}
.ptah-not-found span{display:block;color:var(--ptah-mint);font-size:120px;font-weight:850;line-height:1}
.ptah-not-found h1{margin:-10px 0 8px;color:var(--ptah-ink)}
.ptah-not-found p{margin:0 0 24px;color:var(--ptah-muted)}

.ptah-site-footer{border-top:1px solid var(--ptah-line);background:#fff}
.ptah-footer-grid{min-height:150px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.ptah-footer-brand{display:flex;align-items:center;gap:14px;max-width:600px}
.ptah-footer-brand .ptah-brand-mark{width:44px;height:44px;flex-basis:44px;border-radius:13px;font-size:12px}
.ptah-footer-brand strong{color:var(--ptah-ink);font-size:13px}
.ptah-footer-brand p,.ptah-footer-meta p{margin:3px 0 0;color:var(--ptah-muted);font-size:11px}
.ptah-footer-meta{text-align:right}
.ptah-footer-menu{display:flex;justify-content:flex-end;gap:15px;list-style:none;margin:0 0 4px;padding:0}
.ptah-footer-menu a{color:var(--ptah-muted);font-size:12px;font-weight:650}

@media(max-width:1050px){
    .ptah-brand-copy strong{max-width:250px;overflow:hidden;text-overflow:ellipsis}
    .ptah-primary-nav{gap:12px}
    .ptah-menu a{padding-inline:9px}
    .ptah-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .ptah-guest-grid{grid-template-columns:1fr minmax(340px,.75fr);gap:45px}
}

@media(max-width:820px){
    .admin-bar .ptah-site-header{top:46px}
    .ptah-header-inner{min-height:70px}
    .ptah-brand-mark{width:44px;height:44px;flex-basis:44px;border-radius:14px;font-size:12px}
    .ptah-brand-copy strong{max-width:330px}
    .ptah-menu-toggle{display:block}
    .ptah-primary-nav{position:fixed;inset:70px 0 auto 0;max-height:calc(100vh - 70px);display:block;padding:18px 20px 24px;background:#fff;border-bottom:1px solid var(--ptah-line);box-shadow:var(--ptah-shadow);overflow-y:auto;opacity:0;visibility:hidden;transform:translateY(-8px)}
    .admin-bar .ptah-primary-nav{inset:116px 0 auto}
    .ptah-primary-nav.is-open{opacity:1;visibility:visible;transform:none}
    .ptah-menu{display:block}
    .ptah-menu a{min-height:46px;padding-inline:12px}
    .ptah-menu .sub-menu{position:static;display:block;min-width:0;margin-left:16px;padding:0;border:0;box-shadow:none;opacity:1;visibility:visible;transform:none}
    .ptah-user-menu{margin-top:14px;padding-top:14px;border-top:1px solid var(--ptah-line)}
    .ptah-user-trigger{width:100%}
    .ptah-user-trigger>span:nth-child(2){flex:1}
    .ptah-user-dropdown{position:static;display:none;width:100%;margin-top:8px;box-shadow:none;opacity:1;visibility:visible;transform:none}
    .ptah-user-menu.is-open .ptah-user-dropdown{display:block}
    .ptah-header-login{width:100%;margin-top:14px}
    .ptah-guest-hero{padding:55px 0 70px}
    .ptah-guest-grid{grid-template-columns:1fr}
    .ptah-hero-copy h1{font-size:48px}
    .ptah-login-card{max-width:520px;width:100%;margin:auto}
    .ptah-dashboard-welcome{align-items:flex-start;flex-direction:column}
    .ptah-profile-summary{min-width:280px}
    .ptah-info-strip{grid-template-columns:1fr}
    .ptah-info-strip>div,.ptah-info-strip>div:first-child,.ptah-info-strip>div:last-child{padding:13px 0;border-right:0;border-bottom:1px solid var(--ptah-line)}
    .ptah-info-strip>div:last-child{border-bottom:0}
    .ptah-post-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:600px){
    .ptah-shell{width:min(calc(100% - 26px),var(--ptah-shell))}
    .ptah-brand-copy strong{max-width:205px;font-size:12px}
    .ptah-brand-copy small{font-size:10px}
    .ptah-guest-hero{min-height:auto}
    .ptah-hero-copy h1{font-size:38px}
    .ptah-hero-copy>p{font-size:16px}
    .ptah-feature-list{display:grid;gap:9px}
    .ptah-trust-row{flex-direction:column;align-items:flex-start}
    .ptah-login-card{padding:24px;border-radius:20px}
    .ptah-dashboard{padding:25px 0 55px}
    .ptah-dashboard-welcome{padding:25px 21px;border-radius:19px}
    .ptah-dashboard-welcome h1{font-size:26px}
    .ptah-profile-summary{width:100%;min-width:0}
    .ptah-section-heading{align-items:flex-start;flex-direction:column;gap:4px;margin-top:31px}
    .ptah-section-heading h2{font-size:23px}
    .ptah-action-grid{grid-template-columns:1fr}
    .ptah-action-card{min-height:112px}
    .ptah-page-hero{padding:30px 0}
    .ptah-content-shell{padding-top:18px;padding-bottom:45px}
    .ptah-content-card{padding:15px;border-radius:15px}
    .ptah-post-grid{grid-template-columns:1fr}
    .ptah-footer-grid{align-items:flex-start;flex-direction:column;padding-top:28px;padding-bottom:28px}
    .ptah-footer-meta{text-align:left}
    .ptah-footer-menu{justify-content:flex-start}
}

@media(prefers-reduced-motion:reduce){
    html{scroll-behavior:auto}
    *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}
