/* =========================================
   ARTICLE SKELETON
   PREMIUM EDITORIAL
   ========================================= */

.article-skeleton-block,
.article-skeleton-story {
    position: relative;
}


/* -----------------------------------------
   BASE SKELETON SURFACE
   ----------------------------------------- */

.article-skeleton-headline-line,
.article-skeleton-meta-line,
.article-skeleton-story span,
.article-skeleton-image {

    position: relative;
    overflow: hidden;

    background: #eeeeee;
}


/* -----------------------------------------
   HEADLINE
   ----------------------------------------- */

.article-skeleton-headline-line {

    display: block;

    width: 94%;
    height: 30px;

    margin-bottom: 11px;

    border-radius: 2px;
}

.article-skeleton-headline-line:nth-child(2) {
    width: 86%;
}

.article-skeleton-headline-short {
    width: 48% !important;
}


/* -----------------------------------------
   ARTICLE META
   ----------------------------------------- */

.article-skeleton-meta-line {

    display: block;

    height: 11px;

    border-radius: 2px;
}

.article-skeleton-author-line {
    width: 125px;
}

.article-skeleton-date-line {
    width: 100px;
}

.article-skeleton-reading-line {
    width: 80px;
}


/* -----------------------------------------
   ARTICLE IMAGE
   ----------------------------------------- */

.article-skeleton-image {

    display: block;

    width: 100%;
    height: auto;

    min-height: 340px;

    background: #e9e9e9;

    border-radius: 2px;
}


/* -----------------------------------------
   STORY
   ----------------------------------------- */

.article-skeleton-story {

    width: 100%;
}

.article-skeleton-story span {

    display: block;

    width: 100%;
    height: 14px;

    margin-bottom: 12px;

    border-radius: 2px;
}

.article-skeleton-story span:nth-child(2) {
    width: 98%;
}

.article-skeleton-story span:nth-child(3) {
    width: 94%;
}

.article-skeleton-story span:nth-child(4) {
    width: 97%;
}

.article-skeleton-story span:nth-child(5) {
    width: 91%;
}

.article-skeleton-story span:nth-child(6) {
    width: 98%;
}

.article-skeleton-story span:nth-child(7) {
    width: 94%;
}

.article-skeleton-story span:nth-child(8) {
    width: 89%;
}

.article-skeleton-story-short {
    width: 57% !important;
}


/* =========================================
   SINGLE SOFT SHIMMER
   ========================================= */

.article-skeleton-headline-line::after,
.article-skeleton-meta-line::after,
.article-skeleton-story span::after,
.article-skeleton-image::after {

    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    left: -35%;

    width: 30%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.45),
        transparent
    );

    animation: articleSkeletonSweep 2.2s
               cubic-bezier(.4, 0, .2, 1)
               infinite;
}


@keyframes articleSkeletonSweep {

    0% {
        left: -35%;
    }

    100% {
        left: 135%;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 746px) {

    .article-skeleton-headline-line {
        height: 24px;
        margin-bottom: 9px;
    }

    .article-skeleton-headline-line:nth-child(2) {
        width: 91%;
    }

    .article-skeleton-headline-short {
        width: 62% !important;
    }

    .article-skeleton-image {
        min-height: 210px;
    }

    .article-skeleton-story span {
        height: 13px;
        margin-bottom: 10px;
    }

}


/* =========================================
   SMALL PHONE
   ========================================= */

@media (max-width: 420px) {

    .article-skeleton-headline-line {
        height: 21px;
    }

    .article-skeleton-image {
        min-height: 185px;
    }

    .article-skeleton-story span {
        height: 12px;
        margin-bottom: 9px;
    }

}

/* =========================================
   ARTICLE CONTENT ERROR
   PROFESSIONAL EDITORIAL STATE
   ========================================= */

.article-content-error {
    width: 100%;
    min-height: 500px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    padding: 45px 25px;
    text-align: center;
}


/* -----------------------------------------
   WARNING ICON
   ----------------------------------------- */

.article-content-error-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border: 1.5px solid #b5b5b5;
    border-radius: 50%;

    color: #555;

    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 600;

    line-height: 1;
}


/* -----------------------------------------
   TITLE
   ----------------------------------------- */

.article-content-error-title {
    margin-bottom: 9px;

    color: #202020;

    font-size: 17px;
    font-weight: 600;

    letter-spacing: -0.1px;
}


/* -----------------------------------------
   MESSAGE
   ----------------------------------------- */

.article-content-error-message {
    max-width: 430px;

    color: #777;

    font-size: 13.5px;
    font-weight: 400;

    line-height: 1.65;
}


/* -----------------------------------------
   MOBILE
   ----------------------------------------- */

@media (max-width: 746px) {

    .article-content-error {
        min-height: 240px;
        padding: 35px 20px;
    }

    .article-content-error-icon {
        width: 44px;
        height: 44px;

        margin-bottom: 16px;

        font-size: 23px;
    }

    .article-content-error-title {
        font-size: 16px;
    }

    .article-content-error-message {
        max-width: 320px;
        font-size: 13px;
    }

}
/* =====================================================
   ARTICLE ACTIONS
===================================================== */

