/* V137 — Gallery and News UI consistency. Loaded last to override older page rules. */
html body main section.news-v45-hero.gallery136-hero.gallery137-hero{background:linear-gradient(90deg,rgba(5,13,17,.86),rgba(5,13,17,.3)),linear-gradient(0deg,rgba(5,13,17,.75),transparent 65%),url("gallery-hero-v137.jpg") center 52% / cover no-repeat !important;background-image:linear-gradient(90deg,rgba(5,13,17,.86),rgba(5,13,17,.3)),linear-gradient(0deg,rgba(5,13,17,.75),transparent 65%),url("gallery-hero-v137.jpg") !important;}
/* Exactly the filter button values used by News in relax-v80.css. */
html body .gallery134 .gallery134-top .news48-filters{display:flex;gap:9px;flex-wrap:wrap}
html body .gallery134 .gallery134-top .news48-filters>button{appearance:none;box-sizing:border-box;border:1px solid #354044;border-radius:30px;padding:11px 18px;background:transparent;color:#e9efed;cursor:pointer;font-family:inherit;font-weight:600;font-size:14px;line-height:normal;box-shadow:none;transition:background .2s,border-color .2s,color .2s}
html body .gallery134 .gallery134-top .news48-filters>button:hover,html body .gallery134 .gallery134-top .news48-filters>button.active,html body .gallery134 .gallery134-top .news48-filters>button[aria-pressed="true"]{background:#c4f335;border-color:#c4f335;color:#0c1111}
/* Search: same input as News, with one search icon and no duplicate text. */
html body .gallery134 .gallery134-top .news48-search{display:flex;align-items:center;gap:8px;min-width:min(100%,300px);margin-left:auto;border:1px solid #4c5b5b;background:#1b2425;border-radius:13px;padding:0 14px;color:#b7f52c}
html body .gallery134 .gallery134-top .news48-search::before{content:none}
html body .gallery134 .gallery134-top .news48-search input{width:100%;padding:13px 0;background:transparent;border:0;outline:0;color:#fff;font:inherit;max-width:none}
html body .gallery134 .gallery134-top .news48-search input::placeholder{color:#aab6b5}
/* Match the normal News modal close controls for gallery, photo news and home news. */
html body .gallery134-overlay .gallery134-close,html body .news49-overlay .news49-close,html body .rlx-news-modal .rlx-news-close{appearance:none;position:absolute;right:16px;top:16px;z-index:5;display:grid;place-items:center;box-sizing:border-box;width:40px;height:40px;padding:0;border-radius:50%;background:#11191a!important;border:1px solid #617073!important;color:#fff!important;font-family:inherit;font-size:29px;line-height:1;cursor:pointer;box-shadow:none!important;outline:none!important;transform:none}
html body .gallery134-overlay .gallery134-close:hover,html body .news49-overlay .news49-close:hover,html body .rlx-news-modal .rlx-news-close:hover{border-color:#b7f52c!important;color:#b7f52c!important}
html body .gallery134-overlay .gallery134-close:focus-visible,html body .news49-overlay .news49-close:focus-visible,html body .rlx-news-modal .rlx-news-close:focus-visible{outline:2px solid #b7f52c!important;outline-offset:3px}
/* Center glyphs inside their boxes without moving the boxes. */
html body .news49-overlay .news49-arrow,html body .gallery134-overlay .gallery134-arrow{display:grid;place-items:center;box-sizing:border-box;padding:0;text-align:center;line-height:1}
html body .news49-overlay .news49-arrow svg,html body .gallery134-overlay .gallery134-arrow svg{display:block;margin:auto;flex-shrink:0}
/* New news card images should signal they are clickable. */
.news-v45-photo img[data-v134-news-trigger]{cursor:pointer}
@media(max-width:800px){html body .gallery134 .gallery134-top .news48-search{width:100%;margin-left:0}}
@media(max-width:520px){html body .gallery134 .gallery134-top .news48-filters>button{font-size:12px;padding:9px 12px}}
