/* ============================================
   GLOBAL STYLES
   ============================================ */

a {
	outline: none;
	text-decoration: none;
}

body {
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	color: var(--text-color);
}

/* ============================================
   MODERN BLOG CARD STYLES
   ============================================ */

.modern-blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.modern-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.blog-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-blog-card:hover .blog-card-image {
    transform: scale(1.1);
}

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 3rem;
}

.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 255, 0.95);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.blog-featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #000;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    z-index: 2;
}

.blog-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: #666;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card-meta i {
    color: #0000ff;
    font-size: 0.85rem;
}

.blog-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #1a1a1a;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #0000ff;
}

.blog-card-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
    font-size: 0.95rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0000ff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.blog-read-more:hover {
    gap: 12px;
    color: #0000cc;
}

.blog-read-more i {
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(4px);
}

.blog-empty-state {
    padding: 80px 20px;
    text-align: center;
}

.blog-empty-state .empty-icon {
    font-size: 5rem;
    color: #ddd;
    margin-bottom: 24px;
}

.blog-empty-state h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 12px;
}

.blog-empty-state p {
    color: #666;
    font-size: 1.1rem;
}

/* ============================================
   BLOG PAGE STYLES
   ============================================ */

/* Blog Main Section */
.blog-main-section {
    background: #f8f9fa;
}

/* Search and Filter Section */
.blog-search-filter-section {
    padding: 40px 0 20px;
    background: white;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.search-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.search-form-wrapper {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.blog-search-form {
    width: 100%;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.blog-search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: white;
}

.blog-search-input:focus {
    border-color: #0000ff;
    box-shadow: 0 0 0 3px rgba(0,0,255,0.1);
}

.blog-search-btn {
    position: absolute;
    right: 5px;
    background: #0000ff;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.blog-search-btn:hover {
    background: #0000cc;
    transform: scale(1.05);
}

.filter-dropdown-wrapper {
    min-width: 200px;
}

.blog-filter-form {
    width: 100%;
}

.blog-category-filter {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
}

.blog-category-filter:focus {
    border-color: #0000ff;
    box-shadow: 0 0 0 3px rgba(0,0,255,0.1);
}

.filter-reset-wrapper {
    min-width: 120px;
}

.filter-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-reset-btn:hover {
    background: #ff4444;
    color: white;
    border-color: #ff4444;
    text-decoration: none;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0000ff;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
}

.blog-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,255,0.15);
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ffd200 0%, #ffb700 100%);
    color: #0000ff;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(255,210,0,0.4);
}

/* Post Image */
.post-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-post-card:hover .post-image {
    transform: scale(1.1);
}

.post-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0000ff 0%, #0001ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 3rem;
}

.post-category-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Post Content */
.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #666;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item i {
    color: #0000ff;
}

.post-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.post-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #0000ff;
}

.post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.post-tag {
    background: #f0f0f0;
    color: #333;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.post-tag:hover {
    background: #0000ff;
    color: white;
}

/* Read More Button */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0000ff 0%, #0000cc 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,255,0.3);
    color: white;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.empty-icon {
    font-size: 5rem;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.8rem;
    color: #666;
    margin-bottom: 10px;
}

.empty-state p {
    color: #999;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0000ff;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back-home:hover {
    background: #0000cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,255,0.3);
    color: white;
}

/* ============================================
   MODERN NEWSLETTER SECTION
   ============================================ */

.modern-newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

