/* Marketplace directories share the modest single-column provider cards.
   Home teasers and other marketplace sections keep their existing layout. */
.knowledge-university-choices{display:flex;align-items:center;flex-wrap:wrap;gap:1rem 1.75rem;margin:0 0 2.5rem}
.knowledge-page-universities .knowledge-universities{gap:1.5rem}
.knowledge-page-universities .knowledge-university{border-radius:1.75rem;background:var(--color-surface);overflow:hidden}
.knowledge-page-universities .knowledge-university::before{display:none}
.knowledge-page-universities .knowledge-university summary{padding:1.75rem;min-height:12rem;border-radius:1.75rem}
.knowledge-page-universities .knowledge-university summary p{color:var(--color-primary);margin-bottom:1rem}
.knowledge-page-universities .knowledge-university h2{margin-bottom:.75rem}
.knowledge-page-universities .knowledge-university-details{padding:0 1.75rem 1.75rem;max-width:65ch}
.knowledge-page-universities .knowledge-university-details a,
.knowledge-page-universities .knowledge-university-details a:hover{text-decoration:none}
@media(max-width:48rem){.knowledge-page-universities .knowledge-university summary{min-height:0;padding:1.5rem}.knowledge-page-universities .knowledge-university-details{padding-inline:1.5rem}.knowledge-university-choices{align-items:flex-start;flex-direction:column}}
.market-page:is(.market-page-education,.market-page-partners) :is(.market-education-grid,.market-partner-grid){display:grid;grid-template-columns:minmax(0,1fr);gap:1.25rem}
.market-page-education .market-study-card,.market-page-partners .market-partner-card{margin:0;border:1px solid var(--color-divider);border-radius:1rem;background:#fff;overflow:visible}
.market-page-education .market-study-card,.market-page-partners .market-partner-link{display:grid;grid-template-columns:7.5rem minmax(0,1fr);gap:1.75rem;align-items:start;padding:1.5rem;min-height:0}
.market-page-education .market-study-card>.market-logo,.market-page-partners .market-partner-card .market-logo{width:7.5rem;height:4.75rem;padding:0;align-self:start;background:#fff}
.market-page-education .market-study-card>.market-logo img,.market-page-partners .market-logo img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.market-page-education .market-study-card-copy,.market-page-partners .market-partner-copy{display:block;padding:0;min-width:0}
.market-page-education .market-study-card h2,.market-page-partners .market-partner-copy h2{margin:0 0 .6rem;font-size:1.35rem;line-height:1.35;hyphens:auto;overflow-wrap:break-word}
.market-page-education .market-study-card-copy>p,.market-page-partners .market-partner-copy p{max-width:46rem;font-size:1rem;overflow-wrap:anywhere;hyphens:auto}
.market-page-education .market-study-card-copy>p.market-institution-name{font-size:.875rem;margin-bottom:.6rem}
.market-page-education .market-study-facts{grid-template-columns:repeat(3,minmax(0,1fr));max-width:46rem;margin:1rem 0 1.25rem;gap:.75rem 1.5rem}
.market-page-partners .market-partner-link{position:relative;padding-right:14rem;text-decoration:none}
.market-page-partners .market-partner-copy p{margin:0}
.market-page-partners .market-partner-copy .market-text-link{position:absolute;right:1.5rem;top:1.75rem;margin:0;min-height:2.75rem;padding:.6rem 1rem;border:1px solid var(--color-control-border);border-radius:var(--radius-pill);font-size:.9375rem;font-weight:600;line-height:1.35;color:var(--color-primary)}
.market-page:is(.market-page-education,.market-page-partners) .market-suggestion{display:block;padding:1.5rem 2rem;margin-top:.5rem}
.market-page:is(.market-page-education,.market-page-partners) .market-suggestion h2{font-size:1.3rem;line-height:1.35;max-width:none;margin:0 0 .6rem;letter-spacing:-.015em;text-wrap:initial}
.market-page:is(.market-page-education,.market-page-partners) .market-suggestion p{font-size:1rem;margin:0 0 1rem;max-width:46rem}
.market-page .market-back svg{display:block;flex:0 0 1.25rem;width:1.25rem;height:1.25rem;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:60rem){
 .market-page-education .market-study-card,.market-page-partners .market-partner-link{grid-template-columns:6rem minmax(0,1fr);gap:1.25rem}
 .market-page-education .market-study-card>.market-logo,.market-page-partners .market-partner-card .market-logo{width:6rem}
 .market-page-partners .market-partner-link{padding-right:1.5rem}
 .market-page-partners .market-partner-copy .market-text-link{position:static;margin-top:1rem}
}
@media(max-width:48rem){
 .market-page-education .market-study-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .market-page-education .market-study-card,.market-page-partners .market-partner-link{grid-template-columns:4.5rem minmax(0,1fr);gap:1rem;padding:1.25rem}
 .market-page-education .market-study-card>.market-logo,.market-page-partners .market-partner-card .market-logo{width:4.5rem;height:3.5rem}
 .market-page-education .market-study-card h2,.market-page-partners .market-partner-copy h2{font-size:1.2rem}
 .market-page:is(.market-page-education,.market-page-partners) .market-suggestion{padding:1.5rem}
}
@media(max-width:36rem){
 .market-page-education .market-study-card-copy,.market-page-partners .market-partner-copy{display:contents}
 .market-page-education .market-study-card h2,.market-page-partners .market-partner-copy h2{grid-column:2;grid-row:1;align-self:center;margin:0}
 .market-page-education .market-study-card-copy>:not(h2),.market-page-partners .market-partner-copy>:not(h2){grid-column:1/-1}
 .market-page-education .market-study-card-copy>p,.market-page-partners .market-partner-copy p{margin-bottom:0}
 .market-page-education .market-study-facts{margin:0}
 .market-page-education .market-study-card-copy>a,.market-page-partners .market-partner-copy .market-text-link{justify-self:start;max-width:100%;margin:0}
}
@media(max-width:22rem){.market-page-education .market-study-facts{grid-template-columns:minmax(0,1fr)}}

/* Provider profiles: brand and original contact facts together, complete description below. */
.market-page-providers .market-provider-detail{display:block}
.market-page-providers:has(.market-provider-detail) .market-header>p:empty{display:none}
.market-page-providers .market-provider-detail-body{width:100%;max-width:none;margin:0}
.market-page-providers .market-provider-profile-header{display:grid;grid-template-columns:minmax(9rem,15rem) minmax(0,42rem);gap:3rem;align-items:start;margin:0 0 3rem}
.market-page-providers .market-provider-profile-logo{padding:1.5rem 0;min-width:0}
.market-page-providers .market-provider-profile-logo .market-logo{width:100%;height:auto;min-height:5rem;max-height:10rem;justify-content:flex-start}
.market-page-providers .market-provider-profile-logo .market-logo img{display:block;width:100%;height:auto;max-height:10rem;object-fit:contain;object-position:left top}
.market-page-providers .market-provider-profile-contact{min-width:0}
.market-page-providers .market-provider-profile-contact h2{margin:0 0 1.25rem;font-size:1.5rem;line-height:1.3}
.market-page-providers .market-provider-profile-contact dl{margin:0}
.market-page-providers .market-provider-profile-contact dl>div{display:grid;grid-template-columns:8.5rem minmax(0,1fr);gap:.4rem 1.25rem;padding:.4rem 0}
.market-page-providers .market-provider-profile-contact dt{font-size:.9375rem;line-height:1.6;color:var(--color-muted)}
.market-page-providers .market-provider-profile-contact dd{margin:0;min-width:0;font-size:1rem;line-height:1.6;overflow-wrap:anywhere}
.market-page-providers .market-provider-profile-description{max-width:72ch;min-width:0}
.market-page-providers .market-provider-profile-description>:first-child{margin-top:0}
.market-page-providers .market-provider-profile-description :is(img,figure,table){max-width:100%;height:auto}
.market-page-providers .market-provider-profile-description a{overflow-wrap:anywhere}
.market-page-providers .market-provider-profile-description :is(p,li){font-size:1rem;line-height:1.7}
@media(max-width:60rem){
 .market-page-providers .market-provider-profile-header{grid-template-columns:10rem minmax(0,1fr);gap:2rem}
}
@media(max-width:48rem){
 .market-page-providers .market-provider-profile-header{grid-template-columns:minmax(0,1fr);gap:1.5rem;margin-bottom:2.5rem}
 .market-page-providers .market-provider-profile-logo{max-width:13rem;padding:0}
 .market-page-providers .market-provider-profile-logo .market-logo,.market-page-providers .market-provider-profile-logo .market-logo img{max-height:7rem}
}
@media(max-width:32rem){
 .market-page-providers .market-provider-profile-contact dl>div{grid-template-columns:minmax(0,1fr);gap:.1rem;padding:.5rem 0}
}
/* Shared reading-page navigation: only the thesis topic groups use this variant. */
.service-reading-content .frame:has(>.thesis-topic-links){display:flex;flex-direction:column;align-items:stretch}
.thesis-topic-links{display:grid;grid-template-columns:repeat(4,auto);justify-content:space-between;gap:1rem;order:-1;margin:0 0 2.25rem}
.service-reading-content .frame:has(>.thesis-topic-links)>:not(.thesis-topic-links){width:100%}
/* TYPO3's rich-text renderer may wrap the links in a paragraph. */
.thesis-topic-links>p{display:contents}
.service-reading-content .thesis-topic-links a{display:flex;align-items:center;justify-content:center;min-height:3.5rem;padding:.8rem 1rem;border:0;border-radius:var(--radius-pill);background:var(--color-primary);color:#fff;text-decoration:none;font-size:1rem;font-weight:600;line-height:1.4;text-align:center;overflow-wrap:normal;word-break:normal}
.service-reading-content .thesis-topic-links a:hover{background:var(--color-primary-dark,#203466);text-decoration:none}
.service-reading-content .thesis-topic-links a:focus-visible{outline:2px solid var(--color-primary);outline-offset:4px}
.service-reading-content:has(.thesis-topic-links) .frame-type-div{display:none}
.service-reading-content:has(.thesis-topic-links) .company-callout{display:flex;flex-direction:column;align-items:flex-start;gap:1.75rem;padding:clamp(1.5rem,4vw,3rem);margin-top:3rem;border:0;border-radius:2rem;background:var(--color-surface);box-shadow:none}
.service-reading-content:has(.thesis-topic-links) .company-callout h2{margin:0 0 1rem;color:var(--color-primary);font-size:clamp(1.5rem,2.5vw,1.875rem);line-height:1.3}
.service-reading-content:has(.thesis-topic-links) .company-callout p{max-width:60ch;margin:0;font-size:1.0625rem;line-height:1.7}
.service-reading-content:has(.thesis-topic-links) .company-callout .ui-button{flex:none;max-width:100%;background:var(--color-action);color:var(--color-primary);border:0;text-decoration:none}
.service-reading-content:has(.thesis-topic-links) .company-callout .ui-button:hover{text-decoration:none}
[id^="thesis-"]{scroll-margin-top:7rem}
@media(max-width:64rem){.thesis-topic-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}}
@media(max-width:30rem){.thesis-topic-links{grid-template-columns:minmax(0,1fr);gap:.75rem}.service-reading-content .thesis-topic-links a{min-height:3rem}}
@media(max-width:48rem){.generic-content .company-callout{flex-direction:column;align-items:flex-start;padding:1.5rem}}

/* Provider identity and contact share a compact, centred detail track. */
.market-page-providers .market-provider-detail{width:100%;max-width:var(--detail-wide-max);margin-inline:auto}
.market-page-providers .market-provider-profile-header{grid-template-columns:minmax(10rem,14rem) minmax(0,1fr);gap:2.5rem;padding:2.5rem;margin-bottom:3rem;border-radius:2rem;background:var(--color-surface)}
.market-page-providers .market-provider-profile-logo{padding:1.5rem;align-self:start;background:var(--color-background);border-radius:1.5rem}
.market-page-providers .market-provider-profile-logo .market-logo{min-height:4rem;justify-content:center}
.market-page-providers .market-provider-profile-logo .market-logo img{object-position:center}
.market-page-providers .market-provider-profile-contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:0 1.5rem;align-items:start}
.market-page-providers .market-provider-profile-contact h2{grid-column:1/-1;font-size:1.5rem;margin-bottom:1rem}
.market-page-providers .market-provider-address{grid-column:1;font-style:normal;font-size:1rem;line-height:1.65;margin:0}
.market-page-providers .market-provider-contact-facts{grid-column:2}
.market-page-providers .market-provider-profile-contact .market-provider-contact-facts>div{grid-template-columns:7.5rem minmax(0,1fr);gap:.4rem 1rem;padding:.25rem 0}
.market-page-providers .market-provider-profile-contact .market-provider-website{display:inline-flex;margin-top:1.5rem;max-width:100%;text-decoration:none;background:var(--color-action);color:var(--color-primary)}
/* parseFunc may wrap generated values/actions in paragraphs; neutralise those wrappers. */
.market-page-providers .market-provider-profile-contact>p:empty{display:none}
.market-page-providers .market-provider-profile-contact>p:has(>.market-provider-website){grid-column:1/-1;margin:0}
.market-page-providers .market-provider-contact-facts dd p{margin:0;font-size:inherit;line-height:inherit}
.market-page-providers .market-provider-profile-description{max-width:var(--reading-max);margin-inline:auto}
.market-page-providers .market-provider-profile-description :is(p,li){font-size:1.125rem;line-height:1.75}
.market-page-providers .market-provider-profile-description h2{font-size:1.75rem;line-height:1.3;margin:2.5rem 0 1rem}
@media(max-width:48rem){
 .market-page-providers .market-provider-profile-header{grid-template-columns:1fr;gap:1.5rem;padding:1.5rem;border-radius:1.5rem}
 .market-page-providers .market-provider-profile-logo{width:12rem;max-width:100%;padding:1.25rem}
 .market-page-providers .market-provider-profile-description :is(p,li){font-size:1.0625rem}
}
@media(max-width:40rem){
 .market-page-providers .market-provider-profile-contact{grid-template-columns:1fr;gap:1.25rem}
 .market-page-providers .market-provider-contact-facts{grid-column:1}
 .market-page-providers .market-provider-profile-contact h2{margin:0}
 .market-page-providers .market-provider-profile-contact .market-provider-website{margin:0}
 .market-page-providers .market-provider-profile-contact .market-provider-contact-facts>div{grid-template-columns:7rem minmax(0,1fr);gap:.4rem .75rem;padding:.25rem 0}
}
@media(max-width:23rem){.market-page-providers .market-provider-profile-contact .market-provider-contact-facts>div{grid-template-columns:1fr;gap:.1rem}}

/* Contact links retain their source destinations and a comfortable mobile hit area. */
.market-provider-website>.rn-icon{flex:none;width:1.1rem;height:1.1rem}
@media(max-width:48rem){
 .market-page-providers .market-provider-contact-facts dd a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;overflow-wrap:anywhere}
 .market-page-providers .market-provider-contact-facts>div:has(dd a){align-items:center}
}

/* Transparent original marks align consistently across the two directories. */
.knowledge-university-title{display:grid;grid-template-columns:minmax(0,1fr) 9rem;align-items:center;gap:1.25rem;margin-bottom:.75rem}
.knowledge-page-universities .knowledge-university-title h2{margin:0}
.knowledge-university-logo{display:block;width:9rem;height:5rem;object-fit:contain;object-position:right center}
.knowledge-university-logo[src$="fom-wordmark.png"],.market-logo img[src$="fom-wordmark.png"],.knowledge-university-logo[src$="campus-wien.svg"],.market-logo img[src$="campus-wien.svg"]{filter:brightness(0)}
@media(max-width:48rem){.knowledge-university-title{grid-template-columns:minmax(0,1fr) 6.5rem;gap:1rem}.knowledge-university-logo{width:6.5rem;height:4rem}}

/* Use the official turquoise FOM signet; its negative white backing blends with the card. */
.knowledge-university-logo[src$="fom-wordmark.png"]{width:5rem;justify-self:end;object-fit:cover;object-position:left;filter:none;mix-blend-mode:multiply}
.market-logo img[src$="fom-wordmark.png"]{width:100%;height:100%;object-fit:cover;object-position:left;filter:none;mix-blend-mode:multiply}

@media(max-width:48rem){.knowledge-university-logo[src$="fom-wordmark.png"]{width:4rem}}
/* FOM's official header file includes a wide negative wordmark. Show its
   turquoise signet at the full height of the education logo slot. */
.market-page-education .market-study-card>.market-logo img[src$="fom-wordmark.png"]{object-fit:cover;object-position:left center;filter:none;mix-blend-mode:multiply}
