/*
    Theme Name: Elif lite
    Theme URI: http://themient.com/themes/elif-lite
    Author: Asmi Khalil
    Author URI: http://themient.com
    Description: Elif lite is a Fashion WordPress blog theme based on the Bootstrap framework making it fully responsive and mobile friendly, Elif lite arrives ready for business right out of the box with 2 main blog layouts, custom sidebar positions, unlimited color styles and custom background support.
    Version: 1.0.8
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: elif-lite
    Tags: blog, one-column, two-columns, grid-layout, left-sidebar, right-sidebar, custom-background, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, sticky-post, threaded-comments, translation-ready, full-width-template, theme-options

    This theme, like WordPress, is licensed under the GPL.
    Use it to make something cool, have fun, and share what you've learned with others.
*/

/*--------------------------------------------------------------
>>> PRYVAT/GRIFFIN V1: MODERN SEO UI VARIABLES
--------------------------------------------------------------*/
:root {
    /* Color Palette */
    --bg-charcoal: #1c1c1e;
    --bg-burgundy: #800020;
    --text-silver: #e4e4e4;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --cta-pink: #ff4d85;
    --cta-cherry: #d2042d;
    --border-light: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-heading: 'Playfair Display SC', serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* UI Physics (Cards) */
    --card-radius: 8px;
    --card-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    --card-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.8);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1 Resets
2 Normalize
3 Alignments
4 Clearings
5 Typography
7 Page Structure
8 Header
9 Navigation
10 Content
11 Media
12 Footer
13 Widgets
14 Accessibility
15 Theme Options
16 Media Queries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1 Resets
--------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    padding-left: 20px;
}
ul {
    list-style-type: square;
}
blockquote {
    quotes: none;
}
blockquote:before, blockquote:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
dd {
    margin-left: 30px;
}

/*--------------------------------------------------------------
2 Normalize
--------------------------------------------------------------*/
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust:     100%;
}

body {
    margin: 0;
    background-color: var(--bg-charcoal);
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}
#content > .row {
    margin: 0;
}
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {
    display: block;
}
audio, canvas, progress, video {
    display: inline-block;
    vertical-align: baseline;
}
audio:not([controls]) {
    display: none;
    height: 0;
}
[hidden], template {
    display: none;
}
a {
    background-color: transparent;
    color: var(--text-silver);
    transition: var(--transition-smooth);
}
a:focus {
    text-decoration: none;
}
a:active, a:hover {
    outline: 0;
    color: var(--cta-pink);
}
a:hover, a:focus, .next-prev-post a:hover {
    text-decoration: none;
    border-bottom: 1px dotted var(--cta-pink);
}
abbr[title] {
    border-bottom: 1px dotted;
}
b, strong {
    font-weight: bold;
    color: var(--text-white);
}
dfn {
    font-style: italic;
}
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}
mark {
    background: var(--cta-pink);
    color: var(--text-white);
}
small {
    font-size: 80%;
}
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    top: -0.5em;
}
sub {
    bottom: -0.25em;
}
img {
    border: 0;
    height: auto;
    max-width: 100%;
}
svg:not(:root) {
    overflow: hidden;
}
hr {
    box-sizing: content-box;
    height: 0;
    border-top: 1px solid var(--border-light);
}
pre {
    overflow: auto;
}
button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

/* Modern Button UI */
input[type="button"],
input[type="reset"],
input[type="submit"],
button,
.button,
.tags a,
.pagination a {
    position: relative;
    background-color: var(--cta-pink);
    overflow: visible;
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 700;
    padding: 12px 24px;
    text-transform: uppercase;
    outline: none;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-white);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(255, 77, 133, 0.3);
}
.btn-small {
    font-size: 11px;
    letter-spacing: 1.2px;
    padding: 8px 15px;
}
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
button:hover,
.button:hover,
.tags a:hover,
.pagination a:hover {
    background-color: var(--cta-cherry);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 4, 45, 0.4);
    border: none;
}
button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}
button[disabled], html input[disabled] {
    cursor: default;
    opacity: 0.6;
}
button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0;
}
input {
    line-height: normal;
}
input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
input[type="text"], input[type="password"], input[type=search], input[type="email"], input[type="tel"] {
    background-color: #FFFFFF0D;
    padding: 8px 15px;
    height: 45px;
    box-shadow: none;
    border: 1px solid var(--border-light);
    outline: 0;
    color: var(--text-white);
    border-radius: 4px;
    transition: var(--transition-smooth);
}
input[type="text"]:focus, input[type="password"]:focus, input[type=search]:focus, textarea:focus {
    border-color: var(--cta-pink);
    background-color: rgba(255,255,255,0.1);
}
fieldset {
    border: 1px solid var(--border-light);
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}
legend {
    border: 0;
    padding: 0;
    color: var(--text-silver);
}
textarea {
    overflow: auto;
    background-color: rgba(255,255,255,0.05);
    color: var(--text-white);
    padding: 10px 15px;
    resize: vertical;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    transition: var(--transition-smooth);
}
optgroup {
    font-weight: bold;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}
