/*!
Theme Name: İnsedi ve Sandalye - Editorial Blog Teması
Theme URI: https://insediasandalye.com
Author: İnsedi ve Sandalye
Author URI: https://insediasandalye.com
Description: Modern ve zarif editorial tarzı blog teması. Bootstrap 5 ile geliştirilmiş, tamamen duyarlı tasarım.
Version: 1.0.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: insediasandalye-com
Tags: blog, editorial, responsive, modern, bootstrap, turkish

Bu tema WordPress GPL lisansı altında lisanslanmıştır.
Editorial blog tarzı için özel olarak tasarlanmıştır.
*/

/* ==========================================================================
   Typography & Base Styles
   ========================================================================== */

:root {
	--insedia-green: #1f8b4c;
	--insedia-green-dark: #176f3d;
	--insedia-green-light: #27a15a;
	--insedia-text-dark: #2d2d2d;
	--insedia-text-muted: #6c757d;
	--insedia-border-light: #e9ecef;
	--insedia-bg-light: #f8f9fa;
}

body {
	font-family: 'Merriweather', serif;
	font-weight: 300;
	line-height: 1.7;
	color: var(--insedia-text-dark);
	background-color: #ffffff;
}

/* Headlines */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	line-height: 1.3;
	color: var(--insedia-text-dark);
	margin-bottom: 1rem;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

@media (max-width: 768px) {
	h1 { font-size: 2.25rem; }
	h2 { font-size: 1.95rem; }
	h3 { font-size: 1.5rem; }
}

/* Links */
a {
	color: var(--insedia-green) !important;
	text-decoration: none;
	transition: all 0.3s ease;
}

a:hover {
	color: var(--insedia-green-dark) !important;
	text-decoration: underline;
}

/* Exception: buttons should keep their styles */
.btn,
.btn a,
button,
button a,
input[type="submit"],
input[type="button"] {
	color: inherit !important;
	text-decoration: none !important;
}

.btn:hover,
.btn:hover a,
button:hover,
button:hover a {
	color: inherit !important;
	text-decoration: none !important;
}

/* Category and tag links */
.post-meta a,
.category a,
.tag a {
	color: var(--insedia-green) !important;
	font-weight: 500;
}

.post-meta a:hover,
.category a:hover,
.tag a:hover {
	color: var(--insedia-green-dark) !important;
	text-decoration: underline;
}

/* Widget links */
.widget a {
	color: var(--insedia-green) !important;
	font-weight: 400;
}

.widget a:hover {
	color: var(--insedia-green-dark) !important;
	text-decoration: underline;
}

/* Footer links */
.site-footer a {
	color: var(--insedia-green-light) !important;
}

.site-footer a:hover {
	color: var(--insedia-green) !important;
	text-decoration: underline;
}

/* Footer widget links */
.footer-widget a {
	color: #cccccc !important;
	transition: color 0.3s ease;
}

.footer-widget a:hover {
	color: var(--insedia-green-light) !important;
	text-decoration: underline;
}

/* Comment author links */
.comment-author a {
	color: var(--insedia-green) !important;
	font-weight: 700;
}

.comment-author a:hover {
	color: var(--insedia-green-dark) !important;
}

/* Paragraphs */
p {
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
}

