/* =========================================================
   Tohed.com Base Typography + Utility Classes
   (migrated from Elementor Custom Code)
   =======================================================*/

/* Font Face: Mehr Nastaliq */
@font-face {
  font-family: 'Mehr';
  src:
    url('/wp-content/uploads/2023/12/Mehr_Nastaliq_Web-v.-2.0.woff2') format('woff2'),
    url('/wp-content/uploads/2023/12/Mehr_Nastaliq_Web-v.-2.0.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Font Face: NooreHira */
@font-face {
  font-family: 'NooreHira';
  src:
    url('/wp-content/uploads/2025/09/noorehira.woff2') format('woff2'),
    url('/wp-content/uploads/2025/09/noorehira.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Class Definitions */
.blue1 {
  color: #0015fa;
  font-weight: bold;
  font-family: 'Mehr', 'Jameel Noori Nastaleeq', serif;
  font-size: 30px;
  line-height: 36px;
  margin-bottom: 15px;
  text-align: right;
  direction: rtl;
}

.uarabic1w {
  font-family: 'NooreHira', serif;
  font-size: 24px;
  line-height: 38px;
  color: #6633CC;
  font-weight: 550;
  -webkit-text-stroke: 0.2px #6633CC;
}

.ref {
  font-family: serif;
  color: #FF0033;
  font-size: 22px;
  font-weight: bold;
}

@media (max-width: 600px) {
  .ref { font-size: 18px; }
}

#outcntn {
  font-family: 'Mehr', 'Jameel Noori Nastaleeq', serif;
  font-size: 22px;
  line-height: 35px;
  text-align: right;
  direction: rtl;
  color: #333333;
}

.btahreer {
  font-size: 28px;
  color: #A52A2A;
  line-height: 35px;
  text-align: right;
  padding-top: 0;
  padding-bottom: 18px;
  direction: rtl;
  font-family: 'Mehr', 'Jameel Noori Nastaleeq', serif;
}

/* Links within post content */
body.single #outcntn a {
  color: #0055cc;
  text-decoration: underline;
  font-weight: 600;
}

body.single #outcntn a::after {
  content: " ↗";
  font-size: 0.9em;
  color: #0055cc;
}

body.single #outcntn a:hover {
  color: #002b80;
  text-decoration-thickness: 2px;
}

/* Headings */
h1, h2, h3 {
  font-family: 'Mehr', 'Jameel Noori Nastaleeq', serif;
  font-weight: bold;
}

h1 { font-size: 34px; line-height: 44px; margin-bottom: 20px; }
h2 { font-size: 28px; line-height: 38px; margin-bottom: 18px; }
h3 { font-size: 24px; line-height: 34px; margin-bottom: 16px; }

/* Global links */
a {
  color: blue;
  text-decoration: underline;
  transition: color 0.3s ease;
}
a:hover {
  color: darkblue;
}

/* Shortlink UI */
.shortlink-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.shortlink-input {
  border: 1px solid #ccc;
  padding: 5px;
  width: 260px; /* matches your inline HTML width */
  margin-inline-end: .5rem;
  text-align: center;
  direction: ltr;
}


.copy-shortlink-btn {
  background-color: #0073e6;
  font-family: 'Mehr', 'Jameel Noori Nastaleeq', serif;
  color: #fff;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
}

.copy-shortlink-btn:hover {
  background-color: #005bb5;
}
