/* PHOTO_SITE_THEME_V1 */

/* CSS ANTET EXISTENT */
/* PHOTO_UNIFIED_HEADER_V1 */

/* Acelasi centru pentru logo si meniu */
html body .site-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    gap: 10px;
}

html body .site-header > h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
    text-align: center;
}

html body .site-header > .main-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px;
    width: 100%;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
    text-align: center;
}

html body .site-header > .main-nav > a.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    text-align: center;
    white-space: normal;
}

html body .site-header > .main-nav > a.nav-link i {
    margin: 0;
}

@media (max-width: 600px) {
    html body .site-header > .main-nav {
        gap: 5px;
        padding-left: 8px;
        padding-right: 8px;
    }

    html body .site-header > .main-nav > a.nav-link {
        font-size: 13px;
        padding: 8px 10px;
    }
}


/* CSS LOGO EXISTENT */

/* PHOTO_BRAND_HEADER_V1 */

/* Identitate vizuala comuna */
html body .site-header > h1.pb-brand-heading {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;

    width: 100%;
    max-width: 1160px;

    margin: 0 auto 12px !important;
    padding: 6px 16px 0 !important;

    text-align: center !important;
    box-sizing: border-box;

    gap: 8px;
    background: transparent;
}

/* Link catre prima pagina */
html body .site-header .pb-brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    text-decoration: none;
    background: transparent;
    line-height: 1;
}

/* Logo original Photo Baluna */
html body .site-header img.pb-brand-image {
    display: block !important;

    width: 270px !important;
    max-width: 75vw !important;
    height: auto !important;

    margin: 0 auto !important;
    padding: 0 !important;

    object-fit: contain;
    border: 0;
    box-shadow: none;
}

/* Acelasi subtitlu pe toate paginile */
html body .site-header .pb-brand-subtitle {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    max-width: 100%;
    color: #314968 !important;

    font-family: inherit;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: .01em;

    text-align: center !important;
    text-transform: none !important;
}

/* Separare discreta fata de meniu */
html body .site-header > .main-nav {
    margin-top: 5px !important;
}

/* Telefoane */
@media (max-width: 600px) {

    html body .site-header > h1.pb-brand-heading {
        gap: 6px;
        margin-bottom: 8px !important;
        padding-top: 4px !important;
    }

    html body .site-header img.pb-brand-image {
        width: 220px !important;
        max-width: 75vw !important;
    }

    html body .site-header .pb-brand-subtitle {
        font-size: 13px !important;
        line-height: 1.4 !important;
        padding: 0 8px !important;
    }
}




/* ==================================================
   PHOTO BALUNA - DESIGN COMUN
   PHOTO_SITE_THEME_V1
   ================================================== */

:root {
    --pb-primary: #245aa5;
    --pb-primary-dark: #194780;
    --pb-text: #233247;
    --pb-muted: #64748b;
    --pb-border: #dbe4ef;
    --pb-surface: #ffffff;
    --pb-background: #f5f7fb;
    --pb-radius: 10px;
    --pb-shadow: 0 5px 20px rgba(25, 48, 75, .06);
}

/* ANTET SI NAVIGATIE */

html body .site-header > .main-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
}

html body .site-header .main-nav > a.nav-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 42px;
    padding: 10px 15px !important;

    margin: 0 !important;
    border: 1px solid transparent !important;
    border-radius: var(--pb-radius) !important;

    background: transparent !important;
    color: var(--pb-primary) !important;

    font-family: inherit;
    font-size: 14px;
    font-weight: 650 !important;
    line-height: 1.35;
    text-align: center;
    text-decoration: none !important;

    box-shadow: none !important;
    transition: background .15s, color .15s;
}

html body .site-header .main-nav > a.nav-link:hover {
    background: #eaf1fb !important;
    color: var(--pb-primary-dark) !important;
}

html body .site-header .main-nav > a.nav-link.active {
    background: var(--pb-primary) !important;
    color: #ffffff !important;
}

html body .site-header .main-nav > a.nav-link.active:hover {
    background: var(--pb-primary-dark) !important;
    color: #ffffff !important;
}

html body .site-header .main-nav > a.nav-link i {
    margin: 0 !important;
}

/* BUTOANE PRINCIPALE */

html body .pb-home-promo .pb-primary,
html body .pb-home-smart-search button[type="submit"],
html body .search-form button[type="submit"],
html body .search-button,
html body .upload-form button[type="submit"],
html body .upload-form input[type="submit"],
html body .btn-primary,
html body a.btn-primary,
html body button.btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    min-height: 44px;
    padding: 11px 18px !important;

    background: var(--pb-primary) !important;
    color: #fff !important;

    border: 1px solid var(--pb-primary) !important;
    border-radius: var(--pb-radius) !important;

    font-family: inherit;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.35;

    text-align: center;
    text-decoration: none !important;

    box-shadow: 0 3px 9px rgba(36,90,165,.12);
    cursor: pointer;
    transition: background .15s, box-shadow .15s;
}

