/*
Theme Name: Arhiblog
Author: Cetin Ametcea
Version: 2.0.0
Description: Tema originala Arhiblog 2026
*/

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #111;
  background: #f5f5f5;
  margin: 0;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .row { grid-template-columns: 1fr; }
}

/* Header */
.site-header {
  background: #111111;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #cc0000;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

/* Site title */
.site-branding {
  flex-shrink: 0;
}

.site-title {
  margin: 0;
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  text-transform: lowercase;
}

.site-title a {
  color: #cc0000;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Main navigation */
.main-navigation {
  flex: 1;
  font-size: 1.3rem;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
  justify-content: center;
}

.main-navigation a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.main-navigation a:hover {
  color: #cc0000;
  border-bottom-color: #cc0000;
}

/* Breadcrumbs */
.breadcrumbs-wrapper {
  margin-bottom: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.breadcrumbs {
  font-size: 1.3rem;
  color: #999;
}

.breadcrumbs a {
  color: #cc0000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: #000;
  text-decoration: underline;
}

.breadcrumbs .separator {
  margin: 0 8px;
  color: #ccc;
  font-weight: 400;
}

.breadcrumbs .current {
  color: #666;
  font-weight: 500;
}

/* Dark mode */
body.dark-mode .breadcrumbs-wrapper {
  border-bottom-color: #444;
}

body.dark-mode .breadcrumbs a {
  color: #cc0000;
}

body.dark-mode .breadcrumbs a:hover {
  color: #fff;
}

body.dark-mode .breadcrumbs .separator {
  color: #555;
}

body.dark-mode .breadcrumbs .current {
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
  .breadcrumbs {
    font-size: 1.2rem;
  }
}

/* Right options */
.right-options {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

/* Dark mode toggle */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
}

.theme-toggle-label {
  cursor: pointer;
  display: flex;
  align-items: center;
}

#theme-toggle {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  display: inline-block;
  width: 50px;
  height: 24px;
  background-color: #333333;
  border-radius: 24px;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid #444444;
}

.slider:before {
  content: "☀️";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 1px;
  background-color: #ffd700;
  border-radius: 50%;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

#theme-toggle:checked + .slider {
  background-color: #cc0000;
  border-color: #cc0000;
}

#theme-toggle:checked + .slider:before {
  content: "🌙";
  transform: translateX(26px);
  background-color: #ffffff;
}

/* Mobile menu - VERSIUNEA FINALĂ */
/* Mobile menu - DOAR PENTRU ECRANE MICI */
@media screen and (max-width: 768px) {
  /* aici e tot codul de mobil */
}

/* Asigură că desktopul rămâne neschimbat */
@media screen and (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .right-options {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .main-navigation {
    display: block !important;
    flex: 1;
  }
  
  .main-navigation ul {
    display: flex;
    gap: 25px;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .site-header {
    padding: 8px 0;
  }
  
  .site-header .container {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  /* Titlu mare, full width */
  .site-branding {
    width: 100%;
  }
  
  .site-title {
    font-size: 3.2rem;
    margin: 0;
  }
  
  /* right-options conține toate butoanele pe aceeași linie */
  .right-options {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 15px;
  }
  
  /* Ascundem user menu pe mobil */
  .user-menu {
    display: none !important;
  }
  
  /* Hamburger - acum în aceeași linie */
  .mobile-menu-toggle {
    display: flex !important;
    margin-left: auto;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  /* Dark mode mai mic */
  .theme-switch-wrapper {
    transform: scale(0.8);
  }
  
  /* Buton search mai mic */
  .search-toggle {
    font-size: 1.8rem;
    padding: 0;
  }
  
  /* Ascundem meniul */
  .main-navigation {
    display: none;
    width: 100%;
    margin-top: 5px;
  }
  
  .main-navigation.active {
    display: block;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 0;
  }
  
  .main-navigation li {
    width: 100%;
  }
  
  .main-navigation a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid #333;
  }
  
  /* Ascundem butonul pe desktop */
  .mobile-menu-toggle {
    display: none;
  }
}

/* Search button */
.search-wrapper {
  display: flex;
  align-items: center;
}

.search-toggle {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 5px;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-toggle:hover {
  color: #cc0000;
}

/* User menu */
.user-menu {
  display: flex;
  align-items: center;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #222222;
  padding: 4px 12px 4px 4px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  border: 1px solid #333333;
}

.user-profile:hover {
  background: #333333;
}

.user-avatar {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  object-fit: cover;
}

.user-name {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 500;
}

/* Tabs Bar */
.tabs-bar {
  background: #ffffff;
  border-bottom: 1px solid #dddddd;
  padding: 10px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.tabs-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
  flex-wrap: wrap;
}

.tab-button {
  display: inline-block;
  padding: 8px 20px;
  background: #cc0000;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

.tab-button:hover,
.tab-button.active {
  background: #000000;
  color: #ffffff;
}

/* Post listing */
.post-listing {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.post-listing article {
  width: 100%;
  margin-bottom: 6%;
  position: relative;
}

/* Post cu imagine - VERSIUNEA CORECTĂ */
.post-with-image .post-image {
  position: relative;
  max-height: 300px;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 0 5px rgb(0 0 0 / 10%);
}

.post-with-image .post-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.post-with-image .post-div {
  position: relative;
  margin-top: -40px;
  background: #fff;
  padding: 25px;
  margin-left: 20px;
  margin-right: 20px;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  z-index: 10;
}

.post-with-image .post-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: #999;
}

.post-with-image .byline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-with-image .byline img {
  border-radius: 50%;
  width: 24px;
  height: 24px;
}

.post-with-image .byline a {
  color: #999;
  text-decoration: none;
  font-weight: 500;
}

.post-with-image .post-date {
  color: #999;
}

.post-with-image .post-title {
  margin-bottom: 15px;
  font-size: 2.8rem;
  line-height: 1.3;
  font-weight: 800;
}

.post-with-image .post-title a {
  color: #cc0000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-with-image .post-title a:hover {
  color: #333333;
}

.post-with-image .post-summary {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #333;
  font-size: 1.5rem;
}

.post-with-image .post-footer {
  display: flex;
  justify-content: space-between;
  font-size: 1.3rem;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.post-with-image .comments {
  color: #cc0000;
  font-weight: 600;
}

.post-with-image .views {
  color: #999;
}

.post-with-image .comments i,
.post-with-image .views i {
  margin-right: 5px;
}

/* Post fără imagine */
.post-noimage {
  background: #cc0000;
  border-radius: 5px;
  padding: 30px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.post-noimage .pub {
  font-size: 6rem;
  color: rgba(255,255,255,0.2);
  position: absolute;
  top: 10px;
  right: 20px;
  font-weight: 900;
  z-index: 1;
}

.post-noimage .quote {
  font-size: 8rem;
  line-height: 1;
  color: rgba(0,0,0,0.1);
  position: absolute;
  bottom: 10px;
  left: 20px;
  font-family: Georgia, serif;
  z-index: 1;
}

.post-noimage .post-content-wrapper {
  position: relative;
  z-index: 2;
}

.post-noimage .post-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.8);
}

.post-noimage .byline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-noimage .byline img {
  border-radius: 50%;
  width: 24px;
  height: 24px;
}

.post-noimage .byline a {
  color: #fff;
  text-decoration: none;
}

.post-noimage .post-title {
  margin-bottom: 20px;
  font-size: 3.2rem;
  line-height: 1.3;
  font-weight: 800;
}

.post-noimage .post-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-noimage .post-title a:hover {
  color: #333333;
}

.post-noimage .post-footer {
  display: flex;
  justify-content: space-between;
  font-size: 1.3rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  margin-top: 10px;
}

.post-noimage .comments {
  color: #fff;
  font-weight: 600;
}

.post-noimage .views {
  color: rgba(255,255,255,0.8);
}

.post-noimage .comments i,
.post-noimage .views i {
  margin-right: 5px;
}

/* Navigation */
.navigation {
  margin-bottom: 30px;
  text-align: center;
  font-size: 3rem;
  width: 100%;
}

.navigation .active a {
  color: #999;
}

.navigation a {
  color: #000;
  margin: 0 10px;
  text-decoration: none;
}

.navigation a:hover {
  color: #cc0000;
}

.navigation span {
  margin-right: 20px;
}

.navigation .nav-sep {
  color: #999;
}

/* Post navigation - exact ca în screenshot */
.post-navigation {
  display: flex;
  justify-content: space-between;
  margin: 10px 0 20px 0;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  font-size: 1.4rem;
}

.nav-previous,
.nav-next {
  flex: 1;
}

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

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

.nav-label {
  display: block;
  font-size: 1.2rem;
  color: #999;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-previous .nav-label i {
  margin-right: 5px;
}

.nav-next .nav-label i {
  margin-left: 5px;
}

.post-navigation h4 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.3;
}

.post-navigation h4 a {
  color: #cc0000;
  text-decoration: none;
}

.post-navigation h4 a:hover {
  color: #000;
  text-decoration: underline;
}

/* Dark mode */
body.dark-mode .post-navigation {
  border-bottom-color: #444;
}

body.dark-mode .nav-label {
  color: #aaa;
}

body.dark-mode .post-navigation h4 a {
  color: #cc0000;
}

body.dark-mode .post-navigation h4 a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .post-navigation {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-previous,
  .nav-next {
    text-align: left;
  }
  
  .nav-next .nav-label i {
    margin-left: 0;
    margin-right: 5px;
  }
}

/* Responsive pentru mobil */
@media (max-width: 768px) {
  .main-navigation ul {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  
  .main-navigation a {
    font-size: 1.3rem;
    white-space: normal;
  }
  
  .post-with-image .post-image img {
    height: 250px;
  }
  
  .post-with-image .post-div {
    margin-top: -30px;
    padding: 20px;
    margin-left: 15px;
    margin-right: 15px;
  }
  
  .post-with-image .post-title {
    font-size: 2.4rem;
  }
  
  .post-noimage .post-title {
    font-size: 2.6rem;
  }
  
  .post-noimage .pub {
    font-size: 4rem;
  }
  
  .post-noimage .quote {
    font-size: 6rem;
  }
}

/* Single Post */
.single-post {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.post-featured {
  margin: -30px -30px 20px -30px;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.post-featured img {
  width: 100%;
  height: auto;
  display: block;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  color: #666;
  font-size: 1.3rem;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.post-meta a {
  color: #cc0000;
  text-decoration: none;
}

.post-meta a:hover {
  text-decoration: underline;
}

.post-title {
  font-size: 3.2rem;
  line-height: 1.2;
  margin: 0 0 20px 0;
  font-weight: 800;
}

.post-content {
  font-size: 1.6rem;
  line-height: 1.7;
}

.post-content p {
  margin: 0 0 20px 0;
}

.post-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid #eee;
  font-size: 1.4rem;
  color: #666;
}

/* Asigură că imaginile din conținut nu depășesc containerul */
.single-post .post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
}

/* Poți adăuga și stil pentru alinierea imaginilor */
.single-post .post-content .alignleft {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
  max-width: 50%;
}

.single-post .post-content .alignright {
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
  max-width: 50%;
}

.single-post .post-content .aligncenter {
  margin-left: auto;
  margin-right: auto;
  clear: both;
}

/* Blockquote styling */
.single-post .post-content blockquote {
  margin: 30px 0;
  padding: 20px 30px;
  background: #f9f9f9;
  border-left: 4px solid #cc0000;
  font-size: 1.5rem;
  font-style: italic;
  color: #555;
  border-radius: 0 8px 8px 0;
  position: relative;
}

.single-post .post-content blockquote::before {
  content: '"';
  font-size: 4rem;
  font-family: Georgia, serif;
  color: #cc0000;
  opacity: 0.3;
  position: absolute;
  left: 10px;
  top: -10px;
}

.single-post .post-content blockquote p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.single-post .post-content blockquote p:last-child {
  margin-bottom: 0;
}

/* Dark mode */
body.dark-mode .single-post .post-content blockquote {
  background: #2d2d2d;
  border-left-color: #cc0000;
  color: #ccc;
}

body.dark-mode .single-post .post-content blockquote::before {
  color: #cc0000;
  opacity: 0.2;
}

/* Pentru citate mai scurte */
.single-post .post-content blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 1.3rem;
  font-style: normal;
  color: #999;
  text-align: right;
}

/* Dark mode */
body.dark-mode .single-post .post-content img {
  opacity: 0.9;
}

body.dark-mode .single-post .post-content img:hover {
  opacity: 1;
}

/* Comments Area */
.comments-area {
  margin-top: 40px;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.comments-title {
  font-size: 2rem;
  margin: 0 0 25px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #cc0000;
}

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

/* Fiecare thread de comentarii încadrat de o dungă sus și una jos */
.comment-list > .comment {
  margin-bottom: 0;
  padding-bottom: 0;
  border-top: 1px solid #eaeaea;
  padding-top: 25px;
}

.comment-list > .comment:first-child {
  border-top: none;
  padding-top: 0;
}

.comment-list > .comment:last-child {
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 25px;
}

/* FĂRĂ dungi între părinte și copii */
.comment-list .children .comment {
  border: none;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.comment-list .children .comment:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Indentare răspunsuri - toate la 50px */
.comment-list .children {
  margin-left: 50px;
  padding-left: 0;
  list-style: none;
  margin-top: 20px;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.comment-author .avatar {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.comment-metadata {
  color: #999;
  font-size: 1.3rem;
}

.comment-metadata a {
  color: #999;
  text-decoration: none;
}

.comment-content {
  font-size: 1.5rem;
  margin-bottom: 15px;
  padding-left: 50px;
}

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

/* Stil pentru comentariile adminilor */
.bypostauthor {
  background: #f8f8f8;
  padding: 20px 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 3px solid #cc0000;
  position: relative;
}

/* Badge Admin */
.bypostauthor .comment-author .fn::after {
  content: "Admin";
  display: inline-block;
  background: #cc0000;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-left: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

/* Wrapper pentru vot și reply pe aceeași linie */
.comment-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0 10px 50px;
  flex-wrap: wrap;
  gap: 15px;
}

/* Butoane de vot */
.comment-vote {
  display: flex;
  gap: 8px;
}

.vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 15px;
  border: 1px solid #cc0000;
  background: transparent;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.vote-up {
  color: #2e7d32;
  border-color: #2e7d32;
}

.vote-up:hover {
  background: #2e7d32;
  color: #fff;
}

.vote-down {
  color: #c62828;
  border-color: #c62828;
}

.vote-down:hover {
  background: #c62828;
  color: #fff;
}

.vote-btn.voted {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Buton Răspunde */
.comment-reply {
  margin-left: auto;
}

.comment-reply .reply a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 20px;
  background: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 1.3rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.comment-reply .reply a:hover {
  background: #cc0000;
  color: #fff;
  border-color: #cc0000;
}

.comment-reply .reply a i {
  font-size: 1.2rem;
}

/* Dark mode pentru comentarii */
body.dark-mode .comment-list > .comment {
  border-top-color: #333;
  border-bottom-color: #333;
}

body.dark-mode .bypostauthor {
  background: #2d2d2d;
  border-left-color: #cc0000;
}

body.dark-mode .bypostauthor .comment-author .fn::after {
  background: #cc0000;
  color: #fff;
}

body.dark-mode .vote-up {
  color: #4caf50;
  border-color: #4caf50;
  background: transparent;
}

body.dark-mode .vote-up:hover {
  background: #4caf50;
  color: #fff;
}

body.dark-mode .vote-down {
  color: #f44336;
  border-color: #f44336;
  background: transparent;
}

body.dark-mode .vote-down:hover {
  background: #f44336;
  color: #fff;
}

body.dark-mode .comment-reply .reply a {
  background: #333;
  color: #ddd;
  border-color: #555;
}

body.dark-mode .comment-reply .reply a:hover {
  background: #cc0000;
  color: #fff;
  border-color: #cc0000;
}

/* Comment Form */
.comment-respond {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px solid #eee;
}

.comment-reply-title {
  font-size: 1.8rem;
  margin: 0 0 20px 0;
}

.comment-form p {
  margin: 0 0 20px 0;
}

.comment-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 1.4rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1.5rem;
  font-family: inherit;
}

.comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

.comment-form .submit {
  background: #cc0000;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 1.6rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.comment-form .submit:hover {
  background: #000;
}

/* Sidebar */
.sidebar {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  overflow: hidden;
}

.widget {
  padding: 25px;
  border-bottom: 1px solid #eee;
}

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

.widget-title {
  font-size: 1.8rem;
  margin: 0 0 20px 0;
  color: #cc0000;
  font-weight: 700;
}

/* Patron Widget */
.widget_patron {
  background: #fafafa;
  text-align: center;
}

.widget_patron .patron-button {
  display: inline-block;
  background: #cc0000;
  color: #fff;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.6rem;
  margin-top: 10px;
  transition: background 0.2s;
}

.widget_patron .patron-button:hover {
  background: #000;
}

/* Articles List */
.articles-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.articles-list li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.articles-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.articles-list a {
  color: #333;
  text-decoration: none;
  font-size: 1.5rem;
  line-height: 1.4;
  display: block;
}

.articles-list a:hover {
  color: #cc0000;
}

/* Statistics */
.statistics {
  list-style: none;
  padding: 0;
  margin: 0;
}

.statistics li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dotted #eee;
}

.statistics .label {
  color: #666;
}

.statistics .value {
  font-weight: 700;
  color: #cc0000;
}

/* Commentators List */
.commentators-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.commentators-list li {
  background: #f0f0f0;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 1.3rem;
}

.commentators-list a {
  color: #333;
  text-decoration: none;
}

.commentators-list a:hover {
  color: #cc0000;
}

/* Online Users */
.online-users {
  background: #f0f7f0;
  padding: 15px;
  border-radius: 6px;
  font-size: 1.4rem;
}

.online-users strong {
  color: #2e7d32;
}

/* Admin Links */
.admin-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.admin-links a {
  color: #666;
  text-decoration: none;
  font-size: 1.3rem;
  padding: 4px 10px;
  background: #f0f0f0;
  border-radius: 4px;
}

.admin-links a:hover {
  background: #cc0000;
  color: #fff;
}

/* Footer */
.site-footer {
  background: #000;
  color: #999;
  padding: 40px 0 20px;
  margin-top: 40px;
  font-size: 1.3rem;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #999;
  text-decoration: none;
}

.footer-links a:hover {
  color: #cc0000;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  margin: 0;
  color: #666;
}

.copyright a {
  color: #cc0000;
  text-decoration: none;
}

/* Search Popup */
.search-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
  justify-content: center;
  align-items: flex-start;
  padding-top: 100px;
}

.search-popup-overlay.active {
  display: flex;
}

.search-popup {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  position: relative;
}

.search-popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 3rem;
  cursor: pointer;
  color: #666;
  line-height: 1;
}

.search-popup-close:hover {
  color: #cc0000;
}

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

.search-popup input[type="search"] {
  flex: 1;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 1.6rem;
}

.search-popup button {
  padding: 15px 25px;
  background: #cc0000;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.6rem;
}

/* Dark Mode General */
body.dark-mode {
  background: #1a1a1a;
  color: #e0e0e0;
}

body.dark-mode .site-header {
  background: #000;
}

body.dark-mode .tabs-bar {
  background: #222;
  border-bottom-color: #333;
}

body.dark-mode .single-post,
body.dark-mode .comments-area,
body.dark-mode .sidebar {
  background: #2d2d2d;
  color: #e0e0e0;
}

body.dark-mode .post-with-image .post-div {
  background: #2d2d2d;
  color: #e0e0e0;
}

body.dark-mode .post-with-image .post-title a {
  color: #cc0000;
}

body.dark-mode .post-with-image .post-title a:hover {
  color: #fff;
}

body.dark-mode .post-with-image .post-summary {
  color: #ccc;
}

body.dark-mode .post-with-image .post-meta,
body.dark-mode .post-with-image .post-date,
body.dark-mode .post-with-image .byline a {
  color: #aaa;
}

body.dark-mode .post-with-image .post-footer {
  border-top-color: #444;
}

body.dark-mode .post-meta {
  border-bottom-color: #444;
  color: #aaa;
}

body.dark-mode .post-footer {
  border-top-color: #444;
}

body.dark-mode .comment-form input,
body.dark-mode .comment-form textarea {
  background: #3d3d3d;
  border-color: #555;
  color: #e0e0e0;
}

body.dark-mode .widget {
  border-bottom-color: #444;
}

body.dark-mode .articles-list a {
  color: #e0e0e0;
}

body.dark-mode .articles-list a:hover {
  color: #cc0000;
}

body.dark-mode .commentators-list li {
  background: #3d3d3d;
}

body.dark-mode .commentators-list a {
  color: #e0e0e0;
}

body.dark-mode .online-users {
  background: #2d3d2d;
}

/* Patreon section - mic și centrat */
.patreon-section {
  margin: 30px auto 10px;
  max-width: 500px;
  text-align: center;
}

.patreon-thanks {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 8px;
  font-style: italic;
}

.patreon-button {
  display: inline-block;
  background: transparent;
  color: #cc0000;
  text-decoration: none;
  padding: 6px 12px;
  font-size: 1.3rem;
  font-weight: 400;
  transition: all 0.2s ease;
  border: 1px solid #cc0000;
  border-radius: 30px;
  line-height: 1.4;
}

.patreon-button:hover {
  background: #cc0000;
  color: #fff;
  border-color: #cc0000;
}

/* Dark mode Patreon */
body.dark-mode .patreon-thanks {
  color: #aaa;
}

body.dark-mode .patreon-button {
  color: #cc0000;
  border-color: #cc0000;
}

body.dark-mode .patreon-button:hover {
  background: #cc0000;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    gap: 15px;
  }
  
  .main-navigation ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .right-options {
    width: 100%;
    justify-content: center;
  }
  
  .tabs-menu {
    justify-content: center;
  }
  
  .single-post,
  .comments-area {
    padding: 20px;
  }
  
  .post-featured {
    margin: -20px -20px 20px -20px;
  }
  
  .comment-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .comment-actions {
    margin-left: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .comment-reply {
    margin-left: 0;
  }
  
  .vote-btn {
    padding: 4px 12px;
    font-size: 1.2rem;
  }
  
  .patreon-section {
    margin: 25px auto 10px;
    max-width: 100%;
    padding: 0 15px;
  }
  
  .patreon-button {
    font-size: 1.2rem;
    padding: 5px 10px;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none; }

/* Buton Răspunde - versiune mică */
.reply-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 4px 12px !important;
  background: #cc0000 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 20px !important;
  font-size: 1.2rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
  min-height: auto !important;
  height: auto !important;
}

.reply-button:hover {
  background: #000000 !important;
  color: #ffffff !important;
}

.reply-button i {
  font-size: 1.1rem !important;
}

/* Dark mode */
body.dark-mode .reply-button {
  background: #cc0000 !important;
  color: #ffffff !important;
}

body.dark-mode .reply-button:hover {
  background: #ffffff !important;
  color: #000000 !important;
}

/* Buton Anulează răspunsul */
#cancel-comment-reply-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 4px 12px !important;
  background: #999 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 20px !important;
  font-size: 1.2rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  margin-left: 10px !important;
  transition: all 0.2s ease !important;
}

#cancel-comment-reply-link:hover {
  background: #cc0000 !important;
  color: #fff !important;
}

#cancel-comment-reply-link::before {
  content: "✕";
  margin-right: 5px;
  font-size: 1.2rem;
}

/* Dark mode */
body.dark-mode #cancel-comment-reply-link {
  background: #555 !important;
  color: #ddd !important;
}

body.dark-mode #cancel-comment-reply-link:hover {
  background: #cc0000 !important;
  color: #fff !important;
} 
/* Linkuri în articole - albastru cald, bold */
.post-content a {
  color: #0066cc !important;  /* Albastru cald */
  font-weight: 700 !important;  /* Bold */
  text-decoration: none !important;
  border-bottom: 1px solid transparent !important;
  transition: all 0.2s ease !important;
}

/* La hover - aceeași culoare, poți adăuga un efect subtil */
.post-content a:hover {
  color: #0066cc !important;
  border-bottom-color: #0066cc !important;
}

/* După ce a fost vizitat - devine roșu */
.post-content a:visited {
  color: #cc0000 !important;  /* Roșu Arhiblog */
}

/* Dark mode pentru linkuri vizitate */
body.dark-mode .post-content a:visited {
  color: #cc0000 !important;
}

/* Linkul cu numele persoanei în "Răspunde-i lui Xulescu" */
.comment-reply-title a {
  color: #0066cc !important;  /* Albastru cald */
  text-decoration: none !important;
  font-weight: 700 !important;
  transition: color 0.2s ease !important;
}

.comment-reply-title a:hover {
  color: #cc0000 !important;  /* Roșu la hover */
  text-decoration: none !important;
}

/* Dark mode */
body.dark-mode .comment-reply-title a {
  color: #66b0ff !important;
}

body.dark-mode .comment-reply-title a:hover {
  color: #cc0000 !important;
}

/* Badge tagline */
.header-tagline-badge {
  display: inline-block;
  background: #cc0000;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  border: 1px solid #cc0000;
  transition: all 0.2s ease;
  margin-right: 10px;
}

.header-tagline-badge:hover {
  background: transparent;
  color: #cc0000;
}

/* Dark mode */
body.dark-mode .header-tagline-badge {
  background: #cc0000;
  color: #fff;
}

body.dark-mode .header-tagline-badge:hover {
  background: transparent;
  color: #cc0000;
}

/* Pe mobil */
@media (max-width: 768px) {
  .header-tagline-badge {
    font-size: 1rem;
    padding: 3px 8px;
    max-width: 150px;
    white-space: normal;
    line-height: 1.2;
  }
}

@media (max-width: 480px) {
  .header-tagline-badge {
    display: none;
  }
}

/* Layout desktop - FORȚAT */
@media screen and (min-width: 769px) {
  .site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  
  /* Titlul în stânga */
  .site-branding {
    flex-shrink: 0;
    margin-right: 30px;
  }
  
  /* Meniul în mijloc, flexibil */
  .main-navigation {
    flex: 1;
    margin: 0 20px;
  }
  
  .main-navigation ul {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 0;
    padding: 0;
  }
  
  .main-navigation li {
    margin: 0;
  }
  
  .main-navigation a {
    white-space: nowrap;
  }
  
  /* Right options la dreapta */
  .right-options {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
  }
  
  /* Ascundem hamburger pe desktop */
  .mobile-menu-toggle {
    display: none !important;
  }
}