/* Lead text */
.lead {
	font-size: 1.3rem;
	font-weight: 300;
	color: var(--insedia-text-muted);
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

/* Header & Navigation */
.site-header {
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
	border-bottom: 3px solid var(--insedia-green);
	box-shadow: 0 4px 20px rgba(31, 139, 76, 0.08);
	position: sticky;
	top: 0;
	z-index: 1000;
	transition: all 0.3s ease;
}

/* Красивые эффекты при скролле */
.site-header.scrolled {
	box-shadow: 0 8px 30px rgba(31, 139, 76, 0.12);
	backdrop-filter: blur(10px);
}

.navbar {
	padding: 1.25rem 0;
	transition: all 0.3s ease;
}

/* Стили для логотипа/бренда */
.navbar-brand {
	font-family: 'Playfair Display', serif;
	font-size: 2rem;
	font-weight: 700;
	color: var(--insedia-green) !important;
	text-decoration: none !important;
	position: relative;
	padding: 0.5rem 1rem;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.navbar-brand:hover {
	color: var(--insedia-green-dark) !important;
	background: rgba(31, 139, 76, 0.05);
	transform: translateY(-2px);
}

/* Декоративное подчеркивание для логотипа */
.navbar-brand::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background: var(--insedia-green);
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.navbar-brand:hover::after {
	width: 80%;
}

/* Стили для навигационного меню */
.navbar-nav .nav-link {
	font-family: 'Merriweather', serif;
	font-weight: 500;
	color: var(--insedia-text-dark) !important;
	padding: 0.75rem 1.25rem !important;
	margin: 0 0.25rem;
	border-radius: 25px;
	position: relative;
	transition: all 0.3s ease;
	text-transform: capitalize;
	letter-spacing: 0.3px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
	color: var(--insedia-green) !important;
	background: rgba(31, 139, 76, 0.08);
	transform: translateY(-2px);
}

/* Красивое подчеркивание для активных пунктов меню */
.navbar-nav .nav-link::before {
	content: '';
	position: absolute;
	bottom: 5px;
	left: 50%;
	width: 0;
	height: 2px;
	background: var(--insedia-green);
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
	width: 70%;
}

/* Стили для выпадающего меню */
.navbar-nav .dropdown-menu {
	border: none;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
	padding: 0.75rem 0;
	margin-top: 0.5rem;
	background: white;
	border-top: 3px solid var(--insedia-green);
}

.navbar-nav .dropdown-item {
	padding: 0.75rem 1.5rem;
	font-family: 'Merriweather', serif;
	color: var(--insedia-text-dark);
	transition: all 0.3s ease;
	border-left: 3px solid transparent;
}

.navbar-nav .dropdown-item:hover {
	background: rgba(31, 139, 76, 0.05);
	color: var(--insedia-green);
	border-left-color: var(--insedia-green);
	padding-left: 2rem;
}

/* Стили для мобильного меню */
.navbar-toggler {
	border: 2px solid var(--insedia-green);
	padding: 0.5rem 0.75rem;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.navbar-toggler:hover {
	background: var(--insedia-green);
	border-color: var(--insedia-green);
	transform: scale(1.05);
}

.navbar-toggler:focus {
	box-shadow: 0 0 0 3px rgba(31, 139, 76, 0.25);
}

.navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2831, 139, 76, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Стили для поиска в хедере */
.site-header .d-flex {
	gap: 0.5rem;
}

.site-header .form-control {
	border: 2px solid #e9ecef;
	border-radius: 25px;
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	min-width: 200px;
}

.site-header .form-control:focus {
	border-color: var(--insedia-green);
	box-shadow: 0 0 0 3px rgba(31, 139, 76, 0.15);
	outline: none;
}

.site-header .btn-outline-success {
	border: 2px solid var(--insedia-green);
	color: var(--insedia-green);
	background: transparent;
	border-radius: 50%;
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.site-header .btn-outline-success:hover {
	background: var(--insedia-green);
	color: white;
	transform: scale(1.1) rotate(5deg);
	box-shadow: 0 4px 12px rgba(31, 139, 76, 0.3);
}

/* Адаптивные стили для хедера */
@media (max-width: 991px) {
	.navbar-brand {
		font-size: 1.6rem;
	}
	
	.navbar-collapse {
		background: white;
		border-radius: 12px;
		box-shadow: 0 8px 25px rgba(0,0,0,0.1);
		margin-top: 1rem;
		padding: 1.5rem;
		border-top: 3px solid var(--insedia-green);
	}
	
	.navbar-nav .nav-link {
		margin: 0.25rem 0;
		border-radius: 8px;
	}
	
	.site-header .form-control {
		min-width: 150px;
		margin-top: 1rem;
	}
}

@media (max-width: 576px) {
	.navbar {
		padding: 1rem 0;
	}
	
	.navbar-brand {
		font-size: 1.4rem;
		padding: 0.25rem 0.5rem;
	}
	
	.site-header .form-control {
		min-width: 120px;
		font-size: 0.85rem;
	}
}

/* Main Content Area */
.main-content {
	padding: 3rem 0;
	min-height: 60vh;
}

/* Content wrapper */
.content-wrapper {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.08);
	padding: 2.5rem;
	margin-bottom: 2rem;
}

@media (max-width: 768px) {
	.content-wrapper {
		padding: 1.5rem;
	}
}

/* ==========================================================================
   Post Cards (Homepage)
   ========================================================================== */

.post-card {
	background: #ffffff;
	border: 1px solid var(--insedia-border-light);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	height: 100%;
	box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.post-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.post-card-img {
	position: relative;
	overflow: hidden;
	height: 220px;
}

.post-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.post-card:hover .post-card-img img {
	transform: scale(1.05);
}

.post-card-body {
	padding: 1.5rem;
}

.post-card-title {
	font-family: 'Playfair Display', serif;
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
	line-height: 1.4;
}

.post-card-title a {
	color: var(--insedia-green) !important;
	text-decoration: none;
	font-weight: 700;
}

.post-card-title a:hover {
	color: var(--insedia-green-dark) !important;
	text-decoration: underline;
}

.post-meta {
	font-size: 0.875rem;
	color: var(--insedia-text-muted);
	margin-bottom: 1rem;
}

.post-meta .meta-item {
	margin-right: 1rem;
}

.post-excerpt {
	font-size: 1rem;
	color: var(--insedia-text-muted);
	margin-bottom: 1.25rem;
	line-height: 1.6;
}

.btn-read-more {
	background-color: var(--insedia-green);
	border-color: var(--insedia-green);
	color: white;
	font-weight: 400;
	padding: 0.5rem 1.5rem;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.btn-read-more:hover {
	background-color: var(--insedia-green-dark);
	border-color: var(--insedia-green-dark);
	color: white;
	transform: translateY(-1px);
}

/* ==========================================================================
   Single Post Layout
   ========================================================================== */

.post-header {
	text-align: center;
	margin-bottom: 3rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--insedia-border-light);
}

.post-title {
	font-family: 'Playfair Display', serif;
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 1rem;
	line-height: 1.2;
	color: var(--insedia-green) !important;
}

@media (max-width: 768px) {
	.post-title {
		font-size: 2.25rem;
	}
}

.post-meta-single {
	font-size: 1rem;
	color: var(--insedia-text-muted);
	margin-bottom: 1.5rem;
}

.post-featured-image {
	margin-bottom: 3rem;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.post-featured-image img {
	width: 100%;
	height: auto;
	display: block;
}

.post-content {
	font-size: 1.15rem;
	line-height: 1.8;
}

.post-content h2,
.post-content h3,
.post-content h4 {
	margin-top: 2.5rem;
	margin-bottom: 1.5rem;
}

.post-content blockquote {
	border-left: 4px solid var(--insedia-green);
	padding-left: 2rem;
	margin: 2rem 0;
	font-style: italic;
	font-size: 1.2rem;
	color: var(--insedia-text-muted);
}

/* ==========================================================================
   Page Layout (similar to post layout but for pages)
   ========================================================================== */

.page-header {
	text-align: center;
	margin-bottom: 3rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--insedia-border-light);
}

.page-title {
	font-family: 'Playfair Display', serif;
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	line-height: 1.2;
}

@media (max-width: 768px) {
	.page-title {
		font-size: 2rem;
	}
}

.page-meta {
	font-size: 0.95rem;
	color: var(--insedia-text-muted);
	margin-bottom: 1.5rem;
}

.page-featured-image {
	margin-bottom: 3rem;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.page-featured-image img {
	width: 100%;
	height: auto;
	display: block;
}

.page-content {
	font-size: 1.15rem;
	line-height: 1.8;
}

.page-content h2,
.page-content h3,
.page-content h4 {
	margin-top: 2.5rem;
	margin-bottom: 1.5rem;
}

.page-footer {
	border-top: 1px solid var(--insedia-border-light);
}

.page-tags .badge {
	font-size: 0.8rem;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar {
	padding-left: 2rem;
}

@media (max-width: 991px) {
	.sidebar {
		padding-left: 0;
		margin-top: 3rem;
	}
}

.widget {
	background: #ffffff;
	padding: 1.5rem;
	border-radius: 8px;
	box-shadow: 0 3px 10px rgba(0,0,0,0.05);
	border: 1px solid var(--insedia-border-light);
}

.widget-title {
	font-family: 'Playfair Display', serif;
	color: var(--insedia-text-dark);
	border-bottom: 2px solid var(--insedia-green);
	padding-bottom: 0.5rem;
}

.widget ul {
	list-style: none;
	padding: 0;
}

.widget ul li {
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--insedia-border-light);
}

.widget ul li:last-child {
	border-bottom: none;
}

.widget ul li a {
	color: var(--insedia-text-dark);
	font-size: 0.95rem;
}

.widget ul li a:hover {
	color: var(--insedia-green);
}

/* ==========================================================================
   Comments Section
   ========================================================================== */

.comments-area {
	margin-top: 4rem;
	padding-top: 3rem;
	border-top: 1px solid var(--insedia-border-light);
}

.comments-title {
	font-family: 'Playfair Display', serif;
	font-size: 2rem;
	margin-bottom: 2rem;
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment {
	background: var(--insedia-bg-light);
	padding: 1.5rem;
	border-radius: 8px;
	margin-bottom: 1.5rem;
}

.comment-author {
	font-weight: 700;
	color: var(--insedia-green);
}

.comment-meta {
	font-size: 0.875rem;
	color: var(--insedia-text-muted);
	margin-bottom: 1rem;
}

.comment-form .form-label {
	font-weight: 600;
	color: var(--insedia-text-dark);
}

.comment-form .required {
	color: #dc3545;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	background: var(--insedia-text-dark);
	color: #ffffff;
	padding: 3rem 0 1.5rem;
	margin-top: 4rem;
}

.footer-widgets {
	margin-bottom: 2rem;
}

.footer-widget h5 {
	color: #ffffff;
	font-family: 'Playfair Display', serif;
	border-bottom: 2px solid var(--insedia-green);
	padding-bottom: 0.5rem;
	margin-bottom: 1.5rem;
}

.footer-widget ul {
	list-style: none;
	padding: 0;
}

.footer-widget ul li {
	padding: 0.25rem 0;
}

.footer-widget ul li a {
	color: #cccccc;
	font-size: 0.95rem;
}

.footer-widget ul li a:hover {
	color: var(--insedia-green-light);
}

.footer-info {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid #444444;
	font-size: 0.9rem;
	color: #cccccc;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination .page-link {
	color: var(--insedia-green) !important;
	border-color: var(--insedia-border-light);
	text-decoration: none;
}

.pagination .page-link:hover {
	color: var(--insedia-green-dark) !important;
	background-color: var(--insedia-bg-light);
	border-color: var(--insedia-green);
	text-decoration: none;
}

.pagination .page-item.active .page-link {
	background-color: var(--insedia-green) !important;
	border-color: var(--insedia-green) !important;
	color: white !important;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 767px) {
	.main-content {
		padding: 2rem 0;
	}
	
	.post-card-body {
		padding: 1.25rem;
	}
	
	.post-card-title {
		font-size: 1.25rem;
	}
	
	.content-wrapper {
		margin-bottom: 1rem;
	}
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-green {
	color: var(--insedia-green) !important;
}

.bg-green {
	background-color: var(--insedia-green) !important;
}

.border-green {
	border-color: var(--insedia-green) !important;
}

.btn-green {
	background-color: var(--insedia-green);
	border-color: var(--insedia-green);
	color: white;
}

.btn-green:hover {
	background-color: var(--insedia-green-dark);
	border-color: var(--insedia-green-dark);
	color: white;
}

/* Loading Animation */
.loading {
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

/* Smooth scrolling */
html {
	scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus {
	outline: 2px solid var(--insedia-green);
	outline-offset: 2px;
}

/* ==========================================================================
   Font Awesome Fallbacks (Unicode symbols if FA doesn't load)
   ========================================================================== */

/* Fallback для основных иконок если Font Awesome не загрузится */
.fas.fa-link::before,
.fa-solid.fa-link::before {
	content: "🔗";
	font-family: inherit;
}

.fas.fa-calendar-alt::before,
.fa-solid.fa-calendar-alt::before {
	content: "📅";
	font-family: inherit;
}

.fas.fa-user::before,
.fa-solid.fa-user::before {
	content: "👤";
	font-family: inherit;
}

.fas.fa-folder::before,
.fa-solid.fa-folder::before {
	content: "📁";
	font-family: inherit;
}

.fas.fa-tags::before,
.fa-solid.fa-tags::before {
	content: "🏷️";
	font-family: inherit;
}

.fas.fa-search::before,
.fa-solid.fa-search::before {
	content: "🔍";
	font-family: inherit;
}

.fas.fa-arrow-right::before,
.fa-solid.fa-arrow-right::before {
	content: "→";
	font-family: inherit;
}

.fas.fa-arrow-left::before,
.fa-solid.fa-arrow-left::before {
	content: "←";
	font-family: inherit;
}

.fas.fa-home::before,
.fa-solid.fa-home::before {
	content: "🏠";
	font-family: inherit;
}

.fas.fa-edit::before,
.fa-solid.fa-edit::before {
	content: "✏️";
	font-family: inherit;
}

.fas.fa-arrow-up::before,
.fa-solid.fa-arrow-up::before {
	content: "↑";
	font-family: inherit;
}

.fas.fa-reply::before,
.fa-solid.fa-reply::before {
	content: "↩️";
	font-family: inherit;
}

.fab.fa-facebook-f::before {
	content: "f";
	font-weight: bold;
	color: #1877f2;
}

.fab.fa-twitter::before {
	content: "𝕏";
	font-weight: bold;
	color: #000000;
}

.fab.fa-whatsapp::before {
	content: "W";
	font-weight: bold;
	color: #25d366;
}

.fab.fa-instagram::before {
	content: "📷";
	font-family: inherit;
}

.fab.fa-youtube::before {
	content: "▶️";
	font-family: inherit;
}

/* ==========================================================================
   Related Content Block
   ========================================================================== */

.related-content {
	background: #f8f9fa;
	border-radius: 12px;
	padding: 3rem 2.5rem;
	margin-top: 4rem;
	margin-bottom: 3rem;
	border: 1px solid #e9ecef;
}

.related-title {
	font-family: 'Playfair Display', serif;
	color: var(--insedia-text-dark);
	font-size: 1.75rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 2.5rem;
	position: relative;
}

.related-title::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: var(--insedia-green);
	margin: 1rem auto;
	border-radius: 2px;
}

/* Стили для иконки в заголовке связанных записей */
.related-title .fas.fa-link,
.related-title .fa-solid.fa-link {
	color: var(--insedia-green);
	font-size: 1.3em;
	margin-right: 0.75rem;
}

/* Fallback для .fa-fallback класса когда Font Awesome не загружается */
body.fa-fallback .related-title .fas.fa-link::before,
body.fa-fallback .related-title .fa-solid.fa-link::before {
	content: "🔗";
	font-family: inherit;
	font-size: 1.1em;
}

/* Горизонтальный контейнер для связанных элементов */
.related-items-horizontal {
	display: flex;
	gap: 2rem;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 1.5rem 1rem 2rem 1rem;
	margin: 0 -1rem;
	scroll-behavior: smooth;
}

/* Красивая горизонтальная прокрутка */
.related-items-horizontal::-webkit-scrollbar {
	height: 8px;
}

.related-items-horizontal::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

.related-items-horizontal::-webkit-scrollbar-thumb {
	background: var(--insedia-green);
	border-radius: 10px;
	transition: background 0.3s ease;
}

.related-items-horizontal::-webkit-scrollbar-thumb:hover {
	background: var(--insedia-green-dark);
}

/* Firefox прокрутка */
.related-items-horizontal {
	scrollbar-width: thin;
	scrollbar-color: var(--insedia-green) #f1f1f1;
}

.related-item-wrapper {
	flex: 0 0 280px; /* Фиксированная ширина каждого элемента */
	min-width: 280px;
}

.related-item {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	transition: all 0.3s ease;
	margin-bottom: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.related-item:hover {
	transform: translateY(-8px);
	box-shadow: 0 8px 25px rgba(31, 139, 76, 0.15);
}

.related-item-image {
	height: 180px;
	overflow: hidden;
	position: relative;
}

.related-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.related-item:hover .related-item-image img {
	transform: scale(1.05);
}

.related-item-content {
	padding: 1.5rem;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.related-item-meta {
	font-size: 0.85rem;
	color: var(--insedia-green);
	margin-bottom: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.related-item-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
	line-height: 1.4;
	flex-grow: 1;
}

.related-item-title a {
	color: var(--insedia-text-dark);
	text-decoration: none;
	transition: color 0.3s ease;
}

.related-item-title a:hover {
	color: var(--insedia-green);
}

.related-item-excerpt {
	font-size: 0.9rem;
	color: var(--insedia-text-muted);
	line-height: 1.5;
	margin-bottom: 1rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.related-item .btn {
	background: transparent;
	color: var(--insedia-green);
	border: 2px solid var(--insedia-green);
	font-size: 0.85rem;
	font-weight: 600;
	padding: 0.5rem 1.25rem;
	border-radius: 25px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	align-self: flex-start;
}

.related-item .btn:hover {
	background: var(--insedia-green);
	color: white;
	transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.related-content {
		padding: 2.5rem 2rem;
		margin-top: 3rem;
		margin-bottom: 2.5rem;
	}
	
	.related-title {
		font-size: 1.5rem;
		margin-bottom: 2rem;
	}
	
	.related-items-horizontal {
		gap: 1.5rem;
		padding: 1.25rem 0.75rem 1.75rem 0.75rem;
		margin: 0 -0.75rem;
	}
	
	.related-item-wrapper {
		flex: 0 0 240px;
		min-width: 240px;
	}
	
	.related-item-image {
		height: 140px;
	}
	
	.related-item-content {
		padding: 1.25rem;
	}
}

@media (max-width: 576px) {
	.related-content {
		padding: 2rem 1.5rem;
		margin-top: 2.5rem;
		margin-bottom: 2rem;
	}
	
	.related-items-horizontal {
		gap: 1rem;
		padding: 1rem 0.5rem 1.5rem 0.5rem;
		margin: 0 -0.5rem;
	}
	
	.related-item-wrapper {
		flex: 0 0 200px;
		min-width: 200px;
	}
	
	.related-item-image {
		height: 120px;
	}
	
	.related-item-content {
		padding: 1rem;
	}
	
	.related-item-title {
		font-size: 1rem;
	}
	
	.related-item-excerpt {
		font-size: 0.85rem;
		-webkit-line-clamp: 2;
	}
}

/* Search result links */
.search-result-title a {
	color: var(--insedia-green) !important;
	text-decoration: none;
	font-weight: 700;
}

.search-result-title a:hover {
	color: var(--insedia-green-dark) !important;
	text-decoration: underline;
}

/* Archive and category page title links */
.archive-title a,
.page-title a {
	color: var(--insedia-green) !important;
	text-decoration: none;
}

.archive-title a:hover,
.page-title a:hover {
	color: var(--insedia-green-dark) !important;
	text-decoration: underline;
}

/* Site title and branding links */
.site-title a,
.navbar-brand {
	color: var(--insedia-green) !important;
	font-family: 'Playfair Display', serif;
	font-size: 1.8rem;
	font-weight: 700;
	text-decoration: none;
}

.site-title a:hover,
.navbar-brand:hover {
	color: var(--insedia-green-dark) !important;
	text-decoration: none;
}

/* Post navigation links */
.nav-title a {
	color: var(--insedia-green) !important;
	text-decoration: none;
}

.nav-title a:hover {
	color: var(--insedia-green-dark) !important;
	text-decoration: underline;
}

/* Social share links - keep button styling */
.social-share .btn {
	color: inherit !important;
	text-decoration: none !important;
}

/* Archive post meta links */
.archive .post-meta a {
	color: var(--insedia-green) !important;
	font-size: 0.9rem;
}

.archive .post-meta a:hover {
	color: var(--insedia-green-dark) !important;
	text-decoration: underline;
}

/* Additional link coverage */
.entry-title a,
.entry-header a,
.content-area a:not(.btn),
.widget-area a:not(.btn),
.comment-content a:not(.btn),
.page-content a:not(.btn),
.post-content a:not(.btn) {
	color: var(--insedia-green) !important;
	text-decoration: none;
}

.entry-title a:hover,
.entry-header a:hover,
.content-area a:not(.btn):hover,
.widget-area a:not(.btn):hover,
.comment-content a:not(.btn):hover,
.page-content a:not(.btn):hover,
.post-content a:not(.btn):hover {
	color: var(--insedia-green-dark) !important;
	text-decoration: underline;
}

/* Tag and category cloud links */
.tagcloud a,
.wp-tag-cloud a {
	color: var(--insedia-green) !important;
	background-color: transparent !important;
	border: 1px solid var(--insedia-green) !important;
	padding: 0.25rem 0.5rem;
	margin: 0.125rem;
	border-radius: 4px;
	display: inline-block;
	font-size: 0.875rem !important;
	text-decoration: none;
}

.tagcloud a:hover,
.wp-tag-cloud a:hover {
	background-color: var(--insedia-green) !important;
	color: white !important;
	text-decoration: none;
}