/* 
 Theme Name:   warehouse-child
 Theme URI:    
 Description:  
 Author:       
 Author URI:   
 Template:     logistic-warehouse
 Version:      1.0

 /* == Add your own styles below this line ==
--------------------------------------------*/

:root {
    --body-bg-color: #fafafa;
    --body-bg-gradient1: #fafafa;
    --body-bg-gradient2: #e2e8f0;
    --body-text-color: #262626;
    --heading-color: #991b1b;
    --hero-gradient1: #b35a6d;
    --hero-gradient2: #fe7396;
    --footer-bg-color: #111111;
    --footer-bg-gradient1: #111111;
    --footer-bg-gradient2: #1f2937;
    --link-color: #dc2626;
    --link-text-color: #ffffff;
    --footer-link-color: #de5656;
    --box-color: #b91c1c;
    --box-text-color: #ffffff;
    --header-bg-color: #ffffff;
    --font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
    --nav-link-color: #000000;
    --footer-text-color: #e5e5e5;
    --header-text-color: #ffffff;
}

html {
    overflow-x: hidden;
}

body {
    background-color: var(--body-bg-color);
    color: var(--body-text-color) !important;
    font-family: var(--font-family);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;

}


h1 {
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2rem) !important;
}

h3 {
    font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}

p {
    margin-bottom: 0.5rem !important;
}

section {
    padding: 15px 0;
    scroll-margin-top: 70px;
    margin: 30px 0;
}


.main-section-style-h3-image .h3-image-card {
    padding: 0.7rem;
    border-radius: 8px;
    background: color-mix(in srgb, var(--body-text-color) 5%, transparent);
    border: 1px solid color-mix(in srgb, var(--body-text-color) 10%, transparent);
    margin-bottom: 1.25rem;
}

.main-section-style-h3-image .h3-image-card:last-child {
    margin-bottom: 0;
}

.main-section-style-h3-image h3 {
    text-align: center;
    padding-bottom: 0.5rem;
    margin-top: 0;
}

.main-section-style-h3-image h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--link-color);
    margin: 0.4rem auto 0.75rem;
}

.main-section-style-h3-image img {
    display: block;
    margin: 0 auto 1.25rem;
    max-width: 700px;
    width: 100%;
    border-radius: 6px;
    float: none !important;
}


.main-section-style-contrast {
    padding: 1.5rem;
    border-radius: 8px;
    background: var(--box-color);
}

.main-section-style-contrast,
.main-section-style-contrast :is(h2, h3, h4, h5, h6, p, li, span, strong, em, td, th, a) {
    color: var(--box-text-color, #ffffff) !important;
}

.main-section-style-contrast a {
    text-decoration: underline !important;
}

.main-section-style-contrast a:hover {
    color: var(--box-text-color, #ffffff) !important;
    opacity: 0.8;
}



.main-section-style-callout {
    padding: 1.25rem 1.5rem;
    border: 1px solid color-mix(in srgb, var(--link-color) 35%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--link-color) 8%, var(--body-bg-color));
}


.main-section-style-h3-grid .main-section-h3-grid {
    margin-top: 1rem;
}

.main-section-style-h3-grid .box {
    height: 100%;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--box-text-color, #ffffff) 18%, transparent);
    background: var(--box-color);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.main-section-style-h3-grid .box,
.main-section-style-h3-grid .box :is(h2, h3, h4, h5, h6, p, li, span, strong, em, td, th, a) {
    color: var(--box-text-color, #ffffff) !important;
}

.main-section-style-h3-grid .box a {
    text-decoration: underline !important;
}

.main-section-style-h3-grid .box a:hover {
    color: var(--box-text-color, #ffffff) !important;
    opacity: 0.8;
}



.main-section-style-accent-top {
    padding: 1.5rem;
    border-top: 4px solid var(--link-color);
    border-radius: 8px;
    background: color-mix(in srgb, var(--body-bg-color) 94%, var(--body-text-color));
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

#sidebar .widget {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: none;
    border-bottom: 0px;
    margin-bottom: 30px;
}

#sidebar .widget:hover {
    box-shadow: none;
}

.page-header h1 {
    position: relative;
    isolation: isolate;
    width: fit-content;
    max-width: 100%;
    margin: 1.5rem auto 2rem;
    padding: 0.6em 1em;
    color: var(--heading-color);
    text-align: center;
    text-wrap: balance;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.page-header h1::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 15% 5%;
    border-radius: 60% 35% 55% 40%;
    background: linear-gradient(120deg,
            color-mix(in srgb, var(--hero-gradient2) 22%, transparent),
            color-mix(in srgb, var(--hero-gradient1) 8%, transparent));
    transform: rotate(-3deg);
}

.page-header h1::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid var(--hero-gradient1);
    border-radius: 16px 0 16px 0;
    clip-path: polygon(0 0, 24% 0, 24% 8%, 2% 8%,
            2% 70%, 0 70%, 0 0,
            100% 100%, 76% 100%, 76% 92%,
            98% 92%, 98% 30%, 100% 30%, 100% 100%);
    pointer-events: none;
}

section h2 {
    position: relative;
    isolation: isolate;
    width: fit-content;
    max-width: 100%;
    margin: 1.25rem auto 1.5rem;
    padding: 0.25em 0.65em 0.45em;
    text-align: center;
    text-wrap: balance;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

section h2::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 45% 0 15%;
    border-radius: 4px 18px 6px 14px;
    background: linear-gradient(110deg,
            color-mix(in srgb, var(--hero-gradient2) 25%, transparent),
            color-mix(in srgb, var(--hero-gradient1) 8%, transparent));
    transform: rotate(-2deg);
    pointer-events: none;
}

section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 45%;
    height: 6px;
    border-bottom: 2px solid var(--link-color);
    border-radius: 50%;
    transform: translateX(-50%) rotate(-2deg);
    pointer-events: none;
}

.entry-content h3 {
    clear: none !important;
}