/**
 * Hobbi Insights — Stiluri specifice tema WordPress
 *
 * Design aliniat cu hobbi.ro: wide, aerat, fluid.
 * Container mare (1400px), sectiuni full-width, carduri generoase.
 *
 * @package HobbiInsights
 */


/* ==========================================================================
   0. OVERRIDE DESIGN SYSTEM — WIDER
   ========================================================================== */

:root {
  --max-width: 1240px;
  --content-width: 820px;
  --gutter: 48px;
}

/*
 * Layout simplu: tot continutul trece printr-un singur wrapper.
 * Max-width 1200px (ca hobbi.ro), centrat, cu gutter lateral.
 */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Sectiunile nu mai au padding lateral propriu — doar container-ul */
.site-main section {
  padding-left: 0;
  padding-right: 0;
}

/* Design system-ul seteaza `section .container { padding: 0; }`,
   deci avem nevoie de un override mai specific ca sa pastram gutter-ul. */
.site-main section .container {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}


/* ==========================================================================
   1. NAV — STIL HOBBI.RO (MINIMALIST)
   ========================================================================== */

.nav {
  background: var(--light-blue);
  border-bottom: none;
  box-shadow: none;
  height: 98px;
  padding: 15px 0;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 68px;
}

/* Logo SVG — dimensiuni identice cu hobbi.ro */
.nav-logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 125px;
  object-fit: contain;
}

/* Meniu central (daca e configurat) */
.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Ascunde hamburger pe desktop — apare doar pe 768px */
.nav-toggle { display: none; }

/* Daca nu exista meniu, nav-center e gol — nu afecteaza layout */
.nav-center:empty { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li { list-style: none; }

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  transition: color var(--ease);
}

.nav-links a:hover,
.nav-links .current-menu-item a {
  color: var(--blue);
}

/* Link-uri dreapta — Login | Cont nou */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link-simple {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: var(--primary);
  transition: color var(--ease);
}

.nav-link-simple:hover {
  color: var(--blue-dark);
}

.nav-cta-new-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  background: var(--yellow);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(255, 210, 51, 0.32);
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.nav-cta-new-account:hover {
  background: #f4c41f;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255, 210, 51, 0.36);
}


/* ==========================================================================
   2. INSIGHTS HERO — FULL-WIDTH, STIL HOBBI.RO
   ========================================================================== */

.insights-hero {
  background: linear-gradient(180deg, #EEF6FF 0%, #EEF6FF 24%, #FFF7EC 68%, var(--white) 100%);
  padding: 108px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Steluta decorativa — ca pe hobbi.ro */
.insights-hero::before {
  content: '✦';
  position: absolute;
  font-size: 28px;
  color: var(--yellow);
  top: 100px;
  left: 8%;
  animation: floatStar 4s ease-in-out infinite;
}

.insights-hero::after {
  content: '✦';
  position: absolute;
  font-size: 20px;
  color: var(--yellow);
  bottom: 60px;
  right: 12%;
  animation: floatStar 4s ease-in-out infinite 1.5s;
}

@keyframes floatStar {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
  50% { transform: translateY(-8px) rotate(15deg); opacity: 1; }
}

.insights-hero .sec-label {
  font-size: 12px;
  color: var(--pink);
  margin-bottom: 16px;
}

.insights-hero .sec-title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  color: var(--primary);
}

.insights-hero .sec-sub {
  max-width: 580px;
  margin: 0 auto 36px;
  font-size: 17px;
  color: var(--primary);
  line-height: 1.7;
}

/* Search bar — stil hobbi.ro: pill, border galben, icon stanga */
.insights-search {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
}

.insights-search input {
  flex: 1;
  padding: 14px 20px 14px 44px;
  border: 2px solid var(--yellow);
  border-radius: var(--r-pill);
  font-size: 15px;
  font-family: 'Urbanist', sans-serif;
  font-weight: 500;
  color: var(--dark);
  outline: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238A9BB0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 16px center;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.insights-search input::placeholder {
  color: var(--muted);
  font-weight: 500;
}

.insights-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26, 175, 230, 0.10);
}

