
body, #page .site-content {
    background: #FFFBFD !important;
}

.ast-separate-container #primary {
    margin: 3em 0 !important;
}

.grzyb-wrapper {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    padding: 32px 36px;
    margin-top: 0.8em;
}

.grzyb-search-shortcut {
    position: absolute;
    background: #eee;
    border: 1px solid #ccc;
    color: #444;
    border-radius: 4px;
    top: 20px;
    right: 20px;
    font-size: 16px;
    text-decoration: none;
    padding: 4px 12px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.grzyb-search-shortcut:hover {
    background: #f0f0f0;
    color: #000;
}

.grzyb-tax-title {
    font-size: 30px;
    font-weight: 600;
    padding-bottom: 3px;
    border-bottom: 1px solid #eee;
    margin-bottom: 0.7em;
}

.grzyb-tax-title a {
    color: #1a1a1a !important;
}

.grzyb-tax-header {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0.5em 0 0.1em 0;
}

.grzyb-row {
    display: grid;
    grid-template-columns: 240px 1fr;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    margin-bottom: 0;
    font-size: 16px;
    gap: 6px 100px;
    align-items: baseline;

}

.grzyb-row em {
    color: #555;
}

.grzyb-label {
    color: #666;
    font-weight: 500;
    font-size: 16px;
    padding-top: 2px;
}

.grzyb-value {
    align-self: center;
}

.recommended-name{
    color: #009000;
}
.recommended-name:hover{
    color:  #009000;
}
.grzyb-if-latin {
    font-style: italic;
    font-weight: 700;
    color: #2f2f2f;
}

.grzyb-if-link {
    display: inline-block;
    background: transparent;
    margin-left: 10px;
    font-size: 14px;
    color: #444;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 1px 6px;
    vertical-align: middle;
}
.grzyb-if-link:hover {
    background: #eee;
    color: #000;
}

.grzyb-if-placeholder {
    font-style: italic;
    color: #1a1a1a;
    font-size: 16px;
}
.arrow {
    font-size: 15px;     
    position: relative;
    top: -8px;         
    margin-left: 0px;
}

.arrow-if {
    margin-left: -6px !important;
}
.arrow::before {
    content:"↗";
}

.tooltip {
    position: relative;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;

    position: absolute;
    bottom: 120%;
    left: 130%;
    transform: translateX(-50%);

    background: #333;
    color: #fff;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    font-style: normal;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.grzyb-rekomendacja {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 16px;
}

/* ---- Nazwy historyczne ---- */
.grzyb-hist-item {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee;
}
.grzyb-hist-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.grzyb-hist-polska {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 16px;
}
.grzyb-hist-zrodlo {
    font-weight: 400;
    color: #444;
    font-size: 16px;
}
.grzyb-hist-lacinska {
    font-style: italic;
    color: #333;
    font-size: 16px;
    margin-top: 2px;
}
.grzyb-hist-lacinska-zrodlo {
    color: #444;
    font-style: normal;
    font-size: 16px;
}
.grzyb-hist-empty {
    color: #333;
    font-size: 16px;
}

/* ---- Uwagi ---- */
.grzyb-uwagi-tekst {
    color: #444;
    font-size: 16px;
    line-height: 1.7;
}
.grzyb-uwagi-tekst p {
    margin: 0 !important;
}


.grzyb-powrot {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}
.grzyb-powrot:hover {
    text-decoration: underline;
    color: #1a1a1a !important;
}
.grzyb-kontakt {
    font-size: 16px;
    color: #888;
    text-align: right;
}
.grzyb-kontakt a {
    color: #e62e49;
    text-decoration: none;
    font-weight: 600;
    margin-left: 6px;
}
.grzyb-kontakt a:hover {
    text-decoration: underline;
}

.grzyb-zrodlo-link {
    color: inherit;
}
.grzyb-zrodlo-link:hover {
    color: #1a1a1a !important;
    text-decoration: underline;
}

.grzyb-tax-paths {
    display: grid;
    overflow-x: auto;
    max-width: 100%;
}
.grzyb-tax-cell {
    display: grid; 
    align-items: center;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
}
.grzyb-tax-cell a{
    text-decoration: none;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #555;
    justify-self: center;
}

.latin {
    font-style: italic;
}

.grzyb-tax-cell a:hover { text-decoration: underline; }
.grzyb-tax-cell .grzyb-tax-sep { 
    color: #777; 
    flex-shrink: 0; 
    font-size: 16px; 
    position: relative; 
    top: -1px; 
}

button {
    background: transparent !important;
    border: 1px solid #ccc !important;
    color: #444 !important;
    font-size: 16px;
    border-radius: 4px !important;
}
button:hover {
    background: #555 !important;
    color: #fff !important;
}

.col {
    flex: 1;
    padding: 1em;
}
.row {
    display: flex; /* equal height of the children */
}
.widget_search input.search-field {
    background: #fff !important;
    border:  1px solid #ccc !important; 
    border-radius: 4px !important;
}
.widget_search .search-form input[type=submit]{
    display: none !important;
}
.widget_search button.search-submit {
    border-radius: 50% !important;
    border: none !important;
}
.widget_search button.search-submit:hover{
    background-color: #aaa !important;
}
.ast-separate-container.ast-two-container #secondary .widget {
    background-color: transparent !important;
}
.grzyb-search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 15px;
    color: #444;
}
.grzyb-search-filters label {
    display: flex;
    align-items: center;
    font-size: 16px;
    gap: 5px;
    cursor: pointer;
}
.grzyb-search-filters input[type="checkbox"] {
    accent-color: #e62e4960;
    cursor: pointer;
}
.grzyb-search-shortcut .dashicons {
    font-size: 20px;
    width: 22px;
    height: 21px;
    vertical-align: middle;
    position: relative;
    top: -1px;
    opacity: 0.8;
}

