/*
Theme Name: NewsMatic Pro Child
Template: newsmatic-pro-premium
Version: 1.1
*/

/*****************************************************/
/***** 1. ÁLTALÁNOS MEGJELENÉS ÉS JAVÍTÁSOK **********/
/*****************************************************/

/*
.post-thumb-wrap {
    max-width: 200px; 
    height: auto;
    min-height: 100px; 
    margin-bottom: 10px;
}
*/

.post-thumb-wrap.no-feat-img {
    height: 50px !important;
    min-height: 50px !important;
}

.figyelmezteto-stilus {
    background-color: #fff8e1 !important;
    border-left: 10px solid #ffc107;
    padding: 30px !important;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.figyelmezteto-stilus::before {
    content: "⚠️";
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
}

/*****************************************************/
/***** 2. LETÖLTÉSI SÁVOK (ALAP DLM STÍLUSOK) ********/
/*****************************************************/

ul.dlm-downloads,
.entry-content .dlm-link,
.entry-content ul:has(.download-link) {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 8px 0 !important;
}

.dlm-downloads .download-link,
.entry-content .dlm-link a,
.entry-content li a.download-link {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 20px 10px 50px !important;
    margin-bottom: 0px;
    text-decoration: none !important;
    font-weight: 400 !important; 
    font-size: 15px;
    line-height: 1.3;
    transition: all 0.2s ease-in-out;
    border-radius: 0 4px 4px 0;
    position: relative;
    background: #fafafa !important;
    color: #0073aa !important;
    border: 1px solid #e5e5e5 !important;
    border-left: 4px solid #0073aa !important;
}

.dlm-downloads .download-link small,
.entry-content li a.download-link small {
    display: block;
    font-weight: 300 !important;
    font-size: 12px;
    color: #777;
    margin-top: 2px;
}

.dlm-downloads .download-link::before,
.entry-content .dlm-link a::before,
.entry-content li a.download-link::before {
    font-family: "dashicons" !important;
    font-size: 20px;
    color: #0073aa;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.dlm-downloads .download-link::before,
.entry-content .dlm-link a::before {
    content: "\f316"; 
}

.entry-content li a.download-link::before {
    content: "\f318"; 
}

.dlm-downloads .download-link:hover,
.entry-content .dlm-link a:hover,
.entry-content li a.download-link:hover {
    background: #f5f5f5 !important;
    padding-left: 55px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
}

/*****************************************************/
/***** 3. FŐLAP ÉS EGYÉB TWEAKEK *********************/
/*****************************************************/

.home .entry-header {
    display: none;
}

/*****************************************************/
/***** 4. EGYEDI DLM SABLON (CUSTOM-TEMPLATE) ********/
/*****************************************************/

.dlm-custom-container {
    margin: 20px 0;
}

.dlm-custom-link {
    display: flex !important;
    align-items: center;
    background: #ffffff !important;
    border: 1px solid #ddd !important;
    border-left: 5px solid #0073aa !important;
    
    padding: 5px !important;
    
    text-decoration: none !important;
    transition: all 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.dlm-custom-icon-box {
    background: #f0f7fa;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
}

.dlm-custom-icon-box .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: #0073aa;
}

.dlm-custom-details {
    display: flex;
    flex-direction: column;
}

.dlm-custom-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.dlm-custom-title {
    font-size: 17px;
    font-weight: 600 !important;
    color: #333 !important;
    line-height: 1.2;
}

.dlm-extension-badge {
    background-color: #eee;
    color: #555;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: bold;
    border: 1px solid #ccc;
    line-height: 1;
}

.dlm-custom-meta {
    font-size: 13px;
    color: #666;
    display: flex;
    gap: 8px;
    align-items: center;
}

.dlm-separator {
    color: #ccc;
}

.dlm-custom-link:hover {
    border-color: #0073aa !important;
    background: #f9f9f9 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.dlm-custom-link:hover .dlm-custom-icon-box {
    background: #0073aa;
}

.dlm-custom-link:hover .dlm-custom-icon-box .dashicons {
    color: #ffffff;
}

.dlm-custom-link:hover .dlm-extension-badge {
    background-color: #0073aa;
    color: #fff;
    border-color: #005a87;
}

/*****************************************************/
/***** 5. IKONOK KÜLÖNVÁLASZTÁSA *********************/
/*****************************************************/

.entry-content .dlm-link a::before {
    content: "\f319" !important; /* ikon: földgömb */
    color: #0073aa !important;
}

.entry-content .dlm-link a[href*="www.szolnok.hu"]::before {
    content: "\f497" !important; /* ikon: jegyzetfüzet */
    color: #0073aa !important;
}

.entry-content .dlm-link a[href*="#"]::before {
    content: "\f345" !important; 
    color: #E46104 !important;
}

.entry-content .dlm-link a[href*=".zip"]::before,
.entry-content .dlm-link a[href*=".pdf"]::before,
.entry-content .dlm-link a[href*=".xls"]::before,
.entry-content .dlm-link a[href*=".xlsx"]::before {
    content: "\f316" !important; /* ikon: letöltés ikon */
    color: #0073aa !important;
}

.entry-content .dlm-link a[href*="#"]:hover {
    border-left-color: #E46104 !important;
    color: #E46104 !important;
}

/*****************************************************/
/***** 6. KITERJESZTÉS ÉS MÉRET MEGJELENÍTÉSE *******/
/*****************************************************/

.dlm-custom-meta, 
.dlm-extension-badge {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.dlm-custom-meta {
    margin-top: 5px;
    font-size: 13px;
    color: #666;
}

.dlm-extension-badge {
    background-color: #f0f0f0;
    color: #333;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
    margin-right: 10px;
    border: 1px solid #ccc;
}

/*****************************************************/
/***** 7. ACF EGYEDI FÁJL LISTA **********************/
/*****************************************************/

.acf-custom-container { margin: 20px 0; }
.acf-custom-link {
    display: flex !important;
    align-items: center;
    background: #ffffff !important;
    border: 1px solid #ddd !important;
    border-left: 5px solid #0073aa !important;
    
    padding: 5px !important;
    
    
    text-decoration: none !important;
    transition: all 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.acf-custom-icon-box {
    background: #f0f7fa;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
}
.acf-custom-icon-box .dashicons { font-size: 28px; width: 28px; height: 28px; color: #E46104; }
.acf-custom-details { display: flex; flex-direction: column; }
.acf-custom-title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.acf-custom-title { font-size: 17px; font-weight: 600 !important; color: #333 !important; line-height: 1.2; }
.acf-extension-badge { background-color: #f0f0f0; color: #333; font-size: 10px; padding: 2px 6px; border-radius: 3px; text-transform: uppercase; font-weight: bold; border: 1px solid #ccc; line-height: 1; }
.acf-custom-meta { font-size: 13px; color: #666; display: flex; gap: 8px; align-items: center; }
.acf-separator { color: #ccc; }
.acf-custom-description-box { margin-top: 5px; padding: 10px 15px; background: #f9f9f9; border: 1px solid #eee; border-left: 5px solid #ddd; font-size: 14px; color: #444; border-radius: 0 0 4px 4px; }
.acf-custom-link:hover { border-color: #0073aa !important; background: #f9f9f9 !important; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.acf-custom-link:hover .acf-custom-icon-box { background: #0073aa; }
.acf-custom-link:hover .acf-custom-icon-box .dashicons { color: #ffffff; }
.acf-custom-link:hover .acf-extension-badge { background-color: #0073aa; color: #fff; border-color: #005a87; }

/*****************************************************/
/***** 10. JAVÍTÁS: SZÉLESSÉG ÉS TÁVOLSÁGOK *********/
/*****************************************************/

/* Gomb szélességének felszabadítása (250px-es korlát kiütése) */
.dlm-pa-download-table-wrapper .dlm-pa-col-link a,
.dlm-custom-link {
    max-width: none !important;
    width: 100% !important;
    display: flex !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
}

/* JS által kényszerített középre igazítás felülírása */
div.dlm-pa-download-button-container[style] {
    display: block !important;
    text-align: left !important;
}

/* Sorok közötti hatalmas hézag csökkentése */
.dlm-pa-download-table-wrapper .dlm-pa-table-td {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.dlm-custom-container {
    margin: 5px 0 !important;
}

/* Szöveg és PDF jelvény egymás mellé kényszerítése */
.dlm-custom-title-row {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: auto !important;
}



/* Cím átírása*/
/* Eredeti szöveg elrejtése */
.dlm-pa-col-link .dlm-pa-table-th-content p {
    visibility: hidden;
    position: relative;
}

/* Új szöveg megjelenítése */
.dlm-pa-col-link .dlm-pa-table-th-content p::after {
    content: "Letölthető dokumentumok"; /* Ide írd a saját címed */
    visibility: visible;
    position: absolute;
    left: 0;
    top: 0;
    width: 170%;
    text-align: center;
}

/* 1. A link szövegének igazítása */
.dlm-pa-download-button-container a.dlm-custom-link {
    text-align: left !important;
}

/* 2. A flex-alapú tartalom balra rendezése */
.dlm-pa-download-button-container a.dlm-custom-link .dlm-custom-details {
    align-items: flex-start !important;
    text-align: left !important;
}

/* 3. A cím sorának kényszerített balra zárása */
.dlm-pa-download-button-container a.dlm-custom-link .dlm-custom-title-row {
    justify-content: flex-start !important;
    text-align: left !important;
}




/*****************************/
/* Fejléc hézagok beaállítása*/
/*****************************/
#masthead {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    height: auto !important; 
}

@media (max-width: 768px) {
    #masthead {
        height: 120px !important;
    }
}



/* A Comments fül elrejtése a bannerben */
.banner-tab.comments-tab {
    display: none !important;
}

/***********************************************************************/
/***    Lejárt bejegyzés jelzése                                     ***/
/***********************************************************************/
.expired-post-notice {
    display: flex;
    align-items: center;
    background-color: #fff3cd; /* Világos sárga háttér */
    border-left: 10px solid #ffc107; /* Vastag narancssárga bal szegély */
    border-top: 1px solid #ffeeba;
    border-right: 1px solid #ffeeba;
    border-bottom: 1px solid #ffeeba;
    padding: 20px;
    margin: 30px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Finom árnyék a mélységért */
    border-radius: 4px;
}

.expired-icon {
    font-size: 40px; /* Nagy ikon */
    color: #ff9800; /* Élénk narancs szín */
    margin-right: 20px;
}

.expired-text {
    color: #856404; /* Sötétbarna/narancs szöveg az olvashatóságért */
    font-size: 1.1em;
    line-height: 1.5;
}

/* Opcionális: Ha még drasztikusabb megjelenést szeretnél */
.expired-post-notice strong {
    color: #d9534f; /* A "Figyelem" rész piros legyen */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/***********************************************************************/
/***    Tájékoztatók Oldal - kártya formázása                        ***/
/***********************************************************************/
/* Az általad használt kártya képének kerekítése */
.tajekoztato_kartya img {
    border-radius: 6px;
    /* Opcionális: biztosítja, hogy a kép ne "szökjön ki" a sarokból */
    overflow: hidden; 
}



/**************************************************/
/*** Archívum Widget a jobb oldalon             ***/
/*** (A lenti éveket tartalmazó sorok elrejtése ***/
/**************************************************/

/* 1. A linkek elrejtése */
.wp-block-archives-list li a[href*="/2026/03/"],
.wp-block-archives-list li a[href*="/2026/02/"],
.wp-block-archives-list li a[href*="/2026/01/"],
.wp-block-archives-list li a[href*="/2025/"],
.wp-block-archives-list li a[href*="/2006/"],
.wp-block-archives-list li a[href*="/2005/"],
.wp-block-archives-list li a[href*="/2004/"],
.wp-block-archives-list li a[href*="/2003/"],
.wp-block-archives-list li a[href*="/2002/"],
.wp-block-archives-list li a[href*="/2001/"],
.wp-block-archives-list li a[href*="/2000/"]
{
    display: none !important;
}

/* 2. A teljes listaelem (pöttyel együtt) elrejtése */
.wp-block-archives-list li:has(a[href*="/2026/03/"]),
.wp-block-archives-list li:has(a[href*="/2026/02/"]),
.wp-block-archives-list li:has(a[href*="/2026/01/"]),
.wp-block-archives-list li:has(a[href*="/2025/"]),
.wp-block-archives-list li:has(a[href*="/2006/"]),
.wp-block-archives-list li:has(a[href*="/2005/"]),
.wp-block-archives-list li:has(a[href*="/2004/"]),
.wp-block-archives-list li:has(a[href*="/2003/"]),
.wp-block-archives-list li:has(a[href*="/2002/"]),
.wp-block-archives-list li:has(a[href*="/2001/"]),
.wp-block-archives-list li:has(a[href*="/2000/"])
{
    display: none !important;
}




/***************************************************************************/
/* Tablet és Mobil nézet (1024px szélesség alatt) a lábléc alsó padding-ja */                                                                        */
/***************************************************************************/
/* Általános (alapértelmezett, asztali) nézet */
footer.site-footer {
    /* padding-bottom: 81px; */
}

/* 1140px képernyőszélesség alatt */
@media screen and (max-width: 1140px) {
    body .site-footer .row-three.full-width, 
    body .site-footer .row-three .full-width {
        padding: 20px 0px 120px 0px !important;
    }
}


@media screen and (max-width: 900px) {
    body .site-footer .row-three.full-width, 
    body .site-footer .row-three .full-width {
        padding: 20px 0px 200px 0px !important;
    }
}

@media screen and (max-width: 550px) {
    body .site-footer .row-three.full-width, 
    body .site-footer .row-three .full-width {
        padding: 20px 0px 100px 0px !important;
    }
}

















