/* Font Awesome ikonok */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css");

/* =====================================================
   SMIG – VÉGLEGES HEADER + MENÜ (2025)
   Tiszta verzió – nincs ütközés, nincs override káosz
===================================================== */

/* Alapszínek */
:root {
    --cassiopeia-color-primary: #a30003;
    --smig-red: #a30003;
    --smig-red-dark: #7a0002;
}

/* HEADER háttér + árnyék */
header.site-header {
    background: #a30003 !important;
    padding: 12px 20px !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
    position: relative;
    z-index: 200;
}

/* LOGÓ + MENÜ EGY SORBAN – FLEX */
header.site-header .container-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 18px;
}

/* -----------------------------------------------------
   LOGÓ BLOKK (MODULBAN HASZNÁLOD – EZT HAGYOM ÉRINTETLENÜL)
------------------------------------------------------ */
header.site-header .navbar-brand img {
    max-height: 70px !important;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* -----------------------------------------------------
   MENÜ JOBB OLDALT (DESKTOP)
------------------------------------------------------ */
header.site-header nav {
    margin-left: auto !important;
}

header.site-header .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    gap: 6px;
}

/* MENÜ LINKEK – MINDIG FEHÉR */
header.site-header .navbar-nav > li > a {
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 700;
    padding: 10px 14px !important;
    border-radius: 8px;
    transition: 0.25s;
    white-space: nowrap;
}

header.site-header .navbar-nav > li > a:hover {
    background: rgba(255,255,255,0.15);
}

header.site-header .navbar-nav > li > a.active {
    background: rgba(255,255,255,0.22) !important;
}

/* DROPDOWN NYILAK FEHÉREK */
header.site-header .icon-angle-down,
header.site-header .caret {
    color: #fff !important;
}

/* -----------------------------------------------------
   HAMBURGER MENÜ (MOBIL)
------------------------------------------------------ */
.navbar-toggler {
    border: 2px solid #fff !important;
    padding: 6px 12px !important;
    border-radius: 10px;
}

.navbar-toggler-icon {
    background-image: none !important;
    width: 28px;
    height: 28px;
}

.navbar-toggler-icon::before {
    content: "≡";
    font-size: 26px;
    color: #fff;
}

/* -----------------------------------------------------
   MOBIL MENÜ LENYITVA (0–992px)
------------------------------------------------------ */
@media (max-width: 992px) {

    /* Logó középre */
    header.site-header .container-header {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    header.site-header nav.navbar {
        width: 100%;
    }

    /* Lenyitott menü – vörös */
    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        background: #a30003 !important;
        padding: 15px;
        border-radius: 0 0 14px 14px;
        width: 100%;
        margin-top: 10px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.25);
    }

    /* Mobilon menüpontok középre */
    .navbar-nav {
        flex-direction: column !important;
        width: 100%;
        text-align: center;
    }

    .navbar-nav > li > a {
        padding: 12px 14px !important;
        font-size: 1.05rem;
    }
}
/* ================================
   SMIG gomb (külön osztály)
================================ */
.smig-btn {
    background: var(--smig-red) !important;
    border: 2px solid var(--smig-red) !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 10px 18px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 14px rgba(163,0,3,0.25);
    transition: 0.25s ease;
    text-decoration: none !important;
    display: inline-block;
}
.smig-btn:hover,
.smig-btn:focus {
    background: var(--smig-red-dark) !important;
    border-color: var(--smig-red-dark) !important;
    transform: translateY(-2px);
    color: #fff !important;
}
/* ================================
   SMIG kártya (card)
================================ */
.smig-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(163,0,3,0.18);
    padding: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transition: 0.25s ease;
}
.smig-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
/* ================================
   SMIG doboz (szakasz-kiemelés)
================================ */
.smig-box {
    background: #fff;
    padding: 25px;
    border-left: 6px solid var(--smig-red);
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
    margin-bottom: 20px;
}
/* ================================
   SMIG keret
================================ */
.smig-border {
    border: 2px solid var(--smig-red);
    border-radius: 10px;
    padding: 15px;
}
/* ================================
   SMIG cím
================================ */
.smig-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--smig-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
/* ================================
   SMIG alcím
================================ */
.smig-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 10px;
}
/* ================================
   SMIG ikon sor
================================ */
.smig-icons i {
    color: var(--smig-red);
    font-size: 1.4rem;
    margin-right: 10px;
}
/* ================================
   SMIG képkártya
================================ */
.smig-img-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transition: 0.25s;
}
.smig-img-card img {
    width: 100%;
    display: block;
}
.smig-img-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.20);
}
/* ================================
   SMIG link
================================ */
.smig-link {
    color: var(--smig-red) !important;
    font-weight: 700;
    text-decoration: none;
}
.smig-link:hover {
    color: var(--smig-red-dark) !important;
    text-decoration: underline;
}
/* ================================
   SMIG háttér (light red)
================================ */
.smig-bg {
    background: #f8e4e4;
    padding: 20px;
    border-radius: 12px;
}

