/* TNPSC Group IV - Previous Year Questions card layout */
.pyq-page{padding:28px 0 48px}
.pyq-heading h1{margin:0 0 8px;font-size:27px;color:#0b2f52}
.pyq-heading p{margin:0 0 18px;color:#63748a;font-size:16px}
.pyq-filter-card{background:#fff;border-radius:20px;padding:22px;box-shadow:0 10px 30px rgba(19,45,78,.08);border:1px solid #e8edf4;margin-bottom:18px}
.pyq-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.pyq-filter-form label{display:block;font-weight:700;color:#17324d}
.pyq-filter-form label>span{display:block;margin-bottom:7px}
.pyq-filter-form select,.pyq-filter-form input{width:100%;box-sizing:border-box;border:1px solid #ccd7e5;border-radius:11px;background:#fff;padding:11px 13px;font:inherit;color:#17324d;outline:none}
.pyq-filter-form select:focus,.pyq-filter-form input:focus{border-color:#3f6bd9;box-shadow:0 0 0 3px rgba(63,107,217,.10)}
.pyq-search{margin-top:16px}.pyq-actions{display:flex;gap:8px;margin-top:12px}.pyq-btn{display:inline-block;border:0;border-radius:11px;padding:10px 20px;font-weight:800;text-decoration:none;cursor:pointer}.pyq-btn.primary{background:#5636d9;color:#fff}.pyq-btn.reset{background:#eaf0ff;color:#314a91}
.pyq-summary{font-size:17px;margin:12px 0 14px;color:#20344d}.pyq-summary span{margin:0 6px;color:#a2adba}
.pyq-list{display:flex;flex-direction:column;gap:15px}
.pyq-card{background:#fff;border:1px solid #e2e8f0;border-left:5px solid #365ed8;border-radius:16px;padding:17px 19px;box-shadow:0 5px 18px rgba(25,49,82,.06)}
.pyq-card:hover{box-shadow:0 8px 24px rgba(25,49,82,.10);transform:translateY(-1px);transition:.15s ease}
.pyq-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:9px;font-size:13px}
.pyq-number,.pyq-year,.pyq-subject{border-radius:999px;padding:4px 9px}.pyq-number{background:#eef2ff;color:#3048a2}.pyq-year{background:#f2efff;color:#5b36b9}.pyq-subject{background:#eef8ff;color:#176087}
.pyq-card h2{font-size:18px;line-height:1.65;font-weight:600;color:#102a4a;margin:0 0 9px}.pyq-card h2 span{font-weight:800}
.pyq-answer{border-top:1px dashed #d8e0ea;padding-top:8px}.pyq-answer summary{cursor:pointer;color:#243f73;font-weight:700;list-style:none}.pyq-answer summary::-webkit-details-marker{display:none}.pyq-answer[open] summary{color:#176b3a}.pyq-answer-body{margin-top:8px;background:#f0fff6;border:1px solid #bfe8ce;border-radius:10px;padding:9px 12px;color:#176b3a}
.pyq-source{margin-top:9px;font-size:12px;color:#748398;background:#f7f9fc;border-radius:8px;padding:6px 9px}
.pyq-empty{background:#fff;border-radius:16px;padding:30px;text-align:center;color:#68788c;border:1px solid #e3e8ef}.pyq-pagination{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin-top:24px}.pyq-pagination a{padding:8px 12px;border-radius:9px;background:#edf2ff;color:#29458d;text-decoration:none;font-weight:700}.pyq-pagination a.active{background:#294fc1;color:#fff}
@media(max-width:700px){.pyq-page{padding:18px 0 35px}.pyq-heading h1{font-size:23px}.pyq-heading p{font-size:14px}.pyq-filter-card{padding:15px}.pyq-filter-grid{grid-template-columns:1fr;gap:12px}.pyq-card{padding:14px;border-left-width:4px}.pyq-card h2{font-size:16px;line-height:1.6}.pyq-list{gap:12px}.pyq-meta{font-size:12px}.pyq-actions .pyq-btn{padding:9px 16px}}
