@font-face {
  font-family: 'brandon_grotesquebold_italic';
  src: url('../fonts/brandon_bld_it-webfont.eot');
  src: url('../fonts/brandon_bld_it-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/brandon_bld_it-webfont.woff2') format('woff2'), url('../fonts/brandon_bld_it-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'brandon_grotesque_regularRg';
  src: url('../fonts/brandon_reg-webfont.eot');
  src: url('../fonts/brandon_reg-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/brandon_reg-webfont.woff2') format('woff2'), url('../fonts/brandon_reg-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'brandon_grotesquebold';
  src: url('../fonts/brandon_bld-webfont.eot');
  src: url('../fonts/brandon_bld-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/brandon_bld-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'brandon_grotesquelight';
  src: url('../fonts/brandon_light-webfont.eot');
  src: url('../fonts/brandon_light-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/brandon_light-webfont.woff2') format('woff2'), url('../fonts/brandon_light-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* ==========================================================================
   Kraftloppet — Cassiopeia skin matching the live kraftloppet.com (Gantry) look
   Textures from media/templates/site/cassiopeia_extended/images/
   Palette: black #1c1c1c · brand yellow #ffee00 · white
   Font: Montserrat (free stand-in for Brandon Grotesque)
   ========================================================================== */

:root {
  --kl-yellow: #ffee00;
  --kl-dark: #1c1c1c;
  --kl-img: /media/templates/site/cassiopeia_extended/images;
}

/* ---------- Base / textured body ---------- */
body.site {
  font-family: 'brandon_grotesque_regularRg', Helvetica, Arial, sans-serif;
  color: #333;
  padding-top: 0;
  border-top: 0;
  background: #e9e9e9 url('/media/templates/site/cassiopeia_extended/images/bg.png') repeat;
}

.site-grid {
  max-width: 1200px;
  margin: 0 auto;
}

.container-component {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', sans-serif;
}

/* ---------- Header (dark textured) ---------- */
header.header {
  background-image: url(../images/menu-bg.jpg);
  background-size: 100% 100%;
  color: #ffffff;
  border-bottom: 2px solid #ffee00;
  background-color: #282828;
  padding: 0;
  position: relative;
  z-index: 20;
}

.header .grid-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: .3rem 1rem;
  gap: 1rem;
  min-height: 74px;
}

.navbar-brand a.brand-logo {
  display: inline-block;
  width: 240px;
  height: 46px;
  
}


.header .site-title {
  display: none;
}

/* ---------- Navigation ---------- */
.navbar,
.container-nav {
  background: transparent;
}

header.header ul.mod-menu {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

header.header ul.mod-menu>li {
  position: static;
  display: flex;
  align-items: center;
}

header.header ul.mod-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .86rem;
  letter-spacing: .02em;
  padding: .4rem 0;
  display: inline-block;
  white-space: nowrap;
}

ul.mod-menu a:hover,
ul.mod-menu .current>a,
ul.mod-menu .active>a {
  color: var(--kl-yellow);
}

/* yellow caret indicator on top-level items (matches live) */
ul.mod-menu>li:not(:last-child)>a::after {
  content: '';
  display: inline-block;
  margin-left: .35rem;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--kl-yellow);
}

/* hide Cassiopeia's separate toggle button (caret is on the link now) */
ul.mod-menu .mod-menu__toggle-sub {
  display: none;
}

/* dropdowns on hover */
ul.mod-menu .mod-menu__sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(52,45,35,0.85);
  border-top: 2px solid var(--kl-yellow);
  min-width: 210px;
  padding: .3rem 0;
  list-style: none;
  margin: 0;
  z-index: 30;
}

ul.mod-menu>li:hover>.mod-menu__sub {
  display: block;
  display: flex;
  flex-direction: column;
  align-items: center;
}

ul.mod-menu .mod-menu__sub li {
  display: block;
}

ul.mod-menu .mod-menu__sub a {
  padding: .55rem 1.1rem;
  text-transform: none;
  font-weight: 600;
  display: block;
}

ul.mod-menu .mod-menu__sub a::after {
  display: none;
}

/* Anmälan = yellow rounded-rect button */
ul.mod-menu>li:last-child>a {
  background: var(--kl-yellow);
  color: #000;
  border-radius: 6px;
  padding: .6rem 1.4rem;
  font-weight: 800;
}

ul.mod-menu>li:last-child>a:hover {
  background: #fff;
  color: #000;
}

/* ---------- Hero (full-bleed) ---------- */
.container-banner {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

.container-banner .moduletable {
  margin: 0;
  border: 0;
  background: none;
  box-shadow: none;
  padding: 0;
}

.kl-hero {
  position: relative;
  min-height: 530px;
  display: flex;
  align-items: center;
  background: #222 url('/images/8A3A9589.jpg') center 40%/cover no-repeat;
}

.kl-hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, .05));
}

