/* Layout */
.wmc-container { max-width: 1140px; margin: 0 auto; padding: 24px 16px; }
.wmc-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
@media (max-width: 992px){ .wmc-grid { grid-template-columns: 1fr; } 
}


/* Archive */
.wmc-archive-header { margin-bottom: 16px; }
.wmc-archive-title { font-size: 28px; margin: 0 0 8px; }
.wmc-posts { display: grid; grid-template-columns: 1fr; row-gap: 28px; }
.wmc-post { border-bottom: 1px solid #eee;  }
.wmc-thumb {
    display: block;
    width: 50%;
    background: #f5f5f7;
    overflow: hidden;
    margin-bottom: 0px;
    position: relative;
    padding-top: 50%;
    background: orange;
}
.wmc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wmc-noimg { display:flex; align-items:center; justify-content:center; width:100%; height:100%; color:#666; font-size:14px; }
.wmc-post-title { font-size: 22px; line-height: 1.3; margin: 6px 0 8px; }
.wmc-post-title a { text-decoration: none; color: #111; }
.wmc-post-title a:hover { text-decoration: underline; }
.wmc-meta { font-size: 13px; color: #6b7280; }
.wmc-meta a { color: #6b7280; text-decoration: underline; }
.wmc-meta a:hover { color: #111; }

.wmc-pagination { margin-top: 28px; }
.wmc-pagination ul { list-style: none; padding: 0; margin: 0; display:flex; flex-wrap:wrap; gap: 6px; }
.wmc-pagination li a, .wmc-pagination li span {
    display: inline-block;
    padding: 6px 10px;
    border: transparent;
    border-radius: 4px;
    text-decoration: none;
    color: #111;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.wmc-post-title a, .wmc-post-title a:hover {
    text-decoration: none!important;
    color: var(--the7-links-color);
}
article img {
    transition: 0.3s;
}
.wmc-pagination li .current { box-shadow:0px 0px 5px 5px rgba(0,0,0,0.1) ; color:#000;  }

.wmc-col-sidebar .widget { margin-bottom: 22px; }
.wmc-col-sidebar .widget-title { font-size: 18px; margin: 0 0 10px; }
.wmc-col-sidebar ul { padding-left:0px; }
.wmc-col-sidebar li { margin: 6px 0; }

/* --- Single page styles to mimic the reference layout --- */
.wmc-news-single .wmc-single-title { font-size: 30px; line-height: 1.25; margin: 0 0 6px; }
.wmc-news-single .wmc-single-meta { font-size: 14px; color:#374151; display:flex; flex-direction:column; gap:6px; margin-bottom: 18px; }
.wmc-news-single .wmc-single-meta .wmc-meta-row strong { font-weight:600; }
.wmc-news-single .wmc-single-meta .wmc-meta-sep { display:inline-block; width:8px; }

.wmc-news-single .wmc-single-thumb { margin: 16px 0 18px; }
.wmc-news-single .wmc-single-thumb img { width:100%; height:auto; display:block; border-radius: 6px; }

.wmc-news-single .wmc-entry-content { font-size: 16px; line-height: 1.75; color:#111827; }
.wmc-news-single .wmc-entry-content h2 { font-size: 24px; margin-top: 22px; margin-bottom: 10px; }
.wmc-news-single .wmc-entry-content h3 { font-size: 20px; margin-top: 18px; margin-bottom: 8px; }
.wmc-news-single .wmc-entry-content p { margin: 0 0 14px; }
.wmc-news-single .wmc-entry-content ul, 
.wmc-news-single .wmc-entry-content ol { margin: 0 0 16px 22px; }

.wmc-post-nav { margin-top: 24px; }
.wmc-post-nav-inner { display:flex; justify-content:space-between; gap: 10px; }
.wmc-post-nav a { text-decoration:none; border:1px solid #e5e7eb; padding:8px 12px; border-radius:4px; color:#111; }
.wmc-post-nav a:hover { background:#111; color:#fff; border-color:#111; }

.wmc-comments { margin-top: 30px; }
.wmc-post {
    display: flex;
/*     align-items: center; */
}
article.wmc-post {
    box-shadow: 0px 0px 7px 5px rgba(0,0,0,0.1);
}
.wmc-post > div {
    width: 50%;
    padding: 30px;
}

.wmc-thumb img {
    position: absolute;
    left: 0px!important;
    width: 100%;
    height: 100%!important;
    top: 0;
    bottom: 0px;
}
li.wmc-popular-item {
    display: flex;
	margin-bottom:20px;
    align-items:top;
}
li.wmc-popular-item .wmc-popular-thumb {
    width: 30%;
    padding-top: 36%;
     position: relative;
}

.wmc-popular-meta {
    width: 70%;
    position: relative;
    
}
.wmc-popular-thumb img {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
}
a.wmc-popular-title {
    text-decoration: none;
    font-size: 14px;
    margin: 0px 0px 0px 10px;
    display: inline-block;
    line-height: 1.4;
}
a.submit {
    width: 78px!important;
    background: #97d045;
    margin-right: -11px;
    display: block;
    color: #000!important;
}
form.searchform {
    border-radius: 100px;
    border: 1px solid #cdcdcd;
    overflow: hidden;
}

form.searchform input {
    border: 1px solid transparent;
    outline: none;
    padding: 10px 20px;
}
/* --- HERO BANNER --- */
/* --- HERO like bravonet.digital single --- */
.wmc-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 420px;              /* tall header */
  background-size: cover;
  background-position: center;
}
.wmc-hero--noimg { background: #0f172a; }

.wmc-hero-overlay {
  position: absolute; inset: 0;
  /* subtle dark overlay so white text pops */
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.45));
}

.wmc-hero .wmc-container { position: relative; z-index: 1; width: 100%; }
.wmc-hero-inner { padding: 64px 0 48px; }

.wmc-hero-title {
  color: #fff;
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 18px;
  max-width: 920px;
}

.wmc-hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
.wmc-hero-label {
  display: block;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 6px;
}
.wmc-hero-value {
  color: #fff;
  font-size: 14px;
}
.wmc-hero-value a { color: #fff; text-decoration: underline; }

/* Responsive */
@media (max-width: 992px) {
  .wmc-hero { min-height: 340px; }
  .wmc-hero-title { font-size: 34px; }
}
@media (max-width: 768px) {
  .wmc-hero { min-height: 260px; }
  .wmc-hero-title { font-size: 26px; }
  .wmc-hero-meta { grid-template-columns: 1fr; gap: 10px; }
}

.single-news .wf-wrap {
    width: 100%!important;
    padding: 0px!important;
}
.single-news .wmc-container {
	max-width: 1000px;
	
}
.single-news #main {
    padding-top: 0px;
}
/* Keep your existing .wmc-news-single content styles below */

.wmc-hero-meta {

    width: 50%;
}
.wmc-nav-next a , .wmc-nav-prev a {
    border: 0px!important;
    display: block;
}
.wmc-nav-next {
    display: flex;
}

.wmc-nav-next , .wmc-nav-prev {
    width: 40%;
}
.wmc-nav-prev span.wmc-arrow:after {content: 'Older Posts';display: inline-block;}
.wmc-nav-next span.wmc-arrow:Before {content: 'New Posts';display: inline-block;}

span.wmc-arrow {
    display: block;
    display: flex;
    gap: 5px;
    color: gray;
    align-items: center;
}

.wmc-nav-next a {
    display: flex;
    flex-direction: column-reverse;
}

.wmc-nav-next  span.wmc-arrow {
    justify-content: end;
}

.wmc-nav-prev {
    justify-content: start;
    text-align: left;
}
.wp-block-image img:hover{
	transform: scale(1) !important;
}
.wmc-nav-next a:hover, .wmc-nav-prev a:hover {
    color: #97d045;
}
article * {
    box-sizing: border-box!important;
}
/* ===== Timeline connector lines (no dots) ===== */
.mc-timeline {
  --line: #cfd4dd;      /* spine + connector color */
  --accent: #1d4ed8;    /* not used now but keep if needed */
  --gap: 64px;          /* distance from spine to text on desktop */
}

/* spine in the middle */
.mc-items { position: relative; list-style: none; margin:0; padding:10px 0 8px; }
.mc-items::before{
  content:""; position:absolute; left:50%; top:0; bottom:0;
  width:3px; background:var(--line); transform:translateX(-50%);
}

/* item halves */
.mc-item{ position:relative; width:50%; padding:12px 34px; box-sizing:border-box; }
.mc-item:nth-child(odd){ text-align:right; padding-right:var(--gap); }
.mc-item:nth-child(even){ margin-left:50%; padding-left:var(--gap); }

/* ---- connector line from spine to the content ---- */
.mc-item::before{
  content:""; position:absolute; top:1.35em;      /* aligns with year text */
  height:2px; background:var(--line);
}
.mc-item:nth-child(odd)::before{       /* left column */
  right:0;                              /* start at spine (center edge of item) */
  width:22px;                    /* extend to the text block */
}
.mc-item:nth-child(even)::before{       /* right column */
  left:0;
  width:22px;
}

/* content */
.mc-card{ display:inline-block; text-align:inherit; }
.mc-year{ margin:0; font-size:18px; font-weight:700; color:#111827; }
.mc-text{ margin:2px 0 0; color:#6b7280; font-size:14px; }

/* responsive: one column, spine on left, short connector to text */
@media (max-width:768px){
  .mc-timeline{ --gap:46px; }          /* content offset from left */
  .mc-items::before{ left:18px; transform:none; }  /* spine 18px from left */
  .mc-item,
  .mc-item:nth-child(even){
    width:100%; margin-left:0; text-align:left;
    padding:14px 14px 14px var(--gap);
  }
  .mc-item::before{
    left:18px;                          /* from spine */
    width:calc(var(--gap) - 18px);      /* to the text start */
  }
}
ol.mc-items {
    list-style: none!important;
}
@media (max-width: 776px){

	.wmc-thumb {
    padding-top: 50%!important;

}
	.wmc-hero-meta {

    width: 100%;
}
	.wmc-post {
    flex-direction: column;
}
	.wmc-post > div, .wmc-thumb {
    width: 100%;
    padding: 30px;
}
}