
/* need to create custom color variables */

:root {


    /* Pico Colors */
    --pico-background-color: #fff;
    --pico-color: #373c44;
    --pico-text-selection-color: rgba(2, 154, 232, 0.25);
    --pico-muted-color: #646b79;
    --pico-muted-border-color: #e7eaf0;
    --pico-primary: #55a6e6 !important;
    --pico-primary-background: #55a6e6 !important;
    --pico-primary-border: var(--pico-primary-background);
    --pico-primary-underline: rgba(1, 114, 173, 0.5);
    --pico-primary-hover: #015887;
    --pico-primary-hover-background: #02659a;
    --pico-primary-hover-border: var(--pico-primary-hover-background);
    --pico-primary-hover-underline: var(--pico-primary-hover);
    --pico-primary-focus: rgba(2, 154, 232, 0.5);
    --pico-primary-inverse: #fff;

    /* Main Colors */
    --puny-blue: #55a6e6;
    --puny-red: #ff5c57;
    --puny-green: #4cd0b6;
    --puny-yellow: #fab900;
    --puny-blue-2: #6aafca;
    --puny-white: #f7f3d5;
    
    /* Semantic Colors (Per PRD) */
    --success: var(--puny-green);
    --error: var(--puny-red);
    --warning: var(--puny-yellow);
    --info: var(--puny-blue);

    /* Colors for Shadow Boxes */
    --puny-blue-box-shadow: #55a6e6aa;
    --puny-red-box-shadow: #ff5c57aa;
    --puny-green-box-shadow: #4cd0b6aa;
    --puny-yellow-box-shadow: #fab900aa;
    --puny-blue-2-box-shadow: #6aafcaaa;
    --puny-black-box-shadow: #888888aa;

    /* Font-size */
    --pico-font-size:15px !important;
    

    --pico-font-family: 'Nunito', sans-serif; 
    font-family: 'Nunito', sans-serif;


    /* Theme Colors */

    /* Connect Blue */
    --puny-blue-900: #11212E;
    --puny-blue-800: #22425C;
    --puny-blue-700: #33648A;
    --puny-blue-600: #4485B8;
    --puny-blue-500: #55a6e6;
    --puny-blue-400: #66AFE9;
    --puny-blue-300: #88C1EE;
    --puny-blue-200: #AAD3F3;
    --puny-blue-100: #CCE4F8;
    --puny-blue-50: #EEF6FD;

    /* Secondary */
    /* Puny Pulse; */
    --puny-red-900: #331211;
    --puny-red-800: #662523;
    --puny-red-700: #993734;
    --puny-red-600: #CC4A46;

    --puny-red-500: #FF5C57;
    --puny-red-400: #FF6D6A;
    --puny-red-300: #FF8F8C;
    --puny-red-200: #FFB1AF;
    --puny-red-100: #FFD3D2;
    --puny-red-50: #FFEFEE;

    /* Link Aqua */

    --puny-aqua-900: #0F2A24;
    --puny-aqua-800: #1E5349;
    --puny-aqua-700: #2E7D6D;
    --puny-aqua-600: #3DA692;

    --puny-aqua-500: #4CD0B6;
    --puny-aqua-400: #5CDBBF;
    --puny-aqua-300: #7DE3D3;
    --puny-aqua-200: #9DEBE7;
    --puny-aqua-100: #BEF3FB;
    --puny-aqua-50: #EDFAF8;

    /* Puny Spark */

    --puny-yellow-900: #322500;
    --puny-yellow-800: #644A00;
    --puny-yellow-700: #966F00;
    --puny-yellow-600: #C89400;
    
    --puny-yellow-500: #FAB900;
    --puny-yellow-400: #FBC01A;
    --puny-yellow-300: #fcce4d;
    --puny-yellow-200: #FDDC80;
    --puny-yellow-100: #EDDDB1;
    --puny-yellow-50: #FFF8E6;


    /* Tertiariary */

    /* Puny Light */

    --puny-light-blue-900: #152328;
    --puny-light-blue-800: #2A4651;
    --puny-light-blue-700: #406979;
    --puny-light-blue-600: #558CA2;

    --puny-light-blue-500: #6AAFCA;
    --puny-light-blue-400: #79B7CF;
    --puny-light-blue-300: #97C7DA;
    --puny-light-blue-200: #B5D7E5;
    --puny-light-blue-100: #D2E7EF;
    --puny-light-blue-50: #F0F7FA;

    /* Puny Creamy */

    --puny-cream-900: #31312B;
    --puny-cream-800: #636155;
    --puny-cream-700: #949280;
    --puny-cream-600: #C6C2AA;

    --puny-cream-500: #F7F3D5;
    --puny-cream-400: #F8F4D9;
    --puny-cream-300: #F9F7E2;
    --puny-cream-200: #FBF9EA;
    --puny-cream-100: #FDFBF2;
    --puny-cream-50: #FEFEFB;


    /* Greys */

    /* Puny Black */

    --puny-black: #000000;
    --puny-black-900: #212529;
    --puny-black-800: #343A40;
    --puny-black-700: #495057;
    --puny-black-600: #ADB5BD;
    --puny-black-500: #CED4DA;
    --puny-black-400: #DEE2E6;
    --puny-black-300: #70757A;
    --puny-black-200: #83888D;
    --puny-white: #969B9F;


}

/* Dark Theme */
[data-theme="dark"] {
    --primary-color: #1E1E1E;
    --secondary-color: #FF5C57;
    --accent-color: #4CD0B6;
    --background-color: #121212;
    --text-color: #ffffff;
  }
  


