/*
Theme Name: Schnurren
Theme URI: https://schnurrn.de
Author: Cat-Breeds.com
Author URI: https://cat-breeds.com
Description: A custom premium WordPress theme based on the Cat-Breeds.com design.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: schnurren
Tags: custom-background, threaded-comments, translation-ready
*/

body {
    background-color: #1E293B;
    color: #f0f0f0;
}

.fade-enter {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.fade-visible {
    opacity: 1;
    transform: translateY(0);
}

.feline-gradient {
    background: linear-gradient(135deg, #F4A460 0%, #8B4513 100%);
}

.feline-gradient-text {
    background: linear-gradient(135deg, #F4A460 0%, #8B4513 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* DARK MODE NAVIGATION STYLING (matches header.html template) */
.glass-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}

.dark-glass-nav {
    background: rgb(122 98 87 / 90%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-glass-nav .text-white {
    color: #ffffff;
}

.dark-glass-nav a {
    color: #ffffff;
}

.dark-glass-nav button {
    color: #ffffff;
}

/* Dropdown Menu Support */
.menu-item {
    position: relative;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.5rem 0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.menu-item:hover>.sub-menu,
.menu-item:focus-within>.sub-menu {
    display: block;
    animation: fadeInDown 0.2s ease-out;
}

.sub-menu li {
    display: block;
}

.sub-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    transition: all 0.2s;
}

.sub-menu a:hover {
    background: rgba(244, 164, 96, 0.1);
    color: #F4A460;
    padding-left: 1.5rem;
}

/* Dropdown Arrow Indicator */
.menu-item-has-children>a:after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #ffffff;
    /* White arrow */
    margin-left: 8px;
    vertical-align: middle;
    transition: transform 0.2s;
    opacity: 0.7;
}

.menu-item-has-children:hover>a:after {
    transform: rotate(180deg);
    opacity: 1;
    border-top-color: #F4A460;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.premium-card {
    background: #334155;
    border: 1px solid #64748B;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
    border-color: #F4A460;
}

.search-wrapper {
    position: relative;
    z-index: 1000;
}

/* Video Aspect Ratio Fix (copied from header) */
.aspect-w-16 {
    --tw-aspect-w: 16;
}

.aspect-h-9 {
    --tw-aspect-h: 9;
}

.aspect-w-16,
.aspect-h-9 {
    aspect-ratio: var(--tw-aspect-w) / var(--tw-aspect-h);
}

/* Fix Table Styles for Dark Theme */
table,
th,
td {
    border-color: rgba(244, 164, 96, 0.2) !important;
    /* Orange accent */
}

th {
    background-color: #1E293B !important;
    /* Dark Slate BG */
    color: #F4A460 !important;
    /* Orange Text */
}

tr:nth-child(even) {
    background-color: rgba(30, 41, 59, 0.5) !important;
}

tr:nth-child(odd) {
    background-color: transparent !important;
}

/* Override inline styles for light backgrounds in content */
div[style*="background-color: #f9f9f9"],
div[style*="background-color:#f9f9f9"],
.entry-content div[style*="background"] {
    background-color: rgba(30, 41, 59, 0.5) !important;
}

/* Comments Styling */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.comment-body {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(244, 164, 96, 0.1);
    padding: 2rem;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.comment-body:hover {
    border-color: rgba(244, 164, 96, 0.3);
    background: rgba(30, 41, 59, 0.6);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-author img {
    border-radius: 50%;
    border: 2px solid #F4A460;
}

.comment-author .fn,
.comment-author .fn a {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-style: italic;
    color: #F4A460;
    font-size: 1.2rem;
    text-decoration: none;
}

.comment-metadata {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.comment-metadata a {
    color: #94a3b8;
    text-decoration: none;
}

.comment-content {
    color: #e2e8f0;
    line-height: 1.8;
}

.reply {
    margin-top: 1rem;
    text-align: right;
}

.comment-reply-link {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(244, 164, 96, 0.3);
    border-radius: 9999px;
    color: #F4A460;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s;
}

.comment-reply-link:hover {
    background: #F4A460;
    color: #1E293B;
}

/* Comment Form */
#respond {
    background: rgba(30, 41, 59, 0.3);
    padding: 3rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

#reply-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 2rem;
    display: block;
}

.comment-form p {
    margin-bottom: 1.5rem;
}

.comment-form label {
    display: block;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 0.75rem;
    color: #fff;
    transition: all 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #F4A460;
    background: rgba(0, 0, 0, 0.4);
}

.comment-form .submit {
    background: linear-gradient(135deg, #F4A460 0%, #8B4513 100%);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.comment-form .submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(244, 164, 96, 0.3);
}

.comment-notes,
.logged-in-as {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* =========================================
   TYPOGRAPHY & CONTENT STYLING
   ========================================= */

/* Headings within content */
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.entry-content h2 {
    font-size: 2.25rem;
    border-bottom: 2px solid rgba(244, 164, 96, 0.3);
    padding-bottom: 0.5rem;
    display: inline-block;
    color: #F4A460;
}

.entry-content h3 {
    font-size: 1.75rem;
    color: #e2e8f0;
    border-left: 4px solid #F4A460;
    padding-left: 1rem;
}

.entry-content h4 {
    font-size: 1.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: #F4A460;
}

/* Paragraphs & Lists */
.entry-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #cbd5e1;
    font-size: 1.1rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.entry-content ul li {
    list-style-type: none;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #cbd5e1;
}

.entry-content ul li::before {
    content: "•";
    color: #F4A460;
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.2rem;
}

.entry-content ol li {
    margin-bottom: 0.75rem;
    color: #cbd5e1;
    /* Let default numbers show or style them? Default is fine for OL usually, simple. */
    list-style-type: decimal;
    padding-left: 0.5rem;
    marker: #F4A460;
}

/* Blockquotes */
.entry-content blockquote {
    position: relative;
    margin: 2.5rem 0;
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid #F4A460;
    border-radius: 0 1rem 1rem 0;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.25rem;
    color: #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.entry-content blockquote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -1rem;
    left: 1rem;
    color: rgba(244, 164, 96, 0.2);
    font-family: serif;
}

.entry-content blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-style: normal;
    color: #F4A460;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Info Boxes / Important Things */
.infobox,
.important-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(244, 164, 96, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.infobox h3,
.important-box h3 {
    margin-top: 0;
    font-size: 1.25rem;
    color: #F4A460;
    border: none;
    padding: 0;
}

/* Links */
.entry-content a {
    color: #F4A460;
    text-decoration: none;
    border-bottom: 1px dotted rgba(244, 164, 96, 0.5);
    transition: all 0.2s;
}

.entry-content a:hover {
    color: #fff;
    border-bottom-style: solid;
}

/* Images */
.entry-content img {
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    margin: 2rem 0;
}