/*
	Theme Name:   Jannah Child
	Theme URI:    http://jannah.tielabs.com/
	Description:  Jannh Child Theme
	Author:       TieLabs
	Author URI:   https://tielabs.com
	Template:     jannah
	Version:      1.0.2
	License:      license purchased
	License URI:  http://themeforest.net/licenses/regular_extended
	Tags:         Tags: two-columns, buddypress, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, full-width-template, microformats, rtl-language-support, sticky-post, threaded-comments, translation-ready
	Text Domain:  jannah-child
*/


/* write custom css after this line */

/* ========================================
   HIGHLIGHTS PAGE STYLES
   ======================================== */

/* Page Wrapper */
.highlights-page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Info Boxes Section */
.highlights-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.info-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 30px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-box::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%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.info-box:hover::before {
    opacity: 1;
}

.info-box.box-1 {
    background: linear-gradient(135deg, #00A859 0%, #00d46a 100%);
}

.info-box.box-2 {
    background: linear-gradient(135deg, #0066CC 0%, #0088ff 100%);
}

.info-box.box-3 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.info-box.box-4 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.info-box.box-5 {
    background: linear-gradient(135deg, #f12711 0%, #f5af19 100%);
}

.info-box.box-6 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.info-box.box-7 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.info-box.box-8 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.info-box.box-9 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.info-box-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.info-box h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.info-box p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* Content Wrapper */
.highlights-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    margin-top: 30px;
}

/* Main Content */
.highlights-main-content {
    min-width: 0;
}

.highlights-page-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #00A859;
}

/* Highlights Grid - TNT Sports Style */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.highlight-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.highlight-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.highlight-thumbnail {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}

.highlight-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.highlight-item:hover .highlight-thumbnail img {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-item:hover .play-overlay {
    opacity: 1;
}

.play-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #00A859;
    padding-right: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.highlight-item:hover .play-icon {
    transform: scale(1.1);
}

.highlight-content {
    padding: 20px;
}

.highlight-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.highlight-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.highlight-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.highlight-meta i {
    color: #00A859;
}

/* Pagination */
.highlights-pagination {
    margin-top: 40px;
    text-align: center;
}

.highlights-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.highlights-pagination a,
.highlights-pagination span {
    padding: 10px 18px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.highlights-pagination a:hover {
    background: #00A859;
    color: #fff;
    border-color: #00A859;
}

.highlights-pagination .current {
    background: #00A859;
    color: #fff;
    border-color: #00A859;
}

/* Sidebar */
.highlights-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.popular-teams-widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 20px;
}

.internal-links-widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #00A859;
}

.popular-teams-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.team-item {
    margin-bottom: 10px;
}

.team-item a {
    display: block;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-right: 3px solid transparent;
    text-align: center;
}

.team-item a:hover {
    background: #e8f5e9;
    border-right-color: #00A859;
    transform: translateX(-3px);
}

.team-item a .team-name {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.team-item a:hover .team-name {
    color: #00A859;
}

/* Internal Links Widget Styles - Text Only */
.internal-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.internal-link-item {
    margin-bottom: 10px;
}

.internal-link-item a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-right: 3px solid transparent;
}

.internal-link-item a:hover {
    background: #e8f5e9;
    border-right-color: #00A859;
    transform: translateX(-3px);
}

.internal-link-item a i {
    color: #00A859;
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.internal-link-item .link-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: #333;
}

.internal-link-item a:hover .link-title {
    color: #00A859;
}

/* No Highlights Message */
.no-highlights {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #666;
    background: #f8f9fa;
    border-radius: 12px;
}

/* Bottom SEO Content Section */
.highlights-bottom-content {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.bottom-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* ========================================
   BETTING SITES PAGE STYLES
   ======================================== */

/* Betting Info Boxes */
.betting-info-boxes {
    max-width: 1400px;
    margin: 0 auto 40px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Full Width Wrapper */
.betting-full-width-wrapper {
    width: 100%;
}

/* Betting Main Content */
.betting-main-content {
    width: 100%;
    max-width: 100%;
}

.betting-page-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #00A859;
}

/* Betting Grid - Optimized for Full Width */
.betting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

@media (min-width: 1200px) {
    .betting-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .betting-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.betting-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.betting-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.betting-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.betting-thumbnail {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    background: #000;
}

.betting-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.betting-item:hover .betting-thumbnail img {
    transform: scale(1.1);
}

.betting-content {
    padding: 20px;
}

.betting-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.betting-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.betting-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #999;
}

.betting-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.betting-meta i {
    color: #00A859;
}

/* Betting Pagination */
.betting-pagination {
    margin-top: 40px;
    text-align: center;
}

.betting-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.betting-pagination a,
.betting-pagination span {
    padding: 10px 18px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.betting-pagination a:hover {
    background: #00A859;
    color: #fff;
    border-color: #00A859;
}

.betting-pagination .current {
    background: #00A859;
    color: #fff;
    border-color: #00A859;
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #666;
    background: #f8f9fa;
    border-radius: 12px;
}

/* SEO Content Section */
.betting-seo-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    margin-top: 80px;
    position: relative;
}

.betting-seo-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00A859 0%, #0066CC 50%, #00A859 100%);
}

.seo-content-inner {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.seo-content-inner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 168, 89, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.seo-content-inner h2 {
    font-size: 32px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 4px solid transparent;
    background: linear-gradient(to right, #00A859, #0066CC) left bottom no-repeat;
    background-size: 150px 4px;
    position: relative;
    display: inline-block;
}

.seo-content-inner h2::after {
    content: '📊';
    margin-right: 10px;
    font-size: 28px;
}

.seo-content-inner h3 {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    margin: 40px 0 20px 0;
    padding-right: 20px;
    border-right: 5px solid #00A859;
    position: relative;
}

.seo-content-inner h3::before {
    content: '✓';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: #00A859;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
}

.seo-content-inner p {
    font-size: 17px;
    line-height: 2;
    color: #444;
    margin-bottom: 25px;
    text-align: justify;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-right: 4px solid #e9ecef;
    transition: all 0.3s ease;
}

.seo-content-inner p:hover {
    background: #fff;
    border-right-color: #00A859;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateX(-5px);
}

.seo-content-inner p:first-of-type {
    font-size: 18px;
    font-weight: 500;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%);
    border-right-color: #00A859;
}

/* ========================================
   TEAM TAG PAGE STYLES
   ======================================== */

/* Team Tag Wrapper */
.team-tag-wrapper {
    width: 100%;
    background: #fff;
}

/* Simple Header for Non-Football Tags */
.tag-simple-header {
    max-width: 1400px;
    margin: 0 auto 40px auto;
    padding: 40px 20px;
    text-align: center;
}

.tag-simple-title {
    font-size: 36px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 3px solid #00A859;
    display: inline-block;
}

.tag-simple-description {
    max-width: 800px;
    margin: 20px auto 0 auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-right: 4px solid #00A859;
}

.tag-simple-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
    text-align: justify;
}

/* Tag Introduction Section */
.tag-intro-section {
    max-width: 1400px;
    margin: 0 auto 60px auto;
    padding: 40px 20px;
}

.tag-main-title {
    font-size: 36px;
    font-weight: bold;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 4px solid #00A859;
    position: relative;
}

.tag-main-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #00A859 50%, transparent 100%);
}