[data-theme="connect-blue"] {

    --pico-box-shadow: 0.0145rem 0.029rem 0.174rem rgba(7, 9, 12, 0.01698), 0.0335rem 0.067rem 0.402rem rgba(7, 9, 12, 0.024), 0.0625rem 0.125rem 0.75rem rgba(7, 9, 12, 0.03), 0.1125rem 0.225rem 1.35rem rgba(7, 9, 12, 0.036), 0.2085rem 0.417rem 2.502rem rgba(7, 9, 12, 0.04302), 0.5rem 1rem 6rem rgba(7, 9, 12, 0.06), 0 0 0 0.0625rem rgba(7, 9, 12, 0.015);
    --pico-h1-color: var(--puny-blue-500) !important;
    --pico-h2-color: #55a6e6 !important;
    --pico-h3-color: #55a6e6 !important;
    --pico-h4-color: #55a6e6 !important;
    --pico-h5-color: #55a6e6 !important;
    --pico-h6-color: #55a6e6 !important;
    --pico-mark-background-color: #014063 !important;
    --pico-mark-color: #fff !important;
    --pico-ins-color: #9DEBE7 !important;
    --pico-del-color: #FFB1AF !important;
    --pico-blockquote-border-color: var(--pico-muted-border-color);
    --pico-blockquote-footer-color: var(--pico-muted-color);
    --pico-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    --pico-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    --pico-table-border-color: var(--pico-muted-border-color);
    --pico-table-row-stripped-background-color: rgba(111, 120, 135, 0.0375);
    --pico-code-background-color: #1a1f28;
    --pico-code-color: #8891a4;
    --pico-code-kbd-background-color: var(--pico-color);
    --pico-code-kbd-color: var(--pico-background-color);
    --pico-form-element-background-color: #1c212c;
    --pico-form-element-selected-background-color: #2a3140;
    --pico-form-element-border-color: #2a3140;
    --pico-form-element-color: #e0e3e7;
    --pico-form-element-placeholder-color: #8891a4;
    --pico-form-element-active-background-color: #1a1f28;
    --pico-form-element-active-border-color: var(--pico-primary-border);
    --pico-form-element-focus-color: var(--pico-primary-border);
    --pico-form-element-disabled-opacity: 0.5;
    --pico-form-element-invalid-border-color: #964a50;
    --pico-form-element-invalid-active-border-color: #b7403b;
    --pico-form-element-invalid-focus-color: var(--pico-form-element-invalid-active-border-color);
    --pico-form-element-valid-border-color: #2a7b6f;
    --pico-form-element-valid-active-border-color: #16896a;
    --pico-form-element-valid-focus-color: var(--pico-form-element-valid-active-border-color);
    --pico-switch-background-color: #333c4e;
    --pico-switch-checked-background-color: var(--pico-primary-background);
    --pico-switch-color: #fff;
    --pico-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    --pico-range-border-color: #202632;
    --pico-range-active-border-color: #2a3140;
    --pico-range-thumb-border-color: var(--pico-background-color);
    --pico-range-thumb-color: var(--pico-secondary-background);
    --pico-range-thumb-active-color: var(--pico-primary-background);
    --pico-accordion-border-color: var(--pico-muted-border-color);
    --pico-accordion-active-summary-color: var(--pico-primary-hover);
    --pico-accordion-close-summary-color: var(--pico-color);
    --pico-accordion-open-summary-color: var(--pico-muted-color);
    --pico-card-background-color: #181c25;
    --pico-card-border-color: var(--pico-card-background-color);
    --pico-card-box-shadow: var(--pico-box-shadow);
    --pico-card-sectioning-background-color: #1a1f28;
    --pico-dropdown-background-color: #181c25;
    --pico-dropdown-border-color: #202632;
    --pico-dropdown-box-shadow: var(--pico-box-shadow);
    --pico-dropdown-color: var(--pico-color);
    --pico-dropdown-hover-background-color: #202632;
    --pico-loading-spinner-opacity: 0.5;
    --pico-modal-overlay-background-color: rgba(8, 9, 10, 0.75);
    --pico-progress-background-color: #202632;
    --pico-progress-color: var(--pico-primary-background);
    --pico-tooltip-background-color: var(--pico-contrast-background);
    --pico-tooltip-color: var(--pico-contrast-inverse);


    a {
        --pico-text-decoration: underline;
    }
    a.secondary, a.contrast {
        --pico-text-decoration: underline;
    }
    
    small {
        --pico-font-size: 0.875em;
    }
    
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        --pico-font-weight: 700;
        color: var(--puny-blue-500) !important;
    }
    
    h1 {
        --pico-font-size: 2rem;
        --pico-line-height: 1.125;
        --pico-typography-spacing-top: 3rem;
        color: var(--pico-h1-color) !important;
    }
    
    h2 {
        --pico-font-size: 1.75rem;
        --pico-line-height: 1.15;
        --pico-typography-spacing-top: 2.625rem;
        color: var(--pico-h2-color) !important;
    }
    
    h3 {
        --pico-font-size: 1.5rem;
        --pico-line-height: 1.175;
        --pico-typography-spacing-top: 2.25rem;
        color: var(--pico-h3-color) !important;
    }
    
    h4 {
        --pico-font-size: 1.25rem;
        --pico-line-height: 1.2;
        --pico-typography-spacing-top: 1.874rem;
        color: var(--pico-h4-color) !important;
    }
    
    h5 {
        --pico-font-size: 1.125rem;
        --pico-line-height: 1.225;
        --pico-typography-spacing-top: 1.6875rem;
        color: var(--pico-h5-color) !important;
    }
    
    h6 {
        --pico-font-size: 1rem;
        --pico-line-height: 1.25;
        --pico-typography-spacing-top: 1.5rem;
        color: var(--pico-h6-color) !important;
    }
    
    thead th,
    thead td,
    tfoot th,
    tfoot td {
        --pico-font-weight: 600;
        --pico-border-width: 0.1875rem;
    }
    
    pre,
    code,
    kbd,
    samp {
        --pico-font-family: var(--pico-font-family-monospace);
    }
    
    kbd {
        --pico-font-weight: bolder;
    }
    
    input:not([type=submit],
    [type=button],
    [type=reset],
    [type=checkbox],
    [type=radio],
    [type=file]),
    :where(select, textarea) {
        --pico-outline-width: 0.0625rem;
    }
    
    [type=search] {
        --pico-border-radius: 5rem;
    }
    
    [type=checkbox],
    [type=radio] {
        --pico-border-width: 0.125rem;
    }
    
    [type=checkbox][role=switch] {
        --pico-border-width: 0.1875rem;
    }
    
    details.dropdown summary:not([role=button]) {
        --pico-outline-width: 0.0625rem;
    }
    
    nav details.dropdown summary:focus-visible {
        --pico-outline-width: 0.125rem;
    }
    
    [role=search] {
        --pico-border-radius: 5rem;
    }
    
    [role=search]:has(button.secondary:focus,
    [type=submit].secondary:focus,
    [type=button].secondary:focus,
    [role=button].secondary:focus),
    [role=group]:has(button.secondary:focus,
    [type=submit].secondary:focus,
    [type=button].secondary:focus,
    [role=button].secondary:focus) {
        --pico-group-box-shadow-focus-with-button: 0 0 0 var(--pico-outline-width) var(--pico-secondary-focus);
    }
    [role=search]:has(button.contrast:focus,
    [type=submit].contrast:focus,
    [type=button].contrast:focus,
    [role=button].contrast:focus),
    [role=group]:has(button.contrast:focus,
    [type=submit].contrast:focus,
    [type=button].contrast:focus,
    [role=button].contrast:focus) {
        --pico-group-box-shadow-focus-with-button: 0 0 0 var(--pico-outline-width) var(--pico-contrast-focus);
    }
    [role=search] button,
    [role=search] [type=submit],
    [role=search] [type=button],
    [role=search] [role=button],
    [role=group] button,
    [role=group] [type=submit],
    [role=group] [type=button],
    [role=group] [role=button] {
        --pico-form-element-spacing-horizontal: 2rem;
    }
    
    details summary[role=button]:not(.outline)::after {
    filter: brightness(0) invert(1);
    }

    [aria-busy=true]:not(input, select, textarea):is(button, [type=submit], [type=button], [type=reset], [role=button]):not(.outline)::before {
    filter: brightness(0) invert(1);
    }
}
/* End of Connect Blue */