.insights-search .btn-primary {
  padding: 14px 28px;
  font-size: 15px;
  background: var(--pink);
  box-shadow: 0 4px 16px rgba(249, 95, 142, 0.20);
  flex-shrink: 0;
}

.insights-search .btn-primary:hover {
  background: var(--pink-hover);
}


/* ==========================================================================
   3. CATEGORII BAR — WIDE, SCROLLABIL
   ========================================================================== */

/* Override nav height */
.pt-nav { padding-top: 98px; }

/* Wave decorativ pe fundal — Vector 2 din Figma */
.site-main {
  position: relative;
  overflow-x: hidden;
}

.site-main::before {
  content: '';
  position: absolute;
  top: 110px;
  left: 0;
  right: 0;
  height: 100%;
  max-height: 1600px;
  background: url('../images/wave-bg.png') no-repeat;
  background-size: 130% auto;
  background-position: center 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.82;
}

/* Previne overflow pe body */
html, body {
  overflow-x: hidden;
}

.categories-bar {
  padding: 0;
  border-bottom: none;
  background: transparent;
  margin-bottom: 32px;
  position: relative;
  top: auto;
  z-index: 1;
}

.cat-pills {
  display: flex;
  gap: 12px;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cat-pills::-webkit-scrollbar { display: none; }

.cat-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 18px;
  border: 1px solid #CFE3FB;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  white-space: nowrap;
  transition: all var(--ease);
  cursor: pointer;
  background: #EFF6FF;
}

.cat-pill:hover {
  border-color: #B8D8FB;
  color: var(--primary);
  background: #E7F2FF;
}

.cat-pill.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.cat-count {
  font-size: 11px;
  font-weight: 800;
  opacity: 0.5;
}


/* ==========================================================================
   4. POST CARDS — WIDE GRID, STIL HOBBI.RO
   ========================================================================== */

/* ==========================================================================
   4. POST CARDS — STIL HOBBI.RO (4 COL, BORDER, BADGE)
   ========================================================================== */

.posts-section {
  padding: 56px 0 96px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.post-card {
  border: 1.5px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  transition: all 0.3s ease;
  position: relative;
}

.post-card:hover {
  border-color: var(--pink-mid);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.post-card-link {
  display: block;
  color: inherit;
}

.post-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.05);
}

.post-card-body {
  padding: 16px 20px 20px;
}

/* Categorie — text mic roz ca pe hobbi.ro */
.post-card-cat {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--pink);
  margin-bottom: 6px;
  line-height: 1.4;
}

.post-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.post-card-excerpt {
  font-size: 13px;
  color: var(--primary);
  line-height: 1.65;
  margin-bottom: 14px;
}

/* Meta cu sageata dreapta — stil hobbi.ro */
.post-card-meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-card-meta time {
  font-weight: 600;
  color: var(--blue);
  font-size: 13px;
}

.meta-sep { opacity: 0.3; }

/* Sageata dreapta-jos ca pe hobbi.ro */
.post-card-arrow {
  width: auto;
  height: auto;
  display: block;
  color: var(--pink) !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 16px;
  line-height: 1;
  font-family: inherit;
  font-variant-emoji: text;
  transition: transform var(--ease);
}

.post-card:hover .post-card-arrow {
  transform: translateX(3px);
}


/* ==========================================================================
   5. SINGLE ARTICLE — WIDE, FULL-WIDTH HERO IMAGE
   ========================================================================== */

.single-article {
  padding: 0;
}

/* Banner imagine full-width */
.single-featured-image {
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 0;
  max-height: 480px;
}

.single-featured-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* Layout continut */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px var(--gutter) 64px;
}

/* Header articol */
.single-header {
  margin-bottom: 36px;
}

.single-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pink);
  background: var(--pink-light);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}

.single-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--primary);
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}

.single-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--dark);
}

.single-author img {
  border-radius: 50%;
  width: 36px;
  height: 36px;
}

