/* SeloAgro 2026: responsive layer for the 2010 template pages. Loaded after the original stylesheets. */
/* 1. New <h1 class="lh1"> (was the first <h2>) keeps the exact h2 look */
#sub-header-inner .content h1.lh1 { font-size: 20px; font-weight: bold; color: #666; margin: -10px 0 12px 0; }
#sub-header-inner .content h1.lh1 strong { color: #888; }
.column.wide h1.lh1 { color: #805a6a; font-size: 20px; margin-bottom: 15px; }
.column.mid h1.lh1, .column.last h1.lh1 { background: url('../images/layout/column_h2.gif') top repeat-x; font-size: 15px; font-weight: bold; color: #9999FF; height: 38px; position: relative; }
.column.mid h1.lh1.rounded { background: url('../images/layout/column_h2_rounded.gif') top repeat-x; }
.column.mid h1.lh1 span, .column.last h1.lh1 span { position: absolute; left: 46px; top: 10px; }
.column.mid h1.lh1 img, .column.last h1.lh1 img { position: absolute; left: 14px; top: 9px; }
.column.last h1.lh1.first-item { background: url('../images/layout/column_h2.gif') top repeat-x; }
.column.last h1.lh1 { background: url('../images/layout/column_last_h2.gif') top repeat-x; }
.column.last h1.lh1 a { color: #9999FF; text-decoration: none; }
h1.lh1 { margin: 0; padding: 0; }
h1.lh1 { font-size: 100%; font-weight: normal; }
h1.lh1 { font-weight: bold; }

/* 2. Fluid layout for phones/tablets (original layout is a fixed 900px) */
img { max-width: 100%; height: auto; }
@media (max-width: 920px) {
  body { background-size: auto 81px; -webkit-text-size-adjust: 100%; }
  .container, #header, #footer .container, #content, #wrapper, #main, #page, .wrapper, #container { width: auto !important; max-width: 100%; margin: 0 auto; padding: 0 12px; box-sizing: border-box; }
  [style*="width:900px"], [style*="width: 900px"] { width: auto !important; }
  #header { height: auto; padding-bottom: 10px; }
  #header form { display: none; }
  #main-nav { position: static; padding-top: 34px; overflow: hidden; }
  #main-nav li a { margin: 0 6px 6px 0; }
  #main-nav li a span { display: inline-block; padding: 12px 18px 12px 0; }
  #sub-header-inner { height: auto; overflow: hidden; padding-bottom: 15px; }
  #sub-header-inner img { float: none; display: block; margin: 15px auto 10px; }
  #sub-header-inner .content, .content { width: auto !important; float: none; padding-top: 10px; background: none; }
  .column, .column.wide, .column.narrow, .col, .left, .right, #left, #right, #sidebar, .sidebar { float: none !important; width: auto !important; margin: 0 0 15px !important; }
  table { display: block; width: 100% !important; overflow-x: auto; }
  td, th { font-size: 13px; }
  p, li, td { font-size: 14px !important; line-height: 1.5 !important; }
  #footer { padding: 15px 12px; }
  #footer ul { float: none; width: auto; margin-bottom: 10px; }
  #footer p { position: static; text-align: left; margin-top: 10px; }
  iframe, embed, object, video { max-width: 100%; }
  a { word-wrap: break-word; }
}

/* 3. Floating WhatsApp button (same as the main template) */
.wa-float { position: fixed; left: 16px; bottom: 16px; z-index: 9999; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(0,0,0,.25); }
.wa-float:hover { background: #1da851; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
