/*
Theme Name: Hutch & Dutch Core
Author: The Alchemist
Description: A custom, zero-bloat family portal engine. 
Version: 1.01
*/
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap');

:root {
    --color-bg: #efeefe;
    --color-text: #204;
    --color-story: #638;     /* Deep Purple */
    --color-event: #ff4136;     /* Sativa Red */
    --color-announce: #0074d9;  /* Indica Blue */
    --gutter: 1.5rem;
}

* { box-sizing: border-box; }
a { text-decoration: none; }
body {
    margin: 0;
    padding: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: -0.011em; 	
	font-feature-settings: "cv05", "cv08", "ss01"; 
    /* cv05: Lowercase 'l' with a tail 
       cv08: Upper-case 'G' with a spur
       ss01: Open digits (makes numbers pop) */
}

h1, .cover-content h1 {
    font-weight: 900; /* The "Big Honkin" Black */
    letter-spacing: -0.04em; /* Tighten the heavy headlines */
    text-transform: lowercase; /* Optional: Looks very "Inter" and modern */
}

h2, .post-type-badge, .btn {
    font-weight: 500; /* The "Medium" anchor */
}
img { max-width: 100%; height: auto; display: block; }

/* The Logo / Main Headlines */
.site-logo {
    /* Ensure the name is exactly as Google serves it */
    font-family: "Fraunces", serif; 
    font-weight: 700;
    /* This 'wakes up' the variable features */
    font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; 
	color: #232323;
}

.site-logo .amp {
    font-family: "Fraunces", serif;
    font-style: italic; /* This triggers the artsy ampersand */
    font-weight: 300;
	font-size: 1.75rem;
    font-variation-settings: "SOFT" 80, "WONK" 1;
}

/* The Body Text (Inter) */
body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.6;
}

.site-header {
   /* background: #fff;
    border-bottom: 1px solid #eee; */
    padding: 1rem var(--gutter);
}

.logo {
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-text);
    letter-spacing: 1px;
}

.feature-cover {
    position: relative;
    background: #000;
    color: #fff;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--gutter);
    overflow: hidden;
}

.cover-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.6;
}

.cover-image img {
    width: 100%; height: 100%; object-fit: cover;
}

.cover-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    background: var(--color-story);
    padding: 0.2rem 0.5rem;
}

.social-feed {
    display: grid;
    gap: var(--gutter);
    padding: var(--gutter);
}

/* Desktop Grid: 3 Columns */
@media (min-width: 768px) {
    .social-feed {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

.feed-item {
    background: #fff;
    padding: var(--gutter);
    border-top: 5px solid #ccc;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Color Coding by Post Type */
.type-story { border-color: var(--color-story); }
.type-event { border-color: var(--color-event); }
.type-announcement { border-color: var(--color-announce); }

.post-type-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: bold;
    color: #888;
}

.feature-cover::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 1;
}


/* ---***--- BINGO ---***--- */
.bingo-container {
	padding: 0 15px;
}
.bingo-header {
	text-align: center;
}
.bingo-container h1, 
.bingo-container h2 {
	font-weight: 200;	
	padding: 20px 0 0;
	margin: 0;
}
.bingo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns */
    gap: 10px;
    max-width: 800px;
    margin: 2rem auto;
}

.bingo-slot {
    aspect-ratio: 1 / 1;
	background: #fff;
    border: 1px solid #638;
	border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.2s ease;
}

.bingo-slot.stamped {
    background: #638; 
 /*   text-decoration: line-through;
    opacity: 0.6; */
}

.free-space {
    font-weight: 900;
    background: #638;
	color: #fff;
}
@media (max-width: 600px) {
    .bingo-grid {
        gap: 5px;
    }
    .bingo-slot {
        font-size: 0.7rem;
        padding: 5px;
    }
}
.mini-map {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    max-width: 250px; /* Small and tidy */
    margin: 0 auto 2rem;
    position: sticky;
    top: 10px;
    z-index: 100;
}

.bingo-button-bank {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    padding: 10px;
}

.bingo-controller-btn {
    padding: 15px 10px;
    background: #fff;
    border: 1px solid #638;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
}

.bingo-controller-btn.active-btn {
    background: #616063;
    border-color: #000;
    font-weight: 900;
}

.bingo-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(51,0,102,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.overlay-content {
    background: #fff;
    padding: 2rem;
    border-radius: 6px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.player-badge {
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
	text-align:center;
}

#current-player-display {
    font-weight: 500;
    color: #000;
}

.bingo-btn-primary {
    background: #000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    margin-top: 15px;
}