/* Taguri sub articol */
.single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.tag-pill {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-bg);
  padding: 6px 16px;
  border-radius: var(--r-pill);
  transition: all var(--ease);
}

.tag-pill:hover {
  background: var(--blue);
  color: var(--white);
}

/* Articole similare */
.related-posts {
  padding: 48px 0 0;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  max-width: var(--content-width);
}

.related-posts .sec-title {
  margin-bottom: 28px;
}

.related-posts .posts-grid {
  grid-template-columns: minmax(280px, 360px);
  gap: 0;
  margin-bottom: 0;
}

.related-posts .post-card {
  width: 100%;
}


/* ==========================================================================
   6. SIDEBAR & WIDGETS
   ========================================================================== */

/* Sidebar — stil hobbi.ro: lista cu sageata, separator, hover light */
.single-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
}

.sidebar {
  display: grid;
  gap: 20px;
}

.sidebar-custom {
  gap: 22px;
}

.sidebar-panel {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 0;
  align-self: start;
  height: fit-content;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 140, 192, 0.05);
}

.sidebar-panel-title {
  margin: 0;
  padding: 12px 24px 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0;
  color: var(--primary);
}

.sidebar-panel-title-icon {
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.sidebar-panel-title-icon-posts {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40' fill='none'%3E%3Crect x='6' y='7' width='28' height='26' rx='3' stroke='%23F95F8E' stroke-width='2'/%3E%3Cpath d='M12 15H28' stroke='%23F95F8E' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M12 20H28' stroke='%23F95F8E' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M12 25H22' stroke='%23F95F8E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.sidebar-panel-title-icon-comments {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40' fill='none'%3E%3Cpath d='M10 11.5C10 9.567 11.567 8 13.5 8H26.5C28.433 8 30 9.567 30 11.5V20.5C30 22.433 28.433 24 26.5 24H19L13 29V24H13.5C11.567 24 10 22.433 10 20.5V11.5Z' stroke='%23F95F8E' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M15 14.5H25' stroke='%23F95F8E' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M15 18.5H22' stroke='%23F95F8E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.sidebar-panel-title-text {
  display: block;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--primary);
}

.sidebar-search-panel {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.sidebar-search-panel .sidebar-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.sidebar-search-panel .sidebar-search-form.has-value {
  grid-template-columns: minmax(0, 0.92fr) auto;
}

.sidebar-search-panel .sidebar-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sidebar-search-panel .search-field {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px 14px 46px;
  border: 2px solid var(--yellow);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  font-family: 'Urbanist', sans-serif;
  color: var(--dark);
  outline: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23008BD2' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 18px center;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.sidebar-search-panel .search-field::placeholder {
  color: var(--muted);
}

.sidebar-search-panel .search-field:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26, 175, 230, 0.12);
}

.sidebar-search-panel .search-submit {
  min-height: 48px;
  min-width: 110px;
  padding: 12px 30px;
  white-space: nowrap;
  border: none;
  border-radius: var(--r-pill);
  background: var(--pink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(249, 95, 142, 0.18);
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease), opacity var(--ease), visibility var(--ease);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
}

.sidebar-search-panel .search-submit:hover {
  background: var(--pink-hover);
  transform: translateY(-1px);
}

.sidebar-search-panel .sidebar-search-form.has-value .search-submit {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

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

.sidebar-list-item {
  border-top: 1px solid var(--border);
}

.sidebar-list-link {
  display: block;
  position: relative;
  padding: 16px 48px 16px 24px;
  color: var(--primary);
  text-decoration: none;
  transition: background var(--ease);
}

.sidebar-list-link:hover {
  background: var(--light-blue);
}

.sidebar-list-text {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--primary);
}

.sidebar-comment-link .sidebar-list-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--primary);
}

.sidebar-list-arrow {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 16px;
  line-height: 1;
  color: var(--pink);
  font-family: inherit;
  font-variant-emoji: text;
  transition: transform var(--ease), color var(--ease);
}

