/* =========================
   PGP GLOBAL
========================= */

.pgp-grid,
.pgp-category-grid{
    box-sizing:border-box;
}

.pgp-grid *,
.pgp-category-grid *,
.pgp-single-container *{
    box-sizing:border-box;
}

/* =========================
   PHOTO GRID
========================= */

.pgp-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
}

.pgp-grid.cols-1{grid-template-columns:1fr;}
.pgp-grid.cols-2{grid-template-columns:repeat(2, 1fr);}
.pgp-grid.cols-3{grid-template-columns:repeat(3, 1fr);}
.pgp-grid.cols-4{grid-template-columns:repeat(4, 1fr);}
.pgp-grid.cols-5{grid-template-columns:repeat(5, 1fr);}
.pgp-grid.cols-6{grid-template-columns:repeat(6, 1fr);}

.pgp-item{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    overflow:hidden;
    transition:.25s ease;
}

.pgp-item:hover{
    transform:translateY(-4px);
    border-color:#d1d5db;
}

.pgp-thumb{
    position:relative;
    width:100%;
    padding-top:100%;
    overflow:hidden;
    background:#f3f4f6;
}

.pgp-thumb img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .35s ease;
}

.pgp-item:hover .pgp-thumb img{
    transform:scale(1.06);
}

.pgp-title{
    display:block;
    padding:14px 16px;
    text-align:center;
    text-decoration:none;
    color:#111827;
    font-size:15px;
    font-weight:600;
    background:#fff;
}

.pgp-title:hover{
    color:#0f766e;
}

/* =========================
   CATEGORY GRID
========================= */

.pgp-category-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:26px;
}

.pgp-category-grid.cols-1{grid-template-columns:1fr;}
.pgp-category-grid.cols-2{grid-template-columns:repeat(2, 1fr);}
.pgp-category-grid.cols-3{grid-template-columns:repeat(3, 1fr);}
.pgp-category-grid.cols-4{grid-template-columns:repeat(4, 1fr);}
.pgp-category-grid.cols-5{grid-template-columns:repeat(5, 1fr);}
.pgp-category-grid.cols-6{grid-template-columns:repeat(6, 1fr);}

.pgp-category-card{
    display:block;
    text-decoration:none;
    color:#111827;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:22px;
    overflow:hidden;
    transition:.25s ease;
}

.pgp-category-card:hover{
    transform:translateY(-5px);
    border-color:#d1d5db;
}

.pgp-category-image{
    position:relative;
    width:100%;
    padding-top:70%;
    overflow:hidden;
    background:#f3f4f6;
}

.pgp-category-image img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .35s ease;
}

.pgp-category-card:hover .pgp-category-image img{
    transform:scale(1.06);
}

.pgp-category-placeholder{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:56px;
    font-weight:800;
    color:#9ca3af;
    background:#f3f4f6;
}

.pgp-category-content{
    padding:18px 16px;
    text-align:center;
}

.pgp-category-content h3{
    margin:0 0 8px;
    font-size:20px;
    font-weight:700;
    color:#111827;
}

.pgp-category-content span{
    display:inline-block;
    padding:5px 12px;
    border-radius:999px;
    background:#f3f4f6;
    color:#4b5563;
    font-size:13px;
}

/* =========================
   TAXONOMY PAGE
========================= */

.pgp-taxonomy-container{
    max-width:1240px;
    margin:50px auto;
    padding:0 20px;
}

.pgp-taxonomy-title{
    margin:0 0 14px;
    font-size:38px;
    font-weight:800;
    color:#111827;
    letter-spacing:-.03em;
}

.pgp-taxonomy-description{
    max-width:780px;
    margin-bottom:34px;
    color:#4b5563;
    font-size:16px;
    line-height:1.8;
}

/* =========================
   SINGLE PHOTO PAGE
========================= */

.pgp-single-container{
    max-width:1180px;
    margin:50px auto;
    padding:0 20px;
}

.pgp-breadcrumb{
    margin:0 0 16px;
    color:#6b7280;
    font-size:13px;
    line-height:1.6;
}

.pgp-breadcrumb a{
    color:#374151;
    text-decoration:none;
}

.pgp-breadcrumb a:hover{
    color:#111827;
    text-decoration:underline;
}

.pgp-breadcrumb span{
    margin:0 5px;
}

.pgp-single-title{
    margin:0 0 28px;
    font-size:38px;
    font-weight:800;
    color:#111827;
    letter-spacing:-.03em;
}

.pgp-top-section{
    display:grid;
    grid-template-columns:1.35fr .85fr;
    gap:32px;
    align-items:start;
}

.pgp-single-image{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:0;
    overflow:hidden;
}

.pgp-single-image img{
    width:100%;
    height:auto;
    display:block;
}

.pgp-info-box{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:0;
    padding:26px;
}

.pgp-short-description{
    margin-bottom:22px;
    color:#374151;
    font-size:16px;
    line-height:1.8;
}

.pgp-meta-row{
    padding:13px 0;
    border-top:1px solid #eef0f3;
    color:#374151;
    font-size:14px;
}

.pgp-meta-row strong{
    display:block;
    margin-bottom:4px;
    color:#111827;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.04em;
}

/* =========================
   ACCORDION
========================= */

.pgp-accordion{
    border-top:1px solid #eef0f3;
}

.pgp-accordion-btn{
    width:100%;
    min-height:58px;
    background:transparent;
    border:0;
    border-radius:0;
    padding:16px 0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    cursor:pointer;
    text-align:left;
    color:#111827;
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.04em;
    box-shadow:none;
}

.pgp-accordion-btn:focus{
    outline:2px solid #111827;
    outline-offset:2px;
}

.pgp-accordion-title{
    display:block;
}

.pgp-accordion-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:24px;
    height:24px;
    color:#111827;
    font-size:22px;
    font-weight:400;
    line-height:1;
}

.pgp-accordion-content{
    padding:0 0 18px;
    color:#374151;
    font-size:14px;
    line-height:1.7;
}

.pgp-exif-list{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    margin:0;
}

.pgp-exif-list dt{
    margin:0;
    color:#111827;
    font-weight:700;
}

.pgp-exif-list dd{
    margin:0 0 8px;
    color:#374151;
}

/* =========================
   CONTENT BOX
========================= */

.pgp-content-box{
    margin-top:34px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:0;
    padding:30px;
}

.pgp-content{
    margin-top:0;
    color:#374151;
    font-size:16px;
    line-height:1.8;
}

.pgp-content > :first-child{
    margin-top:0;
}

.pgp-content > :last-child{
    margin-bottom:0;
}

/* =========================
   PREV NEXT
========================= */

.pgp-single-navigation{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
    margin-top:28px;
}

.pgp-single-navigation a{
    display:flex;
    align-items:center;
    min-height:58px;
    padding:16px 18px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:0;
    color:#111827;
    text-decoration:none;
    font-size:14px;
    font-weight:700;
    line-height:1.5;
}

.pgp-next-photo a{
    justify-content:flex-end;
    text-align:right;
}

.pgp-single-navigation a:hover{
    border-color:#111827;
}

/* =========================
   RELATED PHOTOS
========================= */

.pgp-related-section{
    margin-top:36px;
}

.pgp-related-title{
    margin:0 0 18px;
    color:#111827;
    font-size:26px;
    font-weight:800;
    letter-spacing:-.02em;
}

.pgp-related-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:22px;
}

.pgp-related-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:0;
    overflow:hidden;
}

.pgp-related-card a{
    display:block;
    color:#111827;
    text-decoration:none;
}

