:root {
    --primary-color: #8B4513;
    --primary-hover: #A0522D;
    --text-color: #5D4037;
    --text-secondary: #8D6E63;
    --border-color: #D7CCC8;
    --bg-color: #FFF8E1;
    --shadow: 0 2px 8px rgba(139, 69, 19, 0.1);
    --accent-color: #FF8C42;
    --accent-light: #FFE0B2;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    background: #FFE4B5;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"%3E%3Cdefs%3E%3ClinearGradient id="bgGradient" x1="0%" y1="0%" x2="100%" y2="100%"%3E%3Cstop offset="0%" style="stop-color:%23FFDAB9;stop-opacity:1"/%3E%3Cstop offset="30%" style="stop-color:%23FFE4B5;stop-opacity:1"/%3E%3Cstop offset="60%" style="stop-color:%23FAEBD7;stop-opacity:1"/%3E%3Cstop offset="100%" style="stop-color:%23E6E6FA;stop-opacity:1"/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width="100%" height="100%" fill="url(%23bgGradient)"/%3E%3C/svg%3E');
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

a:hover {
    color: #0077c8;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px;
}

.blog-header {
    padding: 0;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin-top: 0;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    overflow: visible;
    position: relative;
    z-index: 100;
    background: #FFF8E1;
}

.blog-header-top {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    border-bottom: 1px solid rgba(139, 69, 19, 0.2);
}

.blog-header-brand {
    flex: 1;
    min-width: 0;
}

.blog-header-brand a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.blog-header-title {
    font-size: 26px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.blog-header-title:hover {
    color: var(--primary-hover);
}

.blog-header-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-right: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.blog-header-toggle {
    display: none;
    cursor: pointer;
    padding: 8px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    transition: background 0.3s;
    z-index: 1001;
}

.blog-header-toggle:hover {
    background: rgba(139, 69, 19, 0.1);
}

.blogtoggle-icon {
    width: 26px;
    height: 18px;
}

.blog-header-nav-wrap {
    background: #6D4C41;
    padding: 0;
    position: relative;
    z-index: 99;
    width: 100%;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.3);
}

.mobile-nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #6D4C41;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    max-height: 80vh;
    overflow-y: auto;
    padding: 10px;
}

.blog-header-nav {
    padding: 5px 0;
    display: flex;
    justify-content: flex-start;
}

.header-avatar {
    display: none;
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.list-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 8px 20px;
    color: #FFE4B5;
    text-decoration: none;
    font-size: 14px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #FFF8E1;
}

.has-down::after {
    content: '';
}

.dropdown-menus {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFF8E1;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    min-width: 160px;
    z-index: 1000;
    border: 1px solid #D7CCC8;
}

.dropdown-menus .nav-link {
    color: var(--primary-color);
    padding: 10px 15px;
}

.dropdown-menus .nav-link:hover {
    background: #FFE0B2;
}

.list-menu:hover .dropdown-menus {
    display: block;
}

