/*
 Theme Name:   Poka v2 Theme Child
 Theme URI:    http://pokatheme.com
 Description:  Poka v2 Theme child
 Author:       Poka Theme
 Author URI:   http://pokatheme.com
 Template:     poka_v2
 Version:      999.1.4.12
 Tags:
 Text Domain:  poka-child
*/

/* ==========================================================================
   Place your styles here
   ========================================================================== */

.article-dates {
    padding-bottom: 20px;
}

@media (max-width: 480px) {
    .main-posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
        gap: 18px;
    }

    .main-post-card .post-read-more {
        font-size: 13px;
    }

    .author-page .user-social .social-link {
        width: 36px;
        height: 36px;
    }

    .author-page .author-profile-wrapper {
        padding: 18px;
    }
}

.article-dates .published-date,
.article-dates .modified-date {
    display: inline-block;
}

.article-dates .separator {
    margin: 0 10px;
    color: #dee2e6;
}

.article-dates time {
    color: #6c757d;
}

@media (max-width: 575px) {
    .article-dates .separator {
        display: none;
    }

    .article-dates .modified-date {
        display: block;
    }
}

.wpsm-comptable-wrap a {
    color:#dd0007
}
.wpsm-comptable-wrap a:hover {
    color:#dd0007
}

/* ==========================================================================
   Author Page Styles
   ========================================================================== */

