/**
 * Inkora Featured Grid - Frontend Styles
 * Version: 1.0.0
 */
:root {
  --inkora-primary: #2398bc;
}
.inkora-featured-grid {
    max-width: 1200px;
    margin: 0 auto 20px;
	padding:0;
}

/* Header Section */
.inkora-featured-header {
    display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.inkora-featured-title {
    font-size: 36px;

    margin: 0;
    color: #1a1a2e;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.inkora-featured-grid .dashicons {
	color: #777777;
}
.inkora-featured-title::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 0;
  width: 70px;
  height: 4px;
  background: var(--inkora-primary);
  border-radius: 4px;
  transition: width 0.3s ease;
}



/* Main Grid Layout */
.inkora-featured-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Main Featured Post - Left Side */
.inkora-featured-main {
    position: relative;
}

.inkora-featured-article {
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}



/* Featured Image */
.inkora-featured-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.inkora-featured-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.3));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.inkora-featured-article:hover .inkora-featured-image::after {
    opacity: 1;
}

.inkora-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.inkora-featured-article:hover .inkora-featured-image img {
    transform: scale(1.08);
}

/* Featured Content */
.inkora-featured-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.inkora-featured-category {
	color:#999999;
}
/* Category Badge */
.inkora-featured-category {
    margin-bottom: 15px;
}

.inkora-featured-category a {
  display: inline-block;
  color: #999;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 30px;
  transition: all 0.3s ease;
}


/* Post Title */
.inkora-featured-post-title {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.inkora-featured-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.3s ease, color 0.3s ease;
}

.inkora-featured-post-title a:hover {
    color: var(--inkora-primary, #2398bc);

    background-repeat: no-repeat;
    background-position: left bottom;
}

/* Excerpt */
.inkora-featured-excerpt {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    flex: 1;
}

/* Meta Information */
.inkora-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
    font-size: 14px;
    color: #999;
    align-items: center;
}

