@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
    --mbd-primary: #1769aa;
    --mbd-primary-dark: #0c4f85;
    --mbd-secondary: #6548db;
    --mbd-heading: #0b192d;
    --mbd-text: #26364b;
    --mbd-muted: #748197;
    --mbd-border: rgba(135, 151, 177, 0.20);
    --mbd-shadow-sm: 0 10px 30px rgba(8, 27, 55, 0.07);
    --mbd-shadow-md: 0 20px 55px rgba(8, 27, 55, 0.11);
    --mbd-shadow-lg: 0 30px 85px rgba(8, 27, 55, 0.14);
}

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

.mbd-page {
    position: relative;
    min-height: 100vh;
    padding: 28px 0 90px;
    overflow: hidden;
    color: var(--mbd-text);
    background:
        radial-gradient(circle at 8% 7%, rgba(23, 105, 170, 0.10), transparent 27%),
        radial-gradient(circle at 92% 18%, rgba(101, 72, 219, 0.08), transparent 26%),
        linear-gradient(180deg, #f8faff 0%, #f3f7fd 48%, #ffffff 100%);
    font-family: "Hind Siliguri", Arial, sans-serif !important;
}

.mbd-page h1,
.mbd-page h2,
.mbd-page h3,
.mbd-page h4,
.mbd-page h5,
.mbd-page h6,
.mbd-page p,
.mbd-page span,
.mbd-page strong,
.mbd-page small,
.mbd-page a,
.mbd-page button,
.mbd-page label,
.mbd-page input,
.mbd-page textarea {
    font-family: "Hind Siliguri", Arial, sans-serif !important;
}

.mbd-page .fa-solid,
.mbd-page .fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.mbd-page .fa-regular,
.mbd-page .far {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}

.mbd-page .fa-brands,
.mbd-page .fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.mbd-page a {
    text-decoration: none;
}

.mbd-page img {
    display: block;
    max-width: 100%;
}

.mbd-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.mbd-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
}

.mbd-orb-one {
    top: 180px;
    left: -150px;
    width: 330px;
    height: 330px;
    background: rgba(23, 105, 170, 0.08);
}

.mbd-orb-two {
    top: 780px;
    right: -170px;
    width: 380px;
    height: 380px;
    background: rgba(101, 72, 219, 0.07);
}

.mbd-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    padding-right: 24px;
    padding-left: 24px;
}

.mbd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 26px;
    align-items: start;
}

.mbd-main {
    min-width: 0;
}

.mbd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 17px;
    padding: 0 4px;
}

.mbd-breadcrumb a {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    color: var(--mbd-muted);
    font-size: 12px;
    font-weight: 500;
}

.mbd-breadcrumb a:hover {
    color: var(--mbd-primary);
}

.mbd-breadcrumb > span {
    color: #a6b0bf;
    font-size: 8px;
}

.mbd-article {
    position: relative !important;
    width: 100%;
    padding: 42px 44px 48px;
    overflow: visible !important;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 29px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--mbd-shadow-lg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.mbd-topbar,
.mbd-header,
.mbd-featured-image,
.mbd-meta-row,
.mbd-content {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    float: none !important;
    z-index: auto !important;
}

.mbd-topbar {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 21px;
}

.mbd-category {
    display: inline-flex;
    min-height: 34px;
    padding: 7px 13px;
    gap: 8px;
    align-items: center;
    border: 1px solid rgba(23, 105, 170, 0.14);
    border-radius: 999px;
    color: var(--mbd-primary);
    background: rgba(23, 105, 170, 0.07);
    font-size: 12px;
    font-weight: 700;
}

.mbd-category > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 5px rgba(23, 105, 170, 0.10);
}

.mbd-share-trigger {
    display: inline-flex;
    min-height: 39px;
    padding: 8px 13px;
    gap: 8px;
    align-items: center;
    border: 1px solid var(--mbd-border);
    border-radius: 12px;
    color: var(--mbd-text);
    background: #ffffff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.mbd-share-trigger:hover {
    color: #ffffff;
    border-color: var(--mbd-primary);
    background: var(--mbd-primary);
}

