/* Modern Ocean Sunset Theme
name: Ocean Sunset Deluxe
creation date: 30 july 2025
version dle: 12-14
*/

/* SET BASE
----------------------------------------------- */
* {
    background: transparent;
    margin: 0;
    padding: 0;
    outline: none;
    border: 0;
    box-sizing: border-box;
}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
table {border-collapse: collapse; border-spacing: 0;}
input, select {vertical-align: middle;}
article, aside, figure, figure img, hgroup, footer, header, nav, section, main {display: block;}
img {max-width: 100%;}
.clr {clear: both;}
.clearfix:after {content: ""; display: table; clear: both;}

:root {
    /* Ocean Sunset Colors */
    --primary-color: #FF7043; /* Bright Orange (Sunset) */
    --primary-light: #FFAB91; /* Lighter Orange */
    --primary-dark: #E64A19; /* Darker Orange */
    --secondary-color: #42A5F5; /* Sky Blue (Ocean) */
    --accent-color: #AB47BC; /* Soft Purple/Pink (Transition) */
    --text-dark: #263238; /* Darker Text (Deep Ocean) */
    --text-medium: #546E7A; /* Medium Text */
    --text-light: #90A4AE; /* Light Text (Horizon Haze) */
    --bg-light: #E0F2F7; /* Light Blue Background (Calm Ocean) */
    --bg-lighter: #F5F8FA; /* Even Lighter Background */
    --bg-white: #FFFFFF;
    --border-color: #B0BEC5; /* Subtle Border */
    --shadow-light: rgba(255, 112, 67, 0.15); /* Orange Tinted Shadow */
    --shadow-medium: rgba(255, 112, 67, 0.25);
    --shadow-dark: rgba(255, 112, 67, 0.35);
    --success-color: #66BB6A; /* Soft Green */
    --warning-color: #FFCA28; /* Golden Yellow */
    --error-color: #EF5350; /* Gentle Red */
    --info-color: #29B6F6; /* Bright Sky Blue */
    --rating-good: #66BB6A;
    --rating-average: #FFCA28;
    --rating-bad: #EF5350;
}

body {
    font: 15px 'Poppins', sans-serif; /* Modern, readable font */
    line-height: 1.7;
    padding: 0;
    margin: 0;
    color: var(--text-medium);
    background: var(--bg-light);
    min-height: 100%;
    width: 100%;
    font-weight: 400;
}
a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}
a:hover, a:focus {
    color: var(--primary-color);
    text-decoration: none; /* Keep it clean, avoid underline on hover */
    transform: translateY(-1px);
}
h1, h2, h3, h4, h5 {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.2em; /* Slightly larger headings for impact */
    margin-bottom: 12px;
}

button, textarea, select,
input[type="text"], input[type="password"],
input[type="button"], input[type="submit"] {
    appearance: none;
    -webkit-appearance: none;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    outline: none;
}

/* Buttons */
.button, .btn, .pagi-load a, .up-second li a, .usp-edit a, .qq-upload-button,
button:not(.color-btn):not([class*=fr]):not(.search-btn):not([class*=owl-]),
html input[type="button"], input[type="reset"], input[type="submit"], .meta-fav a, .usp-btn a {
    display: inline-block;
    text-align: center;
    padding: 0 20px;
    height: 40px;
    line-height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    background: linear-gradient(to right, var(--primary-light), var(--primary-color));
    color: var(--bg-white);
    font-size: 15px;
    border: none;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}
.button:hover, .btn:hover, .up-second li a:hover, .usp-edit a:hover,
.qq-upload-button:hover, .pagi-load a:hover, .usp-btn a:hover,
button:not(.color-btn):not([class*=fr]):not(.search-btn):not([class*=owl-]):hover,
html input[type="button"]:hover, input[type="reset"]:hover,
input[type="submit"]:hover, .meta-fav a:hover {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
    box-shadow: 0 6px 20px var(--shadow-medium);
    transform: translateY(-2px);
}
button:active, input[type="button"]:active, input[type="submit"]:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px var(--shadow-light);
}

