.ug-single-main {
    padding: 22px 0 10px;
    background: #fff;
}

.ug-single-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 34px;
    align-items: start;
}

.ug-single-article {
    min-width: 0;
}

.ug-breadcrumbs {
    margin: 0 0 14px;
    color: #8b98a2;
    font-size: 13px;
    line-height: 1.5;
}

.ug-breadcrumbs a {
    color: #667581;
}

.ug-breadcrumbs a:hover {
    color: var(--ug-blue);
}

.ug-crumb-sep {
    margin: 0 6px;
    color: #b7c1c8;
}

.ug-article-category {
    display: inline-block;
    margin-bottom: 8px;
    color: white;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    background: #128bd3;
    padding: 6px 13px 4px;
    border-radius: 3px;
}

.ug-article-title {
    margin: 0 0 12px;
    color: #1a1d1f;
    font-size: 65px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.ug-article-excerpt {
    margin: 0 0 16px;
    color: #52616b;
    font-size: 17px;
    line-height: 1.7;
}

.ug-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 18px;
    color: #6c7a84;
    font-size: 13.5px;
}

.ug-article-meta-main {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    min-width: 0;
}

.ug-article-share {
    margin-left: auto;
    flex: none;
}

.ug-article-share .sharethis-inline-share-buttons {
    display: flex;
    justify-content: flex-end;
    line-height: 1;
}

.ug-meta-author {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e2a32;
}

.ug-meta-author img,
.ug-meta-author .ug-author-avatar {
    width: 45px;
    height: 45px;
    padding: 0px;
    border: 1px solid var(--ug-blue);
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(18, 139, 211, 0.16);
}

.ug-meta-author strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.ug-meta-author small {
    display: block;
    color: #73828b;
    font-size: 12px;
    font-weight: 500;
}

.ug-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ug-meta-item svg {
    flex: none;
    color: var(--ug-blue);
}

.ug-featured-image {
    margin: 0 0 22px;
}

.ug-featured-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 2px;
}

.ug-featured-image figcaption {
    margin-top: 8px;
    color: #73828c;
    font-size: 13px;
    line-height: 1.5;
}

.ug-article-content {
    color: #22282c;
    font-size: 22px;
    line-height: 1.8;
    font-weight: 500;
}

.ug-article-content > *:first-child {
    margin-top: 0;
}

.ug-article-content p {
    margin: 0 0 18px;
}

.ug-article-content h2,
.ug-article-content h3,
.ug-article-content h4 {
    position: relative;
    margin: 32px 0 12px;
    padding-left: 14px;
    color: #172127;
    line-height: 1.4;
}

.ug-article-content h2 {
    font-size: 26px;
}

.ug-article-content h3 {
    font-size: 22px;
}

.ug-article-content h4 {
    font-size: 19px;
}

.ug-article-content h2::before,
.ug-article-content h3::before,
.ug-article-content h4::before {
    content: "";
    position: absolute;
    top: 0.15em;
    bottom: 0.15em;
    left: 0;
    width: 4px;
    border-radius: 2px;
    background: var(--ug-blue);
}

.ug-article-content a {
    color: var(--ug-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ug-article-content .ug-ad a,
.ug-article-content .ug-ad-slot a {
    text-decoration: none;
}

.ug-article-content .ug-ad-slot {
    margin: 26px 0 28px;
}

.ug-article-content ul,
.ug-article-content ol {
    margin: 0 0 18px;
    padding-left: 1.3em;
}

.ug-article-content blockquote {
    position: relative;
    margin: 26px 0;
    padding: 18px 22px 16px 58px;
    border-left: 4px solid var(--ug-blue);
    background: #f3f9fd;
    color: #1d3344;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.7;
}

.ug-article-content blockquote::before {
    content: "“";
    position: absolute;
    top: 2px;
    left: 16px;
    color: var(--ug-blue);
    font-family: Georgia, serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
}

.ug-article-content blockquote p:last-child {
    margin-bottom: 0;
}

.ug-article-content blockquote cite,
.ug-article-content blockquote footer {
    display: block;
    margin-top: 8px;
    color: var(--ug-blue);
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
}

.ug-article-content figure {
    margin: 24px 0;
}

.ug-article-content figure img {
    width: 100%;
}

.ug-article-content figcaption {
    margin-top: 6px;
    color: #73828c;
    font-size: 13px;
}

.ug-article-content table {
    width: 100%;
    margin: 8px 0 24px;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.5;
}

.ug-article-content th,
.ug-article-content td {
    padding: 11px 12px;
    border: 1px solid #d5e3ee;
    text-align: left;
    vertical-align: top;
}

.ug-article-content th {
    background: #e7f3fb;
    color: #163044;
    font-weight: 800;
}

.ug-article-content tr:nth-child(even) td {
    background: #f8fbfd;
}

.ug-article-content iframe {
    max-width: 100%;
}

.ug-post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--ug-border);
    color: #5d6c76;
    font-size: 14px;
    font-weight: 700;
}

