/*
	Theme Name: Rehub child theme
	Theme URI: https://wpsoul.com
	Description: A Hybrid magazine/shop/review/news Wordpress Theme
	Author: Sizam
	Author URI: https://wpsoul.com
	Version: 9.4
	Template: rehub-theme
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

:root {
    --ts-primary: #ff6b00;
    --ts-secondary: #00d084;
    --ts-text: #2d3748;
    --ts-bg-light: #f7fafc;
    --ts-card-radius: 16px;
    --ts-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --ts-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.ts-homepage {
    font-family: 'Inter', sans-serif;
    color: var(--ts-text);
    background-color: #ffffff;
    overflow-x: hidden;
    width: 100%;
}

.ts-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

/* SECTION 1 - HERO */
.ts-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #fffaf6 0%, #ffffff 100%);
    width: 100%;
}

.ts-hero .ts-section-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ts-hero-left {
    flex: 1;
    max-width: 600px;
}

.ts-hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.ts-hero-right img {
    max-width: 100%;
    height: auto;
    border-radius: var(--ts-card-radius);
}

.ts-hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #1a202c;
}

.ts-hero h1 span {
    color: var(--ts-primary);
}

.ts-hero-sub {
    font-size: 18px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 30px;
}

.ts-search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.ts-search-input {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.ts-search-input:focus {
    border-color: var(--ts-primary);
}

.ts-search-btn {
    background-color: var(--ts-primary);
    color: white;
    padding: 16px 36px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.ts-search-btn:hover {
    opacity: 0.9;
}

.ts-popular-searches {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    color: #718096;
}

.ts-popular-tag {
    background-color: #edf2f7;
    color: #4a5568;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.2s;
}

.ts-popular-tag:hover {
    background-color: var(--ts-primary);
    color: white !important;
}

/* SECTION 2 - CATEGORY ICON BAR */
.ts-category-icon-bar {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    padding: 30px 4%;
    background-color: #ffffff;
}

.ts-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    text-align: center;
    text-decoration: none;
    color: var(--ts-text);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #edf2f7;
}

.ts-icon-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ts-shadow-hover);
    color: var(--ts-primary) !important;
}

.ts-icon-card .ts-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 24px;
}

.ts-icon-card span {
    font-size: 14px;
    font-weight: 700;
}

/* SECTION 3 - PROBLEM CATEGORY HUB */
.ts-problem-hub {
    padding: 50px 4%;
    background-color: #ffffff;
}

.ts-section-title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.ts-section-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a202c;
}

.ts-view-all {
    color: var(--ts-primary);
    font-weight: 700;
    text-decoration: none;
}

.ts-view-all:hover {
    text-decoration: underline;
}

.ts-problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ts-problem-card {
    background: #ffffff;
    padding: 30px;
    border-radius: var(--ts-card-radius);
    box-shadow: var(--ts-shadow-soft);
    border: 1px solid #edf2f7;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ts-problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ts-shadow-hover);
}

