html, body {
    height: 100%;
    margin: 0;
}

body {
    background-image: url("https://anne-rice.net/wp-content/themes/AnneRice/images/baroque1.jpg"), radial-gradient(circle at center, #1a0f13, #0a0003);
    background-repeat: repeat;
    background-attachment: fixed;
    color: #d8cdd0; /* Pale ivory-grey for readability */
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    text-align: justify;
    font-size: 16px;
    letter-spacing: 0.3px;
    overflow-x: hidden;
    line-height: 1.75;
}

#sidebar .sidebar-title {
    color: #8e0000 !important; /* Blood red */
    font-family: 'UnifrakturCook', cursive;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Hide mobile by default */
.mobile {
    display: none;
}

/* Text selection: deep red velvet */
::selection {
    color: #ffffff;
    background-color: #330000;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 18px;
}

::-webkit-scrollbar-track {
    background: #1a0f13;
    border-left: 1px solid #3b1e2d;
}

::-webkit-scrollbar-thumb {
    background: #600020; /* Deep crimson */
    border-radius: 10px;
    border: 2px solid #2b0f14;
}

::-webkit-scrollbar-thumb:hover {
    background: #990033;
}

/* Bold styling: gold with shadow */
b, strong {
    color: #c6a664; /* Antique gold */
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(198, 166, 100, 0.3);
}

/* Italic styling: ethereal grey */
i, em {
    color: #c2b1b3;
    font-style: italic;
    opacity: 0.95;
}

/* Strikethrough */
s {
    color: #a08088;
    text-decoration: line-through;
    text-decoration-color: #4e2b33;
}

/* Underline styling */
u {
    font-weight: 600;
    color: #660022;
    text-decoration: underline double #660022;
    background-color: rgba(102, 0, 34, 0.08);
    border-radius: 3px;
    padding: 2px 6px;
    transition: background-color 0.3s ease;
}

u:hover {
    background-color: rgba(102, 0, 34, 0.25);
}

/* Link styles: baroque gold with crimson hover */
a:link, a:active, a:visited {
    color: #b89b5e; /* Gilded gold */
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #b89b5e;
    transition: width 0.3s ease;
}

a:hover {
    color: #990033;
    transform: translateY(-1px);
}

a:hover::after {
    width: 100%;
}

/* Horizontal rules */
hr {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, #4e2b33, #000000, #4e2b33);
    margin: 2em 0;
    opacity: 0.85;
}

/* Images */
.sidebar-container img,
.entry img {
    margin: 0 6px;
    border-radius: 8px;
    filter: grayscale(30%) contrast(120%) brightness(90%);
    outline-offset: -4px;
    outline: 2px solid #1a0f13;
    box-shadow: 0 5px 15px rgba(90, 20, 30, 0.5);
    transition: all 0.4s ease-out;
}

.sidebar-container img:hover,
.entry img:hover {
    filter: none;
    outline: 2px solid #990033;
    transform: scale(1.03);
    box-shadow: 0 8px 22px rgba(153, 0, 51, 0.6);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #d8b6c0;
    font-family: 'UnifrakturCook', cursive;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    margin-top: 1.5em;
}

/* Optional Google Fonts to include */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600&family=UnifrakturCook&display=swap');


#container {  padding-top: 490px;
    width: 1100px;
    padding: 0px;
    border-radius: 25px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    transition: box-shadow 0.4s ease-in-out;

    /* Use a dark translucent overlay as the base */
    background-image: 
        url('https://anne-rice.net/wp-content/themes/AnneRice/images/bg.jpg');
    background-repeat: repeat;
    background-position: center;

}

/* Gothic-Baroque Sidebar */
#sidebar {
    width: 29%;
    margin-top: 120px;
    float: left;
    padding: 50px 25px 30px;
    background: linear-gradient(to bottom, #4c2a36, #2a1019);
    border-radius: 40px 20px 40px 20px;
    border: 3px groove #a97c1b;
    font-family: 'IM Fell English SC', serif;
    color: #f3dcb1;
    position: relative;
    z-index: 1;
    background-image:
        url('https://anne-rice.pl/wp-content/themes/AnneRice/images/baroque1.jpg');
    background-size: 180px;
    background-blend-mode: multiply;
    text-shadow: 1px 1px 2px #000;
    box-shadow:
        inset 0 0 20px rgba(80, 20, 30, 0.5),
        0 0 15px rgba(160, 90, 50, 0.4);
}