.blog-container {
    padding: 0;
    position: relative;
    margin-top: 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.column-big {
    flex: 1;
    min-width: 500px;
    padding: 0 15px;
}

.column-small {
    width: 260px;
    padding: 0 15px;
}

.shadow-theme {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 20px;
}

.article-card {
    background: linear-gradient(145deg, #FFF8E1 0%, #FFECB3 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 22px;
    margin-bottom: 18px;
    border: 1px solid #FFE0B2;
}

.article-header {
    margin-bottom: 15px;
}

.article-title {
    font-size: 19px;
    font-weight: bold;
    margin-bottom: 8px;
}

.article-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.article-title a:hover {
    color: var(--accent-color);
}

.article-meta {
    font-size: 12px;
    color: var(--text-secondary);
}

.article-meta span {
    margin-right: 15px;
}

.article-meta a {
    color: var(--primary-color);
}

.article-content {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.article-footer {
    font-size: 12px;
    color: var(--text-secondary);
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
}

.article-views,
.article-comments {
    margin-right: 15px;
}

.article-readmore {
    float: right;
    color: var(--primary-color);
    font-weight: 500;
}

.article-readmore:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.bottom-5 {
    margin-bottom: 20px;
}

.top-5 {
    margin-top: 20px;
}

.card-padding {
    padding: 15px 0;
}

.loglist-cover {
    margin-bottom: 15px;
}

.loglist-cover img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.card-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.loglist-title {
    color: var(--text-color);
    text-decoration: none;
}

.loglist-title:hover {
    color: var(--primary-color);
}

.log-topflg {
    display: inline-block;
    padding: 2px 6px;
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    border-radius: var(--border-radius);
    margin-right: 8px;
}

.loglist-sort {
    margin-left: 10px;
    font-size: 12px;
}

.loglist-sort a {
    color: var(--text-secondary);
}

.loglist-content {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.loglist-tag {
    margin-bottom: 15px;
}

.tags {
    display: inline-block;
    padding: 3px 8px;
    background: #FFE0B2;
    color: var(--primary-color);
    font-size: 12px;
    border-radius: var(--border-radius);
    margin-right: 5px;
    border: 1px solid #FFCC80;
}

.tags:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
}

.log-info {
    color: var(--text-secondary);
    font-size: 13px;
}

.log-count {
    font-size: 13px;
}

.log-count a {
    color: var(--text-secondary);
}

.m-r-10 {
    margin-right: 10px;
}

.pagination {
    text-align: center;
    padding: 15px;
    background: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.pagination a {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 3px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
}

.pagination a:hover,
.pagination a.current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.slideshow-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.slideshow-text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    font-size: 14px;
    border-radius: var(--border-radius);
}

.slideshow-prev,
.slideshow-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    border: none;
    outline: none;
}

.slideshow-prev:hover,
.slideshow-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slideshow-prev {
    left: 0;
}

.slideshow-next {
    right: 0;
}

.fade {
    animation: fade 1.5s;
}

@keyframes fade {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}

.widget {
    background: linear-gradient(145deg, #FFF8E1 0%, #FFECB3 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 18px;
    margin-bottom: 18px;
    border: 1px solid #FFE0B2;
}

.widget-title {
    font-size: 15px;
    font-weight: bold;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 12px;
    color: var(--primary-color);
}

.widget-list {
    list-style: none;
}

.widget-list li {
    padding: 6px 0;
    border-bottom: 1px dashed var(--border-color);
}

.widget-list li:last-child {
    border-bottom: none;
}

.unstyle-li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bloggerinfo {
    text-align: center;
}

.bloggerinfo-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 8px;
}

.bloginfo-name {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 3px;
}

.bloginfo-descript {
    color: var(--text-secondary);
    font-size: 12px;
}

.tag-container {
    line-height: 2;
}

.tags-side {
    color: var(--text-secondary);
}

.tags-side:hover {
    color: var(--primary-color);
}

.log-classify-f li {
    padding: 0;
}

.sort-parent-item {
    margin-bottom: 2px;
}

.sort-parent-row {
    display: flex;
    align-items: center;
    padding: 5px 0;
    cursor: pointer;
    color: var(--text-color);
}

.sort-parent-row:hover {
    background-color: rgba(139, 69, 19, 0.05);
}

.sort-parent-row a {
    color: var(--text-color);
    text-decoration: none;
    flex: 1;
}

.sort-parent-row a:hover {
    color: var(--primary-color);
}

.sort-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 10px;
    color: var(--primary-color);
    margin-right: 4px;
}

.sort-toggle-icon.empty {
    color: transparent;
}

.sort-count {
    font-size: 12px;
    color: var(--text-secondary);
    margin-left: 4px;
}

.log-classify-c {
    padding-left: 20px;
    list-style: none;
    display: none;
}

.sort-child-item {
    padding: 3px 0;
}

.sort-child-item a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
}

.sort-child-item a:hover {
    color: var(--primary-color);
}

.search-form {
    margin: 0;
    padding: 0;
}

.search-input-group {
    display: flex;
    gap: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 38px;
}

