/*
Theme Name: Kurdify
Theme URI: https://kurdify.net
Author: Dahatu Inc.
Author URI: https://dahatu.org
Description: Official Kurdify App Wordpress Theme
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
Version: 1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kurdify
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

:root {
  --accent-color: #f56e4b;
}

@font-face {
  font-family: "Estedad";
  src: url("./assets/fonts/Estedad-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Estedad";
  font-weight: bold;
  src: url("./assets/fonts/Estedad-Bold.woff2") format("woff2");
}

* {
  font-family: Estedad;
}

html,
body {
  font-weight: normal;
  width: 100dvw;
  height: 100dvh;
  padding: 0px;
  margin: 0px;
  background-color: #1c1917;
  color: white;
}

a {
  color: var(--accent-color);
  text-decoration: none;
}

a:hover {
  color: oklch(from var(--accent-color) calc(l + 0.1) c h);
}

input,
textarea,
select {
  width: 100%;
  background-color: #fff1;
  border-radius: 10px;
  border: none;
  padding: 5px 15px;
  color: #fff;
}

input::placeholder,
textarea::placeholder {
  color: #fff2;
}

.wpcf7 {
  direction: rtl;
}
.wpcf7 input,
.wpcf7 textarea {
  margin-top: 5px;
}

.wpcf7-response-output {
  border-width: 1px !important;
  border-color: #fff2 !important;
  border-radius: 10px;
}

.container {
  width: 100%;
  height: 100%;
  overflow: auto;
}

.container-inner {
  padding: 20px;
  height: 100%;
  margin-top: -60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.page-inner {
  padding: 15px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  text-align: justify;
  margin: auto;
}

.page-inner img {
  border-radius: 20px;
}

.page-title-container {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.page-title {
  font-size: 16px;
  font-weight: bold;
  text-align: start;
  color: var(--accent-color);
  margin: 0;
  padding: 0;
}

.page-title-meta {
  opacity: 0.5;
  font-size: 10px;
}

.page-cover {
  position: relative;
  margin-block: 20px;
}

.page-cover img {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.inner-border {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border: 1px solid #fff3;
  border-radius: 20px;
}

.page-content {
  line-height: 1.5;
  font-size: 90%;
  font-weight: normal;
}
.search-container {
  margin-top: 10px;
  outline: none !important;
}
.not-found-container {
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  opacity: 0.5;
  margin-top: 40px;
}

.button {
  transition: all 0.2s ease;
  border: none;
  background-color: #393634;
  border-radius: 10px;
  color: white;
  padding: 10px 25px;
  cursor: pointer;
}

.button:hover {
  color: white;
}

.button:hover:not(.disabled) {
  background-color: #494644;
}

.button.disabled {
  cursor: default;
}

.button.primary {
  background-color: var(--accent-color);
}
.button.primary:hover {
  background-color: oklch(from var(--accent-color) calc(l + 0.08) c h);
}

.kurdify-pagination {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}

.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background-color: #fff1;
  color: #fff;
  border-radius: 100px;
}

.page-numbers:hover {
  background-color: var(--accent-color);
  color: #fff;
}

.page-numbers.current {
  background-color: oklch(from var(--accent-color) calc(l + 0.1) c h);
}

.kurdify-logo {
  width: 100px;
  border-radius: 100px;
}

.kurdify-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  padding: 0px;
  margin: 0px;
  margin-bottom: 10px;
}

.kurdify-title .title {
  margin: 0;
  padding: 0;
}

.kurdify-title .subtitle {
  font-size: 9px;
  opacity: 0.5;
  margin: 0;
  padding: 1px 5px;
  background-color: #fff1;
  border-radius: 100px;
  border: 1px solid #fff2;
}

.kurdify-title .tagline {
  font-size: 9px;
  opacity: 0.5;
  margin: 0;
  padding: 1px 5px;
  background-color: #fff1;
}

.downloads-container {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.download-buttons a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  padding: 8px 12px;
  width: 100%;
  font-size: 80%;
  user-select: none;
}

.download-buttons a.disabled {
  opacity: 0.3;
  filter: grayscale(100%);
}

.download-buttons a img {
  width: 15px;
  pointer-events: none;
}

.download-buttons .label {
  flex: 1;
}

.download-buttons .app-size {
  font-size: 90%;
  color: #fff3;
  align-self: flex-end;
  direction: ltr;
}

.post-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.post-item .post-thumbnail {
  width: 260px;
  height: auto;
  border-radius: 10px;
  box-shadow: 1px 4px 9px #0005;
  margin-bottom: 5px;
}

.post-item .post-title {
  font-weight: bold;
}

.post-item .post-subtitle {
  font-size: 80%;
  opacity: 0.5;
  margin-bottom: 10px;
}

.blog-page-title {
  margin-inline-start: 10px;
  margin-bottom: -5px;
  color: var(--accent-color);
}

.blog-page-subtitle {
  opacity: 0.5;
  font-size: 10px;
  background-color: #fff1;
  padding: 2px 10px;
  border-radius: 100px;
}

.articles-inner {
  width: 100%;
  max-width: 500px;
  margin: auto;
  /* padding-inline: 20px; */
}

.article-container {
  padding-inline: 10px;
}

.article {
  display: flex;
  flex-direction: row;
  gap: 10px;
  color: white !important;
  margin: 10px auto;
  border-bottom: 1px dashed #fff1;
  padding-block: 10px;
}

.article:last-child {
  border: none;
}

.article-cover img {
  width: 40px;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 10px;
}

.article-title {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  line-height: 1.6;
}

.article-number {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 10px;
  width: 25px;
  height: 25px;
  border-radius: 100px;
  background-color: #fff1;
  text-align: center;
  vertical-align: middle;
  font-size: 12px;
}

.article-title-meta {
  opacity: 0.5;
  font-size: 10px;
}

.kurdify-share-buttons {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.kurdify-share-buttons button {
  transition: all 0.15s ease;
  background-color: transparent;
  border: 0;
  cursor: pointer;
  background-color: #fff2;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  border-radius: 50px;
}
.kurdify-share-buttons button img {
  filter: contrast(0) brightness(10);
  pointer-events: none;
}
.kurdify-share-buttons button:hover {
  position: relative;
  box-shadow: 2px 2px 0 #fff2;
  transform: translateX(-2px) translateY(-2px);
  background-color: #fff3;
}

.kurdify-share-buttons button.facebook:hover {
  box-shadow: 2px 2px 0 #1877f288;
  background-color: #1877f2;
}
.kurdify-share-buttons button.x:hover {
  box-shadow: 2px 2px 0 #1da1f288;
  background-color: #1da1f2;
}
.kurdify-share-buttons button.telegram:hover {
  box-shadow: 2px 2px 0 #0088cc88;
  background-color: #0088cc;
}
.kurdify-share-buttons button.threads:hover {
  box-shadow: 2px 2px 0 #ff6a0088;
  background-color: #ff6a00;
}
.kurdify-share-buttons button.whatsapp:hover {
  box-shadow: 2px 2px 0 #25d36688;
  background-color: #25d366;
}
.kurdify-share-buttons button.email:hover {
  box-shadow: 2px 2px 0 #7552cc88;
  background-color: #7552cc;
}

.kurdify-share-buttons img {
  border-radius: 0px;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: center;
  font-size: 8px;
  margin-top: 30px;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  gap: 5px;
  font-size: 10px;
}

.footer-icons {
  margin-bottom: -5px;
  margin-top: 10px;
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.2;
}
