/*
Theme Name: SingauBulit: SaF 0.0
Theme URI:
Author: Bert Steve
Author URI:
Description: Bert Steve's Personal Template
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 0.0
*/

/* STYLES */

html, body {
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #a5a5a5;
    font-family: system-ui, sans-serif;
	font-size: 1rem;
    height: 100%;
}

a {
    color: #9fc0ff; /* muted electric blue */
    text-decoration: none;
    transition: color 0.2s ease, border-bottom 0.2s ease;
    border-bottom: 1px dotted #555;
}

a:hover,
a:focus {
    color: #ffffff;
    border-bottom: 1px solid #aaa;
    text-shadow: 0 0 2px #9fc0ff;
}

a.img-link {
  border-bottom: none !important;
  text-shadow: none !important;
  color: inherit;
}

.container {
  width: 80%;
  margin: 0 auto;
  box-sizing: border-box;
}

.wrapper {
    display: flex;
	flex-wrap: wrap;
    flex-direction: row;
    min-height: 100vh;
    width: 100%;
	align-self: stretch;
	justify-content: flex-start;
}

.col1, .col2, .col3 {
    box-sizing: border-box;
    background-color: #1a1a1a;
    padding: 1rem;
	flex-shrink: 1;
	min-width: 0;
}

.col1 {
    flex: 0 0 15%;
    display: flex;
    justify-content: flex-start;
	flex-direction: column;
    border-right: 1px solid #333;
}

.crest {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
	transition: filter 0.3s ease;
}
.crest:hover {
    filter: drop-shadow(0 0 6px #b89e5f);
}

.col2 {
    flex: 0 0 65%;
    display: flex;
    justify-content: flex-start;
	flex-direction: column;
    border-right: 1px solid #333;
}

.col3 {
    flex: 0 0 20%;
    display: flex;
    justify-content: flex-start;
	flex-direction: column;
    color: #aaa;
}

.widget-container {
	width: 100%;
}

.copyr {
	width: 100%;
	margin-top: 2rem;
	text-align: right;
	font-size: 0.9rem;
}

h3.widget-title {
	font-size: 1.2rem;
	text-align: right;
}

.col1 ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #9fc0ff;
  font-size: 0.9rem;
  line-height: 2;
  direction: rtl;
  text-align: right;
}

.col1 ul li {
  position: relative;
  padding-right: 1.5em; /* enough room for icon */
  overflow-wrap: break-word; /* prevent overflow on long words */
  white-space: normal;
}

.col1 ul li::before {
  content: "✦";
  position: absolute;
  top: 0.1em;
  right: 0;
  color: #9fc0ff;
  font-size: 0.9em;
  line-height: 1;
}

.col1 ul.menu {
  margin: 0;
  list-style: none;
  color: #9fc0ff;
  font-size: 0.9rem;
  line-height: 2;
  direction: rtl;
  text-align: right;
}

.col1 ul.menu li:before{
  content: "✦"; /* or try "⟡", "⤷", "↠", or a custom SVG */
  right: 0;
}

.col3 ul.wp-block-latest-posts__list.wp-block-latest-posts {
  list-style: none;
  padding-left: 1.2rem;
  margin: 0;
  text-align: left;
}

.col3 ul.wp-block-latest-posts__list.wp-block-latest-posts li {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  font-size: 0.90rem;
  line-height: 1.4;
}

.col3 ul.wp-block-latest-posts__list.wp-block-latest-posts li::before {
  content: "⟡";
  position: absolute;
  left: 0;
  color: #9fc0ff;
  font-size: 0.9rem;
  line-height: 1;
  top: 0.1rem;
}

p{
  line-height: 1.3rem;
}

code {
  color: #b2d4ff;
  background-color: rgba(40, 60, 90, 0.15);
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  font-size: 0.92em;
  font-family: 'Courier New', monospace;
}

.singau-feed {
  padding-top: 1rem;
  padding-bottom: 0.4rem;
  margin-bottom: 0;
}

.singau-title {
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
  color: #9fc0ff;
  text-align: center;
  text-shadow: 0 0 2px #2a2a2a;
}

.singau-post {
  margin-bottom: 0.6rem;
  padding-bottom: 0.3rem;
}

.singau-post:last-of-type {
  margin-bottom: 0.2rem;
  padding-bottom: 0.2rem;
}

.singau-time {
  font-size: 0.75rem;
  color: #777;
  display: inline-block;
  margin-bottom: 0.2rem;
}

.singau-content {
  font-size: 0.8em;
  line-height: 1.4;
  margin-top: 0.25rem;
}

.singau-content a {
  font-weight: normal;
  margin-left: 0.25rem;
  color: #9fc0ff;
  border-bottom: none;
}

hr {
  width: 75%;
  margin: 0.5rem auto;
  opacity: 0.3;
  border: none;
  border-top: 1px dotted #9fc0ff;
}

hr:last-of-type {
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

.singau-subtext {
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.3rem;
  margin-bottom: 0.2rem;
  text-align: center;
  line-height: 1.3;
}

.singau-pagination {
  text-align: center;
  font-size: 0.85rem;
  padding: 0;
  line-height: 1.3;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.5;
}

.singau-pagination a {
  padding: 0.2rem 0.4rem;
  margin: 0 0.15rem;
  color: #9fc0ff;
  text-decoration: none;
  border-bottom: none;
}

.singau-pagination a:hover {
  color: #ffffff;
  text-shadow: 0 0 2px #9fc0ff;
}

@media (max-width: 768px) {
    .wrapper {
    flex-direction: column;
    }
	
	.col1, .col3 {
	  display: flex;
	  flex-direction: column;
	  flex: 1 1 auto;
	  width: 100%;
	  border: none;
	  border-bottom: 1px solid #333;
	}
	
	.col2{
	  display: none;
	}
	.col2.mobile-display{
	  display: flex;
	  flex-direction: column;
	  flex: 1 1 auto;
	  width: 100%;
	  border: none;
	  border-bottom: 1px solid #333;
	}
	
	.col1.mobile-display{
	  order: 2;
	}
	.col2.mobile-display{
	  order: 1;
	}
	.col3.mobile-display{
	  order: 3;
	}
	
	.col1 .widget-container {
		display: none;
	}
	.copyr{
		text-align: center;
		font-size: 0.75rem;
	}

    .col3 {
    border-bottom: none;
    justify-content: center;
    text-align: center;
    padding-bottom: 2rem;
    }

    .crest {
	display: block;
    max-width: 50%;
	margin: 0 auto;
    transition: filter 0.3s ease;
    }
    .crest:hover {
    filter: drop-shadow(0 0 6px #b89e5f);
    }
	
	.copyr{
	max-width: 100%;
	margin: 0 auto;
	}
	
}