/* SA News Widgets v3 styles - responsive ready */
.sa-widget {
    font-family: "SolaimanLipi", Arial, sans-serif;
    margin: 12px 0;
}
.sa-widget img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Category Latest - full image top */
.sa-cat-latest-v3 {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
.sa-cat-latest-v3 .sa-item {
    flex: 1 1 30%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.sa-cat-latest-v3 .sa-featured-full {
    width: 100%;
    height: 260px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    margin-bottom: 8px;
}
.sa-cat-latest-v3 .sa-body {
    padding: 6px 0;
}

/* ✅ Updated title for Category Latest widget */
.sa-cat-latest-v3 .sa-title,
.sa-cat-latest-v3 .sa-title a {
    font-size: 28px !important;
    font-weight: 600 !important;
    line-height: 34px !important;
    color: #212121 !important;
}

/* Responsive */
@media(max-width:1024px) {
    .sa-cat-latest-v3 .sa-item { flex-basis: 45%; }
    .sa-cat-latest-v3 .sa-featured-full { height: 200px; }
}
@media(max-width:600px) {
    .sa-cat-latest-v3 .sa-item { flex-basis: 100%; }
    .sa-cat-latest-v3 .sa-featured-full { height: 140px; }
}

/* Manual Grid */
.sa-manual-grid-v3 {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.sa-manual-grid-v3 .sa-grid-item {
    flex: 1 1 30%;
    box-sizing: border-box;
}
@media(max-width:1024px) { .sa-manual-grid-v3 .sa-grid-item { flex-basis: 45%; } }
@media(max-width:600px) { .sa-manual-grid-v3 .sa-grid-item { flex-basis: 100%; } }

/* Category List */
.sa-cat-list-v3 .sa-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: flex-start;
}
.sa-cat-list-v3 .sa-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}
@media(max-width:600px) {
    .sa-cat-list-v3 .sa-row { flex-direction: column; }
    .sa-cat-list-v3 .sa-img img { width: 100%; height: auto; }
}

/* Notification */
.sa-notification-widget {
    position: relative;
    display: inline-block;
}
.sa-notify-btn {
    background: #fff;
    border: 1px solid #ddd;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sa-notify-list {
    position: absolute;
    right: 0;
    top: 44px;
    width: 360px;
    max-height: 420px;
    overflow: auto;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    display: none;
    z-index: 9999;
}
.sa-notify-item {
    display: flex;
    gap: 8px;
    padding: 8px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #000;
    transition: color 0.3s ease;
}
.sa-notify-item:hover {
    color: #ff0000; /* Hover red */
}
.sa-notify-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 4px;
}
.sa-notify-title {
    font-size: 19px; /* Title 19px */
    color: #000;
}

/* Horizontal Menu */
.sa-horizontal-menu {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0;
}
.sa-horizontal-menu .sa-menu-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: color 0.3s ease;
}
.sa-horizontal-menu .sa-menu-item:hover {
    color: #ff0000; /* Hover red */
}
.sa-horizontal-menu .sa-menu-title {
    font-size: 19px; /* Title 19px */
    color: #000;
}
