/*
Theme Name: Prespa Child
Template: prespa
*/

.prespa-post-container .post-thumbnail img{
    height: auto;
}


li.dark-mode-menu-item{
	display: none;
}


/*.site-wrapper{
	border-radius:10px;
	background: #c6c6c6;
}
*/

/*
article{
	border:1px solid;
	border-radius:10px;
	transition: all 0.3s ease;
}

article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
*/


article {
    transition: background-color 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
	border:1px solid;
}

article:hover {
    background-color: #f5f5f5;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* =====================================================
   SINGLE POST — Full Width Layout
   Targets only single post pages via body class
   Listing/archive pages are completely unaffected
   ===================================================== */

/* Expand the main content to full width when sidebar is absent */
body.single-post-fullwidth .site-wrapper {
    display: block; /* Override any flex/grid that reserves space for sidebar */
}

body.single-post-fullwidth #primary.single-post-no-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
}

/* Hide sidebar just in case it still renders (belt-and-suspenders) */
body.single-post-fullwidth #secondary,
body.single-post-fullwidth .widget-area {
    display: none !important;
}

/* Optional: cap content width for comfortable reading on wide screens */
body.single-post-fullwidth .entry-content,
body.single-post-fullwidth .entry-header {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.wpcf7 table input[type="text"],
.wpcf7 table input[type="email"] {
  width: 100%;
  box-sizing: border-box;
}

/* Sidebar Related Posts */
.related-posts-widget {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  position: sticky;
  top: 20px;
}

.related-posts-widget h3 {
  font-size: 18px;
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
}

.related-posts-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-posts-widget ul li {
  padding: 10px 0;
  border-bottom: 1px solid #ececec;
}

.related-posts-widget ul li:last-child {
  border-bottom: none;
}

.related-posts-widget ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  line-height: 1.4;
}

.related-posts-widget ul li a img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.related-posts-widget ul li a:hover span {
  color: #0073aa;
}

/* Stack on mobile */
@media (max-width: 768px) {
  .site-wrapper > div[style] {
    flex-direction: column !important;
  }
  .site-wrapper aside {
    max-width: 100% !important;
    min-width: unset !important;
  }
}


/* =====================================================
   SINGLE POST — 2 Column Layout with Custom Sidebar
   ===================================================== */

/* Two-column grid — replaces the old inline flex div */
.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: flex-start;
    max-width: 100%;
}

/* Sidebar sticks while scrolling */
.single-post-sidebar {
    position: sticky;
    top: 30px;
    margin-top: 35px;
}

/* ── Shared widget card ── */
.single-post-sidebar .sp-widget {
    background: #ffffff;
    border: 1px solid;
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 24px;

}

.single-post-sidebar .sp-widget:last-child {
    margin-bottom: 0;
}

/* Widget title */
.single-post-sidebar .sp-widget__title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #111827;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f3f4f6;
}

/* ── Related Posts ── */
/*
.sp-related-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sp-related-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.sp-related-item__thumb {
    flex-shrink: 0;
    width: 62px;
    height: 62px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
}

.sp-related-item__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.sp-related-item__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sp-related-item__title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.sp-related-item__title:hover {
    color: #8b5cf6;
}

.sp-related-item__date {
    font-size: 0.75rem;
    color: #9ca3af;
}
*/
/* ── Related Posts ── */

/* ── Related Posts (Image Left + Full Title) ── */

.sp-related-list {
    display: flex;
    flex-direction: column;
}

/* Each item */
.sp-related-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #e5e7eb; /* separator */
}

/* Remove separator from last */
.sp-related-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Image */
.sp-related-item__thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    border: 1px solid #e5e7eb;
}

.sp-related-item__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.sp-related-item:hover {
    transform: translateY(-2px);
    transition: 0.2s ease;
}

/* Content */
.sp-related-item__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

/* Title (NO CUT) */
.sp-related-item__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    line-height: 1.4;

    /* REMOVE truncation */
    display: block;
    overflow: visible;
    white-space: normal;
}

/* Hover */
.sp-related-item__title:hover {
    color: #8b5cf6;
}

/* Date */
.sp-related-item__date {
    font-size: 0.75rem;
    color: #9ca3af;
}


/* ── Categories ── */
.sp-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.sp-category-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid #f9fafb;
}

.sp-category-list li:last-child {
    border-bottom: none;
}

.sp-category-list li a {
    font-size: 0.875rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.sp-category-list li a:hover {
    color: #8b5cf6;
}

.sp-category-list .count {
    font-size: 0.72rem;
    color: #6b7280;
    background: #f3f4f6;
    border-radius: 999px;
    padding: 1px 8px;
}

/* ── Archive ── */
.sp-archive-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.sp-archive-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid #f9fafb;
}

.sp-archive-list li:last-child {
    border-bottom: none;
}

.sp-archive-list li a {
    font-size: 0.875rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.sp-archive-list li a:hover {
    color: #8b5cf6;
}

/* ── Responsive: stack on mobile ── */
@media (max-width: 768px) {
    .single-post-layout {
        grid-template-columns: 1fr;
    }

    .single-post-sidebar {
        position: static;
        margin-top: 0;
    }
}

.wpcf7 form{
    border: 1px solid;
    border-radius: 10px;
    padding: 10px;
}


.footer-content .social-icon .bi.bi-twitter-x {  fill: #b7b7c7 ;
}
.slide-menu ul li a .bi.bi-twitter-x {
  fill: white;
}

