/*
Theme Name: Modern Twenty 13
Author: Simon Manley
Version: 1.0
Description: 
*/

* { box-sizing:border-box; margin:0; padding:0; }

body {
  font-family:'Arimo', sans-serif;
  line-height:1.6;
}

.site-header {
  padding:60px 20px;
}

.header-inner {
  max-width:900px;
  margin:0 auto;
}

.site-title {
  font-family:'Merriweather', sans-serif;
}

.site-content {
  width:100%;
}

/* =========================
   HEADER HEIGHTS
========================= */

.site-header.header-small {
  padding: 30px 20px;
}

.site-header.header-medium {
  padding: 60px 20px;
}

.site-header.header-large {
  padding: 100px 20px;
}

.post-title {
  font-family:'Merriweather', sans-serif;
  font-size:2.2rem;
  margin-bottom:5px;
}
.post-meta-top {
  margin:5px 0 30px 0;	
}
.post-meta-bottom {
  margin:30px 0 5px 0;	
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	font-size: 0.85rem;
	opacity: 0.85;
}

.post-meta .meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	flex-wrap: wrap;
}

.post-meta svg {
	display: inline-block;
	stroke: currentColor;
	opacity: 0.7;
}

.post-meta a {
	text-decoration: none;
}

.post-meta a:hover {
	text-decoration: underline;
}	

.post-content {
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
	line-height: 1.7;
	letter-spacing: 0.01em;


	margin: 0 auto;
}
.post-content p {
	margin-bottom: 1.4em;
}

.post-content > *:last-child {
	margin-bottom: 0;
}
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
	line-height: 1.25;
	letter-spacing: -0.01em;
	margin-top: 2em;
	margin-bottom: 0.6em;
}
.post-content ul,
.post-content ol {
	margin: 1.2em 0 1.2em 1.4em;
	padding: 0;
}

.post-content li {
	margin-bottom: 0.5em;
}
.post-content blockquote {
	border-left: 3px solid currentColor;
	padding-left: 1em;
	margin: 1.5em 0;
	opacity: 0.85;
	font-style: italic;
}

.post-content a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.post-content a:hover {
	text-decoration-thickness: 2px;
}
@media (max-width: 600px) {
	.post-content {
		line-height: 1.65;
		letter-spacing: 0.005em;
	}
}
.post-content {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

.mt13-post {
  width:100%;
}

.mt13-inner {
  max-width:900px;
  margin:0 auto;
  padding:40px 20px;
}

.mt13-post + .mt13-post {
  margin-top:0;
}

/* --- Balanced Strip Layout --- */
.post {
    width: 100%;
    margin: 0 !important;
    /* Reduced from 100px to 50px top/bottom */
    padding: 50px 10%; 
    border: none !important;
    border-radius: 0 !important;
    box-sizing: border-box;
    display: block;
    position: relative;
}

/* --- Format Specific Scaling --- */

/* Quote: Still prominent but not a giant void */
.post.format-quote {
    padding: 70px 12%; 
    min-height: auto; /* Removed the 50vh height so it wraps to content */
}

.post.format-quote blockquote p {
    font-size: 2.2rem; /* Scaled down slightly from 3.5rem */
    line-height: 1.3;
}

/* Aside: Very tight and efficient */
.post.format-aside {
    padding: 30px 10%;
}

/* Status: Small "shout out" strip */
.post.format-status {
    padding: 40px 15%;
}

/* Link: Clear and clickable without being huge */
.post.format-link {
    padding: 60px 10%;
}

/* Image: True zero padding for edge-to-edge look */
.post.format-image {
    padding: 0;
}

/* Give the caption a little room if it exists */
.post.format-image .entry-content {
    padding: 25px 10%;
}

/* Zebra only applies to standard posts */
.blog article.format-standard:nth-of-type(odd) {
    background: #ffffff;
}

.blog article.format-standard:nth-of-type(even) {
    background: #f5f5f5;
}

a.more-link {
	display:inline-block;
	padding:4px 8px;
	text-decoration:none;
	margin: 20px 0;
}

/* ==========================================================================
   MODAL NAVIGATION (Twenty Twenty Style)
   ========================================================================== */

/* 1. The Hamburger Button (Top Right) */
.menu-toggle {
    position: fixed;
    top: 35px;
    right: 5px;
    z-index: 9999;
    background: #000000;
    color: #fff;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.9rem;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 80%;
}

/* 2. The Modal Container */
.menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    z-index: 10000;
    transition: opacity 0.25s ease-in-out, visibility 0.25s;
}

.menu-modal.is-open {
    visibility: visible;
    opacity: 1;
}

/* 3. The Overlay (Background Dim) */
.menu-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* This is overridden by Customizer */
}

/* 4. The Slide-out Panel */
.menu-modal-inner {
    position: absolute;
    top: 0;
    right: -100%; /* Start hidden to the right */
    height: 100%;
    width: 100%; /* Default Full Screen for Mobile */
    background: #fff; /* Overridden by Customizer */
    padding: 80px 40px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    overflow-y: auto;
}