.search-input-group input {
    flex: 1;
    padding: 0 12px;
    border: none;
    background: #fff;
    font-size: 14px;
    outline: none;
    height: 100%;
}

.search-input-group input:focus {
    border-color: var(--primary-color);
}

.search-btn {
    padding: 0 12px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.search-btn:hover {
    background: var(--primary-hover);
}

.widget-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.widget-link-item {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    background: #FFE0B2;
    color: var(--primary-color);
    font-size: 12px;
    border-radius: var(--border-radius);
    text-decoration: none;
    border: 1px solid #FFCC80;
}

.widget-link-item:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.archive {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

#calendar {
    color: var(--text-color);
}

.calendartop {
    letter-spacing: 3px;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-color);
}

.calendartop a {
    font-weight: 100 !important;
    color: var(--primary-color);
    text-decoration: none;
}

.calendartop a:hover {
    color: var(--primary-hover);
}

.calendar {
    margin-bottom: -10px;
    width: 100%;
}

.calendar td {
    text-align: center;
    padding: 2px 4px;
    line-height: 1.6;
    font-size: 13px;
}

.calendar td a:link {
    color: var(--primary-color);
    font-weight: bolder;
    text-decoration: none;
}

.calendar td a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.calendar tr {
    height: 30px;
}

.day {
    color: var(--primary-color);
    background: #FFE0B2;
    border-radius: var(--border-radius);
}

.sun {
    color: var(--text-secondary);
}

.week {
    color: var(--text-color);
    font-weight: bold;
}

.blog-lates {
    padding: 6px 0;
    border-bottom: 1px dashed var(--border-color);
}

.blog-lates:last-child {
    border-bottom: none;
}

.side-cover-image {
    height: 50px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    display: flex;
    align-items: flex-end;
    padding: 4px;
    margin-bottom: 4px;
}

.side-title-container {
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 5px;
    border-radius: var(--border-radius);
}

.side-title-container a {
    color: #fff;
    font-size: 11px;
}

.comment-info {
    padding: 8px 0;
}

.comment-info_img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 8px;
    float: left;
}

.comm-lates-name {
    font-weight: bold;
    font-size: 12px;
}

.logcom-latest-time {
    color: var(--text-secondary);
    font-size: 11px;
    margin-left: 4px;
}

.side-twitter-item {
    padding: 8px 0;
}

.side-twitter-content {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.blog-footer {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #8B4513 100%);
    color: #FFE4B5;
    padding: 25px 0;
    margin-top: 20px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.blog-footer-text {
    text-align: center;
    font-size: 13px;
}

.blog-footer-text a {
    color: #FFE4B5;
}

.blog-footer-text a:hover {
    color: #FFF8E1;
    text-decoration: underline;
}

.log-con {
    background: linear-gradient(145deg, #FFF8E1 0%, #FFECB3 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 28px;
    border: 1px solid #FFE0B2;
}

.log-header {
    margin-bottom: 18px;
}

.log-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.log-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 12px;
}

.log-meta-left {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.log-meta-item {
    display: flex;
    align-items: center;
}

.log-meta-right a {
    color: var(--primary-color);
    font-size: 12px;
}

.markdown {
    line-height: 1.8;
    color: var(--text-color);
}

.markdown p {
    margin-bottom: 14px;
}

.markdown h2 {
    font-size: 19px;
    margin: 18px 0 14px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--border-color);
}

.markdown h3 {
    font-size: 17px;
    margin: 14px 0 9px;
}

.markdown ul,
.markdown ol {
    padding-left: 22px;
    margin-bottom: 14px;
}

.markdown li {
    margin-bottom: 4px;
}

.markdown code {
    background: #f5f7fa;
    padding: 2px 6px;
    border-radius: var(--border-radius);
    font-family: monospace;
    font-size: 12px;
}

.markdown blockquote {
    border-left: 4px solid #0077c8;
    padding-left: 14px;
    margin: 14px 0;
    color: var(--text-secondary);
}

.neighbor-log {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-top: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
    margin: 18px 0;
}

.neighbor-link {
    color: var(--text-secondary);
    font-size: 12px;
}

.neighbor-link:hover {
    color: var(--primary-color);
}

.neighbor-title {
    display: block;
    margin-top: 4px;
}

.comment-header {
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.comment {
    display: flex;
    padding: 18px 0;
    border-bottom: 1px dashed var(--border-color);
}

.comment:last-child {
    border-bottom: none;
}

.comment-children {
    margin-left: 45px;
}

.avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-right: 12px;
}

.comment-infos {
    flex: 1;
}

.comment-time {
    color: var(--text-secondary);
    font-size: 11px;
    margin-left: 8px;
}

.comment-content {
    margin-top: 8px;
    color: var(--text-color);
    font-size: 13px;
}

.comment-reply {
    margin-top: 8px;
}

.com-reply {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 4px 10px;
    border-radius: var(--border-radius);
    font-size: 11px;
    cursor: pointer;
}

.com-reply:hover {
    background: var(--primary-hover);
}

.comment-post {
    margin-top: 25px;
}

.commentform {
    background: #f9f9f9;
    padding: 18px;
    border-radius: var(--border-radius);
}

.form-control {
    width: 100%;
    padding: 9px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 13px;
    margin-bottom: 12px;
}

.comment-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.com_control {
    width: calc(50% - 6px);
}

.com_submit_p {
    display: flex;
    gap: 8px;
}

.btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 9px 18px;
    border-radius: var(--border-radius);
    font-size: 13px;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-hover);
}