.ts-problem-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.ts-problem-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ts-problem-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.ts-problem-links {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.ts-problem-links li {
    margin-bottom: 12px;
}

.ts-problem-links a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.ts-problem-links a:hover {
    color: var(--ts-primary) !important;
}

.ts-card-footer-link {
    color: var(--ts-primary);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* SECTION 4 - FEATURED ARTICLES GRID */
.ts-featured-grid-section {
    padding: 50px 4%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.ts-featured-left {
    background: #ffffff;
    border-radius: var(--ts-card-radius);
    box-shadow: var(--ts-shadow-soft);
    border: 1px solid #edf2f7;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ts-featured-left img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.ts-featured-left-content {
    padding: 30px;
}

.ts-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.ts-tag-health { background-color: #e6fffa; color: #319795; }
.ts-tag-behavior { background-color: #fffaf0; color: #dd6b20; }
.ts-tag-nutrition { background-color: #ebf8ff; color: #3182ce; }
.ts-tag-care { background-color: #f7fafc; color: #4a5568; }

.ts-featured-left h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.ts-featured-left h2 a {
    color: #1a202c;
    text-decoration: none;
}

.ts-featured-left h2 a:hover {
    color: var(--ts-primary);
}

.ts-meta {
    font-size: 14px;
    color: #a0aec0;
}

.ts-featured-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ts-featured-small-card {
    background: #ffffff;
    border-radius: var(--ts-card-radius);
    box-shadow: var(--ts-shadow-soft);
    border: 1px solid #edf2f7;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: calc(50% - 15px);
}

.ts-featured-small-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.ts-featured-small-content {
    padding: 20px;
}

.ts-featured-small-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.ts-featured-small-card h3 a {
    color: #1a202c;
    text-decoration: none;
}

.ts-featured-small-card h3 a:hover {
    color: var(--ts-primary);
}

/* SECTION 5 - TOP PRODUCT COMPARISONS */
.ts-comparisons {
    padding: 50px 4%;
    background-color: var(--ts-bg-light);
}

.ts-comparisons-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.ts-comp-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: transform 0.2s;
    text-align: center;
}

.ts-comp-card:hover {
    transform: translateY(-4px);
}

.ts-comp-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.ts-comp-info {
    padding: 15px;
}

.ts-comp-tag {
    display: inline-block;
    background-color: #f0fff4;
    color: #38a169;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.ts-comp-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px;
}

.ts-comp-card h4 a {
    color: #1a202c;
    text-decoration: none;
}

.ts-comp-count {
    font-size: 13px;
    color: #718096;
    margin-bottom: 10px;
}

.ts-rating-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    color: #ecc94b;
    font-size: 14px;
    font-weight: 700;
}

.ts-rating-row span {
    color: #4a5568;
}

/* SECTION 6 - LATEST BUYING GUIDES */
.ts-buying-guides {
    padding: 50px 4%;
    background-color: #ffffff;
}

.ts-guides-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.ts-guide-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.2s;
}

.ts-guide-card:hover {
    transform: translateY(-4px);
}

.ts-guide-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.ts-guide-info {
    padding: 15px;
}

.ts-guide-tag {
    display: inline-block;
    background-color: #ebf8ff;
    color: #2b6cb0;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.ts-guide-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ts-guide-card h4 a {
    color: #1a202c;
    text-decoration: none;
}

.ts-guide-desc {
    font-size: 13px;
    color: #718096;
    line-height: 1.4;
    margin-bottom: 12px;
}

/* SECTION 7 - REVIEWS CLUB */
.ts-reviews-club {
    padding: 50px 4%;
    background-color: #ffffff;
}

.ts-reviews-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.ts-review-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ts-review-prod-img {
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.ts-review-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.ts-review-card h4 a {
    color: #1a202c;
    text-decoration: none;
}

.ts-review-stars {
    color: #ecc94b;
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.ts-review-text {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
}

.ts-review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #edf2f7;
    padding-top: 12px;
}

.ts-review-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.ts-review-author span {
    font-size: 12px;
    font-weight: 700;
    color: #718096;
}

/* SECTION 8 - TRUST SECTION */
.ts-trust {
    padding: 40px 4%;
    background-color: var(--ts-bg-light);
}

.ts-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.ts-trust-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.ts-trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--ts-primary);
    flex-shrink: 0;
}

.ts-trust-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 5px;
}

.ts-trust-info p {
    font-size: 13px;
    color: #718096;
    margin: 0;
}

/* SECTION 9 - BLOG / TRENDING */
.ts-trending-section {
    padding: 50px 4%;
    background-color: #ffffff;
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1.6fr;
    gap: 40px;
}

.ts-trend-column h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #1a202c;
}

.ts-blog-list-item {
    margin-bottom: 25px;
}

.ts-blog-list-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.ts-blog-list-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.ts-blog-list-item h4 a {
    color: #1a202c;
    text-decoration: none;
}

.ts-blog-list-item h4 a:hover {
    color: var(--ts-primary);
}

.ts-trend-list-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.ts-trend-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #fff0e6;
    color: var(--ts-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.ts-trend-list-item img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
}

.ts-trend-list-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 5px;
}

