/* File: wp-content/themes/big-tits-blog/style.css */
/*
 Theme Name: Big Tits Blog
 Version: 6.5
 Description: A WordPress theme for Big Tits Blog, celebrating female body positivity with a sharp, HD, adult-oriented design, optimized for 800px-wide images and videos with full post width, and a navigation bar with a crisp categories dropdown.
 Author: Your Name
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Poppins:wght@700;800&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1E293B; /* Dark slate grey */
    color: #FFFFFF; /* Pure white */
    line-height: 1.6;
}
header {
    background: #0F172A; /* Darker slate grey */
    color: #FFFFFF; /* Pure white */
    text-align: center;
    padding: 1rem 0;
}
header h1 {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800; /* Bolder */
    letter-spacing: 0.5px;
}
header p {
    margin: 0.3rem 0 0;
    font-size: 1rem;
    font-style: italic;
    color: #94A3B8; /* Light grey */
}
.site-title-link {
    color: #FFFFFF; /* Pure white */
    text-decoration: none;
    transition: opacity 0.3s;
}
.site-title-link:hover {
    opacity: 0.8;
}
nav {
    background: #1E293B; /* Dark slate grey */
    padding: 0.5rem 0;
    text-align: center;
}
nav .main-menu {
    display: inline-block;
    margin: 0 1rem;
}
nav .main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
nav .main-menu li {
    margin: 0 1rem;
}
nav .main-menu a {
    color: #FFFFFF; /* Pure white */
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: color 0.3s;
}
nav .main-menu a:hover {
    color: #E5E7EB; /* Light grey */
}
nav .category-dropdown {
    display: inline-block;
    margin: 0.5rem 1rem;
}
nav .category-dropdown select {
    background: #2D3748; /* Muted charcoal */
    color: #FFFFFF; /* Pure white */
    border: 1px solid #475569; /* Light grey */
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    max-width: 180px;
    width: 100%;
    transition: border-color 0.3s, background 0.3s;
}
nav .category-dropdown select:hover,
nav .category-dropdown select:focus {
    background: #3C4A5E; /* Slightly lighter charcoal */
    border-color: #E5E7EB; /* Light grey */
    outline: none;
}
nav .category-dropdown option {
    background: #2D3748; /* Muted charcoal */
    color: #FFFFFF; /* Pure white */
}
.container {
    max-width: 816px;
    margin: 0 auto;
    padding: 2rem 0.5rem;
    display: block;
}
.post {
    background: #2D3748; /* Muted charcoal */
    border: 1px solid #475569; /* Light grey border */
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Soft shadow */
    margin-bottom: 1.5rem;
    padding: 1.5rem 0.5rem;
    transition: box-shadow 0.2s;
    display: block;
    visibility: visible;
}
.post-image-link {
    display: block;
    width: 100%;
    text-decoration: none;
}
.post-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* Enforce 16:9 aspect ratio */
    border-radius: 4px;
    margin-bottom: 1rem;
    display: block;
    object-fit: cover; /* Crop to fit */
}
.post-excerpt {
    font-size: 1rem;
    color: #FFFFFF; /* Pure white */
    margin-bottom: 0.5rem;
}
.read-more {
    color: #FFFFFF; /* Pure white */
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}
.read-more:hover {
    color: #E5E7EB; /* Light grey */
}
@media (max-width: 600px) {
    .post {
        padding: 1rem 0.25rem;
        border: none; /* Remove border on mobile */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); /* Lighter shadow on mobile */
    }
    .post-image {
        margin-bottom: 0.75rem;
    }
    .post-excerpt {
        font-size: 0.9rem;
    }
    .read-more {
        font-size: 0.9rem;
    }
}
.post:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.25);
}
.post-title {
    margin: 0 0 1rem;
    font-family: 'Poppins', sans-serif;
    color: #FFFFFF; /* Pure white */
    font-size: 1.4rem;
}
.post-title a {
    color: #FFFFFF; /* Pure white */
    text-decoration: none;
    transition: color 0.3s;
}
.post-title a:hover {
    color: #E5E7EB; /* Light grey */
}
.post h2 a {
    color: #FFFFFF; /* Pure white */
    text-decoration: none;
    transition: color 0.3s;
}
.post h2 a:hover {
    color: #E5E7EB; /* Light grey */
}
.post img.post-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
.post video,
.post .wp-block-video,
.post .wp-block-video video {
    width: 100%;
    height: auto;
    max-width: 100%;
    border: 1px solid #475569; /* Light grey */
    border-radius: 4px;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.post .wp-block-video {
    margin: 0 auto;
}
.post p {
    margin: 0;
    font-size: 1rem;
    color: #FFFFFF; /* Pure white */
}
.post-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
}
.nsfw-button {
    margin-bottom: 0.5rem;
}
.nsfw-link {
    background: #F87171; /* Muted coral */
    color: #FFFFFF;
    border: none;
    padding: 0.6rem 2rem;
    font-size: 1rem;
    border-radius: 20px;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s;
}
.nsfw-link:hover {
    background: #EF4444; /* Darker coral */
}
.nsfw-image-container {
    margin: 1rem 0;
    text-align: center;
}
.nsfw-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 0 auto;
    object-fit: contain; /* Ensure image fits within aspect ratio */
}
.nsfw-image-gallery {
    position: relative;
    width: 100%;
    min-height: 200px; /* Prevent layout collapse */
    overflow: hidden; /* Contain images */
}
.nsfw-gallery-prev,
.nsfw-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 24, 39, 0.8); /* Deep charcoal with opacity */
    color: #FFFFFF; /* Pure white */
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
    z-index: 10; /* Above images */
}
.nsfw-gallery-prev:hover,
.nsfw-gallery-next:hover {
    background: rgba(17, 24, 39, 1); /* Solid deep charcoal */
}
.nsfw-gallery-prev {
    left: 10px;
}
.nsfw-gallery-next {
    right: 10px;
}
@media (max-width: 600px) {
    .nsfw-image {
        width: 100%;
    }
    .nsfw-image-gallery {
        min-height: 150px;
    }
    .nsfw-gallery-prev,
    .nsfw-gallery-next {
        padding: 0.3rem 0.6rem;
        font-size: 0.9rem;
    }
    .nsfw-gallery-prev {
        left: 5px;
    }
    .nsfw-gallery-next {
        right: 5px;
    }
}
@media (max-width: 600px) {
    .nsfw-image {
        width: 100%;
    }
    .nsfw-image-gallery {
        min-height: 150px;
    }
    .nsfw-gallery-prev,
    .nsfw-gallery-next {
        padding: 0.3rem 0.6rem;
        font-size: 0.9rem;
    }
    .nsfw-gallery-prev {
        left: 5px;
    }
    .nsfw-gallery-next {
        right: 5px;
    }
}
.nsfw-image--auto {
    aspect-ratio: auto; /* Original aspect ratio */
}
.nsfw-image--square {
    aspect-ratio: 1 / 1; /* 1:1 */
    object-fit: cover; /* Crop to fit square */
}
.nsfw-image--portrait {
    aspect-ratio: 3 / 4; /* 3:4 */
    object-fit: cover; /* Crop to fit portrait */
}
.nsfw-image--landscape {
    aspect-ratio: 4 / 3; /* 4:3 */
    object-fit: cover; /* Crop to fit landscape */
}
.nsfw-close-button {
    margin-top: 0.5rem;
}
.nsfw-close-link {
    background: #F87171; /* Muted coral */
    color: #FFFFFF;
    border: none;
    padding: 0.4rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 16px;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s;
}
.nsfw-close-link:hover {
    background: #EF4444; /* Darker coral */
}
.source-bar {
    width: 100%;
    margin-top: 0.5rem;
    max-width: 816px; /* Match container */
}
.source-bar-link {
    display: block;
    width: 100%;
    background: #FFFFFF; /* Pure white */
    color: #1E293B !important; /* Dark slate grey for contrast */
    border: none;
    padding: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s;
}
.source-bar-link:hover {
    background: #E5E7EB; /* Light grey */
}
.pagination {
    text-align: center;
    margin: 2rem 0;
    font-family: 'Inter', sans-serif;
}
.pagination a, .pagination span {
    display: inline-block;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    color: #FFFFFF; /* Pure white */
    background: #2D3748; /* Muted charcoal */
    border: 1px solid #475569; /* Light grey */
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.3s, color 0.3s;
}
.pagination a:hover {
    background: #3C4A5E; /* Slightly lighter charcoal */
    color: #E5E7EB; /* Light grey */
}
.pagination .current {
    background: #475569; /* Light grey */
    color: #FFFFFF; /* Pure white */
    border: 1px solid #475569;
}
.pagination .dots {
    background: none;
    border: none;
    padding: 0.5rem;
    color: #FFFFFF;
}
footer {
    background: #1E293B; /* Dark slate grey */
    color: #94A3B8; /* Light grey */
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}
.banner-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 1.5rem auto !important;
    width: 100% !important;
    max-width: 816px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}