/* Author Profile Section */
.author-page .author-profile-wrapper {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.author-page .author-portrait {
    margin-bottom: 30px;
}

.author-page .portrait-content {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.author-page .portrait-left {
    flex-shrink: 0;
}

.author-page .portrait-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f0f0f0;
}

.author-page .portrait-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-page .portrait-right {
    flex: 1;
}

.author-page .user-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.author-page .author-name {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #222;
    line-height: 1.2;
}

.author-page .author-job-title {
    font-size: 16px;
    color: #666;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.author-page .user-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.author-page .user-heading {
    flex: 1 1 260px;
}

.author-page .user-expertises {
    margin: 10px 0 0 0;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.author-page .user-expertises .label {
    font-weight: 600;
    color: #dd0007;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.author-page .user-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    color: #666;
    font-size: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
    text-align: right;
}

.author-page .user-meta .post-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.author-page .user-meta .post-count svg {
    flex-shrink: 0;
}

.author-page .user-social {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.author-page .user-social .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #444;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.author-page .user-social .social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.author-page .user-social .social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.author-page .user-social .social-link.linkedin {
    background: #0077b5;
    color: #fff;
}

.author-page .user-social .social-link.linkedin:hover {
    background: #006399;
}

.author-page .user-social .social-link.twitter {
    background: #1da1f2;
    color: #fff;
}

.author-page .user-social .social-link.twitter:hover {
    background: #0d8bd9;
}

.author-page .user-social .social-link.facebook {
    background: #1877f2;
    color: #fff;
}

.author-page .user-social .social-link.facebook:hover {
    background: #0e68d4;
}

.author-page .user-social .social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.author-page .user-social .social-link.instagram:hover {
    opacity: 0.9;
}

.author-page .user-social .social-link.website {
    background: #5a5a5a;
    color: #fff;
}

.author-page .user-social .social-link.website:hover {
    background: #3a3a3a;
}

.author-page .author-bio {
    border-top: 1px solid #e0e0e0;
    padding-top: 25px;
}

.author-page .author-bio h3 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0 0 15px 0;
}

.author-page .author-bio .bio-content {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

.author-page .author-bio .bio-content p {
    margin: 0 0 15px 0;
}

.author-page .author-bio .bio-content p:last-child {
    margin-bottom: 0;
}

/* Author Posts Section */
.author-page .author-posts-wrapper {
    padding: 20px;
}

.author-page .posts-heading {
    font-size: 26px;
    font-weight: 700;
    color: #222;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #dd0007;
}

.author-page .no-posts {
    text-align: center;
    color: #999;
    font-size: 16px;
    padding: 40px 0;
}

/* Main Posts Grid - 3 Column Layout */
.main-posts-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.main-post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.main-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Fixed aspect ratio container for images (16:9) */
.main-post-card .post-media-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.main-post-card .post-media-wrapper::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.main-post-card .post-media {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

/* Image tag for uniform sizing (works with lazy load) */
.main-post-card .post-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

}
/* SVG icon placeholder for posts without images */
.main-post-card .post-img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* Video embeds */
.main-post-card .video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.main-post-card .video-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* Background gradient for posts without images */
.main-post-card .post-no-image {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.main-post-card .post-no-image .post-img-placeholder svg {
    opacity: 0.4;
}

/* Post Content */
.main-post-card .post-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.main-post-card .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
}

.main-post-card .post-category {
    color: #dd0007;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-post-card .post-date {
    color: #999;
}

.main-post-card .post-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.main-post-card .post-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-post-card .post-title a:hover {
    color: #dd0007;
}

.main-post-card .post-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.main-post-card .post-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #dd0007;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.main-post-card .post-read-more:hover {
    gap: 8px;
}

.main-post-card .post-read-more svg {
    transition: transform 0.3s ease;
}

.main-post-card .post-read-more:hover svg {
    transform: translateX(3px);
}

/* Responsive Design - Tablet */
@media (max-width: 991px) {
    .author-page .author-profile-wrapper {
        padding: 30px;
    }

    .author-page .portrait-content {
        gap: 25px;
    }

    .author-page .portrait-img {
        width: 150px;
        height: 150px;
    }

    .author-page .author-name {
        font-size: 28px;
    }

    .author-page .author-posts-wrapper {
        padding: 30px;
    }

    .author-page .posts-heading {
        font-size: 24px;
    }

    .main-posts-grid {
        margin-top: 10px;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 575px) {
    .author-page .author-profile-wrapper {
        padding: 20px;
    }

    .author-page .portrait-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .author-page .portrait-img {
        width: 120px;
        height: 120px;
    }

    .author-page .author-name {
        font-size: 24px;
    }

    .author-page .author-job-title {
        font-size: 14px;
    }

    .author-page .user-info {
        align-items: center;
        width: 100%;
    }

    .author-page .user-expertises {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .author-page .user-meta {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .author-page .user-social {
        justify-content: center;
    }

    .author-page .author-bio {
        text-align: left;
    }

    .author-page .author-posts-wrapper {
        padding: 20px;
    }

    .author-page .posts-heading {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .main-posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }

    .main-post-card {
        margin-bottom: 0;
    }

    .main-post-card .post-content {
        padding: 18px;
    }

    .main-post-card .post-title {
        font-size: 16px;
    }

    .main-post-card .post-excerpt {
        font-size: 13px;
    }
}
body .wpsm-comptable td img{
  max-height: none !important;
  max-width: 130px;
  height: auto;
}
.text-area .img-wrapper {
	text-align:center;
}

.text-area p {
    margin-bottom: 20px;
    text-align: justify;
}
.gp_breadcrumbs {
	background:#DDD;
	width: 100%;
}
#breadcrumbs {
	      width: 1160px;
    margin: auto;
    max-width: 100%;
    padding-left: 20Px
}

.better_layout_img {
	width: 100%;
	height:200px;
	object-fit: cover;
}

.no-thumb-latest-news {
	width: 100%;
	height:200px;
	background:#DDD;
}

.no-thumb-latest-news:after {
    content: "No image available";
    text-align: center;
    line-height: 200Px;
    width: 100%;
    display: block;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 100;
    color: #aaa;
}
.news-list .item .text h4 {
    min-height: 40px;
}

.no-thumb-latest-news-sidebar {
	width: 55px;
	height:55px;
	background:#DDD;
	float:left;
}
.no-thumb-latest-news-sidebar:after {
content: "\2205";
line-height: 50px;
    width: 100%;
    display: block;
    font-size: 40px;
    color: #aaa;
    text-align: center;
}

.tab-mobile{
  display: none;
}
.tab-desktop{
  display: table;
}

@media (max-width: 990px) {

    .no-thumb-latest-news-sidebar {
    width: 35px;
    height:35px;
}

.no-thumb-latest-news-sidebar:after {
    line-height: 30px;
    font-size: 30px;
}

}

.head-menu--s1{
  padding: 10px;
}

@media (max-width: 767px) {
	.bottomCTA .date-expi, .bottomCTA .last-update {
		display: none!important
	}
  .tab-mobile{
    display: table;
  }
  .tab-desktop{
    display: none;
  }

  #main {
    margin: 10px 0 !important;
  }
}

.news-item iframe {
        width: 100%;
    height: 300px;
}
@media (max-width: 767px) {
    .news-item iframe {
            width: 100%;
         height: 192px;
    }
}
@media (max-width: 767px) {
    #logo img {
        margin-bottom: 0px;
    }
    .head-inline{
      padding: 15px 0 !important;
    }
    .single-post-wrapper h1, .page h1{
      font-size: 1.7em;
      margin-top: 12px;
    }
    .single-post-wrapper p{
      line-height: 1.4em;
    }
}

.taxonomy-list-dif .aff-single-widget {
    height: auto!important;
    padding-bottom: 15px;
}

.taxonomy-list-dif .aff-single-widget .item-btns {
    position: static;
}

@media (max-height: 630px) { /* very small screen // CTA always on screen */
body:not(.home) #logo img {
    margin-top: -40px;
}
body:not(.home) header #logo {
     float: right;
       width: 100px;
       float: right;
}
body:not(.home) .trigger-mmenu {
    text-align: left;
    position: relative;
    top: 18px;
}

}

@media (max-height: 530px) {
    #main {
            margin-top: 10px;
    }
}

/* ==========================================================================
   Responsive steps
   ========================================================================== */
/* Large desktops */
@media (max-width: 1199px) {

}

/* Tablet */
@media (max-width: 991px) {

}

/* Mobile */
@media (max-width: 767px) {

}

/* Small mobile */
@media (max-width: 575px) {

}

.section--first{margin-top: 0px!important;}
