/** Hide "Save" button **/
.pgReset .com-users-reset-confirm legend,
.pgReminder .com-users-remind legend,
.pgReset .com-users-reset legend {
    font-size: 1rem;
    font-weight: 600;
}

.pgReminder .com-users-login__submit,
.pgReminder .com-users-remind__submit,
.pgReset .com-users-reset-confirm__submit,
.pgReset .com-users-reset__submit {
    text-align: center;
}

.pgReminder .com-users-login,
.pgReminder .com-users-remind,
.pgReset .com-users-reset-confirm,
.pgReset .com-users-reset {
    max-width: 800px;
    padding: 3rem;
    margin: 1rem auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e4e6eb;
    overflow: hidden;
    transition: all 0.2s ease;
    margin-bottom: 0;

}

/* Hide "Save" button on social post create page only */
body.pgSocialPostCreate .d-grid.gap-2.d-sm-block.mb-2 button[data-submit-task="article.apply"] {
    display: none !important;
}

/* More specific selector */
body.pgSocialPostCreate .edit.item-page .d-grid.gap-2.d-sm-block.mb-2 button.btn.btn-primary[data-submit-task="article.apply"] {
    display: none !important;
}

/* Or target by button text if needed */
body.pgSocialPostCreate .edit.item-page .d-grid.gap-2.d-sm-block.mb-2 button.btn.btn-primary:first-child {
    display: none !important;
}

/** Hide "Save" button **/

joomla-field-media .field-media-preview-icon {
    background-image: none !important;
}

/* Hide original labels that are causing duplicates */
.edit.item-page .control-group > .control-label:has(label[for^="jform_com_fields_image"]) {
    display: none;
}

/* Grid layout for image cards - target only the main image containers */
.edit.item-page .form-grid > .control-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 16px;
}

/* Each image upload card wrapper */
.edit.item-page .form-grid > .control-group > .controls > .subform-wrapper {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e4e6eb;
    overflow: hidden;
    transition: all 0.2s ease;
    margin-bottom: 0;
}

.edit.item-page .form-grid > .control-group > .controls > .subform-wrapper:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Card header with image number */
.edit.item-page .subform-wrapper::before {
    content: attr(data-image-number);
    display: block;
    padding: 12px 16px;
    background: #f8f9fa;
    font-weight: 600;
    font-size: 14px;
    color: #65676b;
    border-bottom: 1px solid #e4e6eb;
    letter-spacing: -0.2px;
}

/* Add image numbers dynamically */
.edit.item-page .subform-wrapper:first-child::before {
    content: "Image #1";
    display: none;
}

.edit.item-page .subform-wrapper:nth-child(2)::before {
    content: "Image #2";
}

.edit.item-page .subform-wrapper:nth-child(3)::before {
    content: "Image #3";
}

.edit.item-page .subform-wrapper:nth-child(4)::before {
    content: "Image #4";
}

/* Preview container - Facebook style */
.edit.item-page .field-media-preview {
    background: #f0f2f5;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.edit.item-page .field-media-preview-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 220px;
}

.edit.item-page .field-media-preview-icon:empty::before {
    content: "📷";
    font-size: 56px;
    opacity: 0.4;
    font-family: initial;
}

.edit.item-page .field-media-preview-icon img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Upload overlay on hover */
.edit.item-page .field-media-preview:hover::after {
    content: "Click to change image";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
}

/* Input group styling - Facebook style */
.edit.item-page .input-group {
    padding: 16px;
    background: #ffffff;
    display: flex;
    gap: 12px;
    align-items: center;
    border-top: 1px solid #e4e6eb;
}

.edit.item-page .field-media-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #dddfe2;
    border-radius: 8px;
    font-size: 13px;
    background: #f0f2f5;
    font-family: inherit;
}

.edit.item-page .field-media-input:focus {
    outline: none;
    border-color: #1877f2;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.1);
}

/* Facebook-style Select button */
.edit.item-page .button-select {
    background: #e4e6eb;
    color: #050505;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.edit.item-page .button-select:hover {
    background: #d8dadf;
}

/* Alt text section - clean styling */
.edit.item-page .subform-wrapper .control-group:not(:first-child) {
    padding: 12px 16px;
    border-top: 1px solid #e4e6eb;
    background: #ffffff;
    margin: 0;
}

.edit.item-page .control-label label[for*="alt_text"] {
    font-size: 13px;
    font-weight: 500;
    color: #65676b;
    margin-bottom: 8px;
    display: block;
}