[data-theme="d-nuevo"] {

    --pico-box-shadow: 0.0145rem 0.029rem 0.174rem rgba(7, 9, 12, 0.01698), 0.0335rem 0.067rem 0.402rem rgba(7, 9, 12, 0.024), 0.0625rem 0.125rem 0.75rem rgba(7, 9, 12, 0.03), 0.1125rem 0.225rem 1.35rem rgba(7, 9, 12, 0.036), 0.2085rem 0.417rem 2.502rem rgba(7, 9, 12, 0.04302), 0.5rem 1rem 6rem rgba(7, 9, 12, 0.06), 0 0 0 0.0625rem rgba(7, 9, 12, 0.015);
    --pico-h1-color: var(--puny-blue-500) !important;
    --pico-h2-color: #55a6e6 !important;
    --pico-h3-color: #55a6e6 !important;
    --pico-h4-color: #55a6e6 !important;
    --pico-h5-color: #55a6e6 !important;
    --pico-h6-color: #55a6e6 !important;
    --pico-mark-background-color: #014063 !important;
    --pico-mark-color: #fff !important;
    --pico-ins-color: #9DEBE7 !important;
    --pico-del-color: #FFB1AF !important;
    --pico-blockquote-border-color: var(--pico-muted-border-color);
    --pico-blockquote-footer-color: var(--pico-muted-color);
    --pico-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    --pico-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    --pico-table-border-color: var(--pico-muted-border-color);
    --pico-table-row-stripped-background-color: rgba(111, 120, 135, 0.0375);
    --pico-code-background-color: #1a1f28;
    --pico-code-color: #8891a4;
    --pico-code-kbd-background-color: var(--pico-color);
    --pico-code-kbd-color: var(--pico-background-color);
    --pico-form-element-background-color: #1c212c;
    --pico-form-element-selected-background-color: #2a3140;
    --pico-form-element-border-color: #2a3140;
    --pico-form-element-color: #e0e3e7;
    --pico-form-element-placeholder-color: #8891a4;
    --pico-form-element-active-background-color: #1a1f28;
    --pico-form-element-active-border-color: var(--pico-primary-border);
    --pico-form-element-focus-color: var(--pico-primary-border);
    --pico-form-element-disabled-opacity: 0.5;
    --pico-form-element-invalid-border-color: #964a50;
    --pico-form-element-invalid-active-border-color: #b7403b;
    --pico-form-element-invalid-focus-color: var(--pico-form-element-invalid-active-border-color);
    --pico-form-element-valid-border-color: #2a7b6f;
    --pico-form-element-valid-active-border-color: #16896a;
    --pico-form-element-valid-focus-color: var(--pico-form-element-valid-active-border-color);
    --pico-switch-background-color: #333c4e;
    --pico-switch-checked-background-color: var(--pico-primary-background);
    --pico-switch-color: #fff;
    --pico-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    --pico-range-border-color: #202632;
    --pico-range-active-border-color: #2a3140;
    --pico-range-thumb-border-color: var(--pico-background-color);
    --pico-range-thumb-color: var(--pico-secondary-background);
    --pico-range-thumb-active-color: var(--pico-primary-background);
    --pico-accordion-border-color: var(--pico-muted-border-color);
    --pico-accordion-active-summary-color: var(--pico-primary-hover);
    --pico-accordion-close-summary-color: var(--pico-color);
    --pico-accordion-open-summary-color: var(--pico-muted-color);
    --pico-card-background-color: #181c25;
    --pico-card-border-color: var(--pico-card-background-color);
    --pico-card-box-shadow: var(--pico-box-shadow);
    --pico-card-sectioning-background-color: #1a1f28;
    --pico-dropdown-background-color: #181c25;
    --pico-dropdown-border-color: #202632;
    --pico-dropdown-box-shadow: var(--pico-box-shadow);
    --pico-dropdown-color: var(--pico-color);
    --pico-dropdown-hover-background-color: #202632;
    --pico-loading-spinner-opacity: 0.5;
    --pico-modal-overlay-background-color: rgba(8, 9, 10, 0.75);
    --pico-progress-background-color: #202632;
    --pico-progress-color: var(--pico-primary-background);
    --pico-tooltip-background-color: var(--pico-contrast-background);
    --pico-tooltip-color: var(--pico-contrast-inverse);


    a {
        --pico-text-decoration: underline;
    }
    a.secondary, a.contrast {
        --pico-text-decoration: underline;
    }
    
    small {
        --pico-font-size: 0.875em;
    }
    
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        --pico-font-weight: 700;
        color: var(--puny-blue-500) !important;
    }
    
    h1 {
        --pico-font-size: 2rem;
        --pico-line-height: 1.125;
        --pico-typography-spacing-top: 3rem;
        color: var(--pico-h1-color) !important;
    }
    
    h2 {
        --pico-font-size: 1.75rem;
        --pico-line-height: 1.15;
        --pico-typography-spacing-top: 2.625rem;
        color: var(--pico-h2-color) !important;
    }
    
    h3 {
        --pico-font-size: 1.5rem;
        --pico-line-height: 1.175;
        --pico-typography-spacing-top: 2.25rem;
        color: var(--pico-h3-color) !important;
    }
    
    h4 {
        --pico-font-size: 1.25rem;
        --pico-line-height: 1.2;
        --pico-typography-spacing-top: 1.874rem;
        color: var(--pico-h4-color) !important;
    }
    
    h5 {
        --pico-font-size: 1.125rem;
        --pico-line-height: 1.225;
        --pico-typography-spacing-top: 1.6875rem;
        color: var(--pico-h5-color) !important;
    }
    
    h6 {
        --pico-font-size: 1rem;
        --pico-line-height: 1.25;
        --pico-typography-spacing-top: 1.5rem;
        color: var(--pico-h6-color) !important;
    }
    
    thead th,
    thead td,
    tfoot th,
    tfoot td {
        --pico-font-weight: 600;
        --pico-border-width: 0.1875rem;
    }
    
    pre,
    code,
    kbd,
    samp {
        --pico-font-family: var(--pico-font-family-monospace);
    }
    
    kbd {
        --pico-font-weight: bolder;
    }
    
    input:not([type=submit],
    [type=button],
    [type=reset],
    [type=checkbox],
    [type=radio],
    [type=file]),
    :where(select, textarea) {
        --pico-outline-width: 0.0625rem;
    }
    
    [type=search] {
        --pico-border-radius: 5rem;
    }
    
    [type=checkbox],
    [type=radio] {
        --pico-border-width: 0.125rem;
    }
    
    [type=checkbox][role=switch] {
        --pico-border-width: 0.1875rem;
    }
    
    details.dropdown summary:not([role=button]) {
        --pico-outline-width: 0.0625rem;
    }
    
    nav details.dropdown summary:focus-visible {
        --pico-outline-width: 0.125rem;
    }
    
    [role=search] {
        --pico-border-radius: 5rem;
    }
    
    [role=search]:has(button.secondary:focus,
    [type=submit].secondary:focus,
    [type=button].secondary:focus,
    [role=button].secondary:focus),
    [role=group]:has(button.secondary:focus,
    [type=submit].secondary:focus,
    [type=button].secondary:focus,
    [role=button].secondary:focus) {
        --pico-group-box-shadow-focus-with-button: 0 0 0 var(--pico-outline-width) var(--pico-secondary-focus);
    }
    [role=search]:has(button.contrast:focus,
    [type=submit].contrast:focus,
    [type=button].contrast:focus,
    [role=button].contrast:focus),
    [role=group]:has(button.contrast:focus,
    [type=submit].contrast:focus,
    [type=button].contrast:focus,
    [role=button].contrast:focus) {
        --pico-group-box-shadow-focus-with-button: 0 0 0 var(--pico-outline-width) var(--pico-contrast-focus);
    }
    [role=search] button,
    [role=search] [type=submit],
    [role=search] [type=button],
    [role=search] [role=button],
    [role=group] button,
    [role=group] [type=submit],
    [role=group] [type=button],
    [role=group] [role=button] {
        --pico-form-element-spacing-horizontal: 2rem;
    }
    
    details summary[role=button]:not(.outline)::after {
    filter: brightness(0) invert(1);
    }

    [aria-busy=true]:not(input, select, textarea):is(button, [type=submit], [type=button], [type=reset], [role=button]):not(.outline)::before {
    filter: brightness(0) invert(1);
    }
}
/* End of D-Nuevo */


    /* The Rest */
    