/* Tag Intro Content */
.tag-intro-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Intro Highlight */
.intro-highlight {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-right: 5px solid #00A859;
}

.intro-icon {
    font-size: 48px;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.intro-highlight p {
    font-size: 18px;
    line-height: 1.8;
    color: #2c3e50;
    margin: 0;
}

.intro-highlight strong {
    color: #00A859;
    font-weight: bold;
}

/* Intro Text */
.intro-text {
    margin-bottom: 40px;
}

.intro-text p {
    font-size: 17px;
    line-height: 2;
    color: #444;
    text-align: justify;
    margin: 0;
}

.intro-text strong {
    color: #00A859;
    font-weight: bold;
}

/* Intro Features */
.intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-right: 3px solid transparent;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-right-color: #00A859;
}

.feature-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.feature-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Intro CTA */
.intro-cta {
    background: linear-gradient(135deg, #00A859 0%, #00d46a 100%);
    padding: 25px 30px;
    border-radius: 12px;
    text-align: center;
}

.intro-cta p {
    font-size: 17px;
    line-height: 1.8;
    color: #fff;
    margin: 0;
}

.intro-cta strong {
    font-weight: bold;
    text-decoration: underline;
}

/* Team Section */
.team-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #00A859;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #00A859 0%, transparent 100%);
}

/* Play Overlay for Highlights */
.highlights-section .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlights-section .betting-item:hover .play-overlay {
    opacity: 1;
}

.highlights-section .play-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #00A859;
    padding-right: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.highlights-section .betting-item:hover .play-icon {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .highlights-content-wrapper,
    .betting-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .highlights-sidebar {
        position: static;
    }
    
    .highlights-grid,
    .betting-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .intro-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .highlights-info-boxes,
    .betting-info-boxes {
        grid-template-columns: 1fr;
    }
    
    .highlights-grid,
    .betting-grid {
        grid-template-columns: 1fr;
    }
    
    .highlights-page-title,
    .betting-page-title {
        font-size: 26px;
    }
    
    .tag-main-title {
        font-size: 28px;
    }
    
    .tag-intro-content {
        padding: 30px 25px;
    }
    
    .intro-highlight {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .intro-highlight p,
    .intro-text p {
        font-size: 16px;
    }
    
    .feature-content h3 {
        font-size: 16px;
    }
    
    .intro-cta p {
        font-size: 16px;
    }
    
    .info-box {
        padding: 25px;
    }
    
    .info-box h3 {
        font-size: 20px;
    }
    
    .info-box p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .highlights-page-wrapper,
    .betting-page-wrapper {
        padding: 15px;
    }
    
    .tag-intro-section {
        padding: 20px 15px;
    }
    
    .tag-intro-content {
        padding: 25px 20px;
    }
    
    .highlight-content,
    .betting-content {
        padding: 15px;
    }
    
    .highlight-title,
    .betting-title {
        font-size: 16px;
    }
    
    .popular-teams-widget {
        padding: 20px;
    }
    
    .team-item a {
        padding: 12px 15px;
        min-height: 60px;
    }
    
    .team-item a .team-name {
        font-size: 14px;
    }
}
