/*
    Theme Name: Cyberpunk Survival Guide
    Author: Greg Fish
    Description: Custom minimalistic tech blog theme
    Version: 0.0.1
*/

@font-face { font-family: NotoSans; src: url(../webfonts/noto-sans.ttf) format('truetype'); }
@font-face { font-family: Roboto; src: url(../webfonts/roboto-regular.ttf) format('truetype'); }
@font-face { font-family: AxiaStencil; src: url(../webfonts/axia-stencil-black.otf) format('opentype'); }

body { width: 100%; margin: 0; padding: 0; font-family: 'NotoSans', Sans-serif; font-size: 16px; }

nav { background-color: #000000; }

.fixed-top { padding: 10px 0; }

h1 { color: #272c30; font-weight: bold; font-family: "AxiaStencil", Sans-serif; font-size: 2.2em; }

h2 { font-size: 1.8em; font-weight: bold; margin-bottom: 0.5em; line-height: 1.5; font-family: "AxiaStencil", Sans-serif; }

h3 { color: #62707c; font-family: "Roboto", Sans-serif; font-size: 1.1em; line-height: 1.5; }

input:focus { outline: none !important; }

figure { display: table; padding: 0.2em 0 0 0; margin: auto auto; margin-bottom: 1.2em; }

figure img { display: inline-block; padding: 0; margin: auto auto; }

figcaption, .wp-caption-text { text-align: left; margin-top: 7px; padding-bottom: 4px; font-size: 0.8em; color: #343a40; border-bottom: 1px solid #7d8790; display: block; font-family: "NotoSans", Sans-serif; font-size: 14.08px; font-weight: 400; }

.wp-caption-text a { color: #9333ea; text-decoration: none; }
.wp-caption-text a:hover { color: #a44ef4; text-decoration: underline; }

#logo img { height: 55px; padding: 5px 0 5px 0; }

.site-branding { color: #ecf0f1; display: table-cell; vertical-align: middle; }

#site-name { line-height: 1.3;  }

#site-name-csg { font-family: "AxiaStencil", Sans-serif; font-size: 1.4em; text-transform: lowercase; }

#site-name-tagline { font-size: 0.8em; color: #818181; text-transform: lowercase; }

#site-name-sm { font-family: "AxiaStencil", Sans-serif; font-size: 1.2em; text-transform: lowercase; display: none; }

.navbar-nav i { font-size: 1.5em; padding-top: 1px; }

.navbar-nav a { color: #ecf0f1; text-decoration: none; }

.navbar a:hover { color: #9333ea; }

#nav-menu-ico { color: #9333ea; }

#nav-menu-ico:hover { color: #a44ef4; }

.dropdown-toggle::after { display: none; }

.dropdown-menu { border-radius: none; }

.dropdown-menu a { color: #000; }

.dropdown-menu a:hover { color: #9333ea; }

.dropdown-item { border-left: 3px solid #fff; }

.dropdown-item:hover { border-left: 3px solid #9333ea; }

.topic-tag { color: #9333ea; font-weight: bold; font-family: "AxiaStencil", Sans-serif; }

#search-input { display: none; margin-top: 8px; border: none; background-color: #000; color: #ecf0f1; border-bottom: 1px solid #34495e; }

#primary-nav { width: 300px; background-color: #fff; margin: 15px 0 0 0; left: auto; right: 0; border-radius: 0; }

#social-threads-ico a:hover { color: #a19e9e; }
#social-x-twitter-ico a:hover { color: #a19e9e; }
#social-yt-ico a:hover { color: #ee0f0f; }
#social-tt-ico a:hover { color: #00f2ea; }
#social-facebook-ico a:hover { color: #1877f2; }
#social-instagram-ico a:hover { color: #e56969; }
#social-bluesky-ico a:hover { color: #228dff; }

.nav-wrapper { max-width: 1120px; margin: auto auto; }

.wrapper { max-width: 1125px; margin: auto auto; padding: 0 15px; }

#hero-banner { background-image: url(../media/csg-banner.webp); height: 500px; }

#content-box { min-width: 350px; margin: 10px 0 0 0; padding: 0; }

#article-content-box { min-width: 350px; margin: 85px 0 0 0; padding: 0; }

#longform-content-box { min-width: 350px; margin: 25px 0 0 0; padding: 0; }

#content { max-width: 750px; padding-top: 20px; margin: auto auto; }

#longform-content { max-width: 780px; padding: 0; margin: auto auto; }

.post-summary { padding: 5px 0; justify-content: space-between; }

.thumbnail { display: inline-block; padding: 0; width: 31%; max-height: 178px; overflow: hidden; }

.thumbnail img { width: 100%; height: auto; border-radius: 13px; }

.summary { display: inline-block; }

.summary-article-title { padding: 5px 0 10px 0; font-family: "AxiaStencil", Sans-serif; }

.summary-article-title h1 { font-size: 1.6em; }

.summary-article-title a { color: #272c30; font-size: 0.9em; text-decoration: none; }

.summary-article-title a:hover { color: #9333ea; }

.summary-article-byline { padding: 0; color: #62707c; font-size: 0.8em; }

.summary-article-byline a { color: #272c30; font-weight: bold; text-decoration: none; }

.summary-article-byline a:hover { color: #4c565e; }

.summary-article-excerpt { padding: 0 10px 15px 0; font-size: 0.9em; }

.article-nav { padding: 0; margin-top: 16px; float: left; width: 100%; }

.article-nav a { color: #273c30; padding: 11px 15px; background-color: #f2f2f2; }

.article-nav a:hover { color: #fff; background-color: #9333ea; }

#article-longform-splash { width: 100%; height: auto; margin-top: 50px; }

.drop-cap { color: #9333ea; font-family: "AxiaStencil", Sans-serif; font-size: 5em; float: left; margin: 10px 0 0 0; }

#article-content { line-height: 1.6em; font-size: 1.1em; }

#article-content p { color: #363737; line-height:1.7; }

#longform-content #article-content { margin-top: 15px; }

#article-content img { max-width: 100%; height: auto; margin: auto auto; }

#article-content p a, figcaption a { color: #9333ea; text-decoration: none; }

#article-content p a:hover, figcaption a:hover { text-decoration: underline; }

#article-content blockquote { padding: 0 15px; border-left: 3px solid #9333ea; color: #5b646d; }

#article-title { margin-bottom: 13px; }

#sharing-icons-box { padding-top: 10px; }

#article-meta { padding-top: 15px; }

#sharing-icons-box a:hover { opacity: 0.8; }

#sharing-icons-box i { font-size: 1.7em; }

#column-link { color: #9333ea; text-decoration: none; }

.tag-link { color: #272c30; text-decoration: none; }

#column-link:hover { text-decoration: underline; }

.tag-link:hover { color: #272c30; text-decoration: underline; }

.byline-box { margin-top: 20px; padding:0; display: flex;    gap: 1rem; }

.byline-box-small { margin-top: 20px; padding: 0 0 7px 0; }

.author-avi { max-width: 65px; height: 65px; }

.author-avi-small { max-width: 35px; height: 35px; }

.author-bio-small { padding: 0 0 0 50px; font-size: 0.9em; }

.author-bio i { font-size: 1.3em; }

.author-bio p { color: #62707c; font-size: 0.9em; }

#article-publish-date { color: #4c565e; font-size: 0.8em; }

.author-bio a { color: #272c30; text-decoration: none; }

.author-bio a:hover { color: #4c565e; }

.author-bio-small a { color: #272c30; text-decoration: none; }

.author-bio-small a:hover { color: #4c565e; text-decoration: underline; }

#sidebar { padding: 0; margin-top: 20px; }

.widget { width: 100%; }

.widget-header { background-color: #000000; color: #ecf0f1; border-left: 6px solid #9333ea; margin-bottom: 15px; padding: 14px 0 9px 15px; font-size: 1.2em; font-family: "AxiaStencil", Sans-serif; }

.widget img { width: 100%; height: auto; margin-bottom: 15px; border-radius: 13px; }

.widget a { color: #34495e; text-decoration: none; font-size: 0.9em; }

.widget a:hover { text-decoration: underline; }

.widget-post-ad { margin-bottom: 20px; }

.widget-post-number { font-size: 1.5em; font-family: "AxiaStencil", Sans-serif; color: #9333ea; }

#footer { color: #ecf0f1; background-color: #000000; padding: 0 20px 20px 20px; margin-top: 35px; float: left; font-size: 0.9em; }

#footer-widget-box { padding-bottom: 15px; border-bottom: 1px dotted #595f64; margin: 0; }

#footer-widget-box ul { list-style-type: none; margin: 0; padding: 0; }

#footer-widget-box ul li { padding: 10px; border-bottom: 1px dotted #595f64; }

#footer-widget-box ul li:nth-child(11) { border-bottom: none; }

#footer-widget-box ul li:last-child { border-bottom: none; }

.footer-section-header { color: #fff; padding: 5px 0 5px 15px; margin-top: 30px; font-size: 1.4em; font-weight: bold; font-family: "AxiaStencil"; border-left: 3px solid #9333ea; }

.footer-section-contents { margin-top: 15px; color: rgba(255, 255, 255, 0.8); }

.footer-section-contents a { font-size: 1.1em; }

#footer-meta-box { padding-top: 20px; }

#footer a { color: #ecf0f1; text-decoration: none; }

#footer a:hover { color: #bdc3c7; }

#copyright-notice { text-align: right; }

#longform-caption { margin-bottom: 1em; }

#longorm-caption-text { padding: 7px 5px; max-width: 785px; margin: auto auto; text-align: left; }

#longorm-caption-text a { color: #9333ea; text-decoration: none; }

#longorm-caption-text a:hover { color: #62707c; }

.more-toggle { background-color: #000; padding: 10px 10px; margin: 25px 0; color: #e1e1e1; text-align: center; cursor: pointer; font-family: "AxiaStencil", Sans-serif; font-size: 0.9em; }

.more-toggle a { color: #fff; text-decoration: none; }

#page-content { line-height: 1.7; }

#page-content p { font-size: 17px; line-height: 1.8; }

#page-content a { color: #9333ea; text-decoration: none; }

#page-content a:hover { text-decoration: underline; }

.embed-responsive { margin-bottom: 1em; }

.nf-before-form-content { margin-bottom: 1em; }

.podcast-subscribe-link { font-size: 2em; }

.podcast-subscribe-link:hover { opacity: 0.6; }

.ratio { margin-bottom: 1em; }

#comments { padding-bottom: 30px; }

@media screen and (max-width: 922px) { 
	.summary-article-title h1 { font-size: 1.5em; }
}

@media screen and (max-width: 972px) { 
	#feature-carousel-box img { max-height: 395px; overflow: hidden; }
}

@media screen and (max-width: 780px) { 
	#social-facebook-ico  { display: none; }
	#social-instagram-ico  { display: none; }
	#social-bluesky-ico  { display: none; }
	
	#content-box { margin: 0; }
	
	#summary-article-title h1 { font-size: 1.3em; }
	
	.widget-post-ad img { width: 100%; max-height: 125px; overflow: hidden; }
	
	.widget-post-number { font-size: 1.1em; }
}

@media screen and (max-width: 625px) {
	h3, h4 { font-size: 1.2em; }
	
	#logo img { height: 40px; }
	
	#site-name { display: none; }
	
	#site-name-sm { display: inline-block; }
	
	.navbar i { font-size: 1.2em; padding-top: 1px; }
	
	#content { padding: 0; }
	
	#longform-content #article-content { font-size: 1.1em; }
	
	#article-title h1 { font-size: 1.9em; }
	
	.summary-article-excerpt {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 4;
		overflow: hidden;
		line-height: 1.45;
		padding: 0 0 12px 0;
	}
	
	#feature-carousel-box { display: none; }
	
	#mobile-feature-box { display: block; }
	
	.summary-article-title h1 { font-size: 1.1em; }
	
	#sidebar { margin-top: 35px; }
	
	.widget-post-ad img { width: 100%; max-height: 120px; overflow: hidden; }
	
	#footer-widget-box ul li:nth-child(11) { border-bottom: 1px dotted #595f64;; }
}

@media screen and (max-width: 500px) {
	.summary-article-date { display: none; }
	
	#navbar { margin-left: auto; }
	
	.widget-post-number { display: none; }
}