.sidebar-list-link:hover .sidebar-list-arrow {
  transform: translate(2px, -2px);
  color: var(--pink-hover);
}

.sidebar .widget,
.sidebar .widget_block {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 140, 192, 0.05);
}

.widget-title,
.sidebar .wp-block-heading,
.sidebar .widget_block h2,
.sidebar .widget_block h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
  padding: 20px 24px 8px;
  border-bottom: none;
  text-transform: none;
  letter-spacing: -0.3px;
  line-height: 1.2;
  text-align: left;
}

.sidebar .widget ul,
.sidebar .widget_block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar .widget ul li,
.sidebar .widget_block ul li {
  padding: 0;
  border-bottom: 1px solid var(--border);
}

.sidebar .widget ul li:last-child,
.sidebar .widget_block ul li:last-child {
  border-bottom: none;
}

.sidebar .widget ul li a,
.sidebar .widget_block ul li a {
  display: block;
  position: relative;
  padding: 16px 52px 16px 24px;
  font-size: 15px;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.5;
  transition: background var(--ease);
  text-decoration: none;
}

.sidebar .widget ul li a::after,
.sidebar .widget_block ul li a::after {
  content: '↗';
  color: var(--pink);
  background: transparent;
  width: auto;
  height: auto;
  border-radius: 0;
  display: block;
  font-size: 16px;
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
  transition: transform var(--ease), color var(--ease);
}

.sidebar .widget ul li a:hover,
.sidebar .widget_block ul li a:hover {
  background: var(--light-blue);
}

.sidebar .widget ul li a:hover::after,
.sidebar .widget_block ul li a:hover::after {
  transform: translate(2px, -2px);
  color: var(--pink-hover);
}

/* Recent comments — widget specific */
.sidebar .widget_recent_comments ul,
.sidebar .widget_recent_comments ol,
.sidebar .widget_block .wp-block-latest-comments {
  padding: 0;
  margin: 0 !important;
}

.sidebar .widget_recent_comments li,
.sidebar .widget_block .wp-block-latest-comments li {
  padding: 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.65;
  color: var(--body);
  margin: 0 !important;
}

.sidebar .widget_recent_comments li:last-child,
.sidebar .widget_block .wp-block-latest-comments li:last-child {
  border-bottom: none;
}

.sidebar .widget_recent_comments li,
.sidebar .widget_recent_comments li a,
.sidebar .widget_block .wp-block-latest-comments li a {
  font-size: 14px;
  color: var(--primary);
}

.sidebar .widget_recent_entries ul,
.sidebar .widget_block .wp-block-latest-posts {
  padding: 0 !important;
  margin: 0 !important;
}

.sidebar .widget_recent_entries li,
.sidebar .widget_block .wp-block-latest-posts li {
  position: relative;
  border-bottom: 1px solid var(--border);
  transition: background var(--ease);
  margin: 0 !important;
  padding: 0 24px !important;
}

.sidebar .widget_recent_entries li:last-child,
.sidebar .widget_block .wp-block-latest-posts li:last-child {
  border-bottom: none;
}

.sidebar .widget_recent_entries li:hover,
.sidebar .widget_block .wp-block-latest-posts li:hover {
  background: var(--light-blue);
}

.sidebar .widget_recent_entries li a,
.sidebar .widget_block .wp-block-latest-posts li a {
  display: block !important;
  width: 100%;
  padding: 14px 44px 14px 0;
  font-weight: 700;
  background-image: none;
  margin: 0 !important;
}

.sidebar .widget_recent_entries li a::after,
.sidebar .widget_block .wp-block-latest-posts li a::after {
  top: 14px;
  right: 0;
}

.sidebar .widget_recent_entries li a::before,
.sidebar .widget_recent_comments li a::before,
.sidebar .widget_block .wp-block-latest-posts li a::before,
.sidebar .widget_block .wp-block-latest-comments li a::before {
  content: none !important;
}

.sidebar .widget_recent_comments li a,
.sidebar .widget_block .wp-block-latest-comments li a {
  display: block;
  padding: 14px 24px;
  line-height: 1.65;
  margin: 0 !important;
}

