/* Basic reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4; /* Light background for better contrast */
}

header {
    background-color: #fff;
    padding: 1em 1.5em; /* Added more padding */
    text-align: center;
    border-bottom: 2px solid #007bff; /* Accent border */
    margin-bottom: 20px; /* Space below header */
}

header h1 {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    font-size: 2.5em; /* Slightly larger */
}

.blue-z {
    color: #007bff; /* Example blue color for Z */
}

.container {
    max-width: 800px;
    margin: 0 auto; /* Center the container */
    padding: 0 15px; /* Side padding for smaller screens */
    width: 100%;
}

.content-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 25px;
    padding: 20px; /* Increased padding */
    box-shadow: 0 4px 8px rgba(0,0,0,0.05); /* Softer shadow */
    overflow: hidden; /* Helps contain floated/absolute elements if any were added later */
}

.content-item p { /* Style for the paragraph containing the link and brand */
    margin-top: 0;
    margin-bottom: 10px; /* Space before video or tweet */
    font-size: 1.1em;
}

.product-link {
    color: #0056b3; /* Darker blue for links */
    text-decoration: none;
    font-weight: 700; /* Bold from Open Sans */
}

.product-link:hover,
.product-link:focus { /* Added focus for accessibility */
    text-decoration: underline;
    color: #003d80; /* Darker on hover/focus */
}

.brand {
    font-size: 0.85em;
    color: #555;
    margin-left: 5px; /* Space from link */
}

.our-take {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ccc; /* Lighter dashed line */
}

.our-take ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

.our-take li {
    margin-bottom: 8px; /* More space between list items */
    font-size: 0.95em;
    line-height: 1.5;
}

/* Responsive YouTube Video Wrapper */
.video-player-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000; /* Placeholder background */
    margin-bottom: 1em; /* Space below video */
    border-radius: 4px; /* Slightly rounded corners for the video area */
}

.video-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Twitter Embed Stability */
.twitter-tweet {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
    min-width: 250px !important; /* Prevent excessive squishing */
    border-radius: 4px; /* Match other rounded elements */
    margin-top: 10px; /* Add some space above tweet */
    margin-bottom: 10px; /* Add some space below tweet */
}

/* Footer styles */
footer {
    text-align: center;
    padding: 25px 15px; /* Increased padding */
    font-size: 0.8em;
    color: #666;
    border-top: 1px solid #ddd;
    margin-top: 30px;
    background-color: #f9f9f9; /* Slight background for footer */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    .content-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px; /* Adjust base font size for small devices */
    }
    header h1 {
        font-size: 1.8em;
    }
    .content-item p {
        font-size: 1em;
    }
    .our-take li {
        font-size: 0.9em;
    }
    .container {
        padding: 0 10px; /* Reduce side padding slightly on very small screens */
    }
}