/* supplement.css — BeTheme structural baseline for maradjlenduletben.hu
   Original be.css was not archived. Matches the live site's gold boxed layout
   (html #f5aa31 / Wrapper #ffd886) and child-theme purple accents (#7652da). */

:root {
  --accent: #7652da;
  --accent-hover: #a891e9;
  --theme-blue: #0095eb;
  --ink: #626262;
  --heading: #161922;
  --gold: #ffd886;
  --gold-edge: #f5aa31;
  --muted: #a8a8a8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: var(--gold-edge);
}

body {
  margin: 0;
  font-family:
    "Montserrat Alternates",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 25px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: var(--theme-blue);
  text-decoration: none;
}
a:hover {
  color: rgba(0, 149, 235, 0.8);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family:
    "Montserrat Alternates",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--heading);
  line-height: 1.2;
  margin: 1.1em 0 0.45em;
}
h1 {
  font-size: 2rem;
  font-weight: 400;
}
h2 {
  font-size: 1.75rem;
  font-weight: 800;
}
h3 {
  font-size: 1.45rem;
  font-weight: 700;
}
h4 {
  font-size: 1.25rem;
  font-weight: 800;
}
p {
  margin: 0 0 1em;
}
ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}
blockquote {
  margin: 1em 0;
  padding: 0.7em 1.2em;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.55);
  color: #444;
}
hr {
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 2em 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 1.2em;
  background: rgba(255, 255, 255, 0.55);
}
th,
td {
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.55em 0.75em;
  text-align: left;
}
th {
  background: rgba(118, 82, 218, 0.12);
}

/* ---- Layout ---- */
#Wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--gold);
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
}
.container,
.section_wrapper,
.sections_group,
.mcb-section-inner,
.mcb-wrap-inner {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  padding: 30px 0;
  clear: both;
}
.column {
  float: left;
  width: 100%;
}
.column.one {
  width: 100%;
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* ---- Action bar ---- */
#Action_bar {
  background: #2c2c2c;
  color: #ccc;
  font-size: 13px;
}
#Action_bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
}
#Action_bar .contact_details,
#Action_bar .social {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
#Action_bar a {
  color: #ddd;
}
#Action_bar a:hover {
  color: #fff;
}

/* ---- Header / Top bar ---- */
#Header_wrapper {
  background: #fff;
}
#Top_bar {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 200;
}
#Top_bar .container,
#Top_bar .column.one {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  float: none;
  width: 100%;
}
#Top_bar .top_bar_left {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 10px 24px;
}
#Top_bar .logo {
  flex: 0 0 auto;
}
#Top_bar #logo {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  height: auto;
  line-height: 1;
}
#Top_bar #logo img {
  max-height: 72px;
  width: auto;
}
/* BeTheme ships 4 logo variants; only one must show at a time */
#Top_bar #logo img.logo-main {
  display: inline-block;
}
#Top_bar #logo img.logo-sticky,
#Top_bar #logo img.logo-mobile,
#Top_bar #logo img.logo-mobile-sticky {
  display: none !important;
}

/* Search panel: hidden until opened */
#Top_bar .search_wrapper {
  display: none;
  position: absolute;
  right: 20px;
  top: 100%;
  z-index: 300;
  width: min(360px, calc(100vw - 40px));
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  padding: 14px 16px;
}
#Top_bar .search_wrapper.is-open {
  display: block;
}
#Top_bar .search_wrapper .form-searchform {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
#Top_bar .search_wrapper .field {
  flex: 1;
  margin: 0 !important;
  min-width: 0;
}
#Top_bar .search_wrapper .icon_search,
#Top_bar .search_wrapper .mfn-close-icon {
  flex: 0 0 auto;
  cursor: pointer;
  line-height: 1;
}
#Top_bar .top-bar-right-icon-search {
  display: inline-flex;
  align-items: center;
}

/* Homepage hero (replaces broken Revolution Slider) */
.romli-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 48px 24px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(19, 22, 47, 0.55), rgba(19, 22, 47, 0.35)),
    url("/wp-content/uploads/2019/09/marathon-details-bg2-1.jpg") center / cover
      no-repeat;
  color: #fff;
}
.romli-hero-title {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.25;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.romli-hero-accent-light {
  color: #a891e9;
}
.romli-hero-accent {
  color: #c4b0ff;
}

/* Kill leftover RevSlider empty shells if any remain */
rs-module-wrap,
.rev_slider_wrapper {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

#Top_bar .menu_wrapper {
  flex: 1 1 auto;
}
#Top_bar #menu {
  display: block;
}
#Top_bar .menu,
#menu > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
#Top_bar .menu > li {
  position: relative;
}
#Top_bar .menu > li > a {
  display: block;
  padding: 15px 0;
  color: #444;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