.cancel-reply {
    background: var(--text-secondary);
}

.cancel-reply:hover {
    background: #6D4C41;
}

.sun {
    position: fixed;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #FFD700 0%, #FFA500 30%, rgba(255,165,0,0.3) 60%, transparent 80%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: sunPulse 8s ease-in-out infinite;
}

@keyframes sunPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

.sun-rays {
    position: fixed;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: repeating-conic-gradient(from 0deg, rgba(255,215,0,0.3) 0deg 10deg, transparent 10deg 20deg);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: sunRotate 20s linear infinite;
}

@keyframes sunRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.auth-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.auth-modal-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 30px;
}

.auth-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    line-height: 28px;
    text-align: center;
    font-size: 24px;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 50%;
}

.auth-modal-close:hover {
    color: #333;
    background: #f5f5f5;
}

.auth-modal-head {
    text-align: center;
    margin-bottom: 25px;
}

.auth-modal-head h3 {
    font-size: 20px;
    color: var(--text-color);
    margin: 0;
}

.auth-modal-alert {
    display: none;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    font-size: 13px;
}

.auth-modal-alert.show {
    display: block;
}

.auth-modal-alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-modal-alert:not(.success) {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.auth-form-row {
    margin-bottom: 15px;
}

.auth-form-row input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.auth-form-row input:focus {
    border-color: var(--primary-color);
}

.auth-captcha-row {
    display: flex;
    gap: 10px;
}

.auth-captcha-row img {
    height: 42px;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
}

.auth-checkbox input {
    margin-right: 8px;
}

.auth-checkbox span {
    font-size: 13px;
    color: var(--text-secondary);
}

.auth-modal-switch {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
}

.auth-modal-switch a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 8px;
}

.auth-modal-switch a:hover {
    text-decoration: underline;
}

.auth-inline-row {
    display: flex;
    gap: 10px;
}

.auth-inline-btn {
    padding: 12px 20px !important;
    white-space: nowrap;
}

.cloud {
    position: fixed;
    background: rgba(255,255,255,0.8);
    border-radius: 50px;
    z-index: 0;
    pointer-events: none;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
}

.cloud-1 {
    width: 120px;
    height: 40px;
    top: 80px;
    left: 5%;
    animation: cloudFloat1 25s linear infinite;
}

.cloud-1::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 15px;
}

.cloud-1::after {
    width: 35px;
    height: 35px;
    top: -15px;
    right: 20px;
}

.cloud-2 {
    width: 100px;
    height: 35px;
    top: 150px;
    left: 30%;
    animation: cloudFloat2 30s linear infinite;
    animation-delay: -10s;
}