.mbd-header {
    display: block !important;
    width: 100% !important;
    margin: 0 0 28px !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mbd-header h1 {
    position: static !important;
    display: block !important;
    max-width: 1100px;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--mbd-heading) !important;
    background: transparent !important;
    border: 0 !important;
    text-shadow: none !important;
    font-size: clamp(36px, 4.2vw, 58px) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.7px;
}

.mbd-header p {
    position: static !important;
    display: block !important;
    max-width: 1050px;
    margin: 18px 0 0 !important;
    padding: 0 !important;
    color: var(--mbd-muted) !important;
    background: transparent !important;
    border: 0 !important;
    text-shadow: none !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
}

.mbd-featured-image {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 22px;
    background: #e5ebf3;
    box-shadow: 0 18px 45px rgba(8, 27, 55, 0.11);
}

.mbd-featured-image::before,
.mbd-featured-image::after {
    display: none !important;
    content: none !important;
}

.mbd-featured-image img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 720px;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}

.mbd-meta-row {
    display: flex !important;
    gap: 20px;
    align-items: center;
    width: 100%;
    margin: 22px 0 0 !important;
    padding: 0 !important;
    color: var(--mbd-muted);
    background: transparent !important;
    border: 0 !important;
}

.mbd-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    flex-shrink: 0;
}

.mbd-meta-list span {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    color: var(--mbd-muted);
    font-size: 13px;
}

.mbd-meta-list i {
    color: var(--mbd-primary);
}

.mbd-meta-divider {
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(23, 105, 170, 0.22), transparent);
}

.mbd-content {
    display: block !important;
    width: 100% !important;
    padding: 40px 0 0 !important;
    margin: 0 !important;
    color: #26364b !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 18px !important;
    line-height: 1.95 !important;
    overflow-wrap: break-word;
}