@media (max-width: 768px) {
    :root {
        --pico-font-size:15px !important;
    
    }

}

@media (max-width: 450px) {
    :root {
        --pico-font-size:13px !important;
    
    }

}


@media (max-width: 320px) {
    :root {
        --pico-font-size:12px !important;
    
    }

}

.puny-icon-x-small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem !important;
    height: 1.2rem !important;
    font-size: 0.9rem;
}

.puny-icon-small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem !important;
    height: 1.5rem !important;
    font-size: 1.5rem;
}

.puny-icon-medium {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem !important;
    height: 1.8rem !important;
    font-size: 1.8rem;
}

.puny-icon-medium-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem !important;
    height: 2rem !important;
    font-size: 1.9rem;
}

.puny-icon-large {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem !important;
    height: 2.5rem !important;
    font-size: 1.9rem; /* Different size to make the fontawesome icon look the same as others */
}

.puny-icon-x-large {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem !important;
    height: 3.5rem !important;
    font-size: 3.5rem;
}

.intercom-lightweight-app-launcher {
    bottom: 120px !important;
}


.ql-snow .ql-picker { 
    height: 100% !important;
    margin-right: 4px;
}


.ql-picker-label {
    background-color: white !important;
    color: black !important;
    padding: 0 !important;
    width: fit-content !important;
}