.cloud-2::before {
    width: 40px;
    height: 40px;
    top: -20px;
    left: 10px;
}

.cloud-2::after {
    width: 28px;
    height: 28px;
    top: -12px;
    right: 15px;
}

.cloud-3 {
    width: 140px;
    height: 45px;
    top: 60px;
    right: 25%;
    animation: cloudFloat3 35s linear infinite;
    animation-delay: -5s;
}

.cloud-3::before {
    width: 55px;
    height: 55px;
    top: -28px;
    left: 20px;
}

.cloud-3::after {
    width: 40px;
    height: 40px;
    top: -18px;
    right: 25px;
}

@keyframes cloudFloat1 {
    from { transform: translateX(-150px); }
    to { transform: translateX(calc(100vw + 150px)); }
}

@keyframes cloudFloat2 {
    from { transform: translateX(-120px); }
    to { transform: translateX(calc(100vw + 120px)); }
}

@keyframes cloudFloat3 {
    from { transform: translateX(calc(100vw + 150px)); }
    to { transform: translateX(-150px); }
}

.wind-particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: windFloat 15s linear infinite;
}

.wind-particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.wind-particle:nth-child(2) { top: 35%; left: 25%; animation-delay: 2s; }
.wind-particle:nth-child(3) { top: 50%; left: 40%; animation-delay: 4s; }
.wind-particle:nth-child(4) { top: 25%; left: 55%; animation-delay: 1s; }
.wind-particle:nth-child(5) { top: 40%; left: 70%; animation-delay: 3s; }
.wind-particle:nth-child(6) { top: 55%; left: 85%; animation-delay: 5s; }