.pgp-related-thumb{
    position:relative;
    display:block;
    width:100%;
    padding-top:68%;
    overflow:hidden;
    background:#f3f4f6;
}

.pgp-related-thumb img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .35s ease;
}

.pgp-related-card:hover .pgp-related-thumb img{
    transform:scale(1.06);
}

.pgp-related-placeholder{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#6b7280;
    font-size:14px;
    font-weight:700;
}

.pgp-related-card-title{
    display:block;
    padding:14px 16px;
    font-size:15px;
    font-weight:700;
    line-height:1.5;
}

/* =========================
   EMPTY
========================= */

.pgp-empty{
    padding:24px;
    background:#f9fafb;
    border:1px solid #e5e7eb;
    border-radius:16px;
    color:#6b7280;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1024px){
    .pgp-grid.cols-4,
    .pgp-grid.cols-5,
    .pgp-grid.cols-6,
    .pgp-category-grid.cols-4,
    .pgp-category-grid.cols-5,
    .pgp-category-grid.cols-6{
        grid-template-columns:repeat(3, 1fr);
    }

    .pgp-top-section{
        grid-template-columns:1fr;
    }
}

@media(max-width:768px){
    .pgp-grid,
    .pgp-grid.cols-3,
    .pgp-grid.cols-4,
    .pgp-grid.cols-5,
    .pgp-grid.cols-6,
    .pgp-category-grid,
    .pgp-category-grid.cols-3,
    .pgp-category-grid.cols-4,
    .pgp-category-grid.cols-5,
    .pgp-category-grid.cols-6,
    .pgp-related-grid{
        grid-template-columns:repeat(2, 1fr);
    }

    .pgp-taxonomy-title,
    .pgp-single-title{
        font-size:30px;
    }

    .pgp-single-navigation{
        grid-template-columns:1fr;
    }
}

@media(max-width:520px){
    .pgp-grid,
    .pgp-grid.cols-2,
    .pgp-grid.cols-3,
    .pgp-grid.cols-4,
    .pgp-grid.cols-5,
    .pgp-grid.cols-6,
    .pgp-category-grid,
    .pgp-category-grid.cols-2,
    .pgp-category-grid.cols-3,
    .pgp-category-grid.cols-4,
    .pgp-category-grid.cols-5,
    .pgp-category-grid.cols-6,
    .pgp-related-grid{
        grid-template-columns:1fr;
    }

    .pgp-taxonomy-container,
    .pgp-single-container{
        margin:30px auto;
    }

    .pgp-content-box,
    .pgp-info-box{
        padding:20px;
    }
}

/* =========================
   LOCAL LIGHTBOX
========================= */

body.pgp-lightbox-open{
    overflow:hidden;
}

.pgp-lightbox-overlay{
    position:fixed;
    inset:0;
    z-index:999999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
    background:rgba(0,0,0,.88);
}

.pgp-lightbox-inner{
    position:relative;
    max-width:min(1100px, 96vw);
    max-height:92vh;
    text-align:center;
}

.pgp-lightbox-inner img{
    max-width:100%;
    max-height:82vh;
    width:auto;
    height:auto;
    border-radius:14px;
    display:block;
    margin:0 auto;
    background:#111827;
}

.pgp-lightbox-close{
    position:absolute;
    top:-18px;
    right:-18px;
    width:42px;
    height:42px;
    border:0;
    border-radius:999px;
    background:#fff;
    color:#111827;
    font-size:30px;
    line-height:38px;
    cursor:pointer;
}

.pgp-lightbox-caption{
    margin-top:12px;
    color:#fff;
    font-size:15px;
    line-height:1.6;
}

/* =========================
   PAGINATION
========================= */

.pgp-pagination{
    margin:34px 0 0;
    display:flex;
    justify-content:center;
    gap:8px;
    flex-wrap:wrap;
}

.pgp-pagination .page-numbers{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:38px;
    height:38px;
    padding:0 12px;
    border:1px solid #e5e7eb;
    border-radius:999px;
    color:#111827;
    background:#fff;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
}

.pgp-pagination .page-numbers.current,
.pgp-pagination .page-numbers:hover{
    background:#111827;
    border-color:#111827;
    color:#fff;
}

/* =========================
   THEME COMPATIBLE CATEGORY LAYOUT
========================= */

.pgp-theme-compatible{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:0 18px 42px;
}

.pgp-theme-compatible,
.pgp-theme-compatible *{
    box-sizing:border-box;
}

.pgp-category-layout{
    display:grid;
    grid-template-columns:minmax(0, 1fr);
    gap:26px;
    align-items:start;
}

.pgp-category-layout.has-left-sidebar{
    grid-template-columns:250px minmax(0, 1fr);
}

.pgp-category-layout.has-right-sidebar{
    grid-template-columns:minmax(0, 1fr) 250px;
}

.pgp-category-layout.has-left-sidebar.has-right-sidebar{
    grid-template-columns:220px minmax(0, 1fr) 220px;
}

.pgp-category-main-content{
    min-width:0;
}

.pgp-category-hero{
    position:relative;
    display:grid;
    grid-template-columns:1fr;
    min-height:180px;
    margin:0 0 26px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:0;
    overflow:hidden;
}

.pgp-category-hero.has-image{
    grid-template-columns:minmax(240px, 40%) 1fr;
}

.pgp-category-hero-image{
    position:relative;
    min-height:260px;
    background:#f3f4f6;
}

.pgp-category-hero-image img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.pgp-category-hero-content{
    padding:32px 34px;
    align-self:center;
}