.edit.item-page .controls input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dddfe2;
    border-radius: 8px;
    font-size: 1rem;
    background: #f0f2f5;
    transition: all 0.2s ease;
}

.edit.item-page .controls input[type="text"]:focus {
    outline: none;
    border-color: #1877f2;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.1);
}

/* Checkbox styling */
.edit.item-page .form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 4px;
}

.edit.item-page .form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #1877f2;
    margin: 0;
}

.edit.item-page .form-check-input + label {
    margin: 0;
    cursor: pointer;
    font-size: 13px;
    color: #65676b;
}

.edit.item-page .form-text {
    color: #65676b;
    font-size: 11px;
    margin-top: 6px;
    display: block;
    line-height: 1.4;
}

/* Alert banner */
.edit.item-page .alert.alert-info {
    background: #e7f3ff;
    border-left: 4px solid #1877f2;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #1c3e6c;
}

.edit.item-page .alert.alert-info .icon-info-circle {
    font-size: 18px;
}

/* Legend styling */
.edit.item-page legend {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #1877f2;
    display: inline-block;
    letter-spacing: -0.3px;
}

/* Hide the inner control-group labels that are redundant */
.edit.item-page .subform-wrapper .control-group .control-label {
    margin-bottom: 0;
}

/* Make the layout cleaner */
.edit.item-page .form-grid {
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .edit.item-page .form-grid > .control-group {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .edit.item-page .input-group {
        flex-direction: column;
    }
    
    .edit.item-page .button-select {
        width: 100%;
    }
    
    .edit.item-page .field-media-preview-icon:empty::before {
        font-size: 40px;
    }
}

/* Remove duplicate labels that appear as titles */
.edit.item-page .controls > .control-label {
    display: none;
}

/* Style for the wrapper to ensure proper spacing */
.edit.item-page .form-grid > .control-group {
    margin-bottom: 0;
}

.edit.item-page .form-grid > .control-group > .controls {
    padding: 0;
}
/****************/
/**** EDIT ***/
/*** ***/
.joomla-tab > joomla-tab-element { 
    padding: 40px !important;
    border: none !important;
    border-radius: 6px !important;
}

joomla-tab button[aria-selected="true"]::after {
  background-color: #0d6efd;
  height: 6px;
}

.edit.item-page div[role="tablist"] > button[role="tab"] {
  font-weight: 600;
  font-size: 1rem;
}

joomla-tab[view="tabs"] > div[role="tablist"] button {
  font-weight: 600 !important;
  border-right: solid 1px #f2f4f7;
}

joomla-tab button[role="tab"] {
  padding: 1em 1.3em;
}

joomla-tab[view="tabs"] > div[role="tablist"] {
  border: solid 1px transparent;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: transparent;
  border-radius: 8px 8px 0 0;
  box-shadow: none !important;
  background-color: #ffffff !important;
  border-bottom: solid 1px #0A1F44;
}

.edit.item-page joomla-tab {
  width: 100%;
  box-sizing: border-box;
}

/* ============================================
   Social Desktop HEADER
   ============================================ */
  @media (min-width: 768px) {
  .headerFirst {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* =======Social Desktop HEADER=========*/

body.site.view-form.layout-edit .modPostQuickNewsfeed,
body.site.view-form.layout-edit .container-sidebar-left,
body.site.view-form.layout-edit .container-sidebar-right {
    display: none !important;
}



.headerWrapper .iLogoWrapper {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0.5rem 0;
}

.headerWrapper .rightBlock {
    width: 0% !important;
    min-width: 0 !important;
    flex: 0 0 0% !important;
    overflow: hidden !important;
    visibility: hidden !important;
}
.headerWrapper .logoGeo {
    display: none;
}
.header.container-header {
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15) !important;
    border-bottom: solid 1px #edf1f5;
}

/* ============================
   Frontend Article Edit Cleanup
   ============================ */

/* Hide Category field + its custom Joomla fancy select */
body.site 
#jform_catid,
body.site 
label[for="jform_catid"],
body.site 
#jform_catid-lbl,
body.site 
#jform_catid + .form-text,
body.site 
#jform_catid + .choices,
body.site 
#jform_catid + .choices__list,
body.site 
#jform_catid + .choices__inner,
body.site 
joomla-field-fancy-select[required][data-refresh-catid] {
    display: none !important;
}

/* --- Preferred modern method (requires :has support) ---
   Hide entire control-groups by label (Note, Version Note, Created By Alias, Access, Ordering) */
body.site .control-group:has(.control-label label[for="jform_note"]),
body.site .control-group:has(.control-label label[for="jform_version_note"]),
body.site .control-group:has(.control-label label[for="jform_created_by_alias"]),
body.site .control-group:has(.control-label label[for="jform_access"]),
/* ordering row in your markup has an empty label and a <br> inside controls */
body.site .control-group:has(.control-label:empty):has(.controls > br) {
    display: none !important;
}

/* --- Fallback for older browsers: hide labels + fields by id --- */
body.site 
#jform_note-lbl, body.site #jform_note,
body.site 
#jform_version_note-lbl, body.site #jform_version_note,
body.site 
#jform_created_by_alias-lbl, body.site #jform_created_by_alias,
body.site 
#jform_access-lbl, body.site #jform_access {
    display: none !important;
}

/* Hide helper text next to these fields */
body.site 
#jform_note + .form-text,
body.site 
#jform_version_note + .form-text,
body.site 
#jform_created_by_alias + .form-text,
body.site 
#jform_access + .form-text {
    display: none !important;
}

