:root {
  /* Colors */
  --color-white: #f4f4f5;
  --color-black: #231f20;
  --color-gray: #c2c2bf;
  --color-dark: #2c3337;
  --color-blue: #249cd1;
  --color-yellow: #eec21b;
  --color-blue-light: #4dc3f7;
  --color-blue-dark: #1b7ca8;
  --color-yellow-light: #f7dc6f;
  --color-yellow-dark: #cba715;
  --color-border: rgba(0, 0, 0, 0.1);
  --color-shadow: rgba(0, 0, 0, 0.15);

  /* Font Sizes */
  --font-s-small: 0.7rem;
  --font-s-medium: 0.9rem;
  --font-s-normal: 1.1rem;
  --font-s-large: 1.4rem;
  --font-s-gigantte: 1.8rem;

  --fonts-nav: font-nav;
  --fonts-italic: font-italic;
  --fonts-text: font-text;
  --fonts-title: font-title;
  --fonts-subtitle: font-subtitle;
  --fonts-navigation: font-navigation;

  --mx-width: 1366px;



  /* Letter Spacing */
  --letter-spacing-shore: 0.73px;
  --letter-spacing-medium: 1.1px;
  --letter-spacing-large: 1.5px;

  
  /* Spacing */
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;

  /* Border Radius */
  --radius-small: 5px;
  --radius-medium: 10px;
  --radius-large: 20px;

  /* Shadows */
  --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.15);
  --box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;

  /* Transitions */
  --transition-normal: 0.3s ease-in-out;

  /* Line Height */
  --line-height-normal: 1.5;

  /* Z-index */
  --z-header: 1000;
  --z-modal: 2000;
}

@font-face {
  font-family: 'font-nav';
  src: url(../fonts/font-nav.ttf);
}

@font-face {
  font-family: 'font-navigation';
  src: url(../fonts/font-navigation.OTF);
}


@font-face {
  font-family: 'font-italic';
  src: url(../fonts/font-italic.OTF);
}

@font-face {
  font-family: 'font-text';
  src: url(../fonts/font-texts.OTF);
}

@font-face {
  font-family: 'font-title';
  src: url(../fonts/font-title.OTF);
}

@font-face {
  font-family: 'font-subtitle';
  src: url(../fonts/font-subtitle.OTF);
}

body {
    background-color: var(--color-white);
}

/* === GLOBAL PAGE LAYOUT === */
.details-container {
    display: flex;
    gap: 2.2rem; /* better space between left/right */
    max-width: 1200px;
    background-color: var(--color-white);
    margin: 0 auto;
    padding: 2.5rem 1.5rem; /* more breathing room */
    padding-top: 65px;
}

/* LEFT COLUMN (Bigger for Post) */
.details-left {
    flex: 2.5;
    display: flex;
    flex-direction: column;
    gap: 2.5rem; /* space between post + comments */
}




/* RIGHT COLUMN (Sidebar) */
.details-right {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 2.2rem; /* better sidebar spacing */
}



/* ============================
   UNIVERSAL CARD STYLE
============================ */
.post-card,
.seo-card,
.signup-block,
.categories-block,
.sicgbor_details_recents_posts,
.comments-section {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-large);
    box-shadow: 0 6px 18px rgba(0,0,0,0.10); /* stronger shadow */
    transition: 0.25s ease;
}

/* Nice hover effect */
.post-card:hover,
.seo-card:hover,
.signup-block:hover,
.categories-block:hover,
.sicgbor_details_recents_posts:hover,
.comments-section:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.comments-title {
    letter-spacing: var(--letter-spacing-shore);
    color: var(--color-dark);
    font-family: var(--fonts-text);
}

/* ============================
   POST CARD
============================ */
.post-card img.post-image {
  width: 100%;
    aspect-ratio: 4 / 5; /* PERFECT SOCIAL MEDIA SIZE */
    object-fit: cover;
    border-radius: var(--radius-medium);
    margin-bottom: 1.5rem;
    padding-bottom: 1px;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}