.ug-post-tags a {
    color: var(--ug-blue);
    font-weight: 700;
}

.ug-post-tags a:hover {
    text-decoration: underline;
}

.ug-share-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 14px;
    margin: 18px 0 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ug-border);
    color: #5e6d77;
    font-size: 14px;
    font-weight: 700;
}

.ug-share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ug-share-button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    padding: 0;
}

.ug-share-button svg {
    display: block;
}

.ug-share-button--facebook {
    background: #1877f2;
}

.ug-share-button--x {
    background: #111;
}

.ug-share-button--whatsapp {
    background: #25d366;
}

.ug-share-button--link {
    background: var(--ug-blue);
}

.ug-share-button:hover {
    opacity: 0.88;
}

.ug-share-button.is-copied {
    background: #14804a;
}

.ug-author-box {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin: 0 0 28px;
    padding: 16px 18px;
    border: 1px solid var(--ug-border);
    background: #f7fafc;
}

.ug-author-box img,
.ug-author-box .ug-author-avatar {
    width: 50px;
    height: 50px;
    border: 1px solid var(--ug-blue);
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 4px 14px rgba(18, 139, 211, 0.18);
}

.ug-author-copy h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.ug-author-role {
    margin: 2px 0 0;
    color: var(--ug-blue);
    font-size: 13px;
    font-weight: 700;
}

.ug-author-copy p:last-child {
    margin: 4px 0 0;
    color: #5d6c76;
    font-size: 14px;
    line-height: 1.6;
}

.ug-author-link {
    padding: 8px 14px;
    border-radius: 3px;
    background: var(--ug-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.ug-author-link:hover {
    background: var(--ug-blue-dark);
}

.ug-story-section {
    margin: 8px 0 28px;
}

.ug-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--ug-border);
}

.ug-section-title {
    position: relative;
    margin: 0;
    padding-bottom: 8px;
    font-size: 22px;
    line-height: 1.3;
}

.ug-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 56px;
    height: 3px;
    background: var(--ug-red);
}

.ug-section-more,
.ug-side-more {
    color: var(--ug-blue);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.ug-section-more {
    margin-bottom: 8px;
}

.ug-section-more:hover,
.ug-side-more:hover {
    text-decoration: underline;
}

.ug-story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ug-story-card {
    min-width: 0;
    border: 1px solid var(--ug-border);
    background: #fff;
}

.ug-story-card a {
    display: block;
    height: 100%;
    color: inherit;
}

.ug-story-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8eef3;
}

.ug-story-media img,
.ug-media-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ug-media-fallback {
    display: block;
    background: linear-gradient(145deg, #d5ebf8, #f7fbfd 60%, #fde8ec);
}

.ug-story-body {
    padding: 10px 12px 12px;
}

.ug-story-category {
    color: var(--ug-blue);
    font-size: 12px;
    font-weight: 800;
}

.ug-story-title {
    margin: 4px 0 8px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.45;
}

.ug-story-card a:hover .ug-story-title {
    color: var(--ug-blue);
}

.ug-story-date {
    color: #7b888f;
    font-size: 12px;
}

/* Sidebar */

.ug-sidebar {
    position: sticky;
    top: 18px;
    align-self: start;
    min-width: 0;
}

body.admin-bar .ug-sidebar {
    top: 50px;
}

body:has(.ug-sticky-header.is-visible) .ug-sidebar {
    top: 84px;
}

body.admin-bar:has(.ug-sticky-header.is-visible) .ug-sidebar {
    top: 116px;
}

.ug-sidebar .ug-ad-slot + .ug-side-box,
.ug-sidebar .ug-side-box + .ug-side-box,
.ug-sidebar .ug-side-box + .ug-ad-slot,
.ug-sidebar .ug-ad-slot + .ug-ad-slot {
    margin-top: 16px;
}

.ug-side-box {
    border: 1px solid #e3edf3;
    background: #fff;
}

.ug-tabs-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #e3edf3;
}

