/* UnicoTaxi Official Brand & Blog Design System */
:root {
    --ut-purple: #8167E6;
    --ut-purple-hover: #6d52d9;
    --ut-purple-light: #f3f0fd;
    --ut-gold: #ffb703;
    --ut-navy: #1b1b2f;
    --ut-dark: #1b1b1b;
    --ut-gray: #555555;
    --ut-gray-light: #f9f9fc;
    --ut-border: #e9ecef;
    --ut-radius: 12px;
    --ut-transition: all 0.25s ease-in-out;
}

/* Base resets & typography */
.ut-blog-archive-page,
.ut-single-blog-page,
.ut-dynamic-seo-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333333;
    line-height: 1.7;
    background-color: #ffffff;
}

/* Subheader Hero Section (Matching Laravel #subheader) */
.ut-subheader {
    position: relative;
    background: #1b1b2f url('../../../../uploads/unicotaxi_blogs/1.jpg') no-repeat center bottom;
    background-size: cover;
    padding: 90px 20px 75px;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}
.ut-subheader::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 35, 0.72);
    z-index: 1;
}
.ut-subheader-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}
.ut-subheader h1 {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 0 12px 0;
    line-height: 1.25;
    letter-spacing: normal !important;
}
@media (max-width: 768px) {
    .ut-subheader h1 {
        font-size: 26px;
    }
}
.ut-subheader p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 20px;
}

/* Category Filter Navigation Bar */
.ut-cat-nav-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 25px;
}
.ut-cat-nav-item {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 7px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--ut-transition);
}
.ut-cat-nav-item:hover,
.ut-cat-nav-item.active {
    background: #8167E6;
    border-color: #8167E6;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(129, 103, 230, 0.4);
}

/* Main Container */
.ut-content-wrapper {
    max-width: 1200px;
    margin: 50px auto 80px;
    padding: 0 20px;
}

/* Blog Cards Grid (3 Columns, Matching Laravel card.blade.php) */
.ut-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 991px) {
    .ut-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .ut-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Card Article (Matching card.blade.php) */
.ut-article-card {
    background: #ffffff;
    border: 1px solid #f0f0f5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ut-article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(129, 103, 230, 0.12);
    border-color: #e2daf8;
}
.ut-card-media {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #f4f4f8;
}
.ut-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.ut-article-card:hover .ut-card-media img {
    transform: scale(1.05);
}
.ut-card-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(27, 27, 47, 0.85);
    color: #ffb703;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}
.ut-card-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.ut-card-post-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 23px;
    margin: 0 0 14px 0;
    letter-spacing: normal !important;
}
.ut-card-post-title a {
    color: #1b1b1b;
    text-decoration: none;
    transition: color 0.2s;
}
.ut-card-post-title a:hover {
    color: #8167E6;
}

/* Author & Meta Bar inside Card */
.ut-card-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #777777;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}
.ut-card-author-box {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ut-card-author-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #8167E6;
}
.ut-card-author-name {
    font-weight: 600;
    color: #333333;
}
.ut-card-read-time {
    color: #8167E6;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ut-card-excerpt {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

/* Button Custom (Matching Laravel a.btn-custom) */
.ut-btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #8167E6;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 22px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    transition: var(--ut-transition);
    align-self: flex-start;
    box-shadow: 0 3px 10px rgba(129, 103, 230, 0.25);
    border: none;
}
.ut-btn-custom:hover {
    background-color: #6d52d9;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(129, 103, 230, 0.4);
    color: #ffffff !important;
}

/* Pagination (Matching Laravel style) */
.ut-pagination-wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 6px;
}
.ut-pagination-wrapper .page-numbers {
    padding: 8px 16px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    color: #8167E6;
    font-weight: 600;
    text-decoration: none;
    transition: var(--ut-transition);
}
.ut-pagination-wrapper .page-numbers:hover,
.ut-pagination-wrapper .page-numbers.current {
    background-color: #8167E6 !important;
    border-color: #8167E6 !important;
    color: #ffffff !important;
}

/* ===================================================
   SINGLE BLOG DETAILS PAGE
   =================================================== */

