/* Mobile-only rules; desktop styling remains in style.css. */
@media screen and (max-width: 1001px) {
  body { overflow-wrap: anywhere; }
  #wrapper, #headerArea { box-sizing: border-box; width: 100%; }
  #top { box-sizing: border-box; height: auto; padding: 0 12px; background-color: #222; background-repeat: repeat-x; }
  #nav ul { float: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
  #nav li { float: none; padding: 0 16px 0 0; }
  #nav ul li a { display: block; box-sizing: border-box; min-height: 44px; padding: 12px 0; font-size: 14px; line-height: 20px; }
  #sectionarea {
    box-sizing: border-box; width: 100%; height: auto; min-height: 110px;
    padding: 24px 16px; line-height: 1.2;
    font-size: clamp(28px, 7vw, 48px) !important;
    background-size: auto 100%;
  }
  .mainarea { box-sizing: border-box; width: 100%; padding: 12px 16px; }
  #col1, #col2, #col3 {
    box-sizing: border-box; display: block; float: none; width: 100%;
    margin: 0; padding: 16px 0; border-right: 0; overflow: visible;
  }
  #col1::after, #col2::after, #col3::after { content: ""; display: table; clear: both; }
  #col2, #col3 { border-top: 1px solid #ccc; }
  .newsItem, .newsItemList { box-sizing: border-box; display: block; float: none; overflow: visible; }
  .newsItem::after { content: ""; display: table; clear: both; }
  .newsItem { font-size: 13px; }
  .teaser, #col3 .teaser { float: none; font-size: 16px; line-height: 1.5; }
  h1, h1 a { font-size: 26px; line-height: 1.2; }
  h2 { font-size: 23px; line-height: 1.25; }
  #col2 h1 a { font-size: 21px; line-height: 1.25; }
  #col3 h2 a { font-size: 18px; line-height: 1.3; }
  #col3 .teaser > a { display: inline-block; padding: 6px 0; }
  .col2double { box-sizing: border-box; float: none; width: 100%; margin-left: 0; }
  img { box-sizing: border-box; max-width: 100%; height: auto; }
  iframe, video, object, embed { max-width: 100%; }
  #footer { box-sizing: border-box; width: 100%; padding: 16px; font-size: 13px; line-height: 1.5; }
  input, select, textarea, button { box-sizing: border-box; max-width: 100%; font-size: 16px; }
  input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select, button { min-height: 44px; padding: 8px; }
  textarea { width: 100%; min-height: 140px; padding: 8px; resize: vertical; }
}
