/* ───── Blog Card Animations ───── */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(253, 212, 0, 0.1);
    border-color: #fdd400; /* secondary */
}

/* ───── Blog Content Typography ───── */
.blog-body {
    font-size: 17px;
    line-height: 1.8;
    color: #e0e4ff; /* on-surface */
    overflow-wrap: break-word;
}

.blog-body h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #f5c518; /* yellow accent */
}

.blog-body h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.blog-body p {
    margin-bottom: 1.5rem;
}

.blog-body a {
    color: #95aaff; /* primary */
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.blog-body a:hover {
    color: #fdd400; /* secondary */
}

.blog-body ul, .blog-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-body ul {
    list-style-type: disc;
}

.blog-body ol {
    list-style-type: decimal;
}

.blog-body li {
    margin-bottom: 0.5rem;
}



.blog-body blockquote {
    border-left: 4px solid #fdd400; /* secondary */
    background: rgba(22, 30, 59, 0.5); /* surface-container-high with opacity */
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #a4aac7; /* on-surface-variant */
    border-radius: 0 0.5rem 0.5rem 0;
}

.blog-body pre {
    background: #000000; /* surface-container-lowest */
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border: 1px solid #414760; /* outline-variant */
}

.blog-body code {
    font-family: monospace;
    background: rgba(22, 30, 59, 0.8);
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
    color: #fdd400;
}

.blog-body pre code {
    background: transparent;
    padding: 0;
    color: #e0e4ff;
}

.blog-body img, .blog-body figure {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.blog-body figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: #a4aac7;
    margin-top: 0.5rem;
}

/* ───── Share Button Tooltip ───── */
.share-btn {
    position: relative;
}
.share-btn[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #111833;
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s;
    border: 1px solid #414760;
}
.share-btn:hover[data-tooltip]::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

/* ───── Custom Select Dropdown ───── */
.custom-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: #070d23;
    color: #ffffff;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 30px 8px 14px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.custom-select:focus {
    outline: none;
    border-color: #fdd400; /* secondary */
}