.ut-single-article-container {
    max-width: 1140px;
    margin: 40px auto 80px;
    padding: 0 20px;
}
.ut-single-featured-box {
    text-align: center;
    margin-bottom: 30px;
}
.ut-single-featured-box img {
    max-width: 100%;
    max-height: 540px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.ut-single-author-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f9f9fc;
    border-radius: 10px;
    border: 1px solid #ececf4;
    margin-bottom: 35px;
    flex-wrap: wrap;
    gap: 15px;
}
.ut-single-author-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ut-single-author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #8167E6;
}
.ut-single-author-info {
    font-size: 14px;
}
.ut-single-author-info strong {
    color: #1b1b1b;
    font-size: 15px;
}
.ut-single-author-info span {
    color: #777777;
    margin-left: 10px;
}
.ut-single-share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ut-social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.2s;
}
.ut-social-icon-btn:hover {
    transform: scale(1.1);
    color: #ffffff;
}
.ut-share-fb { background: #3b5998; }
.ut-share-tw { background: #000000; }
.ut-share-li { background: #0077b5; }
.ut-share-wa { background: #25d366; }

/* Article Body Typography */
.ut-single-body {
    font-size: 16px;
    line-height: 1.85;
    color: #444444;
}
.ut-single-body h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1b1b1b;
    margin: 38px 0 16px 0;
    letter-spacing: normal !important;
    position: relative;
    padding-bottom: 8px;
}
.ut-single-body h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #8167E6;
    border-radius: 2px;
}
.ut-single-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #222222;
    margin: 28px 0 12px 0;
    letter-spacing: normal !important;
}
.ut-single-body p {
    margin-bottom: 22px;
}
.ut-single-body ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0 25px 0;
}
.ut-single-body li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    line-height: 1.7;
}
.ut-single-body li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: #8167E6;
    border-radius: 50%;
}
.ut-single-body blockquote {
    background: #f3f0fd;
    border-left: 4px solid #8167E6;
    padding: 20px 24px;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #1b1b2f;
    margin: 30px 0;
}

/* In-Content CTA Box */
.ut-single-cta {
    background: linear-gradient(135deg, #1b1b2f 0%, #292947 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    margin: 45px 0;
    box-shadow: 0 10px 30px rgba(27, 27, 47, 0.15);
}
.ut-single-cta h3 {
    color: #ffffff !important;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 10px 0;
}
.ut-single-cta p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 22px;
}

/* ===================================================
   DYNAMIC LOCATION LANDING PAGE (Matching dynamic/page.blade.php)
   =================================================== */

.dp-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #1b1b2f;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 100px 20px 70px;
}
.dp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 40, 0.68);
    z-index: 1;
}
.dp-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 880px;
    margin: 0 auto;
}
.dp-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    padding: 6px 20px;
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}
.dp-hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: normal !important;
}
.dynamic-seo-content {
    padding: 70px 0;
    background-color: #f9f9fc;
    min-height: calc(100vh - 380px);
}
.dynamic-seo-content .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}
.dynamic-seo-content h2,
.dynamic-seo-content h3 {
    color: #1b1b1b;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: normal !important;
}
.dynamic-seo-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 25px;
}
.dynamic-seo-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 25px;
}
.dynamic-seo-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 10px;
}

/* ===================================================
   SVG VECTOR ICONS SYSTEM (Zero-Emoji Policy)
   =================================================== */
.ut-svg-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
    flex-shrink: 0;
}
.ut-icon-calendar {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    vertical-align: -2px;
    fill: #8167E6;
}
.ut-icon-clock {
    width: 13px;
    height: 13px;
    margin-right: 4px;
    vertical-align: -2px;
    fill: #8167E6;
}
.ut-icon-arrow {
    width: 14px;
    height: 14px;
    margin-left: 6px;
    vertical-align: -1px;
    fill: currentColor;
    transition: transform 0.2s ease;
}
.ut-btn-custom:hover .ut-icon-arrow {
    transform: translateX(4px);
}
.ut-icon-arrow-left {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: -1px;
    fill: currentColor;
    transition: transform 0.2s ease;
}
.ut-prev-post-card:hover .ut-icon-arrow-left {
    transform: translateX(-4px);
}
.ut-next-post-card:hover .ut-icon-arrow {
    transform: translateX(4px);
}
.ut-icon-taxi-lg {
    width: 52px;
    height: 52px;
    fill: #ffb703;
    margin: 0 auto 16px auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(255, 183, 3, 0.35));
}
.ut-social-icon-btn svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
    vertical-align: middle;
}