.modern-newsletter-wrapper {
    background: linear-gradient(135deg, #0000ff 0%, #0002ff 100%);
    border-radius: 24px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.newsletter-decorative-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.newsletter-content-left {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-right: 20px;
}

.newsletter-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.newsletter-icon i {
    font-size: 2rem;
    color: #fff;
}

.newsletter-content-left h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.newsletter-content-left > p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.95;
}

.newsletter-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.feature-item i {
    color: #ffd700;
    font-size: 1.1rem;
}

.newsletter-form-wrapper {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.98);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modern-newsletter-form {
    width: 100%;
}

.modern-newsletter-message {
    padding: 14px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.4s ease;
}

.modern-newsletter-message.success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.modern-newsletter-message.error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-input-wrapper {
    position: relative;
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.1rem;
    z-index: 1;
    pointer-events: none;
}

.modern-newsletter-input {
    flex: 1;
    padding: 16px 20px 16px 50px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
}

.modern-newsletter-input:focus {
    border-color: #0000ff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.modern-newsletter-input.error {
    border-color: #dc3545;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.modern-newsletter-btn {
    background: linear-gradient(135deg, #0000ff 0%, #0002ff 100%);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.modern-newsletter-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.modern-newsletter-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modern-newsletter-btn i {
    transition: transform 0.3s ease;
}

.modern-newsletter-btn:hover:not(:disabled) i {
    transform: translateX(4px);
}

.modern-newsletter-btn.loading i {
    animation: spinIcon 1s linear infinite;
}

@keyframes spinIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.newsletter-privacy {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.newsletter-privacy i {
    color: #28a745;
    font-size: 0.9rem;
}

/* Responsive Design for Newsletter */
@media (max-width: 991px) {
    .modern-newsletter-wrapper {
        padding: 40px 30px;
    }
    
    .newsletter-content-left {
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .newsletter-icon {
        margin: 0 auto 24px;
    }
    
    .newsletter-features {
        align-items: center;
    }
}

@media (max-width: 767px) {
    .modern-newsletter-wrapper {
        padding: 30px 20px;
    }
    
    .newsletter-content-left h2 {
        font-size: 2rem;
    }
    
    .newsletter-form-wrapper {
        padding: 30px 20px;
    }
    
    .modern-input-wrapper {
        flex-direction: column;
    }
    
    .modern-newsletter-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Legacy Newsletter Section Styles */
.blog-newsletter-section {
    margin: 60px 0 40px;
}

.newsletter-container {
    background: linear-gradient(135deg, #0000ff 0%, #0303dd 100%);
    border-radius: 25px;
    padding: 50px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulseBg 3s ease-in-out infinite;
}

@keyframes pulseBg {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.newsletter-content p {
    opacity: 0.9;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-message {
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.newsletter-message.success {
    background: rgba(40, 167, 69, 0.9);
    color: white;
}

.newsletter-message.error {
    background: rgba(220, 53, 69, 0.9);
    color: white;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-group {
    display: flex;
    gap: 10px;
    position: relative;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    background: rgba(255,255,255,0.95);
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    border-color: #ffd700;
    background: white;
    box-shadow: 0 0 0 3px rgba(255,215,0,0.2);
}

.newsletter-input.error {
    border-color: #ff4444;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.newsletter-btn {
    background: #ffd700;
    color: #000;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.newsletter-btn:hover:not(:disabled) {
    background: #ffed4a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.4);
}

.newsletter-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.newsletter-btn i {
    transition: transform 0.3s ease;
}

.newsletter-btn:hover:not(:disabled) i {
    transform: translateX(3px);
}

.newsletter-btn.loading i {
    animation: spinIcon 1s linear infinite;
}

@keyframes spinIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design for Blog Page */
@media (max-width: 1200px) {
    .blog-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 25px;
    }

    .search-filter-container {
        gap: 15px;
    }

    .search-form-wrapper {
        min-width: 220px;
    }

    .filter-dropdown-wrapper {
        min-width: 180px;
    }

@media (max-width: 768px) {
    .blog-search-filter-section {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .search-filter-container {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .search-form-wrapper,
    .filter-dropdown-wrapper {
        min-width: auto;
    }

    .blog-search-input {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px 55px 14px 18px;
    }

    .blog-search-btn {
        width: 45px;
        height: 45px;
    }

    .blog-category-filter {
        padding: 14px 45px 14px 18px;
        font-size: 16px;
    }

    .filter-reset-btn {
        padding: 14px 20px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .blog-search-filter-section {
        padding: 25px 15px;
        margin-bottom: 15px;
    }

    .search-filter-container {
        gap: 15px;
    }

    .blog-search-input {
        padding: 12px 50px 12px 16px;
    }

    .blog-search-btn {
        width: 42px;
        height: 42px;
    }

    .blog-category-filter {
        padding: 12px 40px 12px 16px;
    }

    .filter-reset-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
}
}

@media (max-width: 992px) {
    .blog-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }

    .post-content {
        padding: 20px;
    }

    .post-image-container {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .blog-main-section {
        padding: 40px 0;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .section-header p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .post-content {
        padding: 20px;
    }

    .post-image-container {
        height: 200px;
    }

    .post-title {
        font-size: 1.3rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .post-excerpt {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .newsletter-container {
        padding: 35px 25px;
        margin: 40px 0;
    }

    .newsletter-content h3 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .newsletter-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .input-group {
        flex-direction: column;
        gap: 15px;
    }

    .newsletter-input {
        padding: 14px 18px;
        font-size: 1rem;
    }

    .newsletter-btn {
        padding: 14px 25px;
        font-size: 1rem;
    }

    .empty-state {
        padding: 60px 20px;
    }

    .empty-state h3 {
        font-size: 1.6rem;
    }

    .empty-state p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .blog-main-section {
        padding: 30px 0;
    }

    .blog-posts-grid {
        gap: 20px;
    }

    .section-header {
        margin-bottom: 25px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .post-content {
        padding: 18px;
    }

    .post-image-container {
        height: 180px;
    }

    .post-title {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .post-excerpt {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .post-tags {
        gap: 6px;
        margin-bottom: 15px;
    }

    .post-tag {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .read-more-btn {
        padding: 8px 18px;
        font-size: 0.9rem;
    }

    .newsletter-container {
        padding: 30px 20px;
        margin: 35px 0;
    }

    .newsletter-content h3 {
        font-size: 1.4rem;
    }

    .newsletter-content p {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }

    .newsletter-input {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .newsletter-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .empty-state {
        padding: 50px 15px;
    }

    .empty-icon {
        font-size: 4rem;
        margin-bottom: 15px;
    }

    .empty-state h3 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .empty-state p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .btn-back-home {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .post-meta {
        flex-direction: column;
        gap: 6px;
        margin-bottom: 12px;
    }

    .meta-item {
        font-size: 0.8rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .blog-posts-grid {
        gap: 18px;
    }

    .post-content {
        padding: 16px;
    }

    .post-image-container {
        height: 160px;
    }

    .featured-badge {
        top: 12px;
        left: 12px;
        padding: 4px 12px;
        font-size: 0.65rem;
    }

    .post-category-badge {
        bottom: 12px;
        right: 12px;
        padding: 4px 8px;
        font-size: 0.7rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.wrapper {
	max-width: 1280px;
	margin: 0 auto;
	width: 100%;
}

.padding-top {
	padding-top: 4px;
}

.padding-bottom {
	padding-bottom: 134px;
}

.blog-footer-con {
	padding-top: 100px;
}
/* ============================================
   BLOG LISTING STYLES
   ============================================ */

.single-blog-box {
	width: 540px;
	box-shadow: 3px 3px 25px rgba(0, 0, 0, 0.07);
	background: var(--secondary-color);
	overflow: hidden;
	border-radius: 24px;
}

.single-blog-box:hover h4 a {
	color: var(--accent);
}

.single-blog-outer-con {
	display: grid;
	gap: 50px 30px;
	margin-bottom: 70px;
	grid-template-columns: 48.6% 48.6%;
}

.single-blog-details {
	padding: 30px;
}

.single-blog-details h4 a {
	font-weight: 700;
	margin-bottom: 18px;
	color: var(--secondary-color);
}

.single-blog-details h4 a:hover {
	color: var(--accent);
}

.single-blog-details ul {
	display: flex;
	gap: 20px;
}

.single-blog-details ul li {
	font-size: 16px;
	line-height: 18px;
	padding-left: 20px;
	position: relative;
}

.single-blog-details ul li i {
	position: absolute;
	font-size: 14px;
	line-height: 16px;
	left: 0;
	top: 0;
	color: var(--accent);
}

.single-blog-details p {
	font-size: 16px;
	line-height: 24px;
	margin-bottom: 28px;
}

/* ============================================
   BLOG TABS & NAVIGATION
   ============================================ */

.blog-tabs-inner-section .nav-tabs {
	border: 0;
	margin-bottom: 40px;
	gap: 10px;
	justify-content: space-evenly;
	display: flex;
}

.blog-tabs-inner-section .nav-tabs .nav-item {
	margin: 0;
}

.blog-tabs-inner-section .nav-tabs a.nav-link {
	color: var(--text-color);
	font-size: 22px;
	border: none;
	padding: 13px 34px;
	border-radius: 14px;
	transition: 0.3s ease;
}

.blog-tabs-inner-section .nav-tabs .nav-link.active {
	color: var(--primary-color);
	background-color: var(--secondary-color);
}

.blog-tabs-inner-section .nav-tabs .nav-link:hover,
.blog-tabs-inner-section .nav-tabs .nav-link.active:hover {
	color: var(--primary-color);
	background-color: var(--secondary-color);
}

/* ============================================
   PAGINATION
   ============================================ */

.blog-tabs-inner-section .pagination {
	margin-bottom: 0;
	justify-content: center;
	gap: 2px;
	display: flex;
}

.blog-tabs-inner-section .pagination .page-link {
	padding: 11px 15px;
	margin-left: 0;
	font-size: 20px;
	line-height: 20px;
	color: var(--secondary-color);
	cursor: pointer;
	border: none;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.blog-tabs-inner-section .pagination .page-link:hover {
	color: var(--accent);
}

.blog-tabs-inner-section .pagination .page-link:focus {
	box-shadow: none;
}

.blog-tabs-inner-section .pagination .page-item.active .page-link {
	color: var(--primary-color);
	background-color: var(--accent);
	border-color: var(--accent);
}

.blog-tabs-inner-section .pagination .page-link i {
	color: var(--text-color);
	font-size: 14px;
	transition: color 0.3s ease;
}

.blog-tabs-inner-section .pagination .page-item:hover .page-link i {
	color: var(--primary-color);
}

.blog-tabs-inner-section .pagination .page-item.disabled:hover i {
	color: var(--text-color);
}
/* ============================================
   BUTTONS
   ============================================ */

.generic-btn2 a {
	font-size: 14px;
	letter-spacing: 1px;
	position: relative;
	font-weight: bold;
	color: var(--secondary-color);
	transition: all 0.3s ease;
}

.generic-btn2 a::before {
	content: "";
	background: var(--primary-color);
	width: 20px;
	height: 3px;
	position: absolute;
	left: 0;
	bottom: -9px;
	transition: all 0.3s ease;
}

.generic-btn2 a:hover {
	color: var(--accent);
	text-decoration: none;
}

.generic-btn2 a:hover::before {
	background-color: var(--accent);
}

.single-blog-details .generic-btn2 a::before {
	bottom: -7px;
}
/* ============================================
   SIDEBAR WIDGETS
   ============================================ */

.sidebar {
	font-size: 12px;
	position: relative;
	padding-top: 30px;
	z-index: 999;
	border-radius: 20px;
	background: var(--primary-color);
	box-shadow: 3px 3px 25px rgba(0, 0, 0, 0.07);
}

.sidebar .widget {
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid var(--border-color);
}

.sidebar .widget:last-child {
	margin: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.sidebar .widget-title,
.sidebar > h4 {
	font-size: 18px;
	line-height: 24px;
	margin-bottom: 20px;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--secondary-color);
}

/* ============================================
   SIDEBAR NEWSLETTER
   ============================================ */

.widget-newsletter .form-control {
	font-size: 14px;
	box-shadow: none;
	line-height: 18px;
	padding: 10px 16px;
	height: auto;
	background: var(--primary-color);
	border: 1px solid var(--accent);
	border-radius: 14px;
	transition: all 0.3s ease;
}

.widget-newsletter .form-control:focus {
	border-color: var(--accent);
	box-shadow: none;
}

.widget-newsletter .btn {
	font-weight: 600;
	height: 100%;
	border-radius: 0;
	padding: 8px 16px;
	background: var(--accent);
	color: var(--secondary-color);
	border-top-right-radius: 14px;
	border-bottom-right-radius: 14px;
	transition: all 0.3s ease;
}

.widget-newsletter .btn:hover {
	color: var(--accent);
	background: var(--primary-color);
	border-color: var(--accent);
}

.widget-newsletter .btn:focus {
	box-shadow: none;
}

/* ============================================
   SIDEBAR TABS
   ============================================ */

.sidebar .nav-tabs {
	margin-bottom: 30px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--border-color);
}

.sidebar .nav-tabs .nav-item {
	margin-bottom: -2px;
}

.sidebar .nav-tabs .nav-link {
	padding: 14px 24px;
	transition: 0.3s ease;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border: 0;
	color: var(--secondary-color);
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
}

.sidebar .nav-tabs .nav-link.active {
	color: var(--accent);
	background-color: transparent;
}

.tabs .nav-tabs .nav-link {
	border: 0;
	padding: 14px 24px;
	transition: 0.3s ease;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.sidebar .widget .tabs li > a {
	padding: 6px;
	font-size: 14px;
}

.sidebar .widget .tabs li > a:hover {
	color: var(--accent);
}

/* ============================================
   SIDEBAR THUMBNAILS
   ============================================ */

.sidebar .post-thumbnail-entry {
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid var(--border-color);
	position: relative;
	float: left;
	width: 100%;
}

.sidebar .post-thumbnail-entry:last-child,
.sidebar .widget-categories ul li:last-child {
	margin: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.sidebar .post-thumbnail-entry > img {
	height: 48px;
	width: 64px;
	margin-right: 10px;
	border-radius: 8px;
	float: left;
}

.sidebar .post-thumbnail-entry img + .post-thumbnail-content {
	padding-left: 72px;
}

.sidebar .post-thumbnail-list {
	position: relative;
	width: 100%;
}

.sidebar .post-thumbnail-list a,
.sidebar .tags a,
.load-more a {
	text-decoration: none;
	display: block;
	transition: all 0.3s ease;
}

.sidebar .post-thumbnail-list a {
	margin: -4px 0 0;
	color: var(--secondary-color);
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
}

.sidebar .post-thumbnail-list a:hover {
	color: var(--accent);
}

.sidebar .post-thumbnail-entry .post-category,
.sidebar .post-thumbnail-entry .post-date {
	font-size: 10px;
	color: var(--secondary-color);
	display: inline-block;
	margin: 0 10px 0 0;
}

.sidebar .post-thumbnail-entry .post-category i,
.sidebar .post-thumbnail-entry .post-date i {
	margin-right: 2px;
	color: var(--accent);
}

/* ============================================
   SIDEBAR TAGS
   ============================================ */

.sidebar .tags a {
	display: inline-block;
	font-size: 14px;
	line-height: 20px;
	padding: 5px 14px;
	margin: 0 2px 5px 0;
	border-radius: 8px;
	color: var(--accent);
	border: 1px solid var(--accent);
	transition: all 0.3s ease;
}

.sidebar .tags a:hover,
.sidebar .tags a.active,
.sidebar .tags a:active,
.sidebar .tags a:focus {
	color: var(--primary-color);
	background: var(--accent);
	text-decoration: none !important;
}

.sidebar .widget.tags-con {
	border: 0;
}

/* ============================================
   SIDEBAR CATEGORIES
   ============================================ */

.sidebar .widget-tweeter ul,
.sidebar .widget-twitter ul,
.sidebar .widget-categories ul {
	list-style: none;
	margin-bottom: 0;
	padding-left: 0;
}

.sidebar .widget-tweeter ul,
.sidebar .widget-twitter ul {
	padding-left: 22px;
}

.sidebar .widget-tweeter li,
.sidebar .widget-twitter li {
	font-size: 14px;
	margin-bottom: 18px;
	position: relative;
}

.sidebar .widget-tweeter:not([data-avatar="true"]) li::before,
.sidebar .widget-twitter:not([data-avatar="true"]) li::before {
	content: "\f099";
	margin-left: -22px;
	font-family: 'Font Awesome 5 Brands';
	position: absolute;
}

.sidebar .widget-tweeter small,
.sidebar .widget-twitter small {
	display: block;
	font-size: 12px;
	line-height: 20px;
	color: #999;
}

.sidebar .widget-categories ul li {
	margin-bottom: 10px;
	padding: 0 0 10px 28px;
	position: relative;
	border-bottom: 1px solid var(--border-color);
}

.sidebar .widget-categories ul li:before {
	position: absolute;
	content: "\f101";
	left: 0;
	top: 12px;
	font-size: 12px;
	padding-top: 2px;
	transition: all 0.3s ease;
	font-family: 'FontAwesome';
	transform: translate3d(0, -50%, 0);
}

.sidebar .widget-categories ul li a {
	color: var(--secondary-color);
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.sidebar .widget-categories ul li a:hover {
	color: var(--accent);
}

.sidebar .cat-count-span {
	float: right;
	color: var(--accent);
	font-size: 14px;
	line-height: 20px;
}

#blogslider .carousel-control-prev,
#blogslider .carousel-control-next {
	top: 50%;
	transform: translateY(-50%);
}

/* ============================================
   BLOG PAGE LISTING
   ============================================ */

.blogpage-section {
	position: relative;
	padding: 130px 0;
	width: 100%;
	float: left;
	z-index: 2;
}

.blogpage-section .blog_content {
	text-align: center;
}

.blogpage-section .blog_content h2 {
	margin-bottom: 46px;
}

.blogpage-section .blog-box {
	position: relative;
	background: var(--secondary-color);
	margin-bottom: 32px;
	box-shadow: 3px 3px 25px rgba(0, 0, 0, 0.07);
	width: 100%;
	overflow: hidden;
	border-radius: 24px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.blogpage-section .blog-box .lower-portion {
	padding: 20px 20px;
	border-bottom: 1px solid var(--border-color);
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	background: var(--primary-color);
}

.blogpage-section .blog-box .lower-portion i {
	font-size: 14px;
	color: var(--accent);
	margin-right: 2px;
	margin-bottom: 10px;
}

.blogpage-section .blog-box .lower-portion .text-mr {
	margin-right: 20px;
	color: var(--text-color);
	font-size: 16px;
	line-height: 22px;
}

.blogpage-section .blog-box .lower-portion h5 {
	font-size: 20px;
	line-height: 30px;
	margin-bottom: 0;
	color: var(--secondary-color);
	position: relative;
	letter-spacing: 0;
	word-spacing: 0;
	font-weight: 500;
	transition: all 0.3s ease;
}

.blogpage-section .blog-box .lower-portion a:hover h5 {
	color: var(--accent);
}

.blogpage-section .blog-box .button-portion {
	position: relative;
	padding: 15px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	flex-direction: row;
	background: var(--primary-color);
}

.blogpage-section .blog-box .button-portion span {
	color: var(--text-color);
}

.text-size-14 {
	font-size: 14px;
}

.blogpage-section .blog-box .button-portion .calendar-ml {
	font-size: 18px;
	color: var(--accent);
	margin-right: 5px;
	margin-bottom: 28px;
}

.blogpage-section .blog-box .button-portion .read_more {
	background: var(--accent);
	color: var(--primary-color);
	font-size: 14px;
	line-height: 22px;
	font-weight: 400;
	padding: 10px 24px;
	text-align: center;
	display: inline-block;
	transition: all 0.3s ease-in-out;
	overflow: visible;
	outline: none;
	border-radius: 14px;
	border: 1px solid transparent;
}

.blogpage-section .blog-box .button-portion .read_more:hover {
	color: var(--accent);
	background: transparent;
	border-color: var(--accent);
	text-decoration: none !important;
}

.blogpage-section .blog-box .lower-portion a {
	display: inline-block;
	text-decoration: none;
}

.blog-posts a {
	text-decoration: none;
}

.blog-posts p {
	font-size: 16px;
	line-height: 24px;
	margin-top: 10px;
	color: var(--text-color);
}

.load-more a {
	padding: 12px 25px;
	display: inline-block;
	border-radius: 14px;
	background-color: var(--accent);
	color: var(--secondary-color);
	font-size: 16px;
	line-height: 24px;
	border: 1px solid transparent;
	transition: all 0.3s ease-in-out;
	text-decoration: none;
}

.load-more a:hover {
	background-color: transparent;
	color: var(--accent);
	border-color: var(--accent);
	text-decoration: none !important;
}

/* ============================================
   SINGLE BLOG PAGE
   ============================================ */

.singleblog-section {
	position: relative;
	padding: 130px 0;
	width: 100%;
	float: left;
	z-index: 2;
}

.singleblog-section .main-box {
	position: relative;
	background: var(--primary-color);
	transition: all 0.3s ease-in-out;
	padding: 10px 15px 40px;
	width: 100%;
	border-radius: 24px;
	box-shadow: 3px 3px 25px rgba(0, 0, 0, 0.07);
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.singleblog-section .main-box .singleblog-image1 {
	margin-bottom: 30px;
}

.main-box figure.image1 {
	border-radius: 24px;
	overflow: hidden;
}

.singleblog-section .main-box .content1 {
	margin-left: 10px;
}

.singleblog-section .main-box .content1 h4 {
	margin-bottom: 18px;
	color: var(--secondary-color);
	transition: all 0.3s ease;
}

.singleblog-section .main-box .content1 i {
	font-size: 14px;
	color: var(--accent);
	margin-right: 4px;
	margin-bottom: 0;
}

.singleblog-section .main-box .content1 .calendar {
	font-size: 16px;
}

.singleblog-section .main-box .content1 .text-mr {
	margin-right: 10px;
}

.singleblog-section .main-box .content1 p {
	margin-bottom: 35px;
}

.singleblog-section .main-box .content2 {
	background: var(--accent);
	padding: 20px 32px 32px;
	margin-bottom: 34px;
	border-radius: 24px;
}

.singleblog-section .main-box .content2 .singleblog-quoteimage {
	margin-bottom: 22px;
}

.singleblog-section .main-box .content2 p {
	font-style: italic;
	color: var(--primary-color);
}

.singleblog-section .main-box .text {
	margin-bottom: 35px;
	margin-left: 15px;
}

.singleblog-section .main-box .singleblog-image2 {
	margin-bottom: 30px;
}

/* ============================================
   SINGLE BLOG CONTENT
   ============================================ */

.singleblog-section .content3 figure.image1 {
	border-radius: 24px;
	overflow: hidden;
}

.singleblog-section .content4 {
	padding: 0 14px;
	margin-bottom: 50px;
	position: relative;
}

.singleblog-section .content4 h5 {
	font-size: 22px;
	line-height: 30px;
	margin-bottom: 14px;
	color: var(--secondary-color);
	transition: all 0.3s ease;
}

.singleblog-section .content4 .tag {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-right: -40px;
}

.singleblog-section .content4 .tag li {
	display: contents;
}

.singleblog-section .content4 .tag .button {
	font-size: 16px;
	line-height: 26px;
	font-weight: 400;
	background: var(--accent);
	color: #ffffff;
	padding: 10px 18px;
	display: inline-block;
	text-align: center;
	transition: all 0.3s ease-in-out;
	margin-right: 4px;
	border-radius: 14px;
	border: 1px solid transparent;
}

.singleblog-section .content4 .tag .button2 {
	padding: 10px 24px;
}

.singleblog-section .content4 .tag .button:hover {
	background: transparent;
	border-color: var(--accent);
	color: var(--accent);
	text-decoration: none !important;
}

.singleblog-section .content4 .tag li:last-child {
	margin-right: 0;
}

/* ============================================
   SINGLE BLOG NAVIGATION
   ============================================ */

.singleblog-section .buttons {
	margin-bottom: 110px;
	padding: 0 15px 35px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid rgba(128, 141, 158, 15%);
}

.singleblog-section .buttons .prev-text,
.singleblog-section .buttons .next-text {
	font-size: 14px;
	line-height: 14px;
	font-weight: 700;
	position: relative;
	top: -20px;
	color: var(--primary-color);
	transition: all 0.3s ease-in-out;
}

.singleblog-section .buttons .prev-text {
	left: 24px;
}

.singleblog-section .buttons .next-text {
	right: 0;
}

.singleblog-section .buttons .prev,
.singleblog-section .buttons .next {
	position: relative;
	width: 56px;
	background-repeat: no-repeat;
	transition: all 0.3s ease-in-out;
	text-decoration: none !important;
}

.singleblog-section .buttons .prev {
	background-image: url(../images/single-blog-prev-image.webp);
	filter: brightness(0) saturate(100%) invert(58%) sepia(27%) saturate(6962%) hue-rotate(359deg) brightness(100%) contrast(108%);
	left: 0px;
}

.singleblog-section .buttons .next {
	background-image: url(../images/single-blog-next-image.webp);
	filter: brightness(0) saturate(100%) invert(58%) sepia(27%) saturate(6962%) hue-rotate(359deg) brightness(100%) contrast(108%);
	right: 0;
}

/* ============================================
   SINGLE BLOG SOCIAL ICONS
   ============================================ */

.singleblog-section .content4 .icon {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.singleblog-section .content4 .icon h5 {
	float: right;
}

.singleblog-section .content4 .icon .social-icons {
	position: relative;
	top: 48px;
	right: 0;
}

.singleblog-section .content4 .icon .social-icons ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.singleblog-section .content4 .icon .social-icons ul li {
	margin: 0 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	width: 40px;
	border-radius: 8px;
	background: var(--accent);
	transition: all 0.3s ease-in-out;
	border: 1px solid transparent;
}

.singleblog-section .content4 .icon .social-icons ul li:first-child {
	margin-left: 0;
}

.singleblog-section .content4 .icon .social-icons ul li:last-child {
	margin-right: 0;
}

.singleblog-section .content4 .icon .social-icons ul li a {
	padding: 10px;
	color: var(--primary-color);
	height: 40px;
	width: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.3s ease-in-out;
	border: 1px solid transparent;
}

.singleblog-section .content4 .icon .social-icons ul li a:hover {
	background: transparent;
	border-color: var(--accent);
	transform: translateY(-8px);
	text-decoration: none !important;
}

.singleblog-section .content4 .icon .social-icons ul li a i {
	color: var(--primary-color);
	transition: 0.3s ease-in-out;
}

.singleblog-section .content4 .icon .social-icons ul li a:hover i {
	color: var(--accent);
}

.singleblog-section .content5 {
	position: relative;
	text-align: center;
	margin-bottom: 45px;
}

.singleblog-section .content5 .singleblog-review1 {
	position: absolute;
	left: 0;
	right: 0;
	top: -62px;
	transition: all 0.3s ease-in-out;
}

.singleblog-section .content5 .singleblog-review1:hover {
	transform: translateY(-5px);
}

.singleblog-section .content5 .singleblog-review1 img {
	border-radius: 100px;
}

.singleblog-section .content5 .content {
	padding: 82px 65px 20px;
	background: var(--accent);
	border-radius: 24px;
}

.singleblog-section .content5 .content h4 {
	margin-bottom: 4px;
	font-weight: bold;
	color: var(--primary-color);
}

.singleblog-section .content5 .content span {
	display: block;
	margin-bottom: 14px;
	color: var(--primary-color);
}

.singleblog-section .content5 .content p {
	color: var(--primary-color);
}

.singleblog-section .content6 {
	padding: 0 15px;
	margin-bottom: 58px;
}

.singleblog-section .content6:after {
	content: "";
	border-bottom: 1px solid var(--border-color);
	position: absolute;
	width: 92%;
	height: 6px;
	left: 26px;
}

.singleblog-section .content6 h4 {
	margin-bottom: 34px;
	font-weight: bold;
	color: var(--secondary-color);
	position: relative;
}

.singleblog-section .content6 h4:after {
    content: "";
    border-bottom: 1px solid var(--border-color);
    position: absolute;
    width: 100%;
    height: 45px;
    left: 0;
}

.singleblog-section .content6 .comment {
	display: flex;
	margin: 0 0 24px 6px;
}

.singleblog-section .content6 .comment .image img {
	border-radius: 100px;
}

.singleblog-section .content6 .comment .content {
	padding: 13px 0 0 19px
}

.singleblog-section .content6 .comment h5 {
	font-size: 22px;
	line-height: 30px;
	margin-bottom: 2px;
	color: var(--secondary-color);
}

.singleblog-section .content6 .comment span {
	margin-bottom: -38px;
	display: block;
	color: var(--secondary-color);
}

.singleblog-section .content6 .comment .reply {
	font-size: 18px;
	line-height: 26px;
	font-weight: 400;
	background: var(--accent);
	color: #ffffff;
	padding: 12px 28px;
	text-align: center;
	transition: all 0.3s ease-in-out;
	position: relative;
	float: right;
	right: 0;
	top: -28px;
	border-radius: 10px;
	border: 1px solid transparent;
}

.singleblog-section .content6 .comment .reply:hover {
	background: transparent;
	color: var(--accent);
	border-color: var(--accent);
	text-decoration: none !important;
}

.singleblog-section .content6 .comment .text_holder p {
	display: inline-block;
	line-height: 24px;
	margin: 0 40px 12px 0;
	word-spacing: 1.6px;
}

.singleblog-section .content7 {
	padding: 0 15px;
}

.singleblog-section .content7 h4 {
	margin-bottom: 28px;
	color: var(--secondary-color);
}

.singleblog-section .content7 textarea {
	font-size: 16px;
	line-height: 20px;
	font-weight: 400;
	color: var(--text-color);
	padding: 18px 30px 20px 0;
	width: 100%;
	height: 120px;
	margin-bottom: 15px;
	resize: none;
	outline: none;
	overflow-y: auto;
	border: none;
	border-bottom: 1px solid var(--secondary-color);
}

.singleblog-section .content7 input {
	font-size: 16px;
	line-height: 20px;
	font-weight: 400;
	color: var(--text-color);
	padding: 14px 30px 14px 0;
	margin-bottom: 16px;
	width: 100%;
	overflow: visible;
	outline: none;
	border: none;
	border-bottom: 1px solid var(--secondary-color);
}

.singleblog-section .content7 .text-mb {
	margin-bottom: 26px;
}

.singleblog-section .content7 .post_comment {
	font-size: 16px;
	line-height: 20px;
	padding: 20px 38px;
	color: var(--primary-color);
	background-color: var(--accent);
	text-decoration: none;
	transition: all 0.3s ease-in-out;
	display: block;
	text-align: center;
	outline: none;
	border-style: none;
	border: 1px solid transparent;
}

.singleblog-section .content7 button.post_comment {
	margin-top: 20px;
	border-radius: 14px;
}
.singleblog-section .content7 .post_comment:hover {
	background: transparent;
	color: var(--accent);
	cursor: pointer;
	border-color: var(--accent);
}
.singleblog-section .box1 {
	background:var(--primary-color);
	padding: 34px 30px;
	margin-bottom: 20px;
	width: 110%;
	border-radius: 20px;
	box-shadow: 3px 3px 25px rgb(0 0 0 / 7%);
}
.singleblog-section .box1 h5 {
	text-align: center;
	margin-bottom: 20px;
	padding-bottom: 20px;
	position: relative;
}
.singleblog-section .box1 h5:after {
	content: "";
	border-bottom: 1px solid var(--border-color);
	position: absolute;
	width: 100%;
	height: 43px;
	left: 0;
}
.singleblog-section .box1 input {
	font-size: 16px;
	line-height: 22px;
	font-weight: 400;
	color: var(--text-color);
	background:var(--primary-color);
	border: 1px solid var(--accent);
	padding: 0 75px 0 18px;
	width: 100%;
	height: 58px;
	overflow: visible;
	outline: none;
	border-radius: 14px;
}

.singleblog-section .box1 input:focus {
	box-shadow: none;
}

.singleblog-section .box1 .search {
    position: absolute;
    font-size: 18px;
    right: 8px;
    top: 2px;
    width: 54px;
    height: 54px;
    color: var(--primary-color);
    border: 1px solid transparent;
    background: var(--accent);
    outline: none;
    box-shadow: none;
    transition: all 0.3s ease-in-out;
    border-radius: 14px;
}

.singleblog-section .box1 .search:hover {
	color: var(--accent);
	background: transparent;
	border: 1px solid var(--accent);
}

.singleblog-section .box2 {
	text-align: center;
}

.singleblog-section .box2 h5 {
	margin-bottom: 20px;
	padding-bottom: 20px;
}

.singleblog-section .box2 h5:after {
	content: "";
	border-bottom: 1px solid var(--border-color);
	position: absolute;
	width: 100%;
	height: 45px;
}

.singleblog-section .box2 ul li {
	margin-bottom: 10px;
}

.singleblog-section .box2 ul li a {
	color: var(--secondary-color);
}

.singleblog-section .box2 ul li a:hover {
	color: var(--accent);
}

.singleblog-section .box3 {
	text-align: center;
	padding: 30px 30px 60px;
}

.singleblog-section .box3 h5 {
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.singleblog-section .box3 h5:after {
	content: "";
	border-bottom: 1px solid var(--border-color);
	position: absolute;
	width: 100%;
	height: 45px;
	left: 0;
}

.singleblog-section .box3 .social-icons ul {
	display: flex;
	justify-content: center;
}

.singleblog-section .box3 .social-icons ul li a {
	padding: 10px;
	color: var(--primary-color);
}

.singleblog-section .box3 .social-icons ul li {
	margin: 0 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	width: 40px;
	border-radius: 8px;
	background: var(--accent);
	transition: .3s ease-in-out;
	border: 1px solid transparent;
}

.singleblog-section .box3 .social-icons ul li i {
	transition: .3s ease-in-out;
}

.singleblog-section .box3 .social-icons ul li:hover {
	background: transparent;
	transform: translateY(-8px);
	border-color: var(--accent);
}

.singleblog-section .box3 .social-icons ul li:hover i {
	color: var(--accent);
}

.singleblog-section .box3 .social-icons ul li:first-child {
	margin-left: 0;
}

.singleblog-section .box3 .social-icons ul li:last-child {
	margin-right: 0;
}

.singleblog-section .box3 .social-icons ul li .social-networks {
	font-size: 20px;
	background: transparent;
	border-radius: 100px;
	text-align: center;
	transition: all ease-in-out 0.3s;
	width: 45px;
	height: 45px;
	line-height: 45px;
	transition: all 0.3s ease-in-out;
}

.singleblog-section .box4 h5 {
	margin-bottom: 20px;
}

.singleblog-section .box4 h5:after {
	content: "";
	border-bottom: 1px solid var(--border-color);
	position: absolute;
	width: 100%;
	height: 45px;
	left: 0;
}

.singleblog-section .box4 .tag li {
	margin-right: 8px;
	display: contents;
}

.singleblog-section .box4 .tag .button {
	font-size: 16px;
	line-height: 26px;
	font-weight: 400;
	background: var(--accent);
	color: #ffffff;
	padding: 10px 18px;
	display: inline-block;
	text-align: center;
	transition: all 0.3s ease-in-out;
	margin-bottom: 4px;
	letter-spacing: 0.6px;
	border-radius: 14px;
	border: 1px solid transparent;
}
.singleblog-section .box4 .tag .button:focus {
	outline: none;
}
.singleblog-section .box5 {
	margin-bottom: 0 !important;
}
.singleblog-section .box5 h5 {
	margin-bottom: 20px;
}
.singleblog-section .box5 h5:after {
	content: "";
	border-bottom: 1px solid var(--border-color);
	position: absolute;
	width: 100%;
	height: 45px;
	left: 0px;
}
.singleblog-section .box5 .feed {
    display: flex;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 30px;
}
.singleblog-section .box5 .feed:after {
	content: "";
	border-bottom: 1px solid var(--border-color);
	position: absolute;
	width: 100%;
	height: 125px;
	left: 0;
}

.singleblog-section .box5 .feed4 {
	margin-bottom: 0 !important;
}

.singleblog-section .box5 .feed4:after {
	border-bottom: none;
}

.singleblog-section .box5 .feed .feed-image {
	width: 34%;
}
.singleblog-section .box5 .feed .feed-image img{
	border-radius: 14px;
}
.singleblog-section .box5 .feed a {
	font-size: 18px;
	line-height: 26px;
	font-weight: 400;
	text-decoration: none;
	width: 66%;
	padding: 8px 0 0 16px;
	transition: all 0.3s ease-in-out;
	position: relative;
	z-index: 1;
	color: var(--secondary-color);
}

.singleblog-section .box5 .feed a:hover {
	color: var(--accent);
}

.blogpage-section a:hover {
    color: var(--primary-color);
}
.singleblog-section .box4 .tag .button:hover {
	background: transparent;
	color: var(--accent);
	border-color: var(--accent);
	text-decoration: none;
}
/* BLOG PAGES */

.blogpage-section .twocolumn-blog .lower-portion {
	padding: 26px 30px;
}

.blogpage-section .threecolumn-blog .lower-portion {
	padding: 15px 16px;
}

.blogpage-section .threecolumn-blog .infinite-blog {
	background: var(--primary-color);
}

.blogpage-section .threecolumn-blog .button-portion {
	padding: 16px 16px;
}

.blogpage-section .threecolumn-blog .button-portion .read_more {
	padding: 8px 12px;
}

.blogpage-section .threecolumn-blog .lower-portion .text-mr {
	margin-right: 4px;
}

.blogpage-section .threecolumn-blog .lower-portion i {
	margin-bottom: 0px;
}

.blogpage-section .threecolumn-blog .button-portion .calendar-ml {
    margin-left: 0;
    margin-right: 1px;
}

.blogpage-section .fourcolumn-blog .lower-portion {
	padding: 15px 12px;
}

.blogpage-section .fourcolumn-blog .button-portion {
	padding: 16px 16px 16px 16px;
}

.blogpage-section .fourcolumn-blog .button-portion .date {
	font-size: 15px;
}

.blogpage-section .fourcolumn-blog .button-portion .read_more {
	padding: 10px 16px 10px 16px;
}

.blogpage-section .fourcolumn-blog .lower-portion .text-mr {
	margin-right: 8px;
}

.blogpage-section .fourcolumn-blog .lower-portion {
	font-size: 15px;
}

.blogpage-section .fourcolumn-blog .lower-portion i {
	margin-bottom: 6px;
}

.blogpage-section .sixcolumn-blog .lower-portion {
	padding: 15px 12px;
}

.blogpage-section .sixcolumn-blog .button-portion {
    padding: 16px 14px 16px 14px;
}

.blogpage-section .sixcolumn-blog .button-portion .read_more {
	padding: 10px 16px 10px 20px;
}

.blogpage-section .sixcolumn-blog .lower-portion .text-mr {
	margin-right: 6px;
}

.blogpage-section .sixcolumn-blog .lower-portion i {
	margin-bottom: 0;
}

.infinite-blog {
	background: var(--primary-color);
}

/*************************************************
=-*=-*=-*=-*=-*=-*= One Column =-*=-*=-*=-*=-*=-*=
**************************************************/
.sidebar .widget-tweeter small,
.sidebar .widget-twitter small,
.sidebar .post-thumbnail-entry .post-category {
	display: block;
	font-size: 12px;
	line-height: 20px;
}

#blog .post-item.border>.post-item-wrap>.post-item-description {
	padding: 24px;
	line-height: 28px;
}

#blog .post-item.border .post-meta-category {
	top: 11px;
	z-index: 0;
	right: 10px;
	font-size: 13px;
	padding: 7px 16px 7px;
	border-radius: 3px;
}

#blog .post-item .post-meta-category,
#blog .post-item .post-meta-comments,
#blog .post-item .post-meta-date {
	top: -4px;
	font-size: 12px;
	margin-right: 8px;
}

#blog .post-item .post-item-description>h2,
#blog .post-item .post-item-description>h2>a {
	font-size: 28px !important;
	font-weight: 500 !important;
	line-height: 34px !important;
	margin-bottom: 16px;
	letter-spacing: 0px;
}

.blog-posts p {
	font-size: 16px;
	line-height: 22px;
	margin-top: 10px;
	color: var(--text-color);
}

.fluid-width-video-wrapper iframe,
.fluid-width-video-wrapper object,
.fluid-width-video-wrapper embed {
	top: 0;
	left: 0;
	height: 100%;
}

.fluid-width-video-wrapper {
	padding-top: 56.3%;
}

.player {
	top: 0;
}

.post-audio audio {
	bottom: 0;
	left: 0;
}

.pagination {
	padding-left: 0;
}

.fluid-width-video-wrapper {
	padding-top: 66.8%;
}

.load-more a {
	padding: 12px 25px;
	display: inline-block;
	border-radius: 14px;
	background-color: var(--accent);
	color:var(--secondary-color);
}

.load-more a:hover {
	background-color: transparent;
	color: var(--accent);
	box-shadow: inset 0 0 0px 1px var(--accent);
}

.post-item.border>.post-item-wrap>.post-item-description {
	color: #676767;
}

.sidebar>h4,
.page-title h1 {
	color: var(--secondary-color);
}

.color01,
.color01 a {
	color: #777;
}

.post-next span,
.post-prev span,
.sidebar .post-thumbnail-content a,
.pagination .page-item:not(.disabled).active>.page-link,
.pagination .page-item:not(.disabled):active>.page-link,
.pagination .page-item:not(.disabled):focus>.page-link,
.pagination .page-item:not(.disabled):hover>.page-link,
.pagination .page-item:not(.disabled)>.page-link,
#blog .post-item.border .post-item-wrap .post-item-description a {
	color: var(--secondary-color);
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
}
.sidebar .post-thumbnail-content a,
.sidebar .nav-tabs .nav-link{
	color: var(--secondary-color);
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
}
.sidebar .widget-categories ul li a{
	color: var(--secondary-color);
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
}
.pagination .page-item:not(.disabled)>.page-link {
	background-color: #fff;
}

.respond-comment span,
.sidebar .nav-tabs .nav-link.active,
.sidebar .widget-tweeter li a,
.sidebar .widget-twitter li a,
.sidebar .cat-count-span,
.sidebar .post-thumbnail-list a:hover,
.sidebar .widget-categories ul li a:hover,
#blog .post-item .post-item-description .post-meta-comments a:hover,
#blog .post-item .post-item-description>h2>a:hover,
.load-more a:hover,
#blog .post-item.border .post-item-wrap .post-item-description a:hover {
	color: var(--accent);
	font-size: 14px;
	line-height: 20px;
}

.form-group label:not(.error),
#blog .post-item .post-item-description>h2,
#blog .post-item .post-item-description>h2>a {
	color: #444;
}

.form-gray-fields .form-control {
	color: #333;
	background-color: rgba(238, 238, 238, .6);
}

.form-gray-fields .btn:hover {
	color: var(--primary-color);
	background: transparent;
}

.sidebar .widget {
	border-bottom: 1px solid var(--border-color);
	border-radius: 0;
}
.sidebar .widget:last-child{
	border-bottom: 0;
}
.sidebar .widget.tags-con{
	border: 0;
}
.sidebar .nav-tabs {
	border-bottom: 2px solid var(--border-color);
}

.sidebar .nav-tabs .nav-link.active {
	color: var(--accent);
	background-color: transparent;
	box-shadow: 0 0 0 2px solid var(--border-color);
}

.sidebar .post-thumbnail-entry,
.sidebar .widget-categories ul li {
	border-bottom: 1px solid var(--border-color);
}

.sidebar .post-thumbnail-entry .post-category,
.sidebar .post-thumbnail-entry .post-date {
	color: var(--secondary-color);
	display: inline-block;
	margin: 0 10px 0 0;
}

.sidebar .widget-tweeter small,
.sidebar .widget-twitter small {
	color: #999;
}

.sidebar .tags a {
	border-radius: 8px;
	color: var(--accent);
	border: 1px solid var(--accent);
}

.form-gray-fields .btn {
	border-color: var(--primary-color);
	background-color: var(--primary-color);
}

.sidebar .tags a.active,
.sidebar .tags a:active,
.sidebar .tags a:focus,
.sidebar .tags a:hover {
	color: var(--primary-color);
	background: var(--accent);
	text-decoration: none !important;
}

.post-item.border .post-meta-category,
.load-more a {
	font-size: 16px;
	line-height: 24px;
	background-color: var(--accent);
	color: var(--primary-color);
	transition: all 0.3s ease-in-out;
}

.load-more a {
	border: 1px solid transparent;
}

.load-more a:hover {
	background-color: transparent;
	color: var(--accent);
	border: 1px solid var(--accent);
	font-size: 16px;
	line-height: 24px;
	text-decoration: none !important;
}

#blog .post-item.border .post-meta-category,
.form-gray-fields .btn,
.widget-newsletter .btn,
#blog .post-item.border .post-meta-category a:hover {
	color: #fff;
}

.widget-newsletter .btn:hover {
	color: var(--accent);
	background: var(--primary-color);
	border-color: var(--accent);
}

.widget-newsletter .btn:focus {
	box-shadow: none;
}

#blog .post-item .post-meta-category,
#blog .post-item-description .post-meta-comments a {
	color: var(--text-color);
	font-size: 14px;
	line-height: 20px;
}

.pagination .page-item:not(.disabled).active>.page-link,
.pagination .page-item:not(.disabled):active>.page-link,
.pagination .page-item:not(.disabled):focus>.page-link,
.pagination .page-item:not(.disabled):hover>.page-link {
	background-color: var(--accent);
	border-color: var(--accent);
	box-shadow: none;
	color: var(--primary-color);
}

.pagination .page-item:not(.disabled)>.page-link {
	border-color: #ececec;
}

.fourcolumn-blog .post-item-wrap .post-image img {
	height: 181px;
	object-fit: cover;
}

.fourcolumn-blog .post-item-wrap .post-video iframe,
.fourcolumn-blog .post-item-wrap .post-video {
	height: 181px;
}

.onecolumn-blog .post-item-wrap .post-video iframe,
.onecolumn-blog .post-item-wrap img {
	height: 462px;
	object-fit: cover;
}

.onecolumn-blog .post-item-wrap .post-video .fluid-width-video-wrapper {
	padding-top: 42.3%;
}

.load-blog .post-item-wrap .post-video iframe,
.load-blog .post-item-wrap img,
.load-blog .post-item-wrap .post-video,
.blog-box.hide-blog .post-item-wrap .post-video,
.blog-box.hide-blog .post-item-wrap .post-video iframe,
.blog-box.hide-blog .post-item-wrap img {
	height: 247px;
	object-fit: cover;
}

.twocolumn-blog .post-item-wrap .post-video iframe,
.twocolumn-blog .post-item-wrap img,
.twocolumn-blog .post-item-wrap .post-video {
	height: 225px;
	object-fit: cover;
}

.three-column-con .blog-box img,
.three-column-con .blog-box .post-item-wrap iframe,
.three-column-con .blog-box .post-item-wrap .post-video {
	height: 326px;
	object-fit: cover;
}

.threecolumn-blog .post-image img,
.threecolumn-blog .post-item-wrap iframe,
.threecolumn-blog .post-item-wrap .post-video {
	height: 173px;
	object-fit: cover;
}

.sixcolumn-blog .post-item-wrap img,
.sixcolumn-blog .post-item-wrap iframe,
.sixcolumn-blog .post-item-wrap .post-video {
	height: 203px;
	object-fit: cover;
}
.blogpage-section .blog-box,
.blogpage-section .blog-box .post-item-wrap,
.blogpage-section .blog-box .post-item-wrap .infinite-blog,
.blogpage-section .fourcolumn-blog .post-item-wrap .lower-portion,
.blog-tabs-section .blog-tabs-inner-section .single-blog-outer-con .single-blog-box,
.blog-tabs-section .blog-tabs-inner-section .single-blog-outer-con .single-blog-details,
.blogpage-section .blog-box .lower-portion {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	background: var(--primary-color);
}

.blogpage-section .fourcolumn-blog .post-item-wrap .button-portion,
.blog-tabs-section .blog-tabs-inner-section .single-blog-box .generic-btn2,
.blogpage-section .blog-box .button-portion {
	margin-top: auto;
	display: flex;
	flex-direction: row;
}

.span-fa-outer-con {
	margin-bottom: 10px;
}

/*************************************************************
=-*=-*=-*=-*=-*=-*= Responsive =-*=-*=-*=-*=-*=-*=
*************************************************************/
@media screen and (max-width: 1800px) {
	.blog-posts .sixcolumn-blog .button-portion .date {
		width: 100%;
	}

	.blog-posts .sixcolumn-blog .button-portion .button {
		width: 100%;
	}
	.blogpage-section .blog-box .button-portion .calendar-ml {
		margin-right: 2px;
	}
	.blogpage-section .sixcolumn-blog .button-portion .read_more {
		padding: 10px 17px 10px 17px;
	}
}

@media screen and (max-width: 1600px) {
	.blog-section .generic-title {
		margin-bottom: 55px;
	}

	.blog-text-details {
		padding: 30px 40px 36px 30px;
	}

	.blog-text-details .comments {
		margin-bottom: 15px;
	}

	.blog-text-details h4 {
		margin-bottom: 15px;
	}

	.blog-text-details p {
		line-height: 28px;
		margin-bottom: 15px;
	}
	.blog-posts .sixcolumn-blog .button-portion{
		flex-direction: column;
		gap: 8px;
	}
}

@media screen and (max-width: 1440px) {

	/* Blog */
	.blogpage-section {
		padding: 100px 0;
	}

	/* Single Blog */
	.singleblog-section .main-box {
		width: 100%;
		margin-left: 0;
	}

	.singleblog-section .column {
		margin-left: 0;
	}

	.singleblog-section .box1 {
		width: 105%;
		padding: 34px 22px;
	}

	/* Blogs pages */
	.blogpage-section .sixcolumn-blog .button-portion .button,
	.blogpage-section .sixcolumn-blog .button-portion .date {
		width: auto;
	}

	.blog-posts .sixcolumn-blog .lower-portion {
		padding: 26px 12px 20px;
	}

	.blog-posts .sixcolumn-blog .lower-portion .text-mr {
		margin-right: 45px;
	}

	.blog-posts .sixcolumn-blog .lower-portion i {
		font-size: 14px;
		margin-bottom: 0;
		margin-right: 3px;
	}

	.blog-posts .sixcolumn-blog .button-portion .calendar-ml {
		font-size: 16px;
	}

	.blog-posts .sixcolumn-blog .button-portion .read_more {
		padding: 8px 18px;
	}

	.blog-posts .sixcolumn-blog .button-portion {
		padding: 14px 12px 14px 12px;
		flex-direction: unset;
		gap: unset;
	}

	.blog-posts .sixcolumn-blog .button-portion .read_more {
		padding: 8px 18px;
	}

	/* special classes for blog */
	h1 {
		font-size: 66px;
		line-height: 70px;
	}

	.padding-top {
		padding-top: 120px;
	}

	.padding-bottom {
		padding-bottom: 120px;
	}

	.blog-posts .sixcolumn-blog p {
		font-size: 14px;
		line-height: 20px;
	}

	.sixcolumn-blog .post-item-wrap img,
	.sixcolumn-blog .post-item-wrap iframe,
	.sixcolumn-blog .post-item-wrap .post-video {
		height: 120px;
	}

	.six-main-box .col-xl-2.col-lg-6.col-md-6 {
		max-width: 33% !important;
		width: 33%;
		flex: 0 0 33%;
	}

	.sixcolumn-blog .post-item-wrap img,
	.sixcolumn-blog .post-item-wrap iframe,
	.sixcolumn-blog .post-item-wrap .post-video {
		height: 258px;
	}
}

@media screen and (max-width: 1400px) {

	.blog-section .generic-title {
		margin-bottom: 45px;
	}

	.blog-text-details .comments {
		margin-bottom: 12px;
	}

	.blog-text-details h4 {
		margin-bottom: 10px;
	}

	.blog-text-details p {
		line-height: 26px;
		margin-bottom: 10px;
	}

	.blog-text-details {
		padding: 25px 30px 35px 25px;
	}

}

@media screen and (max-width: 1199px) {
	.widget-newsletter .form-control {
		font-size: 12px;
		padding: 10px 10px;
	}

	.sidebar .widget .tabs li>a {
		font-size: 13px;
		padding: 10px 8px;
	}

	.sidebar .widget {
		margin-bottom: 20px;
		padding-bottom: 20px;
	}

	.blogpage-section .sixcolumn-blog .button-portion .button,
	.blogpage-section .sixcolumn-blog .button-portion .date {
		width: auto;
	}

	/* Blog */
	.blogpage-section {
		padding: 90px 0;
	}

	.blogpage-section .blog_content h2 {
		margin-bottom: 35px;
	}

	.blogpage-section .blog-box {
		margin-bottom: 25px;
	}

	.blogpage-section .blog-box .lower-portion {
		padding: 20px;
	}

	.blogpage-section .blog-box .button-portion {
		padding: 12px 20px;
		flex-direction: unset;
		gap: 0;
	}

	.blogpage-section .blog-box.threecolumn-blog .button-portion {
		padding: 12px 20px;
		flex-direction: column;
		gap: 7px;
		align-items: normal;
	}

	.blogpage-section .blog-box .lower-portion i {
		font-size: 16px;
		margin-right: 5px;
		margin-bottom: 0;
	}

	.blogpage-section .threecolumn-blog .button-portion {
		flex-direction: row;
	}

	.blogpage-section .blog-box .button-portion .calendar-ml {
		font-size: 18px;
		margin-left: 0;
	}

	.blogpage-section .blog-box .lower-portion .text-mr {
		margin-right: 15px;
	}

	.blogpage-section .blog-box .lower-portion h5 {
		font-size: 18px;
		line-height: 26px;
		letter-spacing: 0;
		word-spacing: 0;
	}

	.blogpage-section .blog-box .button-portion .read_more {
		padding: 12px 20px;
	}

	/* Single Blog */
	.singleblog-section {
		padding: 90px 0;
	}

	.singleblog-section .main-box {
		padding: 10px 15px 35px 10px;
	}

	.singleblog-section .main-box .content1 h4 {
		margin-bottom: 15px;
	}

	.singleblog-section .main-box .content1 i {
		margin-bottom: 22px;
	}

	.singleblog-section .main-box .content1 p {
		margin-bottom: 30px;
	}

	.singleblog-section .main-box .content2 .singleblog-quoteimage {
		margin-bottom: 20px;
	}

	.singleblog-section .main-box .content2 .singleblog-quoteimage img {
		width: 32px;
	}

	.singleblog-section .main-box .content2 {
		padding: 20px 20px 28px;
		margin-bottom: 30px;
	}

	.singleblog-section .main-box .text {
		margin-bottom: 30px;
		margin-left: 12px;
	}

	.singleblog-section .content4 {
		margin-bottom: 50px;
	}

	.singleblog-section .content4 .tag .button {
		padding: 10px 16px;
		margin-right: 0;
	}

	.singleblog-section .content4 .tag {
		margin-right: -40px;
	}

	.singleblog-section .content4 .icon .social-icons {
		top: 46px;
		right: -10px;
	}

	.singleblog-section .content5 .content {
		padding: 82px 62px 20px;
	}

	.singleblog-section .content5 .content span {
		margin-bottom: 10px;
	}

	.singleblog-section .content5 {
		margin-bottom: 30px;
	}

	.singleblog-section .content6 .comment .image img {
		width: 90px;
	}

	.singleblog-section .content6 h4 {
		margin-bottom: 34px;
	}

	.singleblog-section .content6 .comment {
		margin: 0 0 30px 0;
	}

	.singleblog-section .content6 .comment .content {
		padding: 0 0 0 15px;
	}

	.singleblog-section .content6 .comment h5 {
		font-size: 20px;
		line-height: 26px;
		margin-bottom: 4px;
	}

	.singleblog-section .content6 .comment span {
		margin-bottom: -44px;
	}

	.singleblog-section .content6 .comment .text_holder p {
		line-height: 22px;
		margin: 0 30px 0 0;
		word-spacing: 0;
	}

	.singleblog-section .content6 .comment .reply {
		font-size: 16px;
		line-height: 22px;
		padding: 10px 32px;
		top: -24px;
	}

	.singleblog-section .content7 h4 {
		margin-bottom: 20px;
	}

	.singleblog-section .content7 textarea {
		padding: 16px 20px;
		height: 145px;
		margin-bottom: 10px;
	}

	.singleblog-section .content7 input {
		padding: 12px 20px;
		margin-bottom: 15px;
	}

	.singleblog-section .content7 .text-mb {
		margin-bottom: 20px;
	}

	.singleblog-section .content7 .post_comment {
		padding: 20px 36px;
	}

	.singleblog-section .box1 {
		width: 100%;
		padding: 30px 15px;
		margin-bottom: 30px;
	}

	.singleblog-section .box1 h5 {
		margin-bottom: 35px;
		letter-spacing: 0;
		word-spacing: 0;
	}

	.singleblog-section .box1 h5:after {
		width: 80%;
		height: 36px;
		left: 32px;
	}

	.singleblog-section .box1 input {
		padding: 0 13px;
		height: 50px;
	}

	.singleblog-section .box1 .search {
		font-size: 16px;
		height: 48px;
	}

	.singleblog-section .box2 ul li {
		margin-bottom: 22px;
	}

	.singleblog-section .box3 .social-icons ul li .social-networks {
		font-size: 18px;
		width: 40px;
		height: 40px;
		line-height: 40px;
	}

	.singleblog-section .box4 .tag .button {
		padding: 12px;
		letter-spacing: 0;
	}

	.singleblog-section .box5 .feed a {
		font-size: 16px;
		line-height: 24px;
		padding: 0 0 0 12px;
	}

	.singleblog-section .box5 .feed {
		margin-bottom: 46px;
	}

	.singleblog-section .box5 .feed:after {
		width: 81%;
		height: 100px;
		left: 30px;
	}

	/* Blog pages*/
	.blog-posts p {
		font-size: 16px;
		line-height: 24px;
	}

	.blog-posts .load-blog .lower-portion .text-mr {
		margin-right: 18px;
	}

	.blog-posts .onecolumn-blog .lower-portion .text-mr {
		margin-right: 40px;
	}

	.blog-posts .twocolumn-blog .lower-portion .text-mr {
		margin-right: 40px;
	}

	.blog-posts .threecolumn-blog .lower-portion .text-mr {
		margin-right: 20px;
	}

	.blog-posts .threecolumn-blog .lower-portion i {
		margin-bottom: 0;
	}

	.sidebar .post-thumbnail-entry .post-category,
	.sidebar .post-thumbnail-entry .post-date {
		margin: 0 2px 0 0 !important;
	}

	.blog-posts .three-column .lower-portion .text-mr {
		margin-right: 50px;
	}

	.blog-posts .three-column .button-portion .read_more {
		padding: 8px 12px;
	}

	.blogpage-section .blog-box .button-portion .calendar-ml {
		font-size: 16px;
		margin-right: 1px;
	}

	.blog-posts .fourcolumn-blog .button-portion .read_more {
		padding: 8px 12px;
	}

	.blog-posts .three-column .button-portion .read_more {
		padding: 8px 6px;
	}

	.blog-section .generic-title {
		margin-bottom: 40px;
	}

	.blog-box figure img {
		width: 100%;
	}

	.blog-text-details {
		padding: 20px 20px 30px 20px;
	}

	.blog-text-details .comments {
		margin-bottom: 8px;
	}

	.blog-text-details h4 {
		margin-bottom: 8px;
	}

	.blog-text-details p {
		margin-bottom: 8px;
	}

	.blog-text-details .posting-date {
		padding: 10px 18px;
	}

	.blog-inner-section {
		gap: 20px;
		grid-template-columns: 31.9% 31.9% 31.9%;
	}

	/* blog section styling start here */
	.single-blog-box {
		width: 100%;
	}

	.single-blog-box figure img {
		width: 100%;
	}

	.blog-tabs-inner-section .nav-tabs a.nav-link {
		font-size: 22px;
		padding: 13px 25px;
	}

	.single-blog-details h4 {
		margin-bottom: 15px;
	}

	.single-blog-details p {
		margin-bottom: 15px;
	}

	.blog-banner-section {
		height: 400px;
	}

	.fourcolumn-blog .post-item-wrap .post-image img {
		height: 318px;
	}

	.fourcolumn-blog .post-item-wrap .post-video iframe,
	.fourcolumn-blog .post-item-wrap .post-video {
		height: 318px;
	}

	.onecolumn-blog .post-item-wrap .post-video iframe,
	.onecolumn-blog .post-item-wrap img {
		height: 387px;
	}

	/* font sizes */
	h1 {
		font-size: 58px;
		line-height: 64px;
	}

	h2 {
		font-size: 42px;
		line-height: 50px;
	}

	h3 {
		font-size: 22px;
		line-height: 24px;
	}

	h4 {
		font-size: 18px;
		line-height: 22px;
	}

	.padding-top {
		padding-top: 100px;
	}

	.padding-bottom {
		padding-bottom: 100px;
	}

	/* back to top button */

	.load-blog .post-item-wrap .post-video iframe,
	.load-blog .post-item-wrap img,
	.load-blog .post-item-wrap .post-video,
	.blog-box.hide-blog .post-item-wrap .post-video,
	.blog-box.hide-blog .post-item-wrap .post-video iframe,
	.blog-box.hide-blog .post-item-wrap img {
		height: 205px;
	}

	.twocolumn-blog .post-item-wrap .post-video iframe,
	.twocolumn-blog .post-item-wrap img,
	.twocolumn-blog .post-item-wrap .post-video {
		height: 187px;
	}

	.three-column-con .blog-box img,
	.three-column-con .blog-box .post-item-wrap iframe,
	.three-column-con .blog-box .post-item-wrap .post-video {
		height: 270px;
	}

	.blogpage-section .blog-box .button-portion .date {
		margin-bottom: 0;
	}

	.threecolumn-blog .post-image img,
	.threecolumn-blog .post-item-wrap iframe,
	.threecolumn-blog .post-item-wrap .post-video {
		height: 141px;
	}

	.blog-posts .threecolumn-blog p {
		font-size: 15px;
		line-height: 22px;
	}

	.sixcolumn-blog .post-item-wrap img,
	.sixcolumn-blog .post-item-wrap iframe,
	.sixcolumn-blog .post-item-wrap .post-video {
		height: 329px;
	}

	.six-main-box .col-xl-2.col-lg-6.col-md-6 {
		max-width: 50% !important;
		width: unset;
		flex: unset;
	}
	.blog-tabs-inner-section .nav-tabs {
		gap: 6px;
	}
	.single-blog-outer-con {
		gap: 30px;
	}
}

@media screen and (max-width: 991px) {
	.respond-form {
		padding-top: 0;
	}

	.blogpage-section .blog-box.threecolumn-blog .button-portion {
		padding: 12px 20px;
		flex-direction: row;
		gap: 0;
		align-items: center;
	}

	.sidebar {
		margin: 55px 0 0;
	}

	.page-title h1 {
		font-size: 2rem;
	}

	/* Blog */
	.blogpage-section {
		padding: 65px 0;
	}

	.blogpage-section .blog_content h2 {
		margin-bottom: 30px;
	}

	.blogpage-section .blog-box {
		margin-bottom: 20px;
	}

	.blogpage-section .blog-box .lower-portion {
		padding: 15px 20px;
	}

	.blogpage-section .blog-box .lower-portion i {
		font-size: 14px;
		margin-right: 2px;
		margin-bottom: 0;
	}

	.blogpage-section .blog-box .button-portion .calendar-ml {
		font-size: 16px;
	}

	.blogpage-section .blog-box .lower-portion .tag-mb {
		margin-bottom: 0;
	}

	.blogpage-section .blog-box .lower-portion .text-mr {
		margin-right: 8px;
	}

	.blogpage-section .blog-box .lower-portion h5 {
		font-size: 20px;
		line-height: 28px;
	}

	.blogpage-section .blog-box .button-portion .read_more {
		padding: 6px 14px;
	}

	/* Single Blog */
	.singleblog-section {
		padding: 65px 0;
	}

	.singleblog-section .main-box {
		margin-bottom: 30px;
	}

	.singleblog-section .main-box .image1 {
		margin-bottom: 25px;
	}

	.singleblog-section .main-box .content1 p {
		margin-bottom: 25px;
	}

	.singleblog-section .main-box .content2 {
		padding: 24px 30px;
		margin-bottom: 25px;
	}

	.singleblog-section .main-box .content2 .singleblog-quoteimage {
		margin-bottom: 18px;
	}

	.singleblog-section .main-box .content2 .singleblog-quoteimage img {
		width: 30px;
	}

	.singleblog-section .main-box .text {
		margin: 0 0 25px 10px;
	}

	.singleblog-section .content4 {
		margin-bottom: 50px;
	}

	.singleblog-section .content4 h5 {
		font-size: 20px;
		line-height: 24px;
		margin-bottom: 12px;
	}

	.singleblog-section .content4 .tag .button {
		font-size: 14px;
		line-height: 22px;
		padding: 8px 14px;
	}

	.singleblog-section .content4 .icon .social-icons {
		top: 40px;
		right: -8px;
	}

	.singleblog-section .content4 .icon .social-icons ul li {
		margin: 0 5px;
	}

	.singleblog-section .content4 .icon .social-icons ul li .social-networks {
		font-size: 14px;
		line-height: 30px;
	}

	.singleblog-section .content5 {
		margin-bottom: 25px;
	}

	.singleblog-section .content5 .content {
		padding: 75px 40px 15px;
	}

	.singleblog-section .content5 .singleblog-review1 img {
		width: 125px;
	}

	.singleblog-section .content5 .content h4 {
		margin-bottom: 2px;
		letter-spacing: 0;
	}

	.singleblog-section .content5 .content span {
		margin-bottom: 8px;
		letter-spacing: 0;
	}

	.singleblog-section .content6 h4 {
		margin-bottom: 25px;
	}

	.singleblog-section .content6 h4:after {
		width: 17%;
		height: 35px;
	}

	.singleblog-section .content6 .comment {
		margin-bottom: 20px;
	}

	.singleblog-section .content6 .comment .image img {
		width: 80px;
	}

	.singleblog-section .content6 .comment .content {
		padding: 4px 0 0 12px;
	}

	.singleblog-section .content6 .comment h5 {
		font-size: 18px;
		line-height: 24px;
	}

	.singleblog-section .content6 .comment span {
		margin-bottom: -34px;
	}

	.singleblog-section .content6 .comment .text_holder p {
		margin-right: 55px;
	}

	.singleblog-section .content6 .comment .reply {
		font-size: 14px;
		line-height: 20px;
		padding: 10px 30px;
		top: -23px;
	}

	.singleblog-section .content6 {
		margin-bottom: 45px;
	}

	.singleblog-section .content7 h4 {
		margin-bottom: 15px;
	}

	.singleblog-section .content7 textarea {
		padding: 14px;
		height: 120px;
		margin-bottom: 8px;
	}

	.singleblog-section .content7 input {
		padding: 10px 14px;
		margin-bottom: 13px;
	}

	.singleblog-section .content7 .post_comment {
		font-size: 14px;
		line-height: 20px;
		padding: 16px 34px;
	}

	.singleblog-section .box1 h5:after {
		width: 91%;
	}

	.singleblog-section .box1 h5 {
		margin-bottom: 30px;
	}

	.singleblog-section .box1 input {
		font-size: 14px;
		line-height: 20px;
		padding: 0 12px;
		height: 47px;
	}

	.singleblog-section .box1 .search {
		font-size: 14px;
		height: 45px;
	}

	.singleblog-section .box2 ul li {
		margin-bottom: 15px;
	}

	.singleblog-section .box3 .social-icons ul li {
		margin: 0 8px;
	}

	.singleblog-section .box3 .social-icons ul li .social-networks {
		font-size: 16px;
		width: 35px;
		height: 35px;
		line-height: 35px;
	}

	.singleblog-section .box4 ul {
		text-align: center;
		padding: 0 110px;
	}

	.singleblog-section .box4 .tag .button {
		padding: 10px 14px;
		margin-bottom: 10px;
		font-size: 14px;
		line-height: 24px;
	}

	.singleblog-section .box5 .feed {
		margin-bottom: 40px;
	}

	.singleblog-section .box5 .feed:after {
		width: 91%;
		height: 80px;
	}

	.singleblog-section .box5 .feed .feed-image {
		width: 12%;
	}

	.singleblog-section .box5 .feed .feed-image img {
		width: 80px;
	}

	/* Blog pages */
	.blog-posts p {
		font-size: 16px;
		line-height: 24px;
	}

	.blog-posts .sixcolumn-blog .lower-portion .text-mr {
		margin-right: 46px;
	}

	.blog-section .generic-title {
		margin-bottom: 30px;
	}

	.blog-text-details {
		padding: 20px 15px 35px 15px;
		width: 94%;
		margin-top: -30px;
	}

	.blog-text-details .comments span,
	.blog-text-details .comments span small {
		font-size: 13px;
		line-height: 14px;
		letter-spacing: 1px;
	}

	.blog-text-details .comments {
		margin-bottom: 6px;
	}

	.blog-text-details p {
		line-height: 24px;
	}

	.blog-text-details .blog-btn a::after {
		bottom: -4px;
	}

	.blog-inner-section {
		gap: 15px;
		grid-template-columns: 31.8% 31.8% 31.8%;
	}

	/* blog page styling start here */
	.blog-tabs-inner-section .nav-tabs a.nav-link {
		font-size: 18px;
		padding: 9px 10px;
	}

	.blog-tabs-inner-section .nav-tabs {
		margin-bottom: 40px;
		gap: 4px;
	}

	.single-blog-outer-con {
		gap: 25px 25px;
		margin-bottom: 40px;
		grid-template-columns: 48% 48%;
	}

	.single-blog-details {
		padding: 25px 20px 40px;
	}

	.single-blog-details ul li {
		font-size: 14px;
		padding-left: 18px;
	}

	.single-blog-details ul {
		gap: 15px;
	}

	.blog-tabs-inner-section .pagination .page-link {
		padding: 8px 12px;
		font-size: 18px;
		line-height: 18px;
	}

	.fourcolumn-blog .post-item-wrap .post-image img {
		height: 233px;
	}

	.fourcolumn-blog .post-item-wrap .post-video iframe,
	.fourcolumn-blog .post-item-wrap .post-video {
		height: 233px;
	}

	.onecolumn-blog .post-item-wrap .post-video iframe,
	.onecolumn-blog .post-item-wrap img {
		height: 287px;
	}

	/* special classes for blog  */
	.padding-top {
		padding-top: 80px;
	}

	.padding-bottom {
		padding-bottom: 80px;
	}

	/*  */
	h1 {
		font-size: 46px;
		line-height: 54px;
	}

	h3 {
		font-size: 20px;
		line-height: 24px;
	}

	h2 {
		font-size: 36px;
		line-height: 42px;
	}

	/* back to top button */

	.load-blog .post-item-wrap .post-video iframe,
	.load-blog .post-item-wrap img,
	.load-blog .post-item-wrap .post-video,
	.blog-box.hide-blog .post-item-wrap .post-video,
	.blog-box.hide-blog .post-item-wrap .post-video iframe,
	.blog-box.hide-blog .post-item-wrap img {
		height: 487px;
	}

	.twocolumn-blog .post-item-wrap .post-video iframe,
	.twocolumn-blog .post-item-wrap img,
	.twocolumn-blog .post-item-wrap .post-video {
		height: 287px;
	}

	.three-column-con .blog-box img,
	.three-column-con .blog-box .post-item-wrap iframe,
	.three-column-con .blog-box .post-item-wrap .post-video {
		height: 270px;
	}

	.threecolumn-blog .post-image img,
	.threecolumn-blog .post-item-wrap iframe,
	.threecolumn-blog .post-item-wrap .post-video {
		height: 222px;
	}

	.sixcolumn-blog .post-item-wrap img,
	.sixcolumn-blog .post-item-wrap iframe,
	.sixcolumn-blog .post-item-wrap .post-video {
		height: 250px;
	}

	.singleblog-section .box5 .feed {
		width: 500px;
		justify-content: center;
		margin: 0 auto 30px;
		padding-bottom: 30px;
	}

	.singleblog-section .box5 .feed a {
		font-size: 14px;
		line-height: 22px;
		padding: 0 20px;
	}

}

@media screen and (max-width: 767px) {


	#blog .post-item.border>.post-item-wrap>.post-item-description {
		line-height: 20px;
		font-size: 12px;
	}
	.blogpage-section .blog-box .button-portion {
		padding: 12px 15px;
	}
	.blog-posts p {
		font-size: 15px;
		line-height: 21px;
	}

	.sidebar {
		margin: 30px 0 0;
	}

	/* Blog */
	.blogpage-section {
		padding: 60px 0;
	}

	.blogpage-section .blog_content h2 {
		margin-bottom: 25px;
	}

	.blogpage-section .blog-box .lower-portion {
		padding: 15px;
	}

	.blogpage-section .blog-box .lower-portion i {
		margin: 0 8px 0 0;
	}

	.blogpage-section .blog-box .button-portion .calendar-ml {
		font-size: 15px;
	}

	.blogpage-section .blog-box .lower-portion .text-size-14 {
		font-size: 14px;
		line-height: 20px;
	}

	.blogpage-section .blog-box .button-portion .text-size-14 {
		font-size: 13px;
		line-height: 20px;
	}

	.blogpage-section .blog-box .lower-portion .text-mr {
		font-size: 14px;
		line-height: 20px;
		margin-right: 99px;
	}

	.blogpage-section .blog-box .lower-portion h5 {
		font-size: 16px;
		line-height: 24px;
		margin-top: 10px;
	}

	.blogpage-section .blog-box .button-portion .read_more {
		font-size: 12px;
		line-height: 20px;
		padding: 8px 14px 8px 14px;
	}
	/* Single Blog */
	.singleblog-section {
		padding: 60px 0;
	}

	.singleblog-section .main-box {
		padding: 10px 15px 30px 10px;
		margin-bottom: 25px;
	}

	.singleblog-section .main-box .image1 {
		margin-bottom: 20px;
	}

	.singleblog-section .main-box .content1 h4 {
		margin-bottom: 10px;
	}

	.singleblog-section .main-box .content1 i {
		margin-bottom: 18px;
	}

	.singleblog-section .main-box .content1 p {
		margin-bottom: 20px;
	}

	.singleblog-section .main-box .content2 {
		padding: 22px 30px;
		margin-bottom: 20px;
	}

	.singleblog-section .main-box .content2 .singleblog-quoteimage {
		margin-bottom: 15px;
	}

	.singleblog-section .main-box .content2 .singleblog-quoteimage img {
		width: 28px;
	}

	.singleblog-section .main-box .text {
		margin: 0 0 20px 10px;
	}

	.singleblog-section .content4 h5 {
		font-size: 18px;
		line-height: 22px;
	}

	.singleblog-section .content4 {
		margin-bottom: 50px;
	}

	.singleblog-section .content4 .tag .button {
		padding: 6px 12px;
	}

	.singleblog-section .content4 .icon .social-icons {
		top: 30px;
	}

	.singleblog-section .content4 .icon .social-icons ul li {
		margin: 0 3px;
	}

	.singleblog-section .content4 .icon .social-icons ul li .social-networks {
		font-size: 12px;
		line-height: 28px;
	}

	.singleblog-section .content5 {
		margin-bottom: 20px;
	}

	.singleblog-section .content5 .singleblog-review1 img {
		width: 110px;
	}

	.singleblog-section .content5 .content {
		padding: 58px 14px 10px;
	}

	.singleblog-section .content6 {
		margin-bottom: 40px;
	}

	.singleblog-section .content6:after {
		height: 4px;
		left: 21px;
	}

	.singleblog-section .content6 h4 {
		margin-bottom: 30px;
	}

	.singleblog-section .content6 h4:after {
		width: 21%;
	}

	.singleblog-section .content6 .comment .image img {
		width: 70px;
	}

	.singleblog-section .content6 .comment .text_holder p {
		line-height: 20px;
		margin-right: 0;
	}

	.singleblog-section .content6 .comment .reply {
		padding: 8px 28px;
		top: -22px;
	}

	.singleblog-section .content6 .comment .content {
		padding: 0px 0 0 12px;
	}

	.singleblog-section .content7 textarea {
		line-height: 18px;
		padding: 12px;
		height: 110px;
	}

	.singleblog-section .content7 input {
		line-height: 18px;
		padding: 8px 12px;
	}

	.singleblog-section .content7 .text-mb {
		margin-bottom: 18px;
	}

	.singleblog-section .content7 .post_comment {
		padding: 14px 28px;
	}

	.singleblog-section .box1 {
		padding: 25px 15px;
		margin-bottom: 25px;
	}

	.singleblog-section .box1 h5 {
		margin-bottom: 28px;
	}

	.singleblog-section .box1 h5:after {
		width: 88%;
		height: 32px;
	}

	.singleblog-section .box1 input {
		padding: 0 10px;
		height: 42px;
	}

	.singleblog-section .box1 .search {
		height: 40px;
		width: 50px;
	}

	.singleblog-section .box2 ul li {
		margin-bottom: 12px;
	}

	.singleblog-section .box3 .social-icons ul li {
		margin: 0 5px;
	}

	.singleblog-section .box3 .social-icons ul li .social-networks {
		font-size: 14px;
		width: 30px;
		height: 30px;
		line-height: 30px;
	}

	.singleblog-section .box4 .tag .button {
		padding: 6px 14px;
		margin-bottom: 8px;
	}

	.singleblog-section .box4 ul {
		padding: 0 20px;
	}

	.singleblog-section .box5 .feed {
		margin-bottom: 30px;
	}

	.singleblog-section .box5 .feed:after {
		width: 89%;
		height: 80px;
	}

	.singleblog-section .box5 .feed .feed-image {
		width: 15%;
	}


	/* Blog pages */
	.blog-posts .load-blog .lower-portion .text-mr {
		margin-right: 40px;
	}

	.blog-posts .load-more a {
		padding: 8px 25px;
	}

	.blog-posts .onecolumn-blog .lower-portion .text-mr {
		margin-right: 40px;
	}

	.blog-posts .twocolumn-blog .lower-portion .text-mr {
		margin-right: 40px;
	}

	.blog-posts .three-column .lower-portion .text-mr {
		margin-right: 40px;
	}

	.blog-posts .fourcolumn-blog .lower-portion .text-mr {
		margin-right: 40px;
	}

	.blog-posts .sixcolumn-blog .lower-portion .text-mr {
		margin-right: 40px;
	}

	.blog-section .generic-title {
		margin-bottom: 25px;
	}

	.blog-inner-section {
		gap: 20px;
		grid-template-columns: 100%;
	}

	.blog-box {
		width: 330px;
		margin: 0 auto;
	}

	/* blog section styling start here */
	.blog-tabs-inner-section .nav-tabs {
		display: grid;
		text-align: center;
		margin-bottom: 30px;
		grid-template-columns: 29% 33% 36%;
	}

	.single-blog-outer-con {
		gap: 20px 20px;
		margin-bottom: 30px;
		grid-template-columns: 100%;
	}

	.blog-tabs-inner-section .nav-tabs a.nav-link {
		font-size: 18px;
		padding: 8px 10px;
	}

	.single-blog-box {
		width: 400px;
		margin: 0 auto;
	}

	.blog-banner-section {
		height: 310px;
	}

	.fourcolumn-blog .post-item-wrap .post-image img {
		height: 350px;
	}

	.fourcolumn-blog .post-item-wrap .post-video iframe,
	.fourcolumn-blog .post-item-wrap .post-video {
		height: 350px;
	}

	.onecolumn-blog .post-item-wrap .post-video iframe,
	.onecolumn-blog .post-item-wrap img {
		height: 212px;
	}

	/* special classes for blog */
	.padding-top {
		padding-top: 60px;
	}

	.padding-bottom {
		padding-bottom: 60px;
	}

	h1 {
		font-size: 36px;
		line-height: 44px;
	}

	h2 {
		font-size: 28px;
		line-height: 34px;
	}

	/* back to top button */

	.load-blog .post-item-wrap .post-video iframe,
	.load-blog .post-item-wrap img,
	.load-blog .post-item-wrap .post-video,
	.blog-box.hide-blog .post-item-wrap .post-video,
	.blog-box.hide-blog .post-item-wrap .post-video iframe,
	.blog-box.hide-blog .post-item-wrap img {
		height: 360px;
	}

	.twocolumn-blog .post-item-wrap .post-video iframe,
	.twocolumn-blog .post-item-wrap img,
	.twocolumn-blog .post-item-wrap .post-video {
		height: 212px;
	}

	.three-column-con .blog-box img,
	.three-column-con .blog-box .post-item-wrap iframe,
	.three-column-con .blog-box .post-item-wrap .post-video {
		height: 223px;
	}

	.threecolumn-blog .post-image img,
	.threecolumn-blog .post-item-wrap iframe,
	.threecolumn-blog .post-item-wrap .post-video {
		height: 339px;
	}

	.sixcolumn-blog .post-item-wrap img,
	.sixcolumn-blog .post-item-wrap iframe,
	.sixcolumn-blog .post-item-wrap .post-video {
		height: 386px;
	}

	.singleblog-section .box5 .feed {
		width: 415px;
	}

	.singleblog-section .box5 .feed a {
		padding: 0 12px;
	}

	.six-main-box .col-xl-2.col-lg-6.col-md-6 {
		max-width: 100% !important;
		width: unset;
		flex: unset;
	}

}

@media screen and (max-width: 575px) {
    .blogpage-section .blog-box .button-portion {
        padding: 0 20px 12px;
    }
	.page-title h1 {
		font-size: 1.8rem;
		padding: 1rem;
		padding-bottom: 0;
	}
	.singleblog-section .main-box .content1 h4 {
		line-height: 21px;
	}
	#blog .post-item .post-item-description>h2,
	#blog .post-item .post-item-description>h2>a {
		font-size: 20px;
		line-height: 24px;
	}

	.blogpage-section {
		padding: 40px 15px;
	}

	.blog-posts p {
		font-size: 15px;
		line-height: 21px;
	}

	.blogpage-section .blog-box .lower-portion .text-mr {
		font-size: 13px;
		line-height: 21px;
		margin-right: 100px;
	}

	.blogpage-section .blog-box .lower-portion .text-size-14 {
		font-size: 13px;
		line-height: 20px;
	}

	.blogpage-section .blog-box .button-portion .text-size-14 {
		font-size: 13px;
		line-height: 20px;
	}

	/* Blog */
	.blogpage-section .blog-box figure img {
		width: 100%;
	}

	.blogpage-section .blog-box .lower-portion {
		padding: 20px 20px;
	}
	.blogpage-section .blog-box .lower-portion .text-mr {
		margin-right: 10px;
	}

	.blogpage-section .blog-box .lower-portion h5 {
		margin-right: 0px;
		font-size: 18px;
	}

	/* Single Blog */
	.singleblog-section .main-box {
		margin-bottom: 20px;
	}

	.singleblog-section .main-box .content2 {
		padding: 20px 22px;
	}

	.singleblog-section .main-box .content2 .singleblog-quoteimage {
		margin-bottom: 12px;
	}

	.singleblog-section .main-box .content2 .singleblog-quoteimage img {
		width: 26px;
	}

	.singleblog-section .content4 {
		margin-bottom: 90px;
	}

	.singleblog-section .content4 h5 {
		margin-bottom: 10px;
	}

	.singleblog-section .content4 .tag .button {
		margin-bottom: 15px;
	}

	.singleblog-section .content4 .icon h5 {
		display: contents;
	}

	.singleblog-section .content4 .icon .social-icons {
		top: 32px;
		left: 0;
		right: 0;
	}

	.singleblog-section .content5 .singleblog-review1 img {
		width: 100px;
	}

	.singleblog-section .content5 .content {
		padding: 46px 15px 10px;
	}

	.singleblog-section .content5 .content span {
		margin-bottom: 6px;
	}

	.singleblog-section .content6:after {
		height: 0;
		left: 13px;
	}

	.singleblog-section .content6 h4:after {
		width: 32%;
	}

	.singleblog-section .content6 .comment .image img {
		width: 60px;
	}

	.singleblog-section .content6 .comment h5 {
		font-size: 16px;
		line-height: 22px;
	}

	.singleblog-section .content6 .comment span {
		margin-bottom: -26px;
	}

	.singleblog-section .content6 .comment .reply {
		padding: 4px 12px;
		top: -20px ;
		right: -20px;
	}
	.singleblog-section .content6 {
		padding: 0 15px 0 0px;
	}
	.singleblog-section .content7 textarea {
        padding: 10px;
        height: 100px;
        font-size: 14px;
    }
	.singleblog-section .content7 input {
		padding: 8px 10px;
		font-size: 14px;
	}
	.singleblog-section .content7 .post_comment {
		padding: 12px 15px;
	}
	.singleblog-section .box1 {
		margin-bottom: 20px;
	}

	.singleblog-section .box1 h5:after {
		width: 82%;
	}

	.singleblog-section .box4 ul {
		padding: 0;
	}

	.singleblog-section .box5 .feed:after {
		width: 84%;
	}

	.singleblog-section .box5 .feed .feed-image {
		width: 25%;
	}

	.singleblog-section .box5 .feed a {
		padding: 0;
	}
	/* Blog pages */
	.blog-posts .onecolumn-blog .lower-portion {
		padding: 20px;
	}

	.blog-posts .onecolumn-blog .button-portion {
		padding: 12px 20px 12px 20px;
	}

	.blog-posts .twocolumn-blog .button-portion {
		padding: 12px 20px 12px 20px;
	}

	.blog-posts .twocolumn-blog .lower-portion {
		padding: 20px;
	}

	.blog-posts .threecolumn-blog .button-portion {
		padding: 12px 20px 12px 20px;
	}

	.blog-posts .threecolumn-blog .lower-portion {
		padding: 20px;
	}

	.blog-posts .threecolumn-blog .lower-portion .text-mr {
		margin-right: 15px;
	}

	.blog-posts .fourcolumn-blog .lower-portion {
		padding: 20px;
	}

	.blog-posts .fourcolumn-blog .button-portion {
		padding: 15px 20px 15px 20px;
	}

	.blog-posts .sixcolumn-blog .button-portion {
		padding: 12px 20px 12px 20px;
	}

	.blog-posts .sixcolumn-blog .lower-portion {
		padding: 20px;
	}

	.blog-text-details p {
		font-size: 15px;
		line-height: 21px;
	}

	.blog-section .generic-title {
		margin-bottom: 20px;
	}

	.blog-text-details h4 {
		margin-bottom: 6px;
	}

	.blog-text-details {
		padding: 20px 15px 30px 15px;
	}

	/* blog page styling start here */
	.single-blog-box {
		width: 320px;
		margin: 0 auto;
	}

	.blog-tabs-inner-section .nav-tabs {
		margin-bottom: 20px;
		grid-template-columns: 43.7% 43.7%;
	}

	.single-blog-details {
		padding: 20px 15px 30px;
	}

	.single-blog-details ul {
		gap: 15px;
		margin-bottom: 10px;
	}

	.single-blog-details h4 {
		margin-bottom: 10px;
	}

	.single-blog-details p {
		margin-bottom: 12px;
	}

	.single-blog-outer-con {
		gap: 15px;
	}

	.blog-tabs-inner-section .pagination .page-link {
		padding: 8px 8px;
		font-size: 16px;
		line-height: 20px;
	}

	.single-blog-details p {
		font-size: 15px;
		line-height: 21px;
	}

	.blog-banner-section {
		height: 260px;
	}

	.fourcolumn-blog .post-item-wrap .post-image img {
		height: auto;
	}

	.fourcolumn-blog .post-item-wrap .post-video iframe {
		height: auto;
	}

	.fourcolumn-blog .post-item-wrap .post-video {
		height: 200px;
	}

	.onecolumn-blog .post-item-wrap .post-video iframe {
		height: 185px;
	}

	.onecolumn-blog .post-item-wrap img {
		height: auto;
	}

	/* special classes for blog */

	.padding-top {
		padding-top: 40px;
	}

	.padding-bottom {
		padding-bottom: 40px;
	}

	/*  */
	h1 {
		font-size: 30px;
		line-height: 38px;
	}

	h3 {
		font-size: 18px;
		line-height: 24px;
	}

	h2 {
		font-size: 24px;
		line-height: 30px;
	}

	.load-blog .post-item-wrap .post-video iframe,
	.load-blog .post-item-wrap img,
	.load-blog .post-item-wrap .post-video,
	.blog-box.hide-blog .post-item-wrap .post-video,
	.blog-box.hide-blog .post-item-wrap .post-video iframe,
	.blog-box.hide-blog .post-item-wrap img {
		height: auto;
	}

	.blog-box.hide-blog .post-item-wrap .post-video,
	.blog-box.hide-blog .post-item-wrap .post-video iframe,
	.load-blog .post-item-wrap .post-video iframe,
	.load-blog .post-item-wrap .post-video {
		height: 220px;
	}

	.twocolumn-blog .post-item-wrap img {
		height: auto;
	}

	.twocolumn-blog .post-item-wrap .post-video iframe,
	.twocolumn-blog .post-item-wrap .post-video {
		height: 200px;
	}

	.three-column-con .blog-box img {
		height: auto;
	}

	.three-column-con .blog-box .post-item-wrap iframe,
	.three-column-con .blog-box .post-item-wrap .post-video {
		height: 250px;
	}

	.threecolumn-blog .post-image img {
		height: auto;
	}

	.threecolumn-blog .post-item-wrap iframe,
	.threecolumn-blog .post-item-wrap .post-video {
		height: 200px;
	}

	.sixcolumn-blog .post-item-wrap img {
		height: auto;
	}
	.sixcolumn-blog .post-item-wrap iframe,
	.sixcolumn-blog .post-item-wrap .post-video {
		height: 200px;
	}
	.blog-tabs-inner-section .nav-tabs a.nav-link {
		font-size: 16px;
	}
	.singleblog-section .box5 .feed {
        width: 100%;
        margin: 0 auto 20px;
        padding-bottom: 20px;
        gap: 16px;
        align-items: center;
    }
}

@media screen and (max-width: 350px) {
	.singleblog-section .box5 .feed {
		width: 290px;
		margin: 0 auto 20px;
		padding-bottom: 20px;
	}
}