/* Search widget */
.sidebar .widget_search,
.sidebar .widget_block.wp-block-search {
  padding: 20px;
}

.sidebar .widget_search label,
.sidebar .widget_block.wp-block-search .wp-block-search__label {
  display: block;
  margin: 0 0 10px !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pink);
}

.sidebar .widget_search .search-form,
.sidebar .widget_block.wp-block-search .wp-block-search__inside-wrapper,
.sidebar-search-form {
  display: grid;
  gap: 12px;
}

.sidebar .widget_block.wp-block-search .wp-block-search__inside-wrapper {
  grid-template-columns: 1fr;
}

.sidebar-search-label,
.sidebar .widget_block.wp-block-search .wp-block-search__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pink);
}

.sidebar .widget_search input[type="search"],
.sidebar .widget_block.wp-block-search .wp-block-search__input,
.sidebar-search-form .search-field {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px 14px 46px;
  border: 2px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  font-family: 'Urbanist', sans-serif;
  color: var(--dark);
  outline: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23008BD2' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 18px center;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.sidebar .widget_search input[type="search"]::placeholder,
.sidebar .widget_block.wp-block-search .wp-block-search__input::placeholder,
.sidebar-search-form .search-field::placeholder {
  color: var(--muted);
}

.sidebar .widget_search input[type="search"]:focus,
.sidebar .widget_block.wp-block-search .wp-block-search__input:focus,
.sidebar-search-form .search-field:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26, 175, 230, 0.12);
}

.sidebar .widget_search .search-submit,
.sidebar .widget_block.wp-block-search .wp-block-search__button,
.sidebar-search-form .search-submit {
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  background: var(--pink);
  color: var(--white);
  border: none;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  box-shadow: 0 8px 20px rgba(249, 95, 142, 0.18);
}

.sidebar .widget_block.wp-block-search .wp-block-search__button {
  margin: 0 !important;
}

.sidebar .widget_search .search-submit:hover,
.sidebar .widget_block.wp-block-search .wp-block-search__button:hover,
.sidebar-search-form .search-submit:hover {
  background: var(--pink-hover);
  transform: translateY(-1px);
}

.sidebar .widget_text,
.sidebar .widget_block > *:not(.wp-block-heading),
.sidebar .widget_block .wp-block-group__inner-container {
  padding-left: 24px;
  padding-right: 24px;
}

.sidebar .widget p,
.sidebar .widget_block p {
  margin: 0;
  padding: 0 24px 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--body);
}


/* ==========================================================================
   7. ARCHIVE / SEARCH HEADERS
   ========================================================================== */

.archive-header {
  background: linear-gradient(180deg, #EDF6FD 0%, #FFF7EC 70%, var(--white) 100%);
  padding: 32px 0 28px;
  border-bottom: none;
}

.archive-header .container {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.archive-hero {
  display: block;
  position: relative;
}

.archive-hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.archive-star {
  position: absolute;
  line-height: 1;
  animation: floatStar 4s ease-in-out infinite;
}

.archive-star-pink {
  top: 22px;
  right: 12%;
  font-size: 58px;
  color: #EF4E73;
}

.archive-star-yellow {
  top: 164px;
  right: 4%;
  font-size: 40px;
  color: var(--yellow);
  animation-delay: 0.8s;
}

.archive-star-green {
  top: 92px;
  right: 1%;
  font-size: 24px;
  color: #15A34A;
  animation-delay: 1.5s;
}

.archive-star-blue {
  top: 196px;
  left: 6%;
  font-size: 20px;
  color: var(--blue);
  animation-delay: 2.1s;
}

.archive-hero-content .sec-label {
  margin-bottom: 12px;
}

.archive-hero-content .sec-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -1.6px;
  margin-bottom: 16px;
  color: var(--primary);
}

.archive-hero-content .sec-sub {
  max-width: 520px;
  margin: 0 0 26px;
  font-size: 20px;
  line-height: 1.4;
  color: var(--primary);
}

.archive-category-tabs .cat-pills {
  gap: 10px;
  flex-wrap: wrap;
}


/* ==========================================================================
   8. BREADCRUMBS
   ========================================================================== */

/* Breadcrumbs — stil hobbi.ro: linkuri albastre, bullet separator */
.breadcrumbs {
  padding: 20px var(--gutter);
  font-size: 14px;
  color: var(--muted);
  max-width: var(--max-width);
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.breadcrumbs::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--white);
  z-index: -1;
}