td, th {
    padding: 10px;
    border: 1px solid var(--border-light);
}
th {
    background-color: rgba(0,0,0,0.2);
    color: var(--text-silver);
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-button {
    width: 8px;
    height:5px;
}
::-webkit-scrollbar-track {
    background: var(--bg-charcoal);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-burgundy);
    border-radius:10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--cta-cherry);
}

/*--------------------------------------------------------------
3 Alignments
--------------------------------------------------------------*/
.alignleft { display: inline; float: left; margin-right: 1.5em; }
.alignright { display: inline; float: right; margin-left: 1.5em; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }

/*--------------------------------------------------------------
4 Clearings
--------------------------------------------------------------*/
.clear:before, .clear:after, .entry-content:before, .entry-content:after,
.comment-content:before, .comment-content:after, .site-header:before,
.site-header:after, .site-content:before, .site-content:after,
.site-footer:before, .site-footer:after {
    content: ""; display: table; table-layout: fixed;
}
.clear:after, .entry-content:after, .comment-content:after,
.site-header:after, .site-content:after, .site-footer:after {
    clear: both;
}

/*--------------------------------------------------------------
5 Typography
--------------------------------------------------------------*/
body, input, select, textarea {
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .post-title, .widget-posts-wrap .title, .site-tagline, .related-posts .title {
    font-family: var(--font-heading);
    color: var(--text-silver);
}
button, input[type=button], input[type=reset], input[type=submit],
.moretag a, .sb-toggle, .cats a, .pagination a, .pagination span,
.tags a, .meta-info, .main-navigation a, .mobile-menu-wrap .menu a,
.author-box .author span, .pinned, .copyright, .section-title,
.section-title h3, .widget-title h3, .site-logo a {
    font-family: var(--font-body);
}
h1, h2, h3, h4, h5, h6 {
    clear: both;
    line-height: 1.4;
    font-weight: 400;
    margin: 36px 0 12px;
    letter-spacing: .5px;
}
h1 { font-size: 2.2em; }
h2 { font-size: 1.8em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.2em; }
h5 { font-size: 1em; }
h6 { font-size: .9em; }
p {
    margin-bottom: 1.5em;
    color: var(--text-white);
}
dfn, cite, em, i {
    font-style: italic;
}
blockquote {
    position: relative;
    padding-left: 45px;
    color: var(--text-silver);
    font-family: var(--font-heading);
    font-size: 18px;
    font-style: italic;
    line-height: 1.75;
    margin: 2em 0;
    border-left: 4px solid var(--cta-pink);
}
blockquote:before {
    content: "\f10d";
    font-family: "FontAwesome";
    position: absolute;
    display: block;
    font-size: 25px;
    line-height: 1;
    color: var(--cta-pink);
    left: 10px;
    top: 0;
    opacity: 0.5;
}
address {
    margin: 0 0 1.5em;
}
pre {
    background: rgba(0,0,0,0.3);
    color: var(--text-silver);
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
    border: 1px solid var(--border-light);
    border-radius: 4px;
}
code, kbd, tt, var {
    font-family: Monaco, Consolas, "Andale Mono", monospace;
    font-size: 15px;
    background: rgba(255,255,255,0.1);
    padding: 2px 6px;
    border-radius: 3px;
}
abbr, acronym {
    border-bottom: 1px dotted var(--text-muted);
    cursor: help;
}
ins {
    background: rgba(255, 77, 133, 0.2);
    text-decoration: none;
    padding: 0 4px;
}

/*--------------------------------------------------------------
6 Page Structure & Modern Cards
--------------------------------------------------------------*/
#page {
    background-color: transparent;
    clear: both;
}
.content-wrap {
    position: relative;
    z-index: 999;
}
.blog .content-wrap, .single .content-wrap, .page .content-wrap {
    margin-top: -180px;
}
.archive .content-wrap, .error404 .content-wrap {
    margin-top: -100px;
}
#content {
    padding-top: 30px;
    padding-bottom: 30px;
}
.content-area {
    padding: 0 15px;
    background-color: transparent;
    margin-bottom: 50px;
}
.error-404 {
    display: block;
    text-align: center;
    padding: 20px;
    clear: both;
    margin-top: 30px;
    margin-bottom: 200px;
}