/* Form Elements */
input[type="text"], input[type="password"] {
    height: 40px;
    line-height: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 0 16px;
    transition: all 0.3s ease;
}
select {
    height: 40px;
    border: 1px solid var(--border-color);
    padding: 0 16px;
    border-radius: 8px;
    background-color: var(--bg-white);
    color: var(--text-medium);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
textarea {
    padding: 16px;
    overflow: auto;
    vertical-align: top;
    resize: vertical;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
input[type="text"], input[type="password"], select, textarea {
    width: 100%;
    background-color: var(--bg-white);
    color: var(--text-medium);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
select {width: auto;}
input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--shadow-light);
}
input::placeholder, textarea::placeholder {
    color: var(--text-light);
    opacity: 0.9;
    font-size: 14px;
}
input:focus::placeholder, textarea:focus::placeholder {
    color: transparent;
}

/* Image Styles */
.img-box, .img-wide, .img-resp, .img-resp-vert, .img-fit {
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.img-resp {padding-top: 65%;} /* Slightly adjusted aspect ratio */
.img-resp-vert {padding-top: 150%;}
.img-box img, .img-resp img, .img-resp-vert img {
    width: 100%;
    min-height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.img-resp img, .img-resp-vert img {
    position: absolute;
    left: 0;
    top: 0;
}
.img-box:hover img, .img-resp:hover img, .img-resp-vert:hover img {
    transform: scale(1.05);
}
.img-wide img {width: 100%; display: block;}
.img-fit img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Flex Utilities - Keep as is, they are functional */
.fx-row, #dle-content {
    display:-ms-flexbox;
    display:-webkit-flex;
    display:flex;
    -ms-flex-wrap:wrap;
    -webkit-flex-wrap:wrap;
    flex-wrap:wrap;
    -ms-flex-pack:justify;
    -webkit-justify-content:space-between;
    justify-content:space-between;
}
.fx-col {
    display:-ms-flexbox;
    display:-webkit-flex;
    display:flex;
    -ms-flex-direction:column;
    -webkit-flex-direction:column;
    flex-direction:column;
}
.fx-center {
    -ms-flex-pack:center;
    -webkit-justify-content:center;
    justify-content:center;
}
.fx-middle {
    -ms-flex-align:center;
    -webkit-align-items:center;
    align-items:center;
}
.fx-start {
    -webkit-justify-content:flex-start;
    justify-content:flex-start;
}
.fx-first {
    -ms-flex-order: -1;
    -webkit-order: -1;
    order: -1;
}
.fx-last {
    -ms-flex-order: 10;
    -webkit-order: 10;
    order: 10;
}
.fx-1 {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    min-width: 50px;
}
.fx-between {
    -ms-flex-pack:justify;
    -webkit-justify-content:space-between;
    justify-content:space-between;
}

/* Typography */
b, strong, .fw700 {font-weight: 700;} /* Bolder for impact */
.icon-left [class*="fa-"], .icon-left .icon {margin-right: 10px;}
.icon-right [class*="fa-"], .icon-right .icon {margin-left: 10px;}
.hidden, #dofullsearch {display: none;}
.anim, .btn, button, .popular-item-img:before, .short-item a, .sidebar a, .header-btn,
.short-img, .footer a, .side-nav a {transition: all .3s ease;}
.mtitle, .sub-title h1, .form-wrap h1 {
    margin-bottom: 28px;
    font-size: 22px !important;
    font-weight: 700;
    color: var(--text-dark);
}
#dle-content > * {width: 100%;}

/* BASIC GRID
----------------------------------------------- */
.wrap {
    min-width:320px;
    position: relative;
    padding: 32px; /* Increased padding for more breathing room */
}
.wrap-center {
    max-width:1300px; /* Wider content area */
    margin:0 auto;
    position:relative;
    z-index:20;
}
.wrap-main {
    background-color: var(--bg-white);
    border-radius: 12px; /* Softer rounded corners */
    box-shadow: 0 6px 30px var(--shadow-medium); /* More prominent shadow */
}
.header {
    padding: 20px 40px;
    background-color: var(--bg-white);
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid var(--border-color);
}
.cols {padding: 40px 40px;} /* Increased padding */
.main {min-height: 100vh;}
.sidebar {width: 300px; margin-right: 40px;} /* Wider sidebar */

.footer {
    background: var(--text-dark); /* Darker footer for contrast */
    padding: 30px 40px;
    color: var(--bg-lighter);
    border-radius: 0 0 12px 12px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}
.footer a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

#gotop {
    position:fixed;
    width:48px;
    height:48px;
    line-height:48px;
    right:20px;
    bottom:20px;
    z-index:990;
    display:none;
    background: linear-gradient(to bottom right, var(--secondary-color), var(--primary-color)); /* New gradient for gotop */
    color:var(--bg-white);
    cursor:pointer;
    font-size:20px;
    border-radius:50%;
    text-align:center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
#gotop:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* HEADER
----------------------------------------------- */
.logo {
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color)); /* Ocean Sunset gradient */
    color: var(--bg-white);
    border-radius: 8px;
    margin-right: 12px;
    font-size: 18px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.logo-text {
    font-weight: 800;
}

.logo-text span {
    color: var(--primary-color); /* Emphasize sunset color */
}

.header-btn {padding: 0 36px;}
.search-wrap {position:relative; margin: 0 20px 0 40px;}
.search-box input, .search-box input:focus {
    padding: 0 48px 0 18px;
    border-radius: 8px;
    background-color: var(--bg-lighter);
    border: 1px solid var(--border-color);
    box-shadow: none;
    transition: all 0.3s ease;
}
.search-box input:focus {
    background-color: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--shadow-light);
}
.search-box input:not(:focus)::placeholder {
    color: var(--text-light);
    opacity: 0.8;
    font-size: 13px;
}
.search-box button {
    position:absolute;
    right:0px;
    top:0px;
    z-index:10;
    width: 48px;
    cursor: pointer;
    background: none;
    color: var(--text-light);
    line-height: 40px;
    text-align: center;
    border-radius: 0 8px 8px 0;
    transition: color 0.3s ease;
}
.search-box button:hover {
    color: var(--primary-color);
}

