* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg      : #0e0e0f;
    --surface : #ffffff;
    --surface2: #1e1e21;
    --border  : #cdcdcd;
    --accent  : #c8f075;
    --accent2 : #7b8cff;
    --text    : #f0efe9;
    --muted   : #7a7a82;
    --muted2  : #4a4a52;
}

html,
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    height: 100%;
    width: 100%;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-header {
    background-color: rgb(10, 10, 11);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.site-header .header-title {
    color: white;
    font-size: 1.6rem;
}

.header-title a {
    text-decoration: none;
    color: white;
}
.site-header-nav {
    display: flex;
}
.site-header-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.site-header-nav ul a {
    color: rgb(210, 210, 211);
    cursor: pointer;
    text-decoration: none;
}

.site-main {
    flex: 1;
    margin-top: 100px;
    /* padding: 2rem; */
    background: #fff;
}

.convertkit-wrapper {
    background-color: #f5f5f5;
    padding: 48px 24px 24px;
    text-align: center;
}

.convertkit-wrapper__headline {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 12px;
}

.convertkit-wrapper__copy {
    max-width: 600px;
    margin: 0 auto 24px;
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
}

.seva-form .fields {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto 16px;
}

.seva-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.seva-form button {
    background: #2196f3;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

.seva-form button:hover {
    background: #1976d2;
}

.convertkit-wrapper__disclaimer {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
}

.site-footer {
    width: 100%;
    background-color: #0a0a0b;
    color: rgb(210, 210, 211);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.site-footer ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-footer ul li a {
    color: rgb(210, 210, 211);
    text-decoration: none;
    font-size: 0.9rem;
}

.site-footer ul li a:hover {
    text-decoration: underline;
}

.hero {
    background-color: #0d0d0d;
    color: white;
    padding: 6rem 1rem;
    text-align: center;
}

.hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.hero-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: #d1d1d1;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1rem;
    color: #a1a1a1;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-description a {
    color: #1e90ff;
    text-decoration: none;
}

.hero-description a:hover {
    text-decoration: underline;
}

.twitter-follow {
    background: #000;
    color: #fff;
    border: 1px solid #444;
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.twitter-follow:hover {
    background: #222;
}

/* Articles section */
.articles {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.articles-title {
    text-align: center;
    font-size: 1.60rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.articles-link {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    color: #1e90ff;
    text-decoration: none;
}
.articles-link:hover {
    text-decoration: underline;
}

.featured-article {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.featured-image img {
    width: 100%;
    border-radius: 6px;
    height: 350px;
}
.featured-content .article-category {
    font-size: 0.8rem;
    font-weight: bold;
    color: #1e90ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.featured-title {
    margin-top: 1rem;
}
.featured-desc {
    font-weight: 300;
    color: #5e5c5c;
    margin-top: 1rem;
}
.article-meta {
    font-size: 0.8rem;
    color: #5e5c5c;
    margin-top: 1rem;
}

.articles-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 2rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: 2rem;
}
.article-card {
    display: flex;
    flex-direction: column;
}
.article-card img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    height: 250px;
}
.article-content .article-category {
    font-size: 0.75rem;
    font-weight: bold;
    color: #1e90ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.article-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.5rem 0;
}
.article-card p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}
.article-card .article-meta {
    font-size: 0.75rem;
    color: #5e5c5c;
}
.article-description {
    font-weight: 300;
    color: #5e5c5c;
}
/* @media (max-width: 768px) {
  .featured {
    grid-column: span 1;
  }
} */

/* Contact page styles */
.contact {
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.contact h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #333;
}

.contact a {
    color: #1e90ff;
    text-decoration: none;
}
.contact a:hover {
    text-decoration: underline;
}

/* Note block */
.note {
    border-left: 4px solid #1e90ff;
    padding-left: 1rem;
    margin: 2rem 0;
    color: #444;
    background: #f9f9f9;
    font-size: 0.95rem;
}

/* Social icons floating left */
.social-icons {
    position: fixed;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-icons a {
    font-size: 1.2rem;
    color: #111;
    text-decoration: none;
}

.social-icons a:hover {
    color: #1e90ff;
}

/* About page */
.about {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.about h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.about-image {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #333;
    font-size: 1rem;
}

.about-text a {
    color: #1e90ff;
    text-decoration: none;
}

.about-text a:hover {
    text-decoration: underline;
}

/* Blog Post Page */
.post {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.post-category {
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    color: #1e90ff;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.post-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.post-heading {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.post-meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 2rem;
}

.post-image {
    width: 100%;
    border-radius: 6px;
    margin: 2rem 0;
}

.post-content p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.post-content a {
    color: #1e90ff;
    text-decoration: none;
}
.post-content a:hover {
    text-decoration: underline;
}

.post-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.post-content blockquote {
    border-left: 4px solid #1e90ff;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #444;
    font-style: italic;
    background: #f9f9f9;
}

/* Speaking Page */
.speaking {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.speaking h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.speaking-image {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.speaking-links {
    margin-bottom: 2rem;
    font-size: 0.95rem;
}
.speaking-links a {
    color: #1e90ff;
    text-decoration: none;
}
.speaking-links a:hover {
    text-decoration: underline;
}

.speaking h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.speaking p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #333;
}

.note {
    border-left: 4px solid #1e90ff;
    padding-left: 1rem;
    margin: 2rem 0;
    color: #444;
    background: #f9f9f9;
    font-size: 0.95rem;
    font-style: italic;
}

/* Conference Table */
.conference-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    font-size: 0.95rem;
}

.conference-table th,
.conference-table td {
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    text-align: left;
}

.conference-table th {
    background: #f2f2f2;
    font-weight: bold;
}

.conference-table td a {
    color: #1e90ff;
    text-decoration: none;
}
.conference-table td a:hover {
    text-decoration: underline;
}

.cursor-pointer {
    cursor: pointer;
}

.mobile_nav_icon > i {
    color: #fff !important;
    font-size: 2rem;
    cursor: pointer;
}
.mobile_nav_icon {
    display: none;
}

.mobile-profile {
    width: 3rem;
    height: 3rem;
    background-color: #fff;
    border-radius: 3rem;
}

.mobile-profile img {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    object-fit: cover;
}

.table-wrapper-container {
    width: 100%;
}

@media (max-width: 868px) {
    .mobile_nav_icon {
        display: block;
    }

    .site-header-nav {
        display: none;
    }
}

@media (max-width: 768px) {

    .featured-article {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: center;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .table-wrapper-container {
        width: 100vw;
        overflow-x: auto;
    }

}

.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 0.375rem !important;
}

.mt-2 {
    margin-top: 0.75rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 2.75rem !important;
}

.feed-layout {
    max-width: 680px;
    margin   : 0 auto;
    padding  : 40px 16px 80px;
    display  : flex;
    flex-direction: column;
    gap      : 2px;
}

/* ── CARD ── */
.post-card {
    background   : var(--surface);
    border       : 1px solid var(--border);
    border-radius: 16px;
    overflow     : hidden;
    transition   : border-color .2s;
    animation    : fadeUp .5s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── HEADER ── */
.post-header {
    display    : flex;
    align-items: center;
    gap        : 12px;
    padding    : 16px 18px 12px;
}
.avatar {
    width          : 44px;
    height         : 44px;
    border-radius  : 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
}
.post-meta   { flex: 1; min-width: 0; }
.post-author { font-size: .9rem; font-weight: 500; color: black; }
.post-time   {
    font-size  : .78rem;
    color      : var(--muted);
    display    : flex;
    align-items: center;
    gap        : 5px;
    margin-top : 2px;
}
.post-badge {
    display    : inline-flex;
    align-items: center;
    gap        : 4px;
    background : rgba(200,240,117,.12);
    color      : var(--accent);
    border-radius: 20px;
    padding    : 2px 8px;
    font-size  : .72rem;
    font-weight: 500;
}
.post-badge.blue   { background: rgba(123,140,255,.12); color: var(--accent2); }
.post-badge.orange { background: rgba(255,167,80,.12);  color: #ffa750; }

/* ── BODY ── */
.post-body { padding: 0 18px 14px; }
.post-text  { font-size: .92rem; line-height: 1.65; color: #7d7d86; white-space: pre-line; }

/* ── SINGLE ── */
.media-single             { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--surface2); }
.media-single img         { width: 100%; height: 100%; display: block; transition: transform .4s; }
.post-card:hover .media-single img { transform: scale(1.02); }

/* ── COLLAGE 2 ── */
.media-collage-2         { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.media-collage-2 .col-img { aspect-ratio: 1; overflow: hidden; }
.media-collage-2 .col-img img { width: 100%; height: 100%; display: block; transition: transform .4s; }
.media-collage-2 .col-img:hover img { transform: scale(1.04); }

/* ── COLLAGE 3 ── */
.media-collage-3           { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; gap: 2px; }
.media-collage-3 .col-img  { overflow: hidden; }
.media-collage-3 .col-img.main { grid-row: span 2; }
.media-collage-3 .col-img img  { width: 100%; height: 100%; display: block; transition: transform .4s; }
.media-collage-3 .col-img:hover img { transform: scale(1.04); }

/* ── COLLAGE 4 ── */
.media-collage-4           { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; gap: 2px; }
.media-collage-4 .col-img  { overflow: hidden; position: relative; }
.media-collage-4 .col-img img { width: 100%; height: 100%; display: block; transition: transform .4s; }
.media-collage-4 .col-img:hover img { transform: scale(1.04); }
.more-overlay {
    position       : absolute; inset: 0;
    background     : rgba(14,14,15,.72);
    backdrop-filter: blur(2px);
    display        : flex; align-items: center; justify-content: center;
    font-size      : 2rem; color: #fff; cursor: pointer;
    transition     : background .2s;
}
.more-overlay:hover { background: rgba(14,14,15,.5); }

/* ── SLIDER ── */
.media-slider   { position: relative; overflow: hidden; background: var(--surface2); }
.slider-track   { display: flex; transition: transform .4s cubic-bezier(.4,0,.2,1); }
.slider-track .slide { flex: 0 0 100%; aspect-ratio: 16/9; overflow: hidden; }
.slider-track .slide img { width: 100%; height: 100%; display: block; }
.slider-btn {
    position       : absolute; top: 50%; transform: translateY(-50%);
    width          : 36px; height: 36px; border-radius: 50%;
    background     : rgba(14,14,15,.8); border: 1px solid var(--border);
    color          : #fff; cursor: pointer; display: flex;
    align-items    : center; justify-content: center; font-size: .9rem;
    transition     : background .2s; z-index: 5; backdrop-filter: blur(6px);
}
.slider-btn:hover { background: var(--surface); border-color: var(--muted2); }
.slider-btn.prev  { left: 10px; }
.slider-btn.next  { right: 10px; }
.slider-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.slider-dot  { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; transition: background .2s, width .2s; }
.slider-dot.active { background: #fff; width: 18px; border-radius: 3px; }
.slide-counter { position: absolute; top: 10px; right: 12px; background: rgba(14,14,15,.7); backdrop-filter: blur(6px); border-radius: 20px; padding: 3px 10px; font-size: .75rem; color: #fff; }

/* ── FOOTER ── */
.post-footer {
    display    : flex; align-items: center;
    padding    : 10px 18px 14px; gap: 4px;
    border-top : 1px solid var(--border); margin-top: 2px;
}
.reaction-btn {
    display    : flex; align-items: center; gap: 6px;
    background : none; border: none; color: var(--muted);
    font-size  : .82rem; font-family: inherit;
    padding    : 6px 10px; border-radius: 8px; cursor: pointer;
    transition : background .15s, color .15s;
}
.reaction-btn:hover { background: var(--surface2); color: var(--text); }
.reaction-btn.liked { color: #ff6b81; }
.reaction-btn svg   { width: 16px; height: 16px; }
.spacer { flex: 1; }

.feed-divider { height: 12px; }

/* ── EMPTY ── */
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); font-size: .95rem; }

/* ── LOAD MORE ── */
.load-more-wrap { text-align: center; padding: 20px 0 0; }
.load-more-btn  {
    background: var(--surface); border: 1px solid var(--border);
    color: var(--muted); font-family: inherit; font-size: .88rem;
    padding: 10px 28px; border-radius: 40px; cursor: pointer; transition: all .2s;
}
.load-more-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── LIGHTBOX ── */
.lightbox       { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 1000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(8px); }
.lightbox.open  { display: flex; }
.lightbox img   { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.lightbox-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; }
