.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;
}