/* MASTER CARDS (Burgundy BG, Smooth Shadows) */
article, .sidebar-widget, .related-posts, .author-box, .comments, #respond, .error404 .content-area {
    display: block;
    position: relative;
    background-color: var(--bg-burgundy);
    margin-bottom: 40px;
    padding: 40px;
    clear: both;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255,255,255,0.05);
}
article:hover, .sidebar-widget:hover, .related-posts:hover, .author-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.page-template-full-width .content-area {
    width: 100%;
}
.widget-area {
    margin-bottom: 50px;
}
.no-menu-msg {
    display: block;
    text-align: center;
    padding: 20px;
}
.mobile-menu-wrap .no-menu-msg {
    color: var(--text-white);
}

/* Grid Styles */
.grid-item, .grid-sizer { width: 48%; }
.gutter-sizer { width: 4%; }
.grid-item { margin-bottom: 40px; }

/* Pagination */
.pagination {
    margin-top: 40px;
    text-align: center;
}
.pagination a, .pagination span {
    color: var(--text-white);
    padding: 12px 18px;
    text-transform: uppercase;
    background-color: var(--bg-burgundy);
    font-size: 13px;
    border: none;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    margin: 0 4px;
    transition: var(--transition-smooth);
}
.pagination .current {
    background-color: var(--cta-pink);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(255, 77, 133, 0.4);
}

.post-navigation { font-size: 16px; }
.post-navigation .alignleft a, .post-navigation .alignright a {
    position: relative; font-size: 13px; line-height: 16px; vertical-align: text-bottom; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; color: var(--text-silver);
}
.post-navigation .alignleft:before, .post-navigation .alignright:after {
    font-family: "FontAwesome"; font-size: 13px; color: var(--cta-pink);
}
.post-navigation .alignright:after { margin-left: 8px; content: "\f178"; }
.post-navigation .alignleft:before { margin-right: 8px; content: "\f177"; }
.post-navigation a:hover { color: var(--cta-pink); border: none; }

.archive-header, .search-header, .no-results, .shop-title {
    text-align: center; padding-top: 50px; padding-bottom: 30px; color: var(--text-silver);
}
.archive-header h1, .search-header h1, .no-results h1 {
    font-size: 3.5em; line-height: 1.2; margin: 0; padding-bottom: 20px;
}
.no-results { padding: 40px; padding-bottom: 100px; }

.single-header .entry-title { margin-top: 0; margin-bottom: 10px; color: var(--text-silver); }
.single-header .cats, .single-header .meta-info { text-align: left; padding-top: 0; font-size: 1em; }
.single-header .cats { display: inline-block; }

/* Simple Layout Styles */
.layout-simple #page { display: table-row; }
.layout-simple .site-header { display: table-cell; position: relative; min-width: 320px; z-index: 2; top: 0; bottom: 0; }
.layout-simple .content-wrap { width: 100%; height: 100%; margin: 0; display: table-cell; position: relative; z-index: 1; }
.layout-simple .content-wrap #content { max-width: 100%; }
.layout-simple.single .content-wrap #content, .layout-simple.page .content-wrap #content { margin: 0; max-width: 1200px; }
.layout-simple .content-area { width: 100%; padding: 0; }
.layout-simple .site-header .widget-area { width: 100%; margin: 0; padding: 0 10px; margin-top: 30px; }
.layout-simple .site-header .sidebar-widget { padding: 0; background-color: transparent; border: 0; box-shadow: none; }
.layout-simple .site-header .mobile-menu-wrap { width: 100%; text-align: left; margin-top: 30px; margin-bottom: 30px; }
.layout-simple .site-header .mobile-menu-wrap a { color: var(--text-white); }
.layout-simple .widget-area { text-align: left; }
.layout-simple .copyright { font-size: 12px; color: var(--text-muted); }
.layout-simple .sb-slidebar { background-color: var(--bg-charcoal); }

.scrollToTop {
    width: 45px; height: 45px; text-align: center; color: var(--text-white); z-index: 999999; font-size: 24px; line-height: 45px; border: none; border-radius: 50%; text-decoration: none; background-color: var(--cta-pink); position: fixed; bottom: 40px; right: 40px; opacity: 0; outline: none; transition: var(--transition-smooth); box-shadow: 0 5px 15px rgba(255, 77, 133, 0.4);
}
.scrollToTop.filling { opacity: 1; }
.scrollToTop:hover { background-color: var(--cta-cherry); transform: translateY(-5px); box-shadow: 0 10px 25px rgba(210, 4, 45, 0.6); color: var(--text-white); }