html body .pb-home-promo .pb-primary:hover,
html body .pb-home-smart-search button[type="submit"]:hover,
html body .search-form button[type="submit"]:hover,
html body .search-button:hover,
html body .upload-form button[type="submit"]:hover,
html body .btn-primary:hover {
    background: var(--pb-primary-dark) !important;
    color: #fff !important;
    border-color: var(--pb-primary-dark) !important;
}

/* BUTOANE SECUNDARE */

html body .pb-home-promo .pb-secondary,
html body .btn-secondary,
html body a.btn-secondary,
html body button.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 44px;
    padding: 11px 18px !important;

    background: #fff !important;
    color: var(--pb-primary) !important;

    border: 1px solid #c4d2e4 !important;
    border-radius: var(--pb-radius) !important;

    font-family: inherit;
    font-size: 14px !important;
    font-weight: 650 !important;

    text-decoration: none !important;
    text-align: center;
    cursor: pointer;
}

html body .pb-home-promo .pb-secondary:hover,
html body .btn-secondary:hover {
    background: #edf4fd !important;
    color: var(--pb-primary-dark) !important;
}

/* CAMPURI DE CAUTARE */

html body .search-form input[type="text"],
html body .search-form input[type="search"],
html body .pb-home-smart-search input[type="search"] {
    min-height: 46px;
    padding: 12px 15px !important;

    background: #fff;
    color: var(--pb-text);

    border: 1px solid #c6d3e2 !important;
    border-radius: var(--pb-radius) !important;

    font-family: inherit;
    font-size: 15px;

    box-shadow: 0 2px 8px rgba(25,48,75,.04);
}

html body .search-form input:focus,
html body .pb-home-smart-search input:focus {
    border-color: var(--pb-primary) !important;
    outline: 2px solid rgba(36,90,165,.16);
    outline-offset: 1px;
}

/* CARDURI SI SECTIUNI */

html body .pb-home-promo,
html body .features .feature-item,
html body .recent-photos .photo-item,
html body .grid .item {
    border-radius: 12px;
    border-color: var(--pb-border);
    box-shadow: var(--pb-shadow);
}

html body .grid .item,
html body .recent-photos .photo-item {
    background: var(--pb-surface);
}

html body .grid .item:hover {
    box-shadow: 0 8px 24px rgba(25,48,75,.11);
}

/* PAGINARE */

html body .pagination a,
html body .pages a {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-height: 38px;
    min-width: 38px;
    padding: 8px 12px;

    border: 1px solid var(--pb-border);
    border-radius: 8px;

    background: #fff;
    color: var(--pb-primary);
    text-decoration: none;
    font-weight: 600;
}

html body .pagination a:hover,
html body .pages a:hover {
    background: #edf4fd;
    border-color: #b4c9e5;
}

html body .pagination a.active {
    background: var(--pb-primary);
    color: #fff;
    border-color: var(--pb-primary);
}

/* NAVIGARE COLECTII */

html body .explore-jump a {
    padding: 8px 12px;
    border: 1px solid var(--pb-border);
    border-radius: 8px;
    background: #fff;
    color: var(--pb-primary);
    text-decoration: none;
    font-weight: 600;
}

html body .explore-jump a:hover {
    background: #edf4fd;
}

/* ACCESIBILITATE */

html body .main-nav a:focus-visible,
html body .pb-home-promo a:focus-visible,
html body .search-form button:focus-visible,
html body .upload-form button:focus-visible,
html body .pagination a:focus-visible {
    outline: 3px solid #7aaded !important;
    outline-offset: 2px;
}

/* MOBIL */

@media (max-width: 600px) {

    html body .site-header > .main-nav {
        gap: 5px !important;
        padding: 0 8px !important;
    }

    html body .site-header .main-nav > a.nav-link {
        min-height: 38px;
        padding: 8px 10px !important;
        font-size: 13px !important;
    }

    html body .pb-home-promo .pb-actions {
        flex-wrap: wrap;
    }

    html body .pb-home-promo .pb-actions a {
        flex: 1 1 180px;
    }

    html body .pb-search-independent .pb-search-line {
        flex-direction: column;
    }

    html body .pb-search-independent button[type="submit"] {
        width: 100%;
    }
}


/* PHOTO_MENU_AD_SPACING_V2 */