.ql-picker-label svg {
    position: relative !important;
    margin-top: -4px !important;
    width: 100%;
}

.ql-picker-item {
    background-color: white;
    color: black;
    border: none;
}

.ql-snow .ql-picker-label::before {
    width: fit-content !important;
    min-width: 90px !important;
}

.ql-snow .ql-picker.ql-font {
    width: fit-content !important;
}

.ql-snow .ql-picker.ql-header {
    width: fit-content !important;
}

.ql-font .ql-picker-label, .ql-header .ql-picker-label{
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
}

.ql-container {
    min-height: 100px;
}








h1, h2, h3, h4, h5, h6, h1 > span, h2 > span, h3 > span, h4 > span, h5 > span, h6 > span {
    font-family: "Nunito", serif !important;
    font-optical-sizing: auto !important;
    font-weight: 800 !important;
    font-style: normal !important;
    
}

p, a, span, label, input, select, textarea, button, a[role="button"], summary  {
    font-family: 'Nunito', serif;
    font-optical-sizing: auto;
    font-weight: 600;
    
    
}

/* article > hgroup > i {
    background-color: var(--puny-blue) !important;
    color: var(--puny-white);
} */


#gridstack-mobile {
    display: block;
    max-width: 400px;
    width: 100%;
}

#gridstack-desktop {
    display: none;
    width: 100%;
}

#desktop-grid-selector-container {
    display: none; 
    width: 100%; 
    flex-direction: row; 
    justify-content: center; 
    margin-bottom: 6vh;
}

#grid-options-container {
    display: flex; 
    flex-direction: row;
    align-items: center;
    width: fit-content; 
    padding: 0.12rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 32px;
    background-color: rgba(0, 0, 0, 0.03);
}

#grid-options-container > span {
    color: rgba(0, 0, 0, 0.50);
    font-weight: 800; 
    padding: 0.5rem 1.5rem;
    cursor: default;
}

.selected-grid {
    background-color: rgba(0, 0, 0, 0.18) !important;
    border-radius: 24px;
    color: rgba(0, 0, 0, 0.60) !important;
}



main.container {
    max-width: 730px !important;
    /* max-width: 1024px !important; */
}

#puny-logo-animation {
    animation: growShrink 2s infinite ease-in-out;
}

@keyframes growShrink {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}


@media screen and (max-width: 800px) {
    main.container {
        max-width: 450px !important;
        /* width: 100% !important; */
    }
    
}



html {
    --font-size: 5px;
}

button, article, i, a[role="button"] {
    border-radius: 20px !important;
}

img, figure {
    border-radius: 12px !important;
    object-fit: cover;
}
/* Line clamp */
.truncate {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 1; /* Number of lines to show */
    line-clamp: 1; /* Non-prefixed version, for future-proofing */
    word-break: break-all;
}

/* Line clamp */
.truncate-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2; /* Number of lines to show */
    line-clamp: 2; /* Non-prefixed version, for future-proofing */
}

/* Line clamp */
.truncate-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3; /* Number of lines to show */
    line-clamp: 3; /* Non-prefixed version, for future-proofing */
}

/* Line clamp */
.truncate-4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 4; /* Number of lines to show */
    line-clamp: 4; /* Non-prefixed version, for future-proofing */
}

.form-input, .text-input {
    background-color: #F8F8F8;
    border: 2px solid rgba(0, 0, 0, 0.01);
    border-radius: 18px !important;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.6);
    padding: 1.2rem !important;
}