.kl-hero__inner {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  color: #fff;
  width: 100%;
}

.kl-hero__date {
  font-style: italic;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .03em;
}

.kl-hero__title {
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: .92;
  margin: .15rem 0;
  font-size: clamp(2.8rem, 7.5vw, 5.8rem);
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}

.kl-hero__sub {
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.05rem, 2.1vw, 1.6rem);
  letter-spacing: .02em;
}

/* ---------- Hide "Mobile Anmälan" button on desktop ---------- */
.container-top-a {
  display: none;
}

/* ---------- Main content card (KRAFTKLASSIKER) ---------- */
.container-component .mod-custom {
  background: #eeeeef;
  border-radius: 10px;
  -webkit-box-shadow: 0 0 7px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 7px 0px rgba(0, 0, 0, 0.1);
  padding: 25px;
}

.container-component .mod-custom h1,
.container-component .mod-custom h2 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #111;
}

.container-component .mod-custom h1 {
  font-size: 2.1rem;
  margin-bottom: 1.5rem;
}

.container-component .mod-custom img {
  margin: 1.2rem auto;
  max-width: 150px;
  height: auto;
}

.container-component .mod-custom p {
  max-width: 760px;
  margin: .5rem auto;
  line-height: 1.75;
}

.container-component .page-header,
.container-component .blog-featured>h2 {
  display: none;
}

/* ---------- Partners (no box, on textured bg) ---------- */
.container-bottom-a {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
  text-align: center;
  background: none;
}

.container-bottom-a .moduletable,
.container-bottom-a .card,
.container-bottom-a .card-body {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.container-bottom-a .card-header,
.container-bottom-a h3,
.container-bottom-a .moduletable>h3 {
  background: none;
  border: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 1.4rem;
  margin: 0 0 1.6rem;
  color: #111;
  text-align: center;
}

.container-bottom-a table {
  border-collapse: separate;
  border-spacing: 8px;
  margin: 0 auto;
  width: auto;
}

.container-bottom-a td {
  background: var(--kl-yellow);
  width: 170px;
  height: 135px;
  text-align: center;
  vertical-align: middle;
  border: 0;
}

.container-bottom-a td img {
  max-width: 75%;
  max-height: 66%;
  width: auto;
  height: auto;
}

/* ---------- Footer (faceted yellow pattern) ---------- */
.container-footer {
  max-width: none;
  width: 100%;
  color: #111;
  text-align: center;
  padding: 3.5rem 1rem 3rem;
  margin-top: 2.5rem;
  background: var(--kl-yellow) url('/media/templates/site/cassiopeia_extended/images/footer-bg.jpg') center/cover no-repeat;
}

.container-footer .moduletable,
.container-footer .mod-custom {
  background: none;
  border: 0;
  box-shadow: none;
}

.container-footer .mod-custom img {
  max-width: 260px;
  height: auto;
  margin-bottom: 1.2rem;
}

.container-footer p {
  font-weight: 600;
  line-height: 1.85;
}

.container-footer .socialicons {
  margin-top: 1rem;
}

.container-footer .socialicons img {
  height: 40px;
  width: auto;
  margin: 0 .35rem;
  vertical-align: middle;
}

.container-footer a {
  color: #111;
}

/* ---------- Misc ---------- */
a {
  color: #111;
}

a:hover {
  color: #000;
}

/* ---------- Responsive ---------- */
@media (max-width:768px) {
  .header .grid-child {
    flex-wrap: wrap;
    justify-content: center;
  }

  ul.mod-menu {
    justify-content: center;
    gap: .9rem;
  }

  .container-top-a {
    display: block;
    text-align: center;
    padding: 1.4rem 1rem 0;
  }

  .container-top-a a {
    display: inline-block;
    background: var(--kl-yellow);
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    padding: .7rem 2rem;
    border-radius: 6px;
  }

  .container-bottom-a td {
    width: 44%;
    height: 110px;
  }

  .kl-hero {
    min-height: 360px;
  }
}

main {
  background: #eeeeef;
  border-radius: 10px;
  -webkit-box-shadow: 0 0 7px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 7px 0px rgba(0, 0, 0, 0.1);
  padding: 25px;
}

.container-sidebar-right {

  margin-top: 30px;
}

body.itemid-101 main {
  display: none
}

header.header .header-outer {
  background: rgba(64, 66, 66, 0.8);
}

header.header .header-inner {
  display: flex;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;

}

header.header .grid-brand {
  max-width: 300px;
}

main a{
  background: #ffee00;
color: #000;
font-family: 'brandon_grotesquebold';
}