/*
Theme Name: Lulo
Theme URI: https://lulo.gregorythemes.com/
Description: Premium Multipurpose Divi Child Theme
Author: Gregory Themes
Author URI: https://gregorythemes.com/
Template: Divi
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* =========================================================
   THEME CSS
========================================================= */

/* =========================================================
   TYPOGRAPHY
========================================================= */

/* Headings */


/* Links */
p a {
    text-decoration: underline;
}

p a:hover {
    text-decoration: none;
}

/* Footer Links */
.gt-footer-links p a {
    text-decoration: none;
}

.gt-footer-links p a:hover {
    text-decoration: underline;
}

/* =========================================================
   HEADER
========================================================= */

/* Header Style - Menu */
.gt-menu .et-menu .menu-item-has-children > a:first-child:after {
    content: '\4c';
}

.gt-menu .et_mobile_menu li a:hover,
.gt-menu .nav ul li a:hover {
    background-color: transparent;
}

/* Mobile Header Style - Menu */
.gt-menu .et_mobile_menu .menu-item-has-children > a {
    background-color: transparent !important;
}

.gt-menu .et_mobile_menu .menu-item-has-children {
    position: relative;
}

.gt-menu .et_mobile_menu .menu-item-has-children > .gt-submenu-toggle {
    position: absolute;
    right: 0;
    top: 0;
    width: 47px;
    height: 47px;
    border: none !important;
    z-index: 999;
}

.gt-menu .et_mobile_menu .menu-item-has-children > .gt-submenu-toggle:after {
    font-family: "ETModules";
    content: '\4c';
    font-size: 18px !important;
}

.gt-menu .et_mobile_menu .menu-item-has-children.gt-submenu-open > .gt-submenu-toggle:after {
    content: '\4d';
}

.gt-menu .et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #et-boc .et-l .et_pb_menu.gt-menu .et_mobile_menu li ul {
    display: none !important;
    visibility: hidden !important;
}

.gt-menu .et_mobile_menu .menu-item-has-children .sub-menu.gt-visible,
.et-db #et-boc .et-l .et_pb_menu.gt-menu .et_mobile_menu li ul.gt-visible {
    display: block !important;
    visibility: visible !important;
}

@media (max-width: 980px) {
    .et_pb_menu__wrap {
        padding: 22px 0 !important;
    }
}

/* =========================================================
   EQUAL BLURBS – CLEAN CARD LAYOUT
========================================================= */

.equal-blurbs .et_pb_column {
    display: flex;
}

.equal-blurbs .et_pb_blurb {
    width: 100%;
    height: 100%;
    display: flex;
}

.equal-blurbs .et_pb_blurb_content,
.equal-blurbs .et_pb_blurb_container {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Responsive Typography */
.equal-blurbs .et_pb_blurb h2,
.equal-blurbs .et_pb_blurb h3,
.equal-blurbs .et_pb_blurb h4,
.equal-blurbs .et_pb_blurb h5,
.equal-blurbs .et_pb_blurb h6 {
    font-size: clamp(18px, 2vw, 26px);
    line-height: 1.25;
    min-height: 2.6em;
    margin-bottom: 0.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    letter-spacing: 0.06em;
}

.equal-blurbs .et_pb_blurb .et_pb_blurb_description,
.equal-blurbs .et_pb_blurb p {
    line-height: 1.55;
}

/* Hover */
.equal-blurbs .et_pb_blurb {
    position: relative;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
}

.equal-blurbs .et_pb_blurb::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.06);
    opacity: 0;
    transition: opacity .22s ease;
    pointer-events: none;
}

.equal-blurbs .et_pb_blurb:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .14);
}

.equal-blurbs .et_pb_blurb:hover::before {
    opacity: 1;
}

/* =========================================================
   BODY TEXT SYSTEM
========================================================= */

body,
p,
.et_pb_text,
.et_pb_blurb_description,
.et_pb_toggle_content,
.et_pb_tab_content {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    line-height: 1.68;
}

/* Links */
p a,
li a,
.et_pb_text a {
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 100% 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    padding-bottom: 2px;
    opacity: .95;
}

p a:hover,
li a:hover,
.et_pb_text a:hover {
    opacity: 1;
    background-size: 100% 2px;
}

/* =========================================================
   HEADINGS SYSTEM
========================================================= */

h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: clamp(0.06em, 0.12vw, 0.12em);
    line-height: 1.15;
    margin: 0 0 0.7em;
}

