/* ========================= BREADCRUMB ========================= */ 
.breadcrumb {
  max-width: 1100px;
  margin: 5px auto 20px;
  padding: 0 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: #66552d;
}
.breadcrumb a {
  color: #66552d;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
/* ========================= HOBBY HEADER ========================= */ .hobby-header {
  max-width: 850px;
  margin: 0 auto 15px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 244, 190, 0.92);
  border: 1px solid rgba(90, 70, 20, 0.3);
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(80, 60, 20, 0.1);
}
.hobby-icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: rgba(255, 225, 120, 0.55);
  font-size: 42px;
}
.hobby-header h1 {
  margin: 0 0 7px;
  font-size: 32px;
}
.hobby-header p {
  margin: 0;
  line-height: 1.5;
  color: #66552d;
}
/* ========================= ACTION BUTTONS ========================= */ .hobby-actions {
  max-width: 850px;
  margin: 0 auto 25px;
  padding: 0 20px;
  display: flex;
  gap: 10px;
}
.primary-button, .secondary-button {
  padding: 11px 18px;
  border-radius: 22px;
  text-decoration: none;
  transition: transform 0.2s, background-color 0.2s;
}
.primary-button {
  background: #d8ad35;
  color: white;
}
.secondary-button {
  background: rgba(255, 244, 190, 0.92);
  color: #4a3b16;
  border: 1px solid rgba(90, 70, 20, 0.3);
}
.primary-button:hover, .secondary-button:hover {
  transform: translateY(-2px);
}
/* ========================= MAIN HOBBY CONTENT ========================= */ .hobby-content {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 20px;
}
.hobby-section {
  margin-bottom: 35px;
}
.hobby-section > h2, .section-heading h2 {
  margin: 0 0 15px;
  font-size: 22px;
  color: #4a3b16;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading a {
  color: #66552d;
  text-decoration: none;
  font-size: 14px;
}
.section-heading a:hover {
  text-decoration: underline;
}
/* ========================= GUIDES ========================= */ .guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.guide-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: rgba(255, 244, 190, 0.9);
  border: 1px solid rgba(90, 70, 20, 0.25);
  border-radius: 12px;
  color: #3f351d;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(80, 60, 20, 0.15);
}
.guide-icon {
  font-size: 30px;
}
.guide-card h3 {
  margin: 0 0 5px;
  font-size: 16px;
}
.guide-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #66552d;
}
/* ========================= PROJECTS ========================= */ .hobby-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.hobby-project {
  overflow: hidden;
  border: 1px solid rgba(90, 70, 20, 0.25);
  border-radius: 12px;
  background: rgba(255, 244, 190, 0.9);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hobby-project:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(80, 60, 20, 0.15);
}
.project-picture {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 225, 120, 0.45);
  font-size: 55px;
}
.project-info {
  padding: 14px;
}
.project-info h3 {
  margin: 0 0 7px;
  font-size: 17px;
}
.project-info p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.4;
}
.project-info span {
  font-size: 13px;
  color: #66552d;
}
/* ========================= DISCUSSIONS ========================= */ .discussion-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.discussion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 244, 190, 0.9);
  border: 1px solid rgba(90, 70, 20, 0.25);
  border-radius: 10px;
  color: #3f351d;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}
.discussion:hover {
  transform: translateX(3px);
  background: rgba(255, 239, 165, 0.97);
}
.discussion h3 {
  margin: 0 0 5px;
  font-size: 16px;
}
.discussion span {
  font-size: 13px;
  color: #66552d;
}
/* ========================= TOPICS ========================= */ .topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.topic-list a {
  padding: 8px 14px;
  border-radius: 18px;
  background: rgba(255, 244, 190, 0.9);
  border: 1px solid rgba(90, 70, 20, 0.25);
  color: #4a3b16;
  text-decoration: none;
  font-size: 14px;
}
.topic-list a:hover {
  background: rgba(255, 225, 120, 0.7);
}
/* ========================= MOBILE ========================= */ 

