/**
 * Semantic Content Brief Single Post Styles
 */

/* Base Layout */
.semantic-single-post {
    background-color: #0e0e0e;
    color: #ffffff;
}

/* Hero Section */
.semantic-single-post header {
    position: relative;
}

.semantic-single-post header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Entry Content Styling */
.semantic-single-post .entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.semantic-single-post .entry-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.semantic-single-post .entry-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.semantic-single-post .entry-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #d1ff9f;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.semantic-single-post .entry-content p {
    margin-bottom: 1.5rem;
    color: #ababab;
}

.semantic-single-post .entry-content strong {
    color: #ffffff;
    font-weight: 600;
}

.semantic-single-post .entry-content em {
    font-style: italic;
}

.semantic-single-post .entry-content a {
    color: #d1ff9f;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.semantic-single-post .entry-content a:hover {
    border-bottom-color: #d1ff9f;
}

.semantic-single-post .entry-content ul,
.semantic-single-post .entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.semantic-single-post .entry-content li {
    margin-bottom: 0.75rem;
    color: #ababab;
}

.semantic-single-post .entry-content blockquote {
    background-color: #131313;
    border-left: 4px solid #d1ff9f;
    padding: 2rem;
    margin: 3rem 0;
    font-style: italic;
}

.semantic-single-post .entry-content blockquote p {
    color: #ababab;
    font-size: 1rem;
    margin-bottom: 0;
}

.semantic-single-post .entry-content blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #d1ff9f;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.semantic-single-post .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.125rem;
    margin: 2rem 0;
}

.semantic-single-post .entry-content figure {
    margin: 2rem 0;
}

.semantic-single-post .entry-content figcaption {
    font-size: 0.875rem;
    color: #757575;
    text-align: center;
    margin-top: 0.5rem;
}

.semantic-single-post .entry-content code {
    background-color: #1f1f1f;
    color: #d1ff9f;
    padding: 0.25rem 0.5rem;
    border-radius: 0.125rem;
    font-family: monospace;
    font-size: 0.9em;
}

.semantic-single-post .entry-content pre {
    background-color: #1f1f1f;
    padding: 1.5rem;
    overflow-x: auto;
    border-radius: 0.125rem;
    margin: 2rem 0;
}

.semantic-single-post .entry-content pre code {
    background-color: transparent;
    padding: 0;
}

/* Line clamp for excerpts */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Comments Form Styling */
.semantic-single-post .comment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.semantic-single-post .comment-form label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ababab;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.semantic-single-post .comment-form input[type="text"],
.semantic-single-post .comment-form input[type="email"],
.semantic-single-post .comment-form input[type="url"],
.semantic-single-post .comment-form textarea {
    width: 100%;
    background-color: #191919;
    border: 1px solid rgba(117, 117, 117, 0.5);
    color: #ffffff;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-family: 'Manrope', sans-serif;
    transition: border-color 0.3s ease;
    outline: none;
}

.semantic-single-post .comment-form input:focus,
.semantic-single-post .comment-form textarea:focus {
    border-color: #d1ff9f;
}

.semantic-single-post .comment-form input::placeholder,
.semantic-single-post .comment-form textarea::placeholder {
    color: #757575;
}

.semantic-single-post .comment-form .form-submit input[type="submit"] {
    background-color: #d1ff9f;
    color: #3a6500;
    padding: 1rem 2.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.1s ease;
}

.semantic-single-post .comment-form .form-submit input[type="submit"]:hover {
    box-shadow: 0 0 20px rgba(153, 255, 0, 0.2);
}

.semantic-single-post .comment-form .form-submit input[type="submit"]:active {
    transform: scale(0.95);
}

/* Comments List Styling */
.semantic-single-post .comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.semantic-single-post .comment-list .comment {
    background-color: #131313;
    border: 1px solid rgba(72, 72, 72, 0.2);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.semantic-single-post .comment-list .comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.semantic-single-post .comment-list .comment-author .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    filter: grayscale(100%);
}

.semantic-single-post .comment-list .comment-author .fn {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: #ffffff;
}

.semantic-single-post .comment-list .comment-author .says {
    display: none;
}

.semantic-single-post .comment-list .comment-metadata {
    font-size: 0.75rem;
    color: #757575;
    margin-bottom: 1rem;
}

.semantic-single-post .comment-list .comment-content {
    color: #ababab;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.semantic-single-post .comment-list .reply {
    margin-top: 1rem;
}

.semantic-single-post .comment-list .reply a {
    color: #d1ff9f;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .semantic-single-post header {
        height: auto !important;
        min-height: 400px;
    }
    
    .semantic-single-post h1 {
        font-size: 2.5rem !important;
    }
    
    .semantic-single-post .entry-content h2 {
        font-size: 1.5rem;
    }
    
    .semantic-single-post .entry-content h3 {
        font-size: 1.25rem;
    }
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
