/*
Theme Name: Wortschöpferei
Theme URI: https://wortschoepferei.de
Author: Wortschöpferei
Description: Classic two-column WordPress theme for Die Wortschöpferei, based on a YUI grid layout.
Version: 1.0
Requires at least: 6.0
Tested up to: 7.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wortschoepferei
*/

/* -------------------------------------------------------
   Base Reset (replaces the deprecated YUI CDN stylesheet)
------------------------------------------------------- */
html, body, div, span, h1, h2, h3, h4, h5, h6, p,
blockquote, pre, a, abbr, address, code, del, dfn,
em, img, ins, kbd, q, small, strong, sub, sup, var,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, figure, figcaption, footer, header,
menu, nav, section, summary {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, menu, nav, section { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
table { border-collapse: collapse; border-spacing: 0; }

/* -------------------------------------------------------
   YUI-style Grid Layout (col1 = left sidebar, col3 = main)
------------------------------------------------------- */
html, body { background-color: #f9f9f9; }

#custom-doc {
    margin: auto;
    text-align: left;
    width: 100%;
    min-width: 907px;
    max-width: 69.7692em;
    background-color: #fff;
}

/* #yui-main wraps the main content (col3); floats right so the
   sidebar (col1, floated left outside #yui-main) sits beside it. */
.yui-tcustom #yui-main {
    float: right;
    margin-left: -26em;
}
.yui-tcustom .yui-b {
    float: left;
    width: 25.1538em;
}
.yui-tcustom #yui-main .yui-b,
.yui-tcustom .yui-bcustommain {
    margin-left: 25.9230em;
}

/* Clearfix */
#hd::after,
#bd::after,
#ft::after {
    content: '';
    display: table;
    clear: both;
}
#ft { clear: both; }

/* -------------------------------------------------------
   Column Padding
------------------------------------------------------- */
/* col1 = left navigation sidebar – mirrors the original #col3 padding */
#col1 { padding: 20px 0 10px 10px; box-sizing: border-box; }
/* col3 = right main content */
#col3 { padding: 20px 0 10px 10px; }

/* -------------------------------------------------------
   Custom Fonts
------------------------------------------------------- */
@font-face {
    font-family: 'Xbandrough';
    src: url('assets/Xbandrough.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* -------------------------------------------------------
   Primary Navigation (col1_content – WordPress nav menu)
------------------------------------------------------- */
#nav_main { background: none; margin-top: 25px; }
#nav_main ul li { width: 96px; }

#col1_content nav ul,
#col1_content ul { margin: 0; list-style: none; }

#col1_content ul li { margin: 0 0 5px 0; padding: 0; }

#col1_content ul li a {
    display: block;
    padding: 3px 6px;
    font-family: 'Xbandrough', "Courier New", Courier, monospace;
    font-size: 93%;
    color: #000;
    text-decoration: none;
    background-color: #ff5edf;
}
#col1_content ul li a:hover {
    color: #182E7A;
}
#col1_content ul li.current-menu-item > a,
#col1_content ul li.current_page_item > a {
    color: #182E7A;
    font-weight: bold;
}

/* Sub-menus */
#col1_content ul ul { margin: 2px 0 5px 10px; }
#col1_content ul ul li a { font-size: 87%; }

/* -------------------------------------------------------
   Sub Navigation
------------------------------------------------------- */
#nav_sub { background: none; margin: 25px 0 0 0; }
#nav_sub ul { margin: 0 0 0 20px; list-style: none; }
#nav_sub ul li { margin: 0; padding: 0 0 0 5px; width: 149px; line-height: 1.5em; }

/* -------------------------------------------------------
   Content Typography
------------------------------------------------------- */
#col1_content,
#col3_content {
    font-family: "Courier New", Courier, "times new roman", serif;
    font-size: 93%;
}

#topmenu {
    font-family: "Courier New", Courier, "times new roman", serif;
    font-size: 85%;
    padding: 0 0 0 10px;
}

p { line-height: 1.5em; margin: 0 0 1em; }
ul, ol, dl { line-height: 1.5em; margin: 0 0 1em 1em; }
li { margin-left: 1.5em; line-height: 1em; }

h1, h2, h3, h4, h5, h6 {
    font-family: "Courier New", Courier, "times new roman", serif;
    font-weight: bold;
    color: #666;
    margin: 0 0 0.25em 0;
}
h1 { font-size: 200%; }
h2 { font-size: 200%; color: #182E7A; }
h3 { font-size: 150%; }
h4 { font-size: 133.33%; }
h5 { font-size: 100%; font-weight: normal; color: #999; }
h6 { font-size: 116.67%; font-style: italic; }

/* -------------------------------------------------------
   Links
------------------------------------------------------- */
a { color: #000; text-decoration: underline; }
a:focus,
a:hover,
a:active { color: #182E7A; text-decoration: underline; }

#topmenu a,
#topmenu a:focus,
#topmenu a:active { color: #999; font-weight: normal; background: transparent; text-decoration: none; }
#topmenu a:hover { text-decoration: underline; }

#nav_sub a { text-decoration: none; }
#nav_sub a:focus,
#nav_sub a:hover,
#nav_sub a:active { color: #182E7A; text-decoration: underline; }

/* -------------------------------------------------------
   Decorative Header / Footer Lines
------------------------------------------------------- */
.themeline { height: 0; line-height: 0; margin: 0; padding: 0; }

hr {
    color: #fff;
    background: transparent;
    margin: 0 0 0.5em 0;
    padding: 0 0 0.5em 0;
    border: 0;
    border-bottom: 1px dotted #a7a7a7;
}

/* -------------------------------------------------------
   Site Logo / Home Link
------------------------------------------------------- */
#homelink {
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
}
#homelink h1 {
    background: url(assets/wortscho_logo.jpg) no-repeat; /* 0 0 = top-left, matches original */
    height: 30px;
    text-indent: -999em;
    overflow: hidden;
    font-size: 1px;
}

/* -------------------------------------------------------
   News / Blog Extras
------------------------------------------------------- */
.news-date { padding-bottom: 10px; color: #999; }
.entry-content { margin-top: 0.5em; }

/* -------------------------------------------------------
   WordPress Core Alignment Helpers
------------------------------------------------------- */
.wp-caption { max-width: 100%; }
.alignleft  { float: left;  margin: 0 1em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1em; }
.aligncenter { display: block; margin: 0 auto 1em; }

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
