/* ===================================
   Post Page - Complete CSS
   صفحة المقالة الفردية - نظام متكامل
   =================================== */

/* ===================================
   1. Variables & Root Styles
   =================================== */


:root {
    --post-primary: #1a73e8;
    --post-secondary: #0d47a1;
    --post-accent: #fbbf24;
    --post-dark: #1a1a1a;
    --post-gray: #666;
    --post-light-gray: #f8f9fa;
    --post-border: #e0e0e0;
    --post-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --post-shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --post-shadow-lg: 0 10px 40px rgba(26, 115, 232, 0.15);
    --post-radius-sm: 8px;
    --post-radius-md: 12px;
    --post-radius-lg: 20px;
    --post-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   2. Banner Section
   =================================== */
.banner-section {
    position: relative;
    padding: 140px 0 100px;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    contain-intrinsic-size: 500px 100vw;
    content-visibility: auto;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

/* Banner Bubbles Animation */
.banner-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.banner-bubbles .bubble {
    position: absolute;
    bottom: -100px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    opacity: 0.5;
    animation: rise 10s infinite ease-in;
}

.banner-bubbles .bubble:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 8s;
}

.banner-bubbles .bubble:nth-child(2) {
    width: 20px;
    height: 20px;
    left: 20%;
    animation-duration: 5s;
    animation-delay: 1s;
}

.banner-bubbles .bubble:nth-child(3) {
    width: 50px;
    height: 50px;
    left: 35%;
    animation-duration: 7s;
    animation-delay: 2s;
}

.banner-bubbles .bubble:nth-child(4) {
    width: 80px;
    height: 80px;
    left: 50%;
    animation-duration: 11s;
    animation-delay: 0s;
}

.banner-bubbles .bubble:nth-child(5) {
    width: 35px;
    height: 35px;
    left: 55%;
    animation-duration: 6s;
    animation-delay: 1s;
}

.banner-bubbles .bubble:nth-child(6) {
    width: 45px;
    height: 45px;
    left: 65%;
    animation-duration: 8s;
    animation-delay: 3s;
}

.banner-bubbles .bubble:nth-child(7) {
    width: 90px;
    height: 90px;
    left: 70%;
    animation-duration: 12s;
    animation-delay: 2s;
}

.banner-bubbles .bubble:nth-child(8) {
    width: 25px;
    height: 25px;
    left: 80%;
    animation-duration: 6s;
    animation-delay: 2s;
}

@keyframes rise {
    0% {
        bottom: -100px;
        transform: translateX(0);
    }
    50% {
        transform: translate(100px);
    }
    100% {
        bottom: 1080px;
        transform: translateX(-200px);
    }
}

.banner-section .d-table {
    display: table;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.banner-section .d-tablecell {
    display: table-cell;
    vertical-align: middle;
}

.page-title {
    text-align: center;
    color: #ffffff;
}

/* Post Meta in Banner */
.post-meta-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 25px;
    animation: fadeInDown 0.6s ease-out;
}

.post-meta-banner .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.post-meta-banner .meta-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.post-meta-banner .meta-item i {
    color: var(--post-accent);
    font-size: 18px;
}

.page-title h2 {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    animation: fadeInDown 0.6s ease-out 0.2s backwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-title ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-title ul li {
    font-size: 16px;
    font-weight: 500;
}

.page-title ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-title ul li a:hover {
    color: var(--post-accent);
}

.page-title ul li a i {
    font-size: 12px;
}

/* ===================================
   3. Blogs Section
   =================================== */
.blogs-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.blog-details-section {
    position: relative;
    min-height: 1200px;
    contain-intrinsic-size: auto 1200px;
    content-visibility: auto;
}

/* ===================================
   4. Single Blog Post
   =================================== */
.single-blogs {
    background: #ffffff;
    border-radius: var(--post-radius-lg);
    overflow: hidden;
    box-shadow: var(--post-shadow-md);
    margin-bottom: 40px;
}

/* ===================================
   5. Blog Image with Date Badge
   =================================== */
.blog-img {
    position: relative;
    overflow: hidden;
    height: 500px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.single-blogs:hover .blog-img img {
    transform: scale(1.05);
}

/* Post Date Badge */
.post-date {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--post-radius-md);
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
    min-width: 80px;
}

.single-blogs:hover .post-date {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.post-date .date {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--post-primary);
    line-height: 1;
    margin-bottom: 5px;
}

.post-date p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--post-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   6. Blog Content
   =================================== */
.blogs-content,
.blogs-contents {
    padding: 40px;
}

.blogs-content ul,
.blogs-contents ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

.blogs-content ul li,
.blogs-contents ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--post-gray);
    font-weight: 500;
}