.ts-trend-list-item h4 a {
    color: #1a202c;
    text-decoration: none;
}

.ts-trend-list-item p {
    font-size: 13px;
    color: #718096;
    margin: 0;
}

.ts-deals-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #edf2f7;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.ts-deal-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ts-deal-left img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.ts-deal-left h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 3px;
}

.ts-deal-left p {
    font-size: 12px;
    color: #718096;
    margin: 0;
}

.ts-deal-btn {
    background-color: #fff0e6;
    color: var(--ts-primary);
    font-weight: 700;
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
}

.ts-deal-btn:hover {
    background-color: var(--ts-primary);
    color: white !important;
}

/* SECTION 10 - EMAIL CAPTURE */
.ts-newsletter-section {
    padding: 60px 4%;
    background-color: #ffffff;
}

.ts-newsletter-card {
    background: linear-gradient(135deg, #fffaf6 0%, #fff0e6 100%);
    border-radius: var(--ts-card-radius);
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: var(--ts-shadow-soft);
}

.ts-newsletter-card img {
    width: 300px;
    height: auto;
}

.ts-newsletter-content {
    flex: 1;
}

.ts-newsletter-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1a202c;
}

.ts-newsletter-content p {
    font-size: 16px;
    color: #4a5568;
    margin-bottom: 25px;
}

.ts-newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.ts-newsletter-input {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    font-size: 16px;
    outline: none;
    background: white;
}

.ts-newsletter-input:focus {
    border-color: var(--ts-primary);
}

