/* ==========================================================================
   WETBANDITS.CSS - COMBINED RETRO LAYOUT, CARDS & FIXES
   ========================================================================== */
/* Header Background Color & Clean Flow Layout (Fixed positioning bug) */
header,
.site-header,
.custom-landing-header,
#masthead {
    background-color: #eeeeee;
    width: 100%;
    position: relative;
    left: 0;
    right: auto;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
    padding: 30px 0;
}

/* Site Title Sizing: 80% of container width with fluid sizing calculation */
.site-title,
.custom-landing-header .site-title,
.site-title a {
    display: block;
    width: 80%;
    max-width: 80%;
    margin: 0 auto;
    font-size: calc(80vw * 0.1);
    text-align: center;
    box-sizing: border-box;
    padding: 0;
    color: #111111;
	text-transform: uppercase;
}

.home .entry-header{display:none;}

/* --- 1. GRID LAYOUTS (.wb-services-grid & .wb-quick-section) --- */
.wb-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 80px;
    padding-top: 10px;
}

.wb-quick-section {
    border-top: 6px double #111111;
    padding-top: 60px;
}

.wb-quick-section h3 {
    font-family: "Courier New", Courier, monospace, sans-serif;
    text-align: center;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 40px;
}

.wb-quick-section .wb-split-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
}

/* Responsive fallback for smaller screens */
@media (max-width: 768px) {
    .wb-services-grid,
    .wb-quick-section .wb-split-row {
        grid-template-columns: 1fr;
    }
}

/* --- 2. GLOBAL & BODY AESTHETIC --- */
body {
    background-color: #fcfbfa;
    color: #111111;
}

/* --- 3. RETRO CARDS (.wb-card & .wb-split-block) --- */
.wb-card {
    background: #ffffff;
    border: 3px solid #111111;
    box-shadow: 8px 8px 0px #111111;
    border-radius: 0px;
    padding: 0px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.wb-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 10px 10px 0px #111111;
}

/* Card images container matching top borders */
.wb-card img, 
.wb-card .wb-card-image,
.wb-card-image-box img {
    width: 100%;
    height: 240px;
    border-bottom: 3px solid #111111;
    object-fit: cover;
}

.wb-card-image-box {
    border-bottom: 3px solid #111111;
    overflow: hidden;
    height: 240px;
    background: #111111;
}

/* Text container padding inside the card */
.wb-card-content, 
.wb-card > *:not(img):not(.wb-card-image):not(.wb-btn):not(.wb-card-image-box) {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.wb-card-content h2,
.wb-card h3 {
    margin-top: 0;
    font-family: "Courier New", Courier, monospace, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #111111;
    margin-bottom: 16px;
}

.wb-card-content p,
.wb-card p {
    color: #333333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Safelight Badge styling */
.safelight-badge {
    background: #ff0000;
    color: #ffffff;
    padding: 4px 8px;
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    align-self: flex-start;
}

/* Split blocks for quick section */
.wb-split-block {
    border: 3px solid #111111;
    padding: 40px;
    background: #ffffff;
    box-shadow: 8px 8px 0px #111111;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.wb-split-block h4 {
    font-family: "Courier New", Courier, monospace, sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 15px;
}

.wb-split-block p {
    font-family: "Courier New", Courier, monospace, sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* --- 4. BUTTONS --- */
.wb-btn,
.wb-landing-body .wb-btn {
    display: block;
    background-color: #111111;
    color: #ffffff;
    padding: 16px 20px;
    border: none;
    border-top: 3px solid #111111;
    border-radius: 0px;
    text-decoration: none;
    font-family: "Courier New", Courier, monospace, sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.1s ease, color 0.1s ease;
}

.wb-landing-body .wb-split-block .wb-btn {
    width: auto;
    min-width: 200px;
}

.wb-btn:hover,
.wb-landing-body .wb-btn:hover {
    background-color: #ffffff;
    color: #111111;
    text-decoration: none;
}

/* --- 5. FOOLPROOF HEADER OVERLAP & WORDPRESS ADMIN BAR FIX --- */
.site {
    display: block;
    position: relative;
}

header#masthead.site-header {
    position: relative !important;
    width: 100%;
    z-index: 50;
    box-sizing: border-box;
}

#primary.content-area {
    clear: both;
}

body.admin-bar header#masthead.site-header {
    margin-top: 0;
}

@media screen and (min-width: 783px) {
    body.admin-bar {
/*        padding-top: 32px;*/
    }
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        padding-top: 46px;
    }
}