/* ============================================================
   SHARE MARKET GYAN
   BLOG PAGE — OPTION 2
   File: assets/css/pages/blog.css

   Design:
   - Clean knowledge-center hero
   - Browse by Topic
   - Single search
   - Full-width article library
   - No Editor's Picks
   - No left Explore Topics sidebar
   - No duplicate topic navigation
   - Clickable article images
   - Responsive mobile layout
============================================================ */


/* ============================================================
   01. PAGE FOUNDATION
============================================================ */

.smg-blog-page {
    --blog-blue: #1264e8;
    --blog-blue-dark: #0b4fc4;
    --blog-navy: #071a3d;
    --blog-text: #17243b;
    --blog-muted: #647188;
    --blog-border: #e3e9f2;
    --blog-bg: #f5f8fc;
    --blog-white: #ffffff;
    --blog-green: #12a875;
    --blog-red: #df4545;
    --blog-orange: #f09a25;

    color: var(--blog-text);
    background: var(--blog-white);
}

.smg-blog-page *,
.smg-blog-page *::before,
.smg-blog-page *::after {
    box-sizing: border-box;
}

.smg-blog-page a {
    text-decoration: none;
}

.smg-blog-page button,
.smg-blog-page input,
.smg-blog-page select {
    font: inherit;
}

.smg-page-container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}


/* ============================================================
   02. KNOWLEDGE HERO
============================================================ */

.smg-knowledge-hero {
    position: relative;
    overflow: hidden;
    padding: 42px 0 38px;
    text-align: center;
    background:
        radial-gradient(
            circle at 50% 18%,
            rgba(53, 155, 255, 0.13),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #f7fbff 0%,
            #f2f7fd 100%
        );
    border-bottom: 1px solid #e9eef5;
}

.smg-knowledge-hero::before {
    content: "";
    position: absolute;
    left: -95px;
    bottom: -105px;
    width: 245px;
    height: 245px;
    border-radius: 50%;
    background: rgba(31, 99, 220, 0.045);
}

.smg-knowledge-hero::after {
    content: "";
    position: absolute;
    right: -70px;
    top: 42px;
    width: 155px;
    height: 155px;
    border-radius: 50%;
    border: 24px solid rgba(36, 108, 226, 0.035);
}

.smg-hero-art {
    position: relative;
    width: 166px;
    height: 104px;
    margin: 0 auto 10px;
}

.smg-book {
    position: absolute;
    left: 18px;
    bottom: 2px;
    width: 130px;
    height: 37px;
    border-radius: 6px 6px 18px 18px;
    background: linear-gradient(180deg, #1470e9, #084db7);
    transform: perspective(120px) rotateX(7deg);
    box-shadow: 0 8px 18px rgba(20, 95, 220, 0.18);
}

.smg-book::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 2px;
    width: 2px;
    height: 31px;
    background: rgba(255, 255, 255, 0.65);
}

.smg-book span {
    position: absolute;
    top: 8px;
    width: 38px;
    height: 2px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.6);
}

.smg-book span:nth-child(1) {
    left: 14px;
}

.smg-book span:nth-child(2) {
    left: 60px;
}

.smg-book span:nth-child(3) {
    right: 13px;
}

.smg-chart-line {
    position: absolute;
    left: 45px;
    top: 12px;
    width: 94px;
    height: 62px;
    color: #08a878;
    font-size: 41px;
    transform: rotate(-7deg);
}

.smg-chart-line::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 28px;
    width: 70px;
    height: 30px;
    border-top: 5px solid #08a878;
    border-right: 5px solid #08a878;
    transform: skewY(-28deg);
    border-radius: 4px;
}

.smg-chart-line i {
    position: absolute;
    right: -1px;
    top: -4px;
}

.smg-chart-bars {
    position: absolute;
    left: 47px;
    bottom: 33px;
    width: 75px;
    height: 30px;
    display: flex;
    align-items: flex-end;
    gap: 5px;
}

