body, html {
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

html {
  font-size: 19px !important;
}

.homepage-wrapper {
  max-width: 1200px;
  margin: 0 auto 90px auto;
  padding: 0 20px;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #111;
  line-height: 1.75 !important;
}

.homepage-layout {
  display: grid !important;
  grid-template-columns: 2fr 1fr !important;
  gap: 35px !important;
  align-items: start !important;
}

.homepage-layout.homepage-layout--single {
  grid-template-columns: 1fr !important;
}

@media (max-width: 991px) {
  
  .homepage-layout {
    grid-template-columns: 1fr !important;
  }
  
  .container,
  .row,
  .col-md-12,
  #mu-contact, 
  .mu-contact-area, 
  .mu-contact-content {
    width: 100% !important;
    max-width: none !important; 
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  
  .homepage-wrapper {
    max-width: 100% !important; 
    width: 100% !important;
    padding: 0 5px !important;
    margin: 0 !important;
  }

  .homepage-box {
    padding: 20px 15px !important; 
    margin-bottom: 20px;
  }
  
  .homepage-box ul li a {
    word-wrap: break-word !important; 
    overflow-wrap: break-word !important;
    white-space: normal !important; 
    display: block !important;
  }
  
  .homepage-side {
    width: 100% !important;
    max-width: 100% !important;
  }
}

.homepage-box {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #ddd;
  box-shadow: 0 3px 12px rgba(0,0,0,0.07);
  padding: 40px 45px;
  margin-bottom: 35px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  color: #444;
  font-size: 1rem;
}

.homepage-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.homepage-box h3 {
  color: #b40000;
  font-size: 1.35rem !important;
  font-weight: 700;
  border-bottom: 2px solid #ddd;
  padding-bottom: 6px;
  margin-bottom: 20px;
}

.homepage-box article h4 {
  font-size: 1.25rem !important;
  font-weight: 700;
  margin-bottom: 6px;
  color: #000;
}

.homepage-box article small {
  display: block;
  color: #777;
  font-size: 0.9rem !important;
  margin-bottom: 12px;
}

.homepage-box article p {
  font-size: 1rem !important;
  color: #444;
  margin-bottom: 22px;
  line-height: 1.7;
}

.homepage-box article:not(:last-child) {
  border-bottom: 1px solid #eee;
  padding-bottom: 25px;
  margin-bottom: 25px;
}

.homepage-box p {
  font-size: 1rem !important;
  color: #666 !important; 
  margin: 10px 0 20px 0;
  line-height: 1.7;
}

.homepage-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.homepage-box ul li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 1rem !important;
  color: #666; 
}

.homepage-box ul li:last-child {
  border-bottom: none;
}

.homepage-box ul li a,
.homepage-box ul li a strong {
  color: #666 !important;
  font-weight: 400;
}

.homepage-box a {
  color: #b40000;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem !important;
}

.homepage-box a:hover {
  text-decoration: underline;
}

a.calitem {
  text-decoration: none;
}

.homepage-footerlink {
  text-align: right;
  margin-top: 12px;
}

.homepage-footerlink a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #b40000 !important;
}

.homepage-box ul li a.calitem strong {
  color: #000 !important;
  font-weight: 700;
}

.homepage-box ul li a.calitem {
  color: #666 !important;
  font-weight: 400;
}

.homepage-box ul li a.calitem span,
.homepage-box ul li a.calitem .event-title {
  color: #666 !important;
}

.news-thumb {
    max-width: 160px;
    max-height: 160px;
    float: right;
    margin: 0 0 10px 15px;
    border-radius: 8px;
    object-fit: cover;
}

.homepage-full {
    max-width: 1100px !important;
    width: 100% !important;
    margin: 0 auto 50px auto !important;
    padding: 40px 50px !important;
}

.news-fulltext {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.75;
}

.news-fullimage {
    float: right;           
    max-width: 400px;       
    width: 100%;       
    height: auto;
    margin: 5px 0 20px 25px;
    border-radius: 8px;
    object-fit: contain;
    cursor: zoom-in;     
    border: 1px solid #eee;
}

@media (max-width: 600px) {
    .news-fullimage {
        float: none;
        max-width: 100%;
        margin: 0 0 20px 0;
    }
}

.homepage-adwrap {
  margin: 20px auto 35px auto;
  max-width: 100%;
  text-align: center;
  overflow: hidden;
  background: transparent !important;
}

.homepage-adunit {
  display: block;
}

.homepage-view-spacer {
  clear: both;
  display: block;
  height: 35px;
  line-height: 35px;
}

.homepage-view-switch {
  clear: both;
  display: block;
  width: 100%;
  text-align: center;
  margin: 0 0 30px 0;
}

.homepage-status-draft {
  color: #b40000;
}

.homepage-status-sticky {
  color: #008800;
}

.homepage-clear {
  clear: both;
}

.homepage-backlink {
  margin-top: 25px;
}

.homepage-news-title-link {
  color: #000 !important;
  text-decoration: none !important;
}

.news-thumb-link {
  float: right;
}

.homepage-adminlinks {
  margin-top: 10px;
  font-size: 0.95rem;
}

.homepage-adminlink-edit {
  margin-right: 15px;
  font-weight: bold;
  color: #b40000 !important;
}

.homepage-adminlink-toggle {
  margin-right: 15px;
  font-weight: 600;
  color: #0066aa !important;
}

.homepage-adminlink-delete {
  color: #cc0000 !important;
  font-weight: 700;
}

.homepage-pagination {
  text-align: center;
  margin: 30px 0;
}

.homepage-pagination-current {
  padding: 6px 12px;
}

.homepage-pagination-link {
  padding: 6px 12px;
  margin: 0 4px;
  color: #b40000 !important;
}

.homepage-meta-join {
  color: #666;
}

.homepage-meta-helperlist {
  color: #444;
}

.homepage-helpericon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 3px;
}

.homepage-muted-text {
  font-size: 0.95rem !important;
  color: #666 !important;
}