.post-details-title {
    font-family: var(--fonts-subtitle);
    font-size: var(--font-s-normal);
    letter-spacing: var(--letter-spacing-shore);
    color: var(--color-dark);
    margin-bottom: 0.8rem;
}

.post-details-meta {
    width: 100%;
    font-size: var(--font-s-medium);
    font-family: var(--fonts-text);
    letter-spacing: var(--letter-spacing-shore);
    color: var(--color-dark);
    padding-bottom: 10px;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}


.post-details-links {
    text-decoration: none;
    color: var(--color-blue);
}

.post-details-description {
    font-family: var(--fonts-text);
    padding-left: 5px;
    letter-spacing: var(--letter-spacing-shore);
    font-size: var(--font-s-normal);
    color: var(--color-dark);
}



/* ============================
   SEO CARD
============================ */
.seo-card {
    background: var(--color-yellow);
    padding: 2rem;
}

.seo-card img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    border-radius: var(--radius-medium);
    margin-bottom: 1.2rem;
}

.seo-card h3 {
    font-family: var(--fonts-title);
    font-size: var(--font-s-large);
    color: var(--color-white);
    margin-bottom: 0.8rem;
}

.seo-card p {
    font-size: var(--font-s-normal);
    color: var(--color-dark);
    font-family: var(--fonts-text);
}



/* ============================
   RECENT POSTS (Sidebar)
============================ */
.recent-post-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.recent-post-img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-small);
}



/* ============================
   COMMENTS
============================ */
.comment {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
}

.comment {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}


.comment-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
}

.comment-content h4 {
    font-family: var(--fonts-text);
    color: var(--color-dark);
    letter-spacing: var(--letter-spacing-shore);
}

.comment-date {
    font-family: var(--fonts-text);
    color: var(--color-dark);
    letter-spacing: var(--letter-spacing-shore);
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    font-family: var(--fonts-text);
    letter-spacing: var(--letter-spacing-shore);
    border-radius: var(--radius-medium);
    border: 1px solid var(--color-gray);
}

.btn-submit {
    background: var(--color-blue);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: var(--radius-large);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}



/* ============================
   MOBILE
============================ */
@media (max-width: 991px) {

    .details-container {
        flex-direction: column;
        padding: 1.5rem 1rem;
    }

    .details-left, 
    .details-right {
        width: 100%;
        gap: 2rem;
    }

    .recent-post-item {
        gap: 0.7rem;
    }
}