@media (max-width: 700px) {
  .hobby-header {
    margin-left: 15px;
    margin-right: 15px;
    padding: 20px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .hobby-projects {
    grid-template-columns: 1fr;
  }
      .hobby-guide {
        border-radius: 16px;
    }

    .hobby-guide-header > p {
        font-size: 14px;
        line-height: 1.55;
    }

    .hobby-guide-topics {
        margin-top: 18px;
    }

    .hobby-topic-list li {
        line-height: 1.35;
    }
}
@media (max-width: 500px) {
  .hobby-header {
    flex-direction: column;
    text-align: center;
  }
  .hobby-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  .section-heading {
    align-items: flex-start;
    gap: 10px;
  }
}

.hobby-project:hover {
    color: #3f351d;
}

.project-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.empty-projects {
    padding: 30px;
    text-align: center;
}

.empty-projects p {
    margin-bottom: 20px;
}

@media (max-width: 400px) {

    .hobby-guide {
        padding: 18px 16px;
    }

    .hobby-topic-list li {
        max-width: 100%;
        white-space: normal;
    }
}

/* ========================================
   DYNAMIC HOBBY PAGE
======================================== */

.hobby-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px;
}


/* ========================================
   HOBBY INTRO / HERO
======================================== */

.hobby-intro {
    position: relative;

    margin: 20px 0 38px;
    padding: 40px 38px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(255, 248, 218, 0.97),
            rgba(255, 235, 160, 0.93)
        );

    border:
        1px solid rgba(90, 70, 20, 0.18);

    border-radius: 24px;

    box-shadow:
        0 10px 30px rgba(80, 60, 20, 0.10);
}


.hobby-intro::after {
    content: "✨";

    position: absolute;
    right: 30px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 70px;
    opacity: 0.22;

    pointer-events: none;
}

.hobby-intro-kicker {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;

    margin-bottom: 12px;
    padding: 7px 13px;

    background: rgba(255, 255, 255, 0.58);

    border:
        1px solid rgba(216, 173, 53, 0.22);

    border-radius: 999px;

    color: #765f28;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hobby-intro h1 {
    position: relative;
    z-index: 1;

    margin: 0 0 10px;

    color: #3f351d;

    font-size: 38px;
}


.hobby-intro p {
    position: relative;
    z-index: 1;

    max-width: 650px;

    margin: 0 0 22px;

    color: #66552d;

    font-size: 16px;
    line-height: 1.6;
}


/* ========================================
   CREATE PROJECT BUTTON
======================================== */

.hobby-intro-actions {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;
}

.hobby-intro .primary-button,
.empty-projects .primary-button {
    position: relative;
    z-index: 1;

    display: inline-block;

    padding: 11px 20px;

    background: #d8ad35;

    border: 1px solid #c79b27;
    border-radius: 22px;

    color: white;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    box-shadow: 0 2px 6px rgba(80, 60, 20, 0.12);

    transition:
        transform 0.2s,
        background-color 0.2s,
        box-shadow 0.2s;
}


.hobby-intro .primary-button:hover,
.empty-projects .primary-button:hover {
    transform: translateY(-2px);

    background: #c69d2d;

    box-shadow: 0 5px 12px rgba(80, 60, 20, 0.18);
}

/* Secondary hobby action */

.hobby-intro .hobby-forum-button {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;

   
    padding: 11px 20px;

    background: rgba(255, 255, 255, 0.68);

    border: 1px solid rgba(90, 70, 20, 0.22);
    border-radius: 22px;

    color: #4a3b16;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.hobby-intro .hobby-forum-button:hover {
    transform: translateY(-2px);

    background: white;

    box-shadow:
        0 5px 12px rgba(80, 60, 20, 0.10);
}

/* ========================================
   PROJECT SECTION
======================================== */

.hobby-section {
    margin-top: 10px;
}


.hobby-section .section-heading {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 15px;

    margin-bottom: 18px;
}


.hobby-section .section-heading h2 {
    margin: 0;

    color: #3f351d;

    font-size: 28px;
    font-weight: 750;
    letter-spacing: -0.02em;
}


.hobby-section .section-heading > span {
    display: inline-flex;
    align-items: center;

    padding: 7px 13px;

    background: rgba(255, 255, 255, 0.58);

    border:
        1px solid rgba(216, 173, 53, 0.22);

    border-radius: 999px;

    color: #765f28;

    font-size: 12px;
    font-weight: 700;
}

/* ========================================
   PROJECT GRID
======================================== */