.blogs-content ul li i,
.blogs-contents ul li i {
    color: var(--post-primary);
    font-size: 16px;
}

.blogs-content ul li a,
.blogs-contents ul li a {
    color: var(--post-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blogs-content ul li a:hover,
.blogs-contents ul li a:hover {
    color: var(--post-primary);
}

/* ===================================
   7. Blog Title
   =================================== */
.blogs-content h3,
.blogs-contents h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--post-dark);
    margin-bottom: 25px;
    line-height: 1.4;
}

/* ===================================
   8. Blog Body Content
   =================================== */
.blogs-content p,
.blogs-contents p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--post-gray);
    margin-bottom: 20px;
}

.blogs-content h1,
.blogs-content h2,
.blogs-content h3,
.blogs-content h4,
.blogs-content h5,
.blogs-content h6,
.blogs-contents h1,
.blogs-contents h2,
.blogs-contents h3,
.blogs-contents h4,
.blogs-contents h5,
.blogs-contents h6 {
    color: var(--post-dark);
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blogs-content h1,
.blogs-contents h1 {
    font-size: 32px;
}

.blogs-content h2,
.blogs-contents h2 {
    font-size: 28px;
}

.blogs-content h3,
.blogs-contents h3 {
    font-size: 24px;
}

.blogs-content h4,
.blogs-contents h4 {
    font-size: 20px;
}

.blogs-content ul:not(.meta-list),
.blogs-content ol,
.blogs-contents ul:not(.meta-list),
.blogs-contents ol {
    margin: 20px 0;
    padding-right: 25px;
}

.blogs-content ul:not(.meta-list) li,
.blogs-content ol li,
.blogs-contents ul:not(.meta-list) li,
.blogs-contents ol li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.blogs-content blockquote,
.blogs-contents blockquote {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.05) 0%, rgba(26, 115, 232, 0.02) 100%);
    border-right: 4px solid var(--post-primary);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: var(--post-radius-sm);
    font-style: italic;
    color: var(--post-dark);
    font-size: 18px;
    line-height: 1.7;
}

.blogs-content img,
.blogs-contents img {
    max-width: 100%;
    height: auto;
    border-radius: var(--post-radius-md);
    margin: 25px 0;
    box-shadow: var(--post-shadow-sm);
}

.blogs-content a,
.blogs-contents a {
    color: var(--post-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
}

.blogs-content a:hover,
.blogs-contents a:hover {
    color: var(--post-secondary);
    border-bottom-color: var(--post-secondary);
}

.blogs-content code,
.blogs-contents code {
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #e91e63;
}

.blogs-content pre,
.blogs-contents pre {
    background: #1e1e1e;
    color: #ffffff;
    padding: 20px;
    border-radius: var(--post-radius-sm);
    overflow-x: auto;
    margin: 25px 0;
}

.blogs-content pre code,
.blogs-contents pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* ===================================
   9. Tags Section
   =================================== */
.tags-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.tags-section h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--post-dark);
    margin-bottom: 20px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tags-list li a {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.08) 0%, rgba(26, 115, 232, 0.05) 100%);
    color: var(--post-primary);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 115, 232, 0.2);
}

.tags-list li a:hover {
    background: linear-gradient(135deg, var(--post-primary) 0%, var(--post-secondary) 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

/* ===================================
   10. Share Section
   =================================== */
.share-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--post-radius-md);
    text-align: center;
}

.share-section h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--post-dark);
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #3b5998 0%, #2d4373 100%);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0c85d0 100%);
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
}

.share-btn.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

/* ===================================
   11. Sidebar
   =================================== */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: var(--post-radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--post-shadow-md);
    transition: var(--post-transition);
}

.sidebar-widget:hover {
    box-shadow: var(--post-shadow-lg);
    transform: translateY(-5px);
}

.sidebar-widget h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--post-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--post-primary);
    position: relative;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 60px;
    height: 3px;
    background: var(--post-accent);
}

/* Search Widget */
.search-widget form {
    position: relative;
}

.search-widget input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.search-widget input:focus {
    outline: none;
    border-color: var(--post-primary);
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
}

.search-widget button {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--post-primary);
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-widget button:hover {
    background: var(--post-secondary);
    transform: translateY(-50%) scale(1.1);
}

/* Categories Widget */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 12px;
}