input.form-input:is([type='text'], [type='password'], [type='email'], [type='number'], [type='tel'], [type='url'], [type='search']), .form-input[custom-form-input], select.form-input {
    height: auto !important;
    aspect-ratio: 5.7;
    max-height: 56px;
}

.form-input:focus, .text-input:focus {
    box-shadow: unset;
}

.form-input::placeholder, .text-input::placeholder {
    opacity: 0.45;
}

.form-input:focus::placeholder, .text-input:focus::placeholder {
    opacity: 0.15;
}



/* i want to select any summary element child of id element "fullscreen-modal */

details[name="form"] > summary {
    font-size: 1.1rem;
    font-weight: 500;
}

article > figure {
    /* box-shadow: 0px 0px 2px var(--puny-black-box-shadow); */
}

article.grid-stack-item-content {
    gap: 15px;
    display: flex;
    padding: 16px;
    border-radius: 24px !important;
    border: 0px solid #ccc;
    box-shadow: 0px 0px 2px var(--puny-black-box-shadow);
    background-color: transparent;
    overflow: hidden !important;
}

article.grid-stack-item-content hgroup {
    width: 100%;
}

div.grid-stack-item[gs-w="1"][gs-h="2"] {
    width: 100%;
}

div.grid-stack-item[gs-h="2"] article.grid-stack-item-content figure {
    overflow: hidden !important;
    width: 100%;
}
div.grid-stack-item[gs-h="2"] article.grid-stack-item-content {
    flex-direction: column;
}



div.grid-stack-item:not([gs-h]):not([gs-w]):not(:first-child) article.grid-stack-item-content figure.link-card-cover {
    display: none;
}


div.grid-stack-item:not([gs-h]):not([gs-w]):not(:first-child) article.post-card > figure,
div.grid-stack-item:not([gs-h]):not([gs-w]):not(:first-child) article.lead-card > figure,
div.grid-stack-item:not([gs-h]):not([gs-w]):not(:first-child) article.catalog-card > figure,
div.grid-stack-item:not([gs-h]):not([gs-w]):not(:first-child) article.shop-card > figure,
div.grid-stack-item:not([gs-h]):not([gs-w]):not(:first-child) article.paywall-card > figure,
div.grid-stack-item:not([gs-h]):not([gs-w]):not(:first-child) article.booking-card > figure {

    display: none;
}




div.grid-stack-item:first-child:not([gs-h]):not([gs-w]) article.grid-stack-item-content figure figcaption {
    display: none;
}

div.grid-stack-item:not([gs-h]):not([gs-w]) article.grid-stack-item-content hgroup.hgroup-w100 {
    width: 100%;
}

article.grid-stack-item-content figure {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
    width: 100%;
}


/* Profile section figure styling removed - using new .profile-image-container class */


article.grid-stack-item-content hgroup > figure {
    border-radius: 25px !important;
    /* border: 0px solid #ccc; */
    /* box-shadow: 0px 0px 2px var(--puny-black-box-shadow); */
    background-color: rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 10px;
    margin-bottom: 20px;
    aspect-ratio: 1;
    max-width: 40px;
    text-align: center;
    color: white;
}

@media screen and (max-width: 320px) {
    article.grid-stack-item-content hgroup > figure {
        margin-bottom: 10px;
        max-width: 30px;
    }
}



article.grid-stack-item-content hgroup > figure > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
   
}


article.grid-stack-item-content figure.gallery-image-cover {
    width: 100% !important;
    height: -webkit-fill-available !important;
}

article.columns-record {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-radius: 10px;
    border: 0px solid #ccc;
    box-shadow: 0px 0px 2px var(--puny-black-box-shadow);
    background-color: transparent;
    overflow: hidden;
}   

article.article-direction {
    flex-direction: column;
 
}

article.gallery-card {
    padding: 0;
}

/* Responsive Link Card Rules for Hidden Elements */

/* When icon is hidden */
article.link-card.no-icon hgroup > h6 {
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

/* When both icon and image are hidden - maximize text space */
article.link-card.no-icon.no-image {
    justify-content: center;
    align-items: center;
    text-align: center;
}

article.link-card.no-icon.no-image hgroup {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

article.link-card.no-icon.no-image hgroup > h6 {
    -webkit-line-clamp: 4;
    line-clamp: 4;
    margin-bottom: 0.5rem;
}

article.link-card.no-icon.no-image hgroup > p {
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

/* For vertical cards (gs-h="2") with no image */
div.grid-stack-item[gs-h="2"] article.link-card.no-image hgroup > p {
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

/* For cards with only image hidden (icon visible) */
article.link-card.no-image:not(.no-icon) hgroup > p {
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

/* Adjust gap when icon is hidden */
article.link-card.no-icon {
    gap: 10px;
}

/* Make the modal full-screen on mobile */
@media (max-width: 768px) {
    #modal {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        max-width: none;
        max-height: none;
        display: hidden;
        flex-direction: column;
    }
    
    #modal article {
        display: hidden;
        flex-direction: column;
        height: 100%;
        margin:0;
        padding:
    }
}

/* Ensure the header and footer are fixed, and only content scrolls */
#modal article header,
#modal article footer {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
    
    
}

#modal article footer {
    bottom: 0;
    
}

/* Scrollable content */
#modal-content {
    overflow-y: auto;
    flex: 1; /* Allows content to take the remaining space between header and footer */
    padding: 15px;
}