/* 1/4 Screen Width for Desktop */
@media (min-width: 768px) {
    .menu-modal-inner {
        width: 25%;
        min-width: 320px;
    }
}

.menu-modal.is-open .menu-modal-inner {
    right: 0;
}

/* 5. Close Button inside Modal */
.menu-close {
    position: absolute;
    top: 35px;
    right: 30px;
    background: transparent;
    border: none;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    color: inherit;
}

/* 6. Navigation Styling */
.modal-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.modal-navigation li {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.modal-navigation a {
    display: block;
    padding: 15px 0;
    font-size: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.modal-navigation a:hover {
    opacity: 0.6;
}


/* =========================
   FOOTER WIDGET LAYOUT
========================= */

.pre-footer,
.site-footer {
  width: 100%;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  padding: 40px 20px;
}

/* 50% columns */
.footer-col {
  flex:1;
}

@media (max-width: 850px) {
  .footer-inner {
    flex-direction: column;
  }

  .footer-col {
    width: 100%;
  }
}

/* Widgets */
.widget {
  margin-bottom: 20px;
}

.widget-title {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* =========================
   PRE-FOOTER COLORS
========================= */

.pre-footer {
  border-top:1px solid #cccccc;
}

.site-footer {
  padding:20px;
  background:#000;
  color:#fff;
}

/* =========================
   WIDGET RESET (WORDPRESS SAFE)
========================= */

.widget ul,
.widget ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget li {
  margin-bottom: 8px;
}

/* Nested lists */
.widget ul ul,
.widget ol ol {
  margin-left: 15px;
  padding-left: 10px;
  border-left: 1px solid rgba(0,0,0,0.1);
}

/* Remove last spacing */
.widget li:last-child {
  margin-bottom: 0;
}

/* =========================
   COMMON WP WIDGETS
========================= */

/* Recent posts / archives */
.widget_recent_entries a,
.widget_archive a,
.widget_categories a {
  display: inline-block;
}

/* Calendar */
.widget_calendar table {
  width: 100%;
  border-collapse: collapse;
}

.widget_calendar th,
.widget_calendar td {
  padding: 5px;
  text-align: center;
}

.widget {
  margin-bottom: 25px;
}

.widget-title {
  margin-bottom: 12px;
}


.post-content pre {
	max-width: 100%;
	overflow-x: auto;
	padding: 1rem;
	border-radius: 6px;

	background: #111;
	color: #eee;

	font-size: 0.9em;
	line-height: 1.5;
}

.post-content code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.post-content pre {
	display: block;
	box-sizing: border-box;
}

.post-content pre {
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.pagination {
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	margin: 3rem 0;
	flex-wrap: wrap;
}

.pagination a,
.pagination span {
	padding: 0.5rem 0.9rem;
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.9rem;
}

.pagination a {
	background: rgba(0,0,0,0.05);
}

.pagination a:hover {
	background: rgba(0,0,0,0.1);
}

.pagination .current {
	background: #222;
	color: #fff;
}
.pagination ul {
	display: flex;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
}


/* =========================
   ICONS
========================= */
.modal-navigation .icon-twitter a::before {
	content: "\e61b"; /* X (Twitter) */
	font-family: "Font Awesome 6 Brands";
	font-weight: 400;
}
.modal-navigation .icon-facebook a::before {
	content: "\f09a";
	font-family: "Font Awesome 6 Brands";
	font-weight: 400;
}
.modal-navigation .icon-instagram a::before {
	content: "\f16d";
	font-family: "Font Awesome 6 Brands";
	font-weight: 400;
}
.modal-navigation .icon-wp a::before {
	content: "\f411"; 
	font-family: "Font Awesome 6 Brands";
	font-weight: 400;
}
.modal-navigation .icon-bluesky a::before {
	content: "\e671";
	font-family: "Font Awesome 6 Brands";
	font-weight: 400;
}
.modal-navigation .icon-youtube a::before {
	content: "\f167";
	font-family: "Font Awesome 6 Brands";
	font-weight: 400;
}
.modal-navigation .icon-threads a::before {
	content: "\e619";
	font-family: "Font Awesome 6 Brands";
	font-weight: 400;
}








.modal-navigation .icon-rss a::before {
	content: "\f09e"; 
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
}
.modal-navigation .icon-user a::before {
	content: "\f007"; 
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
}
.modal-navigation .icon-contact a::before {
	content: "\f2bb";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
}
.modal-navigation .icon-info a::before {
	content: "\f05a";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
}
.modal-navigation .icon-home a::before {
	content: "\f015";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
}










.modal-navigation a::before {
	display: inline-block;
	font-size: 0.9em;
	opacity: 0.8;
}
.modal-navigation .icon-only a {
	font-size: 0;
}

.modal-navigation .icon-only a::before {
	font-size: 1rem;
}
.modal-navigation [class*="icon-"] a::before {
	margin-right: 0.35rem;
}