.smg-chart-bars b {
    display: block;
    width: 9px;
    border-radius: 2px 2px 0 0;
    background: #1466db;
}

.smg-chart-bars b:nth-child(1) {
    height: 12px;
}

.smg-chart-bars b:nth-child(2) {
    height: 23px;
}

.smg-chart-bars b:nth-child(3) {
    height: 17px;
}

.smg-chart-bars b:nth-child(4) {
    height: 27px;
}

.smg-chart-bars b:nth-child(5) {
    height: 21px;
}

.smg-hero-overline {
    margin: 0 0 4px;
    color: var(--blog-navy);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.025em;
}

.smg-knowledge-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--blog-navy);
    font-family: Poppins, Inter, Arial, sans-serif;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.smg-knowledge-hero h1 span {
    display: block;
    color: var(--blog-blue);
}

.smg-hero-accent {
    width: 56px;
    height: 3px;
    margin: 14px auto 12px;
    border-radius: 10px;
    background: var(--blog-blue);
}

.smg-hero-copy {
    margin: 0;
    color: #142342;
    font-size: 13px;
    line-height: 1.5;
}


/* ============================================================
   03. BROWSE BY TOPIC
============================================================ */

.smg-topic-area {
    padding: 24px 0 18px;
    background: var(--blog-white);
}

.smg-topic-title {
    margin-bottom: 17px;
    text-align: center;
}