.modal.slideover {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}
.modal.slideover.active {
    transform: translateX(0);
}

/* Sticky top menu */
.top-bar {
    position: sticky;
    top: 0;
    left: 0;
    background-color: #0c2c5a;
    padding: 10px;
    color: white;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Profile section styling */

.profile-section {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between;
    padding: 24px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    gap: 0 !important;
}

/* Profile main content row */
.profile-main-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    flex: 1;
    gap: 20px;
    width: 100%;
}

/* Ensure figure elements in profile don't break layout */
.profile-section figure {
    margin: 0 !important;
    width: auto !important;
    box-shadow: none !important;
}

/* Profile image container */
.profile-image-container {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.profile-section .profile-image-container {
    position: relative !important;
    margin: 0 !important;
}

.profile-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
}

/* Profile text content */
.profile-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: var(--pico-color);
}

.profile-description {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    color: var(--pico-muted-color);
}

/* Profile actions row */
.profile-actions {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-top: auto;
    height: 40px;
}

/* Social icons styling */
.profile-actions .social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    cursor: pointer;
}

.profile-actions .social-icons i {
    font-size: 22px;
    transition: transform 0.2s ease;
}

.profile-actions .social-icons i:hover {
    transform: scale(1.1);
}

/* Default color for non-configured social icons */
.profile-actions .social-icons i:not([style*="color"]) {
    color: rgba(0, 0, 0, 0.25);
}

/* Website link button */
.profile-website-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--pico-primary-background);
    color: var(--pico-primary);
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.2s ease;
}

.profile-website-link:hover {
    background-color: var(--pico-primary);
    color: white;
    transform: scale(1.05);
}

.profile-website-link span {
    display: inline-block;
    transform: translateX(1px);
}

/* Hover effect for entire profile card */
.profile-section:hover {
    background-color: var(--pico-background-color);
}

/* Additional fixes for profile layout */
.profile-section .truncate-3 {
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

/* Ensure profile actions stay at bottom */
.profile-section .profile-actions {
    width: 100%;
}



.profile-picture {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0px 0px 2px var(--puny-black-box-shadow);
}

/* Floating menu styling */
.floating-menu {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    /* background-color: #E0E0E0; */
    background-color: var(--puny-blue);
    padding: 10px 55px;
    width: 85%;
    border-radius: 28px;
    /* color: rgba(0, 0, 0, 0.35); */
    color: rgba(255, 255, 255, 0.9);
    z-index: 998;
    max-width: 450px;
}

.floating-menu button {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .4rem 0.85rem;
}

.floating-menu span {
    font-weight: 700;
    font-size: 0.875rem;
}

.controls-bars-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #CCCCCC5F;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Alpine.js x-show compatibility - removed conflicting rule */


/* Centered control bar */
.controls-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    z-index: 1001;
    gap: 0.9rem;
}

/* Ensure grid items are clickable */
.grid-stack-item {
    position: relative;
    overflow: visible !important;
}

.grid-stack-item-content {
    cursor: pointer;
    position: relative;
    overflow: visible !important;
}

/* Drag handle styles */
.grid-drag-handle {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    cursor: move;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s;
}

.grid-stack-item:hover .grid-drag-handle {
    opacity: 0.3;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), transparent);
}

.control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    font-size: 1.3rem;
}

.control-btn:focus {
    box-shadow: unset !important;
}


@media and (min-width: 800px) {

}


.grid-stack-item>.ui-resizable-se {
    /* background-image: url("static/assets/img/arrow-down-right-solid.svg"); */
    width: 2.5rem;
    height: 2.5rem;
    background-size: 55%;
    background-position: bottom 5px center;
    opacity: 0.5;
    right: 10px !important; ;
    bottom: 10px !important;
}

/* Styling for gallery image cover */
.gallery-image-cover {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white;
    text-align: center;
    background: #00000044
}

.gallery-card .gallery-image-cover {
    background: white;
}

/* Image styling */
.gallery-image-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-image-cover p, h3, h4 {
    color:var(--pico-color-azure-50)
}

/* Caption overlay styling */
.gallery-image-cover-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    color: black;
    padding: 25px 5px 5px;
    border-radius: 5px;
    font-size: 0.9rem;
    color: white;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1), transparent);
    
}


/* Styling for gallery image cover */
.widget-image-cover {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Image styling */
.widget-image-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.widget-image-cover p, h3, h4 {
    color:var(--pico-color-azure-50)
}

/* Caption overlay styling */
.widget-image-cover-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(1, 49, 67, 0.9); /* Background with transparency */
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    max-width: calc(100% - 40px); /* Avoids going outside the card */
}

/* Full-page aside styling */
aside.full-page-aside {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color, #fff);
    z-index: 1000;
    display: none; /* Hide initially */
    padding: 2rem;
    overflow-y: auto;
}

aside.full-page-aside.show {
    display: block;
}

/* Aside transition */
.aside-transition {
    transition: all 0.3s ease;
}

/* Close button styling */
aside.full-page-aside .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
}


.modal-is-open {
    overflow: hidden;
}
.modal-is-opening, .modal-is-closing {
    transition: opacity 0.3s ease;
}
.modal-is-opening {
    opacity: 1;
}
.modal-is-closing {
    opacity: 0;
}