/* Extra safety: hide any empty label + its controls (covers Ordering block) */
body.site .control-label:empty + .controls {
    display: none !important;
}

/* ============================
   Hide JCE Core footer branding
   ============================ */
.mceDefaultSkin .mceLayout .mceBranding,
.jce_about,
.mce-path .jce_about,
.jce_footer {
    display: none !important;
    visibility: hidden !important;
}


/******* ENTRY FORM *************/

.rsdir-label.form-label {
     color: #777;
     font-size: 1.1rem;
     font-weight: 300;
}

.help-block {
    font-size: .9rem;
    color: #777;
}

div.pgPostItem {
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15) !important;
  width: 500px;
  margin: 1.5rem auto 3rem auto;
  padding: 1rem 2rem;
  background-color: #fcfcfc;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
}

body.pgPostItem {

    background: radial-gradient(
      85.62% 83.27% at 1.02% 1.48%,
      rgba(240, 128, 128, 0.14) 0%,
      rgba(41, 121, 255, 0.14) 50%,
      rgba(251, 212, 212, 0.14) 69.5%,
      rgba(201, 143, 165, 0.14) 74.42%
    ) 100% 100% / 200% 200%; /* Start from bottom-right */
  
    animation: moveBackground 25s ease-in-out infinite;
  }
  
  @keyframes moveBackground {
    0% {
      background-position: 100% 100%; /* Bottom-right */
    }
    50% {
      background-position: 0% 0%; /* Top-left */
    }
    100% {
      background-position: 100% 100%; /* Back to bottom-right */
    }
  }


.logoWrapper {
  text-align: center;
  padding-top: .7rem;
  padding-bottom: .7rem;
}

/******* .ENTRY FORM *************/

/** .login edit profile **/

#member-profile fieldset:nth-of-type(1),
#member-profile fieldset:nth-of-type(3),
#member-profile fieldset:nth-of-type(4),
#member-profile fieldset:nth-of-type(5),
#member-profile fieldset:nth-of-type(6),
#member-profile fieldset:nth-of-type(7) {
    display: none;
}


#member-profile fieldset#jform_privacyconsent_privacy,
#member-profile fieldset:nth-of-type(2) {
    display: block;
}




/****privacy page **/

.modMiniGreetings .modHeaderVerified img {
    width: 24px;
    height: 24px;
}
.modMiniGreetings .mod-login-logout__login-greeting {
    font-size: .9rem;
    font-weight: 600;
}
.modMiniGreetings img {
    width: 32px;
    height: 32px;
}
.modMiniGreetings .mod-login-logout__options, .modMiniGreetings .mod-login-logout__button {
    display: none;
}
.dynoLogoMini {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 360px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
}
.card.modMiniGreetings {
    background-color: transparent;
    border: none;
}
.modMiniGreetings * {
    display: inline;
    text-align: center;
}
.dynoLogoTop a:hover{
    text-decoration: none;
    color: #444 !important;
}
.dynoLogoTop a{
    text-transform: uppercase;
    color: #666B72 !important;
    text-decoration: none;
    font-size: 0.8rem;
}
.grid-child.container-below-top {
    text-align: center;
}
.container-header a{
    color: #000c2a;
}
.container-header {
    z-index: 10;
    background-color: transparent;
    background-image: none;
    color: #000c2a;
}
body {
    background-color: #fcfcfc;
    font-family: 'Roboto', sans-serif;
}

 @media (max-width: 768px) {

    div.pgPostItem {
        width: auto;
    }

 }

 /* ========================================
   Professional Sitemap Styling - Single Column
   Primary Selector: .pgSitemap
   ======================================== */

