/* ==========================================================================
   FlowFix Article Page - Fresh & Clean Design
   Plumber Dubai | Unique Article Styles
   ========================================================================== */

/* Article Variables */
:root {
    --art-teal: #0D9488;
    --art-teal-light: #14b8a6;
    --art-teal-soft: rgba(13, 148, 136, 0.08);
    --art-orange: #F97316;
    --art-orange-soft: rgba(249, 115, 22, 0.08);
    --art-navy: #1e3a5f;
    --art-slate: #475569;
    --art-gray: #64748b;
    --art-muted: #94a3b8;
    --art-cream: #fefdfb;
    --art-sand: #faf8f5;
    --art-warm: #f5f1ec;
    --art-white: #ffffff;
    --art-border: #e8e4df;
    --art-radius-xl: 24px;
    --art-radius-lg: 16px;
    --art-radius-md: 12px;
    --art-radius-sm: 8px;
    --art-shadow-soft: 0 2px 16px rgba(30, 58, 95, 0.06);
    --art-shadow-card: 0 8px 32px rgba(30, 58, 95, 0.08);
    --art-shadow-hover: 0 16px 48px rgba(30, 58, 95, 0.12);
    --art-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Article Hero - Minimal Breadcrumb Section
   ========================================================================== */
.art-hero {
    padding: 130px 0 2rem;
    background: var(--art-cream);
    position: relative;
}

.art-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--art-teal-soft) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.art-hero__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.art-hero__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--art-white);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--art-gray);
    box-shadow: var(--art-shadow-soft);
}

.art-hero__breadcrumb a {
    color: var(--art-teal);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s var(--art-ease);
}

.art-hero__breadcrumb a:hover {
    color: var(--art-orange);
}

.art-hero__breadcrumb span:last-child {
    color: var(--art-slate);
    font-weight: 600;
}

/* ==========================================================================
   Article Main Content Area
   ========================================================================== */
.art-main {
    background: var(--art-cream);
    padding: 0 0 5rem;
}

.art-main__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   Article Post Styles
   ========================================================================== */
.art-post {
    background: var(--art-white);
    border-radius: var(--art-radius-xl);
    overflow: hidden;
    box-shadow: var(--art-shadow-card);
}

/* Article Header */
.art-post__header {
    padding: 2.5rem 2.5rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--art-border);
}

.art-post__category {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--art-teal-soft);
    color: var(--art-teal);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

.art-post__category img {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(352%) hue-rotate(131deg) brightness(97%) contrast(101%);
}

.art-post__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--art-navy);
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.art-post__meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.art-post__meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: var(--art-gray);
}

.art-post__meta-item img {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

/* Featured Image */
.art-post__image {
    margin: 0;
    position: relative;
}

.art-post__image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/8;
    object-fit: cover;
}

.art-post__caption {
    padding: 0.75rem 2rem;
    background: var(--art-sand);
    font-size: 0.8rem;
    color: var(--art-gray);
    text-align: center;
    font-style: italic;
}

/* Article Introduction */
.art-post__intro {
    padding: 2.5rem 2.5rem 0;
}

.art-post__intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--art-slate);
    font-weight: 500;
    position: relative;
    padding-left: 1.5rem;
    border-left: 4px solid var(--art-teal);
    margin: 0;
}

/* Main Content */
.art-post__content {
    padding: 2rem 2.5rem;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--art-slate);
}

.art-post__content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--art-navy);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--art-teal-soft);
    position: relative;
}

.art-post__content h2::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--art-teal), var(--art-orange));
}

.art-post__content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--art-navy);
    margin: 2rem 0 0.75rem;
}

.art-post__content p {
    margin: 0 0 1.25rem;
}

.art-post__content ul,
.art-post__content ol {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}

.art-post__content li {
    margin-bottom: 0.6rem;
    position: relative;
}

.art-post__content ul li::marker {
    color: var(--art-teal);
}

.art-post__content ol li::marker {
    color: var(--art-teal);
    font-weight: 600;
}

.art-post__content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--art-teal-soft) 0%, var(--art-orange-soft) 100%);
    border-radius: var(--art-radius-md);
    border-left: 4px solid var(--art-teal);
    font-style: italic;
    color: var(--art-navy);
}