h1 { font-size: clamp(32px, 4vw, 56px); }
h2 { font-size: clamp(24px, 2.8vw, 40px); }
h3 { font-size: clamp(18px, 2vw, 28px); }
h4 { font-size: clamp(16px, 1.6vw, 22px); }
h5 { font-size: clamp(14px, 1.3vw, 18px); }
h6 { font-size: clamp(12px, 1.1vw, 14px); }


/* =========================================================
   SV BUTTON (HARD OVERRIDE)
========================================================= */

.et_pb_button.sv-button,
a.sv-button,
button.sv-button,
input.sv-button {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: clamp(13px, 1vw, 14px);
    padding: 0.9em 2.4em;
    border-radius: 6px;
    background-color: #2E519C;
    color: #ffffff;
    cursor: pointer;
    transition: background-color .25s ease, box-shadow .25s ease;
}

.et_pb_button.sv-button:hover,
a.sv-button:hover,
button.sv-button:hover {
    background-color: #243f78;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}

/* =========================================================
   BODY TEXT SYSTEM – FONT SIZES (SEPARAT SEKTION)
   (brödtext, samma som i första dokumentet)
========================================================= */

body,
p,
.et_pb_text,
.et_pb_blurb_description,
.et_pb_toggle_content,
.et_pb_tab_content {
    font-size: clamp(15px, 0.35vw + 14px, 18px);
}

/* =========================================================
   SV BUTTON (YELLOW)
========================================================= */

.et_pb_button.sv-button-yellow,
a.sv-button-yellow,
button.sv-button-yellow,
input.sv-button-yellow {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: clamp(13px, 1vw, 14px);
    padding: 0.9em 2.4em;
    border-radius: 6px;
    background-color: #ffdf05;
    color: #111111;
    cursor: pointer;
    transition: background-color .25s ease, box-shadow .25s ease;
}

.et_pb_button.sv-button-yellow:hover,
a.sv-button-yellow:hover,
button.sv-button-yellow:hover {
    background-color: #e6c900;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}

/* =========================================================
   MENU TYPOGRAPHY RESET (DIVI SAFE)
========================================================= */

.et_pb_menu .et-menu > li > a,
.et_pb_menu .et_mobile_menu li a {
    text-transform: none;
    letter-spacing: normal;
    line-height: normal;
    font-size: inherit;
}

.highlight-text {
  color: #ffdf05;
}

/* =====================================
   DOUBLE ROW – GLOBAL FIX
   ===================================== */

/* Sektion spacing */
.double-row {
  padding: 90px 0;
}

/* Ta bort Divis standard 1080-begränsning */
.double-row .et_pb_row {
  width: 90%;
  max-width: 1600px;   /* Justera till 1440 om du vill */
  margin: 0 auto;
  display: flex;
  align-items: center;
  margin-bottom: 100px;
}

.double-row .et_pb_row:last-child {
  margin-bottom: 0;
}

/* =====================================
   TEXT
   ===================================== */

.double-row h2 {
  margin-bottom: 25px;
}

.double-row p {
  line-height: 1.7;
}

/* =====================================
   IMAGE – SAFE PREMIUM SHADOW
   ===================================== */

.double-row .et_pb_image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;

  box-shadow:
    0 8px 20px rgba(0,0,0,0.06),
    0 25px 60px rgba(0,0,0,0.08);

  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.double-row .et_pb_image img:hover {
  transform: translateY(-6px);
  box-shadow:
    0 15px 35px rgba(0,0,0,0.10),
    0 35px 80px rgba(0,0,0,0.12);
}

/* =====================================
   MOBILE FIX
   ===================================== */

@media (max-width: 980px) {

  .double-row {
    padding: 50px 0;
  }

  .double-row .et_pb_row {
    flex-direction: column !important;
    gap: 30px;
    margin-bottom: 30px;
  }

  /* Rad 1 – bild i kolumn 1 */
  .double-row-1 .et_pb_column:nth-child(1) {
    order: 1;
  }

  .double-row-1 .et_pb_column:nth-child(2) {
    order: 2;
  }

  /* Rad 2 – bild i kolumn 2 */
  .double-row-2 .et_pb_column:nth-child(2) {
    order: 1;
  }

  .double-row-2 .et_pb_column:nth-child(1) {
    order: 2;
  }

  .double-row .et_pb_text {
    max-width: 100%;
  }
}