/* ============================================
   BLOG HERO SECTION
   ============================================ */

.tr-blog-hero {
    position: relative;
    padding: 140px 0 50px;
    background: linear-gradient(135deg, #0D1B2A 0%, #1B263B 100%);
    overflow: hidden;
}

.tr-blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 20px;
    margin-bottom: 32px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.tr-blog-hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.tr-breadcrumb-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tr-breadcrumb-link:hover {
    color: var(--primary-color);
}

.tr-breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
}

.tr-breadcrumb-current {
    color: var(--white);
    font-weight: 500;
}

.tr-blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(14, 165, 166, 0.15);
    border: 1px solid rgba(14, 165, 166, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.tr-blog-hero-badge img {
    filter: brightness(0) invert(1);
}

.tr-blog-hero-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.tr-blog-hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   BLOG MAIN CONTENT
   ============================================ */

.tr-blog-main {
    padding: 80px 0;
    background: var(--white);
}

.tr-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* ============================================
   ARTICLE CARDS
   ============================================ */

.tr-article-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tr-article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(14, 165, 166, 0.15);
}

.tr-article-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tr-article-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.tr-article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tr-article-card:hover .tr-article-image {
    transform: scale(1.08);
}

.tr-article-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0D1B2A 0%, #1B263B 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tr-article-placeholder img {
    filter: brightness(0) invert(1);
    opacity: 0.3;
}

.tr-article-category {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(14, 165, 166, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    z-index: 2;
}

.tr-article-category img {
    filter: brightness(0) invert(1);
}

.tr-article-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.tr-article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tr-article-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 14px;
}

.tr-article-date img {
    opacity: 0.6;
}

.tr-article-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s ease;
}

.tr-article-card:hover .tr-article-title {
    color: var(--primary-color);
}

.tr-article-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.tr-article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.tr-article-read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.tr-article-card:hover .tr-article-read-more {
    gap: 12px;
}

/* ============================================
   PAGINATION
   ============================================ */

.tr-blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 60px;
    padding: 40px 0;
}

.tr-pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.tr-pagination-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 166, 0.3);
}

.tr-pagination-btn img {
    transition: filter 0.3s ease;
}

.tr-pagination-btn:hover img {
    filter: brightness(0) invert(1);
}

.tr-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tr-pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.tr-pagination-number:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.tr-pagination-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.tr-pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text-light);
    font-weight: 500;
}

/* ============================================
   POPULAR ARTICLES SECTION
   ============================================ */

.tr-blog-popular {
    margin-top: 80px;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 24px;
}

.tr-popular-header {
    text-align: center;
    margin-bottom: 48px;
}

.tr-popular-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.tr-popular-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.tr-popular-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tr-popular-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tr-popular-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #00CDB8 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.tr-popular-card:hover::before {
    transform: scaleX(1);
}

.tr-popular-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(14, 165, 166, 0.15);
}

.tr-popular-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tr-popular-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tr-popular-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #00CDB8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tr-popular-icon img {
    filter: brightness(0) invert(1);
}

.tr-popular-badge {
    padding: 6px 12px;
    background: rgba(14, 165, 166, 0.1);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tr-popular-card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.tr-popular-card:hover .tr-popular-card-title {
    color: var(--primary-color);
}

.tr-popular-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tr-popular-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 14px;
}

.tr-popular-date img {
    opacity: 0.6;
}

.tr-popular-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(14, 165, 166, 0.1);
    border-radius: 50%;
    margin-left: auto;
    transition: all 0.3s ease;
}

.tr-popular-card:hover .tr-popular-arrow {
    background: var(--primary-color);
    transform: translateX(4px);
}

.tr-popular-arrow img {
    transition: filter 0.3s ease;
}

.tr-popular-card:hover .tr-popular-arrow img {
    filter: brightness(0) invert(1);
}

/* ============================================
   CTA SECTION
   ============================================ */

.tr-blog-cta {
    margin-top: 80px;
    padding: 60px;
    background: linear-gradient(135deg, #0D1B2A 0%, #1B263B 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.tr-cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.tr-cta-shape-1,
.tr-cta-shape-2 {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 166, 0.15) 0%, transparent 70%);
}

.tr-cta-shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.tr-cta-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -80px;
}

.tr-cta-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.tr-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(14, 165, 166, 0.15);
    border: 1px solid rgba(14, 165, 166, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.tr-cta-badge img {
    filter: brightness(0) invert(1);
}

.tr-cta-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.tr-cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 32px;
}

.tr-cta-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tr-cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 500;
    font-size: 16px;
}

.tr-cta-feature img {
    filter: brightness(0) invert(1);
}

.tr-cta-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.tr-cta-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.tr-cta-card-header img {
    filter: brightness(0) invert(1);
}

.tr-cta-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
}

.tr-cta-phone {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.tr-cta-phone:hover {
    color: #00CDB8;
}

.tr-cta-card-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 15px;
}

.tr-cta-form-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

.tr-cta-form-btn:hover {
    background: #00CDB8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 166, 0.3);
}

.tr-cta-form-btn img {
    filter: brightness(0) invert(1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
    .tr-blog-hero {
        padding: 100px 0 40px;
    }

    .tr-blog-breadcrumb {
        margin-bottom: 24px;
    }

    .tr-blog-hero-title {
        font-size: 32px;
    }

    .tr-blog-hero-subtitle {
        font-size: 16px;
    }

    .tr-blog-main {
        padding: 60px 0;
    }

    .tr-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .tr-popular-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .tr-cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tr-cta-title {
        font-size: 28px;
    }

    .tr-blog-cta {
        padding: 40px 30px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .tr-blog-hero {
        padding: 80px 0 35px;
    }

    .tr-blog-breadcrumb {
        margin-bottom: 20px;
    }

    .tr-blog-hero-title {
        font-size: 26px;
    }

    .tr-blog-hero-subtitle {
        font-size: 15px;
    }

    .tr-blog-main {
        padding: 40px 0;
    }

    .tr-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tr-article-image-wrapper {
        height: 200px;
    }

    .tr-article-title {
        font-size: 18px;
    }

    .tr-pagination-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .tr-pagination-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .tr-popular-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tr-popular-title {
        font-size: 28px;
    }

    .tr-popular-card {
        padding: 24px;
    }

    .tr-blog-cta {
        padding: 30px 20px;
        margin-top: 60px;
    }

    .tr-cta-title {
        font-size: 24px;
    }

    .tr-cta-subtitle {
        font-size: 16px;
    }

    .tr-cta-phone {
        font-size: 24px;
    }

    .tr-cta-card {
        padding: 30px 20px;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .tr-blog-hero {
        padding: 70px 0 30px;
    }

    .tr-blog-hero-title {
        font-size: 23px;
    }

    .tr-blog-hero-subtitle {
        font-size: 14px;
    }

    .tr-article-content {
        padding: 20px;
    }

    .tr-pagination-btn span {
        display: none;
    }

    .tr-pagination-btn {
        padding: 10px;
    }

    .tr-popular-title {
        font-size: 24px;
    }

    .tr-cta-title {
        font-size: 22px;
    }
}
