.icon-edit,
.btn-edit,
a[href*="task=article.edit"],
a[href*="edit"] {
    display: none !important;
}

:root {
  --inmecos-dark: #0B2DAF;
  --inmecos-blue: #123ED8;
  --inmecos-light: #2F7FFF;
  --inmecos-accent: #67B3FF;
  --inmecos-bg: #f7f9fc;
  --inmecos-text: #1f2933;
}

/* Grundlayout */
body {
  background: var(--inmecos-bg);
  color: var(--inmecos-text);
  font-family: "Segoe UI", Arial, sans-serif;
}

.container,
.site-grid,
main {
  max-width: 1180px;
  margin: 0 auto;
}

/* Header */
.header,
.container-header {
  background: linear-gradient(135deg,#0B2DAF 0%,#123ED8 55%,#2F7FFF 100%);
  box-shadow: 0 4px 18px rgba(11,45,175,0.25);
  padding-bottom: 20px;
}

/* Logo */
.site-logo img,
.brand-logo img,
.container-header .navbar-brand img {
  max-height: 120px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
}

/* Menü */
.container-header .mod-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.container-header .mod-menu li {
  position: relative;
  list-style: none;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
  color: #ffffff;
  font-weight: 700;
  padding: 15px 22px;
  border-radius: 8px;
  transition: all 0.25s ease;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 15px;
  text-decoration: none;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.current > a {
  background: rgba(255,255,255,0.18);
  border-bottom: 3px solid var(--inmecos-accent);
  color: #ffffff;
}

/* Dropdown */
.container-header .mod-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  padding: 8px 0;
  margin: 0;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  z-index: 9999;
}

.container-header .mod-menu li:hover > ul {
  display: block;
}

.container-header .mod-menu li ul li {
  width: 100%;
}

.container-header .mod-menu li ul li a {
  display: block;
  padding: 12px 18px;
  color: var(--inmecos-blue);
  background: #ffffff;
  border-bottom: 1px solid #e6ecff;
  font-size: 14px;
  text-transform: none;
}

.container-header .mod-menu li ul li a:hover {
  background: #eef4ff;
  color: var(--inmecos-dark);
}

/* Einheitlicher Rahmen für alle Joomla-Seiten */
main,
.com-content-article,
.com-content-category,
.com-content-featured,
.com-contact,
.com-contact__container,
.blog,
.blog-featured,
.item-page,
.category-list,
.categories-list,
.newsfeed-category,
.tags,
.tag-category,
.login,
.logout,
.registration,
.profile,
.remind,
.reset {
  background: #ffffff;
  padding: 45px;
  margin-top: 28px;
  border-radius: 14px;
  border: 1px solid #dbe7ff;
  box-shadow: 0 8px 28px rgba(11,45,175,0.08);
}

/* Doppelte Rahmen innerhalb von main verhindern */
main .com-content-article,
main .com-content-category,
main .com-content-featured,
main .com-contact,
main .com-contact__container,
main .blog,
main .blog-featured,
main .item-page,
main .category-list,
main .categories-list {
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  background: transparent;
}

/* Überschriften */
h1,
.page-header h1,
.com-content-article h1,
.item-page h1,
.blog h1,
.com-contact h1 {
  color: var(--inmecos-dark);
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 22px;
}

h2 {
  color: var(--inmecos-blue);
  font-size: 28px;
  margin-top: 34px;
}

h3 {
  color: var(--inmecos-light);
}

.com-content-article h1 a,
.com-content-article h2 a {
  text-decoration: none !important;
}

/* Text */
p {
  font-size: 17px;
  line-height: 1.8;
}

a {
  color: var(--inmecos-blue);
  text-decoration: none;
}

a:hover {
  color: var(--inmecos-dark);
  text-decoration: underline;
}

/* Bilder */
img {
  border-radius: 10px;
}

/* Buttons */
.btn,
.button,
.readmore a,
input[type="submit"],
button {
  background: var(--inmecos-blue);
  color: #ffffff !important;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  border: none;
  display: inline-block;
  transition: all 0.25s ease;
}

.btn:hover,
.button:hover,
.readmore a:hover,
input[type="submit"]:hover,
button:hover {
  background: var(--inmecos-dark);
  text-decoration: none;
}

/* Module */
.card,
.blog-item,
.item-content,
.moduletable,
.module {
  border-radius: 12px;
  border: 1px solid #dbe7ff;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(11,45,175,0.06);
}

.card:hover,
.blog-item:hover,
.module:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(11,45,175,0.10);
  transition: all 0.25s ease;
}

/* Tabellen */
table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background: var(--inmecos-blue);
  color: #ffffff;
}

th,
td {
  padding: 12px;
  border: 1px solid #dbe7ff;
}

/* Listen */
ul li::marker {
  color: var(--inmecos-blue);
}

/* Footer */
.footer,
.container-footer {
  background: #0B2DAF;
  color: #ffffff;
  padding: 40px 0;
  margin-top: 60px;
  border-top: 4px solid #67B3FF;
}

.footer a,
.container-footer a {
  color: #ffffff;
}

/* Mobile */
@media (max-width:768px){

  main,
  .com-content-article,
  .com-content-category,
  .com-content-featured,
  .com-contact,
  .blog,
  .blog-featured,
  .item-page,
  .category-list,
  .categories-list {
    padding:24px;
    margin-top:15px;
    border-radius:10px;
  }

  h1,
  .page-header h1,
  .com-content-article h1,
  .item-page h1,
  .blog h1,
  .com-contact h1 {
    font-size:30px;
  }

  h2{
    font-size:24px;
  }

  .site-logo img,
  .brand-logo img,
  .container-header .navbar-brand img{
    max-height:90px;
  }

  .container-header .mod-menu{
    gap:6px;
  }

  .container-header .mod-menu > li > a,
  .container-header .mod-menu > li > span{
    padding:10px 12px;
    font-size:13px;
  }

  .container-header .mod-menu li ul{
    position:static;
    width:100%;
    box-shadow:none;
    border-radius:8px;
  }
}
