:root {
    --embd-pink: #fff1f8;
    --embd-pink-strong: #ffd7ea;
    --embd-purple: #7b2cff;
    --embd-purple-dark: #4b168e;
    --embd-text: #202033;
    --embd-muted: #697083;
    --embd-card: rgba(255, 255, 255, 0.92);
    --embd-border: rgba(123, 44, 255, 0.12);
    --embd-shadow: 0 20px 55px rgba(80, 35, 130, 0.12);
    --embd-radius: 26px;
}

.embd-wrap,
.embd-wrap * {
    box-sizing: border-box;
}

.embd-wrap {
    font-family: inherit;
    color: var(--embd-text);
    width: 100%;
    margin: 0 auto;
    padding: clamp(28px, 4vw, 54px) 0;
}

.embd-featured-wrap,
.embd-blog-wrap {
    position: relative;
    isolation: isolate;
}

.embd-featured-wrap::before,
.embd-blog-wrap::before {
    content: "";
    position: absolute;
    inset: 16px -16px auto auto;
    width: min(420px, 62vw);
    height: min(420px, 62vw);
    background: radial-gradient(circle, rgba(255, 215, 234, .82), rgba(123, 44, 255, .10) 48%, transparent 70%);
    z-index: -1;
    filter: blur(4px);
    pointer-events: none;
}

.embd-section-head {
    max-width: 780px;
    margin-bottom: clamp(22px, 4vw, 38px);
}

.embd-section-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 22px;
    max-width: none;
}

.embd-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: .13em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--embd-purple);
    background: linear-gradient(135deg, rgba(255, 241, 248, .95), rgba(241, 232, 255, .95));
    border: 1px solid var(--embd-border);
    border-radius: 999px;
    padding: 10px 14px;
    margin-bottom: 14px;
}

.embd-section-head h2 {
    font-family: inherit;
    color: var(--embd-text);
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.04;
    letter-spacing: -0.04em;
    margin: 0 0 12px;
}

.embd-section-head p {
    color: var(--embd-muted);
    font-size: clamp(15px, 1.7vw, 18px);
    line-height: 1.75;
    margin: 0;
}

.embd-badge {
    min-width: 120px;
    padding: 16px 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--embd-purple), #b144e9);
    color: #fff;
    box-shadow: var(--embd-shadow);
    text-align: center;
    font-weight: 700;
}

.embd-badge span {
    display: block;
    font-size: 30px;
    line-height: 1;
}

.embd-featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .9fr);
    gap: 22px;
}

.embd-featured-grid .embd-card:first-child {
    grid-row: span 2;
}

.embd-blog-grid {
    display: grid;
    grid-template-columns: repeat(var(--embd-columns, 3), minmax(0, 1fr));
    gap: clamp(18px, 2.6vw, 28px);
}

.embd-card {
    position: relative;
    overflow: hidden;
    background: var(--embd-card);
    border: 1px solid var(--embd-border);
    border-radius: var(--embd-radius);
    box-shadow: 0 12px 35px rgba(39, 24, 69, 0.07);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    backdrop-filter: blur(14px);
}

.embd-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--embd-shadow);
    border-color: rgba(123, 44, 255, 0.28);
}

.embd-image-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--embd-pink), #f3ecff);
}

.embd-card-featured .embd-image-wrap {
    aspect-ratio: 16 / 11;
}

.embd-card-compact {
    display: grid;
    grid-template-columns: 38% 1fr;
    min-height: 214px;
}

.embd-card-compact .embd-image-wrap {
    aspect-ratio: auto;
    height: 100%;
}

.embd-card-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .55s ease;
}

.embd-card:hover .embd-card-image {
    transform: scale(1.07);
}

.embd-placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 25% 20%, rgba(255,255,255,.86), transparent 30%),
        linear-gradient(135deg, var(--embd-pink-strong), #eee4ff 55%, #fff);
}

.embd-placeholder span {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--embd-purple), #d445a8);
    font-size: 34px;
    font-weight: 800;
}

