.atat-news-feeds {
    margin: 18px 0;
}

.atat-news-feeds__notice {
    margin-bottom: 12px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1e3a8a;
    border-radius: 12px;
    padding: 10px 12px;
}

.atat-news-feeds__header {
    display: flex;
    gap: 14px;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.atat-news-feeds__header h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
}

.atat-news-feeds__header p {
    margin: 6px 0 0;
    color: #64748b;
}

.atat-news-feeds__selector {
    display: grid;
    gap: 6px;
    min-width: 220px;
}

.atat-news-feeds__selector select {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    min-height: 38px;
    padding: 6px 10px;
    background: #ffffff;
}

.atat-news-feeds__selector select[multiple] {
    min-height: 140px;
    padding: 8px;
}

.atat-news-feeds__selector-help {
    margin: -2px 0 2px;
    font-size: 12px;
    color: #64748b;
}

.atat-news-feeds__tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
}

.atat-news-tile {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    display: grid;
    grid-template-rows: 150px 1fr;
}

.atat-news-tile--featured {
    border-color: #fdba74;
    box-shadow: 0 10px 28px rgba(180, 83, 9, 0.2);
}

.atat-news-tile__image {
    display: block;
    background: #f8fafc;
}

.atat-news-tile__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.atat-news-tile__image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a, #334155);
}

.atat-news-tile__body {
    padding: 14px;
    display: grid;
    gap: 10px;
}

.atat-news-tile__body h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
}

.atat-news-tile__body h3 a {
    color: #0f172a;
    text-decoration: none;
}

.atat-news-tile__body h3 a:hover,
.atat-news-tile__body h3 a:focus {
    color: #0f766e;
}

.atat-news-tile__body p {
    margin: 0;
    color: #475569;
    font-size: 14px;
}

.atat-news-tile__meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: #64748b;
    font-size: 12px;
}

.atat-news-tile__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.atat-news-btn {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    border-radius: 999px;
    padding: 6px 10px;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.2;
    cursor: pointer;
}

.atat-news-btn--primary,
.atat-news-btn:hover,
.atat-news-btn:focus {
    border-color: #0f766e;
    background: #0f766e;
    color: #ffffff;
}

.atat-news-share-box {
    margin-top: 6px;
    display: grid;
    gap: 8px;
}

.atat-news-share-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.atat-news-share-form select {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    min-height: 32px;
    padding: 4px 8px;
}

.atat-news-native-viewer {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    background: #ffffff;
}

.atat-news-native-viewer header h3 {
    margin: 0 0 4px;
}

.atat-news-native-viewer header p {
    margin: 0 0 12px;
    color: #64748b;
}

.atat-news-native-viewer__actions {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.atat-news-native-viewer__frame {
    width: 100%;
    min-height: 560px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
}

.atat-news-native-viewer__rich {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    padding: 14px;
    display: grid;
    gap: 12px;
}

.atat-news-native-viewer__rich-image {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 10px;
}

.atat-news-native-viewer__description {
    margin: 0;
    color: #334155;
    font-weight: 600;
}

.atat-news-favorites {
    margin-top: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px;
    background: #ffffff;
}

.atat-news-favorites h3 {
    margin: 0 0 8px;
}

.atat-news-favorites ul {
    margin: 0;
    padding-left: 18px;
}

.atat-news-favorites li {
    margin-bottom: 8px;
}

.atat-news-favorites li span {
    margin-left: 8px;
    color: #64748b;
    font-size: 12px;
}

.atat-news-tile--empty {
    grid-template-rows: auto;
    padding: 18px;
}

.atat-news-feeds--widget .atat-news-feeds__header h2 {
    font-size: 18px;
}

.atat-news-feeds--widget .atat-news-feeds__tiles {
    grid-template-columns: 1fr;
}

.atat-news-feeds--widget .atat-news-tile {
    grid-template-rows: 130px 1fr;
}

.atat-news-feeds--widget .atat-news-share-box,
.atat-news-feeds--widget .atat-news-favorites,
.atat-news-feeds--widget .atat-news-native-viewer {
    display: none;
}