.eahp-house-page .entry-title,
.eahp-house-page .page-title,
.eahp-house-page .elementor-page-title{
    display:none !important;
}

/* El Alsson House Points — Premium UI */
.eahp-wrap{
    --navy:#0b2142;
    --navy2:#123b70;
    --red:#b21f2d;
    --gold:#d8a83e;
    --ink:#101828;
    max-width:1280px;
    margin:0 auto;
    padding:0 20px 80px;
    color:var(--ink);
    font-family:Arial,Helvetica,sans-serif;
}
.eahp-premium{overflow:hidden}
.eahp-hero{
    position:relative;
    overflow:hidden;
    margin:0 0 34px;
    min-height:420px;
    border-radius:0 0 34px 34px;
    background:
      radial-gradient(circle at 82% 22%,rgba(194,31,45,.88),transparent 31%),
      radial-gradient(circle at 14% 78%,rgba(27,76,145,.92),transparent 38%),
      linear-gradient(120deg,#071a38 0%,#123b70 50%,#9e1d2a 100%);
    color:#fff;
    box-shadow:0 22px 65px rgba(11,33,66,.22);
}
.eahp-hero:after{
    content:"";
    position:absolute; inset:0;
    background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.06) 50%,transparent 65%);
    transform:translateX(-100%);
    animation:eahp-sweep 5s ease-in-out infinite;
}
.eahp-hero-inner{
    position:relative; z-index:2;
    max-width:950px; margin:0 auto; padding:72px 25px 65px;
    text-align:center;
}
.eahp-school-mark{
    font-size:13px; font-weight:800; letter-spacing:3px; opacity:.9;
}
.eahp-school-mark span,.eahp-kicker span{color:#e3b650}
.eahp-kicker{
    margin-top:18px; font-size:11px; letter-spacing:4px; font-weight:700; color:#dfe9f8;
}
.eahp-hero h1{
    margin:17px 0 8px; line-height:.96;
    font-size:clamp(44px,7vw,82px); letter-spacing:1px;
    text-transform:uppercase;
}
.eahp-hero h1 span{display:block;font-weight:300;color:#fff}
.eahp-hero h1 strong{
    display:block;
    font-weight:900;
    background:linear-gradient(90deg,#fff,#e6b849,#fff);
    -webkit-background-clip:text;background-clip:text;color:transparent;
}
.eahp-title-line{display:flex;align-items:center;justify-content:center;gap:14px;margin:18px 0 20px;color:#e5b74d;font-size:11px;font-weight:900;letter-spacing:4px}
.eahp-title-line i{display:block;width:70px;height:1px;background:linear-gradient(90deg,transparent,#e5b74d)}
.eahp-title-line i:last-child{background:linear-gradient(90deg,#e5b74d,transparent)}
.eahp-hero p{max-width:790px;margin:0 auto;line-height:1.8;font-size:16px;color:#e7eef8}
.eahp-hero-glow{position:absolute;border-radius:50%;filter:blur(5px);opacity:.35}
.eahp-glow-red{width:300px;height:300px;right:-90px;top:-120px;background:#c32032}
.eahp-glow-blue{width:300px;height:300px;left:-130px;bottom:-160px;background:#1762b5}

.eahp-cup{
    padding:34px 28px 30px; margin:0 0 30px;
    border:1px solid #e8dfc9; border-radius:26px;
    background:linear-gradient(180deg,#fff,#fbfaf6);
    box-shadow:0 15px 45px rgba(18,35,60,.08);
}
.eahp-section-heading{display:flex;align-items:center;gap:22px;justify-content:center;text-align:center}
.eahp-heading-line{height:1px;flex:1;max-width:160px;background:linear-gradient(90deg,transparent,#d8a83e)}
.eahp-heading-line:last-child{background:linear-gradient(90deg,#d8a83e,transparent)}
.eahp-small-label{font-size:10px;letter-spacing:3px;font-weight:900;color:#8b7442}
.eahp-section-heading h2{margin:5px 0 3px;font-size:30px;letter-spacing:1px}
.eahp-section-heading h2 span{font-size:21px}
.eahp-section-heading p{margin:0;color:#7a7f88;font-size:10px;letter-spacing:3px;font-weight:800}
.eahp-standings{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:26px}
.eahp-standing{
    position:relative;padding:22px 12px 20px;text-align:center;
    border-radius:18px;border:1px solid #e9e5dc;background:#fff;
    transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}
.eahp-standing:hover{transform:translateY(-5px);box-shadow:0 14px 28px rgba(0,0,0,.08)}
.eahp-rank{font-size:11px;font-weight:900;color:#8a8f97;letter-spacing:1px}
.eahp-standing-name{margin-top:6px;font-size:15px;font-weight:900}
.eahp-standing-points{margin-top:8px;font-size:24px;font-weight:900}
.eahp-standing-points span{font-size:9px;letter-spacing:2px;color:#858990}

.eahp-houses{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.eahp-house-card{
    position:relative;overflow:hidden;border-radius:28px;
    background:#fff;border:1px solid rgba(15,30,55,.10);
    box-shadow:0 15px 45px rgba(14,28,49,.11);
    transition:transform .42s cubic-bezier(.2,.8,.2,1),box-shadow .42s ease,border-color .42s ease;
}
.eahp-house-card:hover{transform:translateY(-9px) scale(1.012);box-shadow:0 28px 65px rgba(14,28,49,.18);border-color:var(--house-color)}
.eahp-card-shine{
    position:absolute;z-index:3;inset:-80% -20%;
    background:linear-gradient(110deg,transparent 43%,rgba(255,255,255,.35) 50%,transparent 57%);
    transform:translateX(-60%) rotate(10deg);transition:transform .8s ease;pointer-events:none;
}
.eahp-house-card:hover .eahp-card-shine{transform:translateX(45%) rotate(10deg)}
.eahp-logo-frame{
    position:relative;display:flex;align-items:center;justify-content:center;
    min-height:390px;padding:18px 35px;
    background:radial-gradient(circle at 50% 45%,#fff,#f2f3f5);
}
.eahp-house-card:hover .eahp-logo-frame img{transform:scale(1.045) translateY(-4px) rotate(-.5deg)}
.eahp-logo-frame img{
    width:100%;max-width:500px;height:auto;display:block;
    transition:transform .55s cubic-bezier(.2,.8,.2,1);
    filter:drop-shadow(0 16px 18px rgba(0,0,0,.13));
}
.eahp-house-badge{
    position:absolute;top:18px;left:20px;z-index:4;
    padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.9);
    border:1px solid #e5e0d6;font-size:9px;letter-spacing:2px;font-weight:900;color:#777;
}
.eahp-house-info{padding:21px 25px 23px;border-top:4px solid var(--house-color)}
.eahp-house-number{font-size:9px;letter-spacing:3px;font-weight:900;color:#969ba2}
.eahp-house-info h2{margin:4px 0 7px;color:var(--house-color);font-size:32px;letter-spacing:1px}
.eahp-motto{font-size:11px;letter-spacing:1.7px;font-weight:800;color:#59606b}
.eahp-coordinator{margin-top:8px;font-size:11px;font-weight:800;color:#6d7480;letter-spacing:.4px}
.eahp-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:19px;padding-top:15px;border-top:1px solid #ece9e2}
.eahp-card-footer span{font-size:12px;color:#777}.eahp-card-footer strong{font-size:20px;color:#111}
.eahp-card-footer a{color:#111;text-decoration:none!important;font-size:10px;letter-spacing:1.5px;font-weight:900}
.eahp-card-footer a span{font-size:17px;color:var(--house-color);margin-left:4px}

.eahp-values{
    margin-top:32px;padding:46px 28px 34px;border-radius:28px;text-align:center;
    background:linear-gradient(145deg,#fff,#f5f7fa);
    border:1px solid #e2e6ec;
    box-shadow:0 15px 45px rgba(14,28,49,.07);
}
.eahp-values h2{margin:8px 0 10px;font-size:32px;letter-spacing:.5px;color:#10264a}
.eahp-values-intro{
    max-width:760px;margin:0 auto 28px;color:#626b78;line-height:1.75;font-size:14px;
}
.eahp-values-grid{
    display:grid;grid-template-columns:repeat(4,1fr);gap:14px;
}
.eahp-value-card{
    position:relative;background:#fff;border:1px solid #e4e8ee;border-radius:20px;
    padding:25px 16px 23px;box-shadow:0 8px 24px rgba(14,28,49,.05);
    transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}
.eahp-value-card:hover{
    transform:translateY(-6px);box-shadow:0 16px 30px rgba(14,28,49,.10);border-color:#d4aa45;
}
.eahp-value-icon{display:flex;align-items:center;justify-content:center;margin:0 auto 12px;
    width:52px;height:52px;border-radius:50%;background:#f7f2e5;font-size:25px;
}
.eahp-value-card strong{display:block;color:#132b50;font-size:14px;letter-spacing:1px}
.eahp-value-card small{display:block;margin-top:9px;color:#747b85;font-size:11px;line-height:1.6}

.eahp-login-panel{
    position:relative;overflow:hidden;margin-top:32px;padding:0;
    border-radius:28px;text-align:center;color:#fff;
    background:
      radial-gradient(circle at 12% 50%,rgba(194,31,45,.82),transparent 30%),
      radial-gradient(circle at 88% 50%,rgba(29,91,169,.82),transparent 30%),
      linear-gradient(120deg,#071b3a,#123d75 52%,#9e1e2b);
    box-shadow:0 20px 55px rgba(7,26,51,.2);
}
.eahp-login-panel:before{
    content:"";position:absolute;inset:14px;border:1px solid rgba(255,255,255,.16);
    border-radius:21px;pointer-events:none;
}
.eahp-login-content{position:relative;z-index:2;padding:52px 25px}
.eahp-login-panel h2{margin:9px 0 10px;font-size:34px;letter-spacing:.5px}
.eahp-login-panel p{max-width:700px;margin:0 auto 24px;color:#edf3fb;line-height:1.75;font-size:14px}
.eahp-login-button{
    display:inline-flex;align-items:center;gap:11px;padding:15px 28px;border-radius:999px;
    background:#fff;color:#10284b!important;text-decoration:none!important;font-weight:900;
    font-size:11px;letter-spacing:1.4px;box-shadow:0 9px 27px rgba(0,0,0,.22);
    transition:transform .25s ease,box-shadow .25s ease;
}
.eahp-login-button:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(0,0,0,.28)}
.eahp-google-icon{font-weight:900;font-size:18px;color:#4285f4}
.eahp-login-note{margin-top:15px;font-size:10px;color:#c8d5e6}
@media(max-width:900px){
    .eahp-houses{grid-template-columns:1fr}
    .eahp-standings{grid-template-columns:repeat(2,1fr)}
    .eahp-values-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
    .eahp-wrap{padding:0 12px 50px}
    .eahp-hero{min-height:auto;border-radius:0 0 25px 25px}
    .eahp-hero-inner{padding:48px 15px 45px}
    .eahp-school-mark{font-size:10px;letter-spacing:1.5px}
    .eahp-kicker{font-size:9px;letter-spacing:2px}
    .eahp-hero h1{font-size:42px}
    .eahp-hero p{font-size:14px}
    .eahp-section-heading{gap:8px}
    .eahp-heading-line{max-width:50px}
    .eahp-cup{padding:25px 15px}
    .eahp-standings{grid-template-columns:1fr 1fr}
    .eahp-logo-frame{min-height:0;padding:15px 20px}
    .eahp-values-grid{grid-template-columns:1fr 1fr}
    .eahp-values-intro{font-size:13px}
    .eahp-login-panel h2{font-size:25px}
}

/* v0.6.1 — British School Houses page: remove theme sidebar/title and use full-width content. */
body.eahp-house-page .site-content,
body.eahp-house-page .content-area,
body.eahp-house-page .site-main,
body.eahp-house-page .main-content,
body.eahp-house-page .container,
body.eahp-house-page .content-wrapper {
    width:100% !important;
    max-width:none !important;
}
body.eahp-house-page #secondary,
body.eahp-house-page .sidebar,
body.eahp-house-page .widget-area,
body.eahp-house-page aside.sidebar,
body.eahp-house-page .site-sidebar,
body.eahp-house-page .right-sidebar {
    display:none !important;
}
body.eahp-house-page .entry-header,
body.eahp-house-page .page-header,
body.eahp-house-page .entry-title,
body.eahp-house-page .page-title,
body.eahp-house-page .elementor-page-title {
    display:none !important;
}
body.eahp-house-page .eahp-wrap {
    width:100% !important;
    max-width:1500px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    box-sizing:border-box;
}
body.eahp-house-page .eahp-premium {
    margin-top:0 !important;
}


/* Read-only transaction history opened from VIEW HOUSE */
.eahp-house-report{padding-top:28px;padding-bottom:70px}
.eahp-house-report-hero{position:relative;isolation:isolate;overflow:hidden;padding:30px clamp(22px,5vw,60px) 34px;margin-bottom:24px;border-radius:24px;color:#fff;background:linear-gradient(120deg,#071a38 0%,#123b70 58%,var(--house-color,#b21f2d) 130%);box-shadow:0 18px 45px rgba(11,33,66,.16)}
.eahp-house-report-hero:after{content:"";position:absolute;z-index:-1;right:-80px;top:-140px;width:340px;height:340px;border-radius:50%;border:1px solid rgba(255,255,255,.14);box-shadow:0 0 0 30px rgba(255,255,255,.035),0 0 0 65px rgba(255,255,255,.025);pointer-events:none}
.eahp-house-report-hero .eahp-report-back{position:relative;z-index:2;display:inline-block;margin-bottom:24px;color:#fff;border-color:rgba(255,255,255,.4);background:rgba(255,255,255,.09)}
.eahp-house-report-hero .eahp-report-back:hover{background:#fff;color:#123b70}
.eahp-house-report-identity{position:relative;z-index:1;display:flex;align-items:center;gap:clamp(20px,4vw,42px)}
.eahp-house-report-logo{flex:0 0 clamp(120px,17vw,205px);width:clamp(120px,17vw,205px);height:clamp(120px,17vw,205px);display:flex;align-items:center;justify-content:center;padding:10px;border-radius:22px;background:rgba(255,255,255,.96);box-shadow:0 12px 30px rgba(0,0,0,.2)}
.eahp-house-report-logo img{display:block;width:100%;height:100%;object-fit:contain}
.eahp-house-report-heading{min-width:0}
.eahp-house-report-hero .eahp-report-kicker{display:block;font-size:11px;font-weight:800;letter-spacing:2px;opacity:.9}
.eahp-house-report-hero h1{position:relative;z-index:1;color:#fff!important;font-size:clamp(38px,5.4vw,68px)!important;line-height:1.02!important;font-weight:900!important;letter-spacing:1px;margin:12px 0 10px!important}
.eahp-house-report-subtitle{font-size:clamp(11px,1.4vw,14px);font-weight:800;letter-spacing:1.4px;color:#f0f4fa;line-height:1.6}
.eahp-house-report-subtitle span{color:#f2c65e;padding:0 5px}
.eahp-house-report-hero p{position:relative;z-index:1;color:#e8eef7!important;margin:12px 0 0!important;font-size:14px}
.eahp-house-report-stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:680px;margin:28px 0 0 auto}
.eahp-house-report-stat{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:12px;padding:17px 22px;border:1px solid rgba(255,255,255,.27);border-radius:16px;background:rgba(3,14,34,.28);backdrop-filter:blur(8px)}
.eahp-house-report-stat>span{font-size:11px;font-weight:900;letter-spacing:1.6px;color:#e8eef7}
.eahp-house-report-stat>strong{grid-column:2;grid-row:1 / span 2;font-size:clamp(34px,4vw,48px);font-weight:900;line-height:1;color:#fff!important}
.eahp-house-report-stat>small{font-size:10px;letter-spacing:1.5px;color:#e8eef7}
.eahp-house-report-rank{border-color:color-mix(in srgb,var(--house-color) 60%,white);background:rgba(255,255,255,.1)}
.eahp-report-back{display:inline-block;padding:9px 13px;border:1px solid #dce3ec;border-radius:9px;background:#fff;color:#123b70;text-decoration:none;font-weight:800}
.eahp-report-back:hover{color:#b21f2d}
.eahp-house-report-card{margin:0}.eahp-house-report-card .eahp-staff-section-head{gap:18px;flex-wrap:wrap}.eahp-house-report-card .eahp-staff-section-head h2{color:#15233a}.eahp-house-report-card .eahp-month-filter label{display:flex;gap:8px;align-items:center}.eahp-house-report-card .eahp-report-table{min-width:760px}
.eahp-house-report .eahp-transaction-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 16px;min-width:250px}.eahp-house-report .eahp-transaction-detail-grid p{margin:5px 0;white-space:normal}.eahp-house-report .eahp-transaction-detail-grid .eahp-transaction-comment{grid-column:1/-1}
.eahp-house-report-message{margin:45px auto;padding:32px;max-width:760px;border:1px solid #e3e9f1;border-radius:18px;background:#fff;box-shadow:0 12px 32px rgba(11,33,66,.08);text-align:center}.eahp-house-report-message h2{color:#123b70}.eahp-house-report-message p{color:#53647a;line-height:1.7}.eahp-house-report-message .eahp-report-back{margin:8px 0 15px}
@media(max-width:700px){.eahp-house-report{padding-left:10px;padding-right:10px}.eahp-house-report-hero{padding:24px 17px;border-radius:17px}.eahp-house-report-identity{align-items:flex-start;gap:15px}.eahp-house-report-logo{flex-basis:94px;width:94px;height:94px;padding:6px;border-radius:14px}.eahp-house-report-hero .eahp-report-kicker{font-size:9px;letter-spacing:1px}.eahp-house-report-hero h1{font-size:clamp(30px,8vw,42px)!important;margin:8px 0!important}.eahp-house-report-subtitle{font-size:9px;letter-spacing:.5px}.eahp-house-report-hero p{font-size:12px}.eahp-house-report-stats{grid-template-columns:1fr 1fr;gap:9px;margin-top:22px}.eahp-house-report-stat{padding:13px 11px;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.eahp-house-report-stat>span{font-size:9px;letter-spacing:.7px}.eahp-house-report-stat>strong{font-size:34px}.eahp-house-report-stat>small{font-size:8px}.eahp-house-report-card{padding:16px}.eahp-house-report-card .eahp-staff-section-head{display:block}.eahp-house-report-card .eahp-month-filter{margin-top:14px}.eahp-house-report .eahp-transaction-detail-grid{grid-template-columns:1fr}}

/* v0.8.7 teacher transaction filter and totals */
.eahp-house-report-card .eahp-teacher-filter select{min-width:260px;max-width:360px}
.eahp-house-report-card .eahp-report-table td small{display:inline-block;margin-top:4px;color:#64748b;font-size:11px;white-space:nowrap}
@media(max-width:700px){.eahp-house-report-card .eahp-teacher-filter select{min-width:0;max-width:100%;width:100%}.eahp-house-report-card .eahp-teacher-filter label{align-items:flex-start;flex-direction:column}}
