/* Számi 2026 – tesztoldali arculat */
:root {--szami-wine:#85343f;--szami-wine-dark:#602630;--szami-cream:#FFECEC;--szami-ink:#29272b;--szami-line:#eadfe1;}
html {scroll-behavior:smooth}
body {color:var(--szami-ink);background:var(--szami-cream);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.7}
a {color:var(--szami-wine)} a:hover,a:focus {color:var(--szami-wine-dark)}
#t3-mainnav,.t3-mainnav {background:var(--szami-cream)!important;border:0!important;box-shadow:0 4px 24px rgba(80,31,39,.09)}
.t3-mainnav .container {max-width:1240px}.t3-mainnav .navbar-nav>li>a {color:var(--szami-wine-dark)!important;font-weight:700;letter-spacing:.01em;border:0!important}.t3-mainnav .navbar-nav>li>a:hover,.t3-mainnav .navbar-nav>.active>a {background:var(--szami-wine)!important;color:#fff!important}
.t3-mainnav .logo img,.t3-mainnav .logo-image img {max-height:70px;width:auto;object-fit:contain}
#t3-mainbody {max-width:1240px;padding-top:3rem;padding-bottom:4rem}.t3-content,.t3-sidebar .module {background:var(--szami-cream);border-radius:16px;box-shadow:0 9px 35px rgba(66,31,40,.055)}.t3-content {padding:2rem 2.5rem}.t3-sidebar .module {padding:1.3rem;margin-bottom:1.4rem}
h1,h2,h3,h4,.page-header,.module-title {color:var(--szami-wine-dark);font-family:Georgia,'Times New Roman',serif;line-height:1.22}h1 {font-size:clamp(2rem,4vw,3.4rem)}h2 {font-size:clamp(1.5rem,2.4vw,2.35rem)}.module-title {font-size:1.3rem;border-bottom:2px solid var(--szami-line);padding-bottom:.75rem}
.btn-primary,.readmore a,.pagination .active>a {background:var(--szami-wine)!important;border-color:var(--szami-wine)!important;color:#fff!important;border-radius:9px}.btn-primary:hover,.readmore a:hover {background:var(--szami-wine-dark)!important}
.article-aside,.article-info {color:#746b70;font-size:.88rem}.article-header {border-bottom:1px solid var(--szami-line);margin-bottom:1.3rem}.item-page img,.blog img {max-width:100%;height:auto;border-radius:10px}
.t3-sidebar ul.nav>li>a {border-bottom:1px solid var(--szami-line);padding:.65rem .3rem;color:var(--szami-wine-dark)}.t3-sidebar ul.nav>li>a:hover {background:var(--szami-cream)}
.szami-hero {position:relative;isolation:isolate;display:grid;align-items:end;min-height:390px;padding:clamp(2rem,5vw,4.5rem);border-radius:20px;overflow:hidden;background:linear-gradient(90deg,rgba(49,17,27,.9),rgba(49,17,27,.1)),url('/images/IMG_1095.jpeg') center 42%/cover;color:white;margin-bottom:3rem}.szami-hero h1,.szami-hero p {color:#fff;max-width:680px;text-shadow:0 2px 14px rgba(0,0,0,.25)}.szami-hero h1 {font-size:clamp(2.3rem,5vw,4.5rem);margin:0 0 1rem}.szami-hero p {font-size:1.18rem}.szami-hero .btn {margin-top:1rem;background:var(--szami-cream);color:var(--szami-wine-dark);font-weight:700;border-radius:9px;padding:.8rem 1.4rem}
.szami-section {padding:2rem 0}.szami-section h2 {margin:0 0 1.4rem}.szami-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}.szami-card {display:block;background:var(--szami-cream);border:1px solid var(--szami-line);border-radius:15px;overflow:hidden;color:var(--szami-ink);box-shadow:0 8px 20px rgba(77,29,39,.04)}.szami-card:hover {text-decoration:none;transform:translateY(-3px);box-shadow:0 12px 24px rgba(77,29,39,.12)}.szami-card img {display:block;width:100%;height:185px;object-fit:cover}.szami-card span {display:block;padding:1.1rem;font-weight:700;color:var(--szami-wine-dark)}.szami-intro {max-width:760px;font-size:1.14rem}.szami-links {display:flex;gap:.7rem;flex-wrap:wrap}.szami-links a {border:1px solid var(--szami-line);padding:.65rem 1rem;border-radius:30px;background:var(--szami-cream);font-weight:700}
.szami-social {display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.szami-social a {width:46px;height:46px;border:1px solid var(--szami-line);border-radius:12px;background:var(--szami-cream);display:grid;place-items:center}.szami-social img {max-width:29px;max-height:29px;object-fit:contain}
.szami-calendar table {width:100%;table-layout:fixed;border-collapse:separate;border-spacing:4px}.szami-calendar td {text-align:center;border-radius:8px;padding:.5rem .15rem;background:#f7f2f3}.szami-calendar a {display:block;border-radius:8px;color:var(--szami-wine);font-weight:700}.szami-calendar a:hover {background:var(--szami-wine);color:white;text-decoration:none}
.szami-departments {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.szami-departments table,.szami-departments tbody,.szami-departments tr,.szami-departments td {display:contents}.szami-departments p {margin:0}.szami-departments img {width:100%;height:170px;object-fit:cover}.szami-departments .szami-dept-card {background:var(--szami-cream);border:1px solid var(--szami-line);border-radius:14px;overflow:hidden;text-align:center;padding-bottom:1rem;font-weight:700}
@media(max-width:991px){#t3-mainbody {padding-top:1.5rem}.t3-content {padding:1.5rem}.szami-grid,.szami-departments {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.t3-content {padding:1rem}.szami-hero {min-height:340px;padding:2rem 1.2rem}.szami-grid,.szami-departments {grid-template-columns:1fr}.szami-card img {height:220px}.t3-sidebar {padding:0 1rem}.t3-mainnav .logo img {max-height:48px}.szami-calendar td {padding:.3rem 0}}

/* A régi T3 masthead tipográfiájának felülírása */
.szami-hero {background:radial-gradient(circle at 83% 20%,rgba(255,209,174,.3),transparent 25%),radial-gradient(circle at 80% 85%,rgba(244,174,118,.22),transparent 32%),linear-gradient(120deg,#622831,#9a4650 70%,#b16c69);min-height:360px}
.szami-hero>div {max-width:760px}
.szami-hero h1 {font-size:clamp(36px,5vw,65px)!important;line-height:1.08!important;margin:8px 0 22px!important;color:#fff!important}
.szami-hero p {font-size:18px!important;line-height:1.55!important;margin:0 0 12px!important;color:#fff!important}
.szami-hero p:first-child {font-size:14px!important;letter-spacing:.11em;text-transform:uppercase;font-weight:700}
.szami-hero .btn {font-size:15px}
.szami-section p {font-size:16px;line-height:1.65}.szami-section h2 {font-size:32px}.szami-card span {font-size:16px}.szami-links a {font-size:14px}.t3-mainnav .navbar-nav>li>a {font-size:14px}
@media(max-width:640px){.szami-hero h1 {font-size:36px!important}.szami-hero p {font-size:16px!important}.szami-section h2 {font-size:27px}}

.szami-departments-module {background:var(--szami-cream);padding:20px 0 48px}.szami-departments-module .container {max-width:1240px}.szami-departments-module .szami-section {padding:0}.szami-departments-module .szami-grid {margin:26px 0 30px}.szami-departments-module .szami-card {box-shadow:0 8px 24px rgba(71,31,41,.07)}.szami-departments-module .szami-card img {height:175px;object-fit:contain;padding:18px;background:var(--szami-cream)}.szami-art-placeholder {display:flex;gap:20px;align-items:center;margin:20px 0;padding:24px 30px;border:2px dashed #c18e94;border-radius:16px;background:var(--szami-cream);color:#602630;font-size:20px}.szami-art-placeholder span {font-size:42px}
.t3-mainnav .szami-social {display:flex;flex-flow:row nowrap;gap:5px}.t3-mainnav .szami-social a {width:34px;height:34px;border:0;flex:0 0 34px}.t3-mainnav .szami-social img {max-width:25px;max-height:25px}

/* Hírek oldal havi eseménynaptára */
#Mod114 {background:var(--szami-cream);padding:28px 0 54px}#Mod114 .container {max-width:960px}#Mod114 .row-feature-title {font-size:34px;text-align:center;margin:0 0 22px}#Mod114 .row-feature-ct {background:var(--szami-cream);border:1px solid #eadfe1;border-radius:20px;box-shadow:0 14px 36px rgba(75,31,40,.08);padding:22px 26px 28px;margin:0}#Mod114 .mod_events_monthyear,#Mod114 .mod_events_table {width:100%!important;max-width:760px;margin:0 auto;border-collapse:separate!important;border-spacing:5px!important;table-layout:fixed}#Mod114 .mod_events_monthyear {margin-bottom:12px}#Mod114 .mod_events_monthyear td {background:var(--szami-cream)!important;border:0!important;color:#602630;font-weight:700;font-size:19px;padding:8px;text-align:center}#Mod114 .mod_events_monthyear td:first-child,#Mod114 .mod_events_monthyear td:nth-child(3),#Mod114 .mod_events_monthyear td:last-child {width:12%;cursor:pointer}#Mod114 .mod_events_table td {text-align:center!important;vertical-align:middle;border:0!important;border-radius:10px!important;background:#fbf6f7!important;padding:12px 4px!important;font-size:15px!important;height:50px}#Mod114 .mod_events_table .mod_events_dayname td {background:var(--szami-cream)!important;color:#6c5961;font-size:13px!important;font-weight:700!important}#Mod114 .mod_events_table a {display:inline-block;color:#85343f!important;font-weight:700;padding:5px 8px;border-radius:8px}#Mod114 .mod_events_table a:hover {background:#85343f;color:#fff!important;text-decoration:none}#Mod114 .mod_events_table .mod_events_event {background:#f1dde0!important}#Mod114 .mod_events_table td[class*='today'] {outline:2px solid #85343f}
@media(max-width:600px){#Mod114 .row-feature-ct {padding:12px 6px}#Mod114 .mod_events_table td {height:38px;padding:5px 1px!important;font-size:13px!important}#Mod114 .mod_events_monthyear td {font-size:16px}}


/* 2026 szeptember: tisztább fejléc és tanszaki kártyák */
#t3-mainnav>.off-canvas-toggle {display:none!important}
.t3-mainnav .logo img,.t3-mainnav .logo-image img {width:320px!important;max-width:100%!important;max-height:none!important;height:auto!important}
.t3-mainnav .szami-social {gap:8px}
.t3-mainnav .szami-social a {width:62px;height:62px;flex:0 0 62px;border-radius:12px}
.t3-mainnav .szami-social img {width:48px;height:48px;max-width:48px;max-height:48px}
.szami-intro {max-width:1000px}.szami-intro p {margin:0 0 1.25rem}
.szami-hero .btn+.btn {margin-left:.7rem}
.szami-dept-overview {max-width:1180px;margin:auto}
.szami-dept-overview>h3 {margin:1.6rem 0}
.szami-dept-group {scroll-margin-top:185px;margin:2.2rem 0}
.szami-dept-group h3 {font-size:26px;margin:0 0 1rem}
.szami-dept-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.szami-dept-card {background:var(--szami-cream);border:1px solid #eadfe1;border-radius:15px;overflow:hidden;box-shadow:0 8px 22px rgba(77,29,39,.06)}
.szami-dept-card summary {cursor:pointer;list-style:none;display:flex;flex-direction:column;text-align:center;min-height:205px;color:#602630;font-weight:700}
.szami-dept-card summary::-webkit-details-marker {display:none}
.szami-dept-card summary:focus-visible {outline:3px solid #85343f;outline-offset:-3px}


/* Kezdőoldali kiemelt kép */
.szami-hero.szami-hero-with-image{grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);gap:clamp(24px,4vw,64px);align-items:center}
.szami-hero-copy{min-width:0}
.szami-hero-image{min-width:0;text-align:center}
.szami-hero-image img{display:block;width:100%;max-width:560px;height:auto;object-fit:contain;margin:0 auto}
@media (max-width:820px){.szami-hero.szami-hero-with-image{grid-template-columns:1fr;gap:24px}.szami-hero-image img{max-width:520px}}
.szami-dept-card summary>span:last-child {padding:12px}
.szami-dept-photos {display:flex;height:170px;background:var(--szami-cream)}
.szami-dept-photos img {width:100%;height:170px;object-fit:contain;padding:12px}
.szami-dept-photos img+img {width:50%}.szami-dept-photos:has(img+img) img:first-child {width:50%}
.szami-dept-empty {display:grid;place-items:center;height:170px;background:linear-gradient(125deg,#f9ecee,#f0dce1);font-size:68px;color:#a46973}
.szami-dept-more {padding:0 15px 18px;color:#6a5b61;font-size:14px;text-align:center}
.szami-dept-card[open] {outline:2px solid #85343f}
@media(max-width:991px){
.t3-mainnav .logo img,.t3-mainnav .logo-image img {width:250px!important}
.t3-mainnav .szami-social a {width:49px;height:49px;flex-basis:49px}
.t3-mainnav .szami-social img {width:37px;height:37px;max-width:37px;max-height:37px}
.szami-dept-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:640px){
.t3-mainnav .logo img,.t3-mainnav .logo-image img {width:170px!important;max-height:none!important}
.t3-mainnav .szami-social {gap:3px}
.t3-mainnav .szami-social a {width:35px;height:35px;flex-basis:35px;border-radius:8px}
.t3-mainnav .szami-social img {width:29px;height:29px;max-width:29px;max-height:29px}
.szami-dept-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.szami-dept-card summary {min-height:170px}.szami-dept-photos,.szami-dept-photos img,.szami-dept-empty {height:125px}
.szami-dept-group {scroll-margin-top:135px}.szami-hero .btn+.btn {margin-left:0}
}
/* Galéria és beágyazott térkép */
.szami-contact-map { margin: 0 0 3rem; }
.szami-contact-map iframe { width: 100%; height: 420px; border: 0; border-radius: 14px; }
.szami-gallery { padding: 1rem 0 4rem; }
.szami-gallery h1 { color: #6f1833; margin-bottom: 2rem; }
.szami-gallery h2 { color: #6f1833; border-bottom: 2px solid #e9dce1; padding-bottom: .5rem; margin: 2rem 0 1rem; }
.szami-gallery-album { background: var(--szami-cream); border: 1px solid #eadfe3; border-radius: 14px; padding: 1.2rem; margin-bottom: 1.3rem; box-shadow: 0 8px 25px rgba(65,29,37,.06); }
.szami-gallery-album h3, .szami-gallery-videos h3 { font-size: 1.2rem; margin: 0 0 1rem; }
.szami-gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; }
.szami-gallery-grid a { display: block; overflow: hidden; border-radius: 8px; }
.szami-gallery-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.szami-gallery-more { display: inline-block; color: #751e39; font-weight: 700; margin-top: 1rem; }
.szami-gallery-videos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.szami-gallery-videos iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 8px; }
@media(max-width: 767px) { .szami-gallery-videos { grid-template-columns: 1fr; } .szami-gallery-grid { gap: .35rem; } .szami-contact-map iframe { height: 350px; } }

#t3-mainbody:has(.szami-gallery) #t3-content { width: 100%; }
#t3-mainbody:has(.szami-gallery) .t3-sidebar { display: none; }
.szami-gallery { padding-top: 4rem; }

.szami-gallery { padding-top: 8rem; }

/* Asztali főmenü: a mobil navigáció kinyitható változata */
@media (min-width: 768px) {
  #t3-mainnav.navbar-fixed-top { position: relative; top: auto; left: auto; right: auto; z-index: 1000; }
  #t3-mainnav > .container { position: relative; }
  #t3-mainnav .navbar-header { display: flex; align-items: center; width: 100%; float: none; min-height: 85px; }
  #t3-mainnav .navbar-header .logo { order: 1; flex: 0 1 auto; }
  #t3-mainnav .navbar-header .head-search { order: 2; position: static; margin-left: auto; flex: 0 0 auto; }
  #t3-mainnav .navbar-toggle { order: 0; display: flex !important; align-items: center; justify-content: center; position: static; float: none; flex: 0 0 48px; width: 48px; height: 48px; margin: 0 15px 0 0; border: 1px solid #d9c5cc; border-radius: 9px; background: var(--szami-cream); color: #72293e; font-size: 23px; cursor: pointer; }
  #t3-mainnav .navbar-toggle:hover, #t3-mainnav .navbar-toggle:focus { background: #f8eef1; outline-offset: 2px; }
  #t3-mainnav .t3-navbar { display: none !important; }
  #t3-mainnav .t3-navbar-collapse.collapse { display: none !important; }
  #t3-mainnav .t3-navbar-collapse.collapse.in { display: block !important; }
  #t3-mainnav .t3-navbar-collapse { position: absolute; left: 15px; top: 100%; width: min(380px, calc(100% - 30px)); max-height: min(72vh, 640px); overflow-y: auto !important; padding: 8px 0; margin: 0; border: 1px solid #e8d9de; border-radius: 0 0 12px 12px; background: var(--szami-cream); box-shadow: 0 18px 35px rgba(46,20,29,.18); z-index: 1010; }
  #t3-mainnav .t3-navbar-collapse .navbar-nav { float: none; margin: 0; width: 100%; }
  #t3-mainnav .t3-navbar-collapse .navbar-nav > li { float: none; display: block; }
  #t3-mainnav .t3-navbar-collapse .navbar-nav > li > a { display: block; padding: 11px 22px; color: #542534; font-weight: 600; white-space: normal; }
  #t3-mainnav .t3-navbar-collapse .navbar-nav > li > a:hover, #t3-mainnav .t3-navbar-collapse .navbar-nav > .active > a { background: #f5e9ed; color: #72293e; }
}
@media (min-width:768px) and (max-width:991px) { #t3-mainnav .navbar-header .logo { max-width: 38%; } #t3-mainnav .navbar-header .head-search { max-width: 46%; } }

@media (min-width: 768px) {
  body { padding-top: 0 !important; }
  #t3-mainnav .navbar-toggle .szami-menu-bars { display: flex; flex-direction: column; justify-content: space-between; width: 24px; height: 18px; }
  #t3-mainnav .navbar-toggle .szami-menu-bars span { display: block; width: 100%; height: 3px; background: #72293e; border-radius: 2px; }
}

#t3-mainnav .navbar-toggle .szami-menu-bars { display: flex; flex-direction: column; justify-content: space-between; width: 24px; height: 18px; }
#t3-mainnav .navbar-toggle .szami-menu-bars span { display: block; width: 100%; height: 3px; background: #72293e; border-radius: 2px; }

/* A sablon alapértelmezett fehér főfelületei */
.t3-wrapper, .t3-footer { background-color: var(--szami-cream) !important; }
.t3-wrapper input:not([type="checkbox"]):not([type="radio"]), .t3-wrapper textarea, .t3-wrapper select { background-color: var(--szami-cream); }


/* SZAMI main menu pages 2026-09-24 */
.szami-hide-meta .article-aside {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.szami-hide-meta .article-header {
  margin-bottom: 18px !important;
}
.szami-hide-meta .article-content > :first-child,
.szami-hide-meta .article-intro > :first-child {
  margin-top: 0 !important;
}
.szami-news-only #t3-mainbody,
.szami-tanszakok-page #t3-mainbody {
  display: none !important;
}
.szami-staff-page .article-content hr {
  display: none !important;
}
.szami-staff-page .article-content table,
.szami-staff-page .article-content tbody,
.szami-staff-page .article-content tr,
.szami-staff-page .article-content td,
.szami-staff-page .article-content th {
  border: 0 !important;
  box-shadow: none !important;
}
.szami-staff-page .szami-leaders-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
@media (max-width: 640px) {
  .szami-staff-page .szami-leaders-grid {
    gap: 10px !important;
  }
  .szami-staff-page .szami-leader-card img {
    max-width: 100% !important;
  }
}
/* /SZAMI main menu pages 2026-09-24 */


/* SZAMI responsive stabilization 2026-09-24 */
* { box-sizing: border-box; }
.t3-wrapper, .t3-mainbody, #t3-mainbody, .t3-content, .container, .row, [class*="szami-"] { min-width: 0; }
.t3-wrapper img, .t3-wrapper video, .t3-wrapper iframe { max-width: 100%; }
.t3-wrapper img, .t3-wrapper video { height: auto; }
.article-content, .article-intro, .szami-dept-card, .szami-card { overflow-wrap: anywhere; }
.article-content table { max-width: 100%; }
@media (max-width: 991px) {
  .szami-dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
  #t3-mainnav > .container { padding-left: 10px; padding-right: 10px; }
  #t3-mainnav .navbar-header { width: 100%; margin: 0; padding: 8px 0; display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-areas: "toggle logo" "social social"; gap: 8px 10px; align-items: center; }
  #t3-mainnav .navbar-toggle { grid-area: toggle; position: static; float: none; width: 44px; height: 44px; margin: 0; }
  #t3-mainnav .logo { grid-area: logo; float: none; min-width: 0; text-align: center; }
  #t3-mainnav .logo img, #t3-mainnav .logo-image img { display: block; width: min(170px, 100%) !important; max-width: 100%; height: auto !important; margin: 0 auto; }
  #t3-mainnav .head-search { grid-area: social; position: static; float: none; width: 100%; margin: 0; }
  #t3-mainnav .szami-social { justify-content: center; flex-wrap: nowrap; max-width: 100%; }
  #t3-mainnav .t3-navbar-collapse { left: 10px; right: 10px; width: auto; max-height: calc(100vh - 120px); overflow-y: auto; }
  .t3-content { padding: 1.25rem; }
  .szami-grid, .szami-gallery-videos { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .szami-dept-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 1rem !important; }
  .szami-dept-card, .szami-dept-card[open] { width: 100%; max-width: 100%; }
  .szami-dept-card summary { min-height: 0; }
  .szami-dept-card .szami-dept-more { width: 100%; }
  .szami-main-dept-card img { max-width: 100%; object-fit: contain; }
  .szami-staff-page .szami-leaders-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
/* /SZAMI responsive stabilization 2026-09-24 */


/* SZAMI homepage hero collage 2026-09-26 */
.szami-hero.szami-hero-collage-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, .88fr) minmax(0, 1.32fr);
  align-items: stretch;
  gap: 0;
  min-height: clamp(500px, 43vw, 620px);
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #4f1725;
  isolation: isolate;
}
.szami-hero-collage-layout .szami-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(36px, 5vw, 72px) clamp(30px, 4.5vw, 68px);
  background: linear-gradient(135deg, #4f1725 0%, #70273a 100%);
}
.szami-hero-collage-layout .szami-hero-copy::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: -72px;
  width: 118px;
  height: 100%;
  background: #70273a;
  border-radius: 0 62% 62% 0 / 0 50% 50% 0;
}
.szami-hero-collage-layout .szami-hero-copy > * {
  position: relative;
  z-index: 1;
}
.szami-hero-collage-layout .szami-hero-copy p,
.szami-hero-collage-layout .szami-hero-copy h1 {
  max-width: 590px;
}
.szami-hero-collage-layout .szami-hero-copy .btn {
  align-self: flex-start;
}
.szami-hero-collage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(10, minmax(0, 1fr));
  gap: 7px;
  min-width: 0;
  min-height: 500px;
  padding: 0;
  background: #4f1725;
}
.szami-hero-tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #4f1725;
}
.szami-hero-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(79,23,37,.06), rgba(79,23,37,.24));
  mix-blend-mode: multiply;
}
.szami-hero-tile img {
  display: block;
  width: 100%;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  transition: transform .45s ease;
}
.szami-hero-tile--piano { grid-column: 1 / 8; grid-row: 1 / 5; }
.szami-hero-tile--violin { grid-column: 8 / 13; grid-row: 1 / 7; }
.szami-hero-tile--sax { grid-column: 1 / 5; grid-row: 5 / 11; }
.szami-hero-tile--mic { grid-column: 5 / 9; grid-row: 5 / 11; }
.szami-hero-tile--art { grid-column: 9 / 13; grid-row: 7 / 11; }
@media (hover: hover) {
  .szami-hero-tile:hover img { transform: scale(1.035); }
}
@media (max-width: 1024px) {
  .szami-hero.szami-hero-collage-layout {
    grid-template-columns: minmax(320px, .95fr) minmax(0, 1.05fr);
    min-height: 520px;
  }
  .szami-hero-collage-layout .szami-hero-copy {
    padding: 42px 32px;
  }
  .szami-hero-collage-layout .szami-hero-copy::after {
    right: -48px;
    width: 78px;
  }
  .szami-hero-collage {
    min-height: 520px;
  }
}
@media (max-width: 820px) {
  .szami-hero.szami-hero-collage-layout {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .szami-hero-collage-layout .szami-hero-copy {
    padding: clamp(34px, 7vw, 54px) clamp(24px, 6vw, 46px);
  }
  .szami-hero-collage-layout .szami-hero-copy::after {
    top: auto;
    right: 0;
    bottom: -34px;
    width: 100%;
    height: 54px;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
  }
  .szami-hero-collage {
    min-height: 410px;
  }
}
@media (max-width: 560px) {
  .szami-hero.szami-hero-collage-layout {
    margin-right: 0;
    margin-left: 0;
    border-radius: 18px;
  }
  .szami-hero-collage-layout .szami-hero-copy {
    padding: 30px 20px 38px;
  }
  .szami-hero-collage-layout .szami-hero-copy h1 {
    font-size: clamp(32px, 10vw, 42px) !important;
  }
  .szami-hero-collage-layout .szami-hero-copy .btn {
    display: block;
    width: 100%;
    margin: 10px 0 0 !important;
    text-align: center;
  }
  .szami-hero-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 150px 132px 145px;
    gap: 5px;
    min-height: 0;
  }
  .szami-hero-tile--piano { grid-column: 1 / 2; grid-row: 1 / 2; }
  .szami-hero-tile--violin { grid-column: 2 / 3; grid-row: 1 / 3; }
  .szami-hero-tile--sax { grid-column: 1 / 2; grid-row: 2 / 4; }
  .szami-hero-tile--mic { grid-column: 2 / 3; grid-row: 3 / 4; }
  .szami-hero-tile--art { grid-column: 1 / 3; grid-row: 4 / 5; min-height: 138px; }
}
/* /SZAMI homepage hero collage 2026-09-26 */


/* SZAMI hero refinement 2026-09-26 */
.szami-hero-collage-layout .szami-hero-copy::after {
  display: none !important;
}
@media (max-width: 820px) {
  .szami-hero-collage-layout .szami-hero-copy {
    flex-basis: 100% !important;
  }
  .szami-hero-collage-layout .szami-hero-curve {
    top: auto !important;
    right: 0 !important;
    bottom: -28px !important;
    width: 100% !important;
    height: 48px !important;
    border-radius: 0 0 50% 50% / 0 0 100% 100% !important;
  }
  .szami-hero-collage-layout .szami-hero-collage {
    flex-basis: 100% !important;
    height: 440px !important;
  }
}
@media (max-width: 560px) {
  .szami-hero-collage-layout .szami-hero-copy {
    padding: 30px 20px 38px !important;
  }
  .szami-hero-collage-layout .szami-hero-copy .btn {
    width: 100% !important;
    text-align: center !important;
  }
  .szami-hero-collage-layout .szami-hero-collage {
    height: 410px !important;
  }
}
/* /SZAMI hero refinement 2026-09-26 */
/* Számi 2026 – tesztoldali arculat */
:root {--szami-wine:#85343f;--szami-wine-dark:#602630;--szami-cream:#FFECEC;--szami-ink:#29272b;--szami-line:#eadfe1;}
html {scroll-behavior:smooth}
body {color:var(--szami-ink);background:var(--szami-cream);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.7}
a {color:var(--szami-wine)} a:hover,a:focus {color:var(--szami-wine-dark)}
#t3-mainnav,.t3-mainnav {background:var(--szami-cream)!important;border:0!important;box-shadow:0 4px 24px rgba(80,31,39,.09)}
.t3-mainnav .container {max-width:1240px}.t3-mainnav .navbar-nav>li>a {color:var(--szami-wine-dark)!important;font-weight:700;letter-spacing:.01em;border:0!important}.t3-mainnav .navbar-nav>li>a:hover,.t3-mainnav .navbar-nav>.active>a {background:var(--szami-wine)!important;color:#fff!important}
.t3-mainnav .logo img,.t3-mainnav .logo-image img {max-height:70px;width:auto;object-fit:contain}
#t3-mainbody {max-width:1240px;padding-top:3rem;padding-bottom:4rem}.t3-content,.t3-sidebar .module {background:var(--szami-cream);border-radius:16px;box-shadow:0 9px 35px rgba(66,31,40,.055)}.t3-content {padding:2rem 2.5rem}.t3-sidebar .module {padding:1.3rem;margin-bottom:1.4rem}
h1,h2,h3,h4,.page-header,.module-title {color:var(--szami-wine-dark);font-family:Georgia,'Times New Roman',serif;line-height:1.22}h1 {font-size:clamp(2rem,4vw,3.4rem)}h2 {font-size:clamp(1.5rem,2.4vw,2.35rem)}.module-title {font-size:1.3rem;border-bottom:2px solid var(--szami-line);padding-bottom:.75rem}
.btn-primary,.readmore a,.pagination .active>a {background:var(--szami-wine)!important;border-color:var(--szami-wine)!important;color:#fff!important;border-radius:9px}.btn-primary:hover,.readmore a:hover {background:var(--szami-wine-dark)!important}
.article-aside,.article-info {color:#746b70;font-size:.88rem}.article-header {border-bottom:1px solid var(--szami-line);margin-bottom:1.3rem}.item-page img,.blog img {max-width:100%;height:auto;border-radius:10px}
.t3-sidebar ul.nav>li>a {border-bottom:1px solid var(--szami-line);padding:.65rem .3rem;color:var(--szami-wine-dark)}.t3-sidebar ul.nav>li>a:hover {background:var(--szami-cream)}
.szami-hero {position:relative;isolation:isolate;display:grid;align-items:end;min-height:390px;padding:clamp(2rem,5vw,4.5rem);border-radius:20px;overflow:hidden;background:linear-gradient(90deg,rgba(49,17,27,.9),rgba(49,17,27,.1)),url('/images/IMG_1095.jpeg') center 42%/cover;color:white;margin-bottom:3rem}.szami-hero h1,.szami-hero p {color:#fff;max-width:680px;text-shadow:0 2px 14px rgba(0,0,0,.25)}.szami-hero h1 {font-size:clamp(2.3rem,5vw,4.5rem);margin:0 0 1rem}.szami-hero p {font-size:1.18rem}.szami-hero .btn {margin-top:1rem;background:var(--szami-cream);color:var(--szami-wine-dark);font-weight:700;border-radius:9px;padding:.8rem 1.4rem}
.szami-section {padding:2rem 0}.szami-section h2 {margin:0 0 1.4rem}.szami-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}.szami-card {display:block;background:var(--szami-cream);border:1px solid var(--szami-line);border-radius:15px;overflow:hidden;color:var(--szami-ink);box-shadow:0 8px 20px rgba(77,29,39,.04)}.szami-card:hover {text-decoration:none;transform:translateY(-3px);box-shadow:0 12px 24px rgba(77,29,39,.12)}.szami-card img {display:block;width:100%;height:185px;object-fit:cover}.szami-card span {display:block;padding:1.1rem;font-weight:700;color:var(--szami-wine-dark)}.szami-intro {max-width:760px;font-size:1.14rem}.szami-links {display:flex;gap:.7rem;flex-wrap:wrap}.szami-links a {border:1px solid var(--szami-line);padding:.65rem 1rem;border-radius:30px;background:var(--szami-cream);font-weight:700}
.szami-social {display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.szami-social a {width:46px;height:46px;border:1px solid var(--szami-line);border-radius:12px;background:var(--szami-cream);display:grid;place-items:center}.szami-social img {max-width:29px;max-height:29px;object-fit:contain}
.szami-calendar table {width:100%;table-layout:fixed;border-collapse:separate;border-spacing:4px}.szami-calendar td {text-align:center;border-radius:8px;padding:.5rem .15rem;background:#f7f2f3}.szami-calendar a {display:block;border-radius:8px;color:var(--szami-wine);font-weight:700}.szami-calendar a:hover {background:var(--szami-wine);color:white;text-decoration:none}
.szami-departments {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.szami-departments table,.szami-departments tbody,.szami-departments tr,.szami-departments td {display:contents}.szami-departments p {margin:0}.szami-departments img {width:100%;height:170px;object-fit:cover}.szami-departments .szami-dept-card {background:var(--szami-cream);border:1px solid var(--szami-line);border-radius:14px;overflow:hidden;text-align:center;padding-bottom:1rem;font-weight:700}
@media(max-width:991px){#t3-mainbody {padding-top:1.5rem}.t3-content {padding:1.5rem}.szami-grid,.szami-departments {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.t3-content {padding:1rem}.szami-hero {min-height:340px;padding:2rem 1.2rem}.szami-grid,.szami-departments {grid-template-columns:1fr}.szami-card img {height:220px}.t3-sidebar {padding:0 1rem}.t3-mainnav .logo img {max-height:48px}.szami-calendar td {padding:.3rem 0}}

/* A régi T3 masthead tipográfiájának felülírása */
.szami-hero {background:radial-gradient(circle at 83% 20%,rgba(255,209,174,.3),transparent 25%),radial-gradient(circle at 80% 85%,rgba(244,174,118,.22),transparent 32%),linear-gradient(120deg,#622831,#9a4650 70%,#b16c69);min-height:360px}
.szami-hero>div {max-width:760px}
.szami-hero h1 {font-size:clamp(36px,5vw,65px)!important;line-height:1.08!important;margin:8px 0 22px!important;color:#fff!important}
.szami-hero p {font-size:18px!important;line-height:1.55!important;margin:0 0 12px!important;color:#fff!important}
.szami-hero p:first-child {font-size:14px!important;letter-spacing:.11em;text-transform:uppercase;font-weight:700}
.szami-hero .btn {font-size:15px}
.szami-section p {font-size:16px;line-height:1.65}.szami-section h2 {font-size:32px}.szami-card span {font-size:16px}.szami-links a {font-size:14px}.t3-mainnav .navbar-nav>li>a {font-size:14px}
@media(max-width:640px){.szami-hero h1 {font-size:36px!important}.szami-hero p {font-size:16px!important}.szami-section h2 {font-size:27px}}

.szami-departments-module {background:var(--szami-cream);padding:20px 0 48px}.szami-departments-module .container {max-width:1240px}.szami-departments-module .szami-section {padding:0}.szami-departments-module .szami-grid {margin:26px 0 30px}.szami-departments-module .szami-card {box-shadow:0 8px 24px rgba(71,31,41,.07)}.szami-departments-module .szami-card img {height:175px;object-fit:contain;padding:18px;background:var(--szami-cream)}.szami-art-placeholder {display:flex;gap:20px;align-items:center;margin:20px 0;padding:24px 30px;border:2px dashed #c18e94;border-radius:16px;background:var(--szami-cream);color:#602630;font-size:20px}.szami-art-placeholder span {font-size:42px}
.t3-mainnav .szami-social {display:flex;flex-flow:row nowrap;gap:5px}.t3-mainnav .szami-social a {width:34px;height:34px;border:0;flex:0 0 34px}.t3-mainnav .szami-social img {max-width:25px;max-height:25px}

/* Hírek oldal havi eseménynaptára */
#Mod114 {background:var(--szami-cream);padding:28px 0 54px}#Mod114 .container {max-width:960px}#Mod114 .row-feature-title {font-size:34px;text-align:center;margin:0 0 22px}#Mod114 .row-feature-ct {background:var(--szami-cream);border:1px solid #eadfe1;border-radius:20px;box-shadow:0 14px 36px rgba(75,31,40,.08);padding:22px 26px 28px;margin:0}#Mod114 .mod_events_monthyear,#Mod114 .mod_events_table {width:100%!important;max-width:760px;margin:0 auto;border-collapse:separate!important;border-spacing:5px!important;table-layout:fixed}#Mod114 .mod_events_monthyear {margin-bottom:12px}#Mod114 .mod_events_monthyear td {background:var(--szami-cream)!important;border:0!important;color:#602630;font-weight:700;font-size:19px;padding:8px;text-align:center}#Mod114 .mod_events_monthyear td:first-child,#Mod114 .mod_events_monthyear td:nth-child(3),#Mod114 .mod_events_monthyear td:last-child {width:12%;cursor:pointer}#Mod114 .mod_events_table td {text-align:center!important;vertical-align:middle;border:0!important;border-radius:10px!important;background:#fbf6f7!important;padding:12px 4px!important;font-size:15px!important;height:50px}#Mod114 .mod_events_table .mod_events_dayname td {background:var(--szami-cream)!important;color:#6c5961;font-size:13px!important;font-weight:700!important}#Mod114 .mod_events_table a {display:inline-block;color:#85343f!important;font-weight:700;padding:5px 8px;border-radius:8px}#Mod114 .mod_events_table a:hover {background:#85343f;color:#fff!important;text-decoration:none}#Mod114 .mod_events_table .mod_events_event {background:#f1dde0!important}#Mod114 .mod_events_table td[class*='today'] {outline:2px solid #85343f}
@media(max-width:600px){#Mod114 .row-feature-ct {padding:12px 6px}#Mod114 .mod_events_table td {height:38px;padding:5px 1px!important;font-size:13px!important}#Mod114 .mod_events_monthyear td {font-size:16px}}


/* 2026 szeptember: tisztább fejléc és tanszaki kártyák */
#t3-mainnav>.off-canvas-toggle {display:none!important}
.t3-mainnav .logo img,.t3-mainnav .logo-image img {width:320px!important;max-width:100%!important;max-height:none!important;height:auto!important}
.t3-mainnav .szami-social {gap:8px}
.t3-mainnav .szami-social a {width:62px;height:62px;flex:0 0 62px;border-radius:12px}
.t3-mainnav .szami-social img {width:48px;height:48px;max-width:48px;max-height:48px}
.szami-intro {max-width:1000px}.szami-intro p {margin:0 0 1.25rem}
.szami-hero .btn+.btn {margin-left:.7rem}
.szami-dept-overview {max-width:1180px;margin:auto}
.szami-dept-overview>h3 {margin:1.6rem 0}
.szami-dept-group {scroll-margin-top:185px;margin:2.2rem 0}
.szami-dept-group h3 {font-size:26px;margin:0 0 1rem}
.szami-dept-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.szami-dept-card {background:var(--szami-cream);border:1px solid #eadfe1;border-radius:15px;overflow:hidden;box-shadow:0 8px 22px rgba(77,29,39,.06)}
.szami-dept-card summary {cursor:pointer;list-style:none;display:flex;flex-direction:column;text-align:center;min-height:205px;color:#602630;font-weight:700}
.szami-dept-card summary::-webkit-details-marker {display:none}
.szami-dept-card summary:focus-visible {outline:3px solid #85343f;outline-offset:-3px}


/* Kezdőoldali kiemelt kép */
.szami-hero.szami-hero-with-image{grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);gap:clamp(24px,4vw,64px);align-items:center}
.szami-hero-copy{min-width:0}
.szami-hero-image{min-width:0;text-align:center}
.szami-hero-image img{display:block;width:100%;max-width:560px;height:auto;object-fit:contain;margin:0 auto}
@media (max-width:820px){.szami-hero.szami-hero-with-image{grid-template-columns:1fr;gap:24px}.szami-hero-image img{max-width:520px}}
.szami-dept-card summary>span:last-child {padding:12px}
.szami-dept-photos {display:flex;height:170px;background:var(--szami-cream)}
.szami-dept-photos img {width:100%;height:170px;object-fit:contain;padding:12px}
.szami-dept-photos img+img {width:50%}.szami-dept-photos:has(img+img) img:first-child {width:50%}
.szami-dept-empty {display:grid;place-items:center;height:170px;background:linear-gradient(125deg,#f9ecee,#f0dce1);font-size:68px;color:#a46973}
.szami-dept-more {padding:0 15px 18px;color:#6a5b61;font-size:14px;text-align:center}
.szami-dept-card[open] {outline:2px solid #85343f}
@media(max-width:991px){
.t3-mainnav .logo img,.t3-mainnav .logo-image img {width:250px!important}
.t3-mainnav .szami-social a {width:49px;height:49px;flex-basis:49px}
.t3-mainnav .szami-social img {width:37px;height:37px;max-width:37px;max-height:37px}
.szami-dept-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:640px){
.t3-mainnav .logo img,.t3-mainnav .logo-image img {width:170px!important;max-height:none!important}
.t3-mainnav .szami-social {gap:3px}
.t3-mainnav .szami-social a {width:35px;height:35px;flex-basis:35px;border-radius:8px}
.t3-mainnav .szami-social img {width:29px;height:29px;max-width:29px;max-height:29px}
.szami-dept-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.szami-dept-card summary {min-height:170px}.szami-dept-photos,.szami-dept-photos img,.szami-dept-empty {height:125px}
.szami-dept-group {scroll-margin-top:135px}.szami-hero .btn+.btn {margin-left:0}
}
/* Galéria és beágyazott térkép */
.szami-contact-map { margin: 0 0 3rem; }
.szami-contact-map iframe { width: 100%; height: 420px; border: 0; border-radius: 14px; }
.szami-gallery { padding: 1rem 0 4rem; }
.szami-gallery h1 { color: #6f1833; margin-bottom: 2rem; }
.szami-gallery h2 { color: #6f1833; border-bottom: 2px solid #e9dce1; padding-bottom: .5rem; margin: 2rem 0 1rem; }
.szami-gallery-album { background: var(--szami-cream); border: 1px solid #eadfe3; border-radius: 14px; padding: 1.2rem; margin-bottom: 1.3rem; box-shadow: 0 8px 25px rgba(65,29,37,.06); }
.szami-gallery-album h3, .szami-gallery-videos h3 { font-size: 1.2rem; margin: 0 0 1rem; }
.szami-gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; }
.szami-gallery-grid a { display: block; overflow: hidden; border-radius: 8px; }
.szami-gallery-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.szami-gallery-more { display: inline-block; color: #751e39; font-weight: 700; margin-top: 1rem; }
.szami-gallery-videos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.szami-gallery-videos iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 8px; }
@media(max-width: 767px) { .szami-gallery-videos { grid-template-columns: 1fr; } .szami-gallery-grid { gap: .35rem; } .szami-contact-map iframe { height: 350px; } }

#t3-mainbody:has(.szami-gallery) #t3-content { width: 100%; }
#t3-mainbody:has(.szami-gallery) .t3-sidebar { display: none; }
.szami-gallery { padding-top: 4rem; }

.szami-gallery { padding-top: 8rem; }

/* Asztali főmenü: a mobil navigáció kinyitható változata */
@media (min-width: 768px) {
  #t3-mainnav.navbar-fixed-top { position: relative; top: auto; left: auto; right: auto; z-index: 1000; }
  #t3-mainnav > .container { position: relative; }
  #t3-mainnav .navbar-header { display: flex; align-items: center; width: 100%; float: none; min-height: 85px; }
  #t3-mainnav .navbar-header .logo { order: 1; flex: 0 1 auto; }
  #t3-mainnav .navbar-header .head-search { order: 2; position: static; margin-left: auto; flex: 0 0 auto; }
  #t3-mainnav .navbar-toggle { order: 0; display: flex !important; align-items: center; justify-content: center; position: static; float: none; flex: 0 0 48px; width: 48px; height: 48px; margin: 0 15px 0 0; border: 1px solid #d9c5cc; border-radius: 9px; background: var(--szami-cream); color: #72293e; font-size: 23px; cursor: pointer; }
  #t3-mainnav .navbar-toggle:hover, #t3-mainnav .navbar-toggle:focus { background: #f8eef1; outline-offset: 2px; }
  #t3-mainnav .t3-navbar { display: none !important; }
  #t3-mainnav .t3-navbar-collapse.collapse { display: none !important; }
  #t3-mainnav .t3-navbar-collapse.collapse.in { display: block !important; }
  #t3-mainnav .t3-navbar-collapse { position: absolute; left: 15px; top: 100%; width: min(380px, calc(100% - 30px)); max-height: min(72vh, 640px); overflow-y: auto !important; padding: 8px 0; margin: 0; border: 1px solid #e8d9de; border-radius: 0 0 12px 12px; background: var(--szami-cream); box-shadow: 0 18px 35px rgba(46,20,29,.18); z-index: 1010; }
  #t3-mainnav .t3-navbar-collapse .navbar-nav { float: none; margin: 0; width: 100%; }
  #t3-mainnav .t3-navbar-collapse .navbar-nav > li { float: none; display: block; }
  #t3-mainnav .t3-navbar-collapse .navbar-nav > li > a { display: block; padding: 11px 22px; color: #542534; font-weight: 600; white-space: normal; }
  #t3-mainnav .t3-navbar-collapse .navbar-nav > li > a:hover, #t3-mainnav .t3-navbar-collapse .navbar-nav > .active > a { background: #f5e9ed; color: #72293e; }
}
@media (min-width:768px) and (max-width:991px) { #t3-mainnav .navbar-header .logo { max-width: 38%; } #t3-mainnav .navbar-header .head-search { max-width: 46%; } }

@media (min-width: 768px) {
  body { padding-top: 0 !important; }
  #t3-mainnav .navbar-toggle .szami-menu-bars { display: flex; flex-direction: column; justify-content: space-between; width: 24px; height: 18px; }
  #t3-mainnav .navbar-toggle .szami-menu-bars span { display: block; width: 100%; height: 3px; background: #72293e; border-radius: 2px; }
}

#t3-mainnav .navbar-toggle .szami-menu-bars { display: flex; flex-direction: column; justify-content: space-between; width: 24px; height: 18px; }
#t3-mainnav .navbar-toggle .szami-menu-bars span { display: block; width: 100%; height: 3px; background: #72293e; border-radius: 2px; }

/* A sablon alapértelmezett fehér főfelületei */
.t3-wrapper, .t3-footer { background-color: var(--szami-cream) !important; }
.t3-wrapper input:not([type="checkbox"]):not([type="radio"]), .t3-wrapper textarea, .t3-wrapper select { background-color: var(--szami-cream); }


/* SZAMI main menu pages 2026-09-24 */
.szami-hide-meta .article-aside {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.szami-hide-meta .article-header {
  margin-bottom: 18px !important;
}
.szami-hide-meta .article-content > :first-child,
.szami-hide-meta .article-intro > :first-child {
  margin-top: 0 !important;
}
.szami-news-only #t3-mainbody,
.szami-tanszakok-page #t3-mainbody {
  display: none !important;
}
.szami-staff-page .article-content hr {
  display: none !important;
}
.szami-staff-page .article-content table,
.szami-staff-page .article-content tbody,
.szami-staff-page .article-content tr,
.szami-staff-page .article-content td,
.szami-staff-page .article-content th {
  border: 0 !important;
  box-shadow: none !important;
}
.szami-staff-page .szami-leaders-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
@media (max-width: 640px) {
  .szami-staff-page .szami-leaders-grid {
    gap: 10px !important;
  }
  .szami-staff-page .szami-leader-card img {
    max-width: 100% !important;
  }
}
/* /SZAMI main menu pages 2026-09-24 */


/* SZAMI responsive stabilization 2026-09-24 */
* { box-sizing: border-box; }
.t3-wrapper, .t3-mainbody, #t3-mainbody, .t3-content, .container, .row, [class*="szami-"] { min-width: 0; }
.t3-wrapper img, .t3-wrapper video, .t3-wrapper iframe { max-width: 100%; }
.t3-wrapper img, .t3-wrapper video { height: auto; }
.article-content, .article-intro, .szami-dept-card, .szami-card { overflow-wrap: anywhere; }
.article-content table { max-width: 100%; }
@media (max-width: 991px) {
  .szami-dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
  #t3-mainnav > .container { padding-left: 10px; padding-right: 10px; }
  #t3-mainnav .navbar-header { width: 100%; margin: 0; padding: 8px 0; display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-areas: "toggle logo" "social social"; gap: 8px 10px; align-items: center; }
  #t3-mainnav .navbar-toggle { grid-area: toggle; position: static; float: none; width: 44px; height: 44px; margin: 0; }
  #t3-mainnav .logo { grid-area: logo; float: none; min-width: 0; text-align: center; }
  #t3-mainnav .logo img, #t3-mainnav .logo-image img { display: block; width: min(170px, 100%) !important; max-width: 100%; height: auto !important; margin: 0 auto; }
  #t3-mainnav .head-search { grid-area: social; position: static; float: none; width: 100%; margin: 0; }
  #t3-mainnav .szami-social { justify-content: center; flex-wrap: nowrap; max-width: 100%; }
  #t3-mainnav .t3-navbar-collapse { left: 10px; right: 10px; width: auto; max-height: calc(100vh - 120px); overflow-y: auto; }
  .t3-content { padding: 1.25rem; }
  .szami-grid, .szami-gallery-videos { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .szami-dept-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 1rem !important; }
  .szami-dept-card, .szami-dept-card[open] { width: 100%; max-width: 100%; }
  .szami-dept-card summary { min-height: 0; }
  .szami-dept-card .szami-dept-more { width: 100%; }
  .szami-main-dept-card img { max-width: 100%; object-fit: contain; }
  .szami-staff-page .szami-leaders-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
/* /SZAMI responsive stabilization 2026-09-24 */


/* SZAMI homepage hero collage 2026-09-26 */
.szami-hero.szami-hero-collage-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, .88fr) minmax(0, 1.32fr);
  align-items: stretch;
  gap: 0;
  min-height: clamp(500px, 43vw, 620px);
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #4f1725;
  isolation: isolate;
}
.szami-hero-collage-layout .szami-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(36px, 5vw, 72px) clamp(30px, 4.5vw, 68px);
  background: linear-gradient(135deg, #4f1725 0%, #70273a 100%);
}
.szami-hero-collage-layout .szami-hero-copy::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: -72px;
  width: 118px;
  height: 100%;
  background: #70273a;
  border-radius: 0 62% 62% 0 / 0 50% 50% 0;
}
.szami-hero-collage-layout .szami-hero-copy > * {
  position: relative;
  z-index: 1;
}
.szami-hero-collage-layout .szami-hero-copy p,
.szami-hero-collage-layout .szami-hero-copy h1 {
  max-width: 590px;
}
.szami-hero-collage-layout .szami-hero-copy .btn {
  align-self: flex-start;
}
.szami-hero-collage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(10, minmax(0, 1fr));
  gap: 7px;
  min-width: 0;
  min-height: 500px;
  padding: 0;
  background: #4f1725;
}
.szami-hero-tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #4f1725;
}
.szami-hero-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(79,23,37,.06), rgba(79,23,37,.24));
  mix-blend-mode: multiply;
}
.szami-hero-tile img {
  display: block;
  width: 100%;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  transition: transform .45s ease;
}
.szami-hero-tile--piano { grid-column: 1 / 8; grid-row: 1 / 5; }
.szami-hero-tile--violin { grid-column: 8 / 13; grid-row: 1 / 7; }
.szami-hero-tile--sax { grid-column: 1 / 5; grid-row: 5 / 11; }
.szami-hero-tile--mic { grid-column: 5 / 9; grid-row: 5 / 11; }
.szami-hero-tile--art { grid-column: 9 / 13; grid-row: 7 / 11; }
@media (hover: hover) {
  .szami-hero-tile:hover img { transform: scale(1.035); }
}
@media (max-width: 1024px) {
  .szami-hero.szami-hero-collage-layout {
    grid-template-columns: minmax(320px, .95fr) minmax(0, 1.05fr);
    min-height: 520px;
  }
  .szami-hero-collage-layout .szami-hero-copy {
    padding: 42px 32px;
  }
  .szami-hero-collage-layout .szami-hero-copy::after {
    right: -48px;
    width: 78px;
  }
  .szami-hero-collage {
    min-height: 520px;
  }
}
@media (max-width: 820px) {
  .szami-hero.szami-hero-collage-layout {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .szami-hero-collage-layout .szami-hero-copy {
    padding: clamp(34px, 7vw, 54px) clamp(24px, 6vw, 46px);
  }
  .szami-hero-collage-layout .szami-hero-copy::after {
    top: auto;
    right: 0;
    bottom: -34px;
    width: 100%;
    height: 54px;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
  }
  .szami-hero-collage {
    min-height: 410px;
  }
}
@media (max-width: 560px) {
  .szami-hero.szami-hero-collage-layout {
    margin-right: 0;
    margin-left: 0;
    border-radius: 18px;
  }
  .szami-hero-collage-layout .szami-hero-copy {
    padding: 30px 20px 38px;
  }
  .szami-hero-collage-layout .szami-hero-copy h1 {
    font-size: clamp(32px, 10vw, 42px) !important;
  }
  .szami-hero-collage-layout .szami-hero-copy .btn {
    display: block;
    width: 100%;
    margin: 10px 0 0 !important;
    text-align: center;
  }
  .szami-hero-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 150px 132px 145px;
    gap: 5px;
    min-height: 0;
  }
  .szami-hero-tile--piano { grid-column: 1 / 2; grid-row: 1 / 2; }
  .szami-hero-tile--violin { grid-column: 2 / 3; grid-row: 1 / 3; }
  .szami-hero-tile--sax { grid-column: 1 / 2; grid-row: 2 / 4; }
  .szami-hero-tile--mic { grid-column: 2 / 3; grid-row: 3 / 4; }
  .szami-hero-tile--art { grid-column: 1 / 3; grid-row: 4 / 5; min-height: 138px; }
}
/* /SZAMI homepage hero collage 2026-09-26 */

/* SZAMI pride and results: category page only */
html.itemid-113.view-category .com-content-category-blog article img{max-width:100%;height:auto!important;width:417.5px!important}html.itemid-113.view-category .com-content-category-blog article img[src$="Zongoraverseny.JPG"]{width:368px!important}html.itemid-113.view-category .szami-pride-card{display:grid;grid-template-columns:160px minmax(0,1fr);gap:24px} @media(max-width:600px){html.itemid-113.view-category .szami-pride-card{grid-template-columns:1fr}html.itemid-113.view-category .com-content-category-blog article img{max-width:100%;width:240px!important}html.itemid-113.view-category .com-content-category-blog article img[src$="Zongoraverseny.JPG"]{width:220px!important}}
