
/* =========================================================
   ABAD.HU – TUDÁSTÁR / PÁLYÁZAT
   Egyedi pályázat – kétoszlopos elrendezés

   Szerkezet:
   - teljes szélességű hero
   - bal oldali sötét információs panel
   - jobb oldali részletes tartalom
   - mobilon egyoszlopos elrendezés
========================================================= */


/* =========================================================
   ALAP
========================================================= */

.tudastar__detail {
    width: 100%;
    margin: 0;
    padding: 0 0 60px;
    color: #172033;
}


/* =========================================================
   HERO
========================================================= */

.tudastar__detail-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 0 38px;
    padding: 58px 30px 62px;

    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(255, 214, 74, 0.13),
            transparent 30%
        ),
        radial-gradient(
            circle at 20% 100%,
            rgba(55, 115, 255, 0.16),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #071451 0%,
            #0c1d78 52%,
            #09175f 100%
        );

    color: #ffffff;
    box-shadow:
        0 18px 40px rgba(7, 20, 81, 0.18);
}


/*
   Finom fénycsík a hero jobb oldalán.
*/

.tudastar__detail-hero::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -80px;

    width: 360px;
    height: 360px;

    border: 1px solid rgba(255, 215, 80, 0.12);
    border-radius: 50%;

    box-shadow:
        0 0 80px rgba(255, 215, 80, 0.08);

    pointer-events: none;
}


.tudastar__detail-hero-inner {
    position: relative;
    z-index: 2;

    width: min(1180px, 100%);
    margin: 0 auto;
}


.tudastar__detail-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 15px;

    color: #f3c84b;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}


.tudastar__detail-eyebrow i {
    font-size: 16px;
}


