/* =========================================================
   BLOG DETAILS PAGE STYLING
   Etyon Foundation — direct hex colors used (no CSS variables)
   ========================================================= */

/* ---------- Layout wrapper ---------- */
.ul-blog-details {
    background-color: #f7f7f5;
}

.ul-blog-details .row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

/* ---------- Main image + date badge ---------- */
.ul-blog-details-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
}

.ul-blog-details-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.ul-blog-details-img .date {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #ff7a00;
    color: #ffffff;
    border-radius: 8px;
    padding: 10px 16px;
    text-align: center;
    line-height: 1.1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.ul-blog-details-img .date .number {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.ul-blog-details-img .date .txt {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    color: #ffe8d1;
}

/* ---------- Content block ---------- */
.ul-blog-details-content {
    background-color: transparent;
    padding: 15px;
    border-radius: 12px;
    /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); */
}

.ul-blog-infos {
    display: flex;
    gap: 25px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.ul-blog-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ul-blog-info .icon {
    color: #0a7d3c;
    font-size: 16px;
}

.ul-blog-info .text {
    color: #6b6b6b;
    font-size: 14px;
}

.ul-blog-details-title {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.ul-blog-details-content p {
    color: #4d4d4d;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ---------- Share section ---------- */
.ul-blog-details-share {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e6e6e6;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.ul-blog-details-share-title {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 15px;
}

.ul-social-links {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ul-social-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #0a7d3c;
    color: #ffffff;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.25s ease;
}

.ul-social-links li a:hover {
    background-color: #ff7a00;
}

/* ---------- Sidebar ---------- */
.ul-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ul-widget {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.ul-widget-title {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0a7d3c;
}

/* ---------- Search widget ---------- */
.ul-widget-search form {
    display: flex;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    overflow: hidden;
}

.ul-widget-search input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 14px;
    outline: none;
    color: #333333;
}

.ul-widget-search button {
    background-color: #0a7d3c;
    border: none;
    color: #ffffff;
    padding: 0 18px;
    cursor: pointer;
    font-size: 16px;
}

.ul-widget-search button:hover {
    background-color: #ff7a00;
}

/* ---------- Categories widget ---------- */
.ul-widget-categories ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ul-widget-categories li {
    border-bottom: 1px dashed #e0e0e0;
}

.ul-widget-categories li:last-child {
    border-bottom: none;
}

.ul-widget-categories li a {
    display: block;
    padding: 10px 0;
    color: #4d4d4d;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.ul-widget-categories li a:hover {
    color: #ff7a00;
    padding-left: 6px;
}

/* ---------- Recent posts widget ---------- */
.ul-widget-post {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.ul-widget-post:last-child {
    margin-bottom: 0;
}

.ul-widget-post-img {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
}

.ul-widget-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ul-widget-post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ul-widget-post-title {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 6px;
}

.ul-widget-post-title:hover {
    color: #0a7d3c;
}

.ul-widget-post-date {
    color: #999999;
    font-size: 12px;
}

/* ---------- Tags widget ---------- */
.ul-widget-tags ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ul-widget-tags li a {
    display: inline-block;
    padding: 7px 16px;
    background-color: #f0f0ee;
    color: #4d4d4d;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ul-widget-tags li a:hover {
    background-color: #0a7d3c;
    color: #ffffff;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .ul-blog-details-img img {
        height: 280px;
    }

    .ul-blog-details-content {
        padding: 22px;
    }

    .ul-blog-details-title {
        font-size: 24px;
    }
}