.pgp-category-kicker{
    margin:0 0 10px;
    color:#6b7280;
    font-size:13px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.pgp-sidebar{
    display:flex;
    flex-direction:column;
    gap:16px;
    min-width:0;
}

.pgp-left-sidebar,
.pgp-right-sidebar{
    position:sticky;
    top:24px;
}

.pgp-widget{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:0;
    padding:0;
    color:#374151;
    font-size:14px;
    line-height:1.65;
    overflow:hidden;
}

.pgp-widget-title{
    margin:0;
    padding:14px 16px;
    border-bottom:1px solid #eef0f3;
    color:#111827;
    background:#fafafa;
    font-size:15px;
    font-weight:800;
    line-height:1.4;
}

.pgp-widget > *:not(.pgp-widget-title){
    margin:0;
    padding:14px 16px;
}

.pgp-widget ul,
.pgp-widget ol,
.pgp-widget .menu{
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
}

.pgp-widget li{
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
    border-bottom:1px solid #eef0f3;
}

.pgp-widget li:last-child{
    border-bottom:0;
}

.pgp-widget a{
    display:block;
    color:#111827;
    text-decoration:none;
    padding:11px 14px;
    font-size:14px;
    font-weight:600;
    line-height:1.45;
}

.pgp-widget a:hover,
.pgp-widget .current-menu-item > a,
.pgp-widget .current_page_item > a{
    background:#f3f4f6;
    color:#0f172a;
    text-decoration:none;
}

.pgp-widget .children,
.pgp-widget .sub-menu{
    border-top:1px solid #eef0f3;
    background:#fafafa;
}

.pgp-widget .children a,
.pgp-widget .sub-menu a{
    padding-left:26px;
    font-size:13px;
    font-weight:500;
}

.pgp-category-content-box{
    margin:0 0 26px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:0;
    padding:28px;
    color:#374151;
    font-size:16px;
    line-height:1.8;
}

.pgp-category-content-box > :first-child{
    margin-top:0;
}

.pgp-category-content-box > :last-child{
    margin-bottom:0;
}

.pgp-category-main-content .pgp-thumb{
    display:block;
}

.pgp-empty-wide{
    grid-column:1 / -1;
    width:100%;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:0;
    padding:22px 24px;
}

@media(max-width:1180px){
    .pgp-category-layout.has-left-sidebar,
    .pgp-category-layout.has-right-sidebar,
    .pgp-category-layout.has-left-sidebar.has-right-sidebar{
        grid-template-columns:1fr;
    }

    .pgp-left-sidebar,
    .pgp-right-sidebar{
        position:static;
    }

    .pgp-sidebar{
        display:grid;
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media(max-width:768px){
    .pgp-theme-compatible{
        padding-left:14px;
        padding-right:14px;
    }

    .pgp-category-hero.has-image{
        grid-template-columns:1fr;
    }

    .pgp-category-hero-image{
        min-height:220px;
    }

    .pgp-category-hero-content{
        padding:24px;
    }

    .pgp-sidebar{
        grid-template-columns:1fr;
    }
}

/* =========================
   CATEGORY SHORTCODE BUTTON CARDS
========================= */

.pgp-category-buttons-grid,
.pgp-category-buttons-grid *{
    box-sizing:border-box;
}

.pgp-category-buttons-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:24px;
    margin:28px 0;
}

.pgp-category-buttons-grid.cols-1{grid-template-columns:1fr;}
.pgp-category-buttons-grid.cols-2{grid-template-columns:repeat(2, minmax(0, 1fr));}
.pgp-category-buttons-grid.cols-3{grid-template-columns:repeat(3, minmax(0, 1fr));}
.pgp-category-buttons-grid.cols-4{grid-template-columns:repeat(4, minmax(0, 1fr));}

.pgp-category-button-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    background:#ffffff;
    border:1px solid #e5e7eb;
    overflow:hidden;
    box-shadow:0 12px 28px rgba(15,23,42,.07);
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.pgp-category-button-card:hover{
    transform:translateY(-4px);
    border-color:#cbd5e1;
    box-shadow:0 18px 38px rgba(15,23,42,.11);
}

.pgp-category-button-image{
    position:relative;
    display:block;
    width:100%;
    aspect-ratio:16/10;
    overflow:hidden;
    background:#f3f4f6;
    text-decoration:none;
}

.pgp-category-button-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .35s ease;
}

.pgp-category-button-card:hover .pgp-category-button-image img{
    transform:scale(1.06);
}

.pgp-category-button-shade{
    position:absolute;
    inset:auto 0 0 0;
    height:52%;
    pointer-events:none;
    background:linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(15,23,42,.45) 100%);
}

.pgp-category-button-placeholder{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:58px;
    font-weight:800;
    color:#94a3b8;
    background:linear-gradient(135deg, #f8fafc, #e5e7eb);
}

.pgp-category-button-body{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
    padding:18px 16px 20px;
    text-align:center;
}

.pgp-category-button-body h3{
    margin:0;
    font-size:20px;
    line-height:1.25;
    font-weight:800;
    color:#111827;
}

.pgp-category-button-body h3 a{
    color:inherit;
    text-decoration:none;
}

.pgp-category-button-body h3 a:hover{
    color:#0f766e;
}

.pgp-category-button-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:26px;
    padding:4px 11px;
    background:#f8fafc;
    border:1px solid #e5e7eb;
    color:#64748b;
    font-size:13px;
    font-weight:600;
}

.pgp-category-button-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:44px;
    padding:11px 18px;
    margin-top:2px;
    background:#111827;
    color:#ffffff !important;
    text-decoration:none !important;
    font-size:14px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:.01em;
    transition:background .2s ease, transform .2s ease;
}

.pgp-category-button-link:hover,
.pgp-category-button-link:focus{
    background:#0f766e;
    color:#ffffff !important;
    transform:translateY(-1px);
}

@media (max-width:1024px){
    .pgp-category-buttons-grid.cols-4{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:768px){
    .pgp-category-buttons-grid,
    .pgp-category-buttons-grid.cols-2,
    .pgp-category-buttons-grid.cols-3,
    .pgp-category-buttons-grid.cols-4{
        grid-template-columns:1fr;
    }
}

/* =========================
   CATEGORY DETAIL BELOW GALLERY
========================= */
.pgp-taxonomy-intro{
    margin-bottom:0;
}

.pgp-taxonomy-intro p{
    margin:0;
}

.pgp-category-detail-panel{
    margin:28px 0 0;
}

.pgp-category-detail-accordion{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:0;
    overflow:hidden;
}

.pgp-category-detail-accordion summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:18px 22px;
    cursor:pointer;
    color:#111827;
    font-size:17px;
    font-weight:800;
    line-height:1.4;
    list-style:none;
    background:#fafafa;
    border-bottom:1px solid transparent;
}

.pgp-category-detail-accordion summary::-webkit-details-marker{
    display:none;
}

.pgp-category-detail-accordion summary::after{
    content:'+';
    flex:0 0 auto;
    width:26px;
    height:26px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid #e5e7eb;
    background:#fff;
    color:#111827;
    font-size:20px;
    font-weight:700;
    line-height:1;
}

.pgp-category-detail-accordion[open] summary{
    border-bottom-color:#e5e7eb;
}

.pgp-category-detail-accordion[open] summary::after{
    content:'−';
}

.pgp-category-detail-accordion summary small{
    margin-left:auto;
    color:#6b7280;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.06em;
}

.pgp-category-detail-content{
    padding:24px 28px 28px;
    color:#374151;
    font-size:16px;
    line-height:1.8;
}

.pgp-category-detail-content > :first-child{
    margin-top:0;
}

.pgp-category-detail-content > :last-child{
    margin-bottom:0;
}

.pgp-category-detail-content h2,
.pgp-category-detail-content h3,
.pgp-category-detail-content h4{
    margin:24px 0 12px;
    color:#111827;
    line-height:1.35;
}

.pgp-category-detail-content ul,
.pgp-category-detail-content ol{
    margin:12px 0 18px 24px;
    padding:0;
}

.pgp-category-detail-content li{
    margin:5px 0;
}

@media (max-width:640px){
    .pgp-category-detail-accordion summary{
        align-items:flex-start;
        padding:16px;
        font-size:16px;
    }

    .pgp-category-detail-accordion summary small{
        display:none;
    }

    .pgp-category-detail-content{
        padding:18px 16px 22px;
        font-size:15px;
    }
}

/* =========================
   PREMIUM CATEGORY ARCHIVE LAYOUT
   Sadece galeri kategori sayfasını etkiler; sidebar/widget alanlarına dokunmaz.
========================= */

.pgp-category-main-content .pgp-category-hero-premium{
    isolation:isolate;
    position:relative;
    display:block;
    min-height:300px;
    margin:0 0 30px;
    border:1px solid rgba(226,232,240,.95);
    border-radius:18px;
    overflow:hidden;
    background:linear-gradient(135deg, #ffffff 0%, #f8fafc 58%, #eef2ff 100%);
    box-shadow:0 20px 60px rgba(15,23,42,.08);
}

.pgp-category-main-content .pgp-category-hero-premium.has-image::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-2;
    background-image:var(--pgp-hero-bg);
    background-size:cover;
    background-position:center right;
    opacity:.42;
    transform:scale(1.02);
}

.pgp-category-main-content .pgp-category-hero-premium::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    background:
        radial-gradient(circle at 20% 20%, rgba(99,102,241,.16), transparent 34%),
        linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 44%, rgba(255,255,255,.55) 72%, rgba(15,23,42,.40) 100%);
}

