/* The removed slider script never dismissed its loading cover. Keep every headline readable. */
.lof-slidecontent .preload { display: none; }
#jslidernews2 { display: grid; grid-template-columns: minmax(0, 1fr) 310px; height: auto; overflow: visible; }
#jslidernews2 .main-slider-content { width: auto; height: auto; }
#jslidernews2 .sliders-wrap-inner { position: static; background: none; }
#jslidernews2 .sliders-wrap-inner > li { float: none; width: auto; padding: 15px; background: #003374; }
#jslidernews2 .slider-description { position: static; padding: 0; background: none; }
#jslidernews2 .slider-description h4 { font-size: 19px; line-height: 1.35; }
#jslidernews2 .navigator-content,
#jslidernews2 .navigator-wrapper,
#jslidernews2 .navigator-wrap-inner { position: static; height: auto; }
#jslidernews2 .navigator-wrap-inner > li { float: none; cursor: default; text-align: left; }
#jslidernews2 .navigator-wrap-inner > li > div { margin: 0; padding: 15px; height: auto; }
#jslidernews2 .navigator-wrap-inner h4 { padding: 0; max-height: none; }

/* This cookie overlay can no longer be dismissed because its handler was removed. */
#avisosusc { display: none; }

/* Missing photos left empty fixed-size boxes; their existing captions remain in normal flow. */
.main .photobox .photo .img:not(:has(img)) { display: none; }
.main .photobox .photo:not(:has(.img img)) p.img_title { position: static; }
.main .news .img:not(:has(img)),
.main .newslist .img:not(:has(img)) { display: none !important; }
.main .news li:has(> .img):not(:has(> .img img)) > .info,
.main .newslist li:has(> .img):not(:has(> .img img)) > .info,
.main .newslist li:has(> a > .img):not(:has(> a > .img img)) > a > .info { display: block; float: none; width: auto; padding: 15px; }
.main.fotos .palbum ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.main.fotos .palbum li { float: none; width: auto; }
.main.fotos .palbum a { display: flow-root; }
.main.fotos .palbum a p.title { display: block; width: auto; height: auto; overflow: visible; }

/* Gallery arrows depended on removed JavaScript. Native scrolling keeps all captured thumbnails accessible. */
.main .album > .prev,
.main .album > .next { display: none; }
.main .album .slider { float: none; width: auto; height: auto; overflow-x: auto; }
.main .album .slider ul { display: flex; height: auto !important; }
.main .album .slider li { float: none; flex: 0 0 auto; }
.main .album .slider li:has(img) { opacity: 1; }
.main .album .slider li:not(:has(img)) a { height: auto; width: auto; border: 0; }
.main #list { height: auto; }

/* Opta's scripts supplied these widgets; no standings or match data survived in these containers. */
.opta_bbva:has(> opta:only-child),
.opta_bbva:empty { display: none; }

/* The comment form was removed. Preserve its existing rules and empty-list message without fake field-sized boxes. */
#comments_ajax:not(:has(form, input, textarea)) .comments_container,
#comments_ajax:not(:has(form, input, textarea)) .commlist { min-height: 0; }
#comments_ajax:not(:has(form, input, textarea)) #comments_rules { float: none; width: auto; border: 0; }
#comments_ajax:not(:has(form, input, textarea)) a[name="add_comment"] { display: none; }

/* Removed Twitter/Facebook embeds left only their fallback line ("Tweets de <url>") or a bare <br> in the sidebar box. */
.right_box:not(:has(:not(br))) { display: none; }
/* The toolbar's share links were stripped to bare labels, the news ticker is empty and the search form has no fields. */
.h_toolbar:not(:has(.ticker_news *, .social_media a, .search_page *)) { display: none; }