.article-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin:35px 0;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);

    width: 100%;
    box-sizing: border-box;
}


/* VIEWS */

.article-views {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #777;
    font-size: 14px;
}

.views-icon {
    font-size: 13px;
    opacity: 0.8;
}

/*share article button*/

.share-article-btn {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid #d9d9d6;
    border-radius: 50%;

    background: var(--background);
    color: var(--text);

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.share-article-btn svg {
    width: 20px;
    height: 20px;

    fill: currentColor;

    transition: transform 0.3s ease;
}

.share-article-btn:hover {
    background: var(--primary-dark);
    color: #fff;

    border-color: var(--primary-dark);

    transform: translateY(-1px);
}

.share-article-btn:hover svg {
    transform: translateX(1px);
}

.share-article-btn:active {
    transform: scale(0.96);
}

/* =========================================================
   BREADCRUMB · AUTHOR LINK · AUTHOR PAGE · JOB BOX
   ========================================================= */

.breadcrumb ol {

  display: flex;

  flex-wrap: wrap;

  gap: 4px 0;

  margin: 0 0 14px;

  padding: 0;

  list-style: none;

  color: var(--text-muted);

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.12em;

  text-transform: uppercase;

}


.breadcrumb li {

  display: flex;

  align-items: center;

  min-width: 0;

}


.breadcrumb li + li::before {

  content: "›";

  margin: 0 8px;

  color: #b08a4a;

}


.breadcrumb a {

  color: var(--text-muted);

  text-decoration: none;

}


.breadcrumb a:hover {

  color: #b08a4a;

}


.breadcrumb [aria-current] span {

  overflow: hidden;

  max-width: 320px;

  color: var(--text-secondary);

  text-overflow: ellipsis;

  white-space: nowrap;

}


.article-author-link {

  color: inherit;

  text-decoration: none;

  border-bottom: 1px solid transparent;

  transition: border-color 0.2s ease, color 0.2s ease;

}


.article-author-link:hover {

  color: #b08a4a;

  border-bottom-color: #b08a4a;

}


/* Author page */

.author-head {

  display: flex;

  align-items: center;

  gap: 20px;

  margin: 6px 0 28px;

  padding-bottom: 24px;

  border-bottom: 2px solid var(--text);

  position: static;

  background: none;

}


.author-avatar {

  display: flex;

  flex: 0 0 72px;

  align-items: center;

  justify-content: center;

  height: 72px;

  border: 2px solid #c9a45c;

  border-radius: 50%;

  background: #032456;

  color: #ffffff;

  font-family: "Playfair Display", Georgia, serif;

  font-size: 1.6rem;

  font-weight: 700;

}


.author-kicker {

  color: #b08a4a;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 2.5px;

  text-transform: uppercase;

}


.author-head h1 {

  margin: 4px 0 6px;

  font-family: "Playfair Display", Georgia, serif;

  font-size: clamp(1.8rem, 3.5vw, 2.6rem);

}


.author-head p {

  margin: 0;

  color: var(--text-muted);

}


.author-list {

  margin: 0;

  padding: 0;

  list-style: none;

}


.author-item a {

  display: flex;

  flex-direction: column;

  gap: 6px;

  padding: 18px 0;

  border-bottom: 1px solid var(--border);

  color: inherit;

  text-decoration: none;

}


.author-item-meta {

  color: #b08a4a;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.12em;

  text-transform: uppercase;

}


.author-item-title {

  color: var(--text);

  font-family: "Playfair Display", Georgia, serif;

  font-size: 1.25rem;

  font-weight: 600;

  line-height: 1.3;

  transition: color 0.2s ease;

}


.author-item a:hover .author-item-title {

  color: #b08a4a;

}


.author-item-summary {

  color: var(--text-muted);

  line-height: 1.6;

}


.author-pager {

  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-top: 26px;

  color: var(--text-muted);

  font-size: 13px;

}


.author-pager a {

  color: #b08a4a;

  font-weight: 700;

  text-decoration: none;

}


/* Job offer box */

.job-box {

  margin: 0 0 30px;

  padding: 20px 22px;

  border-left: 3px solid #c9a45c;

  background: var(--surface);

  font-size: 0.95rem;

  line-height: 1.5;

}


.job-box dl {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));

  gap: 12px 20px;

  margin: 0 0 14px;

}


.job-box dt {

  color: var(--text-muted);

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.12em;

  text-transform: uppercase;

}


.job-box dd {

  margin: 2px 0 0;

  color: var(--text);

  font-weight: 600;

}


.job-apply {

  display: inline-block;

  padding: 10px 20px;

  background: #032456;

  color: #ffffff;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.12em;

  text-transform: uppercase;

  text-decoration: none;

}


.job-apply:hover {

  background: #c9a45c;

  color: #021a3f;

}


@media (max-width: 600px) {

  .author-head {

    flex-direction: column;

    align-items: flex-start;

  }

}