/* MENIU PHOTO BALUNA */

html body .site-header > .main-nav {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    margin: 10px auto 15px !important;
    padding: 4px 12px !important;
    max-width: 1160px;
}

html body .site-header > .main-nav > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;

    min-height: 43px;
    padding: 10px 17px !important;
    margin: 0 !important;

    border: 1px solid #d5e2f1 !important;
    border-radius: 999px !important;

    background: linear-gradient(
        180deg, #ffffff, #f1f6fd
    ) !important;

    color: #245aa5 !important;

    font-family: inherit;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.35;

    text-decoration: none !important;
    text-align: center;

    box-shadow: 0 2px 7px rgba(25,55,95,.07) !important;

    transition:
        background .18s ease,
        color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

html body .site-header > .main-nav > a:hover {
    background: #e7f0fc !important;
    color: #164984 !important;
    border-color: #a8c5e8 !important;
    box-shadow: 0 4px 12px rgba(30,70,120,.12) !important;
    transform: translateY(-1px);
}

/* Pagina selectata */

html body .site-header > .main-nav > a.active,
html body .site-header > .main-nav > a[aria-current="page"] {
    background: #245aa5 !important;
    color: #ffffff !important;
    border-color: #245aa5 !important;

    box-shadow: 0 4px 12px rgba(36,90,165,.22) !important;
}

html body .site-header > .main-nav > a.active:hover,
html body .site-header > .main-nav > a[aria-current="page"]:hover {
    background: #194780 !important;
    color: #ffffff !important;
    border-color: #194780 !important;
}

html body .site-header > .main-nav > a i {
    margin: 0 !important;
    color: inherit !important;
}

html body .site-header > .main-nav > a:focus-visible {
    outline: 3px solid #83b3ef !important;
    outline-offset: 3px !important;
}

@media (max-width: 600px) {
    html body .site-header > .main-nav {
        gap: 6px !important;
        padding: 3px 7px !important;
        margin-bottom: 10px !important;
    }

    html body .site-header > .main-nav > a {
        min-height: 39px;
        padding: 8px 11px !important;
        font-size: 12.5px !important;
        gap: 5px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body .site-header > .main-nav > a {
        transition: none !important;
        transform: none !important;
    }
}

/* SPATIERE CONTAINERE RECLAME */
html body .photo-ad-after-image,
html body .photo-manual-ad {
    margin-top: 12px !important;
    margin-bottom: 12px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
}

/* Dimensiunile ins.adsbygoogle raman nemodificate. */

/* PHOTO_MENU_SPECIFICITY_FIX_V3 */

html body header.site-header > nav.main-nav > a.nav-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    min-height: 44px !important;
    padding: 10px 19px !important;
    margin: 0 !important;

    background: linear-gradient(
        180deg, #ffffff, #edf4fd
    ) !important;

    color: #245aa5 !important;
    border: 1px solid #c8daed !important;
    border-radius: 999px !important;

    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;

    box-shadow:
        0 3px 9px rgba(25,55,95,.09) !important;

    transition:
        background .18s ease,
        box-shadow .18s ease,
        transform .18s ease !important;
}

html body header.site-header > nav.main-nav > a.nav-link:hover {
    background: #dceafa !important;
    color: #163f75 !important;
    border-color: #96b9e4 !important;
    box-shadow:
        0 5px 14px rgba(25,55,95,.15) !important;
    transform: translateY(-1px);
}

html body header.site-header > nav.main-nav > a.nav-link.active,
html body header.site-header > nav.main-nav > a.nav-link[aria-current="page"] {
    background: #245aa5 !important;
    color: #ffffff !important;
    border-color: #245aa5 !important;
    box-shadow:
        0 4px 13px rgba(36,90,165,.23) !important;
}

html body header.site-header > nav.main-nav > a.nav-link.active:hover {
    background: #194780 !important;
    color: #ffffff !important;
}

html body header.site-header > nav.main-nav > a.nav-link i {
    color: inherit !important;
    margin: 0 !important;
}

