.entry-header {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 12px;
  padding-left: 32px;
  margin-bottom: 16px;
}

.entry-title {
  font-size: 18px;
  color: #222222;
  margin: 12px 0;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .entry-title {
    font-size: 20px;
  }
}
.entry-title a {
  color: #8b0e0e;
}
.entry-title a:hover {
  color: #5d0909;
}

.entry-meta {
  font-size: 14px;
  color: #666666;
  margin-bottom: 16px;
}
.entry-meta a {
  color: #666666;
  text-decoration: none;
}
.entry-meta a:hover {
  color: #8b0e0e;
}
.entry-meta span {
  margin-right: 12px;
  display: inline-block;
}
.entry-meta span::before {
  margin-right: 4px;
  font-weight: 700;
}

.entry-thumbnail,
.entry-image {
  position: relative;
  margin-bottom: 16px;
  text-align: center;
}
.entry-thumbnail img,
.entry-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.entry-content {
  line-height: 1.75;
  margin-bottom: 32px;
}
.entry-content a {
  color: #8b0e0e;
  text-decoration: underline;
}
.entry-content a:hover {
  color: #5d0909;
}
.entry-content blockquote {
  border-left: 4px solid #8b0e0e;
  padding-left: 16px;
  margin: 16px 0;
  font-style: italic;
  color: #666666;
}
.entry-content code {
  background-color: #f8f8f8;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: monospace;
}
.entry-content pre {
  background-color: #f8f8f8;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
}
.entry-content pre code {
  background: none;
  padding: 0;
}

article.post,
.hentry {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e0e0e0;
}
article.post:last-child,
.hentry:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.post-format-link .entry-title {
  font-style: italic;
}

.post-format-quote .entry-content blockquote {
  border: none;
  padding: 0;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

.comments-area {
    padding-top: 0 !important;
}

.comments-title {
  font-size: 20px;
  margin-bottom: 24px;
  font-weight: 700;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.comment-list .children {
  list-style: none;
  margin: 0 0 0 32px;
  padding: 0;
  margin-top: 16px;
}

.comment {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px dashed #e0e0e0;
}
.comment:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.comment-body {
  padding-bottom: 16px;
  position: relative;
}

.comment-author {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.comment-author-avatar {
  flex-shrink: 0;
}
.comment-author-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  object-fit: cover;
  display: block;
}

.comment-author-name {
  font-weight: 700;
  color: #222222;
}
.comment-author-name a {
  color: #8b0e0e;
  text-decoration: none;
}
.comment-author-name a:hover {
  text-decoration: underline;
}

.comment-author-says {
  display: none;
}

.comment-metadata {
  font-size: 14px;
  color: #666666;
  margin-bottom: 12px;
}
.comment-metadata a {
  color: #8b0e0e;
  text-decoration: none;
}
.comment-metadata a:hover {
  text-decoration: underline;
}
.comment-metadata time {
  font-style: italic;
}

.comment-awaiting-moderation {
  display: block;
  color: #e74c3c;
  font-weight: 600;
  padding: 12px;
  background-color: rgba(231, 76, 60, 0.05);
  border-radius: 8px;
  margin-bottom: 12px;
}

.comment-content {
  line-height: 1.75;
  color: #666666;
}
.comment-content p {
  margin-bottom: 12px;
}
.comment-content p:last-child {
  margin-bottom: 0;
}
.comment-content a {
  color: #8b0e0e;
}
.comment-content a:hover {
  text-decoration: underline;
}

.comment-reply-link,
.comment-reply-login {
  display: inline-block;
  padding: 8px 12px;
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #8b0e0e;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 250ms ease-in-out ease-in-out;
}
.comment-reply-link:hover,
.comment-reply-login:hover {
  background-color: #8b0e0e;
  color: #ffffff;
}

.comment-respond {
  margin-top: 32px;
  padding: 24px;
  background-color: #f8f8f8;
  border-radius: 12px;
}

.comment-reply-title {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 24px;
  font-weight: 700;
}
.comment-reply-title small {
  font-size: 16px;
  font-weight: 400;
}
.comment-reply-title small a {
  color: #8b0e0e;
  text-decoration: none;
}
.comment-reply-title small a:hover {
  text-decoration: underline;
}

.comment-form .form-group {
  margin-bottom: 16px;
}
.comment-form .form-group:last-child {
  margin-bottom: 0;
}
.comment-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #222222;
}
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form input[type=tel],
.comment-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 16px;
  color: #222222;
  transition: border-color 250ms ease-in-out ease-in-out;
}
.comment-form input[type=text]:focus,
.comment-form input[type=email]:focus,
.comment-form input[type=url]:focus,
.comment-form input[type=tel]:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: #8b0e0e;
  box-shadow: 0 0 0 3px rgba(139, 14, 14, 0.1);
}
.comment-form textarea {
  resize: vertical;
  min-height: 120px;
}
.comment-form .form-submit {
  display: flex;
  gap: 12px;
}
.comment-form .form-submit input[type=submit] {
  background-color: #8b0e0e;
  color: #ffffff;
  border: none;
  cursor: pointer;
}
.comment-form .form-submit input[type=submit]:hover {
  background-color: #5d0909;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 16px;
}
.comment-form-cookies-consent input[type=checkbox] {
  margin: 0;
}
.comment-form-cookies-consent label {
  margin: 0;
}