.hobby-page .project-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;
}

/* ========================================
   ADVERTISEMENT IN PROJECT GRID
======================================== */

.hobby-page .hobby-ad-slot {
    grid-column: 1 / -1;

    width: 100%;

    margin: 6px 0;
}

/* ========================================
   PROJECT CARDS
======================================== */

.hobby-page .project-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    background: rgba(255, 244, 190, 0.92);

    border: 1px solid rgba(90, 70, 20, 0.25);
    border-radius: 14px;

    box-shadow: 0 3px 10px rgba(80, 60, 20, 0.08);

    transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}


.hobby-page .project-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(216, 173, 53, 0.42);

    box-shadow:
        0 12px 28px rgba(80, 60, 20, 0.14);
}


/* ========================================
   PROJECT IMAGE
======================================== */

.hobby-page .project-picture {
    display: flex;

    justify-content: center;
    align-items: center;

    width: 100%;
    height: 190px;

    overflow: hidden;

    background: rgba(255, 225, 120, 0.45);

    color: inherit;
    text-decoration: none;
}


.hobby-page .project-picture img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.45s ease;
}

.hobby-page .project-card:hover .project-picture img {
    transform: scale(1.035);
}

.hobby-page .project-picture span {
    font-size: 65px;
}


/* ========================================
   PROJECT TEXT
======================================== */

.hobby-page .project-content {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 17px;
}

.hobby-page .project-content h3 {
    display: -webkit-box;

    margin: 0 0 8px;

    overflow: hidden;

    font-size: 19px;
    line-height: 1.3;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    line-clamp: 2;
}

.hobby-page .project-content h3 a {
    color: #3f351d;
    text-decoration: none;
}

.hobby-page .project-content h3 a:hover {
    text-decoration: underline;
}

.hobby-page .project-content > p {
    display: -webkit-box;

    margin: 0 0 16px;

    overflow: hidden;

    color: #6f613d;

    font-size: 14px;
    line-height: 1.55;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    line-clamp: 3;
}


/* ========================================
   PROJECT META
======================================== */

.hobby-page .project-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: auto;
    padding-top: 13px;

    border-top:
        1px solid rgba(90, 70, 20, 0.12);

    color: #6f613d;

    font-size: 12px;
}

.hobby-page .project-meta a {
    margin-right: auto;

    color: #765f28;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}

.hobby-page .project-meta a:hover {
    text-decoration: underline;
}

.hobby-page .project-meta span {
    display: inline-flex;
    align-items: center;

    gap: 4px;

    padding: 4px 8px;

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.48);

    white-space: nowrap;
}

.hobby-page .project-social {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 11px;

    color: #766947;

    font-size: 13px;
    font-weight: 600;
}

.hobby-page .project-social span {
    display: inline-flex;
    align-items: center;

    gap: 4px;
}

/* ========================================
   EMPTY CATEGORY
======================================== */

.hobby-page .empty-projects {
    padding: 40px 25px;

    background: rgba(255, 244, 190, 0.7);

    border: 1px dashed rgba(90, 70, 20, 0.3);
    border-radius: 14px;

    text-align: center;

    color: #66552d;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 850px) {

    .hobby-page .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 550px) {

    .hobby-page {
        padding-left: 15px;
        padding-right: 15px;
    }


    .hobby-intro {
        padding: 25px 20px;
    }


    .hobby-intro h1 {
        font-size: 30px;
    }


    .hobby-intro::after {
        right: 15px;

        font-size: 50px;
    }


    .hobby-page .project-grid {
        grid-template-columns: 1fr;
    }


    .hobby-section .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

      .hobby-page .project-picture {
        height: 210px;
    }

    .hobby-page .project-content {
        padding: 16px;
    }

    .hobby-page .project-content h3 {
        font-size: 18px;
    }

    .hobby-page .project-meta {
        gap: 7px;
    }

    .hobby-page .project-meta a {
        width: 100%;
        margin-right: 0;
    }

    .hobby-page .project-social {
        margin-top: 12px;
    }
  
      .hobby-intro-actions {
        flex-direction: column;
        align-items: stretch;

        width: 100%;
    }

    .hobby-intro .primary-button,
    .hobby-intro .hobby-forum-button {
        width: 100%;

        justify-content: center;

        text-align: center;
      }
          
        .hobby-intro .primary-button {
        display: flex;
        align-items: center;
    }
  
}

