/* Summernote Content Display Styles - ONLY for blog and article inner pages */

/* Target only the specific pages that need Summernote formatting */
.pageNewsInner .text,
.simpleLayout .text,
.wdsdPage .text,
.gigosFund .text {
    /* Ensure the container itself doesn't interfere with site layout */
    position: relative;
}

/* Typography - Bold, Italic, Underline, Strikethrough */
.pageNewsInner .text b,
.pageNewsInner .text strong,
.simpleLayout .text b,
.simpleLayout .text strong,
.wdsdPage .text b,
.wdsdPage .text strong,
.gigosFund .text b,
.gigosFund .text strong {
    font-weight: bold;
}

.pageNewsInner .text i,
.pageNewsInner .text em,
.simpleLayout .text i,
.simpleLayout .text em,
.wdsdPage .text i,
.wdsdPage .text em,
.gigosFund .text i,
.gigosFund .text em {
    font-style: italic;
}

.pageNewsInner .text u,
.simpleLayout .text u,
.wdsdPage .text u,
.gigosFund .text u {
    text-decoration: underline;
}

.pageNewsInner .text s,
.pageNewsInner .text strike,
.pageNewsInner .text del,
.simpleLayout .text s,
.simpleLayout .text strike,
.simpleLayout .text del,
.wdsdPage .text s,
.wdsdPage .text strike,
.wdsdPage .text del,
.gigosFund .text s,
.gigosFund .text strike,
.gigosFund .text del {
    text-decoration: line-through;
}

/* Subscript and Superscript */
.pageNewsInner .text sub,
.simpleLayout .text sub,
.wdsdPage .text sub,
.gigosFund .text sub {
    vertical-align: sub;
    font-size: smaller;
}

.pageNewsInner .text sup,
.simpleLayout .text sup,
.wdsdPage .text sup,
.gigosFund .text sup {
    vertical-align: super;
    font-size: smaller;
}

/* Paragraphs */
.pageNewsInner .text p,
.simpleLayout .text p,
.wdsdPage .text p,
.gigosFund .text p {
    margin-bottom: 1em;
    line-height: 1.6;
}

.pageNewsInner .text p:last-child,
.simpleLayout .text p:last-child,
.wdsdPage .text p:last-child,
.gigosFund .text p:last-child {
    margin-bottom: 0;
}

/* Lists */
.pageNewsInner .text ul,
.simpleLayout .text ul,
.wdsdPage .text ul,
.gigosFund .text ul {
    list-style-type: disc;
    padding-left: 40px;
    margin: 1em 0;
}

.pageNewsInner .text ol,
.simpleLayout .text ol,
.wdsdPage .text ol,
.gigosFund .text ol {
    list-style-type: decimal;
    padding-left: 40px;
    margin: 1em 0;
}

.pageNewsInner .text ul ul,
.pageNewsInner .text ol ul,
.simpleLayout .text ul ul,
.simpleLayout .text ol ul,
.wdsdPage .text ul ul,
.wdsdPage .text ol ul,
.gigosFund .text ul ul,
.gigosFund .text ol ul {
    list-style-type: circle;
}

.pageNewsInner .text ul ul ul,
.pageNewsInner .text ol ul ul,
.simpleLayout .text ul ul ul,
.simpleLayout .text ol ul ul,
.wdsdPage .text ul ul ul,
.wdsdPage .text ol ul ul,
.gigosFund .text ul ul ul,
.gigosFund .text ol ul ul {
    list-style-type: square;
}

.pageNewsInner .text ol ol,
.simpleLayout .text ol ol,
.wdsdPage .text ol ol,
.gigosFund .text ol ol {
    list-style-type: lower-alpha;
}

.pageNewsInner .text ol ol ol,
.simpleLayout .text ol ol ol,
.wdsdPage .text ol ol ol,
.gigosFund .text ol ol ol {
    list-style-type: lower-roman;
}

.pageNewsInner .text li,
.simpleLayout .text li,
.wdsdPage .text li,
.gigosFund .text li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.pageNewsInner .text ul li,
.pageNewsInner .text ol li,
.simpleLayout .text ul li,
.simpleLayout .text ol li,
.wdsdPage .text ul li,
.wdsdPage .text ol li,
.gigosFund .text ul li,
.gigosFund .text ol li {
    display: list-item;
}

/* Headings */
.pageNewsInner .text h1,
.simpleLayout .text h1,
.wdsdPage .text h1,
.gigosFund .text h1 {
    font-size: 2em;
    font-weight: bold;
    margin: 0.67em 0;
}

.pageNewsInner .text h2,
.simpleLayout .text h2,
.wdsdPage .text h2,
.gigosFund .text h2 {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0.75em 0;
}

.pageNewsInner .text h3,
.simpleLayout .text h3,
.wdsdPage .text h3,
.gigosFund .text h3 {
    font-size: 1.17em;
    font-weight: bold;
    margin: 0.83em 0;
}

