
/* =========================================================
   HEDA SHELVES
   CROATIA ELECTRONICS DISTRIBUTOR PALLET RACKING CASE
========================================================= */

.heda-cro-elec {
    --orange: #f47721;
    --blue: #165fa8;
    --dark: #202b36;
    --text: #424a52;
    --muted: #717981;
    --light: #f5f7f8;
    --line: #e2e5e8;
    --white: #ffffff;

    max-width: 1160px;
    margin: 0 auto;
    padding: 8px 18px 60px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    font-size: 16px;
    line-height: 1.72;
    box-sizing: border-box;
}

.heda-cro-elec *,
.heda-cro-elec *::before,
.heda-cro-elec *::after {
    box-sizing: border-box;
}

.heda-cro-elec h1,
.heda-cro-elec h2,
.heda-cro-elec h3,
.heda-cro-elec p {
    margin-top: 0;
}

.heda-cro-elec img {
    max-width: 100%;
}


/* =========================================================
   INTRO
========================================================= */

.ce-intro {
    padding: 25px 30px;
    margin-bottom: 20px;
    background: var(--light);
    border-left: 4px solid var(--orange);
}

.ce-label {
    display: block;
    margin-bottom: 7px;
    color: var(--orange);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.ce-intro h1 {
    max-width: 940px;
    margin-bottom: 11px;
    color: var(--dark);
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
}

.ce-intro p {
    max-width: 950px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   META
========================================================= */

.ce-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 32px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.ce-meta-item {
    padding: 16px 19px;
    border-right: 1px solid var(--line);
}

.ce-meta-item:last-child {
    border-right: 0;
}

.ce-meta-label {
    display: block;
    margin-bottom: 4px;
    color: var(--orange);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ce-meta-value {
    display: block;
    color: var(--dark);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}


/* =========================================================
   IMAGE
========================================================= */

.ce-image {
    margin: 28px 0 38px;
}

.ce-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border: 0;
}

.ce-caption {
    margin: 9px 0 0 !important;
    color: #899098;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}


/* =========================================================
   GENERAL
========================================================= */

.ce-section {
    margin: 38px 0;
}

.ce-heading {
    max-width: 850px;
    margin-bottom: 20px;
}

.ce-kicker {
    display: block;
    margin-bottom: 6px;
    color: var(--orange);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.ce-section h2,
.ce-result h2 {
    margin-bottom: 13px;
    color: var(--dark);
    font-size: 26px;
    line-height: 1.3;
}

.ce-section h3 {
    margin-bottom: 9px;
    color: var(--dark);
    font-size: 18px;
    line-height: 1.4;
}

.ce-section p {
    margin-bottom: 14px;
}

.ce-section p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   REQUIREMENT / SOLUTION
========================================================= */

.ce-two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ce-card {
    height: 100%;
    padding: 25px 27px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.ce-card:first-child {
    border-top: 3px solid var(--blue);
}

.ce-card:last-child {
    border-top: 3px solid var(--orange);
}

.ce-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}


/* =========================================================
   INSTALLATION
========================================================= */

.ce-install {
    padding: 30px 32px;
    background: var(--light);
    border-left: 4px solid var(--blue);
}

.ce-install > p {
    max-width: 930px;
}

.ce-install-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 22px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.ce-install-item {
    padding: 19px;
    border-right: 1px solid var(--line);
}

.ce-install-item:last-child {
    border-right: 0;
}

.ce-install-num {
    display: block;
    margin-bottom: 6px;
    color: var(--orange);
    font-size: 11px;
    font-weight: 700;
}

.ce-install-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--dark);
    font-size: 13px;
}

.ce-install-item span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   LAYOUT
========================================================= */

.ce-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 22px;
}

.ce-layout-item {
    padding: 22px;
    background: var(--light);
}

.ce-layout-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--dark);
    font-size: 14px;
}

.ce-layout-item span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   SAFETY
========================================================= */

.ce-safety {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    margin: 38px 0;
    background: var(--dark);
}

.ce-safety-title {
    padding: 30px;
    background: var(--blue);
}

.ce-safety-title .ce-kicker {
    color: rgba(255,255,255,.72);
}

.ce-safety-title h2 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.35;
}