/*--------------------------------------------------------------
7 Header
--------------------------------------------------------------*/
.site-header { display: block; position: relative; text-align: center; z-index: 9; background-size: cover; }
.blog .site-header, .single .site-header, .page .site-header { padding-bottom: 180px; }
.archive .site-header, .error404 .site-header { padding-bottom: 100px; }
.h-overlay { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: radial-gradient(circle, rgba(28,28,30,0.3) 0%, rgba(28,28,30,0.9) 100%); z-index: 99; }
.site-header .container { position: relative; z-index: 999; }
.layout-default .site-header .container { padding-top: 0; padding-bottom: 0; }
.layout-default.hd-bg-active .site-header .container { padding-top: 30px; padding-bottom: 30px; }
.site-logo { margin: 60px 0; margin-bottom: 20px; }
.site-logo a { display: inline-block; font-size: 60px; border: 0; color: var(--text-white); font-family: var(--font-heading); text-shadow: 0 5px 20px rgba(0,0,0,0.8); letter-spacing: 2px;}
.site-tagline { font-size: 18px; padding-bottom: 10px; font-family: var(--font-heading); letter-spacing: 2px;}
.site-tagline span { color: var(--text-silver); position: relative; padding: 10px 0; text-shadow: 0 2px 10px rgba(0,0,0,0.5);}
.site-tagline span:before { content: ""; height: 2px; width: 40px; position: absolute; background-color: var(--cta-pink); left: 50%; top: 0; margin-left: -20px; }

/*--------------------------------------------------------------
8 Navigation
--------------------------------------------------------------*/
.main-navigation { text-align: center; }
.main-navigation .menu { display: inline-block; padding: 0; margin: 0; }
.main-navigation li { list-style-type: none; display: inline-block; padding: 0; margin: 0 5px; }
.main-navigation a { display: block; position: relative; z-index: 2; font-size: 13px; font-weight: 600; padding: 10px 20px; border: 0; text-decoration: none; text-transform: uppercase; color: var(--text-white); letter-spacing: 1.5px;}
.main-navigation li:hover > ul { display: block; }
.main-navigation .menu > li:hover:before, .main-navigation .menu > li:hover:after { width: 100%; height: 100%; border-color: var(--cta-pink); }
.main-navigation .sub-menu a:hover { color: var(--cta-pink); padding-left: 15px; border: none; }
.main-navigation .menu > li:before { content: ""; display: block; position: absolute; right: 0; top: 0; width: 0; height: 100%; background: transparent; border-top: 1px solid transparent; border-right: 1px solid transparent; transition: var(--transition-smooth);}
.main-navigation .menu > li:after { content: ""; display: block; position: absolute; bottom: 0; left: 0; width: 100%; height: 0; background: transparent; border-bottom: 1px solid transparent; border-left: 1px solid transparent; transition: var(--transition-smooth);}
.main-navigation .menu > .menu-item-has-children > a:after { font-family: "FontAwesome"; content: "\f0d7"; position: relative; margin-left: 5px; vertical-align: middle; font-size: 12px; }
.main-navigation .sub-menu { display: none; width: 250px; padding: 0; border-radius: 4px; font-size: 14px; position: absolute; z-index: 9999; text-align: left; background: var(--bg-burgundy); box-shadow: var(--card-shadow); border: 1px solid rgba(255,255,255,0.1); margin-top: 10px;}
.main-navigation .sub-menu > li a { display: block; margin: 0; padding: 15px 20px; color: var(--text-white); border-bottom: 1px solid rgba(255,255,255,0.05); transition: var(--transition-smooth);}
.main-navigation .sub-menu > li:last-child a { border-bottom: 0; }
.main-navigation .sub-menu .menu-item-has-children > a:after { font-family: "FontAwesome"; content: "\f0da"; position: absolute; right: 15px; vertical-align: middle; font-size: 12px; line-height: 19px; }
.main-navigation .sub-menu .sub-menu { left: 100%; margin-right: -5px; margin-top: -44px; }