.mbd-content div,
.mbd-content section,
.mbd-content article,
.mbd-content p {
    max-width: 100%;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.mbd-content p {
    margin: 0 0 21px !important;
    padding: 0 !important;
}

.mbd-content h1,
.mbd-content h2,
.mbd-content h3,
.mbd-content h4,
.mbd-content h5,
.mbd-content h6 {
    position: static !important;
    margin: 35px 0 15px !important;
    padding: 0 !important;
    color: var(--mbd-heading) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}

.mbd-content h1 { font-size: 35px !important; }
.mbd-content h2 { font-size: 31px !important; }
.mbd-content h3 { font-size: 27px !important; }
.mbd-content h4 { font-size: 23px !important; }
.mbd-content h5 { font-size: 20px !important; }
.mbd-content h6 { font-size: 18px !important; }

.mbd-content ul,
.mbd-content ol {
    margin: 0 0 24px !important;
    padding: 0 0 0 28px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.mbd-content li {
    margin-bottom: 9px;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.mbd-content blockquote {
    margin: 27px 0 !important;
    padding: 3px 0 3px 21px !important;
    color: #405169 !important;
    background: transparent !important;
    border: 0 !important;
    border-left: 4px solid var(--mbd-primary) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 19px !important;
    font-style: italic;
}

.mbd-content hr {
    margin: 32px 0;
    border: 0;
    border-top: 1px solid #dfe5ed;
    opacity: 1;
}

.mbd-content img {
    position: static !important;
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 28px auto !important;
    border-radius: 15px;
    box-shadow: 0 12px 35px rgba(8, 27, 55, 0.09);
}

.mbd-content [style*="background"],
.mbd-content [style*="box-shadow"] {
    background: transparent !important;
    box-shadow: none !important;
}

.mbd-content div[style*="border"],
.mbd-content p[style*="border"],
.mbd-content section[style*="border"] {
    border: 0 !important;
    border-radius: 0 !important;
}

.mbd-section {
    margin-top: 40px;
    padding-top: 33px;
    border-top: 1px solid var(--mbd-border);
}

.mbd-section-title {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
}

.mbd-section-title > div > span {
    display: block;
    color: var(--mbd-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.mbd-section-title h2 {
    margin: 3px 0 0;
    color: var(--mbd-heading);
    font-size: 28px;
    font-weight: 700;
}

.mbd-section-title h2 small {
    display: inline-flex;
    min-width: 28px;
    height: 28px;
    margin-left: 5px;
    padding: 0 8px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--mbd-primary);
    background: rgba(23, 105, 170, 0.09);
    font-size: 12px;
}

.mbd-section-title > strong {
    display: inline-flex;
    min-width: 47px;
    height: 47px;
    padding: 0 11px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mbd-border);
    border-radius: 14px;
    color: var(--mbd-primary);
    background: #ffffff;
}

.mbd-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.mbd-gallery-item {
    position: relative;
    height: 290px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 17px;
    background: #e7edf5;
    cursor: pointer;
}

.mbd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mbd-gallery-item > span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(5, 17, 37, 0.28);
    opacity: 0;
}

.mbd-gallery-item:hover > span {
    opacity: 1;
}

.mbd-tags-heading {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 13px;
    color: var(--mbd-heading);
    font-size: 14px;
    font-weight: 700;
}

.mbd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mbd-tags a {
    display: inline-flex;
    padding: 7px 11px;
    border: 1px solid rgba(23, 105, 170, 0.14);
    border-radius: 999px;
    color: var(--mbd-primary);
    background: #f6faff;
    font-size: 12px;
    font-weight: 600;
}

.mbd-share-panel {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-top: 36px;
    padding: 22px 24px;
    border-radius: 20px;
    color: #ffffff;
    background:
        radial-gradient(circle at 90% 15%, rgba(255, 255, 255, 0.15), transparent 27%),
        linear-gradient(135deg, #0d4f86, #1769aa 58%, #6548db);
    box-shadow: 0 18px 45px rgba(23, 105, 170, 0.22);
}

.mbd-share-panel span {
    color: rgba(255, 255, 255, 0.69);
    font-size: 11px;
}

.mbd-share-panel h3 {
    margin: 3px 0 0;
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
}

.mbd-share-buttons {
    display: flex;
    gap: 8px;
}

.mbd-share-buttons a,
.mbd-share-buttons button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    cursor: pointer;
}

.mbd-reactions {
    display: grid;
    grid-template-columns: repeat(7, minmax(82px, 1fr));
    gap: 9px;
}

.mbd-reaction-button {
    display: flex;
    min-height: 100px;
    padding: 12px 8px;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mbd-border);
    border-radius: 16px;
    color: var(--mbd-muted);
    background: #ffffff;
    cursor: pointer;
}

.mbd-reaction-button:hover,
.mbd-reaction-button.active {
    color: var(--mbd-primary);
    border-color: rgba(23, 105, 170, 0.28);
    background: #f5faff;
    transform: translateY(-3px);
}

.mbd-reaction-button:disabled {
    opacity: .65;
    cursor: wait;
}

.mbd-reaction-icon {
    font-size: 23px;
}

.mbd-reaction-label {
    font-size: 11px;
    font-weight: 600;
}

.mbd-reaction-count {
    display: inline-flex;
    min-width: 25px;
    height: 21px;
    padding: 0 6px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--mbd-primary);
    background: rgba(23, 105, 170, 0.09);
    font-size: 10px;
    font-weight: 700;
}

.mbd-comments {
    display: grid;
    gap: 12px;
}

.mbd-comment {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr);
    gap: 13px;
    padding: 18px;
    border: 1px solid var(--mbd-border);
    border-radius: 17px;
    background: #ffffff;
}

.mbd-avatar {
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--mbd-primary), var(--mbd-secondary));
    font-weight: 700;
}

.mbd-comment-header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.mbd-comment-header span {
    color: var(--mbd-muted);
    font-size: 11px;
}

.mbd-comment p {
    margin: 7px 0 0;
    color: #526076;
    font-size: 14px;
    line-height: 1.7;
}

.mbd-comments-empty {
    padding: 42px 20px;
    border: 1px dashed rgba(23, 105, 170, 0.24);
    border-radius: 19px;
    background: #f8fbff;
    text-align: center;
}

.mbd-comments-empty > i {
    color: var(--mbd-primary);
    font-size: 28px;
}

.mbd-form-card {
    margin-top: 27px;
    padding: 27px;
    border: 1px solid var(--mbd-border);
    border-radius: 21px;
    background: #f8fbff;
}

.mbd-form-heading {
    margin-bottom: 21px;
}

.mbd-form-heading > span {
    color: var(--mbd-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.mbd-form-heading h3 {
    margin: 3px 0 0;
    color: var(--mbd-heading);
    font-size: 24px;
}

.mbd-form-heading p {
    margin: 5px 0 0;
    color: var(--mbd-muted);
    font-size: 12px;
}

.mbd-comment-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--mbd-heading);
    font-size: 13px;
    font-weight: 600;
}