.carou-content {height: 200px;} /* Slightly taller carousel */
.carou-sect {
    padding: 20px 40px;
    background-color: var(--bg-lighter);
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.05); /* Inner shadow for depth */
}
.carou-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}
.popular-item-img {
    display: block;
    border-radius: 8px;
    height: 200px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.popular-item-title {
    position: absolute;
    z-index: 10;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 20px;
    color: var(--bg-white);
    font-weight: 600;
    word-wrap: break-word;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6);
    transition: opacity 0.3s ease;
    font-size: 15px;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%); /* Stronger gradient */
}
.popular-item-img:before {
    content: '';
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    bottom: 0;
    height: 75%; /* Slightly larger gradient area */
    background: linear-gradient(to bottom, transparent 0%,rgba(0,0,0,0.7) 100%);
    opacity: 1;
    transition: opacity 0.3s ease;
}
.popular-item:hover .popular-item-img:before,
.popular-item:hover .popular-item-title {
    opacity: 1; /* Keep full opacity on hover for title readability */
}
.popular-item:hover .popular-item-img img {
    transform: scale(1.03);
}

/* SIDEBAR
----------------------------------------------- */
.side-box {
    margin-bottom: 32px;
    background: var(--bg-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 18px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.side-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}
.side-bt {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color); /* More prominent separator */
}
.side-bt:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; /* Adjusted to sit on top of the border */
    width: 40px; /* Longer highlight */
    height: 4px; /* Thicker highlight */
    background: linear-gradient(to right, var(--secondary-color), var(--primary-light)); /* Ocean gradient */
    border-radius: 2px;
}
.mb-remove {margin-bottom: -20px;}

.nav-col {width: 55%;}
.nav-col + .nav-col {width: 40%;}
.nav-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 15px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border-color); /* Dashed border for lighter feel */
}
.nav-menu + .nav-title {margin-top: 15px;}
.nav-menu a {
    display:block;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-medium);
    transition: all 0.3s ease;
}
.nav-menu a:hover,
a.short-title:hover,
.side-popular-item:hover .side-popular-item-title {
    color: var(--primary-color);
    text-decoration: none;
    transform: translateX(3px);
}

.side-popular-item {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}
.side-popular-item:hover {
    transform: translateX(8px);
}
.side-popular-item-img {
    width: 70px; /* Slightly larger images */
    height: 90px;
    border-radius: 6px;
    margin-right: 15px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.side-popular-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.side-popular-item-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}
.side-popular-item-info {
    color: var(--text-light);
    margin-top: 5px;
    font-size: 12px;
}
.side-popular-item-date {
    color: var(--text-light);
    margin-top: 5px;
    font-size: 11px;
    font-weight: 300;
}