/* Sidebar Rune Strip */
#sidebar::before {
    content: "ᚠ ᚢ ᚦ ᚨ ᚱ ᚲ ᚷ ᚹ ᚺ ᚾ ᛁ ᛃ ᛇ ᛈ ᛉ ᛋ ᛏ ᛒ ᛖ ᛗ";
    position: absolute;
    top: 12px;
    left: 20px;
    right: 20px;
    font-family: 'IM Fell English SC', serif;
    font-size: 18px;
    color: #d2a653;
    text-align: center;
    letter-spacing: 12px;
    opacity: 0.3;
    user-select: none;
}

/* Corner Runes */
#sidebar::after {
    content: "ᛟ";
    position: absolute;
    bottom: 10px;
    left: 15px;
    font-size: 28px;
    color: #a97c1b;
    opacity: 0.4;
}
#sidebar .rune-corner {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 28px;
    color: #a97c1b;
    opacity: 0.4;
}

/* Hover Effects */
#sidebar:hover {
    background: linear-gradient(to bottom, #5a2d40, #3c1421);
    box-shadow:
        0 0 16px rgba(199, 147, 78, 0.8),
        inset 0 0 16px rgba(140, 110, 45, 0.6);
    cursor: pointer;
}


#nav {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px 0; /* taller height */
    background-color: rgba(40, 0, 15, 0.75); /* dark translucent maroon */
    border: 2px solid rgba(120, 20, 20, 0.7); /* deep blood red border */
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
    box-shadow: none; /* remove flashy glow */
    opacity:0.7;
    border-radius: 30px; /* more rounded */
}

#nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#nav li {
    display: inline-block;
    margin: 0 20px;
}

#nav a {
    color: #e0c6b8; /* pale skin tone */
    font-size: 17px;
    text-decoration: none;
    padding: 12px 20px; /* bigger clickable area */
    position: relative;
    background-color: rgba(80, 10, 20, 0.35); /* subtle dark red */
    border-radius: 15px;
    border: 1px solid transparent;
    transition: color 0.25s ease, background-color 0.25s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

#nav a:hover {
    color: #b44343; /* muted blood red */
    background-color: rgba(90, 15, 15, 0.55);
    border-color: rgba(140, 40, 40, 0.5);
    text-shadow: none;
}

/* Optional text widget styling */
.textwidget {
    padding-top: 0;
    padding-bottom: 8px;
    margin-top: 10px;
    font-style: italic;
    color: #948b9c;
}