.pgp-category-main-content .pgp-category-hero-premium .pgp-category-hero-content{
    max-width:760px;
    padding:44px 46px;
    position:relative;
}

.pgp-category-main-content .pgp-category-hero-premium .pgp-category-kicker{
    display:inline-flex;
    align-items:center;
    gap:9px;
    margin:0 0 14px;
    color:#64748b;
    font-size:12px;
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.pgp-category-main-content .pgp-category-hero-premium .pgp-category-kicker::before{
    content:"▣";
    width:38px;
    height:38px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:rgba(99,102,241,.12);
    color:#4f46e5;
    font-size:17px;
    letter-spacing:0;
}

.pgp-category-main-content .pgp-category-hero-premium .pgp-taxonomy-title{
    margin:0 0 18px;
    color:#0f172a;
    font-size:clamp(32px, 4vw, 52px);
    line-height:1.04;
    font-weight:900;
    letter-spacing:-.055em;
}

.pgp-category-main-content .pgp-category-hero-premium .pgp-taxonomy-intro{
    max-width:720px;
    margin:0;
    color:#334155;
    font-size:16px;
    line-height:1.8;
}

.pgp-category-main-content .pgp-category-hero-premium .pgp-taxonomy-intro p{
    margin:0;
}

.pgp-category-hero-stats{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:24px;
}

.pgp-category-stat-card{
    min-width:154px;
    display:grid;
    grid-template-columns:42px 1fr;
    grid-template-areas:"icon label" "icon value";
    align-items:center;
    column-gap:12px;
    padding:14px 16px;
    background:rgba(255,255,255,.78);
    border:1px solid rgba(226,232,240,.95);
    border-radius:14px;
    box-shadow:0 12px 28px rgba(15,23,42,.06);
    backdrop-filter:blur(8px);
}

.pgp-category-stat-icon{
    grid-area:icon;
    width:42px;
    height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:#eef2ff;
    color:#4f46e5;
    font-weight:900;
}

.pgp-category-stat-label{
    grid-area:label;
    color:#64748b;
    font-size:12px;
    font-weight:700;
    line-height:1.2;
}

.pgp-category-stat-card strong{
    grid-area:value;
    margin-top:2px;
    color:#0f172a;
    font-size:18px;
    font-weight:900;
    line-height:1.1;
}

.pgp-category-main-content > .pgp-grid{
    margin-top:0;
    margin-bottom:30px;
}

.pgp-category-main-content > .pgp-grid .pgp-item{
    border:1px solid rgba(226,232,240,.98);
    border-radius:18px;
    background:#fff;
    box-shadow:0 16px 34px rgba(15,23,42,.08);
}

.pgp-category-main-content > .pgp-grid .pgp-item:hover{
    transform:translateY(-5px);
    box-shadow:0 22px 46px rgba(15,23,42,.12);
}

.pgp-category-main-content > .pgp-grid .pgp-thumb{
    padding-top:68%;
}

.pgp-category-main-content > .pgp-grid .pgp-title{
    min-height:76px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:16px 18px;
    color:#0f172a;
    font-size:16px;
    font-weight:800;
    line-height:1.5;
}

.pgp-category-detail-premium{
    margin:0 0 30px;
    padding:22px;
    border:1px solid rgba(226,232,240,.95);
    border-radius:18px;
    background:#fff;
    box-shadow:0 18px 44px rgba(15,23,42,.07);
}

.pgp-category-detail-header{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:16px;
}

.pgp-category-detail-main-icon{
    width:36px;
    height:36px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:#eef2ff;
    color:#4f46e5;
    font-weight:900;
}

.pgp-category-detail-header h2{
    margin:0;
    color:#0f172a;
    font-size:20px;
    font-weight:900;
    line-height:1.3;
}

.pgp-category-detail-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.pgp-category-detail-premium .pgp-category-detail-accordion{
    border:1px solid #e2e8f0;
    border-radius:12px;
    background:#fff;
    overflow:hidden;
}

.pgp-category-detail-premium .pgp-category-detail-accordion summary{
    min-height:56px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:15px 18px;
    cursor:pointer;
    color:#0f172a;
    font-size:15px;
    font-weight:850;
    line-height:1.35;
    list-style:none;
}

.pgp-category-detail-premium .pgp-category-detail-accordion summary::-webkit-details-marker{
    display:none;
}

.pgp-category-detail-title{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}

.pgp-category-detail-icon{
    width:28px;
    height:28px;
    flex:0 0 28px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:#f5f3ff;
    color:#4f46e5;
    font-size:15px;
    font-weight:900;
}

.pgp-category-detail-toggle{
    width:11px;
    height:11px;
    flex:0 0 11px;
    border-right:2px solid #0f172a;
    border-bottom:2px solid #0f172a;
    transform:rotate(45deg);
    transition:transform .2s ease;
}

.pgp-category-detail-accordion[open] .pgp-category-detail-toggle{
    transform:rotate(225deg);
}

.pgp-category-detail-content{
    padding:0 18px 18px 58px;
    color:#334155;
    font-size:15px;
    line-height:1.8;
}

.pgp-category-detail-content > :first-child{
    margin-top:0;
}

.pgp-category-detail-content > :last-child{
    margin-bottom:0;
}

@media(max-width:768px){
    .pgp-category-main-content .pgp-category-hero-premium{
        min-height:0;
        border-radius:14px;
    }

    .pgp-category-main-content .pgp-category-hero-premium::after{
        background:linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 68%, rgba(15,23,42,.12) 100%);
    }

    .pgp-category-main-content .pgp-category-hero-premium .pgp-category-hero-content{
        padding:30px 24px;
    }

    .pgp-category-hero-stats{
        display:grid;
        grid-template-columns:1fr;
    }

    .pgp-category-detail-premium{
        padding:16px;
        border-radius:14px;
    }

    .pgp-category-detail-content{
        padding-left:18px;
    }
}

/* =========================
   PREMIUM CATEGORY ARCHIVE V2
   Yalnızca .pgp-premium-taxonomy-v2 kapsamını etkiler.
========================= */
.pgp-premium-taxonomy-v2{
    max-width:1240px !important;
    margin:32px auto 56px !important;
    padding:0 18px 42px !important;
}

