/* ============================================================================
 * Themenseiten (3D, Scratch, Elektronik) — additions to the shared landing layout (umland.css). v0.272.0
 * ========================================================================= */

.rc-th-p { margin: 6px 0 0; font-size: var(--robbo-fs-md); line-height: 1.6; }
.rc-th .rc-um-lead { max-width: 820px; }
.rc-th-keys li strong { font-size: var(--robbo-fs-base); }

/* Kopf photo */
.rc-th-hero { margin: 24px auto 0; max-width: 880px; border-radius: 18px; overflow: hidden; background: var(--robbo-grey-light); }
.rc-th-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* Age ladder: table on wide screens, stacked rows on phones */
.rc-th-tablewrap { background: var(--robbo-white); border: 1px solid var(--robbo-line); border-radius: 18px; overflow: hidden; max-width: 1080px; margin: 0 auto; }
.rc-th-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: var(--robbo-fs-md); line-height: 1.55; }
.rc-th-table tr, .rc-th-table th, .rc-th-table td { border: 0; }
.rc-th-table thead th {
    background: var(--robbo-grey-light);
    font-size: var(--robbo-fs-badge);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: left;
    padding: 12px 16px;
}
.rc-th-table tbody th, .rc-th-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-top: 1px solid var(--robbo-line); overflow-wrap: anywhere; }
.rc-th-table tbody th { font-weight: 800; color: var(--robbo-green-dark); white-space: nowrap; }
.rc-th-table td strong { color: var(--robbo-black); }

@media (max-width: 719px) {
    .rc-th .rc-um-lead { text-align: left; }
    .rc-th-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .rc-th-table, .rc-th-table tbody, .rc-th-table tr, .rc-th-table th, .rc-th-table td { display: block; width: 100%; }
    .rc-th-table tr { padding: 14px 16px; border-top: 1px solid var(--robbo-line); }
    .rc-th-table tr:first-child { border-top: 0; }
    .rc-th-table tbody th, .rc-th-table td { padding: 0; border-top: 0; white-space: normal; }
    .rc-th-table tbody th { font-size: var(--robbo-fs-base); margin-bottom: 4px; }
    .rc-th-table td { margin-top: 6px; }
    .rc-th-table td[data-label="Gut zu wissen"] { color: var(--robbo-coal); padding-left: 10px; border-left: 3px solid var(--robbo-line); }
}

.rc-th-vs thead th:first-child { width: 28%; }

/* Steckbrief */
.rc-th-facts { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.rc-th-facts div { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--robbo-line); }
.rc-th-facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.rc-th-facts dt { font-size: var(--robbo-fs-badge); font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--robbo-green-dark); }
.rc-th-facts dd { margin: 0; font-size: var(--robbo-fs-md); line-height: 1.55; overflow-wrap: anywhere; }
.rc-th-offer__text { flex: 1 1 auto; }
@media (min-width: 720px) { .rc-th-facts div { grid-template-columns: 180px minmax(0, 1fr); gap: 16px; align-items: baseline; } }

/* Grids */
.rc-th-grid4, .rc-th-grid2, .rc-th-grid3 { grid-template-columns: minmax(0, 1fr); }

/* Ideas + gallery */
.rc-th-ideas { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.rc-th-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rc-th-list li {
    margin: 0;
    padding: 14px 16px 14px 44px;
    position: relative;
    background: var(--robbo-white);
    border: 1px solid var(--robbo-line);
    border-radius: 14px;
    font-size: var(--robbo-fs-md);
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.rc-th-list li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 19px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--robbo-green);
}
.rc-th-list strong { display: block; color: var(--robbo-black); font-size: var(--robbo-fs-base); }
.rc-th-gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.rc-th-shot { margin: 0; background: var(--robbo-white); border: 1px solid var(--robbo-line); border-radius: 14px; overflow: hidden; }
.rc-th-shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.rc-th-shot figcaption { padding: 10px 14px; font-size: var(--robbo-fs-md); line-height: 1.45; color: var(--robbo-coal); }

