/* V199: Public homepage lower-sections premium redesign. UI-only; preserves app workflows. */
.ds-home .ds-lower{padding:clamp(34px,4.2vw,58px) 22px;background:linear-gradient(180deg,#f8fafc 0%,#f1f5f9 100%);}
.ds-home .ds-lower .ds-section-inner{max-width:1240px;margin:0 auto;}
.ds-home #mock-tests .ds-section-head{align-items:center;margin-bottom:26px;}
.ds-home #mock-tests .ds-section-head h2{font-size:clamp(27px,3vw,36px);font-weight:850;letter-spacing:-1px;}
.ds-home #mock-tests .ds-section-head p{font-size:14px;line-height:1.65;max-width:680px;}
.ds-home #mock-tests .ds-view-all{border:0;background:linear-gradient(135deg,#f6d66f,#d3a62b);color:#101b2b;border-radius:12px;padding:13px 18px;box-shadow:0 8px 18px rgba(184,137,18,.18);white-space:nowrap;}
.ds-home .ds-free-mock-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:18px;}
.ds-home .ds-free-mock-empty{min-height:112px;padding:22px 24px;border:1px solid #e0e8f1;border-radius:18px;background:linear-gradient(120deg,#fff 0%,#f8fbff 100%);box-shadow:0 8px 24px rgba(16,42,67,.045);color:#62748a;}
.ds-home .ds-free-mock-empty .ds-free-mock-icon{flex:0 0 54px;width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:#fff4cc;color:#9c7411;font-size:25px;margin:0;}
.ds-home .ds-free-mock-empty strong{font-size:17px;line-height:1.4;color:#102a43;}
.ds-home .ds-free-mock-empty p{font-size:13px;line-height:1.6;color:#64748b;margin-top:5px;}
.ds-home .ds-mini-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.ds-home .ds-mini{position:relative;overflow:hidden;min-height:116px;padding:22px 20px 20px 74px;border:1px solid #e2e8f0;border-radius:17px;background:#fff;box-shadow:0 8px 24px rgba(16,42,67,.045);transition:transform .2s ease,box-shadow .2s ease;}
.ds-home .ds-mini:before{position:absolute;left:18px;top:22px;width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#fff4ce;color:#9b7412;font-size:21px;font-weight:800;}
.ds-home #mock-tests .ds-mini:nth-child(1):before{content:'▤';}
.ds-home #mock-tests .ds-mini:nth-child(2):before{content:'◉';}
.ds-home #mock-tests .ds-mini:nth-child(3):before{content:'✎';}
.ds-home #contact .ds-mini:nth-child(1):before{content:'☎';}
.ds-home #contact .ds-mini:nth-child(2):before{content:'⌖';}
.ds-home #contact .ds-mini:nth-child(3):before{content:'◌';}
.ds-home .ds-mini:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(16,42,67,.09);border-color:#e4c45e;}
.ds-home .ds-mini h4{font-size:15px;font-weight:800;margin:0 0 7px;color:#102a43;}
.ds-home .ds-mini p{font-size:13px;line-height:1.6;color:#66778b;overflow-wrap:anywhere;}
.ds-home #resources .public-resource-hub{padding:clamp(22px,3vw,34px);border:1px solid #e2e8f0;border-radius:24px;background:linear-gradient(135deg,#fff 0%,#f8fbff 100%);box-shadow:0 14px 36px rgba(16,42,67,.055);}
.ds-home #resources .public-resource-head{align-items:center;margin-bottom:22px;}
.ds-home #resources .public-resource-head .eyebrow{display:inline-block;font-size:10px;letter-spacing:2px;font-weight:900;color:#b88a12;margin-bottom:5px;}
.ds-home #resources .public-resource-head h3{font-size:clamp(23px,2.7vw,31px);letter-spacing:-.7px;color:#102a43;margin:0 0 5px;}
.ds-home #resources .resource-trust{border:1px solid #d7eee1;padding:10px 14px;}
.ds-home #resources .course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.ds-home #resources .course-card{min-width:0;overflow:hidden;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(16,42,67,.05);padding:0 18px 18px;}
.ds-home #resources .course-cover{margin:0 -18px 16px;height:165px;position:relative;overflow:hidden;background:linear-gradient(135deg,#102a43,#234d73);}
.ds-home #resources .course-cover img{width:100%;height:100%;object-fit:cover;}
.ds-home #resources .course-card h4{font-size:17px;color:#102a43;margin:0 0 8px;}
.ds-home #resources .course-description-formatted{font-size:13px;line-height:1.65;color:#66778b;}
.ds-home #resources .mini-stats{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px;}
.ds-home #resources .mini-stats span{font-size:11px;font-weight:750;color:#35506c;background:#f1f5f9;border-radius:999px;padding:6px 9px;}
.ds-home #resources .empty{grid-column:1/-1;display:flex;align-items:center;gap:16px;padding:22px 24px;margin:0;border:1px dashed #d6e0eb;border-radius:16px;background:#fff;color:#64748b;font-size:14px;}
.ds-home #resources .empty:before{content:'📚';width:48px;height:48px;display:grid;place-items:center;flex:0 0 48px;background:#fff4ce;border-radius:14px;font-size:23px;}
.ds-home #results .section-title{min-height:0!important;margin:0 auto;padding:30px 24px;max-width:760px;text-align:center;border:1px solid #e2e8f0;border-radius:22px;background:radial-gradient(circle at top right,rgba(212,175,55,.13),transparent 36%),#fff;box-shadow:0 12px 32px rgba(16,42,67,.05);}
.ds-home #results .section-title .eyebrow{font-size:10px;letter-spacing:2px;font-weight:900;color:#b88a12;text-transform:uppercase;}
.ds-home #results .section-title h3{font-size:clamp(25px,3vw,34px);margin:8px 0;color:#102a43;letter-spacing:-.8px;}
.ds-home #results .section-title p{margin:0 auto;max-width:540px;color:#66778b;font-size:14px;line-height:1.65;}
.ds-home #results .results-public-head{margin-bottom:22px;}
.ds-home #results .result-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.ds-home #contact{padding-top:32px;padding-bottom:32px;background:#fff;}
.ds-home #contact .ds-mini{min-height:104px;border-radius:16px;background:linear-gradient(145deg,#fff,#f8fafc);}
.ds-home .public-chapter-notes-section{background:linear-gradient(180deg,#f8fafc,#eef3f8);}
.ds-home .public-chapter-notes-section .ds-section-head{align-items:center;margin-bottom:24px;}
.ds-home .public-chapter-notes-section .ds-kicker{font-size:10px;letter-spacing:2px;font-weight:900;color:#b88a12;}
.ds-home .public-chapter-notes-section h2{font-size:clamp(26px,3vw,35px);color:#102a43;letter-spacing:-.8px;margin:8px 0;}
.ds-home .public-chapter-notes-section h2 span{color:#bd8d16;}
.ds-home .public-chapter-notes-section .ds-section-head p{color:#66778b;line-height:1.65;}
.ds-home .public-chapter-notes-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.ds-home .public-chapter-note-card{min-width:0;border:1px solid #e2e8f0;border-radius:18px;padding:20px;background:#fff;box-shadow:0 8px 24px rgba(16,42,67,.045);transition:transform .2s ease,box-shadow .2s ease;}
.ds-home .public-chapter-note-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(16,42,67,.09);}
.ds-home .public-chapter-notes-grid .empty{grid-column:1/-1;text-align:center;padding:24px;border:1px dashed #d6e0eb;border-radius:16px;background:#fff;color:#64748b;}
.ds-home .ds-section{scroll-margin-top:82px;}
@media(max-width:900px){.ds-home #resources .course-grid,.ds-home .public-chapter-notes-grid,.ds-home #results .result-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.ds-home .ds-free-mock-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){.ds-home .ds-lower{padding:30px 14px;}.ds-home #mock-tests .ds-section-head{gap:14px;}.ds-home #mock-tests .ds-section-head h2{font-size:26px;}.ds-home #mock-tests .ds-section-head p{font-size:13px;}.ds-home #mock-tests .ds-view-all{white-space:normal;max-width:100%;}.ds-home .ds-free-mock-grid,.ds-home .ds-mini-grid,.ds-home #resources .course-grid,.ds-home .public-chapter-notes-grid,.ds-home #results .result-card-grid{grid-template-columns:1fr;}.ds-home .ds-mini{padding:18px 16px 18px 66px;min-height:96px;}.ds-home .ds-mini:before{left:14px;top:18px;width:38px;height:38px;}.ds-home #resources .public-resource-hub{padding:18px 14px;border-radius:18px;}.ds-home #resources .public-resource-head{display:flex;align-items:flex-start;flex-direction:column;gap:10px;}.ds-home #resources .course-cover{height:180px;}.ds-home #results .section-title{padding:24px 17px;}.ds-home .ds-free-mock-empty{align-items:flex-start;padding:18px;}.ds-home .public-chapter-notes-section .ds-section-head{align-items:flex-start;}}