/* ===========================================
   SMIG SHRINK HEADER
   – alap: nagy méret
   – scroll után: kisebb méret
=========================================== */

/* Alaphelyzet (nagy header) */
header.site-header {
    background: #a30003 !important;
    padding: 18px 25px !important;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

/* Logó alapméret */
header.site-header .navbar-brand img {
    max-height: 70px !important;
    transition: max-height 0.3s ease;
}

/* Scroll után összement header */
header.site-header.shrink {
    padding: 6px 25px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

/* Scroll után kisebb logó */
header.site-header.shrink .navbar-brand img {
    max-height: 45px !important;
}
/* ===========================
   FOOTER – egyszínű SMIG vörös
=========================== */
footer.site-footer,
footer.footer {
    background: #a30003 !important;        /* SMIG red */
    color: #ffffff !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* Footer linkek fehérek */
footer.site-footer a,
footer.footer a {
    color: #ffffff !important;
    text-decoration: none;
    transition: .25s;
}

footer.site-footer a:hover,
footer.footer a:hover {
    color: #f7dada !important;             /* finom világos SMIG */
}
header.site-header .navbar-nav > li > a,
header.site-header .icon-angle-down,
header.site-header .caret {
    color: #ffffff !important;
}
header.site-header { background: #a30003 !important; }

/******************************
 * SMIG felvételi cikk design *
 ******************************/

/* Alap szöveg: 13 pt */
body {
  font-family: "DejaVu Sans", Arial, sans-serif;
  font-size: 13pt;
  line-height: 1.5;
  color: #000000;
}

/* Tartalomjegyzék doboz */
.toc.smig-box {
  background: #fafafa;
  border-left: 5px solid #a30003;
  border-radius: 10px;
}

.toc h2 {
  margin-top: 0;
}

.toc ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.toc li {
  margin-bottom: 0.4rem;
}

.toc a {
  text-decoration: none;
  color: #000000;
}

.toc a:hover {
  text-decoration: underline;
}

/* Hero blokk */
.smig-hero {
  background: linear-gradient(to right, #a30003, #b83a3c);
  color: #ffffff;
  padding: 1.8rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  text-align: center;
}

.smig-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.smig-hero .hero-sub {
  margin: 0;
}

/* Alap dobozok */
.smig-box {
  background: #fafafa;
  padding: 1.2rem 1.4rem;
  border-radius: 10px;
  border-left: 5px solid #a30003;
  margin-bottom: 1.8rem;
}

/* Kártyák (szakirány fejblokk) */
.smig-card {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  padding: 1rem 1.2rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.smig-card p {
  margin: 0.2rem 0 0;
}

/* Szakirány ikon */
.smig-icon {
  max-width: 70px;
  height: auto;
}

/* Lenyitható szekciók (details) – SMIG verzió */
details.smig-drop {
  border-radius: 10px;
  margin-bottom: 1.2rem;
  border: 1px solid #e2e2e2;
  overflow: hidden;
}

/* Summary sáv */
details.smig-drop > summary {
  background: #a30003;
  color: #ffffff;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
}

details.smig-drop > summary::marker {
  content: "";
}

details.smig-drop > summary::-webkit-details-marker {
  display: none;
}

/* Nyíl ikon summary-ben */
details.smig-drop > summary::after {
  content: "▼";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);/* Dokumentumtár hero */
.smig-docs-hero {
  background: linear-gradient(135deg, #a30003, #d44547);
  color: #fff;
  padding: 2rem 1.4rem;
  text-align: center;
  border-radius: 14px;
  margin-bottom: 2rem;
}
.smig-docs-hero h1 {
  margin: 0;
  font-size: 2.2rem;
}
.smig-docs-hero .sub {
  font-size: 1.1rem;
}

/* Accordion */
.smig-doc-drop {
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: .8rem 1rem;
  background: #fff;
}
.smig-doc-drop summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .6rem;
}

/* JCE kompatibilis forgó ikon */
.smig-doc-drop[open] summary i {
  transform: rotate(180deg);
  transition: .3s;
}

/* Dokumentum linkek */
.doc-links a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem 0;
  font-size: 14px;
  color: #333;
  text-decoration: none;
}
.doc-links a i {
  color: #a30003;
}

/* Globális sorkizárás */
p, .doc-links a {
  text-align: justify;
  font-size: 13pt;
}
/* Dokumentumtár hero */
.smig-docs-hero {
  background: linear-gradient(135deg, #a30003, #d44547);
  color: #fff;
  padding: 2rem 1.4rem;
  text-align: center;
  border-radius: 14px;
  margin-bottom: 2rem;
}
.smig-docs-hero h1 {
  margin: 0;
  font-size: 2.2rem;
}
.smig-docs-hero .sub {
  font-size: 1.1rem;
}

/* Accordion */
.smig-doc-drop {
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: .8rem 1rem;
  background: #fff;
}
.smig-doc-drop summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .6rem;
}

/* JCE kompatibilis forgó ikon */
.smig-doc-drop[open] summary i {
  transform: rotate(180deg);
  transition: .3s;
}

/* Dokumentum linkek */
.doc-links a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem 0;
  font-size: 14px;
  color: #333;
  text-decoration: none;
}
.doc-links a i {
  color: #a30003;
}

/* Globális sorkizárás */
p, .doc-links a {
  text-align: justify;
  font-size: 13pt;
}

  transition: transform 0.3s ease;
  font-size: 0.9rem;
  color: #ffffff;
}

details.smig-drop[open] > summary::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Lenyíló törzs */
details.smig-drop .detail-body,
details.smig-drop > div {
  padding: 1rem 1.2rem 1.2rem;
  background: #ffffff;
}

/* Általános <details> (GYIK) */
details:not(.smig-drop) {
  margin-bottom: 0.8rem;
  border-radius: 8px;
  border: 1px solid #e2e2e2;
  background: #fafafa;
}

details:not(.smig-drop) > summary {
  padding: 0.7rem 1rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

details:not(.smig-drop) > summary::marker {
  content: "";
}

details:not(.smig-drop) > summary::-webkit-details-marker {
  display: none;
}

details:not(.smig-drop)[open] > summary {
  border-bottom: 1px solid #e2e2e2;
}
/* ===== SZŰRŐGOMBOK ===== */

.smig-filter-buttons {
  margin: 1rem 0 2rem 0;
  text-align: center;
}

.filter-btn {
  background: #e9e9e9;
  border: 1px solid #ccc;
  padding: 0.5rem 1rem;
  margin: 0.2rem;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: .3s;
}

.filter-btn:hover {
  background: #dcdcdc;
}

.filter-btn.active {
  background: #a30003;
  color: white;
  border-color: #a30003;
}
/* ===== SZŰRŐGOMBOK ===== */

.smig-filter-buttons {
  margin: 1rem 0 2rem 0;
  text-align: center;
}

.filter-btn {
  background: #e9e9e9;
  border: 1px solid #ccc;
  padding: 0.5rem 1rem;
  margin: 0.2rem;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: .3s;
}

.filter-btn:hover {
  background: #dcdcdc;
}

.filter-btn.active {
  background: #a30003;
  color: white;
  border-color: #a30003;
}

details:not(.smig-drop) > p,
details:not(.smig-drop) > div {
  padding: 0.7rem 1rem 1rem;
}

/* Figyelmeztető / fontos blokk */
.smig-alert {
  background: #fff3f3;
  border-left: 5px solid #a30003;
  padding: 1rem 1.1rem;
  margin: 1.2rem 0;
  border-radius: 8px;
}

.smig-alert h4 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: #a30003;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.smig-alert i {
  color: #a30003;
  font-size: 1.2rem;
}

/* Diákidézetek */
.smig-quote {
  background: #fff7f7;
  border-left: 4px solid #a30003;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

/* Reszponzív finomhangolás */
@media (max-width: 576px) {
  .smig-hero {
    padding: 1.2rem 1rem;
  }
  .smig-hero h1 {
    font-size: 1.5rem;
  }
  .smig-card {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* ========================================= */
/* SMIG – Sorkizárt cikkek                   */
/* Csak a cikk szövegeire hat!               */
/* ========================================= */

.smig-article p,
.smig-article li {
  text-align: justify;
  text-justify: inter-word;
  font-size: 13pt;
  line-height: 1.55;
}

/* ---------------------------- */
/* SMIG Dokumentumtár design   */
/* ---------------------------- */

.smig-docs-hero {
  background: linear-gradient(135deg, #a30003, #d44547);
  color: #fff;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-radius: 14px;
  margin-bottom: 2rem;
}

.smig-docs-hero h1 {
  font-size: 2.4rem;
  margin: 0;
}

.smig-docs-hero .sub {
  font-size: 1.2rem;
  opacity: .95;
  margin-top: .5rem;
}

/* Ikonrács */

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.doc-item {
  display: block;
  text-align: center;
  padding: 1.3rem 1rem;
  border: 1px solid #ddd;
  border-radius: 12px;
  text-decoration: none;
  background: #fff;
  color: #222;
  font-size: 13pt;
  transition: 0.25s;
}

.doc-item:hover {
  background: #f8e9ea;
  border-color: #a30003;
  transform: translateY(-3px);
}

.doc-item i {
  font-size: 42px;
  color: #a30003;
  margin-bottom: .5rem;
}

/* Fejlécek */
h2 {
  margin-top: 2.2rem;
  font-size: 1.7rem;
  border-left: 6px solid #a30003;
  padding-left: .6rem;
}

/* Bekezdések sorkizárása */
p {
  text-align: justify;
  font-size: 13pt;
}


/* Dokumentumtár hero */
.smig-docs-hero {
  background: linear-gradient(135deg, #a30003, #d44547);
  color: #fff;
  padding: 2rem 1.4rem;
  text-align: center;
  border-radius: 14px;
  margin-bottom: 2rem;
}
.smig-docs-hero h1 {
  margin: 0;
  font-size: 2.2rem;
}
.smig-docs-hero .sub {
  font-size: 1.1rem;
}

/* Accordion */
.smig-doc-drop {
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: .8rem 1rem;
  background: #fff;
}
.smig-doc-drop summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .6rem;
}

/* JCE kompatibilis forgó ikon */
.smig-doc-drop[open] summary i {
  transform: rotate(180deg);
  transition: .3s;
}

/* Dokumentum linkek */
.doc-links a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem 0;
  font-size: 14px;
  color: #333;
  text-decoration: none;
}
.doc-links a i {
  color: #a30003;
}

/* Globális sorkizárás */
p, .doc-links a {
  text-align: justify;
  font-size: 13pt;
}


/* SMIG – Dokumentumtár accordion design */

.smig-doc-category details {
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  background: #ffffff;
  border-radius: 12px;
  padding: .8rem 1rem;
}

.smig-doc-category summary {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a30003;
}

.smig-doc-category summary::-webkit-details-marker {
  display: none;
}

.smig-doc-category summary i {
  transition: .3s ease;
  color: #a30003;
  font-size: 18px;
}

.smig-doc-category details[open] summary i {
  transform: rotate(90deg);
}

/* Modulban listázott linkek formázása */
.smig-filelist a {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: .3rem 0;
  color: #222 !important;
  text-decoration: none !important;
}

.smig-filelist a:hover {
  color: #a30003 !important;
}

.smig-filelist i {
  color: #a30003;
}


/* Dokumentumtár kereső */
.smig-doc-searchbox {
  margin-bottom: 1.5rem;
  text-align: center;
}

#smigDocSearch {
  width: 90%;
  max-width: 500px;
  padding: 0.6rem 1rem;
  font-size: 15px;
  border: 2px solid #a30003;
  border-radius: 12px;
  outline: none;
  transition: .3s;
}

#smigDocSearch:focus {
  border-color: #7c0002;
  box-shadow: 0 0 6px rgba(163,0,3,0.4);
}


/* ===== SZŰRŐGOMBOK ===== */

.smig-filter-buttons {
  margin: 1rem 0 2rem 0;
  text-align: center;
}

.filter-btn {
  background: #e9e9e9;
  border: 1px solid #ccc;
  padding: 0.5rem 1rem;
  margin: 0.2rem;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: .3s;
}

.filter-btn:hover {
  background: #dcdcdc;
}

.filter-btn.active {
  background: #a30003;
  color: white;
  border-color: #a30003;
}
/* Keresőmező */
.smig-doc-searchbox {
  margin-bottom: 1rem;
  text-align: center;
}
#smigDocSearch {
  width: 90%;
  max-width: 500px;
  padding: 0.6rem 1rem;
  font-size: 14px;
  border: 2px solid #a30003;
  border-radius: 12px;
  outline: none;
}
#smigDocSearch:focus {
  border-color: #7c0002;
  box-shadow: 0 0 6px rgba(163,0,3,0.4);
}

/* Szűrőgombok */
.smig-filter-buttons {
  text-align: center;
  margin-bottom: 1.5rem;
}
.filter-btn {
  background: #e9e9e9;
  border: 1px solid #ccc;
  padding: 0.4rem 0.9rem;
  margin: 0.1rem;
  font-size: 13px;
  border-radius: 8px;
  cursor: pointer;
  transition: .3s;
}
.filter-btn:hover {
  background: #dcdcdc;
}
.filter-btn.active {
  background: #a30003;
  color: #fff;
  border-color: #a30003;
}

/* Accordion */
.smig-doc-category details {
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  padding: 0.4rem 0.8rem;
}
.smig-doc-category summary {
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a30003;
}
.smig-doc-category summary::-webkit-details-marker {
  display: none;
}
.smig-doc-category summary i {
  transition: .3s;
}
.smig-doc-category details[open] summary i {
  transform: rotate(90deg);
}

/* Linkek a listában */
.doc-inner a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  padding: 2px 0;
  text-decoration: none;
  color: #222;
}
.doc-inner a:hover {
  color: #a30003;
}
.doc-inner i {
  color: #a30003;
}


/* Főkategória doboz */
.smig-doc-box {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 8px 14px;
  margin-bottom: 1.2rem;
}

/* Lenyitható cím */
.smig-doc-box summary {
  cursor: pointer;
  font-size: 1.2rem;
  color: #a30003;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Lenyitás animáció ikon */
.smig-doc-box details[open] summary i {
  transform: rotate(90deg);
  transition: .3s;
}

/* Dokumentumrács */
.smig-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

/* Dokumentumkártya */
.smig-doc-card {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  text-decoration: none;
  color: #222;
  transition: .2s;
}

.smig-doc-card:hover {
  background: #fff3f3;
  border-color: #a30003;
  color: #a30003;
}

/* Ikon */
.smig-doc-card i {
  font-size: 2.4rem;
  margin-bottom: 8px;
  color: #a30003;
  display: block;
}

/* Cím */
.smig-doc-card span {
  font-size: 13pt;
  display: block;
  text-align: center;
}
/* Kereső + Szűrő */
.smig-doc-filter {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.smig-doc-filter input,
.smig-doc-filter select {
  padding: 0.6rem;
  font-size: 14px;
  border: 2px solid #a30003;
  border-radius: 8px;
}

/* Szöveg sorkizárt */
.smig-documents-container p,
.smig-doc-card p {
  text-align: justify;
}

/* Kategóriacím */
.doc-category-title {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 20px;
  color: #a30003;
  font-weight: bold;
}

/* GRID */
.smig-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

/* Kártya */
.smig-doc-card {
  background: #fff;
  border: 2px solid #a30003;
  padding: 1.2rem;
  border-radius: 12px;
  text-align: center;
  transition: 0.25s;
}

.smig-doc-card i {
  font-size: 42px;
  color: #a30003;
  margin-bottom: 0.8rem;
}

.smig-doc-card:hover {
  background: #a30003;
  color: #fff;
}

.smig-doc-card:hover i {
  color: #fff;
}

.doc-title {
  font-weight: bold;
  margin-bottom: 0.8rem;
}

/* Gomb */
.doc-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  background: #30638d;
  color: #fff !important;
  text-decoration: none;
  font-size: 13px;
}

.doc-btn:hover {
  background: #254b6a;
}

/* Konténer alapbeállítások */
.smig-documents-container {
  font-size: 13pt;
}

/* Szűrősáv */
.smig-doc-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.smig-doc-filter input,
.smig-doc-filter select {
  padding: 0.4rem 0.6rem;
  font-size: 13px;
  border: 2px solid #a30003;
  border-radius: 8px;
}

/* Morzsa */
.smig-doc-breadcrumb {
  margin-bottom: 1.2rem;
  font-size: 12px;
  background: #fff7f7;
  border-left: 4px solid #a30003;
  padding: 0.5rem 0.7rem;
}

/* Kategória blokkok */
.doc-category {
  margin-bottom: 2rem;
  border-radius: 10px;
  border: 1px solid #eee;
  background: #fafafa;
}

.doc-category-title {
  margin: 0;
  padding: 0.7rem 0.9rem;
  background: #a30003;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
}

.doc-category-title span {
  display: inline-flex;
  align-items: center;
}

.doc-cat-toggle-icon i {
  font-size: 0.85rem;
}

/* Lenyíló rész (accordion) */
.doc-category-body {
  padding: 0.9rem 0.9rem 1.1rem;
  transition: max-height 0.25s ease, padding 0.25s ease;
}

/* Összecsukott állapot */
.doc-category.collapsed .doc-category-body {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

/* GRID */
.smig-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

/* Kártyák */
.smig-doc-card {
  background: #ffffff;
  border: 2px solid #a30003;
  border-radius: 10px;
  text-align: center;
  transition: 0.2s;
}

.smig-doc-card .doc-link {
  display: block;
  padding: 0.8rem 0.9rem 1rem;
  text-decoration: none;
  color: inherit;
}

.smig-doc-card:hover {
  background: #a30003;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

/* Ikon */
.doc-icon-wrap {
  margin-bottom: 0.5rem;
}

.doc-icon-wrap i {
  font-size: 36px;
  color: #a30003;
}

.smig-doc-card:hover .doc-icon-wrap i {
  color: #ffffff;
}

/* Cím */
.doc-title {
  font-weight: bold;
  font-size: 13px;
  margin: 0;
  text-align: justify;
}

/* Sorkizárt minden leírás */
.smig-documents-container p {
  text-align: justify;
}

/* Mobil finomhangolás */
@media (max-width: 576px) {
  .doc-category-title {
    font-size: 14px;
  }
}
/* ====== SZÍNKULCS KATEGÓRIÁKNAK ====== */
.doc-category[data-category="alapdokumentumok"] .smig-doc-card {
  border-color: #a30003;
}
.doc-category[data-category="alapdokumentumok"] .smig-doc-card i {
  color: #a30003;
}

.doc-category[data-category="felveteli"] .smig-doc-card {
  border-color: #30638d;
}
.doc-category[data-category="felveteli"] .smig-doc-card i {
  color: #30638d;
}

.doc-category[data-category="erettsegi"] .smig-doc-card {
  border-color: #b8860b;
}
.doc-category[data-category="erettsegi"] .smig-doc-card i {
  color: #b8860b;
}

.doc-category[data-category="kozossegi_szolgalat"] .smig-doc-card {
  border-color: #388e3c;
}
.doc-category[data-category="kozossegi_szolgalat"] .smig-doc-card i {
  color: #388e3c;
}

.doc-category[data-category="Menza"] .smig-doc-card {
  border-color: #f57c00;
}
.doc-category[data-category="Menza"] .smig-doc-card i {
  color: #f57c00;
}

.doc-category[data-category="munkaterv"] .smig-doc-card {
  border-color: #6a1b9a;
}
.doc-category[data-category="munkaterv"] .smig-doc-card i {
  color: #6a1b9a;
}

.doc-category[data-category="szuloknek"] .smig-doc-card {
  border-color: #00838f;
}
.doc-category[data-category="szuloknek"] .smig-doc-card i {
  color: #00838f;
}

.doc-category[data-category="urlapok"] .smig-doc-card {
  border-color: #1e3a8a;
}
.doc-category[data-category="urlapok"] .smig-doc-card i {
  color: #1e3a8a;
}

.doc-category[data-category="egyeb"] .smig-doc-card {
  border-color: #6e6e6e;
}
.doc-category[data-category="egyeb"] .smig-doc-card i {
  color: #6e6e6e;
}

/* Hover egységes élmény */
.smig-doc-card:hover {
  background: #a30003;
  border-color: #a30003;
}
.smig-doc-card:hover i {
  color: #ffffff;
}
/* ====== SMIG Kapcsolat űrlap dizájn ====== */
.com-contact .contact-form {
  background: #ffffffd9; /* finoman áttetsző fehér */
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-left: 6px solid #a30003;
  margin-bottom: 30px;
}

.com-contact h1, 
.com-contact h2 {
  color: #a30003;
  font-weight: 700;
}

.com-contact .contact-form label {
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  display: block;
}

.com-contact .contact-form input,
.com-contact .contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 18px;
  transition: 0.3s;
}

/* fókusz állapot */
.com-contact .contact-form input:focus,
.com-contact .contact-form textarea:focus {
  border-color: #a30003;
  box-shadow: 0 0 6px rgba(163,0,3,0.3);
}

/* Elküldés gomb */
.com-contact .contact-form button,
.com-contact .button {
  background: #a30003;
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.com-contact .contact-form button:hover,
.com-contact .button:hover {
  background: #8d0003;
}

/* A kapcsolattartó adatai */
.com-contact .contact-address,
.com-contact .contact-miscinfo,
.com-contact .contact-links {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #a30003;
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}
/* ========== SMIG KÁRTYA FIX – TELJESEN LETILTJA A Cassiopeia FLEX/GRID ÖRÖKLÉST ========== */

.smig-card, 
.smig-card * {
  display: block !important;
  float: none !important;
  flex: none !important;
  flex-direction: column !important;
  grid: none !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  clear: both !important;
  width: 100% !important;
  text-align: left !important;
}

/* Az ikon + cím sor maradhat szépen egy vonalban */
.smig-card h3,
.smig-card i {
  display: inline-block !important;
  width: auto !important;
  clear: none !important;
}
/* ===== TELJES FLEX/GRID RESET A KONKRÉT KAPCSOLAT OLDALRA ===== */
.smig-container, 
.smig-container * {
  flex: none !important;
  float: none !important;
  clear: none !important;
  grid: none !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
}

/* ===== MINDEN SZÖVEG BLOKKOSÍTÁSA ===== */
.smig-container p,
.smig-container strong,
.smig-container span,
.smig-container a {
  display: block !important;
  width: 100% !important;
  text-align: left !important;
  margin: 6px 0 !important;
}

/* ===== MÉGSEB szétbontás ikonokra ===== */
.smig-container i {
  display: inline-block !important;
  width: auto !important;
  margin-right: 6px;
  color: #a30003;
}

/* ===== KÁRTYÁK BANJA ===== */
.smig-card {
  background: rgba(255,255,255,0.32);
  padding: 26px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 6px 22px rgba(0,0,0,0.15);
}

/* ===== KÁRTYA CÍME ===== */
.smig-card h3 {
  display: flex !important;
  align-items: center;
  gap: 6px;
  color: #a30003 !important;
  margin-bottom: 10px;
}

/* ===== GRID A VEZETŐI DOBOZOKHOZ ===== */
.smig-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
@media(max-width: 992px){ .smig-grid { grid-template-columns: repeat(2, 1fr);} }
@media(max-width: 768px){ .smig-grid { grid-template-columns: 1fr;} }

/* HERO kép */
.smig-hero-img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 25px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.2);
}

/* Üvegkártyák */
.smig-card {
  background: rgba(255,255,255,0.32);
  padding: 26px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.15);
  margin-bottom: 25px;
}

/* Cím: ikon + név egy sorban */
.smig-card h3 {
  color: #a30003;
  font-weight: 700;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Adatsor */
.smig-row {
  margin: 14px 0;
}

/* Ikon + cím egy sorban */
.smig-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #a30003;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

/* Ikon */
.smig-label i {
  font-size: 1.2rem;
  color: #a30003;
}

/* Érték — beljebb húzva */
.smig-value {
  display: block;
  margin-left: 28px;
  line-height: 1.6;
}

/* GRID elrendezés a vezetői kártyákhoz */
.smig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
@media(max-width: 992px) {
  .smig-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 768px) {
  .smig-grid { grid-template-columns: 1fr; }
}
/* =========================================
   SMIG — MODAL GLOBÁLIS DESIGN
========================================= */

.tantestulet-modal .modal-dialog {
  max-width: 900px;
}

.tantestulet-modal .modal-content {
  border: 3px solid var(--smig-red, #a30003);
  border-radius: 16px;
  padding: 20px 25px;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.tantestulet-modal .modal-header {
  border-bottom: 2px solid #eee;
  margin-bottom: 10px;
  padding-bottom: 12px;
}

.tantestulet-modal .modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--smig-red, #a30003);
}

.tantestulet-modal .btn-close {
  filter: invert(30%) sepia(70%) saturate(3000%) hue-rotate(350deg);
}

/* FOTÓ DESIGN */
.tantestulet-modal .modal-photo {
  width: 100%;
  max-width: 280px;
  height: 360px;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  border: 4px solid var(--smig-red, #a30003);
  margin-bottom: 10px;
}

/* SZÖVEGEK */
.tantestulet-modal p {
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: 1rem;
}

.tantestulet-modal strong {
  color: var(--smig-red, #a30003);
  font-weight: 700;
}

/* LÁBLÉC */
.tantestulet-modal .modal-footer button {
  background: var(--smig-red, #a30003);
  border-color: var(--smig-red, #a30003);
  color: white;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 10px;
  transition: 0.25s ease;
}

.tantestulet-modal .modal-footer button:hover {
  background: #7a0002;
  border-color: #7a0002;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .tantestulet-modal .modal-photo {
    max-width: 100%;
    height: 280px;
  }
}