.mbd-comment-form label span {
    color: #dc3545;
}

.mbd-field,
.mbd-textarea {
    position: relative;
}

.mbd-field > i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: #8b97a8;
    transform: translateY(-50%);
}

.mbd-comment-form input,
.mbd-comment-form textarea {
    width: 100%;
    outline: none;
    color: var(--mbd-heading);
    border: 1px solid #dce3ec;
    background: #ffffff;
    font-size: 14px;
}

.mbd-comment-form input {
    min-height: 48px;
    padding: 10px 13px 10px 41px;
    border-radius: 13px;
}

.mbd-comment-form textarea {
    min-height: 145px;
    padding: 13px 14px 34px;
    border-radius: 15px;
    resize: vertical;
}

.mbd-textarea small {
    position: absolute;
    right: 12px;
    bottom: 9px;
    color: #9aa5b5;
    font-size: 10px;
}

.mbd-honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
}

.mbd-error {
    margin-top: 5px;
    color: #dc3545;
    font-size: 11px;
}

.mbd-submit {
    display: inline-flex;
    min-height: 48px;
    padding: 10px 18px;
    gap: 10px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 13px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--mbd-primary), var(--mbd-secondary));
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.mbd-sidebar-sticky {
    position: sticky;
    top: 105px;
    display: grid;
    gap: 16px;
}

.mbd-sidebar-card {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.77);
    border-radius: 21px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--mbd-shadow-md);
}

.mbd-sidebar-heading {
    display: flex;
    gap: 11px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mbd-border);
}

.mbd-sidebar-heading > span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: var(--mbd-primary);
    background: rgba(23, 105, 170, 0.09);
}

.mbd-sidebar-heading small {
    display: block;
    color: var(--mbd-primary);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.mbd-sidebar-heading h3 {
    margin: 2px 0 0;
    color: var(--mbd-heading);
    font-size: 15px;
}

.mbd-info-list {
    display: grid;
    margin-top: 12px;
}

.mbd-info-row {
    display: grid;
    grid-template-columns: 37px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid rgba(135, 151, 177, 0.14);
}

.mbd-info-row:last-child {
    border-bottom: 0;
}

.mbd-info-row > span {
    display: inline-flex;
    width: 37px;
    height: 37px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: var(--mbd-primary);
    background: #f1f7fc;
}

.mbd-info-row small,
.mbd-info-row strong,
.mbd-info-row a {
    display: block;
}

.mbd-info-row small {
    color: var(--mbd-muted);
    font-size: 9px;
}

.mbd-info-row strong,
.mbd-info-row a {
    margin-top: 2px;
    color: var(--mbd-heading);
    font-size: 11px;
    font-weight: 700;
}

.mbd-sidebar-share {
    display: grid;
    gap: 8px;
    margin-top: 15px;
}

.mbd-sidebar-share a,
.mbd-sidebar-share button {
    display: flex;
    min-height: 42px;
    padding: 9px 12px;
    gap: 9px;
    align-items: center;
    border: 1px solid var(--mbd-border);
    border-radius: 12px;
    color: var(--mbd-text);
    background: #ffffff;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
}

.mbd-back {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    padding: 16px;
    border-radius: 19px;
    color: #ffffff;
    background: linear-gradient(135deg, #0c4f85, #1769aa 60%, #6548db);
}

.mbd-back:hover {
    color: #ffffff;
}

.mbd-back > span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.10);
}

.mbd-back small,
.mbd-back strong {
    display: block;
}

.mbd-back small {
    color: rgba(255, 255, 255, 0.65);
    font-size: 9px;
}

.mbd-back strong {
    font-size: 11px;
}

.mbd-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    padding: 30px;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    background: rgba(3, 11, 24, 0.88);
    opacity: 0;
}

.mbd-modal.show {
    visibility: visible;
    opacity: 1;
}

.mbd-modal img {
    max-width: min(1200px, 95vw);
    max-height: 90vh;
    border-radius: 17px;
}

.mbd-modal-close {
    position: absolute;
    top: 22px;
    right: 25px;
    display: inline-flex;
    width: 45px;
    height: 45px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
}

.mbd-modal-open {
    overflow: hidden;
}

