/*

Theme Name: tepixart Hello Child Theme

Theme URI: https://github.com/elementor/hello-theme/

Description: tepixart Hello Child Theme is a child theme of Hello Elementor, created by tepixart

Author: tepixart.hu

Author URI: https://tepixart.hu/

Template: hello-elementor

Version: 1.0.1

Text Domain: hello-elementor-child

License: GNU General Public License v3 or later.

License URI: https://www.gnu.org/licenses/gpl-3.0.html

*/

/* ----------------- DESIGN ----------------- */
/* Selection */
::-moz-selection {
	color: #fff;
	background: var( --e-global-color-primary )
}

::selection {
	color: #fff;
	background: var( --e-global-color-primary )
}


/* Mark */
mark {
    background: var( --e-global-color-primary )
    color: #fff;
    font-weight: 700;
}


/* Fluent Forms */
.fluentform .ff-btn-submit {
	margin-top: 10px !important;
    font-weight: 700 !important;
}

.fluentform .ff-btn:hover {
    opacity: 1 !important;
}

/* Galéria címsor */
.elementor-slideshow__title {
    display: none !important;
}



/* ----------------- BLOG ----------------- */

/* Bejegyzés kivonatok után 3 pont*/
.elementor-posts .elementor-post__excerpt p:after {
content: "..." !important;
}

/* Wrapper: flex, egy sor, középen */
/* .holdnap-ikonok {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3px;
    width: 100%;
} */

/* Ikonok: rugalmas méret, max 32px, min 0 */
.holdnap-ikon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 40px;
    min-width: 0;
    max-width: 40px;
    aspect-ratio: 1 / 1;
    cursor: help;
    outline: none;
}

/* Kép: kitölti az ikon dobozát */
.holdnap-ikon img,
.holdnap-ikon-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
    display: block;
}

/* A többi (tooltip, fókusz) változatlan */
.holdnap-ikon:focus-visible {
    outline: 2px solid rgba(0, 0, 0, .2);
    outline-offset: 2px;
    border-radius: 4px;
}

/* === Tooltip === */
.holdnap-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .15);
    overflow: hidden;
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 9999;
    min-width: 200px;
    max-width: 320px;
    text-align: left;
    line-height: 1.4;
    font-family: inherit;
}

.holdnap-ikon:hover .holdnap-tooltip,
.holdnap-ikon:focus-within .holdnap-tooltip {
    opacity: 1 !important;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.holdnap-tooltip-title {
    display: block !important;
    background: #f4f4f4;
    color: #2c2c2c;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-bottom: 1px solid #e6e6e6;
    white-space: nowrap;
}

.holdnap-tooltip-text {
    display: block !important;
    background: #fafafa;
    color: #555;
    font-size: 13px;
    font-weight: 400;
    padding: 8px 14px;
    white-space: normal;
}

.holdnap-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-top-color: #fafafa;
    filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .06));
}

@media (max-width: 768px) {
    .holdnap-tooltip {
        min-width: 160px;
        max-width: 260px;
    }
    .holdnap-tooltip-title {
        font-size: 13px;
        padding: 7px 12px;
    }
    .holdnap-tooltip-text {
        font-size: 12px;
        padding: 7px 12px;
    }
}

/* Csak a .holdnap-nagy szekcióban növeljük az ikonokat */
.holdnap-nagy .holdnap-ikon {
    flex: 1 1 80px;
    max-width: 80px;
}

/* Tooltip is nagyobb, hogy arányos legyen */
.holdnap-nagy .holdnap-tooltip {
    min-width: 240px;
    max-width: 360px;
}

.holdnap-nagy .holdnap-tooltip-title {
    font-size: 16px;
    padding: 10px 16px;
}

.holdnap-nagy .holdnap-tooltip-text {
    font-size: 15px;
    padding: 10px 16px;
}


/* Naptár grid napi csillagjegy ikon méret */
.archiv-zodiak .zodiak-kartya img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Naptár grid napi csillagjegy időszak */
.archiv-zodiak .zodiak-idoszak {
    white-space: nowrap;
}

/* Mobilon törhet az időszak */
@media (max-width: 767px) {
    .archiv-zodiak .zodiak-idoszak {
        white-space: normal;
    }
}