/*
Theme Name: Kadence Child
Template: kadence
Version: 1.0
*/

h1 .starth1fokus {
  font-size: 0.6em;
}

.start-cta img {
  border-radius: 4px;
}

.start-cta a:hover, .start-cta a:focus {color: #d9d9d9;}

h2 {color: #878787  !important;}

.ifokus {
  background: #ec6500;
  color: white;
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 15px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.start-text.tvakol2 p.fokusp {line-height: 1.3;}

.avskiljarestart {
  margin-left: 0 !important;
  margin-right: auto !important;
  color: #ec6500 !important;
  background-color: transparent !important;
  border-top: 2px solid !important;
  margin-bottom: 15px !important;
  max-width: 50px !important;
}

.start-text p {
  margin-bottom: 0 !important;
}

.wp-block-kadence-advancedbtn .startknapp.kb-button:hover,
.wp-block-kadence-advancedbtn .startknapp.kb-button:focus {
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  background: rgba(0, 0, 0, 0.5) !important;
  color: rgba(217, 217, 217, 1); /* 0.85 * 255 */
}

.smalare,
h1.entry-title {
  max-width: 670px;
  margin: auto !important;
}

.ingress {
  border-left: 2px solid #ec6500;
  padding-left: 20px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 200;
}

.tvakol2 {
  max-width: 820px;
  margin: auto;
}

.page-besoksinformation p {
  margin-bottom: 20px !important;
}

.page-besoksinformation p.ingress {
  margin-bottom: 35px !important;
}

.entrerabatt p {margin-bottom: 0 !important; font-size: 14px; color: #898989;}

h2 svg {
  color: #7E7F82;
}

#main .bildram .logga img {
  border: 0 !important;
  padding: 0 !important;
}

/* col gap for multi-column layout with logo */
:where(.wp-block-columns.is-layout-flex) {
  gap: 1em !important;
}

.site-top-footer-inner-wrap,
.footer-html-inner {
  font-weight: 400 !important;
  font-size: 16px !important;
}

.site-top-footer-inner-wrap .widget {
  margin-bottom: 0 !important;
}

.footer-widget-area-inner p {
  margin: 2px 0 !important;
}

.footer-widget-area-inner svg {
  color: #808185;
}

.site-footer-top-section-1 img {
  max-width: 200px;
}

.site-bottom-footer-wrap {
  background-color: #e4e4e4;
}

.footer-widget-area {
  align-items: center;
}

.site-top-footer-wrap {
  background-color: #f2f2f2;
  border-top: 2px solid #ec6500;
  background: #F2F2F2;
  background: linear-gradient(0deg, rgba(242, 242, 242, 1) 0%, rgba(250, 250, 250, 1) 33%, rgba(242, 242, 242, 1) 100%);
}

.page-historik .bildram img,
.page-history .bildram img,
.page-geschichte .bildram img,
.page-besoksinformation .bildram img,
.page-visiting-information .bildram img,
.page-besuchtsinformation .bildram img {
  border: 1px solid #ddd !important;
  padding: 6px;
}

.bild1 {
  margin-bottom: 1px !important;
}

.page-bilmuseum .entry-content-wrap,
.page-car-museum .entry-content-wrap,
.page-automuseum .entry-content-wrap,
.page-flygmuseum .entry-content-wrap,
.page-aviation-museum .entry-content-wrap,
.page-flugzeugmuseum .entry-content-wrap {
  padding-bottom: 0 !important;
}

.museiforemal h2 {
  font-size: 24px;
}

.museiforemal h3 {
  font-size: 18px;
}

.museiforemal p {
  font-size: 16px;
}

.museiforemal > div {
  padding: 0 !important;
  max-width: 1500px !important;
}

.sec-artal,
.sec-artal.fyrakol {
  max-width: 700px;
  margin: auto;
  padding: 25px;
}

.sec-artal p {
  margin-bottom: 10px !important;
  line-height: 1.2;
}

.overlay-wrapper {
  position: relative;
  max-width: 600px;
  margin: auto;
}

.text-overlay {
  position: absolute;
  z-index: 2;
  //top: 65%;
  //left: 10%;
  //transform: translate(-10%, -65%);
top: auto;
bottom: 12%;
left: 3%;
  color: #fff;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.5); /* valfri mörk bakgrund för kontrast */
  border-radius: 4px;
  width: 380px;
}

.text-overlay h2 {
  font-size: 22px;
  line-height: 1.2;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.text-overlay .kt-inside-inner-col {
  padding: 10px;
  max-width: 400px;
}

.grayrow {
  background-color: #f2f2f2;
  background: linear-gradient(0deg, rgba(242, 242, 242, 1) 0%, rgba(250, 250, 250, 1) 33%, rgba(242, 242, 242, 1) 100%);
}

.wpml-ls-statics-shortcode_actions {
  margin-left: 20px;
}

.site-footer-top-section-3 {
  max-width: 260px !important;
}

.wp-block-media-text .wp-block-media-text__media img {max-width: 260px !important; margin: 0 auto 20px;}


/* Mobil: gäller alltid (mobil först) */



/* Extra små mobiler */
@media (max-width: 499px) {
  .text-overlay {position: initial; width: auto; color: #1A202C; background: none !important}
  .text-overlay h2 {color: #1A202C !important;}
  //.text-overlay a {color: #000 !important; border-color: #000 !important; }
  .wp-block-kadence-advancedbtn .startknapp.kb-button {color: #1A202C !important; border-color: #1A202C !important; margin-bottom: 20px !important}
  .wp-block-kadence-advancedbtn .startknapp.kb-button:hover,
  .wp-block-kadence-advancedbtn .startknapp.kb-button:focus {
    border: 1px solid rgba(0, 0, 0, 0.7) !important;
    background: rgba(0, 0, 0, 0.1) !important;
    color: rgba(217, 217, 217, 1); /* 0.85 * 255 */
  }
 .wp-block-media-text > .wp-block-media-text__content {padding: 0 !important;}
 .start-cta p {margin-bottom: 10px !important;}
  .single-content .start-cta figure.wp-block-image {
   margin-bottom: 10px !important;
 }
}


/* Vanliga mobiler */
@media (max-width: 767px) {
  
  
  h1.entry-title {
    max-width: 670px;
    margin: auto !important;
  }
  
  .ingress {
    border-left: 2px solid #ec6500;
    padding-left: 20px;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 200;
  }
  .entry-content.single-content {margin-top: 10px !important;}
  header h1 {font-size: 32px !important;}
}

/* Surfplattor */
@media (min-width: 768px) and (max-width: 1024px) { 
  .site-footer-wrap .site-container {max-width: 680px !important;}
}

@media (max-width: 900px) {
  .start-cta > .kt-row-column-wrap {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: var(--global-kb-gap-sm, 1rem) !important;
  }
}

/* Desktop */
@media (min-width: 1025px) {
}