.ce-safety-copy {
    padding: 30px 34px;
    color: rgba(255,255,255,.80);
}

.ce-safety-copy p {
    margin-bottom: 14px;
}

.ce-safety-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px 18px;
    margin-top: 17px;
}

.ce-safety-point {
    position: relative;
    padding-left: 17px;
    color: rgba(255,255,255,.88);
    font-size: 13px;
}

.ce-safety-point::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}


/* =========================================================
   RESULT
========================================================= */

.ce-result {
    padding: 29px 32px;
    margin: 38px 0;
    background: var(--light);
}

.ce-result > p {
    max-width: 930px;
}

.ce-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 22px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.ce-highlight {
    padding: 18px;
    border-right: 1px solid var(--line);
}

.ce-highlight:last-child {
    border-right: 0;
}

.ce-check {
    display: block;
    margin-bottom: 6px;
    color: var(--orange);
    font-size: 17px;
    font-weight: 700;
}

.ce-highlight strong {
    display: block;
    margin-bottom: 4px;
    color: var(--dark);
    font-size: 13px;
}

.ce-highlight span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   FEEDBACK
========================================================= */

.ce-feedback {
    padding: 27px 30px;
    margin: 38px 0 24px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--orange);
    background: #ffffff;
}

.ce-feedback h2 {
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 22px;
}

.ce-feedback p {
    margin-bottom: 12px;
    color: var(--muted);
}

.ce-feedback p:last-child {
    margin-bottom: 0;
}

.ce-quote {
    color: var(--dark) !important;
    font-size: 17px;
    font-weight: 700;
}


/* =========================================================
   CTA
========================================================= */

.ce-cta {
    margin-top: 44px;
    padding: 34px 28px;
    text-align: center;
    background: var(--dark);
    border-top: 4px solid var(--orange);
}

.ce-cta h2 {
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 25px;
    line-height: 1.35;
}

.ce-cta p {
    max-width: 730px;
    margin: 0 auto 20px;
    color: rgba(255,255,255,.72);
    font-size: 14px;
}

.ce-cta .ce-cta-btn {
    display: inline-block;
    padding: 13px 31px !important;
    background: var(--orange) !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    cursor: pointer;
}

.ce-cta .ce-cta-btn:hover {
    background: #dc6518 !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .ce-meta,
    .ce-install-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ce-meta-item:nth-child(2),
    .ce-install-item:nth-child(2) {
        border-right: 0;
    }

    .ce-meta-item:nth-child(1),
    .ce-meta-item:nth-child(2),
    .ce-install-item:nth-child(1),
    .ce-install-item:nth-child(2) {
        border-bottom: 1px solid var(--line);
    }

    .ce-layout {
        grid-template-columns: 1fr;
    }

    .ce-safety {
        grid-template-columns: 1fr;
    }

    .ce-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .ce-highlight:nth-child(2) {
        border-right: 0;
    }

    .ce-highlight:nth-child(1),
    .ce-highlight:nth-child(2) {
        border-bottom: 1px solid var(--line);
    }
}


@media (max-width: 640px) {

    .heda-cro-elec {
        padding: 5px 10px 42px;
    }

    .ce-intro {
        padding: 22px 20px;
    }

    .ce-intro h1 {
        font-size: 25px;
    }

    .ce-meta,
    .ce-two-col,
    .ce-install-grid,
    .ce-highlights {
        grid-template-columns: 1fr;
    }

    .ce-meta-item,
    .ce-install-item,
    .ce-highlight {
        border-right: 0 !important;
        border-bottom: 1px solid var(--line);
    }

    .ce-meta-item:last-child,
    .ce-install-item:last-child,
    .ce-highlight:last-child {
        border-bottom: 0;
    }

    .ce-section {
        margin: 32px 0;
    }

    .ce-section h2,
    .ce-result h2 {
        font-size: 23px;
    }

    .ce-install,
    .ce-result {
        padding: 25px 21px;
    }

    .ce-safety-title,
    .ce-safety-copy {
        padding: 25px 21px;
    }

    .ce-safety-list {
        grid-template-columns: 1fr;
    }

    .ce-cta {
        padding: 30px 20px;
    }

    .ce-cta h2 {
        font-size: 23px;
    }
}