.breadcrumbs a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 139, 210, 0.3);
}

.breadcrumbs a:hover {
  text-decoration-color: var(--primary);
}

.breadcrumbs .sep {
  margin: 0 8px;
  opacity: 0.5;
  font-size: 8px;
  vertical-align: middle;
}


/* ==========================================================================
   9. PAGINARE
   ========================================================================== */

/* Paginare WP — evita conflict cu .nav-links din navigare */
.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 2px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--body);
  background: var(--white);
  transition: all var(--ease);
}

.page-numbers:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-bg);
}

.page-numbers.current {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.page-numbers.dots {
  border: none;
  background: none;
}


/* ==========================================================================
   10. FOOTER — STIL HOBBI.RO (LIGHT BLUE, CENTRAT)
   ========================================================================== */

.footer {
  background: #EDF3FA;
  padding: 72px 0 48px;
  text-align: center;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* Logo footer — stilul hobbi cu litere colorate */
.footer-logo-wrap {
  margin-bottom: 4px;
}

.footer-logo-link {
  text-decoration: none;
}

.footer-logo-img {
  display: block;
  height: 36px;
  width: auto;
  object-fit: contain;
}

.footer-logo {
  font-size: 40px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -2px;
}

.footer-logo .fl-o1 {
  color: var(--pink);
}

.footer-logo .fl-i {
  color: var(--yellow);
}

/* Link-uri footer — grid centrat */
.footer-nav { width: 100%; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li { list-style: none; }

.footer-links a {
  font-size: 15px;
  color: var(--blue);
  font-weight: 600;
  transition: color var(--ease);
}

.footer-links a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 4px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--blue);
  transition: color var(--ease), transform var(--ease);
}

.social-icon:hover {
  color: var(--pink);
  transform: translateY(-2px);
}

/* Copyright */
.footer-bottom {
  margin-top: 8px;
}

.footer-copy {
  font-size: 14px;
  color: var(--blue);
  opacity: 0.5;
  font-weight: 500;
}


/* ==========================================================================
   11. ENTRY CONTENT — CONTINUT ARTICOL (WIDE, AERISIT)
   ========================================================================== */

.entry-content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--primary);
  max-width: var(--content-width);
}

.entry-content h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 48px 0 18px;
  letter-spacing: -0.5px;
}

.entry-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 14px;
}

.entry-content h4 {
  font-size: 18px;
  margin: 28px 0 12px;
}

.entry-content p {
  margin-bottom: 22px;
  color: var(--primary);
}

.entry-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 139, 210, 0.3);
}

.entry-content a:hover {
  color: var(--blue-dark);
  text-decoration-color: var(--blue-dark);
}

.entry-content img {
  border-radius: 16px;
  margin: 28px 0;
}

.entry-content ul,
.entry-content ol {
  margin: 18px 0 24px 28px;
  list-style: initial;
}

.entry-content ol { list-style: decimal; }

.entry-content li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.entry-content blockquote {
  padding: 22px 28px;
  margin: 32px 0;
  background: #F8FBFF;
  border: 1px solid rgba(26, 175, 230, 0.12);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(11, 140, 192, 0.05);
  font-style: italic;
  color: var(--dark);
}

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

.entry-content pre,
.entry-content code {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 14px;
}

.entry-content code {
  padding: 3px 8px;
  border-radius: 6px;
}

.entry-content pre {
  padding: 24px;
  overflow-x: auto;
  margin: 28px 0;
}