.embd-glow {
    position: absolute;
    inset: auto 18px 18px auto;
    width: 78px;
    height: 78px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .42);
    box-shadow: 0 0 42px rgba(255, 215, 234, .95);
    transform: translate(18px, 18px);
}

.embd-card-body {
    padding: clamp(18px, 2.4vw, 26px);
}

.embd-card-featured .embd-card-body {
    padding: clamp(22px, 3vw, 34px);
}

.embd-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.embd-pill {
    display: inline-flex;
    color: var(--embd-purple-dark) !important;
    background: var(--embd-pink);
    border: 1px solid rgba(123, 44, 255, .12);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

.embd-meta {
    display: flex;
    gap: 9px;
    color: var(--embd-muted);
    font-size: 12px;
}

.embd-meta span + span::before {
    content: "•";
    margin-right: 9px;
    color: rgba(123, 44, 255, .45);
}

.embd-title {
    font-family: inherit;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin: 0 0 12px;
}

.embd-card-compact .embd-title {
    font-size: clamp(17px, 1.7vw, 22px);
}

.embd-card-featured .embd-title {
    font-size: clamp(26px, 3.3vw, 42px);
}

.embd-title a {
    color: var(--embd-text) !important;
    text-decoration: none !important;
    background-image: linear-gradient(90deg, var(--embd-purple), #d445a8);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: color .25s ease, background-size .3s ease;
}

.embd-title a:hover {
    color: var(--embd-purple-dark) !important;
    background-size: 100% 2px;
}

.embd-excerpt {
    color: var(--embd-muted);
    line-height: 1.7;
    font-size: 15px;
    margin: 0 0 18px;
}

.embd-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--embd-purple) !important;
    font-weight: 800;
    text-decoration: none !important;
}

.embd-readmore span {
    transition: transform .25s ease;
}

.embd-readmore:hover span {
    transform: translateX(4px);
}

.embd-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: clamp(28px, 4vw, 44px);
}

.embd-pagination .page-numbers {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--embd-border);
    color: var(--embd-purple-dark) !important;
    text-decoration: none !important;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(39, 24, 69, .06);
}

.embd-pagination .current,
.embd-pagination .page-numbers:hover {
    background: linear-gradient(135deg, var(--embd-purple), #cf4fa9);
    color: #fff !important;
}

.embd-empty {
    padding: 34px;
    border-radius: var(--embd-radius);
    background: linear-gradient(135deg, var(--embd-pink), #fff);
    border: 1px solid var(--embd-border);
    color: var(--embd-muted);
    text-align: center;
}

.embd-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}

.embd-reveal.embd-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .embd-card,
    .embd-card-image,
    .embd-reveal,
    .embd-readmore span,
    .embd-title a {
        transition: none !important;
    }

    .embd-reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 989px) {
    .embd-featured-grid,
    .embd-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .embd-featured-grid .embd-card:first-child {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .embd-card-compact {
        grid-template-columns: 1fr;
    }

    .embd-card-compact .embd-image-wrap {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 680px) {
    .embd-section-head-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .embd-featured-grid,
    .embd-blog-grid {
        grid-template-columns: 1fr;
    }

    .embd-badge {
        width: 100%;
        text-align: left;
    }
}



/* Enfold typography alignment */
.embd-wrap h1,
.embd-wrap h2,
.embd-wrap h3,
.embd-wrap h4,
.embd-title,
.embd-single-title {
    font-family: inherit !important;
    font-weight: inherit;
}

.embd-title,
.embd-single-title {
    letter-spacing: normal;
}

/* Tight featured layout when no header is shown */
.embd-featured-wrap.embd-no-head {
    padding-top: 0;
    margin-top: 0;
}

.embd-featured-wrap.embd-no-head::before {
    inset: 0 -16px auto auto;
}

/* Card sharing */
.embd-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.embd-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.embd-share span {
    color: var(--embd-muted);
    font-size: 12px;
    font-weight: 700;
}

.embd-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none !important;
    border: 1px solid rgba(123, 44, 255, .14);
    box-shadow: 0 10px 22px rgba(39, 24, 69, .06);
    transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}

.embd-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(39, 24, 69, .11);
    opacity: .95;
}