/* Mobile Menu */
.sb-toggle { border: 1px solid var(--border-light); width: 100%; padding: 10px; text-align: center; text-transform: uppercase; font-weight: 600; color: var(--text-white); background: rgba(0,0,0,0.5); border-radius: 4px;}
.sb-toggle .fa { margin: 0 7px; color: var(--cta-pink);}
.sb-slidebar { background-color: var(--bg-charcoal); z-index: 99999; overflow-x: hidden; border-left: 1px solid var(--border-light);}
.obfuscator { background-color: rgba(0,0,0,.8); position: fixed; top: 0; left: 0; height: 100%; width: 100%; z-index: 9999; visibility: hidden; }
.mobile-menu-wrap { width: 280px; display: block; padding-top: 20px;}
.mobile-menu-wrap .menu .fa { position: absolute; left: 20px; color: var(--cta-pink); font-size: 22px; line-height: 1; }
.mobile-menu-wrap .menu li { border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-menu-wrap .menu a { display: block; color: var(--text-silver); font-size: 14px; padding: 15px 20px; text-decoration: none; text-transform: uppercase; font-weight: 600; letter-spacing: 1px;}
.mobile-menu-wrap .menu a:hover { background-color: var(--bg-burgundy); color: var(--text-white); }
.expander { position: absolute; top: 12px; right: 10px; height: 30px; width: 30px; }
.mobile-menu-wrap .has-sub > .expander:before, .mobile-menu-wrap .has-sub > .expander:after { content: ""; width: 12px; height: 2px; background-color: var(--text-silver); position: absolute; right: 50%; top: 50%; margin-right: -6px; }
.mobile-menu-wrap .has-sub > .expander:before { transform: rotate(90deg); }
.mobile-menu-wrap .has-sub > .expander.expanded:before { transform: rotate(0); }

/*--------------------------------------------------------------
9 Content
--------------------------------------------------------------*/
.sticky .pinned, .pinned { display: block; position: absolute; left: 50%; top: 0; width: 100px; margin-left: -50px; background-color: var(--cta-pink); color: var(--text-white); text-align: center; z-index: 1; font-size: 11px; padding: 4px; text-transform: uppercase; font-weight: bold; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,0.3);}
.cats ul { display: inline-block; padding: 0; }
.cats li { display: inline-block; list-style-type: none; }
.cats li:after { font-family: FontAwesome; content: "\f10c"; font-size: 6px; vertical-align: middle; padding: 0 8px; color: var(--cta-pink); }
.cats li:last-child:after { display: none; }
.cats a { font-size: 12px; font-weight: 700; color: var(--cta-pink); text-transform: uppercase; letter-spacing: 1px;}
.cats a:hover { color: var(--text-white); border: none;}

.post-title, .post-title a { color: var(--text-silver); font-size: 24px; font-weight: 400; line-height: 1.4; margin: 10px 0; transition: var(--transition-smooth);}
.page .post-title, .page .post-title a, .single .post-title, .single .post-title a { font-size: 32px; }
.post-title a:hover { color: var(--cta-pink); border: none;}

.meta-info { display: block; text-align: center; padding: 5px 0 20px 0; color: var(--text-muted); font-size: 13px; font-style: italic; }
.meta-info > span .fa { margin: 0 5px; color: var(--cta-pink);}
.meta-info .post-comments a, .meta-info .post-author a { color: var(--text-silver); text-transform: capitalize; }
.meta-info .post-date:after, .meta-info .post-author:after { content: ""; margin-left: 5px; }