.entry-content pre code {
  border: none;
  padding: 0;
  background: none;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  border-radius: 12px;
  overflow: hidden;
}

.entry-content th,
.entry-content td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
  font-size: 15px;
}

.entry-content th {
  background: var(--surface);
  font-weight: 700;
}

.entry-content figure { margin: 28px 0; }

.entry-content figcaption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}

.page-links {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-weight: 700;
}

.page-links-title {
  color: var(--primary);
}

.page-links .post-page-numbers {
  min-width: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(26, 175, 230, 0.08);
  color: var(--blue);
  text-align: center;
}

.page-links .post-page-numbers.current {
  background: var(--pink);
  color: var(--white);
}

/* Comments */
.comments-area {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(138, 155, 176, 0.2);
}

.comments-title,
.comment-reply-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}

.comments-form-disclosure {
  margin-top: 12px;
}

.comments-form-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  list-style: none;
}

.comments-form-toggle::-webkit-details-marker {
  display: none;
}

.comments-form-toggle::before {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(26, 175, 230, 0.08);
  color: var(--blue);
  font-size: 18px;
  line-height: 1;
}

.comments-form-disclosure[open] .comments-form-toggle::before {
  content: '-';
}

.comment-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 16px;
}

.comment-list .children {
  list-style: none;
  margin: 16px 0 0 20px;
  padding: 0;
  display: grid;
  gap: 16px;
}

.comment-body {
  background: #F8FBFF;
  border: 1px solid rgba(26, 175, 230, 0.12);
  border-radius: 20px;
  padding: 20px;
}

.comment-meta {
  margin-bottom: 12px;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--primary);
}

.comment-author img {
  border-radius: 50%;
}

.comment-metadata {
  margin-top: 6px;
  font-size: 13px;
}

.comment-metadata a {
  color: var(--muted);
}

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

.reply {
  margin-top: 14px;
}

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  background: var(--pink);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
  box-shadow: 0 10px 24px rgba(249, 95, 142, 0.18);
}

.comment-reply-link:hover {
  background: var(--pink-hover);
  transform: translateY(-1px);
}

.comment-reply-link,
.comment-reply-link:visited,
.comment-reply-link:hover,
.comment-reply-link:focus,
.comment-reply-link:active {
  color: var(--white);
}

.comment-respond {
  background: #FFF7EC;
  border-radius: 24px;
  padding: 24px;
  margin-top: 18px;
}

.comment-notes,
.logged-in-as {
  color: var(--muted);
  font-size: 14px;
}

.comment-form {
  display: grid;
  gap: 16px;
}

.form-submit {
  margin: 0;
  justify-self: start;
}

.form-submit .submit {
  width: auto;
  min-width: 0;
  white-space: nowrap;
  text-align: center;
  align-self: start;
}

.comment-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--primary);
}

.comment-form input:not([type="checkbox"]):not([type="submit"]),
.comment-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(138, 155, 176, 0.35);
  border-radius: 16px;
  background: var(--white);
  font: inherit;
  color: var(--primary);
}

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

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26, 175, 230, 0.1);
}

.comment-form-cookies-consent {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}

.comment-form-cookies-consent input {
  margin: 0;
  flex: 0 0 auto;
}

.comment-form-cookies-consent label {
  display: inline;
  margin: 0;
}

.no-comments {
  margin-bottom: 24px;
  color: var(--muted);
}

/* WordPress alignment classes */
.aligncenter { margin: 28px auto; text-align: center; }
.alignleft   { float: left; margin: 0 28px 18px 0; }
.alignright  { float: right; margin: 0 0 18px 28px; }
.alignwide   { margin-left: -60px; margin-right: -60px; max-width: calc(100% + 120px); }
.alignfull   { margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); max-width: 100vw; }


/* ==========================================================================
   12. RESPONSIVE
   ========================================================================== */

/* --- Tablet landscape --- */
@media (max-width: 1200px) {
  .posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .single-layout {
    grid-template-columns: 1fr 280px;
    gap: 40px;
  }
}