.grzyb-search-title {
    font-size: 30px;
    font-weight: 600;
    color: #1a1a1a;
    padding-bottom: 3px;
    margin-bottom: 0.7em;
}
.grzyb-search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}
.grzyb-search-input {
    flex: 1 !important;
    padding: 12px 18px !important;
    font-size: 16px !important;
    border: 1.5px solid #ccc !important;
    border-radius: 4px !important;
    outline: none !important;
    transition: border-color 0.2s !important;
    background: #fff !important;
}
.grzyb-search-input:focus { border-color: #e62e4980 !important; }

.grzyb-search-input::selection {
    background: #e62e4980;
    color: #fff;
}
.grzyb-search-btn {
    padding: 12px 24px;
    background: #e62e49b0;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.grzyb-search-btn:hover { background: #e62e49d0; color: #fff !important }
.grzyb-search-status {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
    min-height: 20px;
}
.grzyb-search-results { list-style: none; margin: 0; padding: 0; }
.grzyb-search-result {
    padding: 14px 0;
    border-bottom: 1px solid #efefef;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.grzyb-search-result:last-child { border-bottom: none; }
.grzyb-result-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
}
.grzyb-result-title:hover { color: #e62e49b0; }
.grzyb-result-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.grzyb-result-label {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}
.label-nazwa_rekomendowana        { background: #e62e4920; color: #8B4513; }
.label-nazwa_lacinska             { background: #1a7a4920; color: #1a7a49; }
.label-nazwa_potoczna             { background: #005c0020; color: #005c00; }
.label-nazwa_historyczna          { background: #88550020; color: #885500; }
.label-nazwa_historyczna_lacinska { background: #55008820; color: #550088; }
.label-takson { background: #2a2a8820; color: #2a2a88; }
.grzyb-result-snippet {
    font-size: 13px;
    color: #666;
    font-style: italic;
}
.grzyb-result-snippet mark {
    font-style: normal;
    border-radius: 2px;
    padding: 0 2px;
}

.mark-nazwa_rekomendowana {background: #e62e4920; color: #8B4513;}
.mark-nazwa_lacinska {background: #1a7a4920; color: #1a7a49;}
.mark-nazwa_potoczna {background: #005c0020; color: #005c00;}
.mark-nazwa_historyczna {background: #88550020; color: #885500;}
.mark-nazwa_historyczna_lacinska {background: #55008820; color: #550088;}
.mark-takson {background: #2a2a8820; color: #2a2a88;}


.grzyb-load-more {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    background:#e62e49b0 !important ;
    border: 1.5px solid #e62e49d0 !important;
    border-radius: 4px;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.grzyb-load-more:hover { background: #e62e49d0 !important; color: #fff !important; border-color: #e62e49d0 !important; }
.grzyb-load-more.hidden { display: none; }
.grzyb-spinner {
    display: none;
    text-align: center;
    padding: 20px;
    color: #aaa;
    font-size: 14px;
}
.grzyb-spinner.active { display: block; }

.grzyb-panel-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid currentColor;
    background: transparent;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}
.grzyb-panel-btn-primary { color: #555 !important; }
.grzyb-panel-btn-primary:hover { background: #ddd !important; color: #1a1a1a !important; }
.grzyb-panel-btn-secondary { color: #555 !important; }
.grzyb-panel-btn-secondary:hover { background: #ddd !important; color: #1a1a1a !important; }

.grzyb-panel-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 14px;
}

/* Modal */
.grzyb-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.grzyb-modal-overlay.active { display: flex; }
.grzyb-modal {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.grzyb-modal-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px;
    padding-right: 32px;
}
.grzyb-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    font-size: 52px;
    cursor: pointer;
    border-radius: 8px;
    color: #ccc;
    line-height: 1;
    padding: 0px 20px 8px 20px;
}
.grzyb-modal-close:hover { color: #fff; }

.grzyb-form-row {
    margin-bottom: 16px;
}
.grzyb-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
}
.grzyb-form-label .required { color: #e62e49; }
.grzyb-form-input,
.grzyb-form-textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.grzyb-form-input:focus,
.grzyb-form-textarea:focus {
    outline: none;
    border-color: #e62e49;
}
.grzyb-form-textarea { min-height: 80px; resize: vertical; }

.grzyb-form-error {
    background: #fff0f0;
    border: 1px solid #e62e49;
    color: #c0102a;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
    display: none;
}
.grzyb-form-warning {
    background: #fffbe6;
    border: 1px solid #e6c200;
    color: #7a6000;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
    display: none;
}
.grzyb-form-success {
    background: #f0fff4;
    border: 1px solid #2e7d52;
    color: #1a5c36;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
    display: none;
}
.grzyb-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-end;
}
.grzyb-form-submit {
    padding: 10px 24px;
    background: #e62e49;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.grzyb-form-submit:hover { background: #c42038; color: #fff; }
.grzyb-form-submit:disabled { opacity: 0.6; cursor: default; }
.grzyb-form-cancel {
    padding: 10px 18px;
    background: transparent;
    color: #888;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}
.grzyb-form-cancel:hover { border-color: #888; color: #fff; }

.grzyb-form-hint {
    font-size: 11px;
    color: #aaa;
    margin-top: 3px;
}
.grzyb-hist-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 8px 10px;
    border: 1px solid #eee;
    border-radius: 6px;
    margin-bottom: 6px;
    font-size: 13px;
    gap: 8px;
}
.grzyb-hist-row-info { flex: 1; }
.grzyb-hist-row-name { font-weight: 600; color: #1a1a1a; }
.grzyb-hist-row-lat  { font-style: italic; color: #555; font-size: 12px; }
.grzyb-hist-row-src  { color: #888; font-size: 11px; }
.grzyb-hist-row-btns { display: flex; gap: 4px; flex-shrink: 0; }
.grzyb-hist-btn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    color: #888;
}
.grzyb-hist-btn:hover { background: #f0f0f0; color: #e62e49; }
/* Autocomplete źródeł */
.grzyb-autocomplete-wrap { position: relative; }
.grzyb-autocomplete-list {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 200000;
    background: #fff; border: 1.5px solid #ddd; border-top: none;
    border-radius: 0 0 8px 8px; max-height: 200px; overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.grzyb-autocomplete-item {
    padding: 8px 12px; cursor: pointer; font-size: 13px; border-bottom: 1px solid #f0f0f0;
}
.grzyb-autocomplete-item:last-child { border-bottom: none; }
.grzyb-autocomplete-item:hover { background: #faf0f0; }
.grzyb-autocomplete-autor { font-weight: 600; color: #e62e49; margin-right: 6px; }
.grzyb-autocomplete-pelna { color: #555; }
.grzyb-autocomplete-dodaj {
    padding: 8px 12px; font-size: 12px; color: #888; cursor: pointer;
    background: #f9f9f9; text-align: center; border-top: 1px solid #eee;
}
.grzyb-autocomplete-dodaj:hover { color: #e62e49; background: #fff0f0; }
/* Tags input dla źródeł */
.grzyb-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 6px 8px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    min-height: 40px;
    cursor: text;
    background: #fff;
    transition: border-color 0.2s;
    position: relative;
}
.grzyb-tags-wrap:focus-within { border-color: #e62e49; }
.grzyb-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0e8e8;
    border: 1px solid #d4a0a0;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #5c2020;
    white-space: nowrap;
}
.grzyb-tag-remove {
    cursor: pointer;
    color: #c04040;
    font-size: 14px;
    line-height: 1;
    border: none;
    background: none;
    padding: 0;
}
.grzyb-tag-remove:hover { color: #e62e49; }
.grzyb-tags-input {
    border: none !important;
    outline: none !important;
    padding: 2px 4px !important;
    font-size: 13px !important;
    min-width: 120px;
    flex: 1;
    background: transparent !important;
}
.grzyb-tags-dd, .grzyb-sb-field-row ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    z-index: 10001;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    max-height: 200px;
    overflow-y: auto;
}
.grzyb-tags-dd li, .grzyb-sb-field-row ul li {
    padding: 7px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    list-style: none;
}
.grzyb-tags-dd li:hover { background: #faf0f0; }
/* Modal dodawania źródła */
.grzyb-zrodlo-modal {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6);
    z-index: 200001; align-items: center; justify-content: center; padding: 20px;
}
.grzyb-zrodlo-modal.active { display: flex; }
.grzyb-zrodlo-box {
    background: #fff; border-radius: 12px; padding: 24px 28px;
    max-width: 440px; width: 100%; position: relative;
}

.grzyb-ac-dropdown {
    display: none;
    position: absolute;
    z-index: 10000;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 240px;
    overflow-y: auto;
}
.grzyb-ac-dropdown.open { display: block; }
.grzyb-ac-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
}
.grzyb-ac-item:last-child { border-bottom: none; }
.grzyb-ac-item:hover, .grzyb-ac-item.active { background: #D9BA8C40; }
.grzyb-ac-item-name { font-weight: 600; color: #1a1a1a; }
.grzyb-ac-item-path { font-size: 11px; color: #888; margin-top: 1px; }
/* ---- Source Builder ---- */
.grzyb-sb-wrap { display: flex; flex-direction: column; gap: 8px; }
.grzyb-sb-format { width: 100%; }
.grzyb-sb-fields { display: flex; flex-direction: column; gap: 8px; }
.grzyb-sb-field-row { display: flex; flex-direction: column; gap: 3px; }
.grzyb-sb-label { font-size: 11px; color: #888; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.grzyb-sb-preview {
    font-size: 13px;
    padding: 6px 10px;
    background: #f9f5f0;
    border-radius: 6px;
    border: 1px dashed #D9BA8C;
    color: #5a3010;
    margin-top: 4px;
}
.grzyb-sb-preview em { color: #bbb; font-style: italic; }

.before-featured-section{
    height: 100px;
    }

    .featured-pages-visual-section {
    background: #FFFBFD !important;
        border-radius: 0;
        padding: 0% 0% 1%;
    }
    .featured-pages-visual-section::after{
        position: absolute;
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        background: #ddd;
    }

    .before-featured-section{
        display: none;
    }


    .ptm-featured-section {
        position: sticky;
        z-index: 3 !important;        
    }
    /* Container Setup */
    .ptm-featured-section {
        display: flex;
        flex-wrap: wrap;
        height: auto;
        overflow: visible;
        gap: 5%;
        padding: 1% clamp(5%, 50px, 20%);
        justify-content: center;

    }

    /* Individual Card */
    .ptm-card {
        flex: 1;
    max-width: 400px;
        background: #ffffff;
        text-decoration: none !important;
        color: inherit !important;
        overflow: visible;
        transition: transform 0.3s ease, box-shadow 0.2s ease;
        display: flex;
        flex-direction: column;
        border-radius: 8px;
        border: 1.5px solid #e62e4940;
    padding: 1rem 0rem 1rem;

    }

    .ptm-card:hover {
        transform: translateY(-10px) !important;
        transition: transform 0.3s ease, box-shadow 0.2s ease !important;
    }


    .ptm-card-image {
        width: clamp(120px, 30vw, 25%) !important;
        height: auto !important;
        border-radius: 50% !important; /* Makes it a perfect circle */
        margin: 10px auto !important; /* Centers the circle in the card */
        background-size: cover;
        background-position: center;
        display: block;
        aspect-ratio: 1/1 !important;
    }

    /*.ptm-card-image {
        height: 180px;
        background-size: cover;
        background-position: center;
    }*/

    /* Content Area */
    .ptm-card-content {
        display: grid;
        padding: 3% 3%;
        text-align: center;
        justify-items: center;
        align-items: flex-end;
        flex: 1;

    }

    .ptm-card-content h3 {
        margin: 0 0 10px 0;
        font-size: 1.25rem;
        color: #333;
        font-weight: 600;
    align-content: center;
    }

    .ptm-card-content h4 {
        margin: 0 0 10px 0;
        font-size: 1.15rem;
        color: #333;
    }

    .ptm-card-content p {
        font-size: 1rem;
        color: #666;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    /* Button-style link */
    .ptm-btn {
        display: inline-block;
        width: 100px;
        padding: 8px 20px;
        background: #e63946d0; 
        color: #fff;
        border-radius: 4px;
        font-weight: bold;
        font-size: 0.85rem;
        text-transform: uppercase;
    }

    .ptm-card:hover .ptm-btn {
        background: #a93226;
    }

    .ptm-card-content::after {
        content: "Więcej ";
        display: inline-block;
        font-size: 0.85rem;
        font-weight: 500;
        color: #fff;
        background: #e62e49c0;
        border: 1px solid #e62e4980;
        border-radius: 4px;
        padding: 4px 26px;
        margin-top: auto;
    }
    .ptm-card-content[data-btn]::after {
        content: attr(data-btn);
    }
    /* Mobile Responsive */
    @media (max-width: 768px) {
        .ptm-card {
            flex: 1 1 100%;
        }
        .ptm-featured-section {
            display: flex;
            gap: 10%;
            grid-template-rows: auto;
            padding: 5% 10% 5% 10% !important;
            margin-top: 0px !important;
        }
        .ptm-card {
        margin: 5% 0 !important;
        }
    }
    @media (min-width: 922px) {
    .ptm-card {
        opacity: 0;
        transform: translateY(100px);
        transition: opacity 1.2s ease, transform 1s ease !important;
    }
        .ptm-card.visible {
                opacity: 1;
                transform: translateY(0);
                transition: transform 0.3s ease, box-shadow 0.2s ease !important;
        }

        .ptm-card:nth-child(2) { transition-delay: 0.15s; }
        .ptm-card:nth-child(3) { transition-delay: 0.30s; }
        .n2_clear {
            z-index: 1 !important;
        }
    }


@media (min-width: 993px) {
    .ast-right-sidebar #secondary{
        padding-left: 0 !important;
    }
    .archive .site-content > .ast-container {
        max-width: 1440px !important;
    }
    #secondary {
		margin-top: 3.1em !important;
        margin-right: -3.5% !important;
	}
	#secondary .textwidget{
		display: grid;
        justify-content: center;
        padding-right: 15%;
	}
}

@media (max-width: 1200px) {
    .grzyb-search-shortcut {
        position: static;
        display: inline-block;
        margin-bottom: 12px;
    }
}

@media (max-width: 600px) {
    .grzyb-row {
        grid-template-columns: 1fr;
        gap: 2px;
        margin-bottom: 14px;
    }
}