/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

:root {
  --blue-color: #5276A8; /* global scope */
  --dark-blue-color: #070913;
  --text-color: #2e2e2e;
}


html,body { font-family: arial, verdana, serif; background: var(--dark-blue-color); line-height: 150%; color: var(--text-color); padding:0; margin:0; }

html { background: var(--dark-blue-color) url(images/crejz-bg.jpg) repeat-x center top; }
body { background: url(images/crejz-header.jpg) no-repeat center top; }

.container { max-width: 1024px; margin: 0 auto; }
header,main,footer {  }

a { color: var(--blue-color);  text-decoration: none; }
img { max-width: 100%; height: auto; }
strong, bold { font-weight: bold; }
i,em { font-style: italic; }

header {  text-align: center; padding:0; margin:0; min-height: 200px; position: relative; }
header .logo { position: absolute; bottom:0; width: 100%; }

.main-content {
	background: white;
    display: flex;
    gap: 40px; /* Optional: adds space between the two columns */
	padding: 40px;
	margin: 0 20px;
border-radius: 5px;
}

.main-content main {
    flex: 0 0 70%; /* Do not grow, do not shrink, stay at exactly 70% width */
}

.main-content .sidebar {
    flex: 0 0 28%; /* Do not grow, do not shrink, stay at exactly 30% width */
}

article.list .title { font-size: 21px; margin-bottom: 10px; font-weight: bold;  }
article.list { margin: 30px 0; }
article.list:first-child { margin-top:0; }
article.list:last-child { margin-bottom:0; }

.post-title { font-size: 26px; line-height: 150%; font-weight: bold; color: var(--blue-color); }
.post-content { line-height: 180%; margin-top: 30px; }


.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5 { font-weight: bold; margin: 25px 0; }
.post-content h1 { font-size: 26px; }
.post-content h2 { font-size: 24px; }
.post-content h3 { font-size: 21px; }
.post-content h4 { font-size: 18px; }
.post-content p { margin: 25px 0; }

.post-content ul, .post-content ol { margin: 30px; }
.post-content ul li, .post-content ol li { padding: 5px 0 5px 5px; }
.post-content ul { list-style-type: disc;  }
.post-content ol { list-style-type: roman;  }

.post-content hr { border:0; height: 1px; background: gray; opacity: 0.2; margin-bottom: 25px; }
.meta.post-date { font-size: 12px; text-transform: uppercase; opacity: 0.4;  }


.sidebar .sidebar-header { position: relative; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; margin-bottom: 0px; color: gray; opacity: 0.9; padding-bottom: 5px; }
.sidebar .sidebar-header:after { position: absolute;left:0; bottom:0; content: ""; height: 2px; width: 100px; background: var(--blue-color); }

ul.sidebar-post-list li { font-size: 14px; margin: 20px 0; padding-left: 20px; position: relative; }
ul.sidebar-post-list li:before { content: "•"; font-size: 21px; position: absolute; left:0; color: var(--blue-color); }
ul.sidebar-post-list a { color: inherit; }


footer { text-align: center; color: white; font-size: 14px; padding: 20px; opacity: .5; color: var(--blue-color); }


@media (max-width: 990px) {
	.main-content { display: block; }
  .main-content main { display: block;  width: 100%;  }
	.main-content .sidebar { display: block;  width: 100%; }
  body.home .main-content .sidebar { display: none; }

	ul.sidebar-post-list {
		column-count: 2; /* Number of columns */
    column-gap: 20px; /* Space between columns */
	}
}

/* Shrinks/hides for tablets and smaller */
@media (max-width: 768px) {

}

/* Shrinks/hides for tablets and smaller */
@media (max-width: 600px) {
   ul.sidebar-post-list { column-count: 1; 	}
}




/*  images spinner ========================================================= */
/* Container created automatically by JavaScript */
.post-content .img-wrapper {
  position: relative;
  display: block;
  background: rgba(243, 243, 243, 0.3);
}

.post-content .img-wrapper.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  z-index: 2;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.post-content .img-wrapper.loading img {
  opacity: 0;
}

.post-content .img-wrapper img {
  transition: opacity 0.3s ease;
  display: block;
  max-width: 100%;
  height: auto;
}