/*
Theme Name: IKM
Theme URI: https://ikm.org.al
Author: IKM
Author URI: https://ikm.org.al
Description: Tema e IKM-së për ikm.org.al. Përmban template-t e faqeve, postimeve, njoftimeve, kërkimit dhe faqes 404, CSS-në bazë dhe dy template-t e faqeve ("IKM – Faqe e gjerë" dhe "IKM – Formular në ekran të plotë"). Koka dhe fundi i faqes, ngjyrat, fontet dhe komponentët vijnë nga "IKM – Sistemi i Dizajnit", ndërsa lista e njoftimeve nga "IKM – Njoftimet".
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ikm
*/

/* ==========================================================================
   Base rules

   Carried over unchanged from the previous theme's style.css (EducationPack
   2.7): the design system and the templates were built on top of them, so
   they stay to keep every page exactly as it was. Every published page, post
   type and view was compared with and without the old stylesheet, on desktop
   and at 390 px (12 Oct 2026). Left out: the nicdark framework classes and
   the old fonts (Varela Round, Montserrat), which had no visible effect.
   ========================================================================== */

/* WordPress core classes (alignment, captions, screen-reader text) */
.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	background: #fff;
	border: 1px solid #f0f0f0;
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Body */
body { margin: 0px; padding: 0px; }

/* Text */
p, h1, h2, h3, h4, h5, h6 { margin: 0px; padding: 0px; font-weight: normal; }
a { text-decoration: none; }

h1, h2, h3, h4, h5, h6 { color: #727475; }
p, input, label, textarea, select { color: #a3a3a3; }
a { color: #a3a3a3; }
a img { border: 0; }

h1 { font-size: 30px; line-height: 30px; }
h2 { font-size: 25px; line-height: 25px; }
h3 { font-size: 20px; line-height: 20px; }
h4 { font-size: 17px; line-height: 17px; }
h5 { font-size: 15px; line-height: 15px; }
h6 { font-size: 13px; line-height: 13px; }
p { font-size: 16px; line-height: 30px; }
input, label, textarea, select { font-size: 15px; }

/* Forms */
input, textarea, select { background-color: #f9f9f9; outline: 0; border: 1px solid #f1f1f1; padding: 10px 20px; box-sizing: border-box; }

/* Tables */
table { border-collapse: collapse; }

/* Phones: no automatic text inflation */
@media only screen and (min-width: 320px) and (max-width: 767px) {
	body { -webkit-text-size-adjust: none; }
}

/* ==========================================================================
   Plain header and footer, shown only if "IKM – Sistemi i Dizajnit" is off
   ========================================================================== */
.ikm-fallback-hd,
.ikm-fallback-ft {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 15px;
	font-family: system-ui, sans-serif;
}
.ikm-fallback-hd {
	border-bottom: 1px solid #e3e7ee;
}
.ikm-fallback-ft {
	border-top: 1px solid #e3e7ee;
}
.ikm-fallback-hd__home {
	color: #021e3f;
	font-size: 18px;
	font-weight: 700;
}
.ikm-fallback-ft p {
	margin: 0;
	color: #4a5873;
	font-size: 14px;
}