.art-post__content blockquote p {
    margin: 0;
}

.art-post__content strong {
    color: var(--art-navy);
    font-weight: 600;
}

.art-post__content a {
    color: var(--art-teal);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s var(--art-ease);
}

.art-post__content a:hover {
    color: var(--art-orange);
}

.art-post__content code {
    background: var(--art-sand);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Monaco', 'Consolas', monospace;
}

.art-post__content pre {
    background: var(--art-navy);
    color: var(--art-white);
    padding: 1.5rem;
    border-radius: var(--art-radius-md);
    overflow-x: auto;
    margin: 1.5rem 0;
}

.art-post__content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* Conclusion */
.art-post__conclusion {
    padding: 0 2.5rem 2rem;
    margin-top: 1rem;
}

.art-post__conclusion h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--art-navy);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--art-orange-soft);
    position: relative;
}

.art-post__conclusion h2::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--art-orange);
}

.art-post__conclusion p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--art-slate);
    margin: 0;
}

.art-post__conclusion a {
    color: var(--art-teal);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Tags */
.art-post__tags {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 2.5rem;
    background: var(--art-sand);
    border-top: 1px solid var(--art-border);
}

.art-post__tags img {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(352%) hue-rotate(131deg) brightness(97%) contrast(101%);
}

.art-post__tags span {
    font-size: 0.85rem;
    color: var(--art-gray);
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.art-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, var(--art-teal) 0%, #0a766d 50%, var(--art-teal) 100%);
    background-size: 200% 200%;
    animation: ctaShine 6s ease infinite;
    border-radius: var(--art-radius-xl);
    padding: 2rem 2.5rem;
    margin-top: 2.5rem;
    position: relative;
    overflow: hidden;
}

@keyframes ctaShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.art-cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='100' cy='100' r='80' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.15'/%3E%3Ccircle cx='100' cy='100' r='60' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.15'/%3E%3C/svg%3E") center/contain no-repeat;
    pointer-events: none;
}

.art-cta__icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.art-cta__icon img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
}

.art-cta__content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.art-cta__title {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--art-white);
    margin-bottom: 0.25rem;
}

.art-cta__text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.art-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--art-white);
    color: var(--art-teal);
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s var(--art-ease);
    position: relative;
    z-index: 1;
}

.art-cta__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.art-cta__btn img {
    width: 18px;
    height: 18px;
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(352%) hue-rotate(131deg) brightness(97%) contrast(101%);
    transition: transform 0.3s var(--art-ease);
}

.art-cta__btn:hover img {
    transform: translateX(4px);
}

/* ==========================================================================
   Related Articles Section
   ========================================================================== */
.art-related {
    margin-top: 4rem;
}

.art-related__title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--art-navy);
    margin-bottom: 1.75rem;
}

.art-related__title img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(352%) hue-rotate(131deg) brightness(97%) contrast(101%);
}

.art-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.art-related__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    background: var(--art-white);
    border-radius: var(--art-radius-lg);
    padding: 1.5rem;
    text-decoration: none;
    box-shadow: var(--art-shadow-soft);
    transition: all 0.3s var(--art-ease);
    position: relative;
    overflow: hidden;
}

.art-related__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--art-teal), var(--art-teal-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--art-ease);
}

.art-related__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--art-shadow-hover);
}

.art-related__card:hover::before {
    transform: scaleX(1);
}

.art-related__icon {
    width: 48px;
    height: 48px;
    background: var(--art-teal-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--art-ease);
}

.art-related__icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(352%) hue-rotate(131deg) brightness(97%) contrast(101%);
    transition: filter 0.3s var(--art-ease);
}

.art-related__card:hover .art-related__icon {
    background: var(--art-teal);
}

.art-related__card:hover .art-related__icon img {
    filter: brightness(0) invert(1);
}

.art-related__card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--art-navy);
    line-height: 1.4;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s var(--art-ease);
}

.art-related__card:hover .art-related__card-title {
    color: var(--art-teal);
}

.art-related__arrow {
    width: 36px;
    height: 36px;
    background: var(--art-sand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--art-ease);
    align-self: flex-end;
}