.categories-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: var(--post-radius-sm);
    color: var(--post-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.categories-list li a:hover {
    background: linear-gradient(135deg, var(--post-primary) 0%, var(--post-secondary) 100%);
    color: #ffffff;
    transform: translateX(-5px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
}

.categories-list li a span {
    background: rgba(26, 115, 232, 0.1);
    color: var(--post-primary);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.categories-list li a:hover span {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Recent Posts Widget */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.recent-posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--post-radius-sm);
    overflow: hidden;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-posts-list li:hover .recent-post-thumb img {
    transform: scale(1.1);
}

.recent-post-content {
    flex: 1;
}

.recent-post-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.recent-post-content h4 a {
    color: var(--post-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-content h4 a:hover {
    color: var(--post-primary);
}

.recent-post-content .post-meta {
    font-size: 13px;
    color: var(--post-gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.recent-post-content .post-meta i {
    color: var(--post-primary);
}

/* ===================================
   12. Blog Details Text (Article Body)
   =================================== */
.blog-details-text {
    padding: 40px;
    background: #ffffff;
    border-radius: var(--post-radius-lg);
    box-shadow: var(--post-shadow-md);
    margin-top: 30px;
    min-height: 800px;
    font-family: 'Cairo', sans-serif;
    contain-intrinsic-size: auto 800px;
    will-change: contents;
}

.blog-details-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--post-gray);
    margin-bottom: 20px;
}

.blog-details-text h1,
.blog-details-text h2,
.blog-details-text h3,
.blog-details-text h4,
.blog-details-text h5,
.blog-details-text h6 {
    color: var(--post-dark);
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: 'Cairo', sans-serif;
}

.blog-details-text h1 { font-size: 32px; }
.blog-details-text h2 { font-size: 28px; }
.blog-details-text h3 { font-size: 24px; }
.blog-details-text h4 { font-size: 20px; }

.blog-details-text ul,
.blog-details-text ol {
    margin: 20px 0;
    padding-right: 25px;
}

.blog-details-text li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.blog-details-text blockquote {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.05) 0%, rgba(26, 115, 232, 0.02) 100%);
    border-right: 4px solid var(--post-primary);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: var(--post-radius-sm);
    font-style: italic;
    color: var(--post-dark);
    font-size: 18px;
    line-height: 1.7;
}

.blog-details-text img {
    max-width: 100%;
    height: auto;
    border-radius: var(--post-radius-md);
    margin: 25px 0;
    box-shadow: var(--post-shadow-sm);
    aspect-ratio: attr(width) / attr(height);
}

.blog-details-text a {
    color: var(--post-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
}

.blog-details-text a:hover {
    color: var(--post-secondary);
    border-bottom-color: var(--post-secondary);
}

/* ===================================
   13. Article Images Grid
   =================================== */
.article-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
    padding: 0;
}

.article-images-grid .grid-item {
    position: relative;
    border-radius: var(--post-radius-md);
    overflow: hidden;
    box-shadow: var(--post-shadow-md);
    transition: all 0.3s ease;
}

.article-images-grid .grid-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--post-shadow-lg);
}

.article-images-grid figure {
    margin: 0;
    position: relative;
}

.article-images-grid img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.article-images-grid .grid-item:hover img {
    transform: scale(1.05);
}

.article-images-grid .image-caption {
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    padding: 15px;
    margin-top: -60px;
    position: relative;
    z-index: 2;
    text-align: right;
}

.article-images-grid .image-caption h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    transition: color 0.3s;
}

.article-images-grid .image-caption h3:hover {
    color: #ffd700;
}

.article-images-grid .image-caption p {
    margin: 0;
    font-size: 14px;
    color: #f0f0f0;
    line-height: 1.5;
}

/* ===================================
   14. Sidebar Area & Widgets
   =================================== */
.sidebar-area {
    position: sticky;
    top: 100px;
}

.widget {
    background: #ffffff;
    border-radius: var(--post-radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--post-shadow-md);
    transition: var(--post-transition);
}

.widget:hover {
    box-shadow: var(--post-shadow-lg);
    transform: translateY(-5px);
}

.widget-title,
.widget h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--post-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--post-primary);
    position: relative;
}

.widget-title::after,
.widget h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 60px;
    height: 3px;
    background: var(--post-accent);
}

/* Widget Post Categories */
.widget_post_categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_post_categories li {
    margin-bottom: 12px;
}

.widget_post_categories li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: var(--post-radius-sm);
    color: var(--post-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.widget_post_categories li a:hover {
    background: linear-gradient(135deg, var(--post-primary) 0%, var(--post-secondary) 100%);
    color: #ffffff;
    transform: translateX(-5px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
}

/* Widget Tag Cloud */
.widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.widget_tag_cloud .tagcloud a {
    text-decoration: none;
}

.widget_tag_cloud .button {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.08) 0%, rgba(26, 115, 232, 0.05) 100%);
    color: var(--post-primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 115, 232, 0.2);
}

