/* Comprehensive litespeed-combined CSS for Congreso Biomedicina (newsment theme + GeneratePress) */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-y: scroll; -webkit-text-size-adjust: 100%; }
body { font-family: 'Open Sans', Arial, Helvetica, sans-serif; color: #333; font-size: 17px; line-height: 1.65; background: #fff; margin: 0; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: #1e73be; text-decoration: none; transition: color 0.18s; }
a:hover { color: #135e96; text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { color: #222; font-weight: 600; line-height: 1.25; margin: 0 0 1rem; font-family: 'Roboto', 'Open Sans', sans-serif; }
h1 { font-size: 2.4em; } h2 { font-size: 1.8em; } h3 { font-size: 1.5em; } h4 { font-size: 1.25em; }
p { margin: 0 0 1.5em; }
.site { display: block; }
.site-content, .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.entry-content { font-size: 17px; line-height: 1.7; }
.site-header { background: #fff; border-bottom: 1px solid #e6e6e6; padding: 20px 0; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.inside-header { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.site-logo img { max-height: 80px; width: auto; }
.main-navigation { background: #fafafa; border-bottom: 1px solid #e6e6e6; }
.main-navigation .menu, .main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.main-navigation li { position: relative; }
.main-navigation a { display: block; padding: 14px 20px; color: #333; font-weight: 600; font-size: 15px; }
.main-navigation a:hover, .main-navigation .current-menu-item > a { background: #1e73be; color: #fff; text-decoration: none; }
.entry-header { padding: 60px 0 30px; text-align: center; background: #f9f9f9; }
.entry-title { font-size: 2.4em; margin: 0 0 0.5em; color: #222; }
.entry-meta { color: #888; font-size: 14px; }
.featured-image { margin: 0 0 24px; text-align: center; }
.featured-image img { max-height: 500px; width: auto; }
article { padding: 40px 0; border-bottom: 1px solid #f0f0f0; }
article.post { display: flex; flex-direction: column; gap: 20px; }
.post-image { float: left; max-width: 280px; margin: 0 24px 12px 0; border-radius: 4px; overflow: hidden; }
.post-image img { width: 100%; height: auto; display: block; }
.post-summary { color: #555; }
.read-more { display: inline-block; background: #1e73be; color: #fff; padding: 8px 18px; border-radius: 3px; font-weight: 600; margin-top: 8px; }
.read-more:hover { background: #135e96; color: #fff; text-decoration: none; }
.widget { margin: 0 0 30px; padding: 20px; background: #f7f7f7; border-radius: 4px; }
.widget-title { font-size: 1.1em; margin: 0 0 14px; padding: 0 0 10px; border-bottom: 2px solid #1e73be; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 6px 0; border-bottom: 1px solid #eee; }
.widget a { color: #444; }
.site-footer { background: #2a2a2a; color: #ccc; padding: 40px 0; margin-top: 40px; }
.site-footer a { color: #ccc; }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.footer-widget h3 { color: #fff; margin-bottom: 14px; }
.copyright-bar { text-align: center; padding: 20px 0; border-top: 1px solid #404040; font-size: 14px; color: #999; }
form input[type=text], form input[type=email], form input[type=password], form input[type=search], form textarea, form select { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 3px; font-size: 16px; }
form input:focus, form textarea:focus { outline: none; border-color: #1e73be; box-shadow: 0 0 0 1px #1e73be; }
.button, button[type=submit], input[type=submit] { background: #1e73be; color: #fff; border: 0; padding: 11px 24px; border-radius: 3px; cursor: pointer; font-size: 15px; font-weight: 600; transition: background 0.2s; }
.button:hover, button[type=submit]:hover, input[type=submit]:hover { background: #135e96; color: #fff; }
table { width: 100%; border-collapse: collapse; margin: 1em 0; }
th, td { padding: 10px 12px; border: 1px solid #ddd; text-align: left; }
th { background: #f5f5f5; font-weight: 600; }
blockquote { border-left: 4px solid #1e73be; padding: 0.6em 1em; margin: 1em 0; font-style: italic; color: #555; background: #f9f9f9; }
code, pre { font-family: 'Courier New', monospace; background: #f5f5f5; border-radius: 3px; }
code { padding: 2px 5px; }
pre { padding: 12px; overflow-x: auto; }
img.alignleft, .wp-caption.alignleft { float: left; margin: 0 1.5em 0.5em 0; }
img.alignright, .wp-caption.alignright { float: right; margin: 0 0 0.5em 1.5em; }
img.aligncenter, .wp-caption.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: #888; font-size: 13px; padding-top: 6px; text-align: center; }

/* cookies-eu-banner styles */
.cookies-eu-banner, #cookies-eu-banner { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.92); color: #fff; padding: 18px 24px; z-index: 9999; box-shadow: 0 -2px 8px rgba(0,0,0,0.2); align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; } .cookies-eu-banner[style*="display: block"], #cookies-eu-banner[style*="display: block"] { display: flex !important; }
.cookies-eu-banner p { margin: 0; flex: 1 1 60%; font-size: 14px; }
.cookies-eu-banner a, .cookies-eu-banner button { background: #1e73be; color: #fff !important; padding: 10px 18px; border: 0; border-radius: 3px; cursor: pointer; font-size: 14px; font-weight: 600; text-decoration: none !important; display: inline-block; margin-left: 8px; }
.cookies-eu-banner a:hover, .cookies-eu-banner button:hover { background: #135e96; }
.cookies-eu-banner-disabled { display: none !important; }

/* nav */
.menu-toggle, .nav-aligned-center { display: none; }
@media (max-width: 768px) {
  .main-navigation .menu { flex-direction: column; }
  .main-navigation a { padding: 12px 16px; }
  article.post { flex-direction: column; }
  .post-image { float: none; max-width: 100%; margin: 0 0 16px; }
  .footer-widgets { grid-template-columns: 1fr; }
  .cookies-eu-banner { flex-direction: column; }
  .cookies-eu-banner p { flex: none; }
}

/* WordPress utility classes */
.has-text-align-center { text-align: center; }
.has-large-font-size { font-size: 1.5em; }
.has-medium-font-size { font-size: 1.25em; }
.has-small-font-size { font-size: 0.9em; }
.alignfull, .alignwide { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; max-width: 100vw; }