.embd-whatsapp {
    background: #eefbf4;
    color: #128c4a !important;
}

.embd-facebook {
    background: #f2f5ff;
    color: #315cbd !important;
}

.embd-card-compact .embd-card-actions {
    align-items: flex-start;
}

.embd-card-compact .embd-share {
    width: 100%;
    margin-top: 2px;
}

/* Modern single article detail page */
.single-post .entry-content > .embd-single-shell,
.embd-single-shell {
    max-width: 1040px;
    margin: 0 auto clamp(34px, 5vw, 70px);
    padding: clamp(22px, 4vw, 48px);
    border: 1px solid var(--embd-border);
    border-radius: clamp(22px, 3vw, 36px);
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 215, 234, .62), transparent 26%),
        radial-gradient(circle at 100% 10%, rgba(123, 44, 255, .12), transparent 28%),
        rgba(255,255,255,.90);
    box-shadow: var(--embd-shadow);
    backdrop-filter: blur(12px);
    font-family: inherit;
}

.embd-single-header {
    max-width: 860px;
    margin: 0 auto clamp(22px, 4vw, 38px);
    text-align: center;
}

.embd-single-topline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.embd-single-title {
    color: var(--embd-text);
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.05;
    margin: 0 0 18px;
}

.embd-single-share-top,
.embd-single-footer {
    display: flex;
    justify-content: center;
}

.embd-share-single,
.embd-share-single-footer {
    padding: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.74);
    border: 1px solid rgba(123, 44, 255, .10);
}

.embd-single-hero {
    overflow: hidden;
    border-radius: clamp(20px, 3vw, 32px);
    margin: 0 auto clamp(24px, 4vw, 42px);
    box-shadow: 0 20px 55px rgba(39, 24, 69, .12);
    background: linear-gradient(135deg, var(--embd-pink), #f3ecff);
}

.embd-single-image {
    width: 100%;
    max-height: 560px;
    display: block;
    object-fit: cover;
}

.embd-single-content {
    max-width: 790px;
    margin: 0 auto;
    color: var(--embd-text);
    font-family: inherit;
}

.embd-single-content p {
    font-size: 17px;
    line-height: 1.9;
    color: #3a3a4d;
}

.embd-single-content h2,
.embd-single-content h3,
.embd-single-content h4 {
    font-family: inherit !important;
    color: var(--embd-text);
    line-height: 1.18;
    margin-top: 1.55em;
}

.embd-single-content blockquote {
    margin: 32px 0;
    padding: 24px 28px;
    border-left: 5px solid var(--embd-purple);
    border-radius: 20px;
    background: linear-gradient(135deg, var(--embd-pink), #fff);
    color: var(--embd-purple-dark);
    font-size: 19px;
    line-height: 1.7;
}

.embd-single-content img {
    border-radius: 22px;
}

.embd-single-footer {
    max-width: 790px;
    margin: clamp(28px, 4vw, 48px) auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(123, 44, 255, .12);
}

@media (max-width: 680px) {
    .embd-card-actions,
    .embd-share {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .embd-single-shell {
        padding: 18px;
        border-radius: 24px;
    }

    .embd-single-header {
        text-align: left;
    }

    .embd-single-topline,
    .embd-single-share-top,
    .embd-single-footer {
        justify-content: flex-start;
    }

    .embd-share-single,
    .embd-share-single-footer {
        border-radius: 22px;
    }

    .embd-single-content p {
        font-size: 16px;
    }
}


.medical-share-buttons{
    display:flex;
    gap:12px;
    align-items:center;
    margin-top:18px;
}

.medical-share-buttons a{
    width:42px;
    height:42px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:18px;
    transition:all .25s ease;
    background:#f7eef9;
    color:#8b5cf6;
    box-shadow:0 4px 12px rgba(139,92,246,.12);
}

.medical-share-buttons a:hover{
    transform:translateY(-3px) scale(1.05);
    background:#8b5cf6;
    color:#fff;
}

.medical-share-buttons .fa-whatsapp{
    color:inherit;
}

.medical-share-buttons .fa-facebook-f{
    color:inherit;
}
