/* =============================================================================
   BLOG STYLES
   ============================================================================= */

/* --- Main Blog Index Layout --- */
.sw-blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 20px;
}

.sw-blog-header {
    text-align: center;
    margin-bottom: 4rem;
}

.sw-blog-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.sw-blog-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Blog Grid --- */
.sw-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

/* --- Blog Card --- */
.sw-blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sw-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.sw-blog-card-img-link {
    display: block;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    position: relative;
    overflow: hidden;
}

.sw-blog-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sw-blog-card:hover .sw-blog-card-img {
    transform: scale(1.05);
}

.sw-blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.sw-blog-category {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    width: fit-content;
    background: #ff6a00;
}

/* Category color classes - matching site kicker scheme */
@keyframes sw-shimmer-blog {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

.sw-blog-category.sw-cat-newmusic {
    background: linear-gradient(90deg, #059669 0%, #10b981 50%, #059669 100%);
    background-size: 200% auto;
    animation: sw-shimmer-blog 3s linear infinite;
}

.sw-blog-category.sw-cat-digital {
    background: linear-gradient(90deg, #8b5cf6 0%, #a78bfa 50%, #8b5cf6 100%);
    background-size: 200% auto;
    animation: sw-shimmer-blog 3s linear infinite;
}

.sw-blog-category.sw-cat-touring {
    background: linear-gradient(90deg, #22c55e 0%, #4ade80 50%, #22c55e 100%);
    background-size: 200% auto;
    animation: sw-shimmer-blog 3s linear infinite;
}

.sw-blog-category.sw-cat-festivals {
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 50%, #f59e0b 100%);
    background-size: 200% auto;
    animation: sw-shimmer-blog 3s linear infinite;
}

.sw-blog-category.sw-cat-promoters {
    background: linear-gradient(90deg, #0ea5e9 0%, #38bdf8 50%, #0ea5e9 100%);
    background-size: 200% auto;
    animation: sw-shimmer-blog 3s linear infinite;
}

.sw-blog-category.sw-cat-ecom {
    background: linear-gradient(90deg, #ef4444 0%, #f87171 50%, #ef4444 100%);
    background-size: 200% auto;
    animation: sw-shimmer-blog 3s linear infinite;
}


.sw-blog-card-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    color: #111;
    text-wrap: balance;
}

.sw-blog-card-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.sw-blog-card-title a:hover {
    color: #ff6a00;
}

.sw-blog-card-excerpt {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.sw-blog-read-more {
    display: inline-block;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #111;
    text-decoration: none;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #ff6a00;
    padding-bottom: 2px;
    align-self: flex-start;
    transition: all 0.2s ease;
}

.sw-blog-read-more:hover {
    color: #ff6a00;
    border-bottom-color: transparent;
}

/* --- Single Article Styles --- */
.sw-article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 20px;
    background: transparent;
}

.sw-article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.sw-article-meta {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.sw-article-meta span {
    margin: 0 10px;
}

/* Article page category pill - match blog index styling */
.sw-article-category {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.1em;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    width: fit-content;
    background: #ff6a00;
    margin-right: 10px;
}

/* Article category color classes */
.sw-article-category.sw-cat-newmusic {
    background: linear-gradient(90deg, #059669 0%, #10b981 50%, #059669 100%);
    background-size: 200% auto;
    animation: sw-shimmer-blog 3s linear infinite;
}

.sw-article-category.sw-cat-digital {
    background: linear-gradient(90deg, #8b5cf6 0%, #a78bfa 50%, #8b5cf6 100%);
    background-size: 200% auto;
    animation: sw-shimmer-blog 3s linear infinite;
}

.sw-article-category.sw-cat-touring {
    background: linear-gradient(90deg, #22c55e 0%, #4ade80 50%, #22c55e 100%);
    background-size: 200% auto;
    animation: sw-shimmer-blog 3s linear infinite;
}

.sw-article-category.sw-cat-festivals {
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 50%, #f59e0b 100%);
    background-size: 200% auto;
    animation: sw-shimmer-blog 3s linear infinite;
}

.sw-article-category.sw-cat-promoters {
    background: linear-gradient(90deg, #0ea5e9 0%, #38bdf8 50%, #0ea5e9 100%);
    background-size: 200% auto;
    animation: sw-shimmer-blog 3s linear infinite;
}

.sw-article-category.sw-cat-ecom {
    background: linear-gradient(90deg, #ef4444 0%, #f87171 50%, #ef4444 100%);
    background-size: 200% auto;
    animation: sw-shimmer-blog 3s linear infinite;
}

.sw-article-category.sw-cat-casestudies {
    background: linear-gradient(90deg, #ff6a00 0%, #ff8533 50%, #ff6a00 100%);
    background-size: 200% auto;
    animation: sw-shimmer-blog 3s linear infinite;
}

.sw-article-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #111;
    margin: 0 0 1.5rem 0;
    text-wrap: balance;
}

.sw-article-featured-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sw-article-content {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.sw-article-content p {
    margin-bottom: 1.5rem;
}

.sw-article-content h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #111;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.sw-article-content h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.sw-article-content ul,
.sw-article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.sw-article-content li {
    margin-bottom: 0.5rem;
}

@keyframes sw-accent-pulse {

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

    50% {
        background-position: 100% 50%;
    }
}

.sw-article-content blockquote {
    position: relative;
    background:
        linear-gradient(rgba(17, 17, 17, 0.97), rgba(17, 17, 17, 0.97)),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23333' fill-opacity='0.3'%3E%3Cpath d='M0 0h1v1H0V0zm20 0h1v1h-1V0zM0 20h1v1H0v-1zm20 20h1v1h-1v-1z'/%3E%3C/g%3E%3C/svg%3E");
    border-radius: 8px;
    padding: 2rem 2rem 2rem 2.5rem;
    margin: 2.5rem 0;
    font-style: normal;
    color: #e5e5e5;
    font-size: 1.15rem;
    line-height: 1.7;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.sw-article-content blockquote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #ff6a00, #ff8533, #ff6a00);
    background-size: 100% 200%;
    animation: sw-accent-pulse 2s ease-in-out infinite;
}

.sw-article-content blockquote p {
    margin: 0;
    color: inherit;
}

/* --- Social Sharing --- */
.sw-share-container {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.sw-share-label {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
    color: #888;
}

.sw-share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.sw-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sw-share-btn:hover {
    background: #ff6a00;
    color: #fff;
    transform: translateY(-3px);
}

.sw-share-btn.sw-copy-link {
    cursor: pointer;
    border: none;
}

.sw-share-btn.sw-copy-link.copied {
    background: #22c55e;
    color: #fff;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .sw-blog-grid {
        grid-template-columns: 1fr;
    }

    .sw-blog-title {
        font-size: 2.2rem;
    }

    .sw-article-title {
        font-size: 2rem;
    }

    .sw-article-container {
        padding: 2rem 15px;
    }
}

/* --- Magazine-Style Floating Figures --- */
.sw-article-figure {
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.sw-article-figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.sw-article-figure figcaption {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin-top: 0.75rem;
    font-style: italic;
}

.sw-article-figure.sw-float-right {
    float: right;
    width: auto;
    max-width: 250px;
    margin: 0.5rem 0 1.5rem 2rem;
}

.sw-article-figure.sw-float-left {
    float: left;
    width: auto;
    max-width: 250px;
    margin: 0.5rem 2rem 1.5rem 0;
}

@media (max-width: 768px) {

    .sw-article-figure.sw-float-right,
    .sw-article-figure.sw-float-left {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 1.5rem 0;
    }
}