.add-card-widget {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #55A6E6; /* Customize the color for the Add button */
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }
  
  .add-card-widget:hover {
    background-color: #4B97D5; /* Darken the color on hover */
    transform: scale(1.05); /* Slight zoom effect */
  }
  
  .add-card-widget::after {
    content: "+ Add New Card";
  }
  

  /* Fix dialog positioning to prevent bottom-corner appearance */
  dialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    max-width: min(600px, 90vw) !important;
    max-height: min(85vh, calc(100vh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 40px)) !important;
    overflow: visible !important;
  }
  
  dialog[open] {
    display: flex !important;
    flex-direction: column !important;
  }
  
  /* Ensure dialog content respects max-height */
  dialog.modal-form-dialog > * {
    max-height: 100%;
    /* Remove overflow hidden to allow sticky positioning to work */
  }
  /* Prevent dialog from jumping on mobile by setting initial position */
  dialog.modal-form-dialog {
    position: fixed !important;
    margin: auto !important;
    inset: 0 !important;
    /* Prevent any transform that might cause jumping */
    transform: none !important;
  }
  
  /* Override Pico's modal animations that might cause jumping */
  dialog.modal-form-dialog[open] {
    position: fixed !important;
    margin: auto !important;
    inset: 0 !important;
    transform: none !important;
    /* Add subtle fade-in instead of position animation */
    animation: modalFadeIn 0.2s ease-out !important;
  }
  
  @keyframes modalFadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  /* Mobile adjustments for safe areas only */
  @media (max-width: 640px) {
    dialog {
      max-height: min(90vh, calc(100vh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 20px)) !important;
    }
    
    /* Ensure dialog stays centered on mobile */
    dialog.modal-form-dialog {
      position: fixed !important;
      margin: auto !important;
      inset: 0 !important;
      transform: none !important;
    }
    
    /* Disable any transitions that might cause jumping on mobile */
    dialog.modal-form-dialog,
    dialog.modal-form-dialog[open] {
      transition: none !important;
    }
  }
  
  .dialog > article {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column; /* Ensures content stacks vertically */
    overflow: hidden; /* Allows scrolling if content overflows */
    padding: 1rem; /* Optional padding */
  }
  
  .dialog > article > header,
  .dialog > article > footer {
    flex-shrink: 0; /* Ensures header and footer remain visible */
  }
  
  .dialog > article > section {
    flex-grow: 1; /* Makes the content area expand */
    overflow-y: auto; /* Scrollable content */
  }



  #editorjs {
    border: 1px solid #ccc;
    padding: 10px;
    min-height: 300px; /* Adjust for mobile screens */
    width: 100%; /* Ensures full width on mobile */
    box-sizing: border-box;
    overflow-y: auto; /* Adds scroll for long content */
    background: #fff; /* Ensure background is visible */
}

.ce-toolbar__content {
    flex-wrap: wrap; /* Ensures tools wrap on smaller screens */
}

.ce-toolbar__actions {
    position: fixed;
    bottom: 10px; /* Toolbar at the bottom of the screen */
    left: 50%;
    transform: translateX(-50%);
    width: 90%; /* Adjust width for better usability */
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.ce-inline-toolbar__button {
    padding: 10px; /* Larger touch target */
    margin: 5px; /* Adds spacing between buttons */
}


.text-card a {
    color: inherit;
    text-decoration: none;
}

.text-card-font-size-small, .text-card-font-size-small p {
    font-size: 1rem;
    font-weight: 800;
}

.text-card-font-size-medium, .text-card-font-size-medium p  {
    font-size: 2rem;
    font-weight: 800;
}

.text-card-font-size-large, .text-card-font-size-large p  {
    font-size: 4rem;
    font-weight: 800;
}

.text-card-font-size-extra-large , .text-card-font-size-extra-large p {
    font-size: 5rem;
    font-weight: 800;
}


.previous-image img {
    max-height: 15vw;
}



.next-image img {
    max-height: 15vw;
}


.current-image img {
    max-height: 30vw;
}


@media screen and (max-width: 800px) {
    .previous-image img {
        max-height: 10vw;
    }
    
    .next-image img {
        max-height: 10vw;
    }
    
    .current-image img {
        max-height: 25vw;
    }
}

#popup-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.60);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
}

#popup-message-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 3rem 1rem 2.5rem;
    gap: 2.5rem;
    width: 85%;
    max-width: 600px;
}

#popup-message {
    width: 75%;
    text-align: center;
    opacity: 0.75;
    font-size: 1.2rem;
}

#popup-button {
    padding: 1rem 3rem;
    background-color: var(--puny-blue);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    color: #2A577A;
}

.previous-image img {
    max-height: 15vw;
}



.next-image img {
    max-height: 15vw;
}


.current-image img {
    max-height: 30vw;
}


@media screen and (max-width: 800px) {
    .previous-image img {
        max-height: 10vw;
    }
    
    .next-image img {
        max-height: 10vw;
    }
    
    .current-image img {
        max-height: 25vw;
    }
}


@media screen and (max-width: 320px) {
        
    .gs-id-0 > .grid-stack-item > .grid-stack-item-content {
        inset: 7px !important;
    }
}




.text-widget {
    overflow: hidden;

}

.text-widget a {
    text-decoration: none;
    color: inherit !important;
}


/* Alpine related rules */

[x-cloak] {
    display: none !important; 
}

/* Fix for controls visibility - ensure overflow is visible when controls are shown */
.grid-stack-item.controls-visible article.grid-stack-item-content {
    overflow: visible !important;
}

/* Ensure controls container is not clipped */
.grid-stack-item.controls-visible {
    overflow: visible !important;
    z-index: 999;
}


