/* Shared by every grade: subject above, learning action below, in one link. */
.reference-home .house-entry.two-row-entry{display:flex;align-items:center;justify-content:center;height:auto;min-height:80px;max-height:none;padding:8px 6px;gap:0;line-height:1.2;text-align:center}
.two-row-entry .house-entry-copy{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:4px;width:100%;min-width:0}
.two-row-entry .house-subject-name{display:block;font-size:clamp(22px,2.2vw,32px);line-height:1.15;font-weight:900;text-transform:uppercase;white-space:normal;text-wrap:balance}
.two-row-entry .house-enter-text{display:flex;align-items:center;justify-content:center;gap:5px;font-size:clamp(15px,1.3vw,19px);line-height:1.15;font-weight:700;white-space:nowrap;text-shadow:0 1px 1px #405a3440}
.reference-home .house-entry.two-row-entry svg{flex:0 0 auto;width:18px;height:18px}
.four-subject-home .house-entry.two-row-entry{min-height:100px;padding:12px 8px}
@media(min-width:701px) and (min-height:601px){.reference-home:not(.four-subject-home) .house-entry.two-row-entry{top:60%}}
@media(max-width:700px){
 .reference-home .house-entry.two-row-entry{min-height:80px;padding:9px 5px}
 .two-row-entry .house-subject-name{font-size:clamp(16px,4.6vw,20px)}
 .two-row-entry .house-enter-text{gap:3px;font-size:clamp(13px,3.6vw,16px)}
 .reference-home .house-entry.two-row-entry svg{width:12px;height:12px}
 .four-subject-home .house-entry.two-row-entry{min-height:100px;padding:10px 8px}
 .four-subject-home .house-subject-name{font-size:24px}
 .four-subject-home .science-entry .house-subject-name{font-size:20px}
 .four-subject-home .house-enter-text{font-size:17px;gap:5px}
 .four-subject-home .house-entry.two-row-entry svg{width:16px;height:16px}
}
@media(max-height:600px) and (orientation:landscape){
 .reference-home:not(.four-subject-home) .house-entry.two-row-entry{top:50%;min-height:60px;padding:5px}
 .reference-home:not(.four-subject-home) .house-subject-name{font-size:18px}
 .reference-home:not(.four-subject-home) .house-enter-text{font-size:14px;gap:4px}
 .reference-home:not(.four-subject-home) .house-entry.two-row-entry svg{width:12px;height:12px}
}