/* Baroque Content Container */
.content-container {
    opacity: 0.69;width:1000px;
    background: linear-gradient(145deg, #2b1e24, #1c1318);
    border-radius: 20px;
    position: relative;
    z-index: 3;margin:40px;
    color: #dfd5c2;
    overflow: hidden;
    font-family: 'IM Fell English SC', serif;
    background-blend-mode: overlay;
    border: 1px solid rgba(191, 163, 74, 0.3); 
}


/* ════════════════════════════════════════════════════════════ */
/* ⚔️ POST BORDER – Decorative line between sections            */
/* ════════════════════════════════════════════════════════════ */
.post-border {
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #531212, #CEB080); /* Dark steel gradient */
    margin: 15px 0;
    border-radius: 12px;
}

/* ════════════════════════════════════════════════════════════ */
/* ⚔️ POST META – Top section showing post info                 */
/* ════════════════════════════════════════════════════════════ */
.post-meta-top {
    background-color: #1c1e29; /* Dark grey-blue base */
    padding: 14px 24px;
    margin-bottom: 20px;
    font-size: 17px;
    color: #b1b1b8;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    text-align: center;
    border-radius: 16px;
    font-family: 'Imbue', serif;
    border: 2px solid #445d7a;
    position: relative;
    top: -10px;
}

/* Individual meta items with Viking gradient and glow */
.post-meta-top .meta-item {
    display: inline-block;
    font-weight: 600;
    color: #e6d29f;
    padding: 8px 14px;
    border-radius: 10px;
    transition: all 0.3s ease-out;
    font-family: 'Ceviche One', cursive;
    background: linear-gradient(135deg, #4b6a8a 0%, #9a8451 100%);
    text-shadow: 0 0 5px #9a8451;
    border: 1px solid #7c6f3f;
}

/* Highlighted meta types with alternate gradient and stronger glow */
.post-meta-top .posted-on,
.post-meta-top .filed-under {
    background: linear-gradient(45deg, #c9b037, #4b6a8a);
    color: #f9f6e8;
    text-shadow: 0 0 8px #d9c76b, 0 0 12px #3e5a82;
    box-shadow: 0 0 20px #d9c76b, 0 0 30px #3e5a82;
    border: 1px solid #a88e3d;
}

/* Hover interaction: Reverse gradient and enhance glow */
.post-meta-top .posted-on:hover,
.post-meta-top .filed-under:hover {
    background: linear-gradient(45deg, #4b6a8a, #c9b037);
    text-shadow: 0 0 15px #f1e88c, 0 0 20px #5379ac;
    box-shadow: 0 0 30px #f1e88c, 0 0 40px #5379ac;
    transform: scale(1.07);
}

/* Generic meta-item hover effect */
.post-meta-top .meta-item:hover {
    background-color: #536f9e;
    color: #f9f6e8;
    transform: translateY(-3px);
    box-shadow: 0 0 15px #7c6f3f;
}

/* Icon color and transition */
.post-meta-top i {
    margin-right: 8px;
    color: #c9b037;
    transition: all 0.3s ease;
}

.post-meta-top i:hover {
    color: #f9f6e8;
}

/* Separator between meta items */
.post-meta-top .meta-separator {
    font-size: 20px;
    color: #7894b1;
    font-weight: bold;
}

/* Strong tag inside meta item */
.post-meta-top strong {
    font-weight: 700;
    color: #f9f6e8;
}

/* Link styles inside meta */
.post-meta-top .meta-item a {
    color: #b7a35c;
    transition: color 0.3s ease;
}

.post-meta-top .meta-item a:hover {
    color: #f9f6e8;
}

/* ════════════════════════════════════════════════════════════ */
/* ⚔️ FEATURED IMAGE STYLING                                   */
/* ════════════════════════════════════════════════════════════ */
.featured-image img {
    border-radius: 8px;
    margin-top: 10px;
    filter: sepia(100%) hue-rotate(190deg) saturate(100%);
    transition: filter 0.4s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.featured-image img:hover {
    filter: none;
    transform: scale(1.02);
}

/* ════════════════════════════════════════════════════════════ */
/* ⚔️ ENTRY – Main post content                                */
/* ════════════════════════════════════════════════════════════ */
.entry {
    text-align: justify;
    padding: 20px 25px;
    font-size: 16px!important;
        font-family: 'Cormorant Garamond', serif;
    line-height: 26px;
    position: relative;
    z-index: 3;
}

/* Read more button */
a.more-link {
    margin: 20px auto;
    display: block;
    width: fit-content;
    text-align: center;
    font-weight: 500;
    font-size: 17px;
    color: #ffffff;
    background-color: #360F0F;
    padding: 8px 20px;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

a.more-link:hover {
    background-color: #360F0F;
    transform: translateY(-2px);
}

a.more-link i {
    color: #ffffff;
    margin-left: 5px;
}

/* Entry list items */
.entry ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.entry li {
    font-weight: 400;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.2s ease;
}

.entry li:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.entry li:last-child {
    border-bottom: none;
}

/* ════════════════════════════════════════════════════════════ */
/* ⚔️ COMMENT SECTION                                          */
/* ════════════════════════════════════════════════════════════ */
.comment-section {
    background-color: #2b2f3a;
    color: #d4c295;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(55, 65, 80, 0.7);
    width: 80%;
    margin: 30px auto;
    font-family: 'Ceviche One', cursive;
    font-size: 17px;
    border: 2px solid #bfa657;
}

/* Comment section title */
.comment-section h3 {
    font-size: 18px;
    color: #3D859D;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px #1b2431;
}

/* Form labels */
.comment-label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: #7f7f7f;
}

/* Inputs & textarea styling */
.comment-form textarea,
.comment-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #476a9e;
    border-radius: 8px;
    background-color: #1b2431;
    color: #d4c295;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Focused field with gold glow */
.comment-form textarea:focus,
.comment-form input:focus {
    border-color: #bfa657;
    outline: none;
    box-shadow: 0 0 8px rgba(191, 166, 87, 0.8);
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
    color: #8a8a8a;
}

/* Submit button */
.submit-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #476a9e;
    color: #f0e6b9;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #bfa657;
    color: #1b2431;
}

.comment-form textarea:hover,
.comment-form input:hover {
    border-color: #bfa657;
}

.submit-btn:focus {
    box-shadow: 0 0 10px rgba(191, 166, 87, 0.8);
    border-color: #bfa657;
}

/* ════════════════════════════════════════════════════════════ */
/* ⚔️ HEADINGS STYLES                                          */
/* ════════════════════════════════════════════════════════════ */
h1 {
    position: relative;
    font-size: 18px;
    padding: 18px 24px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #E8D5B6;    font-family: 'IM Fell English SC', serif;}

h1::before,
h1::after {
    content: "⛥";
    font-size: 20px;
    color: #bfa657;
}

h1::before {
    margin-right: 10px;
}

h1::after {
    margin-left: 10px;
}

h2 {
    background: linear-gradient(to right, #a48f45, #bfa657);
    color: #326F83;
    font-size: 16px;
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 14px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    box-shadow: 0 2px 6px rgba(191, 166, 87, 0.5);
}

h2::before {
    content: "🛡️ ";
    font-size: 18px;
    margin-right: 8px;
}

h2::after {
    content: " ⚔️";
    font-size: 18px;
    margin-left: 8px;
}

h3 {
    color: #3D859D;
    border-bottom: 2px dashed #bfa657;
    padding-bottom: 6px;
    margin-bottom: 12px;
    font-size: 16px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    position: relative;
}

h3::before {
    content: "⚓ ";
    font-size: 16px;
    margin-right: 5px;
    color: #bfa657;
}

blockquote {
    background: linear-gradient(to right, #2a0d0d, #3a1515); /* dark velvet */
    padding: 22px 28px;
    color: #f3ecdc; /* parchment gold */
    font-style: italic;
    border-left: 8px solid #bfa657;
    border-radius: 14px;
    font-size: 18px;
    font-family: 'Cinzel', serif;
    box-shadow: inset 0 0 15px rgba(191, 166, 87, 0.3), 0 0 20px rgba(60, 10, 10, 0.4);
    margin: 30px auto;
    max-width: 700px;
    position: relative;
    line-height: 1.8;
    text-align: center;
}

/* Gothic rune embellishments */
blockquote::before {
    content: "🕯️"; /* candle symbol */
    font-size: 30px;
    color: #bfa657;
    position: absolute;
    top: -20px;
    left: -10px;
    font-weight: bold;
}

blockquote::after {
    content: "✠"; /* cross pattée symbol */
    font-size: 30px;
    color: #bfa657;
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-weight: bold;
}


.welcome-block p:first-letter {
    float: left;
    font-family: 'Cinzel', serif;
    font-size: 4.5rem;
    line-height: 1;
    padding-right: 12px;
    color: #bfa657; /* antique gold */
    text-shadow: 2px 2px 6px rgba(191, 166, 87, 0.8);
    font-weight: 700;
    user-select: none;
}

/* Drop cap for blockquote */
blockquote p:first-letter {
    float: left;
    font-family: 'Cinzel', serif;
    font-size: 5rem;
    line-height: 1;
    padding-right: 14px;
    color: #bfa657;
    text-shadow: 2px 2px 7px rgba(191, 166, 87, 0.85);
    font-weight: 700;
    user-select: none;
}

.pagenavi li a,
.pagenavi li a:hover,
.pagenavi li.active a,
.pagenavi li.disabled {
    text-decoration:none;
    border:1px solid #22253a;
    background-color:#131522;
    border-radius: 10px;
}
 
.pagenavi li {
    display: inline;
}
 
.pagenavi li a,
.pagenavi li a:hover,
.pagenavi li.active a,
.pagenavi li.disabled {
	text-decoration: none;
    border:1px solid #22253a;
    background-color:#131522;
	padding: 8px 10px;
	margin: 2px;
        -webkit-transition: all 0.3s ease-out;  
        -moz-transition: all 0.3s ease-out;
        -ms-transition: all 0.3s ease-out;
        -o-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
}
 
.pagenavi li a:hover,
.pagenavi li.active a {
    border:1px solid #313550;
    background-color:#131522;
        -webkit-transition: all 0.3s ease-out;  
        -moz-transition: all 0.3s ease-out;
        -ms-transition: all 0.3s ease-out;
        -o-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
}



.next, .previous {
    display: inline-block;
    width: 48%;
    padding: 10px 15px;
    border: 1px solid #313550;
    background: linear-gradient(145deg, #121426, #0e101e);
    border-radius: 25px;
    font-size: 14px;
    color: #aaa;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.next {
    text-align: right;
    float: right;
}

.previous {
    text-align: left;
    float: left;
}

.next a,
.previous a {
    color: #a9abc2;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
    display: inline-block;
}

.next a::after {
    content: " ➡️";
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.previous a::before {
    content: "⬅️ ";
    margin-right: 6px;
    transition: transform 0.3s ease;
}

.next:hover,
.previous:hover {
    background: linear-gradient(to right, #253a67, #37468e);
    border-color: #37468e;
    box-shadow: 0 5px 10px rgba(136, 45, 76, 0.4);
}

.next a:hover,
.previous a:hover {
    color: #ffffff;
}

.next a:hover::after {
    transform: translateX(4px);
}

.previous a:hover::before {
    transform: translateX(-4px);
}


.clearfooter {
    height: 40px;
    clear: both;
}

footer {
    width: 100%;
    max-width: 1100px;
    margin: 50px auto 30px auto;
    padding: 25px 20px;
    background-color: rgba(45, 20, 25, 0.8); /* soft dark, semi-transparent */
    border-radius: 20px; /* rounded corners */
    border: 1.5px solid rgba(150, 90, 70, 0.3); /* subtle, delicate border */
    box-shadow: inset 0 0 8px rgba(100, 40, 40, 0.15); /* subtle inner glow */
    font-family: 'Cormorant Garamond', serif;
    color: #d9c7b8; /* pale, gentle text */
    text-align: center;
    transition: background-color 0.3s ease;
}

footer:hover {
    background-color: rgba(45, 20, 25, 0.9); /* slight darken on hover */
}

/* Gothic rune */
footer::after {
    content: "ᛉ";
    display: block;
    font-size: 32px;
    margin-top: 20px;
    color: #6f4e37;
    opacity: 0.3;
}


@media only screen and (max-width:1024px), only screen and (max-device-width:1024px) {


.navigation {
    display: none;
}

.the-logo {
    width:100%;
    display:block;
    text-align:center;
}
    
.featured img {
    width:100%;
}


.data { 
    display:block;
    width:100%;
}

.header {
    display:none!important;
}

#wrapper {
    width:100%;
}
    
#container {
    width:100%;
    margin: 0 auto!important;
    left:0px;
} 
    
#sidebar {
    width:98%;
    margin-left:0px!important;
    padding-left:0px!important;
}    

#content {
    width:98%;
    margin-right:0px!important;
    padding-left:0px!important;
}  

.mobile {
    display:block;
    padding-top:25px;
    padding-bottom:25px;
}


iframe {
    max-width:100%;
    height:auto;
}

.featured-image img {
    width:102.30%!important;
}

.entry img {
    max-width:80%;
    height:auto;
}

.sidebarcontainer img {
    max-width:80%;
    height:auto;
}

blockquote {
    margin:0;
    position:relative;
    top:0;
    left:0;
}




}


@media only screen and (max-width:400px), only screen and (max-device-width:400px) {

.featured-image img {
    width:105%!important;
}

.contenttitle {
    font-size:10px!important;
}

.contenttitle a:link {
    font-size:10px!important;
}

.contenttitle a:hover {
    font-size:10px!important;
}

}