.exam-intro{display:flex;align-items:center;gap:22px;background:#eaf3ee;border:1px solid #dbe9df;border-radius:22px;padding:28px 32px;margin:26px 0}.exam-intro-icon{width:62px;height:62px;background:#fff;border-radius:18px;color:#167968;display:grid;place-items:center;flex-shrink:0}.exam-intro-icon svg{width:30px;height:30px}.exam-intro h2{font-size:22px;margin:0 0 8px}.exam-intro p{color:#5b7065;line-height:1.6;max-width:620px;margin:0;font-size:14px}.exam-summary{margin-left:auto;display:flex;gap:12px;align-items:center;flex-shrink:0}.exam-summary strong{font-size:42px;color:#167968}.exam-summary span{font-size:12px;line-height:1.5;color:#5b7065}.exam-community-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0 22px}.exam-community{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid #dce4dc;border-radius:12px;padding:13px 16px;font-size:13px;font-weight:650;color:#526257}.exam-community.selected{background:#263f34;color:white;border-color:#263f34}.region-dot{display:inline-block;width:9px;height:9px;flex-shrink:0;border-radius:50%;background:#159c86}.region-dot.madrid{background:#e87559}.region-dot.clm{background:#c99a2e}.exam-count{background:#eef3ef;color:#526257;border-radius:6px;padding:2px 7px;font-size:11px}.selected .exam-count{background:#ffffff26;color:#fff}.exam-toolbar{display:flex;align-items:end;gap:14px;padding:20px;background:#fff;border:1px solid #e2e8df;border-radius:16px}.exam-toolbar .search-wrap{flex:1;min-width:160px}.exam-toolbar .search-wrap input{width:100%;min-height:46px}.exam-select label{display:block;font-size:11px;color:#68776e;margin-bottom:7px}.exam-select select{border:1px solid #dce4dc;border-radius:10px;background:#fff;color:#35463b;min-height:46px;padding:10px 30px 10px 12px;font:inherit;font-size:13px}.exam-results-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:29px 0 18px}.exam-results-top h2{font-size:18px;margin:0}.exam-results-top>span{font-size:12px;color:#68776e}.exam-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.exam-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e1e7df;border-radius:19px;padding:25px;min-width:0}.exam-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:23px}.exam-file-icon{width:46px;height:46px;display:grid;place-items:center;background:#eaf4ee;color:#167968;border-radius:13px}.exam-file-icon svg{width:22px;height:22px}.exam-badge{background:#edf6f1;color:#21745f;font-size:10px;font-weight:700;border-radius:6px;padding:6px 9px}.external-doc{background:#f5f0e4;color:#927023}.exam-meta{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#68776e;margin-bottom:12px}.exam-card h3{font-size:21px;line-height:1.3;margin:0 0 12px;letter-spacing:-.4px}.exam-description{color:#68776e;font-size:13px;line-height:1.7;margin:0 0 18px}.exam-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-bottom:18px}.exam-tags span{font-size:10px;color:#68776e;border:1px solid #e5e9e2;border-radius:6px;padding:5px 8px}.exam-source{font-size:11px;color:#7c887e;line-height:1.8;padding-top:14px;border-top:1px solid #edf0ea}.exam-source a{color:#5b7065;text-decoration:underline;text-underline-offset:3px}.exam-actions{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}.exam-actions .primary,.exam-actions .secondary{font-size:12px;padding:11px 14px;text-decoration:none;min-height:42px}.exam-actions svg{width:16px;height:16px}.exam-library-note,.exam-availability{display:flex;align-items:flex-start;gap:12px;color:#68776e;font-size:12px;line-height:1.7;margin:25px 0}.exam-library-note svg,.exam-availability svg{width:19px;height:19px;flex-shrink:0;margin-top:2px}.exam-library-note p,.exam-availability p{margin:0}.exam-availability{background:#f5f0e4;color:#7e693b;padding:15px 18px;border-radius:12px;margin-top:0}.exam-empty{text-align:center;padding:40px}.exam-empty>svg{width:32px;height:32px;color:#167968}.exam-empty p{color:#68776e}.exam-back{margin-bottom:20px}.exam-reader{background:#fff;border:1px solid #dce4dc;border-radius:14px;overflow:hidden;margin-top:25px}.exam-reader-bar{display:flex;justify-content:space-between;gap:15px;padding:16px 20px;font-size:12px;background:#edf4ef}.exam-reader iframe{display:block;border:0;width:100%;height:75vh;min-height:450px}.exam-reader p{font-size:12px;color:#68776e;padding:12px 20px;line-height:1.7}.exam-reader a{color:#167968;text-decoration:underline}.exam-home-link{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid #dce4dc;border-radius:17px;padding:23px;margin-top:28px}.exam-home-link>svg{color:#167968;width:30px;height:30px;flex-shrink:0}.exam-home-link h3{margin:0 0 5px;font-size:18px}.exam-home-link p{margin:0;color:#68776e;font-size:13px}.exam-home-link button{margin-left:auto;flex-shrink:0}@media(min-width:1600px){.exam-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1100px){.exam-summary{display:none}.exam-toolbar{flex-wrap:wrap}.exam-toolbar .search-wrap{flex-basis:100%}}@media(max-width:700px){.exam-grid{grid-template-columns:1fr}.exam-intro{padding:22px;gap:15px;align-items:flex-start}.exam-intro h2{font-size:19px}.exam-intro-icon{width:43px;height:43px;border-radius:12px}.exam-intro-icon svg{width:24px;height:24px}.exam-community-tabs{gap:8px}.exam-community{padding:11px 12px;font-size:12px}.exam-toolbar{padding:14px;gap:10px}.exam-select{flex:1;min-width:130px}.exam-select select{width:100%;max-width:100%;font-size:12px}.exam-results-top{align-items:flex-start;flex-direction:column;gap:7px}.exam-card{padding:22px}.exam-reader-bar{flex-direction:column}.exam-home-link{flex-wrap:wrap}.exam-home-link button{margin-left:0}.exam-home-link p{line-height:1.6}.exam-reader iframe{min-height:350px}.exam-reader .heading-row{gap:15px}}


/* Regional hemeroteca: all 17 communities remain easy to scan. */
.exam-community-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.exam-community{justify-content:flex-start;min-height:64px;text-align:left;line-height:1.35}.exam-count{margin-left:auto;flex-shrink:0}.exam-community:focus-visible{outline:3px solid #c99a2e;outline-offset:3px}#exam-results{scroll-margin-top:90px}.exam-source a{overflow-wrap:anywhere}@media(max-width:850px){.exam-community-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.exam-community{padding:12px 10px;font-size:12px;gap:7px}.exam-community-tabs{gap:8px}.exam-results-top{align-items:flex-start;flex-direction:column}}