#Top_bar .menu > li > a span:not(.description) {
  padding: 0 14px;
  display: inline-block;
}
#Top_bar .menu > li > a:hover,
#Top_bar .menu > li.current-menu-item > a,
#Top_bar .menu > li.hover > a {
  color: var(--accent-hover);
}
#Top_bar .menu ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #f2f2f2;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
#Top_bar .menu li:hover > ul {
  display: block;
}
#Top_bar .menu ul li {
  width: 100%;
}
#Top_bar .menu ul li a {
  display: block;
  padding: 8px 18px;
  color: #5f5f5f;
  white-space: nowrap;
  font-weight: 500;
  font-size: 14px;
}
#Top_bar .menu ul li a:hover {
  color: #2e2e2e;
  background: rgba(0, 0, 0, 0.03);
}
#Top_bar .responsive-menu-toggle {
  display: none;
  color: var(--theme-blue);
  font-size: 28px;
  padding: 10px;
}
#Top_bar .top_bar_right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---- Subheader ---- */
#Subheader {
  background: #fff !important;
  background-image: none !important;
  padding: 36px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
#Subheader .title {
  font-size: 1.85rem;
  line-height: 1.25;
  margin: 0;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 1px;
  color: #444;
}

/* ---- Content ---- */
#Content {
  background-color: var(--gold);
  padding-bottom: 20px;
}
.the_content_wrapper,
.romli-article-body,
.romli-blog-catalog {
  font-size: 16px;
  line-height: 1.7;
}
.romli-article-body > *:first-child {
  margin-top: 0;
}
.romli-blog-intro {
  color: var(--ink);
  margin-bottom: 1.5em;
}
.entry-content {
  /* overflow: hidden; */
}

/* Builder columns without be.css: stack safely */
.wrap.mcb-wrap {
  width: 100% !important;
  float: none !important;
}
.mcb-column {
  float: none;
  width: 100% !important;
}
.mcb-column-inner,
.column_attr {
  padding: 0 5px;
}

/* ---- Buttons ---- */
.button,
a.button,
button,
input[type="submit"],
.wpcf7-submit {
  display: inline-block;
  padding: 12px 22px;
  background: var(--theme-blue);
  color: #fff !important;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}
.button:hover,
a.button:hover,
button:hover,
input[type="submit"]:hover,
.wpcf7-submit:hover {
  background: #007cc3;
}

/* ---- Forms ---- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
input[type="password"],
input[type="date"],
select,
textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--accent);
  border-radius: 0;
  font: inherit;
  margin-bottom: 12px;
  background: #fff;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #c8b4ff;
}

/* ---- Footer ---- */
#Footer {
  background: #fff !important;
  color: #666;
  padding: 0;
  margin-top: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
#Footer a {
  color: var(--theme-blue);
}
#Footer .footer_copy {
  padding: 28px 0;
}
#Footer .copyright {
  display: inline-block;
  margin-right: 16px;
}
#Footer .social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 10px;
}
#Footer .footer_button {
  float: right;
  color: var(--gold-edge) !important;
}
.romlifooter {
  margin-bottom: 16px;
}
.romlifooter img {
  max-width: 160px;
  object-fit: contain;
}

/* ---- Blog cards (inline styles already applied; light polish) ---- */
#blog-cards a {
  text-decoration: none;
}
#blog-lm-btn:hover {
  filter: brightness(0.95);
}

/* ---- Misc theme bits ---- */
.image_frame,
.photo,
figure {
  margin: 0 0 1em;
}
.header_placeholder {
  display: none;
}
#body_overlay,
#Side_slide {
  display: none;
}

/* LayerSlider shells: contain if present */
.ls-container,
#layerslider {
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 1239px) {
  #Top_bar .responsive-menu-toggle {
    display: block;
  }
  #Top_bar #menu {
    display: none;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
    z-index: 300;
  }
  #Top_bar #menu.is-open {
    display: block;
  }
  #Top_bar .menu,
  #menu > ul {
    flex-direction: column;
    align-items: stretch;
  }
  #Top_bar .menu > li > a {
    padding: 12px 16px;
  }
  #Top_bar .menu ul {
    position: static;
    box-shadow: none;
    background: #f7f7f7;
  }
  /* On mobile BeTheme expects logo-mobile; keep a single logo */
  #Top_bar #logo img.logo-main {
    display: inline-block !important;
  }
  #Top_bar #logo img.logo-mobile,
  #Top_bar #logo img.logo-mobile-sticky,
  #Top_bar #logo img.logo-sticky {
    display: none !important;
  }
  #Top_bar .search_wrapper {
    right: 10px;
    left: 10px;
    width: auto;
  }
}

@media (max-width: 767px) {
  #Wrapper {
    max-width: 100%;
    box-shadow: none;
  }
  #Action_bar {
    display: none;
  }
  #Subheader {
    padding: 22px 0;
  }
  #Subheader .title {
    font-size: 1.35rem;
  }
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.35rem;
  }
}