/* --- Tablet portrait --- */
@media (max-width: 1024px) {
  :root { --gutter: 24px; }

  .nav { padding: 0; }

  .site-main::before {
    top: 150px;
    background-size: 165% auto;
    background-position: center 0;
    opacity: 0.78;
  }

  .posts-grid { grid-template-columns: repeat(2, 1fr); }

  .archive-hero-content .sec-title {
    font-size: 40px;
  }

  .archive-hero-content .sec-sub {
    font-size: 17px;
  }

  .single-layout {
    grid-template-columns: 1fr;
    padding: 36px 24px 56px;
  }

  .single-sidebar { position: static; }

}

/* --- Mobile --- */
@media (max-width: 768px) {
  :root { --gutter: 24px; }

  .pt-nav { padding-top: 120px; }

  /* Nav */
  .nav {
    height: 120px;
    padding: 0;
  }
  .nav-logo-img { height: 40px; width: auto; }
  .nav-center { display: none; }
  .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    background: var(--light-blue);
    padding: 24px var(--gutter);
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  }

  .nav-links.open li { padding: 12px 0; }

  /* Hero */
  .insights-hero { padding-top: 100px; padding-bottom: 56px; }
  .insights-hero .sec-title { font-size: 28px; letter-spacing: -0.5px; }
  .insights-hero .sec-sub { font-size: 14px; margin-bottom: 24px; }
  .insights-search { flex-direction: column; max-width: 100%; }
  .insights-search input,
  .insights-search .btn-primary { width: 100%; }

  .site-main::before {
    top: 210px;
    background-size: 210% auto;
    background-position: center 0;
    opacity: 0.72;
  }

  /* Categorii */
  .categories-bar { margin-bottom: 24px; }
  .cat-pill { padding: 8px 14px; font-size: 12px; }

  .archive-header { padding: 30px 0 26px; }

  .archive-star-pink {
    top: 0;
    right: 8%;
    font-size: 40px;
  }

  .archive-star-yellow {
    top: 142px;
    right: 2%;
    font-size: 28px;
  }

  .archive-star-green {
    top: 78px;
    right: 0;
    font-size: 18px;
  }

  .archive-star-blue {
    top: 168px;
    left: 2%;
    font-size: 16px;
  }

  .archive-hero {
    display: block;
  }

  .archive-hero-content {
    text-align: center;
  }

  .archive-hero-content .sec-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .archive-category-tabs .cat-pills {
    justify-content: center;
  }

  /* Grid articole */
  .posts-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Single */
  .single-title { font-size: 26px; }
  .single-featured-image img { height: 240px; }
  .comment-list .children { margin-left: 12px; }
  .comment-respond { padding: 20px; }

  /* Footer */
  .footer-links { gap: 8px 16px; }
  .footer-links a { font-size: 13px; }
  .footer-logo-wrap img { height: 32px; }

  .sidebar-search-panel .sidebar-search-form {
    grid-template-columns: 1fr;
  }

  .sidebar-search-panel .search-submit {
    width: 100%;
  }

  /* Stelutele decorative — ascunde pe mobil */
  .insights-hero::before,
  .insights-hero::after { display: none; }
}

/* --- Mobile small --- */
@media (max-width: 480px) {
  :root { --gutter: 20px; }

  .pt-nav { padding-top: 112px; }

  .nav {
    height: 112px;
    padding: 0;
  }
  .nav-logo-img { height: 38px; width: auto; }
  .insights-hero .sec-title { font-size: 24px; }

  .site-main::before {
    top: 250px;
    background-size: 260% auto;
    opacity: 0.68;
  }

  .single-featured-image img { height: 200px; }
  .single-title { font-size: 22px; }

  .post-card-body { padding: 14px; }
  .post-card-title { font-size: 15px; }
}

/* --- Nav actions pe mobile mic --- */
@media (max-width: 400px) {
  .nav-link-simple { font-size: 14px; }
  .nav-actions { gap: 6px; }
  .nav-logo-img { height: 26px; width: auto; }
}