/* Fixed the negative margin issue from previous box styling and added modern image handling */
.post-featured { display: block; background-color: #000; margin: -40px -40px 25px -40px; overflow: hidden; border-top-left-radius: var(--card-radius); border-top-right-radius: var(--card-radius); position: relative;}
.post-featured img { display: block; width: 100%; transition: transform 0.8s ease; }
article:hover .post-featured img { transform: scale(1.05); }

.post-excerpt { margin-bottom: 25px; text-align: center; color: var(--text-muted); }
.related-item .post-excerpt { text-align: left; margin-bottom: 0; }

.moretag, .tags { display: block; text-align: center; margin-bottom: 20px; }
.tags a { border: 1px solid var(--border-light); background: transparent; color: var(--text-silver); }
.tags a:hover { border-color: var(--cta-pink); background: var(--cta-pink); color: var(--text-white); }

.next-prev-post { display: inline-block; width: 100%; border-top: 1px solid var(--border-light); padding-top: 25px; margin-top: 15px;}
.next-prev-post .next-post .txt, .next-prev-post .prev-post .txt { font-size: 15px; font-weight: bold; text-transform: uppercase; color: var(--cta-pink);}
.next-prev-post .next-post .title, .next-prev-post .prev-post .title { display: block; font-size: 13px; color: var(--text-silver); margin-top: 5px;}
.next-prev-post .prev-post .txt:before { content: "\f100"; font-family: "FontAwesome"; margin-right: 8px; }
.next-prev-post .next-post .txt:after { content: "\f101"; font-family: "FontAwesome"; margin-left: 8px; }

.section-title { position: relative; margin-bottom: 30px; text-align: center; }
.section-title h3 { display: inline-block; background-color: var(--bg-burgundy); padding: 0 20px; position: relative; z-index: 1; margin: 0; font-size: 18px; color: var(--text-white); text-transform: uppercase; letter-spacing: 2px;}
.section-title:after { content: ""; display: block; width: 100%; height: 1px; background-color: var(--border-light); position: absolute; top: 50%; left: 0; z-index: 0; }

.related-posts ul { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2%; }
.related-item { display: inline-block; width: 32%; list-style-type: none; background: rgba(0,0,0,0.2); border-radius: 6px; overflow: hidden; border: 1px solid var(--border-light); transition: var(--transition-smooth);}
.related-item:hover { transform: translateY(-5px); border-color: var(--cta-pink); }
.related-item .thumb img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.related-item .content { padding: 15px; }
.related-posts .title { font-size: 16px; margin-bottom: 5px; color: var(--text-white); }
.related-posts .title:hover { color: var(--cta-pink); border: none; }
.related-posts .post-meta { color: var(--text-muted); font-size: 11px; margin-bottom: 10px;}
.related-posts .post-meta .fa { color: var(--cta-pink); }

.author-box { text-align: center; }
.author-box-avatar { display: inline-block; width: 100px; border-radius: 50%; overflow: hidden; border: 3px solid var(--cta-pink); box-shadow: 0 5px 15px rgba(255, 77, 133, 0.3); margin-bottom: 15px;}
.author-box .author { font-size: 24px; color: var(--text-silver); font-family: var(--font-heading); }
.author-box .author span { font-size: 11px; font-family: var(--font-body); color: var(--cta-pink); letter-spacing: 2px; display: block; margin-bottom: 5px;}

/* Comments Section */
#respond input[type="text"], #respond input[type="email"], #respond input[type="url"], #respond input[type="password"] { width: 32%; display: inline-block; float: left; margin-bottom: 15px;}
#respond #email { margin: 0 2%; }
#respond textarea { width: 100%; margin-bottom: 15px;}
.commentlist li { list-style-type: none; border-bottom: 1px solid var(--border-light); padding-bottom: 20px; margin-bottom: 20px; }
.comment-avatar { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--cta-pink); float: left; margin-right: 20px;}
.comment-body { display: block; padding-left: 80px; }
.commentmetadata .fn a { color: var(--text-silver); font-weight: bold; font-size: 16px; }
.commentmetadata > p { font-size: 14px; color: var(--text-muted); margin-top: 5px;}
.comment-box .comment-reply-link { float: right; padding: 4px 10px; background-color: rgba(255,255,255,0.1); color: var(--text-white); font-size: 11px; border-radius: 4px; transition: var(--transition-smooth);}
.comment-box .comment-reply-link:hover { background-color: var(--cta-pink); }
.commentmetadata .date { font-size: 11px; color: var(--cta-pink); margin-top: 5px; display: block;}

/*--------------------------------------------------------------
10 Media
--------------------------------------------------------------*/
embed, iframe, object { max-width: 100%; }
.wp-caption { margin-bottom: 1.5em; max-width: 100%; background: rgba(0,0,0,0.2); padding: 10px; border-radius: 4px; border: 1px solid var(--border-light);}
.wp-caption-text { text-align: center; color: var(--text-muted); font-size: 13px; font-style: italic; margin-top: 10px;}
.gallery-item { display: inline-block; text-align: center; vertical-align: top; width: 100%; }