.smg-topic-title h2 {
    margin: 0;
    color: var(--blog-navy);
    font-family: Poppins, Inter, Arial, sans-serif;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.smg-topic-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

.smg-topic-card {
    min-width: 0;
    min-height: 82px;
    padding: 11px 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #e8edf4;
    border-radius: 10px;
    background: #ffffff;
    color: #101d34;
    box-shadow: 0 4px 14px rgba(25, 55, 95, 0.05);
    cursor: pointer;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.smg-topic-card:hover {
    transform: translateY(-2px);
    border-color: #c6daf7;
    box-shadow: 0 8px 20px rgba(25, 55, 95, 0.09);
}

.smg-topic-card.active {
    border-color: var(--blog-blue);
    background: #f5f9ff;
    box-shadow: 0 7px 18px rgba(18, 100, 232, 0.11);
}

.smg-topic-icon {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    color: var(--blog-blue);
    font-size: 20px;
}

.smg-topic-card:nth-child(3n) .smg-topic-icon {
    color: var(--blog-green);
}

.smg-topic-card:nth-child(4n) .smg-topic-icon {
    color: var(--blog-red);
}

.smg-topic-card:nth-child(5n) .smg-topic-icon {
    color: var(--blog-orange);
}

.smg-topic-card span:last-child {
    display: block;
    max-width: 100%;
    color: #0e192d;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}


/* ============================================================
   04. SEARCH
============================================================ */

.smg-search-area {
    padding: 3px 0 25px;
    background: var(--blog-white);
}

.smg-blog-search {
    width: min(570px, 100%);
    min-height: 48px;
    margin: 0 auto;
    padding: 4px 5px 4px 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #dfe6ef;
    border-radius: 11px;
    background: #ffffff;
    box-shadow: 0 5px 16px rgba(24, 53, 92, 0.06);
}

.smg-blog-search > i {
    flex: 0 0 auto;
    color: #68758a;
    font-size: 13px;
}

.smg-blog-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 38px;
    padding: 0 3px;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--blog-text);
    font-size: 12px;
}

.smg-blog-search input::placeholder {
    color: #8792a3;
}

.smg-blog-search button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 19px;
    border: 0;
    border-radius: 8px;
    background: var(--blog-blue);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.smg-blog-search button:hover {
    background: var(--blog-blue-dark);
    transform: translateY(-1px);
}

.smg-search-status {
    min-height: 16px;
    margin-top: 6px;
    text-align: center;
    color: var(--blog-muted);
    font-size: 10px;
}


/* ============================================================
   05. KNOWLEDGE LIBRARY
============================================================ */

.smg-library-area {
    padding: 28px 0 36px;
    background: var(--blog-bg);
    border-top: 1px solid #edf1f6;
}

.smg-library-top {
    margin-bottom: 17px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.smg-library-top h2 {
    margin: 0;
    color: var(--blog-navy);
    font-family: Poppins, Inter, Arial, sans-serif;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.smg-library-top p {
    margin: 4px 0 0;
    color: var(--blog-muted);
    font-size: 11px;
}

.smg-sort-box {
    display: flex;
    align-items: center;
    gap: 7px;
}

.smg-sort-box label {
    color: #59667a;
    font-size: 10px;
}

.smg-sort-box select {
    min-width: 75px;
    height: 34px;
    padding: 0 8px;
    border: 1px solid #dce4ef;
    border-radius: 7px;
    outline: 0;
    background: #ffffff;
    color: #26344b;
    font-size: 10px;
    cursor: pointer;
}


/* ============================================================
   06. ARTICLE GRID
============================================================ */

.smg-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}


/* ============================================================
   07. ARTICLE CARD
============================================================ */

.smg-article-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(26, 55, 92, 0.06);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.smg-article-card:hover {
    transform: translateY(-3px);
    border-color: #d2ddec;
    box-shadow: 0 10px 24px rgba(26, 55, 92, 0.10);
}


/* ============================================================
   08. ARTICLE IMAGE
============================================================ */

.smg-article-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 8.2;
    overflow: hidden;
    background: #eaf0f7;
}

.smg-article-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.smg-article-card:hover .smg-article-image img {
    transform: scale(1.035);
}

.smg-image-overlay {
    position: absolute;
    right: 9px;
    bottom: 9px;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--blog-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transform: translateY(3px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.smg-article-card:hover .smg-image-overlay {
    opacity: 1;
    transform: translateY(0);
}

.smg-article-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #eaf3ff, #f7fbff);
    color: var(--blog-blue);
    font-size: 27px;
}


/* ============================================================
   09. ARTICLE CONTENT
============================================================ */

.smg-article-content {
    min-width: 0;
    padding: 13px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.smg-article-category {
    align-self: flex-start;
    margin-bottom: 6px;
    color: var(--blog-blue);
    font-size: 8.5px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
}

.smg-article-title {
    margin: 0;
    color: #0d1930;
    font-family: Poppins, Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.32;
    font-weight: 800;
}

.smg-article-title a {
    color: inherit;
}

.smg-article-title a:hover {
    color: var(--blog-blue);
}

.smg-article-description {
    margin: 7px 0 11px;
    color: #5f6b7f;
    font-size: 10.5px;
    line-height: 1.5;
}

.smg-article-meta {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    border-top: 1px solid #edf1f5;
    color: #69758a;
    font-size: 9px;
}

.smg-article-meta span {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.smg-article-meta i {
    color: var(--blog-blue);
}

.smg-read-more {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blog-blue);
    font-size: 10px;
    font-weight: 800;
}

.smg-read-more i {
    transition: transform 0.2s ease;
}

.smg-read-more:hover i {
    transform: translateX(3px);
}


/* ============================================================
   10. LOAD MORE
============================================================ */

.smg-load-more-wrap {
    margin-top: 20px;
    text-align: center;
}

.smg-load-more {
    min-height: 38px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #8eb5ee;
    border-radius: 7px;
    background: #ffffff;
    color: var(--blog-blue);
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.smg-load-more:hover {
    background: #f5f9ff;
    transform: translateY(-1px);
}


/* ============================================================
   11. LOADING / EMPTY / ERROR
============================================================ */

.smg-loading,
.smg-empty,
.smg-error {
    grid-column: 1 / -1;
    min-height: 170px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px dashed #d6dfeb;
    border-radius: 10px;
    background: #ffffff;
    color: var(--blog-muted);
}

.smg-loading i,
.smg-empty i,
.smg-error i {
    margin-bottom: 9px;
    color: var(--blog-blue);
    font-size: 22px;
}

.smg-empty h3,
.smg-error h3 {
    margin: 0;
    color: var(--blog-navy);
    font-size: 16px;
}

.smg-empty p,
.smg-error p {
    max-width: 480px;
    margin: 6px 0 0;
    font-size: 11px;
    line-height: 1.5;
}


/* ============================================================
   12. LEARNING CTA
============================================================ */

.smg-learning-cta {
    padding: 0 0 34px;
    background: var(--blog-bg);
}

.smg-cta-card {
    min-height: 90px;
    padding: 14px 22px;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto;
    align-items: center;
    gap: 17px;
    border-radius: 13px;
    background:
        linear-gradient(
            100deg,
            #eaf3ff,
            #f1f6ff
        );
}

.smg-cta-visual {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    color: #f0a61a;
    font-size: 45px;
}

.smg-cta-content h2 {
    margin: 0;
    color: var(--blog-navy);
    font-family: Poppins, Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 800;
}

.smg-cta-content p {
    margin: 4px 0 0;
    color: #53637b;
    font-size: 10.5px;
}

.smg-cta-button {
    min-height: 42px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 6px;
    background: var(--blog-blue);
    color: #ffffff !important;
    font-size: 10px;
    font-weight: 800;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.smg-cta-button:hover {
    background: var(--blog-blue-dark);
    transform: translateY(-1px);
}


/* ============================================================
   13. TABLET
============================================================ */

@media (max-width: 950px) {

    .smg-page-container {
        width: min(100% - 32px, 760px);
    }

    .smg-topic-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .smg-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ============================================================
   14. MOBILE
============================================================ */

@media (max-width: 620px) {

    .smg-page-container {
        width: calc(100% - 22px);
    }

    .smg-knowledge-hero {
        padding: 31px 0 28px;
    }

    .smg-hero-art {
        transform: scale(0.82);
        margin-top: -7px;
        margin-bottom: -2px;
    }

    .smg-knowledge-hero h1 {
        font-size: 34px;
    }

    .smg-hero-overline {
        font-size: 11px;
    }

    .smg-hero-copy {
        font-size: 11px;
    }

    .smg-topic-area {
        padding-top: 22px;
        padding-bottom: 13px;
    }

    .smg-topic-title {
        margin-bottom: 13px;
    }

    .smg-topic-title h2 {
        font-size: 17px;
    }

    /*
     * The topic row becomes a horizontal,
     * touch-friendly strip.
     */

    .smg-topic-grid {
        display: flex;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding: 2px 2px 8px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .smg-topic-card {
        flex: 0 0 92px;
        min-height: 76px;
        scroll-snap-align: start;
    }

    .smg-search-area {
        padding-bottom: 21px;
    }

    .smg-blog-search {
        min-height: 48px;
        padding-left: 11px;
    }

    .smg-blog-search input {
        font-size: 12px;
    }

    .smg-blog-search button {
        padding: 0 13px;
    }

    .smg-library-area {
        padding-top: 25px;
        padding-bottom: 30px;
    }

    .smg-library-top {
        display: block;
        margin-bottom: 15px;
    }

    .smg-library-top h2 {
        font-size: 18px;
    }

    .smg-library-top p {
        margin-top: 3px;
    }

    .smg-sort-box {
        margin-top: 10px;
        justify-content: flex-start;
    }

    .smg-article-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .smg-article-image {
        aspect-ratio: 16 / 8.3;
    }

    /*
     * On touch devices the image action stays visible.
     */

    .smg-image-overlay {
        opacity: 1;
        transform: none;
    }

    .smg-article-content {
        padding: 13px;
    }

    .smg-article-title {
        font-size: 15px;
    }

    .smg-article-description {
        font-size: 11px;
    }

    .smg-learning-cta {
        padding-bottom: 25px;
    }

    .smg-cta-card {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 18px;
        text-align: center;
    }

    .smg-cta-visual {
        width: 100%;
        height: 52px;
        font-size: 36px;
    }

    .smg-cta-content h2 {
        font-size: 15px;
    }

    .smg-cta-content p {
        font-size: 10px;
    }

    .smg-cta-button {
        width: 100%;
    }

}


/* ============================================================
   15. SMALL MOBILE
============================================================ */

@media (max-width: 360px) {

    .smg-knowledge-hero h1 {
        font-size: 30px;
    }

    .smg-topic-card {
        flex-basis: 88px;
    }

    .smg-blog-search button {
        padding: 0 11px;
    }

}


/* ============================================================
   16. ACCESSIBILITY / REDUCED MOTION
============================================================ */

.smg-blog-page :focus-visible {
    outline: 3px solid rgba(18, 100, 232, 0.28);
    outline-offset: 2px;
}

@media (hover: none) {

    .smg-article-card:hover {
        transform: none;
    }

}

@media (prefers-reduced-motion: reduce) {

    .smg-blog-page *,
    .smg-blog-page *::before,
    .smg-blog-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }

}


/* Mobile performance: reserve thumbnail space before images decode. */
.smg-article-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.smg-article-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Stable article slug shown on every knowledge-center card. */
.smg-article-slug {
  display: block;
  margin: 7px 0 8px;
  color: #64748b;
  font-size: 10px;
  line-height: 1.35;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   BLOG ECOSYSTEM — DISCOVERY LAYER
   Appended without replacing the existing Blog page design.
   ============================================================ */
.smg-blog-discovery{padding:54px 0 20px;background:var(--blog-bg,#f8fafc)}
.smg-discovery-block{margin-bottom:48px}
.smg-discovery-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}
.smg-discovery-heading h2,.smg-taxonomy-panel h2,.article-discovery-column h2{margin:5px 0 7px;color:var(--blog-dark,#0f172a);font-size:clamp(1.35rem,2.3vw,1.85rem);line-height:1.15}
.smg-discovery-heading p{margin:0;color:var(--blog-muted,#64748b);font-size:.94rem}
.smg-discovery-kicker{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:var(--blog-blue-pale,#eff6ff);color:var(--blog-blue,#2563eb);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;line-height:1}
.smg-discovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.smg-discovery-card{display:flex;min-width:0;overflow:hidden;text-decoration:none;background:#fff;border:1px solid var(--blog-border,#e2e8f0);border-radius:16px;box-shadow:var(--blog-shadow-sm,0 2px 8px rgba(15,23,42,.05));transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.smg-discovery-card:hover{transform:translateY(-3px);box-shadow:var(--blog-shadow,0 10px 30px rgba(15,23,42,.08));border-color:#cbd5e1}
.smg-discovery-image{width:145px;min-width:145px;aspect-ratio:1/1;overflow:hidden;background:#eef2f7}
.smg-discovery-image img{display:block;width:100%;height:100%;object-fit:cover}
.smg-discovery-image>span{display:flex;width:100%;height:100%;align-items:center;justify-content:center;color:var(--blog-blue,#2563eb);font-size:1.6rem}
.smg-discovery-content{min-width:0;padding:16px}
.smg-discovery-category{display:block;margin-bottom:7px;color:var(--blog-primary,#0f766e);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.smg-discovery-content h3{margin:0 0 8px;color:var(--blog-dark,#0f172a);font-size:1rem;line-height:1.35}
.smg-discovery-content p{display:-webkit-box;overflow:hidden;margin:0 0 10px;color:var(--blog-text-light,#475569);font-size:.84rem;line-height:1.55;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.smg-discovery-date{color:var(--blog-muted,#64748b);font-size:.75rem}
.smg-taxonomy-panels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:8px}
.smg-taxonomy-panel{padding:24px;background:#fff;border:1px solid var(--blog-border,#e2e8f0);border-radius:16px}
.smg-taxonomy-list{display:flex;flex-wrap:wrap;gap:9px}
.smg-taxonomy-list a,.smg-tag-cloud a{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border:1px solid var(--blog-border,#e2e8f0);border-radius:999px;background:#fff;color:var(--blog-text,#1e293b);font-size:.8rem;text-decoration:none;transition:background .2s ease,color .2s ease,border-color .2s ease}
.smg-taxonomy-list a:hover,.smg-tag-cloud a:hover{background:var(--blog-blue-pale,#eff6ff);border-color:#bfdbfe;color:var(--blog-blue,#2563eb)}
.smg-taxonomy-list small{color:var(--blog-muted,#64748b);font-size:.68rem}
.smg-tag-cloud{display:flex;flex-wrap:wrap;gap:8px}
.article-taxonomy{margin-top:12px}
.article-taxonomy-subcategory{display:block;margin-bottom:9px;color:var(--blog-muted,#64748b);font-size:.86rem;font-weight:700}
.article-tag-list{display:flex;flex-wrap:wrap;gap:7px}
.article-tag-list a{padding:6px 9px;border:1px solid var(--blog-border,#e2e8f0);border-radius:999px;color:var(--blog-text-light,#475569);font-size:.74rem;text-decoration:none;background:#fff}
.article-tag-list a:hover{color:var(--blog-blue,#2563eb);border-color:#bfdbfe;background:var(--blog-blue-pale,#eff6ff)}
.article-discovery-section{padding:45px 0;background:var(--blog-bg,#f8fafc)}
.article-discovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.article-discovery-column{padding:22px;background:#fff;border:1px solid var(--blog-border,#e2e8f0);border-radius:16px}
.article-mini-list{display:grid;gap:12px;margin-top:16px}
.smg-discovery-card-compact{display:grid;grid-template-columns:82px minmax(0,1fr);transform:none!important;box-shadow:none!important}
.smg-discovery-card-compact .smg-discovery-image{width:82px;min-width:82px}
.smg-discovery-card-compact .smg-discovery-content{padding:10px 11px}
.smg-discovery-card-compact .smg-discovery-content h3{font-size:.84rem;margin-bottom:5px}
.smg-discovery-card-compact .smg-discovery-category{font-size:.64rem;margin-bottom:4px}
.article-taxonomy-footer{display:grid;grid-template-columns:180px 180px minmax(0,1fr);gap:18px;margin-top:20px;padding:20px;background:#fff;border:1px solid var(--blog-border,#e2e8f0);border-radius:16px}
.article-taxonomy-footer>div{min-width:0}.article-taxonomy-footer strong{display:block;margin-bottom:8px;color:var(--blog-muted,#64748b);font-size:.72rem;text-transform:uppercase;letter-spacing:.06em}.article-taxonomy-footer a,.article-taxonomy-footer span{color:var(--blog-text,#1e293b);font-size:.88rem;text-decoration:none}
@media (max-width:900px){.smg-discovery-grid,.smg-taxonomy-panels,.article-discovery-grid{grid-template-columns:1fr 1fr}.article-taxonomy-footer{grid-template-columns:1fr 1fr}.article-taxonomy-footer>div:last-child{grid-column:1/-1}}
@media (max-width:640px){.smg-blog-discovery{padding-top:38px}.smg-discovery-grid,.smg-taxonomy-panels,.article-discovery-grid{grid-template-columns:1fr}.smg-discovery-card{display:grid;grid-template-columns:96px minmax(0,1fr)}.smg-discovery-image{width:96px;min-width:96px}.smg-discovery-content{padding:12px}.smg-discovery-content p{display:none}.article-taxonomy-footer{grid-template-columns:1fr}.article-taxonomy-footer>div:last-child{grid-column:auto}}