.pgSitemap {
    --primary-color: #1a252f;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --gray-dark: #6c757d;
    --text-color: #2c3e50;
    --border-radius: 16px;
    --box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    --transition: all 0.25s ease;
}

/* Base Styles */
.pgSitemap body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #f5f7fc 0%, #eef2f7 100%);
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
}

/* Main Container */
.pgSitemap .site-grid {
    padding: 2rem 1.5rem;
}

.pgSitemap .container-component {
    background: transparent;
}

/* Header Styling */
.pgSitemap .container-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pgSitemap .headerWrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
}

.pgSitemap .logoLight {
    transition: var(--transition);
    height: auto;
}

.pgSitemap .logoLight:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

.pgSitemap .logoGeo {
    background: var(--accent-color);
    color: white !important;
    padding: 2px 8px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.7rem !important;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    transition: var(--transition);
}

.pgSitemap .logoGeo:hover {
    background: #c0392b;
    transform: translate(50%, -50%) scale(1.05);
}

/* Page Title */
.pgSitemap main > h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-color);
    display: inline-block;
    letter-spacing: -0.02em;
}

/* Row & Column - Single Column Layout */
.pgSitemap .row {
    display: block;
    margin: 0 0 1.75rem 0;
}

.pgSitemap .col-md-12 {
    width: 100%;
    padding: 0;
}

/* Sitemap Menu Cards - One Below Another */
.pgSitemap .rsseo-sitemap-menu {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 1.75rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.pgSitemap .rsseo-sitemap-menu:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

/* Section Titles */
.pgSitemap .rsseo_title {
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
    color: white;
    font-size: 1.35rem;
    font-weight: 600;
    padding: 1rem 1.75rem;
    margin: 0;
    letter-spacing: -0.01em;
    position: relative;
    cursor: pointer;
}

.pgSitemap .rsseo_title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.75rem;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

/* Link Lists */
.pgSitemap .rsseo_links {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

.pgSitemap .rsseo_links > li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--gray-medium);
}

.pgSitemap .rsseo_links > li:last-child {
    border-bottom: none;
}

/* Top Level Links */
.pgSitemap .rsseo_links > li > a {
    display: block;
    padding: 0.85rem 1.75rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    background: white;
}

.pgSitemap .rsseo_links > li > a:hover {
    background: var(--gray-light);
    color: var(--secondary-color);
    padding-left: 2.25rem;
}

.pgSitemap .rsseo_links > li > a::before {
    content: '→';
    position: absolute;
    left: 1.5rem;
    opacity: 0;
    transition: var(--transition);
    color: var(--secondary-color);
    font-weight: normal;
}

.pgSitemap .rsseo_links > li > a:hover::before {
    opacity: 1;
    left: 1.25rem;
}

/* Nested Lists (Subcategories) */
.pgSitemap .rsseo_links_small {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fafbfc;
    border-top: 1px solid var(--gray-medium);
}

.pgSitemap .rsseo_links_small li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.pgSitemap .rsseo_links_small li:last-child {
    border-bottom: none;
}

.pgSitemap .rsseo_links_small a {
    display: block;
    padding: 0.6rem 1rem 0.6rem 2.75rem;
    font-size: 0.9rem;
    color: #4a5568;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.pgSitemap .rsseo_links_small a:hover {
    background: rgba(52, 152, 219, 0.06);
    color: var(--secondary-color);
    padding-left: 3rem;
}