.side-recommend-item {
    display: block;
    margin-bottom: 20px;
    width: 48%; /* Adjust for better spacing */
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.side-recommend-item-img {
    border-radius: 8px;
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
    display: block;
}
.side-recommend-item:hover .side-recommend-item-img {
    transform: scale(1.05);
}

.lcomm {
    margin-bottom: 20px;
    background: var(--bg-lighter); /* Lighter background for comments */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.ltitle {
    display: block;
    line-height: 1.2;
    font-weight: 400;
    font-size: 13px;
    margin-top: 10px;
    padding-left: 3px;
    color: var(--text-light);
}
.ltext {
    line-height: 1.5;
    background-color: var(--bg-white);
    padding: 10px;
    border-radius: 8px;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}
.lmeta {
    font-size: 13px;
    margin: 10px 0;
    color: var(--text-light);
    font-weight: 300;
}
.ldate, .lav, .lname {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}
.lav {
    width: 24px; /* Larger avatar */
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    color: var(--bg-white);
    text-align: center;
    line-height: 24px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.lcomm .comm-letter {line-height: 24px; font-size: 13px;}
.lname {color: var(--text-dark); font-weight: 500;}

/* SECTION
----------------------------------------------- */
.sect {
    margin-bottom: 40px; /* More space between sections */
    background: var(--bg-white);
    padding: 24px; /* Increased padding */
    border-radius: 12px;
    box-shadow: 0 4px 18px var(--shadow-light);
}
.sect-header {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.sect:last-child {margin-bottom: 0;}
.sect-title {
    font-weight: 700;
    font-size: 20px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}
.sect-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 50px; /* Longer highlight */
    height: 4px;
    background: linear-gradient(to right, var(--primary-light), var(--primary-color));
    border-radius: 2px;
}
.sect-title [class*=fa-],
.side-bt [class*=fa-],
.speedbar [class*=fa-],
.carou-title [class*=fa-] {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 20px;
}
.sorter, .sect-link {
    position:relative;
    cursor:pointer;
    height: 32px;
    line-height: 32px;
    margin-left: 15px;
    padding: 0 15px;
    background-color: var(--bg-lighter);
    border-radius: 6px;
    font-size: 13px;
    display: block;
    color: var(--text-medium);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}
.sorter:before {
    content:attr(data-label);
    display: inline-block;
    vertical-align: top;
}
.sorter > span {
    display: inline-block;
    vertical-align: top;
    margin-left: 3px;
}
.sorter form {
    display:none;
    background-color:var(--bg-white);
    padding:15px;
    line-height:28px;
    box-shadow:0 6px 20px var(--shadow-medium);
    position:absolute;
    right:0;
    top:calc(100% + 10px); /* Slightly more space */
    width:180px;
    z-index:999;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.sorter a:hover {color: var(--primary-color);}
.sort li.asc a:after, .sort li.desc a:after {
    content:"\f063";
    font-family:"Font Awesome 5 Pro";
    display:inline-block;
    margin-left:10px;
    font-weight: 300;
}
.sort li.desc a:after {content:"\f062"}
.sorter:hover, .sect-link:hover {
    background: linear-gradient(to right, var(--primary-light), var(--primary-color));
    color: var(--bg-white);
    box-shadow: 0 4px 15px var(--shadow-light);
}

/* SHORT ITEM
----------------------------------------------- */
.short-item {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
    background-color: var(--bg-white);
    box-shadow: 0 4px 18px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Ensure flex for image and content */
    align-items: flex-start; /* Align content to the top */
}
.short-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}
.short-img {
    width: 170px; /* Larger image */
    height: 250px;
    margin-right: 20px;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    flex-shrink: 0; /* Prevent shrinking */
}
.short-img:hover {
    transform: scale(1.03);
}
.short-content {
    flex-grow: 1;
}
.short-header {margin-bottom: 15px;}
.short-title {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    transition: color 0.3s ease;
}
.short-title:hover {
    color: var(--primary-color);
}
.short-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 15px;
}
.short-list li {
    position: relative;
    padding-left: 110px; /* Adjusted padding */
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-medium);
}
.short-list li > span:first-child {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--text-light);
    font-weight: 600;
}
.short-list a {
    color: var(--secondary-color); /* Use secondary color for list links */
    text-decoration: none;
    transition: color 0.3s ease;
}
.short-list a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
.short-meta {
    margin-top: 15px;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 300;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.short-meta-item {margin-right: 20px;}
.short-rating {
    line-height: 28px;
    background-color: var(--bg-lighter);
    padding: 0 12px;
    font-size: 13px;
    border-radius: 6px;
    margin-right: 20px;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}
.short-rating .fa-thumbs-up {color: var(--rating-good); margin-right: 8px;}
.short-rating .fa-thumbs-down {color: var(--error-color); margin: 0 8px;}
.short-label {
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color)); /* Accent gradient */
    padding: 3px 10px;
    border-radius: 6px;
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 10;
    font-size: 12px;
    font-weight: 700;
    color: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.short-btn {
    height: 32px;
    line-height: 32px;
    font-size: 12px;
    padding: 0 15px;
    border-radius: 6px;
    box-shadow: 0 2px 8px var(--shadow-light);
    background: var(--bg-lighter);
    color: var(--text-medium);
    transition: all 0.3s ease;
}
.short-btn:hover {
    background: linear-gradient(to right, var(--primary-light), var(--primary-color));
    color: var(--bg-white);
    box-shadow: 0 4px 12px var(--shadow-medium);
    transform: translateY(-2px);
}
.short-rate-in {
    line-height: 32px;
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
    padding: 0 10px;
    margin-left: 10px;
    font-weight: 700;
    box-shadow: 0 2px 8px var(--shadow-light);
    color: var(--bg-white);
}
.short-rate-in:before {
    content: attr(data-text);
    display: inline;
    margin-right: 5px;
    text-transform: uppercase;
    font-size: 11px;
}
.short-rate-kp {background-color: var(--warning-color); color: var(--text-dark);}
.short-rate-imdb {background-color: #FFD700; color: var(--text-dark);} /* Brighter gold for IMDb */
.mrating {margin-right: 20px; overflow: hidden;}
.mrating a {transition: none}
.short-img:hover {opacity: 1;} /* Ensure full opacity on hover */

/* SEO DESCRIPTION
----------------------------------------------- */
.site-desc {
    line-height: 1.7;
    color: var(--text-medium);
    font-size: 15px;
    padding-top: 40px;
    background: var(--bg-white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 18px var(--shadow-light);
    position: relative;
}
.site-desc:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 4px; /* Thicker top border */
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color)); /* New gradient for SEO block */
    border-radius: 4px 4px 0 0;
}
.site-desc h1, .site-desc h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}
.site-desc li {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 8px;
}
.site-desc p {margin-bottom: 15px;}
.site-desc > *:last-child {margin-bottom: 0;}
.site-desc a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}
.site-desc a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
.site-desc img {
    float: left;
    max-width: 200px;
    margin: 0 20px 15px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* BOTTOM NAVIGATION
----------------------------------------------- */
.bottom-nav {
    margin-bottom: -10px;
    text-align: center;
    padding: 20px 0;
}
.navigation a, .navigation span, .pnext a, .pprev a, .pprev > span, .pnext > span {
    display:inline-block;
    padding:0 15px;
    margin:0 5px 10px 0px;
    line-height: 40px;
    min-width: 40px;
    background-color: var(--bg-lighter);
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-medium);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}
.navigation span:not(.nav_ext), .pagi-nav a:hover {
    background: linear-gradient(to right, var(--primary-light), var(--primary-color));
    color: var(--bg-white);
    box-shadow: 0 4px 15px var(--shadow-medium);
    border-color: transparent;
}
.navigation a:hover {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    border-color: transparent;
}

/* FULL
----------------------------------------------- */
.speedbar {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color); /* Dashed speedbar */
}
.speedbar .fal {margin-right: 8px; color: var(--secondary-color);}
.fleft {width: 200px; margin-right: 20px;}
.fimg {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    overflow: hidden;
}
.ftext {
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-medium);
    line-height: 1.7;
}
.fcols .short-list li {font-size: 13px;}
.fcols .short-meta-item:last-child {margin-right: 0;}
h1 a {
    margin-left: 10px;
    font-size: 15px;
    color: var(--secondary-color);
}
.fcols {
    padding: 20px;
    border-radius: 10px;
    background-color: var(--bg-white);
    box-shadow: 0 4px 18px var(--shadow-light);
}