/* At home vs. course */
.rc-th-card--accent { border-color: var(--robbo-green); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06); }
.rc-th-checks { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rc-th-checks li { margin: 0; position: relative; padding-left: 26px; font-size: var(--robbo-fs-md); line-height: 1.55; overflow-wrap: anywhere; }
.rc-th-checks li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 6px;
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--robbo-green-dark);
    border-bottom: 2px solid var(--robbo-green-dark);
    transform: rotate(-45deg);
}

/* ROBBO Programm bands */
.rc-th-bands { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.rc-th-band {
    display: flex;
    flex-direction: column;
    background: var(--robbo-white);
    border: 1px solid var(--robbo-line);
    border-radius: 18px;
    padding: 18px;
    min-width: 0;
}
.rc-th-band__age {
    display: inline-block;
    font-size: var(--robbo-fs-badge);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--robbo-white);
    background: var(--robbo-green);
    padding: 4px 10px;
    border-radius: 999px;
}
.rc-th-band__title { font-family: 'ProximaNova', 'Proxima Nova', 'Noto Sans', sans-serif; font-size: var(--robbo-fs-lg); font-weight: 800; line-height: 1.3; color: var(--robbo-black); margin: 10px 0 4px; }
.rc-th-band__lead { margin: 0 0 12px; font-size: var(--robbo-fs-md); line-height: 1.55; }
.rc-th-years { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; }
.rc-th-year { margin: 0; padding: 12px 0 0; border-top: 1px solid var(--robbo-line); display: flex; flex-direction: column; gap: 8px; }
.rc-th-year__label { font-size: var(--robbo-fs-badge); font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--robbo-green-dark); }
.rc-th-block { display: flex; flex-direction: column; gap: 2px; }
.rc-th-block__name { font-size: var(--robbo-fs-base); font-weight: 700; color: var(--robbo-black); overflow-wrap: anywhere; }
.rc-th-block__name em { font-style: normal; font-weight: 600; font-size: var(--robbo-fs-md); color: var(--robbo-green-dark); white-space: nowrap; }
.rc-th-block__text { font-size: var(--robbo-fs-md); line-height: 1.55; }
.rc-th-block__gear { font-size: var(--robbo-fs-md); line-height: 1.45; color: var(--robbo-grey); }
.rc-th-rel { font-size: var(--robbo-fs-md); line-height: 1.5; padding-left: 10px; border-left: 3px solid var(--robbo-line); }
.rc-th-band__foot { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.rc-th-band__facts { margin: 0; font-size: var(--robbo-fs-md); line-height: 1.5; color: var(--robbo-coal); }
.rc-th-band__btn { width: 100%; }

.rc-th-box {
    max-width: 880px;
    margin: 18px auto 0;
    padding: 14px 18px;
    border-radius: 14px;
    background: var(--robbo-grey-light);
    border-left: 4px solid var(--robbo-green);
    font-size: var(--robbo-fs-md);
    line-height: 1.6;
}
.rc-th-box p { margin: 0; }
.rc-th-box p + p { margin-top: 8px; }
.rc-th-box a { color: var(--robbo-green-dark); font-weight: 700; text-decoration: underline; }

/* More topics */
.rc-th-more { display: flex; flex-direction: column; text-decoration: none; color: var(--robbo-coal); transition: border-color .2s ease, box-shadow .2s ease; }
.rc-th-more:hover { border-color: var(--robbo-green); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06); color: var(--robbo-coal); }
.rc-th-more .rc-um-h3 { color: var(--robbo-green-dark); }

@media (min-width: 720px) {
    .rc-th-grid4, .rc-th-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rc-th-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rc-th-gallery--2, .rc-th-gallery--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rc-th-gallery--3 .rc-th-shot:first-child { grid-column: 1 / -1; }
    .rc-th-table thead th:first-child { width: 14%; }
    .rc-th-table thead th:nth-child(2) { width: 18%; }
}
@media (min-width: 1024px) {
    .rc-th-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .rc-th-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rc-th-bands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rc-th-ideas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
    .rc-th-keys { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