.pgp-premium-taxonomy-v2 .pgp-category-main-content{
    min-width:0 !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-category-hero{
    position:relative !important;
    isolation:isolate !important;
    display:grid !important;
    grid-template-columns:minmax(0, 1.05fr) minmax(260px, .95fr) !important;
    gap:0 !important;
    min-height:318px !important;
    margin:0 0 30px !important;
    overflow:hidden !important;
    border:1px solid rgba(226,232,240,.95) !important;
    border-radius:18px !important;
    background:linear-gradient(135deg,#ffffff 0%,#f8fafc 48%,#eef2ff 100%) !important;
    box-shadow:0 20px 54px rgba(15,23,42,.08) !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-category-hero::before{
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    z-index:-2 !important;
    background-image:var(--pgp-hero-bg) !important;
    background-size:cover !important;
    background-position:center right !important;
    opacity:.2 !important;
    filter:saturate(1.08) !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-category-hero::after{
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    z-index:-1 !important;
    background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.93) 46%,rgba(255,255,255,.55) 69%,rgba(15,23,42,.48) 100%) !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-hero-copy{
    position:relative !important;
    z-index:2 !important;
    max-width:740px !important;
    padding:42px 40px !important;
    align-self:center !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-kicker{
    display:inline-flex !important;
    align-items:center !important;
    gap:12px !important;
    margin:0 0 18px !important;
    color:#64748b !important;
    font-size:12px !important;
    font-weight:900 !important;
    letter-spacing:.12em !important;
    line-height:1.2 !important;
    text-transform:uppercase !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-kicker-icon,
.pgp-premium-taxonomy-v2 .pgp-premium-stat-icon,
.pgp-premium-taxonomy-v2 .pgp-premium-detail-heading-icon,
.pgp-premium-taxonomy-v2 .pgp-premium-accordion-icon{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:#eef2ff !important;
    color:#4f46e5 !important;
}

.pgp-premium-taxonomy-v2 svg{
    width:18px !important;
    height:18px !important;
    fill:currentColor !important;
    display:block !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-kicker-icon{
    width:44px !important;
    height:44px !important;
    border-radius:16px !important;
    box-shadow:0 10px 24px rgba(79,70,229,.12) !important;
}

.pgp-premium-taxonomy-v2 .pgp-taxonomy-title{
    margin:0 0 18px !important;
    color:#0f172a !important;
    font-size:clamp(34px, 4vw, 54px) !important;
    line-height:1.04 !important;
    font-weight:900 !important;
    letter-spacing:-.055em !important;
}

.pgp-premium-taxonomy-v2 .pgp-taxonomy-intro{
    max-width:720px !important;
    margin:0 !important;
    color:#334155 !important;
    font-size:16px !important;
    line-height:1.8 !important;
}

.pgp-premium-taxonomy-v2 .pgp-taxonomy-intro p{
    margin:0 !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-stats{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:14px !important;
    margin-top:24px !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-stat-card{
    min-width:164px !important;
    display:grid !important;
    grid-template-columns:44px minmax(0, 1fr) !important;
    grid-template-areas:"icon label" "icon value" !important;
    align-items:center !important;
    column-gap:12px !important;
    padding:14px 16px !important;
    background:rgba(255,255,255,.84) !important;
    border:1px solid rgba(226,232,240,.98) !important;
    border-radius:15px !important;
    box-shadow:0 12px 28px rgba(15,23,42,.06) !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-stat-icon{
    grid-area:icon !important;
    width:44px !important;
    height:44px !important;
    border-radius:15px !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-stat-label{
    grid-area:label !important;
    color:#64748b !important;
    font-size:12px !important;
    font-weight:800 !important;
    line-height:1.2 !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-stat-card strong{
    grid-area:value !important;
    margin-top:3px !important;
    color:#0f172a !important;
    font-size:19px !important;
    font-weight:900 !important;
    line-height:1 !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-hero-visual{
    position:relative !important;
    z-index:1 !important;
    min-height:318px !important;
    overflow:hidden !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-hero-visual::before{
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    z-index:2 !important;
    background:linear-gradient(90deg,rgba(255,255,255,.74),rgba(255,255,255,.08) 38%,rgba(15,23,42,.18)) !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-hero-visual img{
    width:100% !important;
    height:100% !important;
    min-height:318px !important;
    object-fit:cover !important;
    object-position:center !important;
    display:block !important;
    transform:scale(1.02) !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-photo-grid{
    gap:26px !important;
    margin:0 0 30px !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-photo-card{
    overflow:hidden !important;
    border:1px solid rgba(226,232,240,.98) !important;
    border-radius:18px !important;
    background:#fff !important;
    box-shadow:0 16px 34px rgba(15,23,42,.08) !important;
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-photo-card:hover{
    transform:translateY(-5px) !important;
    border-color:#cbd5e1 !important;
    box-shadow:0 22px 46px rgba(15,23,42,.13) !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-photo-card .pgp-thumb{
    padding-top:68% !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-photo-card .pgp-title{
    min-height:76px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:16px 18px !important;
    color:#0f172a !important;
    font-size:16px !important;
    font-weight:850 !important;
    line-height:1.45 !important;
    text-align:center !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-detail-panel{
    margin:0 0 30px !important;
    padding:22px !important;
    border:1px solid rgba(226,232,240,.95) !important;
    border-radius:18px !important;
    background:#fff !important;
    box-shadow:0 18px 44px rgba(15,23,42,.07) !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-detail-heading{
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
    margin:0 0 16px !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-detail-heading-icon{
    width:38px !important;
    height:38px !important;
    border-radius:13px !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-detail-heading h2{
    margin:0 !important;
    color:#0f172a !important;
    font-size:21px !important;
    font-weight:900 !important;
    line-height:1.25 !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-accordion-list{
    display:flex !important;
    flex-direction:column !important;
    gap:10px !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-accordion{
    display:block !important;
    overflow:hidden !important;
    border:1px solid #e2e8f0 !important;
    border-radius:13px !important;
    background:#fff !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-accordion summary{
    min-height:58px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:16px !important;
    padding:15px 18px !important;
    cursor:pointer !important;
    color:#0f172a !important;
    font-size:15px !important;
    font-weight:850 !important;
    line-height:1.35 !important;
    list-style:none !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-accordion summary::-webkit-details-marker{
    display:none !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-accordion-title{
    min-width:0 !important;
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-accordion-icon{
    width:30px !important;
    height:30px !important;
    flex:0 0 30px !important;
    border-radius:10px !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-chevron{
    width:28px !important;
    height:28px !important;
    flex:0 0 28px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    color:#0f172a !important;
    transition:transform .2s ease !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-accordion[open] .pgp-premium-chevron{
    transform:rotate(180deg) !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-accordion-content{
    padding:0 18px 20px 60px !important;
    color:#334155 !important;
    font-size:15px !important;
    line-height:1.8 !important;
}

.pgp-premium-taxonomy-v2 .pgp-premium-accordion-content > :first-child{margin-top:0 !important;}
.pgp-premium-taxonomy-v2 .pgp-premium-accordion-content > :last-child{margin-bottom:0 !important;}

@media(max-width:1024px){
    .pgp-premium-taxonomy-v2 .pgp-premium-category-hero{
        grid-template-columns:1fr !important;
    }
    .pgp-premium-taxonomy-v2 .pgp-premium-hero-visual{
        display:none !important;
    }
}

@media(max-width:768px){
    .pgp-premium-taxonomy-v2{
        margin:24px auto 40px !important;
    }
    .pgp-premium-taxonomy-v2 .pgp-premium-hero-copy{
        padding:30px 22px !important;
    }
    .pgp-premium-taxonomy-v2 .pgp-premium-category-hero{
        min-height:0 !important;
        border-radius:14px !important;
    }
    .pgp-premium-taxonomy-v2 .pgp-premium-stats{
        display:grid !important;
        grid-template-columns:1fr !important;
    }
    .pgp-premium-taxonomy-v2 .pgp-premium-detail-panel{
        padding:16px !important;
        border-radius:14px !important;
    }
    .pgp-premium-taxonomy-v2 .pgp-premium-accordion-content{
        padding-left:18px !important;
    }
}

/* =========================
   SAFE PROFESSIONAL CATEGORY ARCHIVE V3
   Tema ana kolon/sol-sağ menü yapısını bozmaz. Sadece galeri kategori ana içeriği içinde çalışır.
========================= */
.pgp-safe-taxonomy-v3{
    width:auto;
    max-width:none;
    margin:0;
    padding:0;
}

.pgp-safe-taxonomy-v3 .pgp-breadcrumb{
    margin-bottom:16px;
}

.pgp-safe-taxonomy-v3 .pgp-category-layout{
    align-items:start;
}

.pgp-safe-taxonomy-v3 .pgp-category-main-content{
    min-width:0;
}

.pgp-safe-taxonomy-v3 .pgp-safe-category-hero{
    position:relative;
    isolation:isolate;
    display:block;
    margin:0 0 26px;
    padding:30px 32px;
    overflow:hidden;
    border:1px solid #e5e7eb;
    border-radius:0;
    background:#ffffff;
    box-shadow:none;
}

.pgp-safe-taxonomy-v3 .pgp-safe-category-hero.has-image::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-2;
    background-image:var(--pgp-hero-bg);
    background-size:cover;
    background-position:center right;
    opacity:.14;
}

.pgp-safe-taxonomy-v3 .pgp-safe-category-hero::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    background:linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 62%, rgba(255,255,255,.74) 100%);
}

.pgp-safe-taxonomy-v3 .pgp-safe-hero-copy{
    max-width:760px;
}

.pgp-safe-taxonomy-v3 .pgp-safe-kicker{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin:0 0 12px;
    color:#64748b;
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.pgp-safe-taxonomy-v3 .pgp-safe-kicker-icon,
.pgp-safe-taxonomy-v3 .pgp-safe-stat-icon,
.pgp-safe-taxonomy-v3 .pgp-safe-detail-heading-icon,
.pgp-safe-taxonomy-v3 .pgp-safe-accordion-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#2563eb;
    background:#eff6ff;
}

.pgp-safe-taxonomy-v3 svg{
    width:18px;
    height:18px;
    display:block;
    fill:currentColor;
}

.pgp-safe-taxonomy-v3 .pgp-safe-kicker-icon{
    width:34px;
    height:34px;
    border-radius:0;
}

.pgp-safe-taxonomy-v3 .pgp-taxonomy-title{
    margin:0 0 14px;
    color:#0f172a;
    font-size:clamp(30px, 3.2vw, 46px);
    line-height:1.08;
    font-weight:900;
    letter-spacing:-.035em;
}

.pgp-safe-taxonomy-v3 .pgp-taxonomy-intro{
    max-width:720px;
    color:#334155;
    font-size:16px;
    line-height:1.75;
}

.pgp-safe-taxonomy-v3 .pgp-taxonomy-intro p{
    margin:0;
}

.pgp-safe-taxonomy-v3 .pgp-safe-stats{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:22px;
}

.pgp-safe-taxonomy-v3 .pgp-safe-stat-card{
    min-width:150px;
    display:grid;
    grid-template-columns:38px 1fr;
    grid-template-areas:"icon label" "icon value";
    align-items:center;
    column-gap:10px;
    padding:12px 14px;
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:0;
}

.pgp-safe-taxonomy-v3 .pgp-safe-stat-icon{
    grid-area:icon;
    width:38px;
    height:38px;
    border-radius:0;
}

.pgp-safe-taxonomy-v3 .pgp-safe-stat-label{
    grid-area:label;
    color:#64748b;
    font-size:12px;
    font-weight:700;
    line-height:1.2;
}

.pgp-safe-taxonomy-v3 .pgp-safe-stat-card strong{
    grid-area:value;
    color:#0f172a;
    font-size:18px;
    line-height:1.1;
    font-weight:900;
}

.pgp-safe-taxonomy-v3 .pgp-safe-hero-visual{
    display:none;
}

.pgp-safe-taxonomy-v3 .pgp-safe-photo-grid{
    gap:22px;
    margin:0 0 28px;
}

.pgp-safe-taxonomy-v3 .pgp-safe-photo-card{
    overflow:hidden;
    border:1px solid #e5e7eb;
    border-radius:0;
    background:#ffffff;
    box-shadow:none;
    transition:transform .2s ease, border-color .2s ease;
}

.pgp-safe-taxonomy-v3 .pgp-safe-photo-card:hover{
    transform:translateY(-2px);
    border-color:#cbd5e1;
}

.pgp-safe-taxonomy-v3 .pgp-safe-photo-card .pgp-thumb{
    padding-top:68%;
}

.pgp-safe-taxonomy-v3 .pgp-safe-photo-card .pgp-title{
    min-height:70px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:14px 16px;
    color:#0f172a;
    font-size:15px;
    font-weight:800;
    line-height:1.45;
    text-align:center;
}

.pgp-safe-taxonomy-v3 .pgp-safe-detail-panel{
    margin:0 0 30px;
    padding:20px;
    border:1px solid #e5e7eb;
    border-radius:0;
    background:#ffffff;
}

.pgp-safe-taxonomy-v3 .pgp-safe-detail-heading{
    display:flex;
    align-items:center;
    gap:10px;
    margin:0 0 14px;
}

.pgp-safe-taxonomy-v3 .pgp-safe-detail-heading-icon{
    width:34px;
    height:34px;
    border-radius:0;
}

.pgp-safe-taxonomy-v3 .pgp-safe-detail-heading h2{
    margin:0;
    color:#0f172a;
    font-size:20px;
    line-height:1.3;
    font-weight:900;
}

.pgp-safe-taxonomy-v3 .pgp-safe-accordion-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.pgp-safe-taxonomy-v3 .pgp-safe-accordion{
    overflow:hidden;
    border:1px solid #e5e7eb;
    border-radius:0;
    background:#ffffff;
}

.pgp-safe-taxonomy-v3 .pgp-safe-accordion summary{
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:14px 16px;
    cursor:pointer;
    color:#0f172a;
    font-size:15px;
    font-weight:800;
    line-height:1.35;
    list-style:none;
}

.pgp-safe-taxonomy-v3 .pgp-safe-accordion summary::-webkit-details-marker{
    display:none;
}

.pgp-safe-taxonomy-v3 .pgp-safe-accordion-title{
    min-width:0;
    display:flex;
    align-items:center;
    gap:10px;
}

.pgp-safe-taxonomy-v3 .pgp-safe-accordion-icon{
    width:28px;
    height:28px;
    flex:0 0 28px;
    border-radius:0;
}

.pgp-safe-taxonomy-v3 .pgp-safe-chevron{
    width:26px;
    height:26px;
    flex:0 0 26px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#0f172a;
    transition:transform .2s ease;
}

.pgp-safe-taxonomy-v3 .pgp-safe-accordion[open] .pgp-safe-chevron{
    transform:rotate(180deg);
}

.pgp-safe-taxonomy-v3 .pgp-safe-accordion-content{
    padding:0 16px 18px 54px;
    color:#334155;
    font-size:15px;
    line-height:1.8;
}

.pgp-safe-taxonomy-v3 .pgp-safe-accordion-content > :first-child{margin-top:0;}
.pgp-safe-taxonomy-v3 .pgp-safe-accordion-content > :last-child{margin-bottom:0;}

@media(max-width:768px){
    .pgp-safe-taxonomy-v3 .pgp-safe-category-hero{
        padding:24px 18px;
    }
    .pgp-safe-taxonomy-v3 .pgp-safe-stats{
        display:grid;
        grid-template-columns:1fr;
    }
    .pgp-safe-taxonomy-v3 .pgp-safe-detail-panel{
        padding:16px;
    }
    .pgp-safe-taxonomy-v3 .pgp-safe-accordion-content{
        padding-left:16px;
    }
}

/* =========================
   STABLE CATEGORY ARCHIVE - PROFESSIONAL SAFE METHOD
   SVG kullanmaz, tema img/icon stilleriyle çakışmaz.
========================= */
.pgp-stable-taxonomy,
.pgp-stable-taxonomy *{
    box-sizing:border-box;
}

.pgp-stable-taxonomy{
    width:auto;
    max-width:none;
    margin:0;
    padding:0;
}

.pgp-stable-taxonomy .pgp-breadcrumb{
    margin:0 0 14px;
    color:#64748b;
    font-size:13px;
}

.pgp-stable-taxonomy .pgp-breadcrumb a{
    color:#334155;
    text-decoration:none;
}

.pgp-stable-taxonomy .pgp-category-layout{
    align-items:start;
}

.pgp-stable-taxonomy .pgp-category-main-content{
    min-width:0;
}

.pgp-stable-taxonomy .pgp-stable-hero{
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(210px, 34%);
    gap:24px;
    align-items:stretch;
    margin:0 0 26px;
    padding:26px;
    overflow:hidden;
    border:1px solid #e6eaf0;
    border-radius:0;
    background:linear-gradient(135deg,#ffffff 0%,#f8fafc 62%,#eef2ff 100%);
}

.pgp-stable-taxonomy .pgp-stable-hero:not(.has-category-image){
    grid-template-columns:1fr;
}

.pgp-stable-taxonomy .pgp-stable-hero-content{
    min-width:0;
    position:relative;
    z-index:2;
}

.pgp-stable-taxonomy .pgp-stable-kicker{
    margin:0 0 10px;
    color:#64748b;
    font-size:12px;
    line-height:1.4;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.pgp-stable-taxonomy .pgp-taxonomy-title{
    margin:0 0 14px;
    color:#0f172a;
    font-size:clamp(30px, 3vw, 44px);
    line-height:1.08;
    font-weight:900;
    letter-spacing:-.035em;
}

.pgp-stable-taxonomy .pgp-taxonomy-intro{
    max-width:760px;
    margin:0;
    color:#334155;
    font-size:16px;
    line-height:1.75;
}

.pgp-stable-taxonomy .pgp-taxonomy-intro p{
    margin:0;
}

.pgp-stable-taxonomy .pgp-stable-stats{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:22px;
}

.pgp-stable-taxonomy .pgp-stable-stat-card{
    min-width:150px;
    display:grid;
    grid-template-columns:34px 1fr;
    grid-template-areas:"icon label" "icon value";
    column-gap:10px;
    align-items:center;
    padding:12px 14px;
    border:1px solid #e6eaf0;
    background:#fff;
    border-radius:0;
}

.pgp-stable-taxonomy .pgp-stable-stat-dot{
    grid-area:icon;
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eff6ff;
    color:#2563eb;
    font-size:17px;
    line-height:1;
}

.pgp-stable-taxonomy .pgp-stable-stat-card span:not(.pgp-stable-stat-dot){
    grid-area:label;
    color:#64748b;
    font-size:12px;
    font-weight:700;
    line-height:1.2;
}

.pgp-stable-taxonomy .pgp-stable-stat-card strong{
    grid-area:value;
    color:#0f172a;
    font-size:18px;
    line-height:1.1;
    font-weight:900;
}

.pgp-stable-taxonomy .pgp-stable-hero-image{
    position:relative;
    min-height:190px;
    overflow:hidden;
    border:1px solid rgba(226,232,240,.9);
    background:#f1f5f9;
}

.pgp-stable-taxonomy .pgp-stable-hero-image::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg, rgba(248,250,252,.12), rgba(15,23,42,.22));
    pointer-events:none;
}

.pgp-stable-taxonomy .pgp-stable-hero-image img{
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    min-height:190px;
    display:block !important;
    object-fit:cover;
    object-position:center;
    border:0 !important;
}

.pgp-stable-taxonomy .pgp-stable-photo-grid{
    gap:22px;
    margin:0 0 28px;
}

.pgp-stable-taxonomy .pgp-stable-photo-card{
    overflow:hidden;
    border:1px solid #e6eaf0;
    border-radius:0;
    background:#fff;
    box-shadow:none;
    transition:transform .2s ease, border-color .2s ease;
}

.pgp-stable-taxonomy .pgp-stable-photo-card:hover{
    transform:translateY(-2px);
    border-color:#cbd5e1;
}

.pgp-stable-taxonomy .pgp-stable-photo-card .pgp-thumb{
    padding-top:68%;
}

.pgp-stable-taxonomy .pgp-stable-photo-card .pgp-title{
    min-height:68px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:14px 16px;
    color:#0f172a;
    font-size:15px;
    font-weight:800;
    line-height:1.45;
    text-align:center;
    text-decoration:none;
}

.pgp-stable-taxonomy .pgp-stable-detail-panel{
    margin:0 0 30px;
    padding:20px;
    border:1px solid #e6eaf0;
    border-radius:0;
    background:#fff;
}

.pgp-stable-taxonomy .pgp-stable-detail-head{
    display:flex;
    align-items:center;
    gap:10px;
    margin:0 0 14px;
}

.pgp-stable-taxonomy .pgp-stable-detail-icon{
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eff6ff;
    color:#2563eb;
    font-size:16px;
    line-height:1;
}

.pgp-stable-taxonomy .pgp-stable-detail-head h2{
    margin:0;
    color:#0f172a;
    font-size:20px;
    line-height:1.3;
    font-weight:900;
}

.pgp-stable-taxonomy .pgp-stable-accordion-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.pgp-stable-taxonomy .pgp-stable-accordion{
    overflow:hidden;
    border:1px solid #e6eaf0;
    border-radius:0;
    background:#fff;
}

.pgp-stable-taxonomy .pgp-stable-accordion summary{
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:14px 16px;
    cursor:pointer;
    color:#0f172a;
    font-size:15px;
    font-weight:800;
    line-height:1.35;
    list-style:none;
}

.pgp-stable-taxonomy .pgp-stable-accordion summary::-webkit-details-marker{
    display:none;
}

.pgp-stable-taxonomy .pgp-stable-accordion-title{
    min-width:0;
}

.pgp-stable-taxonomy .pgp-stable-chevron{
    width:28px;
    height:28px;
    flex:0 0 28px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f8fafc;
    color:#0f172a;
    font-size:21px;
    line-height:1;
    transition:transform .2s ease;
}

.pgp-stable-taxonomy .pgp-stable-accordion[open] .pgp-stable-chevron{
    transform:rotate(180deg);
}

.pgp-stable-taxonomy .pgp-stable-accordion-content{
    padding:0 16px 18px;
    color:#334155;
    font-size:15px;
    line-height:1.8;
}

.pgp-stable-taxonomy .pgp-stable-accordion-content > :first-child{margin-top:0;}
.pgp-stable-taxonomy .pgp-stable-accordion-content > :last-child{margin-bottom:0;}

@media(max-width:900px){
    .pgp-stable-taxonomy .pgp-stable-hero{
        grid-template-columns:1fr;
        padding:22px 18px;
    }
    .pgp-stable-taxonomy .pgp-stable-hero-image{
        display:none;
    }
}

@media(max-width:640px){
    .pgp-stable-taxonomy .pgp-stable-stats{
        display:grid;
        grid-template-columns:1fr;
    }
    .pgp-stable-taxonomy .pgp-stable-detail-panel{
        padding:16px;
    }
}

/* =========================
   STABLE CATEGORY IMAGE - MODERN GRADIENT CARD
   Sadece kategori kapak görselini modernleştirir; layout/sidebar yapısına dokunmaz.
========================= */
.pgp-stable-taxonomy .pgp-stable-hero-image{
    position:relative;
    min-height:220px;
    overflow:hidden;
    border:1px solid rgba(226,232,240,.92);
    border-radius:18px;
    background:
        linear-gradient(135deg, rgba(15,23,42,.08), rgba(37,99,235,.10)),
        #f1f5f9;
    box-shadow:0 18px 42px rgba(15,23,42,.10);
}

.pgp-stable-taxonomy .pgp-stable-hero-image::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:2;
    background:
        radial-gradient(circle at 18% 18%, rgba(255,255,255,.34), transparent 26%),
        linear-gradient(135deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.02) 42%, rgba(15,23,42,.58) 100%);
    pointer-events:none;
}

.pgp-stable-taxonomy .pgp-stable-hero-image::after{
    content:"";
    position:absolute;
    inset:auto -20% -45% -20%;
    z-index:3;
    height:72%;
    background:linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(15,23,42,.72) 100%);
    pointer-events:none;
}

.pgp-stable-taxonomy .pgp-stable-hero-image-bg{
    position:absolute;
    inset:-18px;
    z-index:0;
    background-image:var(--pgp-hero-bg);
    background-size:cover;
    background-position:center;
    filter:blur(18px) saturate(1.15);
    opacity:.38;
    transform:scale(1.08);
}

.pgp-stable-taxonomy .pgp-stable-hero-image img{
    position:relative;
    z-index:1;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    min-height:220px;
    display:block !important;
    object-fit:cover;
    object-position:center;
    border:0 !important;
    transform:scale(1.015);
    transition:transform .35s ease, filter .35s ease;
}

.pgp-stable-taxonomy .pgp-stable-hero:hover .pgp-stable-hero-image img{
    transform:scale(1.055);
    filter:saturate(1.06) contrast(1.03);
}

.pgp-stable-taxonomy .pgp-stable-hero-image-overlay{
    position:absolute;
    left:18px;
    right:18px;
    bottom:16px;
    z-index:4;
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:13px 15px;
    color:#fff;
    border:1px solid rgba(255,255,255,.28);
    border-radius:14px;
    background:linear-gradient(135deg, rgba(15,23,42,.72), rgba(15,23,42,.34));
    backdrop-filter:blur(10px);
    box-shadow:0 14px 30px rgba(15,23,42,.22);
}

.pgp-stable-taxonomy .pgp-stable-hero-image-overlay span{
    color:rgba(255,255,255,.78);
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
    line-height:1.2;
    text-transform:uppercase;
}

.pgp-stable-taxonomy .pgp-stable-hero-image-overlay strong{
    color:#fff;
    font-size:17px;
    font-weight:900;
    line-height:1.25;
}

@media(max-width:900px){
    .pgp-stable-taxonomy .pgp-stable-hero-image{
        display:block;
        min-height:210px;
    }
    .pgp-stable-taxonomy .pgp-stable-hero-image img{
        min-height:210px;
    }
}

@media(max-width:640px){
    .pgp-stable-taxonomy .pgp-stable-hero-image{
        min-height:190px;
        border-radius:14px;
    }
    .pgp-stable-taxonomy .pgp-stable-hero-image img{
        min-height:190px;
    }
    .pgp-stable-taxonomy .pgp-stable-hero-image-overlay{
        left:12px;
        right:12px;
        bottom:12px;
        border-radius:12px;
    }
}

/* =========================
   ARCHIVE /galeri CATEGORY LANDING
========================= */

.pgp-archive-categories-page{
    max-width:1240px;
}

.pgp-archive-categories-hero{
    display:grid;
    grid-template-columns:minmax(0, 1fr) auto;
    gap:24px;
    align-items:center;
    margin:0 0 30px;
    padding:28px;
    background:linear-gradient(135deg, #ffffff 0%, #f8fafc 55%, #eef2ff 100%);
    border:1px solid #e5e7eb;
    border-radius:22px;
    box-shadow:0 18px 45px rgba(15, 23, 42, .06);
    overflow:hidden;
}

.pgp-archive-categories-hero .pgp-taxonomy-title{
    margin-bottom:12px;
}

.pgp-archive-categories-hero .pgp-taxonomy-description{
    margin:0;
    max-width:760px;
}

.pgp-archive-categories-stats{
    display:grid;
    grid-template-columns:repeat(2, minmax(120px, 1fr));
    gap:12px;
}

.pgp-archive-stat-card{
    min-width:140px;
    padding:16px 18px;
    background:rgba(255, 255, 255, .86);
    border:1px solid rgba(226, 232, 240, .95);
    border-radius:18px;
    box-shadow:0 10px 24px rgba(15, 23, 42, .05);
}

.pgp-archive-stat-icon{
    display:inline-flex;
    width:30px;
    height:30px;
    align-items:center;
    justify-content:center;
    margin-bottom:8px;
    border-radius:10px;
    background:#eef2ff;
    color:#4f46e5;
    font-size:15px;
    line-height:1;
}

.pgp-archive-stat-label{
    display:block;
    margin-bottom:3px;
    color:#64748b;
    font-size:12px;
    font-weight:700;
    letter-spacing:.02em;
}

.pgp-archive-stat-card strong{
    display:block;
    color:#0f172a;
    font-size:22px;
    line-height:1.1;
}

.pgp-archive-category-list{
    margin-top:0;
}

.pgp-archive-category-card .pgp-category-button-image{
    min-height:190px;
}

.pgp-archive-photo-count{
    position:absolute;
    right:14px;
    top:14px;
    z-index:3;
    padding:7px 10px;
    border-radius:999px;
    background:rgba(15, 23, 42, .72);
    color:#fff;
    font-size:12px;
    font-weight:700;
    backdrop-filter:blur(10px);
}

.pgp-archive-category-excerpt{
    margin:8px 0 14px;
    color:#64748b;
    font-size:14px;
    line-height:1.65;
}

.pgp-archive-empty{
    padding:22px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
}

@media (max-width:900px){
    .pgp-archive-categories-hero{
        grid-template-columns:1fr;
    }

    .pgp-archive-categories-stats{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:640px){
    .pgp-archive-categories-hero{
        padding:22px;
        border-radius:18px;
    }

    .pgp-archive-categories-stats{
        grid-template-columns:1fr;
    }
}

/* Galeri ana sayfası SEO detay alanları */
.pgp-archive-seo-details{margin:28px 0 0;display:grid;gap:12px;clear:both;}
.pgp-archive-detail-card{background:#fff;border:1px solid #e5e7eb;box-shadow:0 10px 28px rgba(15,23,42,.06);overflow:hidden;}
.pgp-archive-detail-card summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;padding:16px 18px;font-weight:800;color:#111827;background:#fff;border-bottom:1px solid transparent;}
.pgp-archive-detail-card[open] summary{border-bottom-color:#eef2f7;background:linear-gradient(180deg,#fff,#f8fafc);}
.pgp-archive-detail-card summary::-webkit-details-marker{display:none;}
.pgp-archive-detail-card summary span{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;background:#eef2ff;color:#3730a3;font-weight:900;line-height:1;}
.pgp-archive-detail-content{padding:18px;color:#334155;line-height:1.75;font-size:15px;}
.pgp-archive-detail-content h2,.pgp-archive-detail-content h3{color:#111827;margin-top:0;}
.pgp-archive-entity-list{display:flex;flex-wrap:wrap;gap:9px;margin:0!important;padding:0!important;list-style:none!important;}
.pgp-archive-entity-list li{background:#f8fafc;border:1px solid #e2e8f0;padding:8px 11px;color:#334155;font-weight:700;font-size:13px;}
.pgp-archive-faq-list{display:grid;gap:14px;}
.pgp-archive-faq-item{background:#f8fafc;border:1px solid #e2e8f0;padding:14px;}
.pgp-archive-faq-item strong{display:block;color:#111827;margin-bottom:7px;}
.pgp-archive-faq-item p{margin:0;color:#475569;}
