:root {
--udt-accent: #0b6b57;
--udt-bg: #f6f8f7;
--udt-text: #13201c;
--udt-muted: #56645f;
--udt-border: #e3e9e6;
--udt-dark: #0e1f1a;
--udt-radius: 14px;
--udt-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
-webkit-text-size-adjust: 100%;
}
body.udt {
margin: 0;
background: #e9eeec;
color: var(--udt-text);
font-family: var(--udt-font);
font-size: 15px;
line-height: 1.55;
-webkit-font-smoothing: antialiased;
}
body.udt img {
max-width: 100%;
height: auto;
}
body.udt a {
color: var(--udt-accent);
}
.screen-reader-text {
position: absolute !important;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
white-space: nowrap;
}
.udt-skip {
position: absolute;
left: -9999px;
top: 8px;
z-index: 100;
padding: 8px 12px;
background: #fff;
border-radius: 8px;
}
.udt-skip:focus {
left: 8px;
} .udt-app {
max-width: 480px;
min-height: 100vh;
margin: 0 auto;
background: var(--udt-bg);
padding-bottom: 72px;
box-shadow: 0 0 0 1px rgba(19, 32, 28, 0.04), 0 10px 40px rgba(19, 32, 28, 0.06);
}
.udt-main {
display: flex;
flex-direction: column;
gap: 8px;
} .udt-header {
position: sticky;
top: 0;
z-index: 30;
display: flex;
align-items: center;
gap: 12px;
padding: 10px 16px;
background: #fff;
border-bottom: 1px solid var(--udt-border);
}
.udt-logo {
flex: 0 0 auto;
display: flex;
align-items: center;
max-width: 44%;
color: var(--udt-text) !important;
font-weight: 700;
text-decoration: none;
}
.udt-logo img {
display: block;
max-height: 36px;
width: auto;
}
.udt-search {
flex: 1;
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
height: 40px;
padding: 0 12px;
border-radius: 99px;
background: var(--udt-bg);
border: 1px solid var(--udt-border);
color: var(--udt-muted);
}
.udt-search:focus-within {
border-color: var(--udt-accent);
}
.udt-search input {
flex: 1;
min-width: 0;
border: 0;
outline: 0;
background: transparent;
font: inherit;
font-size: 14px;
color: var(--udt-text);
} .udt-sec {
background: #fff;
padding: 18px 16px;
}
.udt-sec-head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 12px;
margin-bottom: 12px;
}
.udt-sec-head h2 {
margin: 0;
font-size: 17px;
font-weight: 700;
line-height: 1.3;
}
.udt-sec-head a {
flex: 0 0 auto;
font-size: 13px;
font-weight: 600;
text-decoration: none;
}
.udt-page-title {
margin: 0 0 12px;
font-size: 21px;
line-height: 1.3;
}
.udt-muted {
color: var(--udt-muted);
font-size: 13px;
font-style: normal;
}
.udt-center {
text-align: center;
} .udt-slider {
position: relative;
background: #fff;
padding: 12px 0 8px;
}
.udt-slides {
display: flex;
gap: 10px;
overflow-x: auto;
scroll-snap-type: x mandatory;
scroll-padding: 0 16px;
padding: 0 16px;
scrollbar-width: none;
}
.udt-slides::-webkit-scrollbar {
display: none;
}
.udt-slide {
position: relative;
flex: 0 0 100%;
scroll-snap-align: center;
border-radius: var(--udt-radius);
overflow: hidden;
aspect-ratio: 1200 / 630;
background: var(--udt-border);
}
.udt-slide img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.udt-slide-label {
position: absolute;
left: 12px;
top: 12px;
}
.udt-dots {
display: flex;
justify-content: center;
gap: 6px;
padding-top: 10px;
}
.udt-dots button {
width: 8px;
height: 8px;
padding: 0;
border: 0;
border-radius: 99px;
background: var(--udt-border);
cursor: pointer;
transition: width 0.2s;
}
.udt-dots button.is-on {
width: 20px;
background: var(--udt-accent);
} .udt-chips {
display: flex;
gap: 8px;
overflow-x: auto;
scrollbar-width: none;
margin: 0 -16px;
padding: 0 16px 2px;
}
.udt-chips::-webkit-scrollbar {
display: none;
}
.udt-chip {
display: inline-flex;
align-items: center;
padding: 3px 10px;
border-radius: 99px;
background: rgba(255, 255, 255, 0.94);
color: var(--udt-accent) !important;
font-size: 11px;
font-weight: 600;
text-decoration: none;
white-space: nowrap;
}
.udt-chip-lg {
flex: 0 0 auto;
padding: 8px 16px;
border: 1px solid var(--udt-border);
background: #fff;
color: var(--udt-text) !important;
font-size: 13px;
font-weight: 500;
}
.udt-chip-lg.is-on,
.udt-chip-lg:hover {
border-color: var(--udt-accent);
background: var(--udt-accent);
color: #fff !important;
} .udt-cards {
display: flex;
flex-direction: column;
gap: 12px;
}
.udt-cards-geser {
flex-direction: row;
overflow-x: auto;
scroll-snap-type: x mandatory;
margin: 0 -16px;
padding: 2px 16px 6px;
scroll-padding: 0 16px;
scrollbar-width: none;
}
.udt-cards-geser::-webkit-scrollbar {
display: none;
}
.udt-cards-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.udt-card {
display: flex;
flex-direction: column;
background: #fff;
border: 1px solid var(--udt-border);
border-radius: var(--udt-radius);
overflow: hidden;
color: var(--udt-text) !important;
text-decoration: none;
transition: box-shadow 0.15s, transform 0.15s;
}
.udt-card:hover {
box-shadow: 0 6px 18px rgba(19, 32, 28, 0.08);
}
.udt-card:focus-visible {
outline: 2px solid var(--udt-accent);
outline-offset: 2px;
}
.udt-card-img {
position: relative;
display: block;
aspect-ratio: 16 / 9;
background: linear-gradient(135deg, #d7e6e0, #b9d3c9) center / cover no-repeat;
}
.udt-card-img .udt-chip {
position: absolute;
left: 10px;
top: 10px;
}
.udt-card-body {
display: flex;
flex-direction: column;
gap: 8px;
padding: 12px;
flex: 1;
}
.udt-card-title {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
font-size: 14px;
font-weight: 600;
line-height: 1.4;
}
.udt-bar {
display: block;
height: 6px;
border-radius: 99px;
background: var(--udt-border);
overflow: hidden;
}
.udt-bar span {
display: block;
height: 100%;
border-radius: inherit;
background: var(--udt-accent);
}
.udt-card-meta {
display: flex;
justify-content: space-between;
align-items: flex-end;
gap: 8px;
margin-top: auto;
}
.udt-card-meta > span {
display: flex;
flex-direction: column;
min-width: 0;
}
.udt-card-meta em {
color: var(--udt-muted);
font-size: 11px;
font-style: normal;
}
.udt-card-meta b {
color: var(--udt-accent);
font-size: 14px;
}
.udt-right {
text-align: right;
align-items: flex-end;
}
.udt-card-geser {
flex: 0 0 72%;
scroll-snap-align: start;
}
.udt-card-grid .udt-card-title {
font-size: 13px;
}
.udt-card-grid .udt-card-meta {
flex-direction: column;
align-items: flex-start;
}
.udt-card-grid .udt-right {
text-align: left;
align-items: flex-start;
}
.udt-card-daftar {
flex-direction: row;
align-items: stretch;
}
.udt-card-daftar .udt-card-img {
flex: 0 0 38%;
aspect-ratio: auto;
min-height: 96px;
}
.udt-card-daftar .udt-card-body {
padding: 10px 12px;
gap: 6px;
}
.udt-card-besar .udt-card-title {
font-size: 16px;
}
.udt-card-besar .udt-card-meta b {
font-size: 16px;
} .udt-prayer {
flex: 0 0 78%;
scroll-snap-align: start;
padding: 14px;
border-radius: var(--udt-radius);
background: var(--udt-bg);
border: 1px solid var(--udt-border);
}
.udt-prayer-head {
display: flex;
align-items: center;
gap: 10px;
}
.udt-prayer-head > span:last-child {
display: flex;
flex-direction: column;
min-width: 0;
}
.udt-prayer-head em {
color: var(--udt-muted);
font-size: 11px;
font-style: normal;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.udt-prayer p {
margin: 10px 0 0;
font-size: 14px;
}
.udt-avatar {
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 36px;
height: 36px;
border-radius: 50%;
background: #fff;
color: var(--udt-accent);
font-size: 13px;
font-weight: 600;
} .udt-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 44px;
padding: 0 20px;
border-radius: 12px;
border: 1px solid var(--udt-accent);
background: var(--udt-accent);
color: #fff !important;
font-weight: 600;
text-decoration: none;
}
.udt-btn-ghost {
background: #fff;
color: var(--udt-accent) !important;
}
.udt-about p {
margin: 0 0 12px;
color: #33413c;
} .udt-filter {
margin-bottom: 12px;
}
.udt-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 12px;
}
.udt-toolbar select {
height: 36px;
padding: 0 10px;
border: 1px solid var(--udt-border);
border-radius: 10px;
background: #fff;
font: inherit;
font-size: 13px;
} .udt-article-img {
margin: -18px -16px 16px;
}
.udt-article-img img {
display: block;
width: 100%;
}
.udt-content {
overflow-wrap: anywhere;
}
.udt-content img {
border-radius: 10px;
}
.udt-pager .nav-links {
display: flex;
gap: 6px;
justify-content: center;
margin-top: 16px;
}
.udt-pager .page-numbers {
padding: 6px 12px;
border: 1px solid var(--udt-border);
border-radius: 8px;
text-decoration: none;
}
.udt-pager .current {
background: var(--udt-accent);
border-color: var(--udt-accent);
color: #fff;
} .udt-footer {
display: flex;
flex-direction: column;
gap: 14px;
margin-top: 8px;
padding: 24px 16px;
background: var(--udt-dark);
color: #c8d3cf;
font-size: 13px;
}
body.udt .udt-footer a {
color: #fff;
text-decoration: none;
}
.udt-foot-brand {
display: flex;
flex-direction: column;
gap: 4px;
}
.udt-foot-brand strong {
color: #fff;
font-size: 16px;
}
.udt-foot-menu ul {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px 16px;
margin: 0;
padding: 0;
list-style: none;
}
.udt-social {
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.udt-copy {
margin: 0;
padding-top: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.12);
color: #8fa19a;
font-size: 12px;
} .udt-bottom {
position: fixed;
left: 50%;
bottom: 0;
z-index: 40;
display: flex;
width: 100%;
max-width: 480px;
transform: translateX(-50%);
background: #fff;
border-top: 1px solid var(--udt-border);
padding-bottom: env(safe-area-inset-bottom);
}
.udt-bottom a {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
gap: 2px;
padding: 8px 0 10px;
color: var(--udt-muted) !important;
font-size: 11px;
font-weight: 500;
text-decoration: none;
}
.udt-bottom a.is-on {
color: var(--udt-accent) !important;
} body.udt .udn-float-wa {
bottom: 84px !important;
} .udt-article .udn-app.udn-embed {
max-width: none;
}
@media (min-width: 720px) {
body.udt {
background: #e3e9e6;
}
.udt-app {
margin-top: 0;
}
}
@media (prefers-reduced-motion: reduce) {
.udt-card,
.udt-dots button {
transition: none;
}
} .udt-spacer {
flex: 1;
}
.udt-burger,
.udt-drawer-close {
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 40px;
width: 40px;
height: 40px;
padding: 0;
border: 0;
border-radius: 50%;
background: transparent;
color: var(--udt-text);
cursor: pointer;
}
.udt-burger:hover,
.udt-drawer-close:hover {
background: var(--udt-bg);
}
.udt-drawer {
position: fixed;
inset: 0;
z-index: 60;
background: rgba(14, 31, 26, 0.45);
}
.udt-drawer-panel {
position: absolute;
top: 0;
right: max(0px, calc(50% - 240px));
width: min(320px, 86%);
height: 100%;
overflow-y: auto;
background: #fff;
box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}
.udt-drawer-head {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 12px 10px 16px;
border-bottom: 1px solid var(--udt-border);
}
.udt-drawer-menu ul {
margin: 0;
padding: 8px 0;
list-style: none;
}
.udt-drawer-menu a {
display: block;
padding: 12px 16px;
color: var(--udt-text) !important;
font-weight: 500;
text-decoration: none;
}
.udt-drawer-menu a:hover {
background: var(--udt-bg);
}
.udt-drawer-menu .sub-menu a {
padding-left: 32px;
font-weight: 400;
font-size: 14px;
} .udt-foot-logo {
display: block;
max-height: 44px;
width: auto;
margin-bottom: 4px;
}
.udt-foot-brand p {
margin: 4px 0;
}
.udt-foot-cols {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 16px;
}
.udt-foot-col h3 {
margin: 0 0 8px;
color: #fff;
font-size: 14px;
}
.udt-foot-col ul {
margin: 0;
padding: 0;
list-style: none;
display: flex;
flex-direction: column;
gap: 6px;
}