/* Homepage schedule is isolated from the generic .schedule-list component. */
.hm-schedule-main{min-width:0}
.hm-schedule .schedule-list{overflow:hidden;background:#fff;border:1px solid #ddd4c3;border-radius:10px;box-shadow:0 14px 36px rgba(42,31,12,.06)}
.hm-schedule .schedule-list article{display:grid;grid-template-columns:80px minmax(0,1fr) auto auto;align-items:center;gap:18px;min-height:82px;padding:15px 20px;border:0;border-bottom:1px solid #e3dccf}
.hm-schedule .schedule-list article:last-child{border-bottom:0}
.hm-schedule .schedule-list time{width:auto;min-width:0;padding-right:18px;border-right:1px solid #c9bda8}
.hm-schedule .schedule-list time b{line-height:1;color:#d4aa4b}
.hm-schedule .schedule-list time span{margin-top:4px;color:#746d61;white-space:nowrap}
.hm-schedule .schedule-list article>div{min-width:0}
.hm-schedule .schedule-list h3{font-size:1rem;line-height:1.3;margin:0 0 5px;color:#17140f}
.hm-schedule .schedule-list p{line-height:1.4;color:#746d61}
.hm-schedule .schedule-list .quota{margin:0;white-space:nowrap;color:#9b722e;border-color:#cfb982;background:#fffaf0;padding:7px 10px}
.hm-schedule .schedule-list article>a{display:inline-grid;place-items:center;min-height:34px;padding:0 12px;border:1px solid #d8c59a;border-radius:18px;color:#8c641d;font-weight:700;white-space:nowrap;transition:.2s ease}
.hm-schedule .schedule-list article>a:hover{background:#17140f;border-color:#17140f;color:#efd083}
.hm-all-schedule{font-weight:700}

@media(max-width:1050px){
 .hm-schedule{grid-template-columns:minmax(0,1fr) 310px;gap:24px}
 .hm-schedule .schedule-list article{grid-template-columns:70px minmax(0,1fr) auto;gap:14px;padding:14px 16px}
 .hm-schedule .schedule-list article>a{grid-column:2/4;justify-self:start;min-height:auto;padding:0;border:0;border-radius:0}
 .hm-schedule .schedule-list article>a:hover{background:transparent;color:#17140f}
}

@media(max-width:900px){
 .hm-schedule{grid-template-columns:1fr}
 .hm-consult-card{width:100%;max-width:none}
}

@media(max-width:600px){
 .hm-schedule{padding:64px 18px;gap:30px}
 .hm-schedule .section-title{margin-bottom:25px}
 .hm-schedule .section-title h2{font-size:1.95rem;line-height:1.12}
 .hm-schedule .schedule-list{border-radius:9px}
 .hm-schedule .schedule-list article{grid-template-columns:58px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:9px 12px;min-height:0;padding:16px 14px}
 .hm-schedule .schedule-list time{grid-row:1/3;align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding-right:12px}
 .hm-schedule .schedule-list time b{font-size:1.55rem}
 .hm-schedule .schedule-list time span{font-size:.5rem}
 .hm-schedule .schedule-list article>div{grid-column:2/4;grid-row:1}
 .hm-schedule .schedule-list h3{font-size:.94rem;margin-bottom:4px;white-space:normal}
 .hm-schedule .schedule-list p{font-size:.61rem;white-space:normal}
 .hm-schedule .schedule-list .quota{grid-column:2;grid-row:2;align-self:center;justify-self:end;font-size:.56rem;padding:6px 10px}
 .hm-schedule .schedule-list article>a{grid-column:3;grid-row:2;align-self:center;justify-self:end;font-size:.62rem;margin:0;min-height:30px;padding:0 12px;border:1px solid #d8c59a;border-radius:16px}
 .hm-all-schedule{display:block;width:100%;margin-top:17px;padding:0;background:transparent;border:0;border-radius:0;text-align:right}
 .hm-consult-card{padding:34px 25px}
 .hm-consult-card h2{font-size:2rem}
 .hm-consult-card .web-btn{width:100%}
}

@media(max-width:380px){
 .hm-schedule .schedule-list article{grid-template-columns:54px minmax(0,1fr) auto;column-gap:10px}
 .hm-schedule .schedule-list article>div{grid-column:2/4}
 .hm-schedule .schedule-list .quota{grid-column:2;grid-row:2;justify-self:end;margin:0}
 .hm-schedule .schedule-list article>a{grid-column:3;grid-row:2;justify-self:end}
}