.card-gradient {
    padding: 2rem;
    border-radius: 20px;
    background: #ffffff;
    border: 2px solid transparent;
    background-image:
        linear-gradient(#ffffff, #ffffff),
        linear-gradient(135deg, #249cd1, #eec21b);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card-gradient:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

.post img {
    width: 100%;      /* Full width */
    height: auto;     /* Adjusts height naturally */
    object-fit: cover; /* Keeps it looking clean */
    border-radius: 14px;
}

/* ============================
   SIGNUP BLOCK – MODERN DESIGN (with links)
============================ */
.signup-block {
    background: #ffffff;
    border-left: 6px solid var(--color-blue); /* accent border */
    padding: 2rem 1.5rem;
    border-radius: var(--radius-large);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-family: var(--fonts-text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.signup-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Title */
.signup-block h3.sicgbor_details_signup {
    font-family: var(--fonts-title);
    font-size: var(--font-s-large);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-dark);
    text-align: center;
}

/* Links styled as buttons */
.signup-block a {
    text-decoration: none;
    text-align: center;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-medium);
    font-size: 1rem;
    cursor: pointer;
    font-family: var(--fonts-subtitle);
    letter-spacing: var(--letter-spacing-shore);
    transition: all 0.3s ease;
}

.sicgbor_details_joinus {
    background: var(--color-blue);
    color: #fff;
    border: 2px solid var(--color-blue);
}

.sicgbor_details_joinus:hover {
    background: #ffffff;
    color: var(--color-blue);
    border-color: var(--color-blue);
}

.sicgbor_details_login {
    background: #f5f5f5;
    color: var(--color-dark);
    border: 2px solid #ddd;
}

.sicgbor_details_login:hover {
    background: var(--color-blue);
    color: #fff;
    border-color: var(--color-blue);
}

/* Subscribe Input */
.subscribe-input {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-medium);
    border: 1px solid #ccc;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    transition: border-color 0.3s ease;
}

.subscribe-input:focus {
    border-color: var(--color-blue);
    outline: none;
}

/* Subscribe Button */
.sicgbor_details_subscribe {
    width: 100%;
    padding: 0.9rem 0;
    border-radius: var(--radius-medium);
    background: var(--color-yellow);
    color: var(--color-dark);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.sicgbor_details_subscribe:hover {
    background: #e6b800;
    transform: translateY(-2px);
}

/* Align Join/Login links horizontally */
.signup-block .buttons-row {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .signup-block {
        padding: 1.5rem;
    }

    .signup-block h3.sicgbor_details_signup {
        font-size: 1.7rem;
    }

    .signup-block a,
    .sicgbor_details_subscribe {
        font-size: 0.95rem;
        padding: 0.7rem 1rem;
    }

    .signup-block .buttons-row {
        flex-direction: column;
    }
}


/* Fix input and subscribe button width */
.signup-block .subscribe-input,
.signup-block .sicgbor_details_subscribe {
    width: calc(100% - 2rem); /* subtract container padding */
    max-width: 100%;
    box-sizing: border-box;   /* include padding and border in width */
    margin: 0 auto;           /* center inside box */
    display: block;
}


/* ============================
   CATEGORIES BLOCK
============================ */
.categories-block {
    background: var(--color-white);
    padding: 1.7rem;
    border-radius: var(--radius-large);
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.categories-block h3 {
    font-family: var(--fonts-title);
    font-size: 1.8rem;
}

.sicgbor_details_categories_links {
    display: inline-block;
    font-size: var(--font-s-normal);
    color: var(--color-blue);
    text-decoration: none;
    padding: 0.5rem 0.7rem;
    border-radius: var(--radius-medium);
    transition: all 0.3s ease;
    background: var(--color-blue-lightest, #f0f8ff); /* optional subtle background */
}

.sicgbor_details_categories_links:hover {
    background: var(--color-blue);
    color: var(--color-white);
    transform: translateX(3px); /* subtle hover animation */
}

/* ============================
   CATEGORIES BLOCK
============================ */
.categories-block {
    background: var(--color-white);
    padding: 1.7rem;
    border-radius: var(--radius-large);
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.categories-block h3 {
    font-family: var(--fonts-title);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Category links */
.sicgbor_details_categories_links {
    display: block;             /* full width of container */
    width: 90%;                /* align perfectly with box */
    padding: 0.7rem 1rem;       /* comfortable clickable area */
    font-size: 1rem;
    color: var(--color-blue);
    text-decoration: none;
    border-radius: var(--radius-medium);
    background: var(--color-blue-lightest, #f0f8ff);
    transition: all 0.3s ease;
}

.sicgbor_details_categories_links:hover {
    background: var(--color-blue);
    color: var(--color-white);
    transform: translateX(2px); /* subtle modern hover */
}


/* ============================
   RECENT POSTS (Sidebar)
============================ */
.sicgbor_details_recents_posts {
    background: var(--color-white);
    padding: 1.7rem;
    border-radius: var(--radius-large);
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sicgbor_details_recents_posts h3 {
    font-family: var(--fonts-title);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Each recent post item */
.recent-post-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.5rem;
    border-radius: var(--radius-medium);
    transition: all 0.3s ease;
}

.recent-post-item:hover {
    background: var(--color-blue-lightest, #f0f8ff);
    transform: translateX(2px); /* subtle hover effect */
}

/* Post image */
.recent-post-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-small);
    flex-shrink: 0;
}

/* Meta info */
.recent-post-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sicgbor_details_categories_title {
    font-family: var(--fonts-nav);
    color: var(--color-yellow);
}

.recent-post-title {
    font-family: var(--fonts-subtitle);
    font-size: 1rem;
    color: var(--color-blue);
    text-decoration: none;
}

.recent-post-title:hover {
    color: var(--color-blue);
}

.recent-post-date {
    font-size: 0.8rem;
    color: var(--color-gray);
}