.pageNewsInner .text h4,
.simpleLayout .text h4,
.wdsdPage .text h4,
.gigosFund .text h4 {
    font-size: 1em;
    font-weight: bold;
    margin: 1em 0;
}

.pageNewsInner .text h5,
.simpleLayout .text h5,
.wdsdPage .text h5,
.gigosFund .text h5 {
    font-size: 0.83em;
    font-weight: bold;
    margin: 1.5em 0;
}

.pageNewsInner .text h6,
.simpleLayout .text h6,
.wdsdPage .text h6,
.gigosFund .text h6 {
    font-size: 0.67em;
    font-weight: bold;
    margin: 2em 0;
}

/* Blockquotes */
.pageNewsInner .text blockquote,
.simpleLayout .text blockquote,
.wdsdPage .text blockquote,
.gigosFund .text blockquote {
    padding: 10px 20px;
    margin: 1em 0;
    border-left: 5px solid #eee;
    background-color: #f9f9f9;
}

/* Pre and Code */
.pageNewsInner .text pre,
.simpleLayout .text pre,
.wdsdPage .text pre,
.gigosFund .text pre {
    display: block;
    padding: 9.5px;
    margin: 1em 0;
    font-size: 13px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: auto;
}

.pageNewsInner .text code,
.simpleLayout .text code,
.wdsdPage .text code,
.gigosFund .text code {
    padding: 2px 4px;
    font-size: 90%;
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: 4px;
}

.pageNewsInner .text pre code,
.simpleLayout .text pre code,
.wdsdPage .text pre code,
.gigosFund .text pre code {
    padding: 0;
    font-size: inherit;
    color: inherit;
    white-space: pre-wrap;
    background-color: transparent;
    border-radius: 0;
}

/* Text Alignment */
.pageNewsInner .text [style*="text-align: left"],
.simpleLayout .text [style*="text-align: left"],
.wdsdPage .text [style*="text-align: left"],
.gigosFund .text [style*="text-align: left"] {
    text-align: left;
}

.pageNewsInner .text [style*="text-align: center"],
.simpleLayout .text [style*="text-align: center"],
.wdsdPage .text [style*="text-align: center"],
.gigosFund .text [style*="text-align: center"] {
    text-align: center;
}

.pageNewsInner .text [style*="text-align: right"],
.simpleLayout .text [style*="text-align: right"],
.wdsdPage .text [style*="text-align: right"],
.gigosFund .text [style*="text-align: right"] {
    text-align: right;
}

.pageNewsInner .text [style*="text-align: justify"],
.simpleLayout .text [style*="text-align: justify"],
.wdsdPage .text [style*="text-align: justify"],
.gigosFund .text [style*="text-align: justify"] {
    text-align: justify;
}

/* Images */
.pageNewsInner .text img,
.simpleLayout .text img,
.wdsdPage .text img,
.gigosFund .text img {
    max-width: 100%;
    height: auto;
}

.pageNewsInner .text img[style*="float: left"],
.simpleLayout .text img[style*="float: left"],
.wdsdPage .text img[style*="float: left"],
.gigosFund .text img[style*="float: left"] {
    float: left;
    margin: 0 15px 15px 0;
}

.pageNewsInner .text img[style*="float: right"],
.simpleLayout .text img[style*="float: right"],
.wdsdPage .text img[style*="float: right"],
.gigosFund .text img[style*="float: right"] {
    float: right;
    margin: 0 0 15px 15px;
}

/* Links */
.pageNewsInner .text a,
.simpleLayout .text a,
.wdsdPage .text a,
.gigosFund .text a {
    color: #0066cc;
    text-decoration: underline;
}

.pageNewsInner .text a:hover,
.simpleLayout .text a:hover,
.wdsdPage .text a:hover,
.gigosFund .text a:hover {
    color: #004499;
}

/* Tables */
.pageNewsInner .text table,
.simpleLayout .text table,
.wdsdPage .text table,
.gigosFund .text table {
    width: 100%;
    margin: 1em 0;
    border-collapse: collapse;
}

.pageNewsInner .text table td,
.pageNewsInner .text table th,
.simpleLayout .text table td,
.simpleLayout .text table th,
.wdsdPage .text table td,
.wdsdPage .text table th,
.gigosFund .text table td,
.gigosFund .text table th {
    padding: 8px;
    border: 1px solid #ddd;
}

.pageNewsInner .text table th,
.simpleLayout .text table th,
.wdsdPage .text table th,
.gigosFund .text table th {
    font-weight: bold;
    background-color: #f5f5f5;
}

/* Horizontal Rule */
.pageNewsInner .text hr,
.simpleLayout .text hr,
.wdsdPage .text hr,
.gigosFund .text hr {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #eee;
}

/* Clear floats */
.pageNewsInner .text::after,
.simpleLayout .text::after,
.wdsdPage .text::after,
.gigosFund .text::after {
    content: "";
    display: table;
    clear: both;
}

/* Preserve white space for pre-formatted text */
.pageNewsInner .text pre,
.simpleLayout .text pre,
.wdsdPage .text pre,
.gigosFund .text pre {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}
