/**
Theme Name: Advisory
Author: Advisory
Author URI: https://advisoryab.se
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: advisory
Template: astra
*/




/***** HEADINGS *****/

/* Divider heading */
.divider-heading .elementor-heading-title {
    display: flex;
    align-items: center;
    gap: 30px;
}

.divider-heading .elementor-heading-title::before,
.divider-heading .elementor-heading-title::after {
    content: "";
    flex: 1;
    border-top: 1px solid #b3a179;
}



/***** ELEMENTS *****/

/* Custom icon container - line to the left of icon */
.custom-img-container .elementor-image-box-img {
    position: relative;
}

.custom-img-container .elementor-image-box-img::before {
    content: "";
    position: absolute;
    right: 100%;              /* börjar direkt till vänster om bilden */
    top: 50%;                 /* vertikalt centrerad mot bilden */
    width: 100vw;             /* går garanterat hela vägen ut till kortets kant */
    border-top: 1px solid #b3a179;
}



/* ============================================
   PROCESS-SEKTION – "Hur vi arbetar"
   ============================================ */

.process-grid {
    --cirkel: 90px;              /* cirkelns diameter */
    --linje-y: 55px;             /* linjens avstånd från sektionens topp */
    --linje-farg: #B0A080;
    --bakgrund: #FFFFFF;         /* MÅSTE matcha sektionens bakgrund */

    position: relative;
    background-image: linear-gradient(var(--linje-farg), var(--linje-farg));
    background-size: 78% 1px;
    background-position: center var(--linje-y);
    background-repeat: no-repeat;
}


/* --- Cirklarna --- */
.process-grid .circle-container {
    width: var(--cirkel);
    height: var(--cirkel);
    min-width: var(--cirkel);
    max-width: var(--cirkel);
    min-height: var(--cirkel);
    max-height: var(--cirkel);
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
    padding: 0;
    box-sizing: border-box;

    align-self: center;
    border-radius: 50%;
    border: 1px solid var(--linje-farg);
    background-color: var(--bakgrund);   /* maskerar linjen under */

    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Siffran inuti cirkeln */
.process-grid .circle-container > .elementor-widget {
    margin: 0;
    padding: 0;
    line-height: 1;
}


/* --- Stegen --- */
.process-grid > .process-container {
    align-items: center;
    text-align: center;
}

/* Rubriker reserverar två rader så brödtexten linjerar */
.process-grid > .process-container > .elementor-widget-heading {
    min-height: 2.6em;
    display: flex;
    align-items: center;
}


/* ============================================
   IPAD – 2 per rad
   ============================================ */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        background-image: none;      /* linjen fungerar inte över 2 rader */
    }
}


/* ============================================
   MOBIL – 1 per rad
   ============================================ */
@media (max-width: 767px) {
    .process-grid {
        grid-template-columns: 1fr !important;
    }

    .process-grid > .process-container > .elementor-widget-heading {
        min-height: 0;               /* ingen linjering behövs på en kolumn */
    }
}

