@keyframes marquee {
    0% {
        transform: translateX(100vw);
    }

    100% {
        transform: translateX(-100%);
    }
}

.animate-marquee {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.article-title {
    background: -webkit-linear-gradient(45deg, #2563eb, #db2777);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    word-wrap: break-word;
}


.logo-img {
    object-fit: contain;
}

.icon-inline {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.icon-social-large {
    width: 32px;
    height: 32px;
}

.author-avatar-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar-medium {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.sticky-top-100 {
    top: 100px;
}

.dynamic-bg {
    background-image: var(--bg-url);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Aspect Ratios */
.aspect-16-9 {
    aspect-ratio: 16/9;
}

.aspect-16-7 {
    aspect-ratio: 16/7;
}

/* Banner Utilities */

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    opacity: 0.6;
    z-index: 0;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Darken the blur to keep focus on main banner */
    z-index: 0;
}

/* Custom Widths/Heights */
.max-w-900 {
    max-width: 900px;
}

.max-w-60ch {
    max-width: 60ch;
}

.min-h-48 {
    min-height: 48px;
}

.flex-basis-1 {
    flex: 1;
}

.flex-basis-2 {
    flex: 2;
}

.min-w-300 {
    min-width: 300px;
}

.min-w-280 {
    min-width: 280px;
}

.min-w-250 {
    min-width: 250px;
}

.w-96 {
    width: 96px;
}

.h-200 {
    height: 200px;
}

.w-author-card {
    width: 300px;
}

.w-archive-col {
    width: calc(33.333% - 1.34rem);
}

.w-author-post-col {
    width: calc(50% - 0.5rem);
}

.article-content {
    text-align: left;
    max-width: 900px;
    margin: 2rem auto;
    line-height: 1.7;
    color: var(--text-main);
}

.article-content h2 {
    color: var(--primary);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.article-content h3 {
    color: var(--text-muted-on-dark);
    margin: 1.5rem 0 1rem;
    font-size: 1.5rem;
}

.article-content p {
    margin-bottom: 1.25rem;
    opacity: 0.9;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-muted);
}

.shop-header {
    background: var(--bg-black);
    border-bottom: 1px solid var(--border-color);
}

.back-link {
    color: var(--text-muted);
}

.back-link:hover {
    color: var(--primary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: #111;
    border: 1px solid #1f2937;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0; 
}
.product-link {
    background: #0b0b0b;
    display: block;
    overflow: hidden;
}

.product-link amp-img,
.product-link .product-image {
    width: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

.product-link amp-img img {
    object-fit: contain;
    object-position: center;
}

.product-image {
    border-bottom: 1px solid #1f2937;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

.product-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.product-price {
    color: var(--text-muted-on-dark);
    font-weight: 700;
    margin: 0;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.btn-shop {
    margin-top: auto;
    width: 100%;
    font-size: 1rem;
    padding: 0.65rem 1.25rem;
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.shopping-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .shopping-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

#menu-toggle:checked~.custom-sidebar-drawer {
    transform: translateX(0);
}

#menu-toggle:checked~.sidebar-overlay {
    display: block;
}

.custom-sidebar-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: #000;
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    border-left: 1px solid var(--border-color);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 10000;
}

.btn-menu-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}