.art-related__arrow img {
    width: 18px;
    height: 18px;
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(352%) hue-rotate(131deg) brightness(97%) contrast(101%);
    transition: all 0.3s var(--art-ease);
}

.art-related__card:hover .art-related__arrow {
    background: var(--art-teal);
}

.art-related__card:hover .art-related__arrow img {
    filter: brightness(0) invert(1);
    transform: translateX(3px);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* 1024px */
@media (max-width: 1024px) {
    .art-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 768px */
@media (max-width: 768px) {
    .art-hero {
        padding: 110px 0 1.5rem;
    }

    .art-hero::before {
        width: 200px;
        height: 200px;
    }

    .art-post__header {
        padding: 2rem 1.5rem 1.5rem;
    }

    .art-post__title {
        font-size: 1.5rem;
    }

    .art-post__meta {
        gap: 1rem;
    }

    .art-post__caption {
        padding: 0.6rem 1.5rem;
    }

    .art-post__intro {
        padding: 1.75rem 1.5rem 0;
    }

    .art-post__intro p {
        font-size: 1.05rem;
        padding-left: 1.25rem;
    }

    .art-post__content {
        padding: 1.5rem 1.5rem;
        font-size: 1rem;
    }

    .art-post__content h2 {
        font-size: 1.3rem;
    }

    .art-post__content h3 {
        font-size: 1.15rem;
    }

    .art-post__conclusion {
        padding: 0 1.5rem 1.5rem;
    }

    .art-post__tags {
        padding: 1.25rem 1.5rem;
    }

    .art-cta {
        flex-direction: column;
        text-align: center;
        padding: 1.75rem 1.5rem;
    }

    .art-cta__btn {
        width: 100%;
        justify-content: center;
    }

    .art-related__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .art-related__card {
        flex-direction: row;
        align-items: center;
        padding: 1.25rem;
    }

    .art-related__icon {
        width: 44px;
        height: 44px;
    }

    .art-related__card-title {
        flex: 1;
    }

    .art-related__arrow {
        align-self: center;
    }
}

/* 480px */
@media (max-width: 480px) {
    .art-hero {
        padding: 100px 0 1.25rem;
    }

    .art-hero__container,
    .art-main__container {
        padding: 0 1rem;
    }

    .art-hero__breadcrumb {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .art-post__header {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .art-post__category {
        font-size: 0.7rem;
        padding: 0.35rem 0.85rem;
    }

    .art-post__title {
        font-size: 1.35rem;
        margin-bottom: 1rem;
    }

    .art-post__meta {
        gap: 0.75rem;
    }

    .art-post__meta-item {
        font-size: 0.8rem;
    }

    .art-post__caption {
        padding: 0.5rem 1.25rem;
        font-size: 0.75rem;
    }

    .art-post__intro {
        padding: 1.5rem 1.25rem 0;
    }

    .art-post__intro p {
        font-size: 1rem;
        line-height: 1.7;
        padding-left: 1rem;
        border-left-width: 3px;
    }

    .art-post__content {
        padding: 1.25rem;
        font-size: 0.95rem;
        line-height: 1.75;
    }

    .art-post__content h2 {
        font-size: 1.2rem;
        margin: 2rem 0 0.75rem;
    }

    .art-post__content h3 {
        font-size: 1.1rem;
        margin: 1.5rem 0 0.6rem;
    }

    .art-post__content blockquote {
        padding: 1.25rem 1.5rem;
        margin: 1.5rem 0;
    }

    .art-post__conclusion {
        padding: 0 1.25rem 1.25rem;
    }

    .art-post__conclusion h2 {
        font-size: 1.2rem;
    }

    .art-post__tags {
        padding: 1rem 1.25rem;
        gap: 0.5rem;
    }

    .art-post__tags span {
        font-size: 0.8rem;
    }

    .art-cta {
        margin-top: 2rem;
        padding: 1.5rem 1.25rem;
        border-radius: var(--art-radius-lg);
    }

    .art-cta__icon {
        width: 52px;
        height: 52px;
    }

    .art-cta__icon img {
        width: 24px;
        height: 24px;
    }

    .art-cta__title {
        font-size: 1.1rem;
    }

    .art-cta__text {
        font-size: 0.8rem;
    }

    .art-cta__btn {
        padding: 0.8rem 1.25rem;
        font-size: 0.9rem;
    }

    .art-related {
        margin-top: 3rem;
    }

    .art-related__title {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }

    .art-related__card {
        padding: 1rem;
    }

    .art-related__icon {
        width: 40px;
        height: 40px;
    }

    .art-related__icon img {
        width: 20px;
        height: 20px;
    }

    .art-related__card-title {
        font-size: 0.9rem;
    }

    .art-related__arrow {
        width: 32px;
        height: 32px;
    }

    .art-related__arrow img {
        width: 16px;
        height: 16px;
    }
}

/* 375px */
@media (max-width: 375px) {
    .art-hero {
        padding: 95px 0 1rem;
    }

    .art-hero__breadcrumb {
        padding: 0.4rem 0.85rem;
        font-size: 0.75rem;
        gap: 0.4rem;
    }

    .art-post {
        border-radius: var(--art-radius-lg);
    }

    .art-post__header {
        padding: 1.25rem 1rem 1rem;
    }

    .art-post__category {
        font-size: 0.65rem;
        padding: 0.3rem 0.7rem;
        gap: 0.3rem;
        margin-bottom: 1rem;
    }

    .art-post__category img {
        width: 14px;
        height: 14px;
    }

    .art-post__title {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .art-post__meta-item {
        font-size: 0.75rem;
        gap: 0.3rem;
    }

    .art-post__meta-item img {
        width: 14px;
        height: 14px;
    }

    .art-post__image img {
        aspect-ratio: 16/9;
    }

    .art-post__caption {
        padding: 0.4rem 1rem;
        font-size: 0.7rem;
    }

    .art-post__intro {
        padding: 1.25rem 1rem 0;
    }

    .art-post__intro p {
        font-size: 0.95rem;
        padding-left: 0.85rem;
    }

    .art-post__content {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .art-post__content h2 {
        font-size: 1.1rem;
    }

    .art-post__content h3 {
        font-size: 1rem;
    }

    .art-post__content ul,
    .art-post__content ol {
        padding-left: 1.25rem;
    }

    .art-post__content blockquote {
        padding: 1rem 1.25rem;
        margin: 1.25rem 0;
        font-size: 0.9rem;
    }

    .art-post__conclusion {
        padding: 0 1rem 1rem;
    }

    .art-post__conclusion h2 {
        font-size: 1.1rem;
    }

    .art-post__conclusion p {
        font-size: 0.9rem;
    }

    .art-post__tags {
        padding: 0.875rem 1rem;
    }

    .art-post__tags img {
        width: 14px;
        height: 14px;
    }

    .art-post__tags span {
        font-size: 0.75rem;
    }

    .art-cta {
        margin-top: 1.5rem;
        padding: 1.25rem 1rem;
        gap: 1rem;
    }

    .art-cta__icon {
        width: 46px;
        height: 46px;
    }

    .art-cta__icon img {
        width: 22px;
        height: 22px;
    }

    .art-cta__title {
        font-size: 1rem;
    }

    .art-cta__text {
        font-size: 0.75rem;
    }

    .art-cta__btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        gap: 0.4rem;
    }

    .art-cta__btn img {
        width: 16px;
        height: 16px;
    }

    .art-related {
        margin-top: 2.5rem;
    }

    .art-related__title {
        font-size: 1.1rem;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .art-related__title img {
        width: 20px;
        height: 20px;
    }

    .art-related__grid {
        gap: 0.75rem;
    }

    .art-related__card {
        padding: 0.875rem;
        gap: 0.75rem;
        border-radius: var(--art-radius-md);
    }

    .art-related__icon {
        width: 36px;
        height: 36px;
    }

    .art-related__icon img {
        width: 18px;
        height: 18px;
    }

    .art-related__card-title {
        font-size: 0.85rem;
    }

    .art-related__arrow {
        width: 28px;
        height: 28px;
    }

    .art-related__arrow img {
        width: 14px;
        height: 14px;
    }
}