.inkora-featured-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.inkora-featured-meta .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Read More Button */
.inkora-featured-read-more {
  display: inline-block;
  padding: 8px 18px;
  background-color: var(--inkora-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  width: 110px;
}

.inkora-featured-read-more:hover {

    color: #ffffff;
}

.inkora-featured-read-more .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.inkora-featured-read-more:hover .dashicons {
    transform: translateX(5px);
}

/* Sidebar Posts - Right Side */
.inkora-featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.inkora-sidebar-article {
    display: flex;
    gap: 20px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.inkora-sidebar-article:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--inkora-primary, #2398bc);
}

/* Sidebar Image */
.inkora-sidebar-image {
    flex: 0 0 90px;
    height: 90px;
    overflow: hidden;
    position: relative;
}

.inkora-sidebar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.inkora-sidebar-article:hover .inkora-sidebar-image img {
    transform: scale(1.1);
}

/* Sidebar Content */
.inkora-sidebar-content {
    flex: 1;
    min-width: 0;
}

/* Sidebar Category */
.inkora-sidebar-category {
    margin-bottom: 6px;
}
.featured-content-cat {
	color: var(--inkora-primary);
}
.inkora-sidebar-category a {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--inkora-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.inkora-sidebar-category a:hover {
    color: var(--inkora-primary);
    text-decoration: underline;
}

/* Sidebar Title */
.inkora-sidebar-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.inkora-sidebar-title a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.inkora-sidebar-title a:hover {
    color: var(--inkora-primary, #2398bc);
}

/* Sidebar Meta */
.inkora-sidebar-meta {
    display: flex;
    gap: 15px;
    font-size: 11px;
    color: #999;
    align-items: center;
}

.inkora-sidebar-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.inkora-sidebar-meta .dashicons {
    font-size: 12px;
    width: 12px;
    height: 12px;
}
/* Add dashicon styles */
.inkora-featured-grid .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 3px;
}

.inkora-featured-read-more .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.inkora-featured-read-more:hover .dashicons {
    transform: translateX(3px);
}

.inkora-featured-meta .dashicons,
.inkora-sidebar-meta .dashicons {
    font-size: 12px;
    width: 12px;
    height: 12px;
}
/* Responsive Design - Large Tablets */
@media (max-width: 1024px) {
    .inkora-featured-title {
        font-size: 32px;
    }
    
    .inkora-featured-post-title {
        font-size: 24px;
    }
}

/* Responsive Design - Medium Tablets */
@media (max-width: 992px) {
    .inkora-featured-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .inkora-featured-image img {
        height: 300px;
    }
    
    .inkora-featured-content {
        padding: 20px;
    }
    
    .inkora-featured-meta {
        gap: 15px;
        font-size: 13px;
    }
}

/* Responsive Design - Mobile Landscape */
@media (max-width: 768px) {
    .inkora-featured-grid {
        margin: 20px auto;
    }
    
    .inkora-featured-title {
        font-size: 28px;
    }
    
    .inkora-featured-title::after {
        width: 50px;
    }
    
    .inkora-featured-post-title {
        font-size: 22px;
    }
    
    .inkora-featured-excerpt {
        font-size: 15px;
    }
    
    .inkora-sidebar-article {
        padding: 12px;
        gap: 15px;
    }
    
    .inkora-sidebar-image {
        flex: 0 0 80px;
        height: 80px;
    }
    
    .inkora-sidebar-title {
        font-size: 15px;
    }
    
    .inkora-featured-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* Responsive Design - Mobile Portrait */
@media (max-width: 576px) {
    .inkora-featured-grid {
        margin: 15px auto;
    }
    
    .inkora-featured-title {
        font-size: 24px;
    }
    
    .inkora-featured-image img {
        height: 220px;
    }
    
    .inkora-featured-content {
        padding: 15px;
    }
    
    .inkora-featured-post-title {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .inkora-featured-excerpt {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .inkora-featured-meta {
        padding: 12px 0;
        gap: 12px;
        font-size: 12px;
    }
    
    .inkora-featured-read-more {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .inkora-sidebar-article {

        padding: 15px;
		
    }
    .inkora-featured-wrapper {
		display: block;
		
	}
	.inkora-featured-article {
  margin-bottom: 10px;
	}
	.inkora-featured-sidebar {
  
  gap: 10px;
}
    
    
    .inkora-sidebar-image img {
        width: 100%;
        height: 100%;
    }
    
    .inkora-sidebar-content {
        padding: 0;
    }
    
    .inkora-sidebar-meta {
        font-size: 10px;
        gap: 10px;
    }
}

/* Small Mobile */
@media (max-width: 375px) {
    .inkora-featured-image img {
        height: 180px;
    }
    
    .inkora-featured-meta {

        align-items: flex-start;
        gap: 8px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .inkora-featured-grid {
        background: transparent;
    }
    
    .inkora-featured-article,
    .inkora-sidebar-article {
        background: #1e1e2f;
        border-color: #2a2a3c;
    }
    
    .inkora-featured-title,
    .inkora-featured-post-title a,
    .inkora-sidebar-title a {
        color: #ffffff;
    }
    
    .inkora-featured-excerpt {
        color: #b0b0c0;
    }
    
    .inkora-featured-meta,
    .inkora-sidebar-meta {
        color: #999;
        border-color: #2a2a3c;
    }
}

/* Print Styles */
@media print {
    .inkora-featured-article,
    .inkora-sidebar-article {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .inkora-featured-read-more {
        display: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .inkora-featured-article,
    .inkora-featured-article:hover,
    .inkora-featured-image img,
    .inkora-featured-read-more,
    .inkora-featured-read-more:hover .dashicons,
    .inkora-sidebar-article,
    .inkora-sidebar-article:hover .inkora-sidebar-image img,
    .inkora-featured-title::after {
        transition: none !important;
        transform: none !important;
    }
}

/* RTL Support */
.rtl .inkora-featured-title::after {
    left: auto;
    right: 0;
}

.rtl .inkora-featured-read-more .dashicons {
    margin-left: 0;
    margin-right: 5px;
}

.rtl .inkora-featured-read-more:hover .dashicons {
    transform: translateX(-5px);
}

.rtl .inkora-sidebar-article:hover {
    transform: translateX(-5px);
}