.banner-container > * {
    margin: 0 auto !important;
}
.banner-ad {
    max-width: 100% !important;
    width: 728px !important;
    height: 90px !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 4px !important;
    border: none !important;
}
.banner-ad img {
    max-width: 100% !important;
    width: 728px !important;
    height: 90px !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 4px !important;
}
.attachment-body {
    background: #1E293B; /* Dark slate grey */
    margin: 0;
    padding: 0;
}
.attachment-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 0.5rem;
}
.attachment-page {
    background: #2D3748; /* Muted charcoal */
    border: 1px solid #475569; /* Light grey border */
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Soft shadow */
    padding: 1.5rem;
    text-align: center;
}
.attachment-image {
    margin-bottom: 1rem;
}
.attachment-full {
    max-width: 100%;
    width: auto;
    height: auto;
    border: 1px solid #475569; /* Light grey */
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}
.attachment-caption {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #FFFFFF; /* Pure white */
    margin: 1rem 0;
}
.attachment-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}
.attachment-nav a {
    color: #FFFFFF; /* Pure white */
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}
.attachment-nav a:hover {
    color: #E5E7EB; /* Light grey */
}
@media (max-width: 1600px) {
    .attachment-container {
        max-width: 100%;
        padding: 1.5rem 0.5rem;
    }
    .attachment-full {
        width: 100%;
    }
}
@media (max-width: 600px) {
    header h1 {
        font-size: 1.4rem;
    }
    header p {
        font-size: 0.9rem;
    }
    .container {
        padding: 1rem 0.25rem;
    }
    .post {
        padding: 1rem 0.25rem;
        border: none; /* Remove border on mobile */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); /* Lighter shadow on mobile */
    }
    .post h2 {
        font-size: 1.2rem;
    }
    nav .main-menu ul {
        flex-direction: column;
        align-items: center;
    }
    nav .main-menu li {
        margin: 0.5rem 0;
    }
    nav .category-dropdown {
        margin: 0.5rem 0;
    }
    .banner-container {
        margin: 1rem auto !important;
        max-width: 100vw !important;
    }
    .banner-ad, .banner-ad img {
        width: 300px !important;
        height: 100px !important;
        max-width: 100vw !important;
    }
    .pagination a, .pagination span {
        margin: 0 0.25rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    .attachment-container {
        padding: 1rem 0.25rem;
    }
    .attachment-page {
        padding: 1rem;
        border: none; /* Remove border on mobile */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); /* Lighter shadow on mobile */
    }
    .attachment-caption {
        font-size: 0.9rem;
    }
    .attachment-nav a {
        font-size: 0.9rem;
    }
    .nsfw-link {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
    .nsfw-close-link {
        padding: 0.3rem 1.2rem;
        font-size: 0.8rem;
    }
    .nsfw-image {
        width: 100%;
    }
    .source-bar-link {
        padding: 0.4rem;
        font-size: 0.8rem;
    }
}