.form-error {
  display: block;
  color: #e74c3c;
  font-size: 14px;
  margin-top: 8px;
  padding-left: 20px;
  background: url(../images/error.png) no-repeat left center;
  background-size: 14px 14px;
}

@media (min-width: 768px) {
  .comment-author {
    align-items: center;
  }
  .comment-author-avatar img {
    width: 56px;
    height: 56px;
  }
}

/* ============================================================
   SINGLE ARTICLE — header & footer elements
   ============================================================ */

/* ── Single post: header ── */
.single .entry-header {
  padding-left: 0;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 2px solid #8b0e0e;
}

.single .entry-title {
  font-size: 22px;
  font-weight: 700;
  color: #222222;
  line-height: 1.4;
  margin: 8px 0 0;
}
@media (min-width: 768px) {
  .single .entry-title {
    font-size: 30px;
  }
}

/* Meta: data, autor, comentarii */
.single .entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  font-size: 13px;
  color: #888888;
  margin-bottom: 0;
}
.single .entry-meta span {
  margin-right: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.single .entry-meta a {
  color: #8b0e0e;
  font-weight: 600;
}

/* ── Taxonomie (Categorie / Etichetă) ── */
aside.entry-taxonomy {
  margin: 32px 0 24px;
  padding: 16px;
  background: #f8f8f8;
  border-radius: 8px;
  border-left: 3px solid #8b0e0e;
  font-size: 14px;
  color: #555555;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
aside.entry-taxonomy a {
  color: #8b0e0e;
  text-decoration: none;
  font-weight: 600;
}
aside.entry-taxonomy a:hover {
  text-decoration: underline;
}

/* ── Navigare articole prev/next ── */
.post-navigation,
#post-navigation {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}
#post-navigation .nav-links {
  width: 100%;
}

@media (min-width: 768px) {
  .post-navigation,
  #post-navigation {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.nav-previous,
.nav-next {
  flex: 1;
  max-width: 100%;
}
@media (min-width: 768px) {
  .nav-previous { text-align: left; }
  .nav-next     { text-align: right; }
}

.nav-previous a,
.nav-next a {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  color: #222222;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.2s;
}
.nav-previous a:hover,
.nav-next a:hover {
  color: #8b0e0e;
}
.nav-previous a::before {
  content: '← Anterior';
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8b0e0e;
}
.nav-next a::after {
  content: 'Următor →';
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8b0e0e;
}

/* ── Newsletter (mc4wp) ── */
.mc4wp-form {
  background: #fef9ec;
  border: 1px solid #f0e2a0;
  border-radius: 10px;
  padding: 20px;
  margin: 24px 0;
}
.mc4wp-form p {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #444444;
}
.mc4wp-form input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d0c070;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 10px;
  box-sizing: border-box;
}
.mc4wp-form input[type="email"]:focus {
  outline: none;
  border-color: #8b0e0e;
  box-shadow: 0 0 0 3px rgba(139,14,14,0.08);
}
.mc4wp-form input[type="submit"] {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: #8b0e0e;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}
.mc4wp-form input[type="submit"]:hover {
  background: #6b0a0a;
}
@media (min-width: 480px) {
  .mc4wp-form .mc4wp-form-fields {
    display: flex;
    gap: 10px;
    align-items: flex-end;
  }
  .mc4wp-form input[type="email"] {
    flex: 1;
    margin-bottom: 0;
  }
  .mc4wp-form input[type="submit"] {
    width: auto;
    flex-shrink: 0;
  }
}

/* ── Comment form — resetează flotările din Storefront și aplică grid ── */
#respond .comment-form-author,
#respond .comment-form-email,
#respond .comment-form-url {
  float: none !important;
  width: auto !important;
  margin-right: 0 !important;
}

#respond .comment-form > p {
  margin: 0 0 14px;
  box-sizing: border-box;
}