@keyframes windFloat {
    0% { transform: translateX(0) translateY(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateX(300px) translateY(50px); opacity: 0; }
}

.decoration-left {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 180px;
    height: 300px;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="180" height="300" viewBox="0 0 180 300"%3E%3Cpath d="M0,300 L0,200 Q15,160 30,180 Q45,200 60,170 Q75,140 90,165 Q105,190 120,155 Q135,120 150,145 L180,300 Z" fill="%2398D8C8" opacity="0.6"/%3E%3Cpath d="M10,280 Q20,250 30,270 Q40,290 50,260" stroke="%235CB85C" stroke-width="2" fill="none"/%3E%3Ccircle cx="30" cy="270" r="6" fill="%23FFB7C5"/%3E%3Ccircle cx="50" cy="260" r="5" fill="%23FF91A4"/%3E%3Ccircle cx="40" cy="280" r="4" fill="%23FFC0CB"/%3E%3Cpath d="M60,80 L60,150 Q55,160 60,170" stroke="%235CB85C" stroke-width="2" fill="none"/%3E%3Cpath d="M60,100 Q40,90 30,110 Q50,120 60,100" fill="%235CB85C" opacity="0.4"/%3E%3Cpath d="M60,130 Q80,120 90,140 Q70,150 60,130" fill="%235CB85C" opacity="0.4"/%3E%3C/defs%3E%3CclipPath id="leafClip"%3E%3Cpath d="M0,5 Q3,2 5,5 Q3,8 0,5 Z"/%3E%3C/clipPath%3E%3Cg clip-path="url(%23leafClip)"%3E%3Cpath d="M100,180 Q105,175 110,180 Q105,185 100,180" fill="%2398D8C8" opacity="0.7"/%3E%3C/g%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}

.decoration-right {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 180px;
    height: 300px;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="180" height="300" viewBox="0 0 180 300"%3E%3Cpath d="M180,300 L180,200 Q165,160 150,180 Q135,200 120,170 Q105,140 90,165 Q75,190 60,155 Q45,120 30,145 L0,300 Z" fill="%2398D8C8" opacity="0.6"/%3E%3Cpath d="M170,280 Q160,250 150,270 Q140,290 130,260" stroke="%235CB85C" stroke-width="2" fill="none"/%3E%3Ccircle cx="150" cy="270" r="6" fill="%23FFB7C5"/%3E%3Ccircle cx="130" cy="260" r="5" fill="%23FF91A4"/%3E%3Ccircle cx="140" cy="280" r="4" fill="%23FFC0CB"/%3E%3Cpath d="M120,80 L120,150 Q125,160 120,170" stroke="%235CB85C" stroke-width="2" fill="none"/%3E%3Cpath d="M120,100 Q140,90 150,110 Q130,120 120,100" fill="%235CB85C" opacity="0.4"/%3E%3Cpath d="M120,130 Q100,120 90,140 Q110,150 120,130" fill="%235CB85C" opacity="0.4"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}

.grass-decor {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, rgba(152,216,200,0.4) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 992px) {
    .blog-header-nav-wrap {
        display: none;
    }

    .decoration-left,
    .decoration-right {
        display: none;
    }

    .sun,
    .sun-rays {
        display: none;
    }

    .column-big {
        min-width: 100%;
        margin-bottom: 15px;
    }

    .column-small {
        width: 100%;
    }

    .blog-header-top {
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
    }

    .blog-header-brand {
        flex: 1;
        min-width: 0;
    }

    .blog-header-title {
        font-size: 18px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }

    .blog-header-brand img {
        max-width: 120px;
        height: auto;
    }

    .blog-header-subtitle {
        display: none;
    }

    .blog-header-toggle {
        display: flex !important;
        flex-shrink: 0;
        margin-left: 10px;
        background: #6D4C41;
        padding: 8px;
        border-radius: var(--border-radius);
        border: 2px solid #8B4513;
        box-shadow: 0 2px 8px rgba(139, 69, 19, 0.3);
        z-index: 9999;
        position: relative;
    }

    .blog-header-toggle svg rect {
        fill: #FFE4B5 !important;
        stroke: #FFE4B5;
        stroke-width: 1;
    }

    .blog-header-toggle:hover {
        background: #5D4037;
        transform: scale(1.05);
    }

    .mobile-nav-menu.show {
        display: block;
    }

    .blog-header-nav {
        display: block;
        padding: 0;
    }

    .nav-list {
        display: block;
    }

    .list-item {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .list-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 12px 15px;
        font-size: 16px;
    }

    .dropdown-menus {
        position: static;
        background: rgba(255,255,255,0.05);
        border: none;
        box-shadow: none;
        min-width: 100%;
        border-radius: 0;
    }

    .dropdown-menus .nav-link {
        padding-left: 30px;
        color: #FFE4B5;
        font-size: 14px;
    }

    .dropdown-menus .nav-link:hover {
        background: rgba(255,255,255,0.1);
    }

    .list-menu:hover .dropdown-menus {
        display: none;
    }

    .list-menu.active .dropdown-menus {
        display: block;
    }

    .nav-link.has-down {
        position: relative;
        padding-right: 30px;
    }

    .nav-link.has-down::after {
        content: '▼';
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 12px;
        color: #FFE4B5;
        transition: transform 0.3s;
    }

    .list-menu.active .nav-link.has-down::after {
        transform: translateY(-50%) rotate(180deg);
    }
}

@media (max-width: 768px) {
    .blog-header-top {
        padding: 15px 0;
    }

    .blog-header-title {
        font-size: 16px;
    }

    .blog-header-brand img {
        max-width: 100px;
    }

    .log-title {
        font-size: 19px;
    }

    .log-meta-left {
        flex-direction: column;
        gap: 4px;
    }
}

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

#back-to-top.show {
    opacity: 1;
}

#back-to-top:hover {
    background: var(--primary-hover);
    transform: scale(1.1);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    cursor: pointer;
}

.nav-overlay.show {
    display: block;
}

.ad-top, .ad-content, .ad-sidebar {
    margin: 15px 0;
    padding: 10px;
    border-radius: var(--border-radius);
    background: rgba(255,255,255,0.8);
    text-align: center;
}

.ad-top {
    margin-bottom: 20px;
}

.ad-content {
    margin: 20px 0;
}

.ad-sidebar {
    padding: 15px;
}