.pgSitemap .rsseo_links_small a::before {
    content: '•';
    position: absolute;
    left: 2rem;
    opacity: 0.6;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.pgSitemap .rsseo_links_small a:hover::before {
    opacity: 1;
    left: 1.75rem;
}

/* Third Level Nesting */
.pgSitemap .rsseo_links_small .rsseo_links_small {
    background: #f5f7f9;
    padding-left: 0;
}

.pgSitemap .rsseo_links_small .rsseo_links_small a {
    padding-left: 3.5rem;
    font-size: 0.85rem;
    color: #5a6e7c;
}

.pgSitemap .rsseo_links_small .rsseo_links_small a::before {
    content: '–';
    left: 2.75rem;
    font-size: 0.9rem;
}

.pgSitemap .rsseo_links_small .rsseo_links_small a:hover {
    padding-left: 3.75rem;
}

.pgSitemap .rsseo_links_small .rsseo_links_small a:hover::before {
    left: 2.5rem;
}

/* Fourth Level Nesting (if any) */
.pgSitemap .rsseo_links_small .rsseo_links_small .rsseo_links_small a {
    padding-left: 4.25rem;
    font-size: 0.82rem;
    color: #6c7e8c;
}

.pgSitemap .rsseo_links_small .rsseo_links_small .rsseo_links_small a::before {
    content: '›';
    left: 3.5rem;
}

/* Styling for "deeper parent" items */
.pgSitemap .deeper.parent > a {
    font-weight: 600;
    background: linear-gradient(90deg, rgba(52, 152, 219, 0.03), transparent);
}

/* Special accent for main category headers */
.pgSitemap .item-2696 > a,
.pgSitemap .item-1500 > a,
.pgSitemap .item-1686 > a,
.pgSitemap .item-920 > a,
.pgSitemap .item-2456 > a,
.pgSitemap .item-1780 > a,
.pgSitemap .item-1107 > a {
    font-weight: 700;
    color: var(--primary-color);
    border-left: 4px solid var(--secondary-color);
    background: rgba(52, 152, 219, 0.02);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .pgSitemap .site-grid {
        padding: 1rem;
        margin: 0;
    }
    
    .pgSitemap main > h1 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .pgSitemap .rsseo_title {
        font-size: 1.2rem;
        padding: 0.85rem 1.25rem;
    }
    
    .pgSitemap .rsseo_title::after {
        left: 1.25rem;
        width: 40px;
    }
    
    .pgSitemap .rsseo_links > li > a {
        padding: 0.7rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .pgSitemap .rsseo_links > li > a::before {
        left: 1rem;
    }
    
    .pgSitemap .rsseo_links > li > a:hover::before {
        left: 0.75rem;
    }
    
    .pgSitemap .rsseo_links_small a {
        padding: 0.5rem 1rem 0.5rem 2rem;
        font-size: 0.85rem;
    }
    
    .pgSitemap .rsseo_links_small a::before {
        left: 1.5rem;
    }
    
    .pgSitemap .rsseo_links_small .rsseo_links_small a {
        padding-left: 2.5rem;
    }
    
    .pgSitemap .rsseo_links_small .rsseo_links_small a::before {
        left: 2rem;
    }
}

/* Tablet View */
@media (min-width: 769px) and (max-width: 1024px) {
    .pgSitemap .site-grid {
        max-width: 900px;
        padding: 1.5rem;
    }
    
    .pgSitemap .rsseo_links_small a {
        padding: 0.55rem 1rem 0.55rem 2.5rem;
    }
    
    .pgSitemap .rsseo_links_small a::before {
        left: 1.75rem;
    }
}

/* Print Styles */
@media print {
    .pgSitemap .container-header,
    .pgSitemap .logoGeo,
    .pgSitemap .rightBlock {
        display: none;
    }
    
    .pgSitemap .rsseo-sitemap-menu {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    .pgSitemap .rsseo_title {
        background: #f0f0f0;
        color: #000;
        print-color-adjust: exact;
    }
    
    .pgSitemap .rsseo_links a {
        color: #000 !important;
        text-decoration: none;
    }
    
    .pgSitemap .site-grid {
        padding: 0;
        margin: 0;
    }
}

/* Smooth Scroll */
.pgSitemap html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
.pgSitemap ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.pgSitemap ::-webkit-scrollbar-track {
    background: var(--gray-light);
    border-radius: 10px;
}

.pgSitemap ::-webkit-scrollbar-thumb {
    background: var(--gray-dark);
    border-radius: 10px;
}

.pgSitemap ::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Optional: Add a subtle animation for sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pgSitemap .rsseo-sitemap-menu {
    animation: fadeInUp 0.4s ease forwards;
}

/* Staggered animation delay */
.pgSitemap .row:nth-child(1) .rsseo-sitemap-menu { animation-delay: 0.05s; }
.pgSitemap .row:nth-child(2) .rsseo-sitemap-menu { animation-delay: 0.1s; }
.pgSitemap .row:nth-child(3) .rsseo-sitemap-menu { animation-delay: 0.15s; }
.pgSitemap .row:nth-child(4) .rsseo-sitemap-menu { animation-delay: 0.2s; }
.pgSitemap .row:nth-child(5) .rsseo-sitemap-menu { animation-delay: 0.25s; }
.pgSitemap .row:nth-child(6) .rsseo-sitemap-menu { animation-delay: 0.3s; }
.pgSitemap .row:nth-child(7) .rsseo-sitemap-menu { animation-delay: 0.35s; }