.comment-form-url {
  display: none !important;
}
/* inputuri full width */
#respond .comment-form input[type="text"],
#respond .comment-form input[type="email"],
#respond .comment-form input[type="url"] {
  width: 100% !important;
  box-sizing: border-box !important;
}

#respond .comment-form .form-submit input[type="submit"] {
  width: 100%;
}

@media (min-width: 768px) {
  #respond .comment-form {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 16px;
  }

  /* full width */
  #respond .comment-form > p.comment-notes,
  #respond .comment-form > p.comment-form-comment,
  #respond .comment-form > p.comment-form-url,
  #respond .comment-form > .comment-form-cookies-consent {
    grid-column: 1 / -1;
  }

  /* Nume | Email | Submit pe același rând */
  #respond .comment-form > p.comment-form-author { grid-column: 1; }
  #respond .comment-form > p.comment-form-email  { grid-column: 2; }
  #respond .comment-form > p.form-submit         { grid-column: 3; align-self: end; }
}

/* ── Categorii blog ─────────────────────────────────────────────── */
.categorys_blog_page {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.categorys_blog_page a {
  display: inline-block;
  padding: 4px 12px;
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #222222;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 250ms ease-in-out, color 250ms ease-in-out;
}
.categorys_blog_page a:hover {
  background-color: #8b0e0e;
  color: #ffffff;
}

/* ── Comentarii Storefront — override layout float cu flex ─────── */

.comment-list .comment-meta,
.comment-list ol.children .comment-meta {
  float: none !important;
  width: auto !important;
  margin-right: 0 !important;
  text-align: left !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 10px !important;
}

.comment-list .comment-content,
.comment-list ol.children .comment-content {
  float: none !important;
  width: auto !important;
  margin-right: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.comment-list .comment,
.comment-list ol.children .comment {
  overflow: hidden;
  margin-bottom: 12px !important;
  clear: both;
}

.comment-list .comment-meta .comment-author {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 1;
}

.comment-list .comment-meta .avatar {
  float: none !important;
  flex-shrink: 0;
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  border-radius: 50% !important;
  border: 2px solid #e8d5d5;
  margin: 0 !important;
}

.comment-list .comment-meta .fn,
.comment-list .comment-meta cite {
  display: inline !important;
  clear: none !important;
  float: none !important;
  font-size: 14px !important;
  font-weight: 700;
  font-style: normal;
  color: #1a1a1a;
}

.comment-list .comment-meta .fn a,
.comment-list .comment-meta cite a {
  color: inherit;
  text-decoration: none;
}

.comment-list .comment-author .says {
  display: none !important;
}

.comment-list .comment-meta .comment-metadata {
  margin-left: auto;
  white-space: nowrap;
}

.comment-list .comment-meta .comment-metadata a {
  font-size: 12px !important;
  color: #999999 !important;
  text-decoration: none !important;
}

.comment-list .comment-content .comment-text {
  background: #f8f8f8 !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  border: 1px solid #eeeeee !important;
}

.comment-list .comment-content .comment-text p {
  font-size: 15px;
  line-height: 1.7;
  color: #444444;
  margin: 0 0 6px;
}

.comment-list .comment-content .comment-text p:last-child {
  margin-bottom: 0;
}

.comment-list .bypostauthor .comment-content .comment-text {
  background: #fdf5f5 !important;
  border-color: #e8d5d5 !important;
  border-left: 3px solid #8b0e0e !important;
}

.comment-list .reply {
  margin-bottom: 4px !important;
  padding-top: 8px !important;
  text-align: left !important;
  clear: both;
}

.comment-reply-link {
  font-size: 12px !important;
  font-weight: 600;
  color: #8b0e0e !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid #e8d5d5;
  border-radius: 4px;
  padding: 4px 10px;
  transition: background-color 150ms ease, color 150ms ease;
}

.comment-reply-link:hover {
  color: #ffffff !important;
  background-color: #8b0e0e;
  border-color: #8b0e0e;
}

.comment-edit-link {
  font-size: 12px !important;
  color: #aaaaaa !important;
  text-decoration: none !important;
  margin-left: 6px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 4px 10px;
}

.comment-edit-link:hover {
  color: #555555 !important;
}

.comment-list ol.children {
  list-style: none !important;
  margin-top: 8px !important;
  padding-left: 40px !important;
}

@media (max-width: 600px) {
  .comment-list ol.children {
    padding-left: 16px !important;
  }
}
.emoji {
    height: 20px !important;
    border: none !important;
        display: inline-block;
}

.relpost-thumb-container .relpost-block-column-layout .relpost-block-single-image {
      width: 300px !important;
    height: 300px !important;
    margin: auto;
        aspect-ratio: 3 / 4;
}