@media (max-width: 600px) {
    html body header.site-header > nav.main-nav > a.nav-link {
        min-height: 39px !important;
        padding: 8px 12px !important;
        font-size: 12.5px !important;
        gap: 5px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body header.site-header > nav.main-nav > a.nav-link {
        transition: none !important;
        transform: none !important;
    }
}


/* PHOTO_NAV_TYPOGRAPHY_V5 */

/* Text meniu: majuscule elegante */

html body header.site-header > nav.main-nav > a.nav-link {
    font-family: "Segoe UI", system-ui, Arial, sans-serif !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    letter-spacing: .75px !important;
    line-height: 1.35 !important;
    text-transform: uppercase !important;
    white-space: nowrap;

    min-height: 47px !important;
    padding: 11px 18px !important;
    gap: 8px !important;
}

/* Pastreaza acelasi stil inclusiv pentru textul
   aflat in elemente span */

html body header.site-header > nav.main-nav > a.nav-link > span {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    color: inherit !important;
}

/* Accent grafic discret inaintea pictogramei */

html body header.site-header > nav.main-nav > a.nav-link::before {
    content: "" !important;
    display: block !important;
    flex: 0 0 6px;

    width: 6px;
    height: 6px;

    background: #7da8d9;
    border-radius: 50%;

    box-shadow: 0 0 0 3px rgba(36,90,165,.08);
    opacity: .9;
    transition: background .18s ease;
}

/* Accentul pe pagina selectata */

html body header.site-header > nav.main-nav > a.nav-link.active::before,
html body header.site-header > nav.main-nav > a.nav-link[aria-current="page"]::before {
    background: #dcecff;
    box-shadow: 0 0 0 3px rgba(255,255,255,.16);
    opacity: 1;
}

/* Pictograme pastrate, ajustate la tipografie */

html body header.site-header > nav.main-nav > a.nav-link > i {
    font-size: 16px !important;
    line-height: 1 !important;
    margin: 0 !important;
    color: inherit !important;
}

/* Dispozitive mobile */

@media (max-width: 600px) {
    html body header.site-header > nav.main-nav > a.nav-link {
        font-size: 13.5px !important;
        letter-spacing: .35px !important;
        font-weight: 700 !important;

        min-height: 41px !important;
        padding: 9px 12px !important;
        gap: 6px !important;
    }

    html body header.site-header > nav.main-nav > a.nav-link > i {
        font-size: 14px !important;
    }

    html body header.site-header > nav.main-nav > a.nav-link::before {
        width: 5px;
        height: 5px;
        flex-basis: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body header.site-header > nav.main-nav > a.nav-link::before {
        transition: none !important;
    }
}

/* PHOTO_RECENT_UPLOAD_V6 */

html body .site-header > div.pb-brand-heading {
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%;
    max-width:1160px;
    margin:0 auto 12px!important;
    padding:6px 16px 0!important;
    text-align:center;
    box-sizing:border-box;
    gap:8px;
}

/* Fotografii recente */

html body .pb-recent-intro {
    max-width:1100px;
    margin:18px auto 20px;
    padding:0 16px;
    box-sizing:border-box;
}

html body .pb-recent-intro h1 {
    margin:0 0 9px;
    color:#203a5c;
    font-size:clamp(24px,3vw,32px);
    font-weight:750;
    line-height:1.2;
}

html body .pb-recent-intro p {
    color:#53647b;
    font-size:15px;
    line-height:1.65;
    margin:0;
}

/* Acceptarea termenilor */

html body .upload-form .pb-upload-consent {
    margin:14px 0 16px;
    padding:14px 16px;
    border:1px solid #d1e3e0;
    border-radius:12px;
    background:#f3faf8;
}

html body .upload-form .pb-upload-consent label {
    display:flex;
    gap:11px;
    align-items:flex-start;
    cursor:pointer;
    color:#29453f;
    font-size:14px;
    font-weight:500;
    line-height:1.55;
}

html body .upload-form .pb-upload-consent input {
    flex:0 0 auto;
    accent-color:#087b70;
    width:19px;
    height:19px;
    margin:2px 0 0;
}

html body .upload-form .pb-upload-consent a {
    color:#086c65;
    text-decoration:underline;
    font-weight:700;
}

/* Doar butonul Incarca si Proceseaza */

html body .upload-form > button.submit-btn {
    min-height:55px!important;
    padding:15px 20px!important;
    border:1px solid #087b70!important;
    border-radius:12px!important;
    background:linear-gradient(
        135deg,#089381,#087267
    )!important;
    color:#fff!important;
    font-family:"Segoe UI",system-ui,Arial,sans-serif!important;
    font-size:17px!important;
    font-weight:750!important;
    letter-spacing:.2px!important;
    box-shadow:0 6px 17px rgba(8,115,103,.18)!important;
}

html body .upload-form > button.submit-btn:hover {
    background:linear-gradient(
        135deg,#087c70,#065e57
    )!important;
    border-color:#065e57!important;
}

html body .upload-form > button.submit-btn:focus-visible {
    outline:3px solid #65c7b8!important;
    outline-offset:3px;
}

@media(max-width:600px) {
    html body .pb-recent-intro {
        margin-top:14px;
        padding:0 13px;
    }
    html body .upload-form > button.submit-btn {
        font-size:16px!important;
    }
}