.ug-tabs-nav button {
    border: 0;
    border-bottom: 3px solid transparent;
    background: #fff;
    color: #24323c;
    padding: 12px 8px;
    font-size: 15px;
    font-weight: 800;
}

.ug-tabs-nav button.is-active {
    color: var(--ug-blue);
    border-bottom-color: var(--ug-blue);
}

.ug-tab-panel {
    padding: 4px 12px 8px;
}

.ug-tab-panel[hidden] {
    display: none;
}

.ug-ranked-list,
.ug-live-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ug-ranked-item {
    display: grid;
    grid-template-columns: 34px 72px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f5;
}

.ug-ranked-item:last-child {
    border-bottom: 0;
}

.ug-ranked-number {
    color: var(--ug-blue);
    font-family: "Mukta", Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.ug-ranked-thumb {
    width: 72px;
    height: 52px;
    overflow: hidden;
    background: #e8eef3;
}

.ug-ranked-thumb img,
.ug-ranked-thumb .ug-media-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.ug-ranked-title {
    color: #1c242a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.ug-ranked-title:hover,
.ug-live-item a:hover {
    color: var(--ug-blue);
}

.ug-side-heading {
    margin: 0;
    padding: 12px 14px;
    border-bottom: 3px solid var(--ug-blue);
    font-size: 18px;
}

.ug-side-list {
    padding: 4px 12px 8px;
}

.ug-live-badge {
    padding: 2px 7px;
    border-radius: 2px;
    background: var(--ug-red);
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
}

.ug-live-list {
    padding: 2px 14px;
}

.ug-live-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f5;
}

.ug-live-item:last-child {
    border-bottom: 0;
}

.ug-live-item time {
    color: var(--ug-blue);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

.ug-live-item a {
    color: #1c242a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.ug-side-more {
    display: block;
    padding: 4px 14px 14px;
}

.ug-side-empty {
    margin: 0;
    padding: 14px 2px;
    color: #73828c;
    font-size: 14px;
}

.ug-single-main > .ug-container > .ug-ad-slot--bottom {
    margin: 10px 0 6px;
}

/* Comments */

.ug-comments {
    margin-top: 10px;
}

.comment-list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

.comment-list .children {
    list-style: none;
    margin-left: 28px;
    padding: 0;
}

.comment-body {
    padding: 16px 0;
    border-bottom: 1px solid var(--ug-border);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-author img {
    border-radius: 50%;
}

.comment-metadata {
    margin-top: 2px;
    color: #76838d;
    font-size: 12px;
}

.comment-metadata a {
    color: inherit;
}

.comment-content {
    font-size: 16px;
    line-height: 1.7;
}

.comment-reply-link {
    color: var(--ug-blue);
    font-size: 13px;
    font-weight: 700;
}

.ug-comment-reply-title {
    margin: 22px 0 12px;
    font-size: 20px;
}

.comment-form p {
    margin: 0 0 12px;
}

.comment-form label {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 700;
}

.comment-form textarea,
.comment-form input:not([type="submit"]):not([type="checkbox"]) {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d5e0e7;
    border-radius: 3px;
    background: #fff;
}

.comment-form textarea:focus,
.comment-form input:focus {
    border-color: var(--ug-blue);
    outline: none;
}

.comment-form textarea {
    min-height: 130px;
    resize: vertical;
}

.comment-form .submit,
.ug-button {
    padding: 10px 18px;
    border: 0;
    border-radius: 3px;
    background: var(--ug-blue);
    color: #fff;
    font-weight: 800;
}

.comment-form .submit:hover {
    background: var(--ug-blue-dark);
}

.logged-in-as,
.comment-notes {
    color: #667581;
    font-size: 13px;
}

@media (max-width: 1024px) {
    .ug-story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .ug-single-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ug-sidebar {
        position: static;
        top: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        align-items: start;
    }

    .ug-sidebar .ug-ad-slot,
    .ug-sidebar .ug-side-box,
    .ug-sidebar .ug-widget {
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    .ug-single-main {
        padding-top: 16px;
    }

    .ug-article-title {
        font-size: 36px;
        line-height: 1.3;
    }

    .ug-article-excerpt,
    .ug-article-content {
        font-size: 16.5px;
    }

    .ug-article-content h2 {
        font-size: 22px;
    }

    .ug-article-content table {
        display: block;
        overflow-x: auto;
    }

    .ug-author-box,
    .ug-story-grid,
    .ug-sidebar {
        grid-template-columns: 1fr;
    }

    .ug-author-link {
        justify-self: start;
    }

    .ug-article-share {
        margin-left: 0;
    }
}
