/*
Theme Name: MOC
Theme URI: https://www.moc.se
Author: KS Media (Kejovaara & Sandström HB)
Author URI: https://www.ksmedia.se/
Description: Minimalistic WP Theme for moc.se
Version: 1.5
License: GPLv2 or later
Text Domain: moc-minimal
*/

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #222;
    background: #f5f5f5;
}

a {
    color: #006699;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

/* MAIN WHITE BOX */

#page {
    max-width: 1160px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px 100px 40px;
    box-sizing: border-box;

    border: 1px solid #d0d0d0;          /* thin border around box */
    min-height: calc(100vh - 80px);      /* stretch nearly full page height */
}

/* HEADER (INSIDE CONTENT COLUMN) */

.site-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #d8d8d8;
    padding-bottom: 20px;
    text-align: center;
}

.site-logo {
    margin-bottom: 15px;
}

.site-logo img {
    display: block;
    margin: 0 auto;
    max-width: 140px;
    height: auto;
    border-radius: 0; /* squared image */
}

.site-title {
    font-size: 30px;
    font-weight: bold;
	letter-spacing:-3px;
    margin: 0 0 4px;
    color: #00254f;
}

.site-title a {
    color: #00254f;
    text-decoration: none;
}

.site-title a:hover {
    text-decoration: none;
}

.site-description {
    font-size: 13px;
    color: #777;
    margin: 0;
}

/* LAYOUT: CONTENT + SIDEBAR */

.site-main-wrapper {
    display: flex;
    flex-wrap: nowrap;
}

/* Left column – posts */

.content-area {
    flex: 1 1 auto;
    padding-right: 70px;
    box-sizing: border-box;
}

.readmore-link {
    display: block;   
    text-align: right;   
    color: #00254F;
}

/* Right column – sidebar */

.widget-area {
    flex: 0 0 260px;
    max-width: 260px;
    width: 260px;
    box-sizing: border-box;
    padding-left: 40px;

    font-family: Verdana, Geneva, sans-serif;
    font-size: 10px;          /* per your preference */
    line-height: 1.55;
    color: #666;
    font-weight: 300;

    border-left: 1px solid #d0d0d0;  /* separator line */
}

/* POSTS – LIST/ARCHIVE */

.post-list-item {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #d8d8d8;
}

.post-list-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.post-title {
    font-size: 36px;
	line-height:45px;
    margin: 0 0 4px;
    color: #00254f;
	font-family:"PT Serif", Georgia, Serif !important;
}

.post-title a {
    color: #00254f;
    text-decoration: none;
}

.post-title a:hover {
    text-decoration: underline;
}

.post-meta {
    font-size: 11px;
    color: #999;
    margin-bottom: 8px;
}

.post-excerpt {
    margin: 0 0 10px;
    font-size: 15px;
}

.entry-content {
    font-size: 15px;
}

.entry-content p {
    margin-bottom: 1.1em;
}

/* SINGLE POST / PAGES */

.single .post,
.page .post {
    margin-bottom: 40px;
}

.single .post-title,
.page .post-title {
    margin-bottom: 4px;
}

.single .post-meta {
    margin-bottom: 20px;
}

/* SIDEBAR CONTENT */

.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin: 0 0 8px;
    color: #444;
}

.widget p {
    margin: 0 0 8px;
}

/* SOCIAL LINKS – SVG BLOCK (sidebar-social) */

.sidebar-social {
    text-align: center;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #d0d0d0;
}

.sidebar-social .social-icon svg {
    vertical-align: middle;
    transition: opacity 0.2s ease;
}

.sidebar-social .social-icon:hover svg {
    opacity: 0.6;
}

.sidebar-social .sep {
    display: inline-block;
    margin: 0 10px;
    color: #bbb;
    font-size: 12px;
}

/* If you still use the older UL-based .social-links somewhere */

.social-links {
    list-style: none;
    margin: 18px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid #d8d8d8;
    text-align: center;
}

.social-links li {
    display: inline-block;
    margin: 0 4px;
}

.social-links li + li::before {
    content: "|";
    margin-right: 8px;
    color: #ccc;
}

.social-links a {
    display: inline-block;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #bbb;
    text-align: center;
    line-height: 24px;
    font-size: 13px;
    text-decoration: none;
    color: #555;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* FOOTER BELOW WHITE BOX */

.page-footer {
    max-width: 1160px;
    margin: 10px auto 40px;
    font-size: 12px;
    color: #999;
}

.page-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-footer a {
    color: #999;
    text-decoration: none;
}

.page-footer a:hover {
    text-decoration: underline;
}

/* BASIC RESPONSIVE */

@media (max-width: 900px) {
    #page {
        padding: 20px;
        min-height: auto;   /* avoid weird stretching on very small screens */
    }

    .site-main-wrapper {
        flex-wrap: wrap;
    }

    .content-area,
    .widget-area {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding-right: 0;
        padding-left: 0;
        border-left: none;
    }
}
