/* ==========================================
   AAPA BLOG - COMMON
========================================== */

.aapa-blog-list,
.aapa-blog-single {
    background: #fff;
    padding: 55px 0 90px;
    color: #26313f;
}

.aapa-blog-list .container,
.aapa-blog-single .container {
    max-width: 1200px;
    margin: auto;
}

.aapa-blog-list a,
.aapa-blog-single a {
    text-decoration: none;
}

.blog-list-heading {
    margin-bottom: 45px;
    text-align: center;
}

.blog-list-heading h1 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-list-heading p {
    color: #8a93a4;
}

/* ==========================================
   BLOG LIST - IMAGE LEFT / CONTENT RIGHT
========================================== */

.aapa-blog-row {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    padding: 0 0 45px;
    margin-bottom: 45px;
    border-bottom: 1px solid #e5e5e5;
}

.aapa-blog-image {
    position: relative;
    width: 100%;
}

.aapa-blog-image > a {
    display: block;
}

.aapa-blog-image img {
    width: 100%;
    /*height: 310px;*/
    object-fit: cover;
    display: block;
}
.aapa-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #ff9f13;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.2s ease;
}

.aapa-back-btn:hover {
    background: #e68a00;
    color: #fff;
    transform: translateX(-3px);
}

.aapa-date-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 44px;
    padding: 8px 3px;
    background: #fff;
    border-left: 3px solid #15b7d2;
    text-align: center;
    color: #111;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.aapa-date-badge span {
    display: block;
    font-size: 11px;
}

.aapa-date-badge strong {
    display: block;
    font-size: 21px;
    line-height: 1.2;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    margin: 4px 0;
}

.aapa-blog-info h2 {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
    margin: 0 0 8px;
}

.aapa-blog-info h2 a {
    color: #253040;
}

.aapa-blog-info h2 a:hover {
    color: #ff9f13;
}

.aapa-blog-meta {
    font-size: 13px;
    color: #a0a8b6;
    margin-bottom: 12px;
}

.aapa-blog-meta span {
    padding: 0 5px;
}

.aapa-blog-excerpt {
    color: #8c96a8;
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 10px;
}

.aapa-blog-details {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #26313f;
}

.aapa-blog-details:hover {
    color: #ff9f13;
}

.aapa-blog-details span {
    font-size: 19px;
    vertical-align: middle;
}

.aapa-blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.aapa-blog-pagination a {
    padding: 9px 18px;
    background: #f4f5f7;
    color: #26313f;
    border-radius: 5px;
}

/* ==========================================
   BLOG DETAILS - TWO COLUMNS
========================================== */

.aapa-single-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.3fr) minmax(260px, 1fr);
    gap: 25px;
    align-items: start;
}

.aapa-single-content {
    min-width: 0;
}

.aapa-single-cover {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px;
}

.aapa-single-meta {
    font-size: 13px;
    color: #9ca6b5;
    margin-bottom: 12px;
}

.aapa-single-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 25px;
}

.aapa-article-body {
    font-size: 16px;
    color: #8490a2;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.aapa-article-body p {
    margin-bottom: 18px;
}

.aapa-article-body h2,
.aapa-article-body h3 {
    color: #26313f;
    margin: 28px 0 14px;
    font-weight: 700;
}

.aapa-article-body img {
    max-width: 100%;
    height: auto;
}

.aapa-article-body a {
    color: #008da8;
    text-decoration: underline;
}

/* ==========================================
   SIDEBAR
========================================== */

.aapa-blog-sidebar {
    width: 100%;
}

.aapa-sidebar-box {
    background: #e8e8e8;
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 2px;
}

.quote-box {
    padding: 20px;
    margin-bottom: 20px;
}

.quote-inner {
    border-left: 3px solid #111;
    background: #dedede;
    padding: 15px 12px;
}

.quote-inner p {
    color: #222;
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 10px;
}

.quote-inner small {
    font-size: 11px;
    line-height: 1.4;
    color: #333;
}

.aapa-sidebar-heading {
    background: #e8e8e8;
    padding: 20px;
    margin-bottom: 8px;
}

.aapa-sidebar-heading h3 {
    font-size: 23px;
    font-weight: 700;
    margin: 0;
    color: #26313f;
}

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

.aapa-sidebar-links li {
    margin-bottom: 13px;
}

.aapa-sidebar-links li:last-child {
    margin-bottom: 0;
}

.aapa-sidebar-links a {
    color: #8791a1;
    font-size: 12px;
    line-height: 1.6;
}

.aapa-sidebar-links a:hover {
    color: #ff9f13;
}

/* ==========================================
   SOCIAL SHARE
========================================== */

.aapa-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    border-top: 1px solid #e5e5e5;
    margin-top: 40px;
    padding-top: 25px;
}

.aapa-share-buttons strong {
    width: 100%;
    margin-bottom: 8px;
}

.aapa-share-buttons a,
.aapa-share-buttons button {
    display: inline-block;
    background: #f4f5f7;
    border: 1px solid #e2e5e9;
    color: #26313f;
    padding: 9px 14px;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
}

.aapa-share-buttons a:hover,
.aapa-share-buttons button:hover {
    background: #ff9f13;
    border-color: #ff9f13;
    color: #fff;
}

.aapa-back-blog {
    display: inline-block;
    margin-top: 25px;
    color: #26313f;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 991px) {

    .aapa-single-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .aapa-blog-sidebar {
        margin-top: 30px;
    }

}

@media (max-width: 767px) {

    .aapa-blog-list,
    .aapa-blog-single {
        padding: 30px 0 60px;
    }

    .aapa-blog-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .aapa-blog-image img {
        height: auto;
        max-height: 400px;
        object-fit: cover;
    }

    .aapa-blog-info h2 {
        font-size: 20px;
    }

    .aapa-blog-excerpt {
        font-size: 14px;
    }

    .aapa-single-title {
        font-size: 24px;
    }

}