/* Index refinements. Components remain usable at narrow widths and enlarged text. */
@media screen {
.home-v4 #home-legislation {background:#f3f5f0;padding:16px 0 48px;}
.home-v4 .home-law-group + .home-law-group {margin-top:32px;}
.home-v4 .home-law-group>h3 {font-size:1.1rem;color:#173c40;margin:0 0 16px;}
.home-v4 .home-law-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.home-v4 .home-law-card {display:flex;gap:14px;padding:22px;border:1px solid #d2dfd7;border-radius:16px;background:#fff;min-width:0;}
.home-v4 .home-law-icon {display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;background:#e7f3ef;border-radius:10px;font-size:1.4rem;color:#086870;}
.home-v4 .home-law-copy {min-width:0;display:flex;flex-direction:column;flex:1;}
.home-v4 .home-law-copy h4 {font-size:1.05rem;line-height:1.4;margin:0 0 8px;color:#173c40;overflow-wrap:anywhere;}
.home-v4 .home-law-copy p {font-size:.88rem;line-height:1.6;color:#607773;margin:0 0 18px;overflow-wrap:anywhere;}
.home-v4 .home-law-copy>a {display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto;min-height:44px;border-top:1px solid #e4ece7;padding-top:10px;font-size:.85rem;font-weight:700;color:#076772;}
.home-v4 #vereadores .home-people-ready>.swiper-pagination {display:none;}
.home-v4 #vereadores .home-people-controls {display:flex;align-items:center;justify-content:center;gap:22px;position:relative;z-index:2;margin:18px auto 0;}
.home-v4 #vereadores .home-people-controls button {width:46px;height:46px;border:1px solid #b9d1c6;border-radius:50%;background:#fff;color:#075b63;font-size:1.3rem;}
.home-v4 #vereadores .home-people-controls button:focus-visible {outline:3px solid #b78924;outline-offset:3px;}
.home-v4 #vereadores .home-people-controls button:disabled {opacity:.55;cursor:wait;}
.home-v4 #vereadores .home-people-controls output {min-width:74px;text-align:center;font-size:.9rem;font-weight:700;color:#173c40;}
.home-v4 #vereadores .swiper-container {padding-bottom:12px;}
body.home-modern .home-v4 #playcamara .playcam-slider .slick-track {gap:0 !important;}
body.home-modern .home-v4 #playcamara .slick-slide {min-width:0;}
body.home-modern .home-v4 #playcamara .playcard {width:calc(100% - 16px);max-width:none;margin:0 8px;min-width:0;}
body.home-modern .home-v4 #playcamara .playcard-body {min-width:0;white-space:normal;overflow-wrap:anywhere;}
body.home-modern .home-v4 #playcamara .slick-dots {display:flex;justify-content:center;flex-wrap:wrap;gap:5px;position:static;margin:16px 0 0;}
body.high-contrast .home-v4 .home-law-card,body.high-contrast .home-v4 .home-law-icon,body.high-contrast .home-v4 #home-legislation {background:#000 !important;color:#ff0;border-color:#ff0;}
body.high-contrast .home-v4 .home-law-copy h4,body.high-contrast .home-v4 #vereadores .home-people-controls output {color:#ff0 !important;background:#000;}
@media(max-width:991px) {
 body.home-modern .menu-cmt-header {padding-left:0;padding-right:0;}
 body.home-modern .menu-cmt-container {display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:14px;width:calc(100% - 40px);max-width:1180px;padding:0;margin:0 auto;align-items:center;}
 body.home-modern .menu-cmt-logo {grid-column:1;min-width:0;}
 body.home-modern .menu-cmt-logo img {width:100%;max-width:260px;height:auto;}
 body.home-modern .menu-cmt-header .cmt-search {grid-column:1 / -1;width:100%;max-width:none !important;margin:0 !important;}
 body.home-modern .menu-cmt-header .cmt-search .input-group {flex-wrap:nowrap;}
 body.home-modern .menu-cmt-header .cmt-search .form-control {min-width:0;font-size:16px;min-height:46px;}
 body.home-modern .menu-cmt-header .cmt-search .input-group-text {min-width:46px;justify-content:center;}
 .home-v4 .home-law-grid {grid-template-columns:1fr;}
 .home-v4 .home-law-card {padding:18px;}
 .home-v4 .home-law-copy p {margin-bottom:12px;}
}
@media(max-width:600px) {
 .home-v4 .home-law-card {display:block;position:relative;padding:20px;}
 .home-v4 .home-law-icon {width:32px;height:32px;margin-bottom:12px;font-size:1.15rem;}
 body.home-modern .home-v4 #parallax {padding-top:28px;padding-bottom:48px;}
 .home-v4-hero-grid {gap:18px;}
 .home-v4 #parallax h1 {margin:16px 0;}
 .home-v4-actions {margin-top:20px;}
 .home-v4-identity img {width:84px;height:98px;}
 .home-v4-quick {gap:12px;}
 body.home-modern .home-v4 #vereadores,body.home-modern .home-v4 #atendimento,body.home-modern .home-v4 #leiorc {padding-top:38px !important;padding-bottom:32px !important;}
 .home-v4 #vereadores .section-title>a.btn {white-space:normal;max-width:100%;font-size:.8rem;line-height:1.4;}
 body.home-modern .home-v4 #atendimento .home-service-card {min-height:0;padding:16px 22px;}
 body.home-modern .home-v4 #atendimento .home-service-card .services-icon {width:64px;height:64px;margin:10px auto;}
 body.home-modern .home-v4 #atendimento .home-service-card p {margin-bottom:16px;}
 .home-v4 #playcamara .container {padding-left:0;padding-right:0;}
}
}
