* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #efefef;
    font-family: Arial, sans-serif;
    color: #111111;
}

.unes-app {
    max-width: 390px;
    margin: 0 auto;
    background: #ffffff;
    min-height: 100vh;
}

.unes-header {
    background: #ffffff;
    padding: 0 12px 0;
    border-bottom: 1px solid #ececec;
}

.unes-header-top {
    display: grid;
    grid-template-columns: 32px 1fr 32px;
    align-items: start;
    padding: 0;
    line-height: 0;
}

.unes-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    line-height: normal;
}

.unes-logo-wrap {
    width: 100%;
}

.unes-logo-image {
    width: 100%;
    max-width: 194px;
    height: auto;
    display: block;
    margin: 0 auto;
    vertical-align: top;
}

.unes-meta {
    font-size: 10px;
    font-weight: 700;
    color: #082b72;
    line-height: 1;
    margin-top: 6px;
}

.unes-icon-button {
    border: none;
    background: none;
    font-size: 22px;
    color: #111111;
    padding: 0;
}

.unes-edition-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 12px;
    border-bottom: 1px solid #ececec;
}

.unes-edition-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.unes-edition-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #082b72;
    font-size: 0;
}

.unes-edition-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.unes-edition-label {
    font-size: 8px;
    font-weight: 700;
    color: #3d3d3d;
}

.unes-edition-date {
    margin-top: 0;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
}

.unes-edition-chevron {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    position: relative;
    top: -1px;
}

.unes-edition-link {
    font-size: 10px;
    color: #222222;
    text-align: right;
    line-height: 1.15;
}

.unes-tabs {
    display: flex;
    gap: 22px;
    padding: 6px 12px 4px;
    border-bottom: 1px solid #ececec;
    overflow-x: auto;
scroll-behavior: smooth;
-webkit-overflow-scrolling: touch;
}

.unes-tabs button {
    border: none;
    background: none;
    padding: 0 0 4px;
    font-size: 10px;
    font-weight: 700;
    color: #222222;
    white-space: nowrap;
}

.unes-tabs button.active {
    color: #0b45ff;
    border-bottom: 3px solid #0b45ff;
}

.unes-media-strip {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 8px 12px 12px;
    font-size: 9px;
    font-weight: 700;
    color: #222222;
}

.unes-media-strip span {
    position: relative;
    white-space: nowrap;
    padding-bottom: 8px;
}

.unes-media-strip span::after {
    content: '··●··';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -2px;
    font-size: 8px;
    color: #0b45ff;
    letter-spacing: 1px;
}

.unes-media-strip span.active {
    color: #0b45ff;
}

.unes-media-strip span.active::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    background: #0b45ff;
}

.unes-swipe-hint {
    position: relative;         /* permet au bandeau d’être positionné par dessus */
    padding: 10px 12px 12px;
    font-size: 10px;
    font-weight: 600;
    color: #5f5f5f;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.1px;
}

#unes-new-edition-notice {
    display: inline-block;
    background: #1d3557;
    color: #ffffff;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    text-align: center;
}

.unes-card {
    margin: 0 10px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 24px;
    padding: 4px 12px 8px;
    min-height: 410px;
    display: flex;
    flex-direction: column;
}

.unes-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    position: relative;
}

.unes-card-media {
    font-size: 20px;
    font-weight: 700;
    color: #0b45ff;
    line-height: 1;
    text-align: center;
    width: 100%;
}

.unes-title-row {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #ededed;
    flex: 1;
}

.unes-title-bullet {
width: 8px;
flex-shrink: 0;
font-size: 24px;
font-weight: 700;
color: #082b72;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
position: relative;
top: -3px;
}
.unes-title-content {
    flex: 1;
}

.unes-title-text {
    font-size: 14px;
    line-height: 1.22;
    font-family: Georgia, serif;
}

.unes-title-time {
    margin-top: 3px;
    font-size: 8px;
    font-weight: 700;
    color: #1f2b5e;
}

.unes-title-arrow {
    width: 16px;
    flex-shrink: 0;
    font-size: 18px;
    line-height: 1;
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 1px;
}

.unes-title-row.no-border {
    border-bottom: none;
}

.unes-more-button {
    width: 100%;
    margin-top: auto;
    border: 1px solid #9f9f9f;
    background: #ffffff;
    color: #4a4a4a;    border-radius: 7px;
    height: 28px;
    padding: 0 4px;
    font-size: 10px;	
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.unes-more-chevron {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    position: relative;
    top: -2px;
    color: #4a4a4a;
}

.unes-bottom-nav {
    margin-top: 6px;
    display: flex;
    justify-content: space-around;
    padding: 3px 6px;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    background: #ffffff;
}

.unes-bottom-nav a {
    text-decoration: none;
    color: #222222;
    font-size: 8px;
    font-weight: 700;
    text-align: center;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.unes-bottom-nav a.active {
    color: #0b45ff;
}

.unes-nav-icon {
    font-size: 11px;
    line-height: 1;
}

.unes-sponsor {
    padding: 2px 14px 4px;
}

.unes-sponsor-label {
    margin-bottom: 1px;
    font-size: 8px;
    color: #8a8a8a;
}

.unes-sponsor-banner {
    height: 105px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0c2a73, #123f9f);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
}

.unes-partner-link {
    padding: 8px 20px 18px;
    text-align: center;
    font-size: 9px;
    color: #b7b7b7;
}

.unes-bottom-nav .dashicons {
    font-size: 10px;
    width: 10px;
    height: 10px;
}

.unes-partner-icon {
    filter: grayscale(100%);
    opacity: 0.65;
}

.unes-media-carousel {
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.unes-media-carousel::-webkit-scrollbar {
    display: none;
}

.unes-media-panel {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding-bottom: 4px;
}

.unes-title-row {
    text-decoration: none;
    color: inherit;
}

.unes-title-row:visited {
    color: inherit;
}

.unes-title-row:hover {
    color: inherit;
}

.unes-title-row:active {
    color: inherit;
}

.unes-extra-title {
    display: none;
}

.unes-card.expanded .unes-extra-title {
    display: flex;
}

.unes-sponsor-banner {
    overflow: hidden;
    padding: 0;
    background: #f4f4f4;
    border: 1px solid #dddddd;
}

.unes-sponsor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
