/*
Theme Name: Minimal User Icons
Description: Simple one-column theme with user icon integration
Version: 1.0
Author: Your Name
*/

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
   
@font-face {
    font-family:Gaegu;
    font-weight:400;
    font-style:normal;
    src:url(/fonts/Gaegu-Regular.woff) format("woff")
}

@font-face {
    font-family:Vividly;
    font-weight:400;
    font-style:normal;
    src:url(/fonts/Vividly-Regular.woff) format("woff")
}

@font-face {
    font-family:'Coppepan Cream';
    src:url(/fonts/COPPCA.woff) format("woff")
}

@font-face {
    font-family:'Coppepan Choco';
    src:url(/fonts/COPPAC.woff) format("woff")
}

@font-face {
    font-family:Varela Round;
    font-style:normal;
    src:url(/fonts/VarelaRound-Regular.woff) format("woff")
}

@font-face {
    font-family: 'Cute Outline';
    src: url('/fonts/CuteOutline-Regular.woff2') format('woff2'),
        url('/fonts/CuteOutline-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Thanks Bunny';
    src: url('/fonts/ThanksBunny.woff2') format('woff2'),
        url('/fonts/ThanksBunny.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Edit Undo Line BRK';
    src: url('/fonts/EditUndoLineBRK.woff2') format('woff2'),
        url('/fonts/EditUndoLineBRK.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Edit Undo BRK';
    src: url('/fonts/EditUndoBRK.woff2') format('woff2'),
        url('/fonts/EditUndoBRK.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Edit Undo Dot BRK';
    src: url('/fonts/EditUndoDotBRK.woff2') format('woff2'),
        url('/fonts/EditUndoDotBRK.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Coiny';
    src: url('/fonts/Coiny-Regular.woff2') format('woff2'),
        url('/fonts/Coiny-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sniglet';
    src: url('/fonts/Sniglet-Regular.woff2') format('woff2'),
        url('/fonts/Sniglet-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Balsamiq Sans';
    src: url('/fonts/BalsamiqSans-Regular.woff2') format('woff2'),
        url('/fonts/BalsamiqSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Balsamiq Sans Bold';
    src: url('/fonts/BalsamiqSans-Bold.woff2') format('woff2'),
        url('/fonts/BalsamiqSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fredoka';
    src: url('/fonts/Fredoka-Regular.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('/fonts/Jost-Italic.woff2') format('woff2'),
        url('/fonts/Jost-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('/fonts/Jost-Regular.woff2') format('woff2'),
        url('/fonts/Jost-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: local('Open Sans Light'), local('OpenSans-Light'), url(https://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(https://fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNSnhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Open Sans, sans-serif;
    font-size: 13.5px !important;
    line-height: 25px !important;
    letter-spacing: 0.5px !important;
    color: #656a7c;
    background-color: #EFF3F6;
    background-image: url(https://chao.bouvardia.blue/img/m/bg2.png);
    background-attachment: fixed;
}

a {
    color: #A3BCE4;
    text-decoration: none;
    border-bottom: 1px dotted #A3BCE4;
    transition: 0.3s;
}

a:hover {
    color: #D3E0C1;
    border-color: #D3E0C1;
}

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

/* ==========================================================================
   Layout
   ========================================================================== */

.site {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(252, 252, 252, 0.9);
    min-height: 100vh;
}

.site-content {
    padding: 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    background: rgba(221, 235, 241, 0.52);
    padding: 40px 20px;
    text-align: center;
    border-bottom: 0px dotted #eaeff2;
}

.site-header.has-widgets {
    padding: 0;
    text-align: left;
}

.hee {margin: auto; margin-top: 20px; background-color: #EFF3F6; border: 1px dotted #ccc;
  border-radius: 15px; width: 40%; padding: 15px; border: 1px solid #EFF3F6; box-shadow: 0px 1px 3px rgba(0, 0, 0, .10); display: flex;
  justify-content: space-around; gap: 10px;}
  
  .heetxt {
      flex: 2;
      padding: 20px;
  }
  
  .heeimg {
      flex: 1;
      background-size: cover;
      background-position: center;
      background-image: url('https://cotton.bouvardia.blue/img/m/m1img2.jpg');
      border-radius: 15px;
      border: 1px #eee solid;
  }
  
  

/* Header Grid Layout */
.header-grid {
    display: grid;
    grid-template-columns: 25% 75%;
    gap: 0;
    min-height: 200px;
}

.header-image-area {
    background: rgba(221, 235, 241, 0.52);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-right: 3px dotted #eaeff2;
    max-height: 500px;
}

.header-image-area .custom-logo-link {
    display: block;
    width: 100%;
    max-width: 500px;
}

.header-image-area img {
    width: 100%;
    height: auto;
    max-width: 500px;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.site-branding-compact {
    width: 100%;
}

.site-branding-compact .site-title {
    font-size: 1.8em;
    margin: 0;
}

.header-content-area {
    display: grid;
    grid-template-rows: auto 1fr;
    background: rgba(221, 235, 241, 0.52);
}

.header-content-area .main-navigation {
    margin: 0;
    padding: 15px 20px;
    background: rgba(221, 235, 241, 0.52);
    border-bottom: 2px dotted #eaeff2;
}

.header-content-area .nav-menu {
    justify-content: flex-start;
}

.header-widgets {
    padding: 20px;
    background: rgba(221, 235, 241, 0.42);
}

.header-widgets,
.footer-widgets {
    padding: 20px;
}

.header-widget,
.footer-widget {
    margin-bottom: 20px;
}

.header-widget:last-child,
.footer-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-family: 'Varela Round', sans-serif;
    color: #A3BCE4;
    font-size: 1.2em;
    margin-bottom: 15px;
    text-shadow:
        -0.5px -0.5px 0 #dae4ea, 
        0.5px -0.5px 0 #dae4ea,
        -0.5px 0.5px 0 #dae4ea,
        0.5px 0.5px 0 #dae4ea;
}

.header-widget ul,
.footer-widget ul {
    list-style: none;
}

.header-widget li,
.footer-widget li {
    margin-bottom: 8px;
}

.site-branding {
    margin-bottom: 20px;
}

.site-title {
    font-family: 'Varela Round', sans-serif;
    font-size: 2.5em;
    color: #acc2e5;
    letter-spacing: 4px;
    text-shadow:
        -0.5px -0.5px 0 #dae4ea, 
        0.5px -0.5px 0 #dae4ea,
        -0.5px 0.5px 0 #dae4ea,
        0.5px 0.5px 0 #dae4ea;
    margin-bottom: 10px;
}

.site-title a {
    color: inherit;
    border: none;
}

.site-title a:hover {
    color: #b1cfdd;
}

.site-description {
    font-size: 0.9em;
    color: #A3BCE4;
    font-style: italic;
}

.main-navigation {
    margin-top: 20px;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.nav-menu li {
    display: inline-block;
}

.nav-menu a {
    padding: 8px 15px;
    background: #f1f6f9;
    border-radius: 12px;
    border: 1px dotted #dae4ea;
    font-family: 'Varela Round', sans-serif;
    font-variant: small-caps;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-menu a:hover {
    background: #D3E0C1;
    color: #fcfcfc;
    border-color: #D3E0C1;
}

/* ==========================================================================
   Posts
   ========================================================================== */

.posts-wrapper {
    max-width: 100%;
}

.pimg {
    width: 100%;
    border-spacing: 5px;
    border-collapse: separate;
    border: 1px solid #EFF3F6;
    padding: 5px;
    background-color: #fcfcfc;
    width: 100%;
    border-radius: 10px;
}

.pimg2 {
    opacity: 0.8 !important;
}

.vid {
    margin-top: 15px;
    border-radius: 4px;
    overflow: hidden;
    border: rgb(239,243,246, 1.0) 5px solid;
    margin: auto;
    opacity: 0.9 !important;
}

#content {
    background: #EFF3F6 !important;
}

.post-item {
    background: #fcfcfc;
    border: 1px dotted #f7f7f7;
    border-radius: 15px;
    padding: 30px;
    padding-left: 35px;
    padding-right: 35px;
    margin-bottom: 30px;
}

.entry-header {
    margin-bottom: 20px;
}

.entry-header-inner {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* User Icon Styles */
.post-user-icon {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e4ecf1;
    border-radius: 8px;
    padding: 2px;
    min-width: fit-content;
}

.post-user-icon img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.post-user-icon .icon-name {
    font-family: monospace;
    font-size: 8pt;
    color: #5c5a54;
    text-align: center;
    margin-top: 4px;
    word-break: break-word;
    line-height: 1.2;
    max-width: 76px;
}

.entry-title-meta {
    flex: 1;
    min-width: 0;
}

.entry-title {
    font-family: 'Varela Round', sans-serif;
    font-size: 1.5em;
    color: #A3BCE4;
    margin-bottom: 0px;
    line-height: 1.3;
    word-wrap: break-word;
}

.entry-title a {
    color: inherit;
    border: none;
}

.entry-title a:hover {
    color: #b1cfdd;
}

.single-post .entry-title,
.single-page .entry-title {
    font-size: 2em;
}

.entry-meta {
    font-size: 0.85em;
    color: #9f9f9f;
    font-family: monospace;
}

.entry-meta span {
    margin-right: 10px;
}

.entry-content {
    margin-top: 15px;
   line-height: 22pt;
    font-size: 1.045em;
    letter-spacing: 0.1px;
}

.entry-content p {
    margin-bottom: 1em;
}

.entry-content img {
    border-radius: 8px;
}

.entry-content a {
    font-weight: 600;
}

/* Entry Body - Featured Image Layout */
.entry-body {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    vertical-align: middle;
    margin-top: 15px;
}

.entry-thumbnail {
    flex-shrink: 0;
    width: 200px;
    margin-top: 20px;
    margin-bottom: -20px;
}

.entry-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e4ecf1;
}

.entry-body .entry-content {
    flex: 1;
    margin-top: 0;
}

/* Alternating layout - odd posts have thumbnail on left (default) */
.post-item:nth-child(odd) .entry-body {
    flex-direction: row;
     margin-right: 10px;
}

/* Even posts have thumbnail on right */
.post-item:nth-child(even) .entry-body {
    flex-direction: row-reverse;
     margin-left: 10px;
}

/* Single post featured image */
.entry-featured-image {
    margin: 20px 0;
}

.entry-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e4ecf1;
}

.entry-footer {
    margin-top: 0;
    padding-top: 0px;
    border-top: 0px dotted #eaeff2;
}

.post-tags {
    font-size: 0.9em;
}

.post-tags a {
    background: #f1f6f9;
    padding: 3px 8px;
    border-radius: 7px;
    margin-right: 5px;
    display: inline-block;
    margin-bottom: 5px;
    border: none;
}

.post-tags a:hover {
    background: #D3E0C1;
    color: white;
}

.tag-ellipsis {
    background: #f1f6f9;
    padding: 3px 8px;
    border-radius: 7px;
    display: inline-block;
    color: #A3BCE4;
    font-size: 0.9em;
}

.tags-label {
    font-weight: 600;
    color: #A3BCE4;
    margin-right: 5px;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
    margin: 40px 0;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 8px 15px;
    background: #f1f6f9;
    border-radius: 8px;
    border: 1px dotted #dae4ea;
    display: inline-block;
}

.pagination a:hover {
    background: #D3E0C1;
    color: white;
    border-color: #D3E0C1;
}

.pagination .current {
    background: #A3BCE4;
    color: white;
    border-color: #A3BCE4;
}

/* ==========================================================================
   Comments
   ========================================================================== */

.comments-area {
    background: #fcfcfc;
    border: 1px dotted #f7f7f7;
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
}

.comments-title {
    font-family: 'Varela Round', sans-serif;
    color: #A3BCE4;
    font-size: 1.5em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px dotted #eaeff2;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .children {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
    margin-top: 10px;
}

.comment {
    border-bottom: 1px dotted #eaeff2;
}

.comment:last-child {
    border-bottom: none;
}

/* First reply styling */
.first-reply {
    margin-left: 15px;
    padding-left: 10px;
    border-left: 3px solid #f1f6f9;
    position: relative;
}

.first-reply::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 0;
    display: none;
    width: 3px;
    height: 30px;
    background: #A3BCE4;
}

.first-reply .comment-body {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
}

.first-reply .comment-author img {
    width: 40px;
    height: 40px;
}

.comment-body {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e4ecf1;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.comment-author img {
    border-radius: 50%;
    border: 2px solid #dae4ea;
}

.comment-author img.user-icon-avatar {
    border-radius: 8px;
    border: 2px solid #A3BCE4;
    object-fit: cover;
}

.comment-author .fn {
    color: #A3BCE4;
    font-family: 'Varela Round', sans-serif;
    font-size: 1.1em;
}

.comment-author .says {
    color: #9f9f9f;
    font-size: 0.9em;
    font-style: italic;
}

.comment-metadata {
    font-size: 0.85em;
    color: #9f9f9f;
    margin-bottom: 10px;
}

.comment-metadata a {
    color: #9f9f9f;
    border: none;
}

.comment-metadata a:hover {
    color: #A3BCE4;
}

.comment-metadata .edit-link {
    margin-left: 10px;
}

.comment-awaiting-moderation {
    background: #fff3cd;
    padding: 8px 12px;
    border-radius: 5px;
    color: #856404;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.comment-content {
    line-height: 1.7;
    color: #656a7c;
}

.comment-content p {
    margin-bottom: 0.8em;
}

.reply {
    margin-top: 10px;
}

.reply-link a {
    background: #A3BCE4;
    color: white;
    padding: 5px 12px;
    border-radius: 7px;
    font-size: 0.85em;
    border: none;
    display: inline-block;
    transition: 0.3s;
}

.reply-link a:hover {
    background: #D3E0C1;
}

/* View Thread Button */
.view-full-thread {
    margin-top: 10px;
    margin-bottom: 15px;
    margin-left: 20px;
}

.view-thread-link {
    background: #f1f6f9;
    color: #A3BCE4 !important;
    padding: 8px 18px;
    border: none !important;
    border-radius: 8px;
    font-family: 'Varela Round', sans-serif;
    font-size: 0.9em;
    display: inline-block;
    transition: 0.3s;
}

.view-thread-link:hover {
    background: #D3E0C1;
    color: #fcfcfc !important;
}

/* ==========================================================================
   Thread View Page (Twitter-style)
   ========================================================================== */

.thread-view {
    background: #fcfcfc;
    border: 1px dotted #f7f7f7;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.thread-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px dotted #eaeff2;
}

.back-to-post {
    display: inline-block;
    color: #A3BCE4 !important;
    margin-bottom: 10px;
    font-size: 0.9em;
    border: none !important;
}

.back-to-post:hover {
    color: #D3E0C1 !important;
}

.thread-title {
    font-family: 'Varela Round', sans-serif;
    color: #A3BCE4;
    font-size: 1.8em;
    margin: 0;
}

.thread-context {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.post-context a {
    color: #A3BCE4;
    font-weight: 600;
}

.thread-container {
    margin-bottom: 30px;
}

.thread-comment {
    margin-top: 12px;
    background: #f8f9fa;
    border: 1px solid #e4ecf1;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 8px;
    position: relative;
}

.thread-comment.parent-comment {
    background: #fff;
    border: 2px solid #A3BCE4;
    margin-bottom: 20px;
}

.thread-connector {
    position: absolute;
    left: -8px;
    top: 0;
    width: 3px;
    height: 100%;
    background: #dae4ea;
    display: none;
}

.thread-comment[style*="margin-left"] .thread-connector {
    display: block;
}

.thread-comment .comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.thread-comment .author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.thread-comment .fn {
    color: #A3BCE4;
    font-family: 'Varela Round', sans-serif;
    font-size: 1em;
}

.thread-comment .comment-date {
    color: #9f9f9f;
    font-size: 0.8em;
}

.thread-comment .comment-content {
    line-height: 1.6;
    color: #656a7c;
    margin-left: 50px;
}

.thread-comment .comment-content p:last-child {
    margin-bottom: 0;
}

.thread-comment-actions {
    margin-top: 10px;
}

.thread-comment-actions .reply-link a {
    background: #A3BCE4;
    color: white;
    padding: 5px 12px;
    border-radius: 7px;
    font-size: 0.85em;
    border: none !important;
    display: inline-block;
    transition: 0.3s;
}

.thread-comment-actions .reply-link a:hover {
    background: #D3E0C1;
}

.thread-replies-title {
    font-family: 'Varela Round', sans-serif;
    color: #A3BCE4;
    font-size: 1.2em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px dotted #eaeff2;
}

.no-replies {
    text-align: center;
    color: #9f9f9f;
    font-style: italic;
    padding: 20px;
}

.thread-reply-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e4ecf1;
}

.thread-reply-form .comment-reply-title {
    font-family: 'Varela Round', sans-serif;
    color: #A3BCE4;
    font-size: 1.3em;
    margin-bottom: 15px;
}

/* Mobile adjustments for thread view */
@media (max-width: 768px) {
    .thread-view {
        padding: 20px 15px;
    }
    
    .thread-comment {
        padding: 12px;
    }
    
    .thread-comment .comment-content {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .thread-comment .comment-author img {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .thread-comment[style*="margin-left"] {
        margin-left: 5px !important;
    }
    
    .thread-title {
        font-size: 1.4em;
    }
    
    .thread-comment .fn {
        font-size: 0.95em;
    }
}

/* Comment Form */
.comment-respond {
    margin-top: 30px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e4ecf1;
}

.comment-reply-title {
    font-family: 'Varela Round', sans-serif;
    color: #A3BCE4;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.comment-form-comment label {
    display: none;
    margin-bottom: 5px;
    color: #656a7c;
    font-weight: 600;
}

.comment-form-comment textarea,
.comment-form-comment .wp-editor-container {
    width: 100%;
    padding: 10px;
    border: 1px solid #dae4ea;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
    line-height: 1.6;
}

.comment-form-comment textarea:focus {
    outline: none;
    border-color: #A3BCE4;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin-bottom: 15px;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
    display: block;
    margin-bottom: 5px;
    color: #656a7c;
    font-weight: 600;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dae4ea;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
}

.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
    outline: none;
    border-color: #A3BCE4;
}

.comment-notes {
    font-size: 0.85em;
    color: #9f9f9f;
    margin-bottom: 15px;
    font-style: italic;
}

.form-submit {
    margin-top: 15px;
}

.submit-button {
    background: #A3BCE4;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    font-family: 'Varela Round', sans-serif;
    font-size: 1em;
    cursor: pointer;
    transition: 0.3s;
}

.submit-button:hover {
    background: #D3E0C1;
}

/* TinyMCE Editor Styling */
.wp-editor-wrap {
    border: 1px solid #dae4ea;
    border-radius: 8px;
    overflow: hidden;
}

.mce-tinymce {
    border: none !important;
}

.wp-editor-container textarea {
    border: none;
}

/* Comment Navigation */
.comment-navigation {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dotted #eaeff2;
}

.comment-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.comment-navigation a {
    background: #f1f6f9;
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px dotted #dae4ea;
}

.comment-navigation a:hover {
    background: #D3E0C1;
    color: white;
    border-color: #D3E0C1;
}

.no-comments {
    text-align: center;
    color: #9f9f9f;
    font-style: italic;
    padding: 20px;
}

/* Icon Selector for Comments */
.icon-selector-container {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.choose-icon-btn {
    background: #f1f6f9;
    color: #A3BCE4;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-family: 'Varela Round', sans-serif;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.choose-icon-btn:hover {
    background: #D3E0C1;
    color: #fcfcfc;
}

.icon-btn-icon {
    font-size: 1.2em;
}

.selected-icon-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 8px;
    border: 2px solid #A3BCE4;
}

.selected-icon-preview img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.selected-icon-preview span {
    font-family: monospace;
    font-size: 9pt;
    color: #5c5a54;
}

/* Icon Modal */
.icon-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.icon-modal-content {
    background: #fcfcfc;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.icon-modal-header {
    padding: 20px 25px;
    border-bottom: 2px dotted #eaeff2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.icon-modal-header h3 {
    font-family: 'Varela Round', sans-serif;
    color: #A3BCE4;
    font-size: 1.5em;
    margin: 0;
}

.icon-modal-close {
    background: none;
    border: none;
    font-size: 2em;
    color: #9f9f9f;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.icon-modal-close:hover {
    background: #f8f9fa;
    color: #A3BCE4;
}

.icon-modal-body {
    padding: 20px 25px;
    overflow-y: auto;
    flex: 1;
}

.icon-modal-body .icon-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 12px;
}

.icon-modal-body .icon-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border: 2px solid #e4ecf1;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.icon-modal-body .icon-option:hover {
    border-color: #A3BCE4;
}

.icon-modal-body .icon-option.selected {
    border-color: #A3BCE4;
    background: white;
}

.icon-modal-body .icon-option img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 6px;
}

.icon-modal-body .icon-option .icon-name {
    font-family: monospace;
    font-size: 8pt;
    color: #5c5a54;
    text-align: center;
    word-break: break-word;
    line-height: 1.2;
    max-width: 100%;
}

.icon-modal-footer {
    padding: 15px 25px;
    border-top: 2px dotted #eaeff2;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.icon-modal-cancel {
    background: #f1f6f9;
    color: #656a7c;
    padding: 8px 20px;
    border: 1px dotted #dae4ea;
    border-radius: 8px;
    font-family: 'Varela Round', sans-serif;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.3s;
}

.icon-modal-cancel:hover {
    background: #dae4ea;
}

@media (max-width: 768px) {
    .icon-modal {
        padding: 10px;
    }
    
    .icon-modal-content {
        max-width: 100%;
        max-height: 90vh;
    }
    
    .icon-modal-body .icon-selector-grid {
        grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
        gap: 10px;
    }
    
    .icon-modal-body .icon-option img {
        width: 60px;
        height: 60px;
    }
    
    .icon-selector-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .icon-modal-header {
        padding: 15px 20px;
    }
    
    .icon-modal-header h3 {
        font-size: 1.2em;
    }
    
    .icon-modal-body {
        padding: 15px 20px;
    }
    
    .icon-modal-body .icon-selector-grid {
        grid-template-columns: repeat(auto-fill, minmax(65px, 1fr));
        gap: 8px;
    }
    
    .icon-modal-body .icon-option {
        padding: 8px;
    }
    
    .icon-modal-body .icon-option img {
        width: 50px;
        height: 50px;
    }
    
    .choose-icon-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: rgba(221, 235, 241, 0.52);
    padding: 20px;
    text-align: center;
    border-top: 3px dotted #eaeff2;
    font-size: 0.9em;
    color: #9f9f9f;
}

.site-footer.has-widgets {
    text-align: left;
}

.site-footer a {
    color: #A3BCE4;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .site {
        margin: 0;
    }
    
    .site-header {
        padding: 30px 15px;
    }
    
    /* Stack header grid on mobile */
    .header-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
    
    .header-image-area {
        border-right: none;
        border-bottom: 3px dotted #eaeff2;
        max-height: 300px;
    }
    
    .header-image-area img {
        max-width: 60px !important;
    }
    
    .header-content-area .nav-menu {
        justify-content: center;
        flex-direction: row;
        align-items: center;
    }
    
    .site-title {
        font-size: 2em;
        letter-spacing: 2px;
    }
    
    .site-content {
        padding: 15px;
    }
    
    .post-item {
        padding: 20px 15px;
    }
    
    .entry-header-inner {
        gap: 12px;
    }
    
    .post-user-icon {
        padding: 6px;
    }
    
    .post-user-icon img {
        width: 60px;
        height: 60px;
    }
    
    .post-user-icon .icon-name {
        font-size: 7pt;
        max-width: 62px;
    }
    
    .entry-title {
        font-size: 1.3em;
    }
    
    .single-post .entry-title,
    .single-page .entry-title {
        font-size: 1.6em;
    }
    
    /* Stack featured images on mobile */
    .entry-body {
        flex-direction: column !important;
    }
    
    .entry-thumbnail {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Comment adjustments for mobile */
    .comment-list .children {
        margin-left: 0;
    }
    
    .first-reply {
        margin-left: 15px;
        padding-left: 10px;
    }
    
    .view-full-thread {
        margin-left: 15px;
    }
    
    .comments-area {
        padding: 20px 15px;
    }
    
    .comment-body {
        padding: 12px;
    }
    
    .comment-author {
        flex-wrap: wrap;
    }
    
    .comment-author img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.5em;
    }
    
    .entry-header-inner {
        gap: 10px;
    }
    
    .post-user-icon {
        padding: 5px;
    }
    
    .post-user-icon img {
        width: 50px;
        height: 50px;
    }
    
    .post-user-icon .icon-name {
        font-size: 6pt;
        max-width: 50px;
    }
    
    .entry-title {
        font-size: 1.2em;
    }
    
    .single-post .entry-title,
    .single-page .entry-title {
        font-size: 1.4em;
    }
    
    /* Tighter comment spacing on small screens */
    .first-reply {
        margin-left: 10px;
        padding-left: 8px;
    }
    
    .view-full-thread {
        margin-left: 10px;
    }
    
    .comment-author {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    
    .comment-author img {
        width: 35px;
        height: 35px;
    }
    
    .comment-content {
        font-size: 13px;
    }
    
    .reply-link a {
        padding: 4px 10px;
        font-size: 0.8em;
    }
}
}

.entry-body {
    display: flex;
    gap: 20px;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    margin-top: 15px;
}

.entry-thumbnail {
    flex-shrink: 0;
    width: 225px;
    height: 225px;
    align-self: center;
    position: relative;
    padding: 8px;
}

.entry-thumbnail a {
    display: block;
    position: relative;
    border: none;
    top: -22px;
    width: 100%;
    height: 100%;
}

.entry-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #EFF3F6;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
    transition: transform 0.3s ease;
}

.entry-body .entry-content {
    flex: 1;
    margin-top: 0;
}

.post-item:nth-child(odd) .entry-body {
    flex-direction: row;
}

.post-item:nth-child(odd) .entry-thumbnail img {
    transform: rotate(3deg);
}

.post-item:nth-child(odd) .entry-thumbnail:hover img {
    transform: rotate(0deg);
}

.post-item:nth-child(even) .entry-body {
    flex-direction: row-reverse;
}

.post-item:nth-child(even) .entry-thumbnail img {
    transform: rotate(-3deg);
}

.post-item:nth-child(even) .entry-thumbnail:hover img {
    transform: rotate(0deg);
}

.entry-featured-image {
    margin: 20px auto;
    max-width: 400px;
    max-height: 400px;
    position: relative;
    padding: 8px;
}

.entry-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #e4ecf1;
    transform: rotate(1deg);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    /* Stack featured images on mobile and reduce rotation */
    .entry-body {
        flex-direction: column !important;
        margin-left: 0;
    }
    
    .entry-thumbnail {
        width: 150px;
        height: 150px;
        max-width: 100%;
        margin: 0 auto;
       
    }
    
    .post-item:nth-child(odd) .entry-thumbnail img,
    .post-item:nth-child(even) .entry-thumbnail img {
        transform: rotate(1deg);
         margin-left: 0px;
         margin-right: 0px;
    }
    
    .post-item:nth-child(odd) .entry-thumbnail:hover img,
    .post-item:nth-child(even) .entry-thumbnail:hover img {
        transform: rotate(0deg);
         margin-left: 0px;
         margin-right: 0px;
    }
    
    .entry-featured-image {
        max-width: 200px;
    }
    
    .entry-featured-image img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .entry-thumbnail {
        width: 200px;
        height: 200px;
    }
}

/* ==========================================================================
   Login Required Message for Comments
   ========================================================================== */

.must-log-in-message {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.must-log-in-message p {
    font-size: 1em;
    color: #656a7c;
    font-family: Open Sans;
    margin: 0;
    line-height: 1.6;
}

.must-log-in-message a {
    color: #A3BCE4;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted #A3BCE4;
    transition: 0.3s;
}

.must-log-in-message a:hover {
    color: #D3E0C1;
    border-color: #D3E0C1;
}

@media (max-width: 480px) {
    .must-log-in-message {
        padding: 20px 15px;
    }
    
    .must-log-in-message p {
        font-size: 1em;
    }
}

/* ==========================================================================
   Scrollbar
   ========================================================================== */

::-webkit-scrollbar {
    width: 12px;
    background: transparent;
}

::-webkit-scrollbar-track {
    background: #EFF3F6;
}

::-webkit-scrollbar-thumb {
    background: #dae4ea;
    border-radius: 5px;
    border: 1px dotted #fcfcfc;
    transition: 0.3s;
}

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