/*--------------------------------------------------------------
11 Footer
--------------------------------------------------------------*/
footer { background-color: #111113; color: var(--text-muted); border-top: 1px solid var(--border-light); }
.footer-social { display: block; text-align: center; padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.footer-social li { display: inline-block; margin: 0 8px; }
.footer-social a { display: block; background-color: rgba(255,255,255,0.05); color: var(--text-white); width: 45px; height: 45px; border-radius: 50%; line-height: 45px; font-size: 18px; border: 1px solid var(--border-light) !important; transition: var(--transition-smooth);}
.footer-social a:hover { background-color: var(--cta-pink); border-color: var(--cta-pink) !important; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(255, 77, 133, 0.4);}
.copyright { text-align: center; padding: 25px 0; font-size: 13px; letter-spacing: 1px; color: rgba(255,255,255,0.4);}

/*--------------------------------------------------------------
12 Widgets
--------------------------------------------------------------*/
.sidebar { max-width: 100%; }
.sidebar-widget { padding: 30px; font-size: 14px; }
.widget-title { margin-bottom: 25px; text-align: center; position: relative; }
.sidebar-widget .widget-title:after { content: ""; display: block; width: 100%; height: 1px; background-color: var(--border-light); position: absolute; top: 50%; left: 0; z-index: 0; }
.sidebar-widget .widget-title h3 { display: inline-block; background-color: var(--bg-burgundy); padding: 0 15px; position: relative; z-index: 1; font-size: 15px; letter-spacing: 2px; color: var(--text-white);}

/* Search Widget */
.search-form { position: relative; }
.search-form input[type=search] { width: 100%; border-radius: 30px; padding-right: 50px;}
.search-form button { position: absolute; right: 5px; top: 5px; border: none; background: var(--cta-pink); color: #fff; width: 35px; height: 35px; border-radius: 50%; padding: 0; line-height: 35px; text-align: center; box-shadow: none; }
.search-form button:hover { background: var(--cta-cherry); transform: none; box-shadow: none; }

/* Lists Widgets */
.widget_meta li, .widget_categories li, .widget_archive li, .widget_recent_entries li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.widget_meta li:last-child, .widget_categories li:last-child { border: none; }
.widget_meta li a, .widget_categories li a { color: var(--text-silver); }
.widget_meta li a:hover, .widget_categories li a:hover { color: var(--cta-pink); border: none; }

/* Tagcloud */
.tagcloud a { font-size: 11px !important; padding: 8px 14px; margin: 0 5px 8px 0; display: inline-block; background: rgba(0,0,0,0.2); color: var(--text-silver); border: 1px solid var(--border-light); border-radius: 4px; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition-smooth);}
.tagcloud a:hover { background: var(--cta-pink); border-color: var(--cta-pink); color: #fff; }

/* Custom Recent Posts */
.widget-posts-wrap li { display: flex; align-items: center; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.widget-posts-wrap li:last-child { border: none; margin-bottom: 0; padding-bottom: 0; }
.widget-posts-wrap .post-img { width: 80px; flex-shrink: 0; margin-right: 15px; border-radius: 4px; overflow: hidden; margin-bottom: 0;}
.widget-posts-wrap .title { font-size: 14px; line-height: 1.4; margin-bottom: 5px; }
.widget-posts-wrap .title a { color: var(--text-silver); }
.widget-posts-wrap .title a:hover { color: var(--cta-pink); border: none; }
.widget-posts-wrap .post-meta { color: var(--cta-pink); font-size: 11px; }

/*--------------------------------------------------------------
13 Accessibility
--------------------------------------------------------------*/
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }

/*--------------------------------------------------------------
14 Theme Options Adaptations
--------------------------------------------------------------*/
.layout-simple.sidebar-right.single .content-wrap > .container { float: right; }
.layout-default.sidebar-left .content-area { float: right; }
.layout-default.sidebar-none .content-area { width: 100%; }

/* Resetting the old box styles so they don't break the modern Burgundy cards */
.box-solid article, .box-solid .sidebar-widget, .box-solid .related-posts, .box-solid .author-box, .box-solid .comments, .box-solid #respond { border: 1px solid rgba(255,255,255,0.05); }
.box-shadow article, .box-shadow .sidebar-widget { box-shadow: var(--card-shadow); }
.box-shadow article:hover { box-shadow: var(--card-shadow-hover); }

/*--------------------------------------------------------------
15 Media Queries
--------------------------------------------------------------*/
@media (min-width: 992px) {
    .content-area { width: 68%; }
    .widget-area { width: 32%; padding-left: 30px;}
}
@media (max-width: 767px) {
    .layout-simple #page { display: block; }
    .layout-simple .site-header { display: block; width: 100%; }
    .related-posts ul { flex-direction: column; gap: 20px;}
    .related-item { width: 100%; }
    .archive-header h1 { font-size: 2.5em; }
}
@media (max-width: 480px) {
    .grid-item, .grid-sizer { width: 100%; }
    .next-prev-post > div { width: 100%; float: none; text-align: center !important; margin-bottom: 20px;}
    #respond input[type="text"], #respond input[type="email"], #respond input[type="url"], #respond input[type="password"] { width: 100%; margin: 0 0 15px 0;}
    article, .sidebar-widget, .related-posts, .author-box, .comments, #respond { padding: 20px; }
    .post-featured { margin: -20px -20px 20px -20px; }
}

/* Force all post images to 500x750 centered */
.entry-content img {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 500px !important;
    height: 750px !important;
    object-fit: cover; /* This prevents stretching */
    border-radius: 8px;
    border: 1px solid var(--border-burgundy);
}

/* Fix for mobile - ensure they don't break the screen width */
@media (max-width: 600px) {
    .entry-content img {
        width: 100% !important;
        height: auto !important;
        max-width: 500px;
    }
}

/* Kill the rogue dropdown border glitch */
.main-navigation li a:hover,
.main-navigation li:hover > a {
    border-bottom: none !important;
    box-shadow: none !important;
    color: var(--cta-pink) !important;
    background: transparent !important;
}

.main-navigation ul ul {
    border: 1px solid var(--border-burgundy) !important;
    background: var(--bg-burgundy) !important;
}

/* ==========================================================================
   CLASSY & TEASING MAIN NAVIGATION 
   ========================================================================== */

/* The outer container */
.navigation-container {
    border-bottom: 1px solid var(--border-burgundy);
    border-top: 1px solid var(--border-burgundy);
    padding: 0;
    margin-bottom: 40px;
    background: transparent;
}

.main-navigation {
    display: flex;
    justify-content: center; /* Centers the whole menu */
    align-items: center;
}

/* Base List Reset */
.main-navigation ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 35px; /* Spacing between menu items */
}

/* Individual Items */
.main-navigation li {
    position: relative;
    margin: 0;
    padding: 0;
}

/* The Links */
.main-navigation a {
    font-family: 'Playfair Display SC', serif;
    font-size: 17px;
    letter-spacing: 2px;
    color: var(--text-silver);
    text-decoration: none;
    text-transform: uppercase;
    padding: 20px 5px;
    display: block;
    transition: color 0.3s ease;
    position: relative;
}

/* The "Teasing" Hover Animation (Center-out underline) */
.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 12px;
    left: 50%;
    background-color: var(--cta-pink);
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.main-navigation a:hover,
.main-navigation li.current-menu-item > a {
    color: var(--cta-pink);
}

.main-navigation a:hover::after,
.main-navigation li.current-menu-item > a::after {
    width: 100%;
}

/* ==========================================================================
   CLASSY DROPDOWNS
   ========================================================================== */

/* Hide by default */
.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-burgundy);
    border: 1px solid var(--border-burgundy);
    border-top: 2px solid var(--cta-pink); /* Pink accent line on top */
    min-width: 220px;
    z-index: 9999; /* Fixes overlap issues */
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

/* Show on hover */
.main-navigation li:hover > ul {
    display: flex;
}

/* Dropdown Links */
.main-navigation ul ul a {
    padding: 12px 25px;
    font-size: 14px;
    letter-spacing: 3px;
    text-align: center;
}

/* Remove the underline animation for dropdowns */
.main-navigation ul ul a::after {
    display: none; 
}

/* Dropdown Hover State */
.main-navigation ul ul a:hover {
    background: var(--bg-burgundy-light);
    color: #fff;
}

/* ==========================================================================
   MOBILE FIXES FOR PROFILE CARDS & ACTION BARS
   ========================================================================== */

@media (max-width: 768px) {
    /* 1. Fix the Grid Card Icons (content.php) */
    .card-icons {
        gap: 20px !important;
        flex-wrap: wrap !important;
        width: 100% !important;
    }

    /* 2. Fix the Top Action Bar on Profiles (content-single.php) */
    .profile-actions-top {
        gap: 15px !important; /* Shrink the huge 40px gap */
        padding: 15px 5px !important; /* Reduce side padding */
        flex-wrap: wrap !important; /* Force items to drop to the next line if needed */
        width: 100% !important;
        box-sizing: border-box;
    }

    /* Shrink the text slightly to fit better on mobile */
    .profile-actions-top .icon-btn small {
        font-size: 11px !important;
        letter-spacing: 0px !important;
    }

    /* 3. Ensure Tags wrap neatly instead of breaking the screen */
    .post-tags {
        gap: 5px !important;
    }
    
    .post-tags a {
        padding: 5px 12px !important;
        font-size: 11px !important;
    }

    /* 4. Ensure the Booking Box fits the screen */
    .profile-actions-bottom {
        padding: 25px 15px !important;
    }
    
    .profile-actions-bottom .meet-me-btn {
        padding: 15px 0 !important;
        width: 100% !important; /* Make button full width on mobile for easy tapping */
        box-sizing: border-box;
    }
}