.widget_tag_cloud .button:hover {
    background: linear-gradient(135deg, var(--post-primary) 0%, var(--post-secondary) 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

/* Widget Call */
.widget_call {
    background: linear-gradient(135deg, var(--post-primary) 0%, var(--post-secondary) 100%);
    color: #ffffff;
    text-align: center;
    padding: 40px 30px;
}

.widget_call i {
    font-size: 48px;
    color: var(--post-accent);
    margin-bottom: 20px;
    animation: phonePulse 2s ease-in-out infinite;
}

@keyframes phonePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.widget_call p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.widget_call span {
    display: block;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--post-accent);
    direction: ltr;
}

.widget_call a {
    display: inline-block;
    padding: 12px 30px;
    background: #ffffff;
    color: var(--post-primary);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.widget_call a:hover {
    background: var(--post-accent);
    color: var(--post-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ===================================
   15. Responsive Design - Tablet
   =================================== */
@media (max-width: 991px) {
    .banner-section {
        padding: 100px 0 60px;
    }
    
    .post-meta-banner {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .post-meta-banner .meta-item {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .page-title h2 {
        font-size: 38px;
    }
    
    .blogs-section {
        padding: 60px 0;
    }
    
    .blog-img {
        height: 400px;
    }
    
    .blogs-content,
    .blogs-contents {
        padding: 30px;
    }
    
    .blogs-content h3,
    .blogs-contents h3 {
        font-size: 28px;
    }
    
    .sidebar {
        position: static;
        margin-top: 40px;
    }
}

/* ===================================
   13. Responsive Design - Mobile
   =================================== */
@media (max-width: 767px) {
    .banner-section {
        padding: 80px 0 50px;
    }
    
    .post-meta-banner {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .post-meta-banner .meta-item {
        font-size: 13px;
        padding: 8px 14px;
    }
    
    .post-meta-banner .meta-item i {
        font-size: 16px;
    }
    
    .page-title h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .page-title ul {
        font-size: 14px;
    }
    
    .blogs-section {
        padding: 40px 0;
    }
    
    .blog-img {
        height: 300px;
    }
    
    .post-date {
        bottom: 20px;
        left: 20px;
        padding: 15px;
        min-width: 70px;
    }
    
    .post-date .date {
        font-size: 28px;
    }
    
    .post-date p {
        font-size: 12px;
    }
    
    .blogs-content,
    .blogs-contents {
        padding: 25px 20px;
    }
    
    .blogs-content h3,
    .blogs-contents h3 {
        font-size: 24px;
    }
    
    .blogs-content p,
    .blogs-contents p {
        font-size: 16px;
    }
    
    .blogs-content ul,
    .blogs-contents ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .blog-details-text {
        padding: 25px 20px;
    }
    
    .article-images-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .sidebar-area {
        position: static;
        margin-top: 40px;
    }
    
    .widget,
    .sidebar-widget {
        padding: 25px 20px;
    }
    
    .share-buttons {
        gap: 10px;
    }
    
    .share-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* ===================================
   14. Responsive Design - Small Mobile
   =================================== */
@media (max-width: 480px) {
    .post-meta-banner {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .post-meta-banner .meta-item {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .page-title h2 {
        font-size: 22px;
    }
    
    .blog-img {
        height: 250px;
    }
    
    .post-date {
        bottom: 15px;
        left: 15px;
        padding: 12px;
        min-width: 60px;
    }
    
    .post-date .date {
        font-size: 24px;
    }
    
    .post-date p {
        font-size: 11px;
    }
    
    .blogs-content h3,
    .blogs-contents h3 {
        font-size: 20px;
    }
    
    .blogs-content p,
    .blogs-contents p {
        font-size: 15px;
    }
    
    .blog-details-text {
        padding: 20px 15px;
    }
    
    .blog-details-text h2 {
        font-size: 22px;
    }
    
    .blog-details-text h3 {
        font-size: 20px;
    }
    
    .widget {
        padding: 20px 15px;
    }
    
    .widget-title,
    .widget h3 {
        font-size: 18px;
    }
    
    .widget_call {
        padding: 30px 20px;
    }
    
    .widget_call i {
        font-size: 40px;
    }
    
    .widget_call span {
        font-size: 20px;
    }
    
    .recent-post-thumb {
        width: 70px;
        height: 70px;
    }
}

/* ===================================
   15. Print Styles
   =================================== */
@media print {
    .banner-section,
    .sidebar,
    .share-section {
        display: none;
    }
    
    .single-blogs {
        box-shadow: none;
        border: 1px solid #e0e0e0;
    }
    
    .blogs-content,
    .blogs-contents {
        padding: 20px;
    }
}

/* ===================================
   16. Accessibility
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.single-blogs:focus-within {
    outline: 3px solid var(--post-primary);
    outline-offset: 4px;
}