.tudastar__detail-title {
    max-width: 980px;

    margin: 0;

    color: #ffffff;

    font-size: clamp(30px, 4vw, 50px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.025em;
}


.tudastar__detail-hero-lead {
    max-width: 850px;

    margin-top: 20px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   KÉTOSZLOPOS ELRENDEZÉS
========================================================= */

.tudastar__detail-layout {
    display: grid;

    grid-template-columns:
        minmax(260px, 330px)
        minmax(0, 1fr);

    gap: 38px;

    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;

    align-items: start;
}


/* =========================================================
   BAL OLDALI INFORMÁCIÓS SÁV
========================================================= */

.tudastar__detail-sidebar {
    position: sticky;
    top: 20px;

    overflow: hidden;

    border-radius: 14px;

    background:
        radial-gradient(
            circle at 85% 5%,
            rgba(255, 215, 80, 0.10),
            transparent 30%
        ),
        linear-gradient(
            155deg,
            #0c1d78 0%,
            #08165c 58%,
            #061044 100%
        );

    color: #ffffff;

    box-shadow:
        0 16px 36px rgba(7, 20, 81, 0.18);

    align-self: start;
}


/* ---------------------------------------------------------
   SIDEBAR FEJLÉC
--------------------------------------------------------- */

.tudastar__sidebar-head {
    padding: 27px 25px 24px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}


.tudastar__sidebar-label {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 11px;

    color: #f3c84b;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


.tudastar__sidebar-label i {
    flex: 0 0 auto;

    font-size: 15px;
}


.tudastar__sidebar-title {
    margin: 0;

    color: #ffffff;

    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
}


.tudastar__sidebar-identifier {
    margin-top: 9px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   SIDEBAR BLOKKOK
========================================================= */

.tudastar__sidebar-block {
    padding: 19px 25px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}


.tudastar__sidebar-block .tudastar__sidebar-label {
    margin-bottom: 8px;
}


.tudastar__sidebar-value {
    color: rgba(255, 255, 255, 0.91);

    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
}


.tudastar__sidebar-value--large {
    color: #ffffff;

    font-size: 18px;
    font-weight: 700;
}


.tudastar__sidebar-separator {
    display: inline-block;

    margin: 0 4px;

    color: rgba(255, 255, 255, 0.42);
}


.tudastar__sidebar-note {
    margin-top: 7px;

    color: rgba(255, 255, 255, 0.58);

    font-size: 12px;
    line-height: 1.55;
}


/* =========================================================
   ÁLLAPOT
========================================================= */

.tudastar__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 12px;

    border: 1px solid transparent;
    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}


.tudastar__status i {
    font-size: 14px;
}


/* Aktív */

.tudastar__status--active {
    border-color: rgba(112, 226, 159, 0.25);

    background: rgba(68, 198, 127, 0.13);

    color: #8ff0b5;
}


/* Hamarosan */

.tudastar__status--upcoming {
    border-color: rgba(243, 200, 75, 0.25);

    background: rgba(243, 200, 75, 0.12);

    color: #f7d76e;
}


/* Lezárt */

.tudastar__status--closed {
    border-color: rgba(255, 255, 255, 0.16);

    background: rgba(255, 255, 255, 0.07);

    color: rgba(255, 255, 255, 0.65);
}


/* =========================================================
   CÉLCSOPORTOK
========================================================= */

.tudastar__sidebar-block--targets {
    padding-bottom: 22px;
}


.tudastar__target-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.tudastar__target-item {
    display: flex;
    align-items: center;
    gap: 11px;

    min-width: 0;

    padding: 9px 10px;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;

    background: rgba(255, 255, 255, 0.045);

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.tudastar__target-item:hover {
    border-color: rgba(243, 200, 75, 0.25);

    background: rgba(255, 255, 255, 0.075);

    transform: translateX(2px);
}


.tudastar__target-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 31px;

    width: 31px;
    height: 31px;

    border-radius: 7px;

    background: rgba(243, 200, 75, 0.12);

    color: #f3c84b;
}


.tudastar__target-icon i {
    font-size: 15px;
}


.tudastar__target-name {
    min-width: 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}


/* =========================================================
   LINKEK
========================================================= */

.tudastar__sidebar-block--links {
    padding-bottom: 22px;
}


.tudastar__sidebar-link {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    padding: 7px 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;

    text-decoration: none;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}


.tudastar__sidebar-link:hover,
.tudastar__sidebar-link:focus {
    color: #f3c84b;

    text-decoration: none;

    padding-left: 3px;
}


.tudastar__sidebar-link i {
    flex: 0 0 auto;

    margin-top: 2px;

    color: #f3c84b;

    font-size: 14px;
}


/* =========================================================
   UTOLSÓ MÓDOSÍTÁS
========================================================= */

.tudastar__sidebar-modified {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    padding: 19px 25px 22px;

    color: rgba(255, 255, 255, 0.48);

    font-size: 11px;
    line-height: 1.5;
}


.tudastar__sidebar-modified > i {
    flex: 0 0 auto;

    margin-top: 1px;

    color: rgba(243, 200, 75, 0.75);

    font-size: 14px;
}


.tudastar__sidebar-modified strong {
    color: rgba(255, 255, 255, 0.72);

    font-weight: 500;
}


/* =========================================================
   JOBB OLDALI TARTALOM
========================================================= */

.tudastar__detail-body {
    min-width: 0;

    padding: 0 0 20px;
}


/* =========================================================
   TARTALMI SZEKCIÓ
========================================================= */

.tudastar__detail-section {
    margin: 0 0 43px;
}


.tudastar__detail-section:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   SZEKCIÓ FEJLÉC
--------------------------------------------------------- */

.tudastar__detail-section-heading {
    display: flex;
    align-items: center;
    gap: 13px;

    margin: 0 0 20px;
}


.tudastar__detail-section-heading h2 {
    margin: 0;

    color: #0c1d78;

    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}


.tudastar__detail-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 39px;

    width: 39px;
    height: 39px;

    border-radius: 10px;

    background: rgba(12, 29, 120, 0.07);

    color: #0c1d78;
}


.tudastar__detail-section-icon i {
    font-size: 18px;
}


/* =========================================================
   LEAD
========================================================= */

.tudastar__lead {
    padding: 22px 24px;

    border-left: 4px solid #f3c84b;
    border-radius: 0 9px 9px 0;

    background: #f7f8fc;

    color: #364052;

    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   SZÖVEGES TARTALOM
========================================================= */

.tudastar__content {
    color: #354052;

    font-size: 15px;
    line-height: 1.8;
}


.tudastar__content p {
    margin: 0 0 1.1em;
}


.tudastar__content p:last-child {
    margin-bottom: 0;
}


.tudastar__content h3,
.tudastar__content h4 {
    margin-top: 1.8em;
    margin-bottom: 0.7em;

    color: #0c1d78;

    font-weight: 700;
    line-height: 1.35;
}


.tudastar__content h3 {
    font-size: 20px;
}


.tudastar__content h4 {
    font-size: 17px;
}


.tudastar__content ul,
.tudastar__content ol {
    margin-top: 0.7em;
    margin-bottom: 1.2em;

    padding-left: 1.6em;
}


.tudastar__content li {
    margin-bottom: 0.45em;
}


.tudastar__content strong {
    color: #202b3d;

    font-weight: 700;
}


.tudastar__content a {
    color: #0c1d78;

    text-decoration: underline;
    text-decoration-color: rgba(12, 29, 120, 0.3);
    text-underline-offset: 2px;
}


.tudastar__content a:hover {
    color: #09145b;
}


/* =========================================================
   JOBB OLDALI ALFEJEZETEK
========================================================= */

.tudastar__detail-subsection {
    margin-top: 27px;
    padding-top: 24px;

    border-top: 1px solid #e7e9ef;
}


.tudastar__detail-subsection h3 {
    display: flex;
    align-items: center;
    gap: 9px;

    margin: 0 0 12px;

    color: #0c1d78;

    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}


.tudastar__detail-subsection h3 i {
    color: #d6a900;

    font-size: 16px;
}


/* =========================================================
   FINOM ELVÁLASZTÓ
========================================================= */

.tudastar__detail-section + .tudastar__detail-section {
    padding-top: 2px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .tudastar__detail-hero {
        padding: 48px 25px 52px;
        margin-bottom: 30px;
    }


    .tudastar__detail-layout {
        grid-template-columns:
            minmax(235px, 290px)
            minmax(0, 1fr);

        gap: 25px;

        width: min(1180px, calc(100% - 30px));
    }


    .tudastar__sidebar-head,
    .tudastar__sidebar-block {
        padding-left: 20px;
        padding-right: 20px;
    }


    .tudastar__sidebar-modified {
        padding-left: 20px;
        padding-right: 20px;
    }


    .tudastar__detail-section-heading h2 {
        font-size: 22px;
    }

}


/* =========================================================
   MOBIL / EGYOSZLOPOS
========================================================= */

@media (max-width: 767.98px) {

    .tudastar__detail {
        padding-bottom: 40px;
    }


    .tudastar__detail-hero {
        padding: 39px 20px 43px;

        margin-bottom: 25px;

        border-radius: 0;
    }


    .tudastar__detail-title {
        font-size: clamp(27px, 8vw, 38px);
        line-height: 1.16;
    }


    .tudastar__detail-hero-lead {
        font-size: 15px;
        line-height: 1.65;
    }


    .tudastar__detail-layout {
        display: grid;

        grid-template-columns: 1fr;

        gap: 28px;

        width: min(100% - 24px, 680px);
    }


    /*
       Mobilon a sidebar már nem sticky.
    */

    .tudastar__detail-sidebar {
        position: relative;
        top: auto;
    }


    .tudastar__detail-body {
        padding-bottom: 0;
    }


    .tudastar__detail-section {
        margin-bottom: 35px;
    }


    .tudastar__detail-section-heading {
        align-items: flex-start;

        gap: 10px;

        margin-bottom: 16px;
    }


    .tudastar__detail-section-heading h2 {
        padding-top: 5px;

        font-size: 21px;
    }


    .tudastar__detail-section-icon {
        flex-basis: 35px;

        width: 35px;
        height: 35px;

        border-radius: 8px;
    }


    .tudastar__detail-section-icon i {
        font-size: 16px;
    }


    .tudastar__lead {
        padding: 18px 18px;

        font-size: 15px;
        line-height: 1.7;
    }


    .tudastar__content {
        font-size: 15px;
        line-height: 1.75;
    }

}


/* =========================================================
   KIS MOBIL
========================================================= */

@media (max-width: 479.98px) {

    .tudastar__detail-hero {
        padding: 32px 17px 37px;
    }


    .tudastar__detail-eyebrow {
        font-size: 10px;
    }


    .tudastar__detail-title {
        font-size: 27px;
    }


    .tudastar__detail-layout {
        width: calc(100% - 16px);
    }


    .tudastar__sidebar-head,
    .tudastar__sidebar-block {
        padding-left: 17px;
        padding-right: 17px;
    }


    .tudastar__sidebar-modified {
        padding-left: 17px;
        padding-right: 17px;
    }


    .tudastar__sidebar-title {
        font-size: 18px;
    }


    .tudastar__sidebar-value--large {
        font-size: 17px;
    }


    .tudastar__detail-section-heading h2 {
        font-size: 20px;
    }


    .tudastar__content {
        font-size: 14.5px;
    }

}


/* =========================================================
   NYOMTATÁS
========================================================= */

@media print {

    .tudastar__detail-hero {
        background: #ffffff !important;

        color: #000000;

        box-shadow: none;
    }


    .tudastar__detail-title {
        color: #000000;
    }


    .tudastar__detail-eyebrow {
        color: #000000;
    }


    .tudastar__detail-layout {
        display: block;

        width: 100%;
    }


    .tudastar__detail-sidebar {
        position: static;

        margin-bottom: 30px;

        border: 1px solid #cccccc;

        background: #ffffff !important;

        color: #000000;

        box-shadow: none;
    }


    .tudastar__sidebar-title,
    .tudastar__sidebar-value,
    .tudastar__target-name {
        color: #000000;
    }


    .tudastar__sidebar-label {
        color: #333333;
    }


    .tudastar__sidebar-link {
        color: #000000;
    }


    .tudastar__detail-section {
        break-inside: avoid;
    }

}
/* ============================================================
   ABAD.HU – PÁLYÁZATI LEÍRÁS
   ============================================================

   Fájl:
   /komponensek/tudastar/palyazat/palyazat-leiras.css

   Feladat:
   - pályázati adatlap részletes leírásának formázása
   - egységes tipográfia és térközök
   - hivatkozások, listák és kiemelések kezelése

   A videókomponens (.abad-video-*) stílusait NEM módosítja.
   ============================================================ */


/* ------------------------------------------------------------
   ALAP
   ------------------------------------------------------------ */

.palyazat-leiras {
    color: #354052;
    font-size: 15px;
    line-height: 1.8;
}


/* ------------------------------------------------------------
   BEKEZDÉSEK
   ------------------------------------------------------------ */

.palyazat-leiras p {
    margin: 0 0 1.1em;
}

.palyazat-leiras p:last-child {
    margin-bottom: 0;
}


/* ------------------------------------------------------------
   CÍMSOROK
   ------------------------------------------------------------ */

.palyazat-leiras h2,
.palyazat-leiras h3,
.palyazat-leiras h4 {
    color: #0c1d78;
    font-weight: 700;
    line-height: 1.35;
}

.palyazat-leiras h2 {
    margin: 2em 0 0.75em;
    font-size: 22px;
}

.palyazat-leiras h3 {
    margin: 1.8em 0 0.7em;
    font-size: 20px;
}

.palyazat-leiras h4 {
    margin: 1.5em 0 0.65em;
    font-size: 17px;
}


/*
 * Az első címsor ne kapjon fölösleges felső térközt.
 */

.palyazat-leiras > h2:first-child,
.palyazat-leiras > h3:first-child,
.palyazat-leiras > h4:first-child {
    margin-top: 0;
}


/* ------------------------------------------------------------
   LISTÁK
   ------------------------------------------------------------ */

.palyazat-leiras ul,
.palyazat-leiras ol {
    margin-top: 0.7em;
    margin-bottom: 1.2em;
    padding-left: 1.6em;
}

.palyazat-leiras li {
    margin-bottom: 0.45em;
}

.palyazat-leiras li:last-child {
    margin-bottom: 0;
}


/* ------------------------------------------------------------
   KIEMELÉSEK
   ------------------------------------------------------------ */

.palyazat-leiras strong,
.palyazat-leiras b {
    color: #202b3d;
    font-weight: 700;
}


/* ------------------------------------------------------------
   HIVATKOZÁSOK
   ------------------------------------------------------------ */

.palyazat-leiras a {
    color: #0c1d78;
    text-decoration: underline;
    text-decoration-color: rgba(12, 29, 120, 0.3);
    text-underline-offset: 2px;
    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}

.palyazat-leiras a:hover {
    color: #09145b;
    text-decoration-color: rgba(9, 20, 91, 0.6);
}


/* ------------------------------------------------------------
   VÍZSZINTES ELVÁLASZTÓ
   ------------------------------------------------------------ */

.palyazat-leiras hr {
    margin: 2em 0;
    border: 0;
    border-top: 1px solid rgba(12, 29, 120, 0.10);
}


/* ------------------------------------------------------------
   IDÉZET
   ------------------------------------------------------------ */

.palyazat-leiras blockquote {
    margin: 1.5em 0;
    padding: 1em 1.25em;
    border-left: 3px solid #d6ad45;
    background: rgba(12, 29, 120, 0.035);
    color: #4a5568;
}


/* ------------------------------------------------------------
   KÓD / TECHNIKAI INFORMÁCIÓ
   ------------------------------------------------------------ */

.palyazat-leiras code {
    padding: 0.15em 0.4em;
    border-radius: 4px;
    background: rgba(12, 29, 120, 0.06);
    color: #0c1d78;
    font-size: 0.92em;
}

.palyazat-leiras pre {
    margin: 1.5em 0;
    padding: 1em 1.25em;
    overflow-x: auto;
    border-radius: 8px;
    background: #f5f7fb;
    border: 1px solid rgba(12, 29, 120, 0.08);
    line-height: 1.6;
}

.palyazat-leiras pre code {
    padding: 0;
    background: transparent;
}


/* ------------------------------------------------------------
   TÁBLÁZAT
   ------------------------------------------------------------ */

.palyazat-leiras table {
    width: 100%;
    margin: 1.5em 0;
    border-collapse: collapse;
    font-size: 14px;
}

.palyazat-leiras th,
.palyazat-leiras td {
    padding: 0.7em 0.8em;
    border: 1px solid rgba(12, 29, 120, 0.10);
    text-align: left;
    vertical-align: top;
}

.palyazat-leiras th {
    background: rgba(12, 29, 120, 0.045);
    color: #0c1d78;
    font-weight: 700;
}


/* ------------------------------------------------------------
   KÉPEK
   ------------------------------------------------------------ */

.palyazat-leiras img {
    max-width: 100%;
    height: auto;
}


/* ------------------------------------------------------------
   KISEBB KÉPERNYŐ
   ------------------------------------------------------------ */

@media (max-width: 767.98px) {

    .palyazat-leiras {
        font-size: 15px;
        line-height: 1.75;
    }

    .palyazat-leiras h2 {
        font-size: 20px;
        margin-top: 1.8em;
    }

    .palyazat-leiras h3 {
        font-size: 18px;
    }

    .palyazat-leiras h4 {
        font-size: 16px;
    }

    .palyazat-leiras ul,
    .palyazat-leiras ol {
        padding-left: 1.4em;
    }

    .palyazat-leiras table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}


/* ------------------------------------------------------------
   NYOMTATÁS
   ------------------------------------------------------------ */

@media print {

    .palyazat-leiras {
        color: #000;
        font-size: 11pt;
        line-height: 1.6;
    }

    .palyazat-leiras h2,
    .palyazat-leiras h3,
    .palyazat-leiras h4 {
        color: #000;
        break-after: avoid;
    }

    .palyazat-leiras a {
        color: #000;
        text-decoration: underline;
    }
}