.fsubtitle {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}
.fplayer {
    position:relative;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}
.fctrl {padding-right: 20px;}
.fplayer .tabs-sel span {
    display:inline-block;
    padding:0 20px;
    height:40px;
    line-height:40px;
    cursor:pointer;
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 6px;
}
.fplayer .tabs-sel span.current {
    background: linear-gradient(to right, var(--primary-light), var(--primary-color));
    color: #fff;
}
.fplayer .tabs-sel span:hover {
    background-color: rgba(255,255,255,0.15);
}
.js .tabs-b {background-color: #000; display: none;}
.js .tabs-b.visible {display: block;}
.fcompl a, .ffav a {color: #fff;}
.fcompl a:hover, .ffav a:hover, .ffav span:hover {
    color: var(--primary-light);
    cursor: pointer;
}
.fcompl, .ffav {margin-left: 20px;}

.fshare {
    padding: 10px;
    text-align:center;
    white-space:nowrap;
    margin: 20px 0;
}
.fshare .fab, .fshare .fas {
    width:40px;
    height:40px;
    border-radius:50%;
    text-align:center;
    line-height:40px;
    background-color:var(--primary-color);
    color:#fff;
    font-size:16px;
    margin:0 5px;
    cursor:pointer;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
.fshare .fa:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px var(--shadow-medium);
}
.fab.fa-vk {background-color:#5075a5;}
.fab.fa-facebook-f {background-color:#3b5998;}
.fab.fa-twitter {background-color:#1da1f2;}
.fab.fa-odnoklassniki, .fa.fa-rss {background-color:#ee8208;}
.fas.fa-paper-plane {background-color:var(--secondary-color);} /* Use secondary for share */
.fshare .fa-facebook-f::before {content: "\f39e" !important;}

/* FULL STORY STATIC
----------------------------------------------- */
.video-box embed,
.video-box object,
.video-box video,
.video-box iframe,
.video-box frame {
    max-width: 100%;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;

}

.mejs-container {
    max-width: 100% !important;
}
.full-text {
    line-height: 1.7;
    font-size: 15px;
    color: var(--text-medium);
    background: var(--bg-white);
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 4px 18px var(--shadow-light);
}
.full-text img:not(.emoji) {
    max-width:100%;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.full-text > img[style*="left"], .full-text > .highslide img[style*="left"] {
    margin:0 20px 15px 0;
    float: left;
}
.full-text > img[style*="right"], .full-text > .highslide img[style*="right"] {
    margin:0 0 15px 20px;
    float: right;
}
.full-text a {
    text-decoration:none;
    color:var(--primary-dark);
    transition: color 0.3s ease;
}
.full-text a:hover {
    color:var(--primary-color);
    text-decoration: underline;
}
.full-text h2, .full-text h3, .full-text h4, .full-text h5 {
    margin:20px 0 15px 0;
    font-size:20px;
    font-weight:700;
    color: var(--text-dark);
}
.full-text p {margin-bottom:15px;}
.full-text > ul, .full-text > ol {margin:0 0 15px 0;}
.full-text > ul li {
    list-style:disc;
    margin-left:20px;
    margin-bottom: 8px;
}
.full-text > ol li {
    list-style:decimal;
    margin-left:20px;
    margin-bottom: 8px;
}

/* COMMENTS
----------------------------------------------- */
.add-comms {
    margin-bottom: 25px;
    padding: 20px;
    background-color: var(--bg-lighter);
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-light);
}
.ac-inputs input {width: 49%; margin-bottom: 15px;}
.ac-textarea textarea {height: 100px; margin-bottom: 15px;}
.add-comms input, .add-comms textarea, .ac-submit button {}
.ac-protect, .ac-textarea .bb-editor + br {display: none;}
.comments_subscribe input {margin-right: 10px;}
.comments_subscribe {display: block;}
.mass_comments_action {display: none;}
.last-comm-link {
    display: inline-block;
    padding-bottom: 20px;
    color: var(--primary-dark);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.last-comm-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.comm-avatar {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--bg-lighter);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.comm-letter {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    line-height: 40px;
    text-align: center;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-light));
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}
.comm-item {
    font-size: 14px;
    padding-left: 55px;
    position: relative;
    min-height: 40px;
    margin-bottom: 20px;
    background-color: var(--bg-white);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-light);
}
.comm-two {margin: 5px 0 10px 0;}
.comm-one > span {
    margin-right: 15px;
    color: var(--text-light);
    font-size: 13px;
}
.comm-one > span.comm-author, .comm-one > span.comm-author a {
    color: var(--text-dark);
    font-weight: 600;
}
.comm-three-left > a, .comm-three-right li a {opacity: 0.9;}
.comm-three-right li {display: inline-block; margin-left: 15px;}
.comm-rate3 {
    white-space:nowrap;
    margin-right: 15px;
    height: 20px;
    line-height: 20px;
    display: inline-block;
    vertical-align: top;
    position: relative;
    top: -4px;
}
.comm-rate3 a {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    opacity: 0.9;
    color: var(--text-light);
    transition: color 0.3s ease;
}
.comm-rate3 a:hover {
    color: var(--primary-color);
    opacity: 1;
}
.comm-rate3 a:first-child {top: -6px;}
.comm-rate3 > span {margin: 0 5px;}
.comm-rate3 > span > span.ratingtypeplus {color: var(--rating-good);}
.comm-rate3 > span > span.ratingplus {color: var(--rating-good);}
.comm-rate3 > span > span.ratingminus {color: var(--error-color);}
.comm-three a:hover {border-bottom-color: transparent;}
.comm-three-left > a {
    opacity: 1;
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}
.comm-three-left > a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* LOGIN
----------------------------------------------- */
.overlay-box {
    position: fixed;
    z-index: 998;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85;
    background-color: rgba(0,0,0,0.7);
    cursor: pointer;
}
.login-box {
    position: fixed;
    z-index: 999;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background-color: var(--bg-white);
    padding: 30px 50px 40px 50px;
    border-top: 5px solid var(--primary-color);
    width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border-radius: 10px;
}
.login-close {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: -32px;
    right: -32px;
    color: #fff;
    transition: color 0.3s ease;
}
.login-close:hover {
    color: var(--primary-light);
}
.login-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    color: var(--text-dark);
}
.login-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    text-align: center;
    line-height: 60px;
    font-size: 24px;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    color: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
.login-input {margin-bottom: 15px;}
.login-btn button {width: 100%; margin: 15px 0;}
.login-btm a {
    border-bottom: 1px dotted var(--primary-color);
    color: var(--primary-dark);
    font-size: 13px;
    transition: color 0.3s ease;
}
.login-btm a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
.login-check {position: relative; font-size: 14px;}
.login-check input {opacity: 0; position: absolute; cursor: pointer;}
.login-check span {
    display: block;
    padding-left: 35px;
    height: 30px;
    line-height: 30px;
    color: var(--text-medium);
}
.login-check span:before, .login-check span:after{content: '';position: absolute;top: 50%;transition: .3s;}
.login-check span:before{
    left: 0;
    height: 10px;
    margin-top: -5px;
    width: 26px;
    border-radius: 5px;
    background: var(--border-color);
    box-shadow: inset 0 1px 5px rgba(0,0,0,0.1);
}
.login-check span:after{
    left: 2px;
    height: 12px;
    width: 12px;
    margin-top: -6px;
    background: var(--bg-white);
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.15);
}
.login-check input:checked + span:before {background-color: var(--primary-color);}
.login-check input:checked + span:after {
    left: 16px;
    background-color: var(--bg-white);
    box-shadow: 0 1px 5px rgba(0,0,0,0.15);
}
.login-menu {
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    display: flex;
    margin-top: 20px;
}
.login-menu li {
    text-align: center;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    width: 50%;
    transition: background-color 0.3s ease;
}
.login-menu li:hover {
    background-color: var(--bg-lighter);
}
.login-menu a {
    display: block;
    padding: 10px 5px;
    font-size: 13px;
    color: var(--text-medium);
    transition: color 0.3s ease;
}
.login-menu li .fa {
    display: none;
    height: 28px;
    font-size: 22px;
    color: var(--primary-color);
}
.login-admin {text-align: center; margin: -10px 0 25px 0;}
.login-soc-title {
    display: flex;
    align-items: center;
    margin: 30px 0 15px 0;
    color: var(--text-light);
    font-size: 14px;
}
.login-soc-title:before, .login-soc-title:after {
    content: '';
    height: 1px;
    background-color: var(--border-color);
    flex: 1;
}
.login-soc-title:before {margin-right: 15px;}
.login-soc-title:after {margin-left: 15px;}
.login-soc-btns {text-align: center; margin-top: 15px;}
.login-soc-btns a {
    display:inline-block;
    margin: 0 5px;
    vertical-align:top;
    transition: transform 0.3s ease;
}
.login-soc-btns a:hover {
    transform: translateY(-4px);
}
.login-soc-btns img {
    display:block;
    width:40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/**
 * Owl Carousel v2.3.4
 * Copyright 2013-2018 David Deutsch
 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
 */
.owl-carousel {display: none; opacity: 0; transition: opacity .3s ease; width: 100%; position: relative; z-index: 10;}
.owl-carousel .owl-stage {position: relative;
	display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-justify-content:flex-start;justify-content:flex-start;}
.owl-carousel .owl-stage-outer {position: relative; overflow: hidden; -webkit-transform: translate3d(0px, 0px, 0px);}
.owl-carousel .owl-item {position: relative; min-height: 1px;}
.owl-carousel .owl-nav.disabled, .owl-carousel .owl-dots.disabled, .owl-carousel.owl-refresh .owl-item {display: none;}
.owl-carousel.owl-loaded, .owl-carousel.owl-loading, .no-js .owl-carousel {display: block; opacity: 1;}
.owl-carousel.owl-loading, .owl-carousel.owl-hidden {opacity: 0;}
.owl-carousel.owl-drag .owl-item {user-select: none;}
.owl-carousel.owl-grab {cursor: move; cursor: grab;}
.owl-carousel .animated {animation-duration: 1000ms; animation-fill-mode: both;}
.owl-carousel .owl-animated-in {z-index: 0;}
.owl-carousel .owl-animated-out {z-index: 1;}
.owl-carousel .fadeOut {animation-name: fadeOut;}
@keyframes fadeOut { 0% {opacity: 1;} 100% {opacity: 0;} }
.owl-height {transition: height 500ms ease-in-out;}
.owl-carousel .owl-item .owl-lazy {opacity: 0; transition: opacity 400ms ease;}
.owl-carousel .owl-item img.owl-lazy {transform-style: preserve-3d;}
.owl-nav {position:absolute; right:0; top:0; z-index: 1;}
.owl-prev, .owl-next {
    display: block;
    cursor: pointer;
    background: none;
    color: var(--secondary-color); /* Use secondary color for carousel arrows */
    box-shadow: none;
    height: 40px;
    line-height: 40px;
    position: absolute;
    top: -48px;
    box-shadow: none;
    font-size: 24px;
    transition: color 0.3s ease;
}
.owl-prev {right:45px; color: var(--secondary-color);}
.owl-next {right:0px;}
.owl-prev:hover, .owl-next:hover {color:var(--primary-color);}

/* ADAPTIVE
----------------------------------------------- */
.btn-menu {display: none;}
.side-panel {
    width:280px;
    height:100%;
    overflow-x:hidden;
    overflow-y:auto;
    background-color:var(--bg-white);
    padding:20px;
    z-index:9999;
    position:fixed;
    left:-300px;
    top:0;
    transition:left .4s ease;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
}
.side-panel.active {left:0;}
.close-overlay {
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,0.6);
    position:fixed;
    left:0;
    top:0;
    z-index:9998;
    display:none;
}
.btn-close {
    cursor:pointer;
    display:block;
    left: 280px;
    top: -40px;
    position: fixed;
    z-index: 9999;
    width:40px;
    height:40px;
    line-height:40px;
    text-align:center;
    font-size:18px;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    color: var(--bg-white);
    transition:top .4s ease;
    border-radius: 0 0 8px 8px;
}
.btn-close.active {top:0px;}
body.opened-menu {overflow: hidden; width: 100%; height: 100%;}
.side-panel .side-nav a {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.side-panel .side-box {
    margin-bottom: 20px;
    background: var(--bg-lighter);
    padding: 15px;
    border-radius: 8px;
}

@media screen and (max-width: 1220px) {
.wrap {padding: 0; overflow: hidden;}
.header, .footer, .cols, .carou-sect {
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 0;
    background-image: none;
}
.wrap-center {max-width:100%; border-radius: 0;} /* Full width on smaller screens */
.sidebar {display: none;}
.btn-menu {
    display: block;
    font-size: 26px; /* Larger menu icon */
    margin-left: 20px;
    cursor: pointer;
    color: var(--primary-color);
    transition: color 0.3s ease;
}
.btn-menu:hover {
    color: var(--primary-light);
}
.cols {padding-top: 20px;}

.video-box embed, .video-box object, .video-box video, .video-box iframe, .video-box frame {
    /* No changes needed, already responsive */
}
}

@media screen and (max-width: 950px) {
.wrap-center {max-width:100%;}
.short-meta-item:not(.mrating-count) {display: none;} /* Hide some meta for space */
.footer {display: block; text-align: center;}
.footer-copyright {margin: 0 0 20px 0;}
}

@media screen and (max-width: 760px) {
.wrap-center {max-width:100%;}
.not-logged .login-avatar {display: none;}
.login-close {top: -8px; right: -8px; font-size: 20px;} /* Closer to the box */
.login-title {font-size: 20px;}
.login-box {
    max-width: calc(100% - 40px);
    padding: 15px;
    border-top: 3px solid var(--primary-color);
}
.search-wrap {
    -ms-flex-order: 10;
    -webkit-order: 10;
    order: 10;
    min-width: 100%;
    margin: 0;
    margin-top: 20px;
}
.header-btn {padding: 0 10px;}
.logo {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    min-width: 50px;
    position: relative;
    margin-right: 20px;
    font-size: 24px;
}

.fcols {display: block; padding: 0; background-color: transparent; box-shadow: none;}
.fleft {margin: 0 auto 10px auto; width: 100%;} /* Full width image */
.fcols:after {content: ""; display: table; clear: both;}
.short-rates {width: 100%; margin: 10px 0 0 -10px; justify-content: flex-start;}
.fcols .short-list li {padding-left: 100px;}
.mrating-count {text-align: right; margin-right: 0; margin-left: -20px;}
.ffav, .fcompl {display: none;}
.fctrl {padding: 0;}


.dcont button {font-size:12px; padding:0 15px !important;}
.comments-tree-list .comments-tree-list {padding-left:0px !important;}
.comments-tree-list .comments-tree-list:before {display:none;}
.mass_comments_action {display:none;}
}

@media screen and (max-width: 590px) {
.wrap-center {max-width:100%;}
.short-item {
    width: 100% !important; /* Single column layout for items */
    margin-bottom: 15px;
    padding: 15px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px var(--shadow-light);
    flex-direction: column; /* Stack image and content */
    align-items: center;
}
.short-item:hover {
    transform: translateY(-3px);
}
.short-item .short-img {
    width: 80%; /* Smaller image on small screens */
    margin: 0 auto 15px auto;
    padding-top: 120%; /* Adjusted aspect ratio */
    height: auto;
}
.short-item .short-meta, .short-item .short-list, .short-item .short-rates, .sect-title .fal {display: none;}
.short-item .short-title {
    white-space: normal;
    font-size: 16px;
    padding: 0 8px;
    text-align: center;
}
.short-item .short-img img {position: absolute; left: 0; top: 0;}
.navigation {justify-content: center;}
.sect-title, .logo {font-size: 18px;}

.ac-inputs input {width: 100%;}
.video-box embed, .video-box object, .video-box video, .video-box iframe, .video-box frame {
    /* No changes needed */
}
.ui-dialog {width:100% !important;}
.upop-left, .upop-right {float:none !important; width:100% !important; margin:0; padding:0 20px;}
.upop-left {margin-bottom:10px; text-align:center;}
.ui-dialog-buttonset button {display:block; margin:0 0 5px 0; width:100%;}
#dofullsearch, #searchsuggestions span.seperator {display:none !important;}
.attach .download-link {margin:0 -15px 0 0; float:none; display:block; padding:0 10px;}
.attach-info {float:none;}
}

@media screen and (max-width: 470px) {
.wrap-center22 {max-width:100%;}

.fleft {width: 100%;}
.fimg {height: 150px;}
.fimg img {height: 100%; object-fit: cover;}
.fimg:before {
    content: '';
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70%;
    background: linear-gradient(to bottom, transparent 0%,rgba(0,0,0,0.7) 100%);
    opacity: 1;
}
.video-box embed, .video-box object, .video-box video, .video-box iframe, .video-box frame {
    /* No changes needed */
}
}

/* Movie Info Block */
.movie-info-block-full {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 25px var(--shadow-medium);
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.movie-info-block-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px; /* Thicker header line */
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    border-radius: 4px 4px 0 0;
}

.movie-info-inner {
    background: var(--bg-white);
    padding: 20px;
    border-radius: 10px;
}

.movie-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin: 0;
    position: relative;
}

.movie-info-row:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.movie-info-label {
    color: var(--text-light);
    font-weight: 600;
    font-size: 15px;
}

.movie-info-value {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 15px;
    text-align: right;
}

@media (max-width: 768px) {
    .movie-info-inner {
        padding: 15px;
    }
    .movie-info-row {
        padding: 10px 0;
    }
    .movie-info-label {
        font-size: 14px;
    }
    .movie-info-value {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .movie-info-inner {
        padding: 12px;
    }
    .movie-info-label {
        font-size: 13px;
    }
    .movie-info-value {
        font-size: 13px;
    }
}

/* Player Styles */
.fplayer {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 25px var(--shadow-medium);
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.fplayer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    border-radius: 4px 4px 0 0;
}

/* Tab Styles */
.tabs-sel {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.tabs-sel::-webkit-scrollbar {
    height: 4px;
}

.tabs-sel::-webkit-scrollbar-thumb {
    background: rgba(66, 165, 245, 0.4); /* Secondary color for scrollbar */
    border-radius: 3px;
}
.tabs-sel::-webkit-scrollbar-track {
    background: var(--bg-lighter);
    border-radius: 3px;
}

.tab-btn {
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 6px;
    background: var(--bg-lighter);
    color: var(--text-medium);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.tab-btn.active {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-light));
    color: var(--bg-white);
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    border-color: transparent;
}
.tab-btn:hover:not(.active) {
    background-color: var(--border-color);
    color: var(--text-dark);
}

/* Video Container */
.tabs-container {
    position: relative;
    width: 100%;
}

.video-box {
    display: none;
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-box.active {
    display: block;
}

/* Social Buttons */
.fshare {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.fshare span {
    cursor: pointer;
    color: var(--text-light);
    font-size: 15px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.fshare span:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Mobile Adaptation */
@media (max-width: 768px) {
    .fplayer {
        padding: 15px;
        margin: 20px 0;
    }

    .tab-btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .tabs-sel {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .fplayer {
        padding: 12px;
        margin: 15px 0;
        border-radius: 10px;
    }

    .tab-btn {
        padding: 5px 10px;
        font-size: 12px;
    }

    .tabs-sel {
        gap: 6px;
    }
}

/* Search Results */
.search-result-item {
    padding: 20px;
    margin-bottom: 20px;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 4px 18px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.search-result-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
}

.search-result-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-result-title a:hover {
    color: var(--primary-color);
}

.search-result-meta {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.search-result-excerpt {
    margin: 0 0 15px 0;
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.7;
}

.search-result-footer {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    align-items: center;
}

.search-rating {
    display: flex;
    gap: 10px;
}

.search-rating span {
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.kp-rating {
    background-color: var(--warning-color);
    color: var(--text-dark);
}

.imdb-rating {
    background-color: #FFD700; /* Brighter gold */
    color: var(--text-dark);
}

.search-date {
    color: var(--text-light);
}

/* Text Collapse */
@media (max-width: 768px) {
    .ftext {
        max-height: 120px; /* Slightly more content visible */
        position: relative;
        overflow: hidden;
        transition: max-height 0.5s ease-out;
    }

    .ftext::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50px; /* Larger fade out area */
        background: linear-gradient(to bottom, transparent, var(--bg-white));
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .ftext.expanded {
        max-height: 2500px; /* Allow for larger expanded content */
    }

    .ftext.expanded::after {
        opacity: 0;
    }

    .read-more-btn {
        display: block;
        width: 100%;
        padding: 10px;
        margin-top: 15px;
        background: linear-gradient(to right, var(--primary-light), var(--primary-color));
        color: var(--bg-white);
        border-radius: 8px;
        text-align: center;
        cursor: pointer;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px var(--shadow-medium);
    }

    .read-more-btn:hover {
        box-shadow: 0 4px 15px var(--shadow-medium);
        transform: translateY(-2px);
    }
}