/*
 Theme Name: Blocksy Child
 Theme URI: https://www.cinesist.com/
 Description: My custom Blocksy Child Theme for Cinesist, now with extra snark!
 Author: Cinesist
 Author URI: https://www.cinesist.com/
 Template: blocksy
 Version: 1.0.2 /* IMPORTANT: Increment this version number (e.g., 1.0.2) to force browser cache bust 
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: blocksy-child
*/

/* Your custom SNARKY CSS starts here */
body {
    /* Keep your test style here, e.g.: */
    /* background-color: #ff0000 !important; */
}

/* Color Palette & Typography */

@import url('https://fonts.googleapis.com/css2?family=Anton
&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900
&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --cinesist-black: #000;
    --cinesist-dark-grey: #1a1a1a;
    --cinesist-dark-grey-lighter: #2a2a2a;
    --cinesist-light-grey: #cccccc;
    --cinesist-text-color: #f0f0f0; /* Off-white for general text */
    --cinesist-heading-color: #e2b304; /* Cinesist Gold for headings */
    --cinesist-accent-color: #e50914; /* Cinesist Red for accents */
    --cinesist-border-color: rgba(255, 255, 255, 0.2); /* Subtle white border */
    --cinesist-purple: #d102d1; /* New: Devil Purple for specific elements */
    --cinesist-orange: #ff6600; 

/* Typography */
    --cinesist-body-font: 'Inter', sans-serif;
    --cinesist-heading-font: 'Montserrat', sans-serif;
	--cinesist-brand-font: 'Anton', sans-serif;

/* Spacing */
    --cinesist-spacing-unit: 1.5rem; /* ~24px */

/* Shadows */
    --cinesist-author-box-shadow: 0 50px 90px 0 rgba(255, 255, 255, 0.1);
    --cinesist-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);

/* Define --base for general link color consistency (was missing from your root) */
    --base: var(--cinesist-text-color); /* Explicitly set --base to Cinesist Off-white */
}

/* Cinesist Header Logo */
#header-brand-logo {
    padding-top: 5px;
    margin-bottom: -20px;
}

/* Cinesist Brand Logo */
.brand-start {
    color: #e50914;
    font-family: Anton;
    font-size: 3.5em;
}
.brand-end {
    color: #fff;
    font-family: Anton;
    font-size: 3.5em;
}

/* Cinesist Brand Words */
.brand-word-start {
    color: #e50914;
    font-family: Anton;
}
.brand-word-end {
    color: #fff;
    font-family: Anton;
}

/* Snarkive Profiles */


/* Styling for the container of related cards (e.g., cast/directors) */
.cinesist-related-cards-container {
    display: flex; /* Arrange items in a row */
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    gap: 15px; /* Space between cards */
    justify-content: center; /* Center the cards if there's extra space */
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Styling for each individual related person card */
.cinesist-related-card {
    background-color: #222; /* Dark background for the card */
    border-radius: 8px; /* Rounded corners */
    overflow: hidden; /* Ensures image corners are rounded */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    text-align: center;
    padding-bottom: 10px; /* Space below name */
    width: 120px; /* Fixed width for each card */
    flex-shrink: 0; /* Prevent cards from shrinking */
    transition: transform 0.2s ease-in-out; /* Smooth hover effect */
}

.cinesist-related-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
}

.cinesist-related-card a {
    text-decoration: none; /* Remove underline from link */
    color: inherit; /* Inherit text color */
    display: block; /* Make the whole card clickable */
}

/* Styling for the headshot image */
.cinesist-related-card-image {
    width: 100%; /* Image fills the card width */
    height: 150px; /* Fixed height for consistency */
    object-fit: cover; /* Cover the area, cropping if necessary */
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    display: block; /* Remove extra space below image */
}

/* Styling for the person's name */
.cinesist-related-card-name {
    display: block; /* Make it a block element */
    font-size: 0.9em;
    font-weight: bold;
    color: #eee; /* Light text color */
    margin-top: 10px;
    padding: 0 5px; /* Padding for text inside card */
    line-height: 1.2;
}

.cinesist-related-card a:hover .cinesist-related-card-name {
    color: #e2b304; /* Highlight name on gold on hover */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .cinesist-related-cards-container {
        gap: 10px;
    }
    .cinesist-related-card {
        width: 100px; /* Slightly smaller cards on tablet */
        height: auto;
    }
    .cinesist-related-card-image {
        height: 120px;
    }
    .cinesist-related-card-name {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .cinesist-related-cards-container {
        gap: 8px;
    }
    .cinesist-related-card {
        width: 80px; /* Even smaller cards on mobile */
        height: auto;
    }
    .cinesist-related-card-image {
        height: 100px;
    }
    .cinesist-related-card-name {
        font-size: 0.7em;
    }
}

/* --- END OF FILE --- */