.ts-newsletter-btn {
    background-color: var(--ts-primary);
    color: white;
    padding: 16px 36px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.ts-newsletter-sub {
    font-size: 12px;
    color: #718096;
    margin-bottom: 15px;
}

.ts-social-icons {
    display: flex;
    gap: 15px;
    font-size: 20px;
}

.ts-social-icons a {
    color: #a0aec0;
}

.ts-social-icons a:hover {
    color: var(--ts-primary);
}

/* RESPONSIVE DESIGN (MOBILE-FIRST PRINCIPLE) */
@media (max-width: 1024px) {
    .ts-category-icon-bar {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .ts-problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ts-featured-grid-section {
        grid-template-columns: 1fr;
    }
    
    .ts-comparisons-grid,
    .ts-guides-grid,
    .ts-reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ts-trending-section {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .ts-hero {
        flex-direction: column-reverse;
        padding: 40px 4% 20px;
        text-align: center;
    }
    
    .ts-hero h1 {
        font-size: 32px;
    }
    
    .ts-hero-left {
        max-width: 100%;
    }
    
    .ts-search-container {
        flex-direction: column;
    }
    
    .ts-category-icon-bar {
        display: flex;
        overflow-x: auto;
        padding-bottom: 15px;
        gap: 12px;
        scrollbar-width: none; /* Hide scrollbar for clean horizontal scrolling */
    }
    
    .ts-category-icon-bar::-webkit-scrollbar {
        display: none;
    }
    
    .ts-icon-card {
        flex: 0 0 120px;
        padding: 15px 5px;
    }
    
    .ts-problem-grid {
        grid-template-columns: 1fr;
    }
    
    .ts-comparisons-grid,
    .ts-guides-grid,
    .ts-reviews-grid {
        display: flex;
        overflow-x: auto;
        padding-bottom: 15px;
        gap: 15px;
        scrollbar-width: none;
    }
    
    .ts-comparisons-grid::-webkit-scrollbar,
    .ts-guides-grid::-webkit-scrollbar,
    .ts-reviews-grid::-webkit-scrollbar {
        display: none;
    }
    
    .ts-comp-card,
    .ts-guide-card,
    .ts-review-card {
        flex: 0 0 260px;
    }
    
    .ts-trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ts-trending-section {
        grid-template-columns: 1fr;
    }
    
    .ts-newsletter-card {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }
    
    .ts-newsletter-card img {
        width: 150px;
    }
    
    .ts-newsletter-form {
        flex-direction: column;
    }
}

/* ==========================================
   HOMEPAGE LAYOUT WIDTH & SIDEBAR OVERRIDES
   ========================================== */

/* Force containers to full viewport width */
.fullgutenberg .rh-post-wrapper,
.fullgutenberg .main-side {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ts-homepage {
    max-width: 100% !important;
    width: 100% !important;
}

/* Reset outer paddings on section containers */
.ts-hero,
.ts-category-icon-bar,
.ts-problem-hub,
.ts-featured-grid-section,
.ts-comparisons,
.ts-buying-guides,
.ts-reviews-club,
.ts-trust,
.ts-trending-section,
.ts-newsletter-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Setup display behavior of grid sections to block on outer container */
.ts-category-icon-bar,
.ts-featured-grid-section,
.ts-trending-section {
    display: block !important;
}

/* Category Bar grid inside inner wrapper */
.ts-category-icon-bar .ts-section-inner {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
}

/* Featured articles grid inside inner wrapper */
.ts-featured-grid-section .ts-section-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Trending section grid inside inner wrapper */
.ts-trending-section .ts-section-inner {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1.6fr;
    gap: 40px;
}

/* Responsive Overrides for Inner Wrappers */
@media (max-width: 1024px) {
    .ts-category-icon-bar .ts-section-inner {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .ts-featured-grid-section .ts-section-inner {
        grid-template-columns: 1fr;
    }
    
    .ts-trending-section .ts-section-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .ts-category-icon-bar .ts-section-inner {
        display: flex !important;
        overflow-x: auto !important;
        padding-bottom: 15px !important;
        gap: 12px !important;
        scrollbar-width: none !important;
    }
    
    .ts-category-icon-bar .ts-section-inner::-webkit-scrollbar {
        display: none !important;
    }
    
    .ts-category-icon-bar .ts-icon-card {
        flex: 0 0 120px !important;
    }

    .ts-trending-section .ts-section-inner {
        grid-template-columns: 1fr !important;
    }
}

/* Force-hide sidebar and stretch content on the homepage */
.home .sidebar,
.home aside.sidebar,
.home .rh-mini-sidebar {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}

.home .main-side,
.home .rh-mini-sidebar-content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ==========================================
   CUSTOM FOOTER STYLING
   ========================================== */
.ts-footer {
    background-color: #0d131e;
    color: #a0aec0;
    padding: 60px 0 30px;
    border-top: 4px solid var(--ts-primary);
    width: 100%;
}

.ts-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.ts-footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ts-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ts-footer-col ul li {
    margin-bottom: 12px;
}

.ts-footer-col ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px;
}

.ts-footer-col ul li a:hover {
    color: var(--ts-primary) !important;
}

.ts-footer-brand-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    display: block;
    letter-spacing: 0.5px;
}

.ts-footer-brand-title span {
    color: var(--ts-primary);
}

.ts-footer-brand-subtitle {
    font-size: 10px;
    color: #a0aec0;
    display: block;
    margin-top: 2px;
    letter-spacing: 1px;
}

.ts-footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    margin: 20px 0;
    color: #718096;
}

.ts-footer-social {
    display: flex;
    gap: 15px;
    font-size: 20px;
}

.ts-footer-social a {
    color: #718096;
    text-decoration: none;
    transition: transform 0.2s;
}

.ts-footer-social a:hover {
    transform: scale(1.15);
}

.ts-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1a202c;
    padding-top: 20px;
    font-size: 13px;
    color: #718096;
}

@media (max-width: 768px) {
    .ts-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .ts-footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Hide page header, sharing buttons, and post metadata exclusively on the homepage */
.home .title_single_area,
.home .top_share,
.home .post-meta,
.home .breadcrumb,
.home #contents-section-woo-area {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Remove excessive spacing at the top of the homepage container */
.home .rh-container + .pt20,
.home .pt20.clearfix.pb10 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Force full width on template-gutencon templates */
.page-template-template-gutencon .rh-container,
.page-template-template-gutencon-php .rh-container,
.page-template-template-gutencon .rh-outer-wrap,
.page-template-template-gutencon-php .rh-outer-wrap {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