.mbd-toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 100000;
    display: flex;
    min-height: 47px;
    padding: 10px 16px;
    gap: 8px;
    align-items: center;
    border-radius: 13px;
    color: #ffffff;
    background: #10253d;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
}

.mbd-toast.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1199.98px) {
    .mbd-layout {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 21px;
    }

    .mbd-article {
        padding-right: 35px;
        padding-left: 35px;
    }

    .mbd-reactions {
        grid-template-columns: repeat(4, minmax(85px, 1fr));
    }
}

@media (max-width: 991.98px) {
    .mbd-layout {
        grid-template-columns: 1fr;
    }

    .mbd-sidebar-sticky {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mbd-back {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .mbd-page {
        padding: 19px 0 60px;
    }

    .mbd-container {
        padding-right: 11px;
        padding-left: 11px;
    }

    .mbd-article {
        padding: 24px 19px 30px;
        border-radius: 21px;
    }

    .mbd-share-trigger {
        width: 38px;
        padding: 0;
        justify-content: center;
    }

    .mbd-share-trigger span {
        display: none;
    }

    .mbd-header h1 {
        font-size: 30px !important;
        line-height: 1.3 !important;
    }

    .mbd-header p {
        margin-top: 13px !important;
        font-size: 15px !important;
        line-height: 1.72 !important;
    }

    .mbd-featured-image {
        border-radius: 16px;
    }

    .mbd-featured-image img {
        min-height: 220px;
        object-fit: cover;
    }

    .mbd-meta-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-top: 17px !important;
    }

    .mbd-meta-divider {
        display: none;
    }

    .mbd-content {
        padding-top: 29px !important;
        font-size: 17px !important;
        line-height: 1.88 !important;
    }

    .mbd-content h1 { font-size: 29px !important; }
    .mbd-content h2 { font-size: 27px !important; }
    .mbd-content h3 { font-size: 23px !important; }
    .mbd-content h4 { font-size: 20px !important; }

    .mbd-gallery {
        grid-template-columns: 1fr;
    }

    .mbd-gallery-item {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .mbd-share-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .mbd-reactions {
        grid-template-columns: repeat(3, minmax(80px, 1fr));
    }

    .mbd-form-card {
        padding: 20px;
    }

    .mbd-sidebar-sticky {
        grid-template-columns: 1fr;
    }

    .mbd-back {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .mbd-article {
        padding-right: 15px;
        padding-left: 15px;
    }

    .mbd-category {
        max-width: 76%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mbd-header h1 {
        font-size: 26px !important;
    }

    .mbd-header p {
        font-size: 14px !important;
    }

    .mbd-featured-image img {
        min-height: 185px;
    }

    .mbd-meta-list span {
        font-size: 11px;
    }

    .mbd-content {
        font-size: 16px !important;
    }

    .mbd-content h2 { font-size: 24px !important; }
    .mbd-content h3 { font-size: 21px !important; }

    .mbd-section-title h2 {
        font-size: 23px;
    }

    .mbd-share-panel {
        padding: 19px;
    }

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

    .mbd-reaction-button {
        min-height: 92px;
    }

    .mbd-comment {
        grid-template-columns: 39px minmax(0, 1fr);
        padding: 14px;
    }

    .mbd-avatar {
        width: 39px;
        height: 39px;
        border-radius: 11px;
        font-size: 13px;
    }

    .mbd-form-card {
        padding: 16px;
    }

    .mbd-toast {
        right: 11px;
        bottom: 11px;
        left: 11px;
        justify-content: center;
    }
}

/* Comment form feedback messages */
.mbd-form-message {
    display: none;
    width: 100%;
    margin: 0 0 18px;
    padding: 13px 15px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
}

.mbd-form-message.show {
    display: block;
}

.mbd-form-message-success {
    color: #12643a;
    border-color: #9dd8b7;
    background: #eaf9f0;
}

.mbd-form-message-success i {
    margin-right: 6px;
    color: #159455;
}

.mbd-form-message-error {
    color: #9f1d2d;
    border-color: #f2a8b2;
    background: #fff0f2;
}

.mbd-form-message-error ul {
    margin: 7px 0 0;
    padding-left: 20px;
}

.mbd-submit:disabled {
    cursor: wait;
    opacity: .72;
    transform: none;
}