/* =========================
   HOBBY GUIDE
========================= */

.hobby-guide {
    max-width: 100%;

    margin: 28px 0 42px;
    padding: 30px;

    background:
        rgba(255, 248, 216, 0.82);

    border:
        1px solid rgba(216, 173, 53, 0.24);

    border-radius: 20px;

    box-shadow:
        0 5px 18px rgba(80, 60, 20, 0.07);
}

.hobby-guide-kicker {
    display: inline-flex;
    align-items: center;

    margin-bottom: 10px;
    padding: 6px 11px;

    background: rgba(255, 255, 255, 0.62);

    border:
        1px solid rgba(216, 173, 53, 0.20);

    border-radius: 999px;

    color: #765f28;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.03em;
}

.hobby-guide h2 {
    margin: 0 0 10px;
    font-size: 1.45rem;
}

.hobby-guide-header > p {
    max-width: 900px;
    margin: 0;

    line-height: 1.6;
}

.hobby-guide-topics {
    margin-top: 22px;
}

.hobby-guide-topics h3 {
    margin: 0 0 12px;

    font-size: 1rem;
}

.hobby-topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.hobby-topic-list li {
    display: inline-flex;
    align-items: center;

    padding: 8px 14px;

    background: rgba(255, 255, 255, 0.72);

    border:
        1px solid rgba(216, 173, 53, 0.28);

    border-radius: 999px;

    color: #5f4d22;

    font-size: 13px;
    font-weight: 600;

    box-shadow:
        0 2px 7px rgba(80, 60, 20, 0.05);
}

/* MOBILE */

@media (max-width: 700px) {

    .hobby-guide {
        margin: 20px 0 28px;
        padding: 20px;
    }

    .hobby-guide h2 {
        font-size: 1.25rem;
    }

    .hobby-topic-list {
        gap: 7px;
    }

    .hobby-topic-list li {
        padding: 6px 11px;
        font-size: 0.85rem;
    }

}

/* =========================
   HOBBY PAGE ACCESSIBILITY
========================= */

.hobby-page a:focus-visible,
.hobby-page button:focus-visible {
    outline: 3px solid rgba(216, 173, 53, 0.55);
    outline-offset: 3px;
}

.hobby-page .project-card a:focus-visible,
.hobby-page .hobby-topic-list a:focus-visible {
    border-radius: 6px;
}


/* ==================================================
   LATEST DISCUSSIONS
================================================== */

.hobby-discussions {
    margin-top: 32px;
    margin-bottom: 38px;
    padding: 28px;
    background: #fffdf6;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
}

.hobby-discussions-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.hobby-discussions-heading h2 {
    margin: 5px 0 5px;
}

.hobby-discussions-heading p {
    margin: 0;
    opacity: 0.72;
}

.hobby-discussions-kicker {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.7;
}

.hobby-discussions-all {
    flex-shrink: 0;
    font-weight: 700;
    text-decoration: none;
}

.hobby-discussion-list {
    display: grid;
    gap: 12px;
}

.hobby-discussion-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.hobby-discussion-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
}

.hobby-discussion-content {
    min-width: 0;
}

.hobby-discussion-content h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
}

.hobby-discussion-content h3 a {
    color: inherit;
    text-decoration: none;
}

.hobby-discussion-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.88rem;
    opacity: 0.72;
}

.hobby-discussion-meta a {
    color: inherit;
    text-decoration: none;
}

.hobby-discussion-open {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.045);
}

.hobby-discussions-empty {
    padding: 32px 20px;
    text-align: center;
    background: white;
    border: 1px dashed rgba(0, 0, 0, 0.14);
    border-radius: 14px;
}

.hobby-discussions-empty-icon {
    display: block;
    margin-bottom: 8px;
    font-size: 2rem;
}

.hobby-discussions-empty h3 {
    margin: 0 0 7px;
}

.hobby-discussions-empty p {
    margin: 0 0 18px;
    opacity: 0.72;
}

@media (max-width: 650px) {

    .hobby-discussions {
        padding: 20px;
    }

    .hobby-discussions-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .hobby-discussion-card {
        padding: 16px;
    }

}