.rdz-news,.rdz-single{--rdz-gold:#efc947;--rdz-ink:#192e47;max-width:1240px;margin:28px auto;color:var(--rdz-ink);font-family:inherit}
.rdz-news *,.rdz-single *{box-sizing:border-box}
.rdz-news{display:grid;gap:20px;width:100%}
.rdz-card,.rdz-single-card{margin:0;background:#fffdf8;border:1px solid #e8dfc7;border-top:5px solid var(--rdz-gold);border-radius:18px;box-shadow:0 6px 22px rgba(100,77,26,.06);padding:24px;min-width:0}
.rdz-card{padding-bottom:12px}
/* Kopīgs augstums datorā. Telefonā augstumu nosaka saturs. */
.rdz-preview{height:292px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:24px}
.rdz-copy{min-width:0;min-height:0;display:flex;flex-direction:column;height:100%;justify-content:center}
.rdz-card .rdz-copy h2{font-family:inherit;font-size:clamp(21px,2.2vw,28px);line-height:1.25;font-weight:700;margin:0 0 14px;color:var(--rdz-ink);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.rdz-copy h2 a{color:inherit;text-decoration:none}
.rdz-copy h2 a:hover{text-decoration:underline}
.rdz-card .rdz-intro{font-size:16px;line-height:1.6;margin:0;text-align:left;hyphens:none;display:block;overflow:visible}
.rdz-copy time{display:block;font-size:14px;color:#645325;margin-top:14px}
/* Auto izmēri noapaļo attēla paša malas, nevis tukšu object-fit laukumu. */
.rdz-card .rdz-image{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:center;gap:4px;text-decoration:none!important;color:#74551d!important;background:transparent}
.rdz-card .rdz-image img{display:block;width:auto;max-width:100%;height:auto;max-height:260px;object-fit:contain;margin:0;border-radius:16px}
.rdz-card .rdz-image span{display:block;font-size:14px;line-height:24px;text-decoration:underline;text-underline-offset:3px}
.rdz-card>.rdz-more{margin:8px 0 0;border-top:1px solid #e8dfc7;padding-top:4px}
.rdz-more>summary{cursor:pointer;color:var(--rdz-ink);font-size:16px;line-height:24px;font-weight:700;width:fit-content;min-height:44px;padding:10px 0}
.rdz-more>summary .rdz-close-label{display:none}
.rdz-more[open]>summary .rdz-open-label{display:none}
.rdz-more[open]>summary .rdz-close-label{display:inline}
.rdz-more>.rdz-full{margin-top:8px;padding-top:12px;border-top:1px solid #e8dfc7}
.rdz-full{font-size:16px;line-height:1.65;overflow-wrap:anywhere;min-width:0}
.rdz-full img{max-width:100%;height:auto}
.rdz-full iframe,.rdz-full video{max-width:100%}
.rdz-full p{line-height:1.65}
.rdz-full>p:first-child{margin-top:0}
.rdz-full :is(.ridze-anglu-olimpiade,.ridze-sarlote,.ridze-volejbols-meitenes){width:100%;max-width:none;margin:0;padding:0;background:transparent;border:0;box-shadow:none;border-radius:0}
.rdz-text-only .rdz-preview{grid-template-columns:minmax(0,1fr)}
.rdz-text-only .rdz-copy{width:100%}
.rdz-image-only .rdz-preview{grid-template-columns:minmax(0,1fr);grid-template-rows:88px 192px;gap:12px}
.rdz-image-only .rdz-copy{height:88px;justify-content:flex-start}
.rdz-image-only .rdz-copy h2{font-size:22px;-webkit-line-clamp:2;margin-bottom:8px}
.rdz-image-only .rdz-copy time{margin-top:0}
.rdz-image-only .rdz-image img{max-height:164px}
.rdz-single{width:calc(100% - 32px);padding:0}
.rdz-single-heading{margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid #e8dfc7}
.rdz-single-heading h1{margin:0 0 14px;font-family:inherit;font-weight:700;font-size:clamp(25px,3vw,36px);line-height:1.25;color:var(--rdz-ink);text-align:left}
.rdz-single-heading time{color:#645325;font-size:14px}
.rdz-single-photo{display:block;max-width:720px;margin:0 auto 20px;text-align:center}
.rdz-single-photo img{display:block;max-height:520px;max-width:100%;width:auto;height:auto;object-fit:contain;border-radius:16px;margin:0 auto}
.rdz-single-photo span{display:block;margin-top:4px;line-height:24px}
.rdz-news a:focus-visible,.rdz-single a:focus-visible,.rdz-more>summary:focus-visible{outline:3px solid #94670e;outline-offset:4px}
@media(max-width:700px){
 .rdz-news{gap:16px;margin:18px auto}
 .rdz-card,.rdz-single-card{padding:18px;border-radius:14px}
 .rdz-card{padding-bottom:8px}
 .rdz-card .rdz-preview{display:flex;flex-direction:column;height:auto;min-height:0;gap:14px;align-items:stretch}
 .rdz-card .rdz-copy{display:block;width:100%;height:auto;min-height:0;flex:0 1 auto}
 .rdz-card .rdz-copy h2{display:block;font-size:22px;line-height:1.28;margin:0 0 10px;overflow:visible;-webkit-line-clamp:unset;overflow-wrap:anywhere}
 .rdz-card .rdz-intro{font-size:16px;line-height:1.55;text-align:left!important;text-align-last:left!important;overflow-wrap:anywhere}
 .rdz-card .rdz-full p,.rdz-single .rdz-full p{text-align:left!important;text-align-last:left!important}
 .rdz-card .rdz-copy time{margin-top:10px;font-size:13px}
 .rdz-card .rdz-image{align-self:stretch;flex:0 1 auto}
 .rdz-card .rdz-image img{max-height:280px;border-radius:14px}
 .rdz-card>.rdz-more{margin-top:8px;padding-top:2px}
}
@media print{.rdz-card,.rdz-single-card{box-shadow:none}.rdz-preview,.rdz-copy{height:auto}.rdz-card .rdz-copy h2,.rdz-card .rdz-intro{display:block;overflow:visible}}
